@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/fesm2022/smartsoft001-angular.mjs +1564 -1563
- package/fesm2022/smartsoft001-angular.mjs.map +1 -1
- package/index.d.ts +1411 -1403
- package/package.json +1 -1
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 {
|
|
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
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
261
|
-
|
|
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
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
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
|
-
|
|
297
|
-
|
|
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
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
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
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
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
|
-
|
|
317
|
-
|
|
318
|
-
|
|
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
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
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
|
-
|
|
331
|
-
|
|
332
|
-
|
|
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
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
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
|
-
|
|
367
|
-
|
|
368
|
-
|
|
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
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
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
|
-
|
|
389
|
-
|
|
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
|
-
|
|
394
|
-
|
|
395
|
-
|
|
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
|
-
|
|
406
|
-
|
|
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
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
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
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
static
|
|
425
|
-
|
|
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
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
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
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
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
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
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
|
|
459
|
-
|
|
460
|
-
|
|
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
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
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
|
|
471
|
-
|
|
472
|
-
|
|
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
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
private
|
|
492
|
-
private
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
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
|
|
499
|
-
static
|
|
500
|
-
|
|
448
|
+
declare class SmartFormGroup extends UntypedFormGroup {
|
|
449
|
+
static create(): SmartFormGroup;
|
|
450
|
+
setForm(form: UntypedFormGroup): void;
|
|
501
451
|
}
|
|
502
452
|
|
|
503
|
-
declare class
|
|
504
|
-
|
|
505
|
-
static
|
|
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
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
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
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
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
|
-
|
|
543
|
-
|
|
544
|
-
|
|
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
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
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
|
-
|
|
557
|
-
|
|
558
|
-
|
|
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
|
|
562
|
-
|
|
563
|
-
static
|
|
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
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
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
|
|
575
|
-
|
|
576
|
-
static
|
|
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
|
|
580
|
-
|
|
581
|
-
static
|
|
582
|
-
static
|
|
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
|
|
586
|
-
|
|
587
|
-
static
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
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
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
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
|
|
658
|
-
|
|
659
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
660
|
-
static
|
|
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
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
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
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
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
|
|
685
|
-
private
|
|
686
|
-
private
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
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
|
|
704
|
-
|
|
705
|
-
|
|
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
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
static
|
|
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
|
|
723
|
-
private
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
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
|
|
749
|
-
|
|
750
|
-
static
|
|
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
|
|
754
|
-
declare class
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
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
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
static
|
|
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
|
|
773
|
-
|
|
774
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
785
|
-
|
|
786
|
-
|
|
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
|
|
790
|
-
|
|
791
|
-
|
|
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
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
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
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
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
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
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
|
|
817
|
-
|
|
818
|
-
}
|
|
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
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
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
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
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
|
|
843
|
-
|
|
844
|
-
}
|
|
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
|
|
850
|
-
|
|
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
|
-
|
|
856
|
-
|
|
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
|
|
860
|
-
|
|
861
|
-
|
|
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
|
|
867
|
-
private
|
|
868
|
-
|
|
869
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
870
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
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
|
|
874
|
-
private
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
static
|
|
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
|
|
881
|
-
|
|
882
|
-
}
|
|
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
|
|
888
|
-
|
|
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
|
-
|
|
894
|
-
|
|
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
|
|
898
|
-
|
|
899
|
-
static
|
|
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
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
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
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
static
|
|
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
|
|
916
|
-
|
|
917
|
-
private
|
|
918
|
-
|
|
919
|
-
|
|
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
|
-
|
|
944
|
-
|
|
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
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
957
|
-
static
|
|
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
|
|
979
|
-
|
|
980
|
-
|
|
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
|
|
990
|
-
private
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
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
|
-
|
|
1003
|
-
|
|
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
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
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
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
protected
|
|
1020
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1021
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
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
|
|
1025
|
-
|
|
1026
|
-
|
|
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
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
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
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
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
|
|
1055
|
-
private
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
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
|
|
1088
|
-
|
|
1089
|
-
|
|
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
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
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
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
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
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
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
|
-
|
|
1146
|
-
|
|
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
|
|
1178
|
-
|
|
1179
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
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
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
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
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
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
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
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
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
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
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
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
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
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
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
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
|
-
|
|
1311
|
-
|
|
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
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
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
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
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
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
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
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
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
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
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
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
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
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
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
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
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
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
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
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
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
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
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
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
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
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
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
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
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
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
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
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
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
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
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
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
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
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
1482
|
-
static
|
|
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
|
|
1486
|
-
private
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
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
|
|
1499
|
-
|
|
1500
|
-
|
|
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
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
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
|
|
1519
|
-
|
|
1520
|
-
|
|
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
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
private
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
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
|
|
1542
|
-
static
|
|
1543
|
-
|
|
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
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
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
|
-
|
|
1457
|
+
declare class InfoModalComponent {
|
|
1557
1458
|
text: string;
|
|
1558
|
-
|
|
1559
|
-
|
|
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
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
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
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
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
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
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
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
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
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
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
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
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
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
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
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
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
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
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
|
|
1668
|
-
private
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
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
|
|
1677
|
-
private
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
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 };
|