@fluxhub/fluxhub-lib 11.0.51 → 11.0.53
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +10 -2
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhuploadpanel.js +11 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +10 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhuploadpanel.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4557,6 +4557,7 @@
|
|
|
4557
4557
|
this.selezionare_tipologia = "Selezionare la Tipologia";
|
|
4558
4558
|
this.show_delete = true;
|
|
4559
4559
|
this.b_initt = false;
|
|
4560
|
+
this.upload_ended = new i0.EventEmitter();
|
|
4560
4561
|
this.expand = new i0.EventEmitter();
|
|
4561
4562
|
this.file_copy = new i0.EventEmitter();
|
|
4562
4563
|
this.change = new i0.EventEmitter();
|
|
@@ -4578,6 +4579,9 @@
|
|
|
4578
4579
|
this.show_version = true;
|
|
4579
4580
|
this.current_v = vx;
|
|
4580
4581
|
};
|
|
4582
|
+
FHUploadPanelComponent.prototype._upload_ended = function (o) {
|
|
4583
|
+
this.upload_ended.emit(o);
|
|
4584
|
+
};
|
|
4581
4585
|
FHUploadPanelComponent.prototype.output_ris = function (o) {
|
|
4582
4586
|
if (o == null)
|
|
4583
4587
|
return;
|
|
@@ -4589,7 +4593,10 @@
|
|
|
4589
4593
|
if (obj_r.msg != null)
|
|
4590
4594
|
if (obj_r.msg != '') {
|
|
4591
4595
|
if (obj_r.result_msg == 'KO' || obj_r.msg.indexOf('KO') > -1)
|
|
4592
|
-
this.toastr.error(obj_r.msg
|
|
4596
|
+
this.toastr.error(obj_r.msg, 'Error', {
|
|
4597
|
+
timeOut: 5000,
|
|
4598
|
+
positionClass: "toast-center-center",
|
|
4599
|
+
});
|
|
4593
4600
|
else
|
|
4594
4601
|
this.toastr.info(obj_r.msg);
|
|
4595
4602
|
}
|
|
@@ -4870,7 +4877,7 @@
|
|
|
4870
4877
|
FHUploadPanelComponent.decorators = [
|
|
4871
4878
|
{ type: i0.Component, args: [{
|
|
4872
4879
|
selector: "FHUploadPanel",
|
|
4873
|
-
template: "\n <div fxLayout=\"column\">\n <h3 *ngIf=\"label != ''\">{{ label }}</h3>\n <div fxLayout=\"column\">\n\n <div [hidden]=\"!enabled || !show_upload\">\n\n <FHUpload\n [single]=\"false\"\n [selezionare_tipologia]=\"selezionare_tipologia \"\n [lascia_il_file] = \"force_en ? 'Drop here to confim':'Lascia il file per confermarmare upload' \"\n [trascina_il_file] = \"force_en ? 'Drop a file here o click to upload a file':'Trascina un file qui o Clicca per avviare upload' \"\n\n [show_descri]=\"show_descri\"\n [descri_obb]=\"description_required\"\n [label_attendere]=\"\n force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO'\n \"\n [fixed_label]=\"\n force_en\n ? ' (insert the description here before uploading the file)'\n : ' (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)'\n \"\n [allegato_inserito]=\"\n force_en ? 'Attachment Inserted' : 'ALLEGATO INSERITO'\n \"\n [lista_allegati]=\"arr_g\"\n (change)=\"ref_allegato();output_ris($event)\"\n (call_upload)=\"call_up($event)\"\n #upc\n ></FHUpload>\n\n </div>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"!image_type && !b_mobile\">\n <thead>\n <tr class=\"header\">\n <th style=\"width:40px\" class=\"actions\" *ngIf=\"show_download\"></th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:40px\"></th>\n <th style=\"width:50%\">{{ force_en ? \"Name\" : \"Nome\" }}</th>\n <th [fxShow.lt-sm]=\"false\" *ngIf=\"show_version\" style=\"width:30px;text-align:center\">Ver.</th>\n <th [fxShow.lt-sm]=\"false\" *ngIf=\"show_dim\" style=\"width:30px;text-align:center\">Dim.</th>\n <th [fxShow.lt-sm]=\"false\" *ngIf=\"show_descri\" style=\"width:40%\">\n {{ force_en ? \"Description\" : \"Descrizione\" }}\n </th>\n <th *ngIf=\"multi_list\" style=\"width:20%\">\n {{ force_en ? \"Type\" : \"Tipo\" }}\n </th>\n\n <th style=\"width:40px\" class=\"actions\"></th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:30%\">{{ force_en ? \"User\" : \"Utente\" }}</th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:240px;text-align:center\">\n {{ force_en ? \"Date\" : \"Data\" }}\n </th>\n\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let app of arr_g; let odd = odd; let even = even\"\n style=\"font-size: 15px;\"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td style=\"text-align:center\" *ngIf=\"show_download\">\n\n <button [hidden]=\"app.Filename.indexOf('.eml')==-1 && app.Filename.indexOf('.msg')==-1\"\n mat-icon-button\n [matTooltip]=\"'Preview' \"\n (click)=\"preview_email(app)\"\n >\n <mat-icon>visibility</mat-icon>\n </button>\n <button\n mat-icon-button\n [matTooltip]=\"'Download File' \"\n (click)=\"download_all(app)\"\n >\n <mat-icon>cloud_download</mat-icon>\n </button>\n </td>\n <td [fxShow.lt-sm]=\"false\"\n style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\" (click)=\"download_all(app)\"\n >\n <div\n style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\"\n >\n <img\n src=\"assets/icons/square-o/{{ app.icon }}\"\n style=\"width:28px;height:28px;\"\n />\n </div>\n </td>\n <td><button mat-stroked-button color=\"primary\" (click)=\"download_all(app)\">{{ app.Filename }}</button></td>\n <td style=\"text-align:center\" *ngIf=\"show_version\" [fxShow.lt-sm]=\"false\">{{ app.v }}</td>\n <td style=\"text-align:center\" *ngIf=\"show_dim\" [fxShow.lt-sm]=\"false\">{{ app.Filesize }}</td>\n <td [fxShow.lt-sm]=\"false\" *ngIf=\"show_descri\">\n <div fxLayout=\"row\">\n <div *ngIf=\"enabled\">\n <a\n mat-icon-button\n [matTooltip]=\"'Modifica Descrizione' | translate\"\n *ngIf=\"app.can_edit\"\n (click)=\"edit_descri(app)\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant('Modifica Descrizione consentita solo a') +': ' + app.nc\n \"\n *ngIf=\"!app.can_edit\"\n [disabled]=\"true\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n </div>\n <div\n [innerHTML]=\"app.descrizione_vis\"\n style=\"width:100%\"\n ></div>\n </div>\n </td>\n\n <td *ngIf=\"multi_list\">\n <div fxLayout=\"row\">\n <a\n mat-icon-button\n [matTooltip]=\"'Modifica Tipo' | translate\"\n *ngIf=\"app.can_edit\"\n (click)=\"edit_tipo(app)\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant('Modifica Tipologia consentita solo a')+': ' + app.nc\n \"\n *ngIf=\"!app.can_edit\"\n [disabled]=\"true\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <div [innerHTML]=\"app.tipo\" style=\"width:100%\"></div>\n </div>\n </td>\n\n <td\n style=\"min-width:400px;min-height: 400px\"\n *ngIf=\"app.type == 'IMG'\"\n >\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n </td>\n <td *ngIf=\"app.type != 'IMG'\"></td>\n <td [fxShow.lt-sm]=\"false\">{{ app.nc }}</td>\n <td [fxShow.lt-sm]=\"false\" style=\"text-align:center\">\n {{ app.dt_ins | date: \"dd/MM/yyyy HH:mm:ss\" }}\n </td>\n\n\n <td *ngIf=\"enabled\" style=\"text-align:center\">\n <a\n mat-icon-button\n [matTooltip]=\"'Elimina File' \"\n *ngIf=\"app.can_delete\"\n (click)=\"delete(app)\"\n >\n <mat-icon>delete</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant('Eliminazione consentita solo a')+': ' + app.can_delete_m\n \"\n *ngIf=\"!app.can_delete\"\n [disabled]=\"true\"\n >\n <mat-icon>delete</mat-icon>\n </a>\n </td>\n </tr>\n </tbody>\n </table>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"image_type && !b_mobile\">\n <thead>\n <tr class=\"header\">\n <th style=\"width:40px\" class=\"actions\" *ngIf=\"show_download\"></th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:40px\"></th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:50%\">{{ force_en ? \"Name\" : \"Nome\" }}</th>\n <th [fxShow.lt-sm]=\"false\" *ngIf=\"show_version\" style=\"width:30px;text-align:center\">Ver.</th>\n <th [fxShow.lt-sm]=\"false\" *ngIf=\"show_dim\" style=\"width:30px;text-align:center\">Dim.</th>\n\n <th [fxShow.lt-sm]=\"false\" style=\"width:20%\" *ngIf=\"show_descri\">\n {{ force_en ? \"Description\" : \"Descrizione\" }}\n </th>\n <th *ngIf=\"multi_list\" style=\"width:10%\" [fxShow.lt-sm]=\"false\">\n {{ force_en ? \"Type\" : \"Tipo\" }}\n </th>\n <th style=\"width:40%\"></th>\n\n <th [fxShow.lt-sm]=\"false\" style=\"width:10%\">{{ force_en ? \"User\" : \"Utente\" }}</th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:240px;text-align:center\">\n {{ force_en ? \"Date\" : \"Data\" }}\n </th>\n\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let app of arr_g; let odd = odd; let even = even\"\n style=\"font-size: 15px;\"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td style=\"text-align:center\" *ngIf=\"show_download\">\n\n<button [hidden]=\"app.Filename.indexOf('.eml')==-1 && app.Filename.indexOf('.msg')==-1\"\n mat-icon-button\n [matTooltip]=\"'Preview' \"\n (click)=\"preview_email(app)\"\n >\n <mat-icon>visibility</mat-icon>\n </button>\n\n\n <button\n mat-icon-button\n [matTooltip]=\"'Download File' \"\n (click)=\"download_all(app)\"\n >\n <mat-icon>cloud_download</mat-icon>\n </button>\n</td>\n <td [fxShow.lt-sm]=\"false\"\n style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\" (click)=\"download_all(app)\"\n >\n <div\n style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\"\n >\n <img\n src=\"assets/icons/square-o/{{ app.icon }}\"\n style=\"width:28px;height:28px;\"\n />\n </div>\n </td>\n\n <td [fxShow.lt-sm]=\"false\"><button mat-stroked-button color=\"primary\" (click)=\"download_all(app)\">{{ app.Filename }}</button></td>\n <td style=\"text-align:center\" *ngIf=\"show_version\" [fxShow.lt-sm]=\"false\">{{ app.v }}</td>\n <td [fxShow.lt-sm]=\"false\" *ngIf=\"show_dim\" style=\"text-align:center\">{{ app.Filesize }}</td>\n <td [fxShow.lt-sm]=\"false\" *ngIf=\"show_descri\">\n <div fxLayout=\"row\">\n <div *ngIf=\"enabled\">\n <a\n mat-icon-button\n [matTooltip]=\"'Modifica Descrizione' | translate\"\n *ngIf=\"app.can_edit\"\n (click)=\"edit_descri(app)\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant( 'Modifica Descrizione consentita solo a')+': ' + app.nc\n \"\n *ngIf=\"!app.can_edit\"\n [disabled]=\"true\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n </div>\n <div\n [innerHTML]=\"app.descrizione_vis\"\n style=\"width:100%\"\n ></div>\n </div>\n </td>\n <td *ngIf=\"multi_list\">\n <div fxLayout=\"row\">\n <a\n mat-icon-button\n [matTooltip]=\"'Modifica Tipo' | translate\"\n *ngIf=\"app.can_edit\"\n (click)=\"edit_tipo(app)\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant( 'Modifica Tipologia consentita solo a')+':' + app.nc\n \"\n *ngIf=\"!app.can_edit\"\n [disabled]=\"true\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <div [innerHTML]=\"app.tipo\" style=\"width:100%\"></div>\n </div>\n </td>\n\n <td\n style=\"min-width:400px;min-height: 400px\"\n *ngIf=\"app.type == 'IMG'\"\n >\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n </td>\n <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>\n <td [fxShow.lt-sm]=\"false\">{{ app.nc }}</td>\n <td style=\"text-align:center\" [fxShow.lt-sm]=\"false\">\n {{ app.dt_ins | date: \"dd/MM/yyyy HH:mm:ss\" }}\n </td>\n\n\n <td *ngIf=\"enabled\" style=\"text-align:center\">\n <a\n mat-icon-button\n [matTooltip]=\"'Elimina File' \"\n *ngIf=\"app.can_delete\"\n (click)=\"delete(app)\"\n >\n <mat-icon>delete</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant( 'Cancellazione consentita solo a')+': ' + app.can_delete_m\n \"\n *ngIf=\"!app.can_delete\"\n [disabled]=\"true\"\n >\n <mat-icon>delete</mat-icon>\n </a>\n </td>\n </tr>\n </tbody>\n </table>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"b_mobile\">\n <tbody>\n <tr\n *ngFor=\"let app of arr_g; let odd = odd; let even = even\"\n style=\"font-size: 15px;\"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td\n style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\" (click)=\"download_all(app)\"\n >\n <div\n style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\"\n >\n <img\n src=\"assets/icons/square-o/{{ app.icon }}\"\n style=\"width:28px;height:28px;\"\n />\n </div>\n </td>\n <td *ngIf=\"b_mobile\" style=\"text-align:center\">\n <button mat-stroked-button color=\"primary\" (click)=\"download_all(app)\">{{ app.Filename }}</button><br /><br />\n <button\n style=\"background-color: #F5F5F5\"\n (click)=\"download_all(app)\"\n mat-flat-button\n >\n DOWNLOAD\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div *ngIf=\"!b_ini && b_initt\" style=\"color:#ff0000\">\n <b>{{'ATTENZIONE COMPONENTE NON INIZIALIZZATO' }}</b>\n </div>\n ",
|
|
4880
|
+
template: "\n <div fxLayout=\"column\">\n <h3 *ngIf=\"label != ''\">{{ label }}</h3>\n <div fxLayout=\"column\">\n\n <div [hidden]=\"!enabled || !show_upload\">\n\n <FHUpload\n (upload_ended)=\"_upload_ended($event)\"\n [single]=\"false\"\n [selezionare_tipologia]=\"selezionare_tipologia \"\n [lascia_il_file] = \"force_en ? 'Drop here to confim':'Lascia il file per confermarmare upload' \"\n [trascina_il_file] = \"force_en ? 'Drop a file here o click to upload a file':'Trascina un file qui o Clicca per avviare upload' \"\n\n [show_descri]=\"show_descri\"\n [descri_obb]=\"description_required\"\n [label_attendere]=\"\n force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO'\n \"\n [fixed_label]=\"\n force_en\n ? ' (insert the description here before uploading the file)'\n : ' (INSERISCI QUI LA DESCRIZIONE PRIMA DI CARICARE IL FILE)'\n \"\n [allegato_inserito]=\"\n force_en ? 'Attachment Inserted' : 'ALLEGATO INSERITO'\n \"\n [lista_allegati]=\"arr_g\"\n (change)=\"ref_allegato();output_ris($event)\"\n (call_upload)=\"call_up($event)\"\n #upc\n ></FHUpload>\n\n </div>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"!image_type && !b_mobile\">\n <thead>\n <tr class=\"header\">\n <th style=\"width:40px\" class=\"actions\" *ngIf=\"show_download\"></th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:40px\"></th>\n <th style=\"width:50%\">{{ force_en ? \"Name\" : \"Nome\" }}</th>\n <th [fxShow.lt-sm]=\"false\" *ngIf=\"show_version\" style=\"width:30px;text-align:center\">Ver.</th>\n <th [fxShow.lt-sm]=\"false\" *ngIf=\"show_dim\" style=\"width:30px;text-align:center\">Dim.</th>\n <th [fxShow.lt-sm]=\"false\" *ngIf=\"show_descri\" style=\"width:40%\">\n {{ force_en ? \"Description\" : \"Descrizione\" }}\n </th>\n <th *ngIf=\"multi_list\" style=\"width:20%\">\n {{ force_en ? \"Type\" : \"Tipo\" }}\n </th>\n\n <th style=\"width:40px\" class=\"actions\"></th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:30%\">{{ force_en ? \"User\" : \"Utente\" }}</th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:240px;text-align:center\">\n {{ force_en ? \"Date\" : \"Data\" }}\n </th>\n\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let app of arr_g; let odd = odd; let even = even\"\n style=\"font-size: 15px;\"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td style=\"text-align:center\" *ngIf=\"show_download\">\n\n <button [hidden]=\"app.Filename.indexOf('.eml')==-1 && app.Filename.indexOf('.msg')==-1\"\n mat-icon-button\n [matTooltip]=\"'Preview' \"\n (click)=\"preview_email(app)\"\n >\n <mat-icon>visibility</mat-icon>\n </button>\n <button\n mat-icon-button\n [matTooltip]=\"'Download File' \"\n (click)=\"download_all(app)\"\n >\n <mat-icon>cloud_download</mat-icon>\n </button>\n </td>\n <td [fxShow.lt-sm]=\"false\"\n style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\" (click)=\"download_all(app)\"\n >\n <div\n style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\"\n >\n <img\n src=\"assets/icons/square-o/{{ app.icon }}\"\n style=\"width:28px;height:28px;\"\n />\n </div>\n </td>\n <td><button mat-stroked-button color=\"primary\" (click)=\"download_all(app)\">{{ app.Filename }}</button></td>\n <td style=\"text-align:center\" *ngIf=\"show_version\" [fxShow.lt-sm]=\"false\">{{ app.v }}</td>\n <td style=\"text-align:center\" *ngIf=\"show_dim\" [fxShow.lt-sm]=\"false\">{{ app.Filesize }}</td>\n <td [fxShow.lt-sm]=\"false\" *ngIf=\"show_descri\">\n <div fxLayout=\"row\">\n <div *ngIf=\"enabled\">\n <a\n mat-icon-button\n [matTooltip]=\"'Modifica Descrizione' | translate\"\n *ngIf=\"app.can_edit\"\n (click)=\"edit_descri(app)\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant('Modifica Descrizione consentita solo a') +': ' + app.nc\n \"\n *ngIf=\"!app.can_edit\"\n [disabled]=\"true\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n </div>\n <div\n [innerHTML]=\"app.descrizione_vis\"\n style=\"width:100%\"\n ></div>\n </div>\n </td>\n\n <td *ngIf=\"multi_list\">\n <div fxLayout=\"row\">\n <a\n mat-icon-button\n [matTooltip]=\"'Modifica Tipo' | translate\"\n *ngIf=\"app.can_edit\"\n (click)=\"edit_tipo(app)\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant('Modifica Tipologia consentita solo a')+': ' + app.nc\n \"\n *ngIf=\"!app.can_edit\"\n [disabled]=\"true\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <div [innerHTML]=\"app.tipo\" style=\"width:100%\"></div>\n </div>\n </td>\n\n <td\n style=\"min-width:400px;min-height: 400px\"\n *ngIf=\"app.type == 'IMG'\"\n >\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n </td>\n <td *ngIf=\"app.type != 'IMG'\"></td>\n <td [fxShow.lt-sm]=\"false\">{{ app.nc }}</td>\n <td [fxShow.lt-sm]=\"false\" style=\"text-align:center\">\n {{ app.dt_ins | date: \"dd/MM/yyyy HH:mm:ss\" }}\n </td>\n\n\n <td *ngIf=\"enabled\" style=\"text-align:center\">\n <a\n mat-icon-button\n [matTooltip]=\"'Elimina File' \"\n *ngIf=\"app.can_delete\"\n (click)=\"delete(app)\"\n >\n <mat-icon>delete</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant('Eliminazione consentita solo a')+': ' + app.can_delete_m\n \"\n *ngIf=\"!app.can_delete\"\n [disabled]=\"true\"\n >\n <mat-icon>delete</mat-icon>\n </a>\n </td>\n </tr>\n </tbody>\n </table>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"image_type && !b_mobile\">\n <thead>\n <tr class=\"header\">\n <th style=\"width:40px\" class=\"actions\" *ngIf=\"show_download\"></th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:40px\"></th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:50%\">{{ force_en ? \"Name\" : \"Nome\" }}</th>\n <th [fxShow.lt-sm]=\"false\" *ngIf=\"show_version\" style=\"width:30px;text-align:center\">Ver.</th>\n <th [fxShow.lt-sm]=\"false\" *ngIf=\"show_dim\" style=\"width:30px;text-align:center\">Dim.</th>\n\n <th [fxShow.lt-sm]=\"false\" style=\"width:20%\" *ngIf=\"show_descri\">\n {{ force_en ? \"Description\" : \"Descrizione\" }}\n </th>\n <th *ngIf=\"multi_list\" style=\"width:10%\" [fxShow.lt-sm]=\"false\">\n {{ force_en ? \"Type\" : \"Tipo\" }}\n </th>\n <th style=\"width:40%\"></th>\n\n <th [fxShow.lt-sm]=\"false\" style=\"width:10%\">{{ force_en ? \"User\" : \"Utente\" }}</th>\n <th [fxShow.lt-sm]=\"false\" style=\"width:240px;text-align:center\">\n {{ force_en ? \"Date\" : \"Data\" }}\n </th>\n\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let app of arr_g; let odd = odd; let even = even\"\n style=\"font-size: 15px;\"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td style=\"text-align:center\" *ngIf=\"show_download\">\n\n<button [hidden]=\"app.Filename.indexOf('.eml')==-1 && app.Filename.indexOf('.msg')==-1\"\n mat-icon-button\n [matTooltip]=\"'Preview' \"\n (click)=\"preview_email(app)\"\n >\n <mat-icon>visibility</mat-icon>\n </button>\n\n\n <button\n mat-icon-button\n [matTooltip]=\"'Download File' \"\n (click)=\"download_all(app)\"\n >\n <mat-icon>cloud_download</mat-icon>\n </button>\n</td>\n <td [fxShow.lt-sm]=\"false\"\n style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\" (click)=\"download_all(app)\"\n >\n <div\n style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\"\n >\n <img\n src=\"assets/icons/square-o/{{ app.icon }}\"\n style=\"width:28px;height:28px;\"\n />\n </div>\n </td>\n\n <td [fxShow.lt-sm]=\"false\"><button mat-stroked-button color=\"primary\" (click)=\"download_all(app)\">{{ app.Filename }}</button></td>\n <td style=\"text-align:center\" *ngIf=\"show_version\" [fxShow.lt-sm]=\"false\">{{ app.v }}</td>\n <td [fxShow.lt-sm]=\"false\" *ngIf=\"show_dim\" style=\"text-align:center\">{{ app.Filesize }}</td>\n <td [fxShow.lt-sm]=\"false\" *ngIf=\"show_descri\">\n <div fxLayout=\"row\">\n <div *ngIf=\"enabled\">\n <a\n mat-icon-button\n [matTooltip]=\"'Modifica Descrizione' | translate\"\n *ngIf=\"app.can_edit\"\n (click)=\"edit_descri(app)\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant( 'Modifica Descrizione consentita solo a')+': ' + app.nc\n \"\n *ngIf=\"!app.can_edit\"\n [disabled]=\"true\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n </div>\n <div\n [innerHTML]=\"app.descrizione_vis\"\n style=\"width:100%\"\n ></div>\n </div>\n </td>\n <td *ngIf=\"multi_list\">\n <div fxLayout=\"row\">\n <a\n mat-icon-button\n [matTooltip]=\"'Modifica Tipo' | translate\"\n *ngIf=\"app.can_edit\"\n (click)=\"edit_tipo(app)\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant( 'Modifica Tipologia consentita solo a')+':' + app.nc\n \"\n *ngIf=\"!app.can_edit\"\n [disabled]=\"true\"\n >\n <mat-icon>edit</mat-icon>\n </a>\n\n <div [innerHTML]=\"app.tipo\" style=\"width:100%\"></div>\n </div>\n </td>\n\n <td\n style=\"min-width:400px;min-height: 400px\"\n *ngIf=\"app.type == 'IMG'\"\n >\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n </td>\n <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>\n <td [fxShow.lt-sm]=\"false\">{{ app.nc }}</td>\n <td style=\"text-align:center\" [fxShow.lt-sm]=\"false\">\n {{ app.dt_ins | date: \"dd/MM/yyyy HH:mm:ss\" }}\n </td>\n\n\n <td *ngIf=\"enabled\" style=\"text-align:center\">\n <a\n mat-icon-button\n [matTooltip]=\"'Elimina File' \"\n *ngIf=\"app.can_delete\"\n (click)=\"delete(app)\"\n >\n <mat-icon>delete</mat-icon>\n </a>\n\n <a\n mat-icon-button\n [matTooltip]=\"\n _trs.instant( 'Cancellazione consentita solo a')+': ' + app.can_delete_m\n \"\n *ngIf=\"!app.can_delete\"\n [disabled]=\"true\"\n >\n <mat-icon>delete</mat-icon>\n </a>\n </td>\n </tr>\n </tbody>\n </table>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"b_mobile\">\n <tbody>\n <tr\n *ngFor=\"let app of arr_g; let odd = odd; let even = even\"\n style=\"font-size: 15px;\"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td\n style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\" (click)=\"download_all(app)\"\n >\n <div\n style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\"\n >\n <img\n src=\"assets/icons/square-o/{{ app.icon }}\"\n style=\"width:28px;height:28px;\"\n />\n </div>\n </td>\n <td *ngIf=\"b_mobile\" style=\"text-align:center\">\n <button mat-stroked-button color=\"primary\" (click)=\"download_all(app)\">{{ app.Filename }}</button><br /><br />\n <button\n style=\"background-color: #F5F5F5\"\n (click)=\"download_all(app)\"\n mat-flat-button\n >\n DOWNLOAD\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div *ngIf=\"!b_ini && b_initt\" style=\"color:#ff0000\">\n <b>{{'ATTENZIONE COMPONENTE NON INIZIALIZZATO' }}</b>\n </div>\n ",
|
|
4874
4881
|
styles: [""]
|
|
4875
4882
|
},] }
|
|
4876
4883
|
];
|
|
@@ -4899,6 +4906,7 @@
|
|
|
4899
4906
|
description_required: [{ type: i0.Input }],
|
|
4900
4907
|
selezionare_tipologia: [{ type: i0.Input }],
|
|
4901
4908
|
show_delete: [{ type: i0.Input }],
|
|
4909
|
+
upload_ended: [{ type: i0.Output }],
|
|
4902
4910
|
expand: [{ type: i0.Output }],
|
|
4903
4911
|
file_copy: [{ type: i0.Output }],
|
|
4904
4912
|
change: [{ type: i0.Output }],
|