tango-app-ui-shared 3.0.16-dev → 3.0.18-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 +2 -18
- package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +42 -52
- package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +12 -21
- package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +15 -16
- package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +59 -44
- package/fesm2022/tango-app-ui-shared.mjs +122 -143
- package/fesm2022/tango-app-ui-shared.mjs.map +1 -1
- package/lib/modules/layout/toolbar/date-single-select/date-single-select.component.d.ts +5 -5
- package/lib/modules/layout/toolbar/toolbar.component.d.ts +5 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from
|
|
2
|
-
import { AuthService } from
|
|
3
|
-
import dayjs from
|
|
4
|
-
import
|
|
5
|
-
import { GlobalStateService } from
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from "@angular/core";
|
|
2
|
+
import { AuthService } from "../../../../services/auth.service";
|
|
3
|
+
import dayjs from "dayjs";
|
|
4
|
+
import "dayjs/locale/en";
|
|
5
|
+
import { GlobalStateService } from "../../../../services/global-state.service";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class DateSingleSelectComponent implements OnInit {
|
|
8
8
|
private auth;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { ActivatedRoute, Router } from "@angular/router";
|
|
3
|
-
import { LayoutService } from "tango-app-ui-metronics";
|
|
3
|
+
import { LayoutService, PageInfoService } from "tango-app-ui-metronics";
|
|
4
4
|
import { ILayout, LayoutType } from "tango-app-ui-metronics";
|
|
5
5
|
import { GlobalStateService } from "../../../services/global-state.service";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -9,6 +9,7 @@ export declare class ToolbarComponent implements OnInit, OnDestroy {
|
|
|
9
9
|
private router;
|
|
10
10
|
private route;
|
|
11
11
|
private gs;
|
|
12
|
+
private pageInfo;
|
|
12
13
|
private unsubscribe;
|
|
13
14
|
currentLayoutType: LayoutType | null;
|
|
14
15
|
appToolbarLayout: "classic" | "accounting" | "extended" | "reports" | "saas";
|
|
@@ -30,11 +31,13 @@ export declare class ToolbarComponent implements OnInit, OnDestroy {
|
|
|
30
31
|
singleStore: boolean;
|
|
31
32
|
headervalue: any;
|
|
32
33
|
storeId: any;
|
|
33
|
-
constructor(layout: LayoutService, router: Router, route: ActivatedRoute, gs: GlobalStateService);
|
|
34
|
+
constructor(layout: LayoutService, router: Router, route: ActivatedRoute, gs: GlobalStateService, pageInfo: PageInfoService);
|
|
34
35
|
ngOnInit(): void;
|
|
35
36
|
updateProps(config: ILayout): void;
|
|
36
37
|
ngOnDestroy(): void;
|
|
38
|
+
setPageData(storeId: any): void;
|
|
37
39
|
showPageTitle(): boolean;
|
|
40
|
+
setUIProperties(singleSelect: boolean, multiSelect: boolean, datepicker: boolean, singleStore: boolean, singleSelectdatepicker: boolean): void;
|
|
38
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
39
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "lib-toolbar", never, { "currentLayoutType": { "alias": "currentLayoutType"; "required": false; }; "appToolbarLayout": { "alias": "appToolbarLayout"; "required": false; }; }, {}, never, never, false, never>;
|
|
40
43
|
}
|