@fluxhub/fluxhub-lib 10.0.48 → 10.0.50
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 +6 -1
- 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/fhautocomplete.js +5 -2
- package/esm2015/lib/controls/fhcombobox.js +3 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +6 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhautocomplete.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6844,6 +6844,7 @@
|
|
|
6844
6844
|
if (_this.init_fill == true) {
|
|
6845
6845
|
if (_this.sql == "") {
|
|
6846
6846
|
//this.errorMsg="QUERY NON CONFIGURATA";
|
|
6847
|
+
setTimeout(function () { _this.is_loaded = true; }, 1000);
|
|
6847
6848
|
return;
|
|
6848
6849
|
}
|
|
6849
6850
|
_this.fillCombo();
|
|
@@ -6852,6 +6853,7 @@
|
|
|
6852
6853
|
_this.errorMsg = "";
|
|
6853
6854
|
}
|
|
6854
6855
|
_this.initend.emit();
|
|
6856
|
+
setTimeout(function () { _this.is_loaded = true; }, 1000);
|
|
6855
6857
|
});
|
|
6856
6858
|
};
|
|
6857
6859
|
FHComboboxComponent.prototype.sc = function () {
|
|
@@ -6926,6 +6928,7 @@
|
|
|
6926
6928
|
this.types = [];
|
|
6927
6929
|
this.values = [];
|
|
6928
6930
|
this.hidden = false;
|
|
6931
|
+
this.id_loading = false;
|
|
6929
6932
|
this.db_type = "1";
|
|
6930
6933
|
this.enabled = true;
|
|
6931
6934
|
this.required = false;
|
|
@@ -7224,6 +7227,7 @@
|
|
|
7224
7227
|
setTimeout(function () {
|
|
7225
7228
|
if (_this.init_fill) {
|
|
7226
7229
|
if (_this.sql == "") {
|
|
7230
|
+
setTimeout(function () { _this.is_loaded = true; }, 1000);
|
|
7227
7231
|
return;
|
|
7228
7232
|
}
|
|
7229
7233
|
_this.fillCombo();
|
|
@@ -7232,6 +7236,7 @@
|
|
|
7232
7236
|
_this.errorMsg = "";
|
|
7233
7237
|
}
|
|
7234
7238
|
_this.initend.emit();
|
|
7239
|
+
setTimeout(function () { _this.is_loaded = true; }, 1000);
|
|
7235
7240
|
});
|
|
7236
7241
|
};
|
|
7237
7242
|
FHAutoCompleteComponent.prototype.writeValue = function (value) {
|
|
@@ -7250,7 +7255,7 @@
|
|
|
7250
7255
|
{ type: i0.Component, args: [{
|
|
7251
7256
|
selector: "FHAutoComplete",
|
|
7252
7257
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4],
|
|
7253
|
-
template: "\n
|
|
7258
|
+
template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0)\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [disabled]=\"!enabled || hidden\"\n [matAutocomplete]=\"auto\"\n [required]=\"required\"\n (keyup)=\"onChange_up($event)\"\n [(ngModel)]=\"sItem\"\n (focus)=\"fi_search()\"\n (focusout)=\"fo_search($event)\"\n #searchp\n />\n </mat-form-field>\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"selectedSearchItem($event)\"\n autoActiveFirstOption\n >\n <mat-option\n *ngFor=\"let objx of searchItemsFiltered\"\n [value]=\"objx.descrizione_valore\"\n >\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\n <div class=\"ui negative message\" *ngIf=\"errorMsg != ''\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n {{ errorMsg }}\n </div>\n </div>\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [required]=\"required\" [(ngModel)]=\"sItem\" />\n </mat-form-field>\n ",
|
|
7254
7259
|
styles: [""]
|
|
7255
7260
|
},] }
|
|
7256
7261
|
];
|