@fluxhub/fluxhub-lib 10.0.725 → 10.0.727
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 +13 -7
- 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/fhformtoolbar.js +7 -7
- package/esm2015/lib/wkf_engine_v2/win_assegna_a.js +9 -2
- package/esm2015/lib/wkf_engine_v2/wkfapp.js +2 -2
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +1 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +15 -9
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/win_assegna_a.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3310,9 +3310,9 @@
|
|
|
3310
3310
|
this.is_editing = false;
|
|
3311
3311
|
this.App = "";
|
|
3312
3312
|
this.K = "";
|
|
3313
|
-
this.mgs_back = "
|
|
3314
|
-
this.mgs_edit = "
|
|
3315
|
-
this.mgs_save = "
|
|
3313
|
+
this.mgs_back = "Indietro";
|
|
3314
|
+
this.mgs_edit = "Modifica";
|
|
3315
|
+
this.mgs_save = "Salva";
|
|
3316
3316
|
this.b_commento = false;
|
|
3317
3317
|
this.log_enabled = true;
|
|
3318
3318
|
this.custom_commands = [];
|
|
@@ -3350,7 +3350,7 @@
|
|
|
3350
3350
|
FHFormToolBarComponent.decorators = [
|
|
3351
3351
|
{ type: i0.Component, args: [{
|
|
3352
3352
|
selector: "FHFormToolBar",
|
|
3353
|
-
template: "\n <div fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"10px\"\n [hidden]=\"is_editing\"\n fxLayoutAlign=\"start center\"\n >\n <div><button mat-flat-button [hidden]=\"!show_back\" (click)=\"back()\">{{ mgs_back }}</button> </div>\n <div><button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!editable\"\n (click)=\"edit()\"\n >\n <mat-icon>edit</mat-icon> {{ mgs_edit }}\n </button> </div>\n <div><button\n [hidden]=\"!editable || !log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon> Logs</button> </div>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"10px\"\n [hidden]=\"!is_editing\"\n fxLayoutAlign=\"start center\">\n <div><button mat-flat-button [hidden]=\"!show_back\" (click)=\"back_ask_save()\">{{ mgs_back }}</button> </div>\n <div><button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!show_save\"\n (click)=\"save()\">\n <mat-icon>save</mat-icon> {{ mgs_save }}\n </button> </div>\n\n <div><button [hidden]=\"!log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon> Logs\n </button> </div>\n </div>\n <div\n *ngIf=\"custom_commands.length > 0\"\n fxLayoutGap=\"10px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n >\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\"\n fxLayoutGap=\"5px\">\n <div><button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >{{ app.label }}\n </button> </div>\n </div>\n </div>\n </div>\n ",
|
|
3353
|
+
template: "\n <div fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"10px\"\n [hidden]=\"is_editing\"\n fxLayoutAlign=\"start center\"\n >\n <div><button mat-flat-button [hidden]=\"!show_back\" (click)=\"back()\">{{ mgs_back | translate }}</button> </div>\n <div><button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!editable\"\n (click)=\"edit()\"\n >\n <mat-icon>edit</mat-icon> {{ mgs_edit }}\n </button> </div>\n <div><button\n [hidden]=\"!editable || !log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon> Logs</button> </div>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"10px\"\n [hidden]=\"!is_editing\"\n fxLayoutAlign=\"start center\">\n <div><button mat-flat-button [hidden]=\"!show_back\" (click)=\"back_ask_save()\">{{ mgs_back | translate }}</button> </div>\n <div><button\n mat-flat-button\n color=\"primary\"\n [hidden]=\"!show_save\"\n (click)=\"save()\">\n <mat-icon>save</mat-icon> {{ mgs_save | translate}}\n </button> </div>\n\n <div><button [hidden]=\"!log_enabled\"\n mat-flat-button\n *ngIf=\"App != ''\"\n color=\"accent\"\n (click)=\"logs()\"\n >\n <mat-icon>assignment</mat-icon> Logs\n </button> </div>\n </div>\n <div\n *ngIf=\"custom_commands.length > 0\"\n fxLayoutGap=\"10px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n >\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\"\n fxLayoutGap=\"5px\">\n <div><button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >{{ app.label }}\n </button> </div>\n </div>\n </div>\n </div>\n ",
|
|
3354
3354
|
styles: [""]
|
|
3355
3355
|
},] }
|
|
3356
3356
|
];
|
|
@@ -18564,6 +18564,7 @@
|
|
|
18564
18564
|
this.op = "L";
|
|
18565
18565
|
this.lbl = "";
|
|
18566
18566
|
this.nota = "";
|
|
18567
|
+
this.hide_row_cmd = false;
|
|
18567
18568
|
this.nota_commento = "";
|
|
18568
18569
|
this.title = "";
|
|
18569
18570
|
this.comm_notrequired = 0;
|
|
@@ -18578,6 +18579,12 @@
|
|
|
18578
18579
|
this.title = data.title;
|
|
18579
18580
|
if (data.lbl != null)
|
|
18580
18581
|
this.lbl = data.lbl;
|
|
18582
|
+
if (data.only_riassegna != null) {
|
|
18583
|
+
if (data.only_riassegna) {
|
|
18584
|
+
this.op = 'A';
|
|
18585
|
+
this.hide_row_cmd = true;
|
|
18586
|
+
}
|
|
18587
|
+
}
|
|
18581
18588
|
if (data.utenti != null) {
|
|
18582
18589
|
this.arrAutori = data.utenti;
|
|
18583
18590
|
this.all_users = JSON.parse(JSON.stringify(data.utenti));
|
|
@@ -18632,7 +18639,7 @@
|
|
|
18632
18639
|
}());
|
|
18633
18640
|
win_assegna_a.decorators = [
|
|
18634
18641
|
{ type: i0.Component, args: [{
|
|
18635
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div\n mat-dialog-content\n fxLayout=\"column\"\n style=\"font-size: 15px;min-width: 750px\"\n >\n <br><br>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxFlexGap=\"5px\" fxFlex=\"100\">\n <div style=\"width:100px;font-weight:bold\">Operazione:*</div>\n <mat-radio-group [(ngModel)]=\"op\">\n <mat-radio-button value=\"L\">LIBERA</mat-radio-button> \n <mat-radio-button value=\"A\">RIASSEGNA A</mat-radio-button> \n <mat-radio-button [hidden]=\"!prendi_in_carico\" value=\"C\">PRENDI IN CARICO</mat-radio-button>\n </mat-radio-group>\n </div>\n <div style=\"width:100%;height:450px\" [hidden]=\"op!='A'\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate }}</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n </div>\n "
|
|
18642
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div\n mat-dialog-content\n fxLayout=\"column\"\n style=\"font-size: 15px;min-width: 750px\"\n >\n <br><br>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxFlexGap=\"5px\" fxFlex=\"100\" [hidden]=\"hide_row_cmd\">\n <div style=\"width:100px;font-weight:bold\">Operazione:*</div>\n <mat-radio-group [(ngModel)]=\"op\">\n <mat-radio-button value=\"L\">LIBERA</mat-radio-button> \n <mat-radio-button value=\"A\">RIASSEGNA A</mat-radio-button> \n <mat-radio-button [hidden]=\"!prendi_in_carico\" value=\"C\">PRENDI IN CARICO</mat-radio-button>\n </mat-radio-group>\n </div>\n <div style=\"width:100%;height:450px\" [hidden]=\"op!='A'\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate }}</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n </div>\n "
|
|
18636
18643
|
},] }
|
|
18637
18644
|
];
|
|
18638
18645
|
win_assegna_a.ctorParameters = function () { return [
|
|
@@ -21999,7 +22006,7 @@
|
|
|
21999
22006
|
commento_default: '',
|
|
22000
22007
|
comm_notrequired: '',
|
|
22001
22008
|
utenti: arrAutori,
|
|
22002
|
-
prendi_in_carico: false
|
|
22009
|
+
prendi_in_carico: false, only_riassegna: true
|
|
22003
22010
|
} });
|
|
22004
22011
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
22005
22012
|
if (result) {
|
|
@@ -24293,7 +24300,6 @@
|
|
|
24293
24300
|
setTimeout(function () { _this.load_document(); }, 200);
|
|
24294
24301
|
return;
|
|
24295
24302
|
}
|
|
24296
|
-
console.log('start load_document', new Date());
|
|
24297
24303
|
var p = new QParam();
|
|
24298
24304
|
p.sql = "SELECT_WKF_DOCUMENT_NOREP";
|
|
24299
24305
|
p.types = ["string", "string", "string"];
|