@fluxhub/fluxhub-lib 11.0.65 → 11.0.67

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.
@@ -6360,6 +6360,7 @@ class FHGridComponent {
6360
6360
  this.over_fulltext_sql = '';
6361
6361
  this.tooltipShowDelay = 2000;
6362
6362
  this.elimina_label = 'ELIMINA';
6363
+ this.show_selected_number = false;
6363
6364
  this.export_field_aggiuntivi = '';
6364
6365
  this.end_point = null;
6365
6366
  this.tbl_name = "";
@@ -6395,6 +6396,8 @@ class FHGridComponent {
6395
6396
  this.trova_label = "TROVA";
6396
6397
  this.mantieni_impostazioni = "Mantieni Imp.";
6397
6398
  this.curr_filter = "";
6399
+ this.num_s = 0;
6400
+ this.label_elementi_s = "Sel.";
6398
6401
  this.flt_aggiuntivo_event = new EventEmitter();
6399
6402
  this.show_buttons = true;
6400
6403
  this.fill_end = new EventEmitter();
@@ -8030,7 +8033,7 @@ class FHGridComponent {
8030
8033
  onSelectionChanged(event) {
8031
8034
  var rowCount = this.getGridApi().getSelectedNodes().length;
8032
8035
  this.selection_change.emit(rowCount);
8033
- console.log('selectionChanged');
8036
+ this.num_s = rowCount;
8034
8037
  }
8035
8038
  onBeforeFilterChanged() {
8036
8039
  // console.log('beforeFilterChanged');
@@ -8152,7 +8155,7 @@ class FHGridComponent {
8152
8155
  FHGridComponent.decorators = [
8153
8156
  { type: Component, args: [{
8154
8157
  selector: "FHGrid",
8155
- template: "<div fxLayout=\"column\" fxFlexFill>\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutAlign=\"center start\"\n fxLayoutGap=\"3px\"\n style=\"min-height: 55px;\"\n [hidden]=\"!show_buttons\"\n >\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\n <div>\n <h5>{{num_r}}&nbsp;{{label_elementi | translate}}</h5>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <input\n matInput\n [placeholder]=\"trova_label | translate\"\n (keydown)=\"keyDownFunctioncl($event)\"\n [(ngModel)]=\"ric_libera\"\n [matTooltip]=\"search_field_tooltip\"\n style=\"\n width: 160px;\n border: 1px solid;\n min-height: 30px;\n \"\n />\n </div>\n\n <div\n matTooltip=\"REMOVE FILTER\"\n matTooltipPosition=\"above\"\n *ngIf=\"show_pulisci_filtri\"\n >\n <button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\n <mat-icon>filter_none</mat-icon>&nbsp;\n </button>\n </div>\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"autoSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>swap_horiz</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"fitSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>keyboard_tab</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"Refresh()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>autorenew</mat-icon>\n </button>\n </div>\n <FHFilterComboBox\n fxHide [label]=\"'Configurazioni Salvate' | translate\"\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (selchange)=\"ch_config()\"\n (fillend)=\"fe_cfg()\"\n #gf\n init_fill=\"false\"\n ></FHFilterComboBox>\n <div\n matTooltip=\"Modifica Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"edit_config()\">save</mat-icon>\n </button>\n </div>\n <div\n matTooltip=\"Elimina Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"elimina_config()\">delete</mat-icon>\n </button>\n </div>\n <div\n fxHide\n fxShow.gt-sm\n matTooltip=\"Crea Nuova Preferenza\"\n matTooltipPosition=\"above\"\n >\n <button\n mat-icon-button\n style=\"color: rgb(16, 98, 16);\"\n *ngIf=\"show_buttons && !pref_hidden\"\n >\n <mat-icon (click)=\"insert_config()\">library_add</mat-icon>\n </button>\n </div>\n\n <mat-slide-toggle\n fxHide\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (click)=\"ck_flag()\"\n #toggle_mantieni\n >\n {{mantieni_impostazioni}}\n </mat-slide-toggle>\n\n &nbsp;\n <div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"help_window()\"\n color=\"primary\"\n *ngIf=\"show_buttons && show_help\"\n >\n <mat-icon>help</mat-icon>\n </button>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n\n <img\n *ngIf=\"enable_export && enable_export_pdf\"\n matTooltip=\"EXPORT PDF\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/pdf.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"print()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n\n <img *ngIf=\"enable_export && enable_export_xls\"\n matTooltip=\"EXPORT EXCEL\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/xlsx.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"export_excel()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n <div *ngIf=\"flt_aggiuntivo.length!=0\">&nbsp;&nbsp;&nbsp;</div>\n <mat-form-field *ngIf=\"flt_aggiuntivo.length!=0\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ flt_aggiuntivo_label|translate }}</mat-label>\n <mat-select\n\n [(ngModel)]=\"flt_aggiuntivo_value\"\n (selectionChange)=\"sc()\"\n >\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of flt_aggiuntivo\">{{\n app.descrizione_valore | translate\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n &nbsp;&nbsp;\n <mat-spinner diameter=\"25\" *ngIf=\"loading_fulltext\"></mat-spinner>\n\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n\n [style.width]=\"width_max\"\n *ngIf=\"enabled\"\n >\n\n <FHGridToolBar\n (command)=\"docmd($event)\"\n [type]=\"toolbar_type\"\n [show_link]=\"show_link\"\n [show_help]=\"show_help_bar\"\n [help_label]=\"help_label_bar\"\n [custom_commands]=\"toolbar_custom_commands\"\n [custom_commands_primary]=\"toolbar_custom_commands_primary\"\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\n [elimina_label]=\"elimina_label\"\n [b_wait]=\"b_wait\"\n [sRow]=\"sRow\"\n ></FHGridToolBar>\n </div>\n </div>\n\n\n <div fxLayout=\"row\" style=\"width: 100%;\" [fxFlex]=\"show_buttons ? 100:95\">\n <ag-grid-angular\n ref-agGrid\n style=\"width: 100%; height: 100%;\"\n id=\"myGrid\"\n (cellDoubleClicked)=\"onColumnEvent($event)\"\n (cellClicked)=\"onCellClicked($event)\"\n [headerHeight]=\"header_h\"\n [groupHeaderHeight]=\"header_h\"\n class=\"ag-theme-balham\"\n [singleClickEdit]=\"true\"\n [gridOptions]=\"gridOptions\"\n [columnDefs]=\"columnDefs\"\n [rowData]=\"rowData\"\n [rowSelection]=\"selection_mode\"\n [tooltipShowDelay]=\"tooltipShowDelay\"\n [getContextMenuItems]=\"enable_export ? getContextMenuItems_e:getContextMenuItems_n_e\"\n (filterModified)=\"onFilterModified()\"\n (rowDoubleClicked)=\"onRowDClicked($event)\"\n (rowClicked)=\"onRowClicked($event)\"\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\n (columnResized)=\"oncolumnEverythingChanged($event)\"\n (columnMoved)=\"oncolumnEverythingChanged($event)\"\n (cellValueChanged)=\"okr($event)\"\n (sortChanged)=\"onAfterSortChanged()\"\n (selectionChanged)=\"onSelectionChanged($event)\"\n [paginationPageSize]=\"num_per_pag\"\n (gridReady)=\"onReady($event)\"\n >\n </ag-grid-angular>\n </div>\n</div>\n",
8158
+ template: "<div fxLayout=\"column\" fxFlexFill>\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutAlign=\"center start\"\n fxLayoutGap=\"3px\"\n style=\"min-height: 55px;\"\n [hidden]=\"!show_buttons\"\n >\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\n <div>\n <h5>{{num_r}}&nbsp;{{label_elementi | translate}}</h5>\n </div>\n <div *ngIf=\"show_selected_number\">\n <h5>{{num_s}}&nbsp;{{label_elementi_s | translate}}</h5>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <input\n matInput\n [placeholder]=\"trova_label | translate\"\n (keydown)=\"keyDownFunctioncl($event)\"\n [(ngModel)]=\"ric_libera\"\n [matTooltip]=\"search_field_tooltip\"\n style=\"\n width: 160px;\n border: 1px solid;\n min-height: 30px;\n \"\n />\n </div>\n\n <div\n matTooltip=\"REMOVE FILTER\"\n matTooltipPosition=\"above\"\n *ngIf=\"show_pulisci_filtri\"\n >\n <button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\n <mat-icon>filter_none</mat-icon>&nbsp;\n </button>\n </div>\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"autoSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>swap_horiz</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"fitSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>keyboard_tab</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"Refresh()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>autorenew</mat-icon>\n </button>\n </div>\n <FHFilterComboBox\n fxHide [label]=\"'Configurazioni Salvate' | translate\"\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (selchange)=\"ch_config()\"\n (fillend)=\"fe_cfg()\"\n #gf\n init_fill=\"false\"\n ></FHFilterComboBox>\n <div\n matTooltip=\"Modifica Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"edit_config()\">save</mat-icon>\n </button>\n </div>\n <div\n matTooltip=\"Elimina Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"elimina_config()\">delete</mat-icon>\n </button>\n </div>\n <div\n fxHide\n fxShow.gt-sm\n matTooltip=\"Crea Nuova Preferenza\"\n matTooltipPosition=\"above\"\n >\n <button\n mat-icon-button\n style=\"color: rgb(16, 98, 16);\"\n *ngIf=\"show_buttons && !pref_hidden\"\n >\n <mat-icon (click)=\"insert_config()\">library_add</mat-icon>\n </button>\n </div>\n\n <mat-slide-toggle\n fxHide\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (click)=\"ck_flag()\"\n #toggle_mantieni\n >\n {{mantieni_impostazioni}}\n </mat-slide-toggle>\n\n &nbsp;\n <div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"help_window()\"\n color=\"primary\"\n *ngIf=\"show_buttons && show_help\"\n >\n <mat-icon>help</mat-icon>\n </button>\n </div>\n &nbsp;&nbsp;&nbsp;&nbsp;\n\n <img\n *ngIf=\"enable_export && enable_export_pdf\"\n matTooltip=\"EXPORT PDF\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/pdf.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"print()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n\n <img *ngIf=\"enable_export && enable_export_xls\"\n matTooltip=\"EXPORT EXCEL\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/xlsx.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"export_excel()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n <div *ngIf=\"flt_aggiuntivo.length!=0\">&nbsp;&nbsp;&nbsp;</div>\n <mat-form-field *ngIf=\"flt_aggiuntivo.length!=0\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ flt_aggiuntivo_label|translate }}</mat-label>\n <mat-select\n\n [(ngModel)]=\"flt_aggiuntivo_value\"\n (selectionChange)=\"sc()\"\n >\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of flt_aggiuntivo\">{{\n app.descrizione_valore | translate\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n &nbsp;&nbsp;\n <mat-spinner diameter=\"25\" *ngIf=\"loading_fulltext\"></mat-spinner>\n\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n\n [style.width]=\"width_max\"\n *ngIf=\"enabled\"\n >\n\n <FHGridToolBar\n (command)=\"docmd($event)\"\n [type]=\"toolbar_type\"\n [show_link]=\"show_link\"\n [show_help]=\"show_help_bar\"\n [help_label]=\"help_label_bar\"\n [custom_commands]=\"toolbar_custom_commands\"\n [custom_commands_primary]=\"toolbar_custom_commands_primary\"\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\n [elimina_label]=\"elimina_label\"\n [b_wait]=\"b_wait\"\n [sRow]=\"sRow\"\n ></FHGridToolBar>\n </div>\n </div>\n\n\n <div fxLayout=\"row\" style=\"width: 100%;\" [fxFlex]=\"show_buttons ? 100:95\">\n <ag-grid-angular\n ref-agGrid\n style=\"width: 100%; height: 100%;\"\n id=\"myGrid\"\n (cellDoubleClicked)=\"onColumnEvent($event)\"\n (cellClicked)=\"onCellClicked($event)\"\n [headerHeight]=\"header_h\"\n [groupHeaderHeight]=\"header_h\"\n class=\"ag-theme-balham\"\n [singleClickEdit]=\"true\"\n [gridOptions]=\"gridOptions\"\n [columnDefs]=\"columnDefs\"\n [rowData]=\"rowData\"\n [rowSelection]=\"selection_mode\"\n [tooltipShowDelay]=\"tooltipShowDelay\"\n [getContextMenuItems]=\"enable_export ? getContextMenuItems_e:getContextMenuItems_n_e\"\n (filterModified)=\"onFilterModified()\"\n (rowDoubleClicked)=\"onRowDClicked($event)\"\n (rowClicked)=\"onRowClicked($event)\"\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\n (columnResized)=\"oncolumnEverythingChanged($event)\"\n (columnMoved)=\"oncolumnEverythingChanged($event)\"\n (cellValueChanged)=\"okr($event)\"\n (sortChanged)=\"onAfterSortChanged()\"\n (selectionChanged)=\"onSelectionChanged($event)\"\n [paginationPageSize]=\"num_per_pag\"\n (gridReady)=\"onReady($event)\"\n >\n </ag-grid-angular>\n </div>\n</div>\n",
8156
8159
  styles: [``]
8157
8160
  },] }
8158
8161
  ];
@@ -8181,6 +8184,7 @@ FHGridComponent.propDecorators = {
8181
8184
  over_fulltext_sql: [{ type: Input }],
8182
8185
  tooltipShowDelay: [{ type: Input }],
8183
8186
  elimina_label: [{ type: Input }],
8187
+ show_selected_number: [{ type: Input }],
8184
8188
  export_field_aggiuntivi: [{ type: Input }],
8185
8189
  end_point: [{ type: Input }],
8186
8190
  tbl_name: [{ type: Input }],
@@ -9890,390 +9894,390 @@ class FHUploadPanelComponent {
9890
9894
  FHUploadPanelComponent.decorators = [
9891
9895
  { type: Component, args: [{
9892
9896
  selector: "FHUploadPanel",
9893
- template: `
9894
- <div fxLayout="column">
9895
- <h3 *ngIf="label != ''">{{ label }}</h3>
9896
- <div fxLayout="column">
9897
-
9898
- <div [hidden]="!enabled || !show_upload">
9899
-
9900
- <FHUpload
9901
- (upload_ended)="_upload_ended($event)"
9902
- [single]="false"
9903
- [selezionare_tipologia]="selezionare_tipologia "
9904
- [lascia_il_file] = "force_en ? 'Drop here to confim':'Lascia il file per confermarmare upload' "
9905
- [trascina_il_file] = "force_en ? 'Drop a file here o click to upload a file':'Trascina un file qui o Clicca per avviare upload' "
9906
-
9907
- [show_descri]="show_descri"
9908
- [descri_obb]="description_required"
9909
- [label_attendere]="
9910
- force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO'
9911
- "
9912
- [fixed_label]="
9913
- force_en
9914
- ? ' (insert the description here before uploading the file)'
9915
- : ' (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)'
9916
- "
9917
- [allegato_inserito]="
9918
- force_en ? 'Attachment Inserted' : 'ALLEGATO INSERITO'
9919
- "
9920
- [lista_allegati]="arr_g"
9921
- (change)="ref_allegato();output_ris($event)"
9922
- (call_upload)="call_up($event)"
9923
- #upc
9924
- ></FHUpload>
9925
-
9926
- </div>
9927
- <table width="98%" class="fh_table" *ngIf="!image_type && !b_mobile">
9928
- <thead>
9929
- <tr class="header">
9930
- <th style="width:40px" class="actions" *ngIf="show_download"></th>
9931
- <th [fxShow.lt-sm]="false" style="width:40px"></th>
9932
- <th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
9933
- <th [fxShow.lt-sm]="false" *ngIf="show_version" style="width:30px;text-align:center">Ver.</th>
9934
- <th [fxShow.lt-sm]="false" *ngIf="show_dim" style="width:30px;text-align:center">Dim.</th>
9935
- <th [fxShow.lt-sm]="false" *ngIf="show_descri" style="width:40%">
9936
- {{ force_en ? "Description" : "Descrizione" }}
9937
- </th>
9938
- <th *ngIf="multi_list" style="width:20%">
9939
- {{ force_en ? "Type" : "Tipo" }}
9940
- </th>
9941
-
9942
- <th style="width:40px" class="actions"></th>
9943
- <th [fxShow.lt-sm]="false" style="width:30%">{{ force_en ? "User" : "Utente" }}</th>
9944
- <th [fxShow.lt-sm]="false" style="width:240px;text-align:center">
9945
- {{ force_en ? "Date" : "Data" }}
9946
- </th>
9947
-
9948
- <th *ngIf="enabled" style="width:40px" class="actions"></th>
9949
- </tr>
9950
- </thead>
9951
- <tbody>
9952
- <tr
9953
- *ngFor="let app of arr_g; let odd = odd; let even = even"
9954
- style="font-size: 15px;"
9955
- [ngClass]="{ odd: odd, even: even }"
9956
- >
9957
- <td style="text-align:center" *ngIf="show_download">
9958
-
9959
- <button [hidden]="app.Filename.indexOf('.eml')==-1 && app.Filename.indexOf('.msg')==-1"
9960
- mat-icon-button
9961
- [matTooltip]="'Preview' "
9962
- (click)="preview_email(app)"
9963
- >
9964
- <mat-icon>visibility</mat-icon>
9965
- </button>
9966
- <button
9967
- mat-icon-button
9968
- [matTooltip]="'Download File' "
9969
- (click)="download_all(app)"
9970
- >
9971
- <mat-icon>cloud_download</mat-icon>
9972
- </button>
9973
- </td>
9974
- <td [fxShow.lt-sm]="false"
9975
- style="text-align:center;vertical-align: middle;width:36px;height:36px;" (click)="download_all(app)"
9976
- >
9977
- <div
9978
- style="text-align:center;vertical-align: middle;width:28px;height:28px;"
9979
- >
9980
- <img
9981
- src="assets/icons/square-o/{{ app.icon }}"
9982
- style="width:28px;height:28px;"
9983
- />
9984
- </div>
9985
- </td>
9986
- <td><button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button></td>
9987
- <td style="text-align:center" *ngIf="show_version" [fxShow.lt-sm]="false">{{ app.v }}</td>
9988
- <td style="text-align:center" *ngIf="show_dim" [fxShow.lt-sm]="false">{{ app.Filesize }}</td>
9989
- <td [fxShow.lt-sm]="false" *ngIf="show_descri">
9990
- <div fxLayout="row">
9991
- <div *ngIf="enabled">
9992
- <a
9993
- mat-icon-button
9994
- [matTooltip]="'Modifica Descrizione' | translate"
9995
- *ngIf="app.can_edit"
9996
- (click)="edit_descri(app)"
9997
- >
9998
- <mat-icon>edit</mat-icon>
9999
- </a>
10000
-
10001
- <a
10002
- mat-icon-button
10003
- [matTooltip]="
10004
- _trs.instant('Modifica Descrizione consentita solo a') +': ' + app.nc
10005
- "
10006
- *ngIf="!app.can_edit"
10007
- [disabled]="true"
10008
- >
10009
- <mat-icon>edit</mat-icon>
10010
- </a>
10011
- </div>
10012
- <div
10013
- [innerHTML]="app.descrizione_vis"
10014
- style="width:100%"
10015
- ></div>
10016
- </div>
10017
- </td>
10018
-
10019
- <td *ngIf="multi_list">
10020
- <div fxLayout="row">
10021
- <a
10022
- mat-icon-button
10023
- [matTooltip]="'Modifica Tipo' | translate"
10024
- *ngIf="app.can_edit"
10025
- (click)="edit_tipo(app)"
10026
- >
10027
- <mat-icon>edit</mat-icon>
10028
- </a>
10029
-
10030
- <a
10031
- mat-icon-button
10032
- [matTooltip]="
10033
- _trs.instant('Modifica Tipologia consentita solo a')+': ' + app.nc
10034
- "
10035
- *ngIf="!app.can_edit"
10036
- [disabled]="true"
10037
- >
10038
- <mat-icon>edit</mat-icon>
10039
- </a>
10040
-
10041
- <div [innerHTML]="app.tipo" style="width:100%"></div>
10042
- </div>
10043
- </td>
10044
-
10045
- <td
10046
- style="min-width:400px;min-height: 400px"
10047
- *ngIf="app.type == 'IMG'"
10048
- >
10049
- <fh-image-viewer [u]="app"></fh-image-viewer>
10050
- </td>
10051
- <td *ngIf="app.type != 'IMG'"></td>
10052
- <td [fxShow.lt-sm]="false">{{ app.nc }}</td>
10053
- <td [fxShow.lt-sm]="false" style="text-align:center">
10054
- {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
10055
- </td>
10056
-
10057
-
10058
- <td *ngIf="enabled" style="text-align:center">
10059
- <a
10060
- mat-icon-button
10061
- [matTooltip]="'Elimina File' "
10062
- *ngIf="app.can_delete"
10063
- (click)="delete(app)"
10064
- >
10065
- <mat-icon>delete</mat-icon>
10066
- </a>
10067
-
10068
- <a
10069
- mat-icon-button
10070
- [matTooltip]="
10071
- _trs.instant('Eliminazione consentita solo a')+': ' + app.can_delete_m
10072
- "
10073
- *ngIf="!app.can_delete"
10074
- [disabled]="true"
10075
- >
10076
- <mat-icon>delete</mat-icon>
10077
- </a>
10078
- </td>
10079
- </tr>
10080
- </tbody>
10081
- </table>
10082
- <table width="98%" class="fh_table" *ngIf="image_type && !b_mobile">
10083
- <thead>
10084
- <tr class="header">
10085
- <th style="width:40px" class="actions" *ngIf="show_download"></th>
10086
- <th [fxShow.lt-sm]="false" style="width:40px"></th>
10087
- <th [fxShow.lt-sm]="false" style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
10088
- <th [fxShow.lt-sm]="false" *ngIf="show_version" style="width:30px;text-align:center">Ver.</th>
10089
- <th [fxShow.lt-sm]="false" *ngIf="show_dim" style="width:30px;text-align:center">Dim.</th>
10090
-
10091
- <th [fxShow.lt-sm]="false" style="width:20%" *ngIf="show_descri">
10092
- {{ force_en ? "Description" : "Descrizione" }}
10093
- </th>
10094
- <th *ngIf="multi_list" style="width:10%" [fxShow.lt-sm]="false">
10095
- {{ force_en ? "Type" : "Tipo" }}
10096
- </th>
10097
- <th style="width:40%"></th>
10098
-
10099
- <th [fxShow.lt-sm]="false" style="width:10%">{{ force_en ? "User" : "Utente" }}</th>
10100
- <th [fxShow.lt-sm]="false" style="width:240px;text-align:center">
10101
- {{ force_en ? "Date" : "Data" }}
10102
- </th>
10103
-
10104
- <th *ngIf="enabled" style="width:40px" class="actions"></th>
10105
- </tr>
10106
- </thead>
10107
- <tbody>
10108
- <tr
10109
- *ngFor="let app of arr_g; let odd = odd; let even = even"
10110
- style="font-size: 15px;"
10111
- [ngClass]="{ odd: odd, even: even }"
10112
- >
10113
- <td style="text-align:center" *ngIf="show_download">
10114
-
10115
- <button [hidden]="app.Filename.indexOf('.eml')==-1 && app.Filename.indexOf('.msg')==-1"
10116
- mat-icon-button
10117
- [matTooltip]="'Preview' "
10118
- (click)="preview_email(app)"
10119
- >
10120
- <mat-icon>visibility</mat-icon>
10121
- </button>
10122
-
10123
-
10124
- <button
10125
- mat-icon-button
10126
- [matTooltip]="'Download File' "
10127
- (click)="download_all(app)"
10128
- >
10129
- <mat-icon>cloud_download</mat-icon>
10130
- </button>
10131
- </td>
10132
- <td [fxShow.lt-sm]="false"
10133
- style="text-align:center;vertical-align: middle;width:36px;height:36px;" (click)="download_all(app)"
10134
- >
10135
- <div
10136
- style="text-align:center;vertical-align: middle;width:28px;height:28px;"
10137
- >
10138
- <img
10139
- src="assets/icons/square-o/{{ app.icon }}"
10140
- style="width:28px;height:28px;"
10141
- />
10142
- </div>
10143
- </td>
10144
-
10145
- <td [fxShow.lt-sm]="false"><button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button></td>
10146
- <td style="text-align:center" *ngIf="show_version" [fxShow.lt-sm]="false">{{ app.v }}</td>
10147
- <td [fxShow.lt-sm]="false" *ngIf="show_dim" style="text-align:center">{{ app.Filesize }}</td>
10148
- <td [fxShow.lt-sm]="false" *ngIf="show_descri">
10149
- <div fxLayout="row">
10150
- <div *ngIf="enabled">
10151
- <a
10152
- mat-icon-button
10153
- [matTooltip]="'Modifica Descrizione' | translate"
10154
- *ngIf="app.can_edit"
10155
- (click)="edit_descri(app)"
10156
- >
10157
- <mat-icon>edit</mat-icon>
10158
- </a>
10159
-
10160
- <a
10161
- mat-icon-button
10162
- [matTooltip]="
10163
- _trs.instant( 'Modifica Descrizione consentita solo a')+': ' + app.nc
10164
- "
10165
- *ngIf="!app.can_edit"
10166
- [disabled]="true"
10167
- >
10168
- <mat-icon>edit</mat-icon>
10169
- </a>
10170
- </div>
10171
- <div
10172
- [innerHTML]="app.descrizione_vis"
10173
- style="width:100%"
10174
- ></div>
10175
- </div>
10176
- </td>
10177
- <td *ngIf="multi_list">
10178
- <div fxLayout="row">
10179
- <a
10180
- mat-icon-button
10181
- [matTooltip]="'Modifica Tipo' | translate"
10182
- *ngIf="app.can_edit"
10183
- (click)="edit_tipo(app)"
10184
- >
10185
- <mat-icon>edit</mat-icon>
10186
- </a>
10187
-
10188
- <a
10189
- mat-icon-button
10190
- [matTooltip]="
10191
- _trs.instant( 'Modifica Tipologia consentita solo a')+':' + app.nc
10192
- "
10193
- *ngIf="!app.can_edit"
10194
- [disabled]="true"
10195
- >
10196
- <mat-icon>edit</mat-icon>
10197
- </a>
10198
-
10199
- <div [innerHTML]="app.tipo" style="width:100%"></div>
10200
- </div>
10201
- </td>
10202
-
10203
- <td
10204
- style="min-width:400px;min-height: 400px"
10205
- *ngIf="app.type == 'IMG'"
10206
- >
10207
- <fh-image-viewer [u]="app"></fh-image-viewer>
10208
- </td>
10209
- <td *ngIf="app.type != 'IMG'"><div [fxShow.lt-sm]="true"><button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button></div></td>
10210
- <td [fxShow.lt-sm]="false">{{ app.nc }}</td>
10211
- <td style="text-align:center" [fxShow.lt-sm]="false">
10212
- {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
10213
- </td>
10214
-
10215
-
10216
- <td *ngIf="enabled" style="text-align:center">
10217
- <a
10218
- mat-icon-button
10219
- [matTooltip]="'Elimina File' "
10220
- *ngIf="app.can_delete"
10221
- (click)="delete(app)"
10222
- >
10223
- <mat-icon>delete</mat-icon>
10224
- </a>
10225
-
10226
- <a
10227
- mat-icon-button
10228
- [matTooltip]="
10229
- _trs.instant( 'Cancellazione consentita solo a')+': ' + app.can_delete_m
10230
- "
10231
- *ngIf="!app.can_delete"
10232
- [disabled]="true"
10233
- >
10234
- <mat-icon>delete</mat-icon>
10235
- </a>
10236
- </td>
10237
- </tr>
10238
- </tbody>
10239
- </table>
10240
- <table width="98%" class="fh_table" *ngIf="b_mobile">
10241
- <tbody>
10242
- <tr
10243
- *ngFor="let app of arr_g; let odd = odd; let even = even"
10244
- style="font-size: 15px;"
10245
- [ngClass]="{ odd: odd, even: even }"
10246
- >
10247
- <td
10248
- style="text-align:center;vertical-align: middle;width:36px;height:36px;" (click)="download_all(app)"
10249
- >
10250
- <div
10251
- style="text-align:center;vertical-align: middle;width:28px;height:28px;"
10252
- >
10253
- <img
10254
- src="assets/icons/square-o/{{ app.icon }}"
10255
- style="width:28px;height:28px;"
10256
- />
10257
- </div>
10258
- </td>
10259
- <td *ngIf="b_mobile" style="text-align:center">
10260
- <button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button><br /><br />
10261
- <button
10262
- style="background-color: #F5F5F5"
10263
- (click)="download_all(app)"
10264
- mat-flat-button
10265
- >
10266
- DOWNLOAD
10267
- </button>
10268
- </td>
10269
- </tr>
10270
- </tbody>
10271
- </table>
10272
- </div>
10273
- </div>
10274
- <div *ngIf="!b_ini && b_initt" style="color:#ff0000">
10275
- <b>{{'ATTENZIONE COMPONENTE NON INIZIALIZZATO' }}</b>
10276
- </div>
9897
+ template: `
9898
+ <div fxLayout="column">
9899
+ <h3 *ngIf="label != ''">{{ label }}</h3>
9900
+ <div fxLayout="column">
9901
+
9902
+ <div [hidden]="!enabled || !show_upload">
9903
+
9904
+ <FHUpload
9905
+ (upload_ended)="_upload_ended($event)"
9906
+ [single]="false"
9907
+ [selezionare_tipologia]="selezionare_tipologia "
9908
+ [lascia_il_file] = "force_en ? 'Drop here to confim':'Lascia il file per confermarmare upload' "
9909
+ [trascina_il_file] = "force_en ? 'Drop a file here o click to upload a file':'Trascina un file qui o Clicca per avviare upload' "
9910
+
9911
+ [show_descri]="show_descri"
9912
+ [descri_obb]="description_required"
9913
+ [label_attendere]="
9914
+ force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO'
9915
+ "
9916
+ [fixed_label]="
9917
+ force_en
9918
+ ? ' (insert the description here before uploading the file)'
9919
+ : ' (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)'
9920
+ "
9921
+ [allegato_inserito]="
9922
+ force_en ? 'Attachment Inserted' : 'ALLEGATO INSERITO'
9923
+ "
9924
+ [lista_allegati]="arr_g"
9925
+ (change)="ref_allegato();output_ris($event)"
9926
+ (call_upload)="call_up($event)"
9927
+ #upc
9928
+ ></FHUpload>
9929
+
9930
+ </div>
9931
+ <table width="98%" class="fh_table" *ngIf="!image_type && !b_mobile">
9932
+ <thead>
9933
+ <tr class="header">
9934
+ <th style="width:40px" class="actions" *ngIf="show_download"></th>
9935
+ <th [fxShow.lt-sm]="false" style="width:40px"></th>
9936
+ <th style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
9937
+ <th [fxShow.lt-sm]="false" *ngIf="show_version" style="width:30px;text-align:center">Ver.</th>
9938
+ <th [fxShow.lt-sm]="false" *ngIf="show_dim" style="width:30px;text-align:center">Dim.</th>
9939
+ <th [fxShow.lt-sm]="false" *ngIf="show_descri" style="width:40%">
9940
+ {{ force_en ? "Description" : "Descrizione" }}
9941
+ </th>
9942
+ <th *ngIf="multi_list" style="width:20%">
9943
+ {{ force_en ? "Type" : "Tipo" }}
9944
+ </th>
9945
+
9946
+ <th style="width:40px" class="actions"></th>
9947
+ <th [fxShow.lt-sm]="false" style="width:30%">{{ force_en ? "User" : "Utente" }}</th>
9948
+ <th [fxShow.lt-sm]="false" style="width:240px;text-align:center">
9949
+ {{ force_en ? "Date" : "Data" }}
9950
+ </th>
9951
+
9952
+ <th *ngIf="enabled" style="width:40px" class="actions"></th>
9953
+ </tr>
9954
+ </thead>
9955
+ <tbody>
9956
+ <tr
9957
+ *ngFor="let app of arr_g; let odd = odd; let even = even"
9958
+ style="font-size: 15px;"
9959
+ [ngClass]="{ odd: odd, even: even }"
9960
+ >
9961
+ <td style="text-align:center" *ngIf="show_download">
9962
+
9963
+ <button [hidden]="app.Filename.indexOf('.eml')==-1 && app.Filename.indexOf('.msg')==-1"
9964
+ mat-icon-button
9965
+ [matTooltip]="'Preview' "
9966
+ (click)="preview_email(app)"
9967
+ >
9968
+ <mat-icon>visibility</mat-icon>
9969
+ </button>
9970
+ <button
9971
+ mat-icon-button
9972
+ [matTooltip]="'Download File' "
9973
+ (click)="download_all(app)"
9974
+ >
9975
+ <mat-icon>cloud_download</mat-icon>
9976
+ </button>
9977
+ </td>
9978
+ <td [fxShow.lt-sm]="false"
9979
+ style="text-align:center;vertical-align: middle;width:36px;height:36px;" (click)="download_all(app)"
9980
+ >
9981
+ <div
9982
+ style="text-align:center;vertical-align: middle;width:28px;height:28px;"
9983
+ >
9984
+ <img
9985
+ src="assets/icons/square-o/{{ app.icon }}"
9986
+ style="width:28px;height:28px;"
9987
+ />
9988
+ </div>
9989
+ </td>
9990
+ <td><button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button></td>
9991
+ <td style="text-align:center" *ngIf="show_version" [fxShow.lt-sm]="false">{{ app.v }}</td>
9992
+ <td style="text-align:center" *ngIf="show_dim" [fxShow.lt-sm]="false">{{ app.Filesize }}</td>
9993
+ <td [fxShow.lt-sm]="false" *ngIf="show_descri">
9994
+ <div fxLayout="row">
9995
+ <div *ngIf="enabled">
9996
+ <a
9997
+ mat-icon-button
9998
+ [matTooltip]="'Modifica Descrizione' | translate"
9999
+ *ngIf="app.can_edit"
10000
+ (click)="edit_descri(app)"
10001
+ >
10002
+ <mat-icon>edit</mat-icon>
10003
+ </a>
10004
+
10005
+ <a
10006
+ mat-icon-button
10007
+ [matTooltip]="
10008
+ _trs.instant('Modifica Descrizione consentita solo a') +': ' + app.nc
10009
+ "
10010
+ *ngIf="!app.can_edit"
10011
+ [disabled]="true"
10012
+ >
10013
+ <mat-icon>edit</mat-icon>
10014
+ </a>
10015
+ </div>
10016
+ <div
10017
+ [innerHTML]="app.descrizione_vis"
10018
+ style="width:100%"
10019
+ ></div>
10020
+ </div>
10021
+ </td>
10022
+
10023
+ <td *ngIf="multi_list">
10024
+ <div fxLayout="row">
10025
+ <a
10026
+ mat-icon-button
10027
+ [matTooltip]="'Modifica Tipo' | translate"
10028
+ *ngIf="app.can_edit"
10029
+ (click)="edit_tipo(app)"
10030
+ >
10031
+ <mat-icon>edit</mat-icon>
10032
+ </a>
10033
+
10034
+ <a
10035
+ mat-icon-button
10036
+ [matTooltip]="
10037
+ _trs.instant('Modifica Tipologia consentita solo a')+': ' + app.nc
10038
+ "
10039
+ *ngIf="!app.can_edit"
10040
+ [disabled]="true"
10041
+ >
10042
+ <mat-icon>edit</mat-icon>
10043
+ </a>
10044
+
10045
+ <div [innerHTML]="app.tipo" style="width:100%"></div>
10046
+ </div>
10047
+ </td>
10048
+
10049
+ <td
10050
+ style="min-width:400px;min-height: 400px"
10051
+ *ngIf="app.type == 'IMG'"
10052
+ >
10053
+ <fh-image-viewer [u]="app"></fh-image-viewer>
10054
+ </td>
10055
+ <td *ngIf="app.type != 'IMG'"></td>
10056
+ <td [fxShow.lt-sm]="false">{{ app.nc }}</td>
10057
+ <td [fxShow.lt-sm]="false" style="text-align:center">
10058
+ {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
10059
+ </td>
10060
+
10061
+
10062
+ <td *ngIf="enabled" style="text-align:center">
10063
+ <a
10064
+ mat-icon-button
10065
+ [matTooltip]="'Elimina File' "
10066
+ *ngIf="app.can_delete"
10067
+ (click)="delete(app)"
10068
+ >
10069
+ <mat-icon>delete</mat-icon>
10070
+ </a>
10071
+
10072
+ <a
10073
+ mat-icon-button
10074
+ [matTooltip]="
10075
+ _trs.instant('Eliminazione consentita solo a')+': ' + app.can_delete_m
10076
+ "
10077
+ *ngIf="!app.can_delete"
10078
+ [disabled]="true"
10079
+ >
10080
+ <mat-icon>delete</mat-icon>
10081
+ </a>
10082
+ </td>
10083
+ </tr>
10084
+ </tbody>
10085
+ </table>
10086
+ <table width="98%" class="fh_table" *ngIf="image_type && !b_mobile">
10087
+ <thead>
10088
+ <tr class="header">
10089
+ <th style="width:40px" class="actions" *ngIf="show_download"></th>
10090
+ <th [fxShow.lt-sm]="false" style="width:40px"></th>
10091
+ <th [fxShow.lt-sm]="false" style="width:50%">{{ force_en ? "Name" : "Nome" }}</th>
10092
+ <th [fxShow.lt-sm]="false" *ngIf="show_version" style="width:30px;text-align:center">Ver.</th>
10093
+ <th [fxShow.lt-sm]="false" *ngIf="show_dim" style="width:30px;text-align:center">Dim.</th>
10094
+
10095
+ <th [fxShow.lt-sm]="false" style="width:20%" *ngIf="show_descri">
10096
+ {{ force_en ? "Description" : "Descrizione" }}
10097
+ </th>
10098
+ <th *ngIf="multi_list" style="width:10%" [fxShow.lt-sm]="false">
10099
+ {{ force_en ? "Type" : "Tipo" }}
10100
+ </th>
10101
+ <th style="width:40%"></th>
10102
+
10103
+ <th [fxShow.lt-sm]="false" style="width:10%">{{ force_en ? "User" : "Utente" }}</th>
10104
+ <th [fxShow.lt-sm]="false" style="width:240px;text-align:center">
10105
+ {{ force_en ? "Date" : "Data" }}
10106
+ </th>
10107
+
10108
+ <th *ngIf="enabled" style="width:40px" class="actions"></th>
10109
+ </tr>
10110
+ </thead>
10111
+ <tbody>
10112
+ <tr
10113
+ *ngFor="let app of arr_g; let odd = odd; let even = even"
10114
+ style="font-size: 15px;"
10115
+ [ngClass]="{ odd: odd, even: even }"
10116
+ >
10117
+ <td style="text-align:center" *ngIf="show_download">
10118
+
10119
+ <button [hidden]="app.Filename.indexOf('.eml')==-1 && app.Filename.indexOf('.msg')==-1"
10120
+ mat-icon-button
10121
+ [matTooltip]="'Preview' "
10122
+ (click)="preview_email(app)"
10123
+ >
10124
+ <mat-icon>visibility</mat-icon>
10125
+ </button>
10126
+
10127
+
10128
+ <button
10129
+ mat-icon-button
10130
+ [matTooltip]="'Download File' "
10131
+ (click)="download_all(app)"
10132
+ >
10133
+ <mat-icon>cloud_download</mat-icon>
10134
+ </button>
10135
+ </td>
10136
+ <td [fxShow.lt-sm]="false"
10137
+ style="text-align:center;vertical-align: middle;width:36px;height:36px;" (click)="download_all(app)"
10138
+ >
10139
+ <div
10140
+ style="text-align:center;vertical-align: middle;width:28px;height:28px;"
10141
+ >
10142
+ <img
10143
+ src="assets/icons/square-o/{{ app.icon }}"
10144
+ style="width:28px;height:28px;"
10145
+ />
10146
+ </div>
10147
+ </td>
10148
+
10149
+ <td [fxShow.lt-sm]="false"><button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button></td>
10150
+ <td style="text-align:center" *ngIf="show_version" [fxShow.lt-sm]="false">{{ app.v }}</td>
10151
+ <td [fxShow.lt-sm]="false" *ngIf="show_dim" style="text-align:center">{{ app.Filesize }}</td>
10152
+ <td [fxShow.lt-sm]="false" *ngIf="show_descri">
10153
+ <div fxLayout="row">
10154
+ <div *ngIf="enabled">
10155
+ <a
10156
+ mat-icon-button
10157
+ [matTooltip]="'Modifica Descrizione' | translate"
10158
+ *ngIf="app.can_edit"
10159
+ (click)="edit_descri(app)"
10160
+ >
10161
+ <mat-icon>edit</mat-icon>
10162
+ </a>
10163
+
10164
+ <a
10165
+ mat-icon-button
10166
+ [matTooltip]="
10167
+ _trs.instant( 'Modifica Descrizione consentita solo a')+': ' + app.nc
10168
+ "
10169
+ *ngIf="!app.can_edit"
10170
+ [disabled]="true"
10171
+ >
10172
+ <mat-icon>edit</mat-icon>
10173
+ </a>
10174
+ </div>
10175
+ <div
10176
+ [innerHTML]="app.descrizione_vis"
10177
+ style="width:100%"
10178
+ ></div>
10179
+ </div>
10180
+ </td>
10181
+ <td *ngIf="multi_list">
10182
+ <div fxLayout="row">
10183
+ <a
10184
+ mat-icon-button
10185
+ [matTooltip]="'Modifica Tipo' | translate"
10186
+ *ngIf="app.can_edit"
10187
+ (click)="edit_tipo(app)"
10188
+ >
10189
+ <mat-icon>edit</mat-icon>
10190
+ </a>
10191
+
10192
+ <a
10193
+ mat-icon-button
10194
+ [matTooltip]="
10195
+ _trs.instant( 'Modifica Tipologia consentita solo a')+':' + app.nc
10196
+ "
10197
+ *ngIf="!app.can_edit"
10198
+ [disabled]="true"
10199
+ >
10200
+ <mat-icon>edit</mat-icon>
10201
+ </a>
10202
+
10203
+ <div [innerHTML]="app.tipo" style="width:100%"></div>
10204
+ </div>
10205
+ </td>
10206
+
10207
+ <td
10208
+ style="min-width:400px;min-height: 400px"
10209
+ *ngIf="app.type == 'IMG'"
10210
+ >
10211
+ <fh-image-viewer [u]="app"></fh-image-viewer>
10212
+ </td>
10213
+ <td *ngIf="app.type != 'IMG'"><div [fxShow.lt-sm]="true"><button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button></div></td>
10214
+ <td [fxShow.lt-sm]="false">{{ app.nc }}</td>
10215
+ <td style="text-align:center" [fxShow.lt-sm]="false">
10216
+ {{ app.dt_ins | date: "dd/MM/yyyy HH:mm:ss" }}
10217
+ </td>
10218
+
10219
+
10220
+ <td *ngIf="enabled" style="text-align:center">
10221
+ <a
10222
+ mat-icon-button
10223
+ [matTooltip]="'Elimina File' "
10224
+ *ngIf="app.can_delete"
10225
+ (click)="delete(app)"
10226
+ >
10227
+ <mat-icon>delete</mat-icon>
10228
+ </a>
10229
+
10230
+ <a
10231
+ mat-icon-button
10232
+ [matTooltip]="
10233
+ _trs.instant( 'Cancellazione consentita solo a')+': ' + app.can_delete_m
10234
+ "
10235
+ *ngIf="!app.can_delete"
10236
+ [disabled]="true"
10237
+ >
10238
+ <mat-icon>delete</mat-icon>
10239
+ </a>
10240
+ </td>
10241
+ </tr>
10242
+ </tbody>
10243
+ </table>
10244
+ <table width="98%" class="fh_table" *ngIf="b_mobile">
10245
+ <tbody>
10246
+ <tr
10247
+ *ngFor="let app of arr_g; let odd = odd; let even = even"
10248
+ style="font-size: 15px;"
10249
+ [ngClass]="{ odd: odd, even: even }"
10250
+ >
10251
+ <td
10252
+ style="text-align:center;vertical-align: middle;width:36px;height:36px;" (click)="download_all(app)"
10253
+ >
10254
+ <div
10255
+ style="text-align:center;vertical-align: middle;width:28px;height:28px;"
10256
+ >
10257
+ <img
10258
+ src="assets/icons/square-o/{{ app.icon }}"
10259
+ style="width:28px;height:28px;"
10260
+ />
10261
+ </div>
10262
+ </td>
10263
+ <td *ngIf="b_mobile" style="text-align:center">
10264
+ <button mat-stroked-button color="primary" (click)="download_all(app)">{{ app.Filename }}</button><br /><br />
10265
+ <button
10266
+ style="background-color: #F5F5F5"
10267
+ (click)="download_all(app)"
10268
+ mat-flat-button
10269
+ >
10270
+ DOWNLOAD
10271
+ </button>
10272
+ </td>
10273
+ </tr>
10274
+ </tbody>
10275
+ </table>
10276
+ </div>
10277
+ </div>
10278
+ <div *ngIf="!b_ini && b_initt" style="color:#ff0000">
10279
+ <b>{{'ATTENZIONE COMPONENTE NON INIZIALIZZATO' }}</b>
10280
+ </div>
10277
10281
  `,
10278
10282
  styles: [``]
10279
10283
  },] }
@@ -29597,7 +29601,7 @@ FluxhubLibModule.decorators = [
29597
29601
  }),
29598
29602
  FlexLayoutModule,
29599
29603
  QuillModule,
29600
- MarkdownModule,
29604
+ MarkdownModule
29601
29605
  ],
29602
29606
  exports: [
29603
29607
  fh_win_show_log_dett,