@3kles/kles-material-dynamicforms 19.5.1 → 20.0.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.
Files changed (93) hide show
  1. package/fesm2022/3kles-kles-material-dynamicforms.mjs +245 -245
  2. package/fesm2022/3kles-kles-material-dynamicforms.mjs.map +1 -1
  3. package/index.d.ts +1081 -3
  4. package/package.json +13 -13
  5. package/lib/controls/array.control.d.ts +0 -5
  6. package/lib/controls/control.abstract.d.ts +0 -13
  7. package/lib/controls/control.interface.d.ts +0 -7
  8. package/lib/controls/default.control.d.ts +0 -5
  9. package/lib/controls/group.control.d.ts +0 -5
  10. package/lib/controls/range.control.d.ts +0 -5
  11. package/lib/decorators/component.decorator.d.ts +0 -15
  12. package/lib/directive/dynamic-component.directive.d.ts +0 -16
  13. package/lib/directive/dynamic-field.directive.d.ts +0 -25
  14. package/lib/directive/mat-error-form.directive.d.ts +0 -12
  15. package/lib/directive/mat-error-message.directive.d.ts +0 -17
  16. package/lib/dynamic-form-intl.d.ts +0 -7
  17. package/lib/dynamic-form.component.d.ts +0 -37
  18. package/lib/enums/button-attribute.enum.d.ts +0 -6
  19. package/lib/enums/type.enum.d.ts +0 -19
  20. package/lib/factories/field.factory.d.ts +0 -6
  21. package/lib/fields/array.component.d.ts +0 -14
  22. package/lib/fields/badge.component.d.ts +0 -9
  23. package/lib/fields/button-fab.component.d.ts +0 -9
  24. package/lib/fields/button-form.component.d.ts +0 -9
  25. package/lib/fields/button-icon.component.d.ts +0 -9
  26. package/lib/fields/button-mini-fab.component.d.ts +0 -9
  27. package/lib/fields/button-toogle-group.component.d.ts +0 -11
  28. package/lib/fields/buttonchecker-form.component.d.ts +0 -9
  29. package/lib/fields/buttonfile-form.component.d.ts +0 -9
  30. package/lib/fields/checkbox-indeterminate.component.d.ts +0 -9
  31. package/lib/fields/checkbox.component.d.ts +0 -11
  32. package/lib/fields/chip.component.d.ts +0 -9
  33. package/lib/fields/color.component.d.ts +0 -10
  34. package/lib/fields/date-time.component.d.ts +0 -6
  35. package/lib/fields/date.component.d.ts +0 -9
  36. package/lib/fields/field.abstract.d.ts +0 -38
  37. package/lib/fields/file.component.d.ts +0 -6
  38. package/lib/fields/group.component.d.ts +0 -16
  39. package/lib/fields/icon.component.d.ts +0 -9
  40. package/lib/fields/input.clearable.component.d.ts +0 -8
  41. package/lib/fields/input.component.d.ts +0 -26
  42. package/lib/fields/label.component.d.ts +0 -10
  43. package/lib/fields/line-break.component.d.ts +0 -9
  44. package/lib/fields/link.component.d.ts +0 -9
  45. package/lib/fields/list-field.component.d.ts +0 -19
  46. package/lib/fields/radio.component.d.ts +0 -11
  47. package/lib/fields/range.component.d.ts +0 -9
  48. package/lib/fields/select.component.d.ts +0 -22
  49. package/lib/fields/select.lazy-search.component.d.ts +0 -12
  50. package/lib/fields/select.search.component.d.ts +0 -37
  51. package/lib/fields/selection-list.component.d.ts +0 -15
  52. package/lib/fields/selection-list.search.component.d.ts +0 -18
  53. package/lib/fields/slide-toggle.component.d.ts +0 -9
  54. package/lib/fields/subfields/clear.component.d.ts +0 -18
  55. package/lib/fields/subfields/copy.component.d.ts +0 -18
  56. package/lib/fields/subfields/password-visibility.component.d.ts +0 -13
  57. package/lib/fields/text.component.d.ts +0 -9
  58. package/lib/fields/textarea.component.d.ts +0 -9
  59. package/lib/forms/button-control-base.d.ts +0 -41
  60. package/lib/forms/button-control.component.d.ts +0 -10
  61. package/lib/forms/buttonchecker-control.component.d.ts +0 -14
  62. package/lib/forms/buttonfile-control.component.d.ts +0 -19
  63. package/lib/forms/fab-control.component.d.ts +0 -7
  64. package/lib/forms/file-control.component.d.ts +0 -20
  65. package/lib/forms/icon-button-control.component.d.ts +0 -7
  66. package/lib/forms/indeterminate-checkbox.d.ts +0 -22
  67. package/lib/forms/mini-fab-control.component.d.ts +0 -7
  68. package/lib/interfaces/clear-control.interface.d.ts +0 -4
  69. package/lib/interfaces/component.interface.d.ts +0 -5
  70. package/lib/interfaces/directive.interface.d.ts +0 -3
  71. package/lib/interfaces/field.config.interface.d.ts +0 -101
  72. package/lib/interfaces/field.interface.d.ts +0 -7
  73. package/lib/interfaces/validator.interface.d.ts +0 -17
  74. package/lib/kles-material-dynamicforms.module.d.ts +0 -76
  75. package/lib/matcher/form-error.matcher.d.ts +0 -9
  76. package/lib/modules/material.module.d.ts +0 -42
  77. package/lib/pipe/array.pipe.d.ts +0 -7
  78. package/lib/pipe/transform.pipe.d.ts +0 -10
  79. package/lib/selection/selection-model.d.ts +0 -102
  80. package/lib/token.d.ts +0 -9
  81. package/lib/ui/array.ui.d.ts +0 -5
  82. package/lib/ui/default.ui.d.ts +0 -5
  83. package/lib/ui/group.ui.d.ts +0 -5
  84. package/lib/ui/ui-state/array-ui-state.d.ts +0 -14
  85. package/lib/ui/ui-state/control-ui-state.d.ts +0 -9
  86. package/lib/ui/ui-state/group-ui-state.d.ts +0 -16
  87. package/lib/ui/ui-state/ui-state.abstract.d.ts +0 -16
  88. package/lib/ui/ui.abstract.d.ts +0 -8
  89. package/lib/ui/ui.interface.d.ts +0 -4
  90. package/lib/utils/destroyable.guard.d.ts +0 -4
  91. package/lib/utils/validation.util.d.ts +0 -2
  92. package/lib/validators/autocomplete.validator.d.ts +0 -3
  93. package/public-api.d.ts +0 -102
package/index.d.ts CHANGED
@@ -1,5 +1,1083 @@
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, OnDestroy, Type, PipeTransform, ViewContainerRef, Provider, StaticProvider, Signal, OnChanges, EventEmitter, ChangeDetectorRef, SimpleChanges, ComponentRef, Injector, AfterViewInit, QueryList, InjectionToken } from '@angular/core';
3
+ import * as i2$1 from '@angular/forms';
4
+ import { UntypedFormGroup, ValidatorFn, AsyncValidatorFn, ɵGetProperty as _GetProperty, ɵTypedOrUntyped as _TypedOrUntyped, UntypedFormBuilder, FormGroup, ControlValueAccessor, Validators, AsyncValidator, UntypedFormArray, UntypedFormControl, FormControl, FormGroupDirective, NgForm, AbstractControl } from '@angular/forms';
5
+ import { Subject, Observable, ReplaySubject, BehaviorSubject } from 'rxjs';
6
+ import * as i30 from '@angular/material/core';
7
+ import { DateAdapter, MatDateFormats, MatOption, ErrorStateMatcher } from '@angular/material/core';
8
+ import * as i10 from '@angular/material/form-field';
9
+ import { SubscriptSizing, MatFormFieldControl } from '@angular/material/form-field';
10
+ import * as i24 from '@angular/material/checkbox';
11
+ import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
12
+ import * as i16 from '@angular/material/tooltip';
13
+ import { MatTooltip } from '@angular/material/tooltip';
14
+ import { Clipboard } from '@angular/cdk/clipboard';
15
+ import * as i1 from '@angular/common';
16
+ import * as i2 from '@angular/material/slider';
17
+ import * as i3 from '@angular/material/button';
18
+ import * as i4 from '@angular/material/toolbar';
19
+ import * as i5 from '@angular/material/icon';
20
+ import * as i6 from '@angular/material/sidenav';
21
+ import * as i7 from '@angular/material/badge';
22
+ import * as i8 from '@angular/material/list';
23
+ import { MatSelectionListChange } from '@angular/material/list';
24
+ import * as i9 from '@angular/material/grid-list';
25
+ import * as i11 from '@angular/material/input';
26
+ import * as i12 from '@angular/material/select';
27
+ import * as i13 from '@angular/material/radio';
28
+ import * as i14 from '@angular/material/datepicker';
29
+ import * as i15 from '@angular/material/chips';
30
+ import * as i17 from '@angular/material/table';
31
+ import * as i18 from '@angular/material/paginator';
32
+ import * as i19 from '@angular/material/card';
33
+ import * as i20 from '@angular/material/menu';
34
+ import * as i21 from '@angular/material/tabs';
35
+ import * as i22 from '@angular/cdk/table';
36
+ import * as i23 from '@angular/material/progress-spinner';
37
+ import * as i25 from '@angular/material/dialog';
38
+ import * as i26 from '@angular/material/autocomplete';
39
+ import * as i27 from '@angular/material/progress-bar';
40
+ import * as i28 from '@angular/material/sort';
41
+ import * as i29 from '@angular/material/expansion';
42
+ import * as i31 from '@angular/material/snack-bar';
43
+ import * as i32 from '@angular/material/tree';
44
+ import * as i33 from '@angular/material/slide-toggle';
45
+ import * as i34 from '@angular/material/button-toggle';
46
+ import * as i35 from '@angular/cdk/portal';
47
+ import * as i36 from '@angular/cdk/scrolling';
48
+ import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
49
+ import * as i4$1 from 'ngx-mat-select-search';
50
+ import * as i56 from 'ngx-color-picker';
51
+
52
+ type Exclusive<T, U> = (T & {
53
+ [K in keyof U]?: never;
54
+ }) | (U & {
55
+ [K in keyof T]?: never;
56
+ });
57
+ type KlesValidationKey = {
58
+ name: string;
59
+ message?: string;
60
+ messageKey?: string;
61
+ };
62
+ type KlesValidatorMultiple = {
63
+ keys: KlesValidationKey[];
64
+ };
65
+ type IKlesValidator<T> = {
66
+ validator: T;
67
+ } & Exclusive<KlesValidationKey, KlesValidatorMultiple>;
68
+
69
+ declare enum EnumType {
70
+ input = "input",
71
+ select = "select",
72
+ text = "text",
73
+ file = "file",
74
+ button = "button",
75
+ checkbox = "checkbox",
76
+ number = "number",
77
+ time = "time",
78
+ date = "date",
79
+ color = "color",
80
+ list = "list",
81
+ multi = "multi",
82
+ array = "array",
83
+ group = "group",
84
+ lineBreak = "lineBreak",
85
+ badge = "badge",
86
+ range = "range"
87
+ }
88
+
89
+ interface IKlesField {
90
+ field: IKlesFieldConfig;
91
+ group: UntypedFormGroup;
92
+ siblingFields: IKlesFieldConfig[];
93
+ }
94
+
95
+ interface IKlesDirective extends OnInit, OnDestroy {
96
+ }
97
+
98
+ declare enum EnumButtonAttribute {
99
+ 'mat-button' = "mat-button",
100
+ 'mat-flat-button' = "mat-flat-button",
101
+ 'mat-raised-button' = "mat-raised-button",
102
+ 'mat-stroked-button' = "mat-stroked-button"
103
+ }
104
+
105
+ interface IKlesFieldUi {
106
+ inputType?: 'text' | 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'time' | 'url' | 'week';
107
+ min?: number | Date;
108
+ max?: number | Date;
109
+ maxLength?: number;
110
+ step?: number;
111
+ hostClass?: string | string[] | Set<string> | {
112
+ [klass: string]: any;
113
+ };
114
+ ngClass?: any;
115
+ ngStyle?: any;
116
+ indeterminate?: boolean;
117
+ color?: string;
118
+ icon?: string;
119
+ iconSvg?: string;
120
+ appearance?: 'fill' | 'outline';
121
+ visible?: boolean;
122
+ colorOption?: {
123
+ disable?: boolean;
124
+ position?: 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
125
+ positionOffset?: string;
126
+ mode?: 'color' | 'grayscale' | 'presets';
127
+ format?: 'auto' | 'hex' | 'rgba' | 'hsla';
128
+ };
129
+ direction?: 'column' | 'row' | 'grid' | 'inline-grid';
130
+ textareaAutoSize?: {
131
+ minRows?: number;
132
+ maxRows?: number;
133
+ };
134
+ virtualScroll?: boolean;
135
+ itemSize?: number;
136
+ }
137
+ interface IKlesFormField {
138
+ type?: EnumType;
139
+ name: string;
140
+ component?: Type<any>;
141
+ id?: string;
142
+ label?: string;
143
+ placeholder?: any;
144
+ tooltip?: string;
145
+ copyTooltip?: string;
146
+ options?: any[] | Subject<any[]> | Observable<any[]> | ((value?: string, group?: {
147
+ [key: string]: any;
148
+ }) => Observable<any[]>);
149
+ property?: string;
150
+ collections?: any;
151
+ value?: any;
152
+ asyncValue?: Observable<any>;
153
+ multiple?: boolean;
154
+ disabled?: boolean;
155
+ autocomplete?: boolean;
156
+ autocompleteComponent?: Type<any>;
157
+ displayWith?: ((value: any) => string) | null;
158
+ panelWidth?: string | number;
159
+ pending?: boolean;
160
+ validations?: IKlesValidator<ValidatorFn>[];
161
+ asyncValidations?: IKlesValidator<AsyncValidatorFn>[];
162
+ pipeTransform?: {
163
+ pipe: PipeTransform;
164
+ options?: any[];
165
+ }[];
166
+ valueChanges?: (field: IKlesFieldConfig, group: UntypedFormGroup, siblingField?: IKlesFieldConfig[], valueChanged?: any) => void;
167
+ triggerComponent?: Type<any>;
168
+ searchKeys?: string[];
169
+ updateOn?: 'change' | 'blur' | 'submit';
170
+ debounceTime?: number;
171
+ directive?: new (ref: ViewContainerRef, field: IKlesField) => IKlesDirective;
172
+ lazy?: boolean;
173
+ buttonType?: 'submit' | 'button' | 'reset';
174
+ accept?: string;
175
+ dateOptions?: {
176
+ adapter?: {
177
+ class: Type<DateAdapter<any>>;
178
+ deps?: any[];
179
+ };
180
+ language: string;
181
+ dateFormat: MatDateFormats;
182
+ };
183
+ hint?: string;
184
+ clearable?: boolean;
185
+ clearableComponent?: Type<any>;
186
+ subComponents?: Type<any>[];
187
+ autofocus?: boolean;
188
+ attribute?: EnumButtonAttribute;
189
+ subscriptSizing?: SubscriptSizing;
190
+ nonNullable?: boolean;
191
+ onFocus?: (field: IKlesFieldConfig, group: UntypedFormGroup) => void;
192
+ onBlur?: (field: IKlesFieldConfig, group: UntypedFormGroup) => void;
193
+ providers?: Array<Provider | StaticProvider>;
194
+ }
195
+ type IKlesFieldConfig = IKlesFormField & IKlesFieldUi;
196
+
197
+ declare abstract class AbstractUiState<TValue = any, TRawValue extends TValue = TValue> {
198
+ protected _value: i0.WritableSignal<TValue>;
199
+ private _parent;
200
+ private _parentKey;
201
+ get<P extends string | readonly (string | number)[]>(path: P): AbstractUiState<_GetProperty<TRawValue, P>> | null;
202
+ get<P extends string | Array<string | number>>(path: P): AbstractUiState<_GetProperty<TRawValue, P>> | null;
203
+ _find(name: string | number): AbstractUiState | null;
204
+ abstract setValue(value: TRawValue): void;
205
+ abstract patchValue(value: Partial<TValue>): void;
206
+ get value(): Signal<TValue | undefined>;
207
+ setParent(parent: AbstractUiState<any>, key: string | number): void;
208
+ protected notifyParent(): void;
209
+ childValueChanged(key: string | number, value: any): void;
210
+ }
211
+
212
+ declare class GroupUiState<TUiState extends {
213
+ [K in keyof TUiState]: AbstractUiState<any>;
214
+ } = any> extends AbstractUiState<any, any> {
215
+ states: _TypedOrUntyped<TUiState, TUiState, {
216
+ [key: string]: AbstractUiState<any>;
217
+ }>;
218
+ constructor(states?: TUiState);
219
+ setValue(value: any): void;
220
+ patchValue(value: any): void;
221
+ childValueChanged(key: string | number, value: any): void;
222
+ _find(name: string | number): AbstractUiState | null;
223
+ addUiState(name: string, uiState: AbstractUiState<any>): void;
224
+ private buildInitialValue;
225
+ }
226
+
227
+ declare class KlesDynamicFormComponent implements OnInit, OnChanges {
228
+ private fb;
229
+ private ref;
230
+ fields: IKlesFieldConfig[];
231
+ validators: IKlesValidator<ValidatorFn>[];
232
+ asyncValidators: IKlesValidator<AsyncValidatorFn>[];
233
+ submit: EventEmitter<any>;
234
+ _onLoaded: EventEmitter<any>;
235
+ direction: 'column' | 'row' | 'grid' | 'inline-grid';
236
+ formClass: string | string[] | Set<string> | {
237
+ [klass: string]: any;
238
+ };
239
+ form: UntypedFormGroup;
240
+ ui: GroupUiState;
241
+ orientationClass: 'dynamic-form-column' | 'dynamic-form-row' | 'dynamic-form-grid' | 'dynamic-form-inline-grid';
242
+ get value(): any;
243
+ constructor(fb: UntypedFormBuilder, ref: ChangeDetectorRef);
244
+ ngOnInit(): void;
245
+ ngOnChanges(changes: SimpleChanges): void;
246
+ onSubmit(event: Event): void;
247
+ private setOrientationClass;
248
+ private updateForm;
249
+ private updateControl;
250
+ private createControl;
251
+ private createUiState;
252
+ private createForm;
253
+ private validateAllFormFields;
254
+ private createUi;
255
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesDynamicFormComponent, never>;
256
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesDynamicFormComponent, "app-kles-dynamic-form", ["klesDynamicForm"], { "fields": { "alias": "fields"; "required": false; }; "validators": { "alias": "validators"; "required": false; }; "asyncValidators": { "alias": "asyncValidators"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "formClass": { "alias": "formClass"; "required": false; }; }, { "submit": "submit"; "_onLoaded": "_onLoaded"; }, never, never, true, never>;
257
+ }
258
+
259
+ declare class KlesComponentDirective implements OnInit, OnChanges {
260
+ private container;
261
+ component: Type<any>;
262
+ value: any;
263
+ field?: IKlesFieldConfig;
264
+ componentRef: ComponentRef<any>;
265
+ constructor(container: ViewContainerRef);
266
+ ngOnInit(): void;
267
+ ngOnChanges(changes: SimpleChanges): void;
268
+ buildComponent(): void;
269
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesComponentDirective, never>;
270
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KlesComponentDirective, "[klesComponent]", never, { "component": { "alias": "component"; "required": false; }; "value": { "alias": "value"; "required": false; }; "field": { "alias": "field"; "required": false; }; }, {}, never, never, true, never>;
271
+ }
272
+
273
+ declare class KlesDynamicFieldDirective<T extends IKlesFieldConfig = IKlesFieldConfig> implements OnInit, OnChanges, OnDestroy {
274
+ protected container: ViewContainerRef;
275
+ protected injector: Injector;
276
+ field: T;
277
+ group: UntypedFormGroup;
278
+ ui: GroupUiState;
279
+ siblingFields: T[];
280
+ componentRef: ComponentRef<any> | undefined;
281
+ subComponents: ComponentRef<any>[];
282
+ constructor(container: ViewContainerRef, injector: Injector);
283
+ ngOnDestroy(): void;
284
+ ngOnInit(): void;
285
+ ngOnChanges(changes: SimpleChanges): void;
286
+ buildComponent(): void;
287
+ protected createComponentRef(injector: Injector): ComponentRef<any> | undefined;
288
+ protected findComponent(): Type<any> | undefined;
289
+ private createSubComponent;
290
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesDynamicFieldDirective<any>, never>;
291
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KlesDynamicFieldDirective<any>, "[klesDynamicField]", never, { "field": { "alias": "field"; "required": false; }; "group": { "alias": "group"; "required": false; }; "ui": { "alias": "ui"; "required": false; }; "siblingFields": { "alias": "siblingFields"; "required": false; }; }, {}, never, never, true, never>;
292
+ }
293
+
294
+ declare abstract class KlesFieldAbstract implements IKlesField, OnInit, AfterViewInit, OnDestroy {
295
+ readonly field: IKlesFieldConfig;
296
+ readonly group: FormGroup<any>;
297
+ readonly siblingFields: IKlesFieldConfig[];
298
+ readonly ui: GroupUiState<any>;
299
+ appearance: i0.Signal<any>;
300
+ inputType: i0.Signal<any>;
301
+ min: i0.Signal<any>;
302
+ max: i0.Signal<any>;
303
+ maxLength: i0.Signal<any>;
304
+ step: i0.Signal<any>;
305
+ ngClass: i0.Signal<any>;
306
+ ngStyle: i0.Signal<any>;
307
+ indeterminate: i0.Signal<any>;
308
+ color: i0.Signal<any>;
309
+ icon: i0.Signal<any>;
310
+ iconSvg: i0.Signal<any>;
311
+ protected readonly viewRef: ViewContainerRef;
312
+ directive: any;
313
+ protected _onDestroy: Subject<void>;
314
+ constructor();
315
+ ngOnInit(): void;
316
+ ngAfterViewInit(): void;
317
+ ngOnDestroy(): void;
318
+ applyPipeTransform(): void;
319
+ isPending(): boolean;
320
+ onFocus(): void;
321
+ onBlur(): void;
322
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFieldAbstract, never>;
323
+ static ɵdir: i0.ɵɵDirectiveDeclaration<KlesFieldAbstract, never, never, {}, {}, never, never, true, never>;
324
+ }
325
+
326
+ declare class KlesFormLabelComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
327
+ constructor();
328
+ ngOnInit(): void;
329
+ ngOnDestroy(): void;
330
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormLabelComponent, never>;
331
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormLabelComponent, "kles-form-label", never, {}, {}, never, never, true, never>;
332
+ }
333
+
334
+ declare class KlesTransformPipe implements PipeTransform {
335
+ transform(value: any, pipes: {
336
+ pipe: PipeTransform;
337
+ options?: any[];
338
+ }[]): any;
339
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesTransformPipe, never>;
340
+ static ɵpipe: i0.ɵɵPipeDeclaration<KlesTransformPipe, "klesTransform", true>;
341
+ }
342
+
343
+ declare class ArrayFormatPipe implements PipeTransform {
344
+ transform(values: any[], property?: string): string;
345
+ static ɵfac: i0.ɵɵFactoryDeclaration<ArrayFormatPipe, never>;
346
+ static ɵpipe: i0.ɵɵPipeDeclaration<ArrayFormatPipe, "arrayFormat", true>;
347
+ }
348
+
349
+ interface IKlesClearControl extends IKlesField {
350
+ clear(event: any): void;
351
+ }
352
+
353
+ declare class KlesFormClearComponent implements IKlesClearControl, OnDestroy {
354
+ readonly field: IKlesFieldConfig;
355
+ readonly group: FormGroup<any>;
356
+ readonly siblingFields: IKlesFieldConfig[];
357
+ private _onDestroy;
358
+ disabled: Signal<boolean>;
359
+ constructor();
360
+ ngOnDestroy(): void;
361
+ clear(event: any): void;
362
+ private isPresent;
363
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormClearComponent, never>;
364
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormClearComponent, "kles-form-clear", never, {}, {}, never, never, true, never>;
365
+ }
366
+
367
+ interface IButton {
368
+ event?: any;
369
+ uiButton?: IUIButton;
370
+ }
371
+ interface IUIButton {
372
+ label?: string;
373
+ color?: string;
374
+ icon?: string;
375
+ iconSvg?: string;
376
+ disabled?: boolean;
377
+ class?: string;
378
+ type?: string;
379
+ accept?: string;
380
+ }
381
+ declare abstract class KlesButtonBase implements OnInit, ControlValueAccessor {
382
+ name: string;
383
+ label: string;
384
+ color: string;
385
+ icon: string;
386
+ iconSvg: string;
387
+ disabled: boolean;
388
+ get type(): any;
389
+ set type(value: any);
390
+ classButton: string;
391
+ value: IButton;
392
+ tooltip?: string;
393
+ protected _type: string;
394
+ onChange: any;
395
+ onTouched: any;
396
+ ngOnInit(): void;
397
+ click(event: any): void;
398
+ writeValue(value: IButton): void;
399
+ registerOnChange(fn: any): void;
400
+ registerOnTouched(fn: any): void;
401
+ setDisabledState?(isDisabled: boolean): void;
402
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesButtonBase, never>;
403
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesButtonBase, "ng-component", never, { "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSvg": { "alias": "iconSvg"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "classButton": { "alias": "classButton"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, never, true, never>;
404
+ }
405
+
406
+ declare class KlesFabComponent extends KlesButtonBase implements OnInit {
407
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFabComponent, never>;
408
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFabComponent, "kles-fab", never, {}, {}, never, never, true, never>;
409
+ }
410
+
411
+ declare class MatErrorMessageDirective implements AfterViewInit {
412
+ private _inj;
413
+ validationsKeys: KlesValidationKey[];
414
+ asyncValidationsKeys: KlesValidationKey[];
415
+ set validations(v: IKlesValidator<Validators>[]);
416
+ set asyncValidations(v: IKlesValidator<AsyncValidator>[]);
417
+ inputRef: MatFormFieldControl<MatFormFieldControl<any>>;
418
+ constructor(_inj: Injector);
419
+ ngAfterViewInit(): void;
420
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatErrorMessageDirective, never>;
421
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatErrorMessageDirective, "[matErrorMessage]", never, { "validations": { "alias": "validations"; "required": false; }; "asyncValidations": { "alias": "asyncValidations"; "required": false; }; }, {}, never, never, true, never>;
422
+ }
423
+
424
+ declare class MatErrorFormDirective {
425
+ validationsKeys: KlesValidationKey[];
426
+ asyncValidationsKeys: KlesValidationKey[];
427
+ form: UntypedFormGroup;
428
+ set validations(v: IKlesValidator<Validators>[]);
429
+ set asyncValidations(v: IKlesValidator<AsyncValidator>[]);
430
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatErrorFormDirective, never>;
431
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatErrorFormDirective, "[matErrorForm]", never, { "form": { "alias": "form"; "required": true; }; "validations": { "alias": "validations"; "required": false; }; "asyncValidations": { "alias": "asyncValidations"; "required": false; }; }, {}, never, never, true, never>;
432
+ }
433
+
434
+ declare class KlesIndeterminateCheckboxComponent implements ControlValueAccessor, AfterViewInit {
435
+ label: string;
436
+ color: string;
437
+ checkbox: MatCheckbox;
438
+ isIndeterminate: boolean;
439
+ private innerValue;
440
+ onChange: any;
441
+ onTouched: any;
442
+ ngAfterViewInit(): void;
443
+ writeValue(value: any): void;
444
+ registerOnChange(fn: any): void;
445
+ registerOnTouched(fn: any): void;
446
+ setDisabledState?(isDisabled: boolean): void;
447
+ onCheckboxChange(event: any): void;
448
+ private updateCheckbox;
449
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesIndeterminateCheckboxComponent, never>;
450
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesIndeterminateCheckboxComponent, "kles-checkbox-indeterminate", never, { "label": { "alias": "label"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
451
+ }
452
+
453
+ declare class KlesFileControlComponent implements ControlValueAccessor {
454
+ disabled: boolean;
455
+ accept: string;
456
+ multiple: boolean;
457
+ value: {
458
+ name: string;
459
+ content: ArrayBuffer;
460
+ }[];
461
+ onChange: any;
462
+ onTouched: any;
463
+ writeValue(obj: any): void;
464
+ onFileSelected(input: HTMLInputElement): Promise<void>;
465
+ registerOnChange(fn: any): void;
466
+ registerOnTouched(fn: any): void;
467
+ setDisabledState?(isDisabled: boolean): void;
468
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFileControlComponent, never>;
469
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFileControlComponent, "kles-file-control", never, { "disabled": { "alias": "disabled"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, {}, never, never, true, never>;
470
+ }
471
+
472
+ declare class KlesFormCopyComponent implements IKlesField {
473
+ private clipBoard;
474
+ tooltip: MatTooltip;
475
+ readonly field: IKlesFieldConfig;
476
+ readonly group: FormGroup<any>;
477
+ readonly siblingFields: IKlesFieldConfig[];
478
+ tooltipText: string;
479
+ constructor(clipBoard: Clipboard);
480
+ copy(event: any): void;
481
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormCopyComponent, never>;
482
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormCopyComponent, "kles-form-copy", never, {}, {}, never, never, true, never>;
483
+ }
484
+
485
+ declare class MaterialModule {
486
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
487
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.CommonModule, typeof i2.MatSliderModule, typeof i3.MatButtonModule, typeof i4.MatToolbarModule, typeof i5.MatIconModule, typeof i6.MatSidenavModule, typeof i7.MatBadgeModule, typeof i8.MatListModule, typeof i9.MatGridListModule, typeof i10.MatFormFieldModule, typeof i11.MatInputModule, typeof i12.MatSelectModule, typeof i13.MatRadioModule, typeof i14.MatDatepickerModule, typeof i15.MatChipsModule, typeof i16.MatTooltipModule, typeof i17.MatTableModule, typeof i18.MatPaginatorModule, typeof i19.MatCardModule, typeof i20.MatMenuModule, typeof i21.MatTabsModule, typeof i22.CdkTableModule, typeof i23.MatProgressSpinnerModule, typeof i24.MatCheckboxModule, typeof i25.MatDialogModule, typeof i26.MatAutocompleteModule, typeof i27.MatProgressBarModule, typeof i28.MatSortModule, typeof i29.MatExpansionModule, typeof i30.MatNativeDateModule, typeof i31.MatSnackBarModule, typeof i32.MatTreeModule, typeof i2.MatSliderModule, typeof i33.MatSlideToggleModule, typeof i34.MatButtonToggleModule, typeof i35.PortalModule], [typeof i3.MatButtonModule, typeof i4.MatToolbarModule, typeof i5.MatIconModule, typeof i6.MatSidenavModule, typeof i7.MatBadgeModule, typeof i8.MatListModule, typeof i9.MatGridListModule, typeof i11.MatInputModule, typeof i10.MatFormFieldModule, typeof i12.MatSelectModule, typeof i13.MatRadioModule, typeof i14.MatDatepickerModule, typeof i15.MatChipsModule, typeof i16.MatTooltipModule, typeof i17.MatTableModule, typeof i18.MatPaginatorModule, typeof i19.MatCardModule, typeof i20.MatMenuModule, typeof i21.MatTabsModule, typeof i22.CdkTableModule, typeof i23.MatProgressSpinnerModule, typeof i24.MatCheckboxModule, typeof i25.MatDialogModule, typeof i26.MatAutocompleteModule, typeof i27.MatProgressBarModule, typeof i28.MatSortModule, typeof i29.MatExpansionModule, typeof i30.MatNativeDateModule, typeof i31.MatSnackBarModule, typeof i32.MatTreeModule, typeof i2.MatSliderModule, typeof i33.MatSlideToggleModule, typeof i36.ScrollingModule, typeof i36.CdkScrollable, typeof i34.MatButtonToggleModule, typeof i35.PortalModule]>;
488
+ static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
489
+ }
490
+
491
+ declare class KlesDynamicFormIntl {
492
+ loading: string;
493
+ selectAll: string;
494
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesDynamicFormIntl, never>;
495
+ static ɵprov: i0.ɵɵInjectableDeclaration<KlesDynamicFormIntl>;
496
+ }
497
+
498
+ declare class KlesFormInputComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
499
+ filteredOption$: Observable<{
500
+ loading: boolean;
501
+ options: any[];
502
+ }>;
503
+ options$: Observable<{
504
+ loading: boolean;
505
+ options: any[];
506
+ }>;
507
+ private isFocused;
508
+ isLoading: i0.WritableSignal<boolean>;
509
+ intl: KlesDynamicFormIntl;
510
+ constructor();
511
+ ngOnInit(): void;
512
+ onFocus(): void;
513
+ private filterData;
514
+ displayFn(value: any): any;
515
+ ngOnDestroy(): void;
516
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormInputComponent, never>;
517
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormInputComponent, "kles-form-input", never, {}, {}, never, ["*"], true, never>;
518
+ }
519
+
520
+ declare class KlesFormInputClearableComponent extends KlesFormInputComponent implements OnInit, OnDestroy {
521
+ ngOnDestroy(): void;
522
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormInputClearableComponent, never>;
523
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormInputClearableComponent, "kles-form-input-clearable", never, {}, {}, never, never, true, never>;
524
+ }
525
+
526
+ declare class KlesFormBadgeComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
527
+ ngOnInit(): void;
528
+ ngOnDestroy(): void;
529
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormBadgeComponent, never>;
530
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormBadgeComponent, "kles-form-badge", never, {}, {}, never, never, true, never>;
531
+ }
532
+
533
+ declare class KlesFormFileComponent extends KlesFieldAbstract {
534
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormFileComponent, never>;
535
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormFileComponent, "kles-form-file", never, {}, {}, never, never, true, never>;
536
+ }
537
+
538
+ declare class KlesButtonComponent extends KlesButtonBase implements OnInit {
539
+ mdcClasses: i0.WritableSignal<string[]>;
540
+ set attribute(attribute: EnumButtonAttribute);
541
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesButtonComponent, never>;
542
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesButtonComponent, "kles-button", never, { "attribute": { "alias": "attribute"; "required": false; }; }, {}, never, never, true, never>;
543
+ }
544
+
545
+ declare class KlesFormButtonComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
546
+ ngOnInit(): void;
547
+ ngOnDestroy(): void;
548
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormButtonComponent, never>;
549
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormButtonComponent, "kles-form-button", never, {}, {}, never, never, true, never>;
550
+ }
551
+
552
+ interface IButtonChecker extends IButton {
553
+ busy: boolean;
554
+ error?: any[];
555
+ message?: string;
556
+ }
557
+ declare class KlesButtonCheckerComponent extends KlesButtonBase implements ControlValueAccessor {
558
+ value: IButtonChecker;
559
+ countError(): number;
560
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesButtonCheckerComponent, never>;
561
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesButtonCheckerComponent, "kles-button-checker", never, {}, {}, never, never, true, never>;
562
+ }
563
+
564
+ declare class KlesFormButtonCheckerComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
565
+ ngOnInit(): void;
566
+ ngOnDestroy(): void;
567
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormButtonCheckerComponent, never>;
568
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormButtonCheckerComponent, "kles-form-button-checker", never, {}, {}, never, never, true, never>;
569
+ }
570
+
571
+ interface IButtonFile extends IButton {
572
+ fileContent?: string | string[];
573
+ }
574
+ declare class KlesButtonFileComponent extends KlesButtonBase {
575
+ file: any;
576
+ accept: string;
577
+ fileReader: FileReader;
578
+ fileContent: string | string[];
579
+ value: IButtonFile;
580
+ click(event: any): void;
581
+ writeValue(value: IButton): void;
582
+ onFileLoad(fileLoadedEvent: any): void;
583
+ onFileSelect(input: HTMLInputElement): Promise<void>;
584
+ readUploadedFile(inputFile: any): Promise<any>;
585
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesButtonFileComponent, never>;
586
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesButtonFileComponent, "kles-button-file", never, { "accept": { "alias": "accept"; "required": false; }; }, {}, never, never, true, never>;
587
+ }
588
+
589
+ declare class KlesFormButtonFileComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
590
+ ngOnInit(): void;
591
+ ngOnDestroy(): void;
592
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormButtonFileComponent, never>;
593
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormButtonFileComponent, "kles-form-button-file", never, {}, {}, never, never, true, never>;
594
+ }
595
+
596
+ declare class KlesFormSelectComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
597
+ cdkVirtualScrollViewport: CdkVirtualScrollViewport;
598
+ options: QueryList<MatOption>;
599
+ options$: Observable<any[]>;
600
+ isLoading: boolean;
601
+ openChange$: Subject<boolean>;
602
+ intl: KlesDynamicFormIntl;
603
+ protected ref: ChangeDetectorRef;
604
+ ngOnInit(): void;
605
+ ngOnDestroy(): void;
606
+ openChange($event: boolean): void;
607
+ compareFn: (o1: any, o2: any) => boolean;
608
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormSelectComponent, never>;
609
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormSelectComponent, "kles-form-select", never, {}, {}, never, ["*"], true, never>;
610
+ }
611
+
612
+ declare class KlesFormDateComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
613
+ ngOnInit(): void;
614
+ ngOnDestroy(): void;
615
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormDateComponent, never>;
616
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormDateComponent, "kles-form-datepicker", never, {}, {}, never, ["*"], true, never>;
617
+ }
618
+
619
+ declare class KlesFormDateTimeComponent extends KlesFieldAbstract {
620
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormDateTimeComponent, never>;
621
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormDateTimeComponent, "kles-form-datetimepicker", never, {}, {}, never, ["*"], true, never>;
622
+ }
623
+
624
+ declare class KlesFormRadioComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
625
+ options$: Observable<any[]>;
626
+ ngOnInit(): void;
627
+ ngOnDestroy(): void;
628
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormRadioComponent, never>;
629
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormRadioComponent, "kles-form-radiobutton", never, {}, {}, never, never, true, never>;
630
+ }
631
+
632
+ declare class KlesFormCheckboxComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
633
+ ngOnInit(): void;
634
+ ngOnDestroy(): void;
635
+ onChange(e: MatCheckboxChange): void;
636
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormCheckboxComponent, never>;
637
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormCheckboxComponent, "kles-form-checkbox", never, {}, {}, never, never, true, never>;
638
+ }
639
+
640
+ declare class KlesFormCheckboxIndeterminateComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
641
+ ngOnInit(): void;
642
+ ngOnDestroy(): void;
643
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormCheckboxIndeterminateComponent, never>;
644
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormCheckboxIndeterminateComponent, "kles-form-checkbox-indeterminate", never, {}, {}, never, never, true, never>;
645
+ }
646
+
647
+ declare class KlesFormListFieldComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
648
+ formArray: UntypedFormArray;
649
+ collections: IKlesFieldConfig[][];
650
+ private fb;
651
+ ngOnInit(): void;
652
+ private createFormGroup;
653
+ deleteField(index: number): void;
654
+ addField(): void;
655
+ private bindValidations;
656
+ private bindAsyncValidations;
657
+ ngOnDestroy(): void;
658
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormListFieldComponent, never>;
659
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormListFieldComponent, "kles-form-listfield", never, {}, {}, never, never, true, never>;
660
+ }
661
+
662
+ declare class KlesFormColorComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
663
+ ngOnInit(): void;
664
+ invertColor(hex: any, bw: any): string;
665
+ ngOnDestroy(): void;
666
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormColorComponent, never>;
667
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormColorComponent, "kles-form-color", never, {}, {}, never, ["*"], true, never>;
668
+ }
669
+
670
+ declare class KlesFormTextareaComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
671
+ ngOnInit(): void;
672
+ ngOnDestroy(): void;
673
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormTextareaComponent, never>;
674
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormTextareaComponent, "kles-form-textarea", never, {}, {}, never, ["*"], true, never>;
675
+ }
676
+
677
+ declare class KlesFormTextComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
678
+ ngOnInit(): void;
679
+ ngOnDestroy(): void;
680
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormTextComponent, never>;
681
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormTextComponent, "kles-form-text", never, {}, {}, never, ["*"], true, never>;
682
+ }
683
+
684
+ declare class KlesFormChipComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
685
+ ngOnInit(): void;
686
+ ngOnDestroy(): void;
687
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormChipComponent, never>;
688
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormChipComponent, "kles-form-chip", never, {}, {}, never, never, true, never>;
689
+ }
690
+
691
+ declare class KlesFormGroupComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
692
+ orientationClass: 'group-container' | 'group-container-column' | 'group-container-row' | 'group-container-grid' | 'group-container-inline-grid';
693
+ get className(): "group-container" | "group-container-column" | "group-container-row" | "group-container-grid" | "group-container-inline-grid";
694
+ subGroup: UntypedFormGroup;
695
+ subUi: GroupUiState;
696
+ ngOnInit(): void;
697
+ ngOnDestroy(): void;
698
+ private setOrientationClass;
699
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormGroupComponent, never>;
700
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormGroupComponent, "kles-group", never, {}, {}, never, never, true, never>;
701
+ }
702
+
703
+ declare class KlesFormIconComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
704
+ ngOnInit(): void;
705
+ ngOnDestroy(): void;
706
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormIconComponent, never>;
707
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormIconComponent, "kles-form-icon", never, {}, {}, never, never, true, never>;
708
+ }
709
+
710
+ declare class KlesFormSelectSearchComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
711
+ searchControl: UntypedFormControl;
712
+ selectAllControl: UntypedFormControl;
713
+ isLoading: i0.WritableSignal<boolean>;
714
+ options$: Observable<any[]>;
715
+ optionsFiltered$: ReplaySubject<any[]>;
716
+ openChange$: BehaviorSubject<boolean>;
717
+ openClosed$: Subject<void>;
718
+ cdkVirtualScrollViewport: CdkVirtualScrollViewport;
719
+ options: QueryList<MatOption>;
720
+ intl: KlesDynamicFormIntl;
721
+ protected ref: ChangeDetectorRef;
722
+ ngOnInit(): void;
723
+ ngOnDestroy(): void;
724
+ toggleAllSelection(state: {
725
+ checked: any;
726
+ }): void;
727
+ protected openChangeEvent(): void;
728
+ protected onOpenChange(isOpen: boolean): Observable<any[]>;
729
+ protected onSearchChange(value: string): Observable<any[]>;
730
+ openChange($event: boolean): void;
731
+ compareFn: (o1: any, o2: any) => boolean;
732
+ selectionChange(selection: {
733
+ value: any;
734
+ }): void;
735
+ updateSelectAllControl(values: any[]): void;
736
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormSelectSearchComponent, never>;
737
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormSelectSearchComponent, "kles-form-select-search", never, {}, {}, never, ["*"], true, never>;
738
+ }
739
+
740
+ declare class KlesFormLineBreakComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
741
+ ngOnInit(): void;
742
+ ngOnDestroy(): void;
743
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormLineBreakComponent, never>;
744
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormLineBreakComponent, "kles-form-line-break", never, {}, {}, never, never, true, never>;
745
+ }
746
+
747
+ declare class KlesFormLinkComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
748
+ ngOnInit(): void;
749
+ ngOnDestroy(): void;
750
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormLinkComponent, never>;
751
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormLinkComponent, "kles-form-link", never, {}, {}, never, never, true, never>;
752
+ }
753
+
754
+ declare class KlesFormSlideToggleComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
755
+ ngOnInit(): void;
756
+ ngOnDestroy(): void;
757
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormSlideToggleComponent, never>;
758
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormSlideToggleComponent, "kles-form-slide-toggle", never, {}, {}, never, never, true, never>;
759
+ }
760
+
1
761
  /**
2
- * Generated bundle index. Do not edit.
762
+ * Copy and past from https://github.com/angular/components/blob/17.0.x/src/cdk/collections/selection-model.ts
763
+ * (They put everything in private, thanks to angular team)
3
764
  */
4
- /// <amd-module name="@3kles/kles-material-dynamicforms" />
5
- export * from './public-api';
765
+ declare class KlesSelectionModel<T> {
766
+ private _multiple;
767
+ private _emitChanges;
768
+ compareWith?: (o1: T, o2: T) => boolean;
769
+ /** Currently-selected values. */
770
+ private _selection;
771
+ /** Keeps track of the deselected options that haven't been emitted by the change event. */
772
+ private _deselectedToEmit;
773
+ /** Keeps track of the selected options that haven't been emitted by the change event. */
774
+ private _selectedToEmit;
775
+ /** Cache for the array value of the selected items. */
776
+ private _selected;
777
+ /** Selected values. */
778
+ get selected(): T[];
779
+ /** Event emitted when the value has changed. */
780
+ readonly changed: Subject<any>;
781
+ constructor(_multiple?: boolean, initiallySelectedValues?: T[], _emitChanges?: boolean, compareWith?: (o1: T, o2: T) => boolean);
782
+ /**
783
+ * Selects a value or an array of values.
784
+ * @param values The values to select
785
+ * @return Whether the selection changed as a result of this call
786
+ * @breaking-change 16.0.0 make return type boolean
787
+ */
788
+ select(values: T[], option?: {
789
+ emitEvent: boolean;
790
+ }): boolean | void;
791
+ /**
792
+ * Deselects a value or an array of values.
793
+ * @param values The values to deselect
794
+ * @return Whether the selection changed as a result of this call
795
+ * @breaking-change 16.0.0 make return type boolean
796
+ */
797
+ deselect(values: T[], option?: {
798
+ emitEvent: boolean;
799
+ }): boolean | void;
800
+ /**
801
+ * Sets the selected values
802
+ * @param values The new selected values
803
+ * @return Whether the selection changed as a result of this call
804
+ * @breaking-change 16.0.0 make return type boolean
805
+ */
806
+ setSelection(values: T[], option?: {
807
+ emitEvent: boolean;
808
+ }): boolean | void;
809
+ /**
810
+ * Toggles a value between selected and deselected.
811
+ * @param value The value to toggle
812
+ * @return Whether the selection changed as a result of this call
813
+ * @breaking-change 16.0.0 make return type boolean
814
+ */
815
+ toggle(value: T): boolean | void;
816
+ /**
817
+ * Clears all of the selected values.
818
+ * @param flushEvent Whether to flush the changes in an event.
819
+ * If false, the changes to the selection will be flushed along with the next event.
820
+ * @return Whether the selection changed as a result of this call
821
+ * @breaking-change 16.0.0 make return type boolean
822
+ */
823
+ clear(flushEvent?: boolean): boolean | void;
824
+ /**
825
+ * Determines whether a value is selected.
826
+ */
827
+ isSelected(value: T): boolean;
828
+ /**
829
+ * Determines whether the model does not have a value.
830
+ */
831
+ isEmpty(): boolean;
832
+ /**
833
+ * Determines whether the model has a value.
834
+ */
835
+ hasValue(): boolean;
836
+ /**
837
+ * Sorts the selected values based on a predicate function.
838
+ */
839
+ sort(predicate?: (a: T, b: T) => number): void;
840
+ /**
841
+ * Gets whether multiple values can be selected.
842
+ */
843
+ isMultipleSelection(): boolean;
844
+ /** Emits a change event and clears the records of selected and deselected values. */
845
+ private _emitChangeEvent;
846
+ /** Selects a value. */
847
+ private _markSelected;
848
+ /** Deselects a value. */
849
+ private _unmarkSelected;
850
+ /** Clears out the selected values. */
851
+ private _unmarkAll;
852
+ /**
853
+ * Verifies the value assignment and throws an error if the specified value array is
854
+ * including multiple values while the selection model is not supporting multiple values.
855
+ */
856
+ private _verifyValueAssignment;
857
+ /** Whether there are queued up change to be emitted. */
858
+ private _hasQueuedChanges;
859
+ /** Returns a value that is comparable to inputValue by applying compareWith function, returns the same inputValue otherwise. */
860
+ private _getConcreteValue;
861
+ }
862
+
863
+ declare class KlesFormSelectionListComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
864
+ selection: KlesSelectionModel<any>;
865
+ options$: Observable<any[]>;
866
+ ngOnInit(): void;
867
+ ngOnDestroy(): void;
868
+ onSelectionChange(selection: MatSelectionListChange): void;
869
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormSelectionListComponent, never>;
870
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormSelectionListComponent, "kles-form-selection-list", never, {}, {}, never, never, true, never>;
871
+ }
872
+
873
+ declare class KlesFormButtonToogleGroupComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
874
+ options$: Observable<any[]>;
875
+ ngOnInit(): void;
876
+ ngOnDestroy(): void;
877
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormButtonToogleGroupComponent, never>;
878
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormButtonToogleGroupComponent, "kles-form-button-toogle-group", never, {}, {}, never, never, true, never>;
879
+ }
880
+
881
+ declare class ArrayUiState<TItem extends AbstractUiState<any, any> = AbstractUiState<any, any>, TValue extends any[] = any[], TRawValue extends TValue = TValue> extends AbstractUiState<TValue, TRawValue> {
882
+ states: TItem[];
883
+ constructor(states?: TItem[]);
884
+ setValue(value: TRawValue): void;
885
+ patchValue(value: Partial<TRawValue>): void;
886
+ childValueChanged(key: string | number, value: any): void;
887
+ at(index: number): AbstractUiState;
888
+ _find(name: string | number): AbstractUiState | null;
889
+ push(control: TItem | TItem[]): void;
890
+ insert(index: number, state: TItem | TItem[]): void;
891
+ removeAt(index: number): void;
892
+ clear(): void;
893
+ }
894
+
895
+ declare class KlesFormArrayComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
896
+ formArray: UntypedFormArray;
897
+ subUi: ArrayUiState;
898
+ constructor();
899
+ ngOnInit(): void;
900
+ ngOnDestroy(): void;
901
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormArrayComponent, never>;
902
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormArrayComponent, "kles-array", never, {}, {}, never, never, true, never>;
903
+ }
904
+
905
+ declare class KlesFormRangeComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
906
+ ngOnInit(): void;
907
+ ngOnDestroy(): void;
908
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormRangeComponent, never>;
909
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormRangeComponent, "kles-form-rangepicker", never, {}, {}, never, ["*"], true, never>;
910
+ }
911
+
912
+ declare class KlesFormSelectLazySearchComponent extends KlesFormSelectSearchComponent implements OnInit, OnDestroy {
913
+ ngOnInit(): void;
914
+ ngOnDestroy(): void;
915
+ protected onSearchChange(value: string): Observable<any[]>;
916
+ protected openChangeEvent(): void;
917
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormSelectLazySearchComponent, never>;
918
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormSelectLazySearchComponent, "kles-form-select-lazy-search", never, {}, {}, never, ["*"], true, never>;
919
+ }
920
+
921
+ declare class KlesFormFabComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
922
+ ngOnInit(): void;
923
+ ngOnDestroy(): void;
924
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormFabComponent, never>;
925
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormFabComponent, "kles-form-fab", never, {}, {}, never, never, true, never>;
926
+ }
927
+
928
+ declare class KlesMiniFabComponent extends KlesButtonBase implements OnInit {
929
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesMiniFabComponent, never>;
930
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesMiniFabComponent, "kles-mini-fab", never, {}, {}, never, never, true, never>;
931
+ }
932
+
933
+ declare class KlesFormMiniFabComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
934
+ ngOnInit(): void;
935
+ ngOnDestroy(): void;
936
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormMiniFabComponent, never>;
937
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormMiniFabComponent, "kles-form-mini-fab", never, {}, {}, never, never, true, never>;
938
+ }
939
+
940
+ declare class KlesIconButtonComponent extends KlesButtonBase implements OnInit {
941
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesIconButtonComponent, never>;
942
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesIconButtonComponent, "kles-icon-button", never, {}, {}, never, never, true, never>;
943
+ }
944
+
945
+ declare class KlesFormIconButtonComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
946
+ ngOnInit(): void;
947
+ ngOnDestroy(): void;
948
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormIconButtonComponent, never>;
949
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormIconButtonComponent, "kles-form-icon-button", never, {}, {}, never, never, true, never>;
950
+ }
951
+
952
+ declare class KlesFormSelectionListSearchComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
953
+ selection: KlesSelectionModel<any>;
954
+ options$: Observable<any[]>;
955
+ searchControl: FormControl<any>;
956
+ optionFiltered$: Observable<any[]>;
957
+ ngOnInit(): void;
958
+ ngOnDestroy(): void;
959
+ onSelectionChange(selection: MatSelectionListChange): void;
960
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormSelectionListSearchComponent, never>;
961
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormSelectionListSearchComponent, "kles-form-selection-list-search", never, {}, {}, never, never, true, never>;
962
+ }
963
+
964
+ declare class KlesMaterialDynamicformsModule {
965
+ static declarations: ((typeof KlesFormClearComponent | typeof KlesDynamicFormComponent | typeof KlesFormLabelComponent | typeof KlesFabComponent | typeof KlesIndeterminateCheckboxComponent | typeof KlesFileControlComponent | typeof KlesFormCopyComponent)[] | (typeof KlesDynamicFieldDirective | typeof MatErrorFormDirective | typeof KlesComponentDirective | typeof MatErrorMessageDirective)[] | (typeof KlesTransformPipe | typeof ArrayFormatPipe)[])[];
966
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesMaterialDynamicformsModule, never>;
967
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KlesMaterialDynamicformsModule, never, [typeof i1.CommonModule, typeof i2$1.ReactiveFormsModule, typeof i2$1.FormsModule, typeof MaterialModule, typeof i4$1.NgxMatSelectSearchModule, typeof KlesDynamicFormComponent, typeof KlesFormLabelComponent, typeof KlesFormInputComponent, typeof KlesFormInputClearableComponent, typeof KlesFormBadgeComponent, typeof KlesFormFileComponent, typeof KlesFileControlComponent, typeof KlesButtonComponent, typeof KlesFormButtonComponent, typeof KlesButtonCheckerComponent, typeof KlesFormButtonCheckerComponent, typeof KlesButtonFileComponent, typeof KlesFormButtonFileComponent, typeof KlesFormSelectComponent, typeof KlesFormDateComponent, typeof KlesFormDateTimeComponent, typeof KlesFormRadioComponent, typeof KlesFormCheckboxComponent, typeof KlesIndeterminateCheckboxComponent, typeof KlesFormCheckboxIndeterminateComponent, typeof KlesFormListFieldComponent, typeof KlesFormColorComponent, typeof KlesFormTextareaComponent, typeof KlesFormTextComponent, typeof KlesFormChipComponent, typeof KlesFormGroupComponent, typeof KlesFormIconComponent, typeof KlesFormSelectSearchComponent, typeof KlesFormLineBreakComponent, typeof KlesFormLinkComponent, typeof KlesFormSlideToggleComponent, typeof KlesFormSelectionListComponent, typeof KlesFormButtonToogleGroupComponent, typeof KlesFormArrayComponent, typeof KlesFormRangeComponent, typeof KlesFormClearComponent, typeof KlesFormSelectLazySearchComponent, typeof KlesFormFabComponent, typeof KlesFabComponent, typeof KlesMiniFabComponent, typeof KlesFormMiniFabComponent, typeof KlesIconButtonComponent, typeof KlesFormIconButtonComponent, typeof KlesFormSelectionListSearchComponent, typeof KlesFormCopyComponent, typeof KlesDynamicFieldDirective, typeof KlesComponentDirective, typeof MatErrorMessageDirective, typeof MatErrorFormDirective, typeof KlesTransformPipe, typeof ArrayFormatPipe, typeof i56.ColorPickerComponent, typeof i56.ColorPickerDirective], [typeof KlesDynamicFormComponent, typeof KlesFormLabelComponent, typeof KlesFormInputComponent, typeof KlesFormInputClearableComponent, typeof KlesFormBadgeComponent, typeof KlesFormFileComponent, typeof KlesFileControlComponent, typeof KlesButtonComponent, typeof KlesFormButtonComponent, typeof KlesButtonCheckerComponent, typeof KlesFormButtonCheckerComponent, typeof KlesButtonFileComponent, typeof KlesFormButtonFileComponent, typeof KlesFormSelectComponent, typeof KlesFormDateComponent, typeof KlesFormDateTimeComponent, typeof KlesFormRadioComponent, typeof KlesFormCheckboxComponent, typeof KlesIndeterminateCheckboxComponent, typeof KlesFormCheckboxIndeterminateComponent, typeof KlesFormListFieldComponent, typeof KlesFormColorComponent, typeof KlesFormTextareaComponent, typeof KlesFormTextComponent, typeof KlesFormChipComponent, typeof KlesFormGroupComponent, typeof KlesFormIconComponent, typeof KlesFormSelectSearchComponent, typeof KlesFormLineBreakComponent, typeof KlesFormLinkComponent, typeof KlesFormSlideToggleComponent, typeof KlesFormSelectionListComponent, typeof KlesFormButtonToogleGroupComponent, typeof KlesFormArrayComponent, typeof KlesFormRangeComponent, typeof KlesFormClearComponent, typeof KlesFormSelectLazySearchComponent, typeof KlesFormFabComponent, typeof KlesFabComponent, typeof KlesMiniFabComponent, typeof KlesFormMiniFabComponent, typeof KlesIconButtonComponent, typeof KlesFormIconButtonComponent, typeof KlesFormSelectionListSearchComponent, typeof KlesFormCopyComponent, typeof KlesTransformPipe, typeof ArrayFormatPipe, typeof KlesDynamicFieldDirective, typeof KlesComponentDirective, typeof MatErrorMessageDirective, typeof MatErrorFormDirective]>;
968
+ static ɵinj: i0.ɵɵInjectorDeclaration<KlesMaterialDynamicformsModule>;
969
+ }
970
+
971
+ declare class KlesFormPasswordVisibilityComponent implements IKlesField {
972
+ readonly field: IKlesFieldConfig;
973
+ readonly group: FormGroup<any>;
974
+ readonly siblingFields: IKlesFieldConfig[];
975
+ hide: i0.WritableSignal<boolean>;
976
+ toggleVisibility(event: any): void;
977
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormPasswordVisibilityComponent, never>;
978
+ static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormPasswordVisibilityComponent, "kles-form-password-visibility", never, {}, {}, never, never, true, never>;
979
+ }
980
+
981
+ interface IKlesComponent {
982
+ component: Type<any>;
983
+ value: any;
984
+ }
985
+
986
+ declare class KlesFormErrorStateMatcher implements ErrorStateMatcher {
987
+ constructor();
988
+ isErrorState(control: UntypedFormControl | null, form: FormGroupDirective | NgForm | null): boolean;
989
+ static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormErrorStateMatcher, never>;
990
+ static ɵprov: i0.ɵɵInjectableDeclaration<KlesFormErrorStateMatcher>;
991
+ }
992
+
993
+ declare function autocompleteObjectValidator(optional?: boolean): ValidatorFn;
994
+ declare function autocompleteStringValidator(validOptions: Array<string>, optional?: boolean): ValidatorFn;
995
+
996
+ declare const componentMapper: {
997
+ component: Type<any>;
998
+ type: string;
999
+ factory: (field: IKlesFieldConfig, ref?: ChangeDetectorRef) => AbstractControl<any, any>;
1000
+ ui?: (field: IKlesFieldConfig) => AbstractUiState<any, any>;
1001
+ }[];
1002
+ declare function FieldMapper(config: {
1003
+ type: string;
1004
+ factory?: (field: IKlesFieldConfig) => AbstractControl<any, any>;
1005
+ ui?: (field: IKlesFieldConfig) => AbstractUiState<any, any>;
1006
+ }): (target: Type<any>) => void;
1007
+
1008
+ declare const klesFieldControlFactory: (field: IKlesFieldConfig, ref?: ChangeDetectorRef) => AbstractControl;
1009
+ declare const klesFieldUiFactory: (field: IKlesFieldConfig) => AbstractUiState;
1010
+
1011
+ interface IKlesControl {
1012
+ create(): AbstractControl;
1013
+ bindValidations(validations: IKlesValidator<ValidatorFn>[]): ValidatorFn;
1014
+ bindAsyncValidations(validations: IKlesValidator<AsyncValidatorFn>[]): AsyncValidatorFn;
1015
+ }
1016
+
1017
+ declare abstract class KlesAbstractFormControl implements IKlesControl {
1018
+ protected field: IKlesFieldConfig;
1019
+ protected ref?: ChangeDetectorRef;
1020
+ constructor(field: IKlesFieldConfig, ref?: ChangeDetectorRef);
1021
+ abstract create(): AbstractControl;
1022
+ bindValidations(validations: IKlesValidator<ValidatorFn>[]): ValidatorFn;
1023
+ bindAsyncValidations(validations: IKlesValidator<AsyncValidatorFn>[]): AsyncValidatorFn;
1024
+ }
1025
+
1026
+ declare class KlesFormControl extends KlesAbstractFormControl {
1027
+ create(): AbstractControl;
1028
+ }
1029
+
1030
+ declare class KlesFormArray extends KlesFormControl {
1031
+ create(): AbstractControl<any, any>;
1032
+ }
1033
+
1034
+ declare class KlesFormGroup extends KlesFormControl {
1035
+ create(): AbstractControl<any, any>;
1036
+ }
1037
+
1038
+ declare class KlesFormRange extends KlesFormControl {
1039
+ create(): AbstractControl<any, any>;
1040
+ }
1041
+
1042
+ interface Destroyable {
1043
+ destroy(): any;
1044
+ }
1045
+ declare function isDestroyable(value: unknown): value is Destroyable;
1046
+
1047
+ interface IKlesUi {
1048
+ create(): AbstractUiState;
1049
+ }
1050
+
1051
+ declare abstract class KlesAbstractFormUiControl implements IKlesUi {
1052
+ protected field: IKlesFieldConfig;
1053
+ constructor(field: IKlesFieldConfig);
1054
+ abstract create(): AbstractUiState;
1055
+ }
1056
+
1057
+ declare class KlesFormUiControl extends KlesAbstractFormUiControl {
1058
+ create(): AbstractUiState;
1059
+ }
1060
+
1061
+ declare class KlesFormUiArray extends KlesFormUiControl {
1062
+ create(): AbstractUiState<any, any>;
1063
+ }
1064
+
1065
+ declare class KlesFormUiGroup extends KlesFormUiControl {
1066
+ create(): AbstractUiState<any, any>;
1067
+ }
1068
+
1069
+ declare class ControlUiState<TValue extends IKlesFieldUi> extends AbstractUiState<TValue, TValue> {
1070
+ constructor(value?: TValue);
1071
+ get value(): Signal<TValue | undefined>;
1072
+ setValue(value: TValue): void;
1073
+ patchValue(value: Partial<TValue> | TValue): void;
1074
+ }
1075
+
1076
+ declare const FIELD_NAME: InjectionToken<string>;
1077
+ declare const GROUP: InjectionToken<FormGroup<any>>;
1078
+ declare const SIBLING_FIELDS: InjectionToken<IKlesFieldConfig[]>;
1079
+ declare const GROUP_UI: InjectionToken<GroupUiState<any>>;
1080
+ declare const FIELD: InjectionToken<IKlesFieldConfig>;
1081
+
1082
+ export { AbstractUiState, ArrayFormatPipe, ArrayUiState, ControlUiState, EnumButtonAttribute, EnumType, FIELD, FIELD_NAME, FieldMapper, GROUP, GROUP_UI, GroupUiState, KlesAbstractFormControl, KlesAbstractFormUiControl, KlesButtonBase, KlesButtonCheckerComponent, KlesButtonComponent, KlesButtonFileComponent, KlesComponentDirective, KlesDynamicFieldDirective, KlesDynamicFormComponent, KlesDynamicFormIntl, KlesFabComponent, KlesFieldAbstract, KlesFileControlComponent, KlesFormArray, KlesFormArrayComponent, KlesFormBadgeComponent, KlesFormButtonCheckerComponent, KlesFormButtonComponent, KlesFormButtonFileComponent, KlesFormButtonToogleGroupComponent, KlesFormCheckboxComponent, KlesFormCheckboxIndeterminateComponent, KlesFormChipComponent, KlesFormClearComponent, KlesFormColorComponent, KlesFormControl, KlesFormCopyComponent, KlesFormDateComponent, KlesFormDateTimeComponent, KlesFormErrorStateMatcher, KlesFormFabComponent, KlesFormFileComponent, KlesFormGroup, KlesFormGroupComponent, KlesFormIconButtonComponent, KlesFormIconComponent, KlesFormInputClearableComponent, KlesFormInputComponent, KlesFormLabelComponent, KlesFormLineBreakComponent, KlesFormLinkComponent, KlesFormListFieldComponent, KlesFormMiniFabComponent, KlesFormPasswordVisibilityComponent, KlesFormRadioComponent, KlesFormRange, KlesFormRangeComponent, KlesFormSelectComponent, KlesFormSelectLazySearchComponent, KlesFormSelectSearchComponent, KlesFormSelectionListComponent, KlesFormSelectionListSearchComponent, KlesFormSlideToggleComponent, KlesFormTextComponent, KlesFormTextareaComponent, KlesFormUiArray, KlesFormUiControl, KlesFormUiGroup, KlesIconButtonComponent, KlesIndeterminateCheckboxComponent, KlesMaterialDynamicformsModule, KlesMiniFabComponent, KlesSelectionModel, KlesTransformPipe, MatErrorFormDirective, MatErrorMessageDirective, SIBLING_FIELDS, autocompleteObjectValidator, autocompleteStringValidator, componentMapper, isDestroyable, klesFieldControlFactory, klesFieldUiFactory };
1083
+ export type { Destroyable, IButton, IButtonChecker, IButtonFile, IKlesClearControl, IKlesComponent, IKlesControl, IKlesDirective, IKlesField, IKlesFieldConfig, IKlesFieldUi, IKlesFormField, IKlesUi, IKlesValidator, IUIButton, KlesValidationKey };