@fluxhub/fluxhub-lib 9.0.164 → 10.0.5

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.
@@ -3668,60 +3668,60 @@ FHPickFieldComponent = __decorate([
3668
3668
  Component({
3669
3669
  selector: "FHPickField",
3670
3670
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1],
3671
- template: `
3672
- <div fxLayout="row" [hidden]="!enabled || hidden">
3673
- <mat-form-field
3674
- style="clickable-field"
3675
- (click)="open_pick()"
3676
- appearance="outline"
3677
- floatLabel="always"
3678
- ><mat-label>{{ label }}</mat-label>
3679
-
3680
- <input
3681
- matInput
3682
- [hidden]="hidden"
3683
- type="text"
3684
- [ngModel]="t_value"
3685
- [disabled]="false"
3686
- readonly
3687
- />
3688
- </mat-form-field>
3689
- <button
3690
- mat-icon-button
3691
- matSuffix
3692
- [hidden]="selectedUser.length == 0"
3693
- (click)="clear()"
3694
- >
3695
- <mat-icon>clear</mat-icon>
3696
- </button>
3697
- </div>
3698
- <mat-form-field
3699
- [hidden]="enabled || hidden"
3700
- appearance="outline"
3701
- floatLabel="always"
3702
- ><mat-label>{{ label }}</mat-label>
3703
- <input
3704
- type="text"
3705
- #el1
3706
- matInput
3707
- [disabled]="true"
3708
- [(ngModel)]="t_value"
3709
- />
3710
- </mat-form-field>
3671
+ template: `
3672
+ <div fxLayout="row" [hidden]="!enabled || hidden">
3673
+ <mat-form-field
3674
+ style="clickable-field"
3675
+ (click)="open_pick()"
3676
+ appearance="outline"
3677
+ floatLabel="always"
3678
+ ><mat-label>{{ label }}</mat-label>
3679
+
3680
+ <input
3681
+ matInput
3682
+ [hidden]="hidden"
3683
+ type="text"
3684
+ [ngModel]="t_value"
3685
+ [disabled]="false"
3686
+ readonly
3687
+ />
3688
+ </mat-form-field>
3689
+ <button
3690
+ mat-icon-button
3691
+ matSuffix
3692
+ [hidden]="selectedUser.length == 0"
3693
+ (click)="clear()"
3694
+ >
3695
+ <mat-icon>clear</mat-icon>
3696
+ </button>
3697
+ </div>
3698
+ <mat-form-field
3699
+ [hidden]="enabled || hidden"
3700
+ appearance="outline"
3701
+ floatLabel="always"
3702
+ ><mat-label>{{ label }}</mat-label>
3703
+ <input
3704
+ type="text"
3705
+ #el1
3706
+ matInput
3707
+ [disabled]="true"
3708
+ [(ngModel)]="t_value"
3709
+ />
3710
+ </mat-form-field>
3711
3711
  `,
3712
- styles: [`
3713
- .clickable-field {
3714
- border: 1px solid #000000;
3715
- color: #000000;
3716
- }
3717
-
3718
- .clickable-field:focus {
3719
- outline: none;
3720
- }
3721
-
3722
- :host ::ng-deep .mat-input-element {
3723
- cursor: pointer !important;
3724
- }
3712
+ styles: [`
3713
+ .clickable-field {
3714
+ border: 1px solid #000000;
3715
+ color: #000000;
3716
+ }
3717
+
3718
+ .clickable-field:focus {
3719
+ outline: none;
3720
+ }
3721
+
3722
+ :host ::ng-deep .mat-input-element {
3723
+ cursor: pointer !important;
3724
+ }
3725
3725
  `]
3726
3726
  }),
3727
3727
  __metadata("design:paramtypes", [QueryService, MatDialog])
@@ -3840,15 +3840,11 @@ let FHUploadComponent = class FHUploadComponent {
3840
3840
  };
3841
3841
  this.uploader.onCompleteItem = (item, response, status, header) => {
3842
3842
  if (status === 200) {
3843
- this.descrizione = '';
3844
- let res = JSON.parse(response);
3845
- if (res.result_msg === 'OK')
3846
- this.toastr.info("INFO", this.allegato_inserito, {
3847
- timeOut: 1000,
3848
- progressBar: true,
3849
- });
3850
- else
3851
- this.toastr.error(res.msg);
3843
+ this.descrizione = "";
3844
+ this.toastr.info("INFO", this.allegato_inserito, {
3845
+ timeOut: 1000,
3846
+ progressBar: true,
3847
+ });
3852
3848
  this.ref_allegato();
3853
3849
  this.last_result = {
3854
3850
  item: item,
@@ -3918,6 +3914,7 @@ let FHUploadComponent = class FHUploadComponent {
3918
3914
  }, 200);
3919
3915
  return;
3920
3916
  }
3917
+ console.log("this.cmb_tipo.sql ", this.cmb_tipo.sql);
3921
3918
  this.cmb_tipo.sql = this.tipo;
3922
3919
  this.cmb_tipo.fillCombo();
3923
3920
  }
@@ -4226,8 +4223,8 @@ FHUploadComponent = __decorate([
4226
4223
  (onFileDrop)="onFileDrop($event)"
4227
4224
  (fileOver)="fileOverBase($event)" [uploader]="uploader">
4228
4225
  <div fxLayoutAlign="center center" fxLayout="row">
4229
- <mat-icon [hidden]="hasBaseDropZoneOver">backup</mat-icon>
4230
- <mat-icon [hidden]="!hasBaseDropZoneOver">thumb_up</mat-icon>
4226
+ <mat-icon>{{!hasBaseDropZoneOver?'backup':'thumb_up'}}</mat-icon>
4227
+
4231
4228
  &nbsp;<span style="font-size: 14px">&nbsp;&nbsp;Upload</span></div></label></div>
4232
4229
  <input type="file"
4233
4230
  ng2FileSelect
@@ -4613,60 +4610,60 @@ win_show_email.ctorParameters = () => [
4613
4610
  ];
4614
4611
  win_show_email = __decorate([
4615
4612
  Component({
4616
- template: `
4617
- <div style="width:100%" fxLayout="row" fxLayoutAlign="end start"><img src="assets/icons/x.png" style="cursor: pointer;" (click)="dialogRef.close(null)" /> </div><br>
4618
- <div style="width:1000px;overflow:auto;" [style.height]="(m_appService.getState().body_h-240)+'px'">
4619
- <mat-toolbar color="primary">{{title}}
4620
- <span class="fill-remaining-space"></span>
4621
-
4622
- </mat-toolbar>
4623
- <br>
4624
-
4625
- <div style="width:100%;height:500px">
4626
- <div style="width:100%;height:100%">
4627
- <div fxLayout="column">
4628
- <div fxLayout="row">
4629
- <div style="width:100px">From:</div>
4630
- <div  [innerHTML]="email_obj.from" ></div>
4631
- </div>
4632
- <div fxLayout="row">
4633
- <div style="width:100px">To:</div>
4634
- <div  [innerHTML]="email_obj.to" ></div>
4635
- </div>
4636
- <div fxLayout="row">
4637
- <div style="width:100px">CC:</div>
4638
- <div  [innerHTML]="email_obj.cc" ></div>
4639
- </div>
4640
- <div fxLayout="row">
4641
- <div style="width:100px">Subject:</div>
4642
- <div  [innerHTML]="email_obj.subject" ></div>
4643
- </div>
4644
- <div style="width:100px">Body:</div>
4645
- <div style="overflow:auto;" [style.height]="(m_appService.getState().body_h-490)+'px'">
4646
- <div fxLayout="row" [hidden]="email_obj.is_html=='NO'">
4647
-
4648
- <div  [innerHTML]="email_obj.body" ></div>
4649
- </div>
4650
- <div fxLayout="row" [hidden]="email_obj.is_html=='SI'">
4651
-
4652
- <div>{{email_obj.body}}</div>
4653
- </div>
4654
- </div>
4655
- <hr style="width:100%">
4656
- <div fxLayout="row" fxLayoutGap="10px">
4657
- <div style="width:100px">Allegati:</div>
4658
- <div *ngFor="let u of allegati" >
4659
- <button mat-raised-button color="primary" (click)="open_all(u)">{{u}}</button>
4660
- </div>
4661
-
4662
-
4663
-
4664
- </div>
4665
-
4666
-
4667
- </div>
4668
- </div>
4669
- </div>
4613
+ template: `
4614
+ <div style="width:100%" fxLayout="row" fxLayoutAlign="end start"><img src="assets/icons/x.png" style="cursor: pointer;" (click)="dialogRef.close(null)" /> </div><br>
4615
+ <div style="width:1000px;overflow:auto;" [style.height]="(m_appService.getState().body_h-240)+'px'">
4616
+ <mat-toolbar color="primary">{{title}}
4617
+ <span class="fill-remaining-space"></span>
4618
+
4619
+ </mat-toolbar>
4620
+ <br>
4621
+
4622
+ <div style="width:100%;height:500px">
4623
+ <div style="width:100%;height:100%">
4624
+ <div fxLayout="column">
4625
+ <div fxLayout="row">
4626
+ <div style="width:100px">From:</div>
4627
+ <div  [innerHTML]="email_obj.from" ></div>
4628
+ </div>
4629
+ <div fxLayout="row">
4630
+ <div style="width:100px">To:</div>
4631
+ <div  [innerHTML]="email_obj.to" ></div>
4632
+ </div>
4633
+ <div fxLayout="row">
4634
+ <div style="width:100px">CC:</div>
4635
+ <div  [innerHTML]="email_obj.cc" ></div>
4636
+ </div>
4637
+ <div fxLayout="row">
4638
+ <div style="width:100px">Subject:</div>
4639
+ <div  [innerHTML]="email_obj.subject" ></div>
4640
+ </div>
4641
+ <div style="width:100px">Body:</div>
4642
+ <div style="overflow:auto;" [style.height]="(m_appService.getState().body_h-490)+'px'">
4643
+ <div fxLayout="row" [hidden]="email_obj.is_html=='NO'">
4644
+
4645
+ <div  [innerHTML]="email_obj.body" ></div>
4646
+ </div>
4647
+ <div fxLayout="row" [hidden]="email_obj.is_html=='SI'">
4648
+
4649
+ <div>{{email_obj.body}}</div>
4650
+ </div>
4651
+ </div>
4652
+ <hr style="width:100%">
4653
+ <div fxLayout="row" fxLayoutGap="10px">
4654
+ <div style="width:100px">Allegati:</div>
4655
+ <div *ngFor="let u of allegati" >
4656
+ <button mat-raised-button color="primary" (click)="open_all(u)">{{u}}</button>
4657
+ </div>
4658
+
4659
+
4660
+
4661
+ </div>
4662
+
4663
+
4664
+ </div>
4665
+ </div>
4666
+ </div>
4670
4667
  `
4671
4668
  }),
4672
4669
  __param(3, Inject(MAT_DIALOG_DATA)),