tango-app-ui-shared 3.0.11 → 3.0.12-dev
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/esm2022/lib/modules/layout/toolbar/classic/classic.component.mjs +3 -3
- package/esm2022/lib/modules/layout/toolbar/client-settings/client-settings.component.mjs +10 -5
- package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +6 -7
- package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +2 -2
- package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +7 -7
- package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +32 -14
- package/esm2022/lib/routes/route-wraper-modules/edge-wrapper.module.mjs +18 -0
- package/esm2022/lib/routes/routing.mjs +5 -1
- package/esm2022/lib/services/global-state.service.mjs +6 -3
- package/fesm2022/tango-app-ui-shared-edge-wrapper.module-DM8Er_Bd.mjs +21 -0
- package/fesm2022/tango-app-ui-shared-edge-wrapper.module-DM8Er_Bd.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared.mjs +68 -40
- package/fesm2022/tango-app-ui-shared.mjs.map +1 -1
- package/lib/modules/layout/toolbar/toolbar.component.d.ts +5 -1
- package/lib/routes/route-wraper-modules/edge-wrapper.module.d.ts +7 -0
- package/lib/services/global-state.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -2,11 +2,13 @@ import { OnDestroy, OnInit } from "@angular/core";
|
|
|
2
2
|
import { ActivatedRoute, Router } from "@angular/router";
|
|
3
3
|
import { LayoutService } from "tango-app-ui-metronics";
|
|
4
4
|
import { ILayout, LayoutType } from "tango-app-ui-metronics";
|
|
5
|
+
import { GlobalStateService } from "../../../services/global-state.service";
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ToolbarComponent implements OnInit, OnDestroy {
|
|
7
8
|
private layout;
|
|
8
9
|
private router;
|
|
9
10
|
private route;
|
|
11
|
+
private gs;
|
|
10
12
|
private unsubscribe;
|
|
11
13
|
currentLayoutType: LayoutType | null;
|
|
12
14
|
appToolbarLayout: "classic" | "accounting" | "extended" | "reports" | "saas";
|
|
@@ -26,7 +28,9 @@ export declare class ToolbarComponent implements OnInit, OnDestroy {
|
|
|
26
28
|
datepicker: boolean;
|
|
27
29
|
singleSelectdatepicker: boolean;
|
|
28
30
|
singleStore: boolean;
|
|
29
|
-
|
|
31
|
+
headervalue: any;
|
|
32
|
+
storeId: any;
|
|
33
|
+
constructor(layout: LayoutService, router: Router, route: ActivatedRoute, gs: GlobalStateService);
|
|
30
34
|
ngOnInit(): void;
|
|
31
35
|
updateProps(config: ILayout): void;
|
|
32
36
|
ngOnDestroy(): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "tango-app-ui-stores-edgeapp";
|
|
3
|
+
export declare class TangoEdgeAppWrapperModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TangoEdgeAppWrapperModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoEdgeAppWrapperModule, never, [typeof i1.TangoStoresEdgeappModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TangoEdgeAppWrapperModule>;
|
|
7
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
1
|
+
import { BehaviorSubject, Subject } from 'rxjs';
|
|
2
2
|
import { sampleType } from '../interfaces/global-state';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GlobalStateService {
|
|
5
5
|
userData: BehaviorSubject<sampleType | null>;
|
|
6
6
|
environment: BehaviorSubject<any>;
|
|
7
|
-
dataRangeValue:
|
|
7
|
+
dataRangeValue: Subject<any>;
|
|
8
8
|
selectedClient: BehaviorSubject<any>;
|
|
9
|
+
apply(options: any): void;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalStateService, never>;
|
|
10
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<GlobalStateService>;
|
|
11
12
|
}
|