@fluxhub/fluxhub-lib 9.0.56 → 9.0.58
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 +43 -32
- 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/app_manager/fhrolemanager.js +2 -2
- package/esm2015/lib/controls/fhautocomplete.js +25 -22
- package/esm2015/lib/controls/fhtextinput.js +4 -7
- package/esm2015/lib/wkf_engine/win_uploads.js +19 -8
- package/esm5/lib/controls/app_manager/fhrolemanager.js +2 -2
- package/esm5/lib/controls/fhautocomplete.js +25 -22
- package/esm5/lib/controls/fhtextinput.js +4 -7
- package/esm5/lib/wkf_engine/win_uploads.js +19 -8
- package/fesm2015/fluxhub-fluxhub-lib.js +43 -32
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +43 -32
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/win_uploads.d.ts +2 -1
- package/package.json +1 -1
|
@@ -6719,25 +6719,27 @@ var FHAutoCompleteComponent = /** @class */ (function () {
|
|
|
6719
6719
|
if (this.sItem != '') {
|
|
6720
6720
|
this.searchItemsFiltered = [];
|
|
6721
6721
|
var ps = this.sItem.toLowerCase();
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
if (this.myData[i].descrizione_valore
|
|
6725
|
-
|
|
6722
|
+
if (this.myData != null)
|
|
6723
|
+
for (var i = 0; i < this.myData.length; i++) {
|
|
6724
|
+
if (this.myData[i].descrizione_valore != null) {
|
|
6725
|
+
if (this.myData[i].descrizione_valore.toLowerCase().indexOf(ps) != -1) {
|
|
6726
|
+
this.searchItemsFiltered.push(this.myData[i]);
|
|
6727
|
+
}
|
|
6728
|
+
}
|
|
6729
|
+
if (ps.length < 4 && this.searchItemsFiltered.length == 20) {
|
|
6730
|
+
break;
|
|
6726
6731
|
}
|
|
6727
6732
|
}
|
|
6728
|
-
if (ps.length < 4 && this.searchItemsFiltered.length == 20) {
|
|
6729
|
-
break;
|
|
6730
|
-
}
|
|
6731
|
-
}
|
|
6732
6733
|
}
|
|
6733
6734
|
else {
|
|
6734
6735
|
// console.log('onChange()1');
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6736
|
+
if (this.myData != null)
|
|
6737
|
+
for (var i = 0; i < this.myData.length; i++) {
|
|
6738
|
+
this.searchItemsFiltered.push(this.myData[i]);
|
|
6739
|
+
if (i == 20) {
|
|
6740
|
+
break;
|
|
6741
|
+
}
|
|
6739
6742
|
}
|
|
6740
|
-
}
|
|
6741
6743
|
}
|
|
6742
6744
|
}
|
|
6743
6745
|
};
|
|
@@ -6856,15 +6858,16 @@ var FHAutoCompleteComponent = /** @class */ (function () {
|
|
|
6856
6858
|
if (this.myData.length == 0 || this.myData[0] == null) {
|
|
6857
6859
|
return;
|
|
6858
6860
|
}
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
this.
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
this.
|
|
6861
|
+
if (this.myData != null)
|
|
6862
|
+
for (var j = 0; j < this.myData.length; j++)
|
|
6863
|
+
if (this.myData[j].descrizione_valore == desc_val) {
|
|
6864
|
+
this.sItem = desc_val;
|
|
6865
|
+
this.selval = this.myData[j].valore;
|
|
6866
|
+
if (this.sItem != null) {
|
|
6867
|
+
this.descri_val = this.sItem;
|
|
6868
|
+
}
|
|
6869
|
+
return;
|
|
6865
6870
|
}
|
|
6866
|
-
return;
|
|
6867
|
-
}
|
|
6868
6871
|
if (!this.only_from_list) {
|
|
6869
6872
|
this.sItem = desc_val;
|
|
6870
6873
|
}
|
|
@@ -7438,8 +7441,7 @@ var FHDatePickerComponent = /** @class */ (function () {
|
|
|
7438
7441
|
return FHDatePickerComponent;
|
|
7439
7442
|
}());
|
|
7440
7443
|
|
|
7441
|
-
var noop$5 = function () {
|
|
7442
|
-
};
|
|
7444
|
+
var noop$5 = function () { };
|
|
7443
7445
|
var ɵ0$5 = noop$5;
|
|
7444
7446
|
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6 = {
|
|
7445
7447
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -7456,10 +7458,8 @@ var FHTextInput = /** @class */ (function () {
|
|
|
7456
7458
|
this.focusout = new EventEmitter();
|
|
7457
7459
|
this.focusin = new EventEmitter();
|
|
7458
7460
|
this.text_v = '';
|
|
7459
|
-
this.onChange = function (_) {
|
|
7460
|
-
};
|
|
7461
|
-
this.onTouched = function () {
|
|
7462
|
-
};
|
|
7461
|
+
this.onChange = function (_) { };
|
|
7462
|
+
this.onTouched = function () { };
|
|
7463
7463
|
}
|
|
7464
7464
|
FHTextInput.prototype.onFi = function () {
|
|
7465
7465
|
var _this = this;
|
|
@@ -9138,7 +9138,8 @@ var win_select_level = /** @class */ (function () {
|
|
|
9138
9138
|
}());
|
|
9139
9139
|
|
|
9140
9140
|
var win_uploads = /** @class */ (function () {
|
|
9141
|
-
function win_uploads(dialogRef, _dataService, toastr, dialog, app_s) {
|
|
9141
|
+
function win_uploads(data, dialogRef, _dataService, toastr, dialog, app_s) {
|
|
9142
|
+
this.data = data;
|
|
9142
9143
|
this.dialogRef = dialogRef;
|
|
9143
9144
|
this._dataService = _dataService;
|
|
9144
9145
|
this.toastr = toastr;
|
|
@@ -9150,13 +9151,21 @@ var win_uploads = /** @class */ (function () {
|
|
|
9150
9151
|
this.K = '';
|
|
9151
9152
|
this.title = "ALLEGATI";
|
|
9152
9153
|
this.sovrascrivi_path = '';
|
|
9154
|
+
if (data != null) {
|
|
9155
|
+
if (data.App != null)
|
|
9156
|
+
this.App = data.App;
|
|
9157
|
+
if (data.K != null)
|
|
9158
|
+
this.K = data.K;
|
|
9159
|
+
}
|
|
9153
9160
|
}
|
|
9154
9161
|
win_uploads.prototype.close = function () { this.dialogRef.close(null); };
|
|
9155
9162
|
win_uploads.prototype.ngAfterViewInit = function () {
|
|
9156
9163
|
var _this = this;
|
|
9157
9164
|
setTimeout(function () {
|
|
9158
|
-
_this.App
|
|
9159
|
-
|
|
9165
|
+
if (_this.App == '') {
|
|
9166
|
+
_this.App = _this.app_s.getState().wkf_doc_info.uiid_app;
|
|
9167
|
+
_this.K = _this.app_s.getState().wkf_doc_info.uiid_doc;
|
|
9168
|
+
}
|
|
9160
9169
|
_this.init(_this.App, _this.K);
|
|
9161
9170
|
});
|
|
9162
9171
|
};
|
|
@@ -9166,6 +9175,7 @@ var win_uploads = /** @class */ (function () {
|
|
|
9166
9175
|
this.upc.init(this.App, this.K);
|
|
9167
9176
|
};
|
|
9168
9177
|
win_uploads.ctorParameters = function () { return [
|
|
9178
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
|
|
9169
9179
|
{ type: MatDialogRef },
|
|
9170
9180
|
{ type: QueryService },
|
|
9171
9181
|
{ type: ToastrService },
|
|
@@ -9182,7 +9192,8 @@ var win_uploads = /** @class */ (function () {
|
|
|
9182
9192
|
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"close()\" /> </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <mat-toolbar color=\"primary\" style=\"width:90%;\"><div fxFlex=\"20\">{{title}}</div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center end\" fxFlex=\"90\" >\n\n\n </div>\n </mat-toolbar>\n <mat-dialog-content style=\"font-size:12px\">\n<FHUploadPanel [enabled]=\"enabled\" #upc [access_control]=\"access_control\" [sovrascrivi_path]=\"sovrascrivi_path\"></FHUploadPanel>\n </mat-dialog-content>\n <br><br>\n <div style=\"width:100%;text-align:center;\" >\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"close()\">CHIUDI</button>\n\n </div>\n\n ",
|
|
9183
9193
|
styles: ["\n\n\n "]
|
|
9184
9194
|
}),
|
|
9185
|
-
|
|
9195
|
+
__param(0, Inject(MAT_DIALOG_DATA)),
|
|
9196
|
+
__metadata("design:paramtypes", [Object, MatDialogRef, QueryService, ToastrService, MatDialog, AppService])
|
|
9186
9197
|
], win_uploads);
|
|
9187
9198
|
return win_uploads;
|
|
9188
9199
|
}());
|
|
@@ -13684,7 +13695,7 @@ var FHRoleManager = /** @class */ (function () {
|
|
|
13684
13695
|
], FHRoleManager.prototype, "cmb_sel", void 0);
|
|
13685
13696
|
FHRoleManager = __decorate([
|
|
13686
13697
|
Component({
|
|
13687
|
-
selector: 'FHRoleManager', template: "\n <div [hidden]=\"!b_init\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"6px\">\n <FHComboBox #cmb_sel sql=\"SELECT_APP_USER_MANAGEMENT\" label=\"Gestisci Ruoli:\"\n
|
|
13698
|
+
selector: 'FHRoleManager', template: "\n <div [hidden]=\"!b_init\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"6px\">\n <FHComboBox #cmb_sel sql=\"SELECT_APP_USER_MANAGEMENT\" label=\"Gestisci Ruoli:\"\n init_fill=\"false\"></FHComboBox> \n <button mat-flat-button (click)=\"edit_values()\" color=\"primary\">\n Modifica\n </button>\n\n </div>\n\n\n\n ",
|
|
13688
13699
|
styles: ["\n\n\n "]
|
|
13689
13700
|
}),
|
|
13690
13701
|
__metadata("design:paramtypes", [QueryService, AppService, MatDialog])
|