tango-app-ui-store-builder 1.2.15 → 1.2.16
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-store-plano/verification-feedback/zone-editable-fixture/zone-editable-fixture.component.mjs +33 -7
- package/esm2022/lib/components/plano-tools/delete-floor/delete-floor.component.mjs +3 -3
- package/esm2022/lib/components/plano-tools/delete-task/delete-task.component.mjs +10 -4
- package/esm2022/lib/components/plano-tools/swap-template/swap-template.component.mjs +3 -1
- package/esm2022/lib/components/popups/publish-plano-modal/publish-plano-modal.component.mjs +1 -1
- package/esm2022/lib/components/store-plano/store-plano.component.mjs +31 -6
- package/esm2022/lib/services/store-builder.service.mjs +1 -1
- package/esm2022/lib/tango-store-plano.module.mjs +5 -2
- package/fesm2022/tango-app-ui-store-builder.mjs +78 -16
- package/fesm2022/tango-app-ui-store-builder.mjs.map +1 -1
- package/lib/components/manage-store-plano/verification-feedback/zone-editable-fixture/zone-editable-fixture.component.d.ts +6 -0
- package/lib/components/plano-tools/delete-task/delete-task.component.d.ts +2 -0
- package/lib/components/store-plano/store-plano.component.d.ts +1 -0
- package/lib/services/store-builder.service.d.ts +4 -1
- package/lib/tango-store-plano.module.d.ts +1 -1
- package/package.json +1 -1
|
@@ -46,6 +46,8 @@ export declare class ZoneEditableFixtureComponent implements OnInit, OnChanges,
|
|
|
46
46
|
bg: string;
|
|
47
47
|
border: string;
|
|
48
48
|
}[];
|
|
49
|
+
private readonly ZONE_DIFF_COLOR;
|
|
50
|
+
private readonly ZONE_MATCH_COLOR;
|
|
49
51
|
sectionByZones: {
|
|
50
52
|
zone: string;
|
|
51
53
|
section: {
|
|
@@ -80,6 +82,10 @@ export declare class ZoneEditableFixtureComponent implements OnInit, OnChanges,
|
|
|
80
82
|
}[];
|
|
81
83
|
isToggleAvailable(): boolean;
|
|
82
84
|
onToggleOthers(zone: string): Promise<void>;
|
|
85
|
+
private getZoneBrandsFromConfig;
|
|
86
|
+
private zoneBrandKey;
|
|
87
|
+
private isZoneBrandsDifferent;
|
|
88
|
+
private zoneColor;
|
|
83
89
|
private snapshotBrandsByZone;
|
|
84
90
|
private loadHeaders;
|
|
85
91
|
private loadBrandsForHeader;
|
|
@@ -7,6 +7,7 @@ export declare class DeleteTaskComponent implements OnInit, OnDestroy {
|
|
|
7
7
|
private sbs;
|
|
8
8
|
private gs;
|
|
9
9
|
clientId: string;
|
|
10
|
+
taskType: 'fixture' | 'zoneVerification';
|
|
10
11
|
storeOptions: StoreOption[];
|
|
11
12
|
initialStores: StoreOption[];
|
|
12
13
|
selectedStores: StoreOption[];
|
|
@@ -18,6 +19,7 @@ export declare class DeleteTaskComponent implements OnInit, OnDestroy {
|
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
loadStores(): void;
|
|
20
21
|
onStoresSelected(stores: StoreOption[]): void;
|
|
22
|
+
onTaskTypeChange(): void;
|
|
21
23
|
onSubmit(): void;
|
|
22
24
|
showMessage(msg: string, type: 'success' | 'error'): void;
|
|
23
25
|
ngOnDestroy(): void;
|
|
@@ -122,6 +122,7 @@ export declare class StorePlanoComponent implements OnInit, AfterViewInit, OnDes
|
|
|
122
122
|
private isFutureTaskDate;
|
|
123
123
|
openSetCurrentModal(revisionIndex: number): void;
|
|
124
124
|
private doOpenSetCurrentModal;
|
|
125
|
+
toggleStagingFlag(revisionIndex: number): void;
|
|
125
126
|
openEditNameModal(revisionIndex: number): void;
|
|
126
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<StorePlanoComponent, never>;
|
|
127
128
|
static ɵcmp: i0.ɵɵComponentDeclaration<StorePlanoComponent, "app-store-plano", never, {}, {}, never, never, false, never>;
|
|
@@ -229,7 +229,10 @@ export declare class StoreBuilderService implements OnDestroy {
|
|
|
229
229
|
fixtureNumber?: number;
|
|
230
230
|
associatedElementFixtureNumber?: number;
|
|
231
231
|
}): import("rxjs").Observable<Object>;
|
|
232
|
-
deleteTaskForStores(data:
|
|
232
|
+
deleteTaskForStores(data: {
|
|
233
|
+
storeNames: string[];
|
|
234
|
+
taskType: "fixture" | "zoneVerification";
|
|
235
|
+
}): import("rxjs").Observable<Object>;
|
|
233
236
|
getFloorsWithStatus(storeName: string, clientId: string): import("rxjs").Observable<Object>;
|
|
234
237
|
moveStoreBucket(data: {
|
|
235
238
|
floorId: string;
|
|
@@ -15,6 +15,6 @@ import * as i13 from "./components/planogram/plano-overview/plano-comparison/pla
|
|
|
15
15
|
import * as i14 from "./components/fixture-overview-panel/fixture-overview-panel.component";
|
|
16
16
|
export declare class TangoStorePlanoModule {
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TangoStorePlanoModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoStorePlanoModule, [typeof i1.StorePlanoComponent], [typeof i2.RouterModule, typeof i3.CommonModule, typeof i4.ReactiveSelectComponent, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.NgbTooltipModule, typeof i7.InstanceBasicDetailsComponent, typeof i8.InstanceProductsComponent, typeof i9.InstanceVmsComponent, typeof i10.TemplateTreeComponent, typeof i11.TimeAgoPipe, typeof i12.StorePlanoTreeViewComponent, typeof i13.PlanoComparisonComponent, typeof i14.FixtureOverviewPanelComponent], never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TangoStorePlanoModule, [typeof i1.StorePlanoComponent], [typeof i2.RouterModule, typeof i3.CommonModule, typeof i4.ReactiveSelectComponent, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.NgbTooltipModule, typeof i6.NgbDropdownModule, typeof i7.InstanceBasicDetailsComponent, typeof i8.InstanceProductsComponent, typeof i9.InstanceVmsComponent, typeof i10.TemplateTreeComponent, typeof i11.TimeAgoPipe, typeof i12.StorePlanoTreeViewComponent, typeof i13.PlanoComparisonComponent, typeof i14.FixtureOverviewPanelComponent], never>;
|
|
19
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<TangoStorePlanoModule>;
|
|
20
20
|
}
|