@fluxhub/fluxhub-lib 11.0.64 → 11.0.66

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.
@@ -9890,390 +9890,390 @@ class FHUploadPanelComponent {
9890
9890
  FHUploadPanelComponent.decorators = [
9891
9891
  { type: Component, args: [{
9892
9892
  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>
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>
10277
10277
  `,
10278
10278
  styles: [``]
10279
10279
  },] }
@@ -17001,7 +17001,7 @@ FHGridToolBarComponent.decorators = [
17001
17001
  <div *ngFor="let app of custom_commands" fxLayoutAlign="end center" fxLayout="row" fxLayoutGap="10px">
17002
17002
  <div *ngIf="app.type == 'button' || app.type == null">
17003
17003
  <button [hidden]="app.hidden!=null && app.hidden"
17004
-
17004
+ [disabled]="!((app.enabled||true))"
17005
17005
  mat-flat-button
17006
17006
  [color]="app.color"
17007
17007
  (click)="exec_command(app.command)"
@@ -29597,7 +29597,7 @@ FluxhubLibModule.decorators = [
29597
29597
  }),
29598
29598
  FlexLayoutModule,
29599
29599
  QuillModule,
29600
- MarkdownModule,
29600
+ MarkdownModule
29601
29601
  ],
29602
29602
  exports: [
29603
29603
  fh_win_show_log_dett,