ets-fe-ng-sdk 20.3.15 → 20.3.17

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
@@ -1850,6 +1850,7 @@ interface IBaseFormSchema<T, Component, TFormGroup extends {
1850
1850
  valueField?: string;
1851
1851
  /** When true, enables verbose logging for this field */
1852
1852
  verbose?: boolean;
1853
+ accept?: string;
1853
1854
  }
1854
1855
  type IfFunc<T, TFormGroup extends {
1855
1856
  [K in keyof TFormGroup]: AbstractControl<any, any>;
@@ -3211,7 +3212,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
3211
3212
  * @returns Array containing value, validators, and async validators
3212
3213
  * @template T - Type of the form control value
3213
3214
  */
3214
- formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | ValidatorFn | AsyncValidatorFn | ValidatorFn[] | AsyncValidatorFn[] | T)[];
3215
+ formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | AsyncValidatorFn | AsyncValidatorFn[] | ValidatorFn | ValidatorFn[] | T)[];
3215
3216
  /**
3216
3217
  * Navigates back to the previous page using Angular's Location service
3217
3218
  */
@@ -7878,6 +7879,7 @@ declare class FormGeneratedValueComponent<TFormGroup extends {
7878
7879
  value?: any;
7879
7880
  valueField?: string;
7880
7881
  verbose?: boolean;
7882
+ accept?: string;
7881
7883
  }[]>;
7882
7884
  formatValue: (item: IFormSchema, value: string | boolean | number) => string | boolean | number;
7883
7885
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormGeneratedValueComponent<any>, never>;
@@ -8867,7 +8869,7 @@ declare class ResizeGridPipe implements PipeTransform {
8867
8869
  */
8868
8870
  declare class IndexCompLayoutComponent {
8869
8871
  /** Number of columns in the grid layout */
8870
- readonly grid: InputSignal<5 | 1 | 3 | 2 | 4 | "auto" | 6>;
8872
+ readonly grid: InputSignal<1 | 3 | 2 | 5 | 4 | "auto" | 6>;
8871
8873
  /** Whether to show the action buttons */
8872
8874
  readonly showButtons: InputSignal<boolean>;
8873
8875
  /** Whether to hide the clone button */
@@ -9667,8 +9669,8 @@ declare class PhoneNumberComponent extends InputBasicComponent {
9667
9669
  getExtension(number: string, iso2: string | undefined): string;
9668
9670
  getNumberType(number: string, iso2: string | undefined): number;
9669
9671
  getValidationError(number: string, iso2: string | undefined): number;
9670
- 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;
9671
- 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;
9672
+ 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;
9673
+ 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;
9672
9674
  numberFormat: {
9673
9675
  NATIONAL: number;
9674
9676
  INTERNATIONAL: number;
@@ -9679,12 +9681,12 @@ declare class PhoneNumberComponent extends InputBasicComponent {
9679
9681
  };
9680
9682
  }>;
9681
9683
  nationalMode?: boolean;
9682
- placeholderNumberType?: "UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP";
9684
+ placeholderNumberType?: "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP";
9683
9685
  showFlags?: boolean;
9684
9686
  separateDialCode?: boolean;
9685
9687
  strictMode?: boolean;
9686
9688
  useFullscreenPopup?: boolean;
9687
- validationNumberTypes?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null;
9689
+ validationNumberTypes?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP")[] | null;
9688
9690
  }>;
9689
9691
  /**
9690
9692
  * Initializes the component by adding a custom validator to the form control.
@@ -11021,7 +11023,7 @@ declare class GetColFormattedPipe implements PipeTransform {
11021
11023
  * @param col - The column configuration
11022
11024
  * @returns An observable containing the formatted value
11023
11025
  */
11024
- transform(row: any, col: TableCol): rxjs.Observable<any> | Promise<string>;
11026
+ transform(row: any, col: TableCol): Promise<string> | rxjs.Observable<any>;
11025
11027
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GetColFormattedPipe, never>;
11026
11028
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<GetColFormattedPipe, "getColFormatted", true>;
11027
11029
  }
@@ -11036,7 +11038,7 @@ declare class GetColFormattedEPipe implements PipeTransform {
11036
11038
  * @param col - The column configuration
11037
11039
  * @returns An observable containing the formatted value
11038
11040
  */
11039
- transform(row: any, col: TableCol): rxjs.Observable<any> | Promise<string>;
11041
+ transform(row: any, col: TableCol): Promise<string> | rxjs.Observable<any>;
11040
11042
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GetColFormattedEPipe, never>;
11041
11043
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<GetColFormattedEPipe, "getColFormattedE", true>;
11042
11044
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ets-fe-ng-sdk",
3
- "version": "20.3.15",
3
+ "version": "20.3.17",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },