@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.
@@ -1654,6 +1654,7 @@
1654
1654
  this.tsr = tsr;
1655
1655
  this.enabled = true;
1656
1656
  this.force_en = false;
1657
+ this.dt_scadenza = false;
1657
1658
  this.label = "";
1658
1659
  this.sovrascrivi_path = "";
1659
1660
  this.ruolo_supervisore = "[ZZZ_DIS_CC]";
@@ -1932,6 +1933,7 @@
1932
1933
  FHUploadPanelS3Component.propDecorators = {
1933
1934
  enabled: [{ type: i0.Input }],
1934
1935
  force_en: [{ type: i0.Input }],
1936
+ dt_scadenza: [{ type: i0.Input }],
1935
1937
  label: [{ type: i0.Input }],
1936
1938
  sovrascrivi_path: [{ type: i0.Input }],
1937
1939
  ruolo_supervisore: [{ type: i0.Input }],
@@ -2318,11 +2320,12 @@
2318
2320
  };
2319
2321
 
2320
2322
  var fh_win_picklist = /** @class */ (function () {
2321
- function fh_win_picklist(dialogRef, _dataService, toastr, data) {
2323
+ function fh_win_picklist(dialogRef, _dataService, toastr, data, m_appService) {
2322
2324
  this.dialogRef = dialogRef;
2323
2325
  this._dataService = _dataService;
2324
2326
  this.toastr = toastr;
2325
2327
  this.data = data;
2328
+ this.m_appService = m_appService;
2326
2329
  this.width = "100%";
2327
2330
  this.selectedAdd = null;
2328
2331
  this.selectedRemove = null;
@@ -2337,10 +2340,13 @@
2337
2340
  this.value_list_sel = new Array();
2338
2341
  this.types = [];
2339
2342
  this.values = [];
2343
+ this.title = '';
2340
2344
  this.value_sel = [];
2341
2345
  if (data != null) {
2342
2346
  if (data.value_list != null)
2343
2347
  this.value_list = data.value_list;
2348
+ if (data.title != null)
2349
+ this.title = data.title;
2344
2350
  if (data.single_sel != null)
2345
2351
  this.single_sel = data.single_sel;
2346
2352
  if (data.vis_buttons != null)
@@ -2536,7 +2542,7 @@
2536
2542
  fh_win_picklist.decorators = [
2537
2543
  { type: i0.Component, args: [{
2538
2544
  selector: "FHPickList",
2539
- template: "\n <div fxLayout=\"column\" fxLayoutGap=\"15px\" fxFlex>\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"41%\">\n <div style=\"width:100%;height:420px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\">\n <thead>\n <tr>\n <th>{{'VALORI SELEZIONABILI' | translate}}</th>\n </tr>\n </thead>\n\n <tbody>\n <tr style=\"background-color:#FFF !important\">\n <td>\n <input\n [(ngModel)]=\"fltr_user\"\n (ngModelChange)=\"filtra()\"\n style=\"padding:8px;margin:15px auto;width:100%;\"\n placeholder=\"Ricerca...\"\n />\n </td>\n </tr>\n <tr\n *ngFor=\"\n let u of value_list_sel;\n let odd = odd;\n let even = even\n \"\n\n (click)=\"addTo(u)\"\n (dblclick)=\"do_add()\"\n class=\"selector\"\n\n [ngClass]=\"{ active: selectedAdd == u }\"\n >\n <td [ngClass]=\"{ odd: odd, even: even }\" style=\"cursor:pointer\">{{ u.descrizione_valore | translate }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div\n fxLayout=\"column\"\n fxFlex=\"18%\"\n style=\"height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);\"\n >\n <div\n style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\"\n >\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_add()\"\n [disabled]=\"!option\"\n >\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br /><br />\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_rem()\"\n [disabled]=\"option\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"41%\">\n <div style=\"width:100%;height:420px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\">\n <thead>\n <tr>\n <th>{{'VALORI SELEZIONATI'}}</th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let u of value_sel; let odd = odd; let even = even\"\n (mouseover)=\"selectedRemove = u\"\n [ngClass]=\"{ odd: odd, even: even }\"\n (click)=\"removeTo(u)\"\n (dblclick)=\"do_rem()\"\n class=\"selector\"\n [ngClass]=\"{ active: selectedRemove == u }\"\n >\n <td [ngClass]=\"{ odd: odd, even: even }\" style=\"cursor:pointer\">{{ u.descrizione_valore | translate }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <br /><br />\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"5px\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">Ok</button\n >&nbsp;&nbsp;&nbsp;\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"dialogRef.close()\"\n >\n {{'Annulla' | translate}}\n </button>\n </div>\n </div>\n ",
2545
+ template: "\n<div\u00A0fxLayout=\"column\">\n<div\u00A0\u00A0fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\"\u00A0\u00A0\u00A0class=\"dialog_header\">\u00A0\n<div\u00A0\u00A0\u00A0\u00A0\u00A0fxLayout=\"row\"\u00A0\u00A0fxLayoutAlign=\"start\u00A0center\"\u00A0fxFlex=\"50\"><div>{{title}}</div></div>\u00A0\n<div\u00A0\u00A0\u00A0fxFlex=\"50\"\u00A0fxLayout=\"row\"\u00A0fxLayoutAlign=\"end\u00A0center\">\n<img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"dialogRef.close(null)\"\u00A0/>\u00A0\u00A0\n</div>\n</div>\n<hr\u00A0width=\"100%\"\u00A0size=\"0.5\"\u00A0color=\"#DDDDDD\">\n\n<mat-dialog-content>\n <div style=\"width:100%;overflow:auto;\" [style.height]=\"(m_appService.getState().body_h-240)+'px'\">\n <div fxLayout=\"column\" fxLayoutGap=\"15px\" fxFlex>\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"41%\">\n <div style=\"width:100%;height:420px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\">\n <thead>\n <tr>\n <th>{{'VALORI SELEZIONABILI' | translate}}</th>\n </tr>\n </thead>\n\n <tbody>\n <tr style=\"background-color:#FFF !important\">\n <td>\n <input\n [(ngModel)]=\"fltr_user\"\n (ngModelChange)=\"filtra()\"\n style=\"padding:8px;margin:15px auto;width:100%;\"\n placeholder=\"Ricerca...\"\n />\n </td>\n </tr>\n <tr\n *ngFor=\"\n let u of value_list_sel;\n let odd = odd;\n let even = even\n \"\n\n (click)=\"addTo(u)\"\n (dblclick)=\"do_add()\"\n class=\"selector\"\n\n [ngClass]=\"{ active: selectedAdd == u }\"\n >\n <td [ngClass]=\"{ odd: odd, even: even }\" style=\"cursor:pointer\">{{ u.descrizione_valore | translate }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div\n fxLayout=\"column\"\n fxFlex=\"18%\"\n style=\"height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);\"\n >\n <div\n style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\"\n >\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_add()\"\n [disabled]=\"!option\"\n >\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br /><br />\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_rem()\"\n [disabled]=\"option\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"41%\">\n <div style=\"width:100%;height:420px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\">\n <thead>\n <tr>\n <th>{{'VALORI SELEZIONATI'}}</th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let u of value_sel; let odd = odd; let even = even\"\n (mouseover)=\"selectedRemove = u\"\n [ngClass]=\"{ odd: odd, even: even }\"\n (click)=\"removeTo(u)\"\n (dblclick)=\"do_rem()\"\n class=\"selector\"\n [ngClass]=\"{ active: selectedRemove == u }\"\n >\n <td [ngClass]=\"{ odd: odd, even: even }\" style=\"cursor:pointer\">{{ u.descrizione_valore | translate }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div> </div> </div>\n </div></mat-dialog-content><br>\n<mat-dialog-actions>\n<div\u00A0fxLayout=\"row\"\u00A0fxLayoutAlign=\"10px\"\u00A0fxLayoutAlign=\"center\u00A0center\"\u00A0fxFlex\u00A0style=\"width:100%\">\n<button\u00A0mat-flat-button\u00A0color=\"warn\"\u00A0(click)=\"dialogRef.close(null)\">ANNULLA</button>\n</div>\n</mat-dialog-actions>\n</div>\n ",
2540
2546
  styles: ["\n .selector {\n cursor: hand;\n }\n "]
2541
2547
  },] }
2542
2548
  ];
@@ -2544,7 +2550,8 @@
2544
2550
  { type: dialog.MatDialogRef },
2545
2551
  { type: QueryService },
2546
2552
  { type: i3.ToastrService },
2547
- { type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
2553
+ { type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
2554
+ { type: AppService }
2548
2555
  ]; };
2549
2556
  fh_win_picklist.propDecorators = {
2550
2557
  value_list: [{ type: i0.Input }],
@@ -21572,6 +21579,9 @@
21572
21579
  dati_aggiuntivi.prototype.onResize = function (event) { };
21573
21580
  dati_aggiuntivi.prototype.init_engine = function () {
21574
21581
  var _this = this;
21582
+ if (this.app_s.user != null)
21583
+ this.user_idp = this.app_s.user;
21584
+ console.log('this.user_idp ', this.user_idp);
21575
21585
  if (this.user_idp == null) {
21576
21586
  setTimeout(function () {
21577
21587
  _this.init_engine();