@fluxhub/fluxhub-lib 1.0.371 → 1.0.372
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 +3 -1
- 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 +9 -5
- package/esm5/lib/controls/fhupload.js +6 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +6 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +3 -1
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhupload.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3078,6 +3078,7 @@
|
|
|
3078
3078
|
this.toastr = toastr;
|
|
3079
3079
|
this.dialog = dialog;
|
|
3080
3080
|
this.app_s = app_s;
|
|
3081
|
+
this.show_descri = true;
|
|
3081
3082
|
this.enabled = true;
|
|
3082
3083
|
this.single = true;
|
|
3083
3084
|
this.descri_obb = false;
|
|
@@ -3330,7 +3331,7 @@
|
|
|
3330
3331
|
FHUploadComponent.decorators = [
|
|
3331
3332
|
{ type: core.Component, args: [{
|
|
3332
3333
|
selector: 'FHUpload',
|
|
3333
|
-
template: "\n \n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div *ngIf=\"enabled
|
|
3334
|
+
template: "\n \n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div *ngIf=\"enabled && !loading\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <mat-form-field [hidden]=\"!show_descri\" 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:100px\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <input type=\"file\" multiple ng2FileSelect [uploader]=\"uploader\" name=\"file-fh{{App}}\" id=\"file-fh{{App}}\" class=\"inputfile inputfile-fh\" />\n <label for=\"file-fh{{App}}\" style=\"width:210px\"><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 fxLayout=\"row\" fxLayoutAlign=\"start start\">\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 ",
|
|
3334
3335
|
styles: ["\n\n "]
|
|
3335
3336
|
}] }
|
|
3336
3337
|
];
|
|
@@ -3342,6 +3343,7 @@
|
|
|
3342
3343
|
{ type: AppService }
|
|
3343
3344
|
]; };
|
|
3344
3345
|
FHUploadComponent.propDecorators = {
|
|
3346
|
+
show_descri: [{ type: core.Input }],
|
|
3345
3347
|
enabled: [{ type: core.Input }],
|
|
3346
3348
|
single: [{ type: core.Input }],
|
|
3347
3349
|
descri_obb: [{ type: core.Input }],
|