@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.
@@ -7712,13 +7712,17 @@ var FHGridComponent = /** @class */ (function () {
7712
7712
  this.show_pulisci_filtri = false;
7713
7713
  };
7714
7714
  /**
7715
+ * @param {?=} format
7715
7716
  * @return {?}
7716
7717
  */
7717
7718
  FHGridComponent.prototype.export_excel = /**
7719
+ * @param {?=} format
7718
7720
  * @return {?}
7719
7721
  */
7720
- function () {
7722
+ function (format) {
7721
7723
  var _this = this;
7724
+ if (format === void 0) { format = 'xlsx'; }
7725
+ format = '.' + format;
7722
7726
  this.uiid_stampa = this.uti_s.newGuid();
7723
7727
  this.xxopx = 0;
7724
7728
  this.dialogRef_W = this.m_dialog.open(WinWait, {
@@ -7729,19 +7733,28 @@ var FHGridComponent = /** @class */ (function () {
7729
7733
  var cmds = [];
7730
7734
  /** @type {?} */
7731
7735
  var str_fields = "";
7736
+ /** @type {?} */
7737
+ var p_col = this.gridOptions.columnApi.getColumnState();
7732
7738
  for (var i = 0; i < this.columnDefs.length; i++)
7733
7739
  if (this.columnDefs[i] != null)
7734
7740
  if (this.columnDefs[i].field != null)
7735
7741
  if (this.columnDefs[i].headerName != null)
7736
7742
  if (this.columnDefs[i].field != '')
7737
- if (this.columnDefs[i].headerName != '') {
7738
- if (str_fields != '')
7739
- str_fields += ',';
7740
- str_fields += '[' + this.columnDefs[i].field + '] [' + this.columnDefs[i].headerName + ']';
7741
- }
7742
- cmds.push(this.officeService.operation("EXCEL_APRI_EXP_GRID_NEW", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
7743
- 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++));
7744
- cmds.push(this.officeService.operation("EXCEL_SALVA_EXP_GRID_NEW", "" + this.uiid_stampa + "_" + this.m_appService.user + ".xlsx", "", this.xxopx++));
7743
+ if (this.columnDefs[i].headerName != '')
7744
+ for (var j = 0; j < p_col.length; j++) {
7745
+ if (this.columnDefs[i].field == p_col[j].colId) {
7746
+ if (!p_col[j].hide) {
7747
+ if (str_fields != '')
7748
+ str_fields += ',';
7749
+ str_fields += '[' + this.columnDefs[i].field + '] [' + this.columnDefs[i].headerName + ']';
7750
+ }
7751
+ }
7752
+ }
7753
+ if (this.fields.indexOf('DISTINCT') != -1)
7754
+ str_fields = 'DISTINCT ' + str_fields;
7755
+ cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
7756
+ 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++));
7757
+ 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++));
7745
7758
  this.officeService.runCommands(this.uiid_stampa, cmds, this.dialogRef_W).subscribe((/**
7746
7759
  * @param {?} data
7747
7760
  * @return {?}
@@ -7752,7 +7765,7 @@ var FHGridComponent = /** @class */ (function () {
7752
7765
  var p = new FSInput();
7753
7766
  p.p1 =
7754
7767
  _this.m_appService.LOCAL_PATH + "grid_reports\\" + _this.uiid_stampa + "_" + _this.m_appService.user +
7755
- ".xlsx";
7768
+ format;
7756
7769
  p.command = "check_file";
7757
7770
  _this._fileService.doQuery(p).subscribe((/**
7758
7771
  * @param {?} data
@@ -7783,11 +7796,20 @@ var FHGridComponent = /** @class */ (function () {
7783
7796
  else {
7784
7797
  window.open(_this.m_appService.COMPANY_SITE_ROOT + "/grid_reports/" +
7785
7798
  _this.uiid_stampa + "_" + _this.m_appService.user +
7786
- ".xlsx");
7799
+ format);
7787
7800
  }
7788
7801
  }));
7789
7802
  }));
7790
7803
  };
7804
+ /**
7805
+ * @return {?}
7806
+ */
7807
+ FHGridComponent.prototype.print = /**
7808
+ * @return {?}
7809
+ */
7810
+ function () {
7811
+ this.export_excel('pdf');
7812
+ };
7791
7813
  /**
7792
7814
  * @private
7793
7815
  * @return {?}
@@ -8534,7 +8556,7 @@ var FHGridComponent = /** @class */ (function () {
8534
8556
  FHGridComponent.decorators = [
8535
8557
  { type: Component, args: [{
8536
8558
  selector: 'FHGrid',
8537
- 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",
8559
+ 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",
8538
8560
  styles: ["\n\n "]
8539
8561
  }] }
8540
8562
  ];
@@ -13356,19 +13378,14 @@ var win_commenti = /** @class */ (function () {
13356
13378
  * @return {?}
13357
13379
  */
13358
13380
  function (data) {
13359
- /** @type {?} */
13360
- var ok_op = false;
13361
13381
  if (data != null)
13362
13382
  if (data.result_msg == "OK") {
13363
13383
  _this.commenti_list = data.result_data;
13364
13384
  for (var i = 0; i < _this.commenti_list.length; i++) {
13365
13385
  _this.commenti_list[i].v_commento = '<b>' + _this.commenti_list[i].commento.replace(/\n/g, '<br/>') + '</b>';
13366
13386
  }
13367
- ok_op = true;
13387
+ _this.title = 'COMMENTI';
13368
13388
  }
13369
- if (!ok_op) {
13370
- _this.toastr.error("ERRORE", data.msg);
13371
- }
13372
13389
  }), (/**
13373
13390
  * @param {?} err
13374
13391
  * @return {?}
@@ -13391,7 +13408,7 @@ var win_commenti = /** @class */ (function () {
13391
13408
  this.toastr.error("INSERIRE UN COMMENTO");
13392
13409
  return;
13393
13410
  }
13394
- if (this.notifica_commenti == 1)
13411
+ if (this.notifica_commenti != 2)
13395
13412
  this.select_destinatari();
13396
13413
  else
13397
13414
  this.select_destinatari_grp();
@@ -17694,7 +17711,7 @@ var dati_aggiuntivi = /** @class */ (function () {
17694
17711
  function () { _this.init_user_i(); _this.init_engine(); }), 100);
17695
17712
  return;
17696
17713
  }
17697
- console.log('init_engine ');
17714
+ //console.log('init_engine ');
17698
17715
  this.m_route.params.subscribe((/**
17699
17716
  * @param {?} params
17700
17717
  * @return {?}
@@ -17860,7 +17877,6 @@ var wkf_header_bar = /** @class */ (function () {
17860
17877
  this.edit_button = false;
17861
17878
  this.respingi_button = false;
17862
17879
  this.procedi_button = true;
17863
- this.icon_mode = false;
17864
17880
  }
17865
17881
  /**
17866
17882
  * @return {?}
@@ -17937,7 +17953,7 @@ var wkf_header_bar = /** @class */ (function () {
17937
17953
  wkf_header_bar.decorators = [
17938
17954
  { type: Component, args: [{
17939
17955
  selector: 'wkf_header_bar',
17940
- template: "\n\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" style=\"background-color: #F5F5F5\" *ngIf=\"!icon_mode\">\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n<button mat-flat-button (click)=\"back()\" *ngIf=\"!m_appService.getState().pageFullscreen\">Indietro</button>&nbsp;&nbsp;\n <button mat-flat-button (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" color=\"primary\" >Salva</button>&nbsp;&nbsp;\n <button mat-flat-button (click)=\"procedi()\" *ngIf=\"edit_button && procedi_button\" color=\"accent\" >Procedi</button>&nbsp;&nbsp;\n <button mat-flat-button (click)=\"respingi()\" *ngIf=\"respingi_button\" color=\"warn\" >Respingi</button>\n<!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n-->\n</div>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n<button mat-flat-button (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>info_outline</mat-icon>&nbsp;&nbsp;Info Doc</button>&nbsp;&nbsp;\n<button mat-flat-button (click)=\"open_commenti()\"> <mat-icon>insert_comment</mat-icon>&nbsp;&nbsp;Commenti {{dt_agg?.comm_c}}</button>&nbsp;&nbsp;\n<button mat-flat-button (click)=\"open_upload()\"> <mat-icon>attach_file</mat-icon>&nbsp;&nbsp;Allegati {{dt_agg?.all_c}}</button>&nbsp;&nbsp;\n<button mat-flat-button (click)=\"open_wkf()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>transfer_within_a_station</mat-icon>&nbsp;&nbsp;Workflow</button>\n</div>\n</div>\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" style=\"background-color: #F5F5F5\" *ngIf=\"icon_mode\">\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n <mat-icon matTooltip=\"Indietro\"(click)=\"back()\" style=\"cursor:pointer\" >list</mat-icon>&nbsp;&nbsp;\n <mat-icon matTooltip=\"Salva\" (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" style=\"cursor:pointer\" >save</mat-icon>&nbsp;&nbsp;\n <mat-icon matTooltip=\"Procedi\" (click)=\"procedi()\" *ngIf=\"edit_button && procedi_button\" style=\"cursor:pointer\" >check</mat-icon>&nbsp;&nbsp;\n <mat-icon matTooltip=\"Respingi\" (click)=\"respingi()\" *ngIf=\"respingi_button\" style=\"cursor:pointer\" >cancel_presentation</mat-icon>&nbsp;&nbsp;\n\n \n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n -->\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n<mat-icon matTooltip=\"Info Doc\" (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\">info_outline</mat-icon>&nbsp;&nbsp;\n <mat-icon [matTooltip]=\"'Commenti '+dt_agg?.comm_c\" (click)=\"open_commenti()\">insert_comment</mat-icon>&nbsp;&nbsp;\n <mat-icon [matTooltip]=\"'Allegati '+dt_agg?.all_c\" (click)=\"open_upload()\">attach_file</mat-icon>&nbsp;&nbsp;\n <mat-icon [matTooltip]=\"'Workflow'\" *ngIf=\"!m_appService.getState().pageFullscreen\" (click)=\"open_wkf()\">transfer_within_a_station</mat-icon>\n\n </div>\n</div>\n "
17956
+ template: "\n\n\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n<button mat-flat-button (click)=\"back()\" *ngIf=\"!m_appService.getState().pageFullscreen\">Indietro</button>&nbsp;&nbsp;\n <button mat-flat-button (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" color=\"primary\" >Salva</button>&nbsp;&nbsp;\n <button mat-flat-button (click)=\"procedi()\" *ngIf=\"edit_button && procedi_button\" color=\"accent\" >Procedi</button>&nbsp;&nbsp;\n <button mat-flat-button (click)=\"respingi()\" *ngIf=\"respingi_button\" color=\"warn\" >Respingi</button>\n<!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button>&nbsp;&nbsp;\n-->\n</div>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n<button mat-flat-button (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>info_outline</mat-icon>&nbsp;&nbsp;Info Doc</button>&nbsp;&nbsp;\n<button mat-flat-button (click)=\"open_commenti()\"> <mat-icon>insert_comment</mat-icon>&nbsp;&nbsp;Commenti {{dt_agg?.comm_c}}</button>&nbsp;&nbsp;\n<button mat-flat-button (click)=\"open_upload()\"> <mat-icon>attach_file</mat-icon>&nbsp;&nbsp;Allegati {{dt_agg?.all_c}}</button>&nbsp;&nbsp;\n<button mat-flat-button (click)=\"open_wkf()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>transfer_within_a_station</mat-icon>&nbsp;&nbsp;Workflow</button>\n</div>\n \n "
17941
17957
  }] }
17942
17958
  ];
17943
17959
  /** @nocollapse */
@@ -17948,8 +17964,7 @@ var wkf_header_bar = /** @class */ (function () {
17948
17964
  dt_agg: [{ type: Input }],
17949
17965
  edit_button: [{ type: Input }],
17950
17966
  respingi_button: [{ type: Input }],
17951
- procedi_button: [{ type: Input }],
17952
- icon_mode: [{ type: Input }]
17967
+ procedi_button: [{ type: Input }]
17953
17968
  };
17954
17969
  return wkf_header_bar;
17955
17970
  }());