@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
|
@@ -6852,25 +6852,27 @@
|
|
|
6852
6852
|
if (this.sItem != '') {
|
|
6853
6853
|
this.searchItemsFiltered = [];
|
|
6854
6854
|
var ps = this.sItem.toLowerCase();
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
if (this.myData[i].descrizione_valore
|
|
6858
|
-
|
|
6855
|
+
if (this.myData != null)
|
|
6856
|
+
for (var i = 0; i < this.myData.length; i++) {
|
|
6857
|
+
if (this.myData[i].descrizione_valore != null) {
|
|
6858
|
+
if (this.myData[i].descrizione_valore.toLowerCase().indexOf(ps) != -1) {
|
|
6859
|
+
this.searchItemsFiltered.push(this.myData[i]);
|
|
6860
|
+
}
|
|
6861
|
+
}
|
|
6862
|
+
if (ps.length < 4 && this.searchItemsFiltered.length == 20) {
|
|
6863
|
+
break;
|
|
6859
6864
|
}
|
|
6860
6865
|
}
|
|
6861
|
-
if (ps.length < 4 && this.searchItemsFiltered.length == 20) {
|
|
6862
|
-
break;
|
|
6863
|
-
}
|
|
6864
|
-
}
|
|
6865
6866
|
}
|
|
6866
6867
|
else {
|
|
6867
6868
|
// console.log('onChange()1');
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6869
|
+
if (this.myData != null)
|
|
6870
|
+
for (var i = 0; i < this.myData.length; i++) {
|
|
6871
|
+
this.searchItemsFiltered.push(this.myData[i]);
|
|
6872
|
+
if (i == 20) {
|
|
6873
|
+
break;
|
|
6874
|
+
}
|
|
6872
6875
|
}
|
|
6873
|
-
}
|
|
6874
6876
|
}
|
|
6875
6877
|
}
|
|
6876
6878
|
};
|
|
@@ -6989,15 +6991,16 @@
|
|
|
6989
6991
|
if (this.myData.length == 0 || this.myData[0] == null) {
|
|
6990
6992
|
return;
|
|
6991
6993
|
}
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
this.
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
this.
|
|
6994
|
+
if (this.myData != null)
|
|
6995
|
+
for (var j = 0; j < this.myData.length; j++)
|
|
6996
|
+
if (this.myData[j].descrizione_valore == desc_val) {
|
|
6997
|
+
this.sItem = desc_val;
|
|
6998
|
+
this.selval = this.myData[j].valore;
|
|
6999
|
+
if (this.sItem != null) {
|
|
7000
|
+
this.descri_val = this.sItem;
|
|
7001
|
+
}
|
|
7002
|
+
return;
|
|
6998
7003
|
}
|
|
6999
|
-
return;
|
|
7000
|
-
}
|
|
7001
7004
|
if (!this.only_from_list) {
|
|
7002
7005
|
this.sItem = desc_val;
|
|
7003
7006
|
}
|
|
@@ -7571,8 +7574,7 @@
|
|
|
7571
7574
|
return FHDatePickerComponent;
|
|
7572
7575
|
}());
|
|
7573
7576
|
|
|
7574
|
-
var noop$5 = function () {
|
|
7575
|
-
};
|
|
7577
|
+
var noop$5 = function () { };
|
|
7576
7578
|
var ɵ0$5 = noop$5;
|
|
7577
7579
|
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6 = {
|
|
7578
7580
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -7589,10 +7591,8 @@
|
|
|
7589
7591
|
this.focusout = new core.EventEmitter();
|
|
7590
7592
|
this.focusin = new core.EventEmitter();
|
|
7591
7593
|
this.text_v = '';
|
|
7592
|
-
this.onChange = function (_) {
|
|
7593
|
-
};
|
|
7594
|
-
this.onTouched = function () {
|
|
7595
|
-
};
|
|
7594
|
+
this.onChange = function (_) { };
|
|
7595
|
+
this.onTouched = function () { };
|
|
7596
7596
|
}
|
|
7597
7597
|
FHTextInput.prototype.onFi = function () {
|
|
7598
7598
|
var _this = this;
|
|
@@ -9271,7 +9271,8 @@
|
|
|
9271
9271
|
}());
|
|
9272
9272
|
|
|
9273
9273
|
var win_uploads = /** @class */ (function () {
|
|
9274
|
-
function win_uploads(dialogRef, _dataService, toastr, dialog, app_s) {
|
|
9274
|
+
function win_uploads(data, dialogRef, _dataService, toastr, dialog, app_s) {
|
|
9275
|
+
this.data = data;
|
|
9275
9276
|
this.dialogRef = dialogRef;
|
|
9276
9277
|
this._dataService = _dataService;
|
|
9277
9278
|
this.toastr = toastr;
|
|
@@ -9283,13 +9284,21 @@
|
|
|
9283
9284
|
this.K = '';
|
|
9284
9285
|
this.title = "ALLEGATI";
|
|
9285
9286
|
this.sovrascrivi_path = '';
|
|
9287
|
+
if (data != null) {
|
|
9288
|
+
if (data.App != null)
|
|
9289
|
+
this.App = data.App;
|
|
9290
|
+
if (data.K != null)
|
|
9291
|
+
this.K = data.K;
|
|
9292
|
+
}
|
|
9286
9293
|
}
|
|
9287
9294
|
win_uploads.prototype.close = function () { this.dialogRef.close(null); };
|
|
9288
9295
|
win_uploads.prototype.ngAfterViewInit = function () {
|
|
9289
9296
|
var _this = this;
|
|
9290
9297
|
setTimeout(function () {
|
|
9291
|
-
_this.App
|
|
9292
|
-
|
|
9298
|
+
if (_this.App == '') {
|
|
9299
|
+
_this.App = _this.app_s.getState().wkf_doc_info.uiid_app;
|
|
9300
|
+
_this.K = _this.app_s.getState().wkf_doc_info.uiid_doc;
|
|
9301
|
+
}
|
|
9293
9302
|
_this.init(_this.App, _this.K);
|
|
9294
9303
|
});
|
|
9295
9304
|
};
|
|
@@ -9299,6 +9308,7 @@
|
|
|
9299
9308
|
this.upc.init(this.App, this.K);
|
|
9300
9309
|
};
|
|
9301
9310
|
win_uploads.ctorParameters = function () { return [
|
|
9311
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
|
|
9302
9312
|
{ type: dialog.MatDialogRef },
|
|
9303
9313
|
{ type: QueryService },
|
|
9304
9314
|
{ type: ngxToastr.ToastrService },
|
|
@@ -9315,7 +9325,8 @@
|
|
|
9315
9325
|
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 ",
|
|
9316
9326
|
styles: ["\n\n\n "]
|
|
9317
9327
|
}),
|
|
9318
|
-
|
|
9328
|
+
__param(0, core.Inject(dialog.MAT_DIALOG_DATA)),
|
|
9329
|
+
__metadata("design:paramtypes", [Object, dialog.MatDialogRef, QueryService, ngxToastr.ToastrService, dialog.MatDialog, AppService])
|
|
9319
9330
|
], win_uploads);
|
|
9320
9331
|
return win_uploads;
|
|
9321
9332
|
}());
|
|
@@ -13817,7 +13828,7 @@
|
|
|
13817
13828
|
], FHRoleManager.prototype, "cmb_sel", void 0);
|
|
13818
13829
|
FHRoleManager = __decorate([
|
|
13819
13830
|
core.Component({
|
|
13820
|
-
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
|
|
13831
|
+
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 ",
|
|
13821
13832
|
styles: ["\n\n\n "]
|
|
13822
13833
|
}),
|
|
13823
13834
|
__metadata("design:paramtypes", [QueryService, AppService, dialog.MatDialog])
|