@fluxhub/fluxhub-lib 9.0.149 → 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 +15 -5
- 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/fhgrid.js +2 -2
- 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/fhgrid.js +2 -2
- package/esm5/lib/controls/win_list_pick.js +9 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +15 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +15 -5
- 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
|
@@ -1325,6 +1325,9 @@
|
|
|
1325
1325
|
if (this.getValue() == "-1")
|
|
1326
1326
|
this.setByDescri(this.valDef);
|
|
1327
1327
|
};
|
|
1328
|
+
FHComboboxComponent.prototype.doFill = function () {
|
|
1329
|
+
this.fillCombo();
|
|
1330
|
+
};
|
|
1328
1331
|
FHComboboxComponent.prototype.ngAfterViewInit = function () {
|
|
1329
1332
|
var _this = this;
|
|
1330
1333
|
setTimeout(function () {
|
|
@@ -6927,7 +6930,7 @@
|
|
|
6927
6930
|
"[" +
|
|
6928
6931
|
p_col[j].getColDef().field +
|
|
6929
6932
|
"] [" +
|
|
6930
|
-
p_col[j].getColDef().headerName.split('
|
|
6933
|
+
p_col[j].getColDef().headerName.split('[').join('').split(']').join('') +
|
|
6931
6934
|
"]";
|
|
6932
6935
|
}
|
|
6933
6936
|
if (this.fields.indexOf("DISTINCT") != -1)
|
|
@@ -8764,6 +8767,9 @@
|
|
|
8764
8767
|
// this.smtr.nativeElement.value = "";
|
|
8765
8768
|
this.myData = new Array();
|
|
8766
8769
|
};
|
|
8770
|
+
FHAutoCompleteComponent.prototype.doFill = function () {
|
|
8771
|
+
this.fillCombo();
|
|
8772
|
+
};
|
|
8767
8773
|
FHAutoCompleteComponent.prototype.fillCombo = function () {
|
|
8768
8774
|
var _this = this;
|
|
8769
8775
|
this.myData = new Array();
|
|
@@ -10611,6 +10617,7 @@
|
|
|
10611
10617
|
this.values = [];
|
|
10612
10618
|
this.single_sel = false;
|
|
10613
10619
|
this.sel_values = "";
|
|
10620
|
+
this.required = true;
|
|
10614
10621
|
if (data != null) {
|
|
10615
10622
|
if (data.sql != null)
|
|
10616
10623
|
this.sql = data.sql;
|
|
@@ -10628,6 +10635,8 @@
|
|
|
10628
10635
|
this.separator = data.separator;
|
|
10629
10636
|
if (data.label != null)
|
|
10630
10637
|
this.label = data.label;
|
|
10638
|
+
if (data.required != null)
|
|
10639
|
+
this.required = data.required;
|
|
10631
10640
|
if (data.sql != null)
|
|
10632
10641
|
this.doFill();
|
|
10633
10642
|
}
|
|
@@ -10651,10 +10660,11 @@
|
|
|
10651
10660
|
this.cmb_sel.fillCombo();
|
|
10652
10661
|
};
|
|
10653
10662
|
FHListPick.prototype.ok = function () {
|
|
10654
|
-
if (this.
|
|
10655
|
-
this.
|
|
10656
|
-
|
|
10657
|
-
|
|
10663
|
+
if (this.required)
|
|
10664
|
+
if (this.cmb_sel.getValue() == "") {
|
|
10665
|
+
this.toastr.error("Selezionare un valore");
|
|
10666
|
+
return;
|
|
10667
|
+
}
|
|
10658
10668
|
this.dialogRef.close(this.cmb_sel.getObjects());
|
|
10659
10669
|
};
|
|
10660
10670
|
FHListPick.prototype.ok_single = function () {
|