@fluxhub/fluxhub-lib 1.0.351 → 1.0.352

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.
@@ -3316,7 +3316,7 @@ var FHUploadComponent = /** @class */ (function () {
3316
3316
  FHUploadComponent.decorators = [
3317
3317
  { type: Component, args: [{
3318
3318
  selector: 'FHUpload',
3319
- template: "\n \n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div *ngIf=\"enabled &amp;&amp; !loading\" fxLayout=\"row\">\n <mat-form-field class=\"field_style\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}} {{fixed_label}}</mat-label>\n <input matInput type=\"text\" name=\"descrizione\" [(ngModel)]=\"descrizione\"\n >\n </mat-form-field>\n <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/>\n <div>\n <button mat-raised-button *ngIf=\"b_edit_loaded\" (click)=\"download_all()\">{{label_b}}</button>\n </div>\n </div>\n <div *ngIf=\"!enabled\">\n <label>{{label}}:</label>{{descrizione}}\n </div>\n <div *ngIf=\"!b_ini\" style=\"color:#ff0000\"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div>\n ",
3319
+ template: "\n \n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div *ngIf=\"enabled &amp;&amp; !loading\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <mat-form-field class=\"field_style\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}} {{fixed_label}}</mat-label>\n <input matInput type=\"text\" name=\"descrizione\" [(ngModel)]=\"descrizione\"\n >\n </mat-form-field>\n \n <div style=\"width:190px\">\n <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" name=\"file-fh[]\" id=\"file-fh\" class=\"inputfile inputfile-fh\" data-multiple-caption=\"{count} files selected\" multiple />\n <label for=\"file-fh\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"17\" viewBox=\"0 0 20 17\"><path 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\"/></svg><span>Upload</span></label>\n </div>\n <div>\n <button mat-raised-button *ngIf=\"b_edit_loaded\" (click)=\"download_all()\">{{label_b}}</button>\n </div>\n </div>\n <div *ngIf=\"!enabled\">\n <label>{{label}}:</label>{{descrizione}}\n </div>\n <div *ngIf=\"!b_ini\" style=\"color:#ff0000\"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div>\n ",
3320
3320
  styles: ["\n\n "]
3321
3321
  }] }
3322
3322
  ];
@@ -4051,7 +4051,7 @@ var FHUploadPanelComponent = /** @class */ (function () {
4051
4051
  };
4052
4052
  FHUploadPanelComponent.decorators = [
4053
4053
  { type: Component, args: [{
4054
- selector: 'FHUploadPanel', template: "\n <div fxLayout=\"column\">\n <h3>{{label}}</h3>\n <div fxLayout=\"column\">\n <div [hidden]=\"!enabled\">\n <FHUpload [single]=\"b_False\" [lista_allegati]=\"arr_g\" (change)=\"ref_allegato()\" #upc></FHUpload>\n <br></div>\n <table width=\"98%\" class=\"fh_table\">\n <thead *ngIf=\"!b_mobile\">\n <tr class=\"header\">\n <th style=\"width:40px\"></th>\n <th style=\"width:50%\">Nome</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n\n <th style=\"width:20%\" *ngIf=\"image_type\">Descrizione</th>\n <th style=\"width:10%\" *ngIf=\"image_type\">Utente</th>\n <th style=\"width:40%\" *ngIf=\"image_type\"></th>\n\n\n\n <th style=\"width:50%\" *ngIf=\"!image_type\">Descrizione</th>\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n <th style=\"width:30%\" *ngIf=\"!image_type\">Utente</th>\n <th style=\"width:240px;text-align:center\">Data</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\n <tr *ngFor=\"let app of arr_g\" style=\"font-size: 12px;\">\n <td style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\">\n <div style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\">\n <img src=\"assets/icons/square-o/{{app.icon}}\" style=\"width:28px;height:28px;\"></div> </td>\n <td *ngIf=\"b_mobile\" style=\"text-align:center\">{{app.Filename}}<br><br>\n <button (click)=\"download_all(app)\" mat-raised-button>DOWNLOAD</button>\n </td>\n <td *ngIf=\"!b_mobile\">{{app.Filename}}</td>\n <td *ngIf=\"!b_mobile\" style=\"text-align:center\">{{app.Filesize}}</td>\n <td *ngIf=\"!b_mobile\">\n <div fxLayout=\"row\">\n <a mat-icon-button matTooltip=\"Modifica Descrizione\" *ngIf=\"app.can_delete\" (click)=\"edit_descri(app)\">\n <mat-icon>edit</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Modifica Descrizione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>edit</mat-icon>\n </a>\n\n <div [innerHTML]=\"app.descrizione_vis\" style=\"width:100%\">\n </div>\n </div></td>\n\n \n <td style=\"min-width:400px;min-height: 400px\" *ngIf=\"app.type=='IMG'\">\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n\n </td>\n <td *ngIf=\"!b_mobile\">{{app.nc}}</td>\n <td *ngIf=\"!b_mobile\" style=\"text-align:center\">{{app.dt_ins | date: 'dd/MM/yyyy HH:mm:ss'}}</td>\n <td *ngIf=\"!b_mobile\" style=\"text-align:center\">\n <button mat-icon-button matTooltip=\"Download File\" (click)=\"download_all(app)\">\n <mat-icon>cloud_download</mat-icon>\n </button>\n </td>\n\n <td *ngIf=\"enabled\" style=\"text-align:center\">\n <a mat-icon-button matTooltip=\"Elimina File\" *ngIf=\"app.can_delete\" (click)=\"delete(app)\">\n <mat-icon>delete</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Cancellazione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>delete</mat-icon>\n </a>\n \n </td> \n\n </tr>\n </table>\n\n </div>\n </div>\n <div *ngIf=\"!b_ini\" style=\"color:#ff0000\"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div>\n\n ",
4054
+ selector: 'FHUploadPanel', template: "\n <div fxLayout=\"column\">\n <h3>{{label}}</h3>\n <div fxLayout=\"column\">\n <div [hidden]=\"!enabled\">\n <FHUpload [single]=\"b_False\" [lista_allegati]=\"arr_g\" (change)=\"ref_allegato()\" #upc></FHUpload>\n </div>\n <table width=\"98%\" class=\"fh_table\">\n <thead *ngIf=\"!b_mobile\">\n <tr class=\"header\">\n <th style=\"width:40px\"></th>\n <th style=\"width:50%\">Nome</th>\n <th style=\"width:60px;text-align:center\">Dim.</th>\n\n <th style=\"width:20%\" *ngIf=\"image_type\">Descrizione</th>\n <th style=\"width:10%\" *ngIf=\"image_type\">Utente</th>\n <th style=\"width:40%\" *ngIf=\"image_type\"></th>\n\n\n\n <th style=\"width:50%\" *ngIf=\"!image_type\">Descrizione</th>\n <th *ngIf=\"enabled\" style=\"width:40px\" class=\"actions\"></th>\n <th style=\"width:30%\" *ngIf=\"!image_type\">Utente</th>\n <th style=\"width:240px;text-align:center\">Data</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\n <tr *ngFor=\"let app of arr_g\" style=\"font-size: 12px;\">\n <td style=\"text-align:center;vertical-align: middle;width:36px;height:36px;\">\n <div style=\"text-align:center;vertical-align: middle;width:28px;height:28px;\">\n <img src=\"assets/icons/square-o/{{app.icon}}\" style=\"width:28px;height:28px;\"></div> </td>\n <td *ngIf=\"b_mobile\" style=\"text-align:center\">{{app.Filename}}<br><br>\n <button (click)=\"download_all(app)\" mat-raised-button>DOWNLOAD</button>\n </td>\n <td *ngIf=\"!b_mobile\">{{app.Filename}}</td>\n <td *ngIf=\"!b_mobile\" style=\"text-align:center\">{{app.Filesize}}</td>\n <td *ngIf=\"!b_mobile\">\n <div fxLayout=\"row\">\n <a mat-icon-button matTooltip=\"Modifica Descrizione\" *ngIf=\"app.can_delete\" (click)=\"edit_descri(app)\">\n <mat-icon>edit</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Modifica Descrizione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>edit</mat-icon>\n </a>\n\n <div [innerHTML]=\"app.descrizione_vis\" style=\"width:100%\">\n </div>\n </div></td>\n\n \n <td style=\"min-width:400px;min-height: 400px\" *ngIf=\"app.type=='IMG'\">\n <fh-image-viewer [u]=\"app\"></fh-image-viewer>\n\n </td>\n <td *ngIf=\"!b_mobile\">{{app.nc}}</td>\n <td *ngIf=\"!b_mobile\" style=\"text-align:center\">{{app.dt_ins | date: 'dd/MM/yyyy HH:mm:ss'}}</td>\n <td *ngIf=\"!b_mobile\" style=\"text-align:center\">\n <button mat-icon-button matTooltip=\"Download File\" (click)=\"download_all(app)\">\n <mat-icon>cloud_download</mat-icon>\n </button>\n </td>\n\n <td *ngIf=\"enabled\" style=\"text-align:center\">\n <a mat-icon-button matTooltip=\"Elimina File\" *ngIf=\"app.can_delete\" (click)=\"delete(app)\">\n <mat-icon>delete</mat-icon>\n </a>\n\n <a mat-icon-button [matTooltip]=\"'Cancellazione consentita solo a: '+app.nc\" *ngIf=\"!app.can_delete\" [disabled]=\"true\" >\n <mat-icon>delete</mat-icon>\n </a>\n \n </td> \n\n </tr>\n </table>\n\n </div>\n </div>\n <div *ngIf=\"!b_ini\" style=\"color:#ff0000\"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div>\n\n ",
4055
4055
  styles: ["\n\n \n\n "]
4056
4056
  }] }
4057
4057
  ];