ets-fe-ng-sdk 20.3.17 → 20.3.18

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
@@ -3116,7 +3116,7 @@ declare class NumberFormatService {
3116
3116
  readonly numberFormat: _angular_core.WritableSignal<"AM" | "EU">;
3117
3117
  readonly isNormal: _angular_core.Signal<boolean>;
3118
3118
  readonly locale: _angular_core.Signal<"en-US" | "fr-FR">;
3119
- readonly decimal: _angular_core.Signal<"." | ",">;
3119
+ readonly decimal: _angular_core.Signal<"," | ".">;
3120
3120
  constructor();
3121
3121
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberFormatService, never>;
3122
3122
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<NumberFormatService>;
@@ -3212,7 +3212,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
3212
3212
  * @returns Array containing value, validators, and async validators
3213
3213
  * @template T - Type of the form control value
3214
3214
  */
3215
- formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | AsyncValidatorFn | AsyncValidatorFn[] | ValidatorFn | ValidatorFn[] | T)[];
3215
+ formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (ValidatorFn | AsyncValidatorFn | AsyncValidatorFn[] | T | FormControlOptions | ValidatorFn[])[];
3216
3216
  /**
3217
3217
  * Navigates back to the previous page using Angular's Location service
3218
3218
  */
@@ -5685,13 +5685,13 @@ declare class BtnComponent implements OnInit {
5685
5685
  */
5686
5686
  set customIcon(v: string);
5687
5687
  /** Form to bind to the button for validation */
5688
- readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>>;
5688
+ readonly form: _angular_core.InputSignal<FormGroup<any> | AbstractControl<any, any, any> | FormArray<any> | FormControl<any>>;
5689
5689
  /** Subject for form changes */
5690
5690
  protected readonly formStateRes: _angular_core.ResourceRef<boolean>;
5691
5691
  /** Signal for form validity state */
5692
5692
  protected readonly formState: _angular_core.Signal<boolean>;
5693
5693
  /** Multiple forms to bind to the button for validation */
5694
- readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>)[]>;
5694
+ readonly forms: _angular_core.InputSignal<(FormGroup<any> | AbstractControl<any, any, any> | FormArray<any> | FormControl<any>)[]>;
5695
5695
  /** Signal for multiple forms validity state */
5696
5696
  protected readonly formsStateRes: _angular_core.ResourceRef<Omit<IFormState, "status">>;
5697
5697
  protected readonly formsState: _angular_core.Signal<boolean>;
@@ -7992,7 +7992,7 @@ declare class InfoDialogComponent implements OnInit {
7992
7992
  * @param status Status code (0=danger, 1=success, 2=info, 3=warning)
7993
7993
  * @returns CSS class name corresponding to the status
7994
7994
  */
7995
- cls: (status?: 0 | 1 | 2 | 3) => "info" | "danger" | "success" | "" | "warning";
7995
+ cls: (status?: 0 | 1 | 2 | 3) => "" | "info" | "danger" | "success" | "warning";
7996
7996
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
7997
7997
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
7998
7998
  }
@@ -8869,7 +8869,7 @@ declare class ResizeGridPipe implements PipeTransform {
8869
8869
  */
8870
8870
  declare class IndexCompLayoutComponent {
8871
8871
  /** Number of columns in the grid layout */
8872
- readonly grid: InputSignal<1 | 3 | 2 | 5 | 4 | "auto" | 6>;
8872
+ readonly grid: InputSignal<1 | 2 | 3 | "auto" | 5 | 4 | 6>;
8873
8873
  /** Whether to show the action buttons */
8874
8874
  readonly showButtons: InputSignal<boolean>;
8875
8875
  /** Whether to hide the clone button */
@@ -10504,7 +10504,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
10504
10504
  readonly form: FormGroup<{
10505
10505
  pageNumber: FormControl<number>;
10506
10506
  sortBy: FormControl<keyof TItem>;
10507
- sortDirection: FormControl<"" | "ASC" | "DESC">;
10507
+ sortDirection: FormControl<"" | "DESC" | "ASC">;
10508
10508
  pageSize: FormControl<number>;
10509
10509
  }>;
10510
10510
  /**
@@ -10513,7 +10513,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
10513
10513
  readonly allQueryData: _angular_core.Signal<{
10514
10514
  pageNumber: number;
10515
10515
  sortBy: keyof TItem;
10516
- sortDirection: "" | "ASC" | "DESC";
10516
+ sortDirection: "" | "DESC" | "ASC";
10517
10517
  pageSize: number;
10518
10518
  }>;
10519
10519
  /**
@@ -10522,7 +10522,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
10522
10522
  readonly formValue: _angular_core.Signal<{
10523
10523
  pageNumber: number;
10524
10524
  sortBy: keyof TItem;
10525
- sortDirection: "" | "ASC" | "DESC";
10525
+ sortDirection: "" | "DESC" | "ASC";
10526
10526
  pageSize: number;
10527
10527
  }>;
10528
10528
  /**
@@ -11023,7 +11023,7 @@ declare class GetColFormattedPipe implements PipeTransform {
11023
11023
  * @param col - The column configuration
11024
11024
  * @returns An observable containing the formatted value
11025
11025
  */
11026
- transform(row: any, col: TableCol): Promise<string> | rxjs.Observable<any>;
11026
+ transform(row: any, col: TableCol): rxjs.Observable<any> | Promise<string>;
11027
11027
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GetColFormattedPipe, never>;
11028
11028
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<GetColFormattedPipe, "getColFormatted", true>;
11029
11029
  }
@@ -11038,7 +11038,7 @@ declare class GetColFormattedEPipe implements PipeTransform {
11038
11038
  * @param col - The column configuration
11039
11039
  * @returns An observable containing the formatted value
11040
11040
  */
11041
- transform(row: any, col: TableCol): Promise<string> | rxjs.Observable<any>;
11041
+ transform(row: any, col: TableCol): rxjs.Observable<any> | Promise<string>;
11042
11042
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GetColFormattedEPipe, never>;
11043
11043
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<GetColFormattedEPipe, "getColFormattedE", true>;
11044
11044
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ets-fe-ng-sdk",
3
- "version": "20.3.17",
3
+ "version": "20.3.18",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },