@fluxhub/fluxhub-lib 1.0.294 → 1.0.296

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.
@@ -4883,7 +4883,18 @@
4883
4883
  if (localStorage.getItem(this.grid_key + '_COLS') != null && (b_mantieni_ck || forza))
4884
4884
  if (localStorage.getItem(this.grid_key + '_COLS') != '') {
4885
4885
  try {
4886
- this.gridOptions.columnApi.setColumnState(JSON.parse(localStorage.getItem(this.grid_key + '_COLS')));
4886
+ /** @type {?} */
4887
+ var a = JSON.parse(localStorage.getItem(this.grid_key + '_COLS'));
4888
+ /** @type {?} */
4889
+ var annulla = true;
4890
+ for (var i = 0; i < a.length; i++) {
4891
+ if (!a[i].hide)
4892
+ annulla = false;
4893
+ }
4894
+ if (annulla)
4895
+ localStorage.getItem(this.grid_key + '_COLS');
4896
+ else
4897
+ this.gridOptions.columnApi.setColumnState(JSON.parse(localStorage.getItem(this.grid_key + '_COLS')));
4887
4898
  }
4888
4899
  catch (eer) {
4889
4900
  console.log(eer);
@@ -11897,7 +11908,7 @@
11897
11908
  };
11898
11909
  win_riassegna_select_user.decorators = [
11899
11910
  { type: i0.Component, args: [{
11900
- template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\">\n\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br><br><br>\n\n <mat-form-field [hidden]=\"commento_hidden\" >\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(ngModel)]=\"nota\"\n rows=\"6\"></textarea>\n\n </mat-form-field>\n\n \n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;\n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
11911
+ template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\" fxLayout=\"column\">\n\n <div style=\"min-width:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br><br><br>\n <br><br>\n <mat-form-field [hidden]=\"commento_hidden\" >\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(ngModel)]=\"nota\"\n rows=\"6\"></textarea>\n\n </mat-form-field>\n\n \n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;\n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
11901
11912
  }] }
11902
11913
  ];
11903
11914
  /** @nocollapse */
@@ -13103,9 +13114,9 @@
13103
13114
  */
13104
13115
  function () {
13105
13116
  var _this = this;
13106
- console.log(this.m_appService.COMPANY_KEY + this.tbl_name);
13107
13117
  console.log('m_appService ', this.m_appService);
13108
13118
  console.log('localstore ', this.localstore);
13119
+ console.log(this.m_appService.COMPANY_KEY + this.tbl_name);
13109
13120
  this.localstore.read(this.m_appService.COMPANY_KEY + this.tbl_name).then(( /**
13110
13121
  * @param {?} dt
13111
13122
  * @return {?}
@@ -15354,7 +15365,7 @@
15354
15365
  }
15355
15366
  }
15356
15367
  //console.log('canActivate 11');
15357
- _this.toast.error("ACCESS DENIED [0X0001]");
15368
+ _this.toast.error("ACCESS DENIED [0X0005]");
15358
15369
  resolve(false);
15359
15370
  _this.slimLoadingBarService.complete();
15360
15371
  return;
@@ -17295,7 +17306,7 @@
17295
17306
  function () {
17296
17307
  var _this = this;
17297
17308
  /** @type {?} */
17298
- var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true });
17309
+ var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "90%" });
17299
17310
  dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
17300
17311
  dialogRef.componentInstance.lettori = this.m_obj.lettori;
17301
17312
  dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
@@ -17318,7 +17329,7 @@
17318
17329
  function () {
17319
17330
  var _this = this;
17320
17331
  /** @type {?} */
17321
- var dialogRef = this.m_dialog.open(win_commenti, { 'disableClose': true });
17332
+ var dialogRef = this.m_dialog.open(win_commenti, { 'disableClose': true, width: "90%" });
17322
17333
  dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
17323
17334
  dialogRef.componentInstance.lettori = this.m_obj.lettori;
17324
17335
  dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
@@ -17341,7 +17352,7 @@
17341
17352
  function () {
17342
17353
  var _this = this;
17343
17354
  /** @type {?} */
17344
- var dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true });
17355
+ var dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%" });
17345
17356
  dialogRef.afterClosed().subscribe(( /**
17346
17357
  * @param {?} result
17347
17358
  * @return {?}