@fluxhub/fluxhub-lib 1.0.294 → 1.0.295

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.
@@ -34,7 +34,7 @@ import { DomSanitizer } from '@angular/platform-browser';
34
34
  import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
35
35
  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';
36
36
  import { ActivatedRoute, Router } from '@angular/router';
37
- import { Injectable, Component, Directive, Inject, PLATFORM_ID, Pipe, Input, forwardRef, Output, EventEmitter, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
37
+ import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, forwardRef, Output, EventEmitter, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
38
38
  import { Http } from '@angular/http';
39
39
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
40
40
  import { ToastrService } from 'ngx-toastr';
@@ -7093,7 +7093,18 @@ var FHGridComponent = /** @class */ (function () {
7093
7093
  if (localStorage.getItem(this.grid_key + '_COLS') != null && (b_mantieni_ck || forza))
7094
7094
  if (localStorage.getItem(this.grid_key + '_COLS') != '') {
7095
7095
  try {
7096
- this.gridOptions.columnApi.setColumnState(JSON.parse(localStorage.getItem(this.grid_key + '_COLS')));
7096
+ /** @type {?} */
7097
+ var a = JSON.parse(localStorage.getItem(this.grid_key + '_COLS'));
7098
+ /** @type {?} */
7099
+ var annulla = true;
7100
+ for (var i = 0; i < a.length; i++) {
7101
+ if (!a[i].hide)
7102
+ annulla = false;
7103
+ }
7104
+ if (annulla)
7105
+ localStorage.getItem(this.grid_key + '_COLS');
7106
+ else
7107
+ this.gridOptions.columnApi.setColumnState(JSON.parse(localStorage.getItem(this.grid_key + '_COLS')));
7097
7108
  }
7098
7109
  catch (eer) {
7099
7110
  console.log(eer);
@@ -13994,9 +14005,9 @@ var FHGridJSONComponent = /** @class */ (function () {
13994
14005
  */
13995
14006
  function () {
13996
14007
  var _this = this;
13997
- console.log(this.m_appService.COMPANY_KEY + this.tbl_name);
13998
14008
  console.log('m_appService ', this.m_appService);
13999
14009
  console.log('localstore ', this.localstore);
14010
+ console.log(this.m_appService.COMPANY_KEY + this.tbl_name);
14000
14011
  this.localstore.read(this.m_appService.COMPANY_KEY + this.tbl_name).then((/**
14001
14012
  * @param {?} dt
14002
14013
  * @return {?}