@fluxhub/fluxhub-lib 10.0.608 → 10.0.610

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.
@@ -2807,6 +2807,7 @@ class FHUploadPanelS3Component {
2807
2807
  this.tsr = tsr;
2808
2808
  this.enabled = true;
2809
2809
  this.force_en = false;
2810
+ this.dt_scadenza = false;
2810
2811
  this.label = "";
2811
2812
  this.sovrascrivi_path = "";
2812
2813
  this.ruolo_supervisore = "[ZZZ_DIS_CC]";
@@ -3396,6 +3397,7 @@ FHUploadPanelS3Component.ctorParameters = () => [
3396
3397
  FHUploadPanelS3Component.propDecorators = {
3397
3398
  enabled: [{ type: Input }],
3398
3399
  force_en: [{ type: Input }],
3400
+ dt_scadenza: [{ type: Input }],
3399
3401
  label: [{ type: Input }],
3400
3402
  sovrascrivi_path: [{ type: Input }],
3401
3403
  ruolo_supervisore: [{ type: Input }],
@@ -3410,11 +3412,12 @@ FHUploadPanelS3Component.propDecorators = {
3410
3412
  };
3411
3413
 
3412
3414
  class fh_win_picklist {
3413
- constructor(dialogRef, _dataService, toastr, data) {
3415
+ constructor(dialogRef, _dataService, toastr, data, m_appService) {
3414
3416
  this.dialogRef = dialogRef;
3415
3417
  this._dataService = _dataService;
3416
3418
  this.toastr = toastr;
3417
3419
  this.data = data;
3420
+ this.m_appService = m_appService;
3418
3421
  this.width = "100%";
3419
3422
  this.selectedAdd = null;
3420
3423
  this.selectedRemove = null;
@@ -3429,10 +3432,13 @@ class fh_win_picklist {
3429
3432
  this.value_list_sel = new Array();
3430
3433
  this.types = [];
3431
3434
  this.values = [];
3435
+ this.title = '';
3432
3436
  this.value_sel = [];
3433
3437
  if (data != null) {
3434
3438
  if (data.value_list != null)
3435
3439
  this.value_list = data.value_list;
3440
+ if (data.title != null)
3441
+ this.title = data.title;
3436
3442
  if (data.single_sel != null)
3437
3443
  this.single_sel = data.single_sel;
3438
3444
  if (data.vis_buttons != null)
@@ -3627,6 +3633,17 @@ fh_win_picklist.decorators = [
3627
3633
  { type: Component, args: [{
3628
3634
  selector: "FHPickList",
3629
3635
  template: `
3636
+ <div fxLayout="column">
3637
+ <div  fxFlex="100" fxLayout="row"   fxLayoutAlign="start center"   class="dialog_header"> 
3638
+ <div     fxLayout="row"  fxLayoutAlign="start center" fxFlex="50"><div>{{title}}</div></div> 
3639
+ <div   fxFlex="50" fxLayout="row" fxLayoutAlign="end center">
3640
+ <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="dialogRef.close(null)" />  
3641
+ </div>
3642
+ </div>
3643
+ <hr width="100%" size="0.5" color="#DDDDDD">
3644
+
3645
+ <mat-dialog-content>
3646
+ <div style="width:100%;overflow:auto;" [style.height]="(m_appService.getState().body_h-240)+'px'">
3630
3647
  <div fxLayout="column" fxLayoutGap="15px" fxFlex>
3631
3648
  <div fxLayout="row">
3632
3649
  <div fxLayout="column" fxFlex="41%">
@@ -3718,21 +3735,14 @@ fh_win_picklist.decorators = [
3718
3735
  </tbody>
3719
3736
  </table>
3720
3737
  </div>
3721
- </div>
3722
- </div>
3723
- <br /><br />
3724
- <div fxLayout="row" fxLayoutAlign="center center" fxLayoutGap="5px">
3725
- <button mat-flat-button color="primary" (click)="ok()">Ok</button
3726
- >&nbsp;&nbsp;&nbsp;
3727
- <button
3728
- mat-flat-button
3729
- style="background-color: #F5F5F5"
3730
- (click)="dialogRef.close()"
3731
- >
3732
- {{'Annulla' | translate}}
3733
- </button>
3734
- </div>
3735
- </div>
3738
+ </div> </div> </div>
3739
+ </div></mat-dialog-content><br>
3740
+ <mat-dialog-actions>
3741
+ <div fxLayout="row" fxLayoutAlign="10px" fxLayoutAlign="center center" fxFlex style="width:100%">
3742
+ <button mat-flat-button color="warn" (click)="dialogRef.close(null)">ANNULLA</button>
3743
+ </div>
3744
+ </mat-dialog-actions>
3745
+ </div>
3736
3746
  `,
3737
3747
  styles: [`
3738
3748
  .selector {
@@ -3745,7 +3755,8 @@ fh_win_picklist.ctorParameters = () => [
3745
3755
  { type: MatDialogRef },
3746
3756
  { type: QueryService },
3747
3757
  { type: ToastrService },
3748
- { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
3758
+ { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
3759
+ { type: AppService }
3749
3760
  ];
3750
3761
  fh_win_picklist.propDecorators = {
3751
3762
  value_list: [{ type: Input }],
@@ -18668,6 +18679,9 @@ class dati_aggiuntivi {
18668
18679
  }
18669
18680
  onResize(event) { }
18670
18681
  init_engine() {
18682
+ if (this.app_s.user != null)
18683
+ this.user_idp = this.app_s.user;
18684
+ console.log('this.user_idp ', this.user_idp);
18671
18685
  if (this.user_idp == null) {
18672
18686
  setTimeout(() => {
18673
18687
  this.init_engine();