@ajsf/material 22.3.3 → 22.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ajsf/material",
3
- "version": "22.3.3",
3
+ "version": "22.4.0",
4
4
  "description": "Angular JSON Schema Form builder using Angular Material UI",
5
5
  "author": "https://github.com/hamzahamidi/ajsf/graphs/contributors",
6
6
  "keywords": [
@@ -29,7 +29,7 @@
29
29
  "funding": "https://github.com/sponsors/hamzahamidi",
30
30
  "private": false,
31
31
  "dependencies": {
32
- "@ajsf/core": "^22.3.3",
32
+ "@ajsf/core": "^22.4.0",
33
33
  "tslib": "^2.0.0"
34
34
  },
35
35
  "peerDependencies": {
@@ -29,7 +29,7 @@ import * as i42 from '@angular/material/toolbar';
29
29
  import * as i43 from '@angular/material/menu';
30
30
 
31
31
  declare class FlexLayoutRootComponent {
32
- private jsf;
32
+ private readonly jsf;
33
33
  dataIndex: number[];
34
34
  layoutIndex: number[];
35
35
  layout: any[];
@@ -49,7 +49,7 @@ declare class FlexLayoutRootComponent {
49
49
  }
50
50
 
51
51
  declare class FlexLayoutSectionComponent implements OnInit {
52
- private jsf;
52
+ private readonly jsf;
53
53
  formControl: AbstractControl;
54
54
  controlName: string;
55
55
  controlValue: any;
@@ -75,7 +75,7 @@ declare class FlexLayoutSectionComponent implements OnInit {
75
75
  }
76
76
 
77
77
  declare class MaterialAddReferenceComponent implements OnInit {
78
- private jsf;
78
+ private readonly jsf;
79
79
  options: any;
80
80
  itemCount: number;
81
81
  previousLayoutIndex: number[];
@@ -93,7 +93,7 @@ declare class MaterialAddReferenceComponent implements OnInit {
93
93
  }
94
94
 
95
95
  declare class MaterialButtonComponent implements OnInit {
96
- private jsf;
96
+ private readonly jsf;
97
97
  formControl: AbstractControl;
98
98
  controlName: string;
99
99
  controlValue: any;
@@ -111,7 +111,7 @@ declare class MaterialButtonComponent implements OnInit {
111
111
  }
112
112
 
113
113
  declare class MaterialButtonGroupComponent implements OnInit {
114
- private jsf;
114
+ private readonly jsf;
115
115
  formControl: AbstractControl;
116
116
  controlName: string;
117
117
  controlValue: any;
@@ -131,7 +131,7 @@ declare class MaterialButtonGroupComponent implements OnInit {
131
131
  }
132
132
 
133
133
  declare class MaterialCheckboxComponent implements OnInit {
134
- private jsf;
134
+ private readonly jsf;
135
135
  formControl: AbstractControl;
136
136
  controlName: string;
137
137
  controlValue: any;
@@ -153,7 +153,7 @@ declare class MaterialCheckboxComponent implements OnInit {
153
153
  }
154
154
 
155
155
  declare class MaterialCheckboxesComponent implements OnInit {
156
- private jsf;
156
+ private readonly jsf;
157
157
  formControl: AbstractControl;
158
158
  controlName: string;
159
159
  controlValue: any;
@@ -177,7 +177,7 @@ declare class MaterialCheckboxesComponent implements OnInit {
177
177
  }
178
178
 
179
179
  declare class MaterialChipListComponent implements OnInit {
180
- private jsf;
180
+ private readonly jsf;
181
181
  formControl: AbstractControl;
182
182
  controlName: string;
183
183
  controlValue: any;
@@ -200,7 +200,7 @@ declare class MaterialChipListComponent implements OnInit {
200
200
 
201
201
  declare class MaterialDatepickerComponent implements OnInit {
202
202
  matFormFieldDefaultOptions: any;
203
- private jsf;
203
+ private readonly jsf;
204
204
  formControl: AbstractControl;
205
205
  controlName: string;
206
206
  dateValue: any;
@@ -218,8 +218,8 @@ declare class MaterialDatepickerComponent implements OnInit {
218
218
  }
219
219
 
220
220
  declare class MaterialDesignFrameworkComponent implements OnInit, OnChanges {
221
- private changeDetector;
222
- private jsf;
221
+ private readonly changeDetector;
222
+ private readonly jsf;
223
223
  frameworkInitialized: boolean;
224
224
  inputType: string;
225
225
  options: any;
@@ -244,7 +244,7 @@ declare class MaterialDesignFrameworkComponent implements OnInit, OnChanges {
244
244
  }
245
245
 
246
246
  declare class MaterialFileComponent implements OnInit {
247
- private jsf;
247
+ private readonly jsf;
248
248
  formControl: AbstractControl;
249
249
  controlName: string;
250
250
  controlValue: any;
@@ -264,7 +264,7 @@ declare class MaterialFileComponent implements OnInit {
264
264
 
265
265
  declare class MaterialInputComponent implements OnInit {
266
266
  matFormFieldDefaultOptions: any;
267
- private jsf;
267
+ private readonly jsf;
268
268
  formControl: AbstractControl;
269
269
  controlName: string;
270
270
  controlValue: string;
@@ -284,7 +284,7 @@ declare class MaterialInputComponent implements OnInit {
284
284
 
285
285
  declare class MaterialNumberComponent implements OnInit {
286
286
  matFormFieldDefaultOptions: any;
287
- private jsf;
287
+ private readonly jsf;
288
288
  formControl: AbstractControl;
289
289
  controlName: string;
290
290
  controlValue: any;
@@ -309,7 +309,7 @@ declare class MaterialNumberComponent implements OnInit {
309
309
 
310
310
  declare class MaterialOneOfComponent implements OnInit {
311
311
  matFormFieldDefaultOptions: any;
312
- private jsf;
312
+ private readonly jsf;
313
313
  formControl: AbstractControl;
314
314
  controlName: string;
315
315
  controlValue: any;
@@ -320,13 +320,18 @@ declare class MaterialOneOfComponent implements OnInit {
320
320
  isFieldset: boolean;
321
321
  selectedValue: any;
322
322
  private _selectedItem;
323
- private fieldsetValueMap;
323
+ private readonly fieldsetValueMap;
324
324
  layoutNode: any;
325
325
  layoutIndex: number[];
326
326
  dataIndex: number[];
327
327
  constructor(matFormFieldDefaultOptions: any, jsf: JsonSchemaFormService);
328
328
  get selectedItem(): number;
329
329
  ngOnInit(): void;
330
+ private initializeSelectList;
331
+ private initializeFieldsetValueMap;
332
+ private initializeControl;
333
+ private selectInitialFieldsetValue;
334
+ private hasExplicitFieldsetOptions;
330
335
  selectChild(event: any): void;
331
336
  updateValue(event: any): void;
332
337
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialOneOfComponent, [{ optional: true; }, null]>;
@@ -334,7 +339,7 @@ declare class MaterialOneOfComponent implements OnInit {
334
339
  }
335
340
 
336
341
  declare class MaterialRadiosComponent implements OnInit {
337
- private jsf;
342
+ private readonly jsf;
338
343
  formControl: AbstractControl;
339
344
  controlName: string;
340
345
  controlValue: any;
@@ -355,7 +360,7 @@ declare class MaterialRadiosComponent implements OnInit {
355
360
 
356
361
  declare class MaterialSelectComponent implements OnInit {
357
362
  matFormFieldDefaultOptions: any;
358
- private jsf;
363
+ private readonly jsf;
359
364
  formControl: AbstractControl;
360
365
  controlName: string;
361
366
  controlValue: any;
@@ -375,7 +380,7 @@ declare class MaterialSelectComponent implements OnInit {
375
380
  }
376
381
 
377
382
  declare class MaterialSliderComponent implements OnInit {
378
- private jsf;
383
+ private readonly jsf;
379
384
  formControl: AbstractControl;
380
385
  controlName: string;
381
386
  controlValue: any;
@@ -399,7 +404,7 @@ declare class MaterialSliderComponent implements OnInit {
399
404
  }
400
405
 
401
406
  declare class MaterialStepperComponent implements OnInit {
402
- private jsf;
407
+ private readonly jsf;
403
408
  formControl: AbstractControl;
404
409
  controlName: string;
405
410
  controlValue: any;
@@ -423,7 +428,7 @@ declare class MaterialStepperComponent implements OnInit {
423
428
  }
424
429
 
425
430
  declare class MaterialTabsComponent implements OnInit {
426
- private jsf;
431
+ private readonly jsf;
427
432
  options: any;
428
433
  itemCount: number;
429
434
  selectedItem: number;
@@ -442,7 +447,7 @@ declare class MaterialTabsComponent implements OnInit {
442
447
 
443
448
  declare class MaterialTextareaComponent implements OnInit {
444
449
  matFormFieldDefaultOptions: any;
445
- private jsf;
450
+ private readonly jsf;
446
451
  formControl: AbstractControl;
447
452
  controlName: string;
448
453
  controlValue: any;