@smartsoft001/crud-shell-angular 2.197.0 → 2.199.0

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.
@@ -1,375 +1,417 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, Type, Signal, Injector, DestroyRef, InputSignal, WritableSignal, OnDestroy, PipeTransform, ModuleWithProviders, ViewContainerRef, TemplateRef, InjectionToken } from '@angular/core';
3
- import * as _smartsoft001_angular from '@smartsoft001/angular';
4
- import { BaseComponent as BaseComponent$1, IButtonOptions, PaginationMode, ICellPipe, ListMode, IIconButtonOptions, InputBaseComponent, SmartPageVariant, InputOptions, IListOptions, IFormOptions, DynamicComponentType, FormComponent, IDetailsOptions, SmartFormGroup, IPageOptions, DynamicContentDirective, IListPaginationOptions, IModelLabelProvider, IModelLabelOptions } from '@smartsoft001/angular';
5
- import { IEntity } from '@smartsoft001/domain-core';
6
- import * as _smartsoft001_models from '@smartsoft001/models';
7
- import { IModelFilter, IFieldOptions } from '@smartsoft001/models';
8
- import * as _smartsoft001_crud_shell_angular from '@smartsoft001/crud-shell-angular';
9
- import * as i17 from '@angular/forms';
10
- import { UntypedFormControl } from '@angular/forms';
11
- import { TranslateService } from '@ngx-translate/core';
12
- import * as _ngrx_store from '@ngrx/store';
13
- import { Store, ActionsSubject, State as State$1, Action } from '@ngrx/store';
14
- import * as i18 from '@angular/common';
15
- import * as i19 from 'ng-dynamic-component';
16
- import { HttpClient } from '@angular/common/http';
17
- import { Subscription, Observable } from 'rxjs';
18
- import * as i7 from '@angular/router';
19
-
20
- declare class ExportBaseComponent<T extends IEntity<string>> extends BaseComponent$1 implements OnInit {
21
- private facade;
22
- private popoverService;
23
- private styleService;
24
- private elementRef;
25
- private injector;
26
- buttonExportCsvOptions: IButtonOptions;
27
- buttonExportXlsxOptions: IButtonOptions;
28
- ngOnInit(): void;
29
- private initButtonExportOptions;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<ExportBaseComponent<any>, never>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<ExportBaseComponent<any>, never, never, {}, {}, never, never, true, never>;
32
- }
33
-
34
- declare class ExportComponent<T extends IEntity<string>> extends ExportBaseComponent<T> {
35
- static ɵfac: i0.ɵɵFactoryDeclaration<ExportComponent<any>, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<ExportComponent<any>, "smart-crud-export", never, {}, {}, never, never, true, never>;
37
- }
38
-
39
- interface ICrudFilter {
40
- searchText?: string;
41
- sortBy?: string;
42
- sortDesc?: boolean;
43
- offset?: number;
44
- limit?: number;
45
- paginationMode?: PaginationMode;
46
- query?: Array<ICrudFilterQueryItem>;
1
+ import * as i0 from "@angular/core";
2
+ import { DestroyRef, InjectionToken, Injector, InputSignal, ModuleWithProviders, OnDestroy, OnInit, PipeTransform, Signal, TemplateRef, Type, ViewContainerRef, WritableSignal } from "@angular/core";
3
+ import * as i15 from "@smartsoft001/angular";
4
+ import { BaseComponent, DynamicComponentType, DynamicContentDirective, FormComponent, IButtonOptions, ICellPipe, IDetailsOptions, IFormOptions, IIconButtonOptions, IListOptions, IListPaginationOptions, IModelLabelOptions, IModelLabelProvider, IPageOptions, InputBaseComponent, InputOptions, ListMode, PaginationMode, SmartFormGroup, SmartPageVariant } from "@smartsoft001/angular";
5
+ import { IEntity } from "@smartsoft001/domain-core";
6
+ import { IFieldOptions, IModelFilter } from "@smartsoft001/models";
7
+ import * as i17 from "@angular/forms";
8
+ import { UntypedFormControl } from "@angular/forms";
9
+ import { TranslateService } from "@ngx-translate/core";
10
+ import { Action, ActionsSubject, State as State$1, Store } from "@ngrx/store";
11
+ import * as i18 from "@angular/common";
12
+ import * as i19 from "ng-dynamic-component";
13
+ import "reflect-metadata";
14
+ import { HttpClient } from "@angular/common/http";
15
+ import { Observable, Subscription } from "rxjs";
16
+ import * as i7 from "@angular/router";
17
+ export declare class ExportBaseComponent<T extends IEntity<string>> extends BaseComponent implements OnInit {
18
+ private facade;
19
+ private popoverService;
20
+ private styleService;
21
+ private elementRef;
22
+ private injector;
23
+ buttonExportCsvOptions: IButtonOptions;
24
+ buttonExportXlsxOptions: IButtonOptions;
25
+ ngOnInit(): void;
26
+ private initButtonExportOptions;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExportBaseComponent<any>, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ExportBaseComponent<any>, never, never, {}, {}, never, never, true, never>;
47
29
  }
48
- interface ICrudFilterQueryItem extends IModelFilter {
49
- key: string;
50
- value: any;
51
- type: '=' | '!=' | '>=' | '<=' | '<' | '>';
52
- hidden?: boolean;
30
+ declare namespace export_component_d_exports {
31
+ export { ExportComponent };
53
32
  }
54
- interface ICrudCreateManyOptions {
55
- mode: CrudCreateManyMode;
33
+ export declare class ExportComponent<T extends IEntity<string>> extends ExportBaseComponent<T> {
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExportComponent<any>, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExportComponent<any>, "smart-crud-export", never, {}, {}, never, never, true, never>;
56
36
  }
57
- interface ICrudListGroup {
58
- key: string;
59
- value: string;
60
- text: string;
61
- show?: boolean;
62
- changed?: boolean;
63
- children?: Array<ICrudListGroup>;
64
- }
65
- type CrudCreateManyMode = 'default' | 'replace';
66
-
67
- declare class FilterComponent {
68
- FieldType: typeof _smartsoft001_models.FieldTypeDef;
69
- item: i0.InputSignal<IModelFilter | undefined>;
70
- filter: i0.InputSignal<ICrudFilter | undefined>;
71
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "smart-crud-filter", never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
73
- }
74
-
75
- declare class CrudConfig<T> {
76
- apiUrl: string;
77
- entity: string;
78
- type?: any;
79
- reducerFactory?: () => any;
80
- baseQuery?: Array<ICrudFilterQueryItem>;
81
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudConfig<any>, never>;
82
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudConfig<any>>;
83
- }
84
- declare class CrudFullConfig<T> extends CrudConfig<T> {
85
- title: string;
86
- details?: boolean | {
87
- cellPipe?: ICellPipe<T>;
88
- components?: {
89
- top?: any;
90
- bottom?: any;
91
- };
37
+ export interface ICrudFilter {
38
+ searchText?: string;
39
+ sortBy?: string;
40
+ sortDesc?: boolean;
41
+ offset?: number;
42
+ limit?: number;
43
+ paginationMode?: PaginationMode;
44
+ query?: Array<ICrudFilterQueryItem>;
45
+ }
46
+ export interface ICrudFilterQueryItem extends IModelFilter {
47
+ key: string;
48
+ value: any;
49
+ type: '=' | '!=' | '>=' | '<=' | '<' | '>';
50
+ hidden?: boolean;
51
+ }
52
+ export interface ICrudCreateManyOptions {
53
+ mode: CrudCreateManyMode;
54
+ }
55
+ export interface ICrudListGroup {
56
+ key: string;
57
+ value: string;
58
+ text: string;
59
+ show?: boolean;
60
+ changed?: boolean;
61
+ children?: Array<ICrudListGroup>;
62
+ }
63
+ export type CrudCreateManyMode = 'default' | 'replace';
64
+ declare namespace filter_component_d_exports {
65
+ export { FilterComponent };
66
+ }
67
+ export declare class FilterComponent {
68
+ FieldType: typeof import("@smartsoft001/models").FieldTypeDef;
69
+ item: import("@angular/core").InputSignal<IModelFilter | undefined>;
70
+ filter: import("@angular/core").InputSignal<ICrudFilter | undefined>;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "smart-crud-filter", never, {
73
+ "item": {
74
+ "alias": "item";
75
+ "required": false;
76
+ "isSignal": true;
92
77
  };
93
- edit?: boolean | {
94
- cellPipe?: ICellPipe<T>;
95
- components?: {
96
- top?: any;
97
- bottom?: any;
98
- };
78
+ "filter": {
79
+ "alias": "filter";
80
+ "required": false;
81
+ "isSignal": true;
99
82
  };
100
- add?: boolean | {
101
- components?: {
102
- top?: any;
103
- bottom?: any;
104
- };
83
+ }, {}, never, never, true, never>;
84
+ }
85
+ export declare class CrudConfig<T> {
86
+ apiUrl: string;
87
+ entity: string;
88
+ type?: any;
89
+ reducerFactory?: () => any;
90
+ baseQuery?: Array<ICrudFilterQueryItem>;
91
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudConfig<any>, never>;
92
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
93
+ }
94
+ export declare class CrudFullConfig<T> extends CrudConfig<T> {
95
+ title: string;
96
+ details?: boolean | {
97
+ cellPipe?: ICellPipe<T>;
98
+ components?: {
99
+ top?: any;
100
+ bottom?: any;
105
101
  };
106
- remove?: boolean;
107
- search?: boolean;
108
- export?: boolean;
109
- pagination?: {
110
- limit: number;
102
+ };
103
+ edit?: boolean | {
104
+ cellPipe?: ICellPipe<T>;
105
+ components?: {
106
+ top?: any;
107
+ bottom?: any;
111
108
  };
112
- sort?: boolean | {
113
- default?: string;
114
- defaultDesc?: boolean;
109
+ };
110
+ add?: boolean | {
111
+ components?: {
112
+ top?: any;
113
+ bottom?: any;
115
114
  };
116
- list?: {
117
- cellPipe?: ICellPipe<T>;
118
- components?: {
119
- top?: any;
120
- multi?: any;
121
- };
122
- mode?: ListMode;
123
- paginationMode?: PaginationMode;
124
- resetQuery?: 'beforeInit';
125
- groups?: Array<ICrudListGroup>;
115
+ };
116
+ remove?: boolean;
117
+ search?: boolean;
118
+ export?: boolean;
119
+ pagination?: {
120
+ limit: number;
121
+ };
122
+ sort?: boolean | {
123
+ default?: string;
124
+ defaultDesc?: boolean;
125
+ };
126
+ list?: {
127
+ cellPipe?: ICellPipe<T>;
128
+ components?: {
129
+ top?: any;
130
+ multi?: any;
131
+ };
132
+ mode?: ListMode;
133
+ paginationMode?: PaginationMode;
134
+ resetQuery?: 'beforeInit';
135
+ groups?: Array<ICrudListGroup>;
136
+ };
137
+ buttons?: Array<IIconButtonOptions>;
138
+ inputComponents?: {
139
+ [key: string]: Type<InputBaseComponent<T>>;
140
+ };
141
+ cssClass?: string;
142
+ variant?: SmartPageVariant;
143
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudFullConfig<any>, never>;
144
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
145
+ }
146
+ export declare class CrudFacade<T extends IEntity<string>> {
147
+ private readonly store;
148
+ private config;
149
+ readonly loaded: Signal<boolean | undefined>;
150
+ readonly loading: Signal<boolean>;
151
+ readonly selected: Signal<T | undefined>;
152
+ readonly multiSelected: Signal<T[] | undefined>;
153
+ readonly list: Signal<T[] | undefined>;
154
+ readonly filter: Signal<ICrudFilter | undefined>;
155
+ readonly totalCount: Signal<number | undefined>;
156
+ readonly links: Signal<any>;
157
+ readonly error: Signal<any>;
158
+ constructor(store: Store<any>, config: CrudConfig<T>);
159
+ create(item: T): void;
160
+ createMany(items: Array<T>, options: ICrudCreateManyOptions): void;
161
+ read(filter?: ICrudFilter): void;
162
+ clear(): void;
163
+ select(id: string): void;
164
+ unselect(): void;
165
+ multiSelect(items: Array<T>): void;
166
+ update(item: T): void;
167
+ export(filter?: ICrudFilter, format?: string): void;
168
+ updatePartial(item: Partial<T> & {
169
+ id: string;
170
+ }): void;
171
+ updatePartialMany(items: (Partial<T> & {
172
+ id: string;
173
+ })[]): void;
174
+ delete(id: string): void;
175
+ private getStore;
176
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudFacade<any>, never>;
177
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
178
+ }
179
+ declare class BaseComponent$1<T extends IEntity<string>> implements OnInit {
180
+ protected facade: CrudFacade<any>;
181
+ protected translateService: TranslateService;
182
+ protected config: CrudConfig<any>;
183
+ protected modelPossibilitiesProvider: import("@smartsoft001/crud-shell-angular").ICrudModelPossibilitiesProvider | null;
184
+ protected injector: Injector;
185
+ protected destroyRef: DestroyRef;
186
+ private _model;
187
+ /**
188
+ * Local, mutation-free working copy of the last filter this component pushed
189
+ * to `facade.read(...)`. The store-bound `filter()` input is frozen under
190
+ * NgRx `strictStateImmutability`, so refresh/clear operate on a clone; the
191
+ * read getters (`value`, `minValue`, `maxValue`, `hasValue`, …) prefer this
192
+ * pending copy until the real store update flows back through the input.
193
+ */
194
+ private _pendingFilter;
195
+ /** Snapshot of `filter()` that `_pendingFilter` was derived from. */
196
+ private _pendingFilterSource;
197
+ possibilities: Signal<{
198
+ id: any;
199
+ text: string;
200
+ }[]>;
201
+ readonly item: InputSignal<IModelFilter | undefined>;
202
+ readonly filter: InputSignal<ICrudFilter | undefined>;
203
+ /**
204
+ * The filter the component should read from: the pending working copy when it
205
+ * is still in sync with the current input, otherwise the raw input. Once the
206
+ * store update arrives (a new `filter()` reference), the pending copy is
207
+ * considered stale and the fresh input wins.
208
+ */
209
+ protected readonly effectiveFilter: Signal<ICrudFilter | undefined>;
210
+ /**
211
+ * OnPush-safe replacement for `@if (value)` in templates (partial GAP-19).
212
+ * True when filter().query has a matching entry (key + type) with a
213
+ * non-empty value.
214
+ */
215
+ readonly hasValue: Signal<boolean>;
216
+ /**
217
+ * OnPush-safe replacement for `@if (minValue)` in templates (partial
218
+ * GAP-19). True when filter().query has a matching `>=` entry (range "from")
219
+ * with a non-empty value.
220
+ */
221
+ readonly hasMinValue: Signal<boolean>;
222
+ /**
223
+ * OnPush-safe replacement for `@if (maxValue)` in templates (partial
224
+ * GAP-19). True when filter().query has a matching `<=` entry (range "to")
225
+ * with a non-empty value.
226
+ */
227
+ readonly hasMaxValue: Signal<boolean>;
228
+ /** Lazily-built model instance used to derive field options/labels. */
229
+ protected get model(): T;
230
+ get value(): any;
231
+ set value(val: any);
232
+ get minValue(): any;
233
+ set minValue(val: any);
234
+ get maxValue(): any;
235
+ set maxValue(val: any);
236
+ get lang(): string;
237
+ /**
238
+ * Returns a filter object safe to mutate. The store-bound `filter()` input is
239
+ * frozen under NgRx `strictStateImmutability`, so when (any part of) the
240
+ * source is frozen we hand back a deep-enough clone — object + query array +
241
+ * query entries — leaving the store untouched. When the source is a plain,
242
+ * extensible object (no immutability checks active) we keep operating on it in
243
+ * place so consumers that hold the same reference still observe the change.
244
+ */
245
+ private cloneFilter;
246
+ /**
247
+ * True when `filter` (and its query array + entries) can be mutated directly,
248
+ * i.e. nothing is frozen.
249
+ */
250
+ private isMutationSafe;
251
+ /**
252
+ * Records the mutated clone as the pending working copy (so read getters
253
+ * reflect it immediately) and dispatches it through the facade.
254
+ */
255
+ private commitFilter;
256
+ refresh(val: any, type?: string | null): void;
257
+ /**
258
+ * Builds the `InputOptions` consumed by shared `smart-input-*` components for
259
+ * a single reactive control. When `withPossibilities` is true (radio/select
260
+ * style filters) the base `possibilities` signal is mapped into the
261
+ * `{ id, text, checked }` shape the shared inputs expect; otherwise it is
262
+ * omitted (text/flag filters do not need possibilities).
263
+ */
264
+ protected buildInputOptions(control: UntypedFormControl, withPossibilities?: boolean): InputOptions<any>;
265
+ /**
266
+ * Creates a reactive control bridged to the legacy filter state for a given
267
+ * query slot: seeded from the current query value for that slot (`null` ->
268
+ * `value` / `item.type`, `'>='` -> `minValue`, `'<='` -> `maxValue`), and
269
+ * wired so every change re-runs the (debounced) `refresh` for that slot.
270
+ */
271
+ protected bindControl(type?: string | null): UntypedFormControl;
272
+ /**
273
+ * Creates a reactive control bridged to the default (`value` / `item.type`)
274
+ * query slot.
275
+ */
276
+ protected bindValueControl(): UntypedFormControl;
277
+ clear(): void;
278
+ ngOnInit(): void;
279
+ private initPossibilities;
280
+ private hasQueryValue;
281
+ private isArrayType;
282
+ private refreshForArray;
283
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent$1<any>, never>;
284
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent$1<any>, never, never, {
285
+ "item": {
286
+ "alias": "item";
287
+ "required": false;
288
+ "isSignal": true;
126
289
  };
127
- buttons?: Array<IIconButtonOptions>;
128
- inputComponents?: {
129
- [key: string]: Type<InputBaseComponent<T>>;
290
+ "filter": {
291
+ "alias": "filter";
292
+ "required": false;
293
+ "isSignal": true;
130
294
  };
131
- cssClass?: string;
132
- variant?: SmartPageVariant;
133
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudFullConfig<any>, never>;
134
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudFullConfig<any>>;
135
- }
136
-
137
- declare class CrudFacade<T extends IEntity<string>> {
138
- private readonly store;
139
- private config;
140
- readonly loaded: Signal<boolean | undefined>;
141
- readonly loading: Signal<boolean>;
142
- readonly selected: Signal<T | undefined>;
143
- readonly multiSelected: Signal<T[] | undefined>;
144
- readonly list: Signal<T[] | undefined>;
145
- readonly filter: Signal<ICrudFilter | undefined>;
146
- readonly totalCount: Signal<number | undefined>;
147
- readonly links: Signal<any>;
148
- readonly error: Signal<any>;
149
- constructor(store: Store<any>, config: CrudConfig<T>);
150
- create(item: T): void;
151
- createMany(items: Array<T>, options: ICrudCreateManyOptions): void;
152
- read(filter?: ICrudFilter): void;
153
- clear(): void;
154
- select(id: string): void;
155
- unselect(): void;
156
- multiSelect(items: Array<T>): void;
157
- update(item: T): void;
158
- export(filter?: ICrudFilter, format?: string): void;
159
- updatePartial(item: Partial<T> & {
160
- id: string;
161
- }): void;
162
- updatePartialMany(items: (Partial<T> & {
163
- id: string;
164
- })[]): void;
165
- delete(id: string): void;
166
- private getStore;
167
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudFacade<any>, never>;
168
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudFacade<any>>;
169
- }
170
-
171
- declare class BaseComponent<T extends IEntity<string>> implements OnInit {
172
- protected facade: CrudFacade<any>;
173
- protected translateService: TranslateService;
174
- protected config: CrudConfig<any>;
175
- protected modelPossibilitiesProvider: _smartsoft001_crud_shell_angular.ICrudModelPossibilitiesProvider | null;
176
- protected injector: Injector;
177
- protected destroyRef: DestroyRef;
178
- private _model;
179
- /**
180
- * Local, mutation-free working copy of the last filter this component pushed
181
- * to `facade.read(...)`. The store-bound `filter()` input is frozen under
182
- * NgRx `strictStateImmutability`, so refresh/clear operate on a clone; the
183
- * read getters (`value`, `minValue`, `maxValue`, `hasValue`, …) prefer this
184
- * pending copy until the real store update flows back through the input.
185
- */
186
- private _pendingFilter;
187
- /** Snapshot of `filter()` that `_pendingFilter` was derived from. */
188
- private _pendingFilterSource;
189
- possibilities: Signal<{
190
- id: any;
191
- text: string;
192
- }[]>;
193
- readonly item: InputSignal<IModelFilter | undefined>;
194
- readonly filter: InputSignal<ICrudFilter | undefined>;
195
- /**
196
- * The filter the component should read from: the pending working copy when it
197
- * is still in sync with the current input, otherwise the raw input. Once the
198
- * store update arrives (a new `filter()` reference), the pending copy is
199
- * considered stale and the fresh input wins.
200
- */
201
- protected readonly effectiveFilter: Signal<ICrudFilter | undefined>;
202
- /**
203
- * OnPush-safe replacement for `@if (value)` in templates (partial GAP-19).
204
- * True when filter().query has a matching entry (key + type) with a
205
- * non-empty value.
206
- */
207
- readonly hasValue: Signal<boolean>;
208
- /**
209
- * OnPush-safe replacement for `@if (minValue)` in templates (partial
210
- * GAP-19). True when filter().query has a matching `>=` entry (range "from")
211
- * with a non-empty value.
212
- */
213
- readonly hasMinValue: Signal<boolean>;
214
- /**
215
- * OnPush-safe replacement for `@if (maxValue)` in templates (partial
216
- * GAP-19). True when filter().query has a matching `<=` entry (range "to")
217
- * with a non-empty value.
218
- */
219
- readonly hasMaxValue: Signal<boolean>;
220
- /** Lazily-built model instance used to derive field options/labels. */
221
- protected get model(): T;
222
- get value(): any;
223
- set value(val: any);
224
- get minValue(): any;
225
- set minValue(val: any);
226
- get maxValue(): any;
227
- set maxValue(val: any);
228
- get lang(): string;
229
- /**
230
- * Returns a filter object safe to mutate. The store-bound `filter()` input is
231
- * frozen under NgRx `strictStateImmutability`, so when (any part of) the
232
- * source is frozen we hand back a deep-enough clone — object + query array +
233
- * query entries — leaving the store untouched. When the source is a plain,
234
- * extensible object (no immutability checks active) we keep operating on it in
235
- * place so consumers that hold the same reference still observe the change.
236
- */
237
- private cloneFilter;
238
- /**
239
- * True when `filter` (and its query array + entries) can be mutated directly,
240
- * i.e. nothing is frozen.
241
- */
242
- private isMutationSafe;
243
- /**
244
- * Records the mutated clone as the pending working copy (so read getters
245
- * reflect it immediately) and dispatches it through the facade.
246
- */
247
- private commitFilter;
248
- refresh(val: any, type?: string | null): void;
249
- /**
250
- * Builds the `InputOptions` consumed by shared `smart-input-*` components for
251
- * a single reactive control. When `withPossibilities` is true (radio/select
252
- * style filters) the base `possibilities` signal is mapped into the
253
- * `{ id, text, checked }` shape the shared inputs expect; otherwise it is
254
- * omitted (text/flag filters do not need possibilities).
255
- */
256
- protected buildInputOptions(control: UntypedFormControl, withPossibilities?: boolean): InputOptions<any>;
257
- /**
258
- * Creates a reactive control bridged to the legacy filter state for a given
259
- * query slot: seeded from the current query value for that slot (`null` ->
260
- * `value` / `item.type`, `'>='` -> `minValue`, `'<='` -> `maxValue`), and
261
- * wired so every change re-runs the (debounced) `refresh` for that slot.
262
- */
263
- protected bindControl(type?: string | null): UntypedFormControl;
264
- /**
265
- * Creates a reactive control bridged to the default (`value` / `item.type`)
266
- * query slot.
267
- */
268
- protected bindValueControl(): UntypedFormControl;
269
- clear(): void;
270
- ngOnInit(): void;
271
- private initPossibilities;
272
- private hasQueryValue;
273
- private isArrayType;
274
- private refreshForArray;
275
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent<any>, never>;
276
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent<any>, never, never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
277
- }
278
-
279
- declare class FilterDateComponent<T extends IEntity<string>> extends BaseComponent<T> {
280
- get allowAdvanced(): boolean;
281
- set customValue(val: any);
282
- get customValue(): any;
283
- set customMinValue(val: any);
284
- get customMinValue(): any;
285
- set customMaxValue(val: any);
286
- get customMaxValue(): any;
287
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateComponent<any>, never>;
288
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateComponent<any>, "smart-crud-filter-date", never, {}, {}, never, never, true, never>;
289
- }
290
-
291
- declare class FilterDateWithEditComponent<T extends IEntity<string>> extends FilterDateComponent<T> {
292
- advanced: WritableSignal<boolean>;
293
- toggleAdvanced(): void;
294
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateWithEditComponent<any>, never>;
295
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateWithEditComponent<any>, "smart-crud-filter-date-with-edit", never, {}, {}, never, never, true, never>;
296
- }
297
-
298
- declare class FilterDateTimeComponent<T extends IEntity<string>> extends FilterDateComponent<T> {
299
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateTimeComponent<any>, never>;
300
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateTimeComponent<any>, "smart-crud-filter-date-time", never, {}, {}, never, never, true, never>;
301
- }
302
-
303
- declare class FilterRadioComponent<T extends IEntity<string>> extends BaseComponent<T> implements OnInit {
304
- readonly inputOptions: WritableSignal<InputOptions<any> | undefined>;
305
- readonly fieldOptions: WritableSignal<IFieldOptions | undefined>;
306
- ngOnInit(): void;
307
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterRadioComponent<any>, never>;
308
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterRadioComponent<any>, "smart-crud-filter-radio", never, {}, {}, never, never, true, never>;
309
- }
310
-
311
- declare class FilterTextComponent<T extends IEntity<string>> extends BaseComponent<T> implements OnInit {
312
- readonly inputOptions: WritableSignal<InputOptions<any> | undefined>;
313
- readonly fieldOptions: WritableSignal<IFieldOptions | undefined>;
314
- ngOnInit(): void;
315
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterTextComponent<any>, never>;
316
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterTextComponent<any>, "smart-crud-filter-text", never, {}, {}, never, never, true, never>;
317
- }
318
-
319
- declare class FilterFlagComponent<T extends IEntity<string>> extends BaseComponent<T> implements OnInit {
320
- readonly inputOptions: WritableSignal<InputOptions<any> | undefined>;
321
- readonly fieldOptions: WritableSignal<IFieldOptions | undefined>;
322
- ngOnInit(): void;
323
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterFlagComponent<any>, never>;
324
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterFlagComponent<any>, "smart-crud-filter-flag", never, {}, {}, never, never, true, never>;
325
- }
326
-
327
- declare class FilterCheckComponent<T extends IEntity<string>> extends BaseComponent<T> implements OnInit {
328
- list: Signal<{
329
- value: any;
330
- isCheck: boolean;
331
- }[]>;
332
- readonly hasCheckedValues: Signal<boolean>;
333
- ngOnInit(): void;
334
- onCheckChange(checked: boolean, entry: {
335
- value: any;
336
- isCheck: boolean;
337
- }): void;
338
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterCheckComponent<any>, never>;
339
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterCheckComponent<any>, "smart-crud-filter-check", never, {}, {}, never, never, true, never>;
340
- }
341
-
342
- declare class FilterIntComponent<T extends IEntity<string>> extends BaseComponent<T> implements OnInit {
343
- readonly valueOptions: WritableSignal<InputOptions<any> | undefined>;
344
- readonly valueFieldOptions: WritableSignal<IFieldOptions | undefined>;
345
- readonly advanced: WritableSignal<boolean>;
346
- minControl: UntypedFormControl;
347
- maxControl: UntypedFormControl;
348
- get allowAdvanced(): boolean;
349
- ngOnInit(): void;
350
- toggleAdvanced(): void;
351
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterIntComponent<any>, never>;
352
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterIntComponent<any>, "smart-crud-filter-int", never, {}, {}, never, never, true, never>;
353
- }
354
-
355
- declare class FiltersBaseComponent<T extends IEntity<string>> implements OnInit {
356
- private menuService;
357
- private config;
358
- private facade;
359
- private styleService;
360
- private elementRef;
361
- list: WritableSignal<Array<IModelFilter>>;
362
- filter: Signal<ICrudFilter | undefined>;
363
- /**
364
- * Hide menu used only from MenuService
365
- */
366
- readonly hideMenu: InputSignal<boolean>;
367
- onClose(): Promise<void>;
368
- ngOnInit(): void;
369
- static ɵfac: i0.ɵɵFactoryDeclaration<FiltersBaseComponent<any>, never>;
370
- static ɵdir: i0.ɵɵDirectiveDeclaration<FiltersBaseComponent<any>, never, never, { "hideMenu": { "alias": "hideMenu"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
371
- }
372
-
295
+ }, {}, never, never, true, never>;
296
+ }
297
+ declare namespace date_component_d_exports {
298
+ export { FilterDateComponent };
299
+ }
300
+ export declare class FilterDateComponent<T extends IEntity<string>> extends BaseComponent$1<T> {
301
+ get allowAdvanced(): boolean;
302
+ set customValue(val: any);
303
+ get customValue(): any;
304
+ set customMinValue(val: any);
305
+ get customMinValue(): any;
306
+ set customMaxValue(val: any);
307
+ get customMaxValue(): any;
308
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateComponent<any>, never>;
309
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateComponent<any>, "smart-crud-filter-date", never, {}, {}, never, never, true, never>;
310
+ }
311
+ declare namespace date_with_edit_component_d_exports {
312
+ export { FilterDateWithEditComponent };
313
+ }
314
+ export declare class FilterDateWithEditComponent<T extends IEntity<string>> extends FilterDateComponent<T> {
315
+ advanced: WritableSignal<boolean>;
316
+ toggleAdvanced(): void;
317
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateWithEditComponent<any>, never>;
318
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateWithEditComponent<any>, "smart-crud-filter-date-with-edit", never, {}, {}, never, never, true, never>;
319
+ }
320
+ declare namespace date_time_component_d_exports {
321
+ export { FilterDateTimeComponent };
322
+ }
323
+ export declare class FilterDateTimeComponent<T extends IEntity<string>> extends FilterDateComponent<T> {
324
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateTimeComponent<any>, never>;
325
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateTimeComponent<any>, "smart-crud-filter-date-time", never, {}, {}, never, never, true, never>;
326
+ }
327
+ declare namespace radio_component_d_exports {
328
+ export { FilterRadioComponent };
329
+ }
330
+ export declare class FilterRadioComponent<T extends IEntity<string>> extends BaseComponent$1<T> implements OnInit {
331
+ readonly inputOptions: WritableSignal<InputOptions<any> | undefined>;
332
+ readonly fieldOptions: WritableSignal<IFieldOptions | undefined>;
333
+ ngOnInit(): void;
334
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterRadioComponent<any>, never>;
335
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterRadioComponent<any>, "smart-crud-filter-radio", never, {}, {}, never, never, true, never>;
336
+ }
337
+ declare namespace text_component_d_exports {
338
+ export { FilterTextComponent };
339
+ }
340
+ export declare class FilterTextComponent<T extends IEntity<string>> extends BaseComponent$1<T> implements OnInit {
341
+ readonly inputOptions: WritableSignal<InputOptions<any> | undefined>;
342
+ readonly fieldOptions: WritableSignal<IFieldOptions | undefined>;
343
+ ngOnInit(): void;
344
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterTextComponent<any>, never>;
345
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterTextComponent<any>, "smart-crud-filter-text", never, {}, {}, never, never, true, never>;
346
+ }
347
+ declare namespace flag_component_d_exports {
348
+ export { FilterFlagComponent };
349
+ }
350
+ export declare class FilterFlagComponent<T extends IEntity<string>> extends BaseComponent$1<T> implements OnInit {
351
+ readonly inputOptions: WritableSignal<InputOptions<any> | undefined>;
352
+ readonly fieldOptions: WritableSignal<IFieldOptions | undefined>;
353
+ ngOnInit(): void;
354
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterFlagComponent<any>, never>;
355
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterFlagComponent<any>, "smart-crud-filter-flag", never, {}, {}, never, never, true, never>;
356
+ }
357
+ declare namespace check_component_d_exports {
358
+ export { FilterCheckComponent };
359
+ }
360
+ export declare class FilterCheckComponent<T extends IEntity<string>> extends BaseComponent$1<T> implements OnInit {
361
+ list: Signal<{
362
+ value: any;
363
+ isCheck: boolean;
364
+ }[]>;
365
+ readonly hasCheckedValues: Signal<boolean>;
366
+ ngOnInit(): void;
367
+ onCheckChange(checked: boolean, entry: {
368
+ value: any;
369
+ isCheck: boolean;
370
+ }): void;
371
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterCheckComponent<any>, never>;
372
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterCheckComponent<any>, "smart-crud-filter-check", never, {}, {}, never, never, true, never>;
373
+ }
374
+ declare namespace int_component_d_exports {
375
+ export { FilterIntComponent };
376
+ }
377
+ export declare class FilterIntComponent<T extends IEntity<string>> extends BaseComponent$1<T> implements OnInit {
378
+ readonly valueOptions: WritableSignal<InputOptions<any> | undefined>;
379
+ readonly valueFieldOptions: WritableSignal<IFieldOptions | undefined>;
380
+ readonly advanced: WritableSignal<boolean>;
381
+ minControl: UntypedFormControl;
382
+ maxControl: UntypedFormControl;
383
+ get allowAdvanced(): boolean;
384
+ ngOnInit(): void;
385
+ toggleAdvanced(): void;
386
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterIntComponent<any>, never>;
387
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterIntComponent<any>, "smart-crud-filter-int", never, {}, {}, never, never, true, never>;
388
+ }
389
+ export declare class FiltersBaseComponent<T extends IEntity<string>> implements OnInit {
390
+ private menuService;
391
+ private config;
392
+ private facade;
393
+ private styleService;
394
+ private elementRef;
395
+ list: WritableSignal<Array<IModelFilter>>;
396
+ filter: Signal<ICrudFilter | undefined>;
397
+ /**
398
+ * Hide menu used only from MenuService
399
+ */
400
+ readonly hideMenu: InputSignal<boolean>;
401
+ onClose(): Promise<void>;
402
+ ngOnInit(): void;
403
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiltersBaseComponent<any>, never>;
404
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FiltersBaseComponent<any>, never, never, {
405
+ "hideMenu": {
406
+ "alias": "hideMenu";
407
+ "required": false;
408
+ "isSignal": true;
409
+ };
410
+ }, {}, never, never, true, never>;
411
+ }
412
+ declare namespace filters_component_d_exports {
413
+ export { FiltersComponent };
414
+ }
373
415
  /**
374
416
  * This component is only to use in crud module
375
417
  * @requires CrudModule
@@ -425,555 +467,596 @@ declare class FiltersBaseComponent<T extends IEntity<string>> implements OnInit
425
467
  })
426
468
  body: string;
427
469
  */
428
- declare class FiltersComponent<T extends IEntity<string>> extends FiltersBaseComponent<T> {
429
- static ɵfac: i0.ɵɵFactoryDeclaration<FiltersComponent<any>, never>;
430
- static ɵcmp: i0.ɵɵComponentDeclaration<FiltersComponent<any>, "smart-crud-filters", never, {}, {}, never, never, true, never>;
431
- }
432
-
433
- declare class FiltersConfigComponent implements OnInit {
434
- private readonly facade;
435
- private styleService;
436
- private elementRef;
437
- query: Signal<ICrudFilterQueryItem[]>;
438
- onRemoveQuery(item: ICrudFilterQueryItem): void;
439
- ngOnInit(): void;
440
- static ɵfac: i0.ɵɵFactoryDeclaration<FiltersConfigComponent, never>;
441
- static ɵcmp: i0.ɵɵComponentDeclaration<FiltersConfigComponent, "smart-crud-filters-config", never, {}, {}, never, never, true, never>;
442
- }
443
-
444
- declare class MultiselectBaseComponent<T extends IEntity<string>> {
445
- private facade;
446
- config: CrudFullConfig<T>;
447
- private menuService;
448
- private _list;
449
- private _changes;
450
- item: T;
451
- valid: boolean;
452
- buttonOptions: IButtonOptions;
453
- lock: boolean;
454
- showForm: boolean;
455
- list: Signal<T[]>;
456
- constructor();
457
- onClose(): Promise<void>;
458
- onPartialChange(changes: Partial<T>, list: Array<T>): void;
459
- onValidChange(valid: boolean): void;
460
- static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectBaseComponent<any>, never>;
461
- static ɵdir: i0.ɵɵDirectiveDeclaration<MultiselectBaseComponent<any>, never, never, {}, {}, never, never, true, never>;
462
- }
463
-
464
- declare class MultiselectComponent<T extends IEntity<string>> extends MultiselectBaseComponent<T> {
465
- static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectComponent<any>, never>;
466
- static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent<any>, "smart-crud-multiselect", never, {}, {}, never, never, true, never>;
467
- }
468
-
469
- declare class GroupBaseComponent<T extends IEntity<string>> extends BaseComponent$1 implements OnInit, OnDestroy {
470
- private styleService;
471
- private elementRef;
472
- private groupService;
473
- private cd;
474
- readonly groups: InputSignal<Array<ICrudListGroup> | null>;
475
- readonly listOptions: InputSignal<IListOptions<T> | null>;
476
- change(val: boolean, item: ICrudListGroup, force?: boolean): void;
477
- ngOnInit(): void;
478
- ngOnDestroy(): void;
479
- static ɵfac: i0.ɵɵFactoryDeclaration<GroupBaseComponent<any>, never>;
480
- static ɵdir: i0.ɵɵDirectiveDeclaration<GroupBaseComponent<any>, never, never, { "groups": { "alias": "groups"; "required": false; "isSignal": true; }; "listOptions": { "alias": "listOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
481
- }
482
-
483
- declare class GroupComponent<T extends IEntity<string>> extends GroupBaseComponent<T> {
484
- static ɵfac: i0.ɵɵFactoryDeclaration<GroupComponent<any>, never>;
485
- static ɵcmp: i0.ɵɵComponentDeclaration<GroupComponent<any>, "smart-crud-group", never, {}, {}, never, never, true, never>;
486
- }
487
-
488
- declare class FormOptionsPipe<T extends IEntity<string>> implements PipeTransform {
489
- private modelPossibilitiesProvider;
490
- transform(item: T, mode: string, type: any, uniqueProvider?: (values: Record<keyof T, any>) => Promise<boolean>, inputComponents?: {
491
- [key: string]: Type<InputBaseComponent<any>>;
492
- }): IFormOptions<T>;
493
- static ɵfac: i0.ɵɵFactoryDeclaration<FormOptionsPipe<any>, never>;
494
- static ɵpipe: i0.ɵɵPipeDeclaration<FormOptionsPipe<any>, "smartFormOptions", true>;
495
- }
496
-
497
- declare class CrudPipesModule {
498
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudPipesModule, never>;
499
- static ɵmod: i0.ɵɵNgModuleDeclaration<CrudPipesModule, never, [typeof FormOptionsPipe], [typeof FormOptionsPipe]>;
500
- static ɵinj: i0.ɵɵInjectorDeclaration<CrudPipesModule>;
501
- }
502
-
503
- declare class CrudComponentsModule {
504
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudComponentsModule, never>;
505
- static ɵmod: i0.ɵɵNgModuleDeclaration<CrudComponentsModule, never, [typeof ExportComponent, typeof FilterComponent, typeof FilterTextComponent, typeof FiltersConfigComponent, typeof FilterDateComponent, typeof FilterDateWithEditComponent, typeof FilterDateTimeComponent, typeof FilterRadioComponent, typeof FiltersComponent, typeof FilterFlagComponent, typeof FilterCheckComponent, typeof FilterIntComponent, typeof MultiselectComponent, typeof GroupComponent, typeof _smartsoft001_angular.SharedModule, typeof CrudPipesModule, typeof i17.FormsModule, typeof i18.CommonModule, typeof i19.DynamicIoModule], [typeof CrudPipesModule, typeof ExportComponent, typeof FilterComponent, typeof FilterTextComponent, typeof FiltersConfigComponent, typeof FilterDateComponent, typeof FilterDateWithEditComponent, typeof FilterDateTimeComponent, typeof FilterRadioComponent, typeof FiltersComponent, typeof FilterFlagComponent, typeof FilterCheckComponent, typeof FilterIntComponent, typeof MultiselectComponent, typeof GroupComponent]>;
506
- static ɵinj: i0.ɵɵInjectorDeclaration<CrudComponentsModule>;
507
- }
508
-
509
- declare class SocketService<T> {
510
- static ɵfac: i0.ɵɵFactoryDeclaration<SocketService<any>, never>;
511
- static ɵprov: i0.ɵɵInjectableDeclaration<SocketService<any>>;
512
- }
513
-
514
- declare class CrudService<T extends IEntity<string>> {
515
- protected config: CrudConfig<any>;
516
- protected http: HttpClient;
517
- protected socket: SocketService<any> | null;
518
- protected _formatMap: {
519
- csv: string;
520
- xlsx: string;
470
+ export declare class FiltersComponent<T extends IEntity<string>> extends FiltersBaseComponent<T> {
471
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiltersComponent<any>, never>;
472
+ static ɵcmp: i0.ɵɵComponentDeclaration<FiltersComponent<any>, "smart-crud-filters", never, {}, {}, never, never, true, never>;
473
+ }
474
+ declare namespace filters_config_component_d_exports {
475
+ export { FiltersConfigComponent };
476
+ }
477
+ export declare class FiltersConfigComponent implements OnInit {
478
+ private readonly facade;
479
+ private styleService;
480
+ private elementRef;
481
+ query: Signal<ICrudFilterQueryItem[]>;
482
+ onRemoveQuery(item: ICrudFilterQueryItem): void;
483
+ ngOnInit(): void;
484
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiltersConfigComponent, never>;
485
+ static ɵcmp: i0.ɵɵComponentDeclaration<FiltersConfigComponent, "smart-crud-filters-config", never, {}, {}, never, never, true, never>;
486
+ }
487
+ export declare class MultiselectBaseComponent<T extends IEntity<string>> {
488
+ private facade;
489
+ config: CrudFullConfig<T>;
490
+ private menuService;
491
+ private _list;
492
+ private _changes;
493
+ item: T;
494
+ valid: boolean;
495
+ buttonOptions: IButtonOptions;
496
+ lock: boolean;
497
+ showForm: boolean;
498
+ list: Signal<T[]>;
499
+ constructor();
500
+ onClose(): Promise<void>;
501
+ onPartialChange(changes: Partial<T>, list: Array<T>): void;
502
+ onValidChange(valid: boolean): void;
503
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectBaseComponent<any>, never>;
504
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MultiselectBaseComponent<any>, never, never, {}, {}, never, never, true, never>;
505
+ }
506
+ declare namespace multiselect_component_d_exports {
507
+ export { MultiselectComponent };
508
+ }
509
+ export declare class MultiselectComponent<T extends IEntity<string>> extends MultiselectBaseComponent<T> {
510
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectComponent<any>, never>;
511
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent<any>, "smart-crud-multiselect", never, {}, {}, never, never, true, never>;
512
+ }
513
+ export declare class GroupBaseComponent<T extends IEntity<string>> extends BaseComponent implements OnInit, OnDestroy {
514
+ private styleService;
515
+ private elementRef;
516
+ private groupService;
517
+ private cd;
518
+ readonly groups: InputSignal<Array<ICrudListGroup> | null>;
519
+ readonly listOptions: InputSignal<IListOptions<T> | null>;
520
+ change(val: boolean, item: ICrudListGroup, force?: boolean): void;
521
+ ngOnInit(): void;
522
+ ngOnDestroy(): void;
523
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupBaseComponent<any>, never>;
524
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GroupBaseComponent<any>, never, never, {
525
+ "groups": {
526
+ "alias": "groups";
527
+ "required": false;
528
+ "isSignal": true;
521
529
  };
522
- create(item: T): Promise<string>;
523
- createMany(items: Array<T>, options: ICrudCreateManyOptions): Promise<void>;
524
- getById(id: string): Promise<T>;
525
- getList<T>(filter?: ICrudFilter | null): Promise<{
526
- data: T[];
527
- totalCount: number;
528
- links: any;
529
- }>;
530
- exportList(filter: (ICrudFilter | null) | undefined, format: 'csv' | 'xlsx'): Promise<void>;
531
- update(item: T): Promise<void>;
532
- updatePartial(item: Partial<T> & {
533
- id: string;
534
- }): Promise<void>;
535
- updatePartialMany(items: (Partial<T> & {
536
- id: string;
537
- })[]): Promise<any>;
538
- delete(id: string): Promise<void>;
539
- protected getQuery(filter: ICrudFilter): string;
540
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudService<any>, never>;
541
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudService<any>>;
542
- }
543
-
544
- declare class CrudEffects<T extends IEntity<string>> {
545
- private actions$;
546
- private service;
547
- private config;
548
- private store;
549
- private state;
550
- constructor(actions$: ActionsSubject, service: CrudService<T>, config: CrudConfig<T>, store: Store<any>, state: State$1<any>);
551
- init(): void;
552
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudEffects<any>, never>;
553
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudEffects<any>>;
554
- }
555
-
556
- declare class CrudCoreModule<T extends IEntity<string>> {
557
- constructor(config: CrudConfig<T>, effects: CrudEffects<any>, store: Store<any>);
558
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudCoreModule, never>;
559
- static ɵmod: i0.ɵɵNgModuleDeclaration<CrudCoreModule, never, [typeof _smartsoft001_angular.SharedModule, typeof CrudPipesModule, typeof i17.FormsModule, typeof i18.CommonModule, typeof CrudComponentsModule], [typeof CrudComponentsModule]>;
560
- static ɵinj: i0.ɵɵInjectorDeclaration<CrudCoreModule>;
561
- }
562
- declare class CrudModule<T extends IEntity<string>> {
563
- static forFeature<T extends IEntity<string>>(options: ICrudModuleOptionsWithRoutng<T> | ICrudModuleOptionsWithoutRoutng<T>): ModuleWithProviders<CrudModule<any>>;
564
- constructor(config: CrudConfig<T>, effects: CrudEffects<any>, store: Store<any>);
565
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudModule, never>;
566
- static ɵmod: i0.ɵɵNgModuleDeclaration<CrudModule, never, never, never>;
567
- static ɵinj: i0.ɵɵInjectorDeclaration<CrudModule>;
568
- }
569
- interface ICrudModuleOptionsWithRoutng<T> {
570
- config: CrudFullConfig<T>;
571
- socket?: boolean;
572
- routing: true;
573
- }
574
- interface ICrudModuleOptionsWithoutRoutng<T> {
575
- config: CrudConfig<T>;
576
- socket?: boolean;
577
- routing: false;
578
- }
579
-
580
- declare abstract class CrudItemPageBaseComponent<T extends IEntity<string>> extends BaseComponent$1 {
581
- config: CrudFullConfig<T>;
582
- facade: CrudFacade<any>;
583
- static smartType: DynamicComponentType;
584
- selected: Signal<T>;
585
- contentTpl: Signal<ViewContainerRef | undefined>;
586
- formComponents: Signal<readonly FormComponent<any>[]>;
587
- detailsOptions: i0.InputSignal<IDetailsOptions<T> | undefined>;
588
- mode: i0.InputSignal<string | undefined>;
589
- uniqueProvider: i0.InputSignal<((values: Record<keyof T, any>) => Promise<boolean>) | undefined>;
590
- onPartialChange: i0.OutputEmitterRef<Partial<T>>;
591
- onChange: i0.OutputEmitterRef<T>;
592
- onValidChange: i0.OutputEmitterRef<boolean>;
593
- constructor();
594
- /**
595
- * The reactive form of the first rendered `<smart-form>`, or `undefined`
596
- * until the form factory has built it. `FormComponent.form` is a getter over
597
- * a signal, so it always reports the group currently rendered; a method is
598
- * kept here so the page button handlers read that group at call time rather
599
- * than through a `computed` captured when the form did not exist yet.
600
- */
601
- getForm(): SmartFormGroup | undefined;
602
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudItemPageBaseComponent<any>, never>;
603
- static ɵdir: i0.ɵɵDirectiveDeclaration<CrudItemPageBaseComponent<any>, never, never, { "detailsOptions": { "alias": "detailsOptions"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "uniqueProvider": { "alias": "uniqueProvider"; "required": false; "isSignal": true; }; }, { "onPartialChange": "onPartialChange"; "onChange": "onChange"; "onValidChange": "onValidChange"; }, never, never, true, never>;
604
- }
605
-
606
- declare class ItemStandardComponent<T extends IEntity<string>> extends CrudItemPageBaseComponent<T> {
607
- static ɵfac: i0.ɵɵFactoryDeclaration<ItemStandardComponent<any>, never>;
608
- static ɵcmp: i0.ɵɵComponentDeclaration<ItemStandardComponent<any>, "smart-crud-item-standard-page", never, {}, {}, never, never, true, never>;
609
- }
610
-
611
- declare const ItemComponent_base: new () => _smartsoft001_angular.IDynamicComponent<CrudItemPageBaseComponent<any>>;
612
- declare class ItemComponent<T extends IEntity<string>> extends ItemComponent_base implements OnInit, OnDestroy {
613
- private router;
614
- private activeRoute;
615
- private facade;
616
- private service;
617
- private dynamicComponentLoader;
618
- private translateService;
619
- config: CrudFullConfig<T>;
620
- private location;
621
- private cd;
622
- private styleService;
623
- private elementRef;
624
- private toastService;
625
- private pageService;
626
- private detailsService;
627
- private _mode;
628
- pageOptions: WritableSignal<IPageOptions>;
629
- detailsOptions: WritableSignal<IDetailsOptions<T> | undefined>;
530
+ "listOptions": {
531
+ "alias": "listOptions";
532
+ "required": false;
533
+ "isSignal": true;
534
+ };
535
+ }, {}, never, never, true, never>;
536
+ }
537
+ declare namespace group_component_d_exports {
538
+ export { GroupComponent };
539
+ }
540
+ export declare class GroupComponent<T extends IEntity<string>> extends GroupBaseComponent<T> {
541
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupComponent<any>, never>;
542
+ static ɵcmp: i0.ɵɵComponentDeclaration<GroupComponent<any>, "smart-crud-group", never, {}, {}, never, never, true, never>;
543
+ }
544
+ declare namespace form_options_pipe_d_exports {
545
+ export { FormOptionsPipe };
546
+ }
547
+ export declare class FormOptionsPipe<T extends IEntity<string>> implements PipeTransform {
548
+ private modelPossibilitiesProvider;
549
+ transform(item: T, mode: string, type: any, uniqueProvider?: (values: Record<keyof T, any>) => Promise<boolean>, inputComponents?: {
550
+ [key: string]: Type<InputBaseComponent<any>>;
551
+ }): IFormOptions<T>;
552
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormOptionsPipe<any>, never>;
553
+ static ɵpipe: i0.ɵɵPipeDeclaration<FormOptionsPipe<any>, "smartFormOptions", true>;
554
+ }
555
+ declare namespace pipes_module_d_exports {
556
+ export { CrudPipesModule };
557
+ }
558
+ export declare class CrudPipesModule {
559
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudPipesModule, never>;
560
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CrudPipesModule, never, [typeof FormOptionsPipe], [typeof FormOptionsPipe]>;
561
+ static ɵinj: i0.ɵɵInjectorDeclaration<CrudPipesModule>;
562
+ }
563
+ declare namespace components_module_d_exports {
564
+ export { CrudComponentsModule };
565
+ }
566
+ export declare class CrudComponentsModule {
567
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudComponentsModule, never>;
568
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CrudComponentsModule, never, [typeof ExportComponent, typeof FilterComponent, typeof FilterTextComponent, typeof FiltersConfigComponent, typeof FilterDateComponent, typeof FilterDateWithEditComponent, typeof FilterDateTimeComponent, typeof FilterRadioComponent, typeof FiltersComponent, typeof FilterFlagComponent, typeof FilterCheckComponent, typeof FilterIntComponent, typeof MultiselectComponent, typeof GroupComponent, typeof i15.SharedModule, typeof CrudPipesModule, typeof i17.FormsModule, typeof i18.CommonModule, typeof i19.DynamicIoModule], [typeof CrudPipesModule, typeof ExportComponent, typeof FilterComponent, typeof FilterTextComponent, typeof FiltersConfigComponent, typeof FilterDateComponent, typeof FilterDateWithEditComponent, typeof FilterDateTimeComponent, typeof FilterRadioComponent, typeof FiltersComponent, typeof FilterFlagComponent, typeof FilterCheckComponent, typeof FilterIntComponent, typeof MultiselectComponent, typeof GroupComponent]>;
569
+ static ɵinj: i0.ɵɵInjectorDeclaration<CrudComponentsModule>;
570
+ }
571
+ declare class SocketService<T> {
572
+ static ɵfac: i0.ɵɵFactoryDeclaration<SocketService<any>, never>;
573
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
574
+ }
575
+ declare class NotSocketService<T> {
576
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotSocketService<any>, never>;
577
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
578
+ }
579
+ export declare class CrudService<T extends IEntity<string>> {
580
+ protected config: CrudConfig<any>;
581
+ protected http: HttpClient;
582
+ protected socket: SocketService<any> | null;
583
+ protected _formatMap: {
584
+ csv: string;
585
+ xlsx: string;
586
+ };
587
+ create(item: T): Promise<string>;
588
+ createMany(items: Array<T>, options: ICrudCreateManyOptions): Promise<void>;
589
+ getById(id: string): Promise<T>;
590
+ getList<T>(filter?: ICrudFilter | null): Promise<{
591
+ data: T[];
592
+ totalCount: number;
593
+ links: any;
594
+ }>;
595
+ exportList(filter: (ICrudFilter | null) | undefined, format: 'csv' | 'xlsx'): Promise<void>;
596
+ update(item: T): Promise<void>;
597
+ updatePartial(item: Partial<T> & {
630
598
  id: string;
631
- formValue: T;
632
- formValid: boolean;
633
- item: T;
634
- formPartialValue: Partial<T>;
635
- uniqueProvider: WritableSignal<((values: Record<keyof T, any>) => Promise<boolean>) | undefined>;
636
- set mode(val: string);
637
- get mode(): string;
638
- selected: Signal<T>;
639
- standardComponents: Signal<readonly ItemStandardComponent<IEntity<string>>[]>;
640
- contentTpl: Signal<TemplateRef<any> | undefined>;
641
- topTpl: Signal<ViewContainerRef | undefined>;
642
- bottomTpl: Signal<ViewContainerRef | undefined>;
643
- dynamicContents: Signal<readonly DynamicContentDirective[]>;
644
- subscription: Subscription;
645
- constructor();
646
- refreshProperties(): void;
647
- ngOnInit(): Promise<void>;
648
- ngOnDestroy(): void;
649
- private generateComponents;
650
- onPartialChange(val: Partial<T>): void;
651
- onChange(val: T): void;
652
- onValidChange(val: boolean): void;
653
- private initPageOptions;
654
- private getButtons;
655
- private getTitle;
656
- private removeParagraph;
657
- private checkFirstInvalid;
658
- private getInvalidFields;
659
- static ɵfac: i0.ɵɵFactoryDeclaration<ItemComponent<any>, never>;
660
- static ɵcmp: i0.ɵɵComponentDeclaration<ItemComponent<any>, "smart-crud-item-page", never, {}, {}, never, ["*"], true, never>;
661
- }
662
-
663
- declare abstract class CrudListPageBaseComponent<T extends IEntity<string>> extends BaseComponent$1 {
664
- config: CrudFullConfig<T>;
665
- static smartType: DynamicComponentType;
666
- contentTpl: i0.Signal<ViewContainerRef | undefined>;
667
- listOptions: i0.InputSignal<IListOptions<T> | null | undefined>;
668
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudListPageBaseComponent<any>, never>;
669
- static ɵdir: i0.ɵɵDirectiveDeclaration<CrudListPageBaseComponent<any>, never, never, { "listOptions": { "alias": "listOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
670
- }
671
-
672
- declare const ListComponent_base: new () => _smartsoft001_angular.IDynamicComponent<CrudListPageBaseComponent<any>>;
673
- declare class ListComponent<T extends IEntity<string>> extends ListComponent_base implements OnInit, OnDestroy {
674
- private facade;
675
- private router;
676
- private dynamicComponentLoader;
677
- private injector;
678
- private cd;
679
- private menuService;
680
- private hardwareService;
681
- private paginationFacade;
682
- private pageService;
683
- config: CrudFullConfig<T>;
684
- private searchService;
685
- private _cleanMultiSelected$;
686
- pageOptions: WritableSignal<IPageOptions | null>;
687
- listOptions: WritableSignal<IListOptions<T> | null>;
688
- links: Signal<any>;
689
- filter: Signal<ICrudFilter | undefined>;
690
- topTpl: Signal<ViewContainerRef | undefined>;
691
- contentTpl: Signal<TemplateRef<any> | undefined>;
692
- dynamicContents: Signal<readonly DynamicContentDirective[]>;
693
- refreshProperties(): void;
694
- ngOnInit(): Promise<void>;
695
- private initCloseMenu;
696
- private clear;
697
- private getEndButtons;
698
- private initTopComponent;
699
- static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent<any>, never>;
700
- static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent<any>, "smart-crud-list-page", never, {}, {}, never, ["*"], true, never>;
701
- }
702
-
703
- declare class ListStandardComponent<T extends IEntity<string>> extends CrudListPageBaseComponent<T> {
704
- private readonly facade;
705
- readonly config: CrudFullConfig<T>;
706
- isSearch: Signal<boolean>;
707
- static ɵfac: i0.ɵɵFactoryDeclaration<ListStandardComponent<any>, never>;
708
- static ɵcmp: i0.ɵɵComponentDeclaration<ListStandardComponent<any>, "smart-crud-list-standard-page", never, {}, {}, never, never, true, never>;
709
- }
710
-
711
- declare const PAGES: (typeof ItemComponent | typeof ListComponent | typeof ListStandardComponent | typeof ItemStandardComponent)[];
712
- declare class CrudFullModule<T extends IEntity<string>> {
713
- constructor(config: CrudConfig<T>, effects: CrudEffects<any>, store: Store<any>);
714
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudFullModule, never>;
715
- static ɵmod: i0.ɵɵNgModuleDeclaration<CrudFullModule, never, [typeof ItemComponent, typeof ListComponent, typeof ListStandardComponent, typeof ItemStandardComponent, typeof _smartsoft001_angular.SharedModule, typeof CrudPipesModule, typeof i7.RouterModule, typeof i17.FormsModule, typeof i18.CommonModule, typeof CrudComponentsModule], [typeof ItemComponent, typeof ListComponent, typeof ListStandardComponent, typeof ItemStandardComponent, typeof CrudComponentsModule]>;
716
- static ɵinj: i0.ɵɵInjectorDeclaration<CrudFullModule>;
717
- }
718
-
719
- declare class CrudListPaginationFactory<T extends IEntity<string>> {
720
- private readonly facade;
721
- private readonly injector;
722
- create(options: {
723
- mode?: PaginationMode;
724
- limit: number;
725
- provider: {
726
- getLinks(): any;
727
- getFilter(): ICrudFilter;
728
- };
729
- }): Promise<IListPaginationOptions>;
730
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudListPaginationFactory<any>, never>;
731
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudListPaginationFactory<any>>;
732
- }
733
-
734
- declare class PageService<T> {
735
- private authService;
736
- private config;
737
- checkPermissions(): void;
738
- static ɵfac: i0.ɵɵFactoryDeclaration<PageService<any>, never>;
739
- static ɵprov: i0.ɵɵInjectableDeclaration<PageService<any>>;
740
- }
741
-
742
- declare class CrudSearchService {
743
- private _filterSource;
744
- private _enabledSource;
745
- get filter(): Partial<ICrudFilter>;
746
- get enabled(): boolean;
747
- enabled$: Observable<boolean>;
748
- filter$: Observable<Partial<ICrudFilter>>;
749
- setFilter(val: Partial<ICrudFilter>): void;
750
- setEnabled(val: boolean): void;
751
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudSearchService, never>;
752
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudSearchService>;
753
- }
754
-
755
- declare const create: <T extends IEntity<string>>(entity: string, item: T) => Action & {
756
- item: T;
599
+ }): Promise<void>;
600
+ updatePartialMany(items: (Partial<T> & {
601
+ id: string;
602
+ })[]): Promise<any>;
603
+ delete(id: string): Promise<void>;
604
+ protected getQuery(filter: ICrudFilter): string;
605
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudService<any>, never>;
606
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
607
+ }
608
+ export declare class CrudEffects<T extends IEntity<string>> {
609
+ private actions$;
610
+ private service;
611
+ private config;
612
+ private store;
613
+ private state;
614
+ constructor(actions$: ActionsSubject, service: CrudService<T>, config: CrudConfig<T>, store: Store<any>, state: State$1<any>);
615
+ init(): void;
616
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudEffects<any>, never>;
617
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
618
+ }
619
+ export declare class CrudCoreModule<T extends IEntity<string>> {
620
+ constructor(config: CrudConfig<T>, effects: CrudEffects<any>, store: Store<any>);
621
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudCoreModule, never>;
622
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CrudCoreModule, never, [typeof i15.SharedModule, typeof CrudPipesModule, typeof i17.FormsModule, typeof i18.CommonModule, typeof CrudComponentsModule], [typeof CrudComponentsModule]>;
623
+ static ɵinj: i0.ɵɵInjectorDeclaration<CrudCoreModule>;
624
+ }
625
+ export declare class CrudModule<T extends IEntity<string>> {
626
+ static forFeature<T extends IEntity<string>>(options: ICrudModuleOptionsWithRoutng<T> | ICrudModuleOptionsWithoutRoutng<T>): ModuleWithProviders<CrudModule<any>>;
627
+ constructor(config: CrudConfig<T>, effects: CrudEffects<any>, store: Store<any>);
628
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudModule, never>;
629
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CrudModule, never, never, never>;
630
+ static ɵinj: i0.ɵɵInjectorDeclaration<CrudModule>;
631
+ }
632
+ export interface ICrudModuleOptionsWithRoutng<T> {
633
+ config: CrudFullConfig<T>;
634
+ socket?: boolean;
635
+ routing: true;
636
+ }
637
+ export interface ICrudModuleOptionsWithoutRoutng<T> {
638
+ config: CrudConfig<T>;
639
+ socket?: boolean;
640
+ routing: false;
641
+ }
642
+ export declare abstract class CrudItemPageBaseComponent<T extends IEntity<string>> extends BaseComponent {
643
+ config: CrudFullConfig<T>;
644
+ facade: CrudFacade<any>;
645
+ static smartType: DynamicComponentType;
646
+ selected: Signal<T>;
647
+ contentTpl: Signal<ViewContainerRef | undefined>;
648
+ formComponents: Signal<readonly FormComponent<any>[]>;
649
+ detailsOptions: import("@angular/core").InputSignal<IDetailsOptions<T> | undefined>;
650
+ mode: import("@angular/core").InputSignal<string | undefined>;
651
+ uniqueProvider: import("@angular/core").InputSignal<((values: Record<keyof T, any>) => Promise<boolean>) | undefined>;
652
+ onPartialChange: import("@angular/core").OutputEmitterRef<Partial<T>>;
653
+ onChange: import("@angular/core").OutputEmitterRef<T>;
654
+ onValidChange: import("@angular/core").OutputEmitterRef<boolean>;
655
+ constructor();
656
+ /**
657
+ * The reactive form of the first rendered `<smart-form>`, or `undefined`
658
+ * until the form factory has built it. `FormComponent.form` is a getter over
659
+ * a signal, so it always reports the group currently rendered; a method is
660
+ * kept here so the page button handlers read that group at call time rather
661
+ * than through a `computed` captured when the form did not exist yet.
662
+ */
663
+ getForm(): SmartFormGroup | undefined;
664
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudItemPageBaseComponent<any>, never>;
665
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CrudItemPageBaseComponent<any>, never, never, {
666
+ "detailsOptions": {
667
+ "alias": "detailsOptions";
668
+ "required": false;
669
+ "isSignal": true;
670
+ };
671
+ "mode": {
672
+ "alias": "mode";
673
+ "required": false;
674
+ "isSignal": true;
675
+ };
676
+ "uniqueProvider": {
677
+ "alias": "uniqueProvider";
678
+ "required": false;
679
+ "isSignal": true;
680
+ };
681
+ }, {
682
+ "onPartialChange": "onPartialChange";
683
+ "onChange": "onChange";
684
+ "onValidChange": "onValidChange";
685
+ }, never, never, true, never>;
686
+ }
687
+ declare namespace standard_component_d_exports$1 {
688
+ export { ItemStandardComponent };
689
+ }
690
+ export declare class ItemStandardComponent<T extends IEntity<string>> extends CrudItemPageBaseComponent<T> {
691
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItemStandardComponent<any>, never>;
692
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItemStandardComponent<any>, "smart-crud-item-standard-page", never, {}, {}, never, never, true, never>;
693
+ }
694
+ declare namespace item_component_d_exports {
695
+ export { ItemComponent };
696
+ }
697
+ declare const ItemComponent_base: new () => import("@smartsoft001/angular").IDynamicComponent<CrudItemPageBaseComponent<any>>;
698
+ export declare class ItemComponent<T extends IEntity<string>> extends ItemComponent_base implements OnInit, OnDestroy {
699
+ private router;
700
+ private activeRoute;
701
+ private facade;
702
+ private service;
703
+ private dynamicComponentLoader;
704
+ private translateService;
705
+ config: CrudFullConfig<T>;
706
+ private location;
707
+ private cd;
708
+ private styleService;
709
+ private elementRef;
710
+ private toastService;
711
+ private pageService;
712
+ private detailsService;
713
+ private _mode;
714
+ pageOptions: WritableSignal<IPageOptions>;
715
+ detailsOptions: WritableSignal<IDetailsOptions<T> | undefined>;
716
+ id: string;
717
+ formValue: T;
718
+ formValid: boolean;
719
+ item: T;
720
+ formPartialValue: Partial<T>;
721
+ uniqueProvider: WritableSignal<((values: Record<keyof T, any>) => Promise<boolean>) | undefined>;
722
+ set mode(val: string);
723
+ get mode(): string;
724
+ selected: Signal<T>;
725
+ standardComponents: Signal<readonly ItemStandardComponent<IEntity<string>>[]>;
726
+ contentTpl: Signal<TemplateRef<any> | undefined>;
727
+ topTpl: Signal<ViewContainerRef | undefined>;
728
+ bottomTpl: Signal<ViewContainerRef | undefined>;
729
+ dynamicContents: Signal<readonly DynamicContentDirective[]>;
730
+ subscription: Subscription;
731
+ constructor();
732
+ refreshProperties(): void;
733
+ ngOnInit(): Promise<void>;
734
+ ngOnDestroy(): void;
735
+ private generateComponents;
736
+ onPartialChange(val: Partial<T>): void;
737
+ onChange(val: T): void;
738
+ onValidChange(val: boolean): void;
739
+ private initPageOptions;
740
+ private getButtons;
741
+ private getTitle;
742
+ private removeParagraph;
743
+ private checkFirstInvalid;
744
+ private getInvalidFields;
745
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItemComponent<any>, never>;
746
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItemComponent<any>, "smart-crud-item-page", never, {}, {}, never, ["*"], true, never>;
747
+ }
748
+ export declare abstract class CrudListPageBaseComponent<T extends IEntity<string>> extends BaseComponent {
749
+ config: CrudFullConfig<T>;
750
+ static smartType: DynamicComponentType;
751
+ contentTpl: import("@angular/core").Signal<ViewContainerRef | undefined>;
752
+ listOptions: import("@angular/core").InputSignal<IListOptions<T> | null | undefined>;
753
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudListPageBaseComponent<any>, never>;
754
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CrudListPageBaseComponent<any>, never, never, {
755
+ "listOptions": {
756
+ "alias": "listOptions";
757
+ "required": false;
758
+ "isSignal": true;
759
+ };
760
+ }, {}, never, never, true, never>;
761
+ }
762
+ declare namespace list_component_d_exports {
763
+ export { ListComponent };
764
+ }
765
+ declare const ListComponent_base: new () => import("@smartsoft001/angular").IDynamicComponent<CrudListPageBaseComponent<any>>;
766
+ export declare class ListComponent<T extends IEntity<string>> extends ListComponent_base implements OnInit, OnDestroy {
767
+ private facade;
768
+ private router;
769
+ private dynamicComponentLoader;
770
+ private injector;
771
+ private cd;
772
+ private menuService;
773
+ private hardwareService;
774
+ private paginationFacade;
775
+ private pageService;
776
+ config: CrudFullConfig<T>;
777
+ private searchService;
778
+ private _cleanMultiSelected$;
779
+ pageOptions: WritableSignal<IPageOptions | null>;
780
+ listOptions: WritableSignal<IListOptions<T> | null>;
781
+ links: Signal<any>;
782
+ filter: Signal<ICrudFilter | undefined>;
783
+ topTpl: Signal<ViewContainerRef | undefined>;
784
+ contentTpl: Signal<TemplateRef<any> | undefined>;
785
+ dynamicContents: Signal<readonly DynamicContentDirective[]>;
786
+ refreshProperties(): void;
787
+ ngOnInit(): Promise<void>;
788
+ private initCloseMenu;
789
+ private clear;
790
+ private getEndButtons;
791
+ private initTopComponent;
792
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent<any>, never>;
793
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent<any>, "smart-crud-list-page", never, {}, {}, never, ["*"], true, never>;
794
+ }
795
+ declare namespace standard_component_d_exports {
796
+ export { ListStandardComponent };
797
+ }
798
+ export declare class ListStandardComponent<T extends IEntity<string>> extends CrudListPageBaseComponent<T> {
799
+ private readonly facade;
800
+ readonly config: CrudFullConfig<T>;
801
+ isSearch: Signal<boolean>;
802
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListStandardComponent<any>, never>;
803
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListStandardComponent<any>, "smart-crud-list-standard-page", never, {}, {}, never, never, true, never>;
804
+ }
805
+ export declare const PAGES: (typeof ItemStandardComponent | typeof ItemComponent | typeof ListStandardComponent | typeof ListComponent)[];
806
+ export declare class CrudFullModule<T extends IEntity<string>> {
807
+ constructor(config: CrudConfig<T>, effects: CrudEffects<any>, store: Store<any>);
808
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudFullModule, never>;
809
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CrudFullModule, never, [typeof ItemComponent, typeof ListComponent, typeof ListStandardComponent, typeof ItemStandardComponent, typeof i15.SharedModule, typeof CrudPipesModule, typeof i7.RouterModule, typeof i17.FormsModule, typeof i18.CommonModule, typeof CrudComponentsModule], [typeof ItemComponent, typeof ListComponent, typeof ListStandardComponent, typeof ItemStandardComponent, typeof CrudComponentsModule]>;
810
+ static ɵinj: i0.ɵɵInjectorDeclaration<CrudFullModule>;
811
+ }
812
+ export declare class CrudListPaginationFactory<T extends IEntity<string>> {
813
+ private readonly facade;
814
+ private readonly injector;
815
+ create(options: {
816
+ mode?: PaginationMode;
817
+ limit: number;
818
+ provider: {
819
+ getLinks(): any;
820
+ getFilter(): ICrudFilter;
821
+ };
822
+ }): Promise<IListPaginationOptions>;
823
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudListPaginationFactory<any>, never>;
824
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
825
+ }
826
+ export declare class PageService<T> {
827
+ private authService;
828
+ private config;
829
+ checkPermissions(): void;
830
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageService<any>, never>;
831
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
832
+ }
833
+ export declare class CrudSearchService {
834
+ private _filterSource;
835
+ private _enabledSource;
836
+ get filter(): Partial<ICrudFilter>;
837
+ get enabled(): boolean;
838
+ enabled$: Observable<boolean>;
839
+ filter$: Observable<Partial<ICrudFilter>>;
840
+ setFilter(val: Partial<ICrudFilter>): void;
841
+ setEnabled(val: boolean): void;
842
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudSearchService, never>;
843
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
844
+ }
845
+ export declare const create: <T extends IEntity<string>>(entity: string, item: T) => Action & {
846
+ item: T;
757
847
  };
758
- declare const createSuccess: <T extends IEntity<string>>(entity: string, item: T) => Action & {
759
- item: T;
848
+ export declare const createSuccess: <T extends IEntity<string>>(entity: string, item: T) => Action & {
849
+ item: T;
760
850
  };
761
- declare const createFailure: <T extends IEntity<string>>(entity: string, item: T, error: any) => Action & {
762
- item: T;
763
- error: any;
851
+ export declare const createFailure: <T extends IEntity<string>>(entity: string, item: T, error: any) => Action & {
852
+ item: T;
853
+ error: any;
764
854
  };
765
- declare const createMany: <T extends IEntity<string>>(entity: string, data: {
855
+ export declare const createMany: <T extends IEntity<string>>(entity: string, data: {
856
+ items: T[];
857
+ options: ICrudCreateManyOptions;
858
+ }) => Action & {
859
+ data: {
766
860
  items: T[];
767
861
  options: ICrudCreateManyOptions;
768
- }) => Action & {
769
- data: {
770
- items: T[];
771
- options: ICrudCreateManyOptions;
772
- };
862
+ };
773
863
  };
774
- declare const createManySuccess: <T extends IEntity<string>>(entity: string, data: {
864
+ export declare const createManySuccess: <T extends IEntity<string>>(entity: string, data: {
865
+ items: T[];
866
+ options: ICrudCreateManyOptions;
867
+ }) => Action & {
868
+ data: {
775
869
  items: T[];
776
870
  options: ICrudCreateManyOptions;
777
- }) => Action & {
778
- data: {
779
- items: T[];
780
- options: ICrudCreateManyOptions;
781
- };
871
+ };
782
872
  };
783
- declare const createManyFailure: <T extends IEntity<string>>(entity: string, data: {
873
+ export declare const createManyFailure: <T extends IEntity<string>>(entity: string, data: {
874
+ items: T[];
875
+ options: ICrudCreateManyOptions;
876
+ }, error: any) => Action & {
877
+ data: {
784
878
  items: T[];
785
879
  options: ICrudCreateManyOptions;
786
- }, error: any) => Action & {
787
- data: {
788
- items: T[];
789
- options: ICrudCreateManyOptions;
790
- };
791
- error: any;
880
+ };
881
+ error: any;
792
882
  };
793
- declare const read: (entity: string, filter?: ICrudFilter) => Action & {
794
- filter?: ICrudFilter;
883
+ export declare const read: (entity: string, filter?: ICrudFilter) => Action & {
884
+ filter?: ICrudFilter;
795
885
  };
796
- declare const readSuccess: <T extends IEntity<string>, F>(entity: string, filter: F, result: {
886
+ export declare const readSuccess: <T extends IEntity<string>, F>(entity: string, filter: F, result: {
887
+ data: T[];
888
+ totalCount: number;
889
+ links: any;
890
+ }) => Action & {
891
+ result: {
797
892
  data: T[];
798
893
  totalCount: number;
799
894
  links: any;
800
- }) => Action & {
801
- result: {
802
- data: T[];
803
- totalCount: number;
804
- links: any;
805
- };
806
- filter: F;
895
+ };
896
+ filter: F;
807
897
  };
808
- declare const readFailure: <F>(entity: string, filter: F, error: any) => Action & {
809
- filter: F;
810
- error: any;
898
+ export declare const readFailure: <F>(entity: string, filter: F, error: any) => Action & {
899
+ filter: F;
900
+ error: any;
811
901
  };
812
- declare const clear: (entity: string) => Action;
813
- declare const exportList: (entity: string, filter: (ICrudFilter | null) | undefined, format: any) => Action & {
814
- filter: ICrudFilter;
815
- format: any;
902
+ export declare const clear: (entity: string) => Action;
903
+ export declare const exportList: (entity: string, filter: (ICrudFilter | null) | undefined, format: any) => Action & {
904
+ filter: ICrudFilter;
905
+ format: any;
816
906
  };
817
- declare const exportListSuccess: <T extends IEntity<string>, F>(entity: string, filter: F) => Action & {
818
- filter: F;
907
+ export declare const exportListSuccess: <T extends IEntity<string>, F>(entity: string, filter: F) => Action & {
908
+ filter: F;
819
909
  };
820
- declare const exportListFailure: <F>(entity: string, filter: F, error: any) => Action & {
821
- filter: F;
822
- error: any;
910
+ export declare const exportListFailure: <F>(entity: string, filter: F, error: any) => Action & {
911
+ filter: F;
912
+ error: any;
823
913
  };
824
- declare const select: (entity: string, id: string) => Action & {
825
- id: string;
914
+ export declare const select: (entity: string, id: string) => Action & {
915
+ id: string;
826
916
  };
827
- declare const selectSuccess: <T extends IEntity<string>, F>(entity: string, id: string, item: T) => Action & {
828
- id: string;
829
- item: T;
917
+ export declare const selectSuccess: <T extends IEntity<string>, F>(entity: string, id: string, item: T) => Action & {
918
+ id: string;
919
+ item: T;
830
920
  };
831
- declare const selectFailure: <F>(entity: string, id: string, error: any) => Action & {
832
- id: string;
833
- error: any;
921
+ export declare const selectFailure: <F>(entity: string, id: string, error: any) => Action & {
922
+ id: string;
923
+ error: any;
834
924
  };
835
- declare const unselect: (entity: string) => Action;
836
- declare const multiSelect: <T extends IEntity<string>>(entity: string, items: Array<T>) => Action & {
837
- items: Array<T>;
925
+ export declare const unselect: (entity: string) => Action;
926
+ export declare const multiSelect: <T extends IEntity<string>>(entity: string, items: Array<T>) => Action & {
927
+ items: Array<T>;
838
928
  };
839
- declare const update: <T extends IEntity<string>>(entity: string, item: T) => Action & {
840
- item: T;
929
+ export declare const update: <T extends IEntity<string>>(entity: string, item: T) => Action & {
930
+ item: T;
841
931
  };
842
- declare const updateSuccess: <T extends IEntity<string>>(entity: string, item: T) => Action & {
843
- item: T;
932
+ export declare const updateSuccess: <T extends IEntity<string>>(entity: string, item: T) => Action & {
933
+ item: T;
844
934
  };
845
- declare const updateFailure: <T extends IEntity<string>>(entity: string, item: T, error: any) => Action & {
846
- item: T;
847
- error: any;
935
+ export declare const updateFailure: <T extends IEntity<string>>(entity: string, item: T, error: any) => Action & {
936
+ item: T;
937
+ error: any;
848
938
  };
849
- declare const updatePartial: <T extends IEntity<string>>(entity: string, item: Partial<T> & {
850
- id: string;
939
+ export declare const updatePartial: <T extends IEntity<string>>(entity: string, item: Partial<T> & {
940
+ id: string;
851
941
  }) => Action & {
852
- item: Partial<T> & {
853
- id: string;
854
- };
855
- };
856
- declare const updatePartialSuccess: <T extends IEntity<string>>(entity: string, item: Partial<T> & {
942
+ item: Partial<T> & {
857
943
  id: string;
858
- }) => Action & {
859
- item: Partial<T> & {
860
- id: string;
861
- };
944
+ };
862
945
  };
863
- declare const updatePartialFailure: <T extends IEntity<string>>(entity: string, item: Partial<T> & {
946
+ export declare const updatePartialSuccess: <T extends IEntity<string>>(entity: string, item: Partial<T> & {
947
+ id: string;
948
+ }) => Action & {
949
+ item: Partial<T> & {
864
950
  id: string;
865
- }, error: any) => Action & {
866
- item: Partial<T> & {
867
- id: string;
868
- };
869
- error: any;
951
+ };
870
952
  };
871
- declare const updatePartialMany: <T extends IEntity<string>>(entity: string, items: Partial<T> & {
953
+ export declare const updatePartialFailure: <T extends IEntity<string>>(entity: string, item: Partial<T> & {
954
+ id: string;
955
+ }, error: any) => Action & {
956
+ item: Partial<T> & {
872
957
  id: string;
873
- }[]) => Action & {
874
- items: Partial<T> & {
875
- id: string;
876
- }[];
958
+ };
959
+ error: any;
877
960
  };
878
- declare const updatePartialManySuccess: <T extends IEntity<string>>(entity: string, items: Partial<T> & {
879
- id: string;
961
+ export declare const updatePartialMany: <T extends IEntity<string>>(entity: string, items: Partial<T> & {
962
+ id: string;
880
963
  }[]) => Action & {
881
- items: Partial<T> & {
882
- id: string;
883
- }[];
884
- };
885
- declare const updatePartialManyFailure: <T extends IEntity<string>>(entity: string, items: Partial<T> & {
964
+ items: Partial<T> & {
886
965
  id: string;
887
- }[], error: any) => Action & {
888
- items: Partial<T> & {
889
- id: string;
890
- }[];
891
- error: any;
966
+ }[];
892
967
  };
893
- declare const deleteItem: (entity: string, id: string) => Action & {
968
+ export declare const updatePartialManySuccess: <T extends IEntity<string>>(entity: string, items: Partial<T> & {
969
+ id: string;
970
+ }[]) => Action & {
971
+ items: Partial<T> & {
894
972
  id: string;
973
+ }[];
895
974
  };
896
- declare const deleteSuccess: (entity: string, id: string) => Action & {
975
+ export declare const updatePartialManyFailure: <T extends IEntity<string>>(entity: string, items: Partial<T> & {
976
+ id: string;
977
+ }[], error: any) => Action & {
978
+ items: Partial<T> & {
897
979
  id: string;
980
+ }[];
981
+ error: any;
898
982
  };
899
- declare const deleteFailure: <F>(entity: string, id: string, error: any) => Action & {
900
- id: string;
901
- error: any;
983
+ export declare const deleteItem: (entity: string, id: string) => Action & {
984
+ id: string;
985
+ };
986
+ export declare const deleteSuccess: (entity: string, id: string) => Action & {
987
+ id: string;
902
988
  };
903
-
904
- interface State<T extends IEntity<string>> {
905
- selected?: T;
906
- multiSelected?: Array<T>;
907
- list?: T[];
908
- totalCount?: number;
909
- filter?: ICrudFilter;
910
- links?: any;
911
- loaded: boolean;
912
- error?: string | null;
913
- }
914
- declare const initialState: State<any>;
915
- declare function getReducer(entity: string): (state: any, action: Action) => State<any> | {
916
- loaded: boolean;
917
- error: any;
918
- selected?: any;
919
- multiSelected?: any[] | undefined;
920
- list?: any[] | undefined;
921
- totalCount?: number;
922
- filter?: ICrudFilter;
923
- links?: any;
989
+ export declare const deleteFailure: <F>(entity: string, id: string, error: any) => Action & {
990
+ id: string;
991
+ error: any;
992
+ };
993
+ export interface State<T extends IEntity<string>> {
994
+ selected?: T;
995
+ multiSelected?: Array<T>;
996
+ list?: T[];
997
+ totalCount?: number;
998
+ filter?: ICrudFilter;
999
+ links?: any;
1000
+ loaded: boolean;
1001
+ error?: string | null;
1002
+ }
1003
+ export declare const initialState: State<any>;
1004
+ export declare function getReducer(entity: string): (state: any, action: Action) => State<any> | {
1005
+ loaded: boolean;
1006
+ error: any;
1007
+ selected?: any;
1008
+ multiSelected?: any[] | undefined;
1009
+ list?: any[] | undefined;
1010
+ totalCount?: number;
1011
+ filter?: ICrudFilter;
1012
+ links?: any;
924
1013
  } | {
925
- loaded: boolean;
926
- filter: any;
927
- error: null;
928
- totalCount: null;
929
- links: null;
930
- selected?: any;
931
- multiSelected?: any[] | undefined;
932
- list?: any[] | undefined;
1014
+ loaded: boolean;
1015
+ filter: any;
1016
+ error: null;
1017
+ totalCount: null;
1018
+ links: null;
1019
+ selected?: any;
1020
+ multiSelected?: any[] | undefined;
1021
+ list?: any[] | undefined;
933
1022
  } | {
934
- loaded: boolean;
935
- list: any[];
936
- totalCount: any;
937
- links: any;
938
- error: null;
939
- selected?: any;
940
- multiSelected?: any[] | undefined;
941
- filter?: ICrudFilter;
1023
+ loaded: boolean;
1024
+ list: any[];
1025
+ totalCount: any;
1026
+ links: any;
1027
+ error: null;
1028
+ selected?: any;
1029
+ multiSelected?: any[] | undefined;
1030
+ filter?: ICrudFilter;
942
1031
  };
943
-
944
- declare const getCrudState: (entity: string) => _ngrx_store.MemoizedSelector<object, any, _ngrx_store.DefaultProjectorFn<any>>;
945
- declare const getCrudSelected: (entity: string) => _ngrx_store.MemoizedSelector<object, any, (s1: any) => any>;
946
- declare const getCrudMultiSelected: (entity: string) => _ngrx_store.MemoizedSelector<object, any, (s1: any) => any>;
947
- declare const getCrudList: (entity: string) => _ngrx_store.MemoizedSelector<object, any, (s1: any) => any>;
948
- declare const getCrudTotalCount: (entity: string) => _ngrx_store.MemoizedSelector<object, any, (s1: any) => any>;
949
- declare const getCrudLinks: (entity: string) => _ngrx_store.MemoizedSelector<object, any, (s1: any) => any>;
950
- declare const getCrudLoaded: (entity: string) => _ngrx_store.MemoizedSelector<object, any, (s1: any) => any>;
951
- declare const getCrudFilter: (entity: string) => _ngrx_store.MemoizedSelector<object, any, (s1: any) => any>;
952
- declare const getCrudError: (entity: string) => _ngrx_store.MemoizedSelector<object, any, (s1: any) => any>;
953
-
1032
+ export declare const getCrudState: (entity: string) => import("@ngrx/store").MemoizedSelector<object, any, import("@ngrx/store").DefaultProjectorFn<any>>;
1033
+ export declare const getCrudSelected: (entity: string) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
1034
+ export declare const getCrudMultiSelected: (entity: string) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
1035
+ export declare const getCrudList: (entity: string) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
1036
+ export declare const getCrudTotalCount: (entity: string) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
1037
+ export declare const getCrudLinks: (entity: string) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
1038
+ export declare const getCrudLoaded: (entity: string) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
1039
+ export declare const getCrudFilter: (entity: string) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
1040
+ export declare const getCrudError: (entity: string) => import("@ngrx/store").MemoizedSelector<object, any, (s1: any) => any>;
954
1041
  /**
955
1042
  * @deprecated - please, use IModelPossibilitiesProvider from @smartsoft001/angular
956
1043
  */
957
- declare abstract class ICrudModelPossibilitiesProvider {
958
- abstract get<T>(type: any): {
959
- [key: string]: Observable<{
960
- id: any;
961
- text: string;
962
- }[]>;
963
- };
1044
+ export declare abstract class ICrudModelPossibilitiesProvider {
1045
+ abstract get<T>(type: any): {
1046
+ [key: string]: Observable<{
1047
+ id: any;
1048
+ text: string;
1049
+ }[]>;
1050
+ };
964
1051
  }
965
1052
  /**
966
1053
  * @deprecated - please, use MODEL_POSSIBILITIES_PROVIDER from @smartsoft001/angular
967
1054
  */
968
- declare const CRUD_MODEL_POSSIBILITIES_PROVIDER: InjectionToken<ICrudModelPossibilitiesProvider>;
969
-
970
- declare class CrudModelLabelProvider extends IModelLabelProvider {
971
- private translateService;
972
- private parent;
973
- get(options: IModelLabelOptions): Signal<string>;
974
- static ɵfac: i0.ɵɵFactoryDeclaration<CrudModelLabelProvider, never>;
975
- static ɵprov: i0.ɵɵInjectableDeclaration<CrudModelLabelProvider>;
976
- }
977
-
978
- export { CRUD_MODEL_POSSIBILITIES_PROVIDER, CrudComponentsModule, CrudConfig, CrudCoreModule, CrudEffects, CrudFacade, CrudFullConfig, CrudFullModule, CrudItemPageBaseComponent, CrudListPageBaseComponent, CrudListPaginationFactory, CrudModelLabelProvider, CrudModule, CrudPipesModule, CrudSearchService, CrudService, ExportBaseComponent, ExportComponent, FilterCheckComponent, FilterComponent, FilterDateComponent, FilterDateTimeComponent, FilterDateWithEditComponent, FilterFlagComponent, FilterIntComponent, FilterRadioComponent, FilterTextComponent, FiltersBaseComponent, FiltersComponent, FiltersConfigComponent, FormOptionsPipe, GroupBaseComponent, GroupComponent, ICrudModelPossibilitiesProvider, ItemComponent, ItemStandardComponent, ListComponent, ListStandardComponent, MultiselectBaseComponent, MultiselectComponent, PAGES, PageService, clear, create, createFailure, createMany, createManyFailure, createManySuccess, createSuccess, deleteFailure, deleteItem, deleteSuccess, exportList, exportListFailure, exportListSuccess, getCrudError, getCrudFilter, getCrudLinks, getCrudList, getCrudLoaded, getCrudMultiSelected, getCrudSelected, getCrudState, getCrudTotalCount, getReducer, initialState, multiSelect, read, readFailure, readSuccess, select, selectFailure, selectSuccess, unselect, update, updateFailure, updatePartial, updatePartialFailure, updatePartialMany, updatePartialManyFailure, updatePartialManySuccess, updatePartialSuccess, updateSuccess };
979
- export type { CrudCreateManyMode, ICrudCreateManyOptions, ICrudFilter, ICrudFilterQueryItem, ICrudListGroup, ICrudModuleOptionsWithRoutng, ICrudModuleOptionsWithoutRoutng, State };
1055
+ export declare const CRUD_MODEL_POSSIBILITIES_PROVIDER: InjectionToken<ICrudModelPossibilitiesProvider>;
1056
+ export declare class CrudModelLabelProvider extends IModelLabelProvider {
1057
+ private translateService;
1058
+ private parent;
1059
+ get(options: IModelLabelOptions): Signal<string>;
1060
+ static ɵfac: i0.ɵɵFactoryDeclaration<CrudModelLabelProvider, never>;
1061
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1062
+ }