@fluxhub/fluxhub-lib 10.0.611 → 10.0.613

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.
@@ -2320,12 +2320,11 @@
2320
2320
  };
2321
2321
 
2322
2322
  var fh_win_picklist = /** @class */ (function () {
2323
- function fh_win_picklist(dialogRef, _dataService, toastr, data, m_appService) {
2323
+ function fh_win_picklist(dialogRef, _dataService, toastr, data) {
2324
2324
  this.dialogRef = dialogRef;
2325
2325
  this._dataService = _dataService;
2326
2326
  this.toastr = toastr;
2327
2327
  this.data = data;
2328
- this.m_appService = m_appService;
2329
2328
  this.width = "100%";
2330
2329
  this.selectedAdd = null;
2331
2330
  this.selectedRemove = null;
@@ -2340,13 +2339,10 @@
2340
2339
  this.value_list_sel = new Array();
2341
2340
  this.types = [];
2342
2341
  this.values = [];
2343
- this.title = '';
2344
2342
  this.value_sel = [];
2345
2343
  if (data != null) {
2346
2344
  if (data.value_list != null)
2347
2345
  this.value_list = data.value_list;
2348
- if (data.title != null)
2349
- this.title = data.title;
2350
2346
  if (data.single_sel != null)
2351
2347
  this.single_sel = data.single_sel;
2352
2348
  if (data.vis_buttons != null)
@@ -2359,6 +2355,8 @@
2359
2355
  }
2360
2356
  }
2361
2357
  fh_win_picklist.prototype.ngAfterViewInit = function () { };
2358
+ fh_win_picklist.prototype.add_all = function () { };
2359
+ fh_win_picklist.prototype.rem_all = function () { };
2362
2360
  fh_win_picklist.prototype.filtra = function () {
2363
2361
  this.value_list_sel = new Array();
2364
2362
  // console.log('filtra() '+this.fltr_user.toUpperCase());
@@ -2542,16 +2540,15 @@
2542
2540
  fh_win_picklist.decorators = [
2543
2541
  { type: i0.Component, args: [{
2544
2542
  selector: "FHPickList",
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%\" [style.height]=\"'500px'\">\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 ",
2546
- styles: ["\n .mat-dialog-content\u00A0{\u00A0\u00A0max-height:\u00A0unset\u00A0!important;\u00A0}\n .selector {\n cursor: hand;\n }\n "]
2543
+ template: "\n <div fxLayout=\"column\" fxLayoutGap=\"15px\" style=\"min-width:1000px\" fxFlex>\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"48\">\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=\"4\"\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> <br /><br /> <br /><br />\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"add_all()\"\n [disabled]=\"option\"\n >\n <mat-icon>double_arrow</mat-icon>\n </button> <br /><br />\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"rem_all()\"\n [disabled]=\"option\"\n >\n <mat-icon>keyboard_double_arrow_left</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"48\">\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 ",
2544
+ styles: ["\n .mat-dialog-content\u00A0{\u00A0\u00A0max-height:\u00A0unset\u00A0!important;\u00A0}\n .selector {\n cursor: hand;\n }\n "]
2547
2545
  },] }
2548
2546
  ];
2549
2547
  fh_win_picklist.ctorParameters = function () { return [
2550
2548
  { type: dialog.MatDialogRef },
2551
2549
  { type: QueryService },
2552
2550
  { type: i3.ToastrService },
2553
- { type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
2554
- { type: AppService }
2551
+ { type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
2555
2552
  ]; };
2556
2553
  fh_win_picklist.propDecorators = {
2557
2554
  value_list: [{ type: i0.Input }],