@fluxhub/fluxhub-lib 1.0.555 → 1.0.556

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.
@@ -7364,9 +7364,11 @@ class FHGridComponent {
7364
7364
  this.show_pulisci_filtri = false;
7365
7365
  }
7366
7366
  /**
7367
+ * @param {?=} format
7367
7368
  * @return {?}
7368
7369
  */
7369
- export_excel() {
7370
+ export_excel(format = 'xlsx') {
7371
+ format = '.' + format;
7370
7372
  this.uiid_stampa = this.uti_s.newGuid();
7371
7373
  this.xxopx = 0;
7372
7374
  this.dialogRef_W = this.m_dialog.open(WinWait, {
@@ -7377,19 +7379,28 @@ class FHGridComponent {
7377
7379
  let cmds = [];
7378
7380
  /** @type {?} */
7379
7381
  let str_fields = "";
7382
+ /** @type {?} */
7383
+ let p_col = this.gridOptions.columnApi.getColumnState();
7380
7384
  for (let i = 0; i < this.columnDefs.length; i++)
7381
7385
  if (this.columnDefs[i] != null)
7382
7386
  if (this.columnDefs[i].field != null)
7383
7387
  if (this.columnDefs[i].headerName != null)
7384
7388
  if (this.columnDefs[i].field != '')
7385
- if (this.columnDefs[i].headerName != '') {
7386
- if (str_fields != '')
7387
- str_fields += ',';
7388
- str_fields += '[' + this.columnDefs[i].field + '] [' + this.columnDefs[i].headerName + ']';
7389
- }
7390
- cmds.push(this.officeService.operation("EXCEL_APRI_EXP_GRID_NEW", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
7391
- cmds.push(this.officeService.operation("EXCEL_CREA_TABELLA_FROM_DB_EXP_GRID_NEW", "select " + str_fields + " from " + this.tbl_name + " " + this.str_curr_q_p, "", this.xxopx++));
7392
- cmds.push(this.officeService.operation("EXCEL_SALVA_EXP_GRID_NEW", "" + this.uiid_stampa + "_" + this.m_appService.user + ".xlsx", "", this.xxopx++));
7389
+ if (this.columnDefs[i].headerName != '')
7390
+ for (let j = 0; j < p_col.length; j++) {
7391
+ if (this.columnDefs[i].field == p_col[j].colId) {
7392
+ if (!p_col[j].hide) {
7393
+ if (str_fields != '')
7394
+ str_fields += ',';
7395
+ str_fields += '[' + this.columnDefs[i].field + '] [' + this.columnDefs[i].headerName + ']';
7396
+ }
7397
+ }
7398
+ }
7399
+ if (this.fields.indexOf('DISTINCT') != -1)
7400
+ str_fields = 'DISTINCT ' + str_fields;
7401
+ cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
7402
+ cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " + str_fields + " from " + this.tbl_name + " " + this.str_curr_q_p, "3", this.xxopx++));
7403
+ cmds.push(this.officeService.operation("GB_XLS_SAVE", this.m_appService.LOCAL_PATH + "grid_reports\\" + this.uiid_stampa + "_" + this.m_appService.user + format, "", this.xxopx++));
7393
7404
  this.officeService.runCommands(this.uiid_stampa, cmds, this.dialogRef_W).subscribe((/**
7394
7405
  * @param {?} data
7395
7406
  * @return {?}
@@ -7400,7 +7411,7 @@ class FHGridComponent {
7400
7411
  let p = new FSInput();
7401
7412
  p.p1 =
7402
7413
  this.m_appService.LOCAL_PATH + "grid_reports\\" + this.uiid_stampa + "_" + this.m_appService.user +
7403
- ".xlsx";
7414
+ format;
7404
7415
  p.command = "check_file";
7405
7416
  this._fileService.doQuery(p).subscribe((/**
7406
7417
  * @param {?} data
@@ -7431,11 +7442,17 @@ class FHGridComponent {
7431
7442
  else {
7432
7443
  window.open(this.m_appService.COMPANY_SITE_ROOT + "/grid_reports/" +
7433
7444
  this.uiid_stampa + "_" + this.m_appService.user +
7434
- ".xlsx");
7445
+ format);
7435
7446
  }
7436
7447
  }));
7437
7448
  }));
7438
7449
  }
7450
+ /**
7451
+ * @return {?}
7452
+ */
7453
+ print() {
7454
+ this.export_excel('pdf');
7455
+ }
7439
7456
  /**
7440
7457
  * @private
7441
7458
  * @return {?}
@@ -8024,7 +8041,7 @@ class FHGridComponent {
8024
8041
  FHGridComponent.decorators = [
8025
8042
  { type: Component, args: [{
8026
8043
  selector: 'FHGrid',
8027
- template: "\r\n<div fxLayout=\"column\" fxFlexFill>\r\n\r\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutAlign=\"center start\" fxLayoutGap=\"3px\" style=\"min-height: 55px\" [hidden]=\"!show_buttons\">\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\" >\r\n <div>\r\n\t\t \t\t<h5>{{num_r}}&nbsp;{{label_elementi}}</h5>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n\r\n\t\t\t<div fxLayout=\"row\" fxLayoutAlign=\"start center\">\t<input matInput [placeholder]=\"trova_label\" (keydown)=\"keyDownFunctioncl($event)\" [(ngModel)]=\"ric_libera\"\r\n\t\t\t\t\t\t\t style=\"min-width:100px;max-width:180px;border:1px solid;min-height:30px\"></div>\r\n <div matTooltip=\"REMOVE FILTER\" matTooltipPosition=\"above\" *ngIf=\"show_pulisci_filtri\" >\r\n \t\t\t<button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\r\n\t\t\t\t<mat-icon>filter_none</mat-icon>&nbsp;\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n \t\t\t<button mat-flat-button (click)=\"autoSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>compare_arrows</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\r\n\t \t\t<button mat-flat-button (click)=\"fitSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>keyboard_tab</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"Refresh()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n <FHFilterComboBox fxHide fxShow.gt-sm [hidden]='!show_buttons' (selchange)=\"ch_config()\" (fillend)=\"fe_cfg()\" #gf init_fill=\"false\"></FHFilterComboBox>\r\n\t\t\t\t<div matTooltip=\"Modifica Preferenza\" matTooltipPosition=\"above\" *ngIf=\"curr_config!='-1'\">\r\n\t\t\t\t\t<button mat-icon-button *ngIf=\"show_buttons\"\r\n\t\t\t\t\t\t\t\t\tstyle=\"color:rgb(248, 105, 10)\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"edit_config()\">save</mat-icon>\r\n </button>\r\n\t\t\t\t</div>\r\n <div matTooltip=\"Elimina Preferenza\" matTooltipPosition=\"above\" *ngIf=\"curr_config!='-1'\">\r\n <button mat-icon-button *ngIf=\"show_buttons\"\r\n style=\"color:rgb(248, 105, 10)\">\r\n <mat-icon (click)=\"elimina_config()\">delete</mat-icon>\r\n </button>\r\n\r\n </div>\r\n\t\t\t\t<div fxHide fxShow.gt-sm matTooltip=\"Crea Nuova Preferenza\" matTooltipPosition=\"above\">\r\n\t\t\t\t\t<button mat-icon-button style=\"color:rgb(16, 98, 16)\" *ngIf=\"show_buttons\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"insert_config()\">library_add</mat-icon>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n <mat-slide-toggle fxHide fxShow.gt-sm [hidden]='!show_buttons' (click)=\"ck_flag()\" #toggle_mantieni>\r\n\t\t\t\t\t{{mantieni_impostazioni}}\r\n\t\t\t\t</mat-slide-toggle>\r\n\r\n\r\n \t&nbsp;\t<div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"help_window()\" color=\"primary\" *ngIf=\"show_buttons && show_help\" >\r\n\t\t\t<mat-icon>help</mat-icon>\r\n </button></div>&nbsp;&nbsp;&nbsp;&nbsp;\r\n <div *ngIf=\"abilita_export\" matTooltip=\"EXPORT EXCEL\" matTooltipPosition=\"above\">\r\n <img src=\"assets/icons/square-o/xlsx.svg\" style=\"width:24px;height: 24px;cursor:pointer;\" (click)=\"export_excel()\" alt=\"Export Excel\">\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" style=\"width: 100%;\" *ngIf=\"enabled\">\r\n <FHGridToolBar (command)=\"docmd($event)\" [type]=\"toolbar_type\"\r\n\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n\r\n ></FHGridToolBar>\r\n\t\t</div>\r\n </div>\r\n\r\n <div fxLayout=\"row\" style=\"width:100%\" [fxFlex]=\"show_buttons ? 100:95\">\r\n<ag-grid-angular\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%;\"\r\n id=\"myGrid\"\r\n\t\t\t\t\t\t\t\t (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n\t\t\t\t\t\t\t\t [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n\r\n\t\t\t\t\t\t\t\t class=\"ag-theme-balham\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n\t\t\t\t\t\t\t\t [rowData]=\"rowData\"\r\n [getContextMenuItems]=\"abilita_export ? getContextMenuItems_e:getContextMenuItems_n_e\"\r\n\r\n (filterModified)=\"onFilterModified()\"\r\n\t\t\t\t\t\t\t\t (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n\t\t\t\t\t\t\t\t (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\r\n\t\t\t\t\t\t\t\t (columnResized)=\"oncolumnEverythingChanged($event)\"\r\n\t\t\t\t\t\t\t\t (columnMoved)=\"oncolumnEverythingChanged($event)\"\r\n (cellValueChanged)=\"okr($event)\"\r\n\t\t\t\t\t\t\t\t (sortChanged)=\"onAfterSortChanged()\"\r\n [paginationPageSize]=\"num_per_pag\"\r\n (gridReady)=\"onReady($event)\">\r\n</ag-grid-angular>\r\n</div>\r\n</div>\r\n",
8044
+ template: "\r\n<div fxLayout=\"column\" fxFlexFill>\r\n\r\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutAlign=\"center start\" fxLayoutGap=\"3px\" style=\"min-height: 55px\" [hidden]=\"!show_buttons\">\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\" >\r\n <div>\r\n\t\t \t\t<h5>{{num_r}}&nbsp;{{label_elementi}}</h5>\r\n </div>\r\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n\r\n\t\t\t<div fxLayout=\"row\" fxLayoutAlign=\"start center\">\t<input matInput [placeholder]=\"trova_label\" (keydown)=\"keyDownFunctioncl($event)\" [(ngModel)]=\"ric_libera\"\r\n\t\t\t\t\t\t\t style=\"min-width:100px;max-width:180px;border:1px solid;min-height:30px\"></div>\r\n <div matTooltip=\"REMOVE FILTER\" matTooltipPosition=\"above\" *ngIf=\"show_pulisci_filtri\" >\r\n \t\t\t<button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\r\n\t\t\t\t<mat-icon>filter_none</mat-icon>&nbsp;\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n \t\t\t<button mat-flat-button (click)=\"autoSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>compare_arrows</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\r\n\t \t\t<button mat-flat-button (click)=\"fitSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>keyboard_tab</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"Refresh()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n <FHFilterComboBox fxHide fxShow.gt-sm [hidden]='!show_buttons' (selchange)=\"ch_config()\" (fillend)=\"fe_cfg()\" #gf init_fill=\"false\"></FHFilterComboBox>\r\n\t\t\t\t<div matTooltip=\"Modifica Preferenza\" matTooltipPosition=\"above\" *ngIf=\"curr_config!='-1'\">\r\n\t\t\t\t\t<button mat-icon-button *ngIf=\"show_buttons\"\r\n\t\t\t\t\t\t\t\t\tstyle=\"color:rgb(248, 105, 10)\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"edit_config()\">save</mat-icon>\r\n </button>\r\n\t\t\t\t</div>\r\n <div matTooltip=\"Elimina Preferenza\" matTooltipPosition=\"above\" *ngIf=\"curr_config!='-1'\">\r\n <button mat-icon-button *ngIf=\"show_buttons\"\r\n style=\"color:rgb(248, 105, 10)\">\r\n <mat-icon (click)=\"elimina_config()\">delete</mat-icon>\r\n </button>\r\n\r\n </div>\r\n\t\t\t\t<div fxHide fxShow.gt-sm matTooltip=\"Crea Nuova Preferenza\" matTooltipPosition=\"above\">\r\n\t\t\t\t\t<button mat-icon-button style=\"color:rgb(16, 98, 16)\" *ngIf=\"show_buttons\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"insert_config()\">library_add</mat-icon>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n <mat-slide-toggle fxHide fxShow.gt-sm [hidden]='!show_buttons' (click)=\"ck_flag()\" #toggle_mantieni>\r\n\t\t\t\t\t{{mantieni_impostazioni}}\r\n\t\t\t\t</mat-slide-toggle>\r\n\r\n\r\n \t&nbsp;\t<div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"help_window()\" color=\"primary\" *ngIf=\"show_buttons && show_help\" >\r\n\t\t\t<mat-icon>help</mat-icon>\r\n </button></div>&nbsp;&nbsp;&nbsp;&nbsp;\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0\" *ngIf=\"abilita_export\" matTooltip=\"STAMPA\" matTooltipPosition=\"above\">\r\n <mat-icon (click)=\"print()\" style=\"cursor:pointer\" >print</mat-icon>\r\n </div>&nbsp;&nbsp;&nbsp;\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0\" *ngIf=\"abilita_export\" matTooltip=\"EXPORT EXCEL\" matTooltipPosition=\"above\">\r\n <img src=\"assets/icons/square-o/xlsx.svg\" style=\"width:24px;height: 24px;cursor:pointer;\" (click)=\"export_excel()\" alt=\"Export Excel\">\r\n </div>\r\n\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" style=\"width: 100%;\" *ngIf=\"enabled\">\r\n <FHGridToolBar (command)=\"docmd($event)\" [type]=\"toolbar_type\"\r\n\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n\r\n ></FHGridToolBar>\r\n\t\t</div>\r\n </div>\r\n\r\n <div fxLayout=\"row\" style=\"width:100%\" [fxFlex]=\"show_buttons ? 100:95\">\r\n<ag-grid-angular\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%;\"\r\n id=\"myGrid\"\r\n\t\t\t\t\t\t\t\t (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n\t\t\t\t\t\t\t\t [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n\r\n\t\t\t\t\t\t\t\t class=\"ag-theme-balham\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n\t\t\t\t\t\t\t\t [rowData]=\"rowData\"\r\n [getContextMenuItems]=\"abilita_export ? getContextMenuItems_e:getContextMenuItems_n_e\"\r\n\r\n (filterModified)=\"onFilterModified()\"\r\n\t\t\t\t\t\t\t\t (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n\t\t\t\t\t\t\t\t (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\r\n\t\t\t\t\t\t\t\t (columnResized)=\"oncolumnEverythingChanged($event)\"\r\n\t\t\t\t\t\t\t\t (columnMoved)=\"oncolumnEverythingChanged($event)\"\r\n (cellValueChanged)=\"okr($event)\"\r\n\t\t\t\t\t\t\t\t (sortChanged)=\"onAfterSortChanged()\"\r\n [paginationPageSize]=\"num_per_pag\"\r\n (gridReady)=\"onReady($event)\">\r\n</ag-grid-angular>\r\n</div>\r\n</div>\r\n",
8028
8045
  styles: [`
8029
8046
 
8030
8047
  `]
@@ -12789,19 +12806,14 @@ class win_commenti {
12789
12806
  * @return {?}
12790
12807
  */
12791
12808
  data => {
12792
- /** @type {?} */
12793
- let ok_op = false;
12794
12809
  if (data != null)
12795
12810
  if (data.result_msg == "OK") {
12796
12811
  this.commenti_list = data.result_data;
12797
- for (var i = 0; i < this.commenti_list.length; i++) {
12812
+ for (let i = 0; i < this.commenti_list.length; i++) {
12798
12813
  this.commenti_list[i].v_commento = '<b>' + this.commenti_list[i].commento.replace(/\n/g, '<br/>') + '</b>';
12799
12814
  }
12800
- ok_op = true;
12815
+ this.title = 'COMMENTI';
12801
12816
  }
12802
- if (!ok_op) {
12803
- this.toastr.error("ERRORE", data.msg);
12804
- }
12805
12817
  }), (/**
12806
12818
  * @param {?} err
12807
12819
  * @return {?}
@@ -12821,7 +12833,7 @@ class win_commenti {
12821
12833
  this.toastr.error("INSERIRE UN COMMENTO");
12822
12834
  return;
12823
12835
  }
12824
- if (this.notifica_commenti == 1)
12836
+ if (this.notifica_commenti != 2)
12825
12837
  this.select_destinatari();
12826
12838
  else
12827
12839
  this.select_destinatari_grp();
@@ -16924,7 +16936,7 @@ class dati_aggiuntivi {
16924
16936
  () => { this.init_user_i(); this.init_engine(); }), 100);
16925
16937
  return;
16926
16938
  }
16927
- console.log('init_engine ');
16939
+ //console.log('init_engine ');
16928
16940
  this.m_route.params.subscribe((/**
16929
16941
  * @param {?} params
16930
16942
  * @return {?}
@@ -17071,7 +17083,6 @@ class wkf_header_bar {
17071
17083
  this.edit_button = false;
17072
17084
  this.respingi_button = false;
17073
17085
  this.procedi_button = true;
17074
- this.icon_mode = false;
17075
17086
  }
17076
17087
  /**
17077
17088
  * @return {?}
@@ -17124,7 +17135,7 @@ wkf_header_bar.decorators = [
17124
17135
  selector: 'wkf_header_bar',
17125
17136
  template: `
17126
17137
 
17127
- <div fxLayout="row" fxLayoutGap="3px" style="background-color: #F5F5F5" *ngIf="!icon_mode">
17138
+
17128
17139
  <div fxLayout="row" fxLayout.xs="column" fxLayoutGap="3px" *ngIf="!m_appService.getState().pageFullscreen || edit_button || respingi_button">
17129
17140
  <button mat-flat-button (click)="back()" *ngIf="!m_appService.getState().pageFullscreen">Indietro</button>&nbsp;&nbsp;
17130
17141
  <button mat-flat-button (click)="evt_salv()" *ngIf="edit_button && !m_appService.getState().pageFullscreen" color="primary" >Salva</button>&nbsp;&nbsp;
@@ -17140,27 +17151,7 @@ wkf_header_bar.decorators = [
17140
17151
  <button mat-flat-button (click)="open_upload()"> <mat-icon>attach_file</mat-icon>&nbsp;&nbsp;Allegati {{dt_agg?.all_c}}</button>&nbsp;&nbsp;
17141
17152
  <button mat-flat-button (click)="open_wkf()" *ngIf="!m_appService.getState().pageFullscreen"> <mat-icon>transfer_within_a_station</mat-icon>&nbsp;&nbsp;Workflow</button>
17142
17153
  </div>
17143
- </div>
17144
- <div fxLayout="row" fxLayoutGap="3px" style="background-color: #F5F5F5" *ngIf="icon_mode">
17145
- <div fxLayout="row" fxLayout.xs="column" fxLayoutGap="3px" *ngIf="!m_appService.getState().pageFullscreen || edit_button || respingi_button">
17146
- <mat-icon matTooltip="Indietro"(click)="back()" style="cursor:pointer" >list</mat-icon>&nbsp;&nbsp;
17147
- <mat-icon matTooltip="Salva" (click)="evt_salv()" *ngIf="edit_button && !m_appService.getState().pageFullscreen" style="cursor:pointer" >save</mat-icon>&nbsp;&nbsp;
17148
- <mat-icon matTooltip="Procedi" (click)="procedi()" *ngIf="edit_button && procedi_button" style="cursor:pointer" >check</mat-icon>&nbsp;&nbsp;
17149
- <mat-icon matTooltip="Respingi" (click)="respingi()" *ngIf="respingi_button" style="cursor:pointer" >cancel_presentation</mat-icon>&nbsp;&nbsp;
17150
-
17151
-
17152
- <!-- <button mat-flat-button (click)="doEnd(900)" color="warn" >test</button>&nbsp;&nbsp;
17153
- -->
17154
- </div>
17155
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
17156
- <div fxLayout="row" fxLayout.xs="column" fxLayoutGap="3px" >
17157
- <mat-icon matTooltip="Info Doc" (click)="open_info()" *ngIf="!m_appService.getState().pageFullscreen">info_outline</mat-icon>&nbsp;&nbsp;
17158
- <mat-icon [matTooltip]="'Commenti '+dt_agg?.comm_c" (click)="open_commenti()">insert_comment</mat-icon>&nbsp;&nbsp;
17159
- <mat-icon [matTooltip]="'Allegati '+dt_agg?.all_c" (click)="open_upload()">attach_file</mat-icon>&nbsp;&nbsp;
17160
- <mat-icon [matTooltip]="'Workflow'" *ngIf="!m_appService.getState().pageFullscreen" (click)="open_wkf()">transfer_within_a_station</mat-icon>
17161
-
17162
- </div>
17163
- </div>
17154
+
17164
17155
  `
17165
17156
  }] }
17166
17157
  ];
@@ -17172,8 +17163,7 @@ wkf_header_bar.propDecorators = {
17172
17163
  dt_agg: [{ type: Input }],
17173
17164
  edit_button: [{ type: Input }],
17174
17165
  respingi_button: [{ type: Input }],
17175
- procedi_button: [{ type: Input }],
17176
- icon_mode: [{ type: Input }]
17166
+ procedi_button: [{ type: Input }]
17177
17167
  };
17178
17168
 
17179
17169
  /**