@smartsoft001/angular 2.89.0 → 2.91.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 +525 -541
- package/fesm2022/smartsoft001-angular.mjs.map +1 -1
- package/index.d.ts +404 -397
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
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';
|
|
3
3
|
import * as i2$1 from '@angular/forms';
|
|
4
|
-
import {
|
|
4
|
+
import { ValidatorFn, AsyncValidatorFn, UntypedFormControl, UntypedFormArray, AbstractControl, UntypedFormGroup, ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
import { Observable, MonoTypeOperatorFunction, Subject, Subscription } from 'rxjs';
|
|
7
7
|
import { IEntity, IAddress, IDateRange } from '@smartsoft001/domain-core';
|
|
@@ -26,23 +26,304 @@ 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
|
-
import * as i2$2 from '@ngrx/effects';
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Forward declaration for InputBaseComponent to break circular dependency.
|
|
32
|
+
* This is a placeholder type that will be properly typed when imported from components.
|
|
33
|
+
*/
|
|
34
|
+
type InputBaseComponentType<T = any> = Type<any>;
|
|
35
|
+
|
|
36
|
+
interface IFormProvider {
|
|
37
|
+
submit(): void;
|
|
38
|
+
}
|
|
39
|
+
interface IAppProvider {
|
|
40
|
+
logged: Signal<boolean>;
|
|
41
|
+
username: Signal<string>;
|
|
42
|
+
logout: () => void;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare abstract class IModelExportProvider {
|
|
46
|
+
abstract execute(type: Type<any>, value: any): void;
|
|
47
|
+
}
|
|
48
|
+
declare const MODEL_EXPORT_PROVIDER: InjectionToken<IModelExportProvider>;
|
|
49
|
+
|
|
50
|
+
declare abstract class IModelImportProvider {
|
|
51
|
+
abstract getAccept(type: Type<any>): Promise<string>;
|
|
52
|
+
abstract convert(type: Type<any>, file: File): Promise<any>;
|
|
53
|
+
}
|
|
54
|
+
declare const MODEL_IMPORT_PROVIDER: InjectionToken<IModelImportProvider>;
|
|
55
|
+
|
|
56
|
+
declare abstract class IModelLabelProvider {
|
|
57
|
+
abstract get(options: IModelLabelOptions): Signal<string>;
|
|
58
|
+
}
|
|
59
|
+
interface IModelLabelOptions {
|
|
60
|
+
key: string;
|
|
61
|
+
instance?: any;
|
|
62
|
+
type?: Type<any>;
|
|
63
|
+
}
|
|
64
|
+
declare const MODEL_LABEL_PROVIDER: InjectionToken<IModelLabelOptions>;
|
|
65
|
+
|
|
66
|
+
declare abstract class IModelPossibilitiesProvider {
|
|
67
|
+
abstract get(options: IModelPossibilitiesOptions): WritableSignal<{
|
|
68
|
+
id: any;
|
|
69
|
+
text: string;
|
|
70
|
+
checked: boolean;
|
|
71
|
+
}[]>;
|
|
72
|
+
}
|
|
73
|
+
interface IModelPossibilitiesOptions {
|
|
74
|
+
key: string;
|
|
75
|
+
instance: any;
|
|
76
|
+
type?: Type<any>;
|
|
77
|
+
}
|
|
78
|
+
declare const MODEL_POSSIBILITIES_PROVIDER: InjectionToken<IModelPossibilitiesProvider>;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
*
|
|
83
|
+
* in module:
|
|
84
|
+
@NgModule({
|
|
85
|
+
providers: [
|
|
86
|
+
...
|
|
87
|
+
{
|
|
88
|
+
provide: MODEL_VALIDATORS_PROVIDER,
|
|
89
|
+
useClass: ModelValidatorsProvider
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
*
|
|
93
|
+
* provider:
|
|
94
|
+
* @Injectable()
|
|
95
|
+
export class ModelValidatorsProvider extends IModelValidatorsProvider {
|
|
96
|
+
async get(options: IModelValidatorsOptions): Promise<IModelValidators> {
|
|
97
|
+
if (options.type === Todo && options.key === 'test') {
|
|
98
|
+
return {
|
|
99
|
+
validators: null,
|
|
100
|
+
asyncValidators: null
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
if (options.type === Todo && options.key === 'number') {
|
|
105
|
+
return {
|
|
106
|
+
validators: [ Validators.required ],
|
|
107
|
+
asyncValidators: null
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
return Promise.resolve(options.base);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
*/
|
|
115
|
+
declare abstract class IModelValidatorsProvider {
|
|
116
|
+
abstract get(options: IModelValidatorsOptions): Promise<IModelValidators>;
|
|
117
|
+
}
|
|
118
|
+
interface IModelValidatorsOptions {
|
|
119
|
+
key: string;
|
|
120
|
+
instance: any;
|
|
121
|
+
type?: Type<any> | (() => void);
|
|
122
|
+
base?: IModelValidators;
|
|
123
|
+
}
|
|
124
|
+
interface IModelValidators {
|
|
125
|
+
validators?: ValidatorFn | ValidatorFn[];
|
|
126
|
+
asyncValidators?: AsyncValidatorFn | AsyncValidatorFn[];
|
|
127
|
+
}
|
|
128
|
+
declare const MODEL_VALIDATORS_PROVIDER: InjectionToken<IModelValidatorsProvider>;
|
|
129
|
+
|
|
130
|
+
type IStyle = Record<string, string | undefined>;
|
|
131
|
+
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';
|
|
132
|
+
|
|
133
|
+
interface IAppOptions {
|
|
134
|
+
provider: IAppProvider;
|
|
135
|
+
logo?: string;
|
|
136
|
+
menu?: {
|
|
137
|
+
showForAnonymous?: boolean;
|
|
138
|
+
items?: IMenuItem[];
|
|
139
|
+
};
|
|
140
|
+
style?: IStyle;
|
|
141
|
+
}
|
|
142
|
+
interface ICardOptions {
|
|
143
|
+
title?: string;
|
|
144
|
+
buttons?: Array<IIconButtonOptions>;
|
|
145
|
+
}
|
|
146
|
+
interface IIconButtonOptions {
|
|
147
|
+
icon: string;
|
|
148
|
+
text?: string;
|
|
149
|
+
handler?: () => void;
|
|
150
|
+
component?: any;
|
|
151
|
+
type?: 'default' | 'popover';
|
|
152
|
+
disabled$?: Observable<boolean>;
|
|
153
|
+
number?: number;
|
|
154
|
+
}
|
|
155
|
+
type DynamicComponentType = 'form' | 'page' | 'button' | 'details' | 'list' | 'crud-list-page' | 'crud-item-page';
|
|
156
|
+
interface IDynamicComponentData {
|
|
157
|
+
key: DynamicComponentType;
|
|
158
|
+
component: Type<any>;
|
|
159
|
+
data?: any;
|
|
160
|
+
}
|
|
161
|
+
interface IFormOptions<T> {
|
|
162
|
+
model: T;
|
|
163
|
+
show: boolean;
|
|
164
|
+
treeLevel?: number;
|
|
165
|
+
control?: AbstractControl;
|
|
166
|
+
mode?: 'create' | 'update' | string;
|
|
167
|
+
loading$?: Observable<boolean>;
|
|
168
|
+
uniqueProvider?: (values: Record<keyof T, any>) => Promise<boolean>;
|
|
169
|
+
possibilities?: {
|
|
170
|
+
[key: string]: WritableSignal<{
|
|
171
|
+
id: any;
|
|
172
|
+
text: string;
|
|
173
|
+
checked: boolean;
|
|
174
|
+
}[]>;
|
|
175
|
+
};
|
|
176
|
+
inputComponents?: {
|
|
177
|
+
[key: string]: InputBaseComponentType<T>;
|
|
178
|
+
};
|
|
179
|
+
fieldOptions?: IFieldOptions;
|
|
180
|
+
modelOptions?: IModelOptions;
|
|
181
|
+
}
|
|
182
|
+
type InputOptions<T> = IInputOptions & IInputFromFieldOptions<T>;
|
|
183
|
+
interface IInputOptions {
|
|
184
|
+
treeLevel: number;
|
|
185
|
+
control: UntypedFormControl | UntypedFormArray;
|
|
186
|
+
possibilities?: WritableSignal<{
|
|
187
|
+
id: any;
|
|
188
|
+
text: string;
|
|
189
|
+
checked: boolean;
|
|
190
|
+
}[]>;
|
|
191
|
+
component?: InputBaseComponentType<any>;
|
|
192
|
+
}
|
|
193
|
+
interface IInputFromFieldOptions<T> {
|
|
194
|
+
model: T;
|
|
195
|
+
fieldKey: string;
|
|
196
|
+
mode?: 'create' | 'update' | string;
|
|
197
|
+
}
|
|
198
|
+
interface IDetailsComponentFactories<T> {
|
|
199
|
+
top?: ComponentFactory<any>;
|
|
200
|
+
bottom?: ComponentFactory<any>;
|
|
201
|
+
}
|
|
202
|
+
interface IDetailsOptions<T extends IEntity<string>> {
|
|
203
|
+
title?: string;
|
|
204
|
+
cellPipe?: ICellPipe<T>;
|
|
205
|
+
type: any;
|
|
206
|
+
item: Signal<T>;
|
|
207
|
+
loading?: Signal<boolean>;
|
|
208
|
+
itemHandler?: ((id: string) => void) | null;
|
|
209
|
+
removeHandler?: ((item: T) => void) | null;
|
|
210
|
+
componentFactories?: IDetailsComponentFactories<T>;
|
|
211
|
+
}
|
|
212
|
+
interface IMenuItem {
|
|
213
|
+
mode?: 'divider' | 'default';
|
|
214
|
+
route?: string;
|
|
215
|
+
click?: (arg0: IMenuItem) => void;
|
|
216
|
+
caption?: string;
|
|
217
|
+
component?: any;
|
|
218
|
+
icon?: string;
|
|
219
|
+
infos?: Array<{
|
|
220
|
+
text: string;
|
|
221
|
+
}>;
|
|
222
|
+
}
|
|
223
|
+
interface IButtonOptions {
|
|
224
|
+
type?: 'submit' | 'button';
|
|
225
|
+
expand?: 'block' | 'full' | undefined;
|
|
226
|
+
confirm?: boolean;
|
|
227
|
+
color?: 'primary' | 'light' | string;
|
|
228
|
+
click: () => void;
|
|
229
|
+
loading?: Signal<boolean>;
|
|
230
|
+
}
|
|
231
|
+
interface IDetailOptions<T> {
|
|
232
|
+
key: string;
|
|
233
|
+
item?: Signal<T>;
|
|
234
|
+
options: IFieldOptions;
|
|
235
|
+
cellPipe?: ICellPipe<T>;
|
|
236
|
+
loading?: Signal<boolean>;
|
|
237
|
+
}
|
|
238
|
+
interface ICellPipe<T> extends PipeTransform {
|
|
239
|
+
transform(value: T, columnName: string, translate?: (val: string) => string): string;
|
|
240
|
+
}
|
|
241
|
+
interface IPageOptions {
|
|
242
|
+
title: string;
|
|
243
|
+
hideHeader?: boolean;
|
|
244
|
+
hideMenuButton?: boolean;
|
|
245
|
+
showBackButton?: boolean;
|
|
246
|
+
endButtons?: Array<IIconButtonOptions>;
|
|
247
|
+
search?: {
|
|
248
|
+
text: Signal<string>;
|
|
249
|
+
set: (txt: string) => void;
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
interface IListProvider<T> {
|
|
253
|
+
getData: (filter: any) => void;
|
|
254
|
+
onChangeMultiSelected?: (list: Array<T>) => void;
|
|
255
|
+
onCleanMultiSelected$?: Observable<void>;
|
|
256
|
+
list: Signal<T[]>;
|
|
257
|
+
loading: Signal<boolean>;
|
|
258
|
+
}
|
|
259
|
+
interface IListPaginationOptions {
|
|
260
|
+
mode?: PaginationMode;
|
|
261
|
+
limit: number;
|
|
262
|
+
loadNextPage: () => Promise<boolean>;
|
|
263
|
+
loadPrevPage: () => Promise<boolean>;
|
|
264
|
+
page: Signal<number>;
|
|
265
|
+
totalPages: Signal<number>;
|
|
266
|
+
}
|
|
267
|
+
declare enum PaginationMode {
|
|
268
|
+
infiniteScroll = "infiniteScroll",
|
|
269
|
+
singlePage = "singlePage"
|
|
270
|
+
}
|
|
271
|
+
declare enum ListMode {
|
|
272
|
+
mobile = "mobile",
|
|
273
|
+
desktop = "desktop",
|
|
274
|
+
masonryGrid = "masonryGrid"
|
|
275
|
+
}
|
|
276
|
+
interface IItemOptionsForPage {
|
|
277
|
+
routingPrefix: string;
|
|
278
|
+
edit: boolean;
|
|
279
|
+
}
|
|
280
|
+
interface IItemOptionsForCustom {
|
|
281
|
+
select: (id: string) => void;
|
|
282
|
+
edit: boolean;
|
|
283
|
+
}
|
|
284
|
+
type ItemOptions = IItemOptionsForPage | IItemOptionsForCustom;
|
|
285
|
+
interface IListComponentFactories<T> {
|
|
286
|
+
top?: ComponentFactory<any>;
|
|
287
|
+
}
|
|
288
|
+
interface IDetailsProvider<T> {
|
|
289
|
+
getData: (id: string) => void;
|
|
290
|
+
clearData: () => void;
|
|
291
|
+
item: Signal<T>;
|
|
292
|
+
loading: Signal<boolean>;
|
|
293
|
+
}
|
|
294
|
+
interface IListOptions<T> {
|
|
295
|
+
provider: IListProvider<T>;
|
|
296
|
+
type: any;
|
|
297
|
+
mode?: ListMode;
|
|
298
|
+
pagination?: IListPaginationOptions;
|
|
299
|
+
cellPipe?: ICellPipe<T>;
|
|
300
|
+
componentFactories?: IListComponentFactories<T>;
|
|
301
|
+
sort?: boolean | {
|
|
302
|
+
default?: string;
|
|
303
|
+
defaultDesc?: boolean;
|
|
304
|
+
};
|
|
305
|
+
details?: boolean | {
|
|
306
|
+
provider?: IDetailsProvider<T>;
|
|
307
|
+
componentFactories?: IDetailsComponentFactories<T>;
|
|
308
|
+
component?: Type<any>;
|
|
309
|
+
};
|
|
310
|
+
item?: boolean | {
|
|
311
|
+
options?: ItemOptions;
|
|
312
|
+
};
|
|
313
|
+
remove?: boolean | {
|
|
314
|
+
provider?: IRemoveProvider<T>;
|
|
315
|
+
};
|
|
316
|
+
select?: 'multi';
|
|
36
317
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionBodyComponent, "smart-accordion-body", never, {}, {}, never, ["*"], true, never>;
|
|
318
|
+
interface IRemoveProvider<T> {
|
|
319
|
+
invoke: (id: string) => void;
|
|
320
|
+
check?: (item: T) => boolean;
|
|
41
321
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
322
|
+
interface IListInternalOptions<T> extends IListOptions<T> {
|
|
323
|
+
fields?: Array<{
|
|
324
|
+
key: string;
|
|
325
|
+
options: IFieldOptions;
|
|
326
|
+
}>;
|
|
46
327
|
}
|
|
47
328
|
|
|
48
329
|
declare class AppService {
|
|
@@ -168,8 +449,6 @@ declare class SmartFormGroup extends UntypedFormGroup {
|
|
|
168
449
|
setForm(form: UntypedFormGroup): void;
|
|
169
450
|
}
|
|
170
451
|
|
|
171
|
-
type IStyle = Record<string, string | undefined>;
|
|
172
|
-
|
|
173
452
|
declare class StyleService {
|
|
174
453
|
private platformId;
|
|
175
454
|
static style: IStyle | null;
|
|
@@ -338,6 +617,109 @@ declare class ErrorService {
|
|
|
338
617
|
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorService>;
|
|
339
618
|
}
|
|
340
619
|
|
|
620
|
+
declare class DynamicContentDirective {
|
|
621
|
+
container: ViewContainerRef;
|
|
622
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicContentDirective, never>;
|
|
623
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicContentDirective, ".dynamic-content", never, {}, {}, never, never, true, never>;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
declare class DetailsDirective {
|
|
627
|
+
private modalService;
|
|
628
|
+
private hardwareService;
|
|
629
|
+
options: i0.InputSignal<{
|
|
630
|
+
component: any;
|
|
631
|
+
params: any;
|
|
632
|
+
mode?: "bottom" | "default";
|
|
633
|
+
}>;
|
|
634
|
+
smartDetailsShowed: i0.OutputEmitterRef<void>;
|
|
635
|
+
smartDetailsDismissed: i0.OutputEmitterRef<void>;
|
|
636
|
+
click(): Promise<void>;
|
|
637
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DetailsDirective, never>;
|
|
638
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DetailsDirective, "[smartDetails]", never, { "options": { "alias": "smartDetails"; "required": true; "isSignal": true; }; }, { "smartDetailsShowed": "smartDetailsShowed"; "smartDetailsDismissed": "smartDetailsDismissed"; }, never, never, true, never>;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
declare class SharedDirectivesModule {
|
|
642
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectivesModule, never>;
|
|
643
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, never, [typeof SharedServicesModule, typeof DynamicContentDirective], [typeof DynamicContentDirective]>;
|
|
644
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectivesModule>;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
declare class ModelLabelPipe<T> implements PipeTransform {
|
|
648
|
+
private translateService;
|
|
649
|
+
private modelLabelProvider;
|
|
650
|
+
transform(instance: T, key: string, type?: Type<any> | (() => void)): string;
|
|
651
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModelLabelPipe<any>, never>;
|
|
652
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ModelLabelPipe<any>, "smartModelLabel", true>;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
declare class ListCellPipe<T extends {
|
|
656
|
+
[key: string]: any;
|
|
657
|
+
}> implements PipeTransform {
|
|
658
|
+
private readonly translateService;
|
|
659
|
+
transform(obj: T, key: string, pipe: ICellPipe<T>, type?: Type<T>): {
|
|
660
|
+
value?: any;
|
|
661
|
+
type?: FieldTypeDef | null;
|
|
662
|
+
};
|
|
663
|
+
private getFieldType;
|
|
664
|
+
private getValue;
|
|
665
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListCellPipe<any>, never>;
|
|
666
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ListCellPipe<any>, "smartListCell", true>;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
declare class TrustHtmlPipe implements PipeTransform {
|
|
670
|
+
private sanitizer;
|
|
671
|
+
transform(val: string): SafeHtml;
|
|
672
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrustHtmlPipe, never>;
|
|
673
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TrustHtmlPipe, "smartTrustHtml", true>;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
declare class ListHeaderPipe<T> implements PipeTransform {
|
|
677
|
+
private translateService;
|
|
678
|
+
private modelLabelProvider;
|
|
679
|
+
transform(data: T, key: string, type?: Type<any>): Signal<string>;
|
|
680
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListHeaderPipe<any>, never>;
|
|
681
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ListHeaderPipe<any>, "smartListHeader", true>;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
declare class FileUrlPipe implements PipeTransform {
|
|
685
|
+
private service;
|
|
686
|
+
transform(file: {
|
|
687
|
+
id: any;
|
|
688
|
+
}): string;
|
|
689
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUrlPipe, never>;
|
|
690
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FileUrlPipe, "smartFileUrl", true>;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
declare class EnumToListPipe implements PipeTransform {
|
|
694
|
+
transform(value: any): Array<string>;
|
|
695
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnumToListPipe, never>;
|
|
696
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<EnumToListPipe, "smartEnumToList", true>;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
declare const PIPES: (typeof ModelLabelPipe | typeof ListCellPipe | typeof TrustHtmlPipe | typeof ListHeaderPipe | typeof EnumToListPipe)[];
|
|
700
|
+
declare class SharedPipesModule {
|
|
701
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipesModule, never>;
|
|
702
|
+
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]>;
|
|
703
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
declare class AccordionComponent {
|
|
707
|
+
show: ModelSignal<boolean>;
|
|
708
|
+
update(): void;
|
|
709
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
710
|
+
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>;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
declare class AccordionBodyComponent {
|
|
714
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionBodyComponent, never>;
|
|
715
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionBodyComponent, "smart-accordion-body", never, {}, {}, never, ["*"], true, never>;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
declare class AccordionHeaderComponent {
|
|
719
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionHeaderComponent, never>;
|
|
720
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionHeaderComponent, "smart-accordion-header", never, {}, {}, never, ["*"], true, never>;
|
|
721
|
+
}
|
|
722
|
+
|
|
341
723
|
declare abstract class AppBaseComponent implements OnDestroy, AfterContentInit {
|
|
342
724
|
protected router: Router;
|
|
343
725
|
protected cd: ChangeDetectorRef;
|
|
@@ -373,33 +755,6 @@ declare abstract class AppBaseComponent implements OnDestroy, AfterContentInit {
|
|
|
373
755
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AppBaseComponent, never, never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
374
756
|
}
|
|
375
757
|
|
|
376
|
-
declare class DynamicContentDirective {
|
|
377
|
-
container: ViewContainerRef;
|
|
378
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicContentDirective, never>;
|
|
379
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicContentDirective, ".dynamic-content", never, {}, {}, never, never, true, never>;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
declare class DetailsDirective {
|
|
383
|
-
private modalService;
|
|
384
|
-
private hardwareService;
|
|
385
|
-
options: i0.InputSignal<{
|
|
386
|
-
component: any;
|
|
387
|
-
params: any;
|
|
388
|
-
mode?: "bottom" | "default";
|
|
389
|
-
}>;
|
|
390
|
-
smartDetailsShowed: i0.OutputEmitterRef<void>;
|
|
391
|
-
smartDetailsDismissed: i0.OutputEmitterRef<void>;
|
|
392
|
-
click(): Promise<void>;
|
|
393
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DetailsDirective, never>;
|
|
394
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DetailsDirective, "[smartDetails]", never, { "options": { "alias": "smartDetails"; "required": true; "isSignal": true; }; }, { "smartDetailsShowed": "smartDetailsShowed"; "smartDetailsDismissed": "smartDetailsDismissed"; }, never, never, true, never>;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
declare class SharedDirectivesModule {
|
|
398
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectivesModule, never>;
|
|
399
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, never, [typeof SharedServicesModule, typeof DynamicContentDirective], [typeof DynamicContentDirective]>;
|
|
400
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectivesModule>;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
758
|
declare abstract class BaseComponent implements OnDestroy {
|
|
404
759
|
get takeUntilDestroy(): MonoTypeOperatorFunction<any>;
|
|
405
760
|
destroy$: Subject<boolean>;
|
|
@@ -446,103 +801,9 @@ declare class ButtonComponent extends ButtonComponent_base {
|
|
|
446
801
|
}
|
|
447
802
|
|
|
448
803
|
declare class ButtonStandardComponent extends ButtonBaseComponent {
|
|
449
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonStandardComponent, never>;
|
|
450
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonStandardComponent, "smart-button-standard", never, {}, {}, never, ["*"], true, never>;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
interface IFormProvider {
|
|
454
|
-
submit(): void;
|
|
455
|
-
}
|
|
456
|
-
interface IAppProvider {
|
|
457
|
-
logged: Signal<boolean>;
|
|
458
|
-
username: Signal<string>;
|
|
459
|
-
logout: () => void;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
declare abstract class IModelExportProvider {
|
|
463
|
-
abstract execute(type: Type<any>, value: any): void;
|
|
464
|
-
}
|
|
465
|
-
declare const MODEL_EXPORT_PROVIDER: InjectionToken<IModelExportProvider>;
|
|
466
|
-
|
|
467
|
-
declare abstract class IModelImportProvider {
|
|
468
|
-
abstract getAccept(type: Type<any>): Promise<string>;
|
|
469
|
-
abstract convert(type: Type<any>, file: File): Promise<any>;
|
|
470
|
-
}
|
|
471
|
-
declare const MODEL_IMPORT_PROVIDER: InjectionToken<IModelImportProvider>;
|
|
472
|
-
|
|
473
|
-
declare abstract class IModelLabelProvider {
|
|
474
|
-
abstract get(options: IModelLabelOptions): Signal<string>;
|
|
475
|
-
}
|
|
476
|
-
interface IModelLabelOptions {
|
|
477
|
-
key: string;
|
|
478
|
-
instance?: any;
|
|
479
|
-
type?: Type<any>;
|
|
480
|
-
}
|
|
481
|
-
declare const MODEL_LABEL_PROVIDER: InjectionToken<IModelLabelOptions>;
|
|
482
|
-
|
|
483
|
-
declare abstract class IModelPossibilitiesProvider {
|
|
484
|
-
abstract get(options: IModelPossibilitiesOptions): WritableSignal<{
|
|
485
|
-
id: any;
|
|
486
|
-
text: string;
|
|
487
|
-
checked: boolean;
|
|
488
|
-
}[]>;
|
|
489
|
-
}
|
|
490
|
-
interface IModelPossibilitiesOptions {
|
|
491
|
-
key: string;
|
|
492
|
-
instance: any;
|
|
493
|
-
type?: Type<any>;
|
|
494
|
-
}
|
|
495
|
-
declare const MODEL_POSSIBILITIES_PROVIDER: InjectionToken<IModelPossibilitiesProvider>;
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* @example
|
|
499
|
-
*
|
|
500
|
-
* in module:
|
|
501
|
-
@NgModule({
|
|
502
|
-
providers: [
|
|
503
|
-
...
|
|
504
|
-
{
|
|
505
|
-
provide: MODEL_VALIDATORS_PROVIDER,
|
|
506
|
-
useClass: ModelValidatorsProvider
|
|
507
|
-
}
|
|
508
|
-
],
|
|
509
|
-
*
|
|
510
|
-
* provider:
|
|
511
|
-
* @Injectable()
|
|
512
|
-
export class ModelValidatorsProvider extends IModelValidatorsProvider {
|
|
513
|
-
async get(options: IModelValidatorsOptions): Promise<IModelValidators> {
|
|
514
|
-
if (options.type === Todo && options.key === 'test') {
|
|
515
|
-
return {
|
|
516
|
-
validators: null,
|
|
517
|
-
asyncValidators: null
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
if (options.type === Todo && options.key === 'number') {
|
|
522
|
-
return {
|
|
523
|
-
validators: [ Validators.required ],
|
|
524
|
-
asyncValidators: null
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
return Promise.resolve(options.base);
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
*/
|
|
532
|
-
declare abstract class IModelValidatorsProvider {
|
|
533
|
-
abstract get(options: IModelValidatorsOptions): Promise<IModelValidators>;
|
|
534
|
-
}
|
|
535
|
-
interface IModelValidatorsOptions {
|
|
536
|
-
key: string;
|
|
537
|
-
instance: any;
|
|
538
|
-
type?: Type<any> | (() => void);
|
|
539
|
-
base?: IModelValidators;
|
|
540
|
-
}
|
|
541
|
-
interface IModelValidators {
|
|
542
|
-
validators?: ValidatorFn | ValidatorFn[];
|
|
543
|
-
asyncValidators?: AsyncValidatorFn | AsyncValidatorFn[];
|
|
804
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonStandardComponent, never>;
|
|
805
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonStandardComponent, "smart-button-standard", never, {}, {}, never, ["*"], true, never>;
|
|
544
806
|
}
|
|
545
|
-
declare const MODEL_VALIDATORS_PROVIDER: InjectionToken<IModelValidatorsProvider>;
|
|
546
807
|
|
|
547
808
|
declare abstract class InputBaseComponent<T> extends BaseComponent {
|
|
548
809
|
protected cd: ChangeDetectorRef;
|
|
@@ -1487,260 +1748,6 @@ declare class PasswordStrengthComponent implements OnChanges {
|
|
|
1487
1748
|
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>;
|
|
1488
1749
|
}
|
|
1489
1750
|
|
|
1490
|
-
interface IAppOptions {
|
|
1491
|
-
provider: IAppProvider;
|
|
1492
|
-
logo?: string;
|
|
1493
|
-
menu?: {
|
|
1494
|
-
showForAnonymous?: boolean;
|
|
1495
|
-
items?: IMenuItem[];
|
|
1496
|
-
};
|
|
1497
|
-
style?: IStyle;
|
|
1498
|
-
}
|
|
1499
|
-
interface ICardOptions {
|
|
1500
|
-
title?: string;
|
|
1501
|
-
buttons?: Array<IIconButtonOptions>;
|
|
1502
|
-
}
|
|
1503
|
-
interface IIconButtonOptions {
|
|
1504
|
-
icon: string;
|
|
1505
|
-
text?: string;
|
|
1506
|
-
handler?: () => void;
|
|
1507
|
-
component?: any;
|
|
1508
|
-
type?: 'default' | 'popover';
|
|
1509
|
-
disabled$?: Observable<boolean>;
|
|
1510
|
-
number?: number;
|
|
1511
|
-
}
|
|
1512
|
-
type DynamicComponentType = 'form' | 'page' | 'button' | 'details' | 'list' | 'crud-list-page' | 'crud-item-page';
|
|
1513
|
-
interface IDynamicComponentData {
|
|
1514
|
-
key: DynamicComponentType;
|
|
1515
|
-
component: Type<any>;
|
|
1516
|
-
data?: any;
|
|
1517
|
-
}
|
|
1518
|
-
interface IFormOptions<T> {
|
|
1519
|
-
model: T;
|
|
1520
|
-
show: boolean;
|
|
1521
|
-
treeLevel?: number;
|
|
1522
|
-
control?: AbstractControl;
|
|
1523
|
-
mode?: 'create' | 'update' | string;
|
|
1524
|
-
loading$?: Observable<boolean>;
|
|
1525
|
-
uniqueProvider?: (values: Record<keyof T, any>) => Promise<boolean>;
|
|
1526
|
-
possibilities?: {
|
|
1527
|
-
[key: string]: WritableSignal<{
|
|
1528
|
-
id: any;
|
|
1529
|
-
text: string;
|
|
1530
|
-
checked: boolean;
|
|
1531
|
-
}[]>;
|
|
1532
|
-
};
|
|
1533
|
-
inputComponents?: {
|
|
1534
|
-
[key: string]: Type<InputBaseComponent<T>>;
|
|
1535
|
-
};
|
|
1536
|
-
fieldOptions?: IFieldOptions;
|
|
1537
|
-
modelOptions?: IModelOptions;
|
|
1538
|
-
}
|
|
1539
|
-
type InputOptions<T> = IInputOptions & IInputFromFieldOptions<T>;
|
|
1540
|
-
interface IInputOptions {
|
|
1541
|
-
treeLevel: number;
|
|
1542
|
-
control: UntypedFormControl | UntypedFormArray;
|
|
1543
|
-
possibilities?: WritableSignal<{
|
|
1544
|
-
id: any;
|
|
1545
|
-
text: string;
|
|
1546
|
-
checked: boolean;
|
|
1547
|
-
}[]>;
|
|
1548
|
-
component?: Type<InputBaseComponent<any>>;
|
|
1549
|
-
}
|
|
1550
|
-
interface IInputFromFieldOptions<T> {
|
|
1551
|
-
model: T;
|
|
1552
|
-
fieldKey: string;
|
|
1553
|
-
mode?: 'create' | 'update' | string;
|
|
1554
|
-
}
|
|
1555
|
-
interface IDetailsComponentFactories<T> {
|
|
1556
|
-
top?: ComponentFactory<any>;
|
|
1557
|
-
bottom?: ComponentFactory<any>;
|
|
1558
|
-
}
|
|
1559
|
-
interface IDetailsOptions<T extends IEntity<string>> {
|
|
1560
|
-
title?: string;
|
|
1561
|
-
cellPipe?: ICellPipe<T>;
|
|
1562
|
-
type: any;
|
|
1563
|
-
item: Signal<T>;
|
|
1564
|
-
loading?: Signal<boolean>;
|
|
1565
|
-
itemHandler?: ((id: string) => void) | null;
|
|
1566
|
-
removeHandler?: ((item: T) => void) | null;
|
|
1567
|
-
componentFactories?: IDetailsComponentFactories<T>;
|
|
1568
|
-
}
|
|
1569
|
-
interface IMenuItem {
|
|
1570
|
-
mode?: 'divider' | 'default';
|
|
1571
|
-
route?: string;
|
|
1572
|
-
click?: (arg0: IMenuItem) => void;
|
|
1573
|
-
caption?: string;
|
|
1574
|
-
component?: any;
|
|
1575
|
-
icon?: string;
|
|
1576
|
-
infos?: Array<{
|
|
1577
|
-
text: string;
|
|
1578
|
-
}>;
|
|
1579
|
-
}
|
|
1580
|
-
interface IButtonOptions {
|
|
1581
|
-
type?: 'submit' | 'button';
|
|
1582
|
-
expand?: 'block' | 'full' | undefined;
|
|
1583
|
-
confirm?: boolean;
|
|
1584
|
-
color?: 'primary' | 'light' | string;
|
|
1585
|
-
click: () => void;
|
|
1586
|
-
loading?: Signal<boolean>;
|
|
1587
|
-
}
|
|
1588
|
-
interface IDetailOptions<T> {
|
|
1589
|
-
key: string;
|
|
1590
|
-
item?: Signal<T>;
|
|
1591
|
-
options: IFieldOptions;
|
|
1592
|
-
cellPipe?: ICellPipe<T>;
|
|
1593
|
-
loading?: Signal<boolean>;
|
|
1594
|
-
}
|
|
1595
|
-
interface ICellPipe<T> extends PipeTransform {
|
|
1596
|
-
transform(value: T, columnName: string, translate?: (val: string) => string): string;
|
|
1597
|
-
}
|
|
1598
|
-
interface IPageOptions {
|
|
1599
|
-
title: string;
|
|
1600
|
-
hideHeader?: boolean;
|
|
1601
|
-
hideMenuButton?: boolean;
|
|
1602
|
-
showBackButton?: boolean;
|
|
1603
|
-
endButtons?: Array<IIconButtonOptions>;
|
|
1604
|
-
search?: {
|
|
1605
|
-
text: Signal<string>;
|
|
1606
|
-
set: (txt: string) => void;
|
|
1607
|
-
};
|
|
1608
|
-
}
|
|
1609
|
-
interface IListProvider<T> {
|
|
1610
|
-
getData: (filter: any) => void;
|
|
1611
|
-
onChangeMultiSelected?: (list: Array<T>) => void;
|
|
1612
|
-
onCleanMultiSelected$?: Observable<void>;
|
|
1613
|
-
list: Signal<T[]>;
|
|
1614
|
-
loading: Signal<boolean>;
|
|
1615
|
-
}
|
|
1616
|
-
interface IListPaginationOptions {
|
|
1617
|
-
mode?: PaginationMode;
|
|
1618
|
-
limit: number;
|
|
1619
|
-
loadNextPage: () => Promise<boolean>;
|
|
1620
|
-
loadPrevPage: () => Promise<boolean>;
|
|
1621
|
-
page: Signal<number>;
|
|
1622
|
-
totalPages: Signal<number>;
|
|
1623
|
-
}
|
|
1624
|
-
declare enum PaginationMode {
|
|
1625
|
-
infiniteScroll = "infiniteScroll",
|
|
1626
|
-
singlePage = "singlePage"
|
|
1627
|
-
}
|
|
1628
|
-
declare enum ListMode {
|
|
1629
|
-
mobile = "mobile",
|
|
1630
|
-
desktop = "desktop",
|
|
1631
|
-
masonryGrid = "masonryGrid"
|
|
1632
|
-
}
|
|
1633
|
-
interface IItemOptionsForPage {
|
|
1634
|
-
routingPrefix: string;
|
|
1635
|
-
edit: boolean;
|
|
1636
|
-
}
|
|
1637
|
-
interface IItemOptionsForCustom {
|
|
1638
|
-
select: (id: string) => void;
|
|
1639
|
-
edit: boolean;
|
|
1640
|
-
}
|
|
1641
|
-
type ItemOptions = IItemOptionsForPage | IItemOptionsForCustom;
|
|
1642
|
-
interface IListComponentFactories<T> {
|
|
1643
|
-
top?: ComponentFactory<any>;
|
|
1644
|
-
}
|
|
1645
|
-
interface IDetailsProvider<T> {
|
|
1646
|
-
getData: (id: string) => void;
|
|
1647
|
-
clearData: () => void;
|
|
1648
|
-
item: Signal<T>;
|
|
1649
|
-
loading: Signal<boolean>;
|
|
1650
|
-
}
|
|
1651
|
-
interface IListOptions<T> {
|
|
1652
|
-
provider: IListProvider<T>;
|
|
1653
|
-
type: any;
|
|
1654
|
-
mode?: ListMode;
|
|
1655
|
-
pagination?: IListPaginationOptions;
|
|
1656
|
-
cellPipe?: ICellPipe<T>;
|
|
1657
|
-
componentFactories?: IListComponentFactories<T>;
|
|
1658
|
-
sort?: boolean | {
|
|
1659
|
-
default?: string;
|
|
1660
|
-
defaultDesc?: boolean;
|
|
1661
|
-
};
|
|
1662
|
-
details?: boolean | {
|
|
1663
|
-
provider?: IDetailsProvider<T>;
|
|
1664
|
-
componentFactories?: IDetailsComponentFactories<T>;
|
|
1665
|
-
};
|
|
1666
|
-
item?: boolean | {
|
|
1667
|
-
options?: ItemOptions;
|
|
1668
|
-
};
|
|
1669
|
-
remove?: boolean | {
|
|
1670
|
-
provider?: IRemoveProvider<T>;
|
|
1671
|
-
};
|
|
1672
|
-
select?: 'multi';
|
|
1673
|
-
}
|
|
1674
|
-
interface IRemoveProvider<T> {
|
|
1675
|
-
invoke: (id: string) => void;
|
|
1676
|
-
check?: (item: T) => boolean;
|
|
1677
|
-
}
|
|
1678
|
-
interface IListInternalOptions<T> extends IListOptions<T> {
|
|
1679
|
-
fields?: Array<{
|
|
1680
|
-
key: string;
|
|
1681
|
-
options: IFieldOptions;
|
|
1682
|
-
}>;
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
declare class ModelLabelPipe<T> implements PipeTransform {
|
|
1686
|
-
private translateService;
|
|
1687
|
-
private modelLabelProvider;
|
|
1688
|
-
transform(instance: T, key: string, type?: Type<any> | (() => void)): string;
|
|
1689
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModelLabelPipe<any>, never>;
|
|
1690
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ModelLabelPipe<any>, "smartModelLabel", true>;
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
declare class ListCellPipe<T extends {
|
|
1694
|
-
[key: string]: any;
|
|
1695
|
-
}> implements PipeTransform {
|
|
1696
|
-
private readonly translateService;
|
|
1697
|
-
transform(obj: T, key: string, pipe: ICellPipe<T>, type?: Type<T>): {
|
|
1698
|
-
value?: any;
|
|
1699
|
-
type?: FieldTypeDef | null;
|
|
1700
|
-
};
|
|
1701
|
-
private getFieldType;
|
|
1702
|
-
private getValue;
|
|
1703
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListCellPipe<any>, never>;
|
|
1704
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ListCellPipe<any>, "smartListCell", true>;
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
declare class TrustHtmlPipe implements PipeTransform {
|
|
1708
|
-
private sanitizer;
|
|
1709
|
-
transform(val: string): SafeHtml;
|
|
1710
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TrustHtmlPipe, never>;
|
|
1711
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TrustHtmlPipe, "smartTrustHtml", true>;
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
declare class ListHeaderPipe<T> implements PipeTransform {
|
|
1715
|
-
private translateService;
|
|
1716
|
-
private modelLabelProvider;
|
|
1717
|
-
transform(data: T, key: string, type?: Type<any>): Signal<string>;
|
|
1718
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListHeaderPipe<any>, never>;
|
|
1719
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ListHeaderPipe<any>, "smartListHeader", true>;
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
declare class FileUrlPipe implements PipeTransform {
|
|
1723
|
-
private service;
|
|
1724
|
-
transform(file: {
|
|
1725
|
-
id: any;
|
|
1726
|
-
}): string;
|
|
1727
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileUrlPipe, never>;
|
|
1728
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FileUrlPipe, "smartFileUrl", true>;
|
|
1729
|
-
}
|
|
1730
|
-
|
|
1731
|
-
declare class EnumToListPipe implements PipeTransform {
|
|
1732
|
-
transform(value: any): Array<string>;
|
|
1733
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnumToListPipe, never>;
|
|
1734
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<EnumToListPipe, "smartEnumToList", true>;
|
|
1735
|
-
}
|
|
1736
|
-
|
|
1737
|
-
declare const PIPES: (typeof ModelLabelPipe | typeof ListCellPipe | typeof TrustHtmlPipe | typeof ListHeaderPipe | typeof EnumToListPipe)[];
|
|
1738
|
-
declare class SharedPipesModule {
|
|
1739
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipesModule, never>;
|
|
1740
|
-
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]>;
|
|
1741
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
1751
|
declare class FormFactory {
|
|
1745
1752
|
private fb;
|
|
1746
1753
|
private authService;
|
|
@@ -1802,7 +1809,7 @@ declare class SharedModule {
|
|
|
1802
1809
|
declare class NgrxSharedModule {
|
|
1803
1810
|
constructor(store: Store<any>, storeService: NgrxStoreService);
|
|
1804
1811
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgrxSharedModule, never>;
|
|
1805
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgrxSharedModule, never, [typeof SharedModule
|
|
1812
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgrxSharedModule, never, [typeof SharedModule], never>;
|
|
1806
1813
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgrxSharedModule>;
|
|
1807
1814
|
}
|
|
1808
1815
|
|
|
@@ -1817,4 +1824,4 @@ declare const SmartNgModule: typeof SmartNgModuleDecorator;
|
|
|
1817
1824
|
declare function SmartNgModuleDecorator(options: NgModule): (constructor: any) => any;
|
|
1818
1825
|
|
|
1819
1826
|
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 };
|
|
1827
|
+
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 };
|