tango-app-ui-store-builder 1.0.37 → 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.
Files changed (21) hide show
  1. package/esm2022/lib/components/manage-plano/popups/create-planogram/create-planogram.component.mjs +19 -8
  2. package/esm2022/lib/components/manage-plano/verification-table/verification-table.component.mjs +8 -2
  3. package/esm2022/lib/components/manage-store-plano/manage-store-plano.component.mjs +60 -39
  4. package/esm2022/lib/components/manage-store-plano/verification-feedback/editable-fixture/editable-fixture.component.mjs +14 -15
  5. package/esm2022/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.mjs +13 -14
  6. package/esm2022/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.mjs +30 -31
  7. package/esm2022/lib/components/plano-tools/plano-migrate/plano-migrate.component.mjs +54 -7
  8. package/esm2022/lib/components/plano-tools/tools-parent/tools-parent.component.mjs +3 -3
  9. package/esm2022/lib/components/planogram/plano-table/plano-filter/plano-filter.component.mjs +13 -12
  10. package/esm2022/lib/components/planogram/plano-table/plano-table.component.mjs +4 -4
  11. package/fesm2022/tango-app-ui-store-builder.mjs +207 -125
  12. package/fesm2022/tango-app-ui-store-builder.mjs.map +1 -1
  13. package/lib/components/manage-plano/popups/create-planogram/create-planogram.component.d.ts +1 -0
  14. package/lib/components/manage-plano/rollout-table/rollout-table.component.d.ts +1 -1
  15. package/lib/components/manage-plano/verification-table/verification-table.component.d.ts +2 -2
  16. package/lib/components/manage-store-plano/manage-store-plano.component.d.ts +2 -4
  17. package/lib/components/manage-store-plano/verification-feedback/editable-fixture/editable-fixture.component.d.ts +1 -4
  18. package/lib/components/manage-store-plano/verification-feedback/fixture/fixture.component.d.ts +1 -4
  19. package/lib/components/manage-store-plano/verification-feedback/verification-feedback.component.d.ts +1 -4
  20. package/lib/components/plano-tools/plano-migrate/plano-migrate.component.d.ts +1 -0
  21. package/package.json +1 -1
@@ -26,6 +26,7 @@ export declare class CreatePlanogramComponent implements OnInit {
26
26
  isLayoutExist: boolean;
27
27
  isButtonLoading: boolean;
28
28
  isCreateStoreMode: boolean;
29
+ newStoreDetails: any;
29
30
  createStoreForm: any;
30
31
  storeTypeList: {
31
32
  label: string;
@@ -51,7 +51,7 @@ export declare class PlanoRolloutTableComponent implements OnInit, OnDestroy {
51
51
  paginationSize(): number;
52
52
  onPageChange(pageOffset: number): void;
53
53
  onPageSizeChange(pageSize: number): void;
54
- getTaskStatus(data: any, type: string): "yetToAssign" | "completed" | "reviewPending" | "taskAssigned" | undefined;
54
+ getTaskStatus(data: any, type: string): "yetToAssign" | "reviewPending" | "completed" | "taskAssigned" | undefined;
55
55
  getTaskTooltip(data: any, type: string): "Review Pending" | "Yet to Assign" | "Task Assigned" | "Completed" | undefined;
56
56
  showBreach(data: any, type: string): boolean;
57
57
  updateQueryParams(): void;
@@ -53,12 +53,12 @@ export declare class PlanoVerificationTableComponent implements OnInit, OnDestro
53
53
  onPageChange(pageOffset: number): void;
54
54
  onPageSizeChange(pageSize: number): void;
55
55
  planoFloorDetails(data: any): string | 1;
56
- getTaskStatus(data: any, type: string): "yetToAssign" | "completed" | "reviewPending" | "taskAssigned" | undefined;
56
+ getTaskStatus(data: any, type: string): "yetToAssign" | "reviewPending" | "completed" | "taskAssigned" | undefined;
57
57
  getTaskTooltip(data: any, type: string): "Review Pending" | "Yet to Assign" | "Task Assigned" | "Completed" | undefined;
58
58
  getProgressValue(data: any): 100 | 50 | 25;
59
59
  showBreach(data: any, type: string): boolean;
60
60
  getStatus(data: any): "Review Pending" | "Yet to Assign" | "Task Assigned" | "Completed" | "Ready to Publish" | "Published" | undefined;
61
- getStatusBadge(data: any): "yetToAssign" | "completed" | "reviewPending" | "taskAssigned" | "primaryBadgeStyle" | "bg-success" | undefined;
61
+ getStatusBadge(data: any): "yetToAssign" | "reviewPending" | "completed" | "taskAssigned" | "primaryBadgeStyle" | "bg-success" | undefined;
62
62
  getSubmit(data: any): boolean;
63
63
  updateQueryParams(): void;
64
64
  ngOnDestroy(): void;
@@ -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,19 +91,18 @@ 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;
96
+ isButtonLoading: boolean;
98
97
  layoutBounds: any;
99
98
  constructor(apiService: StoreBuilderService, route: ActivatedRoute, fb: FormBuilder, gs: GlobalStateService, titleCase: TitleCasePipe, toastService: ToastService, modalService: NgbModal, pageInfo: PageInfoService, location: Location, router: Router, cd: ChangeDetectorRef);
100
99
  ngOnInit(): void;
101
100
  ngAfterViewInit(): void;
102
- updateAllPositions(): void;
101
+ updateAllPositions(): Promise<void>;
103
102
  applyGroupTransform(selection: fabric.ActiveSelection): void;
104
103
  resizeCanvas(): void;
105
104
  setupZoomHandlers(): void;
106
105
  setPageData(): void;
107
- getVmsList(): Promise<void>;
108
106
  onFixtureSave(): void;
109
107
  onFixturePageCancel(): Promise<void>;
110
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, { "vmList": { "alias": "vmList"; "required": false; }; "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>;
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;
@@ -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; }; "vmList": { "alias": "vmList"; "required": false; }; "showColors": { "alias": "showColors"; "required": false; }; "showVMs": { "alias": "showVMs"; "required": false; }; "showBCs": { "alias": "showBCs"; "required": false; }; }, {}, never, never, true, never>;
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
  }
@@ -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; }; "vmList": { "alias": "vmList"; "required": false; }; }, { "changeFixture": "changeFixture"; "action": "action"; }, never, never, false, never>;
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-store-builder",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0"