tango-app-ui-store-builder 1.2.14 → 1.2.15
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/plano-tools/delete-floor/delete-floor.component.mjs +3 -3
- package/esm2022/lib/components/plano-tools/store-exports/store-exports.component.mjs +35 -9
- package/esm2022/lib/components/popups/publish-plano-modal/publish-plano-modal.component.mjs +1 -1
- package/esm2022/lib/services/store-builder.service.mjs +6 -1
- package/fesm2022/tango-app-ui-store-builder.mjs +102 -21
- 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/plano-tools/store-exports/store-exports.component.d.ts +4 -0
- package/lib/services/store-builder.service.d.ts +3 -0
- 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;
|
|
@@ -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;
|
|
@@ -269,6 +269,9 @@ export declare class StoreBuilderService implements OnDestroy {
|
|
|
269
269
|
storeNames: string[];
|
|
270
270
|
vmName: string;
|
|
271
271
|
}): import("rxjs").Observable<Object>;
|
|
272
|
+
/** Whether the current session user may access the Looks feature
|
|
273
|
+
* (email present in planostaticdatas `allowedLookUsers`). */
|
|
274
|
+
getLookAccess(): import("rxjs").Observable<Object>;
|
|
272
275
|
getLookPlanoCollectionList(data: any): import("rxjs").Observable<Object>;
|
|
273
276
|
getLookPlanoCollectionDetails(collectionId: string): import("rxjs").Observable<Object>;
|
|
274
277
|
/** MBQ bucket / Brand / Fixture Header dropdown options + combinations,
|