@fluxhub/fluxhub-lib 9.0.156 → 9.0.158

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.
@@ -3794,6 +3794,8 @@ let FHUploadComponent = class FHUploadComponent {
3794
3794
  this.dialog = dialog;
3795
3795
  this.app_s = app_s;
3796
3796
  this.uti = uti;
3797
+ this.lascia_il_file = 'Lascia il file per confermarmare upload';
3798
+ this.trascina_il_file = 'Trascina un file qui o Clicca per avviare upload';
3797
3799
  this.show_descri = true;
3798
3800
  this.enabled = true;
3799
3801
  this.single = true;
@@ -4077,6 +4079,14 @@ FHUploadComponent.ctorParameters = () => [
4077
4079
  { type: AppService },
4078
4080
  { type: UtilityService }
4079
4081
  ];
4082
+ __decorate([
4083
+ Input(),
4084
+ __metadata("design:type", String)
4085
+ ], FHUploadComponent.prototype, "lascia_il_file", void 0);
4086
+ __decorate([
4087
+ Input(),
4088
+ __metadata("design:type", String)
4089
+ ], FHUploadComponent.prototype, "trascina_il_file", void 0);
4080
4090
  __decorate([
4081
4091
  Input(),
4082
4092
  __metadata("design:type", Boolean)
@@ -4204,17 +4214,17 @@ FHUploadComponent = __decorate([
4204
4214
  >
4205
4215
  <path
4206
4216
  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"
4207
- /></svg
4208
- ><span style="font-size: 12px">&nbsp;&nbsp;&nbsp;Upload</span></label
4209
- >
4217
+ /></svg><span style="font-size: 12px">&nbsp;&nbsp;&nbsp;Upload</span></label>
4210
4218
  </div>
4211
4219
  -->
4212
- <label for="uploader-input" ng2FileDrop style="font-weight:bold" class="my-drop-zone"
4220
+ <div class="my-drop-zone" style="width:130px" fxLayout="row" fxLayoutAlign="center start">
4221
+ <label for="uploader-input" ng2FileDrop style="font-weight:bold" class="my-drop-zone" [matTooltip]="hasBaseDropZoneOver ? lascia_il_file : trascina_il_file"
4213
4222
  [ngClass]="{'over-drop-zone': hasBaseDropZoneOver}" for="file-fh{{ id_component }}"
4214
4223
  (onFileDrop)="onFileDrop($event)"
4215
4224
  (fileOver)="fileOverBase($event)" [uploader]="uploader">
4216
- {{hasBaseDropZoneOver ? 'Lascia il file per confermarmare upload' : 'Trascina un file qui o Clicca per avviare upload'}}
4217
- </label>
4225
+ <div fxLayoutAlign="center center" fxLayout="row">
4226
+ <mat-icon>backup</mat-icon>
4227
+ &nbsp;<span style="font-size: 14px">&nbsp;&nbsp;Upload</span></div></label></div>
4218
4228
  <input type="file"
4219
4229
  ng2FileSelect
4220
4230
  [multiple]="false"
@@ -5006,6 +5016,11 @@ FHUploadPanelComponent = __decorate([
5006
5016
  <div [hidden]="!enabled">
5007
5017
  <FHUpload
5008
5018
  [single]="b_False"
5019
+
5020
+ [lascia_il_file] = "force_en ? 'Drop here to confim':'Lascia il file per confermarmare upload'"
5021
+ [trascina_il_file] = "force_en ? 'Drop a file here o click to upload a file':'Trascina un file qui o Clicca per avviare upload'"
5022
+
5023
+
5009
5024
  [label_attendere]="
5010
5025
  force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO'
5011
5026
  "
@@ -5139,7 +5154,7 @@ FHUploadPanelComponent = __decorate([
5139
5154
  matTooltip="Preview"
5140
5155
  (click)="preview_email(app)"
5141
5156
  >
5142
- <mat-icon>search</mat-icon>
5157
+ <mat-icon>visibility</mat-icon>
5143
5158
  </button>
5144
5159
  <button
5145
5160
  mat-icon-button
@@ -5291,7 +5306,7 @@ FHUploadPanelComponent = __decorate([
5291
5306
  matTooltip="Preview"
5292
5307
  (click)="preview_email(app)"
5293
5308
  >
5294
- <mat-icon>search</mat-icon>
5309
+ <mat-icon>visibility</mat-icon>
5295
5310
  </button>
5296
5311
 
5297
5312