formica-ui-lib 1.0.300 → 1.0.303
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/dist/componentProps/templates/admin/marketreadiness/MarketReadinessTemplateProps.d.ts
CHANGED
|
@@ -84,15 +84,10 @@ export interface MarketReadinessSkuListItem {
|
|
|
84
84
|
}
|
|
85
85
|
export interface MarketReadinessSkuIntegration {
|
|
86
86
|
lxId?: string;
|
|
87
|
-
lxSyncLoading?: boolean;
|
|
88
87
|
bigCommerceId?: string;
|
|
89
88
|
bigCommerceStatusLabel?: string;
|
|
90
|
-
bigCommerceSyncLabel?: string;
|
|
91
|
-
bigCommerceSyncDisabled?: boolean;
|
|
92
|
-
bigCommerceSyncLoading?: boolean;
|
|
93
89
|
availableForOnlineCheckout?: boolean;
|
|
94
90
|
availabilityLabel?: string;
|
|
95
|
-
priceLabel?: string;
|
|
96
91
|
lastSynchronizedLabel?: string;
|
|
97
92
|
}
|
|
98
93
|
export interface MarketReadinessSkuGuideSegment {
|
|
@@ -100,6 +95,7 @@ export interface MarketReadinessSkuGuideSegment {
|
|
|
100
95
|
length: number;
|
|
101
96
|
label: string;
|
|
102
97
|
example: string;
|
|
98
|
+
description?: string;
|
|
103
99
|
}
|
|
104
100
|
export interface MarketReadinessSkuGuide {
|
|
105
101
|
title: string;
|
|
@@ -114,6 +110,8 @@ export interface MarketReadinessSkuGuide {
|
|
|
114
110
|
export interface MarketReadinessSkuGuideProps {
|
|
115
111
|
guide: MarketReadinessSkuGuide;
|
|
116
112
|
}
|
|
113
|
+
export type MarketReadinessRegion = "north-america" | "europe" | "asia";
|
|
114
|
+
export type MarketReadinessSkuGuides = Partial<Record<MarketReadinessRegion, MarketReadinessSkuGuide>>;
|
|
117
115
|
export interface MarketReadinessSkuEditor {
|
|
118
116
|
mode: MarketReadinessSkuMode;
|
|
119
117
|
saveStatus: MarketReadinessSaveStatus;
|
|
@@ -233,7 +231,7 @@ export interface MarketReadinessLxImport {
|
|
|
233
231
|
}
|
|
234
232
|
export interface MarketReadinessTemplateData {
|
|
235
233
|
mode?: "create" | "edit";
|
|
236
|
-
region?:
|
|
234
|
+
region?: MarketReadinessRegion;
|
|
237
235
|
pageTitle: string;
|
|
238
236
|
pageDescription?: string;
|
|
239
237
|
activeTabId: MarketReadinessTabId;
|
|
@@ -241,7 +239,7 @@ export interface MarketReadinessTemplateData {
|
|
|
241
239
|
decorEditor: MarketReadinessDecorEditor;
|
|
242
240
|
skus: MarketReadinessSkuListItem[];
|
|
243
241
|
skuEditor: MarketReadinessSkuEditor;
|
|
244
|
-
|
|
242
|
+
skuGuides?: MarketReadinessSkuGuides;
|
|
245
243
|
samples: MarketReadinessSampleListItem[];
|
|
246
244
|
sampleEditor: MarketReadinessSampleEditor;
|
|
247
245
|
sampleGuide?: MarketReadinessSampleGuide;
|
|
@@ -370,8 +368,6 @@ interface MarketReadinessTemplateCallbacks {
|
|
|
370
368
|
onSkuBulkSelectionChange?: (payload: MarketReadinessSkuBulkSelectionChangePayload) => void;
|
|
371
369
|
onSkuBulkDelete?: (payload: MarketReadinessSkuBulkDeletePayload) => void;
|
|
372
370
|
onSkuDisableAll?: (payload: MarketReadinessSkuDisableAllPayload) => void;
|
|
373
|
-
onIntegrationRefresh?: (payload: MarketReadinessSkuEditorActionPayload) => void;
|
|
374
|
-
onBigCommerceSync?: (payload: MarketReadinessSkuEditorActionPayload) => void;
|
|
375
371
|
onSampleSearchChange?: (payload: MarketReadinessSkuSearchPayload) => void;
|
|
376
372
|
onSampleSelect?: (payload: MarketReadinessSampleSelectPayload) => void;
|
|
377
373
|
onAddSampleClick?: () => void;
|