tango-app-ui-shared 3.3.1-beta.9 → 3.3.1-beta.91

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 (62) hide show
  1. package/esm2022/lib/guards/stores.guard.mjs +5 -5
  2. package/esm2022/lib/guards/tickets.guard.mjs +5 -5
  3. package/esm2022/lib/modules/common/filters/filters.component.mjs +2 -2
  4. package/esm2022/lib/modules/intro/lead-intro/lead-intro.component.mjs +13 -8
  5. package/esm2022/lib/modules/layout/header/header-menu/header-menu.component.mjs +3 -3
  6. package/esm2022/lib/modules/layout/header/header.component.mjs +2 -2
  7. package/esm2022/lib/modules/layout/header/navbar/navbar.component.mjs +6 -3
  8. package/esm2022/lib/modules/layout/header/page-title/page-title.component.mjs +2 -1
  9. package/esm2022/lib/modules/layout/layout/layout.component.mjs +24 -4
  10. package/esm2022/lib/modules/layout/layout.module.mjs +18 -3
  11. package/esm2022/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.mjs +43 -16
  12. package/esm2022/lib/modules/layout/toolbar/client-settings/client-settings.component.mjs +8 -2
  13. package/esm2022/lib/modules/layout/toolbar/date-single-select/date-single-select.component.mjs +33 -9
  14. package/esm2022/lib/modules/layout/toolbar/datepicker/datepicker.component.mjs +11 -6
  15. package/esm2022/lib/modules/layout/toolbar/single-store/single-store.component.mjs +41 -12
  16. package/esm2022/lib/modules/layout/toolbar/single-storedate/single-storedate.component.mjs +130 -0
  17. package/esm2022/lib/modules/layout/toolbar/storesingle/storesingle.component.mjs +105 -0
  18. package/esm2022/lib/modules/layout/toolbar/toolbar.component.mjs +93 -22
  19. package/esm2022/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.mjs +265 -138
  20. package/esm2022/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.mjs +795 -0
  21. package/esm2022/lib/modules/layout/toolbar/trax-header/trax-header.component.mjs +867 -0
  22. package/esm2022/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.mjs +729 -0
  23. package/esm2022/lib/modules/notification/conformation/conformation.component.mjs +22 -0
  24. package/esm2022/lib/modules/notification/notification/notification.component.mjs +161 -22
  25. package/esm2022/lib/modules/notification/notification-routing.module.mjs +5 -1
  26. package/esm2022/lib/modules/notification/notification.module.mjs +6 -3
  27. package/esm2022/lib/routes/route-wraper-modules/edge-wrapper.module.mjs +1 -1
  28. package/esm2022/lib/services/auth.service.mjs +8 -6
  29. package/esm2022/lib/services/notification.service.mjs +9 -1
  30. package/fesm2022/tango-app-ui-shared-edge-wrapper.module-CFDk0tvS.mjs.map +1 -1
  31. package/fesm2022/{tango-app-ui-shared-intro.module-CZdX0CkN.mjs → tango-app-ui-shared-intro.module-DYh4ZRha.mjs} +14 -9
  32. package/fesm2022/tango-app-ui-shared-intro.module-DYh4ZRha.mjs.map +1 -0
  33. package/fesm2022/tango-app-ui-shared-manage-wrapper.module-BHyh4Njw.mjs.map +1 -1
  34. package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs +400 -0
  35. package/fesm2022/tango-app-ui-shared-notification.module-C5ZmCf8U.mjs.map +1 -0
  36. package/fesm2022/tango-app-ui-shared-profile-wrapper.module-BNC1AGOk.mjs.map +1 -1
  37. package/fesm2022/tango-app-ui-shared-store-wrapper.module-DdaCYHdv.mjs.map +1 -1
  38. package/fesm2022/tango-app-ui-shared-ticket-wrapper.module-r32uKkDO.mjs.map +1 -1
  39. package/fesm2022/tango-app-ui-shared.mjs +3251 -348
  40. package/fesm2022/tango-app-ui-shared.mjs.map +1 -1
  41. package/lib/modules/intro/lead-intro/lead-intro.component.d.ts +4 -1
  42. package/lib/modules/layout/header/navbar/navbar.component.d.ts +1 -0
  43. package/lib/modules/layout/layout/layout.component.d.ts +3 -0
  44. package/lib/modules/layout/layout.module.d.ts +15 -10
  45. package/lib/modules/layout/sidebar/sidebar-menu/sidebar-menu.component.d.ts +2 -0
  46. package/lib/modules/layout/toolbar/single-store/single-store.component.d.ts +11 -4
  47. package/lib/modules/layout/toolbar/single-storedate/single-storedate.component.d.ts +30 -0
  48. package/lib/modules/layout/toolbar/storesingle/storesingle.component.d.ts +24 -0
  49. package/lib/modules/layout/toolbar/toolbar.component.d.ts +7 -1
  50. package/lib/modules/layout/toolbar/traffic-header/traffic-header/traffic-header.component.d.ts +5 -1
  51. package/lib/modules/layout/toolbar/traffic-nob/traffic-nob.component.d.ts +80 -0
  52. package/lib/modules/layout/toolbar/trax-header/trax-header.component.d.ts +82 -0
  53. package/lib/modules/layout/toolbar/trax-withoutdate/trax-withoutdate.component.d.ts +74 -0
  54. package/lib/modules/notification/conformation/conformation.component.d.ts +10 -0
  55. package/lib/modules/notification/notification/notification.component.d.ts +21 -3
  56. package/lib/modules/notification/notification.module.d.ts +5 -4
  57. package/lib/services/auth.service.d.ts +1 -0
  58. package/lib/services/notification.service.d.ts +3 -0
  59. package/package.json +1 -1
  60. package/fesm2022/tango-app-ui-shared-intro.module-CZdX0CkN.mjs.map +0 -1
  61. package/fesm2022/tango-app-ui-shared-notification.module-CbWXIyly.mjs +0 -238
  62. package/fesm2022/tango-app-ui-shared-notification.module-CbWXIyly.mjs.map +0 -1
@@ -3,17 +3,19 @@ import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
3
3
  import { NgbCarouselConfig, NgbModal } from '@ng-bootstrap/ng-bootstrap';
4
4
  import { AuthService } from '../../../services/auth.service';
5
5
  import dayjs from "dayjs";
6
+ import { Router } from '@angular/router';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class LeadIntroComponent implements OnDestroy, OnInit {
8
9
  private pageInfo;
9
10
  gs: GlobalStateService;
10
11
  private modalService;
11
12
  private authService;
13
+ private router;
12
14
  productList: any;
13
15
  private readonly destroy$;
14
16
  trialDetails: any;
15
17
  dayjs: typeof dayjs;
16
- constructor(pageInfo: PageInfoService, gs: GlobalStateService, config: NgbCarouselConfig, modalService: NgbModal, authService: AuthService);
18
+ constructor(pageInfo: PageInfoService, gs: GlobalStateService, config: NgbCarouselConfig, modalService: NgbModal, authService: AuthService, router: Router);
17
19
  daysWithin14(date: string): {
18
20
  daysRemaining: number;
19
21
  percentageRemaining: number;
@@ -23,6 +25,7 @@ export declare class LeadIntroComponent implements OnDestroy, OnInit {
23
25
  setPageData(): void;
24
26
  contactSupport(): void;
25
27
  updateCircleChart(percentage: number): void;
28
+ reDirectionUrl(): void;
26
29
  static ɵfac: i0.ɵɵFactoryDeclaration<LeadIntroComponent, never>;
27
30
  static ɵcmp: i0.ɵɵComponentDeclaration<LeadIntroComponent, "lib-lead-intro", never, {}, {}, never, never, false, never>;
28
31
  }
@@ -38,6 +38,7 @@ export declare class NavbarComponent implements OnInit, OnDestroy {
38
38
  updateNotification(data: any, btnDetails: any): void;
39
39
  handleNotification(): void;
40
40
  viewAll(type: any): void;
41
+ redirecttonotification(): void;
41
42
  onClick(event: MouseEvent): void;
42
43
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
43
44
  static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "lib-navbar", never, { "appHeaderDefaulMenuDisplay": { "alias": "appHeaderDefaulMenuDisplay"; "required": false; }; "isRtl": { "alias": "isRtl"; "required": false; }; }, {}, never, never, false, never>;
@@ -74,6 +74,9 @@ export declare class LayoutComponent implements OnInit, OnDestroy {
74
74
  updateFooter(config: ILayout): void;
75
75
  updateToolbar(config: ILayout): void;
76
76
  ngOnDestroy(): void;
77
+ previousScroll: number;
78
+ isToolbarFixed: boolean;
79
+ onScroll(): void;
77
80
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
78
81
  static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "lib-layout", never, {}, {}, never, never, false, never>;
79
82
  }
@@ -26,17 +26,22 @@ import * as i24 from "./toolbar/single-store/single-store.component";
26
26
  import * as i25 from "./header/notifications-inner/notifications-inner.component";
27
27
  import * as i26 from "./components/csm-assign-confirmation/csm-assign-confirmation.component";
28
28
  import * as i27 from "./toolbar/traffic-header/traffic-header/traffic-header.component";
29
- import * as i28 from "@angular/common";
30
- import * as i29 from "@angular/router";
31
- import * as i30 from "../../i18n/translation.module";
32
- import * as i31 from "ng-inline-svg-2";
33
- import * as i32 from "@ng-bootstrap/ng-bootstrap";
34
- import * as i33 from "@ngx-translate/core";
35
- import * as i34 from "../common/common-shared.module";
36
- import * as i35 from "@angular/forms";
37
- import * as i36 from "ngx-daterangepicker-material";
29
+ import * as i28 from "./toolbar/trax-header/trax-header.component";
30
+ import * as i29 from "./toolbar/single-storedate/single-storedate.component";
31
+ import * as i30 from "./toolbar/storesingle/storesingle.component";
32
+ import * as i31 from "./toolbar/trax-withoutdate/trax-withoutdate.component";
33
+ import * as i32 from "./toolbar/traffic-nob/traffic-nob.component";
34
+ import * as i33 from "@angular/common";
35
+ import * as i34 from "@angular/router";
36
+ import * as i35 from "../../i18n/translation.module";
37
+ import * as i36 from "ng-inline-svg-2";
38
+ import * as i37 from "@ng-bootstrap/ng-bootstrap";
39
+ import * as i38 from "@ngx-translate/core";
40
+ import * as i39 from "../common/common-shared.module";
41
+ import * as i40 from "@angular/forms";
42
+ import * as i41 from "ngx-daterangepicker-material";
38
43
  export declare class LayoutModule {
39
44
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;
40
- static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, [typeof i1.LayoutComponent, typeof i2.HeaderComponent, typeof i3.ContentComponent, typeof i4.FooterComponent, typeof i5.ScriptsInitComponent, typeof i6.ToolbarComponent, typeof i7.PageTitleComponent, typeof i8.HeaderMenuComponent, typeof i9.SidebarComponent, typeof i10.SidebarLogoComponent, typeof i11.SidebarMenuComponent, typeof i12.SidebarFooterComponent, typeof i13.NavbarComponent, typeof i14.AccountingComponent, typeof i15.ClassicComponent, typeof i16.ExtendedComponent, typeof i17.ReportsComponent, typeof i18.SaasComponent, typeof i19.KeeniconComponent, typeof i20.LayoutScrollTopComponent, typeof i21.ClientSettingsComponent, typeof i22.DatepickerComponent, typeof i23.DateSingleSelectComponent, typeof i24.SingleStoreComponent, typeof i25.NotificationsInnerComponent, typeof i26.CsmAssignConfirmationComponent, typeof i27.TrafficHeaderComponent], [typeof i28.CommonModule, typeof i29.RouterModule, typeof i30.TranslationModule, typeof i31.InlineSVGModule, typeof i32.NgbDropdownModule, typeof i32.NgbProgressbarModule, typeof i32.NgbTooltipModule, typeof i33.TranslateModule, typeof i34.CommonSharedModule, typeof i35.FormsModule, typeof i36.NgxDaterangepickerMd], [typeof i29.RouterModule]>;
45
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, [typeof i1.LayoutComponent, typeof i2.HeaderComponent, typeof i3.ContentComponent, typeof i4.FooterComponent, typeof i5.ScriptsInitComponent, typeof i6.ToolbarComponent, typeof i7.PageTitleComponent, typeof i8.HeaderMenuComponent, typeof i9.SidebarComponent, typeof i10.SidebarLogoComponent, typeof i11.SidebarMenuComponent, typeof i12.SidebarFooterComponent, typeof i13.NavbarComponent, typeof i14.AccountingComponent, typeof i15.ClassicComponent, typeof i16.ExtendedComponent, typeof i17.ReportsComponent, typeof i18.SaasComponent, typeof i19.KeeniconComponent, typeof i20.LayoutScrollTopComponent, typeof i21.ClientSettingsComponent, typeof i22.DatepickerComponent, typeof i23.DateSingleSelectComponent, typeof i24.SingleStoreComponent, typeof i25.NotificationsInnerComponent, typeof i26.CsmAssignConfirmationComponent, typeof i27.TrafficHeaderComponent, typeof i28.TraxHeaderComponent, typeof i29.SingleStoredateComponent, typeof i30.StoresingleComponent, typeof i31.TraxWithoutdateComponent, typeof i32.TrafficNobComponent], [typeof i33.CommonModule, typeof i34.RouterModule, typeof i35.TranslationModule, typeof i36.InlineSVGModule, typeof i37.NgbDropdownModule, typeof i37.NgbProgressbarModule, typeof i37.NgbTooltipModule, typeof i38.TranslateModule, typeof i39.CommonSharedModule, typeof i40.FormsModule, typeof i41.NgxDaterangepickerMd], [typeof i34.RouterModule]>;
41
46
  static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;
42
47
  }
@@ -11,8 +11,10 @@ export declare class SidebarMenuComponent implements OnInit {
11
11
  authlocalStorageToken: string;
12
12
  oldDashboardRoutingUrl: any;
13
13
  clientData: any;
14
+ headerFilters: any;
14
15
  constructor(authService: AuthService, gs: GlobalStateService, router: Router);
15
16
  private readonly destroy$;
17
+ previousClientId: any;
16
18
  ngOnInit(): void;
17
19
  oldDashborad(): void;
18
20
  getClientData(clientID: any): void;
@@ -1,26 +1,33 @@
1
- import { ChangeDetectorRef, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import dayjs from 'dayjs';
3
3
  import 'dayjs/locale/en';
4
4
  import { AuthService } from '../../../../services/auth.service';
5
5
  import { GlobalStateService } from 'tango-app-ui-global';
6
+ import { Router } from '@angular/router';
6
7
  import * as i0 from "@angular/core";
7
- export declare class SingleStoreComponent implements OnInit {
8
+ export declare class SingleStoreComponent implements OnInit, OnChanges {
8
9
  private auth;
9
10
  private gs;
10
11
  private cd;
12
+ private router;
13
+ urlString: any;
11
14
  dayjs: typeof dayjs;
12
15
  isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
13
16
  selectedDateRange: any;
14
17
  storeList: any;
15
18
  selectedClient: any;
16
19
  selectedFilters: any;
17
- constructor(auth: AuthService, gs: GlobalStateService, cd: ChangeDetectorRef);
20
+ URL: any;
21
+ baseurl: any;
22
+ constructor(auth: AuthService, gs: GlobalStateService, cd: ChangeDetectorRef, router: Router);
18
23
  ngOnInit(): void;
19
24
  onClientSelect(event: any): void;
20
25
  ranges: any;
21
26
  onStartDateChange(event: any): void;
22
27
  datechange(event: any): void;
23
28
  Apply(): void;
29
+ queryString: any;
30
+ ngOnChanges(changes: SimpleChanges): void;
24
31
  static ɵfac: i0.ɵɵFactoryDeclaration<SingleStoreComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<SingleStoreComponent, "lib-single-store", never, {}, {}, never, never, false, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<SingleStoreComponent, "lib-single-store", never, { "urlString": { "alias": "urlString"; "required": false; }; }, {}, never, never, false, never>;
26
33
  }
@@ -0,0 +1,30 @@
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 SingleStoredateComponent implements OnInit {
9
+ private auth;
10
+ private gs;
11
+ private cd;
12
+ private router;
13
+ dayjs: typeof dayjs;
14
+ isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
15
+ selectedDateRange: any;
16
+ storeList: any;
17
+ selectedClient: any;
18
+ selectedFilters: any;
19
+ URL: any;
20
+ baseurl: any;
21
+ users: any;
22
+ constructor(auth: AuthService, gs: GlobalStateService, cd: ChangeDetectorRef, router: Router);
23
+ ngOnInit(): void;
24
+ onClientSelect(event: any): void;
25
+ onStartDateChange(event: any): void;
26
+ datechange(event: any): void;
27
+ Apply(): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<SingleStoredateComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<SingleStoredateComponent, "lib-single-storedate", never, {}, {}, never, never, false, never>;
30
+ }
@@ -0,0 +1,24 @@
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 StoresingleComponent implements OnInit {
9
+ private auth;
10
+ private gs;
11
+ private cd;
12
+ private router;
13
+ dayjs: typeof dayjs;
14
+ isCustomDate: (m: dayjs.Dayjs) => false | "invalid-date";
15
+ selectedDateRange: any;
16
+ storeList: any;
17
+ selectedClient: any;
18
+ selectedFilters: any;
19
+ constructor(auth: AuthService, gs: GlobalStateService, cd: ChangeDetectorRef, router: Router);
20
+ ngOnInit(): void;
21
+ onClientSelect(event: any): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<StoresingleComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<StoresingleComponent, "lib-storesingle", never, {}, {}, never, never, false, never>;
24
+ }
@@ -32,12 +32,18 @@ export declare class ToolbarComponent implements OnInit, OnDestroy {
32
32
  users: any;
33
33
  selectedFilters: any;
34
34
  trafficdatepicker: boolean;
35
+ traxdatepicker: boolean;
36
+ urlString: any;
37
+ traxwithoutdatepicker: boolean;
38
+ storesSingle: boolean;
39
+ nobWithoutClient: boolean;
35
40
  constructor(layout: LayoutService, router: Router, route: ActivatedRoute, gs: GlobalStateService);
36
41
  ngOnInit(): void;
37
42
  updateProps(config: ILayout): void;
43
+ private readonly destroy$;
38
44
  ngOnDestroy(): void;
39
45
  showPageTitle(): boolean;
40
- setUIProperties(singleSelect: boolean, multiSelect: boolean, datepicker: boolean, singleStore: boolean, singleSelectdatepicker: boolean, trafficdatepicker: boolean): void;
46
+ setUIProperties(singleSelect: boolean, multiSelect: boolean, datepicker: boolean, singleStore: boolean, singleSelectdatepicker: boolean, trafficdatepicker: boolean, traxdatepicker: boolean, traxwithoutdatepicker: boolean, storesSingle: boolean, nobWithoutClient: boolean): void;
41
47
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
42
48
  static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "lib-toolbar", never, { "currentLayoutType": { "alias": "currentLayoutType"; "required": false; }; "appToolbarLayout": { "alias": "appToolbarLayout"; "required": false; }; }, {}, never, never, false, never>;
43
49
  }
@@ -3,9 +3,11 @@ import dayjs from "dayjs";
3
3
  import "dayjs/locale/en";
4
4
  import { AuthService } from "../../../../../services/auth.service";
5
5
  import { GlobalStateService } from "tango-app-ui-global";
6
+ import { Router } from "@angular/router";
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class TrafficHeaderComponent implements OnInit {
8
9
  private auth;
10
+ private router;
9
11
  gs: GlobalStateService;
10
12
  private cd;
11
13
  dayjs: typeof dayjs;
@@ -28,7 +30,8 @@ export declare class TrafficHeaderComponent implements OnInit {
28
30
  locationLabel: any[];
29
31
  groupLabel: any[];
30
32
  users: any;
31
- constructor(auth: AuthService, gs: GlobalStateService, cd: ChangeDetectorRef);
33
+ url: any;
34
+ constructor(auth: AuthService, router: Router, gs: GlobalStateService, cd: ChangeDetectorRef);
32
35
  onClick(event: MouseEvent): void;
33
36
  closeDropdown1(): void;
34
37
  ngOnInit(): void;
@@ -56,6 +59,7 @@ export declare class TrafficHeaderComponent implements OnInit {
56
59
  removeGroup(): void;
57
60
  isAllGroupsSelected(): boolean;
58
61
  getStore(): void;
62
+ private clearStoresState;
59
63
  resetSelectedStores(): void;
60
64
  selectedStoresLabel(): string;
61
65
  isAllStoresSelected(): boolean;
@@ -0,0 +1,80 @@
1
+ import { ChangeDetectorRef, OnInit } from "@angular/core";
2
+ import dayjs from "dayjs";
3
+ import "dayjs/locale/en";
4
+ import { GlobalStateService } from "tango-app-ui-global";
5
+ import { Router } from "@angular/router";
6
+ import { AuthService } from "../../../../services/auth.service";
7
+ import * as i0 from "@angular/core";
8
+ export declare class TrafficNobComponent 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
+ constructor(auth: AuthService, router: Router, gs: GlobalStateService, cd: ChangeDetectorRef);
35
+ onClick(event: MouseEvent): void;
36
+ closeDropdown1(): void;
37
+ ngOnInit(): void;
38
+ private syncWithLocalStorage;
39
+ private emitAndStoreFilters;
40
+ /**
41
+ * Reset selectedFilters and all related arrays to empty states
42
+ */
43
+ private resetFilters;
44
+ getClient(): void;
45
+ onClientSelect(event: any): void;
46
+ ranges: any;
47
+ onStartDateChange(event: any): void;
48
+ datechange(event: any): void;
49
+ opendropdown(e: MouseEvent): void;
50
+ getLocations(): void;
51
+ isAllLocationsSelected(): boolean;
52
+ selectedLocationsLabel(): string;
53
+ removeLocation(): void;
54
+ getGroups(): void;
55
+ toggleDropdown(type: 'location' | 'group' | 'store'): void;
56
+ handleGroupDropdownClick(): void;
57
+ resetSelectedGroups(): void;
58
+ selectedGroupsLabel(): string;
59
+ removeGroup(): void;
60
+ isAllGroupsSelected(): boolean;
61
+ getStore(): void;
62
+ resetSelectedStores(): void;
63
+ selectedStoresLabel(): string;
64
+ isAllStoresSelected(): boolean;
65
+ updateSelectedStores(): void;
66
+ toggleSelectAllLocations(event: any): void;
67
+ toggleSelectAllStores(event: Event): void;
68
+ updateSelectedLocations(): void;
69
+ toggleSelectAllGroups(event: any): void;
70
+ updateSelectedGroups(): void;
71
+ Reset(): void;
72
+ Apply(): void;
73
+ filterLocations(): void;
74
+ filterGroups(): void;
75
+ filterStores(): void;
76
+ closeDropdown(): void;
77
+ clickOutside(event: MouseEvent): void;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrafficNobComponent, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<TrafficNobComponent, "lib-traffic-nob", never, {}, {}, never, never, false, never>;
80
+ }
@@ -0,0 +1,82 @@
1
+ import { ChangeDetectorRef, OnInit } from "@angular/core";
2
+ import dayjs from "dayjs";
3
+ import "dayjs/locale/en";
4
+ import { GlobalStateService } from "tango-app-ui-global";
5
+ import { Router } from "@angular/router";
6
+ import { AuthService } from "../../../../services/auth.service";
7
+ import * as i0 from "@angular/core";
8
+ export declare class TraxHeaderComponent 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
+ constructor(auth: AuthService, router: Router, gs: GlobalStateService, cd: ChangeDetectorRef);
35
+ onClick(event: MouseEvent): void;
36
+ closeDropdown1(): void;
37
+ ngOnInit(): void;
38
+ private syncWithLocalStorage;
39
+ private emitAndStoreFilters;
40
+ /**
41
+ * Reset selectedFilters and all related arrays to empty states
42
+ */
43
+ private resetFilters;
44
+ getClient(): void;
45
+ onClientSelect(event: any): void;
46
+ getDateRanges(): any;
47
+ ranges: any;
48
+ resetValidation(): void;
49
+ onStartDateChange(event: any): void;
50
+ datechange(event: any): void;
51
+ opendropdown(e: MouseEvent): void;
52
+ getLocations(): void;
53
+ isAllLocationsSelected(): boolean;
54
+ selectedLocationsLabel(): string;
55
+ removeLocation(): void;
56
+ getGroups(): void;
57
+ toggleDropdown(type: 'location' | 'group' | 'store'): void;
58
+ handleGroupDropdownClick(): void;
59
+ resetSelectedGroups(): void;
60
+ selectedGroupsLabel(): string;
61
+ removeGroup(): void;
62
+ isAllGroupsSelected(): boolean;
63
+ getStore(): void;
64
+ resetSelectedStores(): void;
65
+ selectedStoresLabel(): string;
66
+ isAllStoresSelected(): boolean;
67
+ updateSelectedStores(): void;
68
+ toggleSelectAllLocations(event: any): void;
69
+ toggleSelectAllStores(event: Event): void;
70
+ updateSelectedLocations(): void;
71
+ toggleSelectAllGroups(event: any): void;
72
+ updateSelectedGroups(): void;
73
+ Reset(): void;
74
+ Apply(): void;
75
+ filterLocations(): void;
76
+ filterGroups(): void;
77
+ filterStores(): void;
78
+ closeDropdown(): void;
79
+ clickOutside(event: MouseEvent): void;
80
+ static ɵfac: i0.ɵɵFactoryDeclaration<TraxHeaderComponent, never>;
81
+ static ɵcmp: i0.ɵɵComponentDeclaration<TraxHeaderComponent, "lib-trax-header", never, {}, {}, never, never, false, never>;
82
+ }
@@ -0,0 +1,74 @@
1
+ import { ChangeDetectorRef, OnInit } from "@angular/core";
2
+ import dayjs from "dayjs";
3
+ import "dayjs/locale/en";
4
+ import { GlobalStateService } from "tango-app-ui-global";
5
+ import { Router } from "@angular/router";
6
+ import { AuthService } from "../../../../services/auth.service";
7
+ import * as i0 from "@angular/core";
8
+ export declare class TraxWithoutdateComponent 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
+ constructor(auth: AuthService, router: Router, gs: GlobalStateService, cd: ChangeDetectorRef);
35
+ onClick(event: MouseEvent): void;
36
+ closeDropdown1(): void;
37
+ ngOnInit(): void;
38
+ private syncWithLocalStorage;
39
+ private emitAndStoreFilters;
40
+ private resetFilters;
41
+ getClient(): void;
42
+ onClientSelect(event: any): void;
43
+ opendropdown(e: MouseEvent): void;
44
+ getLocations(): void;
45
+ isAllLocationsSelected(): boolean;
46
+ selectedLocationsLabel(): string;
47
+ removeLocation(): void;
48
+ getGroups(): void;
49
+ toggleDropdown(type: 'location' | 'group' | 'store'): void;
50
+ handleGroupDropdownClick(): void;
51
+ resetSelectedGroups(): void;
52
+ selectedGroupsLabel(): string;
53
+ removeGroup(): void;
54
+ isAllGroupsSelected(): boolean;
55
+ getStore(): void;
56
+ resetSelectedStores(): void;
57
+ selectedStoresLabel(): string;
58
+ isAllStoresSelected(): boolean;
59
+ updateSelectedStores(): void;
60
+ toggleSelectAllLocations(event: any): void;
61
+ toggleSelectAllStores(event: Event): void;
62
+ updateSelectedLocations(): void;
63
+ toggleSelectAllGroups(event: any): void;
64
+ updateSelectedGroups(): void;
65
+ Reset(): void;
66
+ Apply(): void;
67
+ filterLocations(): void;
68
+ filterGroups(): void;
69
+ filterStores(): void;
70
+ closeDropdown(): void;
71
+ clickOutside(event: MouseEvent): void;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<TraxWithoutdateComponent, never>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<TraxWithoutdateComponent, "lib-trax-withoutdate", never, {}, {}, never, never, false, never>;
74
+ }
@@ -0,0 +1,10 @@
1
+ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ConformationComponent {
4
+ private activeModal;
5
+ constructor(activeModal: NgbActiveModal);
6
+ cancel(): void;
7
+ onSubmit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConformationComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConformationComponent, "lib-conformation", never, {}, {}, never, never, false, never>;
10
+ }
@@ -1,10 +1,11 @@
1
- import { ChangeDetectorRef, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { NotificationService } from '../../../services/notification.service';
5
5
  import { ToastService } from '../../../services/toast.service';
6
+ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
6
7
  import * as i0 from "@angular/core";
7
- export declare class NotificationComponent implements OnInit {
8
+ export declare class NotificationComponent implements OnInit, OnDestroy {
8
9
  private pageInfo;
9
10
  gs: GlobalStateService;
10
11
  private route;
@@ -12,10 +13,13 @@ export declare class NotificationComponent implements OnInit {
12
13
  private cd;
13
14
  private toast;
14
15
  private router;
16
+ private modalService;
15
17
  showalert: boolean;
16
18
  showdownload: boolean;
17
19
  loading: boolean;
18
20
  noData: boolean;
21
+ downloadloading: boolean;
22
+ downloadnoData: boolean;
19
23
  itemsPerPage: number;
20
24
  currentPage: number;
21
25
  totalItems: number;
@@ -31,15 +35,29 @@ export declare class NotificationComponent implements OnInit {
31
35
  private readonly destroy$;
32
36
  notification: any;
33
37
  total: any;
34
- constructor(pageInfo: PageInfoService, gs: GlobalStateService, route: ActivatedRoute, service: NotificationService, cd: ChangeDetectorRef, toast: ToastService, router: Router);
38
+ downloads: any[];
39
+ headerData: any;
40
+ searchInput: any;
41
+ sortColumName: string;
42
+ sortDirection: any;
43
+ searchValue: string;
44
+ tabtype: any;
45
+ user_id: any;
46
+ private reloadInterval;
47
+ constructor(pageInfo: PageInfoService, gs: GlobalStateService, route: ActivatedRoute, service: NotificationService, cd: ChangeDetectorRef, toast: ToastService, router: Router, modalService: NgbModal);
35
48
  ngOnInit(): void;
49
+ cancelDownload(data: any): void;
50
+ ngOnDestroy(): void;
36
51
  setPageData(): void;
37
52
  notificationList(): void;
38
53
  updateNotification(data: any, btnDetails: any): void;
39
54
  chooseManager(type: any): void;
55
+ setPaginationSizes(): void;
40
56
  onPageChange(pageOffset: number): void;
41
57
  onPageSizeChange(pageSize: number): void;
42
58
  paginationSize(): number;
59
+ downloadmanagerList(): void;
60
+ downloadFile(record: any): void;
43
61
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
44
62
  static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "lib-notification", never, {}, {}, never, never, false, never>;
45
63
  }
@@ -1,10 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./notification/notification.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "./notification-routing.module";
5
- import * as i4 from "../common/common-shared.module";
3
+ import * as i2 from "./conformation/conformation.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "./notification-routing.module";
6
+ import * as i5 from "../common/common-shared.module";
6
7
  export declare class NotificationModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationModule, [typeof i1.NotificationComponent], [typeof i2.CommonModule, typeof i3.NotificationRoutingModule, typeof i4.CommonSharedModule], never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationModule, [typeof i1.NotificationComponent, typeof i2.ConformationComponent], [typeof i3.CommonModule, typeof i4.NotificationRoutingModule, typeof i5.CommonSharedModule], never>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<NotificationModule>;
10
11
  }
@@ -15,6 +15,7 @@ export declare class AuthService {
15
15
  oldDashboardUrl: string;
16
16
  dropDownTrigger: BehaviorSubject<null>;
17
17
  trafficApiUrl: any;
18
+ traxUrl: any;
18
19
  constructor(router: Router, gs: GlobalStateService, http: HttpClient);
19
20
  handleError(res: any): Observable<never>;
20
21
  getHeaders(): {
@@ -7,6 +7,7 @@ export declare class NotificationService {
7
7
  private gs;
8
8
  paymentSubscriptionApiUrl: any;
9
9
  clientApiUrl: string;
10
+ traxUrl: any;
10
11
  private reloadDataSubject;
11
12
  reloadData$: Observable<boolean>;
12
13
  clientId: BehaviorSubject<string>;
@@ -22,6 +23,8 @@ export declare class NotificationService {
22
23
  updateRemind(_id: any): Observable<any>;
23
24
  updateSubscription(data: any): Observable<any>;
24
25
  trialApproved(data: any): Observable<any>;
26
+ getdownloadlist(data: any): Observable<any>;
27
+ cancelDownload(data: any): Observable<any>;
25
28
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
26
29
  static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
27
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-shared",
3
- "version": "3.3.1-beta.9",
3
+ "version": "3.3.1-beta.91",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0"