@fluxhub/fluxhub-lib 1.0.562 → 1.0.564

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.
@@ -5122,6 +5122,7 @@
5122
5122
  this.dialogRef = dialogRef;
5123
5123
  this.toastr = toastr;
5124
5124
  this.width = "100%";
5125
+ this.label = "Ricerca...";
5125
5126
  this.selectedAdd = null;
5126
5127
  this.selectedRemove = null;
5127
5128
  this.errorMsg = "";
@@ -5300,7 +5301,7 @@
5300
5301
  FHUserPickerComponent.decorators = [
5301
5302
  { type: core.Component, args: [{
5302
5303
  selector: 'FHPickUsers',
5303
- template: "\n <mat-dialog-content style=\"font-size:12px\"> \n <br><br>\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"40\">\n\n\n <div style=\"width:100%;height:420px;overflow:auto;\">\n \n <table style=\"width: 100%\" class=\"fh_table\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONABILI</th>\n </tr>\n </thead>\n\n <tbody>\n <tr><td colspan=\"2\"> <input [(ngModel)]=\"fltr_user\" (ngModelChange)=\"filtra()\"\n style='padding:8px;margin:15px auto;width:100%;' placeholder='Ricerca...'>\n </td></tr>\n <tr *ngFor=\"let u of users_list_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedAdd=u\"\n [ngClass]=\"{ odd: odd, even: even }\" (click)=\"addTo(u)\" (dblclick)=\"do_add()\" class=\"selector\" \n [ngClass]=\"{ 'active': selectedAdd == u }\">\n <td style=\"width: 80%\">{{u.nc}}</td>\n <td style=\"width: 20%\">{{u.canale}}</td>\n </tr>\n </tbody>\n </table>\n \n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"20\"\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 <div style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\">\n <button mat-flat-button color=\"primary\" (click)=\"do_add()\" [disabled]=\"!option\">\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br><br>\n <button mat-flat-button color=\"primary\" (click)=\"do_rem()\" [disabled]=\"option\">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;height:420px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONATI</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let u of user_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedRemove=u\" [ngClass]=\"{ odd: odd, even: even }\" (click)=\"removeTo(u)\" (dblclick)=\"do_rem()\" class=\"selector\"\n [ngClass]=\"{ 'active': selectedRemove == u }\">\n <td style=\"width: 80%\">{{u.nc}}</td>\n <td style=\"width: 20%\">{{u.canale}}</td>\n\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n \n </mat-dialog-content>\n <mat-dialog-actions>\n\n <div style=\"width:100%\" *ngIf=\"vis_buttons\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-flat-button color=\"primary\" (click)=\"dialogRef.close(this.user_sel)\">Ok</button>&nbsp;&nbsp;&nbsp;\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close()\">Annulla</button>\n </div>\n </mat-dialog-actions>\n\n ",
5304
+ template: "\n <mat-dialog-content style=\"font-size:12px\"> \n <br><br>\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;height:420px;overflow-y:scroll;\">\n \n <table style=\"width: 100%\" class=\"fh_table\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONABILI</th>\n </tr>\n </thead>\n\n <tbody>\n <tr><td colspan=\"2\">\n\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input [(ngModel)]=\"fltr_user\" (ngModelChange)=\"filtra()\"\n matInput >\n </mat-form-field>\n </td></tr>\n <tr *ngFor=\"let u of users_list_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedAdd=u\"\n [ngClass]=\"{ odd: odd, even: even }\" (click)=\"addTo(u)\" (dblclick)=\"do_add()\" class=\"selector\" \n [ngClass]=\"{ 'active': selectedAdd == u }\">\n <td style=\"width: 80%\">{{u.nc}}</td>\n <td style=\"width: 20%\">{{u.canale}}</td>\n </tr>\n </tbody>\n </table>\n \n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"20\"\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 <div style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\">\n <button mat-flat-button color=\"primary\" (click)=\"do_add()\" [disabled]=\"!option\">\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br><br>\n <button mat-flat-button color=\"primary\" (click)=\"do_rem()\" [disabled]=\"option\">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;height:420px;overflow-y:scroll;\">\n <table style=\"width: 100%\" class=\"fh_table\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONATI</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let u of user_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedRemove=u\" [ngClass]=\"{ odd: odd, even: even }\" (click)=\"removeTo(u)\" (dblclick)=\"do_rem()\" class=\"selector\"\n [ngClass]=\"{ 'active': selectedRemove == u }\">\n <td style=\"width: 80%\">{{u.nc}}</td>\n <td style=\"width: 20%\">{{u.canale}}</td>\n\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n \n </mat-dialog-content>\n <mat-dialog-actions>\n\n <div style=\"width:100%\" *ngIf=\"vis_buttons\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-flat-button color=\"primary\" (click)=\"dialogRef.close(this.user_sel)\">Ok</button>&nbsp;&nbsp;&nbsp;\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close()\">Annulla</button>\n </div>\n </mat-dialog-actions>\n\n ",
5304
5305
  styles: ["\n \n "]
5305
5306
  }] }
5306
5307
  ];
@@ -5386,7 +5387,7 @@
5386
5387
  };
5387
5388
  win_riassegna_select_user.decorators = [
5388
5389
  { type: core.Component, args: [{
5389
- template: "\n\n <h4 mat-dialog-title>{{title}}\n </h4>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:420px\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n\n </div>\n \n <mat-form-field [hidden]=\"commento_hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento {{nota_commento}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\"\n rows=\"2\"></textarea>\n </mat-form-field>\n <div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div><button mat-flat-button color=\"primary\" (click)=\"ok()\"> OK</button></div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <div> <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"annulla()\">ANNULLA</button></div>\n </div>\n </div>\n "
5390
+ template: "\n\n <h4 mat-dialog-title>{{title}}\n </h4>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:420px\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n\n </div>\n \n <mat-form-field [hidden]=\"commento_hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento {{nota_commento}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\"\n rows=\"2\"></textarea>\n </mat-form-field>\n </div>\n <div mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <div><button mat-flat-button color=\"primary\" (click)=\"ok()\"> OK</button></div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <div> <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"annulla()\">ANNULLA</button></div>\n </div>\n \n "
5390
5391
  }] }
5391
5392
  ];
5392
5393
  /** @nocollapse */
@@ -5627,7 +5628,7 @@
5627
5628
  arrAutori.push(this.livs_adm[i]);
5628
5629
  // Alert.show("Confermi di voler recuperare il documento "+ wing.tbl_wkf.sRow.codice+" - "+ wing.tbl_wkf.sRow.oggetto+"?", "Conferma operazione", 3, this, okelimc1);
5629
5630
  /** @type {?} */
5630
- var dialogRef = this.dialog.open(win_riassegna_select_user, { 'disableClose': true, 'height': '90%', 'width': '850px' });
5631
+ var dialogRef = this.dialog.open(win_riassegna_select_user, { 'disableClose': true, 'width': '850px' });
5631
5632
  for (var i = 0; i < arrAutori.length; i++) {
5632
5633
  arrAutori[i].nc = arrAutori[i].nc.split(' ()').join('');
5633
5634
  if (arrAutori[i].idp != null && arrAutori[i].username == null)
@@ -7872,7 +7873,6 @@
7872
7873
  var _this = this;
7873
7874
  if (!this.auto_load)
7874
7875
  return;
7875
- console.log('CKKK ', this.grid_key);
7876
7876
  if (this.columnDefs == null) {
7877
7877
  setTimeout((/**
7878
7878
  * @return {?}
@@ -8188,7 +8188,6 @@
8188
8188
  * @return {?}
8189
8189
  */
8190
8190
  function () {
8191
- console.log('qui3333');
8192
8191
  _this.ckk();
8193
8192
  }), 10);
8194
8193
  if (!this.b_iniended) {
@@ -12579,7 +12578,7 @@
12579
12578
  };
12580
12579
  win_assegna.decorators = [
12581
12580
  { type: core.Component, args: [{
12582
- template: "\n <h4 mat-dialog-title>{{title}}\n </h4>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px\">\n <div style=\"width:100%;height:420px\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired!=1\">\n <br>\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento {{nota_commento}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
12581
+ template: "\n <h4 mat-dialog-title>{{title}}\n </h4>\n <div mat-dialog-content fxLayout=\"column\" style=\"font-size:12px;min-width: 750px\">\n <div style=\"width:100%;height:450px\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired!=1\">\n <br>\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento {{nota_commento}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
12583
12582
  }] }
12584
12583
  ];
12585
12584
  /** @nocollapse */
@@ -20647,9 +20646,11 @@
20647
20646
  if (_this.app_s.user_roles != null)
20648
20647
  if (_this.app_s.user_roles.length > 0)
20649
20648
  _this.app_s.user_roles = _this.app_s.user_roles.substr(1);
20649
+ if (_this.app_s.user_roles == null)
20650
+ _this.app_s.user_roles = '[NO_RUOLI_CONFIGURATI]';
20650
20651
  _this.app_s.user_isadmin = data.result_data[0].isadmin;
20651
20652
  _this.app_s.user = data.result_data[0].username;
20652
- console.log('this.app_s.user_isadmin ', _this.app_s.user_isadmin);
20653
+ // console.log('this.app_s.user_isadmin ',this.app_s.user_isadmin);
20653
20654
  if (_this.app_s.user_isadmin != null)
20654
20655
  if (_this.app_s.user_isadmin == "1") {
20655
20656
  resolve(true);
@@ -20669,7 +20670,7 @@
20669
20670
  function (data) {
20670
20671
  _this.arr_accessi = data.result_data;
20671
20672
  for (var i = 0; i < _this.arr_accessi.length; i++) {
20672
- console.log('[' + _this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + _this.routingDestination.split('/')[0] + ']');
20673
+ //console.log('[' + this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + this.routingDestination.split('/')[0] + ']');
20673
20674
  if (_this.arr_accessi[i].type == 'M') {
20674
20675
  if ('[' + _this.arr_accessi[i].url.split('/')[0] + ']' == '[' + _this.routingDestination.split('/')[0] + ']') {
20675
20676
  resolve(true);