@foxeltech/angular-ui 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@ import { HttpClient, HttpEvent, HttpErrorResponse, HttpInterceptor, HttpRequest,
9
9
  import * as rxjs from 'rxjs';
10
10
  import { Observable, Subject } from 'rxjs';
11
11
  import * as i30 from '@angular/forms';
12
- import { NgForm, NgControl, ControlValueAccessor, ValidationErrors } from '@angular/forms';
12
+ import { NgForm, ValidationErrors, NgControl, ControlValueAccessor } from '@angular/forms';
13
13
  import * as i46 from '@angular/material/dialog';
14
14
  import { MatDialogRef, MatDialog } from '@angular/material/dialog';
15
15
  import { TranslateHttpLoader } from '@ngx-translate/http-loader';
@@ -244,10 +244,66 @@ declare class FxUtils {
244
244
  static convertColorFromVariable(name: string, alpha?: number): string;
245
245
  static getTagClass(key: string, isCriticalExist?: boolean): TagType;
246
246
  static validateEmail(value: string): boolean;
247
- static isStrongPassword(password: string): boolean;
248
247
  static formatSizeUnits(bytes: number): string;
249
248
  }
250
249
 
250
+ declare class FxValidators {
251
+ /**
252
+ * Name fields: firstName, lastName, groupName, projectName, displayName
253
+ * Allows: letters (Unicode), spaces, hyphens, apostrophes, periods
254
+ */
255
+ static validateName(value: string): ValidationErrors | null;
256
+ /**
257
+ * Description fields
258
+ * Allows: letters, digits, spaces, basic punctuation
259
+ */
260
+ static validateDescription(value: string): ValidationErrors | null;
261
+ /**
262
+ * Email fields
263
+ */
264
+ static validateEmail(value: string): ValidationErrors | null;
265
+ /**
266
+ * Phone fields
267
+ * Allows: digits, optional leading +, spaces, hyphens, parentheses (7-15 digits)
268
+ */
269
+ static validatePhone(value: string): ValidationErrors | null;
270
+ /**
271
+ * Code/identifier fields: server code, template code, templateId
272
+ * Allows: alphanumeric, hyphens, underscores
273
+ */
274
+ static validateCode(value: string): ValidationErrors | null;
275
+ /**
276
+ * Domain fields
277
+ * Standard domain pattern with optional port
278
+ */
279
+ static validateDomain(value: string): ValidationErrors | null;
280
+ /**
281
+ * Subject fields (email subject)
282
+ * Allows: letters, digits, spaces, common punctuation, template placeholders {{}}
283
+ */
284
+ static validateSubject(value: string): ValidationErrors | null;
285
+ /**
286
+ * Tag fields
287
+ * Allows: alphanumeric, hyphens, underscores, dots, spaces
288
+ */
289
+ static validateTag(value: string): ValidationErrors | null;
290
+ /**
291
+ * URL fields: proxy, masterUrl
292
+ * Standard URL pattern
293
+ */
294
+ static validateUrl(value: string): ValidationErrors | null;
295
+ /**
296
+ * Numeric string fields: timeout, memoryLimit, cpuCores
297
+ * Allows: digits, optional decimal point
298
+ */
299
+ static validateNumeric(value: string): ValidationErrors | null;
300
+ /**
301
+ * Version fields (semver-like)
302
+ * Allows: digits, dots, hyphens, plus, letters
303
+ */
304
+ static validateVersion(value: string): ValidationErrors | null;
305
+ }
306
+
251
307
  declare function HttpLoaderFactory(http: HttpClient): TranslateHttpLoader;
252
308
  declare class TranslationModule {
253
309
  static forRoot(): ModuleWithProviders<TranslationModule>;
@@ -774,6 +830,7 @@ declare class ChartComponent implements OnChanges, AfterViewInit, OnDestroy {
774
830
  private intersectionObserver?;
775
831
  private canInit;
776
832
  private isMobile;
833
+ private containerWidth;
777
834
  constructor(ref: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
778
835
  ngAfterViewInit(): void;
779
836
  ngOnChanges(): void;
@@ -785,6 +842,7 @@ declare class ChartComponent implements OnChanges, AfterViewInit, OnDestroy {
785
842
  private forceMediaRecalc;
786
843
  private rebuildChart;
787
844
  private registry;
845
+ private calcPieLayout;
788
846
  private detectType;
789
847
  private buildOptions;
790
848
  private resolvePalette;
@@ -1019,5 +1077,5 @@ declare class UiModule {
1019
1077
  static ɵinj: i0.ɵɵInjectorDeclaration<UiModule>;
1020
1078
  }
1021
1079
 
1022
- export { AuthInterceptor, AuthStateService, BaseComponent, BaseDialogComponent, BaseResolver, BaseTableComponent, BreadcrumbService, ButtonComponent, ChartComponent, CheckboxComponent, CircleProgressBar, ConfirmationDialogComponent, DatetimePicker, DndUploadComponent, DrawerComponent, FlowConnection, FxLoadingService, FxStorageService, FxToastrService, FxUtils, HasPermissionDirective, HeroIconComponent, HttpLoaderFactory, HttpWrapper, InputComponent, KanbanBoardComponent, LoadingPanel, MY_MOMENT_FORMATS, NotificationService, PermissionGuard, PermissionService, QuillStyleLoaderService, RadioButtonComponent, RadioButtonToggleComponent, RichTextAreaComponent, SearchBarComponent, SelectComponent, SkeletonTableLoadingComponent, SliderComponent, SwitchComponent, TabComponent, TabGroupComponent, TableCell, TagComponent, ThemeService, ToastComponent, ToastContainerComponent, TranslationModule, TranslationService, TreeDiagram, TrimOnBlurDirective, UiModule };
1080
+ export { AuthInterceptor, AuthStateService, BaseComponent, BaseDialogComponent, BaseResolver, BaseTableComponent, BreadcrumbService, ButtonComponent, ChartComponent, CheckboxComponent, CircleProgressBar, ConfirmationDialogComponent, DatetimePicker, DndUploadComponent, DrawerComponent, FlowConnection, FxLoadingService, FxStorageService, FxToastrService, FxUtils, FxValidators, HasPermissionDirective, HeroIconComponent, HttpLoaderFactory, HttpWrapper, InputComponent, KanbanBoardComponent, LoadingPanel, MY_MOMENT_FORMATS, NotificationService, PermissionGuard, PermissionService, QuillStyleLoaderService, RadioButtonComponent, RadioButtonToggleComponent, RichTextAreaComponent, SearchBarComponent, SelectComponent, SkeletonTableLoadingComponent, SliderComponent, SwitchComponent, TabComponent, TabGroupComponent, TableCell, TagComponent, ThemeService, ToastComponent, ToastContainerComponent, TranslationModule, TranslationService, TreeDiagram, TrimOnBlurDirective, UiModule };
1023
1081
  export type { Breadcrumb, ColumnChangedEvent, IChartType, IRadioButton, KanbanColumn, TableResult, TagType, ToastData, TreeNode, UploadResult };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxeltech/angular-ui",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "license": "MIT",
5
5
  "main": "bundles/ui.umd.js",
6
6
  "module": "fesm2022/foxeltech-angular-ui.mjs",