tango-app-ui-shared 3.0.9 → 3.0.11-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 +18 -17
- package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +17 -16
- package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +19 -18
- package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +17 -16
- package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +21 -13
- package/fesm2022/tango-app-ui-shared.mjs +91 -80
- package/fesm2022/tango-app-ui-shared.mjs.map +1 -1
- package/lib/modules/layout/toolbar/classic/classic.component.d.ts +2 -1
- package/lib/modules/layout/toolbar/date-single-select/date-single-select.component.d.ts +2 -1
- package/lib/modules/layout/toolbar/datepicker/datepicker.component.d.ts +2 -1
- package/lib/modules/layout/toolbar/single-store/single-store.component.d.ts +2 -1
- package/lib/modules/layout/toolbar/toolbar.component.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
2
|
import { LayoutService } from "tango-app-ui-metronics";
|
|
3
|
-
import
|
|
3
|
+
import dayjs from "dayjs";
|
|
4
4
|
import "dayjs/locale/en";
|
|
5
5
|
import { GlobalStateService } from "../../../../services/global-state.service";
|
|
6
6
|
import { AuthService } from "../../../../services/auth.service";
|
|
@@ -10,6 +10,7 @@ export declare class ClassicComponent implements OnInit, OnDestroy {
|
|
|
10
10
|
private globalService;
|
|
11
11
|
private service;
|
|
12
12
|
private cd;
|
|
13
|
+
dayjs: typeof dayjs;
|
|
13
14
|
private unsubscribe;
|
|
14
15
|
dataObject: any;
|
|
15
16
|
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { AuthService } from '../../../../services/auth.service';
|
|
3
|
-
import
|
|
3
|
+
import dayjs from 'dayjs';
|
|
4
4
|
import 'dayjs/locale/en';
|
|
5
5
|
import { GlobalStateService } from '../../../../services/global-state.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -8,6 +8,7 @@ export declare class DateSingleSelectComponent implements OnInit {
|
|
|
8
8
|
private auth;
|
|
9
9
|
private gs;
|
|
10
10
|
private cd;
|
|
11
|
+
dayjs: typeof dayjs;
|
|
11
12
|
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
12
13
|
selectedDateRange: any;
|
|
13
14
|
clientList: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
3
|
import 'dayjs/locale/en';
|
|
4
4
|
import { LayoutService } from 'tango-app-ui-metronics';
|
|
5
5
|
import { AuthService } from '../../../../services/auth.service';
|
|
@@ -10,6 +10,7 @@ export declare class DatepickerComponent implements OnDestroy, OnInit {
|
|
|
10
10
|
private gs;
|
|
11
11
|
private service;
|
|
12
12
|
private cd;
|
|
13
|
+
dayjs: typeof dayjs;
|
|
13
14
|
private unsubscribe;
|
|
14
15
|
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
15
16
|
selectedDateRange: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { AuthService } from '../../../../services/auth.service';
|
|
3
|
-
import
|
|
3
|
+
import dayjs from 'dayjs';
|
|
4
4
|
import 'dayjs/locale/en';
|
|
5
5
|
import { GlobalStateService } from '../../../../services/global-state.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -8,6 +8,7 @@ export declare class SingleStoreComponent implements OnInit {
|
|
|
8
8
|
private auth;
|
|
9
9
|
private gs;
|
|
10
10
|
private cd;
|
|
11
|
+
dayjs: typeof dayjs;
|
|
11
12
|
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
12
13
|
selectedDateRange: any;
|
|
13
14
|
storeList: any;
|
|
@@ -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;
|