ets-fe-ng-sdk 20.0.10 → 20.0.11

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
@@ -2195,13 +2195,13 @@ declare class BtnComponent implements OnInit {
2195
2195
  */
2196
2196
  set customIcon(v: string);
2197
2197
  /** Form to bind to the button for validation */
2198
- readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormGroup<any> | FormControl<any> | FormArray<any>>;
2198
+ readonly form: _angular_core.InputSignal<AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>>;
2199
2199
  /** Subject for form changes */
2200
2200
  protected readonly formStateRes: _angular_core.ResourceRef<boolean>;
2201
2201
  /** Signal for form validity state */
2202
2202
  protected readonly formState: _angular_core.Signal<boolean>;
2203
2203
  /** Multiple forms to bind to the button for validation */
2204
- readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormGroup<any> | FormControl<any> | FormArray<any>)[]>;
2204
+ readonly forms: _angular_core.InputSignal<(AbstractControl<any, any, any> | FormGroup<any> | FormArray<any> | FormControl<any>)[]>;
2205
2205
  /** Signal for multiple forms validity state */
2206
2206
  protected readonly formsStateRes: _angular_core.ResourceRef<Omit<IFormState, "status">>;
2207
2207
  protected readonly formsState: _angular_core.Signal<boolean>;
@@ -2950,7 +2950,7 @@ declare class InfoDialogComponent implements OnInit {
2950
2950
  * @param status Status code (0=danger, 1=success, 2=info, 3=warning)
2951
2951
  * @returns CSS class name corresponding to the status
2952
2952
  */
2953
- cls: (status?: 0 | 1 | 2 | 3) => "" | "info" | "danger" | "success" | "warning";
2953
+ cls: (status?: 0 | 1 | 2 | 3) => "info" | "danger" | "success" | "" | "warning";
2954
2954
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
2955
2955
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
2956
2956
  }
@@ -3022,7 +3022,7 @@ declare class NumberFormatService {
3022
3022
  readonly numberFormat: _angular_core.WritableSignal<"AM" | "EU">;
3023
3023
  readonly isNormal: _angular_core.Signal<boolean>;
3024
3024
  readonly locale: _angular_core.Signal<"en-US" | "fr-FR">;
3025
- readonly decimal: _angular_core.Signal<"," | ".">;
3025
+ readonly decimal: _angular_core.Signal<"." | ",">;
3026
3026
  constructor();
3027
3027
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberFormatService, never>;
3028
3028
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<NumberFormatService>;
@@ -3120,7 +3120,7 @@ declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnvironmen
3120
3120
  * @returns Array containing value, validators, and async validators
3121
3121
  * @template T - Type of the form control value
3122
3122
  */
3123
- formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (T | ValidatorFn | FormControlOptions | ValidatorFn[] | AsyncValidatorFn | AsyncValidatorFn[])[];
3123
+ formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | AsyncValidatorFn | AsyncValidatorFn[] | ValidatorFn | ValidatorFn[] | T)[];
3124
3124
  /**
3125
3125
  * Navigates back to the previous page using Angular's Location service
3126
3126
  */
@@ -7262,7 +7262,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
7262
7262
  readonly form: FormGroup<{
7263
7263
  pageNumber: FormControl<number>;
7264
7264
  sortBy: FormControl<keyof TItem>;
7265
- sortDirection: FormControl<"" | "DESC" | "ASC">;
7265
+ sortDirection: FormControl<"" | "ASC" | "DESC">;
7266
7266
  pageSize: FormControl<number>;
7267
7267
  }>;
7268
7268
  /**
@@ -7271,7 +7271,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
7271
7271
  readonly allQueryData: _angular_core.Signal<{
7272
7272
  pageNumber: number;
7273
7273
  sortBy: keyof TItem;
7274
- sortDirection: "" | "DESC" | "ASC";
7274
+ sortDirection: "" | "ASC" | "DESC";
7275
7275
  pageSize: number;
7276
7276
  }>;
7277
7277
  /**
@@ -7280,7 +7280,7 @@ declare class TableHttpsComponent<TItem = any> extends TableBaseComponent<TItem>
7280
7280
  readonly formValue: _angular_core.Signal<{
7281
7281
  pageNumber: number;
7282
7282
  sortBy: keyof TItem;
7283
- sortDirection: "" | "DESC" | "ASC";
7283
+ sortDirection: "" | "ASC" | "DESC";
7284
7284
  pageSize: number;
7285
7285
  }>;
7286
7286
  /**
@@ -9742,7 +9742,7 @@ declare class ResizeGridPipe implements PipeTransform {
9742
9742
  */
9743
9743
  declare class IndexCompLayoutComponent {
9744
9744
  /** Number of columns in the grid layout */
9745
- readonly grid: InputSignal<1 | 2 | 3 | 5 | 4 | 6 | "auto">;
9745
+ readonly grid: InputSignal<1 | 3 | 2 | 5 | 4 | 6 | "auto">;
9746
9746
  /** Whether to show the action buttons */
9747
9747
  readonly showButtons: InputSignal<boolean>;
9748
9748
  /** Whether to hide the clone button */
@@ -11294,7 +11294,7 @@ declare class GetColFormattedPipe implements PipeTransform {
11294
11294
  * @param col - The column configuration
11295
11295
  * @returns An observable containing the formatted value
11296
11296
  */
11297
- transform(row: any, col: TableCol): rxjs.Observable<any> | Promise<string>;
11297
+ transform(row: any, col: TableCol): Promise<string> | rxjs.Observable<any>;
11298
11298
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GetColFormattedPipe, never>;
11299
11299
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<GetColFormattedPipe, "getColFormatted", true>;
11300
11300
  }
@@ -11309,7 +11309,7 @@ declare class GetColFormattedEPipe implements PipeTransform {
11309
11309
  * @param col - The column configuration
11310
11310
  * @returns An observable containing the formatted value
11311
11311
  */
11312
- transform(row: any, col: TableCol): rxjs.Observable<any> | Promise<string>;
11312
+ transform(row: any, col: TableCol): Promise<string> | rxjs.Observable<any>;
11313
11313
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GetColFormattedEPipe, never>;
11314
11314
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<GetColFormattedEPipe, "getColFormattedE", true>;
11315
11315
  }
@@ -13965,6 +13965,7 @@ declare class FindItemComponent<TQuery extends IObjectLiteral = any, TRow extend
13965
13965
  * Whether to show the clear form button
13966
13966
  */
13967
13967
  readonly showClearBtn: _angular_core.InputSignal<boolean>;
13968
+ readonly showFormError: _angular_core.InputSignal<boolean>;
13968
13969
  /**
13969
13970
  * Whether to show validation messages
13970
13971
  */
@@ -13998,6 +13999,7 @@ declare class FindItemComponent<TQuery extends IObjectLiteral = any, TRow extend
13998
13999
  readonly tableHTTPSREFSignal: _angular_core.Signal<TableHttpsComponent<TRow>>;
13999
14000
  /** Signal-based reference to the plain table component */
14000
14001
  readonly tablePlainRefSignal: _angular_core.Signal<TablePlainComponent<TRow>>;
14002
+ readonly formErrorRef: _angular_core.Signal<FormErrorComponent>;
14001
14003
  /** Data to display in the table */
14002
14004
  readonly data: _angular_core.WritableSignal<TRow[]>;
14003
14005
  /** Internal loading state */
@@ -14090,7 +14092,7 @@ declare class FindItemComponent<TQuery extends IObjectLiteral = any, TRow extend
14090
14092
  startLoader(): void;
14091
14093
  stopLoader(): void;
14092
14094
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FindItemComponent<any, any>, never>;
14093
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<FindItemComponent<any, any>, "app-find-item,find-item", never, { "autoFormatSchema": { "alias": "autoFormatSchema"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "autoOrder": { "alias": "autoOrder"; "required": false; "isSignal": true; }; "searchButtonText": { "alias": "searchButtonText"; "required": false; "isSignal": true; }; "searchButtonIcon": { "alias": "searchButtonIcon"; "required": false; "isSignal": true; }; "centerCells": { "alias": "centerCells"; "required": false; "isSignal": true; }; "_displayedColumns": { "alias": "displayedColumns"; "required": false; "isSignal": true; }; "gridClass": { "alias": "gridClass"; "required": false; "isSignal": true; }; "hideForm": { "alias": "hideForm"; "required": false; "isSignal": true; }; "customTableCellTemplates": { "alias": "customTableCellTemplates"; "required": false; "isSignal": true; }; "expandedRowTemplate": { "alias": "expandedRowTemplate"; "required": false; "isSignal": true; }; "rowOptionsMap": { "alias": "rowOptionsMap"; "required": false; "isSignal": true; }; "isExpandable": { "alias": "isExpandable"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "nowrap": { "alias": "nowrap"; "required": false; "isSignal": true; }; "options": { "alias": "rowOptions"; "required": false; "isSignal": true; }; "orderDirection": { "alias": "orderDirection"; "required": false; "isSignal": true; }; "orderField": { "alias": "orderField"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "searchFunction": { "alias": "searchFunction"; "required": false; "isSignal": true; }; "showData": { "alias": "showData"; "required": false; "isSignal": true; }; "searchIfNoQuery": { "alias": "searchIfNoQuery"; "required": false; "isSignal": true; }; "isCompact": { "alias": "isCompact"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "showFilter": { "alias": "showFilter"; "required": false; "isSignal": true; }; "showRefreshBtn": { "alias": "showRefreshBtn"; "required": false; "isSignal": true; }; "useStaticLoader": { "alias": "useStaticLoader"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "searchPromptText": { "alias": "searchPromptText"; "required": false; "isSignal": true; }; "startSectionTemplate": { "alias": "startSectionTemplate"; "required": false; "isSignal": true; }; "showSearchBtn": { "alias": "showSearchBtn"; "required": false; "isSignal": true; }; "showClearBtn": { "alias": "showClearBtn"; "required": false; "isSignal": true; }; "showValidationMsg": { "alias": "showValidationMsg"; "required": false; "isSignal": true; }; "createBtnRoute": { "alias": "createBtnRoute"; "required": false; "isSignal": true; }; "showAdditionalColumns": { "alias": "showAdditionalColumns"; "required": false; "isSignal": true; }; "smallerFonts": { "alias": "smallerFonts"; "required": false; "isSignal": true; }; "useSelection": { "alias": "useSelection"; "required": false; "isSignal": true; }; "initialQuery": { "alias": "initialQuery"; "required": false; "isSignal": true; }; "createButton": { "alias": "createButton"; "required": false; "isSignal": true; }; "_formSchema": { "alias": "formSchema"; "required": false; }; "searchObservableFunc": { "alias": "searchObservableFunc"; "required": false; "isSignal": true; }; }, { "initialQuery": "initialQueryChange"; "_rowClick": "rowClick"; "clickedExpandRow": "clickedExpandRow"; "clickedCreate": "clickedCreate"; }, never, ["[tablePanel]"], true, never>;
14095
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FindItemComponent<any, any>, "app-find-item,find-item", never, { "autoFormatSchema": { "alias": "autoFormatSchema"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "autoOrder": { "alias": "autoOrder"; "required": false; "isSignal": true; }; "searchButtonText": { "alias": "searchButtonText"; "required": false; "isSignal": true; }; "searchButtonIcon": { "alias": "searchButtonIcon"; "required": false; "isSignal": true; }; "centerCells": { "alias": "centerCells"; "required": false; "isSignal": true; }; "_displayedColumns": { "alias": "displayedColumns"; "required": false; "isSignal": true; }; "gridClass": { "alias": "gridClass"; "required": false; "isSignal": true; }; "hideForm": { "alias": "hideForm"; "required": false; "isSignal": true; }; "customTableCellTemplates": { "alias": "customTableCellTemplates"; "required": false; "isSignal": true; }; "expandedRowTemplate": { "alias": "expandedRowTemplate"; "required": false; "isSignal": true; }; "rowOptionsMap": { "alias": "rowOptionsMap"; "required": false; "isSignal": true; }; "isExpandable": { "alias": "isExpandable"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "nowrap": { "alias": "nowrap"; "required": false; "isSignal": true; }; "options": { "alias": "rowOptions"; "required": false; "isSignal": true; }; "orderDirection": { "alias": "orderDirection"; "required": false; "isSignal": true; }; "orderField": { "alias": "orderField"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "searchFunction": { "alias": "searchFunction"; "required": false; "isSignal": true; }; "showData": { "alias": "showData"; "required": false; "isSignal": true; }; "searchIfNoQuery": { "alias": "searchIfNoQuery"; "required": false; "isSignal": true; }; "isCompact": { "alias": "isCompact"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "showFilter": { "alias": "showFilter"; "required": false; "isSignal": true; }; "showRefreshBtn": { "alias": "showRefreshBtn"; "required": false; "isSignal": true; }; "useStaticLoader": { "alias": "useStaticLoader"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "searchPromptText": { "alias": "searchPromptText"; "required": false; "isSignal": true; }; "startSectionTemplate": { "alias": "startSectionTemplate"; "required": false; "isSignal": true; }; "showSearchBtn": { "alias": "showSearchBtn"; "required": false; "isSignal": true; }; "showClearBtn": { "alias": "showClearBtn"; "required": false; "isSignal": true; }; "showFormError": { "alias": "showFormError"; "required": false; "isSignal": true; }; "showValidationMsg": { "alias": "showValidationMsg"; "required": false; "isSignal": true; }; "createBtnRoute": { "alias": "createBtnRoute"; "required": false; "isSignal": true; }; "showAdditionalColumns": { "alias": "showAdditionalColumns"; "required": false; "isSignal": true; }; "smallerFonts": { "alias": "smallerFonts"; "required": false; "isSignal": true; }; "useSelection": { "alias": "useSelection"; "required": false; "isSignal": true; }; "initialQuery": { "alias": "initialQuery"; "required": false; "isSignal": true; }; "createButton": { "alias": "createButton"; "required": false; "isSignal": true; }; "_formSchema": { "alias": "formSchema"; "required": false; }; "searchObservableFunc": { "alias": "searchObservableFunc"; "required": false; "isSignal": true; }; }, { "initialQuery": "initialQueryChange"; "_rowClick": "rowClick"; "clickedExpandRow": "clickedExpandRow"; "clickedCreate": "clickedCreate"; }, never, ["[tablePanel]"], true, never>;
14094
14096
  }
14095
14097
  /**
14096
14098
  * Interface for search form schema
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ets-fe-ng-sdk",
3
- "version": "20.0.10",
3
+ "version": "20.0.11",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },