@smartsoft001/angular 2.88.0 → 2.90.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.
package/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import * as rxjs from 'rxjs';
2
- import { MonoTypeOperatorFunction, Subject, Subscription, Observable } from 'rxjs';
3
1
  import * as i0 from '@angular/core';
4
- import { ModelSignal, OnDestroy, AfterContentInit, ChangeDetectorRef, ElementRef, Signal, InputSignal, ViewContainerRef, ComponentRef, WritableSignal, TemplateRef, Type, InjectionToken, OnInit, Renderer2, AfterViewInit, OutputEmitterRef, OnChanges, SimpleChange, PipeTransform, ComponentFactory, NgModuleRef, Injector, NgModule } from '@angular/core';
2
+ import { Type, Signal, InjectionToken, WritableSignal, PipeTransform, ComponentFactory, NgModuleRef, ElementRef, ViewContainerRef, Injector, ModelSignal, OnDestroy, AfterContentInit, ChangeDetectorRef, InputSignal, ComponentRef, TemplateRef, OnInit, Renderer2, AfterViewInit, OutputEmitterRef, OnChanges, SimpleChange, NgModule } from '@angular/core';
5
3
  import * as i2$1 from '@angular/forms';
6
- import { ValidatorFn, AsyncValidatorFn, UntypedFormControl, UntypedFormArray, UntypedFormGroup, ControlValueAccessor, AbstractControl } from '@angular/forms';
4
+ import { ValidatorFn, AsyncValidatorFn, UntypedFormControl, UntypedFormArray, AbstractControl, UntypedFormGroup, ControlValueAccessor } from '@angular/forms';
5
+ import * as rxjs from 'rxjs';
6
+ import { Observable, MonoTypeOperatorFunction, Subject, Subscription } from 'rxjs';
7
7
  import { IEntity, IAddress, IDateRange } from '@smartsoft001/domain-core';
8
8
  import * as _smartsoft001_models from '@smartsoft001/models';
9
9
  import { IFieldOptions, IModelOptions, FieldTypeDef } from '@smartsoft001/models';
@@ -14,6 +14,7 @@ import { TranslateService } from '@ngx-translate/core';
14
14
  import * as i2 from 'ngx-cookie';
15
15
  import { Store, ActionReducer, Selector } from '@ngrx/store';
16
16
  import { Action } from '@ngrx/store/src/models';
17
+ import { SafeHtml } from '@angular/platform-browser';
17
18
  import * as _angular_router from '@angular/router';
18
19
  import { Router } from '@angular/router';
19
20
  import { Editor, Toolbar } from 'ngx-editor';
@@ -21,147 +22,17 @@ import * as i9 from '@angular/cdk/drag-drop';
21
22
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
22
23
  import * as i10 from '@angular/cdk/table';
23
24
  import { CdkTableDataSourceInput } from '@angular/cdk/table';
24
- import { SafeHtml } from '@angular/platform-browser';
25
25
  import * as i11 from 'ng-dynamic-component';
26
26
  import * as i1$1 from '@angular/common';
27
27
  import * as i7 from '@angular/common/http';
28
28
  import * as i8 from 'ng-lazyload-image';
29
29
  import * as i2$2 from '@ngrx/effects';
30
30
 
31
- declare class AccordionComponent {
32
- show: ModelSignal<boolean>;
33
- update(): void;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "smart-accordion", never, { "show": { "alias": "show"; "required": false; "isSignal": true; }; }, { "show": "showChange"; }, never, ["smart-accordion-header", "smart-accordion-body"], true, never>;
36
- }
37
-
38
- declare class AccordionBodyComponent {
39
- static ɵfac: i0.ɵɵFactoryDeclaration<AccordionBodyComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<AccordionBodyComponent, "smart-accordion-body", never, {}, {}, never, ["*"], true, never>;
41
- }
42
-
43
- declare class AccordionHeaderComponent {
44
- static ɵfac: i0.ɵɵFactoryDeclaration<AccordionHeaderComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<AccordionHeaderComponent, "smart-accordion-header", never, {}, {}, never, ["*"], true, never>;
46
- }
47
-
48
- declare abstract class AppBaseComponent implements OnDestroy, AfterContentInit {
49
- protected router: Router;
50
- protected cd: ChangeDetectorRef;
51
- protected elementRef: ElementRef<any>;
52
- protected styleService: StyleService;
53
- protected menuService: MenuService;
54
- protected authService: AuthService;
55
- protected appService: AppService;
56
- protected readonly platformId: Object;
57
- protected document: Document;
58
- private readonly injector;
59
- private _subscriptions;
60
- selectedPath: string;
61
- showMenu: Signal<boolean>;
62
- menuItems: Signal<IMenuItem[]>;
63
- logged: Signal<boolean>;
64
- username: Signal<string>;
65
- loadingPage: Signal<boolean>;
66
- logo: string | undefined;
67
- routerEvents: Signal<_angular_router.Event | undefined>;
68
- options: InputSignal<IAppOptions>;
69
- endMenuContainer: Signal<ViewContainerRef | undefined>;
70
- constructor();
71
- logout(): void;
72
- ngAfterContentInit(): Promise<void>;
73
- ngOnDestroy(): void;
74
- private initMenu;
75
- private initSelectedPath;
76
- private initLoader;
77
- private refreshStyles;
78
- private initPermissionClasses;
79
- static ɵfac: i0.ɵɵFactoryDeclaration<AppBaseComponent, never>;
80
- static ɵdir: i0.ɵɵDirectiveDeclaration<AppBaseComponent, never, never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
81
- }
82
-
83
- declare class DynamicContentDirective {
84
- container: ViewContainerRef;
85
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicContentDirective, never>;
86
- static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicContentDirective, ".dynamic-content", never, {}, {}, never, never, true, never>;
87
- }
88
-
89
- declare class DetailsDirective {
90
- private modalService;
91
- private hardwareService;
92
- options: i0.InputSignal<{
93
- component: any;
94
- params: any;
95
- mode?: "bottom" | "default";
96
- }>;
97
- smartDetailsShowed: i0.OutputEmitterRef<void>;
98
- smartDetailsDismissed: i0.OutputEmitterRef<void>;
99
- click(): Promise<void>;
100
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailsDirective, never>;
101
- static ɵdir: i0.ɵɵDirectiveDeclaration<DetailsDirective, "[smartDetails]", never, { "options": { "alias": "smartDetails"; "required": true; "isSignal": true; }; }, { "smartDetailsShowed": "smartDetailsShowed"; "smartDetailsDismissed": "smartDetailsDismissed"; }, never, never, true, never>;
102
- }
103
-
104
- declare class SharedServicesModule {
105
- static ɵfac: i0.ɵɵFactoryDeclaration<SharedServicesModule, never>;
106
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedServicesModule, never, [typeof i1.TranslateModule, typeof i2.CookieModule], never>;
107
- static ɵinj: i0.ɵɵInjectorDeclaration<SharedServicesModule>;
108
- }
109
-
110
- declare class SharedDirectivesModule {
111
- static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectivesModule, never>;
112
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, never, [typeof SharedServicesModule, typeof DynamicContentDirective], [typeof DynamicContentDirective]>;
113
- static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectivesModule>;
114
- }
115
-
116
- declare abstract class BaseComponent implements OnDestroy {
117
- get takeUntilDestroy(): MonoTypeOperatorFunction<any>;
118
- destroy$: Subject<boolean>;
119
- ngOnDestroy(): void;
120
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
121
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent, never, never, {}, {}, never, never, true, never>;
122
- }
123
- interface IDynamicComponent<T> extends BaseComponent {
124
- baseInstance: T;
125
- baseComponentRef: ComponentRef<T>;
126
- template: WritableSignal<'custom' | 'default'>;
127
- contentTpl: Signal<TemplateRef<any> | ViewContainerRef | undefined>;
128
- dynamicContents: Signal<readonly DynamicContentDirective[]>;
129
- refreshProperties(): void;
130
- refreshDynamicInstance(): void;
131
- }
132
- declare function CreateDynamicComponent<T extends {
133
- contentTpl: Signal<TemplateRef<any> | ViewContainerRef | undefined>;
134
- } = any>(type: DynamicComponentType): new () => IDynamicComponent<T>;
135
-
136
- declare abstract class ButtonBaseComponent {
137
- static smartType: DynamicComponentType;
138
- mode: WritableSignal<'default' | 'confirm'>;
139
- options: InputSignal<IButtonOptions>;
140
- disabled: InputSignal<boolean>;
141
- contentTpl: i0.Signal<ViewContainerRef | undefined>;
142
- invoke(): void;
143
- confirmInvoke(): void;
144
- confirmCancel(): void;
145
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonBaseComponent, never>;
146
- static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonBaseComponent, never, never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
147
- }
148
-
149
- declare const ButtonComponent_base: new () => IDynamicComponent<ButtonBaseComponent>;
150
- declare class ButtonComponent extends ButtonComponent_base {
151
- options: i0.InputSignal<IButtonOptions>;
152
- disabled: i0.InputSignal<boolean>;
153
- contentTpl: i0.Signal<ViewContainerRef | undefined>;
154
- dynamicContents: i0.Signal<readonly DynamicContentDirective[]>;
155
- constructor();
156
- refreshProperties(): void;
157
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
158
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "smart-button", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
159
- }
160
-
161
- declare class ButtonStandardComponent extends ButtonBaseComponent {
162
- static ɵfac: i0.ɵɵFactoryDeclaration<ButtonStandardComponent, never>;
163
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonStandardComponent, "smart-button-standard", never, {}, {}, never, ["*"], true, never>;
164
- }
31
+ /**
32
+ * Forward declaration for InputBaseComponent to break circular dependency.
33
+ * This is a placeholder type that will be properly typed when imported from components.
34
+ */
35
+ type InputBaseComponentType<T = any> = Type<any>;
165
36
 
166
37
  interface IFormProvider {
167
38
  submit(): void;
@@ -257,1429 +128,1625 @@ interface IModelValidators {
257
128
  }
258
129
  declare const MODEL_VALIDATORS_PROVIDER: InjectionToken<IModelValidatorsProvider>;
259
130
 
260
- declare abstract class InputBaseComponent<T> extends BaseComponent {
261
- protected cd: ChangeDetectorRef;
262
- internalOptions: InputOptions<T>;
263
- control: UntypedFormControl | UntypedFormArray | UntypedFormGroup;
264
- required: boolean;
265
- possibilities: WritableSignal<Array<{
266
- id: any;
267
- text: string;
268
- checked: boolean;
269
- }> | null>;
270
- fieldOptions: i0.InputSignal<IFieldOptions | undefined>;
271
- options: i0.InputSignal<InputOptions<T> | undefined>;
272
- constructor();
273
- protected afterSetOptionsHandler(): void;
274
- private setRequired;
275
- get formControl(): UntypedFormControl;
276
- get formControlArray(): UntypedFormArray;
277
- get formControlGroup(): UntypedFormGroup;
278
- static ɵfac: i0.ɵɵFactoryDeclaration<InputBaseComponent<any>, never>;
279
- static ɵdir: i0.ɵɵDirectiveDeclaration<InputBaseComponent<any>, never, never, { "fieldOptions": { "alias": "fieldOptions"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
280
- }
281
-
282
- declare class InputAddressComponent<T> extends InputBaseComponent<T> {
283
- static ɵfac: i0.ɵɵFactoryDeclaration<InputAddressComponent<any>, never>;
284
- static ɵcmp: i0.ɵɵComponentDeclaration<InputAddressComponent<any>, "smart-input-address", never, {}, {}, never, never, true, never>;
285
- }
131
+ type IStyle = Record<string, string | undefined>;
132
+ type StyleType = 'color-primary' | 'color-primary-rgb' | 'color-primary-contrast' | 'color-primary-contrast-rgb' | 'color-primary-shade' | 'color-primary-tint' | 'color-secondary' | 'color-secondary-rgb' | 'color-secondary-contrast' | 'color-secondary-contrast-rgb' | 'color-secondary-shade' | 'color-secondary-tint' | 'color-tertiary' | 'color-tertiary-rgb' | 'color-tertiary-contrast' | 'color-tertiary-contrast-rgb' | 'color-tertiary-shade' | 'color-tertiary-tint' | 'color-success' | 'color-success-rgb' | 'color-success-contrast' | 'color-success-contrast-rgb' | 'color-success-shade' | 'color-success-tint' | 'color-warning' | 'color-warning-rgb' | 'color-warning-contrast' | 'color-warning-contrast-rgb' | 'color-warning-shade' | 'color-warning-tint' | 'color-danger' | 'color-danger-rgb' | 'color-danger-contrast' | 'color-danger-contrast-rgb' | 'color-danger-shade' | 'color-danger-tint' | 'color-dark' | 'color-dark-rgb' | 'color-dark-contrast' | 'color-dark-contrast-rgb' | 'color-dark-shade' | 'color-dark-tint' | 'color-medium' | 'color-medium-rgb' | 'color-medium-contrast' | 'color-medium-contrast-rgb' | 'color-medium-shade' | 'color-medium-tint' | 'color-light' | 'color-light-rgb' | 'color-light-contrast' | 'color-light-contrast-rgb' | 'color-light-shade' | 'color-light-tint' | 'font' | 'font-weight' | 'font-style' | 'ios-font' | 'ios-font-weight' | 'ios-font-style' | 'md-font' | 'md-font-weight' | 'md-font-style' | 'button-height' | 'button-min-width' | 'button-padding-right' | 'button-padding-left' | 'button-padding-top' | 'button-padding-bottom' | 'button-icon-size' | 'phone-breakpoint' | 'tablet-breakpoint';
286
133
 
287
- declare class InputColorComponent<T> extends InputBaseComponent<T> {
288
- color: string;
289
- protected afterSetOptionsHandler(): void;
290
- selectColor(color: string): void;
291
- clear(): void;
292
- static ɵfac: i0.ɵɵFactoryDeclaration<InputColorComponent<any>, never>;
293
- static ɵcmp: i0.ɵɵComponentDeclaration<InputColorComponent<any>, "smart-input-color", never, {}, {}, never, never, true, never>;
134
+ interface IAppOptions {
135
+ provider: IAppProvider;
136
+ logo?: string;
137
+ menu?: {
138
+ showForAnonymous?: boolean;
139
+ items?: IMenuItem[];
140
+ };
141
+ style?: IStyle;
294
142
  }
295
-
296
- declare class InputCurrencyComponent<T> extends InputBaseComponent<T> {
297
- static ɵfac: i0.ɵɵFactoryDeclaration<InputCurrencyComponent<any>, never>;
298
- static ɵcmp: i0.ɵɵComponentDeclaration<InputCurrencyComponent<any>, "smart-input-currency", never, {}, {}, never, never, true, never>;
143
+ interface ICardOptions {
144
+ title?: string;
145
+ buttons?: Array<IIconButtonOptions>;
299
146
  }
300
-
301
- declare class InputDateWithEditComponent<T> extends InputBaseComponent<T> implements OnDestroy {
302
- private _subscriptions;
303
- ngOnDestroy(): void;
304
- static ɵfac: i0.ɵɵFactoryDeclaration<InputDateWithEditComponent<any>, never>;
305
- static ɵcmp: i0.ɵɵComponentDeclaration<InputDateWithEditComponent<any>, "smart-input-date-with-edit", never, {}, {}, never, never, true, never>;
147
+ interface IIconButtonOptions {
148
+ icon: string;
149
+ text?: string;
150
+ handler?: () => void;
151
+ component?: any;
152
+ type?: 'default' | 'popover';
153
+ disabled$?: Observable<boolean>;
154
+ number?: number;
306
155
  }
307
-
308
- declare class InputDateComponent<T> extends InputBaseComponent<T> implements OnInit {
309
- private hardwareService;
310
- get isMobile(): boolean;
311
- ngOnInit(): void;
312
- static ɵfac: i0.ɵɵFactoryDeclaration<InputDateComponent<any>, never>;
313
- static ɵcmp: i0.ɵɵComponentDeclaration<InputDateComponent<any>, "smart-input-date", never, {}, {}, never, never, true, never>;
156
+ type DynamicComponentType = 'form' | 'page' | 'button' | 'details' | 'list' | 'crud-list-page' | 'crud-item-page';
157
+ interface IDynamicComponentData {
158
+ key: DynamicComponentType;
159
+ component: Type<any>;
160
+ data?: any;
314
161
  }
315
-
316
- declare class InputEmailComponent<T> extends InputBaseComponent<T> {
317
- static ɵfac: i0.ɵɵFactoryDeclaration<InputEmailComponent<any>, never>;
318
- static ɵcmp: i0.ɵɵComponentDeclaration<InputEmailComponent<any>, "smart-input-email", never, {}, {}, never, never, true, never>;
162
+ interface IFormOptions<T> {
163
+ model: T;
164
+ show: boolean;
165
+ treeLevel?: number;
166
+ control?: AbstractControl;
167
+ mode?: 'create' | 'update' | string;
168
+ loading$?: Observable<boolean>;
169
+ uniqueProvider?: (values: Record<keyof T, any>) => Promise<boolean>;
170
+ possibilities?: {
171
+ [key: string]: WritableSignal<{
172
+ id: any;
173
+ text: string;
174
+ checked: boolean;
175
+ }[]>;
176
+ };
177
+ inputComponents?: {
178
+ [key: string]: InputBaseComponentType<T>;
179
+ };
180
+ fieldOptions?: IFieldOptions;
181
+ modelOptions?: IModelOptions;
319
182
  }
320
-
321
- declare class InputEnumComponent<T> extends InputBaseComponent<T> {
322
- value: Array<string>;
323
- protected afterSetOptionsHandler(): void;
324
- checked(item: string): boolean;
325
- change(item: string): void;
326
- static ɵfac: i0.ɵɵFactoryDeclaration<InputEnumComponent<any>, never>;
327
- static ɵcmp: i0.ɵɵComponentDeclaration<InputEnumComponent<any>, "smart-input-enum", never, {}, {}, never, never, true, never>;
183
+ type InputOptions<T> = IInputOptions & IInputFromFieldOptions<T>;
184
+ interface IInputOptions {
185
+ treeLevel: number;
186
+ control: UntypedFormControl | UntypedFormArray;
187
+ possibilities?: WritableSignal<{
188
+ id: any;
189
+ text: string;
190
+ checked: boolean;
191
+ }[]>;
192
+ component?: InputBaseComponentType<any>;
328
193
  }
329
-
330
- declare class InputErrorComponent {
331
- errors: i0.InputSignal<any>;
332
- static ɵfac: i0.ɵɵFactoryDeclaration<InputErrorComponent, never>;
333
- static ɵcmp: i0.ɵɵComponentDeclaration<InputErrorComponent, "smart-input-error", never, { "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
194
+ interface IInputFromFieldOptions<T> {
195
+ model: T;
196
+ fieldKey: string;
197
+ mode?: 'create' | 'update' | string;
334
198
  }
335
-
336
- /**
337
- * @example
338
- *
339
- * set accepts (possibilities property):
340
- * - @Field({
341
- create: {
342
- ...modifyMetdata,
343
- required: false
344
- },
345
- update: {
346
- ...modifyMetdata,
347
- required: false,
348
- multi: true
349
- },
350
- type: FieldType.image,
351
- details: true,
352
- possibilities: '.jpg',
353
- list: { order: 1 }
354
- })
355
- */
356
- declare class InputFileComponent<T> extends InputBaseComponent<T> {
357
- addButtonOptions: {
358
- click: () => void;
199
+ interface IDetailsComponentFactories<T> {
200
+ top?: ComponentFactory<any>;
201
+ bottom?: ComponentFactory<any>;
202
+ }
203
+ interface IDetailsOptions<T extends IEntity<string>> {
204
+ title?: string;
205
+ cellPipe?: ICellPipe<T>;
206
+ type: any;
207
+ item: Signal<T>;
208
+ loading?: Signal<boolean>;
209
+ itemHandler?: ((id: string) => void) | null;
210
+ removeHandler?: ((item: T) => void) | null;
211
+ componentFactories?: IDetailsComponentFactories<T>;
212
+ }
213
+ interface IMenuItem {
214
+ mode?: 'divider' | 'default';
215
+ route?: string;
216
+ click?: (arg0: IMenuItem) => void;
217
+ caption?: string;
218
+ component?: any;
219
+ icon?: string;
220
+ infos?: Array<{
221
+ text: string;
222
+ }>;
223
+ }
224
+ interface IButtonOptions {
225
+ type?: 'submit' | 'button';
226
+ expand?: 'block' | 'full' | undefined;
227
+ confirm?: boolean;
228
+ color?: 'primary' | 'light' | string;
229
+ click: () => void;
230
+ loading?: Signal<boolean>;
231
+ }
232
+ interface IDetailOptions<T> {
233
+ key: string;
234
+ item?: Signal<T>;
235
+ options: IFieldOptions;
236
+ cellPipe?: ICellPipe<T>;
237
+ loading?: Signal<boolean>;
238
+ }
239
+ interface ICellPipe<T> extends PipeTransform {
240
+ transform(value: T, columnName: string, translate?: (val: string) => string): string;
241
+ }
242
+ interface IPageOptions {
243
+ title: string;
244
+ hideHeader?: boolean;
245
+ hideMenuButton?: boolean;
246
+ showBackButton?: boolean;
247
+ endButtons?: Array<IIconButtonOptions>;
248
+ search?: {
249
+ text: Signal<string>;
250
+ set: (txt: string) => void;
359
251
  };
360
- inputElementRef: i0.Signal<ElementRef<any> | undefined>;
361
- changeListener($event: any): void;
362
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFileComponent<any>, never>;
363
- static ɵcmp: i0.ɵɵComponentDeclaration<InputFileComponent<any>, "smart-input-file", never, {}, {}, never, never, true, never>;
364
252
  }
365
-
366
- declare class InputFlagComponent<T> extends InputBaseComponent<T> {
367
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFlagComponent<any>, never>;
368
- static ɵcmp: i0.ɵɵComponentDeclaration<InputFlagComponent<any>, "smart-input-flag", never, {}, {}, never, never, true, never>;
253
+ interface IListProvider<T> {
254
+ getData: (filter: any) => void;
255
+ onChangeMultiSelected?: (list: Array<T>) => void;
256
+ onCleanMultiSelected$?: Observable<void>;
257
+ list: Signal<T[]>;
258
+ loading: Signal<boolean>;
369
259
  }
370
-
371
- declare class InputComponent<T> implements OnInit {
372
- private componentFactoryResolver;
373
- private injector;
374
- status: any;
375
- fieldOptions: IFieldOptions | undefined;
376
- FieldType: typeof _smartsoft001_models.FieldTypeDef;
377
- componentRef: i0.Signal<ViewContainerRef | undefined>;
378
- options: i0.InputSignal<InputOptions<T> | undefined>;
379
- constructor();
380
- oSetValue($event: any): void;
381
- ngOnInit(): Promise<void>;
382
- private initStyles;
383
- private initCustomComponent;
384
- static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent<any>, never>;
385
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent<any>, "smart-input", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
260
+ interface IListPaginationOptions {
261
+ mode?: PaginationMode;
262
+ limit: number;
263
+ loadNextPage: () => Promise<boolean>;
264
+ loadPrevPage: () => Promise<boolean>;
265
+ page: Signal<number>;
266
+ totalPages: Signal<number>;
386
267
  }
387
-
388
- declare class InputIntComponent<T> extends InputBaseComponent<T> {
389
- static ɵfac: i0.ɵɵFactoryDeclaration<InputIntComponent<any>, never>;
390
- static ɵcmp: i0.ɵɵComponentDeclaration<InputIntComponent<any>, "smart-input-int", never, {}, {}, never, never, true, never>;
268
+ declare enum PaginationMode {
269
+ infiniteScroll = "infiniteScroll",
270
+ singlePage = "singlePage"
391
271
  }
392
-
393
- declare class InputLongTextComponent<T> extends InputBaseComponent<T> implements OnInit, OnDestroy {
394
- private translateService;
395
- hardwareService: HardwareService;
396
- editor: Editor;
397
- toolbar: Toolbar;
398
- placeholder: string;
399
- ngOnInit(): void;
400
- ngOnDestroy(): void;
401
- static ɵfac: i0.ɵɵFactoryDeclaration<InputLongTextComponent<any>, never>;
402
- static ɵcmp: i0.ɵɵComponentDeclaration<InputLongTextComponent<any>, "smart-input-long-text", never, {}, {}, never, never, true, never>;
272
+ declare enum ListMode {
273
+ mobile = "mobile",
274
+ desktop = "desktop",
275
+ masonryGrid = "masonryGrid"
403
276
  }
404
-
405
- declare class InputNipComponent<T> extends InputBaseComponent<T> {
406
- afterSetOptionsHandler(): void;
407
- static ɵfac: i0.ɵɵFactoryDeclaration<InputNipComponent<any>, never>;
408
- static ɵcmp: i0.ɵɵComponentDeclaration<InputNipComponent<any>, "smart-input-nip", never, {}, {}, never, never, true, never>;
277
+ interface IItemOptionsForPage {
278
+ routingPrefix: string;
279
+ edit: boolean;
409
280
  }
410
-
411
- declare class InputObjectComponent<T, TChild> extends InputBaseComponent<T> {
412
- formComponent: any;
413
- childOptions: IFormOptions<TChild>;
414
- protected afterSetOptionsHandler(): void;
415
- static ɵfac: i0.ɵɵFactoryDeclaration<InputObjectComponent<any, any>, never>;
416
- static ɵcmp: i0.ɵɵComponentDeclaration<InputObjectComponent<any, any>, "smart-input-object", never, {}, {}, never, never, true, never>;
281
+ interface IItemOptionsForCustom {
282
+ select: (id: string) => void;
283
+ edit: boolean;
284
+ }
285
+ type ItemOptions = IItemOptionsForPage | IItemOptionsForCustom;
286
+ interface IListComponentFactories<T> {
287
+ top?: ComponentFactory<any>;
288
+ }
289
+ interface IDetailsProvider<T> {
290
+ getData: (id: string) => void;
291
+ clearData: () => void;
292
+ item: Signal<T>;
293
+ loading: Signal<boolean>;
294
+ }
295
+ interface IListOptions<T> {
296
+ provider: IListProvider<T>;
297
+ type: any;
298
+ mode?: ListMode;
299
+ pagination?: IListPaginationOptions;
300
+ cellPipe?: ICellPipe<T>;
301
+ componentFactories?: IListComponentFactories<T>;
302
+ sort?: boolean | {
303
+ default?: string;
304
+ defaultDesc?: boolean;
305
+ };
306
+ details?: boolean | {
307
+ provider?: IDetailsProvider<T>;
308
+ componentFactories?: IDetailsComponentFactories<T>;
309
+ component?: Type<any>;
310
+ };
311
+ item?: boolean | {
312
+ options?: ItemOptions;
313
+ };
314
+ remove?: boolean | {
315
+ provider?: IRemoveProvider<T>;
316
+ };
317
+ select?: 'multi';
318
+ }
319
+ interface IRemoveProvider<T> {
320
+ invoke: (id: string) => void;
321
+ check?: (item: T) => boolean;
322
+ }
323
+ interface IListInternalOptions<T> extends IListOptions<T> {
324
+ fields?: Array<{
325
+ key: string;
326
+ options: IFieldOptions;
327
+ }>;
417
328
  }
418
329
 
419
- declare class InputPasswordComponent<T> extends InputBaseComponent<T> {
420
- valid: boolean;
421
- focus: boolean;
422
- afterSetOptionsHandler(): void;
423
- onChangePasswordStrength(valid: boolean): void;
424
- static ɵfac: i0.ɵɵFactoryDeclaration<InputPasswordComponent<any>, never>;
425
- static ɵcmp: i0.ɵɵComponentDeclaration<InputPasswordComponent<any>, "smart-input-password", never, {}, {}, never, never, true, never>;
330
+ declare class AppService {
331
+ private titleService;
332
+ private translate;
333
+ private router;
334
+ private static _endButtonsSource$;
335
+ private static _titleSource$;
336
+ private _baseTitle;
337
+ endButtons$: rxjs.Observable<AppEndButton[]>;
338
+ title$: rxjs.Observable<string>;
339
+ addEndButton(button: AppEndButton): void;
340
+ removeEndButton(buttonOrId: AppEndButton | string): void;
341
+ initTitle(): void;
342
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppService, never>;
343
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppService>;
426
344
  }
345
+ type AppEndButton = IIconButtonOptions & {
346
+ id?: string;
347
+ };
427
348
 
428
- declare abstract class InputPossibilitiesBaseComponent<T> extends InputBaseComponent<T> {
429
- private modelPossibilitiesProvider;
430
- protected afterSetOptionsHandler(): void;
431
- protected getPossibilitiesFromProvider(): WritableSignal<{
432
- id: any;
433
- text: string;
434
- checked: boolean;
435
- }[] | null>;
436
- static ɵfac: i0.ɵɵFactoryDeclaration<InputPossibilitiesBaseComponent<any>, never>;
437
- static ɵdir: i0.ɵɵDirectiveDeclaration<InputPossibilitiesBaseComponent<any>, never, never, {}, {}, never, never, true, never>;
349
+ interface month {
350
+ dates: moment.Moment[];
351
+ number: string;
352
+ monthName: string;
353
+ year: string;
354
+ }
355
+ interface state {
356
+ date: moment.Moment;
357
+ calendar: month[];
358
+ }
359
+ declare class CalendarService {
360
+ state: state;
361
+ constructor();
362
+ setState: (nextState: Partial<state>) => void;
363
+ getCalendar(): month[];
364
+ generatePrevMonths(): void;
365
+ generateNextMonths(): void;
366
+ private initCalendar;
367
+ private previousMonth;
368
+ private filterFutureDates;
369
+ private generateMonth;
370
+ private generateMonthDates;
371
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, never>;
372
+ static ɵprov: i0.ɵɵInjectableDeclaration<CalendarService>;
438
373
  }
439
374
 
440
- declare class InputRadioComponent<T> extends InputPossibilitiesBaseComponent<T> {
441
- protected afterSetOptionsHandler(): void;
442
- static ɵfac: i0.ɵɵFactoryDeclaration<InputRadioComponent<any>, never>;
443
- static ɵcmp: i0.ɵɵComponentDeclaration<InputRadioComponent<any>, "smart-input-radio", never, {}, {}, never, never, true, never>;
375
+ declare class StorageService {
376
+ setItem(key: string, value: any): void;
377
+ getItem(key: string): any;
378
+ removeItem(key: string): void;
379
+ clear(): void;
380
+ static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
381
+ static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
444
382
  }
445
383
 
446
- declare class InputStringsComponent<T> extends InputBaseComponent<T> {
447
- private fb;
448
- list: Array<UntypedFormControl>;
449
- afterSetOptionsHandler(): void;
450
- onItemChange(): void;
451
- private refresh;
452
- private add;
453
- removeItem(item: UntypedFormControl): void;
454
- static ɵfac: i0.ɵɵFactoryDeclaration<InputStringsComponent<any>, never>;
455
- static ɵcmp: i0.ɵɵComponentDeclaration<InputStringsComponent<any>, "smart-input-strings", never, {}, {}, never, never, true, never>;
384
+ declare const AUTH_TOKEN = "AUTH_TOKEN";
385
+ declare class AuthService {
386
+ protected storageService: StorageService;
387
+ isAuthenticated(): boolean;
388
+ expectPermissions(permissions: Array<string> | null): boolean;
389
+ getPermissions(): Array<string>;
390
+ getTokenPayload(): any;
391
+ protected getRawToken(): {
392
+ access_token: string;
393
+ } | null;
394
+ protected getToken(): {
395
+ access_token: string;
396
+ } | null;
397
+ setToken(token: {
398
+ access_token: string;
399
+ } | null): void;
400
+ removeToken(): void;
401
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
402
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
456
403
  }
457
404
 
458
- declare class InputTextComponent<T> extends InputBaseComponent<T> {
459
- static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent<any>, never>;
460
- static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent<any>, "smart-input-text", never, {}, {}, never, never, true, never>;
405
+ declare class DetailsService {
406
+ private _root;
407
+ get $root(): any;
408
+ constructor();
409
+ init(): void;
410
+ setRoot(obj: any, force?: boolean): void;
411
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailsService, never>;
412
+ static ɵprov: i0.ɵɵInjectableDeclaration<DetailsService>;
461
413
  }
462
414
 
463
- declare class InputLogoComponent<T> extends InputBaseComponent<T> {
464
- set(inputFile: HTMLInputElement): void;
465
- clear(): void;
466
- static ɵfac: i0.ɵɵFactoryDeclaration<InputLogoComponent<any>, never>;
467
- static ɵcmp: i0.ɵɵComponentDeclaration<InputLogoComponent<any>, "smart-input-logo", never, {}, {}, never, never, true, never>;
415
+ declare class DynamicComponentLoader<T> {
416
+ private resolver;
417
+ static declaredComponents: any[];
418
+ getComponentsWithFactories<C>(options: {
419
+ components: Array<any>;
420
+ }): Promise<{
421
+ component: any;
422
+ factory: ComponentFactory<any>;
423
+ }[]>;
424
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentLoader<any>, never>;
425
+ static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentLoader<any>>;
468
426
  }
469
427
 
470
- declare class InputCheckComponent<T> extends InputPossibilitiesBaseComponent<T> {
471
- possibilities: WritableSignal<Array<{
472
- id: any;
473
- text: string;
474
- checked: boolean;
475
- }> | null>;
476
- protected afterSetOptionsHandler(): void;
477
- refresh(item: {
478
- id: any;
479
- text: string;
480
- checked: boolean;
481
- }): void;
482
- static ɵfac: i0.ɵɵFactoryDeclaration<InputCheckComponent<any>, never>;
483
- static ɵcmp: i0.ɵɵComponentDeclaration<InputCheckComponent<any>, "smart-input-check", never, {}, {}, never, never, true, never>;
428
+ declare const DYNAMIC_COMPONENTS_STORE: InjectionToken<[Type<any>]>;
429
+ declare class DynamicComponentStorageService {
430
+ static get(key: string, moduleRef: NgModuleRef<any>): Type<any>[];
484
431
  }
485
432
 
486
- declare class InputIntsComponent<T> extends InputBaseComponent<T> {
487
- private fb;
488
- list: Array<UntypedFormControl>;
489
- afterSetOptionsHandler(): void;
490
- onItemChange(): void;
491
- private refresh;
492
- private add;
493
- removeItem(item: UntypedFormControl): void;
494
- static ɵfac: i0.ɵɵFactoryDeclaration<InputIntsComponent<any>, never>;
495
- static ɵcmp: i0.ɵɵComponentDeclaration<InputIntsComponent<any>, "smart-input-ints", never, {}, {}, never, never, true, never>;
433
+ declare const FILE_SERVICE_CONFIG: InjectionToken<IFileServiceConfig>;
434
+ interface IFileServiceConfig {
435
+ apiUrl: string;
436
+ }
437
+ declare class FileService {
438
+ private config;
439
+ private http;
440
+ upload<T>(file: File, callback?: (result: T) => void): Observable<number>;
441
+ download(id: string): void;
442
+ delete(id: string): Promise<void>;
443
+ getUrl(id: string): string;
444
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileService, never>;
445
+ static ɵprov: i0.ɵɵInjectableDeclaration<FileService>;
496
446
  }
497
447
 
498
- declare class InputPhoneNumberComponent<T> extends InputBaseComponent<T> {
499
- static ɵfac: i0.ɵɵFactoryDeclaration<InputPhoneNumberComponent<any>, never>;
500
- static ɵcmp: i0.ɵɵComponentDeclaration<InputPhoneNumberComponent<any>, "smart-input-phone-number", never, {}, {}, never, never, true, never>;
448
+ declare class SmartFormGroup extends UntypedFormGroup {
449
+ static create(): SmartFormGroup;
450
+ setForm(form: UntypedFormGroup): void;
501
451
  }
502
452
 
503
- declare class InputPeselComponent<T> extends InputBaseComponent<T> {
504
- static ɵfac: i0.ɵɵFactoryDeclaration<InputPeselComponent<any>, never>;
505
- static ɵcmp: i0.ɵɵComponentDeclaration<InputPeselComponent<any>, "smart-input-pesel", never, {}, {}, never, never, true, never>;
453
+ declare class StyleService {
454
+ private platformId;
455
+ static style: IStyle | null;
456
+ private _elementRef;
457
+ static create(platformId: object, el: ElementRef, style?: Partial<IStyle>): StyleService;
458
+ constructor(platformId: object);
459
+ init(el: ElementRef, style?: IStyle): void;
460
+ set(style?: IStyle): void;
461
+ private execute;
462
+ private setColor;
463
+ private setProperty;
464
+ private setFont;
465
+ private setButton;
466
+ private setMobileBreakpoint;
467
+ static ɵfac: i0.ɵɵFactoryDeclaration<StyleService, never>;
468
+ static ɵprov: i0.ɵɵInjectableDeclaration<StyleService>;
506
469
  }
507
470
 
508
- declare class InputArrayComponent<T, TChild> extends InputBaseComponent<T> {
509
- childOptions: Array<IFormOptions<TChild>>;
510
- formComponent: any;
511
- private factory;
512
- addButtonOptions: IButtonOptions;
513
- FieldType: typeof _smartsoft001_models.FieldTypeDef;
514
- protected afterSetOptionsHandler(): void;
515
- onRemove(index: number): void;
516
- private initData;
517
- drop(event: CdkDragDrop<T, any>): void;
518
- private getOptions;
519
- static ɵfac: i0.ɵɵFactoryDeclaration<InputArrayComponent<any, any>, never>;
520
- static ɵcmp: i0.ɵɵComponentDeclaration<InputArrayComponent<any, any>, "smart-input-array", never, {}, {}, never, never, true, never>;
471
+ declare class ToastService {
472
+ static lockError: number;
473
+ addLockError(): void;
474
+ removeLockError(): void;
475
+ error(config: IToastOptions): Promise<void>;
476
+ info(config: IToastOptions): Promise<void>;
477
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
478
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
479
+ }
480
+ interface IToastOptions {
481
+ title?: string;
482
+ message: string;
483
+ duration?: number;
484
+ buttons?: Array<IToastButton>;
485
+ }
486
+ interface IToastButton {
487
+ text: string;
488
+ position: 'start' | 'end';
489
+ handler: () => void;
521
490
  }
522
491
 
523
- declare abstract class InputFileBaseComponent<T> extends InputBaseComponent<T> implements OnInit {
524
- protected renderer: Renderer2;
525
- protected fileService: FileService;
526
- protected toastService: ToastService;
527
- protected translateService: TranslateService;
528
- valid: boolean;
529
- oldId: number;
530
- file: File | null;
531
- loading: WritableSignal<boolean>;
532
- percent: Signal<number | undefined>;
533
- addButtonOptions: IButtonOptions;
534
- showButtonOptions: IButtonOptions;
535
- deleteButtonOptions: IButtonOptions;
536
- inputElementRef: Signal<ElementRef<any> | undefined>;
537
- ngOnInit(): void;
538
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFileBaseComponent<any>, never>;
539
- static ɵdir: i0.ɵɵDirectiveDeclaration<InputFileBaseComponent<any>, never, never, {}, {}, never, never, true, never>;
492
+ declare class HardwareService {
493
+ get isMobile(): boolean;
494
+ get isMobileWeb(): boolean;
495
+ onBackButtonClick(callback: () => void): Promise</*PluginListenerHandle*/ any>;
496
+ static ɵfac: i0.ɵɵFactoryDeclaration<HardwareService, never>;
497
+ static ɵprov: i0.ɵɵInjectableDeclaration<HardwareService>;
540
498
  }
541
499
 
542
- declare class InputPdfComponent<T> extends InputFileBaseComponent<T> implements OnInit {
543
- static ɵfac: i0.ɵɵFactoryDeclaration<InputPdfComponent<any>, never>;
544
- static ɵcmp: i0.ɵɵComponentDeclaration<InputPdfComponent<any>, "smart-input-pdf", never, {}, {}, never, never, true, never>;
500
+ /**
501
+ * Only to use in smart-page
502
+ * @requires PageComponent
503
+ */
504
+ declare class MenuService {
505
+ private readonly resolver;
506
+ private _endContainer;
507
+ private _openedEnd;
508
+ menuItems: i0.WritableSignal<IMenuItem[]>;
509
+ disabled: i0.WritableSignal<boolean>;
510
+ /**
511
+ * @desc checking if the menu is open (menu on the right side of the screen)
512
+ */
513
+ get openedEnd(): boolean;
514
+ enable(): void;
515
+ disable(): void;
516
+ changeMenuItemByRoute(route: string, changes: Partial<IMenuItem>): void;
517
+ setMenuItems(items: IMenuItem[]): void;
518
+ /**
519
+ * @private
520
+ */
521
+ init(endContainer: ViewContainerRef): Promise<void>;
522
+ /**
523
+ * @desc open menu (menu on the right side of the screen)
524
+ * @param {object} options - use options
525
+ * @param {class} options.component - angular component to render
526
+ * @param {class} options.injector - angular injector to use in component
527
+ */
528
+ openEnd(options: {
529
+ component: any;
530
+ injector: Injector;
531
+ }): Promise<void>;
532
+ /**
533
+ * @desc close menu (menu on the left side of the screen)
534
+ */
535
+ closeStart(): Promise<void>;
536
+ /**
537
+ * @desc close menu (menu on the right side of the screen)
538
+ */
539
+ closeEnd(): Promise<void>;
540
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
541
+ static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
545
542
  }
546
543
 
547
- declare class InputVideoComponent<T> extends InputFileBaseComponent<T> implements OnInit {
548
- url: string | null;
549
- play: boolean;
550
- playButtonOptions: IButtonOptions;
551
- protected afterSetOptionsHandler(): void;
552
- static ɵfac: i0.ɵɵFactoryDeclaration<InputVideoComponent<any>, never>;
553
- static ɵcmp: i0.ɵɵComponentDeclaration<InputVideoComponent<any>, "smart-input-video", never, {}, {}, never, never, true, never>;
544
+ declare class ModalService {
545
+ show(options: IModalOptions): Promise<IModal>;
546
+ dismiss<T>(data?: T | null): Promise<void>;
547
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
548
+ static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
554
549
  }
555
-
556
- declare class InputAttachmentComponent<T> extends InputFileBaseComponent<T> implements OnInit {
557
- static ɵfac: i0.ɵɵFactoryDeclaration<InputAttachmentComponent<any>, never>;
558
- static ɵcmp: i0.ɵɵComponentDeclaration<InputAttachmentComponent<any>, "smart-input-attachment", never, {}, {}, never, never, true, never>;
550
+ interface IModalOptions {
551
+ component: any;
552
+ props?: any;
553
+ mode?: 'default' | 'bottom';
554
+ cssClass?: string[];
555
+ backdropDismiss?: boolean;
556
+ }
557
+ interface IModal {
558
+ dismiss: () => void;
559
+ onDidDismiss(): Promise<{
560
+ data: any;
561
+ }>;
559
562
  }
560
563
 
561
- declare class InputDateRangeComponent<T> extends InputBaseComponent<T> {
562
- static ɵfac: i0.ɵɵFactoryDeclaration<InputDateRangeComponent<any>, never>;
563
- static ɵcmp: i0.ɵɵComponentDeclaration<InputDateRangeComponent<any>, "smart-input-date-range", never, {}, {}, never, never, true, never>;
564
+ declare class AlertService {
565
+ show(options: IAlertOptions): Promise<void>;
566
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
567
+ static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
568
+ }
569
+ interface IAlertOptions {
570
+ header?: string;
571
+ subHeader?: string;
572
+ message?: string;
573
+ backdropDismiss?: boolean;
574
+ buttons?: Array<IAlertButton>;
575
+ }
576
+ interface IAlertButton {
577
+ text: string;
578
+ role?: 'cancel' | 'destructive' | string;
579
+ cssClass?: string | string[];
580
+ handler?: (value: any) => boolean | void | {
581
+ [key: string]: any;
582
+ };
564
583
  }
565
584
 
566
- declare class InputImageComponent<T> extends InputFileBaseComponent<T> implements OnInit {
567
- imageUrl: any;
568
- ngOnInit(): void;
569
- private initImage;
570
- static ɵfac: i0.ɵɵFactoryDeclaration<InputImageComponent<any>, never>;
571
- static ɵcmp: i0.ɵɵComponentDeclaration<InputImageComponent<any>, "smart-input-image", never, {}, {}, never, never, true, never>;
585
+ declare class PopoverService {
586
+ close(): Promise<void>;
587
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverService, never>;
588
+ static ɵprov: i0.ɵɵInjectableDeclaration<PopoverService>;
572
589
  }
573
590
 
574
- declare class InputFloatComponent<T> extends InputBaseComponent<T> {
575
- static ɵfac: i0.ɵɵFactoryDeclaration<InputFloatComponent<any>, never>;
576
- static ɵcmp: i0.ɵɵComponentDeclaration<InputFloatComponent<any>, "smart-input-float", never, {}, {}, never, never, true, never>;
591
+ declare class UIService {
592
+ showAlertWithDismissCallback(heading: string, msg: string, btnText: string, callback: () => void): Promise<void>;
593
+ static ɵfac: i0.ɵɵFactoryDeclaration<UIService, never>;
594
+ static ɵprov: i0.ɵɵInjectableDeclaration<UIService>;
577
595
  }
578
596
 
579
- declare class InputPhoneNumberPlComponent<T> extends InputBaseComponent<T> {
580
- afterSetOptionsHandler(): void;
581
- static ɵfac: i0.ɵɵFactoryDeclaration<InputPhoneNumberPlComponent<any>, never>;
582
- static ɵcmp: i0.ɵɵComponentDeclaration<InputPhoneNumberPlComponent<any>, "smart-input-phone-number-pl", never, {}, {}, never, never, true, never>;
597
+ declare class SharedServicesModule {
598
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedServicesModule, never>;
599
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedServicesModule, never, [typeof i1.TranslateModule, typeof i2.CookieModule], never>;
600
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedServicesModule>;
583
601
  }
584
602
 
585
- declare abstract class FormBaseComponent<T> extends BaseComponent {
586
- protected cd: ChangeDetectorRef;
587
- static smartType: DynamicComponentType;
588
- private _fields;
589
- private _subscription;
590
- private _model;
591
- private _possibilities;
592
- private _inputComponents;
593
- mode: string;
594
- treeLevel: number | undefined;
595
- get fields(): Array<string>;
596
- get model(): any;
597
- get possibilities(): {
598
- [key: string]: WritableSignal<{
599
- id: any;
600
- text: string;
601
- checked: boolean;
602
- }[]>;
603
- };
604
- get inputComponents(): {
605
- [key: string]: Type<InputBaseComponent<T>>;
606
- };
607
- form: i0.InputSignal<UntypedFormGroup>;
608
- options: i0.InputSignal<IFormOptions<T>>;
609
- invokeSubmit: i0.OutputEmitterRef<any>;
610
- contentTpl: i0.Signal<ViewContainerRef | undefined>;
611
- constructor();
612
- submit(): void;
613
- protected afterSetOptions(): void;
614
- protected afterSetForm(): void;
615
- getUntypedFormControl(field: string): UntypedFormControl;
616
- static ɵfac: i0.ɵɵFactoryDeclaration<FormBaseComponent<any>, never>;
617
- static ɵdir: i0.ɵɵDirectiveDeclaration<FormBaseComponent<any>, never, never, { "form": { "alias": "form"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; }, { "invokeSubmit": "invokeSubmit"; }, never, never, true, never>;
603
+ declare class NgrxStoreService {
604
+ private static _reducers;
605
+ static store: Store<any> | undefined;
606
+ static addReducer<State, Actions extends Action = Action>(key: string, reducer: ActionReducer<State, Actions>): void;
607
+ connect(store: Store<any>): void;
608
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgrxStoreService, never>;
609
+ static ɵprov: i0.ɵɵInjectableDeclaration<NgrxStoreService>;
618
610
  }
619
611
 
620
- declare const FormComponent_base: new () => IDynamicComponent<FormBaseComponent<any>>;
621
- declare class FormComponent<T> extends FormComponent_base implements OnDestroy {
622
- exportProvider: IModelExportProvider | null;
623
- importProvider: IModelImportProvider | null;
624
- private formFactory;
625
- private cd;
626
- private elementRef;
627
- private _options;
628
- private _subscription;
629
- private _mode;
630
- private _uniqueProvider;
631
- form: SmartFormGroup;
632
- type: 'standard' | 'custom';
633
- export: boolean;
634
- exportHandler: (val: any) => void;
635
- import: boolean;
636
- importAccept: string | undefined;
637
- customTpl: Signal<ViewContainerRef | undefined>;
638
- options: i0.InputSignal<IFormOptions<T>>;
639
- invokeSubmit: i0.OutputEmitterRef<void>;
640
- valueChange: i0.OutputEmitterRef<T>;
641
- valuePartialChange: i0.OutputEmitterRef<Partial<T>>;
642
- validChange: i0.OutputEmitterRef<boolean>;
643
- contentTpl: Signal<TemplateRef<any> | undefined>;
644
- dynamicContents: Signal<readonly DynamicContentDirective[]>;
645
- constructor();
646
- onSetValue(file: File): Promise<void>;
647
- refreshProperties(): void;
648
- ngOnDestroy(): void;
649
- private initLoading;
650
- private registerChanges;
651
- private initType;
652
- private initExportImport;
653
- static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent<any>, never>;
654
- static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent<any>, "smart-form", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, { "invokeSubmit": "invokeSubmit"; "valueChange": "valueChange"; "valuePartialChange": "valuePartialChange"; "validChange": "validChange"; }, never, never, true, never>;
612
+ declare class ErrorService {
613
+ private toastService;
614
+ private translateService;
615
+ constructor(toastService: ToastService, translateService: TranslateService);
616
+ log(obj: any): Promise<void>;
617
+ static ɵfac: i0.ɵɵFactoryDeclaration<ErrorService, never>;
618
+ static ɵprov: i0.ɵɵInjectableDeclaration<ErrorService>;
655
619
  }
656
620
 
657
- declare class FormStandardComponent<T> extends FormBaseComponent<T> {
658
- get__smartDisabled(field: string): any;
659
- static ɵfac: i0.ɵɵFactoryDeclaration<FormStandardComponent<any>, never>;
660
- static ɵcmp: i0.ɵɵComponentDeclaration<FormStandardComponent<any>, "smart-form-standard", never, {}, {}, never, never, true, never>;
621
+ declare class DynamicContentDirective {
622
+ container: ViewContainerRef;
623
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicContentDirective, never>;
624
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicContentDirective, ".dynamic-content", never, {}, {}, never, never, true, never>;
661
625
  }
662
626
 
663
- declare class ExportComponent {
664
- value: i0.InputSignal<any>;
665
- fileName: i0.InputSignal<string | undefined>;
666
- handler: i0.InputSignal<(value: any) => void>;
667
- onClick(): Promise<void>;
668
- static ɵfac: i0.ɵɵFactoryDeclaration<ExportComponent, never>;
669
- static ɵcmp: i0.ɵɵComponentDeclaration<ExportComponent, "smart-export", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "fileName": { "alias": "fileName"; "required": false; "isSignal": true; }; "handler": { "alias": "handler"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
627
+ declare class DetailsDirective {
628
+ private modalService;
629
+ private hardwareService;
630
+ options: i0.InputSignal<{
631
+ component: any;
632
+ params: any;
633
+ mode?: "bottom" | "default";
634
+ }>;
635
+ smartDetailsShowed: i0.OutputEmitterRef<void>;
636
+ smartDetailsDismissed: i0.OutputEmitterRef<void>;
637
+ click(): Promise<void>;
638
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailsDirective, never>;
639
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DetailsDirective, "[smartDetails]", never, { "options": { "alias": "smartDetails"; "required": true; "isSignal": true; }; }, { "smartDetailsShowed": "smartDetailsShowed"; "smartDetailsDismissed": "smartDetailsDismissed"; }, never, never, true, never>;
670
640
  }
671
641
 
672
- declare class ImportComponent implements AfterViewInit {
673
- private renderer;
674
- accept: i0.InputSignal<string | undefined>;
675
- set: i0.OutputEmitterRef<File>;
676
- inputElementRef: i0.Signal<ElementRef<any> | undefined>;
677
- constructor(renderer: Renderer2);
678
- onClick(): Promise<void>;
679
- ngAfterViewInit(): void;
680
- static ɵfac: i0.ɵɵFactoryDeclaration<ImportComponent, never>;
681
- static ɵcmp: i0.ɵɵComponentDeclaration<ImportComponent, "smart-import", never, { "accept": { "alias": "accept"; "required": false; "isSignal": true; }; }, { "set": "set"; }, never, never, true, never>;
642
+ declare class SharedDirectivesModule {
643
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectivesModule, never>;
644
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, never, [typeof SharedServicesModule, typeof DynamicContentDirective], [typeof DynamicContentDirective]>;
645
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectivesModule>;
682
646
  }
683
647
 
684
- declare abstract class PageBaseComponent implements OnInit, OnDestroy {
685
- private el;
686
- private renderer;
687
- private location;
688
- appService: AppService;
689
- hardwareService: HardwareService;
690
- static smartType: DynamicComponentType;
691
- options: i0.InputSignal<IPageOptions>;
692
- private _subscriptions;
693
- get isMobile(): boolean;
694
- contentTpl: i0.Signal<ViewContainerRef | TemplateRef<any> | undefined>;
695
- back(): void;
696
- presentPopover(ev: any, btn: IIconButtonOptions): Promise<void>;
697
- ngOnInit(): void;
698
- ngOnDestroy(): void;
699
- static ɵfac: i0.ɵɵFactoryDeclaration<PageBaseComponent, never>;
700
- static ɵdir: i0.ɵɵDirectiveDeclaration<PageBaseComponent, never, never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
648
+ declare class ModelLabelPipe<T> implements PipeTransform {
649
+ private translateService;
650
+ private modelLabelProvider;
651
+ transform(instance: T, key: string, type?: Type<any> | (() => void)): string;
652
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModelLabelPipe<any>, never>;
653
+ static ɵpipe: i0.ɵɵPipeDeclaration<ModelLabelPipe<any>, "smartModelLabel", true>;
701
654
  }
702
655
 
703
- declare class PageStandardComponent extends PageBaseComponent {
704
- static ɵfac: i0.ɵɵFactoryDeclaration<PageStandardComponent, never>;
705
- static ɵcmp: i0.ɵɵComponentDeclaration<PageStandardComponent, "smart-page-standard", never, {}, {}, never, ["*"], true, never>;
656
+ declare class ListCellPipe<T extends {
657
+ [key: string]: any;
658
+ }> implements PipeTransform {
659
+ private readonly translateService;
660
+ transform(obj: T, key: string, pipe: ICellPipe<T>, type?: Type<T>): {
661
+ value?: any;
662
+ type?: FieldTypeDef | null;
663
+ };
664
+ private getFieldType;
665
+ private getValue;
666
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListCellPipe<any>, never>;
667
+ static ɵpipe: i0.ɵɵPipeDeclaration<ListCellPipe<any>, "smartListCell", true>;
706
668
  }
707
669
 
708
- declare const PageComponent_base: new () => IDynamicComponent<PageBaseComponent>;
709
- declare class PageComponent extends PageComponent_base implements OnInit {
710
- private el;
711
- private renderer;
712
- options: i0.InputSignal<IPageOptions>;
713
- contentTpl: i0.Signal<TemplateRef<any> | undefined>;
714
- dynamicContents: i0.Signal<readonly DynamicContentDirective[]>;
715
- constructor();
716
- ngOnInit(): void;
717
- refreshProperties(): void;
718
- static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
719
- static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "smart-page", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
670
+ declare class TrustHtmlPipe implements PipeTransform {
671
+ private sanitizer;
672
+ transform(val: string): SafeHtml;
673
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrustHtmlPipe, never>;
674
+ static ɵpipe: i0.ɵɵPipeDeclaration<TrustHtmlPipe, "smartTrustHtml", true>;
675
+ }
676
+
677
+ declare class ListHeaderPipe<T> implements PipeTransform {
678
+ private translateService;
679
+ private modelLabelProvider;
680
+ transform(data: T, key: string, type?: Type<any>): Signal<string>;
681
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListHeaderPipe<any>, never>;
682
+ static ɵpipe: i0.ɵɵPipeDeclaration<ListHeaderPipe<any>, "smartListHeader", true>;
720
683
  }
721
684
 
722
- declare abstract class DetailsBaseComponent<T extends IEntity<string>> implements AfterViewInit {
723
- private authService;
724
- private detailsService;
725
- static smartType: DynamicComponentType;
726
- private _fields;
727
- private _type;
728
- componentFactories: IDetailsComponentFactories<T> | null;
729
- cellPipe: WritableSignal<ICellPipe<T> | null>;
730
- get fields(): Array<{
731
- key: string;
732
- options: IFieldOptions;
733
- }> | null;
734
- get type(): any;
735
- item: Signal<T | undefined> | undefined;
736
- loading: Signal<boolean> | undefined;
737
- contentTpl: Signal<ViewContainerRef | undefined>;
738
- topTpl: Signal<ViewContainerRef | undefined>;
739
- bottomTpl: Signal<ViewContainerRef | undefined>;
740
- options: i0.InputSignal<IDetailsOptions<T> | undefined>;
741
- constructor();
742
- ngAfterViewInit(): void;
743
- protected generateDynamicComponents(): void;
744
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailsBaseComponent<any>, never>;
745
- static ɵdir: i0.ɵɵDirectiveDeclaration<DetailsBaseComponent<any>, never, never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
685
+ declare class FileUrlPipe implements PipeTransform {
686
+ private service;
687
+ transform(file: {
688
+ id: any;
689
+ }): string;
690
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUrlPipe, never>;
691
+ static ɵpipe: i0.ɵɵPipeDeclaration<FileUrlPipe, "smartFileUrl", true>;
746
692
  }
747
693
 
748
- declare class DetailsStandardComponent<T extends IEntity<string>> extends DetailsBaseComponent<T> {
749
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailsStandardComponent<any>, never>;
750
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsStandardComponent<any>, "smart-details-standard", never, {}, {}, never, never, true, never>;
694
+ declare class EnumToListPipe implements PipeTransform {
695
+ transform(value: any): Array<string>;
696
+ static ɵfac: i0.ɵɵFactoryDeclaration<EnumToListPipe, never>;
697
+ static ɵpipe: i0.ɵɵPipeDeclaration<EnumToListPipe, "smartEnumToList", true>;
751
698
  }
752
699
 
753
- declare const DetailsComponent_base: new () => IDynamicComponent<DetailsBaseComponent<any>>;
754
- declare class DetailsComponent<T extends IEntity<string>> extends DetailsComponent_base implements OnDestroy {
755
- private detailsService;
756
- item: T | null;
757
- options: i0.InputSignal<IDetailsOptions<T> | undefined>;
758
- contentTpl: i0.Signal<TemplateRef<any> | undefined>;
759
- dynamicContents: i0.Signal<readonly DynamicContentDirective[]>;
760
- constructor(detailsService: DetailsService);
761
- refreshProperties(): void;
762
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailsComponent<any>, never>;
763
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailsComponent<any>, "smart-details", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
700
+ declare const PIPES: (typeof ModelLabelPipe | typeof ListCellPipe | typeof TrustHtmlPipe | typeof ListHeaderPipe | typeof EnumToListPipe)[];
701
+ declare class SharedPipesModule {
702
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipesModule, never>;
703
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, never, [typeof ModelLabelPipe, typeof ListCellPipe, typeof TrustHtmlPipe, typeof ListHeaderPipe, typeof EnumToListPipe], [typeof ModelLabelPipe, typeof ListCellPipe, typeof TrustHtmlPipe, typeof ListHeaderPipe, typeof EnumToListPipe]>;
704
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
764
705
  }
765
706
 
766
- declare class CardComponent {
767
- readonly options: InputSignal<ICardOptions | undefined>;
768
- static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
769
- static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "smart-card", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
707
+ declare class AccordionComponent {
708
+ show: ModelSignal<boolean>;
709
+ update(): void;
710
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
711
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "smart-accordion", never, { "show": { "alias": "show"; "required": false; "isSignal": true; }; }, { "show": "showChange"; }, never, ["smart-accordion-header", "smart-accordion-body"], true, never>;
770
712
  }
771
713
 
772
- declare class DetailComponent<T extends IEntity<string> | undefined> {
773
- FieldType: typeof _smartsoft001_models.FieldTypeDef;
774
- readonly options: InputSignal<IDetailOptions<T> | undefined>;
775
- readonly type: InputSignal<any>;
776
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailComponent<any>, never>;
777
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailComponent<any>, "smart-detail", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "type": { "alias": "type"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
714
+ declare class AccordionBodyComponent {
715
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionBodyComponent, never>;
716
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionBodyComponent, "smart-accordion-body", never, {}, {}, never, ["*"], true, never>;
778
717
  }
779
718
 
780
- declare abstract class DetailBaseComponent<T> {
719
+ declare class AccordionHeaderComponent {
720
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccordionHeaderComponent, never>;
721
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionHeaderComponent, "smart-accordion-header", never, {}, {}, never, ["*"], true, never>;
722
+ }
723
+
724
+ declare abstract class AppBaseComponent implements OnDestroy, AfterContentInit {
725
+ protected router: Router;
781
726
  protected cd: ChangeDetectorRef;
782
- options: i0.InputSignal<IDetailOptions<T> | undefined>;
727
+ protected elementRef: ElementRef<any>;
728
+ protected styleService: StyleService;
729
+ protected menuService: MenuService;
730
+ protected authService: AuthService;
731
+ protected appService: AppService;
732
+ protected readonly platformId: Object;
733
+ protected document: Document;
734
+ private readonly injector;
735
+ private _subscriptions;
736
+ selectedPath: string;
737
+ showMenu: Signal<boolean>;
738
+ menuItems: Signal<IMenuItem[]>;
739
+ logged: Signal<boolean>;
740
+ username: Signal<string>;
741
+ loadingPage: Signal<boolean>;
742
+ logo: string | undefined;
743
+ routerEvents: Signal<_angular_router.Event | undefined>;
744
+ options: InputSignal<IAppOptions>;
745
+ endMenuContainer: Signal<ViewContainerRef | undefined>;
783
746
  constructor();
784
- protected afterSetOptionsHandler(): void;
785
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailBaseComponent<any>, never>;
786
- static ɵdir: i0.ɵɵDirectiveDeclaration<DetailBaseComponent<any>, never, never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
747
+ logout(): void;
748
+ ngAfterContentInit(): Promise<void>;
749
+ ngOnDestroy(): void;
750
+ private initMenu;
751
+ private initSelectedPath;
752
+ private initLoader;
753
+ private refreshStyles;
754
+ private initPermissionClasses;
755
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppBaseComponent, never>;
756
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AppBaseComponent, never, never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
787
757
  }
788
758
 
789
- declare class DetailTextComponent<T> extends DetailBaseComponent<T> {
790
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailTextComponent<any>, never>;
791
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailTextComponent<any>, "smart-detail-text", never, {}, {}, never, never, true, never>;
759
+ declare abstract class BaseComponent implements OnDestroy {
760
+ get takeUntilDestroy(): MonoTypeOperatorFunction<any>;
761
+ destroy$: Subject<boolean>;
762
+ ngOnDestroy(): void;
763
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
764
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent, never, never, {}, {}, never, never, true, never>;
792
765
  }
793
-
794
- declare class DetailEmailComponent<T extends {
795
- [key: string]: any;
796
- } | undefined> extends DetailBaseComponent<T> {
797
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailEmailComponent<any>, never>;
798
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailEmailComponent<any>, "smart-detail-email", never, {}, {}, never, never, true, never>;
766
+ interface IDynamicComponent<T> extends BaseComponent {
767
+ baseInstance: T;
768
+ baseComponentRef: ComponentRef<T>;
769
+ template: WritableSignal<'custom' | 'default'>;
770
+ contentTpl: Signal<TemplateRef<any> | ViewContainerRef | undefined>;
771
+ dynamicContents: Signal<readonly DynamicContentDirective[]>;
772
+ refreshProperties(): void;
773
+ refreshDynamicInstance(): void;
799
774
  }
775
+ declare function CreateDynamicComponent<T extends {
776
+ contentTpl: Signal<TemplateRef<any> | ViewContainerRef | undefined>;
777
+ } = any>(type: DynamicComponentType): new () => IDynamicComponent<T>;
800
778
 
801
- declare class DetailEnumComponent<T extends {
802
- [key: string]: any;
803
- } | undefined> extends DetailBaseComponent<T> {
804
- protected getValues(item: T, key: string): string[];
805
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailEnumComponent<any>, never>;
806
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailEnumComponent<any>, "smart-detail-enum", never, {}, {}, never, never, true, never>;
779
+ declare abstract class ButtonBaseComponent {
780
+ static smartType: DynamicComponentType;
781
+ mode: WritableSignal<'default' | 'confirm'>;
782
+ options: InputSignal<IButtonOptions>;
783
+ disabled: InputSignal<boolean>;
784
+ contentTpl: i0.Signal<ViewContainerRef | undefined>;
785
+ invoke(): void;
786
+ confirmInvoke(): void;
787
+ confirmCancel(): void;
788
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonBaseComponent, never>;
789
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonBaseComponent, never, never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
807
790
  }
808
791
 
809
- declare class DetailFlagComponent<T extends {
810
- [key: string]: any;
811
- } | undefined> extends DetailBaseComponent<T> {
812
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailFlagComponent<any>, never>;
813
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailFlagComponent<any>, "smart-detail-flag", never, {}, {}, never, never, true, never>;
792
+ declare const ButtonComponent_base: new () => IDynamicComponent<ButtonBaseComponent>;
793
+ declare class ButtonComponent extends ButtonComponent_base {
794
+ options: i0.InputSignal<IButtonOptions>;
795
+ disabled: i0.InputSignal<boolean>;
796
+ contentTpl: i0.Signal<ViewContainerRef | undefined>;
797
+ dynamicContents: i0.Signal<readonly DynamicContentDirective[]>;
798
+ constructor();
799
+ refreshProperties(): void;
800
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
801
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "smart-button", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
814
802
  }
815
803
 
816
- declare class DetailAddressComponent<T extends {
817
- [key: string]: any;
818
- } | undefined> extends DetailBaseComponent<T> {
819
- thisAddress: Signal<IAddress>;
820
- protected afterSetOptionsHandler(): void;
821
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailAddressComponent<any>, never>;
822
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailAddressComponent<any>, "smart-detail-address", never, {}, {}, never, never, true, never>;
804
+ declare class ButtonStandardComponent extends ButtonBaseComponent {
805
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonStandardComponent, never>;
806
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonStandardComponent, "smart-button-standard", never, {}, {}, never, ["*"], true, never>;
823
807
  }
824
808
 
825
- declare class DetailObjectComponent<T extends (IEntity<string> & {
826
- [key: string]: any;
827
- }) | undefined, TChild extends IEntity<string>> extends DetailBaseComponent<T> {
828
- detailsComponent: any;
829
- childOptions: Signal<IDetailsOptions<TChild> | null>;
809
+ declare abstract class InputBaseComponent<T> extends BaseComponent {
810
+ protected cd: ChangeDetectorRef;
811
+ internalOptions: InputOptions<T>;
812
+ control: UntypedFormControl | UntypedFormArray | UntypedFormGroup;
813
+ required: boolean;
814
+ possibilities: WritableSignal<Array<{
815
+ id: any;
816
+ text: string;
817
+ checked: boolean;
818
+ }> | null>;
819
+ fieldOptions: i0.InputSignal<IFieldOptions | undefined>;
820
+ options: i0.InputSignal<InputOptions<T> | undefined>;
821
+ constructor();
830
822
  protected afterSetOptionsHandler(): void;
831
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailObjectComponent<any, any>, never>;
832
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailObjectComponent<any, any>, "smart-detail-object", never, {}, {}, never, never, true, never>;
833
- }
834
-
835
- declare class DetailColorComponent<T extends {
836
- [key: string]: any;
837
- } | undefined> extends DetailBaseComponent<T> {
838
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailColorComponent<any>, never>;
839
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailColorComponent<any>, "smart-detail-color", never, {}, {}, never, never, true, never>;
823
+ private setRequired;
824
+ get formControl(): UntypedFormControl;
825
+ get formControlArray(): UntypedFormArray;
826
+ get formControlGroup(): UntypedFormGroup;
827
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputBaseComponent<any>, never>;
828
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InputBaseComponent<any>, never, never, { "fieldOptions": { "alias": "fieldOptions"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
840
829
  }
841
830
 
842
- declare class DetailLogoComponent<T extends {
843
- [key: string]: any;
844
- } | undefined> extends DetailBaseComponent<T> {
845
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailLogoComponent<any>, never>;
846
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailLogoComponent<any>, "smart-detail-logo", never, {}, {}, never, never, true, never>;
831
+ declare class InputAddressComponent<T> extends InputBaseComponent<T> {
832
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputAddressComponent<any>, never>;
833
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputAddressComponent<any>, "smart-input-address", never, {}, {}, never, never, true, never>;
847
834
  }
848
835
 
849
- declare class DetailArrayComponent<T extends {
850
- [key: string]: any;
851
- } | undefined, TChild extends IEntity<string>> extends DetailBaseComponent<T> {
852
- detailsComponent: any;
853
- childOptions: Signal<IDetailsOptions<TChild>[]>;
836
+ declare class InputColorComponent<T> extends InputBaseComponent<T> {
837
+ color: string;
854
838
  protected afterSetOptionsHandler(): void;
855
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailArrayComponent<any, any>, never>;
856
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailArrayComponent<any, any>, "smart-detail-array", never, {}, {}, never, never, true, never>;
839
+ selectColor(color: string): void;
840
+ clear(): void;
841
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputColorComponent<any>, never>;
842
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputColorComponent<any>, "smart-input-color", never, {}, {}, never, never, true, never>;
857
843
  }
858
844
 
859
- declare class DetailPdfComponent<T extends IEntity<string> | undefined> extends DetailBaseComponent<T> {
860
- private fileService;
861
- getButtonOptions(item: T): IButtonOptions;
862
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailPdfComponent<any>, never>;
863
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailPdfComponent<any>, "smart-detail-pdf", never, {}, {}, never, never, true, never>;
845
+ declare class InputCurrencyComponent<T> extends InputBaseComponent<T> {
846
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputCurrencyComponent<any>, never>;
847
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputCurrencyComponent<any>, "smart-input-currency", never, {}, {}, never, never, true, never>;
864
848
  }
865
-
866
- declare class DetailVideoComponent<T extends IEntity<string> | undefined> extends DetailBaseComponent<T> {
867
- private fileService;
868
- getUrl(item: T): string | null;
869
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailVideoComponent<any>, never>;
870
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailVideoComponent<any>, "smart-detail-video", never, {}, {}, never, never, true, never>;
849
+
850
+ declare class InputDateWithEditComponent<T> extends InputBaseComponent<T> implements OnDestroy {
851
+ private _subscriptions;
852
+ ngOnDestroy(): void;
853
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDateWithEditComponent<any>, never>;
854
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputDateWithEditComponent<any>, "smart-input-date-with-edit", never, {}, {}, never, never, true, never>;
871
855
  }
872
856
 
873
- declare class DetailAttachmentComponent<T extends IEntity<string> | undefined> extends DetailBaseComponent<T> {
874
- private fileService;
875
- getButtonOptions(item: T): IButtonOptions;
876
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailAttachmentComponent<any>, never>;
877
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailAttachmentComponent<any>, "smart-detail-attachment", never, {}, {}, never, never, true, never>;
857
+ declare class InputDateComponent<T> extends InputBaseComponent<T> implements OnInit {
858
+ private hardwareService;
859
+ get isMobile(): boolean;
860
+ ngOnInit(): void;
861
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDateComponent<any>, never>;
862
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputDateComponent<any>, "smart-input-date", never, {}, {}, never, never, true, never>;
878
863
  }
879
864
 
880
- declare class DetailDateRangeComponent<T extends {
881
- [key: string]: any;
882
- } | undefined> extends DetailBaseComponent<T> {
883
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailDateRangeComponent<any>, never>;
884
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailDateRangeComponent<any>, "smart-detail-date-range", never, {}, {}, never, never, true, never>;
865
+ declare class InputEmailComponent<T> extends InputBaseComponent<T> {
866
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputEmailComponent<any>, never>;
867
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputEmailComponent<any>, "smart-input-email", never, {}, {}, never, never, true, never>;
885
868
  }
886
869
 
887
- declare class DetailImageComponent<T extends {
888
- [key: string]: any;
889
- } | undefined> extends DetailBaseComponent<T> {
890
- private fileService;
891
- imageUrl: Signal<string | null>;
870
+ declare class InputEnumComponent<T> extends InputBaseComponent<T> {
871
+ value: Array<string>;
892
872
  protected afterSetOptionsHandler(): void;
893
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailImageComponent<any>, never>;
894
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailImageComponent<any>, "smart-detail-image", never, {}, {}, never, never, true, never>;
873
+ checked(item: string): boolean;
874
+ change(item: string): void;
875
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputEnumComponent<any>, never>;
876
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputEnumComponent<any>, "smart-input-enum", never, {}, {}, never, never, true, never>;
895
877
  }
896
878
 
897
- declare class DetailPhoneNumberPlComponent<T> extends DetailBaseComponent<T> {
898
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailPhoneNumberPlComponent<any>, never>;
899
- static ɵcmp: i0.ɵɵComponentDeclaration<DetailPhoneNumberPlComponent<any>, "smart-detail-phone-number-pl", never, {}, {}, never, never, true, never>;
879
+ declare class InputErrorComponent {
880
+ errors: i0.InputSignal<any>;
881
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputErrorComponent, never>;
882
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputErrorComponent, "smart-input-error", never, { "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
900
883
  }
901
884
 
902
- declare class InfoComponent {
903
- text: i0.InputSignal<string>;
904
- onClick(ev: any): Promise<void>;
905
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoComponent, never>;
906
- static ɵcmp: i0.ɵɵComponentDeclaration<InfoComponent, "smart-info", never, { "text": { "alias": "text"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
885
+ /**
886
+ * @example
887
+ *
888
+ * set accepts (possibilities property):
889
+ * - @Field({
890
+ create: {
891
+ ...modifyMetdata,
892
+ required: false
893
+ },
894
+ update: {
895
+ ...modifyMetdata,
896
+ required: false,
897
+ multi: true
898
+ },
899
+ type: FieldType.image,
900
+ details: true,
901
+ possibilities: '.jpg',
902
+ list: { order: 1 }
903
+ })
904
+ */
905
+ declare class InputFileComponent<T> extends InputBaseComponent<T> {
906
+ addButtonOptions: {
907
+ click: () => void;
908
+ };
909
+ inputElementRef: i0.Signal<ElementRef<any> | undefined>;
910
+ changeListener($event: any): void;
911
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputFileComponent<any>, never>;
912
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputFileComponent<any>, "smart-input-file", never, {}, {}, never, never, true, never>;
907
913
  }
908
- declare class InfoModalComponent {
909
- text: string;
910
- constructor();
911
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoModalComponent, never>;
912
- static ɵcmp: i0.ɵɵComponentDeclaration<InfoModalComponent, "smart-info-modal", never, {}, {}, never, never, true, never>;
914
+
915
+ declare class InputFlagComponent<T> extends InputBaseComponent<T> {
916
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputFlagComponent<any>, never>;
917
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputFlagComponent<any>, "smart-input-flag", never, {}, {}, never, never, true, never>;
913
918
  }
914
919
 
915
- declare abstract class ListBaseComponent<T extends IEntity<string>> {
916
- static smartType: DynamicComponentType;
917
- private _fields;
918
- protected provider: IListProvider<T>;
919
- protected authService: AuthService;
920
- protected router: Router;
921
- protected alertService: AlertService;
922
- protected cd: ChangeDetectorRef;
923
- protected translateService: TranslateService;
924
- detailsComponent: any;
925
- selectMode?: 'multi';
926
- detailsComponentProps: IDetailsOptions<T>;
927
- select: (id: string) => void;
928
- unselect: () => void;
929
- itemHandler: ((id: string) => void) | null;
930
- removeHandler: ((item: T) => void) | null;
931
- checkRemoveHandler: (item: T) => boolean;
932
- detailsButtonOptions: IButtonOptions;
933
- removed: Set<string>;
934
- keys: Array<string>;
935
- cellPipe: ICellPipe<T> | null;
936
- loadPrevPage: ((event?: any) => void) | null;
937
- loadNextPage: ((event?: any) => void) | null;
938
- list: Signal<CdkTableDataSourceInput<T> | null>;
939
- loading: Signal<boolean>;
940
- page: Signal<number | null>;
941
- totalPages: Signal<number | null>;
920
+ declare class InputComponent<T> implements OnInit {
921
+ private componentFactoryResolver;
922
+ private injector;
923
+ status: any;
924
+ fieldOptions: IFieldOptions | undefined;
942
925
  FieldType: typeof _smartsoft001_models.FieldTypeDef;
943
- PaginationMode: typeof PaginationMode;
944
- type: Type<T>;
945
- sort: boolean | {
946
- default?: string;
947
- defaultDesc?: boolean;
948
- };
949
- options: i0.InputSignal<IListInternalOptions<T>>;
950
- contentTpl: Signal<ViewContainerRef | undefined>;
926
+ componentRef: i0.Signal<ViewContainerRef | undefined>;
927
+ options: i0.InputSignal<InputOptions<T> | undefined>;
951
928
  constructor();
952
- protected initKeys(data?: Array<T> | null): void;
953
- protected initList(val: IListInternalOptions<T>): void;
954
- protected initLoading(): void;
955
- protected afterInitOptions(): void;
956
- static ɵfac: i0.ɵɵFactoryDeclaration<ListBaseComponent<any>, never>;
957
- static ɵdir: i0.ɵɵDirectiveDeclaration<ListBaseComponent<any>, never, never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
958
- }
959
-
960
- declare const ListComponent_base: new () => IDynamicComponent<ListBaseComponent<any>>;
961
- declare class ListComponent<T extends IEntity<string>> extends ListComponent_base {
962
- private hardwareService;
963
- private _options;
964
- mode: Signal<ListMode>;
965
- ListMode: typeof ListMode;
966
- options: i0.InputSignal<IListOptions<T>>;
967
- get internalOptions(): IListInternalOptions<T>;
968
- contentTpl: Signal<TemplateRef<any> | undefined>;
969
- dynamicContents: Signal<readonly DynamicContentDirective[]>;
970
- constructor(hardwareService: HardwareService);
971
- refreshProperties(): void;
972
- private initFields;
973
- private initModel;
974
- static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent<any>, never>;
975
- static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent<any>, "smart-list", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
929
+ oSetValue($event: any): void;
930
+ ngOnInit(): Promise<void>;
931
+ private initStyles;
932
+ private initCustomComponent;
933
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent<any>, never>;
934
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent<any>, "smart-input", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
976
935
  }
977
936
 
978
- declare class ListMobileComponent<T extends IEntity<string>> extends ListBaseComponent<T> implements AfterViewInit {
979
- listMobile: Signal<T[]>;
980
- componentFactories: IListComponentFactories<T> | null;
981
- topTpl: Signal<ViewContainerRef | undefined>;
982
- protected initList(val: IListInternalOptions<T>): void;
983
- ngAfterViewInit(): void;
984
- private generateDynamicComponents;
985
- static ɵfac: i0.ɵɵFactoryDeclaration<ListMobileComponent<any>, never>;
986
- static ɵcmp: i0.ɵɵComponentDeclaration<ListMobileComponent<any>, "smart-list-mobile", never, {}, {}, never, never, true, never>;
937
+ declare class InputIntComponent<T> extends InputBaseComponent<T> {
938
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputIntComponent<any>, never>;
939
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputIntComponent<any>, "smart-input-int", never, {}, {}, never, never, true, never>;
987
940
  }
988
941
 
989
- declare class ListDesktopComponent<T extends IEntity<string>> extends ListBaseComponent<T> implements OnInit, OnDestroy, AfterViewInit {
990
- private _subscriptions;
991
- private _multiSelected;
992
- desktopList: Signal<T[]>;
993
- componentFactories: IListComponentFactories<T> | null;
994
- get desktopKeys(): Array<string> | null;
995
- topTpl: Signal<ViewContainerRef | undefined>;
996
- protected initList(val: IListInternalOptions<T>): void;
997
- onChangeMultiselect(checked: boolean, element: T, list: T[]): void;
998
- myTrackById(val: any): any;
999
- ngAfterViewInit(): void;
942
+ declare class InputLongTextComponent<T> extends InputBaseComponent<T> implements OnInit, OnDestroy {
943
+ private translateService;
944
+ hardwareService: HardwareService;
945
+ editor: Editor;
946
+ toolbar: Toolbar;
947
+ placeholder: string;
1000
948
  ngOnInit(): void;
1001
949
  ngOnDestroy(): void;
1002
- private generateDynamicComponents;
1003
- protected readonly Object: ObjectConstructor;
1004
- static ɵfac: i0.ɵɵFactoryDeclaration<ListDesktopComponent<any>, never>;
1005
- static ɵcmp: i0.ɵɵComponentDeclaration<ListDesktopComponent<any>, "smart-list-desktop", never, {}, {}, never, never, true, never>;
950
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputLongTextComponent<any>, never>;
951
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputLongTextComponent<any>, "smart-input-long-text", never, {}, {}, never, never, true, never>;
1006
952
  }
1007
953
 
1008
- declare class ListMasonryGridComponent<T extends IEntity<string>> extends ListBaseComponent<T> implements AfterViewInit {
1009
- componentFactories: IListComponentFactories<T> | null;
1010
- listWithImages: Signal<{
1011
- data: T;
1012
- image: any;
954
+ declare class InputNipComponent<T> extends InputBaseComponent<T> {
955
+ afterSetOptionsHandler(): void;
956
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputNipComponent<any>, never>;
957
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputNipComponent<any>, "smart-input-nip", never, {}, {}, never, never, true, never>;
958
+ }
959
+
960
+ declare class InputObjectComponent<T, TChild> extends InputBaseComponent<T> {
961
+ formComponent: any;
962
+ childOptions: IFormOptions<TChild>;
963
+ protected afterSetOptionsHandler(): void;
964
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputObjectComponent<any, any>, never>;
965
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputObjectComponent<any, any>, "smart-input-object", never, {}, {}, never, never, true, never>;
966
+ }
967
+
968
+ declare class InputPasswordComponent<T> extends InputBaseComponent<T> {
969
+ valid: boolean;
970
+ focus: boolean;
971
+ afterSetOptionsHandler(): void;
972
+ onChangePasswordStrength(valid: boolean): void;
973
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPasswordComponent<any>, never>;
974
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputPasswordComponent<any>, "smart-input-password", never, {}, {}, never, never, true, never>;
975
+ }
976
+
977
+ declare abstract class InputPossibilitiesBaseComponent<T> extends InputBaseComponent<T> {
978
+ private modelPossibilitiesProvider;
979
+ protected afterSetOptionsHandler(): void;
980
+ protected getPossibilitiesFromProvider(): WritableSignal<{
981
+ id: any;
982
+ text: string;
983
+ checked: boolean;
1013
984
  }[] | null>;
1014
- topTpl: Signal<ViewContainerRef | undefined>;
1015
- ngAfterViewInit(): void;
1016
- protected afterInitOptions(): void;
1017
- protected initList(val: IListInternalOptions<T>): void;
1018
- private generateDynamicComponents;
1019
- protected readonly Object: ObjectConstructor;
1020
- static ɵfac: i0.ɵɵFactoryDeclaration<ListMasonryGridComponent<any>, never>;
1021
- static ɵcmp: i0.ɵɵComponentDeclaration<ListMasonryGridComponent<any>, "smart-list-masonry-grid", never, {}, {}, never, never, true, never>;
985
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPossibilitiesBaseComponent<any>, never>;
986
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InputPossibilitiesBaseComponent<any>, never, never, {}, {}, never, never, true, never>;
987
+ }
988
+
989
+ declare class InputRadioComponent<T> extends InputPossibilitiesBaseComponent<T> {
990
+ protected afterSetOptionsHandler(): void;
991
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputRadioComponent<any>, never>;
992
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputRadioComponent<any>, "smart-input-radio", never, {}, {}, never, never, true, never>;
993
+ }
994
+
995
+ declare class InputStringsComponent<T> extends InputBaseComponent<T> {
996
+ private fb;
997
+ list: Array<UntypedFormControl>;
998
+ afterSetOptionsHandler(): void;
999
+ onItemChange(): void;
1000
+ private refresh;
1001
+ private add;
1002
+ removeItem(item: UntypedFormControl): void;
1003
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputStringsComponent<any>, never>;
1004
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputStringsComponent<any>, "smart-input-strings", never, {}, {}, never, never, true, never>;
1022
1005
  }
1023
1006
 
1024
- declare class LoaderComponent {
1025
- readonly show: InputSignal<boolean>;
1026
- readonly height: InputSignal<string | null>;
1027
- static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
1028
- static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "smart-loader", never, { "show": { "alias": "show"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1007
+ declare class InputTextComponent<T> extends InputBaseComponent<T> {
1008
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent<any>, never>;
1009
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent<any>, "smart-input-text", never, {}, {}, never, never, true, never>;
1029
1010
  }
1030
1011
 
1031
- declare class PagingComponent {
1032
- readonly page: InputSignal<number | null>;
1033
- readonly totalPages: InputSignal<number | null>;
1034
- nextPage: OutputEmitterRef<void>;
1035
- prevPage: OutputEmitterRef<void>;
1036
- static ɵfac: i0.ɵɵFactoryDeclaration<PagingComponent, never>;
1037
- static ɵcmp: i0.ɵɵComponentDeclaration<PagingComponent, "smart-paging", never, { "page": { "alias": "page"; "required": false; "isSignal": true; }; "totalPages": { "alias": "totalPages"; "required": false; "isSignal": true; }; }, { "nextPage": "nextPage"; "prevPage": "prevPage"; }, never, never, true, never>;
1012
+ declare class InputLogoComponent<T> extends InputBaseComponent<T> {
1013
+ set(inputFile: HTMLInputElement): void;
1014
+ clear(): void;
1015
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputLogoComponent<any>, never>;
1016
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputLogoComponent<any>, "smart-input-logo", never, {}, {}, never, never, true, never>;
1038
1017
  }
1039
1018
 
1040
- declare class SearchbarComponent implements OnDestroy, AfterViewInit {
1041
- private _subscriptions;
1042
- control: WritableSignal<UntypedFormControl>;
1043
- show: i0.ModelSignal<boolean>;
1044
- text: i0.ModelSignal<string>;
1045
- constructor();
1046
- setShow(): Promise<void>;
1047
- tryHide(): void;
1048
- ngAfterViewInit(): void;
1049
- ngOnDestroy(): void;
1050
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchbarComponent, never>;
1051
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchbarComponent, "smart-searchbar", never, { "show": { "alias": "show"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": true; "isSignal": true; }; }, { "show": "showChange"; "text": "textChange"; }, never, never, true, never>;
1019
+ declare class InputCheckComponent<T> extends InputPossibilitiesBaseComponent<T> {
1020
+ possibilities: WritableSignal<Array<{
1021
+ id: any;
1022
+ text: string;
1023
+ checked: boolean;
1024
+ }> | null>;
1025
+ protected afterSetOptionsHandler(): void;
1026
+ refresh(item: {
1027
+ id: any;
1028
+ text: string;
1029
+ checked: boolean;
1030
+ }): void;
1031
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputCheckComponent<any>, never>;
1032
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputCheckComponent<any>, "smart-input-check", never, {}, {}, never, never, true, never>;
1052
1033
  }
1053
1034
 
1054
- declare class DateEditComponent implements ControlValueAccessor {
1055
- private cd;
1056
- DEFAULT_DATE: string;
1057
- get d1(): string | null;
1058
- set d1(val: string);
1059
- get d2(): string | null;
1060
- set d2(val: string);
1061
- get m1(): string | null;
1062
- set m1(val: string);
1063
- get m2(): string | null;
1064
- set m2(val: string);
1065
- get y1(): string | null;
1066
- set y1(val: string);
1067
- get y2(): string | null;
1068
- set y2(val: string);
1069
- get y3(): string | null;
1070
- set y3(val: string);
1071
- get y4(): string | null;
1072
- set y4(val: string);
1073
- ngModel: i0.ModelSignal<string>;
1074
- validDate: boolean;
1075
- propagateChange: (val: any) => void;
1076
- propagateTouched: () => void;
1077
- validChange: i0.OutputEmitterRef<boolean>;
1078
- writeValue(value: any): void;
1079
- registerOnChange(fn: any): void;
1080
- registerOnTouched(fn: any): void;
1081
- private setValueAt;
1082
- private setCharAt;
1083
- static ɵfac: i0.ɵɵFactoryDeclaration<DateEditComponent, never>;
1084
- static ɵcmp: i0.ɵɵComponentDeclaration<DateEditComponent, "smart-date-edit", never, { "ngModel": { "alias": "ngModel"; "required": false; "isSignal": true; }; }, { "ngModel": "ngModelChange"; "validChange": "validChange"; }, never, never, true, never>;
1035
+ declare class InputIntsComponent<T> extends InputBaseComponent<T> {
1036
+ private fb;
1037
+ list: Array<UntypedFormControl>;
1038
+ afterSetOptionsHandler(): void;
1039
+ onItemChange(): void;
1040
+ private refresh;
1041
+ private add;
1042
+ removeItem(item: UntypedFormControl): void;
1043
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputIntsComponent<any>, never>;
1044
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputIntsComponent<any>, "smart-input-ints", never, {}, {}, never, never, true, never>;
1085
1045
  }
1086
1046
 
1087
- declare class DateRangeComponent implements ControlValueAccessor {
1088
- private cd;
1089
- value: IDateRange | undefined;
1090
- propagateChange: (val: any) => void;
1091
- propagateTouched: () => void;
1092
- ngModel: i0.ModelSignal<IDateRange | undefined>;
1093
- calendarData: CalendarState;
1094
- constructor();
1095
- onClick(): Promise<void>;
1096
- writeValue(value: any): void;
1097
- registerOnChange(fn: any): void;
1098
- registerOnTouched(fn: any): void;
1099
- onClear(): void;
1100
- static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeComponent, never>;
1101
- static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "smart-date-range", never, { "ngModel": { "alias": "ngModel"; "required": false; "isSignal": true; }; }, { "ngModel": "ngModelChange"; }, never, never, true, never>;
1102
- }
1103
- declare const enum FilterBtnConstants {
1104
- empthyString = "",
1105
- today = "Today",
1106
- yesterday = "Yesterday",
1107
- lastSevenDays = "LastSevenDays",
1108
- lastThirtyDays = "LastThirtyDays",
1109
- thisMonth = "ThisMonth",
1110
- lastMonth = "LastMonth"
1047
+ declare class InputPhoneNumberComponent<T> extends InputBaseComponent<T> {
1048
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPhoneNumberComponent<any>, never>;
1049
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputPhoneNumberComponent<any>, "smart-input-phone-number", never, {}, {}, never, never, true, never>;
1111
1050
  }
1112
- interface SubjectType {
1113
- date: moment__default.Moment;
1114
- event: any;
1051
+
1052
+ declare class InputPeselComponent<T> extends InputBaseComponent<T> {
1053
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPeselComponent<any>, never>;
1054
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputPeselComponent<any>, "smart-input-pesel", never, {}, {}, never, never, true, never>;
1115
1055
  }
1116
- interface CalendarState {
1117
- dateFrom: moment__default.Moment;
1118
- dateTo: moment__default.Moment;
1119
- scrollPosition: number;
1120
- selectedButtonName: FilterBtnConstants;
1056
+
1057
+ declare class InputArrayComponent<T, TChild> extends InputBaseComponent<T> {
1058
+ childOptions: Array<IFormOptions<TChild>>;
1059
+ formComponent: any;
1060
+ private factory;
1061
+ addButtonOptions: IButtonOptions;
1062
+ FieldType: typeof _smartsoft001_models.FieldTypeDef;
1063
+ protected afterSetOptionsHandler(): void;
1064
+ onRemove(index: number): void;
1065
+ private initData;
1066
+ drop(event: CdkDragDrop<T, any>): void;
1067
+ private getOptions;
1068
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputArrayComponent<any, any>, never>;
1069
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputArrayComponent<any, any>, "smart-input-array", never, {}, {}, never, never, true, never>;
1121
1070
  }
1122
- declare class DateRangeModalComponent implements OnInit, AfterContentInit {
1123
- private fb;
1124
- private uiService;
1125
- private changeDetectionRef;
1126
- private calendarService;
1127
- private zone;
1128
- private styleService;
1129
- private elementRef;
1130
- showFilterBtns: i0.InputSignal<boolean>;
1131
- restrictSelectionTo: i0.InputSignal<number>;
1132
- currentDate: any;
1133
- dateForm: UntypedFormGroup;
1134
- calendar: month[];
1135
- selectedButtonName: FilterBtnConstants;
1136
- scrollPositionValue: number;
1137
- valueTop: number;
1138
- previousState: CalendarState;
1139
- subject$: Subject<SubjectType>;
1140
- subjectSubscription: Subscription;
1141
- constructor();
1142
- private initDateRangeForm;
1143
- get datesRefGroup(): UntypedFormGroup;
1071
+
1072
+ declare abstract class InputFileBaseComponent<T> extends InputBaseComponent<T> implements OnInit {
1073
+ protected renderer: Renderer2;
1074
+ protected fileService: FileService;
1075
+ protected toastService: ToastService;
1076
+ protected translateService: TranslateService;
1077
+ valid: boolean;
1078
+ oldId: number;
1079
+ file: File | null;
1080
+ loading: WritableSignal<boolean>;
1081
+ percent: Signal<number | undefined>;
1082
+ addButtonOptions: IButtonOptions;
1083
+ showButtonOptions: IButtonOptions;
1084
+ deleteButtonOptions: IButtonOptions;
1085
+ inputElementRef: Signal<ElementRef<any> | undefined>;
1144
1086
  ngOnInit(): void;
1145
- ngAfterContentInit(): void;
1146
- private setPreviousStateData;
1147
- noop(): void;
1148
- when: (cond: boolean, fn: () => void) => void;
1149
- setStartDate: (date: moment__default.Moment, formattedDate: string) => void;
1150
- setEndDate: (date: moment__default.Moment, formattedDate: string) => void;
1151
- resetDates: () => void;
1152
- canSelectionBeRestricted: () => boolean;
1153
- showRestrictSelectionAlertAndResetDates: () => void;
1154
- isSelectionInRestrictedRange(): boolean;
1155
- private formatDate;
1156
- isInRange(day: moment__default.Moment): boolean;
1157
- isSelectionStart(day: moment__default.Moment): boolean;
1158
- isSelectionEnd(day: moment__default.Moment): boolean;
1159
- isStartAndEndDateSame(): boolean;
1160
- selectThisMonth(): void;
1161
- selectLastMonth(): void;
1162
- selectLastThirtyDays(): void;
1163
- selectLastSevenDays(): void;
1164
- private filterSelectionByDaysAgo;
1165
- selectYesterday(): void;
1166
- selectToday(): void;
1167
- private scrollToBottom;
1168
- dismissPage(): void;
1169
- private unsubscribe;
1170
- applyDates(): void;
1171
- loadDataNext(event: any): void;
1172
- loadDataPrev(event: any): void;
1173
- static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeModalComponent, never>;
1174
- static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeModalComponent, "smart-date-range-modal", never, { "showFilterBtns": { "alias": "showFilterBtns"; "required": false; "isSignal": true; }; "restrictSelectionTo": { "alias": "restrictSelectionTo"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1087
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputFileBaseComponent<any>, never>;
1088
+ static ɵdir: i0.ɵɵDirectiveDeclaration<InputFileBaseComponent<any>, never, never, {}, {}, never, never, true, never>;
1175
1089
  }
1176
1090
 
1177
- declare class PasswordStrengthComponent implements OnChanges {
1178
- private _colors;
1179
- bar0: string;
1180
- bar1: string;
1181
- bar2: string;
1182
- msg: string;
1183
- msgColor: string;
1184
- result: {
1185
- lowerLetters: boolean;
1186
- upperLetters: boolean;
1187
- symbols: boolean;
1188
- passLength: boolean;
1189
- };
1190
- passwordToCheck: i0.InputSignal<string>;
1191
- showHint: i0.InputSignal<boolean>;
1192
- passwordStrength: i0.OutputEmitterRef<boolean>;
1193
- checkStrength(p?: string): number;
1194
- ngOnChanges(changes: {
1195
- [propName: string]: SimpleChange;
1196
- }): Promise<void>;
1197
- private getColor;
1198
- private setBarColors;
1199
- static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthComponent, never>;
1200
- static ɵcmp: i0.ɵɵComponentDeclaration<PasswordStrengthComponent, "smart-password-strength", never, { "passwordToCheck": { "alias": "passwordToCheck"; "required": true; "isSignal": true; }; "showHint": { "alias": "showHint"; "required": true; "isSignal": true; }; }, { "passwordStrength": "passwordStrength"; }, never, never, true, never>;
1091
+ declare class InputPdfComponent<T> extends InputFileBaseComponent<T> implements OnInit {
1092
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPdfComponent<any>, never>;
1093
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputPdfComponent<any>, "smart-input-pdf", never, {}, {}, never, never, true, never>;
1201
1094
  }
1202
1095
 
1203
- type IStyle = Record<string, string | undefined>;
1096
+ declare class InputVideoComponent<T> extends InputFileBaseComponent<T> implements OnInit {
1097
+ url: string | null;
1098
+ play: boolean;
1099
+ playButtonOptions: IButtonOptions;
1100
+ protected afterSetOptionsHandler(): void;
1101
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputVideoComponent<any>, never>;
1102
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputVideoComponent<any>, "smart-input-video", never, {}, {}, never, never, true, never>;
1103
+ }
1204
1104
 
1205
- interface IAppOptions {
1206
- provider: IAppProvider;
1207
- logo?: string;
1208
- menu?: {
1209
- showForAnonymous?: boolean;
1210
- items?: IMenuItem[];
1211
- };
1212
- style?: IStyle;
1105
+ declare class InputAttachmentComponent<T> extends InputFileBaseComponent<T> implements OnInit {
1106
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputAttachmentComponent<any>, never>;
1107
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputAttachmentComponent<any>, "smart-input-attachment", never, {}, {}, never, never, true, never>;
1213
1108
  }
1214
- interface ICardOptions {
1215
- title?: string;
1216
- buttons?: Array<IIconButtonOptions>;
1109
+
1110
+ declare class InputDateRangeComponent<T> extends InputBaseComponent<T> {
1111
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDateRangeComponent<any>, never>;
1112
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputDateRangeComponent<any>, "smart-input-date-range", never, {}, {}, never, never, true, never>;
1217
1113
  }
1218
- interface IIconButtonOptions {
1219
- icon: string;
1220
- text?: string;
1221
- handler?: () => void;
1222
- component?: any;
1223
- type?: 'default' | 'popover';
1224
- disabled$?: Observable<boolean>;
1225
- number?: number;
1114
+
1115
+ declare class InputImageComponent<T> extends InputFileBaseComponent<T> implements OnInit {
1116
+ imageUrl: any;
1117
+ ngOnInit(): void;
1118
+ private initImage;
1119
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputImageComponent<any>, never>;
1120
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputImageComponent<any>, "smart-input-image", never, {}, {}, never, never, true, never>;
1226
1121
  }
1227
- type DynamicComponentType = 'form' | 'page' | 'button' | 'details' | 'list' | 'crud-list-page' | 'crud-item-page';
1228
- interface IDynamicComponentData {
1229
- key: DynamicComponentType;
1230
- component: Type<any>;
1231
- data?: any;
1122
+
1123
+ declare class InputFloatComponent<T> extends InputBaseComponent<T> {
1124
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputFloatComponent<any>, never>;
1125
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputFloatComponent<any>, "smart-input-float", never, {}, {}, never, never, true, never>;
1232
1126
  }
1233
- interface IFormOptions<T> {
1234
- model: T;
1235
- show: boolean;
1236
- treeLevel?: number;
1237
- control?: AbstractControl;
1238
- mode?: 'create' | 'update' | string;
1239
- loading$?: Observable<boolean>;
1240
- uniqueProvider?: (values: Record<keyof T, any>) => Promise<boolean>;
1241
- possibilities?: {
1127
+
1128
+ declare class InputPhoneNumberPlComponent<T> extends InputBaseComponent<T> {
1129
+ afterSetOptionsHandler(): void;
1130
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputPhoneNumberPlComponent<any>, never>;
1131
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputPhoneNumberPlComponent<any>, "smart-input-phone-number-pl", never, {}, {}, never, never, true, never>;
1132
+ }
1133
+
1134
+ declare abstract class FormBaseComponent<T> extends BaseComponent {
1135
+ protected cd: ChangeDetectorRef;
1136
+ static smartType: DynamicComponentType;
1137
+ private _fields;
1138
+ private _subscription;
1139
+ private _model;
1140
+ private _possibilities;
1141
+ private _inputComponents;
1142
+ mode: string;
1143
+ treeLevel: number | undefined;
1144
+ get fields(): Array<string>;
1145
+ get model(): any;
1146
+ get possibilities(): {
1242
1147
  [key: string]: WritableSignal<{
1243
1148
  id: any;
1244
1149
  text: string;
1245
1150
  checked: boolean;
1246
1151
  }[]>;
1247
1152
  };
1248
- inputComponents?: {
1153
+ get inputComponents(): {
1249
1154
  [key: string]: Type<InputBaseComponent<T>>;
1250
1155
  };
1251
- fieldOptions?: IFieldOptions;
1252
- modelOptions?: IModelOptions;
1253
- }
1254
- type InputOptions<T> = IInputOptions & IInputFromFieldOptions<T>;
1255
- interface IInputOptions {
1256
- treeLevel: number;
1257
- control: UntypedFormControl | UntypedFormArray;
1258
- possibilities?: WritableSignal<{
1259
- id: any;
1260
- text: string;
1261
- checked: boolean;
1262
- }[]>;
1263
- component?: Type<InputBaseComponent<any>>;
1264
- }
1265
- interface IInputFromFieldOptions<T> {
1266
- model: T;
1267
- fieldKey: string;
1268
- mode?: 'create' | 'update' | string;
1269
- }
1270
- interface IDetailsComponentFactories<T> {
1271
- top?: ComponentFactory<any>;
1272
- bottom?: ComponentFactory<any>;
1273
- }
1274
- interface IDetailsOptions<T extends IEntity<string>> {
1275
- title?: string;
1276
- cellPipe?: ICellPipe<T>;
1277
- type: any;
1278
- item: Signal<T>;
1279
- loading?: Signal<boolean>;
1280
- itemHandler?: ((id: string) => void) | null;
1281
- removeHandler?: ((item: T) => void) | null;
1282
- componentFactories?: IDetailsComponentFactories<T>;
1283
- }
1284
- interface IMenuItem {
1285
- mode?: 'divider' | 'default';
1286
- route?: string;
1287
- click?: (arg0: IMenuItem) => void;
1288
- caption?: string;
1289
- component?: any;
1290
- icon?: string;
1291
- infos?: Array<{
1292
- text: string;
1293
- }>;
1156
+ form: i0.InputSignal<UntypedFormGroup>;
1157
+ options: i0.InputSignal<IFormOptions<T>>;
1158
+ invokeSubmit: i0.OutputEmitterRef<any>;
1159
+ contentTpl: i0.Signal<ViewContainerRef | undefined>;
1160
+ constructor();
1161
+ submit(): void;
1162
+ protected afterSetOptions(): void;
1163
+ protected afterSetForm(): void;
1164
+ getUntypedFormControl(field: string): UntypedFormControl;
1165
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormBaseComponent<any>, never>;
1166
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormBaseComponent<any>, never, never, { "form": { "alias": "form"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; }, { "invokeSubmit": "invokeSubmit"; }, never, never, true, never>;
1294
1167
  }
1295
- interface IButtonOptions {
1296
- type?: 'submit' | 'button';
1297
- expand?: 'block' | 'full' | undefined;
1298
- confirm?: boolean;
1299
- color?: 'primary' | 'light' | string;
1300
- click: () => void;
1301
- loading?: Signal<boolean>;
1168
+
1169
+ declare const FormComponent_base: new () => IDynamicComponent<FormBaseComponent<any>>;
1170
+ declare class FormComponent<T> extends FormComponent_base implements OnDestroy {
1171
+ exportProvider: IModelExportProvider | null;
1172
+ importProvider: IModelImportProvider | null;
1173
+ private formFactory;
1174
+ private cd;
1175
+ private elementRef;
1176
+ private _options;
1177
+ private _subscription;
1178
+ private _mode;
1179
+ private _uniqueProvider;
1180
+ form: SmartFormGroup;
1181
+ type: 'standard' | 'custom';
1182
+ export: boolean;
1183
+ exportHandler: (val: any) => void;
1184
+ import: boolean;
1185
+ importAccept: string | undefined;
1186
+ customTpl: Signal<ViewContainerRef | undefined>;
1187
+ options: i0.InputSignal<IFormOptions<T>>;
1188
+ invokeSubmit: i0.OutputEmitterRef<void>;
1189
+ valueChange: i0.OutputEmitterRef<T>;
1190
+ valuePartialChange: i0.OutputEmitterRef<Partial<T>>;
1191
+ validChange: i0.OutputEmitterRef<boolean>;
1192
+ contentTpl: Signal<TemplateRef<any> | undefined>;
1193
+ dynamicContents: Signal<readonly DynamicContentDirective[]>;
1194
+ constructor();
1195
+ onSetValue(file: File): Promise<void>;
1196
+ refreshProperties(): void;
1197
+ ngOnDestroy(): void;
1198
+ private initLoading;
1199
+ private registerChanges;
1200
+ private initType;
1201
+ private initExportImport;
1202
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent<any>, never>;
1203
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent<any>, "smart-form", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, { "invokeSubmit": "invokeSubmit"; "valueChange": "valueChange"; "valuePartialChange": "valuePartialChange"; "validChange": "validChange"; }, never, never, true, never>;
1302
1204
  }
1303
- interface IDetailOptions<T> {
1304
- key: string;
1305
- item?: Signal<T>;
1306
- options: IFieldOptions;
1307
- cellPipe?: ICellPipe<T>;
1308
- loading?: Signal<boolean>;
1205
+
1206
+ declare class FormStandardComponent<T> extends FormBaseComponent<T> {
1207
+ get__smartDisabled(field: string): any;
1208
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormStandardComponent<any>, never>;
1209
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormStandardComponent<any>, "smart-form-standard", never, {}, {}, never, never, true, never>;
1309
1210
  }
1310
- interface ICellPipe<T> extends PipeTransform {
1311
- transform(value: T, columnName: string, translate?: (val: string) => string): string;
1211
+
1212
+ declare class ExportComponent {
1213
+ value: i0.InputSignal<any>;
1214
+ fileName: i0.InputSignal<string | undefined>;
1215
+ handler: i0.InputSignal<(value: any) => void>;
1216
+ onClick(): Promise<void>;
1217
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExportComponent, never>;
1218
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExportComponent, "smart-export", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "fileName": { "alias": "fileName"; "required": false; "isSignal": true; }; "handler": { "alias": "handler"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1312
1219
  }
1313
- interface IPageOptions {
1314
- title: string;
1315
- hideHeader?: boolean;
1316
- hideMenuButton?: boolean;
1317
- showBackButton?: boolean;
1318
- endButtons?: Array<IIconButtonOptions>;
1319
- search?: {
1320
- text: Signal<string>;
1321
- set: (txt: string) => void;
1322
- };
1220
+
1221
+ declare class ImportComponent implements AfterViewInit {
1222
+ private renderer;
1223
+ accept: i0.InputSignal<string | undefined>;
1224
+ set: i0.OutputEmitterRef<File>;
1225
+ inputElementRef: i0.Signal<ElementRef<any> | undefined>;
1226
+ constructor(renderer: Renderer2);
1227
+ onClick(): Promise<void>;
1228
+ ngAfterViewInit(): void;
1229
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImportComponent, never>;
1230
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImportComponent, "smart-import", never, { "accept": { "alias": "accept"; "required": false; "isSignal": true; }; }, { "set": "set"; }, never, never, true, never>;
1323
1231
  }
1324
- interface IListProvider<T> {
1325
- getData: (filter: any) => void;
1326
- onChangeMultiSelected?: (list: Array<T>) => void;
1327
- onCleanMultiSelected$?: Observable<void>;
1328
- list: Signal<T[]>;
1329
- loading: Signal<boolean>;
1232
+
1233
+ declare abstract class PageBaseComponent implements OnInit, OnDestroy {
1234
+ private el;
1235
+ private renderer;
1236
+ private location;
1237
+ appService: AppService;
1238
+ hardwareService: HardwareService;
1239
+ static smartType: DynamicComponentType;
1240
+ options: i0.InputSignal<IPageOptions>;
1241
+ private _subscriptions;
1242
+ get isMobile(): boolean;
1243
+ contentTpl: i0.Signal<ViewContainerRef | TemplateRef<any> | undefined>;
1244
+ back(): void;
1245
+ presentPopover(ev: any, btn: IIconButtonOptions): Promise<void>;
1246
+ ngOnInit(): void;
1247
+ ngOnDestroy(): void;
1248
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageBaseComponent, never>;
1249
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PageBaseComponent, never, never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1330
1250
  }
1331
- interface IListPaginationOptions {
1332
- mode?: PaginationMode;
1333
- limit: number;
1334
- loadNextPage: () => Promise<boolean>;
1335
- loadPrevPage: () => Promise<boolean>;
1336
- page: Signal<number>;
1337
- totalPages: Signal<number>;
1251
+
1252
+ declare class PageStandardComponent extends PageBaseComponent {
1253
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageStandardComponent, never>;
1254
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageStandardComponent, "smart-page-standard", never, {}, {}, never, ["*"], true, never>;
1338
1255
  }
1339
- declare enum PaginationMode {
1340
- infiniteScroll = "infiniteScroll",
1341
- singlePage = "singlePage"
1256
+
1257
+ declare const PageComponent_base: new () => IDynamicComponent<PageBaseComponent>;
1258
+ declare class PageComponent extends PageComponent_base implements OnInit {
1259
+ private el;
1260
+ private renderer;
1261
+ options: i0.InputSignal<IPageOptions>;
1262
+ contentTpl: i0.Signal<TemplateRef<any> | undefined>;
1263
+ dynamicContents: i0.Signal<readonly DynamicContentDirective[]>;
1264
+ constructor();
1265
+ ngOnInit(): void;
1266
+ refreshProperties(): void;
1267
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
1268
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "smart-page", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
1342
1269
  }
1343
- declare enum ListMode {
1344
- mobile = "mobile",
1345
- desktop = "desktop",
1346
- masonryGrid = "masonryGrid"
1270
+
1271
+ declare abstract class DetailsBaseComponent<T extends IEntity<string>> implements AfterViewInit {
1272
+ private authService;
1273
+ private detailsService;
1274
+ static smartType: DynamicComponentType;
1275
+ private _fields;
1276
+ private _type;
1277
+ componentFactories: IDetailsComponentFactories<T> | null;
1278
+ cellPipe: WritableSignal<ICellPipe<T> | null>;
1279
+ get fields(): Array<{
1280
+ key: string;
1281
+ options: IFieldOptions;
1282
+ }> | null;
1283
+ get type(): any;
1284
+ item: Signal<T | undefined> | undefined;
1285
+ loading: Signal<boolean> | undefined;
1286
+ contentTpl: Signal<ViewContainerRef | undefined>;
1287
+ topTpl: Signal<ViewContainerRef | undefined>;
1288
+ bottomTpl: Signal<ViewContainerRef | undefined>;
1289
+ options: i0.InputSignal<IDetailsOptions<T> | undefined>;
1290
+ constructor();
1291
+ ngAfterViewInit(): void;
1292
+ protected generateDynamicComponents(): void;
1293
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailsBaseComponent<any>, never>;
1294
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DetailsBaseComponent<any>, never, never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1347
1295
  }
1348
- interface IItemOptionsForPage {
1349
- routingPrefix: string;
1350
- edit: boolean;
1296
+
1297
+ declare class DetailsStandardComponent<T extends IEntity<string>> extends DetailsBaseComponent<T> {
1298
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailsStandardComponent<any>, never>;
1299
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsStandardComponent<any>, "smart-details-standard", never, {}, {}, never, never, true, never>;
1351
1300
  }
1352
- interface IItemOptionsForCustom {
1353
- select: (id: string) => void;
1354
- edit: boolean;
1301
+
1302
+ declare const DetailsComponent_base: new () => IDynamicComponent<DetailsBaseComponent<any>>;
1303
+ declare class DetailsComponent<T extends IEntity<string>> extends DetailsComponent_base implements OnDestroy {
1304
+ private detailsService;
1305
+ item: T | null;
1306
+ options: i0.InputSignal<IDetailsOptions<T> | undefined>;
1307
+ contentTpl: i0.Signal<TemplateRef<any> | undefined>;
1308
+ dynamicContents: i0.Signal<readonly DynamicContentDirective[]>;
1309
+ constructor(detailsService: DetailsService);
1310
+ refreshProperties(): void;
1311
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailsComponent<any>, never>;
1312
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailsComponent<any>, "smart-details", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1355
1313
  }
1356
- type ItemOptions = IItemOptionsForPage | IItemOptionsForCustom;
1357
- interface IListComponentFactories<T> {
1358
- top?: ComponentFactory<any>;
1314
+
1315
+ declare class CardComponent {
1316
+ readonly options: InputSignal<ICardOptions | undefined>;
1317
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
1318
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "smart-card", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
1359
1319
  }
1360
- interface IDetailsProvider<T> {
1361
- getData: (id: string) => void;
1362
- clearData: () => void;
1363
- item: Signal<T>;
1364
- loading: Signal<boolean>;
1320
+
1321
+ declare class DetailComponent<T extends IEntity<string> | undefined> {
1322
+ FieldType: typeof _smartsoft001_models.FieldTypeDef;
1323
+ readonly options: InputSignal<IDetailOptions<T> | undefined>;
1324
+ readonly type: InputSignal<any>;
1325
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailComponent<any>, never>;
1326
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailComponent<any>, "smart-detail", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "type": { "alias": "type"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1365
1327
  }
1366
- interface IListOptions<T> {
1367
- provider: IListProvider<T>;
1368
- type: any;
1369
- mode?: ListMode;
1370
- pagination?: IListPaginationOptions;
1371
- cellPipe?: ICellPipe<T>;
1372
- componentFactories?: IListComponentFactories<T>;
1373
- sort?: boolean | {
1374
- default?: string;
1375
- defaultDesc?: boolean;
1376
- };
1377
- details?: boolean | {
1378
- provider?: IDetailsProvider<T>;
1379
- componentFactories?: IDetailsComponentFactories<T>;
1380
- };
1381
- item?: boolean | {
1382
- options?: ItemOptions;
1383
- };
1384
- remove?: boolean | {
1385
- provider?: IRemoveProvider<T>;
1386
- };
1387
- select?: 'multi';
1328
+
1329
+ declare abstract class DetailBaseComponent<T> {
1330
+ protected cd: ChangeDetectorRef;
1331
+ options: i0.InputSignal<IDetailOptions<T> | undefined>;
1332
+ constructor();
1333
+ protected afterSetOptionsHandler(): void;
1334
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailBaseComponent<any>, never>;
1335
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DetailBaseComponent<any>, never, never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1388
1336
  }
1389
- interface IRemoveProvider<T> {
1390
- invoke: (id: string) => void;
1391
- check?: (item: T) => boolean;
1337
+
1338
+ declare class DetailTextComponent<T> extends DetailBaseComponent<T> {
1339
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailTextComponent<any>, never>;
1340
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailTextComponent<any>, "smart-detail-text", never, {}, {}, never, never, true, never>;
1392
1341
  }
1393
- interface IListInternalOptions<T> extends IListOptions<T> {
1394
- fields?: Array<{
1395
- key: string;
1396
- options: IFieldOptions;
1397
- }>;
1342
+
1343
+ declare class DetailEmailComponent<T extends {
1344
+ [key: string]: any;
1345
+ } | undefined> extends DetailBaseComponent<T> {
1346
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailEmailComponent<any>, never>;
1347
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailEmailComponent<any>, "smart-detail-email", never, {}, {}, never, never, true, never>;
1398
1348
  }
1399
1349
 
1400
- declare class AppService {
1401
- private titleService;
1402
- private translate;
1403
- private router;
1404
- private static _endButtonsSource$;
1405
- private static _titleSource$;
1406
- private _baseTitle;
1407
- endButtons$: rxjs.Observable<AppEndButton[]>;
1408
- title$: rxjs.Observable<string>;
1409
- addEndButton(button: AppEndButton): void;
1410
- removeEndButton(buttonOrId: AppEndButton | string): void;
1411
- initTitle(): void;
1412
- static ɵfac: i0.ɵɵFactoryDeclaration<AppService, never>;
1413
- static ɵprov: i0.ɵɵInjectableDeclaration<AppService>;
1350
+ declare class DetailEnumComponent<T extends {
1351
+ [key: string]: any;
1352
+ } | undefined> extends DetailBaseComponent<T> {
1353
+ protected getValues(item: T, key: string): string[];
1354
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailEnumComponent<any>, never>;
1355
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailEnumComponent<any>, "smart-detail-enum", never, {}, {}, never, never, true, never>;
1414
1356
  }
1415
- type AppEndButton = IIconButtonOptions & {
1416
- id?: string;
1417
- };
1418
1357
 
1419
- interface month {
1420
- dates: moment.Moment[];
1421
- number: string;
1422
- monthName: string;
1423
- year: string;
1358
+ declare class DetailFlagComponent<T extends {
1359
+ [key: string]: any;
1360
+ } | undefined> extends DetailBaseComponent<T> {
1361
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailFlagComponent<any>, never>;
1362
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailFlagComponent<any>, "smart-detail-flag", never, {}, {}, never, never, true, never>;
1424
1363
  }
1425
- interface state {
1426
- date: moment.Moment;
1427
- calendar: month[];
1364
+
1365
+ declare class DetailAddressComponent<T extends {
1366
+ [key: string]: any;
1367
+ } | undefined> extends DetailBaseComponent<T> {
1368
+ thisAddress: Signal<IAddress>;
1369
+ protected afterSetOptionsHandler(): void;
1370
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailAddressComponent<any>, never>;
1371
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailAddressComponent<any>, "smart-detail-address", never, {}, {}, never, never, true, never>;
1428
1372
  }
1429
- declare class CalendarService {
1430
- state: state;
1431
- constructor();
1432
- setState: (nextState: Partial<state>) => void;
1433
- getCalendar(): month[];
1434
- generatePrevMonths(): void;
1435
- generateNextMonths(): void;
1436
- private initCalendar;
1437
- private previousMonth;
1438
- private filterFutureDates;
1439
- private generateMonth;
1440
- private generateMonthDates;
1441
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, never>;
1442
- static ɵprov: i0.ɵɵInjectableDeclaration<CalendarService>;
1373
+
1374
+ declare class DetailObjectComponent<T extends (IEntity<string> & {
1375
+ [key: string]: any;
1376
+ }) | undefined, TChild extends IEntity<string>> extends DetailBaseComponent<T> {
1377
+ detailsComponent: any;
1378
+ childOptions: Signal<IDetailsOptions<TChild> | null>;
1379
+ protected afterSetOptionsHandler(): void;
1380
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailObjectComponent<any, any>, never>;
1381
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailObjectComponent<any, any>, "smart-detail-object", never, {}, {}, never, never, true, never>;
1443
1382
  }
1444
1383
 
1445
- declare class StorageService {
1446
- setItem(key: string, value: any): void;
1447
- getItem(key: string): any;
1448
- removeItem(key: string): void;
1449
- clear(): void;
1450
- static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
1451
- static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
1384
+ declare class DetailColorComponent<T extends {
1385
+ [key: string]: any;
1386
+ } | undefined> extends DetailBaseComponent<T> {
1387
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailColorComponent<any>, never>;
1388
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailColorComponent<any>, "smart-detail-color", never, {}, {}, never, never, true, never>;
1452
1389
  }
1453
1390
 
1454
- declare const AUTH_TOKEN = "AUTH_TOKEN";
1455
- declare class AuthService {
1456
- protected storageService: StorageService;
1457
- isAuthenticated(): boolean;
1458
- expectPermissions(permissions: Array<string> | null): boolean;
1459
- getPermissions(): Array<string>;
1460
- getTokenPayload(): any;
1461
- protected getRawToken(): {
1462
- access_token: string;
1463
- } | null;
1464
- protected getToken(): {
1465
- access_token: string;
1466
- } | null;
1467
- setToken(token: {
1468
- access_token: string;
1469
- } | null): void;
1470
- removeToken(): void;
1471
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
1472
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
1391
+ declare class DetailLogoComponent<T extends {
1392
+ [key: string]: any;
1393
+ } | undefined> extends DetailBaseComponent<T> {
1394
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailLogoComponent<any>, never>;
1395
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailLogoComponent<any>, "smart-detail-logo", never, {}, {}, never, never, true, never>;
1473
1396
  }
1474
1397
 
1475
- declare class DetailsService {
1476
- private _root;
1477
- get $root(): any;
1478
- constructor();
1479
- init(): void;
1480
- setRoot(obj: any, force?: boolean): void;
1481
- static ɵfac: i0.ɵɵFactoryDeclaration<DetailsService, never>;
1482
- static ɵprov: i0.ɵɵInjectableDeclaration<DetailsService>;
1398
+ declare class DetailArrayComponent<T extends {
1399
+ [key: string]: any;
1400
+ } | undefined, TChild extends IEntity<string>> extends DetailBaseComponent<T> {
1401
+ detailsComponent: any;
1402
+ childOptions: Signal<IDetailsOptions<TChild>[]>;
1403
+ protected afterSetOptionsHandler(): void;
1404
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailArrayComponent<any, any>, never>;
1405
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailArrayComponent<any, any>, "smart-detail-array", never, {}, {}, never, never, true, never>;
1483
1406
  }
1484
1407
 
1485
- declare class DynamicComponentLoader<T> {
1486
- private resolver;
1487
- static declaredComponents: any[];
1488
- getComponentsWithFactories<C>(options: {
1489
- components: Array<any>;
1490
- }): Promise<{
1491
- component: any;
1492
- factory: ComponentFactory<any>;
1493
- }[]>;
1494
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentLoader<any>, never>;
1495
- static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentLoader<any>>;
1408
+ declare class DetailPdfComponent<T extends IEntity<string> | undefined> extends DetailBaseComponent<T> {
1409
+ private fileService;
1410
+ getButtonOptions(item: T): IButtonOptions;
1411
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailPdfComponent<any>, never>;
1412
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailPdfComponent<any>, "smart-detail-pdf", never, {}, {}, never, never, true, never>;
1496
1413
  }
1497
1414
 
1498
- declare const DYNAMIC_COMPONENTS_STORE: InjectionToken<[Type<any>]>;
1499
- declare class DynamicComponentStorageService {
1500
- static get(key: string, moduleRef: NgModuleRef<any>): Type<any>[];
1415
+ declare class DetailVideoComponent<T extends IEntity<string> | undefined> extends DetailBaseComponent<T> {
1416
+ private fileService;
1417
+ getUrl(item: T): string | null;
1418
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailVideoComponent<any>, never>;
1419
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailVideoComponent<any>, "smart-detail-video", never, {}, {}, never, never, true, never>;
1501
1420
  }
1502
1421
 
1503
- declare const FILE_SERVICE_CONFIG: InjectionToken<IFileServiceConfig>;
1504
- interface IFileServiceConfig {
1505
- apiUrl: string;
1506
- }
1507
- declare class FileService {
1508
- private config;
1509
- private http;
1510
- upload<T>(file: File, callback?: (result: T) => void): Observable<number>;
1511
- download(id: string): void;
1512
- delete(id: string): Promise<void>;
1513
- getUrl(id: string): string;
1514
- static ɵfac: i0.ɵɵFactoryDeclaration<FileService, never>;
1515
- static ɵprov: i0.ɵɵInjectableDeclaration<FileService>;
1422
+ declare class DetailAttachmentComponent<T extends IEntity<string> | undefined> extends DetailBaseComponent<T> {
1423
+ private fileService;
1424
+ getButtonOptions(item: T): IButtonOptions;
1425
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailAttachmentComponent<any>, never>;
1426
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailAttachmentComponent<any>, "smart-detail-attachment", never, {}, {}, never, never, true, never>;
1516
1427
  }
1517
1428
 
1518
- declare class SmartFormGroup extends UntypedFormGroup {
1519
- static create(): SmartFormGroup;
1520
- setForm(form: UntypedFormGroup): void;
1429
+ declare class DetailDateRangeComponent<T extends {
1430
+ [key: string]: any;
1431
+ } | undefined> extends DetailBaseComponent<T> {
1432
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailDateRangeComponent<any>, never>;
1433
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailDateRangeComponent<any>, "smart-detail-date-range", never, {}, {}, never, never, true, never>;
1521
1434
  }
1522
1435
 
1523
- declare class StyleService {
1524
- private platformId;
1525
- static style: IStyle | null;
1526
- private _elementRef;
1527
- static create(platformId: object, el: ElementRef, style?: Partial<IStyle>): StyleService;
1528
- constructor(platformId: object);
1529
- init(el: ElementRef, style?: IStyle): void;
1530
- set(style?: IStyle): void;
1531
- private execute;
1532
- private setColor;
1533
- private setProperty;
1534
- private setFont;
1535
- private setButton;
1536
- private setMobileBreakpoint;
1537
- static ɵfac: i0.ɵɵFactoryDeclaration<StyleService, never>;
1538
- static ɵprov: i0.ɵɵInjectableDeclaration<StyleService>;
1436
+ declare class DetailImageComponent<T extends {
1437
+ [key: string]: any;
1438
+ } | undefined> extends DetailBaseComponent<T> {
1439
+ private fileService;
1440
+ imageUrl: Signal<string | null>;
1441
+ protected afterSetOptionsHandler(): void;
1442
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailImageComponent<any>, never>;
1443
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailImageComponent<any>, "smart-detail-image", never, {}, {}, never, never, true, never>;
1539
1444
  }
1540
1445
 
1541
- declare class ToastService {
1542
- static lockError: number;
1543
- addLockError(): void;
1544
- removeLockError(): void;
1545
- error(config: IToastOptions): Promise<void>;
1546
- info(config: IToastOptions): Promise<void>;
1547
- static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
1548
- static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
1446
+ declare class DetailPhoneNumberPlComponent<T> extends DetailBaseComponent<T> {
1447
+ static ɵfac: i0.ɵɵFactoryDeclaration<DetailPhoneNumberPlComponent<any>, never>;
1448
+ static ɵcmp: i0.ɵɵComponentDeclaration<DetailPhoneNumberPlComponent<any>, "smart-detail-phone-number-pl", never, {}, {}, never, never, true, never>;
1549
1449
  }
1550
- interface IToastOptions {
1551
- title?: string;
1552
- message: string;
1553
- duration?: number;
1554
- buttons?: Array<IToastButton>;
1450
+
1451
+ declare class InfoComponent {
1452
+ text: i0.InputSignal<string>;
1453
+ onClick(ev: any): Promise<void>;
1454
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoComponent, never>;
1455
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoComponent, "smart-info", never, { "text": { "alias": "text"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1555
1456
  }
1556
- interface IToastButton {
1457
+ declare class InfoModalComponent {
1557
1458
  text: string;
1558
- position: 'start' | 'end';
1559
- handler: () => void;
1459
+ constructor();
1460
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoModalComponent, never>;
1461
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoModalComponent, "smart-info-modal", never, {}, {}, never, never, true, never>;
1560
1462
  }
1561
1463
 
1562
- declare class HardwareService {
1563
- get isMobile(): boolean;
1564
- get isMobileWeb(): boolean;
1565
- onBackButtonClick(callback: () => void): Promise</*PluginListenerHandle*/ any>;
1566
- static ɵfac: i0.ɵɵFactoryDeclaration<HardwareService, never>;
1567
- static ɵprov: i0.ɵɵInjectableDeclaration<HardwareService>;
1464
+ declare abstract class ListBaseComponent<T extends IEntity<string>> {
1465
+ static smartType: DynamicComponentType;
1466
+ private _fields;
1467
+ protected provider: IListProvider<T>;
1468
+ protected authService: AuthService;
1469
+ protected router: Router;
1470
+ protected alertService: AlertService;
1471
+ protected cd: ChangeDetectorRef;
1472
+ protected translateService: TranslateService;
1473
+ detailsComponent: any;
1474
+ selectMode?: 'multi';
1475
+ detailsComponentProps: IDetailsOptions<T>;
1476
+ select: (id: string) => void;
1477
+ unselect: () => void;
1478
+ itemHandler: ((id: string) => void) | null;
1479
+ removeHandler: ((item: T) => void) | null;
1480
+ checkRemoveHandler: (item: T) => boolean;
1481
+ detailsButtonOptions: IButtonOptions;
1482
+ removed: Set<string>;
1483
+ keys: Array<string>;
1484
+ cellPipe: ICellPipe<T> | null;
1485
+ loadPrevPage: ((event?: any) => void) | null;
1486
+ loadNextPage: ((event?: any) => void) | null;
1487
+ list: Signal<CdkTableDataSourceInput<T> | null>;
1488
+ loading: Signal<boolean>;
1489
+ page: Signal<number | null>;
1490
+ totalPages: Signal<number | null>;
1491
+ FieldType: typeof _smartsoft001_models.FieldTypeDef;
1492
+ PaginationMode: typeof PaginationMode;
1493
+ type: Type<T>;
1494
+ sort: boolean | {
1495
+ default?: string;
1496
+ defaultDesc?: boolean;
1497
+ };
1498
+ options: i0.InputSignal<IListInternalOptions<T>>;
1499
+ contentTpl: Signal<ViewContainerRef | undefined>;
1500
+ constructor();
1501
+ protected initKeys(data?: Array<T> | null): void;
1502
+ protected initList(val: IListInternalOptions<T>): void;
1503
+ protected initLoading(): void;
1504
+ protected afterInitOptions(): void;
1505
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListBaseComponent<any>, never>;
1506
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ListBaseComponent<any>, never, never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1568
1507
  }
1569
1508
 
1570
- /**
1571
- * Only to use in smart-page
1572
- * @requires PageComponent
1573
- */
1574
- declare class MenuService {
1575
- private readonly resolver;
1576
- private _endContainer;
1577
- private _openedEnd;
1578
- menuItems: i0.WritableSignal<IMenuItem[]>;
1579
- disabled: i0.WritableSignal<boolean>;
1580
- /**
1581
- * @desc checking if the menu is open (menu on the right side of the screen)
1582
- */
1583
- get openedEnd(): boolean;
1584
- enable(): void;
1585
- disable(): void;
1586
- changeMenuItemByRoute(route: string, changes: Partial<IMenuItem>): void;
1587
- setMenuItems(items: IMenuItem[]): void;
1588
- /**
1589
- * @private
1590
- */
1591
- init(endContainer: ViewContainerRef): Promise<void>;
1592
- /**
1593
- * @desc open menu (menu on the right side of the screen)
1594
- * @param {object} options - use options
1595
- * @param {class} options.component - angular component to render
1596
- * @param {class} options.injector - angular injector to use in component
1597
- */
1598
- openEnd(options: {
1599
- component: any;
1600
- injector: Injector;
1601
- }): Promise<void>;
1602
- /**
1603
- * @desc close menu (menu on the left side of the screen)
1604
- */
1605
- closeStart(): Promise<void>;
1606
- /**
1607
- * @desc close menu (menu on the right side of the screen)
1608
- */
1609
- closeEnd(): Promise<void>;
1610
- static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
1611
- static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
1509
+ declare const ListComponent_base: new () => IDynamicComponent<ListBaseComponent<any>>;
1510
+ declare class ListComponent<T extends IEntity<string>> extends ListComponent_base {
1511
+ private _options;
1512
+ private hardwareService;
1513
+ mode: Signal<ListMode>;
1514
+ ListMode: typeof ListMode;
1515
+ options: i0.InputSignal<IListOptions<T>>;
1516
+ get internalOptions(): IListInternalOptions<T>;
1517
+ contentTpl: Signal<TemplateRef<any> | undefined>;
1518
+ dynamicContents: Signal<readonly DynamicContentDirective[]>;
1519
+ constructor();
1520
+ refreshProperties(): void;
1521
+ private initFields;
1522
+ private initModel;
1523
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent<any>, never>;
1524
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent<any>, "smart-list", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
1612
1525
  }
1613
1526
 
1614
- declare class ModalService {
1615
- show(options: IModalOptions): Promise<IModal>;
1616
- dismiss<T>(data?: T | null): Promise<void>;
1617
- static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
1618
- static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
1619
- }
1620
- interface IModalOptions {
1621
- component: any;
1622
- props?: any;
1623
- mode?: 'default' | 'bottom';
1624
- cssClass?: string[];
1625
- backdropDismiss?: boolean;
1527
+ declare class ListMobileComponent<T extends IEntity<string>> extends ListBaseComponent<T> implements AfterViewInit {
1528
+ listMobile: Signal<T[]>;
1529
+ componentFactories: IListComponentFactories<T> | null;
1530
+ topTpl: Signal<ViewContainerRef | undefined>;
1531
+ protected initList(val: IListInternalOptions<T>): void;
1532
+ ngAfterViewInit(): void;
1533
+ private generateDynamicComponents;
1534
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListMobileComponent<any>, never>;
1535
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListMobileComponent<any>, "smart-list-mobile", never, {}, {}, never, never, true, never>;
1626
1536
  }
1627
- interface IModal {
1628
- dismiss: () => void;
1629
- onDidDismiss(): Promise<{
1630
- data: any;
1631
- }>;
1537
+
1538
+ declare class ListDesktopComponent<T extends IEntity<string>> extends ListBaseComponent<T> implements OnInit, OnDestroy, AfterViewInit {
1539
+ private _subscriptions;
1540
+ private _multiSelected;
1541
+ desktopList: Signal<T[]>;
1542
+ componentFactories: IListComponentFactories<T> | null;
1543
+ get desktopKeys(): Array<string> | null;
1544
+ topTpl: Signal<ViewContainerRef | undefined>;
1545
+ protected initList(val: IListInternalOptions<T>): void;
1546
+ onChangeMultiselect(checked: boolean, element: T, list: T[]): void;
1547
+ myTrackById(val: any): any;
1548
+ ngAfterViewInit(): void;
1549
+ ngOnInit(): void;
1550
+ ngOnDestroy(): void;
1551
+ private generateDynamicComponents;
1552
+ protected readonly Object: ObjectConstructor;
1553
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListDesktopComponent<any>, never>;
1554
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListDesktopComponent<any>, "smart-list-desktop", never, {}, {}, never, never, true, never>;
1632
1555
  }
1633
1556
 
1634
- declare class AlertService {
1635
- show(options: IAlertOptions): Promise<void>;
1636
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
1637
- static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
1557
+ declare class ListMasonryGridComponent<T extends IEntity<string>> extends ListBaseComponent<T> implements AfterViewInit {
1558
+ componentFactories: IListComponentFactories<T> | null;
1559
+ listWithImages: Signal<{
1560
+ data: T;
1561
+ image: any;
1562
+ }[] | null>;
1563
+ topTpl: Signal<ViewContainerRef | undefined>;
1564
+ ngAfterViewInit(): void;
1565
+ protected afterInitOptions(): void;
1566
+ protected initList(val: IListInternalOptions<T>): void;
1567
+ private generateDynamicComponents;
1568
+ protected readonly Object: ObjectConstructor;
1569
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListMasonryGridComponent<any>, never>;
1570
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListMasonryGridComponent<any>, "smart-list-masonry-grid", never, {}, {}, never, never, true, never>;
1638
1571
  }
1639
- interface IAlertOptions {
1640
- header?: string;
1641
- subHeader?: string;
1642
- message?: string;
1643
- backdropDismiss?: boolean;
1644
- buttons?: Array<IAlertButton>;
1572
+
1573
+ declare class LoaderComponent {
1574
+ readonly show: InputSignal<boolean>;
1575
+ readonly height: InputSignal<string | null>;
1576
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
1577
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "smart-loader", never, { "show": { "alias": "show"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1645
1578
  }
1646
- interface IAlertButton {
1647
- text: string;
1648
- role?: 'cancel' | 'destructive' | string;
1649
- cssClass?: string | string[];
1650
- handler?: (value: any) => boolean | void | {
1651
- [key: string]: any;
1652
- };
1579
+
1580
+ declare class PagingComponent {
1581
+ readonly page: InputSignal<number | null>;
1582
+ readonly totalPages: InputSignal<number | null>;
1583
+ nextPage: OutputEmitterRef<void>;
1584
+ prevPage: OutputEmitterRef<void>;
1585
+ static ɵfac: i0.ɵɵFactoryDeclaration<PagingComponent, never>;
1586
+ static ɵcmp: i0.ɵɵComponentDeclaration<PagingComponent, "smart-paging", never, { "page": { "alias": "page"; "required": false; "isSignal": true; }; "totalPages": { "alias": "totalPages"; "required": false; "isSignal": true; }; }, { "nextPage": "nextPage"; "prevPage": "prevPage"; }, never, never, true, never>;
1653
1587
  }
1654
1588
 
1655
- declare class PopoverService {
1656
- close(): Promise<void>;
1657
- static ɵfac: i0.ɵɵFactoryDeclaration<PopoverService, never>;
1658
- static ɵprov: i0.ɵɵInjectableDeclaration<PopoverService>;
1589
+ declare class SearchbarComponent implements OnDestroy, AfterViewInit {
1590
+ private _subscriptions;
1591
+ control: WritableSignal<UntypedFormControl>;
1592
+ show: i0.ModelSignal<boolean>;
1593
+ text: i0.ModelSignal<string>;
1594
+ constructor();
1595
+ setShow(): Promise<void>;
1596
+ tryHide(): void;
1597
+ ngAfterViewInit(): void;
1598
+ ngOnDestroy(): void;
1599
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchbarComponent, never>;
1600
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchbarComponent, "smart-searchbar", never, { "show": { "alias": "show"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": true; "isSignal": true; }; }, { "show": "showChange"; "text": "textChange"; }, never, never, true, never>;
1659
1601
  }
1660
1602
 
1661
- declare class UIService {
1662
- showAlertWithDismissCallback(heading: string, msg: string, btnText: string, callback: () => void): Promise<void>;
1663
- static ɵfac: i0.ɵɵFactoryDeclaration<UIService, never>;
1664
- static ɵprov: i0.ɵɵInjectableDeclaration<UIService>;
1603
+ declare class DateEditComponent implements ControlValueAccessor {
1604
+ private cd;
1605
+ DEFAULT_DATE: string;
1606
+ get d1(): string | null;
1607
+ set d1(val: string);
1608
+ get d2(): string | null;
1609
+ set d2(val: string);
1610
+ get m1(): string | null;
1611
+ set m1(val: string);
1612
+ get m2(): string | null;
1613
+ set m2(val: string);
1614
+ get y1(): string | null;
1615
+ set y1(val: string);
1616
+ get y2(): string | null;
1617
+ set y2(val: string);
1618
+ get y3(): string | null;
1619
+ set y3(val: string);
1620
+ get y4(): string | null;
1621
+ set y4(val: string);
1622
+ ngModel: i0.ModelSignal<string>;
1623
+ validDate: boolean;
1624
+ propagateChange: (val: any) => void;
1625
+ propagateTouched: () => void;
1626
+ validChange: i0.OutputEmitterRef<boolean>;
1627
+ writeValue(value: any): void;
1628
+ registerOnChange(fn: any): void;
1629
+ registerOnTouched(fn: any): void;
1630
+ private setValueAt;
1631
+ private setCharAt;
1632
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateEditComponent, never>;
1633
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateEditComponent, "smart-date-edit", never, { "ngModel": { "alias": "ngModel"; "required": false; "isSignal": true; }; }, { "ngModel": "ngModelChange"; "validChange": "validChange"; }, never, never, true, never>;
1665
1634
  }
1666
1635
 
1667
- declare class NgrxStoreService {
1668
- private static _reducers;
1669
- static store: Store<any> | undefined;
1670
- static addReducer<State, Actions extends Action = Action>(key: string, reducer: ActionReducer<State, Actions>): void;
1671
- connect(store: Store<any>): void;
1672
- static ɵfac: i0.ɵɵFactoryDeclaration<NgrxStoreService, never>;
1673
- static ɵprov: i0.ɵɵInjectableDeclaration<NgrxStoreService>;
1636
+ declare class DateRangeComponent implements ControlValueAccessor {
1637
+ private cd;
1638
+ value: IDateRange | undefined;
1639
+ propagateChange: (val: any) => void;
1640
+ propagateTouched: () => void;
1641
+ ngModel: i0.ModelSignal<IDateRange | undefined>;
1642
+ calendarData: CalendarState;
1643
+ constructor();
1644
+ onClick(): Promise<void>;
1645
+ writeValue(value: any): void;
1646
+ registerOnChange(fn: any): void;
1647
+ registerOnTouched(fn: any): void;
1648
+ onClear(): void;
1649
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeComponent, never>;
1650
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "smart-date-range", never, { "ngModel": { "alias": "ngModel"; "required": false; "isSignal": true; }; }, { "ngModel": "ngModelChange"; }, never, never, true, never>;
1651
+ }
1652
+ declare const enum FilterBtnConstants {
1653
+ empthyString = "",
1654
+ today = "Today",
1655
+ yesterday = "Yesterday",
1656
+ lastSevenDays = "LastSevenDays",
1657
+ lastThirtyDays = "LastThirtyDays",
1658
+ thisMonth = "ThisMonth",
1659
+ lastMonth = "LastMonth"
1660
+ }
1661
+ interface SubjectType {
1662
+ date: moment__default.Moment;
1663
+ event: any;
1664
+ }
1665
+ interface CalendarState {
1666
+ dateFrom: moment__default.Moment;
1667
+ dateTo: moment__default.Moment;
1668
+ scrollPosition: number;
1669
+ selectedButtonName: FilterBtnConstants;
1670
+ }
1671
+ declare class DateRangeModalComponent implements OnInit, AfterContentInit {
1672
+ private fb;
1673
+ private uiService;
1674
+ private changeDetectionRef;
1675
+ private calendarService;
1676
+ private zone;
1677
+ private styleService;
1678
+ private elementRef;
1679
+ showFilterBtns: i0.InputSignal<boolean>;
1680
+ restrictSelectionTo: i0.InputSignal<number>;
1681
+ currentDate: any;
1682
+ dateForm: UntypedFormGroup;
1683
+ calendar: month[];
1684
+ selectedButtonName: FilterBtnConstants;
1685
+ scrollPositionValue: number;
1686
+ valueTop: number;
1687
+ previousState: CalendarState;
1688
+ subject$: Subject<SubjectType>;
1689
+ subjectSubscription: Subscription;
1690
+ constructor();
1691
+ private initDateRangeForm;
1692
+ get datesRefGroup(): UntypedFormGroup;
1693
+ ngOnInit(): void;
1694
+ ngAfterContentInit(): void;
1695
+ private setPreviousStateData;
1696
+ noop(): void;
1697
+ when: (cond: boolean, fn: () => void) => void;
1698
+ setStartDate: (date: moment__default.Moment, formattedDate: string) => void;
1699
+ setEndDate: (date: moment__default.Moment, formattedDate: string) => void;
1700
+ resetDates: () => void;
1701
+ canSelectionBeRestricted: () => boolean;
1702
+ showRestrictSelectionAlertAndResetDates: () => void;
1703
+ isSelectionInRestrictedRange(): boolean;
1704
+ private formatDate;
1705
+ isInRange(day: moment__default.Moment): boolean;
1706
+ isSelectionStart(day: moment__default.Moment): boolean;
1707
+ isSelectionEnd(day: moment__default.Moment): boolean;
1708
+ isStartAndEndDateSame(): boolean;
1709
+ selectThisMonth(): void;
1710
+ selectLastMonth(): void;
1711
+ selectLastThirtyDays(): void;
1712
+ selectLastSevenDays(): void;
1713
+ private filterSelectionByDaysAgo;
1714
+ selectYesterday(): void;
1715
+ selectToday(): void;
1716
+ private scrollToBottom;
1717
+ dismissPage(): void;
1718
+ private unsubscribe;
1719
+ applyDates(): void;
1720
+ loadDataNext(event: any): void;
1721
+ loadDataPrev(event: any): void;
1722
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeModalComponent, never>;
1723
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeModalComponent, "smart-date-range-modal", never, { "showFilterBtns": { "alias": "showFilterBtns"; "required": false; "isSignal": true; }; "restrictSelectionTo": { "alias": "restrictSelectionTo"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1674
1724
  }
1675
1725
 
1676
- declare class ErrorService {
1677
- private toastService;
1678
- private translateService;
1679
- constructor(toastService: ToastService, translateService: TranslateService);
1680
- log(obj: any): Promise<void>;
1681
- static ɵfac: i0.ɵɵFactoryDeclaration<ErrorService, never>;
1682
- static ɵprov: i0.ɵɵInjectableDeclaration<ErrorService>;
1726
+ declare class PasswordStrengthComponent implements OnChanges {
1727
+ private _colors;
1728
+ bar0: string;
1729
+ bar1: string;
1730
+ bar2: string;
1731
+ msg: string;
1732
+ msgColor: string;
1733
+ result: {
1734
+ lowerLetters: boolean;
1735
+ upperLetters: boolean;
1736
+ symbols: boolean;
1737
+ passLength: boolean;
1738
+ };
1739
+ passwordToCheck: i0.InputSignal<string>;
1740
+ showHint: i0.InputSignal<boolean>;
1741
+ passwordStrength: i0.OutputEmitterRef<boolean>;
1742
+ checkStrength(p?: string): number;
1743
+ ngOnChanges(changes: {
1744
+ [propName: string]: SimpleChange;
1745
+ }): Promise<void>;
1746
+ private getColor;
1747
+ private setBarColors;
1748
+ static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthComponent, never>;
1749
+ static ɵcmp: i0.ɵɵComponentDeclaration<PasswordStrengthComponent, "smart-password-strength", never, { "passwordToCheck": { "alias": "passwordToCheck"; "required": true; "isSignal": true; }; "showHint": { "alias": "showHint"; "required": true; "isSignal": true; }; }, { "passwordStrength": "passwordStrength"; }, never, never, true, never>;
1683
1750
  }
1684
1751
 
1685
1752
  declare class FormFactory {
@@ -1707,65 +1774,6 @@ declare class SharedFactoriesModule {
1707
1774
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedFactoriesModule>;
1708
1775
  }
1709
1776
 
1710
- declare class ModelLabelPipe<T> implements PipeTransform {
1711
- private translateService;
1712
- private modelLabelProvider;
1713
- transform(instance: T, key: string, type?: Type<any> | (() => void)): string;
1714
- static ɵfac: i0.ɵɵFactoryDeclaration<ModelLabelPipe<any>, never>;
1715
- static ɵpipe: i0.ɵɵPipeDeclaration<ModelLabelPipe<any>, "smartModelLabel", true>;
1716
- }
1717
-
1718
- declare class ListCellPipe<T extends {
1719
- [key: string]: any;
1720
- }> implements PipeTransform {
1721
- private readonly translateService;
1722
- transform(obj: T, key: string, pipe: ICellPipe<T>, type?: Type<T>): {
1723
- value?: any;
1724
- type?: FieldTypeDef | null;
1725
- };
1726
- private getFieldType;
1727
- private getValue;
1728
- static ɵfac: i0.ɵɵFactoryDeclaration<ListCellPipe<any>, never>;
1729
- static ɵpipe: i0.ɵɵPipeDeclaration<ListCellPipe<any>, "smartListCell", true>;
1730
- }
1731
-
1732
- declare class TrustHtmlPipe implements PipeTransform {
1733
- private sanitizer;
1734
- transform(val: string): SafeHtml;
1735
- static ɵfac: i0.ɵɵFactoryDeclaration<TrustHtmlPipe, never>;
1736
- static ɵpipe: i0.ɵɵPipeDeclaration<TrustHtmlPipe, "smartTrustHtml", true>;
1737
- }
1738
-
1739
- declare class ListHeaderPipe<T> implements PipeTransform {
1740
- private translateService;
1741
- private modelLabelProvider;
1742
- transform(data: T, key: string, type?: Type<any>): Signal<string>;
1743
- static ɵfac: i0.ɵɵFactoryDeclaration<ListHeaderPipe<any>, never>;
1744
- static ɵpipe: i0.ɵɵPipeDeclaration<ListHeaderPipe<any>, "smartListHeader", true>;
1745
- }
1746
-
1747
- declare class FileUrlPipe implements PipeTransform {
1748
- private service;
1749
- transform(file: {
1750
- id: any;
1751
- }): string;
1752
- static ɵfac: i0.ɵɵFactoryDeclaration<FileUrlPipe, never>;
1753
- static ɵpipe: i0.ɵɵPipeDeclaration<FileUrlPipe, "smartFileUrl", true>;
1754
- }
1755
-
1756
- declare class EnumToListPipe implements PipeTransform {
1757
- transform(value: any): Array<string>;
1758
- static ɵfac: i0.ɵɵFactoryDeclaration<EnumToListPipe, never>;
1759
- static ɵpipe: i0.ɵɵPipeDeclaration<EnumToListPipe, "smartEnumToList", true>;
1760
- }
1761
-
1762
- declare const PIPES: (typeof ModelLabelPipe | typeof ListCellPipe | typeof TrustHtmlPipe | typeof ListHeaderPipe | typeof EnumToListPipe)[];
1763
- declare class SharedPipesModule {
1764
- static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipesModule, never>;
1765
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, never, [typeof ModelLabelPipe, typeof ListCellPipe, typeof TrustHtmlPipe, typeof ListHeaderPipe, typeof EnumToListPipe], [typeof ModelLabelPipe, typeof ListCellPipe, typeof TrustHtmlPipe, typeof ListHeaderPipe, typeof EnumToListPipe]>;
1766
- static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
1767
- }
1768
-
1769
1777
  declare class DetailsPage<T extends IEntity<string>> implements OnInit {
1770
1778
  private modalService;
1771
1779
  private styleService;
@@ -1817,4 +1825,4 @@ declare const SmartNgModule: typeof SmartNgModuleDecorator;
1817
1825
  declare function SmartNgModuleDecorator(options: NgModule): (constructor: any) => any;
1818
1826
 
1819
1827
  export { AUTH_TOKEN, AccordionBodyComponent, AccordionComponent, AccordionHeaderComponent, AlertService, AppBaseComponent, AppService, AuthService, BaseComponent, ButtonBaseComponent, ButtonComponent, ButtonStandardComponent, CalendarService, CardComponent, CreateDynamicComponent, DYNAMIC_COMPONENTS_STORE, DateEditComponent, DateRangeComponent, DateRangeModalComponent, DetailAddressComponent, DetailArrayComponent, DetailAttachmentComponent, DetailBaseComponent, DetailColorComponent, DetailComponent, DetailDateRangeComponent, DetailEmailComponent, DetailEnumComponent, DetailFlagComponent, DetailImageComponent, DetailLogoComponent, DetailObjectComponent, DetailPdfComponent, DetailPhoneNumberPlComponent, DetailTextComponent, DetailVideoComponent, DetailsBaseComponent, DetailsComponent, DetailsDirective, DetailsPage, DetailsService, DetailsStandardComponent, DynamicComponentLoader, DynamicComponentStorageService, DynamicContentDirective, EnumToListPipe, ErrorService, ExportComponent, FILE_SERVICE_CONFIG, FileService, FileUrlPipe, FilterBtnConstants, FormBaseComponent, FormComponent, FormFactory, FormStandardComponent, HardwareService, IModelExportProvider, IModelImportProvider, IModelLabelProvider, IModelPossibilitiesProvider, IModelValidatorsProvider, ImportComponent, InfoComponent, InfoModalComponent, InputAddressComponent, InputArrayComponent, InputAttachmentComponent, InputBaseComponent, InputCheckComponent, InputColorComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputDateWithEditComponent, InputEmailComponent, InputEnumComponent, InputErrorComponent, InputFileComponent, InputFlagComponent, InputFloatComponent, InputImageComponent, InputIntComponent, InputIntsComponent, InputLogoComponent, InputLongTextComponent, InputNipComponent, InputObjectComponent, InputPasswordComponent, InputPdfComponent, InputPeselComponent, InputPhoneNumberComponent, InputPhoneNumberPlComponent, InputRadioComponent, InputStringsComponent, InputTextComponent, InputVideoComponent, ListBaseComponent, ListCellPipe, ListComponent, ListDesktopComponent, ListHeaderPipe, ListMasonryGridComponent, ListMobileComponent, ListMode, LoaderComponent, MODEL_EXPORT_PROVIDER, MODEL_IMPORT_PROVIDER, MODEL_LABEL_PROVIDER, MODEL_POSSIBILITIES_PROVIDER, MODEL_VALIDATORS_PROVIDER, MenuService, ModalService, ModelLabelPipe, NgrxSharedModule, NgrxStoreService, PIPES, PageBaseComponent, PageComponent, PageStandardComponent, PaginationMode, PagingComponent, PasswordStrengthComponent, PopoverService, ReduxAction, ReduxActionDecorator, ReduxSelect, SearchbarComponent, SharedDirectivesModule, SharedFactoriesModule, SharedModule, SharedPagesModule, SharedPipesModule, SharedServicesModule, SmartFormGroup, SmartNgModule, SmartNgModuleDecorator, StorageService, StyleService, ToastService, TrustHtmlPipe, UIService, fastPropGetter };
1820
- export type { AppEndButton, CalendarState, DynamicComponentType, IAlertButton, IAlertOptions, IAppOptions, IAppProvider, IButtonOptions, ICardOptions, ICellPipe, IDetailOptions, IDetailsComponentFactories, IDetailsOptions, IDetailsProvider, IDynamicComponent, IDynamicComponentData, IFileServiceConfig, IFormOptions, IFormProvider, IIconButtonOptions, IInputFromFieldOptions, IInputOptions, IItemOptionsForCustom, IItemOptionsForPage, IListComponentFactories, IListInternalOptions, IListOptions, IListPaginationOptions, IListProvider, IMenuItem, IModal, IModalOptions, IModelLabelOptions, IModelPossibilitiesOptions, IModelValidators, IModelValidatorsOptions, IPageOptions, IRemoveProvider, IToastButton, IToastOptions, InputOptions, ItemOptions, month };
1828
+ export type { AppEndButton, CalendarState, DynamicComponentType, IAlertButton, IAlertOptions, IAppOptions, IAppProvider, IButtonOptions, ICardOptions, ICellPipe, IDetailOptions, IDetailsComponentFactories, IDetailsOptions, IDetailsProvider, IDynamicComponent, IDynamicComponentData, IFileServiceConfig, IFormOptions, IFormProvider, IIconButtonOptions, IInputFromFieldOptions, IInputOptions, IItemOptionsForCustom, IItemOptionsForPage, IListComponentFactories, IListInternalOptions, IListOptions, IListPaginationOptions, IListProvider, IMenuItem, IModal, IModalOptions, IModelLabelOptions, IModelPossibilitiesOptions, IModelValidators, IModelValidatorsOptions, IPageOptions, IRemoveProvider, IStyle, IToastButton, IToastOptions, InputBaseComponentType, InputOptions, ItemOptions, StyleType, month };