tango-app-ui-store-builder 1.0.32 → 1.0.33
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/manage-plano/popups/create-planogram/create-planogram.component.mjs +21 -55
- package/esm2022/lib/components/manage-plano/rollout-table/rollout-table.component.mjs +4 -2
- package/esm2022/lib/components/manage-plano/verification-table/verification-table.component.mjs +15 -9
- package/esm2022/lib/components/manage-store-plano/manage-store-plano.component.mjs +76 -223
- package/esm2022/lib/components/planogram/merch-compliance/merch-compliance.component.mjs +2 -1
- package/esm2022/lib/services/store-builder.service.mjs +1 -10
- package/esm2022/lib/tango-store-builder-routing.module.mjs +1 -6
- package/esm2022/lib/tango-store-builder.module.mjs +4 -1
- package/esm2022/lib/tango-store-plano.module.mjs +20 -18
- package/fesm2022/tango-app-ui-store-builder.mjs +591 -2244
- package/fesm2022/tango-app-ui-store-builder.mjs.map +1 -1
- package/lib/components/manage-plano/popups/create-planogram/create-planogram.component.d.ts +5 -21
- package/lib/components/manage-plano/rollout-table/rollout-table.component.d.ts +2 -2
- package/lib/components/manage-plano/verification-table/verification-table.component.d.ts +4 -4
- package/lib/components/manage-store-plano/manage-store-plano.component.d.ts +2 -11
- package/lib/services/store-builder.service.d.ts +0 -3
- package/package.json +1 -1
- package/esm2022/lib/components/collection-update-ai/collection-update-ai.component.mjs +0 -1486
- package/lib/components/collection-update-ai/collection-update-ai.component.d.ts +0 -82
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { OnInit } from "@angular/core";
|
|
2
2
|
import { NgbActiveModal } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
-
import { FormBuilder } from "@angular/forms";
|
|
4
3
|
import { StoreBuilderService } from "../../../../services/store-builder.service";
|
|
5
4
|
import { ToastService } from "tango-app-ui-shared";
|
|
6
|
-
import { Router } from "@angular/router";
|
|
7
5
|
import * as i0 from "@angular/core";
|
|
8
6
|
export declare class CreatePlanogramComponent implements OnInit {
|
|
9
7
|
private activeModal;
|
|
10
8
|
private storeBuilderService;
|
|
11
9
|
private toastService;
|
|
12
|
-
private fb;
|
|
13
|
-
private router;
|
|
14
10
|
clientId: string;
|
|
15
11
|
selectedStore: string;
|
|
16
12
|
selectedFloor: number;
|
|
@@ -25,29 +21,17 @@ export declare class CreatePlanogramComponent implements OnInit {
|
|
|
25
21
|
}[];
|
|
26
22
|
selectedStoreFloors: any;
|
|
27
23
|
isLayoutExist: boolean;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
createStoreForm: any;
|
|
31
|
-
storeTypeList: {
|
|
32
|
-
label: string;
|
|
33
|
-
value: string;
|
|
34
|
-
}[];
|
|
35
|
-
businessTypeList: {
|
|
36
|
-
label: string;
|
|
37
|
-
value: string;
|
|
38
|
-
}[];
|
|
39
|
-
constructor(activeModal: NgbActiveModal, storeBuilderService: StoreBuilderService, toastService: ToastService, fb: FormBuilder, router: Router);
|
|
24
|
+
isProcessing: boolean;
|
|
25
|
+
constructor(activeModal: NgbActiveModal, storeBuilderService: StoreBuilderService, toastService: ToastService);
|
|
40
26
|
ngOnInit(): Promise<void>;
|
|
41
|
-
get
|
|
27
|
+
get isValidToCreate(): "" | 0 | File | null;
|
|
42
28
|
getStoreList(): Promise<void>;
|
|
43
29
|
onStoreChange(): Promise<void>;
|
|
44
30
|
onFloorChange(): void;
|
|
45
31
|
onFileChange(file: File | null): void;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
addNewStore(): void;
|
|
32
|
+
onCreate(): Promise<void>;
|
|
33
|
+
onClickCreateStore(): void;
|
|
49
34
|
onCancel(): void;
|
|
50
|
-
onBack(): void;
|
|
51
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreatePlanogramComponent, never>;
|
|
52
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<CreatePlanogramComponent, "app-create-planogram", never, { "clientId": { "alias": "clientId"; "required": false; }; }, {}, never, never, true, never>;
|
|
53
37
|
}
|
|
@@ -51,8 +51,8 @@ export declare class PlanoRolloutTableComponent implements OnInit, OnDestroy {
|
|
|
51
51
|
paginationSize(): number;
|
|
52
52
|
onPageChange(pageOffset: number): void;
|
|
53
53
|
onPageSizeChange(pageSize: number): void;
|
|
54
|
-
getTaskStatus(data: any, type: string): "
|
|
55
|
-
getTaskTooltip(data: any, type: string): "Review Pending" | "Yet to Assign" | "Task Assigned" |
|
|
54
|
+
getTaskStatus(data: any, type: string): "completed" | "yetToAssign" | "reviewPending" | "taskAssigned" | undefined;
|
|
55
|
+
getTaskTooltip(data: any, type: string): "Completed" | "Review Pending" | "Yet to Assign" | "Task Assigned" | undefined;
|
|
56
56
|
showBreach(data: any, type: string): boolean;
|
|
57
57
|
updateQueryParams(): void;
|
|
58
58
|
ngOnDestroy(): void;
|
|
@@ -53,12 +53,12 @@ export declare class PlanoVerificationTableComponent implements OnInit, OnDestro
|
|
|
53
53
|
onPageChange(pageOffset: number): void;
|
|
54
54
|
onPageSizeChange(pageSize: number): void;
|
|
55
55
|
planoFloorDetails(data: any): string | 1;
|
|
56
|
-
getTaskStatus(data: any, type: string): "
|
|
57
|
-
getTaskTooltip(data: any, type: string): "Review Pending" | "Yet to Assign" | "Task Assigned" |
|
|
56
|
+
getTaskStatus(data: any, type: string): "completed" | "yetToAssign" | "reviewPending" | "taskAssigned" | undefined;
|
|
57
|
+
getTaskTooltip(data: any, type: string): "Completed" | "Review Pending" | "Yet to Assign" | "Task Assigned" | undefined;
|
|
58
58
|
getProgressValue(data: any): 100 | 50 | 25;
|
|
59
59
|
showBreach(data: any, type: string): boolean;
|
|
60
|
-
getStatus(data: any): "Review Pending" | "Yet to Assign" | "Task Assigned" | "
|
|
61
|
-
getStatusBadge(data: any): "
|
|
60
|
+
getStatus(data: any): "Completed" | "Review Pending" | "Yet to Assign" | "Task Assigned" | "Ready to Publish" | "Published" | undefined;
|
|
61
|
+
getStatusBadge(data: any): "completed" | "yetToAssign" | "reviewPending" | "taskAssigned" | "primaryBadgeStyle" | "bg-success" | undefined;
|
|
62
62
|
getSubmit(data: any): boolean;
|
|
63
63
|
updateQueryParams(): void;
|
|
64
64
|
ngOnDestroy(): void;
|
|
@@ -98,7 +98,6 @@ export declare class ManageStorePlanoComponent implements AfterViewInit, OnDestr
|
|
|
98
98
|
ngOnInit(): void;
|
|
99
99
|
ngAfterViewInit(): void;
|
|
100
100
|
updateAllPositions(): void;
|
|
101
|
-
applyGroupTransform(selection: fabric.ActiveSelection): void;
|
|
102
101
|
resizeCanvas(): void;
|
|
103
102
|
setupZoomHandlers(): void;
|
|
104
103
|
setPageData(): void;
|
|
@@ -170,29 +169,21 @@ export declare class ManageStorePlanoComponent implements AfterViewInit, OnDestr
|
|
|
170
169
|
_id: FormControl<any>;
|
|
171
170
|
}>;
|
|
172
171
|
addWallSpace(wallIndex: number, operation: "increment" | "decrement"): void;
|
|
173
|
-
|
|
172
|
+
removeFixture(fixtureType: "wall" | "floor", fixtureIndex: number, wallIndex?: number): void;
|
|
174
173
|
removeOtherElement(elementType: "wall" | "floor", elementIndex: number, wallIndex?: number): void;
|
|
175
174
|
changeFixtureTemplate(configId: string, fixtureType: "wall" | "floor", fixtureIndex: number, wallIndex?: number): void;
|
|
176
175
|
onDrop(event: any, destinationWallIndex: number | "floor", destinationFixtureIndex?: number): void;
|
|
177
176
|
downloadCanvas(): void;
|
|
178
|
-
private createExportLayoutBackground;
|
|
179
|
-
private buildLayoutPolygonFromWalls;
|
|
180
177
|
handleFeedbackAction(userAction: any): Promise<void>;
|
|
181
178
|
rotateWall(eleNumber: number): void;
|
|
182
179
|
addNewWall(eleNumber: number): void;
|
|
183
180
|
addNewEntrance(): void;
|
|
184
181
|
addNewFixture(fixtureType: "wall" | "floor", wallIndex?: number): Promise<void>;
|
|
185
182
|
addNewOtherElements(posType: "wall" | "floor", wallIndex?: number): void;
|
|
186
|
-
findEmptyCenterSpot(objectWidthPx: number, objectHeightPx: number
|
|
187
|
-
x: number;
|
|
188
|
-
y: number;
|
|
189
|
-
width: number;
|
|
190
|
-
height: number;
|
|
191
|
-
}[]): {
|
|
183
|
+
findEmptyCenterSpot(objectWidthPx: number, objectHeightPx: number): {
|
|
192
184
|
x: number;
|
|
193
185
|
y: number;
|
|
194
186
|
} | null;
|
|
195
|
-
cancelEdit(): void;
|
|
196
187
|
listenToDeleteKey(): void;
|
|
197
188
|
deleteEntrance(): void;
|
|
198
189
|
deleteWall(eleNumber: number): Promise<void>;
|
|
@@ -118,9 +118,6 @@ export declare class StoreBuilderService implements OnDestroy {
|
|
|
118
118
|
getStoreFloorsList(storeId: any): import("rxjs").Observable<Object>;
|
|
119
119
|
createPlanoFromCAD(file: File, storeId: string, floorNumber: number): import("rxjs").Observable<Object>;
|
|
120
120
|
getAllPlanoIds(clientId: string): import("rxjs").Observable<Object>;
|
|
121
|
-
findFixtureAi(data: any): import("rxjs").Observable<Object>;
|
|
122
|
-
getPlanoId(data: any): import("rxjs").Observable<Object>;
|
|
123
|
-
updateFixtureData(data: any): import("rxjs").Observable<Object>;
|
|
124
121
|
ngOnDestroy(): void;
|
|
125
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoreBuilderService, never>;
|
|
126
123
|
static ɵprov: i0.ɵɵInjectableDeclaration<StoreBuilderService>;
|