@fluxhub/fluxhub-lib 10.0.415 → 10.0.417
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 +158 -167
- 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/fhtablevaluesmanager.js +2 -2
- package/esm2015/lib/controls/app_manager/win_manage_values.js +2 -2
- package/esm2015/lib/controls/fhgrid_toolbar.js +5 -5
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +148 -157
- package/fesm2015/fluxhub-fluxhub-lib.js +153 -162
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -12176,7 +12176,7 @@
|
|
|
12176
12176
|
FHGridToolBarComponent.decorators = [
|
|
12177
12177
|
{ type: i0.Component, args: [{
|
|
12178
12178
|
selector: "FHGridToolBar",
|
|
12179
|
-
template: "\n <div\n *ngIf=\"type == 'WKF_NO_EDIT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"\n toolbar_wkfapp?.is_Supervisor ||\n toolbar_wkfapp?.is_Admin ||\n toolbar_wkfapp?.is_PowerUser\n \"\n >\n <mat-icon>label_important</mat-icon> {{\n \"Gestione\" | translate\n }}\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla_richiesta()\"\n >\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"recupera_richiesta()\"\n >\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"riassegna_richiesta()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\">\n <div *ngIf=\"app.type == 'button'\">\n <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 | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'WKF'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <table><tr><td style=\"width:130px\">\n <button\n mat-flat-button\n (click)=\"insert_doc()\"\n *ngIf=\"toolbar_wkfapp?.is_Ins\"\n color=\"accent\"\n style=\"width:130px\"\n >\n <mat-icon>note_add</mat-icon> {{\n \"INSERISCI\" | translate\n }}</button\n >\n </td><td style=\"width:130px\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button style=\"width:130px\"\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor\"\n >\n {{ \"Gestione\" | translate }}\n </button>\n </td></tr></table>\n <mat-menu #gest_menu=\"matMenu\">\n <button mat-menu-item (click)=\"annulla_richiesta()\">\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"recupera_richiesta()\">\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"riassegna_richiesta()\">\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\n <button\n mat-menu-item\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != null && toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n\n <div *ngIf=\"app.type == 'button'\">\n\n <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 | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\">\n\n </div>\n <div *ngIf=\"app.type == 'table_manager'\">\n\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'INSERT_DELETE' || type == 'INSERT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <button mat-flat-button (click)=\"new_doc()\" color=\"primary\">\n <mat-icon>note_add</mat-icon> {{\n \"INSERISCI\" | translate\n }}\n </button>\n\n <button\n *ngIf=\"type == 'INSERT_DELETE'\"\n mat-flat-button\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon> {{\n \"ELIMINA\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div *ngIf=\"app.type == 'button'\">\n <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 | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n > <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div *ngIf=\"app.type == 'button'\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n\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 | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"type == 'NONE' && show_link\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n </div>\n ",
|
|
12179
|
+
template: "\n <div\n *ngIf=\"type == 'WKF_NO_EDIT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"\n toolbar_wkfapp?.is_Supervisor ||\n toolbar_wkfapp?.is_Admin ||\n toolbar_wkfapp?.is_PowerUser\n \"\n >\n <mat-icon>label_important</mat-icon> {{\n \"Gestione\" | translate\n }}\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla_richiesta()\"\n >\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"recupera_richiesta()\"\n >\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"riassegna_richiesta()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <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 | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'WKF'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <table><tr><td style=\"width:130px\">\n <button\n mat-flat-button\n (click)=\"insert_doc()\"\n *ngIf=\"toolbar_wkfapp?.is_Ins\"\n color=\"accent\"\n style=\"width:130px\"\n >\n <mat-icon>note_add</mat-icon> {{\n \"INSERISCI\" | translate\n }}</button\n >\n </td><td style=\"width:130px\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button style=\"width:130px\"\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor\"\n >\n {{ \"Gestione\" | translate }}\n </button>\n </td></tr></table>\n <mat-menu #gest_menu=\"matMenu\">\n <button mat-menu-item (click)=\"annulla_richiesta()\">\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"recupera_richiesta()\">\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"riassegna_richiesta()\">\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\n <button\n mat-menu-item\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != null && toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n\n <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 | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\">\n\n </div>\n <div *ngIf=\"app.type == 'table_manager'\">\n\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'INSERT_DELETE' || type == 'INSERT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <button mat-flat-button (click)=\"new_doc()\" color=\"primary\">\n <mat-icon>note_add</mat-icon> {{\n \"INSERISCI\" | translate\n }}\n </button>\n\n <button\n *ngIf=\"type == 'INSERT_DELETE'\"\n mat-flat-button\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon> {{\n \"ELIMINA\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <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 | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n > <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div *ngIf=\"app.type == 'button' || app.type == null\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n\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 | translate }}\n </button>\n </div>\n <div *ngIf=\"app.type == 'checkbox'\" style=\"font-size:12px\">\n <FHCheckBox\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n <div *ngIf=\"app.type == 'table_manager'\">\n <FHTableManager [application]=\"app.default_value\"></FHTableManager>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"type == 'NONE' && show_link\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon> {{\n \"LINK\" | translate\n }}\n </button>\n\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon> {{\n help_label | translate\n }}\n </button>\n </div>\n ",
|
|
12180
12180
|
styles: ["\n\n "]
|
|
12181
12181
|
},] }
|
|
12182
12182
|
];
|
|
@@ -13266,7 +13266,7 @@
|
|
|
13266
13266
|
win_manage_values.decorators = [
|
|
13267
13267
|
{ type: i0.Component, args: [{
|
|
13268
13268
|
selector: "win_manage_values",
|
|
13269
|
-
template: "\n<div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\u00A0\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title\u00A0}}</div>\u00A0\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)=\"dialogRef.close(null)\"\u00A0/>\u00A0\u00A0\u00A0\u00A0\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n\t<mat-dialog-content>\n\t<mat-card>\n\t\t\t\t\t\t\t\t<mat-card-content>\n\t\t\t\t\t\t\t\t<div fxLayout=\"column\" fxLayoutGap=\"10px\">\n\n\n <div fxLayout=\"row\" style=\"width: 90%\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Descrizione</mat-label>\n <input\n matInput\n [(ngModel)]=\"nValori.descrizione\"\n style=\"min-width:500px\"\n />\n </mat-form-field> \n <div>\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"update_tassoc_ins(nValori)\"\n >\n Inserisci\n </button>\n </div>\n </div>\n <div fxLayout=\"column\">\n <div fxLayout=\"column\">\n <table style=\"width: 90%\" class=\"fh_table\">\n <thead>\n <tr>\n <th style=\"width:70%;\">Descrizione</th>\n <th style=\"width:5%;\">V1</th>\n <th style=\"width:5%;\">V2</th>\n <th style=\"width:5%;\">V3</th>\n <th style=\"width:10%;\">Lingua</th>\n <th style=\"width:5%;\"></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let u of valoris; let odd = odd; let even = even\"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td style=\"width:70%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\">\n <input\n matInput\n [(ngModel)]=\"u.descrizione\"\n (focusout)=\"update_tassoc(u)\"\n />\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\">\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"u.v1\"\n (focusout)=\"update_tassoc(u)\"\n />\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\">\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"u.v2\"\n (focusout)=\"update_tassoc(u)\"\n />\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\">\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"u.v3\"\n (focusout)=\"update_tassoc(u)\"\n />\n </mat-form-field>\n </td>\n <td style=\"width:10%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\">\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"u.lingua\"\n (focusout)=\"update_tassoc(u)\"\n />\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n <a mat-icon-button (click)=\"delete_uassoc(u)\">\n <mat-icon>delete</mat-icon>\n </a>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n </div>\n </div>\n\n</mat-card-content>\n </mat-card>\n</mat-dialog-content><br>\n\n</div>\n\n ",
|
|
13269
|
+
template: "\n<div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\u00A0\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title\u00A0}}</div>\u00A0\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)=\"dialogRef.close(null)\"\u00A0/>\u00A0\u00A0\u00A0\u00A0\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n\t<mat-dialog-content>\n\t<mat-card>\n\t\t\t\t\t\t\t\t<mat-card-content>\n\t\t\t\t\t\t\t\t<div fxLayout=\"column\" fxLayoutGap=\"10px\">\n\n\n <div fxLayout=\"row\" style=\"width: 90%\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Descrizione</mat-label>\n <input\n matInput\n [(ngModel)]=\"nValori.descrizione\"\n style=\"min-width:500px\"\n />\n </mat-form-field> \n <div>\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"update_tassoc_ins(nValori)\"\n >\n Inserisci\n </button>\n </div>\n </div>\n <div fxLayout=\"column\">\n <div fxLayout=\"column\" style=\"overflow:auto;height:500px\">\n <table style=\"width: 90%\" class=\"fh_table\">\n <thead>\n <tr>\n <th style=\"width:70%;\">Descrizione</th>\n <th style=\"width:5%;\">V1</th>\n <th style=\"width:5%;\">V2</th>\n <th style=\"width:5%;\">V3</th>\n <th style=\"width:10%;\">Lingua</th>\n <th style=\"width:5%;\"></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let u of valoris; let odd = odd; let even = even\"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td style=\"width:70%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\">\n <input\n matInput\n [(ngModel)]=\"u.descrizione\"\n (focusout)=\"update_tassoc(u)\"\n />\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\">\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"u.v1\"\n (focusout)=\"update_tassoc(u)\"\n />\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\">\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"u.v2\"\n (focusout)=\"update_tassoc(u)\"\n />\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\">\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"u.v3\"\n (focusout)=\"update_tassoc(u)\"\n />\n </mat-form-field>\n </td>\n <td style=\"width:10%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\">\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"u.lingua\"\n (focusout)=\"update_tassoc(u)\"\n />\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n <a mat-icon-button (click)=\"delete_uassoc(u)\">\n <mat-icon>delete</mat-icon>\n </a>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n </div>\n </div>\n\n</mat-card-content>\n </mat-card>\n</mat-dialog-content><br>\n\n</div>\n\n ",
|
|
13270
13270
|
styles: ["\u00A0.mat-dialog-content\u00A0{\u00A0\u00A0max-height:\u00A0unset\u00A0!important;\u00A0}\n\n"]
|
|
13271
13271
|
},] }
|
|
13272
13272
|
];
|
|
@@ -13291,7 +13291,7 @@
|
|
|
13291
13291
|
return;
|
|
13292
13292
|
var dialogRef = this._dialog.open(win_manage_values, {
|
|
13293
13293
|
width: "90%",
|
|
13294
|
-
height: "
|
|
13294
|
+
height: "650px",
|
|
13295
13295
|
});
|
|
13296
13296
|
setTimeout(function () {
|
|
13297
13297
|
dialogRef.componentInstance.id_tipo = Number(_this.cmb_sel.getValue());
|
|
@@ -17658,11 +17658,86 @@
|
|
|
17658
17658
|
];
|
|
17659
17659
|
var ok_op = false;
|
|
17660
17660
|
this.m_wkf.doQuery(p).subscribe(function (data) { });
|
|
17661
|
+
var ical = null;
|
|
17662
|
+
var comm = "";
|
|
17663
|
+
if (this.nota != "")
|
|
17664
|
+
comm = "<br>Commento: <br>" + this.nota;
|
|
17665
|
+
if (this.nlevel.ical == 1) {
|
|
17666
|
+
if (this.m_obj.ical_dt_ini == null) {
|
|
17667
|
+
this.alert("Attenzione ical non configurato ical_dt_ini", 1);
|
|
17668
|
+
}
|
|
17669
|
+
else if (this.m_obj.ical_dt_fin == null) {
|
|
17670
|
+
this.alert("Attenzione ical non configurato ical_dt_fin", 1);
|
|
17671
|
+
}
|
|
17672
|
+
else
|
|
17673
|
+
ical = {
|
|
17674
|
+
start: this.m_obj.ical_dt_ini,
|
|
17675
|
+
end: this.m_obj.ical_dt_fin,
|
|
17676
|
+
summary: this.app_info.descrizione_breve + " " + this.getTitle(),
|
|
17677
|
+
description: this.getDescri() +
|
|
17678
|
+
comm +
|
|
17679
|
+
"<br>" +
|
|
17680
|
+
this.app_s.COMPANY_SITE_ROOT +
|
|
17681
|
+
"#/" +
|
|
17682
|
+
this.app_info.modulo_swf +
|
|
17683
|
+
"/" +
|
|
17684
|
+
this.id_applicativo +
|
|
17685
|
+
"/" +
|
|
17686
|
+
this.id_documento +
|
|
17687
|
+
"/edit",
|
|
17688
|
+
organizer: this.user_nome +
|
|
17689
|
+
" " +
|
|
17690
|
+
this.user_cognome +
|
|
17691
|
+
" <" +
|
|
17692
|
+
this.user_email +
|
|
17693
|
+
">",
|
|
17694
|
+
url: this.app_s.COMPANY_SITE_ROOT +
|
|
17695
|
+
"#/" +
|
|
17696
|
+
this.app_info.modulo_swf +
|
|
17697
|
+
"/" +
|
|
17698
|
+
this.id_applicativo +
|
|
17699
|
+
"/" +
|
|
17700
|
+
this.id_documento +
|
|
17701
|
+
"/edit",
|
|
17702
|
+
};
|
|
17703
|
+
}
|
|
17704
|
+
var s_ogg = this.nlevel.oggetto_email;
|
|
17705
|
+
if (s_ogg == null)
|
|
17706
|
+
s_ogg = '';
|
|
17707
|
+
if (this.nlevel != null)
|
|
17708
|
+
if (this.nlevel.descri_livello != null)
|
|
17709
|
+
s_ogg = s_ogg
|
|
17710
|
+
.split("%new_step%")
|
|
17711
|
+
.join(this.nlevel.descri_livello);
|
|
17712
|
+
if (this.clevel != null)
|
|
17713
|
+
if (this.clevel.descri_livello != null)
|
|
17714
|
+
s_ogg = s_ogg
|
|
17715
|
+
.split("%old_step%")
|
|
17716
|
+
.join(this.clevel.descri_livello);
|
|
17717
|
+
s_ogg = s_ogg.split("%new_step%").join("");
|
|
17718
|
+
s_ogg = s_ogg.split("%old_step%").join("");
|
|
17719
|
+
for (var prop in this.m_obj)
|
|
17720
|
+
if (this.m_obj[prop] != null) {
|
|
17721
|
+
console.log(prop +
|
|
17722
|
+
" " +
|
|
17723
|
+
Object.prototype.toString.call(this.m_obj[prop]));
|
|
17724
|
+
if (Object.prototype.toString.call(this.m_obj[prop]) ===
|
|
17725
|
+
"[object Date]") {
|
|
17726
|
+
s_ogg = s_ogg
|
|
17727
|
+
.split("%" + prop + "%")
|
|
17728
|
+
.join(this.uti_s.date2String(this.m_obj[prop]));
|
|
17729
|
+
}
|
|
17730
|
+
else if (("" + this.m_obj[prop]).indexOf("T00:00:00") == -1)
|
|
17731
|
+
s_ogg = s_ogg
|
|
17732
|
+
.split("%" + prop + "%")
|
|
17733
|
+
.join(this.m_obj[prop]);
|
|
17734
|
+
else
|
|
17735
|
+
s_ogg = s_ogg
|
|
17736
|
+
.split("%" + prop + "%")
|
|
17737
|
+
.join(this.uti_s.date2String(this.uti_s.string2date(this.m_obj[prop], 2)));
|
|
17738
|
+
}
|
|
17661
17739
|
//myRPC.query("UPDATE_FLAG_CARICO",new Array("0",id_applicativo, id_documento,''));
|
|
17662
17740
|
if (this.m_danotificare != "") {
|
|
17663
|
-
var comm_1 = "";
|
|
17664
|
-
if (this.nota != "")
|
|
17665
|
-
comm_1 = "<br>Commento: <br>" + this.nota;
|
|
17666
17741
|
if (this.clevel.ccn_mittente == 1) {
|
|
17667
17742
|
if (this.m_danotificare != "")
|
|
17668
17743
|
this.m_danotificare = this.m_danotificare + ",";
|
|
@@ -17671,46 +17746,6 @@
|
|
|
17671
17746
|
if (this.nlevel.approvazione_email == 1) {
|
|
17672
17747
|
}
|
|
17673
17748
|
else {
|
|
17674
|
-
var ical_1 = null;
|
|
17675
|
-
if (this.nlevel.ical == 1) {
|
|
17676
|
-
if (this.m_obj.ical_dt_ini == null) {
|
|
17677
|
-
this.alert("Attenzione ical non configurato ical_dt_ini", 1);
|
|
17678
|
-
}
|
|
17679
|
-
else if (this.m_obj.ical_dt_fin == null) {
|
|
17680
|
-
this.alert("Attenzione ical non configurato ical_dt_fin", 1);
|
|
17681
|
-
}
|
|
17682
|
-
else
|
|
17683
|
-
ical_1 = {
|
|
17684
|
-
start: this.m_obj.ical_dt_ini,
|
|
17685
|
-
end: this.m_obj.ical_dt_fin,
|
|
17686
|
-
summary: this.app_info.descrizione_breve + " " + this.getTitle(),
|
|
17687
|
-
description: this.getDescri() +
|
|
17688
|
-
comm_1 +
|
|
17689
|
-
"<br>" +
|
|
17690
|
-
this.app_s.COMPANY_SITE_ROOT +
|
|
17691
|
-
"#/" +
|
|
17692
|
-
this.app_info.modulo_swf +
|
|
17693
|
-
"/" +
|
|
17694
|
-
this.id_applicativo +
|
|
17695
|
-
"/" +
|
|
17696
|
-
this.id_documento +
|
|
17697
|
-
"/edit",
|
|
17698
|
-
organizer: this.user_nome +
|
|
17699
|
-
" " +
|
|
17700
|
-
this.user_cognome +
|
|
17701
|
-
" <" +
|
|
17702
|
-
this.user_email +
|
|
17703
|
-
">",
|
|
17704
|
-
url: this.app_s.COMPANY_SITE_ROOT +
|
|
17705
|
-
"#/" +
|
|
17706
|
-
this.app_info.modulo_swf +
|
|
17707
|
-
"/" +
|
|
17708
|
-
this.id_applicativo +
|
|
17709
|
-
"/" +
|
|
17710
|
-
this.id_documento +
|
|
17711
|
-
"/edit",
|
|
17712
|
-
};
|
|
17713
|
-
}
|
|
17714
17749
|
if (this.nlevel.email_partecipanti == 1 ||
|
|
17715
17750
|
this.nlevel.email_ospiti == 1) {
|
|
17716
17751
|
if (this.b_respingi)
|
|
@@ -17721,14 +17756,14 @@
|
|
|
17721
17756
|
"<br>" +
|
|
17722
17757
|
this.getDescri() +
|
|
17723
17758
|
"<br>Commenti:" +
|
|
17724
|
-
|
|
17759
|
+
comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
|
|
17725
17760
|
"#/" +
|
|
17726
17761
|
this.app_info.modulo_swf +
|
|
17727
17762
|
"/" +
|
|
17728
17763
|
this.id_applicativo +
|
|
17729
17764
|
"/" +
|
|
17730
17765
|
this.id_documento +
|
|
17731
|
-
"/edit", this.m_obj.codice, this.nota, true,
|
|
17766
|
+
"/edit", this.m_obj.codice, this.nota, true, ical);
|
|
17732
17767
|
else {
|
|
17733
17768
|
if (this.nlevel.oggetto_email == null)
|
|
17734
17769
|
this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve +
|
|
@@ -17743,14 +17778,14 @@
|
|
|
17743
17778
|
this.m_statox +
|
|
17744
17779
|
"<br>" +
|
|
17745
17780
|
this.getDescri() +
|
|
17746
|
-
|
|
17781
|
+
comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
|
|
17747
17782
|
"#/" +
|
|
17748
17783
|
this.app_info.modulo_swf +
|
|
17749
17784
|
"/" +
|
|
17750
17785
|
this.id_applicativo +
|
|
17751
17786
|
"/" +
|
|
17752
17787
|
this.id_documento +
|
|
17753
|
-
"/edit", this.m_obj.codice, this.nota, true,
|
|
17788
|
+
"/edit", this.m_obj.codice, this.nota, true, ical);
|
|
17754
17789
|
else if (this.nlevel.oggetto_email == "")
|
|
17755
17790
|
this.sendEMail_ex(this.user_idp, this.m_danotificare, this.app_info.descrizione_breve +
|
|
17756
17791
|
", Ti è stato assegnato il documento numero: " +
|
|
@@ -17764,151 +17799,107 @@
|
|
|
17764
17799
|
this.m_statox +
|
|
17765
17800
|
"<br>" +
|
|
17766
17801
|
this.getDescri() +
|
|
17767
|
-
|
|
17802
|
+
comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
|
|
17768
17803
|
"#/" +
|
|
17769
17804
|
this.app_info.modulo_swf +
|
|
17770
17805
|
"/" +
|
|
17771
17806
|
this.id_applicativo +
|
|
17772
17807
|
"/" +
|
|
17773
17808
|
this.id_documento +
|
|
17774
|
-
"/edit", this.m_obj.codice, this.nota, true,
|
|
17809
|
+
"/edit", this.m_obj.codice, this.nota, true, ical);
|
|
17775
17810
|
else {
|
|
17776
|
-
var s_ogg = this.nlevel.oggetto_email;
|
|
17777
|
-
if (this.nlevel != null)
|
|
17778
|
-
if (this.nlevel.descri_livello != null)
|
|
17779
|
-
s_ogg = s_ogg
|
|
17780
|
-
.split("%new_step%")
|
|
17781
|
-
.join(this.nlevel.descri_livello);
|
|
17782
|
-
if (this.clevel != null)
|
|
17783
|
-
if (this.clevel.descri_livello != null)
|
|
17784
|
-
s_ogg = s_ogg
|
|
17785
|
-
.split("%old_step%")
|
|
17786
|
-
.join(this.clevel.descri_livello);
|
|
17787
|
-
s_ogg = s_ogg.split("%new_step%").join("");
|
|
17788
|
-
s_ogg = s_ogg.split("%old_step%").join("");
|
|
17789
|
-
for (var prop in this.m_obj)
|
|
17790
|
-
if (this.m_obj[prop] != null) {
|
|
17791
|
-
console.log(prop +
|
|
17792
|
-
" " +
|
|
17793
|
-
Object.prototype.toString.call(this.m_obj[prop]));
|
|
17794
|
-
if (Object.prototype.toString.call(this.m_obj[prop]) ===
|
|
17795
|
-
"[object Date]") {
|
|
17796
|
-
s_ogg = s_ogg
|
|
17797
|
-
.split("%" + prop + "%")
|
|
17798
|
-
.join(this.uti_s.date2String(this.m_obj[prop]));
|
|
17799
|
-
}
|
|
17800
|
-
else if (("" + this.m_obj[prop]).indexOf("T00:00:00") == -1)
|
|
17801
|
-
s_ogg = s_ogg
|
|
17802
|
-
.split("%" + prop + "%")
|
|
17803
|
-
.join(this.m_obj[prop]);
|
|
17804
|
-
else
|
|
17805
|
-
s_ogg = s_ogg
|
|
17806
|
-
.split("%" + prop + "%")
|
|
17807
|
-
.join(this.uti_s.date2String(this.uti_s.string2date(this.m_obj[prop], 2)));
|
|
17808
|
-
}
|
|
17809
17811
|
this.sendEMail_ex(this.user_idp, this.m_danotificare, s_ogg, "<br>Attività:" +
|
|
17810
17812
|
this.getLvlDescri(String(this.m_liv), this.m_statox) +
|
|
17811
17813
|
"<br>" +
|
|
17812
17814
|
this.m_statox +
|
|
17813
17815
|
"<br>" +
|
|
17814
17816
|
this.getDescri() +
|
|
17815
|
-
|
|
17817
|
+
comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
|
|
17816
17818
|
"#/" +
|
|
17817
17819
|
this.app_info.modulo_swf +
|
|
17818
17820
|
"/" +
|
|
17819
17821
|
this.id_applicativo +
|
|
17820
17822
|
"/" +
|
|
17821
17823
|
this.id_documento +
|
|
17822
|
-
"/edit", this.m_obj.codice, this.nota, true,
|
|
17824
|
+
"/edit", this.m_obj.codice, this.nota, true, ical);
|
|
17823
17825
|
}
|
|
17824
17826
|
}
|
|
17825
17827
|
}
|
|
17826
17828
|
else
|
|
17827
17829
|
this.goto_edit_doc();
|
|
17828
|
-
|
|
17829
|
-
|
|
17830
|
-
|
|
17831
|
-
|
|
17832
|
-
|
|
17833
|
-
|
|
17834
|
-
|
|
17835
|
-
|
|
17836
|
-
|
|
17837
|
-
|
|
17838
|
-
|
|
17839
|
-
|
|
17840
|
-
|
|
17841
|
-
|
|
17842
|
-
|
|
17843
|
-
|
|
17844
|
-
|
|
17845
|
-
|
|
17846
|
-
|
|
17847
|
-
|
|
17848
|
-
|
|
17849
|
-
|
|
17850
|
-
|
|
17851
|
-
|
|
17852
|
-
|
|
17853
|
-
|
|
17854
|
-
|
|
17855
|
-
|
|
17856
|
-
|
|
17857
|
-
|
|
17858
|
-
|
|
17859
|
-
|
|
17860
|
-
|
|
17861
|
-
" è passato allo STEP: " +
|
|
17862
|
-
_this.nlevel.descri_livello +
|
|
17863
|
-
" " +
|
|
17864
|
-
_this.getTitle(), _this.m_statox + "<br>" + _this.getDescri() + comm_1, _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT +
|
|
17865
|
-
"#/" +
|
|
17866
|
-
_this.app_info.modulo_swf +
|
|
17867
|
-
"/" +
|
|
17868
|
-
_this.id_applicativo +
|
|
17869
|
-
"/" +
|
|
17870
|
-
_this.id_documento +
|
|
17871
|
-
"/edit", _this.m_obj.codice, _this.nota, true, ical_1, false);
|
|
17830
|
+
}
|
|
17831
|
+
}
|
|
17832
|
+
if (s_ogg == '')
|
|
17833
|
+
s_ogg = this.app_info.descrizione_breve +
|
|
17834
|
+
", Il documento numero: " +
|
|
17835
|
+
this.m_obj.codice +
|
|
17836
|
+
" è passato allo STEP: " +
|
|
17837
|
+
this.nlevel.descri_livello +
|
|
17838
|
+
" " +
|
|
17839
|
+
this.getTitle();
|
|
17840
|
+
if (this.nlevel.tipo_notifica_aggiuntiva != 0) {
|
|
17841
|
+
if (this.nlevel.tipo_notifica_aggiuntiva == 1)
|
|
17842
|
+
this.sendEMail_ex(this.user_idp, this.m_obj.creatore, s_ogg, this.m_statox + "<br>" + this.getDescri() + comm, this.id_applicativo, this.id_documento, this.app_s.COMPANY_SITE_ROOT +
|
|
17843
|
+
"#/" +
|
|
17844
|
+
this.app_info.modulo_swf +
|
|
17845
|
+
"/" +
|
|
17846
|
+
this.id_applicativo +
|
|
17847
|
+
"/" +
|
|
17848
|
+
this.id_documento +
|
|
17849
|
+
"/edit", this.m_obj.codice, this.nota, true, ical, false);
|
|
17850
|
+
if (this.nlevel.tipo_notifica_aggiuntiva == 2) {
|
|
17851
|
+
var p_2 = new QParam();
|
|
17852
|
+
p_2.sql = "SELECT_PARTECIPANTI_DOC";
|
|
17853
|
+
p_2.values = [this.id_applicativo, this.id_documento];
|
|
17854
|
+
p_2.types = ["string", "string"];
|
|
17855
|
+
this.m_dataService.doQuery(p_2).subscribe(function (data) {
|
|
17856
|
+
if (data != null)
|
|
17857
|
+
if (data.result_msg == "OK") {
|
|
17858
|
+
var lista_p = _this.user_idp;
|
|
17859
|
+
for (var i = 0; i < data.result_data.length; i++)
|
|
17860
|
+
if (lista_p.indexOf(data.result_data[i].username) == -1) {
|
|
17861
|
+
lista_p += ",";
|
|
17862
|
+
lista_p += data.result_data[i].username;
|
|
17872
17863
|
}
|
|
17873
|
-
|
|
17874
|
-
|
|
17875
|
-
|
|
17876
|
-
|
|
17877
|
-
|
|
17878
|
-
|
|
17879
|
-
|
|
17880
|
-
|
|
17881
|
-
|
|
17882
|
-
|
|
17883
|
-
|
|
17884
|
-
|
|
17885
|
-
|
|
17886
|
-
|
|
17887
|
-
|
|
17888
|
-
|
|
17889
|
-
|
|
17890
|
-
|
|
17891
|
-
|
|
17892
|
-
|
|
17893
|
-
|
|
17894
|
-
|
|
17895
|
-
|
|
17896
|
-
|
|
17897
|
-
|
|
17898
|
-
_this.app_info.modulo_swf +
|
|
17899
|
-
"/" +
|
|
17900
|
-
_this.id_applicativo +
|
|
17901
|
-
"/" +
|
|
17902
|
-
_this.id_documento +
|
|
17903
|
-
"/edit", _this.m_obj.codice, _this.nota, true, ical_1, false);
|
|
17864
|
+
_this.sendEMail_ex(_this.user_idp, lista_p, s_ogg, _this.m_statox + "<br>" + _this.getDescri() + comm, _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT +
|
|
17865
|
+
"#/" +
|
|
17866
|
+
_this.app_info.modulo_swf +
|
|
17867
|
+
"/" +
|
|
17868
|
+
_this.id_applicativo +
|
|
17869
|
+
"/" +
|
|
17870
|
+
_this.id_documento +
|
|
17871
|
+
"/edit", _this.m_obj.codice, _this.nota, true, ical, false);
|
|
17872
|
+
}
|
|
17873
|
+
});
|
|
17874
|
+
}
|
|
17875
|
+
if (this.nlevel.tipo_notifica_aggiuntiva == 3) {
|
|
17876
|
+
var p_3 = new QParam();
|
|
17877
|
+
p_3.sql = "SELECT_ALL_USERS_DOC";
|
|
17878
|
+
p_3.values = [this.id_applicativo, this.id_documento];
|
|
17879
|
+
p_3.types = ["string", "string"];
|
|
17880
|
+
this.m_dataService.doQuery(p_3).subscribe(function (data) {
|
|
17881
|
+
if (data != null)
|
|
17882
|
+
if (data.result_msg == "OK") {
|
|
17883
|
+
var lista_p = _this.user_idp;
|
|
17884
|
+
for (var i = 0; i < data.result_data.length; i++)
|
|
17885
|
+
if (lista_p.indexOf(data.result_data[i].username) == -1) {
|
|
17886
|
+
console.log("username:", data.result_data[i].username);
|
|
17887
|
+
lista_p += ",";
|
|
17888
|
+
lista_p += data.result_data[i].username;
|
|
17904
17889
|
}
|
|
17905
|
-
|
|
17906
|
-
|
|
17907
|
-
|
|
17890
|
+
_this.sendEMail_ex(_this.user_idp, lista_p, s_ogg, _this.m_statox + "<br>" + _this.getDescri() + comm, _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT +
|
|
17891
|
+
"#/" +
|
|
17892
|
+
_this.app_info.modulo_swf +
|
|
17893
|
+
"/" +
|
|
17894
|
+
_this.id_applicativo +
|
|
17895
|
+
"/" +
|
|
17896
|
+
_this.id_documento +
|
|
17897
|
+
"/edit", _this.m_obj.codice, _this.nota, true, ical, false);
|
|
17898
|
+
}
|
|
17899
|
+
});
|
|
17908
17900
|
}
|
|
17909
17901
|
}
|
|
17910
|
-
|
|
17911
|
-
this.goto_edit_doc();
|
|
17902
|
+
this.goto_edit_doc();
|
|
17912
17903
|
};
|
|
17913
17904
|
dati_aggiuntivi.prototype.sendEMail_ex = function (mit, to, ogg, descri, idapp, iddoc, link, cc, nota, notif_av, ical, b_exit) {
|
|
17914
17905
|
var _this = this;
|