@fluxhub/fluxhub-lib 1.0.555 → 1.0.557

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,15 @@ 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
+ if (this.num_r > 15000) {
7372
+ this._toast.error('Massimo 15000 elementi esportabili');
7373
+ return;
7374
+ }
7375
+ format = '.' + format;
7370
7376
  this.uiid_stampa = this.uti_s.newGuid();
7371
7377
  this.xxopx = 0;
7372
7378
  this.dialogRef_W = this.m_dialog.open(WinWait, {
@@ -7377,19 +7383,28 @@ class FHGridComponent {
7377
7383
  let cmds = [];
7378
7384
  /** @type {?} */
7379
7385
  let str_fields = "";
7386
+ /** @type {?} */
7387
+ let p_col = this.gridOptions.columnApi.getColumnState();
7380
7388
  for (let i = 0; i < this.columnDefs.length; i++)
7381
7389
  if (this.columnDefs[i] != null)
7382
7390
  if (this.columnDefs[i].field != null)
7383
7391
  if (this.columnDefs[i].headerName != null)
7384
7392
  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++));
7393
+ if (this.columnDefs[i].headerName != '')
7394
+ for (let j = 0; j < p_col.length; j++) {
7395
+ if (this.columnDefs[i].field == p_col[j].colId) {
7396
+ if (!p_col[j].hide) {
7397
+ if (str_fields != '')
7398
+ str_fields += ',';
7399
+ str_fields += '[' + this.columnDefs[i].field + '] [' + this.columnDefs[i].headerName + ']';
7400
+ }
7401
+ }
7402
+ }
7403
+ if (this.fields.indexOf('DISTINCT') != -1)
7404
+ str_fields = 'DISTINCT ' + str_fields;
7405
+ cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
7406
+ 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++));
7407
+ 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
7408
  this.officeService.runCommands(this.uiid_stampa, cmds, this.dialogRef_W).subscribe((/**
7394
7409
  * @param {?} data
7395
7410
  * @return {?}
@@ -7400,7 +7415,7 @@ class FHGridComponent {
7400
7415
  let p = new FSInput();
7401
7416
  p.p1 =
7402
7417
  this.m_appService.LOCAL_PATH + "grid_reports\\" + this.uiid_stampa + "_" + this.m_appService.user +
7403
- ".xlsx";
7418
+ format;
7404
7419
  p.command = "check_file";
7405
7420
  this._fileService.doQuery(p).subscribe((/**
7406
7421
  * @param {?} data
@@ -7431,11 +7446,17 @@ class FHGridComponent {
7431
7446
  else {
7432
7447
  window.open(this.m_appService.COMPANY_SITE_ROOT + "/grid_reports/" +
7433
7448
  this.uiid_stampa + "_" + this.m_appService.user +
7434
- ".xlsx");
7449
+ format);
7435
7450
  }
7436
7451
  }));
7437
7452
  }));
7438
7453
  }
7454
+ /**
7455
+ * @return {?}
7456
+ */
7457
+ print() {
7458
+ this.export_excel('pdf');
7459
+ }
7439
7460
  /**
7440
7461
  * @private
7441
7462
  * @return {?}
@@ -8024,7 +8045,7 @@ class FHGridComponent {
8024
8045
  FHGridComponent.decorators = [
8025
8046
  { type: Component, args: [{
8026
8047
  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",
8048
+ 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 &nbsp;\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0\" *ngIf=\"abilita_export\" matTooltip=\"EXPORT PDF\" matTooltipPosition=\"above\">\r\n <img src=\"assets/icons/square-o/pdf.svg\" style=\"width:24px;height: 24px;cursor:pointer;\" (click)=\"print()\" alt=\"Export Excel\">\r\n </div>\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
8049
  styles: [`
8029
8050
 
8030
8051
  `]
@@ -12789,19 +12810,14 @@ class win_commenti {
12789
12810
  * @return {?}
12790
12811
  */
12791
12812
  data => {
12792
- /** @type {?} */
12793
- let ok_op = false;
12794
12813
  if (data != null)
12795
12814
  if (data.result_msg == "OK") {
12796
12815
  this.commenti_list = data.result_data;
12797
- for (var i = 0; i < this.commenti_list.length; i++) {
12816
+ for (let i = 0; i < this.commenti_list.length; i++) {
12798
12817
  this.commenti_list[i].v_commento = '<b>' + this.commenti_list[i].commento.replace(/\n/g, '<br/>') + '</b>';
12799
12818
  }
12800
- ok_op = true;
12819
+ this.title = 'COMMENTI';
12801
12820
  }
12802
- if (!ok_op) {
12803
- this.toastr.error("ERRORE", data.msg);
12804
- }
12805
12821
  }), (/**
12806
12822
  * @param {?} err
12807
12823
  * @return {?}
@@ -12821,7 +12837,7 @@ class win_commenti {
12821
12837
  this.toastr.error("INSERIRE UN COMMENTO");
12822
12838
  return;
12823
12839
  }
12824
- if (this.notifica_commenti == 1)
12840
+ if (this.notifica_commenti != 2)
12825
12841
  this.select_destinatari();
12826
12842
  else
12827
12843
  this.select_destinatari_grp();
@@ -16924,7 +16940,7 @@ class dati_aggiuntivi {
16924
16940
  () => { this.init_user_i(); this.init_engine(); }), 100);
16925
16941
  return;
16926
16942
  }
16927
- console.log('init_engine ');
16943
+ //console.log('init_engine ');
16928
16944
  this.m_route.params.subscribe((/**
16929
16945
  * @param {?} params
16930
16946
  * @return {?}
@@ -17071,7 +17087,6 @@ class wkf_header_bar {
17071
17087
  this.edit_button = false;
17072
17088
  this.respingi_button = false;
17073
17089
  this.procedi_button = true;
17074
- this.icon_mode = false;
17075
17090
  }
17076
17091
  /**
17077
17092
  * @return {?}
@@ -17124,7 +17139,7 @@ wkf_header_bar.decorators = [
17124
17139
  selector: 'wkf_header_bar',
17125
17140
  template: `
17126
17141
 
17127
- <div fxLayout="row" fxLayoutGap="3px" style="background-color: #F5F5F5" *ngIf="!icon_mode">
17142
+
17128
17143
  <div fxLayout="row" fxLayout.xs="column" fxLayoutGap="3px" *ngIf="!m_appService.getState().pageFullscreen || edit_button || respingi_button">
17129
17144
  <button mat-flat-button (click)="back()" *ngIf="!m_appService.getState().pageFullscreen">Indietro</button>&nbsp;&nbsp;
17130
17145
  <button mat-flat-button (click)="evt_salv()" *ngIf="edit_button && !m_appService.getState().pageFullscreen" color="primary" >Salva</button>&nbsp;&nbsp;
@@ -17140,27 +17155,7 @@ wkf_header_bar.decorators = [
17140
17155
  <button mat-flat-button (click)="open_upload()"> <mat-icon>attach_file</mat-icon>&nbsp;&nbsp;Allegati {{dt_agg?.all_c}}</button>&nbsp;&nbsp;
17141
17156
  <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
17157
  </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>
17158
+
17164
17159
  `
17165
17160
  }] }
17166
17161
  ];
@@ -17172,8 +17167,7 @@ wkf_header_bar.propDecorators = {
17172
17167
  dt_agg: [{ type: Input }],
17173
17168
  edit_button: [{ type: Input }],
17174
17169
  respingi_button: [{ type: Input }],
17175
- procedi_button: [{ type: Input }],
17176
- icon_mode: [{ type: Input }]
17170
+ procedi_button: [{ type: Input }]
17177
17171
  };
17178
17172
 
17179
17173
  /**