@fluxhub/fluxhub-lib 10.0.350 → 10.0.352
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 +7 -3
- 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 +6 -10
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +4 -2
- package/esm2015/lib/wkf_engine_v2/wkf_header_bar.js +4 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +11 -11
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkf_header_bar.d.ts +1 -0
- package/lib/wkf_engine_v2/wkf_header_bar.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2995,7 +2995,7 @@
|
|
|
2995
2995
|
FHFormToolBarComponent.decorators = [
|
|
2996
2996
|
{ type: i0.Component, args: [{
|
|
2997
2997
|
selector: "FHFormToolBar",
|
|
2998
|
-
template: "\n <div fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"5px\"\n [hidden]=\"is_editing\"\n fxLayoutAlign=\"start center\"\n >\n <button mat-flat-button [hidden]=\"!show_back\" (click)=\"back()\">{{ mgs_back }}</button
|
|
2998
|
+
template: "\n <div fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"5px\"\n [hidden]=\"is_editing\"\n fxLayoutAlign=\"start center\"\n >\n <button mat-flat-button [hidden]=\"!show_back\" (click)=\"back()\">{{ mgs_back }}</button>\n <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>\n <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>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"5px\"\n [hidden]=\"!is_editing\"\n fxLayoutAlign=\"start center\">\n <button mat-flat-button [hidden]=\"!show_back\" (click)=\"back_ask_save()\">{{ mgs_back }}</button>\n <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>\n\n <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>\n </div>\n <div\n *ngIf=\"custom_commands.length > 0\"\n fxLayoutGap=\"5px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n >\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\"\n fxLayoutGap=\"5px\">\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 }}\n </button>\n </div>\n </div>\n </div>\n ",
|
|
2999
2999
|
styles: [""]
|
|
3000
3000
|
},] }
|
|
3001
3001
|
];
|
|
@@ -12154,6 +12154,7 @@
|
|
|
12154
12154
|
this.respingi_button = false;
|
|
12155
12155
|
this.procedi_button = true;
|
|
12156
12156
|
this.utility_button = true;
|
|
12157
|
+
this.download_button = true;
|
|
12157
12158
|
this.force_save = false;
|
|
12158
12159
|
this.check_on_save = false;
|
|
12159
12160
|
this.admin_role = '[ZZZ_DIS_CC]';
|
|
@@ -12206,7 +12207,7 @@
|
|
|
12206
12207
|
wkf_header_bar.decorators = [
|
|
12207
12208
|
{ type: i0.Component, args: [{
|
|
12208
12209
|
selector: "wkf_header_bar",
|
|
12209
|
-
template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\" fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n Indietro</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"edit_button || force_save\"\n color=\"primary\"\n >\n Salva</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"edit_button && procedi_button\"\n color=\"accent\"\n >\n Procedi</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"respingi()\"\n *ngIf=\"respingi_button\"\n color=\"warn\"\n >\n Respingi\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button> \n-->\n </div>\n \n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"3px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon> Info Doc</button\n ></div><div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon>Commenti</button\n ></div>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon>Allegati</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon>Workflow\n </button>\n </div> </div>\n </div>\n </div>\n "
|
|
12210
|
+
template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\" fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n Indietro</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"edit_button || force_save\"\n color=\"primary\"\n >\n Salva</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"edit_button && procedi_button\"\n color=\"accent\"\n >\n Procedi</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"respingi()\"\n *ngIf=\"respingi_button\"\n color=\"warn\"\n >\n Respingi\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button> \n-->\n </div>\n \n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"3px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon> Info Doc</button\n ></div><div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon>Commenti</button\n ></div>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div [hidden]=\"!download_button\">\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon>Allegati</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon>Workflow\n </button>\n </div> </div>\n </div>\n </div>\n "
|
|
12210
12211
|
},] }
|
|
12211
12212
|
];
|
|
12212
12213
|
wkf_header_bar.ctorParameters = function () { return [
|
|
@@ -12218,6 +12219,7 @@
|
|
|
12218
12219
|
respingi_button: [{ type: i0.Input }],
|
|
12219
12220
|
procedi_button: [{ type: i0.Input }],
|
|
12220
12221
|
utility_button: [{ type: i0.Input }],
|
|
12222
|
+
download_button: [{ type: i0.Input }],
|
|
12221
12223
|
force_save: [{ type: i0.Input }],
|
|
12222
12224
|
check_on_save: [{ type: i0.Input }],
|
|
12223
12225
|
admin_role: [{ type: i0.Input }],
|
|
@@ -15620,6 +15622,7 @@
|
|
|
15620
15622
|
this.utility_button = true;
|
|
15621
15623
|
this.force_save = false;
|
|
15622
15624
|
this.check_on_save = false;
|
|
15625
|
+
this.download_button = true;
|
|
15623
15626
|
this.b_revisione = false;
|
|
15624
15627
|
this.admin_role = '[ZZZ_DIS_CC]';
|
|
15625
15628
|
this.sovra_path = '';
|
|
@@ -15676,7 +15679,7 @@
|
|
|
15676
15679
|
wkf_header_bar_v2.decorators = [
|
|
15677
15680
|
{ type: i0.Component, args: [{
|
|
15678
15681
|
selector: "wkf_header_bar_v2",
|
|
15679
|
-
template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayoutGap=\"15px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n Indietro</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"edit_button || force_save\"\n color=\"primary\"\n >\n Salva</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"edit_button && procedi_button\"\n color=\"accent\"\n >\n Procedi</button\n ></div><div *ngIf=\"respingi_button\">\n <button\n mat-flat-button\n (click)=\"respingi()\"\n\n color=\"warn\"\n >\n Respingi\n </button>\n </div>\n <div *ngIf=\"b_revisione\">\n <button\n mat-flat-button\n (click)=\"revisione()\"\n\n color=\"accent\"\n >\n Revisione\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button> \n-->\n </div>\n \n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"8px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon> Info Doc</button\n ></div>\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon>Commenti</button\n ></div>\n\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon>Allegati</button\n ></div>\n\n <div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon>Workflow\n </button>\n </div>\n\n\n\n </div>\n </div>\n </div>\n "
|
|
15682
|
+
template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayoutGap=\"15px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n Indietro</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n *ngIf=\"edit_button || force_save\"\n color=\"primary\"\n >\n Salva</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"edit_button && procedi_button\"\n color=\"accent\"\n >\n Procedi</button\n ></div><div *ngIf=\"respingi_button\">\n <button\n mat-flat-button\n (click)=\"respingi()\"\n\n color=\"warn\"\n >\n Respingi\n </button>\n </div>\n <div *ngIf=\"b_revisione\">\n <button\n mat-flat-button\n (click)=\"revisione()\"\n\n color=\"accent\"\n >\n Revisione\n </button>\n </div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button> \n-->\n </div>\n \n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"8px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon> Info Doc</button\n ></div>\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon>Commenti</button\n ></div>\n\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div [hidden]=\"!download_button\">\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon>Allegati</button\n ></div>\n\n <div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon>Workflow\n </button>\n </div>\n\n\n\n </div>\n </div>\n </div>\n "
|
|
15680
15683
|
},] }
|
|
15681
15684
|
];
|
|
15682
15685
|
wkf_header_bar_v2.ctorParameters = function () { return [
|
|
@@ -15690,6 +15693,7 @@
|
|
|
15690
15693
|
utility_button: [{ type: i0.Input }],
|
|
15691
15694
|
force_save: [{ type: i0.Input }],
|
|
15692
15695
|
check_on_save: [{ type: i0.Input }],
|
|
15696
|
+
download_button: [{ type: i0.Input }],
|
|
15693
15697
|
b_revisione: [{ type: i0.Input }],
|
|
15694
15698
|
admin_role: [{ type: i0.Input }],
|
|
15695
15699
|
sovra_path: [{ type: i0.Input }],
|