@fluxhub/fluxhub-lib 10.0.189 → 10.0.191
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 +4 -2
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhuploadpanel.js +11 -9
- package/esm2015/lib/wkf_engine/win_commenti.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +11 -9
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhuploadpanel.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4095,6 +4095,7 @@
|
|
|
4095
4095
|
this.show_images = true;
|
|
4096
4096
|
this.can_delete_owner = true;
|
|
4097
4097
|
this.show_upload = true;
|
|
4098
|
+
this.show_download = true;
|
|
4098
4099
|
this.b_initt = false;
|
|
4099
4100
|
this.change = new i0.EventEmitter();
|
|
4100
4101
|
this.call_upload = new i0.EventEmitter();
|
|
@@ -4388,7 +4389,7 @@
|
|
|
4388
4389
|
FHUploadPanelComponent.decorators = [
|
|
4389
4390
|
{ type: i0.Component, args: [{
|
|
4390
4391
|
selector: "FHUploadPanel",
|
|
4391
|
-
template: "\n <div fxLayout=\"column\">\n <h3 *ngIf=\"label != ''\">{{ label }}</h3>\n <div fxLayout=\"column\">\n <div [hidden]=\"!enabled || !show_upload\">\n <FHUpload\n [single]=\"b_False\"\n\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\n [label_attendere]=\"\n force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO'\n \"\n [fixed_label]=\"\n force_en\n ? 'Attachments description (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()\"\n (call_upload)=\"call_up($event)\"\n #upc\n ></FHUpload>\n </div>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"!image_type && !b_mobile\">\n <thead>\n <tr class=\"header\">\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\" style=\"width:60px;text-align:center\">Dim.</th>\n <th [fxShow.lt-sm]=\"false\" 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 <th style=\"width:40px\" class=\"actions\"></th>\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 [fxShow.lt-sm]=\"false\"\n style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\"\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 >{{ app.Filename }}</td>\n <td style=\"text-align:center\" [fxShow.lt-sm]=\"false\">{{ app.Filesize }}</td>\n <td [fxShow.lt-sm]=\"false\">\n <div fxLayout=\"row\">\n <div *ngIf=\"enabled\">\n <a\n mat-icon-button\n matTooltip=\"Modifica Descrizione\"\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 '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\"\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 '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 <td style=\"text-align:center\">\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\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 '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=\"image_type && !b_mobile\">\n <thead>\n <tr class=\"header\">\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\" style=\"width:60px;text-align:center\">Dim.</th>\n\n <th [fxShow.lt-sm]=\"false\" style=\"width:20%\">\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 <th style=\"width:40px\" class=\"actions\"></th>\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 [fxShow.lt-sm]=\"false\"\n style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\"\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\">{{ app.Filename }}</td>\n <td [fxShow.lt-sm]=\"false\" style=\"text-align:center\">{{ app.Filesize }}</td>\n <td [fxShow.lt-sm]=\"false\">\n <div fxLayout=\"row\">\n <div *ngIf=\"enabled\">\n <a\n mat-icon-button\n matTooltip=\"Modifica Descrizione\"\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 '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\"\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 '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\">{{ app.Filename }}</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 <td style=\"text-align:center\">\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\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 '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;\"\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 {{ app.Filename }}<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 ",
|
|
4392
|
+
template: "\n <div fxLayout=\"column\">\n <h3 *ngIf=\"label != ''\">{{ label }}</h3>\n <div fxLayout=\"column\">\n <div [hidden]=\"!enabled || !show_upload\">\n <FHUpload\n [single]=\"b_False\"\n\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\n [label_attendere]=\"\n force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO'\n \"\n [fixed_label]=\"\n force_en\n ? 'Attachments description (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()\"\n (call_upload)=\"call_up($event)\"\n #upc\n ></FHUpload>\n </div>\n <table width=\"98%\" class=\"fh_table\" *ngIf=\"!image_type && !b_mobile\">\n <thead>\n <tr class=\"header\">\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\" style=\"width:60px;text-align:center\">Dim.</th>\n <th [fxShow.lt-sm]=\"false\" 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 <th style=\"width:40px\" class=\"actions\" *ngIf=\"show_download\"></th>\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 [fxShow.lt-sm]=\"false\"\n style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\"\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\" [fxShow.lt-sm]=\"false\">{{ app.Filesize }}</td>\n <td [fxShow.lt-sm]=\"false\">\n <div fxLayout=\"row\">\n <div *ngIf=\"enabled\">\n <a\n mat-icon-button\n matTooltip=\"Modifica Descrizione\"\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 '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\"\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 '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 <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\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 '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=\"image_type && !b_mobile\">\n <thead>\n <tr class=\"header\">\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\" style=\"width:60px;text-align:center\">Dim.</th>\n\n <th [fxShow.lt-sm]=\"false\" style=\"width:20%\">\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 <th style=\"width:40px\" class=\"actions\" *ngIf=\"show_download\"></th>\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 [fxShow.lt-sm]=\"false\"\n style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\"\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 [fxShow.lt-sm]=\"false\" style=\"text-align:center\">{{ app.Filesize }}</td>\n <td [fxShow.lt-sm]=\"false\">\n <div fxLayout=\"row\">\n <div *ngIf=\"enabled\">\n <a\n mat-icon-button\n matTooltip=\"Modifica Descrizione\"\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 '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\"\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 '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 <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\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 '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;\"\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 ",
|
|
4392
4393
|
styles: [""]
|
|
4393
4394
|
},] }
|
|
4394
4395
|
];
|
|
@@ -4410,6 +4411,7 @@
|
|
|
4410
4411
|
show_images: [{ type: i0.Input }],
|
|
4411
4412
|
can_delete_owner: [{ type: i0.Input }],
|
|
4412
4413
|
show_upload: [{ type: i0.Input }],
|
|
4414
|
+
show_download: [{ type: i0.Input }],
|
|
4413
4415
|
change: [{ type: i0.Output }],
|
|
4414
4416
|
call_upload: [{ type: i0.Output }],
|
|
4415
4417
|
init_end: [{ type: i0.Output }],
|
|
@@ -10329,7 +10331,7 @@
|
|
|
10329
10331
|
}());
|
|
10330
10332
|
win_commenti.decorators = [
|
|
10331
10333
|
{ type: i0.Component, args: [{
|
|
10332
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-toolbar color=\"primary\"\n >{{ title }}\n <span class=\"fill-remaining-space\"></span>\n <div>\n <button mat-
|
|
10334
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-toolbar color=\"primary\"\n >{{ title }}\n <span class=\"fill-remaining-space\"></span>\n <div>\n <button mat-flat-button color=\"accent\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n </div>\n </mat-toolbar>\n <br />\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Commento</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\" fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button\n > \n <mat-checkbox\n [disabled]=\"not_comm_disabled\"\n [(ngModel)]=\"not_comm\"\n [hidden]=\"\n notifica_commenti == 0 || (notifica_commenti == 1 && lettori == '')\n \"\n >\n Notifica Interessati\n </mat-checkbox>\n </div>\n <section class=\"bs\" *ngIf=\"!b_edit\">\n <table style=\"min-width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>Commento</th>\n <th width=\"15%\">Autore</th>\n <th width=\"15%\">Data</th>\n <th></th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"\n let app of commenti_list;\n let odd = odd;\n let even = even;\n index as i\n \"\n [ngClass]=\"{ odd: odd, even: even }\"\n >\n <td [innerHTML]=\"app.v_commento\"></td>\n <td>{{ app.COGNOME + \" \" + app.NOME }}</td>\n <td>{{ app.data_creazione | date: \"dd/MM/yyyy HH:mm:ss\" }}</td>\n <td>\n <mat-icon\n [matTooltip]=\"app.dest_notif\"\n *ngIf=\"app.dest_notif != null && app.dest_notif != ''\"\n >mail</mat-icon\n >\n </td>\n <td>\n <mat-icon\n *ngIf=\"\n i == 0 &&\n app.creatore ==\n m_appService.getState().wkf_doc_info.curr_user\n \"\n (click)=\"edit_comm(app)\"\n >edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </section>\n </div>\n <br />\n\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n CHIUDI\n </button>\n </div>\n ",
|
|
10333
10335
|
styles: [""]
|
|
10334
10336
|
},] }
|
|
10335
10337
|
];
|