@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.
@@ -33,7 +33,7 @@ import { DomSanitizer } from '@angular/platform-browser';
33
33
  import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
34
34
  import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatPaginatorModule, MatCardModule, MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatGridListModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatProgressBarModule, MatProgressSpinnerModule, MatRadioModule, MatSelectModule, MatSidenavModule, MatSliderModule, MatSortModule, MatSlideToggleModule, MatSnackBarModule, MatTableModule, MatTabsModule, MatToolbarModule, MatTooltipModule, MatFormFieldModule, MatExpansionModule, MatStepperModule, MatDialogModule, MatNativeDateModule } from '@angular/material';
35
35
  import { ActivatedRoute, Router } from '@angular/router';
36
- import { Injectable, Component, Inject, PLATFORM_ID, Directive, Pipe, Input, Output, EventEmitter, ViewChild, forwardRef, ElementRef, Optional, HostListener, ViewContainerRef, defineInjectable, inject, NgModule } from '@angular/core';
36
+ import { Injectable, Component, Pipe, Directive, Input, forwardRef, Output, EventEmitter, ViewChild, ElementRef, Inject, PLATFORM_ID, Optional, HostListener, ViewContainerRef, defineInjectable, inject, NgModule } from '@angular/core';
37
37
  import { Http } from '@angular/http';
38
38
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
39
39
  import { ToastrService } from 'ngx-toastr';
@@ -4822,13 +4822,13 @@ win_riassegna_select_user.decorators = [
4822
4822
  <mat-toolbar>{{title}}
4823
4823
  </mat-toolbar>
4824
4824
 
4825
- <div mat-dialog-content style="min-width:700px">
4825
+ <div mat-dialog-content style="min-width:700px" fxLayout="column">
4826
4826
 
4827
- <div style="height:370px;">
4827
+ <div style="min-width:370px;">
4828
4828
  <FHPickUsers #up [users_list]="arrAutori" [vis_buttons]="false"></FHPickUsers>
4829
4829
  </div>
4830
4830
  <br><br><br>
4831
-
4831
+ <br><br>
4832
4832
  <mat-form-field [hidden]="commento_hidden" >
4833
4833
  <textarea matInput placeholder="Commento {{nota_commento}}" [(ngModel)]="nota"
4834
4834
  rows="6"></textarea>
@@ -6695,7 +6695,18 @@ class FHGridComponent {
6695
6695
  if (localStorage.getItem(this.grid_key + '_COLS') != null && (b_mantieni_ck || forza))
6696
6696
  if (localStorage.getItem(this.grid_key + '_COLS') != '') {
6697
6697
  try {
6698
- this.gridOptions.columnApi.setColumnState(JSON.parse(localStorage.getItem(this.grid_key + '_COLS')));
6698
+ /** @type {?} */
6699
+ let a = JSON.parse(localStorage.getItem(this.grid_key + '_COLS'));
6700
+ /** @type {?} */
6701
+ let annulla = true;
6702
+ for (let i = 0; i < a.length; i++) {
6703
+ if (!a[i].hide)
6704
+ annulla = false;
6705
+ }
6706
+ if (annulla)
6707
+ localStorage.getItem(this.grid_key + '_COLS');
6708
+ else
6709
+ this.gridOptions.columnApi.setColumnState(JSON.parse(localStorage.getItem(this.grid_key + '_COLS')));
6699
6710
  }
6700
6711
  catch (eer) {
6701
6712
  console.log(eer);
@@ -13497,9 +13508,9 @@ class FHGridJSONComponent {
13497
13508
  * @return {?}
13498
13509
  */
13499
13510
  setRows() {
13500
- console.log(this.m_appService.COMPANY_KEY + this.tbl_name);
13501
13511
  console.log('m_appService ', this.m_appService);
13502
13512
  console.log('localstore ', this.localstore);
13513
+ console.log(this.m_appService.COMPANY_KEY + this.tbl_name);
13503
13514
  this.localstore.read(this.m_appService.COMPANY_KEY + this.tbl_name).then((/**
13504
13515
  * @param {?} dt
13505
13516
  * @return {?}
@@ -15040,7 +15051,7 @@ class dati_aggiuntivi {
15040
15051
  */
15041
15052
  open_wkf() {
15042
15053
  /** @type {?} */
15043
- let dialogRef = this.m_dialog.open(win_log, { 'disableClose': true });
15054
+ let dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "90%" });
15044
15055
  dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
15045
15056
  dialogRef.componentInstance.lettori = this.m_obj.lettori;
15046
15057
  dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
@@ -15060,7 +15071,7 @@ class dati_aggiuntivi {
15060
15071
  */
15061
15072
  open_commenti() {
15062
15073
  /** @type {?} */
15063
- let dialogRef = this.m_dialog.open(win_commenti, { 'disableClose': true });
15074
+ let dialogRef = this.m_dialog.open(win_commenti, { 'disableClose': true, width: "90%" });
15064
15075
  dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
15065
15076
  dialogRef.componentInstance.lettori = this.m_obj.lettori;
15066
15077
  dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
@@ -15080,7 +15091,7 @@ class dati_aggiuntivi {
15080
15091
  */
15081
15092
  open_upload() {
15082
15093
  /** @type {?} */
15083
- let dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true });
15094
+ let dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%" });
15084
15095
  dialogRef.afterClosed().subscribe((/**
15085
15096
  * @param {?} result
15086
15097
  * @return {?}
@@ -17429,7 +17440,7 @@ class FHGuard {
17429
17440
  }
17430
17441
  }
17431
17442
  //console.log('canActivate 11');
17432
- this.toast.error("ACCESS DENIED [0X0001]");
17443
+ this.toast.error("ACCESS DENIED [0X0005]");
17433
17444
  resolve(false);
17434
17445
  this.slimLoadingBarService.complete();
17435
17446
  return;