tango-app-ui-shared 3.3.1-beta.71 → 3.3.1-beta.72

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.
@@ -27,17 +27,20 @@ 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
29
  import * as i28 from "./toolbar/trax-header/trax-header.component";
30
- import * as i29 from "@angular/common";
31
- import * as i30 from "@angular/router";
32
- import * as i31 from "../../i18n/translation.module";
33
- import * as i32 from "ng-inline-svg-2";
34
- import * as i33 from "@ng-bootstrap/ng-bootstrap";
35
- import * as i34 from "@ngx-translate/core";
36
- import * as i35 from "../common/common-shared.module";
37
- import * as i36 from "@angular/forms";
38
- import * as i37 from "ngx-daterangepicker-material";
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 "@angular/common";
34
+ import * as i33 from "@angular/router";
35
+ import * as i34 from "../../i18n/translation.module";
36
+ import * as i35 from "ng-inline-svg-2";
37
+ import * as i36 from "@ng-bootstrap/ng-bootstrap";
38
+ import * as i37 from "@ngx-translate/core";
39
+ import * as i38 from "../common/common-shared.module";
40
+ import * as i39 from "@angular/forms";
41
+ import * as i40 from "ngx-daterangepicker-material";
39
42
  export declare class LayoutModule {
40
43
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;
41
- 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.CommonModule, typeof i30.RouterModule, typeof i31.TranslationModule, typeof i32.InlineSVGModule, typeof i33.NgbDropdownModule, typeof i33.NgbProgressbarModule, typeof i33.NgbTooltipModule, typeof i34.TranslateModule, typeof i35.CommonSharedModule, typeof i36.FormsModule, typeof i37.NgxDaterangepickerMd], [typeof i30.RouterModule]>;
44
+ 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.CommonModule, typeof i33.RouterModule, typeof i34.TranslationModule, typeof i35.InlineSVGModule, typeof i36.NgbDropdownModule, typeof i36.NgbProgressbarModule, typeof i36.NgbTooltipModule, typeof i37.TranslateModule, typeof i38.CommonSharedModule, typeof i39.FormsModule, typeof i40.NgxDaterangepickerMd], [typeof i33.RouterModule]>;
42
45
  static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;
43
46
  }
@@ -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
+ constructor(auth: AuthService, gs: GlobalStateService, cd: ChangeDetectorRef, router: Router);
22
+ ngOnInit(): void;
23
+ onClientSelect(event: any): void;
24
+ ranges: any;
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
+ }
@@ -34,13 +34,15 @@ export declare class ToolbarComponent implements OnInit, OnDestroy {
34
34
  trafficdatepicker: boolean;
35
35
  traxdatepicker: boolean;
36
36
  urlString: any;
37
+ traxwithoutdatepicker: boolean;
38
+ storesSingle: boolean;
37
39
  constructor(layout: LayoutService, router: Router, route: ActivatedRoute, gs: GlobalStateService);
38
40
  ngOnInit(): void;
39
41
  updateProps(config: ILayout): void;
40
42
  private readonly destroy$;
41
43
  ngOnDestroy(): void;
42
44
  showPageTitle(): boolean;
43
- setUIProperties(singleSelect: boolean, multiSelect: boolean, datepicker: boolean, singleStore: boolean, singleSelectdatepicker: boolean, trafficdatepicker: boolean, traxdatepicker: boolean): void;
45
+ setUIProperties(singleSelect: boolean, multiSelect: boolean, datepicker: boolean, singleStore: boolean, singleSelectdatepicker: boolean, trafficdatepicker: boolean, traxdatepicker: boolean, traxwithoutdatepicker: boolean, storesSingle: boolean): void;
44
46
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
45
47
  static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "lib-toolbar", never, { "currentLayoutType": { "alias": "currentLayoutType"; "required": false; }; "appToolbarLayout": { "alias": "appToolbarLayout"; "required": false; }; }, {}, never, never, false, never>;
46
48
  }
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-shared",
3
- "version": "3.3.1-beta.71",
3
+ "version": "3.3.1-beta.72",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0"