@fluxhub/fluxhub-lib 9.0.134 → 9.0.136
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/bundles/fluxhub-fluxhub-lib.umd.js +10 -9
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhpickfield.js +2 -2
- package/esm2015/lib/controls/fhwinpicklist.js +7 -6
- package/esm5/lib/controls/fhpickfield.js +2 -2
- package/esm5/lib/controls/fhwinpicklist.js +10 -9
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +10 -9
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhwinpicklist.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1130,17 +1130,18 @@
|
|
|
1130
1130
|
};
|
|
1131
1131
|
FHPickListComponent.prototype.fill_list_arr = function (k, arrs) {
|
|
1132
1132
|
this.value_sel = new Array();
|
|
1133
|
-
for (var i = 0; i < arrs.length; i++)
|
|
1134
|
-
var
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1133
|
+
for (var i = 0; i < arrs.length; i++)
|
|
1134
|
+
for (var y = 0; y < k.length; y++)
|
|
1135
|
+
if (arrs[i] ==
|
|
1136
|
+
k[y].descrizione_valore) {
|
|
1137
|
+
this.value_sel.push(k[y]);
|
|
1138
|
+
}
|
|
1138
1139
|
this.value_list = k;
|
|
1139
1140
|
for (var y = 0; y < this.value_sel.length; y++)
|
|
1140
|
-
for (var
|
|
1141
|
-
if (this.value_list[
|
|
1141
|
+
for (var i = this.value_list.length - 1; i >= 0; i--)
|
|
1142
|
+
if (this.value_list[i].descrizione_valore ==
|
|
1142
1143
|
this.value_sel[y].descrizione_valore) {
|
|
1143
|
-
this.value_list.splice(
|
|
1144
|
+
this.value_list.splice(i, 1);
|
|
1144
1145
|
break;
|
|
1145
1146
|
}
|
|
1146
1147
|
this.filtra();
|
|
@@ -1330,7 +1331,7 @@
|
|
|
1330
1331
|
});
|
|
1331
1332
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
1332
1333
|
if (result != null) {
|
|
1333
|
-
_this.set_by_value(result);
|
|
1334
|
+
_this.set_by_value(result.map(function (v) { return v.valore; }).join(_this.sep));
|
|
1334
1335
|
_this.change.emit(result);
|
|
1335
1336
|
}
|
|
1336
1337
|
});
|