tango-app-ui-store-builder 1.0.12 → 1.0.13
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/fixture-template/fixture-template.component.mjs +9 -23
- package/esm2022/lib/components/fixture-template/template-basic-details/template-basic-details.component.mjs +47 -84
- package/esm2022/lib/components/fixture-template/template-products/template-products.component.mjs +1 -1
- package/esm2022/lib/components/fixture-template/template-vms/template-vms.component.mjs +5 -4
- package/esm2022/lib/components/manage-store-plano/manage-store-plano-feedback/manage-store-plano-feedback.component.mjs +3 -3
- package/esm2022/lib/components/manage-store-plano/manage-store-plano.component.mjs +46 -366
- package/esm2022/lib/components/manage-store-plano/plano-rollout/plano-rollout.component.mjs +10 -51
- package/esm2022/lib/components/manage-store-plano/template-basic-details/template-basic-details.component.mjs +9 -26
- package/esm2022/lib/components/manage-store-plano/template-products/template-products.component.mjs +2 -2
- package/esm2022/lib/components/manage-store-plano/template-vms/template-vms.component.mjs +73 -101
- package/esm2022/lib/components/reactive-select/reactive-select.component.mjs +3 -3
- package/esm2022/lib/interfaces/fixture-template.interface.mjs +1 -1
- package/esm2022/lib/services/store-builder.service.mjs +4 -4
- package/esm2022/lib/tango-store-builder.module.mjs +7 -11
- package/fesm2022/tango-app-ui-store-builder.mjs +1147 -2524
- package/fesm2022/tango-app-ui-store-builder.mjs.map +1 -1
- package/lib/components/fixture-template/fixture-template.component.d.ts +0 -1
- package/lib/components/fixture-template/template-basic-details/template-basic-details.component.d.ts +9 -9
- package/lib/components/manage-plano/rollout-table/rollout-table.component.d.ts +1 -1
- package/lib/components/manage-plano/verification-table/verification-table.component.d.ts +1 -1
- package/lib/components/manage-store-plano/manage-store-plano.component.d.ts +6 -23
- package/lib/components/manage-store-plano/plano-rollout/plano-rollout.component.d.ts +1 -1
- package/lib/components/manage-store-plano/template-basic-details/template-basic-details.component.d.ts +6 -7
- package/lib/components/manage-store-plano/template-vms/template-vms.component.d.ts +9 -9
- package/lib/interfaces/fixture-template.interface.d.ts +2 -2
- package/lib/services/store-builder.service.d.ts +1 -1
- package/lib/tango-store-builder.module.d.ts +33 -35
- package/package.json +1 -1
- package/esm2022/lib/components/manage-store-plano/verification-feedback/action-confirm-popup/action-confirm-popup.component.mjs +0 -80
- package/esm2022/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.mjs +0 -375
- package/esm2022/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.mjs +0 -486
- package/lib/components/manage-store-plano/verification-feedback/action-confirm-popup/action-confirm-popup.component.d.ts +0 -21
- package/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.d.ts +0 -48
- package/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.d.ts +0 -76
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
2
|
-
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
3
|
-
import { NgbActiveModal } from "@ng-bootstrap/ng-bootstrap";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ActionConfirmPopupComponent implements OnInit {
|
|
6
|
-
private activeModal;
|
|
7
|
-
private sanitizer;
|
|
8
|
-
type: "redo" | "acceptAI" | "keepPlano";
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
btnText: string;
|
|
12
|
-
private icon;
|
|
13
|
-
safeIcon: SafeHtml;
|
|
14
|
-
remark: string;
|
|
15
|
-
constructor(activeModal: NgbActiveModal, sanitizer: DomSanitizer);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
onCancel(): void;
|
|
18
|
-
onOk(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionConfirmPopupComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionConfirmPopupComponent, "lib-action-confirm-popup", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
-
}
|
package/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { StoreBuilderService } from "../../../../services/store-builder.service";
|
|
3
|
-
import { GlobalStateService } from "tango-app-ui-global";
|
|
4
|
-
import { SectionConfig, ShelfConfig } from "../../../../interfaces/fixture-template.interface";
|
|
5
|
-
import { VmLibraryList } from "../../../../interfaces/vm-library.interface";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FixtureComponent implements OnInit, OnChanges, AfterViewChecked, OnDestroy {
|
|
8
|
-
private apiService;
|
|
9
|
-
private gs;
|
|
10
|
-
private cd;
|
|
11
|
-
fixture: any;
|
|
12
|
-
clientId: string;
|
|
13
|
-
imgCDN: string;
|
|
14
|
-
shelfColors: {
|
|
15
|
-
text: string;
|
|
16
|
-
textBg: string;
|
|
17
|
-
bg: string;
|
|
18
|
-
border: string;
|
|
19
|
-
}[];
|
|
20
|
-
sectionByZones: {
|
|
21
|
-
zone: string;
|
|
22
|
-
section: {
|
|
23
|
-
brands: string[];
|
|
24
|
-
categories: string[];
|
|
25
|
-
shelves: string[];
|
|
26
|
-
shelfDivs: (HTMLElement | null | undefined)[];
|
|
27
|
-
};
|
|
28
|
-
}[];
|
|
29
|
-
vmList: VmLibraryList[];
|
|
30
|
-
isPageLoading: boolean;
|
|
31
|
-
private isVMInitialized;
|
|
32
|
-
private isBCInitialized;
|
|
33
|
-
private destroy$;
|
|
34
|
-
constructor(apiService: StoreBuilderService, gs: GlobalStateService, cd: ChangeDetectorRef);
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
37
|
-
ngAfterViewChecked(): void;
|
|
38
|
-
getVmsList(): Promise<void>;
|
|
39
|
-
getSelectedVM(vm: any): VmLibraryList | undefined;
|
|
40
|
-
handleVmPositionAndSize(): boolean;
|
|
41
|
-
applyShelfColors(): boolean;
|
|
42
|
-
constructSequentialSection(shelfDivs: (HTMLElement | null)[]): void;
|
|
43
|
-
groupShelvesByZone(input: ShelfConfig[]): SectionConfig[];
|
|
44
|
-
applySectionConfigToShelves(sections: SectionConfig[]): ShelfConfig[];
|
|
45
|
-
ngOnDestroy(): void;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FixtureComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FixtureComponent, "lib-fixture", never, { "fixture": { "alias": "fixture"; "required": false; }; }, {}, never, never, true, never>;
|
|
48
|
-
}
|
package/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.d.ts
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class VerificationFeedbackComponent implements OnInit, OnChanges, OnDestroy {
|
|
5
|
-
private ngbModal;
|
|
6
|
-
floorData: any;
|
|
7
|
-
totalFixtures: any[];
|
|
8
|
-
feedbackDetails: any;
|
|
9
|
-
cdn: string;
|
|
10
|
-
showAction: boolean;
|
|
11
|
-
changeFixture: EventEmitter<{
|
|
12
|
-
currentFixture: string;
|
|
13
|
-
action: "next" | "previous";
|
|
14
|
-
}>;
|
|
15
|
-
action: EventEmitter<any>;
|
|
16
|
-
selectedFeedbackData: {
|
|
17
|
-
currentFixture: any;
|
|
18
|
-
aiFeedbackFixture: any;
|
|
19
|
-
};
|
|
20
|
-
isPageLoading: boolean;
|
|
21
|
-
currentFixtureIndex: number;
|
|
22
|
-
planoFixtureQuickDetails: FixtureQuickDetail[];
|
|
23
|
-
aiFixtureQuickDetails: FixtureQuickDetail[];
|
|
24
|
-
planoFixture: any;
|
|
25
|
-
aiFixture: any;
|
|
26
|
-
editingPlanoFixture: any | null;
|
|
27
|
-
editingAiFixture: any | null;
|
|
28
|
-
selectedAiVmImageForPreview: string | null;
|
|
29
|
-
isPlanoQuickEdit: boolean;
|
|
30
|
-
isAIQuickEdit: boolean;
|
|
31
|
-
highlightDifferences: boolean;
|
|
32
|
-
isQuickEditSubmitted: boolean;
|
|
33
|
-
private destroy$;
|
|
34
|
-
constructor(ngbModal: NgbModal);
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
37
|
-
get isApproved(): boolean;
|
|
38
|
-
buildFixtureQuickDetails(fixture: any): FixtureQuickDetail[];
|
|
39
|
-
compareQuickDetails(): void;
|
|
40
|
-
onChangeFixture(change: "next" | "previous"): void;
|
|
41
|
-
onClickKeepPlano(): Promise<boolean>;
|
|
42
|
-
onClickAcceptAI(): Promise<boolean>;
|
|
43
|
-
onClickRedo(): Promise<void>;
|
|
44
|
-
onEditCurrentFixture(): void;
|
|
45
|
-
onEditAIFeedback(): void;
|
|
46
|
-
togglePlanoQuickEdit(): void;
|
|
47
|
-
toggleAIQuickEdit(): void;
|
|
48
|
-
onCancelPlanoQuickEdit(): void;
|
|
49
|
-
onSavePlanoQuickEdit(): Promise<false | undefined>;
|
|
50
|
-
onCancelAIQuickEdit(): void;
|
|
51
|
-
onSaveAIQuickEdit(): Promise<false | undefined>;
|
|
52
|
-
onCapacityInput(event: Event, item: FixtureQuickDetail, source: "plano" | "ai"): void;
|
|
53
|
-
onQuickValueChange(item: FixtureQuickDetail, newValue: string, source: "plano" | "ai"): void;
|
|
54
|
-
isQuickValuesContainsError(target: "ai" | "plano"): boolean;
|
|
55
|
-
confirmAction(type: "redo" | "acceptAI" | "keepPlano"): Promise<{
|
|
56
|
-
action: string;
|
|
57
|
-
remark: string | null;
|
|
58
|
-
} | null>;
|
|
59
|
-
onClickVMImagePreview(imgUrl: string): void;
|
|
60
|
-
closeVMImagePreview(): void;
|
|
61
|
-
ngOnDestroy(): void;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerificationFeedbackComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerificationFeedbackComponent, "lib-verification-feedback", never, { "floorData": { "alias": "floorData"; "required": false; }; "totalFixtures": { "alias": "totalFixtures"; "required": false; }; "feedbackDetails": { "alias": "feedbackDetails"; "required": false; }; "cdn": { "alias": "cdn"; "required": false; }; "showAction": { "alias": "showAction"; "required": false; }; }, { "changeFixture": "changeFixture"; "action": "action"; }, never, never, false, never>;
|
|
64
|
-
}
|
|
65
|
-
interface FixtureQuickDetail {
|
|
66
|
-
key: string;
|
|
67
|
-
label: string;
|
|
68
|
-
value: string;
|
|
69
|
-
editable: boolean;
|
|
70
|
-
isDifferent?: boolean;
|
|
71
|
-
meta?: {
|
|
72
|
-
type: "fixture" | "shelf" | "tray";
|
|
73
|
-
shelfNumber?: number;
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
export {};
|