ets-fe-ng-sdk 20.3.4 → 20.3.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
@@ -2204,6 +2204,7 @@ declare namespace EVFunctions {
2204
2204
  * @returns
2205
2205
  */
2206
2206
  function extendRoute2(route: Route, indexPage?: IExtendRouteIndexPage): Routes;
2207
+ function createModule(path: string, route: Omit<Route, 'path'>, indexPage?: IExtendRouteIndexPage): Route;
2207
2208
  /**
2208
2209
  * Concatenates two strings and accounts for null values
2209
2210
  * @param text1 First string to concatenate
@@ -3111,7 +3112,7 @@ declare class NumberFormatService {
3111
3112
  readonly numberFormat: _angular_core.WritableSignal<"AM" | "EU">;
3112
3113
  readonly isNormal: _angular_core.Signal<boolean>;
3113
3114
  readonly locale: _angular_core.Signal<"en-US" | "fr-FR">;
3114
- readonly decimal: _angular_core.Signal<"," | ".">;
3115
+ readonly decimal: _angular_core.Signal<"." | ",">;
3115
3116
  constructor();
3116
3117
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberFormatService, never>;
3117
3118
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<NumberFormatService>;
@@ -3207,7 +3208,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
3207
3208
  * @returns Array containing value, validators, and async validators
3208
3209
  * @template T - Type of the form control value
3209
3210
  */
3210
- formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (T | ValidatorFn | FormControlOptions | ValidatorFn[] | AsyncValidatorFn | AsyncValidatorFn[])[];
3211
+ formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | AsyncValidatorFn | AsyncValidatorFn[] | ValidatorFn | ValidatorFn[] | T)[];
3211
3212
  /**
3212
3213
  * Navigates back to the previous page using Angular's Location service
3213
3214
  */
@@ -5673,13 +5674,13 @@ declare class BtnComponent implements OnInit {
5673
5674
  */
5674
5675
  set customIcon(v: string);
5675
5676
  /** Form to bind to the button for validation */
5676
- readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormControl<any> | FormArray<any> | FormGroup<any>>;
5677
+ readonly form: _angular_core.InputSignal<FormGroup<any> | AbstractControl<any, any, any> | FormArray<any> | FormControl<any>>;
5677
5678
  /** Subject for form changes */
5678
5679
  protected readonly formStateRes: _angular_core.ResourceRef<boolean>;
5679
5680
  /** Signal for form validity state */
5680
5681
  protected readonly formState: _angular_core.Signal<boolean>;
5681
5682
  /** Multiple forms to bind to the button for validation */
5682
- readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormControl<any> | FormArray<any> | FormGroup<any>)[]>;
5683
+ readonly forms: _angular_core.InputSignal<(FormGroup<any> | AbstractControl<any, any, any> | FormArray<any> | FormControl<any>)[]>;
5683
5684
  /** Signal for multiple forms validity state */
5684
5685
  protected readonly formsStateRes: _angular_core.ResourceRef<Omit<IFormState, "status">>;
5685
5686
  protected readonly formsState: _angular_core.Signal<boolean>;
@@ -7979,7 +7980,7 @@ declare class InfoDialogComponent implements OnInit {
7979
7980
  * @param status Status code (0=danger, 1=success, 2=info, 3=warning)
7980
7981
  * @returns CSS class name corresponding to the status
7981
7982
  */
7982
- cls: (status?: 0 | 1 | 2 | 3) => "" | "info" | "danger" | "success" | "warning";
7983
+ cls: (status?: 0 | 1 | 2 | 3) => "" | "danger" | "success" | "info" | "warning";
7983
7984
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
7984
7985
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
7985
7986
  }
@@ -8856,7 +8857,7 @@ declare class ResizeGridPipe implements PipeTransform {
8856
8857
  */
8857
8858
  declare class IndexCompLayoutComponent {
8858
8859
  /** Number of columns in the grid layout */
8859
- readonly grid: InputSignal<5 | 3 | 1 | 2 | 4 | 6 | "auto">;
8860
+ readonly grid: InputSignal<5 | 3 | 2 | 1 | 4 | 6 | "auto">;
8860
8861
  /** Whether to show the action buttons */
8861
8862
  readonly showButtons: InputSignal<boolean>;
8862
8863
  /** Whether to hide the clone button */
@@ -9656,8 +9657,8 @@ declare class PhoneNumberComponent extends InputBasicComponent {
9656
9657
  getExtension(number: string, iso2: string | undefined): string;
9657
9658
  getNumberType(number: string, iso2: string | undefined): number;
9658
9659
  getValidationError(number: string, iso2: string | undefined): number;
9659
- 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;
9660
- 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;
9660
+ 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;
9661
+ 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;
9661
9662
  numberFormat: {
9662
9663
  NATIONAL: number;
9663
9664
  INTERNATIONAL: number;
@@ -9668,12 +9669,12 @@ declare class PhoneNumberComponent extends InputBasicComponent {
9668
9669
  };
9669
9670
  }>;
9670
9671
  nationalMode?: boolean;
9671
- placeholderNumberType?: "UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP";
9672
+ placeholderNumberType?: "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP";
9672
9673
  showFlags?: boolean;
9673
9674
  separateDialCode?: boolean;
9674
9675
  strictMode?: boolean;
9675
9676
  useFullscreenPopup?: boolean;
9676
- validationNumberTypes?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null;
9677
+ validationNumberTypes?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP")[] | null;
9677
9678
  }>;
9678
9679
  /**
9679
9680
  * Initializes the component by adding a custom validator to the form control.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ets-fe-ng-sdk",
3
- "version": "20.3.4",
3
+ "version": "20.3.6",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },