@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +13 -2
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/docs/js/search/search_index.js +1 -1
- package/docs/miscellaneous/variables.html +2 -2
- package/esm2015/lib/controls/fhgrid.js +13 -2
- package/esm2015/lib/controls/fhgrid_json.js +2 -2
- package/esm5/lib/controls/fhgrid.js +13 -2
- package/esm5/lib/controls/fhgrid_json.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +14 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +14 -3
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +38 -38
|
@@ -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,
|
|
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
|
-
|
|
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 {?}
|