tango-app-ui-analyse-zone 3.3.1-beta.13 → 3.3.1-beta.15
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/overallcards/overallcards.component.mjs +4 -4
- package/esm2022/lib/components/segmentation/segmentation.component.mjs +74 -0
- package/esm2022/lib/components/services/zone.service.mjs +7 -4
- package/esm2022/lib/components/services/zonev2.service.mjs +9 -4
- package/esm2022/lib/components/tango-analyse-zone/tango-analyse-zone.component.mjs +8 -5
- package/esm2022/lib/components/top-performing-zones/top-performing-zones.component.mjs +4 -4
- package/esm2022/lib/components/zone-concentration/concentrationheatmap/concentrationheatmap.component.mjs +4 -4
- package/esm2022/lib/components/zone-concentration/zone-concentration.component.mjs +28 -28
- package/esm2022/lib/components/zone-summary-table/zone-summary-table.component.mjs +11 -9
- package/esm2022/lib/components/zone-v2/customer-journey/customer-journey.component.mjs +35 -37
- 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 +38 -35
- package/esm2022/lib/components/zone-v2/store-heatmap/store-zoom-heatmap/store-zoom-heatmap.component.mjs +4 -4
- package/esm2022/lib/components/zone-v2/summary-table/summary-table.component.mjs +11 -9
- package/esm2022/lib/components/zone-v2/top-performing/top-performing.component.mjs +4 -4
- package/esm2022/lib/components/zone-v2/zone-v2.component.mjs +4 -4
- package/esm2022/lib/components/zone-v2/zones-cards/zones-cards.component.mjs +6 -4
- package/esm2022/lib/tango-analyse-zone-routing.module.mjs +5 -5
- package/esm2022/lib/tango-analyse-zone.module.mjs +9 -6
- package/fesm2022/tango-app-ui-analyse-zone.mjs +248 -162
- package/fesm2022/tango-app-ui-analyse-zone.mjs.map +1 -1
- package/lib/components/segmentation/segmentation.component.d.ts +22 -0
- package/lib/components/services/zone.service.d.ts +1 -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/zone-summary-table/zone-summary-table.component.d.ts +1 -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 +1 -1
- package/lib/components/zone-v2/zones-cards/zones-cards.component.d.ts +1 -0
- package/lib/tango-analyse-zone.module.d.ts +7 -6
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { ZoneService } from '../services/zone.service';
|
|
3
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SegmentationComponent {
|
|
6
|
+
private ZoneService;
|
|
7
|
+
private changeDetector;
|
|
8
|
+
gs: GlobalStateService;
|
|
9
|
+
cardData: any;
|
|
10
|
+
genderAnalysis: any[];
|
|
11
|
+
ageAnalysis: any[];
|
|
12
|
+
cardDataLoading: boolean;
|
|
13
|
+
cardNoData: boolean;
|
|
14
|
+
headerData: any;
|
|
15
|
+
private destroy$;
|
|
16
|
+
constructor(ZoneService: ZoneService, changeDetector: ChangeDetectorRef, gs: GlobalStateService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
getCardData(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentationComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentationComponent, "lib-segmentation", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -25,6 +25,7 @@ export declare class ZoneService {
|
|
|
25
25
|
getTopPerformingStoresTableExport(data: any): Observable<any>;
|
|
26
26
|
getSummaryTableData(data: any): Observable<any>;
|
|
27
27
|
getSummaryTableExport(data: any): Observable<any>;
|
|
28
|
+
getSegmentationData(data: any): Observable<any>;
|
|
28
29
|
private handleError;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZoneService, never>;
|
|
30
31
|
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;
|
|
@@ -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;
|
|
@@ -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,14 @@ 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 "@angular/common";
|
|
20
|
+
import * as i19 from "./tango-analyse-zone-routing.module";
|
|
21
|
+
import * as i20 from "@ng-bootstrap/ng-bootstrap";
|
|
22
|
+
import * as i21 from "@angular/forms";
|
|
23
|
+
import * as i22 from "tango-app-ui-shared";
|
|
23
24
|
export declare class TangoAnalyseZoneModule {
|
|
24
25
|
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
|
|
26
|
+
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.CommonModule, typeof i19.TangoAnalyseZoneRoutingModule, typeof i20.NgbProgressbarModule, typeof i21.FormsModule, typeof i21.ReactiveFormsModule, typeof i22.CommonSharedModule, typeof i20.NgbTooltipModule, typeof i20.NgbModule, typeof i20.NgbAccordionModule, typeof i22.CommonSharedModule, typeof i20.NgbCarouselModule], never>;
|
|
26
27
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoAnalyseZoneModule>;
|
|
27
28
|
}
|