tango-app-ui-analyse-zone 3.7.1-beta.16 → 3.7.1-beta.17
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 +11 -5
- package/esm2022/lib/components/overallcards/overallcards.component.mjs +394 -85
- package/esm2022/lib/components/services/zone.service.mjs +29 -1
- package/esm2022/lib/components/services/zonev2.service.mjs +6 -1
- package/esm2022/lib/components/tango-analyse-zone/tango-analyse-zone.component.mjs +6 -3
- package/esm2022/lib/components/top-performing-zones/top-performing-zones.component.mjs +14 -5
- package/esm2022/lib/components/zone-concentration/zone-concentration.component.mjs +3 -3
- package/esm2022/lib/components/zone-journey/zone-journey.component.mjs +387 -0
- package/esm2022/lib/components/zone-summary-table/zone-summary-table.component.mjs +3 -3
- package/esm2022/lib/tango-analyse-zone.module.mjs +15 -7
- package/fesm2022/tango-app-ui-analyse-zone.mjs +1041 -303
- package/fesm2022/tango-app-ui-analyse-zone.mjs.map +1 -1
- package/lib/components/customer-journey-chart/customer-journey-chart.component.d.ts +3 -1
- package/lib/components/overallcards/overallcards.component.d.ts +51 -16
- package/lib/components/services/zone.service.d.ts +9 -0
- package/lib/components/services/zonev2.service.d.ts +3 -0
- package/lib/components/tango-analyse-zone/tango-analyse-zone.component.d.ts +1 -0
- package/lib/components/top-performing-zones/top-performing-zones.component.d.ts +5 -3
- package/lib/components/zone-journey/zone-journey.component.d.ts +68 -0
- package/lib/tango-analyse-zone.module.d.ts +8 -6
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export declare class CustomerJourneyChartComponent implements OnInit, AfterViewI
|
|
|
14
14
|
private zoneV2Service;
|
|
15
15
|
chartRoot: am5.Root;
|
|
16
16
|
viewMode: 'chart' | 'table';
|
|
17
|
+
clientData: any;
|
|
17
18
|
headerData: any;
|
|
18
19
|
isPageLoading: boolean;
|
|
19
20
|
sortedColumn: string;
|
|
@@ -65,6 +66,7 @@ export declare class CustomerJourneyChartComponent implements OnInit, AfterViewI
|
|
|
65
66
|
clearZones(): void;
|
|
66
67
|
applyZones(): void;
|
|
67
68
|
onExport(): void;
|
|
69
|
+
nobUpload(): void;
|
|
68
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomerJourneyChartComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomerJourneyChartComponent, "lib-customer-journey-chart", never, {}, {}, never, never, false, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomerJourneyChartComponent, "lib-customer-journey-chart", never, { "clientData": { "alias": "clientData"; "required": false; }; }, {}, never, never, false, never>;
|
|
70
72
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { ChangeDetectorRef, NgZone, OnDestroy, OnInit } from
|
|
2
|
-
import { ZoneService } from
|
|
3
|
-
import { GlobalStateService } from
|
|
4
|
-
import { ToastService } from
|
|
1
|
+
import { ChangeDetectorRef, NgZone, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { ZoneService } from "../services/zone.service";
|
|
3
|
+
import { GlobalStateService } from "tango-app-ui-global";
|
|
4
|
+
import { ToastService } from "tango-app-ui-shared";
|
|
5
|
+
import { Zonev2Service } from "../services/zonev2.service";
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class OverallcardsComponent implements OnDestroy, OnInit {
|
|
7
8
|
private zone;
|
|
8
9
|
private ZoneService;
|
|
9
|
-
private
|
|
10
|
+
private zoneV2Service;
|
|
11
|
+
private cd;
|
|
10
12
|
gs: GlobalStateService;
|
|
11
13
|
private toast;
|
|
12
14
|
cardData: any;
|
|
@@ -17,30 +19,63 @@ export declare class OverallcardsComponent implements OnDestroy, OnInit {
|
|
|
17
19
|
headerData: any;
|
|
18
20
|
private genderroot;
|
|
19
21
|
private destroy$;
|
|
20
|
-
|
|
22
|
+
searchInput: any;
|
|
23
|
+
sortColumName: string;
|
|
24
|
+
sortBy: any;
|
|
25
|
+
sortDirection: any;
|
|
26
|
+
getZoneSegmentionData: any;
|
|
27
|
+
segmentationDataLoading: boolean;
|
|
28
|
+
segmentationNoData: boolean;
|
|
21
29
|
zoneName: any;
|
|
22
30
|
clientData: any;
|
|
23
31
|
storeIdarray: any;
|
|
32
|
+
tableobj: any;
|
|
33
|
+
overallStoreCards: any;
|
|
34
|
+
cardDataTraffic: any;
|
|
35
|
+
cardNoTrafficData: boolean;
|
|
36
|
+
cardDataTrafficLoading: boolean;
|
|
37
|
+
constructor(zone: NgZone, ZoneService: ZoneService, zoneV2Service: Zonev2Service, cd: ChangeDetectorRef, gs: GlobalStateService, toast: ToastService);
|
|
24
38
|
ngOnInit(): void;
|
|
39
|
+
getOverallStoreCards(): void;
|
|
25
40
|
ngOnDestroy(): void;
|
|
26
41
|
genderchart(): void;
|
|
27
42
|
getCardData(): void;
|
|
28
43
|
sortData(column: string): void;
|
|
29
44
|
searchField(): void;
|
|
30
|
-
searchInput: any;
|
|
31
|
-
sortColumName: string;
|
|
32
|
-
sortBy: any;
|
|
33
|
-
sortDirection: any;
|
|
34
|
-
getZoneSegmentionData: any;
|
|
35
|
-
segmentationDataLoading: boolean;
|
|
36
|
-
segmentationNoData: boolean;
|
|
37
45
|
getZoneSegmentation(): void;
|
|
38
46
|
onExport(): void;
|
|
39
|
-
cardDataTraffic: any;
|
|
40
|
-
cardNoTrafficData: boolean;
|
|
41
|
-
cardDataTrafficLoading: boolean;
|
|
42
47
|
getCardDataTraffic(): void;
|
|
43
48
|
onExportTraffic(): void;
|
|
49
|
+
getHotColdZoneData: any;
|
|
50
|
+
getNewHotClodZone(): void;
|
|
51
|
+
getEngagersCardData: any;
|
|
52
|
+
getBouncedCardData: any;
|
|
53
|
+
getBouncedCard(): void;
|
|
54
|
+
engagersNodata: boolean;
|
|
55
|
+
getEngagersCard(): void;
|
|
56
|
+
dateType: any;
|
|
57
|
+
dateValue(type: any): void;
|
|
58
|
+
customerTravelPath: any;
|
|
59
|
+
paths: any[];
|
|
60
|
+
activePathIndex: number;
|
|
61
|
+
autoSlideInterval: any;
|
|
62
|
+
pathLoading: boolean;
|
|
63
|
+
pathNoData: boolean;
|
|
64
|
+
private pathApiCancel$;
|
|
65
|
+
getCustomPath(): void;
|
|
66
|
+
next(): void;
|
|
67
|
+
prev(): void;
|
|
68
|
+
goTo(index: number): void;
|
|
69
|
+
autoSlideTimer: any;
|
|
70
|
+
startAutoSlide(): void;
|
|
71
|
+
stopAutoSlide(): void;
|
|
72
|
+
restartAutoSlide(): void;
|
|
73
|
+
availableZones: any;
|
|
74
|
+
selectedZone: any;
|
|
75
|
+
getAvailableZones(): void;
|
|
76
|
+
onZoneChange(event: any): void;
|
|
77
|
+
getAnalyseZoneData: any;
|
|
78
|
+
getAnalyseZone(): void;
|
|
44
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<OverallcardsComponent, never>;
|
|
45
80
|
static ɵcmp: i0.ɵɵComponentDeclaration<OverallcardsComponent, "lib-overallcards", never, {}, {}, never, never, false, never>;
|
|
46
81
|
}
|
|
@@ -54,6 +54,15 @@ export declare class ZoneService implements OnDestroy {
|
|
|
54
54
|
getNewZoneFF(data: any): Observable<any>;
|
|
55
55
|
getSelectedZoneFF(data: any): Observable<any>;
|
|
56
56
|
getSelectedZoneFFExport(data: any): Observable<any>;
|
|
57
|
+
getNewHoTColdZoneApi(data: any): Observable<any>;
|
|
58
|
+
getNewZoneShopperAnalysisApi(data: any): Observable<any>;
|
|
59
|
+
getNewZoneShopperAnalysisExportApi(data: any): Observable<any>;
|
|
60
|
+
getNewZoneShopperBubbleChartApi(data: any): Observable<any>;
|
|
61
|
+
getNewCustomerTravelZoneeApi(data: any): Observable<any>;
|
|
62
|
+
getNewAnalysisZoneApi(data: any): Observable<any>;
|
|
63
|
+
getOverallStoreCardsData(data: any): Observable<any>;
|
|
64
|
+
getBouncedCardList(params: any): Observable<any>;
|
|
65
|
+
getEngagersCardList(params: any): Observable<any>;
|
|
57
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZoneService, never>;
|
|
58
67
|
static ɵprov: i0.ɵɵInjectableDeclaration<ZoneService>;
|
|
59
68
|
}
|
|
@@ -11,6 +11,8 @@ export declare class Zonev2Service {
|
|
|
11
11
|
footfall$: Observable<number | null>;
|
|
12
12
|
private reloadDataSubject;
|
|
13
13
|
reloadData$: Observable<boolean>;
|
|
14
|
+
private zonesSubject;
|
|
15
|
+
zones$: Observable<any[]>;
|
|
14
16
|
constructor(http: HttpClient, gs: GlobalStateService);
|
|
15
17
|
triggerReload(): void;
|
|
16
18
|
updateFootfall(count: number): void;
|
|
@@ -37,6 +39,7 @@ export declare class Zonev2Service {
|
|
|
37
39
|
getCustomerJourneyTable(data: any): Observable<any>;
|
|
38
40
|
getCustomerJourneyTableExport(data: any): Observable<any>;
|
|
39
41
|
getCheckTodayReportStatus(params: any): Observable<any>;
|
|
42
|
+
setZones(zones: any[]): void;
|
|
40
43
|
private handleError;
|
|
41
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<Zonev2Service, never>;
|
|
42
45
|
static ɵprov: i0.ɵɵInjectableDeclaration<Zonev2Service>;
|
|
@@ -16,6 +16,7 @@ export declare class TangoAnalyseZoneComponent implements OnInit, OnDestroy {
|
|
|
16
16
|
private readonly destroy$;
|
|
17
17
|
ngOnDestroy(): void;
|
|
18
18
|
constructor(pageInfo: PageInfoService, gs: GlobalStateService, zoneService: ZoneService, cd: ChangeDetectorRef);
|
|
19
|
+
clientData: any;
|
|
19
20
|
ngOnInit(): void;
|
|
20
21
|
hasSegmentationData: boolean;
|
|
21
22
|
updateSegmentationStatus(hasData: boolean): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
3
|
import { ZoneService } from '../services/zone.service';
|
|
4
4
|
import { ToastService } from 'tango-app-ui-shared';
|
|
@@ -6,7 +6,7 @@ import { GlobalStateService } from 'tango-app-ui-global';
|
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { FormBuilder } from '@angular/forms';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class TopPerformingZonesComponent implements OnInit, OnDestroy {
|
|
9
|
+
export declare class TopPerformingZonesComponent implements OnInit, OnDestroy, OnChanges {
|
|
10
10
|
private zone;
|
|
11
11
|
modalService: NgbModal;
|
|
12
12
|
private fb;
|
|
@@ -33,6 +33,8 @@ export declare class TopPerformingZonesComponent implements OnInit, OnDestroy {
|
|
|
33
33
|
private readonly destroy$;
|
|
34
34
|
constructor(zone: NgZone, modalService: NgbModal, fb: FormBuilder, ZoneService: ZoneService, changeDetector: ChangeDetectorRef, toast: ToastService, gs: GlobalStateService, elementRef: ElementRef, router: Router);
|
|
35
35
|
ngOnInit(): void;
|
|
36
|
+
clientData: any;
|
|
37
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
36
38
|
ngOnDestroy(): void;
|
|
37
39
|
getTopPerformingZones(): void;
|
|
38
40
|
zonefootfall(): void;
|
|
@@ -42,5 +44,5 @@ export declare class TopPerformingZonesComponent implements OnInit, OnDestroy {
|
|
|
42
44
|
sortData(column: string): void;
|
|
43
45
|
storeView(data: any): void;
|
|
44
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<TopPerformingZonesComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TopPerformingZonesComponent, "lib-top-performing-zones", never, {}, {}, never, never, false, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TopPerformingZonesComponent, "lib-top-performing-zones", never, { "clientData": { "alias": "clientData"; "required": false; }; }, {}, never, never, false, never>;
|
|
46
48
|
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges, ElementRef } from '@angular/core';
|
|
2
|
+
import { ZoneService } from '../services/zone.service';
|
|
3
|
+
import { Router } from "@angular/router";
|
|
4
|
+
import { Zonev2Service } from '../services/zonev2.service';
|
|
5
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ZoneJourneyComponent implements OnDestroy, OnChanges {
|
|
8
|
+
private service;
|
|
9
|
+
private zoneV2Service;
|
|
10
|
+
private cd;
|
|
11
|
+
private router;
|
|
12
|
+
private ts;
|
|
13
|
+
private root;
|
|
14
|
+
headerData: any;
|
|
15
|
+
clientData: any;
|
|
16
|
+
private destroy$;
|
|
17
|
+
constructor(service: ZoneService, zoneV2Service: Zonev2Service, cd: ChangeDetectorRef, router: Router, ts: ToastService);
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
+
zoneShopperAnalysis: any;
|
|
20
|
+
bubbleChartData: any;
|
|
21
|
+
object: any;
|
|
22
|
+
object1: any;
|
|
23
|
+
zoneSearchText: string;
|
|
24
|
+
showDropdown: boolean;
|
|
25
|
+
searchText: string;
|
|
26
|
+
zoneList: any;
|
|
27
|
+
filteredZones: any;
|
|
28
|
+
zonesInitialized: boolean;
|
|
29
|
+
tempZoneList: any[];
|
|
30
|
+
tempFilteredZones: any[];
|
|
31
|
+
dropdownSearchText: string;
|
|
32
|
+
availableZones: any[];
|
|
33
|
+
getAvailableZones(): void;
|
|
34
|
+
zoneDropdown: ElementRef;
|
|
35
|
+
toggleDropdown(event: MouseEvent): void;
|
|
36
|
+
onDocumentClick(event: MouseEvent): void;
|
|
37
|
+
filterZones(): void;
|
|
38
|
+
applyZones(): void;
|
|
39
|
+
resetZones(): void;
|
|
40
|
+
getZoneJourneyExport(): void;
|
|
41
|
+
zoneCardNoData: boolean;
|
|
42
|
+
zoneCardLoading: boolean;
|
|
43
|
+
getZoneJourney(hiddenZones?: any[]): void;
|
|
44
|
+
zoneChartNoData: boolean;
|
|
45
|
+
zoneChartLoading: boolean;
|
|
46
|
+
getBubble(hiddenZones?: any[]): void;
|
|
47
|
+
createChart(): void;
|
|
48
|
+
ngOnDestroy(): void;
|
|
49
|
+
zones: any;
|
|
50
|
+
activeIndex: number | null;
|
|
51
|
+
toggle(index: number): void;
|
|
52
|
+
searchOpen(): void;
|
|
53
|
+
isMinimized: boolean;
|
|
54
|
+
dragging: boolean;
|
|
55
|
+
offsetX: number;
|
|
56
|
+
offsetY: number;
|
|
57
|
+
floatingPos: {
|
|
58
|
+
top: number;
|
|
59
|
+
left: number;
|
|
60
|
+
};
|
|
61
|
+
expandClose(): void;
|
|
62
|
+
startDrag(event: MouseEvent): void;
|
|
63
|
+
onDrag: (event: MouseEvent) => void;
|
|
64
|
+
stopDrag: () => void;
|
|
65
|
+
nobUpload(): void;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ZoneJourneyComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZoneJourneyComponent, "lib-zone-journey", never, { "headerData": { "alias": "headerData"; "required": false; }; "clientData": { "alias": "clientData"; "required": false; }; }, {}, never, never, false, never>;
|
|
68
|
+
}
|
|
@@ -20,13 +20,15 @@ import * as i18 from "./components/interation-table-client430/interation-table-c
|
|
|
20
20
|
import * as i19 from "./components/interation-table-client459/interation-table-client459.component";
|
|
21
21
|
import * as i20 from "./components/passerby-table/passerby-table.component";
|
|
22
22
|
import * as i21 from "./components/customer-journey-chart/customer-journey-chart.component";
|
|
23
|
-
import * as i22 from "
|
|
24
|
-
import * as i23 from "
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "@
|
|
27
|
-
import * as i26 from "
|
|
23
|
+
import * as i22 from "./components/zone-journey/zone-journey.component";
|
|
24
|
+
import * as i23 from "@angular/common";
|
|
25
|
+
import * as i24 from "./tango-analyse-zone-routing.module";
|
|
26
|
+
import * as i25 from "@ng-bootstrap/ng-bootstrap";
|
|
27
|
+
import * as i26 from "@angular/forms";
|
|
28
|
+
import * as i27 from "tango-app-ui-shared";
|
|
29
|
+
import * as i28 from "@angular/material/autocomplete";
|
|
28
30
|
export declare class TangoAnalyseZoneModule {
|
|
29
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoAnalyseZoneModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoAnalyseZoneModule, [typeof i1.OverallcardsComponent, typeof i2.TangoAnalyseZoneComponent, typeof i3.TopPerformingZonesComponent, typeof i4.ZoneSummaryTableComponent, typeof i5.ZoneConcentrationComponent, typeof i6.ConcentrationheatmapComponent, typeof i7.ZoneV2Component, typeof i6.ConcentrationheatmapComponent, typeof i8.ZonesCardsComponent, typeof i9.StoreHeatmapComponent, typeof i10.ImageDirectoryComponent, typeof i11.ImageDirectoryViewComponent, typeof i12.CustomerJourneyComponent, typeof i13.ReactiveSelectComponent, typeof i14.TopPerformingComponent, typeof i15.SummaryTableComponent, typeof i16.StoreZoomHeatmapComponent, typeof i17.SegmentationComponent, typeof i18.InterationTableClient430Component, typeof i19.InterationTableClient459Component, typeof i20.PasserbyTableComponent, typeof i21.CustomerJourneyChartComponent], [typeof
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoAnalyseZoneModule, [typeof i1.OverallcardsComponent, typeof i2.TangoAnalyseZoneComponent, typeof i3.TopPerformingZonesComponent, typeof i4.ZoneSummaryTableComponent, typeof i5.ZoneConcentrationComponent, typeof i6.ConcentrationheatmapComponent, typeof i7.ZoneV2Component, typeof i6.ConcentrationheatmapComponent, typeof i8.ZonesCardsComponent, typeof i9.StoreHeatmapComponent, typeof i10.ImageDirectoryComponent, typeof i11.ImageDirectoryViewComponent, typeof i12.CustomerJourneyComponent, typeof i13.ReactiveSelectComponent, typeof i14.TopPerformingComponent, typeof i15.SummaryTableComponent, typeof i16.StoreZoomHeatmapComponent, typeof i17.SegmentationComponent, typeof i18.InterationTableClient430Component, typeof i19.InterationTableClient459Component, typeof i20.PasserbyTableComponent, typeof i21.CustomerJourneyChartComponent, typeof i22.ZoneJourneyComponent], [typeof i23.CommonModule, typeof i24.TangoAnalyseZoneRoutingModule, typeof i25.NgbProgressbarModule, typeof i26.FormsModule, typeof i26.ReactiveFormsModule, typeof i27.CommonSharedModule, typeof i25.NgbTooltipModule, typeof i25.NgbModule, typeof i25.NgbAccordionModule, typeof i27.CommonSharedModule, typeof i25.NgbCarouselModule, typeof i28.MatAutocompleteModule], never>;
|
|
31
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoAnalyseZoneModule>;
|
|
32
34
|
}
|