tango-app-ui-store-builder 1.0.38 → 1.0.39
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 +19 -8
- package/esm2022/lib/components/manage-plano/verification-table/verification-table.component.mjs +8 -2
- package/esm2022/lib/components/manage-store-plano/manage-store-plano.component.mjs +31 -30
- package/esm2022/lib/components/manage-store-plano/verification-feedback/editable-fixture/editable-fixture.component.mjs +14 -15
- package/esm2022/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.mjs +13 -14
- package/esm2022/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.mjs +30 -31
- package/esm2022/lib/components/plano-tools/plano-migrate/plano-migrate.component.mjs +54 -7
- package/esm2022/lib/components/plano-tools/tools-parent/tools-parent.component.mjs +3 -3
- package/esm2022/lib/components/planogram/plano-table/plano-filter/plano-filter.component.mjs +13 -12
- package/esm2022/lib/components/planogram/plano-table/plano-table.component.mjs +4 -4
- package/fesm2022/tango-app-ui-store-builder.mjs +178 -116
- package/fesm2022/tango-app-ui-store-builder.mjs.map +1 -1
- package/lib/components/manage-plano/popups/create-planogram/create-planogram.component.d.ts +1 -0
- package/lib/components/manage-store-plano/manage-store-plano.component.d.ts +0 -3
- package/lib/components/manage-store-plano/verification-feedback/editable-fixture/editable-fixture.component.d.ts +1 -4
- package/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.d.ts +1 -4
- package/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.d.ts +1 -4
- package/lib/components/plano-tools/plano-migrate/plano-migrate.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -9,7 +9,6 @@ import { GlobalStateService, PageInfoService } from "tango-app-ui-global";
|
|
|
9
9
|
import { ToastService } from "tango-app-ui-shared";
|
|
10
10
|
import { StoreBuilderService } from "../../services/store-builder.service";
|
|
11
11
|
import { DropdownIF } from "../../interfaces/plano-general.interface";
|
|
12
|
-
import { VmLibraryList } from "../../interfaces/vm-library.interface";
|
|
13
12
|
import * as i0 from "@angular/core";
|
|
14
13
|
type BoundFixtureGroup = {
|
|
15
14
|
fixtureGroup: fabric.Group;
|
|
@@ -92,7 +91,6 @@ export declare class ManageStorePlanoComponent implements AfterViewInit, OnDestr
|
|
|
92
91
|
otherElementList: DropdownIF[];
|
|
93
92
|
storeList: any;
|
|
94
93
|
selectedStoreName: any;
|
|
95
|
-
vmList: VmLibraryList[];
|
|
96
94
|
private activeHighlight;
|
|
97
95
|
private cancelHighlightBlink;
|
|
98
96
|
isButtonLoading: boolean;
|
|
@@ -105,7 +103,6 @@ export declare class ManageStorePlanoComponent implements AfterViewInit, OnDestr
|
|
|
105
103
|
resizeCanvas(): void;
|
|
106
104
|
setupZoomHandlers(): void;
|
|
107
105
|
setPageData(): void;
|
|
108
|
-
getVmsList(): Promise<void>;
|
|
109
106
|
onFixtureSave(): void;
|
|
110
107
|
onFixturePageCancel(): Promise<void>;
|
|
111
108
|
onFixtureSubmit(event: any): void;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
2
|
import { GlobalStateService } from "tango-app-ui-global";
|
|
3
3
|
import { SectionConfig, ShelfConfig } from "../../../../interfaces/fixture-template.interface";
|
|
4
|
-
import { VmLibraryList } from "../../../../interfaces/vm-library.interface";
|
|
5
4
|
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class EditableFixtureComponent implements OnInit, OnChanges, AfterViewChecked, OnDestroy {
|
|
8
7
|
private gs;
|
|
9
8
|
private cd;
|
|
10
9
|
private ngbModal;
|
|
11
|
-
vmList: VmLibraryList[];
|
|
12
10
|
fixture: any;
|
|
13
11
|
editingAiFixture: any | null;
|
|
14
12
|
editFixtureQuickDetails: FixtureQuickDetail[];
|
|
@@ -48,7 +46,6 @@ export declare class EditableFixtureComponent implements OnInit, OnChanges, Afte
|
|
|
48
46
|
ngAfterViewChecked(): void;
|
|
49
47
|
getQuickItem(key: string): FixtureQuickDetail | undefined;
|
|
50
48
|
buildFixtureQuickDetails(fixture: any): FixtureQuickDetail[];
|
|
51
|
-
getSelectedVM(vm: any): VmLibraryList | undefined;
|
|
52
49
|
private get bodyEl();
|
|
53
50
|
handleVmPositionAndSize(): boolean;
|
|
54
51
|
applyShelfColors(): boolean;
|
|
@@ -75,7 +72,7 @@ export declare class EditableFixtureComponent implements OnInit, OnChanges, Afte
|
|
|
75
72
|
} | null>;
|
|
76
73
|
ngOnDestroy(): void;
|
|
77
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditableFixtureComponent, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditableFixtureComponent, "editable-fixture", never, { "
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditableFixtureComponent, "editable-fixture", never, { "fixture": { "alias": "fixture"; "required": false; }; "showColors": { "alias": "showColors"; "required": false; }; "showVMs": { "alias": "showVMs"; "required": false; }; "showBCs": { "alias": "showBCs"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; }, { "onCancel": "onCancel"; "onDone": "onDone"; "editTab": "editTab"; }, never, never, true, never>;
|
|
79
76
|
}
|
|
80
77
|
interface FixtureQuickDetail {
|
|
81
78
|
key: string;
|
package/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.d.ts
CHANGED
|
@@ -2,14 +2,12 @@ import { AfterViewChecked, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy,
|
|
|
2
2
|
import { StoreBuilderService } from "../../../../services/store-builder.service";
|
|
3
3
|
import { GlobalStateService } from "tango-app-ui-global";
|
|
4
4
|
import { SectionConfig, ShelfConfig } from "../../../../interfaces/fixture-template.interface";
|
|
5
|
-
import { VmLibraryList } from "../../../../interfaces/vm-library.interface";
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class FixtureComponent implements OnInit, OnChanges, AfterViewChecked, OnDestroy {
|
|
8
7
|
private apiService;
|
|
9
8
|
private gs;
|
|
10
9
|
private cd;
|
|
11
10
|
fixture: any;
|
|
12
|
-
vmList: VmLibraryList[];
|
|
13
11
|
showColors: boolean;
|
|
14
12
|
showVMs: boolean;
|
|
15
13
|
showBCs: boolean;
|
|
@@ -39,7 +37,6 @@ export declare class FixtureComponent implements OnInit, OnChanges, AfterViewChe
|
|
|
39
37
|
ngOnInit(): void;
|
|
40
38
|
ngOnChanges(changes: SimpleChanges): void;
|
|
41
39
|
ngAfterViewChecked(): void;
|
|
42
|
-
getSelectedVM(vm: any): VmLibraryList | undefined;
|
|
43
40
|
private get bodyEl();
|
|
44
41
|
handleVmPositionAndSize(): boolean;
|
|
45
42
|
applyShelfColors(): boolean;
|
|
@@ -48,5 +45,5 @@ export declare class FixtureComponent implements OnInit, OnChanges, AfterViewChe
|
|
|
48
45
|
applySectionConfigToShelves(sections: SectionConfig[]): ShelfConfig[];
|
|
49
46
|
ngOnDestroy(): void;
|
|
50
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<FixtureComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FixtureComponent, "fixture", never, { "fixture": { "alias": "fixture"; "required": false; }; "
|
|
48
|
+
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>;
|
|
52
49
|
}
|
package/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
2
|
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
-
import { VmLibraryList } from "../../../interfaces/vm-library.interface";
|
|
4
3
|
import { GlobalStateService } from "tango-app-ui-global";
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class VerificationFeedbackComponent implements OnInit, OnChanges, OnDestroy {
|
|
@@ -11,7 +10,6 @@ export declare class VerificationFeedbackComponent implements OnInit, OnChanges,
|
|
|
11
10
|
feedbackDetails: any;
|
|
12
11
|
cdn: string;
|
|
13
12
|
showAction: boolean;
|
|
14
|
-
vmList: VmLibraryList[];
|
|
15
13
|
changeFixture: EventEmitter<{
|
|
16
14
|
currentFixture: string;
|
|
17
15
|
action: "next" | "previous";
|
|
@@ -35,7 +33,6 @@ export declare class VerificationFeedbackComponent implements OnInit, OnChanges,
|
|
|
35
33
|
ngOnChanges(changes: SimpleChanges): void;
|
|
36
34
|
processAIFixtureData(): any;
|
|
37
35
|
compareFixture(aiFixture: any, currentFixture: any): void;
|
|
38
|
-
updateVMlistWithAiData(): void;
|
|
39
36
|
get isApproved(): boolean;
|
|
40
37
|
onChangeFixture(change: "next" | "previous"): void;
|
|
41
38
|
onClickKeepPlano(): Promise<boolean>;
|
|
@@ -54,5 +51,5 @@ export declare class VerificationFeedbackComponent implements OnInit, OnChanges,
|
|
|
54
51
|
closeImagePreview(): void;
|
|
55
52
|
ngOnDestroy(): void;
|
|
56
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerificationFeedbackComponent, never>;
|
|
57
|
-
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; };
|
|
54
|
+
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>;
|
|
58
55
|
}
|
|
@@ -43,6 +43,7 @@ export declare class PlanoMigrateComponent implements OnInit, AfterViewInit, OnD
|
|
|
43
43
|
isStarted: boolean;
|
|
44
44
|
isForceStop: boolean;
|
|
45
45
|
isLayoutMode: boolean;
|
|
46
|
+
includeBg: boolean;
|
|
46
47
|
stores: string;
|
|
47
48
|
private readonly destroy$;
|
|
48
49
|
constructor(apiService: StoreBuilderService, gs: GlobalStateService, titleCase: TitleCasePipe);
|