@rlucan/ui 19.0.7 → 20.0.2

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.
Files changed (42) hide show
  1. package/fesm2022/rlucan-ui.mjs +113 -113
  2. package/fesm2022/rlucan-ui.mjs.map +1 -1
  3. package/index.d.ts +905 -5
  4. package/package.json +10 -9
  5. package/ui.scss +15 -15
  6. package/lib/action-button/action-button.component.d.ts +0 -28
  7. package/lib/action-icon/action-icon.component.d.ts +0 -15
  8. package/lib/auto-complete/auto-complete.component.d.ts +0 -67
  9. package/lib/autocomplete/autocomplete.component.d.ts +0 -57
  10. package/lib/avatar/avatar.component.d.ts +0 -14
  11. package/lib/button/button.component.d.ts +0 -18
  12. package/lib/checkbox/checkbox.component.d.ts +0 -15
  13. package/lib/checkbox-group/checkbox-group.component.d.ts +0 -18
  14. package/lib/currency/currency.component.d.ts +0 -31
  15. package/lib/date/date.component.d.ts +0 -24
  16. package/lib/dialog/dialog.component.d.ts +0 -13
  17. package/lib/directives/force-visibility/force-visibility.directive.d.ts +0 -22
  18. package/lib/editor/editor.component.d.ts +0 -24
  19. package/lib/elements/burger/burger.component.d.ts +0 -9
  20. package/lib/elements/expander/expander.component.d.ts +0 -10
  21. package/lib/elements/validation-message/validation-message.component.d.ts +0 -12
  22. package/lib/file/file.component.d.ts +0 -36
  23. package/lib/file-uploader/ui-file-uploader.component.d.ts +0 -107
  24. package/lib/input/input.component.d.ts +0 -42
  25. package/lib/input-autocomplete/input-autocomplete.component.d.ts +0 -44
  26. package/lib/layouts/base/ui-base-layout.component.d.ts +0 -8
  27. package/lib/layouts/base/ui-base.component.d.ts +0 -23
  28. package/lib/layouts/simple/ui-simple-layout.component.d.ts +0 -8
  29. package/lib/layouts/simple/ui-simple.component.d.ts +0 -40
  30. package/lib/radio/radio.component.d.ts +0 -8
  31. package/lib/radio-group/radio-group.component.d.ts +0 -19
  32. package/lib/select/select.component.d.ts +0 -37
  33. package/lib/services/message-box.service.d.ts +0 -58
  34. package/lib/services/toast.service.d.ts +0 -13
  35. package/lib/services/ui-file.service.d.ts +0 -37
  36. package/lib/services/ui-translate.service.d.ts +0 -11
  37. package/lib/submit-button/submit-button.component.d.ts +0 -21
  38. package/lib/table/table.component.d.ts +0 -39
  39. package/lib/text-area/text-area.component.d.ts +0 -18
  40. package/lib/ui.model.d.ts +0 -2
  41. package/lib/ui.module.d.ts +0 -60
  42. package/public-api.d.ts +0 -30
package/index.d.ts CHANGED
@@ -1,5 +1,905 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@rlucan/ui" />
5
- export * from './public-api';
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, OnChanges, OnDestroy, SimpleChanges, ElementRef, EventEmitter, InjectionToken, TemplateRef, AfterViewInit, ChangeDetectorRef } from '@angular/core';
3
+ import * as i38 from '@angular/forms';
4
+ import { ValidationErrors, ControlValueAccessor, Validator, NgControl, ControlContainer, UntypedFormControl, FormControl, AbstractControl, UntypedFormGroup } from '@angular/forms';
5
+ import { Subscription, Subject, Observable } from 'rxjs';
6
+ import * as i43 from '@angular/material/select';
7
+ import { MatSelect } from '@angular/material/select';
8
+ import * as i44 from 'ngx-uploader';
9
+ import { UploadFile, UploadInput, UploaderOptions, UploadOutput } from 'ngx-uploader';
10
+ import { DomSanitizer } from '@angular/platform-browser';
11
+ import * as i47 from 'ngx-image-cropper';
12
+ import { ImageTransform, ImageCroppedEvent, Dimensions } from 'ngx-image-cropper';
13
+ import * as i33 from '@angular/material/dialog';
14
+ import { MatDialogRef, MatDialog } from '@angular/material/dialog';
15
+ import * as i42 from '@angular/material/sort';
16
+ import { SortDirection, MatSort } from '@angular/material/sort';
17
+ import * as i49 from '@angular/cdk/overlay';
18
+ import { CdkOverlayOrigin, ConnectedPosition } from '@angular/cdk/overlay';
19
+ import EditorJS from '@editorjs/editorjs';
20
+ import * as i30 from '@angular/common';
21
+ import * as i31 from '@angular/material/button';
22
+ import * as i32 from '@angular/material/icon';
23
+ import * as i34 from '@angular/material/checkbox';
24
+ import * as i35 from '@angular/material/datepicker';
25
+ import * as i36 from '@angular/material-moment-adapter';
26
+ import * as i37 from '@angular/cdk/drag-drop';
27
+ import * as i39 from '@angular/material/tooltip';
28
+ import * as i40 from '@angular/material/progress-bar';
29
+ import * as i41 from '@angular/material/table';
30
+ import * as i45 from '@angular/material/progress-spinner';
31
+ import * as i46 from '@angular/material/menu';
32
+ import * as i48 from '@angular/router';
33
+ import * as i50 from '@angular/material/core';
34
+ import * as i51 from '@angular/material/input';
35
+ import * as i52 from '@angular/material/radio';
36
+ import * as i53 from '@angular/material/snack-bar';
37
+ import { MatSnackBar } from '@angular/material/snack-bar';
38
+ import * as i54 from '@angular/material/autocomplete';
39
+
40
+ type ControlSize = 'small' | 'smaller' | 'normal' | 'larger' | 'large';
41
+ type ControlColor = 'primary' | 'accent' | 'warn';
42
+
43
+ declare class ButtonComponent {
44
+ type: 'submit' | 'button';
45
+ matIconPrefix: any;
46
+ label: string | undefined;
47
+ disabled: boolean;
48
+ busy: boolean;
49
+ kind: 'basic' | 'flat' | 'stroked';
50
+ color: ControlColor;
51
+ size: ControlSize;
52
+ get class(): string;
53
+ formInvalid: boolean;
54
+ constructor();
55
+ get isDisabled(): boolean;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "type": { "alias": "type"; "required": false; }; "matIconPrefix": { "alias": "matIconPrefix"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "kind": { "alias": "kind"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "formInvalid": { "alias": "formInvalid"; "required": false; }; }, {}, never, ["*"], false, never>;
58
+ }
59
+
60
+ interface UiValidators {
61
+ required?: boolean;
62
+ maxLength?: number;
63
+ }
64
+ declare abstract class UiBaseComponent implements OnInit {
65
+ placeholder: string;
66
+ label: string | undefined;
67
+ useInputMessages: 'never' | 'always' | 'ondemand';
68
+ inputMessagesPosition: 'absolute' | 'relative';
69
+ hint?: string;
70
+ size: 'small' | 'smaller' | 'normal' | 'larger' | 'large';
71
+ required: boolean;
72
+ constructor();
73
+ ngOnInit(): void;
74
+ get validationErrors(): ValidationErrors;
75
+ get validationMessage(): string;
76
+ get isInvalid(): boolean;
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiBaseComponent, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiBaseComponent, "ui-abstract-base-component", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "useInputMessages": { "alias": "useInputMessages"; "required": false; }; "inputMessagesPosition": { "alias": "inputMessagesPosition"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
79
+ }
80
+
81
+ declare abstract class UiSimpleComponent extends UiBaseComponent implements OnInit, OnChanges, OnDestroy, ControlValueAccessor, Validator {
82
+ ngControl: NgControl;
83
+ protected controlContainer: ControlContainer;
84
+ validators: UiValidators | undefined;
85
+ formControl: any;
86
+ formControlName: any;
87
+ componentFormControl: UntypedFormControl;
88
+ parentFormControl: UntypedFormControl & {
89
+ _componentFormControl: FormControl;
90
+ _markAsTouched: Function;
91
+ _setErrors: Function;
92
+ };
93
+ sub: Subscription;
94
+ constructor(ngControl: NgControl, // <-- obsolete
95
+ controlContainer?: ControlContainer);
96
+ get maxLenRequired(): boolean;
97
+ get isInvalid(): boolean;
98
+ get validationErrors(): ValidationErrors;
99
+ onChange: (val: any) => void;
100
+ onTouched: () => void;
101
+ onValidatorChange: () => void;
102
+ ngOnDestroy(): void;
103
+ ngOnInit(): void;
104
+ applyTemplateValidators(): void;
105
+ ngOnChanges(changes: SimpleChanges): void;
106
+ registerOnChange(fn: any): void;
107
+ registerOnTouched(fn: any): void;
108
+ setDisabledState(isDisabled: boolean): void;
109
+ writeValue(obj: any): void;
110
+ registerOnValidatorChange(fn: () => void): void;
111
+ validate(control: AbstractControl): ValidationErrors | null;
112
+ inputLength(): any;
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiSimpleComponent, never>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiSimpleComponent, "ui-abstract-simple-component", never, { "validators": { "alias": "validators"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; }, {}, never, never, false, never>;
115
+ }
116
+
117
+ type PrefixSuffix$1 = {
118
+ icon: string;
119
+ tooltip?: string;
120
+ };
121
+ declare class InputComponent extends UiSimpleComponent implements OnInit {
122
+ protected controlContainer: ControlContainer;
123
+ prefixIcon: PrefixSuffix$1;
124
+ suffixIcon: PrefixSuffix$1;
125
+ type: 'text' | 'number' | 'password';
126
+ clearButton: boolean;
127
+ activeIcons: boolean;
128
+ forceHasPrefix: boolean;
129
+ forceHasSuffix: boolean;
130
+ get textAlignClass(): string;
131
+ textAlign: 'left' | 'center' | 'right';
132
+ input: ElementRef | undefined;
133
+ prefix: ElementRef | undefined;
134
+ suffix: ElementRef | undefined;
135
+ focusChanged: EventEmitter<boolean>;
136
+ keyPressed: EventEmitter<KeyboardEvent>;
137
+ get hasPrefix(): boolean;
138
+ get hasSuffix(): boolean;
139
+ required: boolean;
140
+ hasFocus: boolean;
141
+ value: string;
142
+ get maxLenRequired(): boolean;
143
+ constructor(controlContainer: ControlContainer);
144
+ get showClearButton(): boolean;
145
+ ngOnInit(): void;
146
+ clearValue(): void;
147
+ focus(): void;
148
+ onFocus(focus: boolean): void;
149
+ onKeypressed($event: any): void;
150
+ validate(control: AbstractControl): ValidationErrors | null;
151
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, [{ optional: true; host: true; skipSelf: true; }]>;
152
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ui-input", never, { "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "activeIcons": { "alias": "activeIcons"; "required": false; }; "forceHasPrefix": { "alias": "forceHasPrefix"; "required": false; }; "forceHasSuffix": { "alias": "forceHasSuffix"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; }, { "focusChanged": "focusChanged"; "keyPressed": "keyPressed"; }, never, ["[slot=prefix]", "[slot=suffix]"], false, never>;
153
+ }
154
+
155
+ type PrefixSuffix = {
156
+ icon: string;
157
+ tooltip?: string;
158
+ };
159
+ declare class InputAutocompleteComponent extends UiSimpleComponent implements OnInit {
160
+ protected controlContainer: ControlContainer;
161
+ prefixIcon: PrefixSuffix;
162
+ suffixIcon: PrefixSuffix;
163
+ type: 'text' | 'number' | 'password';
164
+ clearButton: boolean;
165
+ activeIcons: boolean;
166
+ forceHasPrefix: boolean;
167
+ forceHasSuffix: boolean;
168
+ options: any[];
169
+ get textAlignClass(): string;
170
+ textAlign: 'left' | 'center' | 'right';
171
+ input: ElementRef | undefined;
172
+ prefix: ElementRef | undefined;
173
+ suffix: ElementRef | undefined;
174
+ focusChanged: EventEmitter<boolean>;
175
+ keyPressed: EventEmitter<KeyboardEvent>;
176
+ get hasPrefix(): boolean;
177
+ get hasSuffix(): boolean;
178
+ filteredOptions: any[];
179
+ required: boolean;
180
+ hasFocus: boolean;
181
+ value: string;
182
+ get maxLenRequired(): boolean;
183
+ constructor(controlContainer: ControlContainer);
184
+ get showClearButton(): boolean;
185
+ ngOnInit(): void;
186
+ clearValue(): void;
187
+ focus(): void;
188
+ onFocus(focus: boolean): void;
189
+ onKeypressed($event: any): void;
190
+ validate(control: AbstractControl): ValidationErrors | null;
191
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputAutocompleteComponent, [{ optional: true; host: true; skipSelf: true; }]>;
192
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputAutocompleteComponent, "ui-input-autocomplete", never, { "prefixIcon": { "alias": "prefixIcon"; "required": false; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "activeIcons": { "alias": "activeIcons"; "required": false; }; "forceHasPrefix": { "alias": "forceHasPrefix"; "required": false; }; "forceHasSuffix": { "alias": "forceHasSuffix"; "required": false; }; "options": { "alias": "options"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; }, { "focusChanged": "focusChanged"; "keyPressed": "keyPressed"; }, never, ["[slot=prefix]", "[slot=suffix]"], false, never>;
193
+ }
194
+
195
+ interface IUiTranslateService {
196
+ instant: (code: string, data?: any) => string;
197
+ }
198
+ declare const UI_TRANSLATESERVICE: InjectionToken<IUiTranslateService>;
199
+ declare class UiTranslateService implements IUiTranslateService {
200
+ instant(code: string, data: any): string;
201
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTranslateService, never>;
202
+ static ɵprov: i0.ɵɵInjectableDeclaration<UiTranslateService>;
203
+ }
204
+
205
+ declare class SelectComponent extends UiSimpleComponent implements OnInit, OnChanges {
206
+ ngControl: NgControl;
207
+ translateService: IUiTranslateService;
208
+ multiple: boolean;
209
+ triggerFormatter: any;
210
+ valueAttribute: string | undefined;
211
+ resetText: string | undefined;
212
+ displayAttribute: string | undefined;
213
+ options: any[];
214
+ optionFormatter: ((arg: any) => string | undefined) | undefined;
215
+ optionTemplateRef?: TemplateRef<any>;
216
+ triggerTemplateRef?: TemplateRef<any>;
217
+ panelClass: string;
218
+ allowEmptySelection: boolean;
219
+ trackBy: any;
220
+ select?: MatSelect;
221
+ lastCount: number;
222
+ overoption: any;
223
+ constructor(ngControl: NgControl, translateService: IUiTranslateService);
224
+ ngOnInit(): void;
225
+ ngOnChanges(changes: SimpleChanges): void;
226
+ mapValues(src: any): any;
227
+ optionToValue: (o: any) => any;
228
+ selectOption(o: any, select: MatSelect): void;
229
+ selectAll(): void;
230
+ clearAll(): void;
231
+ setDisabledState(): void;
232
+ writeValue(obj: any): void;
233
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, [{ optional: true; self: true; }, null]>;
234
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "ui-select", never, { "multiple": { "alias": "multiple"; "required": false; }; "triggerFormatter": { "alias": "triggerFormatter"; "required": false; }; "valueAttribute": { "alias": "valueAttribute"; "required": false; }; "resetText": { "alias": "resetText"; "required": false; }; "displayAttribute": { "alias": "displayAttribute"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionFormatter": { "alias": "optionFormatter"; "required": false; }; "optionTemplateRef": { "alias": "optionTemplateRef"; "required": false; }; "triggerTemplateRef": { "alias": "triggerTemplateRef"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "allowEmptySelection": { "alias": "allowEmptySelection"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; }, {}, never, never, false, never>;
235
+ }
236
+
237
+ interface IUiFileSize {
238
+ name: string;
239
+ width: number;
240
+ height: number;
241
+ limit?: 'fit' | 'maxWidth' | 'maxHeight';
242
+ }
243
+ type IUiFileServiceMessages = 'cropInvalidFileType' | 'extensionNotAllowed' | 'fileAdded' | 'fileRemoved';
244
+ interface IUiFileService {
245
+ getAuthHeader: () => {
246
+ [key: string]: string;
247
+ };
248
+ uploadUrl: (size?: IUiFileSize) => string;
249
+ getMediaSrc: (size: IUiFileSize, data: any, options: any) => string;
250
+ getPreviewUrl: (size: IUiFileSize, data: any) => string;
251
+ addFileImgSrc: (size: IUiFileSize) => string;
252
+ getMimeType: (data: any) => string;
253
+ imageSizes: IUiFileSize[];
254
+ concurrentUploads: number;
255
+ useRetinaSrc: boolean;
256
+ fileValidation?: (size: IUiFileSize, file: UploadFile) => Promise<boolean>;
257
+ }
258
+ declare const UI_FILESERVICE: InjectionToken<IUiFileService>;
259
+ declare class UiFileService {
260
+ fileServiceConfig: IUiFileService;
261
+ uploadInput: EventEmitter<UploadInput>;
262
+ uploadSubscription: Subject<unknown>;
263
+ filesToRemove: string[];
264
+ controls: Set<any>;
265
+ constructor(fileServiceConfig: IUiFileService);
266
+ upload(): Promise<'uploadSuccess' | 'uploadFailed'>;
267
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiFileService, [{ optional: true; }]>;
268
+ static ɵprov: i0.ɵɵInjectableDeclaration<UiFileService>;
269
+ }
270
+
271
+ declare class FileComponent implements OnChanges {
272
+ private fileServiceConfig;
273
+ private domSanitizer;
274
+ private fileService;
275
+ private uiFileSize?;
276
+ set fileSize(fs: string | IUiFileSize);
277
+ srcOptions: any;
278
+ srcData: any;
279
+ srcUrl?: {
280
+ src: string;
281
+ mimeType?: string;
282
+ };
283
+ get fitImageFileSize(): boolean;
284
+ visible: boolean;
285
+ src: any;
286
+ srcUrlMimeType?: string;
287
+ nativeFileSizeRatio: number;
288
+ nativeFileWidth: any;
289
+ nativeFileHeight: any;
290
+ get width(): string;
291
+ get maxWidth(): string;
292
+ get height(): string;
293
+ get maxHeight(): string;
294
+ get imgStyle(): any;
295
+ get isVideo(): any;
296
+ get mime(): any;
297
+ get useRetinaSrc(): boolean;
298
+ constructor(fileServiceConfig: IUiFileService, domSanitizer: DomSanitizer, fileService: UiFileService);
299
+ ngOnChanges(changes: SimpleChanges): void;
300
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileComponent, [{ optional: true; }, null, null]>;
301
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent, "ui-file", never, { "fileSize": { "alias": "fileSize"; "required": true; }; "srcOptions": { "alias": "srcOptions"; "required": false; }; "srcData": { "alias": "srcData"; "required": false; }; "srcUrl": { "alias": "srcUrl"; "required": false; }; }, {}, never, never, false, never>;
302
+ }
303
+
304
+ interface UploadOutputEx extends UploadOutput {
305
+ file: UploadFileEx;
306
+ }
307
+ interface UploadFileEx extends UploadFile {
308
+ imagePreview?: any;
309
+ base64?: any;
310
+ }
311
+ interface IUiUploaderUserMessage {
312
+ message: IUiFileServiceMessages;
313
+ data: any;
314
+ }
315
+ declare class UiFileUploaderComponent extends UiSimpleComponent implements OnInit, OnDestroy {
316
+ private fileServiceConfig;
317
+ translateService: IUiTranslateService;
318
+ protected controlContainer: ControlContainer;
319
+ private fileService;
320
+ private uiFileSize;
321
+ _fileSize: string | IUiFileSize;
322
+ set fileSize(fs: string | IUiFileSize);
323
+ maxFiles: number;
324
+ multiple: boolean;
325
+ crop: boolean;
326
+ cropRounded: boolean;
327
+ cropMaxWidth: any;
328
+ customFileMenu: boolean;
329
+ addHint: any;
330
+ newFilePosition: 'first' | 'last';
331
+ templates: {
332
+ menuTemplate?: any;
333
+ addFileTemplate?: any;
334
+ fileTemplate?: any;
335
+ customContentTemplate?: any;
336
+ };
337
+ get menuTemplate(): any;
338
+ get addFileTemplate(): any;
339
+ get customContentTemplate(): any;
340
+ get fileTemplate(): any;
341
+ previewPosition: 'left' | 'bottom' | 'above';
342
+ imageCropped: EventEmitter<any>;
343
+ fileEvent: EventEmitter<IUiUploaderUserMessage>;
344
+ uploadOptions: UploaderOptions;
345
+ uploading: boolean;
346
+ changeFileIndex: any;
347
+ showCropper: boolean;
348
+ menuVisible: any;
349
+ showCropPreview: {};
350
+ cropPreviewTimeouts: {};
351
+ cropSourceImages: {};
352
+ cropperImageLoaded: {};
353
+ imagesDone: {};
354
+ transform: ImageTransform;
355
+ canvasRotation: {};
356
+ files: {
357
+ custom?: any;
358
+ $newFile?: UploadFile;
359
+ }[];
360
+ responseFiles: any;
361
+ refreshAddInput: boolean;
362
+ fileMenuOpened: any;
363
+ patchingValues: boolean;
364
+ inputArray: boolean;
365
+ dragging: boolean;
366
+ uploaderId: number;
367
+ constructor(fileServiceConfig: IUiFileService, translateService: IUiTranslateService, controlContainer: ControlContainer, fileService: UiFileService);
368
+ get uploadInput(): EventEmitter<UploadInput>;
369
+ croppedImages: {};
370
+ get editable(): boolean;
371
+ get ngAddStyle(): {
372
+ width: string;
373
+ height: string;
374
+ };
375
+ get aspectRatio(): number;
376
+ get addFileImgSrc(): (size: IUiFileSize) => string;
377
+ cropDone(f: any): any;
378
+ ngOnDestroy(): void;
379
+ remove(f: any): void;
380
+ patchValues(): void;
381
+ get hasFilesToUpload(): boolean;
382
+ canImagePreview(type: string): boolean;
383
+ onUploadOutput($event: UploadOutput, skipCustomValidation?: boolean): void;
384
+ prepareResponse(doemit?: boolean): void;
385
+ beforeSave(): Promise<unknown>;
386
+ fileChangeEvent(event: any, f: any): void;
387
+ startCropPreview(id: any): void;
388
+ stopCropPreview(id: any): void;
389
+ zoomCroppedImage(dir: any, id: any): void;
390
+ rotateCroppedImage(dir: any, id: any): void;
391
+ onImageCropped(event: ImageCroppedEvent, id: any): void;
392
+ imageLoaded(id: any): void;
393
+ cropperReady(sourceImageDimensions: Dimensions, id: any): void;
394
+ loadImageFailed(): void;
395
+ toggleMenuVisibility(f: any): void;
396
+ menuClick(): void;
397
+ writeValue(obj: any): void;
398
+ cropperDone(id: any): void;
399
+ uploadImgSrc(): string;
400
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiFileUploaderComponent, [{ optional: true; }, null, { optional: true; host: true; skipSelf: true; }, null]>;
401
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiFileUploaderComponent, "ui-file-uploader", never, { "fileSize": { "alias": "fileSize"; "required": false; }; "maxFiles": { "alias": "maxFiles"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "crop": { "alias": "crop"; "required": false; }; "cropRounded": { "alias": "cropRounded"; "required": false; }; "cropMaxWidth": { "alias": "cropMaxWidth"; "required": false; }; "customFileMenu": { "alias": "customFileMenu"; "required": false; }; "addHint": { "alias": "addHint"; "required": false; }; "newFilePosition": { "alias": "newFilePosition"; "required": false; }; "templates": { "alias": "templates"; "required": false; }; "previewPosition": { "alias": "previewPosition"; "required": false; }; }, { "imageCropped": "imageCropped"; "fileEvent": "fileEvent"; }, never, never, false, never>;
402
+ }
403
+
404
+ declare class ExpanderComponent implements OnInit {
405
+ expanded: boolean;
406
+ direction: 'right-down' | 'up-down';
407
+ constructor();
408
+ ngOnInit(): void;
409
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExpanderComponent, never>;
410
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExpanderComponent, "ui-expander", never, { "expanded": { "alias": "expanded"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, false, never>;
411
+ }
412
+
413
+ declare class ForceVisibilityDirective implements OnInit, OnChanges {
414
+ private el;
415
+ private static disabled;
416
+ visibilityWithin: HTMLElement;
417
+ visibilityPadding: number;
418
+ visibilityOnRequestOnly: boolean;
419
+ visibilityEmitChange: boolean;
420
+ visibilityFromTop: number;
421
+ visibilityCheckEnabled: boolean;
422
+ visibilityChanged: EventEmitter<boolean>;
423
+ private visible;
424
+ constructor(el: ElementRef);
425
+ static disableFor(timeoutMs: number): void;
426
+ ngOnInit(): void;
427
+ ngOnChanges(changes: SimpleChanges): void;
428
+ private isVisible;
429
+ forceVisibility(): void;
430
+ static ɵfac: i0.ɵɵFactoryDeclaration<ForceVisibilityDirective, never>;
431
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ForceVisibilityDirective, "[uiForceVisibility]", ["ForceVisibilityDirective"], { "visibilityWithin": { "alias": "visibilityWithin"; "required": false; }; "visibilityPadding": { "alias": "visibilityPadding"; "required": false; }; "visibilityOnRequestOnly": { "alias": "visibilityOnRequestOnly"; "required": false; }; "visibilityEmitChange": { "alias": "visibilityEmitChange"; "required": false; }; "visibilityFromTop": { "alias": "visibilityFromTop"; "required": false; }; "visibilityCheckEnabled": { "alias": "visibilityCheckEnabled"; "required": false; }; }, { "visibilityChanged": "visibilityChanged"; }, never, never, false, never>;
432
+ }
433
+
434
+ interface MessageBoxButton {
435
+ id: string;
436
+ text: string;
437
+ kind?: 'basic' | 'flat' | 'stroked';
438
+ color?: 'primary' | 'accent' | 'warn';
439
+ process?: () => Promise<any>;
440
+ disabled?: () => boolean;
441
+ }
442
+ declare class MessageBoxModalComponent {
443
+ dialogRef: MatDialogRef<MessageBoxModalComponent>;
444
+ sanitizer: DomSanitizer;
445
+ private data;
446
+ message: any;
447
+ errorMessage: any;
448
+ errorDetail: any;
449
+ buttons: MessageBoxButton[];
450
+ title: string;
451
+ template: any;
452
+ hideCloseButton: boolean;
453
+ processing: MessageBoxButton;
454
+ constructor(dialogRef: MatDialogRef<MessageBoxModalComponent>, sanitizer: DomSanitizer, data: any);
455
+ close(result: any): void;
456
+ buttonClick(b: MessageBoxButton): void;
457
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoxModalComponent, never>;
458
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageBoxModalComponent, "ui-message-box-modal", never, {}, {}, never, never, false, never>;
459
+ }
460
+ declare class MessageBoxService {
461
+ private dialog;
462
+ translateService: IUiTranslateService;
463
+ constructor(dialog: MatDialog, translateService: IUiTranslateService);
464
+ confirm(message: string, options?: {
465
+ buttons?: MessageBoxButton[];
466
+ title?: string;
467
+ errorMessage?: string;
468
+ errorDetail?: string;
469
+ hideCloseButton?: boolean;
470
+ maxWidth?: string;
471
+ }): Observable<any>;
472
+ open(options?: {
473
+ buttons?: MessageBoxButton[];
474
+ title?: string;
475
+ errorMessage?: string;
476
+ errorDetail?: string;
477
+ hideCloseButton?: boolean;
478
+ maxWidth?: string;
479
+ message?: string;
480
+ template?: TemplateRef<any>;
481
+ }): Observable<any>;
482
+ confirmDelete(title: string, message: string): Observable<any>;
483
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoxService, never>;
484
+ static ɵprov: i0.ɵɵInjectableDeclaration<MessageBoxService>;
485
+ }
486
+
487
+ declare class DialogComponent {
488
+ dialogRef: MatDialogRef<DialogComponent>;
489
+ title: string;
490
+ draggable: boolean;
491
+ hideCloseButton: boolean;
492
+ close: (() => void) | undefined;
493
+ constructor(dialogRef: MatDialogRef<DialogComponent>);
494
+ clickClose(): void;
495
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
496
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "hideCloseButton": { "alias": "hideCloseButton"; "required": false; }; "close": { "alias": "close"; "required": false; }; }, {}, never, ["*"], false, never>;
497
+ }
498
+
499
+ declare class CurrencyComponent extends UiBaseComponent implements OnInit, ControlValueAccessor, Validator {
500
+ protected controlContainer: ControlContainer;
501
+ currencies: Partial<{
502
+ code: string;
503
+ }>[];
504
+ currencyDisabled: boolean;
505
+ formControlName: string;
506
+ panelClass: string;
507
+ amountHidden: boolean;
508
+ formGroup: UntypedFormGroup;
509
+ parentFormControl: AbstractControl;
510
+ hasFocus: boolean;
511
+ constructor(controlContainer: ControlContainer);
512
+ onChange: (value: any) => void;
513
+ ngOnInit(): void;
514
+ get isInvalid(): boolean;
515
+ get validationErrors(): ValidationErrors;
516
+ focusChanged(hasFocus: boolean): void;
517
+ registerOnChange(fn: any): void;
518
+ registerOnTouched(fn: any): void;
519
+ registerOnValidatorChange(fn: () => void): void;
520
+ setDisabledState(isDisabled: boolean): void;
521
+ validate(control: AbstractControl): ValidationErrors | null;
522
+ writeValue(obj: any): void;
523
+ static ɵfac: i0.ɵɵFactoryDeclaration<CurrencyComponent, [{ optional: true; host: true; skipSelf: true; }]>;
524
+ static ɵcmp: i0.ɵɵComponentDeclaration<CurrencyComponent, "ui-currency", never, { "currencies": { "alias": "currencies"; "required": false; }; "currencyDisabled": { "alias": "currencyDisabled"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "amountHidden": { "alias": "amountHidden"; "required": false; }; }, {}, never, never, false, never>;
525
+ }
526
+
527
+ declare class CheckboxComponent extends UiSimpleComponent implements OnInit {
528
+ ngControl: NgControl;
529
+ color: 'primary' | 'accent' | 'warn';
530
+ useInputMessages: 'never' | 'always' | 'ondemand';
531
+ text: any;
532
+ constructor(ngControl: NgControl);
533
+ ngOnInit(): void;
534
+ setDisabledState(isDisabled: boolean): void;
535
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, [{ optional: true; self: true; }]>;
536
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "color": { "alias": "color"; "required": false; }; "useInputMessages": { "alias": "useInputMessages"; "required": false; }; }, {}, never, ["*"], false, never>;
537
+ }
538
+
539
+ declare class AvatarComponent {
540
+ user: Partial<{
541
+ avatar: any;
542
+ shortName: string;
543
+ shortColour: string;
544
+ }>;
545
+ srcOptions: any;
546
+ size: 'big' | 'bigger' | 'normal' | 'smaller' | 'small' | 'mini';
547
+ get contrast(): string;
548
+ constructor();
549
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
550
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "ui-avatar", never, { "user": { "alias": "user"; "required": false; }; "srcOptions": { "alias": "srcOptions"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
551
+ }
552
+
553
+ declare class SubmitButtonComponent implements OnInit {
554
+ dialogRef: MatDialogRef<any>;
555
+ protected controlContainer: ControlContainer;
556
+ busy: boolean;
557
+ disabled: boolean;
558
+ formGroups: UntypedFormGroup | UntypedFormGroup[];
559
+ label: string;
560
+ submit: (() => void) | undefined;
561
+ formInvalid: boolean | undefined;
562
+ prependCloseButton: boolean;
563
+ constructor(dialogRef: MatDialogRef<any>, controlContainer: ControlContainer);
564
+ ngOnInit(): void;
565
+ get formsValid(): boolean;
566
+ doSubmit(): void;
567
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubmitButtonComponent, [null, { optional: true; host: true; skipSelf: true; }]>;
568
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubmitButtonComponent, "ui-submit-button", never, { "busy": { "alias": "busy"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formGroups": { "alias": "formGroups"; "required": false; }; "label": { "alias": "label"; "required": false; }; "submit": { "alias": "submit"; "required": false; }; "formInvalid": { "alias": "formInvalid"; "required": false; }; "prependCloseButton": { "alias": "prependCloseButton"; "required": false; }; }, {}, never, never, false, never>;
569
+ }
570
+
571
+ declare class TextAreaComponent extends UiSimpleComponent {
572
+ ngControl: NgControl;
573
+ rows: number;
574
+ autoResize: boolean;
575
+ lastClientHeight: number;
576
+ textarea: ElementRef;
577
+ focusChanged: EventEmitter<boolean>;
578
+ constructor(ngControl: NgControl);
579
+ focus(): void;
580
+ setDisabledState(isDisabled: boolean): void;
581
+ onFocus(focus: boolean): void;
582
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, [{ optional: true; self: true; }]>;
583
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "ui-text-area", never, { "rows": { "alias": "rows"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; }, { "focusChanged": "focusChanged"; }, never, never, false, never>;
584
+ }
585
+
586
+ declare class DateComponent extends UiSimpleComponent {
587
+ ngControl: NgControl;
588
+ doKeyup: EventEmitter<any>;
589
+ picker?: TemplateRef<any>;
590
+ input?: TemplateRef<any>;
591
+ onChange: any;
592
+ hasFocus: boolean;
593
+ controlTypeName: string;
594
+ opening: boolean;
595
+ constructor(ngControl: NgControl);
596
+ open(): void;
597
+ close(): void;
598
+ keyup(): void;
599
+ writeValue(obj: any): void;
600
+ registerOnChange(fn: any): void;
601
+ registerOnTouched(fn: any): void;
602
+ setDisabledState(isDisabled: boolean): void;
603
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateComponent, [{ optional: true; self: true; }]>;
604
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateComponent, "ui-date", never, {}, { "doKeyup": "doKeyup"; }, never, never, false, never>;
605
+ }
606
+
607
+ interface TableColumn {
608
+ name: string;
609
+ sortable?: boolean | ((row: any, direction?: SortDirection) => number | string);
610
+ sticky?: boolean;
611
+ label?: string;
612
+ colSpan?: (row: any) => number;
613
+ formatter?: (row: any) => string;
614
+ cellClass?: (row: any, c?: TableColumn) => string;
615
+ headerTemplate?: (c: TableColumn) => TemplateRef<any>;
616
+ cellTemplate?: (row: any, c: TableColumn) => TemplateRef<any>;
617
+ }
618
+ interface TableOptions {
619
+ sticky?: boolean;
620
+ }
621
+ declare class TableComponent implements OnInit, AfterViewInit {
622
+ private domSanitizer;
623
+ columns: TableColumn[];
624
+ dataSource: any;
625
+ options: TableOptions | undefined;
626
+ rowTemplates: any;
627
+ headerTemplates: any;
628
+ stateStoreKey: string;
629
+ rowAction: (row: any) => void;
630
+ matSortActive: any;
631
+ matSortDirection: any;
632
+ matSort: MatSort | undefined;
633
+ get columnList(): string[];
634
+ constructor(/*private persistService: PersistService, */ domSanitizer: DomSanitizer);
635
+ ngOnInit(): void;
636
+ ngAfterViewInit(): void;
637
+ display(row: any, col: TableColumn): any;
638
+ rowClicked(row: any): void;
639
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
640
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "ui-table", never, { "columns": { "alias": "columns"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "options": { "alias": "options"; "required": false; }; "rowTemplates": { "alias": "rowTemplates"; "required": false; }; "headerTemplates": { "alias": "headerTemplates"; "required": false; }; "stateStoreKey": { "alias": "stateStoreKey"; "required": false; }; "rowAction": { "alias": "rowAction"; "required": false; }; "matSortActive": { "alias": "matSortActive"; "required": false; }; "matSortDirection": { "alias": "matSortDirection"; "required": false; }; }, {}, never, never, false, never>;
641
+ }
642
+
643
+ declare class BurgerComponent implements OnInit {
644
+ open: boolean;
645
+ constructor();
646
+ ngOnInit(): void;
647
+ static ɵfac: i0.ɵɵFactoryDeclaration<BurgerComponent, never>;
648
+ static ɵcmp: i0.ɵɵComponentDeclaration<BurgerComponent, "ui-burger", never, { "open": { "alias": "open"; "required": false; }; }, {}, never, never, false, never>;
649
+ }
650
+
651
+ declare class AutocompleteComponent extends UiBaseComponent implements OnInit, ControlValueAccessor {
652
+ protected controlContainer: ControlContainer;
653
+ private cdr;
654
+ private SHOWN_USERS_DELTA;
655
+ constructor(controlContainer: ControlContainer, cdr: ChangeDetectorRef);
656
+ options?: any[];
657
+ multiple: boolean;
658
+ allowNew: boolean;
659
+ displayAttribute: string;
660
+ idAttribute: string;
661
+ searchableOptions?: any[];
662
+ filteredOptions: any[];
663
+ filteredMaxItemsShown: number;
664
+ messageShown: boolean;
665
+ initialOption?: any;
666
+ selectedOption?: any;
667
+ lastEmittedId?: any;
668
+ focusedOption?: any;
669
+ alreadyAdded: boolean;
670
+ optionsVisible: boolean;
671
+ input?: InputComponent;
672
+ optionsTrigger: CdkOverlayOrigin;
673
+ inputFocused: boolean;
674
+ inputControl: UntypedFormControl;
675
+ checkboxSelection: Set<any>;
676
+ onChange: (value: any) => void;
677
+ optionDisabled: (any: any) => boolean;
678
+ optionFormatter: (any: any) => string;
679
+ protected buildSearchableOptions(): any[];
680
+ protected filterOptions(text: string): any[];
681
+ ngOnInit(): void;
682
+ inputFocusChanged(focused: boolean): void;
683
+ get hasCheckboxSelected(): boolean;
684
+ optionChecked(u: any): boolean;
685
+ select(u: any): void;
686
+ toggleOptionCheckboxed(u: any): void;
687
+ keyPressed(keyEvent: KeyboardEvent): void;
688
+ toggleDropdown(): void;
689
+ emitSelection(src?: string): void;
690
+ cancelCheckboxSelection(): void;
691
+ useCheckboxSelection(): void;
692
+ newOption(): void;
693
+ loadMore(visible: boolean): void;
694
+ focus(): void;
695
+ registerOnChange(fn: any): void;
696
+ registerOnTouched(fn: any): void;
697
+ setDisabledState(isDisabled: boolean): void;
698
+ writeValue(obj: any): void;
699
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, [{ optional: true; host: true; skipSelf: true; }, null]>;
700
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, { "options": { "alias": "options"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "allowNew": { "alias": "allowNew"; "required": false; }; "displayAttribute": { "alias": "displayAttribute"; "required": false; }; "idAttribute": { "alias": "idAttribute"; "required": false; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; }; "optionFormatter": { "alias": "optionFormatter"; "required": false; }; }, {}, never, ["[slot=acprefix]"], false, never>;
701
+ }
702
+
703
+ declare class AutoCompleteComponent extends UiBaseComponent implements OnInit, ControlValueAccessor, OnChanges {
704
+ protected controlContainer: ControlContainer;
705
+ private cdr;
706
+ private SHOWN_USERS_DELTA;
707
+ constructor(controlContainer: ControlContainer, cdr: ChangeDetectorRef);
708
+ templates: {
709
+ optionTemplate?: any;
710
+ notFound?: any;
711
+ fileTemplate?: any;
712
+ customContentTemplate?: any;
713
+ };
714
+ options?: any[];
715
+ multiple: boolean;
716
+ allowNew: boolean;
717
+ displayAttribute: string;
718
+ idAttribute: string;
719
+ panelClass: string;
720
+ clearButton: boolean;
721
+ removeDiacritics: boolean;
722
+ searchableOptions?: any[];
723
+ filteredOptions: any[];
724
+ filteredMaxItemsShown: number;
725
+ messageShown: boolean;
726
+ initialOption?: any;
727
+ selectedOption?: any;
728
+ lastEmittedId?: any;
729
+ focusedOption?: any;
730
+ alreadyAdded: boolean;
731
+ optionsVisible: boolean;
732
+ input?: InputComponent;
733
+ optionsTrigger: CdkOverlayOrigin;
734
+ inputFocused: boolean;
735
+ inputControl: UntypedFormControl;
736
+ checkboxSelection: Set<any>;
737
+ onChange: (value: any) => void;
738
+ optionDisabled: (any: any) => boolean;
739
+ optionFormatter: (any: any) => string;
740
+ protected buildSearchableOptions(): any[];
741
+ protected filterOptions(text: string): any[];
742
+ ngOnChanges(changes: SimpleChanges): void;
743
+ ngOnInit(): void;
744
+ inputFocusChanged(focused: boolean): void;
745
+ get hasCheckboxSelected(): boolean;
746
+ optionChecked(u: any): boolean;
747
+ select(u: any): void;
748
+ toggleOptionCheckboxed(u: any): void;
749
+ keyPressed(keyEvent: KeyboardEvent): void;
750
+ toggleDropdown(): void;
751
+ emitSelection(src?: string): void;
752
+ cancelCheckboxSelection(): void;
753
+ useCheckboxSelection(): void;
754
+ newOption(): void;
755
+ loadMore(visible: boolean): void;
756
+ focus(): void;
757
+ registerOnChange(fn: any): void;
758
+ registerOnTouched(fn: any): void;
759
+ setDisabledState(isDisabled: boolean): void;
760
+ writeValue(obj: any): void;
761
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteComponent, [{ optional: true; host: true; skipSelf: true; }, null]>;
762
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "ui-auto-complete", never, { "templates": { "alias": "templates"; "required": false; }; "options": { "alias": "options"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "allowNew": { "alias": "allowNew"; "required": false; }; "displayAttribute": { "alias": "displayAttribute"; "required": false; }; "idAttribute": { "alias": "idAttribute"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "removeDiacritics": { "alias": "removeDiacritics"; "required": false; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; }; "optionFormatter": { "alias": "optionFormatter"; "required": false; }; }, {}, never, ["[slot=acprefix]"], false, never>;
763
+ }
764
+
765
+ declare class ActionButtonComponent extends ButtonComponent implements OnInit {
766
+ withPrimary: boolean;
767
+ overlayAlignment: 'left' | 'right';
768
+ hasBackdrop: boolean;
769
+ triggerTpl: any;
770
+ autoClose: boolean;
771
+ primaryClick: EventEmitter<void>;
772
+ overlayToggled: EventEmitter<boolean>;
773
+ trigger1: any;
774
+ deferredRender: boolean;
775
+ iconHover: boolean;
776
+ get class(): string;
777
+ private rightPositions;
778
+ private leftPositions;
779
+ openOverlay: boolean;
780
+ onKeydownHandler(evt: KeyboardEvent): void;
781
+ get positions(): ConnectedPosition[];
782
+ ngOnInit(): void;
783
+ toggleOverlay(status: any): void;
784
+ closeOverlay(): void;
785
+ togglePrimaryOverlay(status: any, $event: any): void;
786
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonComponent, never>;
787
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonComponent, "ui-action-button", never, { "withPrimary": { "alias": "withPrimary"; "required": false; }; "overlayAlignment": { "alias": "overlayAlignment"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "triggerTpl": { "alias": "triggerTpl"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; }, { "primaryClick": "primaryClick"; "overlayToggled": "overlayToggled"; }, never, ["*"], false, never>;
788
+ }
789
+
790
+ declare class UiBaseLayoutComponent {
791
+ ctx: UiBaseComponent;
792
+ get class(): string;
793
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiBaseLayoutComponent, never>;
794
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiBaseLayoutComponent, "ui-base-layout", never, { "ctx": { "alias": "ctx"; "required": false; }; }, {}, never, [".counter-top", "*", ".counter-bottom"], false, never>;
795
+ }
796
+
797
+ declare class UiSimpleLayoutComponent {
798
+ ctx: UiSimpleComponent;
799
+ length(): any;
800
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiSimpleLayoutComponent, never>;
801
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiSimpleLayoutComponent, "ui-simple-layout", never, { "ctx": { "alias": "ctx"; "required": false; }; }, {}, never, ["*"], false, never>;
802
+ }
803
+
804
+ declare class ValidationMessageComponent implements OnInit {
805
+ protected translateService: IUiTranslateService;
806
+ validationErrors: any;
807
+ constructor(translateService: IUiTranslateService);
808
+ ngOnInit(): void;
809
+ get errorMessage(): string;
810
+ static ɵfac: i0.ɵɵFactoryDeclaration<ValidationMessageComponent, never>;
811
+ static ɵcmp: i0.ɵɵComponentDeclaration<ValidationMessageComponent, "ui-validation-message", never, { "validationErrors": { "alias": "validationErrors"; "required": false; }; }, {}, never, never, false, never>;
812
+ }
813
+
814
+ declare class RadioComponent {
815
+ value: any;
816
+ label: any;
817
+ color: 'primary' | 'accent' | 'warn';
818
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
819
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "ui-radio", never, { "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
820
+ }
821
+
822
+ declare class CheckboxGroupComponent extends UiSimpleComponent implements /*OnInit, */ OnChanges {
823
+ control: NgControl;
824
+ cbxs: any;
825
+ private valueMode;
826
+ valueAttribute: string | undefined;
827
+ displayAttribute: string;
828
+ hintAttribute: string;
829
+ options: any[];
830
+ optionEnabled: (option: any) => boolean;
831
+ constructor(control: NgControl);
832
+ ngOnChanges(changes: SimpleChanges): void;
833
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroupComponent, [{ optional: true; self: true; }]>;
834
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupComponent, "ui-checkbox-group", never, { "valueAttribute": { "alias": "valueAttribute"; "required": false; }; "displayAttribute": { "alias": "displayAttribute"; "required": false; }; "hintAttribute": { "alias": "hintAttribute"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionEnabled": { "alias": "optionEnabled"; "required": false; }; }, {}, never, never, false, never>;
835
+ }
836
+
837
+ declare class RadioGroupComponent extends UiSimpleComponent implements /*OnInit, */ OnChanges {
838
+ control: NgControl;
839
+ cbxs: any;
840
+ id: number;
841
+ options: any[];
842
+ displayAttribute: string;
843
+ hintAttribute: string;
844
+ valueAttribute: any;
845
+ groupName: string;
846
+ optionEnabled: (option: any) => boolean;
847
+ constructor(control: NgControl);
848
+ ngOnChanges(changes: SimpleChanges): void;
849
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, [{ optional: true; self: true; }]>;
850
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "ui-radio-group", never, { "options": { "alias": "options"; "required": false; }; "displayAttribute": { "alias": "displayAttribute"; "required": false; }; "hintAttribute": { "alias": "hintAttribute"; "required": false; }; "valueAttribute": { "alias": "valueAttribute"; "required": false; }; "groupName": { "alias": "groupName"; "required": false; }; "optionEnabled": { "alias": "optionEnabled"; "required": false; }; }, {}, never, never, false, never>;
851
+ }
852
+
853
+ declare class ActionIconComponent implements OnInit {
854
+ size: ControlSize;
855
+ color: ControlColor;
856
+ disabled: boolean;
857
+ busy: boolean;
858
+ matIcon: string;
859
+ get class(): string;
860
+ constructor();
861
+ ngOnInit(): void;
862
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionIconComponent, never>;
863
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionIconComponent, "ui-action-icon", never, { "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "matIcon": { "alias": "matIcon"; "required": false; }; }, {}, never, never, false, never>;
864
+ }
865
+
866
+ declare class EditorComponent extends UiSimpleComponent implements AfterViewInit {
867
+ ngControl: NgControl;
868
+ private el;
869
+ rows: number;
870
+ autoResize: boolean;
871
+ focused: boolean;
872
+ editor: EditorJS;
873
+ data: any;
874
+ editorId: string;
875
+ clickout(event: any): void;
876
+ constructor(ngControl: NgControl, el: ElementRef);
877
+ focus(): void;
878
+ setDisabledState(isDisabled: boolean): void;
879
+ ngAfterViewInit(): void;
880
+ inputLength(): any;
881
+ writeValue(obj: any): void;
882
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, [{ optional: true; self: true; }, null]>;
883
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "ui-editor", never, { "rows": { "alias": "rows"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; }, {}, never, never, false, never>;
884
+ }
885
+
886
+ declare class UiModule {
887
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiModule, never>;
888
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiModule, [typeof ButtonComponent, typeof InputComponent, typeof InputAutocompleteComponent, typeof SelectComponent, typeof FileComponent, typeof UiFileUploaderComponent, typeof ExpanderComponent, typeof ForceVisibilityDirective, typeof MessageBoxModalComponent, typeof DialogComponent, typeof CurrencyComponent, typeof CheckboxComponent, typeof AvatarComponent, typeof SubmitButtonComponent, typeof TextAreaComponent, typeof DateComponent, typeof TableComponent, typeof BurgerComponent, typeof AutocompleteComponent, typeof AutoCompleteComponent, typeof ActionButtonComponent, typeof UiBaseLayoutComponent, typeof UiSimpleLayoutComponent, typeof ValidationMessageComponent, typeof RadioComponent, typeof CheckboxGroupComponent, typeof RadioGroupComponent, typeof ActionIconComponent, typeof EditorComponent], [typeof i30.CommonModule, typeof i31.MatButtonModule, typeof i32.MatIconModule, typeof i33.MatDialogModule, typeof i34.MatCheckboxModule, typeof i35.MatDatepickerModule, typeof i36.MatMomentDateModule, typeof i37.DragDropModule, typeof i38.ReactiveFormsModule, typeof i38.FormsModule, typeof i39.MatTooltipModule, typeof i40.MatProgressBarModule, typeof i41.MatTableModule, typeof i42.MatSortModule, typeof i43.MatSelectModule, typeof i44.NgxUploaderModule, typeof i45.MatProgressSpinnerModule, typeof i46.MatMenuModule, typeof i47.ImageCropperModule, typeof i48.RouterModule, typeof i49.OverlayModule, typeof i50.MatRippleModule, typeof i51.MatInputModule, typeof i52.MatRadioModule, typeof i53.MatSnackBarModule, typeof i54.MatAutocompleteModule], [typeof ActionButtonComponent, typeof ActionIconComponent, typeof AutocompleteComponent, typeof AutoCompleteComponent, typeof AvatarComponent, typeof BurgerComponent, typeof ButtonComponent, typeof CheckboxComponent, typeof CheckboxGroupComponent, typeof CurrencyComponent, typeof DateComponent, typeof DialogComponent, typeof ExpanderComponent, typeof FileComponent, typeof ForceVisibilityDirective, typeof InputComponent, typeof InputAutocompleteComponent, typeof MessageBoxModalComponent, typeof RadioComponent, typeof RadioGroupComponent, typeof SelectComponent, typeof SubmitButtonComponent, typeof TableComponent, typeof TextAreaComponent, typeof UiFileUploaderComponent, typeof EditorComponent]>;
889
+ static ɵinj: i0.ɵɵInjectorDeclaration<UiModule>;
890
+ }
891
+
892
+ type ToastType = 'info' | 'success' | 'warning' | 'fail';
893
+ declare class ToastService {
894
+ private snackService;
895
+ constructor(snackService: MatSnackBar);
896
+ open(message: string, options?: {
897
+ duration?: number;
898
+ type?: ToastType;
899
+ }): void;
900
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
901
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
902
+ }
903
+
904
+ export { ActionButtonComponent, ActionIconComponent, AutoCompleteComponent, AutocompleteComponent, AvatarComponent, BurgerComponent, ButtonComponent, CheckboxComponent, CheckboxGroupComponent, CurrencyComponent, DateComponent, DialogComponent, EditorComponent, ExpanderComponent, FileComponent, ForceVisibilityDirective, InputAutocompleteComponent, InputComponent, MessageBoxModalComponent, MessageBoxService, RadioComponent, RadioGroupComponent, SelectComponent, SubmitButtonComponent, TableComponent, TextAreaComponent, ToastService, UI_FILESERVICE, UI_TRANSLATESERVICE, UiFileService, UiFileUploaderComponent, UiModule, UiTranslateService };
905
+ export type { IUiFileService, IUiFileServiceMessages, IUiFileSize, IUiTranslateService, IUiUploaderUserMessage, MessageBoxButton, TableColumn, TableOptions, ToastType, UploadFileEx, UploadOutputEx };