tango-app-ui-store-builder 1.2.1 → 1.2.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/manage-plano/manage-plano.component.mjs +3 -4
- package/esm2022/lib/components/manage-store-plano/manage-store-plano.component.mjs +268 -11
- package/esm2022/lib/components/manage-store-plano/popups/publishtask-popup/publishtask-popup.component.mjs +4 -1
- package/esm2022/lib/components/manage-store-plano/verification-feedback/zone-editable-fixture/zone-editable-fixture.component.mjs +15 -1
- package/esm2022/lib/components/manage-store-plano/zone-verification-feedback/zone-verification-feedback.component.mjs +33 -4
- package/esm2022/lib/components/onboard-store-plano/create-planogram/create-planogram.component.mjs +1 -1
- package/fesm2022/tango-app-ui-store-builder.mjs +318 -16
- package/fesm2022/tango-app-ui-store-builder.mjs.map +1 -1
- package/lib/components/manage-plano/manage-plano.component.d.ts +0 -1
- package/lib/components/manage-plano/onboard-table/onboard-table.component.d.ts +1 -1
- package/lib/components/manage-plano/rollout-table/rollout-table.component.d.ts +4 -4
- package/lib/components/manage-plano/verification-table/verification-table.component.d.ts +5 -5
- package/lib/components/manage-store-plano/manage-store-plano.component.d.ts +6 -0
- package/lib/components/manage-store-plano/verification-feedback/zone-editable-fixture/zone-editable-fixture.component.d.ts +1 -0
- package/lib/components/manage-store-plano/zone-verification-feedback/zone-verification-feedback.component.d.ts +2 -0
- package/lib/components/onboard-store-plano/onboard-store-plano.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ManagePlanoComponent {
|
|
3
|
-
selectedMode: 'rollout' | 'verification' | 'onboard';
|
|
4
3
|
constructor();
|
|
5
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<ManagePlanoComponent, never>;
|
|
6
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<ManagePlanoComponent, "lib-manage-plano", never, {}, {}, never, never, false, never>;
|
|
@@ -57,7 +57,7 @@ export declare class PlanoOnboardTableComponent implements OnInit, OnDestroy {
|
|
|
57
57
|
onPageSizeChange(pageSize: number): void;
|
|
58
58
|
planoFloorDetails(data: any): string | 1;
|
|
59
59
|
getProgressValue(plano: any): 0 | 25;
|
|
60
|
-
getStatus(plano: any): "
|
|
60
|
+
getStatus(plano: any): "Draft" | "Allocation pending";
|
|
61
61
|
getStatusBadge(plano: any): any;
|
|
62
62
|
getPriorityFloor(plano: any): any;
|
|
63
63
|
getSubmit(data: any): boolean;
|
|
@@ -54,13 +54,13 @@ export declare class PlanoRolloutTableComponent implements OnInit, OnDestroy {
|
|
|
54
54
|
paginationSize(): number;
|
|
55
55
|
onPageChange(pageOffset: number): void;
|
|
56
56
|
onPageSizeChange(pageSize: number): void;
|
|
57
|
-
getTaskStatus(data: any, type: string): "
|
|
58
|
-
getTaskTooltip(data: any, type: string): "
|
|
57
|
+
getTaskStatus(data: any, type: string): "completed" | "yetToAssign" | "taskAssigned" | "reviewPending" | undefined;
|
|
58
|
+
getTaskTooltip(data: any, type: string): "Completed" | "Yet to Assign" | "Task Assigned" | "Review Pending" | undefined;
|
|
59
59
|
showBreach(data: any, type: string): boolean;
|
|
60
60
|
updateQueryParams(): void;
|
|
61
61
|
ngOnDestroy(): void;
|
|
62
|
-
getStatus(data: any): "
|
|
63
|
-
getStatusBadge(data: any): "yetToAssign" | "
|
|
62
|
+
getStatus(data: any): "Yet to Assign" | "Task Assigned" | "Review Pending" | "Ready to Publish" | "Published" | undefined;
|
|
63
|
+
getStatusBadge(data: any): "yetToAssign" | "taskAssigned" | "reviewPending" | "primaryBadgeStyle" | "bg-success" | undefined;
|
|
64
64
|
onExport(): void;
|
|
65
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlanoRolloutTableComponent, never>;
|
|
66
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<PlanoRolloutTableComponent, "lib-plano-rollout-table", never, {}, {}, never, never, false, never>;
|
|
@@ -54,14 +54,14 @@ export declare class PlanoVerificationTableComponent implements OnInit, OnDestro
|
|
|
54
54
|
onPageChange(pageOffset: number): void;
|
|
55
55
|
onPageSizeChange(pageSize: number): void;
|
|
56
56
|
planoFloorDetails(data: any): string | 1;
|
|
57
|
-
getTaskStatus(data: any, type: string): "
|
|
58
|
-
getTaskTooltip(data: any, type: string): "
|
|
59
|
-
getZoneStatus(data: any): "
|
|
57
|
+
getTaskStatus(data: any, type: string): "completed" | "yetToAssign" | "taskAssigned" | "reviewPending" | undefined;
|
|
58
|
+
getTaskTooltip(data: any, type: string): "Completed" | "Yet to Assign" | "Task Assigned" | "Review Pending" | "Task Scheduled" | undefined;
|
|
59
|
+
getZoneStatus(data: any): "completed" | "yetToAssign" | "taskAssigned" | "reviewPending" | "flag";
|
|
60
60
|
getZoneTooltip(data: any): any;
|
|
61
61
|
getProgressValue(data: any): 100 | 50 | 25;
|
|
62
62
|
showBreach(data: any, type: string): boolean;
|
|
63
|
-
getStatus(data: any): "
|
|
64
|
-
getStatusBadge(data: any): "
|
|
63
|
+
getStatus(data: any): "Completed" | "Yet to Assign" | "Task Assigned" | "Review Pending" | "Ready to Publish" | "Published" | "Task Scheduled" | undefined;
|
|
64
|
+
getStatusBadge(data: any): "completed" | "yetToAssign" | "taskAssigned" | "reviewPending" | "primaryBadgeStyle" | "bg-success" | undefined;
|
|
65
65
|
getSubmit(data: any): boolean;
|
|
66
66
|
updateQueryParams(): void;
|
|
67
67
|
ngOnDestroy(): void;
|
|
@@ -59,6 +59,8 @@ export declare class ManageStorePlanoComponent implements AfterViewInit, OnDestr
|
|
|
59
59
|
zoneFeedback: any;
|
|
60
60
|
selectedZoneFeedback: any;
|
|
61
61
|
get zonePendingCount(): number;
|
|
62
|
+
get zoneRedoCount(): number;
|
|
63
|
+
get zoneRedoStatus(): boolean;
|
|
62
64
|
get zoneTaskStyle(): {
|
|
63
65
|
name: string;
|
|
64
66
|
class: string;
|
|
@@ -207,6 +209,7 @@ export declare class ManageStorePlanoComponent implements AfterViewInit, OnDestr
|
|
|
207
209
|
private buildLocalActionComment;
|
|
208
210
|
private mergeZoneFixtureData;
|
|
209
211
|
handleZoneFeedbackAction(userAction: any): Promise<void>;
|
|
212
|
+
private buildZoneModifiedAnswer;
|
|
210
213
|
private persistZoneEditAccepted;
|
|
211
214
|
rotateWall(eleNumber: number): void;
|
|
212
215
|
addNewWall(eleNumber: number): void;
|
|
@@ -237,6 +240,9 @@ export declare class ManageStorePlanoComponent implements AfterViewInit, OnDestr
|
|
|
237
240
|
updateEntranceCoordinates(): void;
|
|
238
241
|
updateLayout(editMode?: boolean): Promise<void>;
|
|
239
242
|
assignTask(): Promise<void>;
|
|
243
|
+
revokeZoneTask(): void;
|
|
244
|
+
publishZoneVerification(): Promise<void>;
|
|
245
|
+
publishZoneRedo(): Promise<void>;
|
|
240
246
|
onClickEdit(): void;
|
|
241
247
|
taskDetails(planoId: any, floorId: any): Promise<unknown>;
|
|
242
248
|
getStatus(type: any): {
|
|
@@ -74,6 +74,7 @@ export declare class ZoneEditableFixtureComponent implements OnInit, OnChanges,
|
|
|
74
74
|
label: string;
|
|
75
75
|
} | null): Promise<void>;
|
|
76
76
|
onZoneBrandsChange(zone: string, brands: string[]): void;
|
|
77
|
+
resetToOriginal(): void;
|
|
77
78
|
private applyBrandsToFixture;
|
|
78
79
|
private sanitizeVmConfig;
|
|
79
80
|
ngAfterViewChecked(): void;
|
|
@@ -37,12 +37,14 @@ export declare class ZoneVerificationFeedbackComponent implements OnChanges {
|
|
|
37
37
|
get hasFixtureResponse(): boolean;
|
|
38
38
|
get currentUserAction(): string | null;
|
|
39
39
|
get isApproved(): boolean;
|
|
40
|
+
get isActioned(): boolean;
|
|
40
41
|
get isClFixture(): boolean;
|
|
41
42
|
get zoneImageUrl(): string;
|
|
42
43
|
get canShowActions(): boolean;
|
|
43
44
|
onClickKeepPlano(): Promise<void>;
|
|
44
45
|
onClickAcceptResponse(): Promise<void>;
|
|
45
46
|
onClickEditResponse(): void;
|
|
47
|
+
onClickRedo(): Promise<void>;
|
|
46
48
|
private confirmAction;
|
|
47
49
|
onChangeFixture(action: "next" | "previous"): void;
|
|
48
50
|
onClickImagePreview(event: MouseEvent, imgUrl: string): void;
|
|
@@ -201,7 +201,7 @@ export declare class OnboardStorePlanoComponent implements AfterViewInit, OnDest
|
|
|
201
201
|
updateLayout(editMode?: boolean): Promise<void>;
|
|
202
202
|
onClickEdit(): void;
|
|
203
203
|
get getProgressValue(): 0 | 25;
|
|
204
|
-
get getStatusText(): "
|
|
204
|
+
get getStatusText(): "Draft" | "Allocation pending";
|
|
205
205
|
get getStatus(): any;
|
|
206
206
|
getElementNumber(group: any): number | null;
|
|
207
207
|
highlightFixture(group: any, blink?: boolean): void;
|