tango-app-ui-shared 3.7.3-dev6-demo12 → 3.7.3-dev6-copilot1
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/layout.module.mjs +3 -6
- package/esm2022/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
- package/esm2022/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.mjs +5 -8
- package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +10 -16
- package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +8 -16
- package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +7 -9
- package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +55 -67
- package/esm2022/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.mjs +7 -8
- package/esm2022/lib/modules/layout/toolbar/trax-header/trax-header.component.mjs +3 -3
- package/esm2022/lib/routes/route-wraper-modules/eyetest-wrapper.module.mjs +18 -0
- package/esm2022/lib/routes/routing.mjs +6 -1
- package/fesm2022/tango-app-ui-shared-eyetest-wrapper.module-CfO814JB.mjs +21 -0
- package/fesm2022/tango-app-ui-shared-eyetest-wrapper.module-CfO814JB.mjs.map +1 -0
- package/fesm2022/tango-app-ui-shared.mjs +183 -1295
- package/fesm2022/tango-app-ui-shared.mjs.map +1 -1
- package/lib/modules/layout/layout.module.d.ts +10 -11
- package/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.d.ts +1 -1
- package/lib/modules/layout/toolbar/toolbar.component.d.ts +1 -2
- package/lib/routes/route-wraper-modules/eyetest-wrapper.module.d.ts +7 -0
- package/package.json +1 -1
- package/esm2022/lib/modules/layout/toolbar/zone-header/zone-header.component.mjs +0 -1090
- package/lib/modules/layout/toolbar/zone-header/zone-header.component.d.ts +0 -97
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from "@angular/core";
|
|
2
|
-
import dayjs from "dayjs";
|
|
3
|
-
import "dayjs/locale/en";
|
|
4
|
-
import { AuthService } from "../../../../services/auth.service";
|
|
5
|
-
import { GlobalStateService } from "tango-app-ui-global";
|
|
6
|
-
import { Router } from "@angular/router";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ZoneHeaderComponent implements OnInit {
|
|
9
|
-
private auth;
|
|
10
|
-
private router;
|
|
11
|
-
gs: GlobalStateService;
|
|
12
|
-
private cd;
|
|
13
|
-
dayjs: typeof dayjs;
|
|
14
|
-
isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
|
|
15
|
-
selectedDateRange: any;
|
|
16
|
-
selectedFilters: any;
|
|
17
|
-
Opendropdown: boolean;
|
|
18
|
-
dropdownOpen: string | null;
|
|
19
|
-
searchLocationText: string;
|
|
20
|
-
searchGroupText: string;
|
|
21
|
-
locations: any[];
|
|
22
|
-
filteredLocations: any[];
|
|
23
|
-
groupsData: any[];
|
|
24
|
-
filteredGroups: any[];
|
|
25
|
-
filteredStores: any[];
|
|
26
|
-
stores: any[];
|
|
27
|
-
searchStoreText: string;
|
|
28
|
-
clientList: any;
|
|
29
|
-
selectedClient: any;
|
|
30
|
-
locationLabel: any[];
|
|
31
|
-
groupLabel: any[];
|
|
32
|
-
users: any;
|
|
33
|
-
url: any;
|
|
34
|
-
filteredCountries: any[];
|
|
35
|
-
countryLabel: any[];
|
|
36
|
-
searchCountryText: string;
|
|
37
|
-
countries: any[];
|
|
38
|
-
constructor(auth: AuthService, router: Router, gs: GlobalStateService, cd: ChangeDetectorRef);
|
|
39
|
-
onClick(event: MouseEvent): void;
|
|
40
|
-
closeDropdown1(): void;
|
|
41
|
-
zoneData: {
|
|
42
|
-
storeId: string;
|
|
43
|
-
storeName: string;
|
|
44
|
-
}[];
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
private syncWithLocalStorage;
|
|
47
|
-
private emitAndStoreFilters;
|
|
48
|
-
/**
|
|
49
|
-
* Reset selectedFilters and all related arrays to empty states
|
|
50
|
-
*/
|
|
51
|
-
private resetFilters;
|
|
52
|
-
getClient(): void;
|
|
53
|
-
getUserInfo(client: any): void;
|
|
54
|
-
onClientSelect(event: any): void;
|
|
55
|
-
ranges: any;
|
|
56
|
-
onStartDateChange(event: any): void;
|
|
57
|
-
datechange(event: any): void;
|
|
58
|
-
opendropdown(e: MouseEvent): void;
|
|
59
|
-
getLocations(): void;
|
|
60
|
-
isAllLocationsSelected(): boolean;
|
|
61
|
-
selectedLocationsLabel(): string;
|
|
62
|
-
removeLocation(): void;
|
|
63
|
-
getGroups(): void;
|
|
64
|
-
toggleDropdown(type: 'country' | 'location' | 'group' | 'store'): void;
|
|
65
|
-
handleGroupDropdownClick(): void;
|
|
66
|
-
resetSelectedGroups(): void;
|
|
67
|
-
selectedGroupsLabel(): string;
|
|
68
|
-
removeGroup(): void;
|
|
69
|
-
isAllGroupsSelected(): boolean;
|
|
70
|
-
getStore(): void;
|
|
71
|
-
private clearStoresState;
|
|
72
|
-
resetSelectedStores(): void;
|
|
73
|
-
selectedStoresLabel(): string;
|
|
74
|
-
isAllStoresSelected(): boolean;
|
|
75
|
-
updateSelectedStores(): void;
|
|
76
|
-
toggleSelectAllLocations(event: any): void;
|
|
77
|
-
toggleSelectAllStores(event: Event): void;
|
|
78
|
-
updateSelectedLocations(): void;
|
|
79
|
-
toggleSelectAllGroups(event: any): void;
|
|
80
|
-
updateSelectedGroups(): void;
|
|
81
|
-
Reset(): void;
|
|
82
|
-
filterLocations(): void;
|
|
83
|
-
filterGroups(): void;
|
|
84
|
-
filterStores(): void;
|
|
85
|
-
closeDropdown(): void;
|
|
86
|
-
clickOutside(event: MouseEvent): void;
|
|
87
|
-
getCountry(): void;
|
|
88
|
-
selectedCountriesLabel(): string;
|
|
89
|
-
filterCountries(): void;
|
|
90
|
-
isAllCountriesSelected(): boolean;
|
|
91
|
-
toggleSelectAllCountries(event: any): void;
|
|
92
|
-
updateSelectedCountries(): void;
|
|
93
|
-
removeCountry(): void;
|
|
94
|
-
Apply(): void;
|
|
95
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ZoneHeaderComponent, never>;
|
|
96
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZoneHeaderComponent, "lib-zone-header", never, {}, {}, never, never, false, never>;
|
|
97
|
-
}
|