ets-fe-ng-sdk 20.3.5 → 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
@@ -3112,7 +3112,7 @@ declare class NumberFormatService {
3112
3112
  readonly numberFormat: _angular_core.WritableSignal<"AM" | "EU">;
3113
3113
  readonly isNormal: _angular_core.Signal<boolean>;
3114
3114
  readonly locale: _angular_core.Signal<"en-US" | "fr-FR">;
3115
- readonly decimal: _angular_core.Signal<"," | ".">;
3115
+ readonly decimal: _angular_core.Signal<"." | ",">;
3116
3116
  constructor();
3117
3117
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberFormatService, never>;
3118
3118
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<NumberFormatService>;
@@ -3208,7 +3208,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
3208
3208
  * @returns Array containing value, validators, and async validators
3209
3209
  * @template T - Type of the form control value
3210
3210
  */
3211
- 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)[];
3212
3212
  /**
3213
3213
  * Navigates back to the previous page using Angular's Location service
3214
3214
  */
@@ -5674,13 +5674,13 @@ declare class BtnComponent implements OnInit {
5674
5674
  */
5675
5675
  set customIcon(v: string);
5676
5676
  /** Form to bind to the button for validation */
5677
- 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>>;
5678
5678
  /** Subject for form changes */
5679
5679
  protected readonly formStateRes: _angular_core.ResourceRef<boolean>;
5680
5680
  /** Signal for form validity state */
5681
5681
  protected readonly formState: _angular_core.Signal<boolean>;
5682
5682
  /** Multiple forms to bind to the button for validation */
5683
- 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>)[]>;
5684
5684
  /** Signal for multiple forms validity state */
5685
5685
  protected readonly formsStateRes: _angular_core.ResourceRef<Omit<IFormState, "status">>;
5686
5686
  protected readonly formsState: _angular_core.Signal<boolean>;
@@ -7980,7 +7980,7 @@ declare class InfoDialogComponent implements OnInit {
7980
7980
  * @param status Status code (0=danger, 1=success, 2=info, 3=warning)
7981
7981
  * @returns CSS class name corresponding to the status
7982
7982
  */
7983
- cls: (status?: 0 | 1 | 2 | 3) => "" | "info" | "danger" | "success" | "warning";
7983
+ cls: (status?: 0 | 1 | 2 | 3) => "" | "danger" | "success" | "info" | "warning";
7984
7984
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
7985
7985
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
7986
7986
  }
@@ -8857,7 +8857,7 @@ declare class ResizeGridPipe implements PipeTransform {
8857
8857
  */
8858
8858
  declare class IndexCompLayoutComponent {
8859
8859
  /** Number of columns in the grid layout */
8860
- readonly grid: InputSignal<5 | 3 | 1 | 2 | 4 | 6 | "auto">;
8860
+ readonly grid: InputSignal<5 | 3 | 2 | 1 | 4 | 6 | "auto">;
8861
8861
  /** Whether to show the action buttons */
8862
8862
  readonly showButtons: InputSignal<boolean>;
8863
8863
  /** Whether to hide the clone button */
@@ -9657,8 +9657,8 @@ declare class PhoneNumberComponent extends InputBasicComponent {
9657
9657
  getExtension(number: string, iso2: string | undefined): string;
9658
9658
  getNumberType(number: string, iso2: string | undefined): number;
9659
9659
  getValidationError(number: string, iso2: string | undefined): number;
9660
- 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;
9661
- 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;
9662
9662
  numberFormat: {
9663
9663
  NATIONAL: number;
9664
9664
  INTERNATIONAL: number;
@@ -9669,12 +9669,12 @@ declare class PhoneNumberComponent extends InputBasicComponent {
9669
9669
  };
9670
9670
  }>;
9671
9671
  nationalMode?: boolean;
9672
- 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";
9673
9673
  showFlags?: boolean;
9674
9674
  separateDialCode?: boolean;
9675
9675
  strictMode?: boolean;
9676
9676
  useFullscreenPopup?: boolean;
9677
- 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;
9678
9678
  }>;
9679
9679
  /**
9680
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.5",
3
+ "version": "20.3.6",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },