tango-app-ui-shared 3.7.3-dev6-demo15 → 3.7.3-dev6-copilot4

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.
Files changed (47) hide show
  1. package/esm2022/lib/modules/layout/header/brands-header/brands-header.component.mjs +18 -0
  2. package/esm2022/lib/modules/layout/header/header-banner/header-banner.component.mjs +12 -0
  3. package/esm2022/lib/modules/layout/header/header-menu/header-menu.component.mjs +3 -3
  4. package/esm2022/lib/modules/layout/header/header.component.mjs +216 -11
  5. package/esm2022/lib/modules/layout/header/plano-header/plano-header.component.mjs +12 -0
  6. package/esm2022/lib/modules/layout/header/stores-header/stores-header.component.mjs +61 -0
  7. package/esm2022/lib/modules/layout/layout/layout.component.mjs +62 -24
  8. package/esm2022/lib/modules/layout/layout.module.mjs +25 -5
  9. package/esm2022/lib/modules/layout/sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
  10. package/esm2022/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.mjs +5 -8
  11. package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +10 -16
  12. package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +8 -16
  13. package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +7 -9
  14. package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +55 -67
  15. package/esm2022/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.mjs +186 -16
  16. package/esm2022/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.mjs +55 -10
  17. package/esm2022/lib/modules/layout/toolbar/trax-header/trax-header.component.mjs +57 -7
  18. package/esm2022/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.mjs +56 -7
  19. package/esm2022/lib/routes/route-wraper-modules/eyetest-wrapper.module.mjs +18 -0
  20. package/esm2022/lib/routes/routing.mjs +6 -1
  21. package/esm2022/lib/services/auth.service.mjs +34 -7
  22. package/fesm2022/tango-app-ui-shared-eyetest-wrapper.module-CfO814JB.mjs +21 -0
  23. package/fesm2022/tango-app-ui-shared-eyetest-wrapper.module-CfO814JB.mjs.map +1 -0
  24. package/fesm2022/{tango-app-ui-shared-intro.module-DYh4ZRha.mjs → tango-app-ui-shared-intro.module-DyE2keRn.mjs} +6 -4
  25. package/fesm2022/{tango-app-ui-shared-intro.module-DYh4ZRha.mjs.map → tango-app-ui-shared-intro.module-DyE2keRn.mjs.map} +1 -1
  26. package/fesm2022/{tango-app-ui-shared-notification.module-C5ZmCf8U.mjs → tango-app-ui-shared-notification.module-C1uJuY1m.mjs} +6 -4
  27. package/fesm2022/{tango-app-ui-shared-notification.module-C5ZmCf8U.mjs.map → tango-app-ui-shared-notification.module-C1uJuY1m.mjs.map} +1 -1
  28. package/fesm2022/tango-app-ui-shared.mjs +3424 -3853
  29. package/fesm2022/tango-app-ui-shared.mjs.map +1 -1
  30. package/lib/modules/layout/header/brands-header/brands-header.component.d.ts +8 -0
  31. package/lib/modules/layout/header/header-banner/header-banner.component.d.ts +5 -0
  32. package/lib/modules/layout/header/header.component.d.ts +46 -3
  33. package/lib/modules/layout/header/plano-header/plano-header.component.d.ts +5 -0
  34. package/lib/modules/layout/header/stores-header/stores-header.component.d.ts +17 -0
  35. package/lib/modules/layout/layout/layout.component.d.ts +6 -2
  36. package/lib/modules/layout/layout.module.d.ts +16 -11
  37. package/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.d.ts +1 -1
  38. package/lib/modules/layout/toolbar/toolbar.component.d.ts +1 -2
  39. package/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.d.ts +20 -0
  40. package/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.d.ts +7 -0
  41. package/lib/modules/layout/toolbar/trax-header/trax-header.component.d.ts +7 -0
  42. package/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.d.ts +7 -0
  43. package/lib/routes/route-wraper-modules/eyetest-wrapper.module.d.ts +7 -0
  44. package/lib/services/auth.service.d.ts +5 -2
  45. package/package.json +1 -1
  46. package/esm2022/lib/modules/layout/toolbar/zone-header/zone-header.component.mjs +0 -1089
  47. 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
- ngOnInit(): void;
42
- private syncWithLocalStorage;
43
- private emitAndStoreFilters;
44
- /**
45
- * Reset selectedFilters and all related arrays to empty states
46
- */
47
- private resetFilters;
48
- getClient(): void;
49
- getUserInfo(client: any): void;
50
- onClientSelect(event: any): void;
51
- ranges: any;
52
- onStartDateChange(event: any): void;
53
- datechange(event: any): void;
54
- opendropdown(e: MouseEvent): void;
55
- getLocations(): void;
56
- isAllLocationsSelected(): boolean;
57
- selectedLocationsLabel(): string;
58
- removeLocation(): void;
59
- getGroups(): void;
60
- toggleDropdown(type: 'country' | 'location' | 'group' | 'store'): void;
61
- handleGroupDropdownClick(): void;
62
- resetSelectedGroups(): void;
63
- selectedGroupsLabel(): string;
64
- removeGroup(): void;
65
- isAllGroupsSelected(): boolean;
66
- getStore(): void;
67
- private clearStoresState;
68
- resetSelectedStores(): void;
69
- selectedStoresLabel(): string;
70
- isAllStoresSelected(): boolean;
71
- updateSelectedStores(): void;
72
- toggleSelectAllLocations(event: any): void;
73
- toggleSelectAllStores(event: Event): void;
74
- updateSelectedLocations(): void;
75
- toggleSelectAllGroups(event: any): void;
76
- updateSelectedGroups(): void;
77
- Reset(): void;
78
- filterLocations(): void;
79
- filterGroups(): void;
80
- filterStores(): void;
81
- closeDropdown(): void;
82
- clickOutside(event: MouseEvent): void;
83
- getCountry(): void;
84
- selectedCountriesLabel(): string;
85
- filterCountries(): void;
86
- isAllCountriesSelected(): boolean;
87
- toggleSelectAllCountries(event: any): void;
88
- updateSelectedCountries(): void;
89
- removeCountry(): void;
90
- Apply(): void;
91
- zoneData: {
92
- storeId: string;
93
- storeName: string;
94
- }[];
95
- static ɵfac: i0.ɵɵFactoryDeclaration<ZoneHeaderComponent, never>;
96
- static ɵcmp: i0.ɵɵComponentDeclaration<ZoneHeaderComponent, "lib-zone-header", never, {}, {}, never, never, false, never>;
97
- }