ets-fe-ng-sdk 20.3.1 → 20.3.3

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
@@ -2193,9 +2193,11 @@ declare namespace EVFunctions {
2193
2193
  * ```
2194
2194
  * @returns
2195
2195
  */
2196
- function extendRoute2(route: Route, indexPage?: {
2196
+ function extendRoute2(route: Route, indexPage?: Route & {
2197
2197
  component?: Type<any>;
2198
+ /**@deprecated */
2198
2199
  lazyComponent?: () => Type<unknown> | Observable<Type<unknown> | DefaultExport<Type<unknown>>> | Promise<Type<unknown> | DefaultExport<Type<unknown>>>;
2200
+ /**@deprecated */
2199
2201
  lazyModule?: LoadChildrenCallback;
2200
2202
  redirectToIndex?: boolean;
2201
2203
  title?: string;
@@ -3108,7 +3110,7 @@ declare class NumberFormatService {
3108
3110
  readonly numberFormat: _angular_core.WritableSignal<"AM" | "EU">;
3109
3111
  readonly isNormal: _angular_core.Signal<boolean>;
3110
3112
  readonly locale: _angular_core.Signal<"en-US" | "fr-FR">;
3111
- readonly decimal: _angular_core.Signal<"." | ",">;
3113
+ readonly decimal: _angular_core.Signal<"," | ".">;
3112
3114
  constructor();
3113
3115
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberFormatService, never>;
3114
3116
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<NumberFormatService>;
@@ -3204,7 +3206,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
3204
3206
  * @returns Array containing value, validators, and async validators
3205
3207
  * @template T - Type of the form control value
3206
3208
  */
3207
- formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | ValidatorFn | AsyncValidatorFn | ValidatorFn[] | AsyncValidatorFn[] | T)[];
3209
+ formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (T | ValidatorFn | FormControlOptions | ValidatorFn[] | AsyncValidatorFn | AsyncValidatorFn[])[];
3208
3210
  /**
3209
3211
  * Navigates back to the previous page using Angular's Location service
3210
3212
  */
@@ -5670,13 +5672,13 @@ declare class BtnComponent implements OnInit {
5670
5672
  */
5671
5673
  set customIcon(v: string);
5672
5674
  /** Form to bind to the button for validation */
5673
- readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>>;
5675
+ readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormControl<any> | FormArray<any> | FormGroup<any>>;
5674
5676
  /** Subject for form changes */
5675
5677
  protected readonly formStateRes: _angular_core.ResourceRef<boolean>;
5676
5678
  /** Signal for form validity state */
5677
5679
  protected readonly formState: _angular_core.Signal<boolean>;
5678
5680
  /** Multiple forms to bind to the button for validation */
5679
- readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>)[]>;
5681
+ readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormControl<any> | FormArray<any> | FormGroup<any>)[]>;
5680
5682
  /** Signal for multiple forms validity state */
5681
5683
  protected readonly formsStateRes: _angular_core.ResourceRef<Omit<IFormState, "status">>;
5682
5684
  protected readonly formsState: _angular_core.Signal<boolean>;
@@ -7976,7 +7978,7 @@ declare class InfoDialogComponent implements OnInit {
7976
7978
  * @param status Status code (0=danger, 1=success, 2=info, 3=warning)
7977
7979
  * @returns CSS class name corresponding to the status
7978
7980
  */
7979
- cls: (status?: 0 | 1 | 2 | 3) => "info" | "danger" | "success" | "" | "warning";
7981
+ cls: (status?: 0 | 1 | 2 | 3) => "" | "info" | "danger" | "success" | "warning";
7980
7982
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
7981
7983
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
7982
7984
  }
@@ -8853,7 +8855,7 @@ declare class ResizeGridPipe implements PipeTransform {
8853
8855
  */
8854
8856
  declare class IndexCompLayoutComponent {
8855
8857
  /** Number of columns in the grid layout */
8856
- readonly grid: InputSignal<5 | 1 | 3 | 2 | 4 | "auto" | 6>;
8858
+ readonly grid: InputSignal<5 | 3 | 1 | 2 | 4 | 6 | "auto">;
8857
8859
  /** Whether to show the action buttons */
8858
8860
  readonly showButtons: InputSignal<boolean>;
8859
8861
  /** Whether to hide the clone button */
@@ -9653,8 +9655,8 @@ declare class PhoneNumberComponent extends InputBasicComponent {
9653
9655
  getExtension(number: string, iso2: string | undefined): string;
9654
9656
  getNumberType(number: string, iso2: string | undefined): number;
9655
9657
  getValidationError(number: string, iso2: string | undefined): number;
9656
- isPossibleNumber(number: string, iso2: string | undefined, numberType?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP")[] | null): boolean;
9657
- isValidNumber(number: string, iso2: string | undefined, numberType?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP")[] | null): boolean;
9658
+ isPossibleNumber(number: string, iso2: string | undefined, numberType?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null): boolean;
9659
+ isValidNumber(number: string, iso2: string | undefined, numberType?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null): boolean;
9658
9660
  numberFormat: {
9659
9661
  NATIONAL: number;
9660
9662
  INTERNATIONAL: number;
@@ -9665,12 +9667,12 @@ declare class PhoneNumberComponent extends InputBasicComponent {
9665
9667
  };
9666
9668
  }>;
9667
9669
  nationalMode?: boolean;
9668
- placeholderNumberType?: "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP";
9670
+ placeholderNumberType?: "UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP";
9669
9671
  showFlags?: boolean;
9670
9672
  separateDialCode?: boolean;
9671
9673
  strictMode?: boolean;
9672
9674
  useFullscreenPopup?: boolean;
9673
- validationNumberTypes?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP")[] | null;
9675
+ validationNumberTypes?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null;
9674
9676
  }>;
9675
9677
  /**
9676
9678
  * Initializes the component by adding a custom validator to the form control.
@@ -10489,7 +10491,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
10489
10491
  readonly form: FormGroup<{
10490
10492
  pageNumber: FormControl<number>;
10491
10493
  sortBy: FormControl<keyof TItem>;
10492
- sortDirection: FormControl<"" | "ASC" | "DESC">;
10494
+ sortDirection: FormControl<"" | "DESC" | "ASC">;
10493
10495
  pageSize: FormControl<number>;
10494
10496
  }>;
10495
10497
  /**
@@ -10498,7 +10500,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
10498
10500
  readonly allQueryData: _angular_core.Signal<{
10499
10501
  pageNumber: number;
10500
10502
  sortBy: keyof TItem;
10501
- sortDirection: "" | "ASC" | "DESC";
10503
+ sortDirection: "" | "DESC" | "ASC";
10502
10504
  pageSize: number;
10503
10505
  }>;
10504
10506
  /**
@@ -10507,7 +10509,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
10507
10509
  readonly formValue: _angular_core.Signal<{
10508
10510
  pageNumber: number;
10509
10511
  sortBy: keyof TItem;
10510
- sortDirection: "" | "ASC" | "DESC";
10512
+ sortDirection: "" | "DESC" | "ASC";
10511
10513
  pageSize: number;
10512
10514
  }>;
10513
10515
  /**
@@ -11381,7 +11383,7 @@ declare class TextCase2Component<T = any> {
11381
11383
  * Uses route input if provided, otherwise uses routeFunc
11382
11384
  * For email/phone values, creates a mailto: or tel: link
11383
11385
  */
11384
- readonly computedRoute: _angular_core.Signal<Observable<string> | Promise<string>>;
11386
+ readonly computedRoute: _angular_core.Signal<Promise<string> | Observable<string>>;
11385
11387
  /**
11386
11388
  * Computes the value to display based on inputs
11387
11389
  * Uses value input if provided, otherwise uses data[name]
package/package.json CHANGED
@@ -1,34 +1,11 @@
1
1
  {
2
2
  "name": "ets-fe-ng-sdk",
3
- "version": "20.3.1",
3
+ "version": "20.3.3",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },
7
7
  "author": "Evolutics Technology Services",
8
8
  "homepage": "https://www.evoluticstech.com/",
9
- "peerDependencies": {
10
- "@angular/animations": "^20.3.2",
11
- "@angular/cdk": "^20.2.5",
12
- "@angular/common": "^20.3.2",
13
- "@angular/compiler": "^20.3.2",
14
- "@angular/core": "^20.3.2",
15
- "@angular/forms": "^20.3.2",
16
- "@angular/material": "^20.2.5",
17
- "@angular/platform-browser": "^20.3.2",
18
- "@angular/platform-browser-dynamic": "^20.3.2",
19
- "@angular/router": "^20.3.2",
20
- "@angular/service-worker": "^20.3.2",
21
- "@evolutics/translation": "^20.0.0",
22
- "@fortawesome/angular-fontawesome": "^3.0.0",
23
- "@fortawesome/fontawesome-svg-core": "^7.0.0",
24
- "@fortawesome/free-brands-svg-icons": "^7.0.0",
25
- "@fortawesome/free-regular-svg-icons": "^7.0.0",
26
- "@fortawesome/free-solid-svg-icons": "^7.0.0",
27
- "@ngrx/effects": "^20.0.0",
28
- "@ngrx/entity": "^20.0.0",
29
- "@ngrx/operators": "^20.0.0",
30
- "@ngrx/store": "^20.0.0"
31
- },
32
9
  "private": false,
33
10
  "module": "fesm2022/ets-fe-ng-sdk.mjs",
34
11
  "typings": "index.d.ts",