tango-app-ui-store-builder 1.0.10 → 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.
Files changed (31) hide show
  1. package/esm2022/lib/components/fixture-template/fixture-template.component.mjs +9 -23
  2. package/esm2022/lib/components/fixture-template/template-basic-details/template-basic-details.component.mjs +47 -84
  3. package/esm2022/lib/components/fixture-template/template-products/template-products.component.mjs +1 -1
  4. package/esm2022/lib/components/fixture-template/template-vms/template-vms.component.mjs +5 -4
  5. package/esm2022/lib/components/manage-store-plano/manage-store-plano-feedback/manage-store-plano-feedback.component.mjs +3 -3
  6. package/esm2022/lib/components/manage-store-plano/manage-store-plano.component.mjs +40 -337
  7. package/esm2022/lib/components/manage-store-plano/plano-rollout/plano-rollout.component.mjs +5 -3
  8. package/esm2022/lib/components/manage-store-plano/template-basic-details/template-basic-details.component.mjs +9 -27
  9. package/esm2022/lib/components/manage-store-plano/template-products/template-products.component.mjs +2 -3
  10. package/esm2022/lib/components/manage-store-plano/template-vms/template-vms.component.mjs +73 -102
  11. package/esm2022/lib/components/reactive-select/reactive-select.component.mjs +3 -3
  12. package/esm2022/lib/interfaces/fixture-template.interface.mjs +1 -1
  13. package/esm2022/lib/services/store-builder.service.mjs +4 -4
  14. package/esm2022/lib/tango-store-builder.module.mjs +7 -11
  15. package/fesm2022/tango-app-ui-store-builder.mjs +1139 -2387
  16. package/fesm2022/tango-app-ui-store-builder.mjs.map +1 -1
  17. package/lib/components/fixture-template/fixture-template.component.d.ts +0 -1
  18. package/lib/components/fixture-template/template-basic-details/template-basic-details.component.d.ts +9 -9
  19. package/lib/components/manage-store-plano/manage-store-plano.component.d.ts +5 -19
  20. package/lib/components/manage-store-plano/template-basic-details/template-basic-details.component.d.ts +6 -7
  21. package/lib/components/manage-store-plano/template-vms/template-vms.component.d.ts +9 -9
  22. package/lib/interfaces/fixture-template.interface.d.ts +2 -2
  23. package/lib/services/store-builder.service.d.ts +1 -1
  24. package/lib/tango-store-builder.module.d.ts +33 -35
  25. package/package.json +1 -1
  26. package/esm2022/lib/components/manage-store-plano/verification-feedback/action-confirm-popup/action-confirm-popup.component.mjs +0 -80
  27. package/esm2022/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.mjs +0 -375
  28. package/esm2022/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.mjs +0 -420
  29. package/lib/components/manage-store-plano/verification-feedback/action-confirm-popup/action-confirm-popup.component.d.ts +0 -21
  30. package/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.d.ts +0 -48
  31. package/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.d.ts +0 -74
@@ -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
- }
@@ -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
- }
@@ -1,74 +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
- private destroy$;
33
- constructor(ngbModal: NgbModal);
34
- ngOnInit(): void;
35
- ngOnChanges(changes: SimpleChanges): void;
36
- get isApproved(): boolean;
37
- buildFixtureQuickDetails(fixture: any): FixtureQuickDetail[];
38
- compareQuickDetails(): void;
39
- onChangeFixture(change: "next" | "previous"): void;
40
- onClickKeepPlano(): Promise<boolean>;
41
- onClickAcceptAI(): Promise<boolean>;
42
- onClickRedo(): Promise<void>;
43
- onEditCurrentFixture(): void;
44
- onEditAIFeedback(): void;
45
- togglePlanoQuickEdit(): void;
46
- toggleAIQuickEdit(): void;
47
- onCancelPlanoQuickEdit(): void;
48
- onSavePlanoQuickEdit(): Promise<void>;
49
- onCancelAIQuickEdit(): void;
50
- onSaveAIQuickEdit(): Promise<void>;
51
- onCapacityInput(event: Event, item: FixtureQuickDetail, source: "plano" | "ai"): void;
52
- onQuickValueChange(item: FixtureQuickDetail, newValue: string, source: "plano" | "ai"): void;
53
- confirmAction(type: "redo" | "acceptAI" | "keepPlano"): Promise<{
54
- action: string;
55
- remark: string | null;
56
- } | null>;
57
- onClickVMImagePreview(imgUrl: string): void;
58
- closeVMImagePreview(): void;
59
- ngOnDestroy(): void;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<VerificationFeedbackComponent, never>;
61
- 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>;
62
- }
63
- interface FixtureQuickDetail {
64
- key: string;
65
- label: string;
66
- value: string;
67
- editable: boolean;
68
- isDifferent?: boolean;
69
- meta?: {
70
- type: "fixture" | "shelf" | "tray";
71
- shelfNumber?: number;
72
- };
73
- }
74
- export {};