@fluxhub/fluxhub-lib 10.0.697 → 10.0.699
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 +30 -20
- 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/wkf_engine/wkfdatiaggiuntivi.js +1 -2
- package/esm2015/lib/wkf_engine_v2/win_commenti.js +3 -1
- package/esm2015/lib/wkf_engine_v2/wkfapp.js +28 -17
- package/fesm2015/fluxhub-fluxhub-lib.js +29 -17
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -15289,7 +15289,7 @@
|
|
|
15289
15289
|
}());
|
|
15290
15290
|
win_commenti_v2.decorators = [
|
|
15291
15291
|
{ type: i0.Component, args: [{
|
|
15292
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\" \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\"> <b>{{title | translate}}</b></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\n\n <div fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"end\u00A0center\"\n >\n <span class=\"fill-remaining-space\"></span>\n <button mat-raised-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}\n </button>\n </div>\n\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate}}</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"annulla()\"> {{'ANNULLA' | translate}}</button\n > \n <mat-checkbox\n [disabled]=\"not_comm_disabled\"\n [(ngModel)]=\"not_comm\"\n [hidden]=\"\n notifica_commenti == 0 || (notifica_commenti == 1 && lettori == '')\n \"\n >{{'Notifica Interessati' | translate}}\n\n </mat-checkbox>\n </div>\n <section class=\"bs\" *ngIf=\"!b_edit\">\n <table style=\"min-width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>{{'Commento' | translate}}</th>\n <th width=\"15%\">{{'Autore' | translate}}</th>\n <th width=\"15%\">{{'Data' | translate}}</th>\n <th></th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of commenti_list;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td [innerHTML]=\"app.v_commento\"></td>\n <td>{{ app.COGNOME + \" \" + app.NOME }}</td>\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>\n <mat-icon\n [matTooltip]=\"app.dest_notif\"\n *ngIf=\"app.dest_notif != null && app.dest_notif != ''\"\n >mail</mat-icon\n >\n </td>\n <td>\n <mat-icon\n *ngIf=\"\n i == 0 &&\n app.creatore ==\n m_appService.getState().wkf_doc_info.curr_user\n \"\n (click)=\"edit_comm(app)\"\n >edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </section>\n </div>\n <br />\n\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'CHIUDI' | translate}}\n </button>\n </div>\n </div>\n ",
|
|
15292
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\" \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\"> <b>{{title | translate}}</b></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\n\n <div fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"end\u00A0center\"\n >\n <span class=\"fill-remaining-space\"></span>\n <button mat-raised-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}\n </button>\n </div>\n\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{'Commento' | translate}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> {{'OK' | translate}}</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"annulla()\"> {{'ANNULLA' | translate}}</button\n > \n <mat-checkbox\n [disabled]=\"not_comm_disabled\"\n [(ngModel)]=\"not_comm\"\n [hidden]=\"\n notifica_commenti == 0 || (notifica_commenti == 1 && lettori == '')\n \"\n >{{'Notifica Interessati' | translate}}\n\n </mat-checkbox>\n </div>\n <section class=\"bs\" *ngIf=\"!b_edit\">\n <table style=\"min-width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>{{'Ver' | translate}}</th>\n <th>{{'Commento' | translate}}</th>\n <th width=\"15%\">{{'Autore' | translate}}</th>\n <th width=\"15%\">{{'Data' | translate}}</th>\n <th></th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of commenti_list;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td>{{app.v}}</td>\n <td [innerHTML]=\"app.v_commento\"></td>\n <td>{{ app.COGNOME + \" \" + app.NOME }}</td>\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>\n <mat-icon\n [matTooltip]=\"app.dest_notif\"\n *ngIf=\"app.dest_notif != null && app.dest_notif != ''\"\n >mail</mat-icon\n >\n </td>\n <td>\n <mat-icon\n *ngIf=\"\n i == 0 &&\n app.creatore ==\n m_appService.getState().wkf_doc_info.curr_user\n \"\n (click)=\"edit_comm(app)\"\n >edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </section>\n </div>\n <br />\n\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'CHIUDI' | translate}}\n </button>\n </div>\n </div>\n ",
|
|
15293
15293
|
styles: [""]
|
|
15294
15294
|
},] }
|
|
15295
15295
|
];
|
|
@@ -20592,7 +20592,6 @@
|
|
|
20592
20592
|
"" + _this.nlevel.livello,
|
|
20593
20593
|
_this.user_idp,
|
|
20594
20594
|
];
|
|
20595
|
-
var ok_op_1 = false;
|
|
20596
20595
|
_this.m_wkf.doQuery(p).subscribe(function (data) { });
|
|
20597
20596
|
}
|
|
20598
20597
|
});
|
|
@@ -21513,7 +21512,7 @@
|
|
|
21513
21512
|
"" + lvlb,
|
|
21514
21513
|
];
|
|
21515
21514
|
_this.insert_wkf_variabile(_this.id_applicativo, _this.id_documento, _this.m_obj.stato + "_PLAYER", _this.user_idp);
|
|
21516
|
-
var
|
|
21515
|
+
var ok_op_1 = false;
|
|
21517
21516
|
_this.m_wkf.doQuery(p_4).subscribe(function (data) {
|
|
21518
21517
|
var ok_op = false;
|
|
21519
21518
|
if (data != null)
|
|
@@ -21591,7 +21590,7 @@
|
|
|
21591
21590
|
_this.goto_edit_doc();
|
|
21592
21591
|
}
|
|
21593
21592
|
});
|
|
21594
|
-
|
|
21593
|
+
ok_op_1 = true;
|
|
21595
21594
|
}
|
|
21596
21595
|
if (!ok_op) {
|
|
21597
21596
|
_this.alert(data.msg, 1);
|
|
@@ -22368,22 +22367,33 @@
|
|
|
22368
22367
|
if (data != null)
|
|
22369
22368
|
if (data.result_msg == "OK") {
|
|
22370
22369
|
_this.get_grid().Refresh();
|
|
22371
|
-
|
|
22372
|
-
|
|
22373
|
-
|
|
22374
|
-
|
|
22375
|
-
|
|
22376
|
-
|
|
22377
|
-
|
|
22378
|
-
|
|
22379
|
-
|
|
22380
|
-
|
|
22381
|
-
|
|
22382
|
-
|
|
22383
|
-
|
|
22384
|
-
|
|
22385
|
-
|
|
22386
|
-
|
|
22370
|
+
p = new QParam();
|
|
22371
|
+
p.sql = "INSERT_WKF_COMMENTO";
|
|
22372
|
+
p.types = ["string", "string", "string", "string", "string"];
|
|
22373
|
+
p.values = [
|
|
22374
|
+
_this.id_applicativo,
|
|
22375
|
+
_this.get_grid().sRow.uiid,
|
|
22376
|
+
_this.tsr.instant("Documento riassegnato, commento:") + "\n" + _this.nota_wax,
|
|
22377
|
+
_this.user_idp,
|
|
22378
|
+
"",
|
|
22379
|
+
];
|
|
22380
|
+
ok_op = false;
|
|
22381
|
+
_this.m_dataService.doQuery(p).subscribe(function (data) {
|
|
22382
|
+
if (data != null)
|
|
22383
|
+
if (data.result_msg == "OK") {
|
|
22384
|
+
p = new QParam();
|
|
22385
|
+
p.sql = "exec_app_workflow";
|
|
22386
|
+
p.values = [
|
|
22387
|
+
_this.codice_app,
|
|
22388
|
+
_this.get_grid().sRow.uiid,
|
|
22389
|
+
"" + _this.get_grid().sRow.stato,
|
|
22390
|
+
"" + _this.os_r.step,
|
|
22391
|
+
_this.user_idp,
|
|
22392
|
+
];
|
|
22393
|
+
var ok_op_1 = false;
|
|
22394
|
+
_this.m_wkf.doQuery(p).subscribe(function (data) { });
|
|
22395
|
+
}
|
|
22396
|
+
});
|
|
22387
22397
|
}
|
|
22388
22398
|
});
|
|
22389
22399
|
if (this.wax.length > 0) {
|