@fluxhub/fluxhub-lib 10.0.175 → 10.0.176

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.
@@ -2232,8 +2232,8 @@
2232
2232
  trascina_il_file: [{ type: i0.Input }]
2233
2233
  };
2234
2234
 
2235
- var FHPickListComponent = /** @class */ (function () {
2236
- function FHPickListComponent(dialogRef, _dataService, toastr, data) {
2235
+ var fh_win_picklist = /** @class */ (function () {
2236
+ function fh_win_picklist(dialogRef, _dataService, toastr, data) {
2237
2237
  this.dialogRef = dialogRef;
2238
2238
  this._dataService = _dataService;
2239
2239
  this.toastr = toastr;
@@ -2267,8 +2267,8 @@
2267
2267
  this.fill_list_arr(this.value_list, this.value_sel);
2268
2268
  }
2269
2269
  }
2270
- FHPickListComponent.prototype.ngAfterViewInit = function () { };
2271
- FHPickListComponent.prototype.filtra = function () {
2270
+ fh_win_picklist.prototype.ngAfterViewInit = function () { };
2271
+ fh_win_picklist.prototype.filtra = function () {
2272
2272
  this.value_list_sel = new Array();
2273
2273
  // console.log('filtra() '+this.fltr_user.toUpperCase());
2274
2274
  if (this.fltr_user == "") {
@@ -2321,7 +2321,7 @@
2321
2321
  }*/
2322
2322
  // console.log(this.value_list);
2323
2323
  };
2324
- FHPickListComponent.prototype.fill_list = function (k, arrs) {
2324
+ fh_win_picklist.prototype.fill_list = function (k, arrs) {
2325
2325
  var _this = this;
2326
2326
  this.value_sel = [];
2327
2327
  var ok_op = false;
@@ -2357,7 +2357,7 @@
2357
2357
  "ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI";
2358
2358
  });
2359
2359
  };
2360
- FHPickListComponent.prototype.fill_list_arr = function (k, arrs) {
2360
+ fh_win_picklist.prototype.fill_list_arr = function (k, arrs) {
2361
2361
  this.value_sel = [];
2362
2362
  for (var i = 0; i < arrs.length; i++)
2363
2363
  for (var y = 0; y < k.length; y++)
@@ -2375,7 +2375,7 @@
2375
2375
  }
2376
2376
  this.filtra();
2377
2377
  };
2378
- FHPickListComponent.prototype.do_add = function () {
2378
+ fh_win_picklist.prototype.do_add = function () {
2379
2379
  if (this.selectedAdd == null) {
2380
2380
  this.toastr.error("ERRORE", "Selezionare il valore da aggiungere", {
2381
2381
  timeOut: 1000,
@@ -2396,7 +2396,7 @@
2396
2396
  if (this.single_sel)
2397
2397
  this.ok();
2398
2398
  };
2399
- FHPickListComponent.prototype.do_rem = function () {
2399
+ fh_win_picklist.prototype.do_rem = function () {
2400
2400
  if (this.selectedRemove == null) {
2401
2401
  this.toastr.error("ERRORE", "Selezionare il valore da rimuovere", {
2402
2402
  timeOut: 1000,
@@ -2412,17 +2412,17 @@
2412
2412
  this.selectedRemove = null;
2413
2413
  this.filtra();
2414
2414
  };
2415
- FHPickListComponent.prototype.addTo = function (item) {
2415
+ fh_win_picklist.prototype.addTo = function (item) {
2416
2416
  this.option = true;
2417
2417
  this.selectedAdd = item;
2418
2418
  this.selectedRemove = null;
2419
2419
  };
2420
- FHPickListComponent.prototype.removeTo = function (item) {
2420
+ fh_win_picklist.prototype.removeTo = function (item) {
2421
2421
  this.option = false;
2422
2422
  this.selectedAdd = null;
2423
2423
  this.selectedRemove = item;
2424
2424
  };
2425
- FHPickListComponent.prototype.getSelStr = function () {
2425
+ fh_win_picklist.prototype.getSelStr = function () {
2426
2426
  var sx = "";
2427
2427
  for (var i = 0; i < this.value_sel.length; i++) {
2428
2428
  if (sx != "")
@@ -2431,7 +2431,7 @@
2431
2431
  }
2432
2432
  return sx;
2433
2433
  };
2434
- FHPickListComponent.prototype.getSelVal = function () {
2434
+ fh_win_picklist.prototype.getSelVal = function () {
2435
2435
  var sx = "";
2436
2436
  for (var i = 0; i < this.value_sel.length; i++) {
2437
2437
  if (sx != "")
@@ -2440,28 +2440,28 @@
2440
2440
  }
2441
2441
  return sx;
2442
2442
  };
2443
- FHPickListComponent.prototype.getSelArr = function () {
2443
+ fh_win_picklist.prototype.getSelArr = function () {
2444
2444
  return this.value_sel;
2445
2445
  };
2446
- FHPickListComponent.prototype.ok = function () {
2446
+ fh_win_picklist.prototype.ok = function () {
2447
2447
  this.dialogRef.close(this.getSelArr());
2448
2448
  };
2449
- return FHPickListComponent;
2449
+ return fh_win_picklist;
2450
2450
  }());
2451
- FHPickListComponent.decorators = [
2451
+ fh_win_picklist.decorators = [
2452
2452
  { type: i0.Component, args: [{
2453
2453
  selector: "FHPickList",
2454
- 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\">\n <thead>\n <tr>\n <th>VALORI SELEZIONABILI</th>\n </tr>\n </thead>\n\n <tbody>\n <tr>\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 }}</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\">\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 }}</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\n </button>\n </div>\n </div>\n ",
2454
+ 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</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 }}</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 }}</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\n </button>\n </div>\n </div>\n ",
2455
2455
  styles: ["\n .selector {\n cursor: hand;\n }\n "]
2456
2456
  },] }
2457
2457
  ];
2458
- FHPickListComponent.ctorParameters = function () { return [
2458
+ fh_win_picklist.ctorParameters = function () { return [
2459
2459
  { type: dialog.MatDialogRef },
2460
2460
  { type: QueryService },
2461
2461
  { type: i3.ToastrService },
2462
2462
  { type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
2463
2463
  ]; };
2464
- FHPickListComponent.propDecorators = {
2464
+ fh_win_picklist.propDecorators = {
2465
2465
  value_list: [{ type: i0.Input }],
2466
2466
  single_sel: [{ type: i0.Input }],
2467
2467
  vis_buttons: [{ type: i0.Input }],
@@ -2542,7 +2542,7 @@
2542
2542
  var _this = this;
2543
2543
  if (!this.enabled)
2544
2544
  return;
2545
- var dialogRef = this.dialog.open(FHPickListComponent, {
2545
+ var dialogRef = this.dialog.open(fh_win_picklist, {
2546
2546
  disableClose: true,
2547
2547
  width: "700px",
2548
2548
  height: "550px", data: {
@@ -14102,7 +14102,7 @@
14102
14102
  fh_win_combo,
14103
14103
  ReplaceLineBreaks,
14104
14104
  fh_win_ask_text,
14105
- FHPickListComponent,
14105
+ fh_win_picklist,
14106
14106
  fh_win_ask_number,
14107
14107
  FHMdReader,
14108
14108
  FHLogPanelComponent,
@@ -14165,7 +14165,7 @@
14165
14165
  fh_win_combo,
14166
14166
  ReplaceLineBreaks,
14167
14167
  fh_win_ask_text,
14168
- FHPickListComponent,
14168
+ fh_win_picklist,
14169
14169
  fh_win_ask_number,
14170
14170
  FHMdReader,
14171
14171
  FHLogPanelComponent,
@@ -14224,7 +14224,7 @@
14224
14224
  win_sostituisci_utente,
14225
14225
  win_riassegna_select_user,
14226
14226
  win_commento_sel_notif,
14227
- FHPickListComponent,
14227
+ fh_win_picklist,
14228
14228
  fh_win_confirm,
14229
14229
  fh_win_time_slider,
14230
14230
  fh_win_user_picker,
@@ -14238,7 +14238,7 @@
14238
14238
  fh_win_ask_number,
14239
14239
  fh_win_ask_big_test,
14240
14240
  fh_win_output,
14241
- fh_win_list, FHPickListComponent,
14241
+ fh_win_list, fh_win_picklist,
14242
14242
  fh_win_wait, fh_win_show_email, fh_win_show_email_s3
14243
14243
  ],
14244
14244
  },] }
@@ -17018,7 +17018,6 @@
17018
17018
  exports.FHMdReader = FHMdReader;
17019
17019
  exports.FHNumericFieldComponent = FHNumericFieldComponent;
17020
17020
  exports.FHPickFieldComponent = FHPickFieldComponent;
17021
- exports.FHPickListComponent = FHPickListComponent;
17022
17021
  exports.FHRichText = FHRichText;
17023
17022
  exports.FHRoleManager = FHRoleManager;
17024
17023
  exports.FHTableManager = FHTableManager;
@@ -17060,6 +17059,7 @@
17060
17059
  exports.fh_win_list = fh_win_list;
17061
17060
  exports.fh_win_mappa = fh_win_mappa;
17062
17061
  exports.fh_win_output = fh_win_output;
17062
+ exports.fh_win_picklist = fh_win_picklist;
17063
17063
  exports.fh_win_show_email = fh_win_show_email;
17064
17064
  exports.fh_win_show_email_s3 = fh_win_show_email_s3;
17065
17065
  exports.fh_win_show_image = fh_win_show_image;