tango-app-ui-analyse-zone 3.7.1-beta.6 → 3.7.1-beta.8
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/components/customer-journey-chart/customer-journey-chart.component.mjs +133 -9
- package/esm2022/lib/components/interation-table-client459/interation-table-client459.component.mjs +3 -3
- package/esm2022/lib/components/overallcards/overallcards.component.mjs +67 -3
- package/esm2022/lib/components/services/zone.service.mjs +13 -1
- package/fesm2022/tango-app-ui-analyse-zone.mjs +207 -9
- package/fesm2022/tango-app-ui-analyse-zone.mjs.map +1 -1
- package/lib/components/customer-journey-chart/customer-journey-chart.component.d.ts +21 -1
- package/lib/components/overallcards/overallcards.component.d.ts +6 -0
- package/lib/components/services/zone.service.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import * as am5 from "@amcharts/amcharts5";
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
|
+
import { ZoneService } from '../services/zone.service';
|
|
4
5
|
import { Zonev2Service } from '../services/zonev2.service';
|
|
5
6
|
import { ToastService } from 'tango-app-ui-shared';
|
|
6
7
|
import { GlobalStateService } from 'tango-app-ui-global';
|
|
@@ -9,6 +10,7 @@ export declare class CustomerJourneyChartComponent implements OnInit, AfterViewI
|
|
|
9
10
|
private router;
|
|
10
11
|
private toast;
|
|
11
12
|
private gs;
|
|
13
|
+
private zoneService;
|
|
12
14
|
private zoneV2Service;
|
|
13
15
|
chartRoot: am5.Root;
|
|
14
16
|
viewMode: 'chart' | 'table';
|
|
@@ -28,7 +30,7 @@ export declare class CustomerJourneyChartComponent implements OnInit, AfterViewI
|
|
|
28
30
|
value: number;
|
|
29
31
|
}[];
|
|
30
32
|
private destroy$;
|
|
31
|
-
constructor(router: Router, toast: ToastService, gs: GlobalStateService, zoneV2Service: Zonev2Service);
|
|
33
|
+
constructor(router: Router, toast: ToastService, gs: GlobalStateService, zoneService: ZoneService, zoneV2Service: Zonev2Service);
|
|
32
34
|
ngOnInit(): void;
|
|
33
35
|
ngAfterViewInit(): void;
|
|
34
36
|
toggleView(view: 'chart' | 'table'): void;
|
|
@@ -45,6 +47,24 @@ export declare class CustomerJourneyChartComponent implements OnInit, AfterViewI
|
|
|
45
47
|
onPageSizeChange(pageSize: number): void;
|
|
46
48
|
onPageChange(pageOffset: any): void;
|
|
47
49
|
ngOnDestroy(): void;
|
|
50
|
+
getNewZoneFFData: any;
|
|
51
|
+
zones: any;
|
|
52
|
+
getNewZoneData(): void;
|
|
53
|
+
noSelectedData: boolean;
|
|
54
|
+
getSelectedZoneFF(): void;
|
|
55
|
+
getheaderZoneApi(): void;
|
|
56
|
+
allZones: any;
|
|
57
|
+
selectedZones: any[];
|
|
58
|
+
dropdownOpen: boolean;
|
|
59
|
+
searchText: string;
|
|
60
|
+
comparisonData: any[];
|
|
61
|
+
toggleDropdown(): void;
|
|
62
|
+
filteredZones(): any[];
|
|
63
|
+
selectZone(zone: string): void;
|
|
64
|
+
removeZone(index: number): void;
|
|
65
|
+
clearZones(): void;
|
|
66
|
+
applyZones(): void;
|
|
67
|
+
onExport(): void;
|
|
48
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomerJourneyChartComponent, never>;
|
|
49
69
|
static ɵcmp: i0.ɵɵComponentDeclaration<CustomerJourneyChartComponent, "lib-customer-journey-chart", never, {}, {}, never, never, false, never>;
|
|
50
70
|
}
|
|
@@ -20,6 +20,7 @@ export declare class OverallcardsComponent implements OnDestroy, OnInit {
|
|
|
20
20
|
constructor(zone: NgZone, ZoneService: ZoneService, changeDetector: ChangeDetectorRef, gs: GlobalStateService, toast: ToastService);
|
|
21
21
|
zoneName: any;
|
|
22
22
|
clientData: any;
|
|
23
|
+
storeIdarray: any;
|
|
23
24
|
ngOnInit(): void;
|
|
24
25
|
ngOnDestroy(): void;
|
|
25
26
|
genderchart(): void;
|
|
@@ -35,6 +36,11 @@ export declare class OverallcardsComponent implements OnDestroy, OnInit {
|
|
|
35
36
|
segmentationNoData: boolean;
|
|
36
37
|
getZoneSegmentation(): void;
|
|
37
38
|
onExport(): void;
|
|
39
|
+
cardDataTraffic: any;
|
|
40
|
+
cardNoTrafficData: boolean;
|
|
41
|
+
cardDataTrafficLoading: boolean;
|
|
42
|
+
getCardDataTraffic(): void;
|
|
43
|
+
onExportTraffic(): void;
|
|
38
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<OverallcardsComponent, never>;
|
|
39
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<OverallcardsComponent, "lib-overallcards", never, {}, {}, never, never, false, never>;
|
|
40
46
|
}
|
|
@@ -49,6 +49,10 @@ export declare class ZoneService implements OnDestroy {
|
|
|
49
49
|
setData(zoneName: string): void;
|
|
50
50
|
getData(): string | null;
|
|
51
51
|
getData$(): Observable<string | null>;
|
|
52
|
+
getHeaderZone(data: any): Observable<any>;
|
|
53
|
+
getNewZoneFF(data: any): Observable<any>;
|
|
54
|
+
getSelectedZoneFF(data: any): Observable<any>;
|
|
55
|
+
getSelectedZoneFFExport(data: any): Observable<any>;
|
|
52
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZoneService, never>;
|
|
53
57
|
static ɵprov: i0.ɵɵInjectableDeclaration<ZoneService>;
|
|
54
58
|
}
|