@fluxhub/fluxhub-lib 10.0.732 → 10.0.734
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 -53
- 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/fhupload.js +5 -2
- package/esm2015/lib/controls/fhuploadpanel.js +15 -10
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +2 -52
- package/fesm2015/fluxhub-fluxhub-lib.js +19 -61
- 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
|
@@ -4487,6 +4487,8 @@
|
|
|
4487
4487
|
this.show_version = false;
|
|
4488
4488
|
this.enabled = true;
|
|
4489
4489
|
this.force_en = false;
|
|
4490
|
+
this.show_dim = true;
|
|
4491
|
+
this.show_descri = true;
|
|
4490
4492
|
this.label = "";
|
|
4491
4493
|
this.sovrascrivi_path = "";
|
|
4492
4494
|
this.ruolo_supervisore = "[ZZZ_DIS_CC]";
|
|
@@ -4813,7 +4815,7 @@
|
|
|
4813
4815
|
FHUploadPanelComponent.decorators = [
|
|
4814
4816
|
{ type: i0.Component, args: [{
|
|
4815
4817
|
selector: "FHUploadPanel",
|
|
4816
|
-
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 [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 [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\" style=\"width:30px;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;\" (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\" [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' | 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 <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 _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 [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\" style=\"width:30px;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;\" (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\" 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' | 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 <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 _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 ",
|
|
4818
|
+
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 [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 <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;\" (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 <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 _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 [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 <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;\" (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 <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 _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 ",
|
|
4817
4819
|
styles: [""]
|
|
4818
4820
|
},] }
|
|
4819
4821
|
];
|
|
@@ -4829,6 +4831,8 @@
|
|
|
4829
4831
|
FHUploadPanelComponent.propDecorators = {
|
|
4830
4832
|
enabled: [{ type: i0.Input }],
|
|
4831
4833
|
force_en: [{ type: i0.Input }],
|
|
4834
|
+
show_dim: [{ type: i0.Input }],
|
|
4835
|
+
show_descri: [{ type: i0.Input }],
|
|
4832
4836
|
label: [{ type: i0.Input }],
|
|
4833
4837
|
sovrascrivi_path: [{ type: i0.Input }],
|
|
4834
4838
|
ruolo_supervisore: [{ type: i0.Input }],
|
|
@@ -4903,6 +4907,7 @@
|
|
|
4903
4907
|
this.show_upload = true;
|
|
4904
4908
|
this.id_component = this.uti.newGuid();
|
|
4905
4909
|
this.username = this.app_s.user;
|
|
4910
|
+
console.log('this.app_s.user ', this.app_s.user);
|
|
4906
4911
|
this.uploader.onBeforeUploadItem = function (item) {
|
|
4907
4912
|
item.withCredentials = false;
|
|
4908
4913
|
};
|
|
@@ -4925,6 +4930,7 @@
|
|
|
4925
4930
|
};
|
|
4926
4931
|
}
|
|
4927
4932
|
FHUploadComponent.prototype.call_up = function () {
|
|
4933
|
+
console.log('this.app_s.user ', this.app_s.user);
|
|
4928
4934
|
this.call_upload.emit({
|
|
4929
4935
|
App: this.App,
|
|
4930
4936
|
K: this.K,
|
|
@@ -5081,8 +5087,9 @@
|
|
|
5081
5087
|
form.append("K", _this.K);
|
|
5082
5088
|
form.append("descrizione", _this.descrizione);
|
|
5083
5089
|
form.append("single", _this.single);
|
|
5084
|
-
form.append("username", _this.
|
|
5090
|
+
form.append("username", _this.app_s.user);
|
|
5085
5091
|
form.append("ver", _this.ver);
|
|
5092
|
+
console.log('this.app_s.user ', _this.app_s.user);
|
|
5086
5093
|
if (_this.multi_list && _this.show_upload)
|
|
5087
5094
|
form.append("tipo", _this.cmb_tipo.getDescri().split("-1").join(""));
|
|
5088
5095
|
else
|
|
@@ -24687,6 +24694,7 @@
|
|
|
24687
24694
|
"" + lvlb,
|
|
24688
24695
|
];
|
|
24689
24696
|
_this.insert_wkf_variabile(_this.id_applicativo, _this.id_documento, _this.m_obj.stato + "_PLAYER", _this.user_idp);
|
|
24697
|
+
_this.m_liv = lvlb;
|
|
24690
24698
|
_this.m_wkf.doQuery(p_2).subscribe(function (data) {
|
|
24691
24699
|
if (data != null)
|
|
24692
24700
|
if (data.result_msg == "OK") {
|
|
@@ -24712,56 +24720,6 @@
|
|
|
24712
24720
|
body_email = _this.app_info.body_riassegna;
|
|
24713
24721
|
oggetto_email = oggetto_email.split('{{TRANSITION_DESCRI}}').join(_this.getLvlDescri(String(_this.m_liv), _this.m_statox));
|
|
24714
24722
|
body_email = body_email.split('{{TRANSITION_DESCRI}}').join(_this.getLvlDescri(String(_this.m_liv), _this.m_statox));
|
|
24715
|
-
/*
|
|
24716
|
-
for (let prop in this.m_obj)
|
|
24717
|
-
if (this.m_obj[prop] != null) {
|
|
24718
|
-
|
|
24719
|
-
if (
|
|
24720
|
-
Object.prototype.toString.call(this.m_obj[prop]) ===
|
|
24721
|
-
"[object Date]"
|
|
24722
|
-
) {
|
|
24723
|
-
oggetto_email = oggetto_email
|
|
24724
|
-
.split("{{" + prop + "}}")
|
|
24725
|
-
.join(this.uti_s.date2String(this.m_obj[prop]));
|
|
24726
|
-
} else if (
|
|
24727
|
-
("" + this.m_obj[prop]).indexOf("T00:00:00") == -1
|
|
24728
|
-
)
|
|
24729
|
-
oggetto_email = oggetto_email
|
|
24730
|
-
.split("{{" + prop + "}}")
|
|
24731
|
-
.join(this.m_obj[prop]);
|
|
24732
|
-
else
|
|
24733
|
-
oggetto_email = oggetto_email
|
|
24734
|
-
.split("{{" + prop + "}}")
|
|
24735
|
-
.join(
|
|
24736
|
-
this.uti_s.date2String(
|
|
24737
|
-
this.uti_s.string2date(this.m_obj[prop], 2)
|
|
24738
|
-
)
|
|
24739
|
-
);
|
|
24740
|
-
|
|
24741
|
-
|
|
24742
|
-
|
|
24743
|
-
if (
|
|
24744
|
-
Object.prototype.toString.call(this.m_obj[prop]) ===
|
|
24745
|
-
"[object Date]"
|
|
24746
|
-
) {
|
|
24747
|
-
body_email = body_email
|
|
24748
|
-
.split("{{" + prop + "}}")
|
|
24749
|
-
.join(this.uti_s.date2String(this.m_obj[prop]));
|
|
24750
|
-
} else if (
|
|
24751
|
-
("" + this.m_obj[prop]).indexOf("T00:00:00") == -1
|
|
24752
|
-
)
|
|
24753
|
-
body_email = body_email
|
|
24754
|
-
.split("{{" + prop + "}}")
|
|
24755
|
-
.join(this.m_obj[prop]);
|
|
24756
|
-
else
|
|
24757
|
-
body_email = body_email
|
|
24758
|
-
.split("{{" + prop + "}}")
|
|
24759
|
-
.join(
|
|
24760
|
-
this.uti_s.date2String(
|
|
24761
|
-
this.uti_s.string2date(this.m_obj[prop], 2)
|
|
24762
|
-
)
|
|
24763
|
-
);
|
|
24764
|
-
}*/
|
|
24765
24723
|
_this.sendEMail_ex(_this.user_idp, s_notif, oggetto_email, body_email, _this.id_applicativo, _this.id_documento, _this.app_s.COMPANY_SITE_ROOT +
|
|
24766
24724
|
"#/" +
|
|
24767
24725
|
_this.app_info.modulo_swf +
|
|
@@ -24787,7 +24745,6 @@
|
|
|
24787
24745
|
var _this = this;
|
|
24788
24746
|
this.m_autori = this.user_idp;
|
|
24789
24747
|
this.m_lettori = "";
|
|
24790
|
-
this.m_liv = 0;
|
|
24791
24748
|
this.m_statox = "";
|
|
24792
24749
|
this.m_danotificare = "";
|
|
24793
24750
|
this.m_oper = "";
|