@fluxhub/fluxhub-lib 9.0.30 → 9.0.32
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 +65 -25
- 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/fhcombobox.js +33 -3
- package/esm2015/lib/controls/win_ask_text.js +3 -3
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +6 -1
- package/esm5/lib/controls/fhcombobox.js +63 -26
- package/esm5/lib/controls/win_ask_text.js +2 -2
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +6 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +37 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +65 -25
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhcombobox.d.ts +8 -1
- package/package.json +1 -1
|
@@ -2012,30 +2012,37 @@
|
|
|
2012
2012
|
return WinWait;
|
|
2013
2013
|
}());
|
|
2014
2014
|
|
|
2015
|
-
var FHComboboxComponent = /** @class */ (function () {
|
|
2015
|
+
var FHComboboxComponent = /** @class */ (function (_super) {
|
|
2016
|
+
__extends(FHComboboxComponent, _super);
|
|
2016
2017
|
function FHComboboxComponent(_dataService, _dataService_odbc) {
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2018
|
+
var _this = _super.call(this) || this;
|
|
2019
|
+
_this._dataService = _dataService;
|
|
2020
|
+
_this._dataService_odbc = _dataService_odbc;
|
|
2021
|
+
_this.init_fill = true;
|
|
2022
|
+
_this.sql = "";
|
|
2023
|
+
_this.types = [];
|
|
2024
|
+
_this.values = [];
|
|
2025
|
+
_this.hidden = false;
|
|
2026
|
+
_this.label = "";
|
|
2027
|
+
_this.enabled = true;
|
|
2028
|
+
_this.required = false;
|
|
2029
|
+
_this.sel_label = "";
|
|
2030
|
+
_this.fillend = new core.EventEmitter();
|
|
2031
|
+
_this.selchange = new core.EventEmitter();
|
|
2032
|
+
_this.initend = new core.EventEmitter();
|
|
2033
|
+
_this.myData = [];
|
|
2034
|
+
_this.valDef = "-1";
|
|
2035
|
+
_this.selval = "-1";
|
|
2036
|
+
_this.errorMsg = "";
|
|
2037
|
+
_this.db_type = "1";
|
|
2038
|
+
_this.dis_value = '';
|
|
2039
|
+
_this.descri_val = "";
|
|
2040
|
+
return _this;
|
|
2038
2041
|
}
|
|
2042
|
+
FHComboboxComponent_1 = FHComboboxComponent;
|
|
2043
|
+
FHComboboxComponent.prototype.setValue = function (desc_val) {
|
|
2044
|
+
this.setByValue(desc_val);
|
|
2045
|
+
};
|
|
2039
2046
|
FHComboboxComponent.prototype.update_dis = function () {
|
|
2040
2047
|
this.dis_value = '';
|
|
2041
2048
|
try {
|
|
@@ -2285,6 +2292,31 @@
|
|
|
2285
2292
|
.selchange
|
|
2286
2293
|
.emit({ event: this.getObj(), valore: this.getValue(), descrizione_valore: this.getDescri() });
|
|
2287
2294
|
};
|
|
2295
|
+
FHComboboxComponent.prototype.getModelValue = function () {
|
|
2296
|
+
var value = this.getData('valore');
|
|
2297
|
+
return value;
|
|
2298
|
+
};
|
|
2299
|
+
FHComboboxComponent.prototype.emitChanged = function () {
|
|
2300
|
+
var value = this.getModelValue();
|
|
2301
|
+
this.changed.forEach(function (f) { return f(value); });
|
|
2302
|
+
};
|
|
2303
|
+
Object.defineProperty(FHComboboxComponent.prototype, "value", {
|
|
2304
|
+
get: function () {
|
|
2305
|
+
return this.getModelValue();
|
|
2306
|
+
},
|
|
2307
|
+
set: function (value) {
|
|
2308
|
+
if (this.getModelValue() !== value) {
|
|
2309
|
+
this.setByValue(value);
|
|
2310
|
+
this.changed.forEach(function (f) { return f(value); });
|
|
2311
|
+
}
|
|
2312
|
+
},
|
|
2313
|
+
enumerable: true,
|
|
2314
|
+
configurable: true
|
|
2315
|
+
});
|
|
2316
|
+
FHComboboxComponent.prototype.writeValue = function (value) {
|
|
2317
|
+
this.setValue(value);
|
|
2318
|
+
};
|
|
2319
|
+
var FHComboboxComponent_1;
|
|
2288
2320
|
FHComboboxComponent.ctorParameters = function () { return [
|
|
2289
2321
|
{ type: QueryService },
|
|
2290
2322
|
{ type: OdbcService }
|
|
@@ -2349,15 +2381,18 @@
|
|
|
2349
2381
|
core.Input(),
|
|
2350
2382
|
__metadata("design:type", String)
|
|
2351
2383
|
], FHComboboxComponent.prototype, "db_type", void 0);
|
|
2352
|
-
FHComboboxComponent = __decorate([
|
|
2384
|
+
FHComboboxComponent = FHComboboxComponent_1 = __decorate([
|
|
2353
2385
|
core.Component({
|
|
2354
2386
|
selector: 'FHComboBox', template: "\n <mat-form-field [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (selectionChange)=\"sc()\" [required]=\"required\">\n <mat-option value=\"-1\">{{sel_label}}</mat-option>\n <mat-option value=\"{{app.valore}}\" *ngFor=\"let app of myData\">{{app.descrizione_valore}}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [(ngModel)]=\"dis_value\">\n </mat-form-field>\n ",
|
|
2387
|
+
providers: [
|
|
2388
|
+
{ provide: forms.NG_VALUE_ACCESSOR, useExisting: FHComboboxComponent_1, multi: true },
|
|
2389
|
+
],
|
|
2355
2390
|
styles: ["\n\n "]
|
|
2356
2391
|
}),
|
|
2357
2392
|
__metadata("design:paramtypes", [QueryService, OdbcService])
|
|
2358
2393
|
], FHComboboxComponent);
|
|
2359
2394
|
return FHComboboxComponent;
|
|
2360
|
-
}());
|
|
2395
|
+
}(FHValueAccessor));
|
|
2361
2396
|
|
|
2362
2397
|
var FHUploadComponent = /** @class */ (function () {
|
|
2363
2398
|
function FHUploadComponent(_dataService, toastr, dialog, app_s) {
|
|
@@ -3489,7 +3524,7 @@
|
|
|
3489
3524
|
WinAskTextComponent = __decorate([
|
|
3490
3525
|
core.Component({
|
|
3491
3526
|
selector: 'app-win_ask_text',
|
|
3492
|
-
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\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"font-size: 15px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\" style=\"width:100%\"><mat-label>{{label}} (min {{min_chars}} - max {{max_chars}} caratteri)</mat-label>\n <input matInput type=\"text\"\n [(ngModel)]=\"valore\" required>\n </mat-form-field>\n </mat-dialog-content>\n
|
|
3527
|
+
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\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"font-size: 15px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\" style=\"width:100%\"><mat-label>{{label}} (min {{min_chars}} - max {{max_chars}} caratteri)</mat-label>\n <input matInput type=\"text\"\n [(ngModel)]=\"valore\" required>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions>\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\" [hidden]=\"readonly\">\n <button mat-flat-button color=\"primary\" (click)=\"do_check()\">OK</button> \n <button mat-flat-button color=\"warn\" (click)=\"chiudi()\">ANNULLA</button>\n </div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\" [hidden]=\"!readonly\">\n <button mat-flat-button color=\"warn\" (click)=\"chiudi()\">CHIUDI</button>\n </div>\n </mat-dialog-actions>\n "
|
|
3493
3528
|
}),
|
|
3494
3529
|
__param(2, core.Inject(dialog.MAT_DIALOG_DATA)),
|
|
3495
3530
|
__metadata("design:paramtypes", [dialog.MatDialogRef, ngxToastr.ToastrService, Object])
|
|
@@ -11402,6 +11437,9 @@
|
|
|
11402
11437
|
ccan = this.livs[i].gruppo_parallelo;
|
|
11403
11438
|
}
|
|
11404
11439
|
}
|
|
11440
|
+
this.m_autori = Array.from(new Set(this.m_autori.split(','))).join(',');
|
|
11441
|
+
this.m_lettori = Array.from(new Set(this.m_lettori.split(','))).join(',');
|
|
11442
|
+
this.m_danotificare = Array.from(new Set(this.m_danotificare.split(','))).join(',');
|
|
11405
11443
|
var a;
|
|
11406
11444
|
if (!this.app_info.documento_pubblico)
|
|
11407
11445
|
a = new Array(this.m_autori, this.m_lettori, this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento, ccan);
|
|
@@ -11969,6 +12007,8 @@
|
|
|
11969
12007
|
if (s == "") {
|
|
11970
12008
|
return "NESSUN UTENTE CONFIGURATO STEP: " + lvlb + " CANALE: " + can;
|
|
11971
12009
|
}
|
|
12010
|
+
s_notif = Array.from(new Set(s_notif.split(','))).join(',');
|
|
12011
|
+
this.m_obj.partecipanti = Array.from(new Set(this.m_obj.partecipanti.split(','))).join(',');
|
|
11972
12012
|
var a;
|
|
11973
12013
|
if (!this.app_info.documento_pubblico)
|
|
11974
12014
|
a = [s, this.m_obj.partecipanti + "," + s, lvlb, "Assegnata a:" + s_auto, '', '', this.getLvlDescri(String(lvlb), "Assegnata a:" + s_auto), this.getUsersList(s_auto, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento, can];
|