@fluxhub/fluxhub-lib 11.0.15 → 11.0.17
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 +37 -13
- 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/win_assegna.js +3 -5
- package/esm2015/lib/wkf_engine/win_commenti.js +2 -5
- package/esm2015/lib/wkf_engine/win_insert_commento.js +2 -6
- package/esm2015/lib/wkf_engine/win_log.js +3 -8
- package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +2 -9
- package/esm2015/lib/wkf_engine_v2/win_assegna.js +2 -5
- package/esm2015/lib/wkf_engine_v2/win_commenti.js +2 -6
- package/esm2015/lib/wkf_engine_v2/win_insert_commento.js +2 -6
- package/esm2015/lib/wkf_engine_v2/win_log.js +2 -8
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +29 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +39 -53
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -10578,7 +10578,7 @@
|
|
|
10578
10578
|
}());
|
|
10579
10579
|
win_assegna.decorators = [
|
|
10580
10580
|
{ type: i0.Component, args: [{
|
|
10581
|
-
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\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\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <div\n mat-dialog-content\n fxLayout=\"column\"\n style=\"font-size: 15px;min-width: 750px\"\n >\n <div style=\"width:100%;height:450px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired != 1\">\n <br />\n <
|
|
10581
|
+
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\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\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <div\n mat-dialog-content\n fxLayout=\"column\"\n style=\"font-size: 15px;min-width: 750px\"\n >\n <div style=\"width:100%;height:450px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired != 1\">\n <br />\n\n <FHTextArea [label]=\"'Commento' | translate\" [(ngModel)]=\"nota\" rows=\"4\"></FHTextArea>\n </div>\n </div>\n <br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n ANNULLA\n </button>\n </div>\n</div>\n "
|
|
10582
10582
|
},] }
|
|
10583
10583
|
];
|
|
10584
10584
|
win_assegna.ctorParameters = function () { return [
|
|
@@ -11210,7 +11210,7 @@
|
|
|
11210
11210
|
}());
|
|
11211
11211
|
win_commenti.decorators = [
|
|
11212
11212
|
{ type: i0.Component, args: [{
|
|
11213
|
-
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\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\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <mat-toolbar color=\"primary\">\n\n <span class=\"fill-remaining-space\"></span>\n <div>\n <button mat-flat-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}\n </button>\n </div>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <
|
|
11213
|
+
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\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\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <mat-toolbar color=\"primary\">\n\n <span class=\"fill-remaining-space\"></span>\n <div>\n <button mat-flat-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}\n </button>\n </div>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n\n <FHTextArea [label]=\"'Commento' | translate\" [(ngModel)]=\"nota\" rows=\"12\"></FHTextArea>\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 >\n {{'Notifica Interessati' | translate}}\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\n {{'CHIUDI' | translate}}\n </button>\n </div>\n</div>\n ",
|
|
11214
11214
|
styles: [""]
|
|
11215
11215
|
},] }
|
|
11216
11216
|
];
|
|
@@ -11609,7 +11609,7 @@
|
|
|
11609
11609
|
}());
|
|
11610
11610
|
win_log.decorators = [
|
|
11611
11611
|
{ type: i0.Component, args: [{
|
|
11612
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div\n style=\"font-size: 12px\"\n [style.height]=\"m_appService.getState().body_h - 130 + 'px'\"\n >\n <mat-tab-group\n #zz\n style=\"width:100%\"\n [style.height]=\"m_appService.getState().body_h - 140 + 'px'\"\n >\n <mat-tab label=\"WORKFLOW\" *ngIf=\"b_flussook\">\n <div [style.height]=\"m_appService.getState().body_h - 160 + 'px'\">\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center end\"\n fxFlex=\"90\"\n *ngIf=\"!b_edit && commenti_insert && c_edit\"\n >\n <button mat-flat-button color=\"accent\" (click)=\"ins()\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}</button\n > \n </div>\n\n <div fxLayout=\"column\" *ngIf=\"b_edit\">\n <br />\n <
|
|
11612
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div\n style=\"font-size: 12px\"\n [style.height]=\"m_appService.getState().body_h - 130 + 'px'\"\n >\n <mat-tab-group\n #zz\n style=\"width:100%\"\n [style.height]=\"m_appService.getState().body_h - 140 + 'px'\"\n >\n <mat-tab label=\"WORKFLOW\" *ngIf=\"b_flussook\">\n <div [style.height]=\"m_appService.getState().body_h - 160 + 'px'\">\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center end\"\n fxFlex=\"90\"\n *ngIf=\"!b_edit && commenti_insert && c_edit\"\n >\n <button mat-flat-button color=\"accent\" (click)=\"ins()\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}</button\n > \n </div>\n\n <div fxLayout=\"column\" *ngIf=\"b_edit\">\n <br />\n\n <FHTextArea *ngIf=\"b_edit\" [label]=\"'Commento' | translate\" [(ngModel)]=\"nota\" rows=\"12\"></FHTextArea>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla()\"\n >\n {{'ANNULLA' | translate}}</button\n > \n <mat-checkbox\n [disabled]=\"not_comm_disabled\"\n [(ngModel)]=\"not_comm\"\n [hidden]=\"\n notifica_commenti == 0 ||\n (notifica_commenti == 1 && lettori == '')\n \"\n >\n {{'Notifica Interessati' | translate}}\n\n </mat-checkbox>\n </div>\n <br /><br />\n </div>\n <table *ngIf=\"!b_edit\" class=\"fh_table\" style=\"width:90%\">\n <thead>\n <tr>\n <th width=\"15%\">{{'Data' | translate}}</th>\n <th width=\"15%\">{{'Utente' | translate}}</th>\n <th>{{'Task/Operazione' | translate}}</th>\n <td></td>\n <td *ngIf=\"c_edit\"></td>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of logs;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>{{ app.nc }}</td>\n <td [innerHTML]=\"app.v_commento\"></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 *ngIf=\"c_edit\">\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 </mat-tab>\n </mat-tab-group>\n </div>\n ",
|
|
11613
11613
|
styles: [""]
|
|
11614
11614
|
},] }
|
|
11615
11615
|
];
|
|
@@ -11823,7 +11823,7 @@
|
|
|
11823
11823
|
}());
|
|
11824
11824
|
win_riassegna_select_user.decorators = [
|
|
11825
11825
|
{ type: i0.Component, args: [{
|
|
11826
|
-
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\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\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:500px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n
|
|
11826
|
+
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\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\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:500px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n ></FHPickUsers>\n </div>\n <FHTextArea [hidden]=\"commento_hidden\" [label]=\"'Commento' | translate\" [(ngModel)]=\"nota\" rows=\"2\"></FHTextArea>\n </div>\n <div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div>\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button>\n </div>\n \n <div>\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</div>\n "
|
|
11827
11827
|
},] }
|
|
11828
11828
|
];
|
|
11829
11829
|
win_riassegna_select_user.ctorParameters = function () { return [
|
|
@@ -14758,7 +14758,7 @@
|
|
|
14758
14758
|
}());
|
|
14759
14759
|
win_insert_commento.decorators = [
|
|
14760
14760
|
{ type: i0.Component, args: [{
|
|
14761
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <
|
|
14761
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <FHTextArea [label]=\"'Commento' | translate\" [(ngModel)]=\"nota\" rows=\"12\"></FHTextArea>\n <div>\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"annulla()\">{{'ANNULLA' | translate}}</button\n > \n <mat-checkbox [(ngModel)]=\"not_int\" [hidden]=\"lettori === ''\">\n {{'Notifica Interessati' | translate}}\n </mat-checkbox>\n </div>\n </div>\n ",
|
|
14762
14762
|
styles: [""]
|
|
14763
14763
|
},] }
|
|
14764
14764
|
];
|
|
@@ -15062,7 +15062,7 @@
|
|
|
15062
15062
|
}());
|
|
15063
15063
|
win_assegna_v2.decorators = [
|
|
15064
15064
|
{ type: i0.Component, args: [{
|
|
15065
|
-
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 <div style=\"width:100%;height:450px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n [user_sel]=\"user_sel\"\n ></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired != 1\">\n <br />\n <
|
|
15065
|
+
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 <div style=\"width:100%;height:450px\">\n <FHPickUsers\n #up\n [users_list]=\"arrAutori\"\n [vis_buttons]=\"false\"\n [user_sel]=\"user_sel\"\n ></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired != 1\">\n <br />\n <FHTextArea [label]=\"('Commento' | translate) + nota_commento\" [(ngModel)]=\"nota\" rows=\"4\"></FHTextArea>\n </div>\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 "
|
|
15066
15066
|
},] }
|
|
15067
15067
|
];
|
|
15068
15068
|
win_assegna_v2.ctorParameters = function () { return [
|
|
@@ -15408,7 +15408,7 @@
|
|
|
15408
15408
|
}());
|
|
15409
15409
|
win_commenti_v2.decorators = [
|
|
15410
15410
|
{ type: i0.Component, args: [{
|
|
15411
|
-
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 <
|
|
15411
|
+
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 <FHTextArea *ngIf=\"b_edit\" [label]=\"'Commento' | translate\" [(ngModel)]=\"nota\" rows=\"12\"></FHTextArea>\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 width=\"20\">{{'Ver' | translate}}</th>\n <th>{{'Commento' | translate}}</th>\n <th width=\"15%\">{{'Autore' | translate}}</th>\n <th width=\"15%\">{{'Data' | translate}}</th>\n <th width=\"20\"></th>\n <th width=\"20\"></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 align=\"center\">{{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 align=\"center\">\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 align=\"center\">\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 ",
|
|
15412
15412
|
styles: [""]
|
|
15413
15413
|
},] }
|
|
15414
15414
|
];
|
|
@@ -15668,7 +15668,7 @@
|
|
|
15668
15668
|
}());
|
|
15669
15669
|
win_insert_commento_v2.decorators = [
|
|
15670
15670
|
{ type: i0.Component, args: [{
|
|
15671
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <
|
|
15671
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <FHTextArea [label]=\"'Commento' | translate\" [(ngModel)]=\"nota\" rows=\"12\"></FHTextArea>\n <div>\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 [(ngModel)]=\"not_int\" [hidden]=\"lettori === ''\">\n {{'Notifica Interessati' | translate}\n </mat-checkbox>\n </div>\n </div>\n ",
|
|
15672
15672
|
styles: [""]
|
|
15673
15673
|
},] }
|
|
15674
15674
|
];
|
|
@@ -16044,7 +16044,7 @@
|
|
|
16044
16044
|
}());
|
|
16045
16045
|
win_log_v2.decorators = [
|
|
16046
16046
|
{ type: i0.Component, args: [{
|
|
16047
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div\n style=\"font-size: 12px\"\n [style.height]=\"m_appService.getState().body_h - 130 + 'px'\"\n >\n <mat-tab-group\n #zz\n style=\"width:100%\"\n [style.height]=\"m_appService.getState().body_h - 140 + 'px'\"\n >\n <mat-tab label=\"WORKFLOW\" *ngIf=\"b_flussook\">\n <div [style.height]=\"m_appService.getState().body_h - 160 + 'px'\">\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center end\"\n fxFlex=\"90\"\n *ngIf=\"!b_edit && commenti_insert && c_edit\"\n >\n <button mat-flat-button color=\"accent\" (click)=\"ins()\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}</button\n > \n </div>\n\n <div fxLayout=\"column\" *ngIf=\"b_edit\">\n <br />\n <
|
|
16047
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <div\n style=\"font-size: 12px\"\n [style.height]=\"m_appService.getState().body_h - 130 + 'px'\"\n >\n <mat-tab-group\n #zz\n style=\"width:100%\"\n [style.height]=\"m_appService.getState().body_h - 140 + 'px'\"\n >\n <mat-tab label=\"WORKFLOW\" *ngIf=\"b_flussook\">\n <div [style.height]=\"m_appService.getState().body_h - 160 + 'px'\">\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n </div>\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center end\"\n fxFlex=\"90\"\n *ngIf=\"!b_edit && commenti_insert && c_edit\"\n >\n <button mat-flat-button color=\"accent\" (click)=\"ins()\">\n <mat-icon>note_add</mat-icon>\n {{'INSERISCI' | translate}}</button\n > \n </div>\n\n <div fxLayout=\"column\" *ngIf=\"b_edit\">\n <br />\n\n <FHTextArea *ngIf=\"b_edit\" [label]=\"'Commento' | translate\" [(ngModel)]=\"nota\" rows=\"12\"></FHTextArea>\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla()\"\n >\n {{'ANNULLA' | translate}}</button\n > \n <mat-checkbox\n [disabled]=\"not_comm_disabled\"\n [(ngModel)]=\"not_comm\"\n [hidden]=\"\n notifica_commenti == 0 ||\n (notifica_commenti == 1 && lettori == '')\n \"\n >\n {{'Notifica Interessati' | translate}}\n </mat-checkbox>\n </div>\n <br /><br />\n </div>\n <table *ngIf=\"!b_edit\" class=\"fh_table\" style=\"width:90%\">\n <thead>\n <tr>\n <th width=\"15%\"> {{'Data' | translate}}</th>\n <th width=\"15%\"> {{'Utente' | translate}}</th>\n <th> {{'Task/Operazione' | translate}}</th>\n <td></td>\n <td *ngIf=\"c_edit\"></td>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of logs;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>{{ app.nc }}</td>\n <td [innerHTML]=\"app.v_commento\"></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 *ngIf=\"c_edit\">\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 </mat-tab>\n </mat-tab-group>\n </div>\n ",
|
|
16048
16048
|
styles: [""]
|
|
16049
16049
|
},] }
|
|
16050
16050
|
];
|
|
@@ -23852,10 +23852,13 @@
|
|
|
23852
23852
|
" non presenta utenti partecipanti validi", 1);
|
|
23853
23853
|
return;
|
|
23854
23854
|
}
|
|
23855
|
+
if (o.pre_assegna_req == null)
|
|
23856
|
+
o.pre_assegna_req = 0;
|
|
23857
|
+
if (o.pre_assegna_man == null)
|
|
23858
|
+
o.pre_assegna_man = 0;
|
|
23855
23859
|
console.log(' o.pre_assegna_req ', o.pre_assegna_req);
|
|
23856
|
-
if (this.transizione_info.manual_assignment == 1 || o.pre_assegna_man == 1
|
|
23860
|
+
if (this.transizione_info.manual_assignment == 1 || o.pre_assegna_man == 1) {
|
|
23857
23861
|
var att_autor_1 = [];
|
|
23858
|
-
//console.log('this.m_obj.creatore ',this.m_obj.creatore);
|
|
23859
23862
|
if (this.m_obj.creatore != null)
|
|
23860
23863
|
if (this.m_obj.creatore != "")
|
|
23861
23864
|
arrAutori.map(function (v) {
|
|
@@ -23908,12 +23911,34 @@
|
|
|
23908
23911
|
var arr_aut_1 = [];
|
|
23909
23912
|
var arr_aut_all_2 = JSON.parse(JSON.stringify(arrAutori));
|
|
23910
23913
|
var b_f_1 = false;
|
|
23914
|
+
if (o.pre_assegna_req == 1) {
|
|
23915
|
+
var att_autor_2 = [];
|
|
23916
|
+
if (this.m_obj.creatore != null)
|
|
23917
|
+
if (this.m_obj.creatore != "")
|
|
23918
|
+
arrAutori.map(function (v) {
|
|
23919
|
+
// console.log('v ',v);
|
|
23920
|
+
if (v.username == _this.m_obj.creatore) {
|
|
23921
|
+
att_autor_2.push(v);
|
|
23922
|
+
}
|
|
23923
|
+
});
|
|
23924
|
+
att_autor_2 = att_autor_2.sort(function (n1, n2) {
|
|
23925
|
+
if (n1.nc > n2.nc) {
|
|
23926
|
+
return 1;
|
|
23927
|
+
}
|
|
23928
|
+
if (n1.nc < n2.nc) {
|
|
23929
|
+
return -1;
|
|
23930
|
+
}
|
|
23931
|
+
return 0;
|
|
23932
|
+
});
|
|
23933
|
+
if (att_autor_2.length > 0) {
|
|
23934
|
+
arrAutori = JSON.parse(JSON.stringify(att_autor_2));
|
|
23935
|
+
}
|
|
23936
|
+
}
|
|
23911
23937
|
arrAutori.map(function (v) {
|
|
23912
23938
|
if (v.default_value != null)
|
|
23913
23939
|
if (v.default_value == 1)
|
|
23914
23940
|
b_f_1 = true;
|
|
23915
23941
|
});
|
|
23916
|
-
console.log("b_f ", b_f_1);
|
|
23917
23942
|
if (b_f_1) {
|
|
23918
23943
|
arrAutori.map(function (v) {
|
|
23919
23944
|
if (v.default_value != null)
|
|
@@ -23922,7 +23947,6 @@
|
|
|
23922
23947
|
});
|
|
23923
23948
|
arrAutori = JSON.parse(JSON.stringify(arr_aut_1));
|
|
23924
23949
|
}
|
|
23925
|
-
console.log("arrAutori ", arrAutori); //qui6
|
|
23926
23950
|
for (var i = 0; i < arrAutori.length; i++)
|
|
23927
23951
|
if (arrAutori[i].nc != null)
|
|
23928
23952
|
if (sp.indexOf(arrAutori[i].nc) == -1) {
|