@fluxhub/fluxhub-lib 9.0.156 → 9.0.157

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,23 @@ 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
+
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
- (fileOver)="fileOverBase($event)" [uploader]="uploader">
4216
- {{hasBaseDropZoneOver ? 'Lascia il file per confermarmare upload' : 'Trascina un file qui o Clicca per avviare upload'}}
4217
- </label>
4224
+ (fileOver)="fileOverBase($event)" [uploader]="uploader" style="width:230px">
4225
+ <svg
4226
+ xmlns="http://www.w3.org/2000/svg"
4227
+ width="20"
4228
+ height="17"
4229
+ viewBox="0 0 20 17"
4230
+ >
4231
+ <path
4232
+ 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"
4233
+ /></svg><span style="font-size: 12px"></span></label>
4218
4234
  <input type="file"
4219
4235
  ng2FileSelect
4220
4236
  [multiple]="false"
@@ -5006,6 +5022,11 @@ FHUploadPanelComponent = __decorate([
5006
5022
  <div [hidden]="!enabled">
5007
5023
  <FHUpload
5008
5024
  [single]="b_False"
5025
+
5026
+ [lascia_il_file] = "force_en ? 'Drop here to confim':'Lascia il file per confermarmare upload'"
5027
+ [trascina_il_file] = "force_en ? 'Drop a file here o click to upload a file':'Trascina un file qui o Clicca per avviare upload'"
5028
+
5029
+
5009
5030
  [label_attendere]="
5010
5031
  force_en ? 'UPLOADING' : 'ATTENDERE UPLOAD IN CORSO'
5011
5032
  "
@@ -5139,7 +5160,7 @@ FHUploadPanelComponent = __decorate([
5139
5160
  matTooltip="Preview"
5140
5161
  (click)="preview_email(app)"
5141
5162
  >
5142
- <mat-icon>search</mat-icon>
5163
+ <mat-icon>visibility</mat-icon>
5143
5164
  </button>
5144
5165
  <button
5145
5166
  mat-icon-button
@@ -5291,7 +5312,7 @@ FHUploadPanelComponent = __decorate([
5291
5312
  matTooltip="Preview"
5292
5313
  (click)="preview_email(app)"
5293
5314
  >
5294
- <mat-icon>search</mat-icon>
5315
+ <mat-icon>visibility</mat-icon>
5295
5316
  </button>
5296
5317
 
5297
5318