ets-fe-ng-sdk 20.3.12 → 20.3.13

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
@@ -1342,7 +1342,7 @@ declare enum EMenuType {
1342
1342
  * Common pattern for dropdown options and other selectable items
1343
1343
  * @template T Type of the value
1344
1344
  */
1345
- interface IValueLabel<T> {
1345
+ interface IValueLabel<T = string> {
1346
1346
  /** Value to be used programmatically (e.g., stored in database) */
1347
1347
  value: T;
1348
1348
  /** Human-readable display label for the value */
@@ -3206,7 +3206,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
3206
3206
  * @returns Array containing value, validators, and async validators
3207
3207
  * @template T - Type of the form control value
3208
3208
  */
3209
- formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (ValidatorFn | FormControlOptions | AsyncValidatorFn | AsyncValidatorFn[] | ValidatorFn[] | T)[];
3209
+ formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | ValidatorFn | AsyncValidatorFn | ValidatorFn[] | AsyncValidatorFn[] | T)[];
3210
3210
  /**
3211
3211
  * Navigates back to the previous page using Angular's Location service
3212
3212
  */
@@ -5662,7 +5662,7 @@ declare class BtnComponent implements OnInit {
5662
5662
  /** CSS class for the button */
5663
5663
  readonly _mclass: _angular_core.WritableSignal<string>;
5664
5664
  /** HTML button type (submit, button, reset) */
5665
- readonly actionType: _angular_core.InputSignal<"button" | "submit" | "reset">;
5665
+ readonly actionType: _angular_core.InputSignal<"submit" | "button" | "reset">;
5666
5666
  /** Enables animation effect on the button */
5667
5667
  readonly animate: _angular_core.InputSignal<boolean>;
5668
5668
  /** Excludes this button from logging when true */
@@ -7985,7 +7985,7 @@ declare class InfoDialogComponent implements OnInit {
7985
7985
  * @param status Status code (0=danger, 1=success, 2=info, 3=warning)
7986
7986
  * @returns CSS class name corresponding to the status
7987
7987
  */
7988
- cls: (status?: 0 | 1 | 2 | 3) => "" | "danger" | "success" | "info" | "warning";
7988
+ cls: (status?: 0 | 1 | 2 | 3) => "info" | "danger" | "success" | "" | "warning";
7989
7989
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
7990
7990
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
7991
7991
  }
@@ -8862,7 +8862,7 @@ declare class ResizeGridPipe implements PipeTransform {
8862
8862
  */
8863
8863
  declare class IndexCompLayoutComponent {
8864
8864
  /** Number of columns in the grid layout */
8865
- readonly grid: InputSignal<3 | 1 | 2 | 5 | 4 | 6 | "auto">;
8865
+ readonly grid: InputSignal<5 | 1 | 3 | 2 | 4 | "auto" | 6>;
8866
8866
  /** Whether to show the action buttons */
8867
8867
  readonly showButtons: InputSignal<boolean>;
8868
8868
  /** Whether to hide the clone button */
@@ -9662,8 +9662,8 @@ declare class PhoneNumberComponent extends InputBasicComponent {
9662
9662
  getExtension(number: string, iso2: string | undefined): string;
9663
9663
  getNumberType(number: string, iso2: string | undefined): number;
9664
9664
  getValidationError(number: string, iso2: string | undefined): number;
9665
- 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;
9666
- 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;
9665
+ 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;
9666
+ 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;
9667
9667
  numberFormat: {
9668
9668
  NATIONAL: number;
9669
9669
  INTERNATIONAL: number;
@@ -9674,12 +9674,12 @@ declare class PhoneNumberComponent extends InputBasicComponent {
9674
9674
  };
9675
9675
  }>;
9676
9676
  nationalMode?: boolean;
9677
- placeholderNumberType?: "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP";
9677
+ placeholderNumberType?: "UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP";
9678
9678
  showFlags?: boolean;
9679
9679
  separateDialCode?: boolean;
9680
9680
  strictMode?: boolean;
9681
9681
  useFullscreenPopup?: boolean;
9682
- validationNumberTypes?: ("FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP")[] | null;
9682
+ validationNumberTypes?: ("UNKNOWN" | "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "VOICEMAIL" | "VOIP")[] | null;
9683
9683
  }>;
9684
9684
  /**
9685
9685
  * Initializes the component by adding a custom validator to the form control.
@@ -10497,7 +10497,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
10497
10497
  readonly form: FormGroup<{
10498
10498
  pageNumber: FormControl<number>;
10499
10499
  sortBy: FormControl<keyof TItem>;
10500
- sortDirection: FormControl<"" | "DESC" | "ASC">;
10500
+ sortDirection: FormControl<"" | "ASC" | "DESC">;
10501
10501
  pageSize: FormControl<number>;
10502
10502
  }>;
10503
10503
  /**
@@ -10506,7 +10506,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
10506
10506
  readonly allQueryData: _angular_core.Signal<{
10507
10507
  pageNumber: number;
10508
10508
  sortBy: keyof TItem;
10509
- sortDirection: "" | "DESC" | "ASC";
10509
+ sortDirection: "" | "ASC" | "DESC";
10510
10510
  pageSize: number;
10511
10511
  }>;
10512
10512
  /**
@@ -10515,7 +10515,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
10515
10515
  readonly formValue: _angular_core.Signal<{
10516
10516
  pageNumber: number;
10517
10517
  sortBy: keyof TItem;
10518
- sortDirection: "" | "DESC" | "ASC";
10518
+ sortDirection: "" | "ASC" | "DESC";
10519
10519
  pageSize: number;
10520
10520
  }>;
10521
10521
  /**
@@ -11389,7 +11389,7 @@ declare class TextCase2Component<T = any> {
11389
11389
  * Uses route input if provided, otherwise uses routeFunc
11390
11390
  * For email/phone values, creates a mailto: or tel: link
11391
11391
  */
11392
- readonly computedRoute: _angular_core.Signal<Observable<string> | Promise<string>>;
11392
+ readonly computedRoute: _angular_core.Signal<Promise<string> | Observable<string>>;
11393
11393
  /**
11394
11394
  * Computes the value to display based on inputs
11395
11395
  * Uses value input if provided, otherwise uses data[name]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ets-fe-ng-sdk",
3
- "version": "20.3.12",
3
+ "version": "20.3.13",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },