tango-app-ui-store-builder 1.2.14 → 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/collection-update-ai/components/store-select/store-select.component.mjs +5 -3
- package/esm2022/lib/components/fixture-template/template-products/template-products.component.mjs +4 -1
- package/esm2022/lib/components/fixture-template/template-vms/template-vms.component.mjs +4 -1
- package/esm2022/lib/components/look-plano-collection/look-plano-collection.component.mjs +27 -5
- package/esm2022/lib/components/look-plano-collection-form/look-plano-collection-form.component.mjs +26 -5
- 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-task/delete-task.component.mjs +10 -4
- package/esm2022/lib/components/plano-tools/store-exports/store-exports.component.mjs +35 -9
- package/esm2022/lib/components/plano-tools/swap-template/swap-template.component.mjs +3 -1
- package/esm2022/lib/components/store-plano/store-plano.component.mjs +31 -6
- package/esm2022/lib/services/store-builder.service.mjs +6 -1
- package/esm2022/lib/tango-store-plano.module.mjs +5 -2
- package/fesm2022/tango-app-ui-store-builder.mjs +172 -29
- package/fesm2022/tango-app-ui-store-builder.mjs.map +1 -1
- package/lib/components/look-plano-collection/look-plano-collection.component.d.ts +5 -1
- package/lib/components/look-plano-collection-form/look-plano-collection-form.component.d.ts +5 -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/plano-tools/store-exports/store-exports.component.d.ts +4 -0
- package/lib/components/store-plano/store-plano.component.d.ts +1 -0
- package/lib/services/store-builder.service.d.ts +7 -1
- package/lib/tango-store-plano.module.d.ts +1 -1
- package/package.json +1 -1
|
@@ -27,6 +27,8 @@ export declare class LookPlanoCollectionComponent implements OnInit, OnDestroy {
|
|
|
27
27
|
loading: boolean;
|
|
28
28
|
items: LookPlanoCollectionListItem[];
|
|
29
29
|
totalItems: number;
|
|
30
|
+
accessChecked: boolean;
|
|
31
|
+
allowed: boolean;
|
|
30
32
|
searchTerm: string;
|
|
31
33
|
limit: number;
|
|
32
34
|
offset: number;
|
|
@@ -35,7 +37,9 @@ export declare class LookPlanoCollectionComponent implements OnInit, OnDestroy {
|
|
|
35
37
|
sortOrder: number;
|
|
36
38
|
private destroy$;
|
|
37
39
|
constructor(router: Router, modal: NgbModal, gs: GlobalStateService, builderService: StoreBuilderService, toast: ToastService, pageInfo: PageInfoService);
|
|
38
|
-
ngOnInit(): void
|
|
40
|
+
ngOnInit(): Promise<void>;
|
|
41
|
+
/** Resolve whether the session user may access Looks. Never throws. */
|
|
42
|
+
private checkAccess;
|
|
39
43
|
setPageData(): void;
|
|
40
44
|
loadList(): Promise<void>;
|
|
41
45
|
onSearch(): void;
|
|
@@ -20,6 +20,8 @@ export declare class LookPlanoCollectionFormComponent implements OnInit, OnDestr
|
|
|
20
20
|
isNew: boolean;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
saving: boolean;
|
|
23
|
+
accessChecked: boolean;
|
|
24
|
+
allowed: boolean;
|
|
23
25
|
form: FormGroup;
|
|
24
26
|
selectedLookIndex: number;
|
|
25
27
|
selectedSlotIndex: number;
|
|
@@ -175,7 +177,9 @@ export declare class LookPlanoCollectionFormComponent implements OnInit, OnDestr
|
|
|
175
177
|
private static readonly BUCKET_PALETTE;
|
|
176
178
|
private destroy$;
|
|
177
179
|
constructor(fb: FormBuilder, route: ActivatedRoute, router: Router, gs: GlobalStateService, builderService: StoreBuilderService, toast: ToastService, pageInfo: PageInfoService, planoDataService: PlanoDataService);
|
|
178
|
-
ngOnInit(): void
|
|
180
|
+
ngOnInit(): Promise<void>;
|
|
181
|
+
/** Resolve whether the session user may access Looks. Never throws. */
|
|
182
|
+
private checkAccess;
|
|
179
183
|
setPageData(): void;
|
|
180
184
|
initForm(): void;
|
|
181
185
|
get looks(): FormArray;
|
|
@@ -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;
|
|
@@ -29,6 +29,8 @@ export declare class StoreExportsComponent implements OnInit, OnDestroy {
|
|
|
29
29
|
storeOptions: StoreOption[];
|
|
30
30
|
initialStores: StoreOption[];
|
|
31
31
|
selectedStores: StoreOption[];
|
|
32
|
+
selectedRevisionStores: StoreOption[];
|
|
33
|
+
revisionName: string;
|
|
32
34
|
starting: ExportKind | null;
|
|
33
35
|
activeJob: ExportJob | null;
|
|
34
36
|
busyInfo: BusyInfo | null;
|
|
@@ -40,6 +42,8 @@ export declare class StoreExportsComponent implements OnInit, OnDestroy {
|
|
|
40
42
|
ngOnInit(): void;
|
|
41
43
|
loadStores(): void;
|
|
42
44
|
onStoresSelected(stores: StoreOption[]): void;
|
|
45
|
+
onRevisionStoresSelected(stores: StoreOption[]): void;
|
|
46
|
+
get totalSelectedStores(): number;
|
|
43
47
|
onExportMbq(): void;
|
|
44
48
|
onExportOrderSheet(): void;
|
|
45
49
|
get isWorking(): boolean;
|
|
@@ -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;
|
|
@@ -269,6 +272,9 @@ export declare class StoreBuilderService implements OnDestroy {
|
|
|
269
272
|
storeNames: string[];
|
|
270
273
|
vmName: string;
|
|
271
274
|
}): import("rxjs").Observable<Object>;
|
|
275
|
+
/** Whether the current session user may access the Looks feature
|
|
276
|
+
* (email present in planostaticdatas `allowedLookUsers`). */
|
|
277
|
+
getLookAccess(): import("rxjs").Observable<Object>;
|
|
272
278
|
getLookPlanoCollectionList(data: any): import("rxjs").Observable<Object>;
|
|
273
279
|
getLookPlanoCollectionDetails(collectionId: string): import("rxjs").Observable<Object>;
|
|
274
280
|
/** MBQ bucket / Brand / Fixture Header dropdown options + combinations,
|
|
@@ -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
|
}
|