@fluxhub/fluxhub-lib 9.0.150 → 9.0.151
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 +14 -4
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhautocomplete.js +4 -1
- package/esm2015/lib/controls/fhcombobox.js +4 -1
- package/esm2015/lib/controls/win_list_pick.js +9 -5
- package/esm5/lib/controls/fhautocomplete.js +4 -1
- package/esm5/lib/controls/fhcombobox.js +4 -1
- package/esm5/lib/controls/win_list_pick.js +9 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +14 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +14 -4
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhautocomplete.d.ts +1 -0
- package/lib/controls/fhcombobox.d.ts +1 -0
- package/lib/controls/win_list_pick.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1193,6 +1193,9 @@ var FHComboboxComponent = /** @class */ (function () {
|
|
|
1193
1193
|
if (this.getValue() == "-1")
|
|
1194
1194
|
this.setByDescri(this.valDef);
|
|
1195
1195
|
};
|
|
1196
|
+
FHComboboxComponent.prototype.doFill = function () {
|
|
1197
|
+
this.fillCombo();
|
|
1198
|
+
};
|
|
1196
1199
|
FHComboboxComponent.prototype.ngAfterViewInit = function () {
|
|
1197
1200
|
var _this = this;
|
|
1198
1201
|
setTimeout(function () {
|
|
@@ -8632,6 +8635,9 @@ var FHAutoCompleteComponent = /** @class */ (function () {
|
|
|
8632
8635
|
// this.smtr.nativeElement.value = "";
|
|
8633
8636
|
this.myData = new Array();
|
|
8634
8637
|
};
|
|
8638
|
+
FHAutoCompleteComponent.prototype.doFill = function () {
|
|
8639
|
+
this.fillCombo();
|
|
8640
|
+
};
|
|
8635
8641
|
FHAutoCompleteComponent.prototype.fillCombo = function () {
|
|
8636
8642
|
var _this = this;
|
|
8637
8643
|
this.myData = new Array();
|
|
@@ -10479,6 +10485,7 @@ var FHListPick = /** @class */ (function () {
|
|
|
10479
10485
|
this.values = [];
|
|
10480
10486
|
this.single_sel = false;
|
|
10481
10487
|
this.sel_values = "";
|
|
10488
|
+
this.required = true;
|
|
10482
10489
|
if (data != null) {
|
|
10483
10490
|
if (data.sql != null)
|
|
10484
10491
|
this.sql = data.sql;
|
|
@@ -10496,6 +10503,8 @@ var FHListPick = /** @class */ (function () {
|
|
|
10496
10503
|
this.separator = data.separator;
|
|
10497
10504
|
if (data.label != null)
|
|
10498
10505
|
this.label = data.label;
|
|
10506
|
+
if (data.required != null)
|
|
10507
|
+
this.required = data.required;
|
|
10499
10508
|
if (data.sql != null)
|
|
10500
10509
|
this.doFill();
|
|
10501
10510
|
}
|
|
@@ -10519,10 +10528,11 @@ var FHListPick = /** @class */ (function () {
|
|
|
10519
10528
|
this.cmb_sel.fillCombo();
|
|
10520
10529
|
};
|
|
10521
10530
|
FHListPick.prototype.ok = function () {
|
|
10522
|
-
if (this.
|
|
10523
|
-
this.
|
|
10524
|
-
|
|
10525
|
-
|
|
10531
|
+
if (this.required)
|
|
10532
|
+
if (this.cmb_sel.getValue() == "") {
|
|
10533
|
+
this.toastr.error("Selezionare un valore");
|
|
10534
|
+
return;
|
|
10535
|
+
}
|
|
10526
10536
|
this.dialogRef.close(this.cmb_sel.getObjects());
|
|
10527
10537
|
};
|
|
10528
10538
|
FHListPick.prototype.ok_single = function () {
|