@3kles/kles-material-dynamicforms 19.4.0 → 19.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -314,10 +314,10 @@ class KlesDynamicFieldDirective {
|
|
|
314
314
|
this.buildComponent();
|
|
315
315
|
}
|
|
316
316
|
ngOnChanges(changes) {
|
|
317
|
-
if (!changes.group
|
|
317
|
+
if (changes.group && !changes.group.isFirstChange()) {
|
|
318
318
|
this.group = changes.group.currentValue;
|
|
319
319
|
}
|
|
320
|
-
if (!changes.field?.isFirstChange()) {
|
|
320
|
+
if (changes.field && !changes.field?.isFirstChange()) {
|
|
321
321
|
this.field = changes.field.currentValue;
|
|
322
322
|
this.buildComponent();
|
|
323
323
|
}
|
|
@@ -504,9 +504,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
504
504
|
}], ctorParameters: () => [] });
|
|
505
505
|
|
|
506
506
|
class GroupUiState extends AbstractUiState {
|
|
507
|
-
constructor() {
|
|
508
|
-
super(
|
|
507
|
+
constructor(states) {
|
|
508
|
+
super();
|
|
509
509
|
this.states = {};
|
|
510
|
+
this.states = states;
|
|
510
511
|
}
|
|
511
512
|
setValue(value) {
|
|
512
513
|
Object.keys(value).forEach((name) => {
|
|
@@ -4276,9 +4277,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4276
4277
|
}] });
|
|
4277
4278
|
|
|
4278
4279
|
class ArrayUiState extends AbstractUiState {
|
|
4279
|
-
constructor() {
|
|
4280
|
-
super(
|
|
4280
|
+
constructor(states) {
|
|
4281
|
+
super();
|
|
4281
4282
|
this.states = [];
|
|
4283
|
+
this.states = states;
|
|
4282
4284
|
}
|
|
4283
4285
|
setValue(value) {
|
|
4284
4286
|
value.forEach((newValue, index) => {
|