ets-fe-ng-sdk 19.0.19 → 19.0.21

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.
@@ -65,10 +65,10 @@ export declare class UtilityService<TEnvironment extends SDKEnvironment = SDKEnv
65
65
  readonly delimiter = "~~~//~~~";
66
66
  formBuilder: import("@angular/forms").NonNullableFormBuilder;
67
67
  constructor();
68
- formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (FormControlOptions | ValidatorFn | AsyncValidatorFn | ValidatorFn[] | AsyncValidatorFn[] | T)[];
68
+ formControl: <T>(value?: T | null, validatorOrOpts?: ValidatorFn | ValidatorFn[] | FormControlOptions, asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[]) => (T | ValidatorFn | FormControlOptions | ValidatorFn[] | AsyncValidatorFn | AsyncValidatorFn[])[];
69
69
  back: () => void;
70
70
  readonly toast: {
71
- add: (item: import("@serene-dev/toast-notifications/lib/toast-notifications.model").IAddToastNotification) => {
71
+ add: (item: import("@serene-dev/toast-notifications").IAddToastNotification) => {
72
72
  id: string;
73
73
  update: (update: Partial<import("@serene-dev/toast-notifications").IAddToastNotification>) => void;
74
74
  close: () => void;
@@ -38,9 +38,9 @@ export declare class BtnComponent implements OnInit {
38
38
  */
39
39
  set customIcon(v: string);
40
40
  readonly checkFormState$: BehaviorSubject<IFormState>;
41
- readonly form: import("@angular/core").InputSignal<AbstractControl<any, any> | FormGroup<any> | FormArray<any> | FormControl<any>>;
41
+ readonly form: import("@angular/core").InputSignal<AbstractControl<any, any> | FormGroup<any> | FormControl<any> | FormArray<any>>;
42
42
  protected readonly formState: import("@angular/core").Signal<IFormState>;
43
- readonly forms: import("@angular/core").InputSignal<(AbstractControl<any, any> | FormGroup<any> | FormArray<any> | FormControl<any>)[]>;
43
+ readonly forms: import("@angular/core").InputSignal<(AbstractControl<any, any> | FormGroup<any> | FormControl<any> | FormArray<any>)[]>;
44
44
  protected readonly formsState: import("@angular/core").Signal<Omit<IFormState, "status">>;
45
45
  /**The message to be displayed in the tooltip */
46
46
  readonly help: import("@angular/core").InputSignal<string>;
@@ -18,7 +18,7 @@ export declare class ResizeGridPipe implements PipeTransform {
18
18
  static ɵpipe: i0.ɵɵPipeDeclaration<ResizeGridPipe, "resizeGrid", true>;
19
19
  }
20
20
  export declare class IndexCompLayoutComponent {
21
- readonly grid: InputSignal<5 | 1 | 3 | 2 | 4 | 6 | "auto">;
21
+ readonly grid: InputSignal<1 | 2 | 3 | 5 | 4 | 6 | "auto">;
22
22
  readonly showButtons: InputSignal<boolean>;
23
23
  readonly hideClone: InputSignal<boolean>;
24
24
  readonly hideShow: InputSignal<boolean>;
@@ -20,7 +20,7 @@ export declare class InfoDialogComponent implements OnInit {
20
20
  yes(btn?: IInfoDialogBtn): void;
21
21
  no(): void;
22
22
  handleAction: (event: PointerEvent, item: IInfoDialogBtn) => void;
23
- cls: (status?: 0 | 1 | 2 | 3) => "info" | "danger" | "success" | "" | "warning";
23
+ cls: (status?: 0 | 1 | 2 | 3) => "" | "info" | "danger" | "success" | "warning";
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<InfoDialogComponent, never>;
25
25
  static ɵcmp: i0.ɵɵComponentDeclaration<InfoDialogComponent, "ng-component", never, {}, {}, never, never, true, never>;
26
26
  }
@@ -17,19 +17,19 @@ export declare class TableHttpsComponent<TItem = any> extends TableBaseComponent
17
17
  readonly form: FormGroup<{
18
18
  pageNumber: FormControl<number>;
19
19
  sortBy: FormControl<keyof TItem>;
20
- sortDirection: FormControl<"" | "ASC" | "DESC">;
20
+ sortDirection: FormControl<"" | "DESC" | "ASC">;
21
21
  pageSize: FormControl<number>;
22
22
  }>;
23
23
  readonly allQueryData: import("@angular/core").Signal<{
24
24
  pageNumber: number;
25
25
  sortBy: keyof TItem;
26
- sortDirection: "" | "ASC" | "DESC";
26
+ sortDirection: "" | "DESC" | "ASC";
27
27
  pageSize: number;
28
28
  }>;
29
29
  readonly formValue: import("@angular/core").Signal<{
30
30
  pageNumber: number;
31
31
  sortBy: keyof TItem;
32
- sortDirection: "" | "ASC" | "DESC";
32
+ sortDirection: "" | "DESC" | "ASC";
33
33
  pageSize: number;
34
34
  }>;
35
35
  readonly isLoadingResults: WritableSignal<boolean>;
@@ -30,6 +30,7 @@ export declare class VerticalNavComponent {
30
30
  readonly toolbarContRef: import("@angular/core").Signal<ElementRef<HTMLDivElement>>;
31
31
  constructor();
32
32
  ngAfterViewInit(): void;
33
+ toggleSideMenu(): void;
33
34
  readonly hasChild: import("@angular/core").WritableSignal<(_: number, node: IMenuItem) => boolean>;
34
35
  static ɵfac: i0.ɵɵFactoryDeclaration<VerticalNavComponent, never>;
35
36
  static ɵcmp: i0.ɵɵComponentDeclaration<VerticalNavComponent, "vertical-nav", never, { "shouldShowChildInput": { "alias": "shouldShowChildInput"; "required": false; "isSignal": true; }; "toolbarTitle": { "alias": "toolbarTitle"; "required": false; "isSignal": true; }; "toolbarLogo": { "alias": "toolbarLogo"; "required": false; "isSignal": true; }; "toolbarLogoStyle": { "alias": "toolbarLogoStyle"; "required": false; "isSignal": true; }; "fixedTopGap": { "alias": "fixedTopGap"; "required": false; "isSignal": true; }; "sidenavTemplate": { "alias": "sidenavTemplate"; "required": false; "isSignal": true; }; "toolbarTemplate": { "alias": "toolbarTemplate"; "required": false; "isSignal": true; }; "toolbarEndTemplate": { "alias": "toolbarEndTemplate"; "required": false; "isSignal": true; }; "bodyTemplate": { "alias": "bodyTemplate"; "required": false; "isSignal": true; }; "useToolbar": { "alias": "useToolbar"; "required": false; "isSignal": true; }; "showMenu": { "alias": "showMenu"; "required": false; "isSignal": true; }; "menuItems": { "alias": "menuItems"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
@@ -102,7 +102,7 @@ export interface ITableCol<TRow = any> {
102
102
  customTemplate?: TemplateRef<any>;
103
103
  f: KeyOfType<TRow, string | number | boolean>;
104
104
  disabled?: boolean;
105
- formatter?: (val: TRow) => string | undefined | Promise<string | undefined> | Observable<string | undefined>;
105
+ formatter?: (val: any) => string | undefined | Promise<string | undefined> | Observable<string | undefined>;
106
106
  p?: string[];
107
107
  formatterP?: (...val: any) => string;
108
108
  hintFormatter?: (val: TRow) => Promise<string | undefined> | Observable<string | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ets-fe-ng-sdk",
3
- "version": "19.0.19",
3
+ "version": "19.0.21",
4
4
  "repository": {
5
5
  "url": "https://github.com/Evolutics-Tech/ets-fe-sdk"
6
6
  },