@fluxhub/fluxhub-lib 10.0.530 → 10.0.532
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 +39 -27
- 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/wkf_engine/wkf_header_bar.js +27 -9
- package/esm2015/lib/wkf_engine_v2/wkf_header_bar.js +21 -28
- package/fesm2015/fluxhub-fluxhub-lib.js +46 -34
- 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 +9 -0
- package/lib/wkf_engine_v2/wkf_header_bar.d.ts +10 -13
- package/package.json +1 -1
|
@@ -12736,6 +12736,15 @@
|
|
|
12736
12736
|
this.command = new i0.EventEmitter();
|
|
12737
12737
|
this.admin_role = '[ZZZ_DIS_CC]';
|
|
12738
12738
|
this.sovra_path = '';
|
|
12739
|
+
this.back_lbl = 'Indietro';
|
|
12740
|
+
this.save_lbl = 'Salva';
|
|
12741
|
+
this.procedi_lbl = 'Procedi';
|
|
12742
|
+
this.respingi_lbl = 'Respingi';
|
|
12743
|
+
this.revisione_lbl = 'Revisione';
|
|
12744
|
+
this.info_doc_lbl = 'Info Doc';
|
|
12745
|
+
this.commenti_lbl = 'Commenti';
|
|
12746
|
+
this.allegati_lbl = 'Allegati';
|
|
12747
|
+
this.workflow_lbl = 'Workflow';
|
|
12739
12748
|
this.button_clicked = new i0.EventEmitter();
|
|
12740
12749
|
}
|
|
12741
12750
|
wkf_header_bar.prototype.exec_command = function (command) {
|
|
@@ -12787,7 +12796,7 @@
|
|
|
12787
12796
|
wkf_header_bar.decorators = [
|
|
12788
12797
|
{ type: i0.Component, args: [{
|
|
12789
12798
|
selector: "wkf_header_bar",
|
|
12790
|
-
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
|
|
12799
|
+
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 {{back_lbl}}</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 {{save_lbl}}</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_lbl}}</button\n ></div><div>\n <button\n mat-flat-button\n (click)=\"respingi()\"\n *ngIf=\"respingi_button\"\n color=\"warn\"\n >\n {{respingi_lbl}}\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_lbl}}</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_lbl}}</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_lbl}}</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_lbl}\n </button>\n </div> </div>\n </div>\n <div\n *ngIf=\"custom_commands.length > 0\"\n fxLayoutGap=\"10px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n >\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\"\n fxLayoutGap=\"5px\">\n <div><button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >{{ app.label }}\n </button> </div>\n </div>\n </div>\n </div>\n "
|
|
12791
12800
|
},] }
|
|
12792
12801
|
];
|
|
12793
12802
|
wkf_header_bar.ctorParameters = function () { return [
|
|
@@ -12806,6 +12815,15 @@
|
|
|
12806
12815
|
command: [{ type: i0.Output }],
|
|
12807
12816
|
admin_role: [{ type: i0.Input }],
|
|
12808
12817
|
sovra_path: [{ type: i0.Input }],
|
|
12818
|
+
back_lbl: [{ type: i0.Input }],
|
|
12819
|
+
save_lbl: [{ type: i0.Input }],
|
|
12820
|
+
procedi_lbl: [{ type: i0.Input }],
|
|
12821
|
+
respingi_lbl: [{ type: i0.Input }],
|
|
12822
|
+
revisione_lbl: [{ type: i0.Input }],
|
|
12823
|
+
info_doc_lbl: [{ type: i0.Input }],
|
|
12824
|
+
commenti_lbl: [{ type: i0.Input }],
|
|
12825
|
+
allegati_lbl: [{ type: i0.Input }],
|
|
12826
|
+
workflow_lbl: [{ type: i0.Input }],
|
|
12809
12827
|
button_clicked: [{ type: i0.Output }]
|
|
12810
12828
|
};
|
|
12811
12829
|
|
|
@@ -16216,9 +16234,8 @@
|
|
|
16216
16234
|
};
|
|
16217
16235
|
|
|
16218
16236
|
var wkf_header_bar_v2 = /** @class */ (function () {
|
|
16219
|
-
function wkf_header_bar_v2(m_appService
|
|
16237
|
+
function wkf_header_bar_v2(m_appService) {
|
|
16220
16238
|
this.m_appService = m_appService;
|
|
16221
|
-
this._trsp = _trsp;
|
|
16222
16239
|
this.custom_commands = [];
|
|
16223
16240
|
this.dt_agg = null;
|
|
16224
16241
|
this.edit_button = false;
|
|
@@ -16228,21 +16245,20 @@
|
|
|
16228
16245
|
this.force_save = false;
|
|
16229
16246
|
this.check_on_save = false;
|
|
16230
16247
|
this.download_button = true;
|
|
16231
|
-
this.
|
|
16248
|
+
this.back_lbl = 'Indietro';
|
|
16249
|
+
this.save_lbl = 'Salva';
|
|
16250
|
+
this.procedi_lbl = 'Procedi';
|
|
16251
|
+
this.respingi_lbl = 'Respingi';
|
|
16252
|
+
this.revisione_lbl = 'Revisione';
|
|
16253
|
+
this.info_doc_lbl = 'Info Doc';
|
|
16254
|
+
this.commenti_lbl = 'Commenti';
|
|
16255
|
+
this.allegati_lbl = 'Allegati';
|
|
16256
|
+
this.workflow_lbl = 'Workflow';
|
|
16232
16257
|
this.b_revisione = false;
|
|
16233
16258
|
this.admin_role = '[ZZZ_DIS_CC]';
|
|
16234
16259
|
this.sovra_path = '';
|
|
16235
16260
|
this.command = new i0.EventEmitter();
|
|
16236
16261
|
this.button_clicked = new i0.EventEmitter();
|
|
16237
|
-
this.back_lbl = '';
|
|
16238
|
-
this.save_lbl = '';
|
|
16239
|
-
this.procedi_lbl = '';
|
|
16240
|
-
this.respingi_lbl = '';
|
|
16241
|
-
this.revisione_lbl = '';
|
|
16242
|
-
this.info_doc_lbl = '';
|
|
16243
|
-
this.commenti_lbl = '';
|
|
16244
|
-
this.allegati_lbl = '';
|
|
16245
|
-
this.workflow_lbl = '';
|
|
16246
16262
|
}
|
|
16247
16263
|
wkf_header_bar_v2.prototype.exec_command = function (command) {
|
|
16248
16264
|
this.command.emit({ cmd: command });
|
|
@@ -16293,17 +16309,6 @@
|
|
|
16293
16309
|
this.dt_agg.open_wkf();
|
|
16294
16310
|
};
|
|
16295
16311
|
wkf_header_bar_v2.prototype.ngAfterViewInit = function () {
|
|
16296
|
-
if (this._trs == null)
|
|
16297
|
-
this._trs = this._trsp;
|
|
16298
|
-
this.back_lbl = this._trs.instant('Indietro');
|
|
16299
|
-
this.save_lbl = this._trs.instant('Salva');
|
|
16300
|
-
this.procedi_lbl = this._trs.instant('Procedi');
|
|
16301
|
-
this.respingi_lbl = this._trs.instant('Respingi');
|
|
16302
|
-
this.revisione_lbl = this._trs.instant('Revisione');
|
|
16303
|
-
this.info_doc_lbl = this._trs.instant('Info Doc');
|
|
16304
|
-
this.commenti_lbl = this._trs.instant('Commenti');
|
|
16305
|
-
this.allegati_lbl = this._trs.instant('Allegati');
|
|
16306
|
-
this.workflow_lbl = this._trs.instant('Workflow');
|
|
16307
16312
|
};
|
|
16308
16313
|
return wkf_header_bar_v2;
|
|
16309
16314
|
}());
|
|
@@ -16314,8 +16319,7 @@
|
|
|
16314
16319
|
},] }
|
|
16315
16320
|
];
|
|
16316
16321
|
wkf_header_bar_v2.ctorParameters = function () { return [
|
|
16317
|
-
{ type: AppService }
|
|
16318
|
-
{ type: core.TranslateService }
|
|
16322
|
+
{ type: AppService }
|
|
16319
16323
|
]; };
|
|
16320
16324
|
wkf_header_bar_v2.propDecorators = {
|
|
16321
16325
|
custom_commands: [{ type: i0.Input }],
|
|
@@ -16327,7 +16331,15 @@
|
|
|
16327
16331
|
force_save: [{ type: i0.Input }],
|
|
16328
16332
|
check_on_save: [{ type: i0.Input }],
|
|
16329
16333
|
download_button: [{ type: i0.Input }],
|
|
16330
|
-
|
|
16334
|
+
back_lbl: [{ type: i0.Input }],
|
|
16335
|
+
save_lbl: [{ type: i0.Input }],
|
|
16336
|
+
procedi_lbl: [{ type: i0.Input }],
|
|
16337
|
+
respingi_lbl: [{ type: i0.Input }],
|
|
16338
|
+
revisione_lbl: [{ type: i0.Input }],
|
|
16339
|
+
info_doc_lbl: [{ type: i0.Input }],
|
|
16340
|
+
commenti_lbl: [{ type: i0.Input }],
|
|
16341
|
+
allegati_lbl: [{ type: i0.Input }],
|
|
16342
|
+
workflow_lbl: [{ type: i0.Input }],
|
|
16331
16343
|
b_revisione: [{ type: i0.Input }],
|
|
16332
16344
|
admin_role: [{ type: i0.Input }],
|
|
16333
16345
|
sovra_path: [{ type: i0.Input }],
|