tango-app-ui-analyse-zone 3.3.1-beta.9 → 3.7.1-beta.2
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 +280 -0
- package/esm2022/lib/components/interation-table-client430/interation-table-client430.component.mjs +205 -0
- package/esm2022/lib/components/interation-table-client459/interation-table-client459.component.mjs +87 -0
- package/esm2022/lib/components/overallcards/overallcards.component.mjs +108 -11
- package/esm2022/lib/components/passerby-table/passerby-table.component.mjs +118 -0
- package/esm2022/lib/components/segmentation/segmentation.component.mjs +457 -0
- package/esm2022/lib/components/services/zone.service.mjs +61 -7
- package/esm2022/lib/components/services/zonev2.service.mjs +12 -4
- package/esm2022/lib/components/tango-analyse-zone/tango-analyse-zone.component.mjs +62 -16
- package/esm2022/lib/components/top-performing-zones/top-performing-zones.component.mjs +7 -8
- package/esm2022/lib/components/zone-concentration/concentrationheatmap/concentrationheatmap.component.mjs +34 -5
- package/esm2022/lib/components/zone-concentration/zone-concentration.component.mjs +134 -44
- package/esm2022/lib/components/zone-summary-table/zone-summary-table.component.mjs +60 -12
- package/esm2022/lib/components/zone-v2/customer-journey/customer-journey.component.mjs +31 -86
- package/esm2022/lib/components/zone-v2/image-directory/image-directory.component.mjs +4 -4
- package/esm2022/lib/components/zone-v2/image-directory-view/image-directory-view.component.mjs +4 -4
- package/esm2022/lib/components/zone-v2/reactive-select/reactive-select.component.mjs +4 -4
- package/esm2022/lib/components/zone-v2/store-heatmap/store-heatmap.component.mjs +67 -48
- package/esm2022/lib/components/zone-v2/store-heatmap/store-zoom-heatmap/store-zoom-heatmap.component.mjs +4 -9
- package/esm2022/lib/components/zone-v2/summary-table/summary-table.component.mjs +69 -14
- package/esm2022/lib/components/zone-v2/top-performing/top-performing.component.mjs +22 -14
- package/esm2022/lib/components/zone-v2/zone-v2.component.mjs +46 -16
- package/esm2022/lib/components/zone-v2/zones-cards/zones-cards.component.mjs +7 -5
- package/esm2022/lib/tango-analyse-zone-routing.module.mjs +5 -5
- package/esm2022/lib/tango-analyse-zone.module.mjs +21 -6
- package/fesm2022/tango-app-ui-analyse-zone.mjs +1869 -338
- package/fesm2022/tango-app-ui-analyse-zone.mjs.map +1 -1
- package/lib/components/customer-journey-chart/customer-journey-chart.component.d.ts +50 -0
- package/lib/components/interation-table-client430/interation-table-client430.component.d.ts +28 -0
- package/lib/components/interation-table-client459/interation-table-client459.component.d.ts +24 -0
- package/lib/components/overallcards/overallcards.component.d.ts +18 -3
- package/lib/components/passerby-table/passerby-table.component.d.ts +32 -0
- package/lib/components/segmentation/segmentation.component.d.ts +57 -0
- package/lib/components/services/zone.service.d.ts +22 -3
- package/lib/components/services/zonev2.service.d.ts +4 -0
- package/lib/components/tango-analyse-zone/tango-analyse-zone.component.d.ts +13 -2
- package/lib/components/top-performing-zones/top-performing-zones.component.d.ts +3 -3
- package/lib/components/zone-concentration/concentrationheatmap/concentrationheatmap.component.d.ts +5 -0
- package/lib/components/zone-concentration/zone-concentration.component.d.ts +7 -3
- package/lib/components/zone-summary-table/zone-summary-table.component.d.ts +2 -1
- package/lib/components/zone-v2/customer-journey/customer-journey.component.d.ts +2 -1
- package/lib/components/zone-v2/summary-table/summary-table.component.d.ts +2 -1
- package/lib/components/zone-v2/zone-v2.component.d.ts +9 -1
- package/lib/components/zone-v2/zones-cards/zones-cards.component.d.ts +1 -0
- package/lib/tango-analyse-zone.module.d.ts +11 -6
- package/package.json +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as am5 from "@amcharts/amcharts5";
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { Zonev2Service } from '../services/zonev2.service';
|
|
5
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
6
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CustomerJourneyChartComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
9
|
+
private router;
|
|
10
|
+
private toast;
|
|
11
|
+
private gs;
|
|
12
|
+
private zoneV2Service;
|
|
13
|
+
chartRoot: am5.Root;
|
|
14
|
+
viewMode: 'chart' | 'table';
|
|
15
|
+
headerData: any;
|
|
16
|
+
isPageLoading: boolean;
|
|
17
|
+
sortedColumn: string;
|
|
18
|
+
sortOrder: number;
|
|
19
|
+
searchTerm: string;
|
|
20
|
+
limit: number;
|
|
21
|
+
offset: number;
|
|
22
|
+
totalItems: number;
|
|
23
|
+
paginationSizes: number[];
|
|
24
|
+
customerJourneyTableData: any[];
|
|
25
|
+
customerJourneyChartData: {
|
|
26
|
+
from: string;
|
|
27
|
+
to: string;
|
|
28
|
+
value: number;
|
|
29
|
+
}[];
|
|
30
|
+
private destroy$;
|
|
31
|
+
constructor(router: Router, toast: ToastService, gs: GlobalStateService, zoneV2Service: Zonev2Service);
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
ngAfterViewInit(): void;
|
|
34
|
+
toggleView(view: 'chart' | 'table'): void;
|
|
35
|
+
getCustomerJourneyTableData(): void;
|
|
36
|
+
getCustomerJourneyChartData(): void;
|
|
37
|
+
initializeChart(): void;
|
|
38
|
+
updateChartData(data: any): void;
|
|
39
|
+
addNewZone(): void;
|
|
40
|
+
export(): void;
|
|
41
|
+
removeCircularLinks(data: any[]): any[];
|
|
42
|
+
onSearch(): void;
|
|
43
|
+
onSortTable(column: string): void;
|
|
44
|
+
paginationSize(): number;
|
|
45
|
+
onPageSizeChange(pageSize: number): void;
|
|
46
|
+
onPageChange(pageOffset: any): void;
|
|
47
|
+
ngOnDestroy(): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomerJourneyChartComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomerJourneyChartComponent, "lib-customer-journey-chart", never, {}, {}, never, never, false, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } 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 * as i0 from "@angular/core";
|
|
6
|
+
export declare class InterationTableClient430Component {
|
|
7
|
+
private ZoneService;
|
|
8
|
+
private changeDetector;
|
|
9
|
+
gs: GlobalStateService;
|
|
10
|
+
private toast;
|
|
11
|
+
private el;
|
|
12
|
+
cardData: any;
|
|
13
|
+
cardDataLoading: boolean;
|
|
14
|
+
cardNoData: boolean;
|
|
15
|
+
headerData: any;
|
|
16
|
+
isExport: boolean;
|
|
17
|
+
private root;
|
|
18
|
+
private destroy$;
|
|
19
|
+
constructor(ZoneService: ZoneService, changeDetector: ChangeDetectorRef, gs: GlobalStateService, toast: ToastService, el: ElementRef);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
getCardData(): void;
|
|
23
|
+
createChart(cardData: any[]): void;
|
|
24
|
+
onExport(): void;
|
|
25
|
+
onRateExport(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InterationTableClient430Component, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InterationTableClient430Component, "lib-interation-table-client430", never, {}, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ChangeDetectorRef } 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 * as i0 from "@angular/core";
|
|
6
|
+
export declare class InterationTableClient459Component {
|
|
7
|
+
private ZoneService;
|
|
8
|
+
private changeDetector;
|
|
9
|
+
gs: GlobalStateService;
|
|
10
|
+
private toast;
|
|
11
|
+
cardData: any;
|
|
12
|
+
cardDataLoading: boolean;
|
|
13
|
+
cardNoData: boolean;
|
|
14
|
+
headerData: any;
|
|
15
|
+
isExport: boolean;
|
|
16
|
+
private destroy$;
|
|
17
|
+
constructor(ZoneService: ZoneService, changeDetector: ChangeDetectorRef, gs: GlobalStateService, toast: ToastService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
getCardData(): void;
|
|
21
|
+
onExport(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InterationTableClient459Component, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InterationTableClient459Component, "lib-interation-table-client459", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { ChangeDetectorRef, NgZone } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ZoneService } from '../services/zone.service';
|
|
3
3
|
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
|
+
import { ToastService } from 'tango-app-ui-shared';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class OverallcardsComponent {
|
|
6
|
+
export declare class OverallcardsComponent implements OnDestroy, OnInit {
|
|
6
7
|
private zone;
|
|
7
8
|
private ZoneService;
|
|
8
9
|
private changeDetector;
|
|
9
10
|
gs: GlobalStateService;
|
|
11
|
+
private toast;
|
|
10
12
|
cardData: any;
|
|
11
13
|
genderAnalysis: any[];
|
|
12
14
|
ageAnalysis: any[];
|
|
@@ -15,11 +17,24 @@ export declare class OverallcardsComponent {
|
|
|
15
17
|
headerData: any;
|
|
16
18
|
private genderroot;
|
|
17
19
|
private destroy$;
|
|
18
|
-
constructor(zone: NgZone, ZoneService: ZoneService, changeDetector: ChangeDetectorRef, gs: GlobalStateService);
|
|
20
|
+
constructor(zone: NgZone, ZoneService: ZoneService, changeDetector: ChangeDetectorRef, gs: GlobalStateService, toast: ToastService);
|
|
21
|
+
zoneName: any;
|
|
22
|
+
clientData: any;
|
|
19
23
|
ngOnInit(): void;
|
|
20
24
|
ngOnDestroy(): void;
|
|
21
25
|
genderchart(): void;
|
|
22
26
|
getCardData(): void;
|
|
27
|
+
sortData(column: string): void;
|
|
28
|
+
searchField(): void;
|
|
29
|
+
searchInput: any;
|
|
30
|
+
sortColumName: string;
|
|
31
|
+
sortBy: any;
|
|
32
|
+
sortDirection: any;
|
|
33
|
+
getZoneSegmentionData: any;
|
|
34
|
+
segmentationDataLoading: boolean;
|
|
35
|
+
segmentationNoData: boolean;
|
|
36
|
+
getZoneSegmentation(): void;
|
|
37
|
+
onExport(): void;
|
|
23
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<OverallcardsComponent, never>;
|
|
24
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<OverallcardsComponent, "lib-overallcards", never, {}, {}, never, never, false, never>;
|
|
25
40
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ChangeDetectorRef, 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 * as i0 from "@angular/core";
|
|
6
|
+
export declare class PasserbyTableComponent implements OnInit, OnDestroy {
|
|
7
|
+
private ZoneService;
|
|
8
|
+
private changeDetector;
|
|
9
|
+
gs: GlobalStateService;
|
|
10
|
+
private toast;
|
|
11
|
+
cardData: any;
|
|
12
|
+
cardDataLoading: boolean;
|
|
13
|
+
cardNoData: boolean;
|
|
14
|
+
headerData: any;
|
|
15
|
+
isExport: boolean;
|
|
16
|
+
private destroy$;
|
|
17
|
+
constructor(ZoneService: ZoneService, changeDetector: ChangeDetectorRef, gs: GlobalStateService, toast: ToastService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
itemsPerPage: number;
|
|
21
|
+
currentPage: number;
|
|
22
|
+
totalItems: number;
|
|
23
|
+
sortColumName: string;
|
|
24
|
+
sortBy: any;
|
|
25
|
+
sortDirection: any;
|
|
26
|
+
searchInput: any;
|
|
27
|
+
getCardData(): void;
|
|
28
|
+
onExport(): void;
|
|
29
|
+
sortData(column: string): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasserbyTableComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PasserbyTableComponent, "lib-passerby-table", never, {}, {}, never, never, false, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, 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 * as i0 from "@angular/core";
|
|
6
|
+
export declare class SegmentationComponent implements OnInit, OnDestroy {
|
|
7
|
+
private ZoneService;
|
|
8
|
+
private changeDetector;
|
|
9
|
+
gs: GlobalStateService;
|
|
10
|
+
private toast;
|
|
11
|
+
cardData: any;
|
|
12
|
+
cardDataLoading: boolean;
|
|
13
|
+
cardNoData: boolean;
|
|
14
|
+
cardDataLoading1: boolean;
|
|
15
|
+
cardNoData1: boolean;
|
|
16
|
+
cardDataLoading3: boolean;
|
|
17
|
+
cardNoData3: boolean;
|
|
18
|
+
cardDataLoading4: boolean;
|
|
19
|
+
cardNoData4: boolean;
|
|
20
|
+
cardDataLoading5: boolean;
|
|
21
|
+
cardNoData5: boolean;
|
|
22
|
+
headerData: any;
|
|
23
|
+
isExport: boolean;
|
|
24
|
+
private destroy$;
|
|
25
|
+
zoneName: any;
|
|
26
|
+
constructor(ZoneService: ZoneService, changeDetector: ChangeDetectorRef, gs: GlobalStateService, toast: ToastService);
|
|
27
|
+
dataEmitter: EventEmitter<string>;
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
private root;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
getCardData(): void;
|
|
32
|
+
onExport(): void;
|
|
33
|
+
cardData1: any;
|
|
34
|
+
getCardData1(): void;
|
|
35
|
+
createChart(cardData1: any[]): void;
|
|
36
|
+
onExport1(): void;
|
|
37
|
+
onRateExport(): void;
|
|
38
|
+
cardData3: any;
|
|
39
|
+
getCardData3(): void;
|
|
40
|
+
onExport3(): void;
|
|
41
|
+
sortColumName: string;
|
|
42
|
+
sortBy: any;
|
|
43
|
+
sortDirection: any;
|
|
44
|
+
itemsPerPage3: number;
|
|
45
|
+
currentPage3: number;
|
|
46
|
+
totalItems3: number;
|
|
47
|
+
searchInput3: any;
|
|
48
|
+
sortData(column: string): void;
|
|
49
|
+
cardData4: any;
|
|
50
|
+
getCardData4(): void;
|
|
51
|
+
onExport4(): void;
|
|
52
|
+
cardData5: any;
|
|
53
|
+
getCardData5(): void;
|
|
54
|
+
onExport5(): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentationComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentationComponent, "lib-segmentation", never, {}, { "dataEmitter": "dataEmitter"; }, never, never, false, never>;
|
|
57
|
+
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
2
3
|
import { GlobalStateService } from 'tango-app-ui-global';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ZoneService {
|
|
6
|
+
export declare class ZoneService implements OnDestroy {
|
|
6
7
|
private http;
|
|
7
8
|
private gs;
|
|
8
9
|
zoneAnalysisV1Url: any;
|
|
10
|
+
trafficApiUrl: any;
|
|
9
11
|
private reloadDataSubject;
|
|
10
12
|
reloadData$: Observable<boolean>;
|
|
13
|
+
zoneSegmentation: BehaviorSubject<any>;
|
|
11
14
|
constructor(http: HttpClient, gs: GlobalStateService);
|
|
12
15
|
triggerReload(): void;
|
|
13
16
|
exportAsExcelFile(json: any[], excelFileName: string): void;
|
|
@@ -16,7 +19,6 @@ export declare class ZoneService {
|
|
|
16
19
|
private readonly destroy$;
|
|
17
20
|
ngOnDestroy(): void;
|
|
18
21
|
zoneConcentrationTableData(data: any): Observable<any>;
|
|
19
|
-
zoneConcentrationTableDataExport(data: any): Observable<any>;
|
|
20
22
|
getOverallStoreConcentrationData(data: any): Observable<any>;
|
|
21
23
|
getOverallStoreHeatmapDates(data: any): Observable<any>;
|
|
22
24
|
getCardData(data: any): Observable<any>;
|
|
@@ -25,6 +27,23 @@ export declare class ZoneService {
|
|
|
25
27
|
getTopPerformingStoresTableExport(data: any): Observable<any>;
|
|
26
28
|
getSummaryTableData(data: any): Observable<any>;
|
|
27
29
|
getSummaryTableExport(data: any): Observable<any>;
|
|
30
|
+
getSegmentationData(data: any): Observable<any>;
|
|
31
|
+
getSegmentationDataExport(data: any): Observable<any>;
|
|
32
|
+
getInterationTable430Data(data: any): Observable<any>;
|
|
33
|
+
getInterationTable430DataExport(data: any): Observable<any>;
|
|
34
|
+
getInterationTable459Data(data: any): Observable<any>;
|
|
35
|
+
getInterationTable459DataExport(data: any): Observable<any>;
|
|
36
|
+
zoneInteractionTableExport_430(data: any): Observable<any>;
|
|
37
|
+
zoneConcentrationTableDataExport(data: any): Observable<any>;
|
|
38
|
+
zonesegmentationTable(data: any): Observable<any>;
|
|
39
|
+
getZoneSegmentationTableExport(data: any): Observable<any>;
|
|
40
|
+
getPasserByTable430Data(data: any): Observable<any>;
|
|
41
|
+
getPasserByTable430DataExport(data: any): Observable<any>;
|
|
42
|
+
getInteractionTableData(data: any): Observable<any>;
|
|
43
|
+
getInteractionTable430Export(data: any): Observable<any>;
|
|
44
|
+
getZonewiseCustomerFunnelData(data: any): Observable<any>;
|
|
45
|
+
getZonewiseCustomerFunnelExport(data: any): Observable<any>;
|
|
46
|
+
getCheckTodayReportStatus(params: any): Observable<any>;
|
|
28
47
|
private handleError;
|
|
29
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZoneService, never>;
|
|
30
49
|
static ɵprov: i0.ɵɵInjectableDeclaration<ZoneService>;
|
|
@@ -7,10 +7,13 @@ export declare class Zonev2Service {
|
|
|
7
7
|
private gs;
|
|
8
8
|
zoneAnalysisUrl: any;
|
|
9
9
|
trafficApiUrl: any;
|
|
10
|
+
private footfallSubject;
|
|
11
|
+
footfall$: Observable<number | null>;
|
|
10
12
|
private reloadDataSubject;
|
|
11
13
|
reloadData$: Observable<boolean>;
|
|
12
14
|
constructor(http: HttpClient, gs: GlobalStateService);
|
|
13
15
|
triggerReload(): void;
|
|
16
|
+
updateFootfall(count: number): void;
|
|
14
17
|
exportAsExcelFile(json: any[], excelFileName: string): void;
|
|
15
18
|
saveAsExcelFile(buffer: any, fileName: string): void;
|
|
16
19
|
saveAsTemplate(buffer: any, fileName: string): void;
|
|
@@ -33,6 +36,7 @@ export declare class Zonev2Service {
|
|
|
33
36
|
getCustomerJourney(data: any): Observable<any>;
|
|
34
37
|
getCustomerJourneyTable(data: any): Observable<any>;
|
|
35
38
|
getCustomerJourneyTableExport(data: any): Observable<any>;
|
|
39
|
+
getCheckTodayReportStatus(params: any): Observable<any>;
|
|
36
40
|
private handleError;
|
|
37
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<Zonev2Service, never>;
|
|
38
42
|
static ɵprov: i0.ɵɵInjectableDeclaration<Zonev2Service>;
|
|
@@ -1,16 +1,27 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
1
2
|
import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
|
|
3
|
+
import { ZoneService } from '../services/zone.service';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TangoAnalyseZoneComponent {
|
|
5
|
+
export declare class TangoAnalyseZoneComponent implements OnInit, OnDestroy {
|
|
4
6
|
private pageInfo;
|
|
5
7
|
gs: GlobalStateService;
|
|
8
|
+
private zoneService;
|
|
9
|
+
private cd;
|
|
6
10
|
storeId: number;
|
|
11
|
+
clientId: number;
|
|
7
12
|
headerData: any;
|
|
13
|
+
showReportProcessingCard: boolean;
|
|
14
|
+
yesterdayDate: string;
|
|
15
|
+
dataProcessedLoading: boolean;
|
|
8
16
|
private readonly destroy$;
|
|
9
17
|
ngOnDestroy(): void;
|
|
10
|
-
constructor(pageInfo: PageInfoService, gs: GlobalStateService);
|
|
18
|
+
constructor(pageInfo: PageInfoService, gs: GlobalStateService, zoneService: ZoneService, cd: ChangeDetectorRef);
|
|
11
19
|
ngOnInit(): void;
|
|
20
|
+
hasSegmentationData: boolean;
|
|
21
|
+
updateSegmentationStatus(hasData: boolean): void;
|
|
12
22
|
setPageData(): void;
|
|
13
23
|
updateStoreId(): void;
|
|
24
|
+
checkTodayReportStatus(): void;
|
|
14
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoAnalyseZoneComponent, never>;
|
|
15
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<TangoAnalyseZoneComponent, "lib-tango-analyse-zone", never, {}, {}, never, never, false, never>;
|
|
16
27
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import { FormBuilder } from '@angular/forms';
|
|
4
3
|
import { ZoneService } from '../services/zone.service';
|
|
5
4
|
import { ToastService } from 'tango-app-ui-shared';
|
|
6
5
|
import { GlobalStateService } from 'tango-app-ui-global';
|
|
7
6
|
import { Router } from '@angular/router';
|
|
7
|
+
import { FormBuilder } from '@angular/forms';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class TopPerformingZonesComponent {
|
|
9
|
+
export declare class TopPerformingZonesComponent implements OnInit, OnDestroy {
|
|
10
10
|
private zone;
|
|
11
11
|
modalService: NgbModal;
|
|
12
12
|
private fb;
|
package/lib/components/zone-concentration/concentrationheatmap/concentrationheatmap.component.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { NgbSlideEvent } from '@ng-bootstrap/ng-bootstrap';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class ConcentrationheatmapComponent {
|
|
3
4
|
imageURLV1: [];
|
|
5
|
+
currentSlideIndex: number;
|
|
6
|
+
currentSlide: number;
|
|
4
7
|
overallStoreData: {
|
|
5
8
|
ImageURLs: Array<{
|
|
6
9
|
URL: string;
|
|
@@ -9,6 +12,8 @@ export declare class ConcentrationheatmapComponent {
|
|
|
9
12
|
};
|
|
10
13
|
constructor();
|
|
11
14
|
ngOnInit(): void;
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
onSlideChange(slideEvent: NgbSlideEvent): void;
|
|
12
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConcentrationheatmapComponent, never>;
|
|
13
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConcentrationheatmapComponent, "lib-concentrationheatmap", never, { "imageURLV1": { "alias": "imageURLV1"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
19
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
|
3
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { NgbModal, NgbSlideEvent } from '@ng-bootstrap/ng-bootstrap';
|
|
4
4
|
import { ZoneService } from '../services/zone.service';
|
|
5
5
|
import { ToastService } from 'tango-app-ui-shared';
|
|
6
6
|
import { GlobalStateService } from 'tango-app-ui-global';
|
|
7
7
|
import dayjs from 'dayjs';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ZoneConcentrationComponent {
|
|
9
|
+
export declare class ZoneConcentrationComponent implements OnInit, OnDestroy {
|
|
10
10
|
private zone;
|
|
11
11
|
modalService: NgbModal;
|
|
12
12
|
private fb;
|
|
@@ -40,9 +40,12 @@ export declare class ZoneConcentrationComponent {
|
|
|
40
40
|
disableMonth: boolean;
|
|
41
41
|
customArrow: boolean;
|
|
42
42
|
isExport: boolean;
|
|
43
|
+
currentSlide: number;
|
|
44
|
+
currentSlideIndex: number;
|
|
43
45
|
private readonly destroy$;
|
|
44
46
|
dateList: ElementRef;
|
|
45
47
|
ngOnDestroy(): void;
|
|
48
|
+
storeIdarray: any;
|
|
46
49
|
constructor(zone: NgZone, modalService: NgbModal, fb: FormBuilder, ZoneService: ZoneService, changeDetector: ChangeDetectorRef, toast: ToastService, gs: GlobalStateService, elementRef: ElementRef);
|
|
47
50
|
ngOnInit(): void;
|
|
48
51
|
getZoneConcentrationData(): void;
|
|
@@ -57,6 +60,7 @@ export declare class ZoneConcentrationComponent {
|
|
|
57
60
|
concentrationHeatmap(imageURLV1: string): void;
|
|
58
61
|
scrollLeft(): void;
|
|
59
62
|
scrollRight(): void;
|
|
63
|
+
onSlideChange(slideEvent: NgbSlideEvent): void;
|
|
60
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZoneConcentrationComponent, never>;
|
|
61
65
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZoneConcentrationComponent, "lib-zone-concentration", never, {}, {}, never, never, false, never>;
|
|
62
66
|
}
|
|
@@ -17,7 +17,7 @@ export declare class ZoneSummaryTableComponent {
|
|
|
17
17
|
itemsPerPage: number;
|
|
18
18
|
currentPage: number;
|
|
19
19
|
totalItems: number;
|
|
20
|
-
paginationSizes:
|
|
20
|
+
paginationSizes: any[];
|
|
21
21
|
pageSize: number;
|
|
22
22
|
sortColumName: string;
|
|
23
23
|
sortBy: any;
|
|
@@ -34,6 +34,7 @@ export declare class ZoneSummaryTableComponent {
|
|
|
34
34
|
ngOnDestroy(): void;
|
|
35
35
|
ngOnInit(): void;
|
|
36
36
|
getSummayTable(): void;
|
|
37
|
+
getSummayTable1(): void;
|
|
37
38
|
onExport(): void;
|
|
38
39
|
searchField(): void;
|
|
39
40
|
sortData(column: string): void;
|
|
@@ -44,13 +44,14 @@ export declare class CustomerJourneyComponent {
|
|
|
44
44
|
headerData: any;
|
|
45
45
|
sortDirection: any;
|
|
46
46
|
showAverage: boolean;
|
|
47
|
+
totalfootfallCount: number | null;
|
|
47
48
|
constructor(zone: NgZone, elRef: ElementRef, fb: FormBuilder, Zonev2Service: Zonev2Service, changeDetector: ChangeDetectorRef, gs: GlobalStateService, modalService: NgbModal, router: Router, route: ActivatedRoute, toast: ToastService);
|
|
48
49
|
ngOnDestroy(): void;
|
|
49
50
|
ngAfterViewInit(): void;
|
|
50
51
|
ngOnInit(): void;
|
|
51
52
|
getCustomerJourney(): void;
|
|
52
53
|
initializeChart(): void;
|
|
53
|
-
updateChart(data: any[]): void;
|
|
54
|
+
updateChart(data: any[], footfallCount: number | null): void;
|
|
54
55
|
removeCircularLinks(data: any[]): any[];
|
|
55
56
|
setColorStep(series: any, step: number): void;
|
|
56
57
|
onValueChange(event: any): void;
|
|
@@ -17,7 +17,7 @@ export declare class SummaryTableComponent {
|
|
|
17
17
|
itemsPerPage: number;
|
|
18
18
|
currentPage: number;
|
|
19
19
|
totalItems: number;
|
|
20
|
-
paginationSizes:
|
|
20
|
+
paginationSizes: any[];
|
|
21
21
|
pageSize: number;
|
|
22
22
|
sortColumName: string;
|
|
23
23
|
sortBy: any;
|
|
@@ -34,6 +34,7 @@ export declare class SummaryTableComponent {
|
|
|
34
34
|
ngOnDestroy(): void;
|
|
35
35
|
ngOnInit(): void;
|
|
36
36
|
getSummayTable(): void;
|
|
37
|
+
getSummayTable1(): void;
|
|
37
38
|
onExport(): void;
|
|
38
39
|
searchField(): void;
|
|
39
40
|
sortData(column: string): void;
|
|
@@ -1,16 +1,24 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
1
2
|
import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
|
|
3
|
+
import { ZoneService } from '../services/zone.service';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class ZoneV2Component {
|
|
4
6
|
private pageInfo;
|
|
5
7
|
gs: GlobalStateService;
|
|
8
|
+
private zoneService;
|
|
9
|
+
private cd;
|
|
6
10
|
storeId: number;
|
|
7
11
|
headerData: any;
|
|
12
|
+
showReportProcessingCard: boolean;
|
|
13
|
+
yesterdayDate: string;
|
|
14
|
+
dataProcessedLoading: boolean;
|
|
8
15
|
private readonly destroy$;
|
|
9
16
|
ngOnDestroy(): void;
|
|
10
|
-
constructor(pageInfo: PageInfoService, gs: GlobalStateService);
|
|
17
|
+
constructor(pageInfo: PageInfoService, gs: GlobalStateService, zoneService: ZoneService, cd: ChangeDetectorRef);
|
|
11
18
|
ngOnInit(): void;
|
|
12
19
|
setPageData(): void;
|
|
13
20
|
updateStoreId(): void;
|
|
21
|
+
checkTodayReportStatus(): void;
|
|
14
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZoneV2Component, never>;
|
|
15
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZoneV2Component, "lib-zone-v2", never, {}, {}, never, never, false, never>;
|
|
16
24
|
}
|
|
@@ -11,6 +11,7 @@ export declare class ZonesCardsComponent {
|
|
|
11
11
|
private ActivatedRoute;
|
|
12
12
|
zoneCardsData: any;
|
|
13
13
|
headerData: any;
|
|
14
|
+
zoneCardsFootfall: number | undefined;
|
|
14
15
|
private destroy$;
|
|
15
16
|
constructor(Zonev2Service: Zonev2Service, changeDetector: ChangeDetectorRef, gs: GlobalStateService, router: Router, ActivatedRoute: ActivatedRoute);
|
|
16
17
|
ngOnInit(): void;
|
|
@@ -15,13 +15,18 @@ import * as i13 from "./components/zone-v2/reactive-select/reactive-select.compo
|
|
|
15
15
|
import * as i14 from "./components/zone-v2/top-performing/top-performing.component";
|
|
16
16
|
import * as i15 from "./components/zone-v2/summary-table/summary-table.component";
|
|
17
17
|
import * as i16 from "./components/zone-v2/store-heatmap/store-zoom-heatmap/store-zoom-heatmap.component";
|
|
18
|
-
import * as i17 from "
|
|
19
|
-
import * as i18 from "./
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "
|
|
18
|
+
import * as i17 from "./components/segmentation/segmentation.component";
|
|
19
|
+
import * as i18 from "./components/interation-table-client430/interation-table-client430.component";
|
|
20
|
+
import * as i19 from "./components/interation-table-client459/interation-table-client459.component";
|
|
21
|
+
import * as i20 from "./components/passerby-table/passerby-table.component";
|
|
22
|
+
import * as i21 from "./components/customer-journey-chart/customer-journey-chart.component";
|
|
23
|
+
import * as i22 from "@angular/common";
|
|
24
|
+
import * as i23 from "./tango-analyse-zone-routing.module";
|
|
25
|
+
import * as i24 from "@ng-bootstrap/ng-bootstrap";
|
|
26
|
+
import * as i25 from "@angular/forms";
|
|
27
|
+
import * as i26 from "tango-app-ui-shared";
|
|
23
28
|
export declare class TangoAnalyseZoneModule {
|
|
24
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoAnalyseZoneModule, never>;
|
|
25
|
-
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
|
|
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 i22.CommonModule, typeof i23.TangoAnalyseZoneRoutingModule, typeof i24.NgbProgressbarModule, typeof i25.FormsModule, typeof i25.ReactiveFormsModule, typeof i26.CommonSharedModule, typeof i24.NgbTooltipModule, typeof i24.NgbModule, typeof i24.NgbAccordionModule, typeof i26.CommonSharedModule, typeof i24.NgbCarouselModule], never>;
|
|
26
31
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoAnalyseZoneModule>;
|
|
27
32
|
}
|