@ng-formworks/material 19.6.3 → 20.6.3

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 (30) hide show
  1. package/assets/material-design-themes.scss +5 -5
  2. package/fesm2022/ng-formworks-material.mjs +135 -135
  3. package/fesm2022/ng-formworks-material.mjs.map +1 -1
  4. package/index.d.ts +525 -3
  5. package/package.json +12 -5
  6. package/lib/material-design-cssframework.d.ts +0 -1
  7. package/lib/material-design-framework.component.d.ts +0 -35
  8. package/lib/material-design-framework.module.d.ts +0 -63
  9. package/lib/material-design.framework.d.ts +0 -47
  10. package/lib/widgets/flex-layout-root.component.d.ts +0 -28
  11. package/lib/widgets/flex-layout-section.component.d.ts +0 -23
  12. package/lib/widgets/material-add-reference.component.d.ts +0 -18
  13. package/lib/widgets/material-button-group.component.d.ts +0 -22
  14. package/lib/widgets/material-button.component.d.ts +0 -22
  15. package/lib/widgets/material-checkbox.component.d.ts +0 -24
  16. package/lib/widgets/material-checkboxes.component.d.ts +0 -27
  17. package/lib/widgets/material-chip-list.component.d.ts +0 -20
  18. package/lib/widgets/material-datepicker.component.d.ts +0 -21
  19. package/lib/widgets/material-file.component.d.ts +0 -20
  20. package/lib/widgets/material-input.component.d.ts +0 -26
  21. package/lib/widgets/material-number.component.d.ts +0 -28
  22. package/lib/widgets/material-one-of.component.d.ts +0 -23
  23. package/lib/widgets/material-radios.component.d.ts +0 -22
  24. package/lib/widgets/material-select.component.d.ts +0 -26
  25. package/lib/widgets/material-slider.component.d.ts +0 -27
  26. package/lib/widgets/material-stepper.component.d.ts +0 -20
  27. package/lib/widgets/material-tabs.component.d.ts +0 -18
  28. package/lib/widgets/material-textarea.component.d.ts +0 -21
  29. package/lib/widgets/public_api.d.ts +0 -41
  30. package/public_api.d.ts +0 -4
package/index.d.ts CHANGED
@@ -1,5 +1,527 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { OnInit, OnChanges, OnDestroy, ElementRef } from '@angular/core';
3
+ import * as i45 from '@ng-formworks/core';
4
+ import { FrameworkLibraryService, TitleMapItem, isArray } from '@ng-formworks/core';
5
+ import * as i46 from '@ng-formworks/cssframework';
6
+ import { CssframeworkService, CssFramework } from '@ng-formworks/cssframework';
7
+ import { Subscription } from 'rxjs';
8
+ import * as i23 from '@angular/material/autocomplete';
9
+ import { MatAutocompleteModule } from '@angular/material/autocomplete';
10
+ import * as i44 from '@angular/cdk/drag-drop';
11
+ import { CdkDragDrop, CdkDrag } from '@angular/cdk/drag-drop';
12
+ import * as i22 from '@angular/forms';
13
+ import { AbstractControl } from '@angular/forms';
14
+ import * as _angular_material_form_field_d_DYwAHGRh from '@angular/material/form-field.d-DYwAHGRh';
15
+ import * as i21 from '@angular/common';
16
+ import * as i24 from '@angular/material/button';
17
+ import * as i25 from '@angular/material/button-toggle';
18
+ import * as i26 from '@angular/material/card';
19
+ import * as i27 from '@angular/material/checkbox';
20
+ import * as i28 from '@angular/material/chips';
21
+ import * as i29 from '@angular/material/datepicker';
22
+ import * as i30 from '@angular/material/expansion';
23
+ import * as i31 from '@angular/material/form-field';
24
+ import * as i32 from '@angular/material/icon';
25
+ import * as i33 from '@angular/material/input';
26
+ import * as i34 from '@angular/material/core';
27
+ import * as i35 from '@angular/material/radio';
28
+ import * as i36 from '@angular/material/select';
29
+ import * as i37 from '@angular/material/slider';
30
+ import * as i38 from '@angular/material/slide-toggle';
31
+ import * as i39 from '@angular/material/stepper';
32
+ import * as i40 from '@angular/material/tabs';
33
+ import * as i41 from '@angular/material/tooltip';
34
+ import * as i42 from '@angular/material/toolbar';
35
+ import * as i43 from '@angular/material/menu';
36
+ import * as i47 from 'nxt-sortablejs';
37
+
38
+ declare class MaterialDesignFrameworkComponent implements OnInit, OnChanges, OnDestroy {
39
+ private changeDetector;
40
+ private jsf;
41
+ jsfFLService: FrameworkLibraryService;
42
+ cssFWService: CssframeworkService;
43
+ frameworkInitialized: boolean;
44
+ inputType: string;
45
+ options: any;
46
+ widgetLayoutNode: any;
47
+ widgetOptions: any;
48
+ formControl: any;
49
+ parentArray: any;
50
+ isOrderable: boolean;
51
+ dynamicTitle: string;
52
+ readonly layoutNode: _angular_core.InputSignal<any>;
53
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
54
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
55
+ theme: string;
56
+ frameworkThemeSubs: Subscription;
57
+ constructor();
58
+ ngOnDestroy(): void;
59
+ get showRemoveButton(): boolean;
60
+ ngOnInit(): void;
61
+ ngOnChanges(): void;
62
+ initializeFramework(): void;
63
+ updateTitle(): void;
64
+ removeItem(): void;
65
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialDesignFrameworkComponent, never>;
66
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialDesignFrameworkComponent, "material-design-framework", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
67
+ }
68
+
69
+ declare class FlexLayoutRootComponent implements OnInit {
70
+ private jsf;
71
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
72
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
73
+ readonly layout: _angular_core.InputSignal<any[]>;
74
+ readonly isFlexItem: _angular_core.InputSignal<boolean>;
75
+ ngOnInit(): void;
76
+ removeItem(item: any): void;
77
+ sortableObj: any;
78
+ sortableConfig: any;
79
+ sortableInit(sortable: any): void;
80
+ drop(event: CdkDragDrop<string[]>): void;
81
+ /**
82
+ * Predicate function that disallows '$ref' item sorts
83
+ * NB declared as a var instead of a function
84
+ * like sortPredicate(index: number, item: CdkDrag<number>){..}
85
+ * since 'this' is bound to the draglist and doesn't reference the
86
+ * FlexLayoutRootComponent instance
87
+ */
88
+ sortPredicate: (index: number, item: CdkDrag<number>) => boolean;
89
+ getFlexAttribute(node: any, attribute: string): any;
90
+ showWidget(layoutNode: any): boolean;
91
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FlexLayoutRootComponent, never>;
92
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FlexLayoutRootComponent, "flex-layout-root-widget", never, { "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "isFlexItem": { "alias": "isFlexItem"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
93
+ }
94
+
95
+ declare class FlexLayoutSectionComponent implements OnInit {
96
+ private jsf;
97
+ formControl: AbstractControl;
98
+ controlName: string;
99
+ controlValue: any;
100
+ controlDisabled: boolean;
101
+ boundControl: boolean;
102
+ options: any;
103
+ expanded: boolean;
104
+ containerType: string;
105
+ readonly layoutNode: _angular_core.InputSignal<any>;
106
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
107
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
108
+ get sectionTitle(): string;
109
+ ngOnInit(): void;
110
+ toggleExpanded(): void;
111
+ getFlexAttribute(attribute: string): any;
112
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FlexLayoutSectionComponent, never>;
113
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FlexLayoutSectionComponent, "flex-layout-section-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
114
+ }
115
+
116
+ declare class MaterialAddReferenceComponent implements OnInit {
117
+ private jsf;
118
+ options: any;
119
+ itemCount: number;
120
+ previousLayoutIndex: number[];
121
+ previousDataIndex: number[];
122
+ readonly layoutNode: _angular_core.InputSignal<any>;
123
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
124
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
125
+ ngOnInit(): void;
126
+ get showAddButton(): boolean;
127
+ addItem(event: any): void;
128
+ get buttonText(): string;
129
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAddReferenceComponent, never>;
130
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialAddReferenceComponent, "material-add-reference-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
131
+ }
132
+
133
+ declare class MaterialTabsComponent implements OnInit {
134
+ private jsf;
135
+ options: any;
136
+ itemCount: number;
137
+ selectedItem: number;
138
+ showAddTab: boolean;
139
+ readonly layoutNode: _angular_core.InputSignal<any>;
140
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
141
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
142
+ ngOnInit(): void;
143
+ select(index: any): void;
144
+ updateControl(): void;
145
+ setTabTitle(item: any, index: number): string;
146
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialTabsComponent, never>;
147
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialTabsComponent, "material-tabs-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
148
+ }
149
+
150
+ declare class MaterialOneOfComponent implements OnInit, OnDestroy {
151
+ readonly tabs: _angular_core.Signal<MaterialTabsComponent>;
152
+ private jsf;
153
+ formControl: AbstractControl;
154
+ controlName: string;
155
+ controlValue: any;
156
+ controlDisabled: boolean;
157
+ boundControl: boolean;
158
+ options: any;
159
+ readonly layoutNode: _angular_core.InputSignal<any>;
160
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
161
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
162
+ ngOnInit(): void;
163
+ findSelectedTab(): number;
164
+ updateValue(event: any): void;
165
+ ngOnDestroy(): void;
166
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialOneOfComponent, never>;
167
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialOneOfComponent, "material-one-of-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
168
+ }
169
+
170
+ declare class MaterialButtonComponent implements OnInit, OnDestroy {
171
+ private jsf;
172
+ formControl: AbstractControl;
173
+ controlName: string;
174
+ controlValue: any;
175
+ controlDisabled: boolean;
176
+ boundControl: boolean;
177
+ options: any;
178
+ readonly layoutNode: _angular_core.InputSignal<any>;
179
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
180
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
181
+ isValidChangesSubs: Subscription;
182
+ ngOnDestroy(): void;
183
+ ngOnInit(): void;
184
+ updateValue(event: any): void;
185
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialButtonComponent, never>;
186
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialButtonComponent, "material-button-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
187
+ }
188
+
189
+ declare class MaterialButtonGroupComponent implements OnInit, OnDestroy {
190
+ private jsf;
191
+ formControl: AbstractControl;
192
+ controlName: string;
193
+ controlValue: any;
194
+ controlDisabled: boolean;
195
+ boundControl: boolean;
196
+ options: any;
197
+ radiosList: any[];
198
+ vertical: boolean;
199
+ readonly layoutNode: _angular_core.InputSignal<any>;
200
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
201
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
202
+ ngOnInit(): void;
203
+ updateValue(value: any): void;
204
+ ngOnDestroy(): void;
205
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialButtonGroupComponent, never>;
206
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialButtonGroupComponent, "material-button-group-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
207
+ }
208
+
209
+ declare class MaterialCheckboxComponent implements OnInit, OnDestroy {
210
+ private jsf;
211
+ formControl: AbstractControl;
212
+ controlName: string;
213
+ controlValue: any;
214
+ controlDisabled: boolean;
215
+ boundControl: boolean;
216
+ options: any;
217
+ trueValue: any;
218
+ falseValue: any;
219
+ showSlideToggle: boolean;
220
+ readonly layoutNode: _angular_core.InputSignal<any>;
221
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
222
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
223
+ ngOnInit(): void;
224
+ updateValue(event: any): void;
225
+ get isChecked(): boolean;
226
+ ngOnDestroy(): void;
227
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialCheckboxComponent, never>;
228
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialCheckboxComponent, "material-checkbox-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
229
+ }
230
+
231
+ declare class MaterialCheckboxesComponent implements OnInit, OnDestroy {
232
+ private jsf;
233
+ formControl: AbstractControl;
234
+ controlName: string;
235
+ controlValue: any;
236
+ controlDisabled: boolean;
237
+ boundControl: boolean;
238
+ options: any;
239
+ horizontalList: boolean;
240
+ formArray: AbstractControl;
241
+ checkboxList: TitleMapItem[];
242
+ readonly layoutNode: _angular_core.InputSignal<any>;
243
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
244
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
245
+ ngOnInit(): void;
246
+ get allChecked(): boolean;
247
+ get someChecked(): boolean;
248
+ updateValue(): void;
249
+ updateAllValues(event: any): void;
250
+ ngOnDestroy(): void;
251
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialCheckboxesComponent, never>;
252
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialCheckboxesComponent, "material-checkboxes-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
253
+ }
254
+
255
+ declare class MaterialChipListComponent implements OnInit, OnDestroy {
256
+ private jsf;
257
+ formControl: AbstractControl;
258
+ controlName: string;
259
+ controlValue: any;
260
+ controlDisabled: boolean;
261
+ boundControl: boolean;
262
+ options: any;
263
+ readonly layoutNode: _angular_core.InputSignal<any>;
264
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
265
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
266
+ ngOnInit(): void;
267
+ updateValue(event: any): void;
268
+ ngOnDestroy(): void;
269
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialChipListComponent, never>;
270
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialChipListComponent, "material-chip-list-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
271
+ }
272
+
273
+ declare class MaterialDatepickerComponent implements OnInit, OnDestroy {
274
+ matFormFieldDefaultOptions: _angular_material_form_field_d_DYwAHGRh.i;
275
+ private jsf;
276
+ formControl: AbstractControl;
277
+ controlName: string;
278
+ dateValue: any;
279
+ controlDisabled: boolean;
280
+ boundControl: boolean;
281
+ options: any;
282
+ autoCompleteList: string[];
283
+ readonly layoutNode: _angular_core.InputSignal<any>;
284
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
285
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
286
+ ngOnInit(): void;
287
+ ngOnDestroy(): void;
288
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialDatepickerComponent, never>;
289
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialDatepickerComponent, "material-datepicker-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
290
+ }
291
+
292
+ declare class MaterialFileComponent implements OnInit, OnDestroy {
293
+ private jsf;
294
+ formControl: AbstractControl;
295
+ controlName: string;
296
+ controlValue: any;
297
+ controlDisabled: boolean;
298
+ boundControl: boolean;
299
+ options: any;
300
+ readonly layoutNode: _angular_core.InputSignal<any>;
301
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
302
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
303
+ ngOnInit(): void;
304
+ updateValue(event: any): void;
305
+ ngOnDestroy(): void;
306
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialFileComponent, never>;
307
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialFileComponent, "material-file-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
308
+ }
309
+
310
+ declare class MaterialInputComponent implements OnInit, OnDestroy {
311
+ matFormFieldDefaultOptions: _angular_material_form_field_d_DYwAHGRh.i;
312
+ private jsf;
313
+ formControl: AbstractControl;
314
+ controlName: string;
315
+ controlValue: string;
316
+ controlDisabled: boolean;
317
+ boundControl: boolean;
318
+ options: any;
319
+ autoCompleteList: string[];
320
+ readonly layoutNode: _angular_core.InputSignal<any>;
321
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
322
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
323
+ readonly input: _angular_core.Signal<ElementRef<any>>;
324
+ get inputAttributes(): any;
325
+ onMouseDown(e: any): void;
326
+ onTouchStart(e: any): void;
327
+ ngOnInit(): void;
328
+ updateValue(event: any): void;
329
+ ngOnDestroy(): void;
330
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialInputComponent, never>;
331
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialInputComponent, "material-input-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
332
+ }
333
+
334
+ declare class MaterialNumberComponent implements OnInit, OnDestroy {
335
+ matFormFieldDefaultOptions: _angular_material_form_field_d_DYwAHGRh.i;
336
+ private jsf;
337
+ formControl: AbstractControl;
338
+ controlName: string;
339
+ controlValue: any;
340
+ controlDisabled: boolean;
341
+ boundControl: boolean;
342
+ options: any;
343
+ allowNegative: boolean;
344
+ allowDecimal: boolean;
345
+ allowExponents: boolean;
346
+ lastValidNumber: string;
347
+ readonly layoutNode: _angular_core.InputSignal<any>;
348
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
349
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
350
+ get inputAttributes(): any;
351
+ onMouseDown(e: any): void;
352
+ onTouchStart(e: any): void;
353
+ ngOnInit(): void;
354
+ updateValue(event: any): void;
355
+ ngOnDestroy(): void;
356
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialNumberComponent, never>;
357
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialNumberComponent, "material-number-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
358
+ }
359
+
360
+ declare class MaterialRadiosComponent implements OnInit, OnDestroy {
361
+ private jsf;
362
+ formControl: AbstractControl;
363
+ controlName: string;
364
+ controlValue: any;
365
+ controlDisabled: boolean;
366
+ boundControl: boolean;
367
+ options: any;
368
+ flexDirection: string;
369
+ radiosList: any[];
370
+ readonly layoutNode: _angular_core.InputSignal<any>;
371
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
372
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
373
+ ngOnInit(): void;
374
+ updateValue(value: any): void;
375
+ ngOnDestroy(): void;
376
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialRadiosComponent, never>;
377
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialRadiosComponent, "material-radios-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
378
+ }
379
+
380
+ declare class MaterialSelectComponent implements OnInit, OnDestroy {
381
+ matFormFieldDefaultOptions: _angular_material_form_field_d_DYwAHGRh.i;
382
+ private jsf;
383
+ formControl: AbstractControl;
384
+ controlName: string;
385
+ controlValue: any;
386
+ controlDisabled: boolean;
387
+ boundControl: boolean;
388
+ options: any;
389
+ selectList: any[];
390
+ selectListFlatGroup: any[];
391
+ isArray: typeof isArray;
392
+ readonly layoutNode: _angular_core.InputSignal<any>;
393
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
394
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
395
+ ngOnInit(): void;
396
+ deselectAll(): void;
397
+ updateValue(event: any): void;
398
+ ngOnDestroy(): void;
399
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSelectComponent, never>;
400
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialSelectComponent, "material-select-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
401
+ }
402
+
403
+ declare class MaterialSliderComponent implements OnInit, OnDestroy {
404
+ private jsf;
405
+ formControl: AbstractControl;
406
+ controlName: string;
407
+ controlValue: any;
408
+ controlDisabled: boolean;
409
+ boundControl: boolean;
410
+ options: any;
411
+ allowNegative: boolean;
412
+ allowDecimal: boolean;
413
+ allowExponents: boolean;
414
+ lastValidNumber: string;
415
+ readonly layoutNode: _angular_core.InputSignal<any>;
416
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
417
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
418
+ get inputAttributes(): any;
419
+ onMouseDown(e: any): void;
420
+ onTouchStart(e: any): void;
421
+ ngOnInit(): void;
422
+ updateValue(event: any): void;
423
+ ngOnDestroy(): void;
424
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSliderComponent, never>;
425
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialSliderComponent, "material-slider-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
426
+ }
427
+
428
+ declare class MaterialStepperComponent implements OnInit, OnDestroy {
429
+ private jsf;
430
+ formControl: AbstractControl;
431
+ controlName: string;
432
+ controlValue: any;
433
+ controlDisabled: boolean;
434
+ boundControl: boolean;
435
+ options: any;
436
+ readonly layoutNode: _angular_core.InputSignal<any>;
437
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
438
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
439
+ ngOnInit(): void;
440
+ updateValue(event: any): void;
441
+ ngOnDestroy(): void;
442
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialStepperComponent, never>;
443
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialStepperComponent, "material-stepper-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
444
+ }
445
+
446
+ declare class MaterialTextareaComponent implements OnInit, OnDestroy {
447
+ matFormFieldDefaultOptions: _angular_material_form_field_d_DYwAHGRh.i;
448
+ private jsf;
449
+ formControl: AbstractControl;
450
+ controlName: string;
451
+ controlValue: any;
452
+ controlDisabled: boolean;
453
+ boundControl: boolean;
454
+ options: any;
455
+ readonly layoutNode: _angular_core.InputSignal<any>;
456
+ readonly layoutIndex: _angular_core.InputSignal<number[]>;
457
+ readonly dataIndex: _angular_core.InputSignal<number[]>;
458
+ ngOnInit(): void;
459
+ updateValue(event: any): void;
460
+ ngOnDestroy(): void;
461
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialTextareaComponent, never>;
462
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialTextareaComponent, "material-textarea-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
463
+ }
464
+
1
465
  /**
2
- * Generated bundle index. Do not edit.
466
+ * unused @angular/material modules:
467
+ * MatDialogModule, MatGridListModule, MatListModule, MatMenuModule,
468
+ * MatPaginatorModule, MatProgressBarModule, MatProgressSpinnerModule,
469
+ * MatSidenavModule, MatSnackBarModule, MatSortModule, MatTableModule,
470
+ * ,
3
471
  */
4
- /// <amd-module name="@ng-formworks/material" />
5
- export * from './public_api';
472
+ declare const ANGULAR_MATERIAL_MODULES: (typeof MatAutocompleteModule)[];
473
+ declare class MaterialDesignFrameworkModule {
474
+ constructor();
475
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialDesignFrameworkModule, never>;
476
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<MaterialDesignFrameworkModule, [typeof FlexLayoutRootComponent, typeof FlexLayoutSectionComponent, typeof MaterialAddReferenceComponent, typeof MaterialOneOfComponent, typeof MaterialButtonComponent, typeof MaterialButtonGroupComponent, typeof MaterialCheckboxComponent, typeof MaterialCheckboxesComponent, typeof MaterialChipListComponent, typeof MaterialDatepickerComponent, typeof MaterialFileComponent, typeof MaterialInputComponent, typeof MaterialNumberComponent, typeof MaterialRadiosComponent, typeof MaterialSelectComponent, typeof MaterialSliderComponent, typeof MaterialStepperComponent, typeof MaterialTabsComponent, typeof MaterialTextareaComponent, typeof MaterialDesignFrameworkComponent], [typeof i21.CommonModule, typeof i22.FormsModule, typeof i22.ReactiveFormsModule, typeof i23.MatAutocompleteModule, typeof i24.MatButtonModule, typeof i25.MatButtonToggleModule, typeof i26.MatCardModule, typeof i27.MatCheckboxModule, typeof i28.MatChipsModule, typeof i29.MatDatepickerModule, typeof i30.MatExpansionModule, typeof i31.MatFormFieldModule, typeof i32.MatIconModule, typeof i33.MatInputModule, typeof i34.MatNativeDateModule, typeof i35.MatRadioModule, typeof i36.MatSelectModule, typeof i37.MatSliderModule, typeof i38.MatSlideToggleModule, typeof i39.MatStepperModule, typeof i40.MatTabsModule, typeof i41.MatTooltipModule, typeof i42.MatToolbarModule, typeof i43.MatMenuModule, typeof i42.MatToolbarModule, typeof i44.DragDropModule, typeof i45.WidgetLibraryModule, typeof i45.JsonSchemaFormModule, typeof i46.CssFrameworkModule, typeof i47.SortablejsModule], [typeof i45.JsonSchemaFormModule, typeof FlexLayoutRootComponent, typeof FlexLayoutSectionComponent, typeof MaterialAddReferenceComponent, typeof MaterialOneOfComponent, typeof MaterialButtonComponent, typeof MaterialButtonGroupComponent, typeof MaterialCheckboxComponent, typeof MaterialCheckboxesComponent, typeof MaterialChipListComponent, typeof MaterialDatepickerComponent, typeof MaterialFileComponent, typeof MaterialInputComponent, typeof MaterialNumberComponent, typeof MaterialRadiosComponent, typeof MaterialSelectComponent, typeof MaterialSliderComponent, typeof MaterialStepperComponent, typeof MaterialTabsComponent, typeof MaterialTextareaComponent, typeof MaterialDesignFrameworkComponent]>;
477
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<MaterialDesignFrameworkModule>;
478
+ }
479
+
480
+ declare const MATERIAL_FRAMEWORK_COMPONENTS: (typeof MaterialTextareaComponent | typeof MaterialStepperComponent | typeof MaterialSliderComponent | typeof FlexLayoutRootComponent | typeof FlexLayoutSectionComponent | typeof MaterialAddReferenceComponent | typeof MaterialOneOfComponent | typeof MaterialButtonComponent | typeof MaterialButtonGroupComponent | typeof MaterialCheckboxComponent | typeof MaterialCheckboxesComponent | typeof MaterialChipListComponent | typeof MaterialDatepickerComponent | typeof MaterialFileComponent | typeof MaterialInputComponent | typeof MaterialNumberComponent | typeof MaterialRadiosComponent | typeof MaterialSelectComponent | typeof MaterialTabsComponent | typeof MaterialDesignFrameworkComponent)[];
481
+
482
+ declare class MaterialDesignFramework extends CssFramework {
483
+ cssFWService: CssframeworkService;
484
+ name: string;
485
+ framework: typeof MaterialDesignFrameworkComponent;
486
+ stylesheets: string[];
487
+ _widgets: {
488
+ root: typeof FlexLayoutRootComponent;
489
+ section: typeof FlexLayoutSectionComponent;
490
+ $ref: typeof MaterialAddReferenceComponent;
491
+ button: typeof MaterialButtonComponent;
492
+ 'button-group': typeof MaterialButtonGroupComponent;
493
+ checkbox: typeof MaterialCheckboxComponent;
494
+ checkboxes: typeof MaterialCheckboxesComponent;
495
+ 'chip-list': typeof MaterialChipListComponent;
496
+ date: typeof MaterialDatepickerComponent;
497
+ file: typeof MaterialFileComponent;
498
+ number: typeof MaterialNumberComponent;
499
+ 'one-of': typeof MaterialOneOfComponent;
500
+ radios: typeof MaterialRadiosComponent;
501
+ select: typeof MaterialSelectComponent;
502
+ slider: typeof MaterialSliderComponent;
503
+ stepper: typeof MaterialStepperComponent;
504
+ tabs: typeof MaterialTabsComponent;
505
+ text: typeof MaterialInputComponent;
506
+ textarea: typeof MaterialTextareaComponent;
507
+ 'alt-date': string;
508
+ 'any-of': string;
509
+ card: string;
510
+ color: string;
511
+ 'expansion-panel': string;
512
+ hidden: string;
513
+ image: string;
514
+ integer: string;
515
+ radiobuttons: string;
516
+ range: string;
517
+ submit: string;
518
+ tagsinput: string;
519
+ wizard: string;
520
+ selectcheckbox: string;
521
+ };
522
+ constructor();
523
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialDesignFramework, never>;
524
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<MaterialDesignFramework>;
525
+ }
526
+
527
+ export { ANGULAR_MATERIAL_MODULES, FlexLayoutRootComponent, FlexLayoutSectionComponent, MATERIAL_FRAMEWORK_COMPONENTS, MaterialAddReferenceComponent, MaterialButtonComponent, MaterialButtonGroupComponent, MaterialCheckboxComponent, MaterialCheckboxesComponent, MaterialChipListComponent, MaterialDatepickerComponent, MaterialDesignFramework, MaterialDesignFrameworkComponent, MaterialDesignFrameworkModule, MaterialFileComponent, MaterialInputComponent, MaterialNumberComponent, MaterialOneOfComponent, MaterialRadiosComponent, MaterialSelectComponent, MaterialSliderComponent, MaterialStepperComponent, MaterialTabsComponent, MaterialTextareaComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-formworks/material",
3
- "version": "19.6.3",
3
+ "version": "20.6.3",
4
4
  "description": "Angular ng-formworks - JSON Schema Form builder using Angular Material UI",
5
5
  "author": "https://github.com/zahmo/ng-formworks/graphs/contributors",
6
6
  "keywords": [
@@ -12,11 +12,18 @@
12
12
  "Angular 16",
13
13
  "Angular17",
14
14
  "Angular 17",
15
+ "Angular18",
15
16
  "Angular 18",
17
+ "Angular19",
18
+ "Angular 19",
19
+ "Angular20",
20
+ "Angular 20",
16
21
  "ng15",
17
22
  "ng16",
18
23
  "ng17",
19
24
  "ng18",
25
+ "ng19",
26
+ "ng20",
20
27
  "JSON Schema",
21
28
  "form",
22
29
  "forms",
@@ -40,13 +47,13 @@
40
47
  "private": false,
41
48
  "dependencies": {
42
49
  "lodash-es": "~4.17.21",
43
- "@ng-formworks/core": "~19.6.3",
44
- "@ng-formworks/cssframework": "~19.6.3",
50
+ "@ng-formworks/core": "~20.6.3",
51
+ "@ng-formworks/cssframework": "~20.6.3",
45
52
  "tslib": "^2.7.0"
46
53
  },
47
54
  "peerDependencies": {
48
- "@angular/material": ">=19.0.0",
49
- "@angular/cdk": ">=19.0.0"
55
+ "@angular/material": ">=20.0.0",
56
+ "@angular/cdk": ">=20.0.0"
50
57
  },
51
58
  "module": "fesm2022/ng-formworks-material.mjs",
52
59
  "typings": "index.d.ts",
@@ -1 +0,0 @@
1
- export declare const cssFrameworkCfgMaterialDesign: any;
@@ -1,35 +0,0 @@
1
- import { OnChanges, OnDestroy, OnInit } from '@angular/core';
2
- import { FrameworkLibraryService } from '@ng-formworks/core';
3
- import { CssframeworkService } from '@ng-formworks/cssframework';
4
- import { Subscription } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export declare class MaterialDesignFrameworkComponent implements OnInit, OnChanges, OnDestroy {
7
- private changeDetector;
8
- private jsf;
9
- jsfFLService: FrameworkLibraryService;
10
- cssFWService: CssframeworkService;
11
- frameworkInitialized: boolean;
12
- inputType: string;
13
- options: any;
14
- widgetLayoutNode: any;
15
- widgetOptions: any;
16
- formControl: any;
17
- parentArray: any;
18
- isOrderable: boolean;
19
- dynamicTitle: string;
20
- readonly layoutNode: import("@angular/core").InputSignal<any>;
21
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
22
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
23
- theme: string;
24
- frameworkThemeSubs: Subscription;
25
- constructor();
26
- ngOnDestroy(): void;
27
- get showRemoveButton(): boolean;
28
- ngOnInit(): void;
29
- ngOnChanges(): void;
30
- initializeFramework(): void;
31
- updateTitle(): void;
32
- removeItem(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDesignFrameworkComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDesignFrameworkComponent, "material-design-framework", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
35
- }