@fluxhub/fluxhub-lib 1.0.275 → 1.0.276

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, Pipe, Directive, 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';
@@ -3055,7 +3055,7 @@ var FHUploadComponent = /** @class */ (function () {
3055
3055
  url: this.app_s.API_ENDPOINT + this.app_s.UPLOAD_ENDPOINT,
3056
3056
  'maxFileSize': 500 * 1024 * 1024
3057
3057
  });
3058
- this.username = localStorage.getItem(this.app_s.COMPANY_KEY + "user");
3058
+ this.username = this.app_s.user;
3059
3059
  this.uploader.onBeforeUploadItem = (/**
3060
3060
  * @param {?} item
3061
3061
  * @return {?}
@@ -6090,7 +6090,7 @@ var FHGridComponent = /** @class */ (function () {
6090
6090
  if (p.sort_field != "")
6091
6091
  p.sort_field = p.sort_field + ',';
6092
6092
  if (params.sortModel[i].colId == 'autori')
6093
- p.sort_field = p.sort_field + "case when CHARINDEX('" + localStorage.getItem(_this.m_appService.COMPANY_KEY + "user") + "',autori)>0 then 1 else 0 end" + ' ' + params.sortModel[i].sort;
6093
+ p.sort_field = p.sort_field + "case when CHARINDEX('" + _this.m_appService.user + "',autori)>0 then 1 else 0 end" + ' ' + params.sortModel[i].sort;
6094
6094
  else
6095
6095
  p.sort_field = p.sort_field + params.sortModel[i].colId + ' ' + params.sortModel[i].sort;
6096
6096
  }
@@ -6556,7 +6556,7 @@ var FHGridComponent = /** @class */ (function () {
6556
6556
  if (localStorage.getItem(_this.grid_key + '_FILTER') != null)
6557
6557
  p_filter = localStorage.getItem(_this.grid_key + '_FILTER');
6558
6558
  p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
6559
- p.values = [_this.gf.getDescri(), _this.grid_key, p_col, p_sort, p_filter, localStorage.getItem(_this.m_appService.COMPANY_KEY + "user")];
6559
+ p.values = [_this.gf.getDescri(), _this.grid_key, p_col, p_sort, p_filter, _this.m_appService.user];
6560
6560
  _this._dataService.doQuery(p).subscribe((/**
6561
6561
  * @param {?} data
6562
6562
  * @return {?}
@@ -6621,7 +6621,7 @@ var FHGridComponent = /** @class */ (function () {
6621
6621
  if (localStorage.getItem(_this.grid_key + '_FILTER') != null)
6622
6622
  p_filter = localStorage.getItem(_this.grid_key + '_FILTER');
6623
6623
  p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
6624
- p.values = [result, _this.grid_key, p_col, p_sort, p_filter, localStorage.getItem(_this.m_appService.COMPANY_KEY + "user")];
6624
+ p.values = [result, _this.grid_key, p_col, p_sort, p_filter, _this.m_appService.user];
6625
6625
  _this._dataService.doQuery(p).subscribe((/**
6626
6626
  * @param {?} data
6627
6627
  * @return {?}
@@ -13461,7 +13461,7 @@ var FHGridJSONComponent = /** @class */ (function () {
13461
13461
  if (localStorage.getItem(_this.grid_key + '_FILTER') != null)
13462
13462
  p_filter = localStorage.getItem(_this.grid_key + '_FILTER');
13463
13463
  p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
13464
- p.values = [_this.gf.getDescri(), _this.grid_key, p_col, p_sort, p_filter, localStorage.getItem(_this.m_appService.COMPANY_KEY + "user")];
13464
+ p.values = [_this.gf.getDescri(), _this.grid_key, p_col, p_sort, p_filter, _this.m_appService.user];
13465
13465
  _this._dataService.doQuery(p).subscribe((/**
13466
13466
  * @param {?} data
13467
13467
  * @return {?}