tango-app-ui-store-builder 1.0.46 → 1.0.48
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/collection-update-ai/collection-update-ai.component.mjs +3 -3
- package/esm2022/lib/components/collection-update-ai/components/dynamic-filter/dynamic-filter.component.mjs +183 -0
- package/esm2022/lib/components/collection-update-ai/components/store-dropdown/store-dropdown.component.mjs +211 -0
- package/esm2022/lib/components/collection-update-ai/components/store-fixture/store-fixture.component.mjs +422 -0
- package/esm2022/lib/components/collection-update-ai/components/store-select/store-select.component.mjs +148 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/cancel-confirmation-modal/cancel-confirmation-modal.component.mjs +20 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/find-replace-layout.component.mjs +359 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/prepare-template/batch-confirmation-modal/batch-confirmation-modal.component.mjs +23 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/prepare-template/prepare-template.component.mjs +2524 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/review-replace/approve-complete-modal/approve-complete-modal.component.mjs +66 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/review-replace/fixture-before-after/fixture-before-after.component.mjs +85 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-layout/review-replace/review-replace.component.mjs +2039 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-table/find-replace-table.component.mjs +433 -0
- package/esm2022/lib/components/collection-update-ai/find-replace-table/reschedule-modal/reschedule-modal.component.mjs +76 -0
- package/esm2022/lib/components/collection-update-ai/models/find-replace.model.mjs +2 -0
- package/esm2022/lib/components/collection-update-ai/services/data.service.mjs +291 -0
- package/esm2022/lib/components/create-fixture/create-fixture.component.mjs +233 -138
- package/esm2022/lib/components/fixture-template/template-assign-stores/preview-modal/preview-modal.component.mjs +4 -2
- package/esm2022/lib/components/fixture-template/template-assign-stores/template-assign-stores.component.mjs +4 -2
- package/esm2022/lib/components/fixture-template/template-basic-details/template-basic-details.component.mjs +40 -4
- package/esm2022/lib/components/fixture-template/template-products/template-products.component.mjs +3 -3
- package/esm2022/lib/components/fixture-template/template-summary/template-summary.component.mjs +3 -3
- package/esm2022/lib/components/fixture-template/template-vms/template-vms.component.mjs +108 -79
- package/esm2022/lib/components/fixture-template-table/fixture-template-table.component.mjs +33 -4
- package/esm2022/lib/components/fixture-template-tree/fixture-template-tree.component.mjs +7 -3
- package/esm2022/lib/components/manage-plano/rollout-table/rollout-table.component.mjs +25 -3
- package/esm2022/lib/components/manage-store-plano/manage-store-plano.component.mjs +4 -2
- package/esm2022/lib/components/manage-store-plano/template-basic-details/template-basic-details.component.mjs +27 -4
- package/esm2022/lib/components/manage-store-plano/template-products/template-products.component.mjs +3 -3
- package/esm2022/lib/components/manage-store-plano/template-vms/template-vms.component.mjs +10 -14
- package/esm2022/lib/components/manage-store-plano/verification-feedback/editable-fixture/editable-fixture.component.mjs +3 -3
- package/esm2022/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.mjs +3 -3
- package/esm2022/lib/components/planogram/merch-compliance/fixture-products/fixture-products.component.mjs +75 -31
- package/esm2022/lib/components/planogram/merch-compliance/merch-compliance.component.mjs +7 -8
- package/esm2022/lib/components/planogram/merch-compliance/product-locator/misplaced-product-fixture/misplaced-product-fixture.component.mjs +234 -0
- package/esm2022/lib/components/planogram/merch-compliance/product-locator/product-locator.component.mjs +1110 -0
- package/esm2022/lib/components/planogram/merch-compliance/product-locator/product-zone-locator/product-zone-locator.component.mjs +52 -0
- package/esm2022/lib/components/planogram/merch-compliance/zone-products/zone-products.component.mjs +36 -10
- package/esm2022/lib/components/planogram/plano-analytics/analytics-popup/analytics-popup.component.mjs +68 -0
- package/esm2022/lib/components/planogram/plano-analytics/date-range-picker/date-range-picker.component.mjs +92 -0
- package/esm2022/lib/components/planogram/plano-analytics/fixture-analytics/fixture-analytics.component.mjs +645 -0
- package/esm2022/lib/components/planogram/plano-analytics/plano-analytics.component.mjs +1276 -0
- package/esm2022/lib/components/planogram/plano-details-parent/plano-details-parent.component.mjs +33 -15
- package/esm2022/lib/components/planogram/plano-overview/fixture-overview/fixture-overview.component.mjs +41 -35
- package/esm2022/lib/components/planogram/plano-overview/plano-comparison/plano-comparison.component.mjs +8 -4
- package/esm2022/lib/components/planogram/plano-overview/plano-overview.component.mjs +19 -12
- package/esm2022/lib/components/planogram/plano-table/plano-table.component.mjs +3 -3
- package/esm2022/lib/components/store-plano/store-plano-tree-view/store-plano-tree-view.component.mjs +3 -2
- package/esm2022/lib/components/store-plano/store-plano.component.mjs +4 -2
- package/esm2022/lib/interfaces/fixture-library.interface.mjs +1 -1
- package/esm2022/lib/services/store-builder.service.mjs +49 -1
- package/esm2022/lib/tango-store-builder-routing.module.mjs +23 -1
- package/esm2022/lib/tango-store-builder.module.mjs +42 -5
- package/fesm2022/tango-app-ui-store-builder.mjs +12677 -2064
- package/fesm2022/tango-app-ui-store-builder.mjs.map +1 -1
- package/lib/components/collection-update-ai/components/dynamic-filter/dynamic-filter.component.d.ts +51 -0
- package/lib/components/collection-update-ai/components/store-dropdown/store-dropdown.component.d.ts +36 -0
- package/lib/components/collection-update-ai/components/store-fixture/store-fixture.component.d.ts +50 -0
- package/lib/components/collection-update-ai/components/store-select/store-select.component.d.ts +33 -0
- package/lib/components/collection-update-ai/find-replace-layout/cancel-confirmation-modal/cancel-confirmation-modal.component.d.ts +9 -0
- package/lib/components/collection-update-ai/find-replace-layout/find-replace-layout.component.d.ts +58 -0
- package/lib/components/collection-update-ai/find-replace-layout/prepare-template/batch-confirmation-modal/batch-confirmation-modal.component.d.ts +10 -0
- package/lib/components/collection-update-ai/find-replace-layout/prepare-template/prepare-template.component.d.ts +141 -0
- package/lib/components/collection-update-ai/find-replace-layout/review-replace/approve-complete-modal/approve-complete-modal.component.d.ts +18 -0
- package/lib/components/collection-update-ai/find-replace-layout/review-replace/fixture-before-after/fixture-before-after.component.d.ts +19 -0
- package/lib/components/collection-update-ai/find-replace-layout/review-replace/review-replace.component.d.ts +116 -0
- package/lib/components/collection-update-ai/find-replace-table/find-replace-table.component.d.ts +63 -0
- package/lib/components/collection-update-ai/find-replace-table/reschedule-modal/reschedule-modal.component.d.ts +19 -0
- package/lib/components/collection-update-ai/models/find-replace.model.d.ts +55 -0
- package/lib/components/collection-update-ai/services/data.service.d.ts +70 -0
- package/lib/components/create-fixture/create-fixture.component.d.ts +15 -14
- package/lib/components/fixture-template/template-basic-details/template-basic-details.component.d.ts +2 -0
- package/lib/components/fixture-template/template-vms/template-vms.component.d.ts +12 -12
- package/lib/components/fixture-template-table/fixture-template-table.component.d.ts +2 -0
- package/lib/components/manage-plano/rollout-table/rollout-table.component.d.ts +4 -2
- package/lib/components/manage-plano/verification-table/verification-table.component.d.ts +4 -4
- package/lib/components/manage-store-plano/template-basic-details/template-basic-details.component.d.ts +2 -0
- package/lib/components/manage-store-plano/template-vms/template-vms.component.d.ts +0 -1
- package/lib/components/planogram/merch-compliance/fixture-products/fixture-products.component.d.ts +8 -2
- package/lib/components/planogram/merch-compliance/merch-compliance.component.d.ts +1 -3
- package/lib/components/planogram/merch-compliance/product-locator/misplaced-product-fixture/misplaced-product-fixture.component.d.ts +47 -0
- package/lib/components/planogram/merch-compliance/product-locator/product-locator.component.d.ts +70 -0
- package/lib/components/planogram/merch-compliance/product-locator/product-zone-locator/product-zone-locator.component.d.ts +16 -0
- package/lib/components/planogram/merch-compliance/zone-products/zone-products.component.d.ts +13 -3
- package/lib/components/planogram/plano-analytics/analytics-popup/analytics-popup.component.d.ts +25 -0
- package/lib/components/planogram/plano-analytics/date-range-picker/date-range-picker.component.d.ts +24 -0
- package/lib/components/planogram/plano-analytics/fixture-analytics/fixture-analytics.component.d.ts +93 -0
- package/lib/components/planogram/plano-analytics/plano-analytics.component.d.ts +97 -0
- package/lib/components/planogram/plano-details-parent/plano-details-parent.component.d.ts +8 -3
- package/lib/components/planogram/plano-overview/fixture-overview/fixture-overview.component.d.ts +2 -4
- package/lib/interfaces/fixture-library.interface.d.ts +1 -1
- package/lib/services/store-builder.service.d.ts +25 -0
- package/lib/tango-store-builder.module.d.ts +31 -21
- package/package.json +1 -1
package/lib/components/planogram/plano-analytics/fixture-analytics/fixture-analytics.component.d.ts
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
+
import { VmLibraryList } from "../../../../interfaces/vm-library.interface";
|
|
4
|
+
import { StoreBuilderService } from "../../../../services/store-builder.service";
|
|
5
|
+
import { GlobalStateService } from "tango-app-ui-global";
|
|
6
|
+
import { ShelfConfig, SectionConfig } from "../../../../interfaces/fixture-template.interface";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FixtureAnalyticsComponent implements OnInit, OnChanges, AfterViewChecked, OnDestroy {
|
|
9
|
+
private storeBuilderService;
|
|
10
|
+
private gs;
|
|
11
|
+
private cd;
|
|
12
|
+
private ngbModal;
|
|
13
|
+
fixtureDetails: any;
|
|
14
|
+
vmList: VmLibraryList[];
|
|
15
|
+
floorData: any;
|
|
16
|
+
startDate: any;
|
|
17
|
+
endDate: any;
|
|
18
|
+
onClose: EventEmitter<any>;
|
|
19
|
+
changeFixture: EventEmitter<{
|
|
20
|
+
fixtureId: string;
|
|
21
|
+
fixtureName: string;
|
|
22
|
+
shelfId: string;
|
|
23
|
+
zone: string;
|
|
24
|
+
}>;
|
|
25
|
+
fixtureTemplateDetails: any;
|
|
26
|
+
clientId: string;
|
|
27
|
+
imgCDN: string;
|
|
28
|
+
zoneColor: {
|
|
29
|
+
right: {
|
|
30
|
+
bg: string;
|
|
31
|
+
text: string;
|
|
32
|
+
border: string;
|
|
33
|
+
productBorder: string;
|
|
34
|
+
productBg: string;
|
|
35
|
+
};
|
|
36
|
+
wrong: {
|
|
37
|
+
bg: string;
|
|
38
|
+
text: string;
|
|
39
|
+
border: string;
|
|
40
|
+
productBorder: string;
|
|
41
|
+
productBg: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
sectionByZones: {
|
|
45
|
+
zone: string;
|
|
46
|
+
section: {
|
|
47
|
+
brands: string[];
|
|
48
|
+
categories: string[];
|
|
49
|
+
shelves: string[];
|
|
50
|
+
shelfDivs: (HTMLElement | null | undefined)[];
|
|
51
|
+
products: any;
|
|
52
|
+
improper: boolean;
|
|
53
|
+
missing: number;
|
|
54
|
+
misplaced: number;
|
|
55
|
+
capacity: number;
|
|
56
|
+
};
|
|
57
|
+
}[];
|
|
58
|
+
isPageLoading: boolean;
|
|
59
|
+
showVMs: boolean;
|
|
60
|
+
private isVMInitialized;
|
|
61
|
+
private isBCInitialized;
|
|
62
|
+
private destroy$;
|
|
63
|
+
engagersList: any;
|
|
64
|
+
fixtureFootfall: any;
|
|
65
|
+
constructor(storeBuilderService: StoreBuilderService, gs: GlobalStateService, cd: ChangeDetectorRef, ngbModal: NgbModal);
|
|
66
|
+
ngOnInit(): void;
|
|
67
|
+
getEngagersList(): void;
|
|
68
|
+
topEngagers(): any;
|
|
69
|
+
leastEngagers(): any[];
|
|
70
|
+
getFixtureFootfall(): void;
|
|
71
|
+
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
72
|
+
ngAfterViewChecked(): void;
|
|
73
|
+
getFixtureShelfDetails(data: any): Promise<void>;
|
|
74
|
+
getSelectedVM(vm: any): VmLibraryList | undefined;
|
|
75
|
+
handleVmPositionAndSize(): boolean;
|
|
76
|
+
applyShelfColors(): boolean;
|
|
77
|
+
constructSequentialSection(shelfDivs: (HTMLElement | null)[]): void;
|
|
78
|
+
groupShelvesByZone(input: ShelfConfig[]): SectionConfig[];
|
|
79
|
+
applySectionConfigToShelves(sections: SectionConfig[]): ShelfConfig[];
|
|
80
|
+
openZoneLevelProductModalByProduct(p: any, s: any): void;
|
|
81
|
+
openZoneLevelProductModal(zoneData: any, level: string, pLocator?: {
|
|
82
|
+
s: number;
|
|
83
|
+
pid: any;
|
|
84
|
+
}): void;
|
|
85
|
+
openStoreBoxProducts(): void;
|
|
86
|
+
distributeRoundRobin(products: any, trayRows: number): any;
|
|
87
|
+
getShelfRowWithProducts(): void;
|
|
88
|
+
onClickClose(): void;
|
|
89
|
+
openPopup(type: any): void;
|
|
90
|
+
ngOnDestroy(): void;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FixtureAnalyticsComponent, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FixtureAnalyticsComponent, "lib-fixture-analytics", never, { "fixtureDetails": { "alias": "fixtureDetails"; "required": false; }; "vmList": { "alias": "vmList"; "required": false; }; "floorData": { "alias": "floorData"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; }, { "onClose": "onClose"; "changeFixture": "changeFixture"; }, never, never, false, never>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { ElementRef, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { StoreBuilderService } from '../../../services/store-builder.service';
|
|
3
|
+
import * as fabric from "fabric";
|
|
4
|
+
import { VmLibraryList } from "../../../interfaces/vm-library.interface";
|
|
5
|
+
import { TitleCasePipe } from "@angular/common";
|
|
6
|
+
import { GlobalStateService } from 'tango-app-ui-global';
|
|
7
|
+
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
8
|
+
import dayjs from 'dayjs';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class PlanoAnalyticsComponent implements OnInit {
|
|
11
|
+
private apiService;
|
|
12
|
+
private gs;
|
|
13
|
+
private titleCase;
|
|
14
|
+
private ngbModal;
|
|
15
|
+
floorData: any;
|
|
16
|
+
vmList: VmLibraryList[];
|
|
17
|
+
footfallList: any;
|
|
18
|
+
cardData: any;
|
|
19
|
+
topPerformingZoneList: any;
|
|
20
|
+
dayjs: dayjs.Dayjs;
|
|
21
|
+
engagersList: any;
|
|
22
|
+
canvasEl: ElementRef<HTMLCanvasElement>;
|
|
23
|
+
containerRef: ElementRef<HTMLDivElement>;
|
|
24
|
+
startDate: string;
|
|
25
|
+
endDate: string;
|
|
26
|
+
pageLoading: boolean;
|
|
27
|
+
showCard: boolean;
|
|
28
|
+
onResize(): void;
|
|
29
|
+
canvas: fabric.Canvas;
|
|
30
|
+
clientId: string;
|
|
31
|
+
cdnUrl: string;
|
|
32
|
+
zoomLevel: number;
|
|
33
|
+
fixtureHeight: number;
|
|
34
|
+
fixtureWidth: number;
|
|
35
|
+
wallThickness: number;
|
|
36
|
+
verticalMargin: number;
|
|
37
|
+
isPageLoading: boolean;
|
|
38
|
+
selectedFixture: any;
|
|
39
|
+
selectedFixtureData: any;
|
|
40
|
+
private activeHighlight;
|
|
41
|
+
private cancelHighlightBlink;
|
|
42
|
+
private readonly destroy$;
|
|
43
|
+
constructor(apiService: StoreBuilderService, gs: GlobalStateService, titleCase: TitleCasePipe, ngbModal: NgbModal);
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
getDetails(): Promise<void>;
|
|
46
|
+
getFootfallDetails(): void;
|
|
47
|
+
getTopPerformingZones(): void;
|
|
48
|
+
getStoreEngagers(): void;
|
|
49
|
+
topItems(): any;
|
|
50
|
+
topEngagers(): any;
|
|
51
|
+
leastEngagers(): any;
|
|
52
|
+
nonEngagers(): any;
|
|
53
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
54
|
+
ngAfterViewInit(): void;
|
|
55
|
+
resizeCanvas(): void;
|
|
56
|
+
setupZoomHandlers(): void;
|
|
57
|
+
renderFloor(): Promise<void>;
|
|
58
|
+
private fitCanvasToLayoutAnimated;
|
|
59
|
+
drawLayoutElements(): Promise<void>;
|
|
60
|
+
drawWall(canvas: fabric.Canvas, x: number, y: number, height: number, width: number, elementData: any): fabric.Group & {
|
|
61
|
+
objType: string;
|
|
62
|
+
data: any;
|
|
63
|
+
};
|
|
64
|
+
drawEntrance(canvas: fabric.Canvas, x: number, y: number, width: number, height: number, arrowWidth: number, elementData: any): void;
|
|
65
|
+
drawFixture(canvas: fabric.Canvas, x: number, y: number, height: number, width: number, fixtureData: any): Promise<fabric.Group & {
|
|
66
|
+
wallIndex: number;
|
|
67
|
+
fixtureIndex: number;
|
|
68
|
+
fixtureId: string;
|
|
69
|
+
fixtureType: "wall" | "floor";
|
|
70
|
+
issue: boolean;
|
|
71
|
+
issueData: any;
|
|
72
|
+
taskType: string;
|
|
73
|
+
vmConfig: [];
|
|
74
|
+
objType: string;
|
|
75
|
+
}>;
|
|
76
|
+
selectFixture(target: any): void;
|
|
77
|
+
drawLabeledRectangle(canvas: fabric.Canvas, x: number, y: number, width: number, height: number, element: any): fabric.Group;
|
|
78
|
+
toPixels(value: number, unit: string, dpi?: number): number;
|
|
79
|
+
calcMerchCompliancePercentage(): number;
|
|
80
|
+
private getFullLayoutBounds;
|
|
81
|
+
rotateCanvas(canvas: fabric.Canvas, angleDeg: number): void;
|
|
82
|
+
downloadCanvas(): void;
|
|
83
|
+
highlightFixture(group: any, blink?: boolean): void;
|
|
84
|
+
removeHighlight(): void;
|
|
85
|
+
onChangeFixture({ fixtureId, fixtureName, shelfId, zone, }: {
|
|
86
|
+
fixtureId: string;
|
|
87
|
+
fixtureName: string;
|
|
88
|
+
shelfId: string;
|
|
89
|
+
zone: string;
|
|
90
|
+
}): void;
|
|
91
|
+
onClickClose(): void;
|
|
92
|
+
ngOnDestroy(): void;
|
|
93
|
+
openPopup(type: any): void;
|
|
94
|
+
datechange(event: any): void;
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlanoAnalyticsComponent, never>;
|
|
96
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlanoAnalyticsComponent, "lib-plano-analytics", never, { "floorData": { "alias": "floorData"; "required": false; }; "vmList": { "alias": "vmList"; "required": false; }; }, {}, never, never, false, never>;
|
|
97
|
+
}
|
|
@@ -27,10 +27,11 @@ export declare class PlanoDetailsParentComponent implements OnInit, OnDestroy {
|
|
|
27
27
|
selectedTab: TabType;
|
|
28
28
|
storeList: any;
|
|
29
29
|
selectedStoreName: any;
|
|
30
|
+
isShowCompliance: boolean;
|
|
30
31
|
constructor(apiService: StoreBuilderService, gs: GlobalStateService, route: ActivatedRoute, router: Router, location: Location, pageInfo: PageInfoService);
|
|
31
32
|
ngOnInit(): void;
|
|
32
33
|
setPageData(): void;
|
|
33
|
-
getStoreFixtures(storeId: string): void
|
|
34
|
+
getStoreFixtures(storeId: string): Promise<void>;
|
|
34
35
|
getVmsList(): Promise<void>;
|
|
35
36
|
getLayoutRolloutStatus(): void;
|
|
36
37
|
getStoreComplianceDetails(): Promise<void>;
|
|
@@ -38,14 +39,14 @@ export declare class PlanoDetailsParentComponent implements OnInit, OnDestroy {
|
|
|
38
39
|
getAllFixtures(): any[];
|
|
39
40
|
calcMerchCompliancePercentage(): number;
|
|
40
41
|
updateQueryParams(): void;
|
|
41
|
-
onClickReload(event
|
|
42
|
+
onClickReload(event?: MouseEvent): Promise<void>;
|
|
42
43
|
ngOnDestroy(): void;
|
|
43
44
|
getStoreList(planoId?: string): void;
|
|
44
45
|
onSelected(event: any): Promise<void>;
|
|
45
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlanoDetailsParentComponent, never>;
|
|
46
47
|
static ɵcmp: i0.ɵɵComponentDeclaration<PlanoDetailsParentComponent, "lib-plano-details-parent", never, {}, {}, never, never, false, never>;
|
|
47
48
|
}
|
|
48
|
-
type TabType = "overview" | "merch-compliance";
|
|
49
|
+
type TabType = "overview" | "merch-compliance" | "analytics";
|
|
49
50
|
interface PlanoBriefDetails {
|
|
50
51
|
planoId: string;
|
|
51
52
|
floorId: string;
|
|
@@ -56,5 +57,9 @@ interface PlanoBriefDetails {
|
|
|
56
57
|
lastMerchCompliancePercentage: number;
|
|
57
58
|
lastMerchComplianceCheck: string | null;
|
|
58
59
|
merchStatus: boolean | null;
|
|
60
|
+
missedCount: number | null;
|
|
61
|
+
misplacedCount: number | null;
|
|
62
|
+
productCount: number | null;
|
|
63
|
+
storeName: String | null;
|
|
59
64
|
}
|
|
60
65
|
export {};
|
package/lib/components/planogram/plano-overview/fixture-overview/fixture-overview.component.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { VmLibraryList } from "../../../../interfaces/vm-library.interface";
|
|
3
2
|
import { StoreBuilderService } from "../../../../services/store-builder.service";
|
|
4
3
|
import { GlobalStateService } from "tango-app-ui-global";
|
|
5
4
|
import { ShelfConfig, SectionConfig } from "../../../../interfaces/fixture-template.interface";
|
|
@@ -10,7 +9,6 @@ export declare class FixtureOverviewComponent implements OnInit, OnChanges, Afte
|
|
|
10
9
|
private cd;
|
|
11
10
|
fixtureDetails: any;
|
|
12
11
|
totalFixtures: string[];
|
|
13
|
-
vmList: VmLibraryList[];
|
|
14
12
|
revisionId: string;
|
|
15
13
|
onClose: EventEmitter<any>;
|
|
16
14
|
changeFixture: EventEmitter<{
|
|
@@ -42,12 +40,12 @@ export declare class FixtureOverviewComponent implements OnInit, OnChanges, Afte
|
|
|
42
40
|
private isVMInitialized;
|
|
43
41
|
private isBCInitialized;
|
|
44
42
|
private destroy$;
|
|
43
|
+
private fixtureSub?;
|
|
45
44
|
constructor(storeBuilderService: StoreBuilderService, gs: GlobalStateService, cd: ChangeDetectorRef);
|
|
46
45
|
ngOnInit(): void;
|
|
47
46
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
48
47
|
ngAfterViewChecked(): void;
|
|
49
48
|
getFixtureShelfDetails(data: any): Promise<void>;
|
|
50
|
-
getSelectedVM(vm: any): VmLibraryList | undefined;
|
|
51
49
|
handleVmPositionAndSize(): boolean;
|
|
52
50
|
applyShelfColors(): boolean;
|
|
53
51
|
constructSequentialSection(shelfDivs: (HTMLElement | null)[]): void;
|
|
@@ -59,5 +57,5 @@ export declare class FixtureOverviewComponent implements OnInit, OnChanges, Afte
|
|
|
59
57
|
onChangeFixture(change: "next" | "previous"): void;
|
|
60
58
|
ngOnDestroy(): void;
|
|
61
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<FixtureOverviewComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FixtureOverviewComponent, "fixture-overview", never, { "fixtureDetails": { "alias": "fixtureDetails"; "required": false; }; "totalFixtures": { "alias": "totalFixtures"; "required": false; }; "
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FixtureOverviewComponent, "fixture-overview", never, { "fixtureDetails": { "alias": "fixtureDetails"; "required": false; }; "totalFixtures": { "alias": "totalFixtures"; "required": false; }; "revisionId": { "alias": "revisionId"; "required": false; }; }, { "onClose": "onClose"; "changeFixture": "changeFixture"; }, never, never, false, never>;
|
|
63
61
|
}
|
|
@@ -52,7 +52,7 @@ export interface FixtureLibraryExcelRow {
|
|
|
52
52
|
headerHeight: number;
|
|
53
53
|
footerHeight: number;
|
|
54
54
|
shelfNumber: number;
|
|
55
|
-
shelfType?: 'shelf' | 'tray';
|
|
55
|
+
shelfType?: 'shelf' | 'tray' | 'vmonly';
|
|
56
56
|
shelfName?: string;
|
|
57
57
|
trayRows?: number;
|
|
58
58
|
productPerShelf?: number;
|
|
@@ -120,12 +120,37 @@ export declare class StoreBuilderService implements OnDestroy {
|
|
|
120
120
|
createPlanoFromCAD(file: File, storeId: string, floorNumber: number): import("rxjs").Observable<Object>;
|
|
121
121
|
getAllPlanoIds(clientId: string): import("rxjs").Observable<Object>;
|
|
122
122
|
findFixtureAi(data: any): import("rxjs").Observable<Object>;
|
|
123
|
+
findFixture(data: any): import("rxjs").Observable<Object>;
|
|
124
|
+
replaceFixture(data: any): import("rxjs").Observable<Object>;
|
|
123
125
|
getPlanoId(data: any): import("rxjs").Observable<Object>;
|
|
124
126
|
updateFixtureData(data: any): import("rxjs").Observable<Object>;
|
|
125
127
|
approvePlanoLayout(floorId: any): import("rxjs").Observable<Object>;
|
|
128
|
+
getAllFindReplaceData(data: any): import("rxjs").Observable<Object>;
|
|
129
|
+
getFindReplaceDataById(data: any): import("rxjs").Observable<Object>;
|
|
130
|
+
saveAsDraft(data: any): import("rxjs").Observable<Object>;
|
|
131
|
+
getStoreOrClusterList(data: {
|
|
132
|
+
searchMode: 'store' | 'cluster';
|
|
133
|
+
}): import("rxjs").Observable<Object>;
|
|
134
|
+
batchFindReplace(data: any): import("rxjs").Observable<Object>;
|
|
135
|
+
approveReplace(data: {
|
|
136
|
+
findReplaceId: string;
|
|
137
|
+
stores?: any[];
|
|
138
|
+
schedule?: boolean;
|
|
139
|
+
scheduleDate?: string | null;
|
|
140
|
+
}): import("rxjs").Observable<Object>;
|
|
141
|
+
updateBatchProgress(data: any): import("rxjs").Observable<Object>;
|
|
142
|
+
cancelFindReplace(data: any): import("rxjs").Observable<Object>;
|
|
143
|
+
deleteFindReplaceAi(data: {
|
|
144
|
+
id: string;
|
|
145
|
+
}): import("rxjs").Observable<Object>;
|
|
126
146
|
createStore(data: any): import("rxjs").Observable<Object>;
|
|
127
147
|
spocEmailCheck(data: any): import("rxjs").Observable<Object>;
|
|
128
148
|
createInfraTicket(data: any): import("rxjs").Observable<Object>;
|
|
149
|
+
getfootfallDetails(data: any): import("rxjs").Observable<Object>;
|
|
150
|
+
getTopPerformingZones(data: any): import("rxjs").Observable<Object>;
|
|
151
|
+
getStoreEngagers(data: any): import("rxjs").Observable<Object>;
|
|
152
|
+
getStoreFixtureEngagers(data: any): import("rxjs").Observable<Object>;
|
|
153
|
+
getStoreFixtureFootfall(data: any): import("rxjs").Observable<Object>;
|
|
129
154
|
ngOnDestroy(): void;
|
|
130
155
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoreBuilderService, never>;
|
|
131
156
|
static ɵprov: i0.ɵɵInjectableDeclaration<StoreBuilderService>;
|
|
@@ -67,28 +67,38 @@ import * as i65 from "./components/planogram/merch-compliance/merch-compliance.c
|
|
|
67
67
|
import * as i66 from "./components/planogram/plano-overview/plano-overview.component";
|
|
68
68
|
import * as i67 from "./components/planogram/plano-overview/fixture-overview/fixture-overview.component";
|
|
69
69
|
import * as i68 from "./components/fixture-template/template-details/template-details.component";
|
|
70
|
-
import * as i69 from "./
|
|
71
|
-
import * as i70 from "./components/
|
|
72
|
-
import * as i71 from "
|
|
73
|
-
import * as i72 from "
|
|
74
|
-
import * as i73 from "
|
|
75
|
-
import * as i74 from "
|
|
76
|
-
import * as i75 from "
|
|
77
|
-
import * as i76 from "./
|
|
78
|
-
import * as i77 from "
|
|
79
|
-
import * as i78 from "
|
|
80
|
-
import * as i79 from "
|
|
81
|
-
import * as i80 from "
|
|
82
|
-
import * as i81 from "
|
|
83
|
-
import * as i82 from "
|
|
84
|
-
import * as i83 from "./
|
|
85
|
-
import * as i84 from "
|
|
86
|
-
import * as i85 from "./components/
|
|
87
|
-
import * as i86 from "./components/
|
|
88
|
-
import * as i87 from "./components/manage-store-plano/
|
|
89
|
-
import * as i88 from "
|
|
70
|
+
import * as i69 from "./components/planogram/merch-compliance/product-locator/product-locator.component";
|
|
71
|
+
import * as i70 from "./components/planogram/merch-compliance/product-locator/misplaced-product-fixture/misplaced-product-fixture.component";
|
|
72
|
+
import * as i71 from "./components/planogram/merch-compliance/product-locator/product-zone-locator/product-zone-locator.component";
|
|
73
|
+
import * as i72 from "./components/planogram/plano-analytics/plano-analytics.component";
|
|
74
|
+
import * as i73 from "./components/planogram/plano-analytics/date-range-picker/date-range-picker.component";
|
|
75
|
+
import * as i74 from "./components/planogram/plano-analytics/fixture-analytics/fixture-analytics.component";
|
|
76
|
+
import * as i75 from "./components/planogram/plano-analytics/analytics-popup/analytics-popup.component";
|
|
77
|
+
import * as i76 from "./tango-store-builder-routing.module";
|
|
78
|
+
import * as i77 from "./components/reactive-select/reactive-select.component";
|
|
79
|
+
import * as i78 from "@angular/common";
|
|
80
|
+
import * as i79 from "@angular/forms";
|
|
81
|
+
import * as i80 from "tango-app-ui-shared";
|
|
82
|
+
import * as i81 from "@angular/cdk/drag-drop";
|
|
83
|
+
import * as i82 from "@ng-bootstrap/ng-bootstrap";
|
|
84
|
+
import * as i83 from "./pipes/time-ago.pipe";
|
|
85
|
+
import * as i84 from "ngx-drag-drop";
|
|
86
|
+
import * as i85 from "./components/manage-store-plano/template-basic-details/template-basic-details.component";
|
|
87
|
+
import * as i86 from "./components/manage-store-plano/template-products/template-products.component";
|
|
88
|
+
import * as i87 from "./components/manage-store-plano/template-vms/template-vms.component";
|
|
89
|
+
import * as i88 from "./components/fixture-template-tree/fixture-template-tree.component";
|
|
90
|
+
import * as i89 from "./components/store-plano/store-plano-tree-view/store-plano-tree-view.component";
|
|
91
|
+
import * as i90 from "./components/planogram/plano-table/plano-filter/plano-filter.component";
|
|
92
|
+
import * as i91 from "./components/manage-store-plano/verification-feedback/fixture/fixture.component";
|
|
93
|
+
import * as i92 from "./components/planogram/plano-overview/plano-comparison/plano-comparison.component";
|
|
94
|
+
import * as i93 from "./components/fixture-overview-panel/fixture-overview-panel.component";
|
|
95
|
+
import * as i94 from "./components/manage-store-plano/verification-feedback/editable-fixture/editable-fixture.component";
|
|
96
|
+
import * as i95 from "./components/collection-update-ai/find-replace-table/find-replace-table.component";
|
|
97
|
+
import * as i96 from "@angular/router";
|
|
98
|
+
import * as i97 from "@angular/material/autocomplete";
|
|
99
|
+
import * as i98 from "ngx-daterangepicker-material";
|
|
90
100
|
export declare class TangoStoreBuilderModule {
|
|
91
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoStoreBuilderModule, never>;
|
|
92
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoStoreBuilderModule, [typeof i1.LayoutBuilderComponent, typeof i2.CreateLayoutComponent, typeof i3.LayoutSummaryComponent, typeof i4.StoreLayoutTableComponent, typeof i5.CustomSelectComponent, typeof i6.StoreOffcanvasComponentComponent, typeof i7.AddFloorComponent, typeof i8.ClearAllStepsComponent, typeof i9.DeleteLayoutComponent, typeof i10.CompleteLayoutComponent, typeof i11.StoreBuilderComponent, typeof i12.CreateStoreComponent, typeof i13.LayoutElementsComponent, typeof i14.ElementFormComponent, typeof i15.VisualizeVmDataComponent, typeof i16.ManageStorePlanoComponent, typeof i17.FixtureTemplateComponent, typeof i18.FixtureTemplateTableComponent, typeof i19.TemplateVmsComponent, typeof i20.TemplateSummaryComponent, typeof i21.PlanoLibraryComponent, typeof i22.FixtureLibraryComponent, typeof i23.VmLibraryComponent, typeof i24.ProductLibraryComponent, typeof i25.CreateProductComponent, typeof i26.PlanoConfigurationsComponent, typeof i27.FixtureBulkUploadComponent, typeof i28.CreateFixtureModalComponent, typeof i29.BulkUploadFixtureTemplateComponent, typeof i30.CreateFixtureTemplateComponent, typeof i31.BulkUploadPlanogramComponent, typeof i32.AddVmTypeComponent, typeof i33.VMBulkUploadComponent, typeof i34.CustomFilterComponent, typeof i35.PopupsComponent, typeof i36.ManageStorePlanoFeedbackComponent, typeof i37.ConfirmationPopupComponent, typeof i38.PublishtaskPopupComponent, typeof i39.DeleteConfirmationComponent, typeof i40.CompleteConfirmationComponent, typeof i41.ExitConfirmationComponent, typeof i42.CannotPerformComponent, typeof i43.LayoutEditConfirmationComponent, typeof i44.PlanoRolloutTableComponent, typeof i45.PlanoVerificationTableComponent, typeof i46.ManagePlanoComponent, typeof i47.PlanoRolloutComponent, typeof i48.PublishRolloutPopupComponent, typeof i49.RolloutFeedbackComponent, typeof i50.VerificationFeedbackComponent, typeof i51.ActionConfirmPopupComponent, typeof i52.TemplateAssignStoresComponent, typeof i53.PreviewModalComponent, typeof i54.FindAndReplaceComponent, typeof i55.CustomsingleSelectComponent, typeof i56.VariantPopupComponent, typeof i57.PublishConfirmationComponent, typeof i58.StoreTaskRevokeComponent, typeof i59.PlanoMigrateComponent, typeof i60.FixtureProductsComponent, typeof i61.ZoneProductsComponent, typeof i62.ToolsParentComponent, typeof i63.PlanoTableComponent, typeof i64.PlanoDetailsParentComponent, typeof i65.MerchComplianceComponent, typeof i66.PlanoOverviewComponent, typeof i67.FixtureOverviewComponent, typeof i68.TemplateDetailsComponent], [typeof
|
|
102
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoStoreBuilderModule, [typeof i1.LayoutBuilderComponent, typeof i2.CreateLayoutComponent, typeof i3.LayoutSummaryComponent, typeof i4.StoreLayoutTableComponent, typeof i5.CustomSelectComponent, typeof i6.StoreOffcanvasComponentComponent, typeof i7.AddFloorComponent, typeof i8.ClearAllStepsComponent, typeof i9.DeleteLayoutComponent, typeof i10.CompleteLayoutComponent, typeof i11.StoreBuilderComponent, typeof i12.CreateStoreComponent, typeof i13.LayoutElementsComponent, typeof i14.ElementFormComponent, typeof i15.VisualizeVmDataComponent, typeof i16.ManageStorePlanoComponent, typeof i17.FixtureTemplateComponent, typeof i18.FixtureTemplateTableComponent, typeof i19.TemplateVmsComponent, typeof i20.TemplateSummaryComponent, typeof i21.PlanoLibraryComponent, typeof i22.FixtureLibraryComponent, typeof i23.VmLibraryComponent, typeof i24.ProductLibraryComponent, typeof i25.CreateProductComponent, typeof i26.PlanoConfigurationsComponent, typeof i27.FixtureBulkUploadComponent, typeof i28.CreateFixtureModalComponent, typeof i29.BulkUploadFixtureTemplateComponent, typeof i30.CreateFixtureTemplateComponent, typeof i31.BulkUploadPlanogramComponent, typeof i32.AddVmTypeComponent, typeof i33.VMBulkUploadComponent, typeof i34.CustomFilterComponent, typeof i35.PopupsComponent, typeof i36.ManageStorePlanoFeedbackComponent, typeof i37.ConfirmationPopupComponent, typeof i38.PublishtaskPopupComponent, typeof i39.DeleteConfirmationComponent, typeof i40.CompleteConfirmationComponent, typeof i41.ExitConfirmationComponent, typeof i42.CannotPerformComponent, typeof i43.LayoutEditConfirmationComponent, typeof i44.PlanoRolloutTableComponent, typeof i45.PlanoVerificationTableComponent, typeof i46.ManagePlanoComponent, typeof i47.PlanoRolloutComponent, typeof i48.PublishRolloutPopupComponent, typeof i49.RolloutFeedbackComponent, typeof i50.VerificationFeedbackComponent, typeof i51.ActionConfirmPopupComponent, typeof i52.TemplateAssignStoresComponent, typeof i53.PreviewModalComponent, typeof i54.FindAndReplaceComponent, typeof i55.CustomsingleSelectComponent, typeof i56.VariantPopupComponent, typeof i57.PublishConfirmationComponent, typeof i58.StoreTaskRevokeComponent, typeof i59.PlanoMigrateComponent, typeof i60.FixtureProductsComponent, typeof i61.ZoneProductsComponent, typeof i62.ToolsParentComponent, typeof i63.PlanoTableComponent, typeof i64.PlanoDetailsParentComponent, typeof i65.MerchComplianceComponent, typeof i66.PlanoOverviewComponent, typeof i67.FixtureOverviewComponent, typeof i68.TemplateDetailsComponent, typeof i69.ProductLocatorComponent, typeof i70.MisplacedProductFixtureComponent, typeof i71.ProductZoneLocatorComponent, typeof i72.PlanoAnalyticsComponent, typeof i73.DateRangePickerComponent, typeof i74.FixtureAnalyticsComponent, typeof i75.AnalyticsPopupComponent], [typeof i76.TangoStoreBuilderRoutingModule, typeof i77.ReactiveSelectComponent, typeof i78.CommonModule, typeof i79.FormsModule, typeof i80.CommonSharedModule, typeof i79.ReactiveFormsModule, typeof i81.DragDropModule, typeof i82.NgbTooltipModule, typeof i82.NgbAccordionModule, typeof i83.TimeAgoPipe, typeof i84.DndModule, typeof i85.InstanceBasicDetailsComponent, typeof i86.InstanceProductsComponent, typeof i87.InstanceVmsComponent, typeof i88.TemplateTreeComponent, typeof i89.StorePlanoTreeViewComponent, typeof i90.PlanoFilterComponent, typeof i91.FixtureComponent, typeof i82.NgbOffcanvasModule, typeof i92.PlanoComparisonComponent, typeof i93.FixtureOverviewPanelComponent, typeof i94.EditableFixtureComponent, typeof i95.FindReplaceTableComponent, typeof i96.RouterModule, typeof i97.MatAutocompleteModule, typeof i98.NgxDaterangepickerMd], never>;
|
|
93
103
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoStoreBuilderModule>;
|
|
94
104
|
}
|