@fluxhub/fluxhub-lib 10.0.587 → 10.0.589
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 +38 -33
- 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/fhupload.js +13 -10
- package/esm2015/lib/controls/fhupload_s3.js +12 -9
- package/esm2015/lib/controls/fhuploadpanel.js +41 -38
- package/esm2015/lib/controls/fhuploadpanel_s3.js +4 -4
- package/esm2015/lib/wkf_engine_v2/win_riassegna_select_level.js +2 -2
- package/esm2015/lib/wkf_engine_v2/wkfapp.js +3 -4
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +3 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +69 -64
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhupload.d.ts +3 -1
- package/lib/controls/fhupload_s3.d.ts +3 -1
- package/lib/controls/fhuploadpanel.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/material/dialog'), require('ngx-toastr'), require('@angular/core'), require('ngx-simple-crypt'), require('crypto-js'), require('@angular/platform-browser'), require('@angular/common/http'), require('rxjs/operators'), require('ng2-file-upload'), require('@angular/forms'), require('@angular/router'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@fluxhub/fluxhub-lib', ['exports', '@angular/material/dialog', 'ngx-toastr', '@angular/core', 'ngx-simple-crypt', 'crypto-js', '@angular/platform-browser', '@angular/common/http', 'rxjs/operators', 'ng2-file-upload', '@angular/forms', '@angular/router', '
|
|
4
|
-
(global = global || self, factory((global.fluxhub = global.fluxhub || {}, global.fluxhub['fluxhub-lib'] = {}), global.ng.material.dialog, global.i3, global.ng.core, global.ngxSimpleCrypt, global.CryptoJS, global.ng.platformBrowser, global.ng.common.http, global.rxjs.operators, global.ng2FileUpload, global.ng.forms, global.ng.router, global.
|
|
5
|
-
}(this, (function (exports, dialog, i3, i0, ngxSimpleCrypt, CryptoJS, i2, i1, operators, ng2FileUpload, forms, i3$1,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/material/dialog'), require('ngx-toastr'), require('@angular/core'), require('ngx-simple-crypt'), require('crypto-js'), require('@angular/platform-browser'), require('@angular/common/http'), require('rxjs/operators'), require('@ngx-translate/core'), require('ng2-file-upload'), require('@angular/forms'), require('@angular/router'), require('rxjs'), require('ng2-slim-loading-bar'), require('@angular/cdk/clipboard'), require('ag-grid-enterprise'), require('@angular/material/autocomplete'), require('moment'), require('@angular/material/core'), require('@angular/common'), require('clipboard'), require('prismjs'), require('prismjs/plugins/toolbar/prism-toolbar'), require('prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard'), require('prismjs/components/prism-css'), require('prismjs/components/prism-javascript'), require('prismjs/components/prism-java'), require('prismjs/components/prism-markup'), require('prismjs/components/prism-typescript'), require('prismjs/components/prism-sass'), require('prismjs/components/prism-scss'), require('prismjs/components/prism-sql'), require('bpmn-js/lib/NavigatedViewer'), require('@angular/flex-layout'), require('ngx-markdown'), require('ag-grid-angular'), require('@agm/core'), require('@angular/cdk/table'), require('ngforage'), require('ng2-dragula'), require('@angular/material/card'), require('@angular/material/button'), require('@angular/material/checkbox'), require('@angular/material/button-toggle'), require('@angular/material/chips'), require('@angular/material/datepicker'), require('@angular/material/expansion'), require('@angular/material/form-field'), require('@angular/material/grid-list'), require('@angular/material/icon'), require('@angular/material/input'), require('@angular/material/list'), require('@angular/material/menu'), require('@angular/material/progress-bar'), require('@angular/material/progress-spinner'), require('@angular/material/radio'), require('@angular/material/select'), require('@angular/material/slide-toggle'), require('@angular/material/slider'), require('@angular/material/sidenav'), require('@angular/material/snack-bar'), require('@angular/material/stepper'), require('@angular/material/tabs'), require('@angular/material/toolbar'), require('@angular/material/tooltip'), require('@angular/material/paginator'), require('@angular/material/sort'), require('@angular/material/table'), require('@angular/material/badge'), require('ngx-quill')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@fluxhub/fluxhub-lib', ['exports', '@angular/material/dialog', 'ngx-toastr', '@angular/core', 'ngx-simple-crypt', 'crypto-js', '@angular/platform-browser', '@angular/common/http', 'rxjs/operators', '@ngx-translate/core', 'ng2-file-upload', '@angular/forms', '@angular/router', 'rxjs', 'ng2-slim-loading-bar', '@angular/cdk/clipboard', 'ag-grid-enterprise', '@angular/material/autocomplete', 'moment', '@angular/material/core', '@angular/common', 'clipboard', 'prismjs', 'prismjs/plugins/toolbar/prism-toolbar', 'prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard', 'prismjs/components/prism-css', 'prismjs/components/prism-javascript', 'prismjs/components/prism-java', 'prismjs/components/prism-markup', 'prismjs/components/prism-typescript', 'prismjs/components/prism-sass', 'prismjs/components/prism-scss', 'prismjs/components/prism-sql', 'bpmn-js/lib/NavigatedViewer', '@angular/flex-layout', 'ngx-markdown', 'ag-grid-angular', '@agm/core', '@angular/cdk/table', 'ngforage', 'ng2-dragula', '@angular/material/card', '@angular/material/button', '@angular/material/checkbox', '@angular/material/button-toggle', '@angular/material/chips', '@angular/material/datepicker', '@angular/material/expansion', '@angular/material/form-field', '@angular/material/grid-list', '@angular/material/icon', '@angular/material/input', '@angular/material/list', '@angular/material/menu', '@angular/material/progress-bar', '@angular/material/progress-spinner', '@angular/material/radio', '@angular/material/select', '@angular/material/slide-toggle', '@angular/material/slider', '@angular/material/sidenav', '@angular/material/snack-bar', '@angular/material/stepper', '@angular/material/tabs', '@angular/material/toolbar', '@angular/material/tooltip', '@angular/material/paginator', '@angular/material/sort', '@angular/material/table', '@angular/material/badge', 'ngx-quill'], factory) :
|
|
4
|
+
(global = global || self, factory((global.fluxhub = global.fluxhub || {}, global.fluxhub['fluxhub-lib'] = {}), global.ng.material.dialog, global.i3, global.ng.core, global.ngxSimpleCrypt, global.CryptoJS, global.ng.platformBrowser, global.ng.common.http, global.rxjs.operators, global.core, global.ng2FileUpload, global.ng.forms, global.ng.router, global.rxjs, global.ng2SlimLoadingBar, global.ng.cdk.clipboard, null, global.ng.material.autocomplete, global.momentNs, global.ng.material.core, global.ng.common, null, null, null, null, null, null, null, null, null, null, null, null, global.NavigatedViewer, global.ng.flexLayout, global.ngxMarkdown, global.agGridAngular, global.core$2, global.ng.cdk.table, global.ngforage, global.ng2Dragula, global.ng.material.card, global.ng.material.button, global.ng.material.checkbox, global.ng.material.buttonToggle, global.ng.material.chips, global.ng.material.datepicker, global.ng.material.expansion, global.ng.material.formField, global.ng.material.gridList, global.ng.material.icon, global.ng.material.input, global.ng.material.list, global.ng.material.menu, global.ng.material.progressBar, global.ng.material.progressSpinner, global.ng.material.radio, global.ng.material.select, global.ng.material.slideToggle, global.ng.material.slider, global.ng.material.sidenav, global.ng.material.snackBar, global.ng.material.stepper, global.ng.material.tabs, global.ng.material.toolbar, global.ng.material.tooltip, global.ng.material.paginator, global.ng.material.sort, global.ng.material.table, global.ng.material.badge, global.ngxQuill));
|
|
5
|
+
}(this, (function (exports, dialog, i3, i0, ngxSimpleCrypt, CryptoJS, i2, i1, operators, core, ng2FileUpload, forms, i3$1, rxjs, ng2SlimLoadingBar, clipboard, agGridEnterprise, autocomplete, momentNs, core$1, common, clipboard$1, prismjs, prismToolbar, prismCopyToClipboard, prismCss, prismJavascript, prismJava, prismMarkup, prismTypescript, prismSass, prismScss, prismSql, NavigatedViewer, flexLayout, ngxMarkdown, agGridAngular, core$2, table, ngforage, ng2Dragula, card, button, checkbox, buttonToggle, chips, datepicker, expansion, formField, gridList, icon, input, list, menu, progressBar, progressSpinner, radio, select, slideToggle, slider, sidenav, snackBar, stepper, tabs, toolbar, tooltip, paginator, sort, table$1, badge, ngxQuill) { 'use strict';
|
|
6
6
|
|
|
7
7
|
NavigatedViewer = NavigatedViewer && Object.prototype.hasOwnProperty.call(NavigatedViewer, 'default') ? NavigatedViewer['default'] : NavigatedViewer;
|
|
8
8
|
|
|
@@ -1915,7 +1915,7 @@
|
|
|
1915
1915
|
FHUploadPanelS3Component.decorators = [
|
|
1916
1916
|
{ type: i0.Component, args: [{
|
|
1917
1917
|
selector: "FHUploadPanelS3",
|
|
1918
|
-
template: "\n\n <div fxLayout=\"column\">\n <h3 *ngIf=\"label != ''\">{{ label }}</h3>\n <div fxLayout=\"column\">\n <div [hidden]=\"!enabled\">\n\n <FHUploadS3\n [single]=\"b_False\"\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 ></FHUploadS3>\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\"></th>\n <th style=\"width:50%\">{{ force_en ? \"Name\" : \"Nome\" }}</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n <th style=\"width:40%\">\n {{ force_en ? \"Description\" : \"Descrizione\" }}\n </th>\n <th style=\"width:20%\">\n {{ force_en ? \"Version\" : \"Versione\" }}\n </th>\n\n <th *ngIf=\"image_mode\" class=\"actions\"></th>\n <th style=\"width:30%\">{{ force_en ? \"User\" : \"Utente\" }}</th>\n <th 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\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.file_name_orig }}</td>\n <td style=\"text-align:center\">{{ app.dim }}</td>\n <td>\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>\n {{app.version}}\n </td>\n\n <td *ngIf=\"image_mode\"\n style=\"min-width:400px;min-height: 400px\"\n\n >\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n </td>\n\n <td>{{ app.nc }}</td>\n <td 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.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.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 style=\"width:40px\"></th>\n <th style=\"width:50%\">{{ force_en ? \"Name\" : \"Nome\" }}</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n\n <th style=\"width:20%\">\n {{ force_en ? \"Description\" : \"Descrizione\" }}\n </th>\n <th style=\"width:10%\">\n {{ force_en ? \"Version\" : \"Versione\" }}\n </th>\n <th style=\"width:40%\"></th>\n\n <th style=\"width:10%\">{{ force_en ? \"User\" : \"Utente\" }}</th>\n <th 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\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>{{ app.file_name_orig }}</td>\n <td style=\"text-align:center\">{{ app.dim }}</td>\n <td>\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>\n {{app.version}}\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>{{ app.nc }}</td>\n <td 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.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.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=\"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.file_name_orig }}<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\n </div>\n ",
|
|
1918
|
+
template: "\n\n <div fxLayout=\"column\">\n <h3 *ngIf=\"label != ''\">{{ label }}</h3>\n <div fxLayout=\"column\">\n <div [hidden]=\"!enabled\">\n\n <FHUploadS3\n [single]=\"b_False\"\n [label_attendere]=\"\n force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO' | translate\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)' | translate\n \"\n [allegato_inserito]=\"\n force_en ? 'Attachment Inserted' : 'ALLEGATO INSERITO' | translate\n \"\n [lista_allegati]=\"arr_g\"\n (change)=\"ref_allegato()\"\n (call_upload)=\"call_up($event)\"\n #upc\n ></FHUploadS3>\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\"></th>\n <th style=\"width:50%\">{{ force_en ? \"Name\" : \"Nome\" }}</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n <th style=\"width:40%\">\n {{ force_en ? \"Description\" : \"Descrizione\" }}\n </th>\n <th style=\"width:20%\">\n {{ force_en ? \"Version\" : \"Versione\" }}\n </th>\n\n <th *ngIf=\"image_mode\" class=\"actions\"></th>\n <th style=\"width:30%\">{{ force_en ? \"User\" : \"Utente\" }}</th>\n <th 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\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.file_name_orig }}</td>\n <td style=\"text-align:center\">{{ app.dim }}</td>\n <td>\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>\n {{app.version}}\n </td>\n\n <td *ngIf=\"image_mode\"\n style=\"min-width:400px;min-height: 400px\"\n\n >\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n </td>\n\n <td>{{ app.nc }}</td>\n <td 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.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.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 style=\"width:40px\"></th>\n <th style=\"width:50%\">{{ force_en ? \"Name\" : \"Nome\" }}</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n\n <th style=\"width:20%\">\n {{ force_en ? \"Description\" : \"Descrizione\" }}\n </th>\n <th style=\"width:10%\">\n {{ force_en ? \"Version\" : \"Versione\" }}\n </th>\n <th style=\"width:40%\"></th>\n\n <th style=\"width:10%\">{{ force_en ? \"User\" : \"Utente\" }}</th>\n <th 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\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>{{ app.file_name_orig }}</td>\n <td style=\"text-align:center\">{{ app.dim }}</td>\n <td>\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>\n {{app.version}}\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>{{ app.nc }}</td>\n <td 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.file_name_orig.indexOf('.eml')==-1 && app.file_name_orig.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=\"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.file_name_orig }}<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\n </div>\n ",
|
|
1919
1919
|
styles: [""]
|
|
1920
1920
|
},] }
|
|
1921
1921
|
];
|
|
@@ -1982,13 +1982,14 @@
|
|
|
1982
1982
|
};
|
|
1983
1983
|
|
|
1984
1984
|
var FHUploadS3Component = /** @class */ (function () {
|
|
1985
|
-
function FHUploadS3Component(_dataService, toastr, dialog, app_s, uti) {
|
|
1985
|
+
function FHUploadS3Component(_dataService, toastr, dialog, app_s, uti, _trs) {
|
|
1986
1986
|
var _this = this;
|
|
1987
1987
|
this._dataService = _dataService;
|
|
1988
1988
|
this.toastr = toastr;
|
|
1989
1989
|
this.dialog = dialog;
|
|
1990
1990
|
this.app_s = app_s;
|
|
1991
1991
|
this.uti = uti;
|
|
1992
|
+
this._trs = _trs;
|
|
1992
1993
|
this.show_descri = true;
|
|
1993
1994
|
this.enabled = true;
|
|
1994
1995
|
this.single = true;
|
|
@@ -2075,7 +2076,7 @@
|
|
|
2075
2076
|
FHUploadS3Component.prototype.del_doc = function () {
|
|
2076
2077
|
var _this = this;
|
|
2077
2078
|
localStorage.setItem(this.app_s.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
2078
|
-
localStorage.setItem(this.app_s.COMPANY_KEY + "msg_dialog", "Confermi l'eliminazione dell'elemento?");
|
|
2079
|
+
localStorage.setItem(this.app_s.COMPANY_KEY + "msg_dialog", this._trs.instant("Confermi l'eliminazione dell'elemento?"));
|
|
2079
2080
|
var dialogRef = this.dialog.open(fh_win_confirm);
|
|
2080
2081
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
2081
2082
|
if (result) {
|
|
@@ -2156,7 +2157,7 @@
|
|
|
2156
2157
|
switch (filter.name) {
|
|
2157
2158
|
case "fileSize":
|
|
2158
2159
|
var ar = Math.round(item.size / 1024 / 1024);
|
|
2159
|
-
_this.toastr.error(_this.limit_string.split("<size>").join("" + ar));
|
|
2160
|
+
_this.toastr.error(_this._trs.instant(_this.limit_string.split("<size>").join("" + ar)));
|
|
2160
2161
|
break;
|
|
2161
2162
|
default:
|
|
2162
2163
|
_this.toastr.error("Errore: " + filter.name);
|
|
@@ -2214,7 +2215,7 @@
|
|
|
2214
2215
|
if (this.dialogRef == null) {
|
|
2215
2216
|
this.dialogRef = this.dialog.open(fh_win_wait, { disableClose: true });
|
|
2216
2217
|
setTimeout(function () {
|
|
2217
|
-
_this.dialogRef.componentInstance.label = _this.label_attendere;
|
|
2218
|
+
_this.dialogRef.componentInstance.label = _this._trs.instant(_this.label_attendere);
|
|
2218
2219
|
});
|
|
2219
2220
|
this.dialogRef.afterClosed().subscribe(function (result) {
|
|
2220
2221
|
if (result != "") {
|
|
@@ -2282,7 +2283,7 @@
|
|
|
2282
2283
|
FHUploadS3Component.decorators = [
|
|
2283
2284
|
{ type: i0.Component, args: [{
|
|
2284
2285
|
selector: "FHUploadS3",
|
|
2285
|
-
template: "\n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div\n [hidden]=\"!(enabled && !loading)\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n >\n <div\n [hidden]=\"!multi_list\"\n style=\"width:380px\"\n fxLayoutAlign=\"start center\"\n >\n <FHComboBox\n [sql]=\"tipo\"\n #cmb_tipo\n [init_fill]=\"false\"\n label=\"Tipologia\"\n ></FHComboBox\n > \n </div>\n <mat-form-field [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n [hidden]=\"!show_descri\"\n style=\"width: 100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }} {{ fixed_label }}</mat-label>\n <input\n matInput\n type=\"text\"\n name=\"descrizione\"\n [(ngModel)]=\"descrizione\"\n />\n </mat-form-field>\n \n <!-- <div\n style=\"width:140px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start start\"\n (click)=\"call_up()\"\n >\n <input\n type=\"file\"\n multiple\n ng2FileSelect\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n class=\"inputfile inputfile-fh\"\n />\n <label for=\"file-fh{{ id_component }}\" style=\"width:210px\"\n ><svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"20\"\n height=\"17\"\n viewBox=\"0 0 20 17\"\n >\n <path\n d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"\n /></svg><span style=\"font-size: 12px\"> Upload</span></label>\n </div>\n -->\n <div class=\"my-drop-zone\" style=\"width:130px\" fxLayout=\"row\" [matTooltip]=\"hasBaseDropZoneOver ? lascia_il_file : trascina_il_file\" fxLayoutAlign=\"center start\">\n <label for=\"uploader-input\" ng2FileDrop style=\"font-weight:bold\"\n [ngClass]=\"{'over-drop-zone': hasBaseDropZoneOver}\" for=\"file-fh{{ id_component }}\"\n (onFileDrop)=\"onFileDrop($event)\"\n (fileOver)=\"fileOverBase($event)\" [uploader]=\"uploader\">\n <div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <mat-icon>{{!hasBaseDropZoneOver?'backup':'thumb_up'}}</mat-icon>\n\n <span style=\"font-size: 14px\"> Upload</span></div></label></div>\n <input type=\"file\"\n ng2FileSelect\n [multiple]=\"true\"\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n (onFileSelected)=\"onFileDrop($event)\"\n id=\"uploader-input\" style=\"display:none\"/>\n <div fxLayout=\"row\" fxLayoutAlign=\"start start\">\n \n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;font-weight:bold\" color=\"accent\"\n\n >\n {{ label_b }}</button\n > \n <button\n mat-flat-button\n *ngIf=\"id != null && allow_delete\"\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div *ngIf=\"!enabled\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <label>{{ label }}:</label>\n <div *ngIf=\"label != descrizione\">{{ descrizione }}</div>\n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;background-color: #F5F5F5\"\n >\n {{ label_b }}\n </button>\n </div>\n ",
|
|
2286
|
+
template: "\n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div\n [hidden]=\"!(enabled && !loading)\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n >\n <div\n [hidden]=\"!multi_list\"\n style=\"width:380px\"\n fxLayoutAlign=\"start center\"\n >\n <FHComboBox\n [sql]=\"tipo\"\n #cmb_tipo\n [init_fill]=\"false\"\n [label]=\"'Tipologia' | translate\"\n ></FHComboBox\n > \n </div>\n <mat-form-field [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n [hidden]=\"!show_descri\"\n style=\"width: 100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label | translate}} {{ fixed_label | translate }}</mat-label>\n <input\n matInput\n type=\"text\"\n name=\"descrizione\"\n [(ngModel)]=\"descrizione\"\n />\n </mat-form-field>\n \n <!-- <div\n style=\"width:140px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start start\"\n (click)=\"call_up()\"\n >\n <input\n type=\"file\"\n multiple\n ng2FileSelect\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n class=\"inputfile inputfile-fh\"\n />\n <label for=\"file-fh{{ id_component }}\" style=\"width:210px\"\n ><svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"20\"\n height=\"17\"\n viewBox=\"0 0 20 17\"\n >\n <path\n d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"\n /></svg><span style=\"font-size: 12px\"> Upload</span></label>\n </div>\n -->\n <div class=\"my-drop-zone\" style=\"width:130px\" fxLayout=\"row\" [matTooltip]=\"hasBaseDropZoneOver ? lascia_il_file : trascina_il_file | translate\" fxLayoutAlign=\"center start\">\n <label for=\"uploader-input\" ng2FileDrop style=\"font-weight:bold\"\n [ngClass]=\"{'over-drop-zone': hasBaseDropZoneOver}\" for=\"file-fh{{ id_component }}\"\n (onFileDrop)=\"onFileDrop($event)\"\n (fileOver)=\"fileOverBase($event)\" [uploader]=\"uploader\">\n <div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <mat-icon>{{!hasBaseDropZoneOver?'backup':'thumb_up'}}</mat-icon>\n\n <span style=\"font-size: 14px\"> Upload</span></div></label></div>\n <input type=\"file\"\n ng2FileSelect\n [multiple]=\"true\"\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n (onFileSelected)=\"onFileDrop($event)\"\n id=\"uploader-input\" style=\"display:none\"/>\n <div fxLayout=\"row\" fxLayoutAlign=\"start start\">\n \n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;font-weight:bold\" color=\"accent\"\n\n >\n {{ label_b }}</button\n > \n <button\n mat-flat-button\n *ngIf=\"id != null && allow_delete\"\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div *ngIf=\"!enabled\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <label>{{ label }}:</label>\n <div *ngIf=\"label != descrizione\">{{ descrizione }}</div>\n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;background-color: #F5F5F5\"\n >\n {{ label_b }}\n </button>\n </div>\n ",
|
|
2286
2287
|
styles: [""]
|
|
2287
2288
|
},] }
|
|
2288
2289
|
];
|
|
@@ -2291,7 +2292,8 @@
|
|
|
2291
2292
|
{ type: i3.ToastrService },
|
|
2292
2293
|
{ type: dialog.MatDialog },
|
|
2293
2294
|
{ type: AppService },
|
|
2294
|
-
{ type: UtilityService }
|
|
2295
|
+
{ type: UtilityService },
|
|
2296
|
+
{ type: core.TranslateService }
|
|
2295
2297
|
]; };
|
|
2296
2298
|
FHUploadS3Component.propDecorators = {
|
|
2297
2299
|
show_descri: [{ type: i0.Input }],
|
|
@@ -4440,13 +4442,14 @@
|
|
|
4440
4442
|
]; };
|
|
4441
4443
|
|
|
4442
4444
|
var FHUploadPanelComponent = /** @class */ (function () {
|
|
4443
|
-
function FHUploadPanelComponent(_appservice, _dataService, toastr, dialog, auth_s, uti) {
|
|
4445
|
+
function FHUploadPanelComponent(_appservice, _dataService, toastr, dialog, auth_s, uti, _trs) {
|
|
4444
4446
|
this._appservice = _appservice;
|
|
4445
4447
|
this._dataService = _dataService;
|
|
4446
4448
|
this.toastr = toastr;
|
|
4447
4449
|
this.dialog = dialog;
|
|
4448
4450
|
this.auth_s = auth_s;
|
|
4449
4451
|
this.uti = uti;
|
|
4452
|
+
this._trs = _trs;
|
|
4450
4453
|
this.show_version = false;
|
|
4451
4454
|
this.enabled = true;
|
|
4452
4455
|
this.force_en = false;
|
|
@@ -4572,7 +4575,7 @@
|
|
|
4572
4575
|
var _this = this;
|
|
4573
4576
|
var dialogRef = this.dialog.open(fh_win_ask_big_text);
|
|
4574
4577
|
setTimeout(function () {
|
|
4575
|
-
dialogRef.componentInstance.label = "Descrizione Allegato";
|
|
4578
|
+
dialogRef.componentInstance.label = _this._trs.instant("Descrizione Allegato");
|
|
4576
4579
|
dialogRef.componentInstance.valore = ax.descrizione;
|
|
4577
4580
|
dialogRef.componentInstance.min_chars = 0;
|
|
4578
4581
|
});
|
|
@@ -4593,8 +4596,8 @@
|
|
|
4593
4596
|
};
|
|
4594
4597
|
FHUploadPanelComponent.prototype.delete = function (ax) {
|
|
4595
4598
|
var _this = this;
|
|
4596
|
-
localStorage.setItem(this._appservice.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
4597
|
-
localStorage.setItem(this._appservice.COMPANY_KEY + "msg_dialog", "Confermi l'eliminazione dell'elemento?");
|
|
4599
|
+
localStorage.setItem(this._appservice.COMPANY_KEY + "title_dialog", this._trs.instant("Conferma Operazione"));
|
|
4600
|
+
localStorage.setItem(this._appservice.COMPANY_KEY + "msg_dialog", this._trs.instant("Confermi l'eliminazione dell'elemento?"));
|
|
4598
4601
|
var dialogRef = this.dialog.open(fh_win_confirm);
|
|
4599
4602
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
4600
4603
|
if (result) {
|
|
@@ -4607,7 +4610,7 @@
|
|
|
4607
4610
|
if (data.result_msg == "OK") {
|
|
4608
4611
|
// this.arr_g = data.result_data;
|
|
4609
4612
|
_this.ref_allegato();
|
|
4610
|
-
_this.toastr.info("INFO", "ALLEGATO ELIMINATO", {
|
|
4613
|
+
_this.toastr.info(_this._trs.instant("INFO"), _this._trs.instant("ALLEGATO ELIMINATO"), {
|
|
4611
4614
|
timeOut: 1000,
|
|
4612
4615
|
progressBar: true,
|
|
4613
4616
|
});
|
|
@@ -4622,9 +4625,9 @@
|
|
|
4622
4625
|
_this.upc.single = false;
|
|
4623
4626
|
_this.b_mobile = _this._appservice.getState().pageFullscreen;
|
|
4624
4627
|
if (_this.force_en)
|
|
4625
|
-
_this.upc.init(_this.App, _this.K, "Attachment Description", _this.m_p_tipo, _this.m_programma_da_eseguire, false, false, true, _this.current_v);
|
|
4628
|
+
_this.upc.init(_this.App, _this.K, _this._trs.instant("Attachment Description"), _this.m_p_tipo, _this.m_programma_da_eseguire, false, false, true, _this.current_v);
|
|
4626
4629
|
else
|
|
4627
|
-
_this.upc.init(_this.App, _this.K, "Descrizione Allegato", _this.m_p_tipo, _this.m_programma_da_eseguire, false, false, true, _this.current_v);
|
|
4630
|
+
_this.upc.init(_this.App, _this.K, _this._trs.instant("Descrizione Allegato"), _this.m_p_tipo, _this.m_programma_da_eseguire, false, false, true, _this.current_v);
|
|
4628
4631
|
if (_this.m_p_tipo.indexOf("SELECT_") > -1) {
|
|
4629
4632
|
_this.multi_list = true;
|
|
4630
4633
|
}
|
|
@@ -4776,7 +4779,7 @@
|
|
|
4776
4779
|
FHUploadPanelComponent.decorators = [
|
|
4777
4780
|
{ type: i0.Component, args: [{
|
|
4778
4781
|
selector: "FHUploadPanel",
|
|
4779
|
-
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]=\"b_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 ? '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();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\"\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\" *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\"\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;\" (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 ",
|
|
4782
|
+
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 ? '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();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' \"\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\"\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' \"\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' \"\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 ",
|
|
4780
4783
|
styles: [""]
|
|
4781
4784
|
},] }
|
|
4782
4785
|
];
|
|
@@ -4786,7 +4789,8 @@
|
|
|
4786
4789
|
{ type: i3.ToastrService },
|
|
4787
4790
|
{ type: dialog.MatDialog },
|
|
4788
4791
|
{ type: AuthenticationService },
|
|
4789
|
-
{ type: UtilityService }
|
|
4792
|
+
{ type: UtilityService },
|
|
4793
|
+
{ type: core.TranslateService }
|
|
4790
4794
|
]; };
|
|
4791
4795
|
FHUploadPanelComponent.propDecorators = {
|
|
4792
4796
|
enabled: [{ type: i0.Input }],
|
|
@@ -4810,13 +4814,14 @@
|
|
|
4810
4814
|
};
|
|
4811
4815
|
|
|
4812
4816
|
var FHUploadComponent = /** @class */ (function () {
|
|
4813
|
-
function FHUploadComponent(_dataService, toastr, dialog, app_s, uti) {
|
|
4817
|
+
function FHUploadComponent(_dataService, toastr, dialog, app_s, uti, _trs) {
|
|
4814
4818
|
var _this = this;
|
|
4815
4819
|
this._dataService = _dataService;
|
|
4816
4820
|
this.toastr = toastr;
|
|
4817
4821
|
this.dialog = dialog;
|
|
4818
4822
|
this.app_s = app_s;
|
|
4819
4823
|
this.uti = uti;
|
|
4824
|
+
this._trs = _trs;
|
|
4820
4825
|
this.lascia_il_file = 'Lascia il file per confermarmare upload';
|
|
4821
4826
|
this.trascina_il_file = 'Trascina un file qui o Clicca per avviare upload';
|
|
4822
4827
|
this.show_download_button = true;
|
|
@@ -4989,7 +4994,7 @@
|
|
|
4989
4994
|
switch (filter.name) {
|
|
4990
4995
|
case "fileSize":
|
|
4991
4996
|
var ar = Math.round(item.size / 1024 / 1024);
|
|
4992
|
-
_this.toastr.error(_this.limit_string.split("<size>").join("" + ar));
|
|
4997
|
+
_this.toastr.error(_this._trs.instant(_this.limit_string).split("<size>").join("" + ar));
|
|
4993
4998
|
break;
|
|
4994
4999
|
default:
|
|
4995
5000
|
_this.toastr.error("Errore: " + filter.name);
|
|
@@ -5021,11 +5026,11 @@
|
|
|
5021
5026
|
FHUploadComponent.prototype.ch = function (fileItem) {
|
|
5022
5027
|
var _this = this;
|
|
5023
5028
|
if (this.descri_obb && this.descrizione == "") {
|
|
5024
|
-
this.toastr.error(this.inserire_descrizione);
|
|
5029
|
+
this.toastr.error(this._trs.instant(this.inserire_descrizione));
|
|
5025
5030
|
return;
|
|
5026
5031
|
}
|
|
5027
5032
|
if (this.selezionare_tipologia != '' && (this.multi_list && (this.cmb_tipo.getValue() == '' || this.cmb_tipo.getValue() == '-1'))) {
|
|
5028
|
-
this.toastr.error(this.selezionare_tipologia);
|
|
5033
|
+
this.toastr.error(this._trs.instant(this.selezionare_tipologia));
|
|
5029
5034
|
return;
|
|
5030
5035
|
}
|
|
5031
5036
|
/*for (let i = 0; i < this.lista_allegati.length; i++) {
|
|
@@ -5055,7 +5060,7 @@
|
|
|
5055
5060
|
if (this.dialogRef == null) {
|
|
5056
5061
|
this.dialogRef = this.dialog.open(fh_win_wait, { disableClose: true });
|
|
5057
5062
|
setTimeout(function () {
|
|
5058
|
-
_this.dialogRef.componentInstance.label = _this.label_attendere;
|
|
5063
|
+
_this.dialogRef.componentInstance.label = _this._trs.instant(_this.label_attendere);
|
|
5059
5064
|
});
|
|
5060
5065
|
this.dialogRef.afterClosed().subscribe(function (result) {
|
|
5061
5066
|
if (result != "") {
|
|
@@ -5129,7 +5134,7 @@
|
|
|
5129
5134
|
FHUploadComponent.decorators = [
|
|
5130
5135
|
{ type: i0.Component, args: [{
|
|
5131
5136
|
selector: "FHUpload",
|
|
5132
|
-
template: "\n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n\n <div\n [hidden]=\"!(enabled && !loading)\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"10px\"\n >\n <div\n [hidden]=\"!multi_list\"\n style=\"width:400px\"\n fxLayoutAlign=\"start center\"\n >\n <div style=\"width:100%\">\n <FHComboBox\n [sql]=\"tipo\"\n #cmb_tipo\n [init_fill]=\"false\"\n label=\"Tipologia\"\n ></FHComboBox\n ></div>\n </div>\n <mat-form-field\n [hidden]=\"!show_descri\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n style=\"width: 100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }} {{ fixed_label }} {{ descri_obb ? '*':''}}</mat-label>\n <input\n matInput\n type=\"text\"\n name=\"descrizione\"\n [(ngModel)]=\"descrizione\"\n />\n </mat-form-field>\n \n <!-- <div\n style=\"width:140px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start start\"\n (click)=\"call_up()\"\n >\n <input\n type=\"file\"\n multiple\n ng2FileSelect\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n class=\"inputfile inputfile-fh\"\n />\n <label for=\"file-fh{{ id_component }}\" style=\"width:210px\"\n ><svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"20\"\n height=\"17\"\n viewBox=\"0 0 20 17\"\n >\n <path\n d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"\n /></svg><span style=\"font-size: 12px\"> Upload</span></label>\n </div>\n -->\n <div fxLayout=\"row\" [hidden]=\"!((descri_obb && descrizione == '') || (multi_list && (cmb_tipo.getValue() == '' || cmb_tipo.getValue() == '-1')))\">\n <div [hidden]=\"!(this.descri_obb && descrizione == '')\"><b>{{inserire_descrizione}}</b></div>\n <div [hidden]=\"!(multi_list && (cmb_tipo.getValue() == '' || cmb_tipo.getValue() == '-1'))\"><b>{{selezionare_tipologia}}</b></div>\n </div>\n <div class=\"my-drop-zone\" [hidden]=\"(descri_obb && descrizione == '') || (multi_list && (cmb_tipo.getValue() == '' || cmb_tipo.getValue() == '-1'))\" style=\"width:130px\" fxLayout=\"row\" [matTooltip]=\"hasBaseDropZoneOver ? lascia_il_file : trascina_il_file\" fxLayoutAlign=\"center start\">\n <label for=\"uploader-input\" ng2FileDrop style=\"font-weight:bold\"\n [ngClass]=\"{'over-drop-zone': hasBaseDropZoneOver}\" for=\"file-fh{{ id_component }}\"\n (onFileDrop)=\"onFileDrop($event)\" (click)=\"call_up()\"\n (fileOver)=\"fileOverBase($event)\" [uploader]=\"uploader\">\n <div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <mat-icon>{{!hasBaseDropZoneOver?'backup':'thumb_up'}}</mat-icon>\n\n <span style=\"font-size: 14px\"> Upload</span></div></label></div>\n <input type=\"file\"\n ng2FileSelect #select_file\n [multiple]=\"true\"\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\" (click)=\"call_up()\"\n (onFileSelected)=\"onFileDrop($event)\"\n id=\"uploader-input\" style=\"display:none\"/>\n <div fxLayout=\"row\" fxLayoutAlign=\"start start\">\n \n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded && show_download_button\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;font-weight:bold\" color=\"accent\"\n\n >\n {{ label_b }}</button\n > \n <button\n mat-flat-button\n *ngIf=\"id != null && allow_delete && show_download_button\"\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n\n </div>\n </div>\n <div *ngIf=\"!enabled\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <label [hidden]=\"label==null || label==''\">{{ label }}:</label>\n <div *ngIf=\"label != descrizione\">{{ descrizione }}</div>\n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded && show_download_button\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;background-color: #F5F5F5\"\n >\n {{ label_b }}\n </button>\n </div>\n ",
|
|
5137
|
+
template: "\n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n\n <div\n [hidden]=\"!(enabled && !loading)\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start center\"\n fxLayoutGap=\"10px\"\n >\n <div\n [hidden]=\"!multi_list\"\n style=\"width:400px\"\n fxLayoutAlign=\"start center\"\n >\n <div style=\"width:100%\">\n <FHComboBox\n [sql]=\"tipo\"\n #cmb_tipo\n [init_fill]=\"false\"\n label=\"Tipologia\"\n ></FHComboBox\n ></div>\n </div>\n <mat-form-field\n [hidden]=\"!show_descri\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n style=\"width: 100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label | translate}} {{ fixed_label | translate }} {{ descri_obb ? '*':''}}</mat-label>\n <input\n matInput\n type=\"text\"\n name=\"descrizione\"\n [(ngModel)]=\"descrizione\"\n />\n </mat-form-field>\n \n <!-- <div\n style=\"width:140px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"start start\"\n (click)=\"call_up()\"\n >\n <input\n type=\"file\"\n multiple\n ng2FileSelect\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\"\n class=\"inputfile inputfile-fh\"\n />\n <label for=\"file-fh{{ id_component }}\" style=\"width:210px\"\n ><svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"20\"\n height=\"17\"\n viewBox=\"0 0 20 17\"\n >\n <path\n d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"\n /></svg><span style=\"font-size: 12px\"> Upload</span></label>\n </div>\n -->\n <div fxLayout=\"row\" [hidden]=\"!((descri_obb && descrizione == '') || (multi_list && (cmb_tipo.getValue() == '' || cmb_tipo.getValue() == '-1')))\">\n <div [hidden]=\"!(this.descri_obb && descrizione == '')\"><b>{{inserire_descrizione | translate}}</b></div>\n <div [hidden]=\"!(multi_list && (cmb_tipo.getValue() == '' || cmb_tipo.getValue() == '-1'))\"><b>{{selezionare_tipologia | translate}}</b></div>\n </div>\n <div class=\"my-drop-zone\" [hidden]=\"(descri_obb && descrizione == '') || (multi_list && (cmb_tipo.getValue() == '' || cmb_tipo.getValue() == '-1'))\" style=\"width:130px\" fxLayout=\"row\" [matTooltip]=\"hasBaseDropZoneOver ? lascia_il_file : trascina_il_file\" fxLayoutAlign=\"center start\">\n <label for=\"uploader-input\" ng2FileDrop style=\"font-weight:bold\"\n [ngClass]=\"{'over-drop-zone': hasBaseDropZoneOver}\" for=\"file-fh{{ id_component }}\"\n (onFileDrop)=\"onFileDrop($event)\" (click)=\"call_up()\"\n (fileOver)=\"fileOverBase($event)\" [uploader]=\"uploader\">\n <div fxLayoutAlign=\"center center\" fxLayout=\"row\">\n <mat-icon>{{!hasBaseDropZoneOver?'backup':'thumb_up'}}</mat-icon>\n\n <span style=\"font-size: 14px\"> Upload</span></div></label></div>\n <input type=\"file\"\n ng2FileSelect #select_file\n [multiple]=\"true\"\n [uploader]=\"uploader\"\n name=\"file-fh{{ id_component }}\"\n id=\"file-fh{{ id_component }}\" (click)=\"call_up()\"\n (onFileSelected)=\"onFileDrop($event)\"\n id=\"uploader-input\" style=\"display:none\"/>\n <div fxLayout=\"row\" fxLayoutAlign=\"start start\">\n \n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded && show_download_button\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;font-weight:bold\" color=\"accent\"\n\n >\n {{ label_b }}</button\n > \n <button\n mat-flat-button\n *ngIf=\"id != null && allow_delete && show_download_button\"\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n\n </div>\n </div>\n <div *ngIf=\"!enabled\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <label [hidden]=\"label==null || label==''\">{{ label }}:</label>\n <div *ngIf=\"label != descrizione\">{{ descrizione }}</div>\n <button\n mat-flat-button\n *ngIf=\"b_edit_loaded && show_download_button\"\n (click)=\"download_all()\"\n style=\"font-size: 12px;background-color: #F5F5F5\"\n >\n {{ label_b }}\n </button>\n </div>\n ",
|
|
5133
5138
|
styles: ["\n .fileLabel{\n display: inline-block;\n padding: .7em .4em;\n font-size: 13px;\n color: #525252;\n background-color: #e6e6e6;\n margin: 0 .2em;\n border-radius: 5px;\n }\n",
|
|
5134
5139
|
"\n .my-drop-zone { border: dotted 3px lightgray;height:35px }\n\n", "\n .nv-file-over { border: dotted 3px red; } /* Default class applied to drop zones on over */\n ", "\n .another-file-over-class { border: dotted 3px green; }\n"]
|
|
5135
5140
|
},] }
|
|
@@ -5139,7 +5144,8 @@
|
|
|
5139
5144
|
{ type: i3.ToastrService },
|
|
5140
5145
|
{ type: dialog.MatDialog },
|
|
5141
5146
|
{ type: AppService },
|
|
5142
|
-
{ type: UtilityService }
|
|
5147
|
+
{ type: UtilityService },
|
|
5148
|
+
{ type: core.TranslateService }
|
|
5143
5149
|
]; };
|
|
5144
5150
|
FHUploadComponent.propDecorators = {
|
|
5145
5151
|
lascia_il_file: [{ type: i0.Input }],
|
|
@@ -15944,7 +15950,7 @@
|
|
|
15944
15950
|
}());
|
|
15945
15951
|
win_riassegna_select_level_v2.decorators = [
|
|
15946
15952
|
{ type: i0.Component, args: [{
|
|
15947
|
-
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <mat-dialog-content\n ><br /><br />\n <mat-form-field\n style=\"width:100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{'Seleziona Step' | translate}}:</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (change)=\"sc()\">\n <mat-option value=\"-1\">Seleziona</mat-option>\n <mat-option value=\"{{ app.step }}\" *ngFor=\"let app of myData\">\n {{app.description | translate }}\n
|
|
15953
|
+
template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <mat-dialog-content\n ><br /><br />\n <mat-form-field\n style=\"width:100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{'Seleziona Step' | translate}}:</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (change)=\"sc()\">\n <mat-option value=\"-1\">Seleziona</mat-option>\n <mat-option value=\"{{ app.step }}\" *ngFor=\"let app of myData\">\n {{app.description | translate }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <br /><br /><br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">\n {{ OK_BUTTON | translate }}</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n <br /><br />\n </mat-dialog-content>\n <p style=\"color:#CC0000;font-size:9px;\" *ngIf=\"errorMsg != ''\">\n {{ errorMsg }}\n </p>\n </div>\n </div>\n "
|
|
15948
15954
|
},] }
|
|
15949
15955
|
];
|
|
15950
15956
|
win_riassegna_select_level_v2.ctorParameters = function () { return [
|
|
@@ -21810,7 +21816,7 @@
|
|
|
21810
21816
|
setTimeout(function () {
|
|
21811
21817
|
dialogRef_2.componentInstance.setStepCombo(s_i_1);
|
|
21812
21818
|
dialogRef_2.componentInstance.title =
|
|
21813
|
-
_this.tsr.instant("Riassegnazione documento:
|
|
21819
|
+
_this.tsr.instant("Riassegnazione documento" + ': ') +
|
|
21814
21820
|
_this.get_grid().sRow.codice +
|
|
21815
21821
|
" - " +
|
|
21816
21822
|
_this.get_grid().sRow.oggetto;
|
|
@@ -21887,7 +21893,7 @@
|
|
|
21887
21893
|
setTimeout(function () {
|
|
21888
21894
|
dialogRef_3.componentInstance.arrAutori = arrAutori;
|
|
21889
21895
|
dialogRef_3.componentInstance.title =
|
|
21890
|
-
_this.tsr.instant("Riassegnazione documento: ") +
|
|
21896
|
+
_this.tsr.instant("Riassegnazione documento" + ": ") +
|
|
21891
21897
|
_this.get_grid().sRow.codice +
|
|
21892
21898
|
" - " +
|
|
21893
21899
|
_this.get_grid().sRow.oggetto;
|
|
@@ -22011,7 +22017,6 @@
|
|
|
22011
22017
|
if (this.wax[0].gruppo_parallelo != "")
|
|
22012
22018
|
ccan = this.wax[0].gruppo_parallelo;
|
|
22013
22019
|
}
|
|
22014
|
-
console.log("riassegnazione canale: ", ccan);
|
|
22015
22020
|
p = new QParam();
|
|
22016
22021
|
p.sql = "UPDATE_RIASS_DOCUMENTO";
|
|
22017
22022
|
p.types = [
|
|
@@ -23043,7 +23048,7 @@
|
|
|
23043
23048
|
if (crea_ver == null)
|
|
23044
23049
|
crea_ver = false;
|
|
23045
23050
|
this.dialogRef_ww = this.m_dialog.open(fh_win_wait, {
|
|
23046
|
-
disableClose: true, data: { label: 'Attendere' }
|
|
23051
|
+
disableClose: true, data: { label: this.tsr.instant('Attendere') }
|
|
23047
23052
|
});
|
|
23048
23053
|
this.ttw = 0;
|
|
23049
23054
|
var fs = new FSInput();
|
|
@@ -24009,7 +24014,7 @@
|
|
|
24009
24014
|
if (("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ",") != -1) {
|
|
24010
24015
|
console.log('this.m_obj.autori ', this.m_obj.autori);
|
|
24011
24016
|
if (this.m_obj.autori != null)
|
|
24012
|
-
if (this.m_obj.autori.split(',').length
|
|
24017
|
+
if (this.m_obj.autori.split(',').length != -1)
|
|
24013
24018
|
this.in_carico = true;
|
|
24014
24019
|
this.update_status(true, false, this.in_carico);
|
|
24015
24020
|
if (this.respingi_enabled)
|