tango-app-ui-store-builder 1.0.97 → 1.0.99
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/verification-table/verification-table.component.mjs +41 -3
- package/esm2022/lib/components/manage-store-plano/manage-store-plano.component.mjs +71 -3
- package/esm2022/lib/components/manage-store-plano/plano-rollout/plano-rollout.component.mjs +1 -1
- package/esm2022/lib/components/manage-store-plano/template-basic-details/template-basic-details.component.mjs +6 -3
- package/esm2022/lib/components/manage-store-plano/template-products/template-products.component.mjs +10 -3
- package/esm2022/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.mjs +6 -3
- package/esm2022/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.mjs +3 -3
- package/esm2022/lib/components/manage-store-plano/zone-verification-feedback/zone-verification-feedback.component.mjs +9 -5
- package/esm2022/lib/components/onboard-store-plano/onboard-store-plano.component.mjs +1 -1
- package/esm2022/lib/components/store-plano/store-plano.component.mjs +1 -1
- package/esm2022/lib/interfaces/planogram.interface.mjs +1 -1
- package/fesm2022/tango-app-ui-store-builder.mjs +142 -19
- package/fesm2022/tango-app-ui-store-builder.mjs.map +1 -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 +6 -4
- package/lib/components/manage-store-plano/manage-store-plano.component.d.ts +6 -0
- package/lib/components/manage-store-plano/template-basic-details/template-basic-details.component.d.ts +2 -1
- package/lib/components/manage-store-plano/template-products/template-products.component.d.ts +2 -1
- package/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.d.ts +2 -1
- package/lib/components/manage-store-plano/zone-verification-feedback/zone-verification-feedback.component.d.ts +1 -0
- package/lib/components/onboard-store-plano/onboard-store-plano.component.d.ts +1 -1
- package/lib/interfaces/planogram.interface.d.ts +7 -0
- package/package.json +1 -1
|
@@ -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): "yetToAssign" | "
|
|
58
|
-
getTaskTooltip(data: any, type: string): "
|
|
57
|
+
getTaskStatus(data: any, type: string): "yetToAssign" | "taskAssigned" | "completed" | "reviewPending" | undefined;
|
|
58
|
+
getTaskTooltip(data: any, type: string): "Yet to Assign" | "Task Assigned" | "Review Pending" | "Completed" | 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,12 +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): "yetToAssign" | "
|
|
58
|
-
getTaskTooltip(data: any, type: string): "
|
|
57
|
+
getTaskStatus(data: any, type: string): "yetToAssign" | "taskAssigned" | "completed" | "reviewPending" | undefined;
|
|
58
|
+
getTaskTooltip(data: any, type: string): "Yet to Assign" | "Task Assigned" | "Review Pending" | "Completed" | "Task Scheduled" | undefined;
|
|
59
|
+
getZoneStatus(data: any): "yetToAssign" | "taskAssigned" | "completed" | "reviewPending" | "flag";
|
|
60
|
+
getZoneTooltip(data: any): any;
|
|
59
61
|
getProgressValue(data: any): 100 | 50 | 25;
|
|
60
62
|
showBreach(data: any, type: string): boolean;
|
|
61
|
-
getStatus(data: any): "
|
|
62
|
-
getStatusBadge(data: any): "yetToAssign" | "
|
|
63
|
+
getStatus(data: any): "Yet to Assign" | "Task Assigned" | "Review Pending" | "Completed" | "Ready to Publish" | "Published" | "Task Scheduled" | undefined;
|
|
64
|
+
getStatusBadge(data: any): "yetToAssign" | "taskAssigned" | "completed" | "reviewPending" | "primaryBadgeStyle" | "bg-success" | undefined;
|
|
63
65
|
getSubmit(data: any): boolean;
|
|
64
66
|
updateQueryParams(): void;
|
|
65
67
|
ngOnDestroy(): void;
|
|
@@ -58,6 +58,11 @@ export declare class ManageStorePlanoComponent implements AfterViewInit, OnDestr
|
|
|
58
58
|
storeFeedback: any;
|
|
59
59
|
zoneFeedback: any;
|
|
60
60
|
selectedZoneFeedback: any;
|
|
61
|
+
get zonePendingCount(): number;
|
|
62
|
+
get zoneTaskStyle(): {
|
|
63
|
+
name: string;
|
|
64
|
+
class: string;
|
|
65
|
+
};
|
|
61
66
|
selectedFixture: any;
|
|
62
67
|
selectedFixtureData: any;
|
|
63
68
|
selectedFixtureFeedback: any;
|
|
@@ -197,6 +202,7 @@ export declare class ManageStorePlanoComponent implements AfterViewInit, OnDestr
|
|
|
197
202
|
private buildLayoutPolygonFromWalls;
|
|
198
203
|
handleFeedbackAction(userAction: any): Promise<void>;
|
|
199
204
|
private mergeAiFixtureData;
|
|
205
|
+
private replaceFixtureInFloorData;
|
|
200
206
|
private buildLocalActionComment;
|
|
201
207
|
private mergeZoneFixtureData;
|
|
202
208
|
handleZoneFeedbackAction(userAction: any): Promise<void>;
|
|
@@ -17,6 +17,7 @@ export declare class InstanceBasicDetailsComponent implements OnChanges, OnDestr
|
|
|
17
17
|
editMode: boolean;
|
|
18
18
|
isSubmitted: boolean;
|
|
19
19
|
revertOnEdit: boolean;
|
|
20
|
+
zoneEditMode: boolean;
|
|
20
21
|
submitEvent: EventEmitter<boolean>;
|
|
21
22
|
initialState: any;
|
|
22
23
|
readonly shelfTypes: DropdownIF[];
|
|
@@ -35,5 +36,5 @@ export declare class InstanceBasicDetailsComponent implements OnChanges, OnDestr
|
|
|
35
36
|
getFixtureLibrary(): string;
|
|
36
37
|
ngOnDestroy(): void;
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<InstanceBasicDetailsComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InstanceBasicDetailsComponent, "lib-instance-basic-details", never, { "fixtureData": { "alias": "fixtureData"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "isSubmitted": { "alias": "isSubmitted"; "required": false; }; "revertOnEdit": { "alias": "revertOnEdit"; "required": false; }; }, { "submitEvent": "submitEvent"; }, never, never, true, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InstanceBasicDetailsComponent, "lib-instance-basic-details", never, { "fixtureData": { "alias": "fixtureData"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "isSubmitted": { "alias": "isSubmitted"; "required": false; }; "revertOnEdit": { "alias": "revertOnEdit"; "required": false; }; "zoneEditMode": { "alias": "zoneEditMode"; "required": false; }; }, { "submitEvent": "submitEvent"; }, never, never, true, never>;
|
|
39
40
|
}
|
package/lib/components/manage-store-plano/template-products/template-products.component.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export declare class InstanceProductsComponent implements OnDestroy, AfterViewCh
|
|
|
53
53
|
submitEvent: EventEmitter<boolean>;
|
|
54
54
|
isRollout: boolean;
|
|
55
55
|
revertOnEdit: boolean;
|
|
56
|
+
zoneEditMode: boolean;
|
|
56
57
|
constructor(fb: FormBuilder, ps: PlanoDataService, toast: ToastService, gs: GlobalStateService, storeBuilderService: StoreBuilderService, cd: ChangeDetectorRef);
|
|
57
58
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
58
59
|
ngAfterViewChecked(): void;
|
|
@@ -81,5 +82,5 @@ export declare class InstanceProductsComponent implements OnDestroy, AfterViewCh
|
|
|
81
82
|
applySectionConfigToShelves(sections: SectionConfig[]): ShelfConfig[];
|
|
82
83
|
ngOnDestroy(): void;
|
|
83
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<InstanceProductsComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InstanceProductsComponent, "lib-instance-products", never, { "fixtureData": { "alias": "fixtureData"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "isSubmitted": { "alias": "isSubmitted"; "required": false; }; "isRollout": { "alias": "isRollout"; "required": false; }; "revertOnEdit": { "alias": "revertOnEdit"; "required": false; }; }, { "submitEvent": "submitEvent"; }, never, never, true, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InstanceProductsComponent, "lib-instance-products", never, { "fixtureData": { "alias": "fixtureData"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "isSubmitted": { "alias": "isSubmitted"; "required": false; }; "isRollout": { "alias": "isRollout"; "required": false; }; "revertOnEdit": { "alias": "revertOnEdit"; "required": false; }; "zoneEditMode": { "alias": "zoneEditMode"; "required": false; }; }, { "submitEvent": "submitEvent"; }, never, never, true, never>;
|
|
85
86
|
}
|
package/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare class FixtureComponent implements OnInit, OnChanges, AfterViewChe
|
|
|
11
11
|
showColors: boolean;
|
|
12
12
|
showVMs: boolean;
|
|
13
13
|
showBCs: boolean;
|
|
14
|
+
showHeaderFooterAlways: boolean;
|
|
14
15
|
fixtureRoot: ElementRef<HTMLElement>;
|
|
15
16
|
clientId: string;
|
|
16
17
|
imgCDN: string;
|
|
@@ -46,5 +47,5 @@ export declare class FixtureComponent implements OnInit, OnChanges, AfterViewChe
|
|
|
46
47
|
applySectionConfigToShelves(sections: SectionConfig[]): ShelfConfig[];
|
|
47
48
|
ngOnDestroy(): void;
|
|
48
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<FixtureComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FixtureComponent, "fixture", never, { "fixture": { "alias": "fixture"; "required": false; }; "showColors": { "alias": "showColors"; "required": false; }; "showVMs": { "alias": "showVMs"; "required": false; }; "showBCs": { "alias": "showBCs"; "required": false; }; }, {}, never, never, true, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FixtureComponent, "fixture", never, { "fixture": { "alias": "fixture"; "required": false; }; "showColors": { "alias": "showColors"; "required": false; }; "showVMs": { "alias": "showVMs"; "required": false; }; "showBCs": { "alias": "showBCs"; "required": false; }; "showHeaderFooterAlways": { "alias": "showHeaderFooterAlways"; "required": false; }; }, {}, never, never, true, never>;
|
|
50
51
|
}
|
|
@@ -35,6 +35,7 @@ export declare class ZoneVerificationFeedbackComponent implements OnChanges {
|
|
|
35
35
|
get hasFixtureResponse(): boolean;
|
|
36
36
|
get currentUserAction(): string | null;
|
|
37
37
|
get isApproved(): boolean;
|
|
38
|
+
get isClFixture(): boolean;
|
|
38
39
|
get canShowActions(): boolean;
|
|
39
40
|
onClickKeepPlano(): Promise<void>;
|
|
40
41
|
onClickAcceptResponse(): Promise<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;
|
|
@@ -14,6 +14,13 @@ export interface PlanoList {
|
|
|
14
14
|
floorId?: string;
|
|
15
15
|
layoutCount: number;
|
|
16
16
|
lastUpdate?: Date | string;
|
|
17
|
+
zoneTask?: any[];
|
|
18
|
+
zoneDetails?: {
|
|
19
|
+
zoneCount?: number;
|
|
20
|
+
zonePending?: number;
|
|
21
|
+
zoneApproved?: number;
|
|
22
|
+
zoneStatus?: string;
|
|
23
|
+
};
|
|
17
24
|
}
|
|
18
25
|
export interface PlanoRolloutList {
|
|
19
26
|
planoId: string;
|