@eqproject/eqp-dynamic-module 2.6.55 → 2.6.56
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/esm2020/lib/components/private/trigger-creator/trigger-templates/list-value-trigger-template/list-value-trigger-template.component.mjs +6 -9
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +4 -8
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +4 -8
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -10868,7 +10868,6 @@ class ListValueTriggerTemplateComponent {
|
|
|
10868
10868
|
this.field = this.condition.Field;
|
|
10869
10869
|
this.initStyles();
|
|
10870
10870
|
this.setArrayData();
|
|
10871
|
-
console.log("CONDITION", this.condition, "ARRAYDATA", this.arrayData);
|
|
10872
10871
|
}
|
|
10873
10872
|
initStyles() {
|
|
10874
10873
|
//Funzione per parsare il campo stylecss dell'oggetto field ed applicarlo all'html
|
|
@@ -10892,13 +10891,10 @@ class ListValueTriggerTemplateComponent {
|
|
|
10892
10891
|
this.triggerChange.emit(output);
|
|
10893
10892
|
}
|
|
10894
10893
|
setArrayData() {
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
this.arrayData.push({ Key: values[0], Value: values[1], Selected: false });
|
|
10900
|
-
});
|
|
10901
|
-
}
|
|
10894
|
+
this.field.ValuePairs = GlobalService.stringToValuePairs(this.field.ValueString);
|
|
10895
|
+
Object.keys(this.field.ValuePairs).forEach((k) => {
|
|
10896
|
+
this.arrayData.push({ Key: k, Value: this.field.ValuePairs[k], Selected: false });
|
|
10897
|
+
});
|
|
10902
10898
|
}
|
|
10903
10899
|
}
|
|
10904
10900
|
ListValueTriggerTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListValueTriggerTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|