@fluxhub/fluxhub-lib 1.0.193 → 1.0.195
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 +2 -1
- 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/esm2015/lib/auth_guard.js +2 -2
- package/esm2015/lib/services/utility.service.js +2 -1
- package/esm5/lib/auth_guard.js +2 -2
- package/esm5/lib/services/utility.service.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +3 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +3 -2
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -32,7 +32,7 @@ import { TranslateModule } from '@ngx-translate/core';
|
|
|
32
32
|
import { DragulaService, DragulaModule } from 'ng2-dragula';
|
|
33
33
|
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';
|
|
34
34
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
35
|
-
import { Injectable, Component, Input, Output, EventEmitter, Directive,
|
|
35
|
+
import { Injectable, Component, Input, ViewChild, Output, EventEmitter, Directive, forwardRef, Inject, PLATFORM_ID, ElementRef, Pipe, ViewContainerRef, NgModule, defineInjectable, inject, HostListener } from '@angular/core';
|
|
36
36
|
import { Http } from '@angular/http';
|
|
37
37
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
38
38
|
import { ToastrService } from 'ngx-toastr';
|
|
@@ -1314,6 +1314,7 @@ var UtilityService = /** @class */ (function () {
|
|
|
1314
1314
|
*/
|
|
1315
1315
|
function (s, b_check_admin) {
|
|
1316
1316
|
if (b_check_admin === void 0) { b_check_admin = true; }
|
|
1317
|
+
console.log('check role ', this.app_s);
|
|
1317
1318
|
if (this.app_s.user_roles === null)
|
|
1318
1319
|
return false;
|
|
1319
1320
|
if (b_check_admin)
|
|
@@ -15969,7 +15970,7 @@ var FHGuard = /** @class */ (function () {
|
|
|
15969
15970
|
p.sql = "SELECT_APPS_USER_ALL";
|
|
15970
15971
|
_this.appService.getState().app_enabled = new Array();
|
|
15971
15972
|
p.types = ['string'];
|
|
15972
|
-
p.values = [
|
|
15973
|
+
p.values = [_this.appService.user];
|
|
15973
15974
|
_this.querys.doQuery(p).subscribe(function (data) {
|
|
15974
15975
|
_this.arr_accessi = data.result_data;
|
|
15975
15976
|
for (var i = 0; i < _this.arr_accessi.length; i++) {
|