@thryveai/theme-interfaces 2.7.188 → 2.7.189
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/index.d.ts +3 -1
- package/dist/index.js +5 -1
- package/dist/storefront/commonSettingsStorefront.d.ts +3 -0
- package/dist/storefront/commonSettingsStorefront.js +432 -0
- package/dist/storefront/commonSharedSettings.d.ts +3 -0
- package/dist/storefront/commonSharedSettings.js +49 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,10 +27,12 @@ import { AdminSettingsTemplateMobile } from "./mobile/reactnative/MobileSettings
|
|
|
27
27
|
import { ISharedSettings } from "./interfaces/shared-settings.interfaces";
|
|
28
28
|
import { AdminSharedSettingsTemplateSFUI } from "./storefront/SFUISharedSettingsTemplate.AdminUi";
|
|
29
29
|
import { IAdminSharedSettingsTemplate } from "./interfaces/shared-settings-interfaces";
|
|
30
|
+
import CommonConfigSFUI from "./storefront/commonSettingsStorefront";
|
|
31
|
+
import CommonSharedSettingsConfig from "./storefront/commonSharedSettings";
|
|
30
32
|
export declare type DeepPartial<T> = {
|
|
31
33
|
[K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K];
|
|
32
34
|
};
|
|
33
|
-
export { DefaultSharedSettingsConfig, DefaultConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, DefaultIconsSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IMobileSettings, AdminSettingsTemplateMobile, MobileDefaultSettings, AdminSharedSettingsTemplateSFUI, };
|
|
35
|
+
export { DefaultSharedSettingsConfig, DefaultConfigSFUI, CommonSharedSettingsConfig, CommonConfigSFUI, DefaultConfigSTS, AllThemeTemplates, DefaultThemeSFUI, globalTheme, DefaultThemeColors, DefaultImagesSFUI, DefaultIconsSFUI, AdminSettingsTemplateSFUI, AdminSettingsTemplateSTS, AdminTemplateInputTypes, AdminImagesTemplateSFUI, AdminThemeTemplateSFUI, AdminThemeTemplateOptions, AdminImagesTemplateSTS, IMobileSettings, AdminSettingsTemplateMobile, MobileDefaultSettings, AdminSharedSettingsTemplateSFUI, };
|
|
34
36
|
export { CMSComponentNames, CMSNames };
|
|
35
37
|
export { ProductAttrToIcons, ProductAttributes };
|
|
36
38
|
export { ITypesOfBusiness, IBusinessAccountObject };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProductAttrToIcons = exports.CMSComponentNames = exports.AdminSharedSettingsTemplateSFUI = exports.MobileDefaultSettings = exports.AdminSettingsTemplateMobile = exports.AdminImagesTemplateSTS = exports.AdminThemeTemplateOptions = exports.AdminThemeTemplateSFUI = exports.AdminImagesTemplateSFUI = exports.AdminTemplateInputTypes = exports.AdminSettingsTemplateSTS = exports.AdminSettingsTemplateSFUI = exports.DefaultIconsSFUI = exports.DefaultImagesSFUI = exports.DefaultThemeColors = exports.globalTheme = exports.DefaultThemeSFUI = exports.AllThemeTemplates = exports.DefaultConfigSTS = exports.DefaultConfigSFUI = exports.DefaultSharedSettingsConfig = void 0;
|
|
3
|
+
exports.ProductAttrToIcons = exports.CMSComponentNames = exports.AdminSharedSettingsTemplateSFUI = exports.MobileDefaultSettings = exports.AdminSettingsTemplateMobile = exports.AdminImagesTemplateSTS = exports.AdminThemeTemplateOptions = exports.AdminThemeTemplateSFUI = exports.AdminImagesTemplateSFUI = exports.AdminTemplateInputTypes = exports.AdminSettingsTemplateSTS = exports.AdminSettingsTemplateSFUI = exports.DefaultIconsSFUI = exports.DefaultImagesSFUI = exports.DefaultThemeColors = exports.globalTheme = exports.DefaultThemeSFUI = exports.AllThemeTemplates = exports.DefaultConfigSTS = exports.CommonConfigSFUI = exports.CommonSharedSettingsConfig = exports.DefaultConfigSFUI = exports.DefaultSharedSettingsConfig = void 0;
|
|
4
4
|
var defaultImagesStorefront_1 = require("./storefront/defaultImagesStorefront");
|
|
5
5
|
exports.DefaultImagesSFUI = defaultImagesStorefront_1.default;
|
|
6
6
|
var defaultIconsStorefront_1 = require("./storefront/defaultIconsStorefront");
|
|
@@ -39,3 +39,7 @@ var MobileSettingsTemplate_AdminUi_1 = require("./mobile/reactnative/MobileSetti
|
|
|
39
39
|
Object.defineProperty(exports, "AdminSettingsTemplateMobile", { enumerable: true, get: function () { return MobileSettingsTemplate_AdminUi_1.AdminSettingsTemplateMobile; } });
|
|
40
40
|
var SFUISharedSettingsTemplate_AdminUi_1 = require("./storefront/SFUISharedSettingsTemplate.AdminUi");
|
|
41
41
|
Object.defineProperty(exports, "AdminSharedSettingsTemplateSFUI", { enumerable: true, get: function () { return SFUISharedSettingsTemplate_AdminUi_1.AdminSharedSettingsTemplateSFUI; } });
|
|
42
|
+
var commonSettingsStorefront_1 = require("./storefront/commonSettingsStorefront");
|
|
43
|
+
exports.CommonConfigSFUI = commonSettingsStorefront_1.default;
|
|
44
|
+
var commonSharedSettings_1 = require("./storefront/commonSharedSettings");
|
|
45
|
+
exports.CommonSharedSettingsConfig = commonSharedSettings_1.default;
|
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var CommonConfigSFUI = {
|
|
4
|
+
accountPage: {
|
|
5
|
+
idp: {
|
|
6
|
+
enabled: false,
|
|
7
|
+
target: "_self",
|
|
8
|
+
url: "",
|
|
9
|
+
},
|
|
10
|
+
loyaltyTab: {
|
|
11
|
+
barcodeSettings: {
|
|
12
|
+
enabled: false,
|
|
13
|
+
},
|
|
14
|
+
disabledEdit: false,
|
|
15
|
+
enabled: false,
|
|
16
|
+
loyaltyNumberLength: 11,
|
|
17
|
+
loyaltyNumberPrefix: "",
|
|
18
|
+
loyaltyValidationType: [],
|
|
19
|
+
},
|
|
20
|
+
profileTab: {
|
|
21
|
+
deleteAccountButton: false,
|
|
22
|
+
},
|
|
23
|
+
secondStepRegistration: {
|
|
24
|
+
businessAccount: {
|
|
25
|
+
enabled: false,
|
|
26
|
+
fields: {
|
|
27
|
+
company: {
|
|
28
|
+
enabled: true,
|
|
29
|
+
validationTypes: [{ length: 50, _type: "less" }, "required"],
|
|
30
|
+
},
|
|
31
|
+
typeOfBusiness: {
|
|
32
|
+
enabled: true,
|
|
33
|
+
options: [
|
|
34
|
+
"administrationOffice",
|
|
35
|
+
"education",
|
|
36
|
+
"foodService",
|
|
37
|
+
"nonProfit",
|
|
38
|
+
"youthSports",
|
|
39
|
+
],
|
|
40
|
+
validationTypes: ["required"],
|
|
41
|
+
},
|
|
42
|
+
title: {
|
|
43
|
+
enabled: true,
|
|
44
|
+
validationTypes: [{ length: 50, _type: "less" }, "required"],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
addressSettings: {
|
|
51
|
+
addressValidationTypes: {
|
|
52
|
+
addressLine1: ["alphaNumeric", "required"],
|
|
53
|
+
addressLine2: ["alphaNumeric"],
|
|
54
|
+
city: ["alphaNumeric", "required"],
|
|
55
|
+
countyProvinceState: ["usState", "required"],
|
|
56
|
+
familyName: ["alphaOnly", "required"],
|
|
57
|
+
firstName: ["alphaOnly", "required"],
|
|
58
|
+
instructions: ["alphaNumeric"],
|
|
59
|
+
phoneNumber: ["usPhone", "required"],
|
|
60
|
+
postCode: ["usPostCode", "required"],
|
|
61
|
+
smsNumber: [],
|
|
62
|
+
deliveryModalZipCodeValidation: [],
|
|
63
|
+
},
|
|
64
|
+
eircode: {
|
|
65
|
+
enabled: false,
|
|
66
|
+
url: "",
|
|
67
|
+
},
|
|
68
|
+
integration: {
|
|
69
|
+
addNewAddressUrl: "",
|
|
70
|
+
addressFinderType: "AUS",
|
|
71
|
+
deleteAddressUrl: "",
|
|
72
|
+
editAddressUrl: "",
|
|
73
|
+
enabled: false,
|
|
74
|
+
useForNewAddresses: false,
|
|
75
|
+
addressProfileName: null,
|
|
76
|
+
},
|
|
77
|
+
useAddressValidation: true,
|
|
78
|
+
fixOldAddresses: true,
|
|
79
|
+
},
|
|
80
|
+
adminPanelOnly: {
|
|
81
|
+
bannerName: "New banner name",
|
|
82
|
+
logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
|
|
83
|
+
},
|
|
84
|
+
cartSummary: {
|
|
85
|
+
hideTaxOnSummary: false,
|
|
86
|
+
showTaxGroups: true,
|
|
87
|
+
showTaxTotal: true,
|
|
88
|
+
},
|
|
89
|
+
checkout: {
|
|
90
|
+
smsOptIn: false,
|
|
91
|
+
checkoutValidation: {
|
|
92
|
+
instructions: ["alphaNumeric", "notWhiteSpacesOnly"],
|
|
93
|
+
phoneNumber: ["usPhone", "required"],
|
|
94
|
+
smsNumber: [],
|
|
95
|
+
},
|
|
96
|
+
houseAccountRegExValidation: ".",
|
|
97
|
+
minimumCreditCardAmount: 1.0,
|
|
98
|
+
numericPhonePayload: false,
|
|
99
|
+
paymentCards: {
|
|
100
|
+
AmExpCard: true,
|
|
101
|
+
DiscoverCard: true,
|
|
102
|
+
MasterCard: true,
|
|
103
|
+
MasterCardDebit: true,
|
|
104
|
+
VisaCard: true,
|
|
105
|
+
PayPal: false,
|
|
106
|
+
ApplePay: false,
|
|
107
|
+
GooglePay: false,
|
|
108
|
+
EBT: false,
|
|
109
|
+
Paze: false,
|
|
110
|
+
},
|
|
111
|
+
forceDeliverySection: false,
|
|
112
|
+
enableInterimModal: false,
|
|
113
|
+
},
|
|
114
|
+
features: {
|
|
115
|
+
additionalCharges: false,
|
|
116
|
+
creditBalance: false,
|
|
117
|
+
subscriptions: false,
|
|
118
|
+
addressIntegrationV2: false,
|
|
119
|
+
advertSettings: {},
|
|
120
|
+
allowInStorePurchases: false,
|
|
121
|
+
allowPastPurchases: true,
|
|
122
|
+
clientCache: false,
|
|
123
|
+
couponGallery: {
|
|
124
|
+
enabled: false,
|
|
125
|
+
galleryHasNavLink: false,
|
|
126
|
+
galleryIsIframe: false,
|
|
127
|
+
},
|
|
128
|
+
ebtPayments: false,
|
|
129
|
+
emailCartOrShoppingList: { enabled: true, messageField: true },
|
|
130
|
+
googleTranslateWidget: {
|
|
131
|
+
enabled: false,
|
|
132
|
+
position: "footer",
|
|
133
|
+
headerLayout: {
|
|
134
|
+
mobile: "horizontal",
|
|
135
|
+
desktop: "horizontal",
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
enableNewsletterSignup: false,
|
|
139
|
+
enableNotifications: false,
|
|
140
|
+
enableRecipeSearch: true,
|
|
141
|
+
entryModalVersion: "entry",
|
|
142
|
+
externalStoreSelectorUrl: {
|
|
143
|
+
enabled: false,
|
|
144
|
+
url: "",
|
|
145
|
+
},
|
|
146
|
+
favoritesV1: true,
|
|
147
|
+
flyerConfiguration: null,
|
|
148
|
+
giftCards: {
|
|
149
|
+
enabled: false,
|
|
150
|
+
giftCardInputValidation: "^[0-9]{17}$",
|
|
151
|
+
pinInputValidation: "^[0-9]{4}$",
|
|
152
|
+
reCaptcha: false,
|
|
153
|
+
},
|
|
154
|
+
globalAnimations: {
|
|
155
|
+
confetti: {
|
|
156
|
+
enableConfettiAnimation: true,
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
hideAlcoholRule: {
|
|
160
|
+
modal: false,
|
|
161
|
+
pdp: false,
|
|
162
|
+
productCard: false,
|
|
163
|
+
cart: false,
|
|
164
|
+
},
|
|
165
|
+
instacart: {
|
|
166
|
+
enabled: false,
|
|
167
|
+
url: "",
|
|
168
|
+
},
|
|
169
|
+
recipeLegacyShareLink: true,
|
|
170
|
+
registrationFields: [],
|
|
171
|
+
secondTierAuthorization: undefined,
|
|
172
|
+
shoppingModesDisplayOrder: [],
|
|
173
|
+
showCheckoutPromoCode: true,
|
|
174
|
+
showImgOnOrder: false,
|
|
175
|
+
showRewardPromoChangeTimeslotMsg: false,
|
|
176
|
+
smartbanner: {
|
|
177
|
+
author: "",
|
|
178
|
+
button: "",
|
|
179
|
+
buttonUrlApple: "",
|
|
180
|
+
buttonUrlGoogle: "",
|
|
181
|
+
closeLabel: "",
|
|
182
|
+
enabled: true,
|
|
183
|
+
iconApple: "",
|
|
184
|
+
iconGoogle: "",
|
|
185
|
+
price: "",
|
|
186
|
+
priceSuffixApple: "",
|
|
187
|
+
priceSuffixGoogle: "",
|
|
188
|
+
title: "",
|
|
189
|
+
},
|
|
190
|
+
smsNotifications: {
|
|
191
|
+
enabled: false,
|
|
192
|
+
getEnrollmentUrl: "",
|
|
193
|
+
postEnrollmentUrl: "",
|
|
194
|
+
},
|
|
195
|
+
specialRequestItems: false,
|
|
196
|
+
vouchers: {
|
|
197
|
+
enabled: false,
|
|
198
|
+
reCaptcha: false,
|
|
199
|
+
manualVouchers: true,
|
|
200
|
+
},
|
|
201
|
+
promotionDetailsPage: {
|
|
202
|
+
bundlePromotionCalculator: true,
|
|
203
|
+
nonBundlePromotionCalculator: true,
|
|
204
|
+
},
|
|
205
|
+
gsaSupportedBrowser: true,
|
|
206
|
+
acquiaAuthService: false,
|
|
207
|
+
storeSelection: {
|
|
208
|
+
pickup: {
|
|
209
|
+
integration: "default",
|
|
210
|
+
},
|
|
211
|
+
planning: {
|
|
212
|
+
integration: "default",
|
|
213
|
+
},
|
|
214
|
+
storeLocator: {
|
|
215
|
+
integration: "default",
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
pdpSettings: {
|
|
220
|
+
externalContent: {
|
|
221
|
+
enabled: true,
|
|
222
|
+
contentProviders: [{ provider: "syndigo" }],
|
|
223
|
+
},
|
|
224
|
+
nutritionZone: "us",
|
|
225
|
+
pdpDetailsLayout: {
|
|
226
|
+
desktop: {
|
|
227
|
+
left: [
|
|
228
|
+
"productSalesInfo",
|
|
229
|
+
"productDescription",
|
|
230
|
+
"productIngredients",
|
|
231
|
+
"productNutrition",
|
|
232
|
+
"sodiumWarning",
|
|
233
|
+
"productNumber",
|
|
234
|
+
],
|
|
235
|
+
right: ["recommendations"],
|
|
236
|
+
},
|
|
237
|
+
mobile: {
|
|
238
|
+
left: [
|
|
239
|
+
"productSalesInfo",
|
|
240
|
+
"productDescription",
|
|
241
|
+
"productNumber",
|
|
242
|
+
"sodiumWarning",
|
|
243
|
+
"recommendations",
|
|
244
|
+
],
|
|
245
|
+
right: [
|
|
246
|
+
"productIngredients",
|
|
247
|
+
"productNutrition",
|
|
248
|
+
"recommendations",
|
|
249
|
+
"productNumber",
|
|
250
|
+
],
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
sodiumWarning: {
|
|
254
|
+
isEnabled: false,
|
|
255
|
+
threshold: 2300,
|
|
256
|
+
},
|
|
257
|
+
productAttributesLayout: {
|
|
258
|
+
attributesRank: [],
|
|
259
|
+
excludedAttributes: [],
|
|
260
|
+
},
|
|
261
|
+
nutritionLink: { href: null, target: "_blank" },
|
|
262
|
+
priceLoyaltyFlag: false,
|
|
263
|
+
},
|
|
264
|
+
productCard: {
|
|
265
|
+
limitProductCardTitleHeight: true,
|
|
266
|
+
productCards: {
|
|
267
|
+
carouselsRowLength: {
|
|
268
|
+
desktop: 6,
|
|
269
|
+
mobile: 1,
|
|
270
|
+
tablet: 4,
|
|
271
|
+
},
|
|
272
|
+
gridRowLength: {
|
|
273
|
+
desktop: 5,
|
|
274
|
+
mobile: 1,
|
|
275
|
+
tablet: 3,
|
|
276
|
+
},
|
|
277
|
+
productCard: {
|
|
278
|
+
enabled: true,
|
|
279
|
+
layouts: {
|
|
280
|
+
ContainersCarousel: "default",
|
|
281
|
+
ContainersGrid: "default",
|
|
282
|
+
FlyerCard: "default",
|
|
283
|
+
SimplifiedCarousel: "default",
|
|
284
|
+
},
|
|
285
|
+
components: {
|
|
286
|
+
promotionLabel: {
|
|
287
|
+
showLines: 1,
|
|
288
|
+
labelSource: "name",
|
|
289
|
+
labelsLimit: 1,
|
|
290
|
+
labelsPriority: [
|
|
291
|
+
{ _type: "tprPromo" },
|
|
292
|
+
{ _type: "pointPromo", limit: 1 },
|
|
293
|
+
{ _type: "promo", limit: 1 },
|
|
294
|
+
],
|
|
295
|
+
},
|
|
296
|
+
recommendedLabel: { enabled: false },
|
|
297
|
+
productAttributes: {
|
|
298
|
+
iconOpacity: 0.6,
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
},
|
|
302
|
+
},
|
|
303
|
+
productCardTitleHeight: 40,
|
|
304
|
+
},
|
|
305
|
+
siteSettings: {
|
|
306
|
+
advertProductView: false,
|
|
307
|
+
clientSideOrderModify: true,
|
|
308
|
+
cmsLazyLoadRows: 0,
|
|
309
|
+
anonymousCart: false,
|
|
310
|
+
ctaButtons: null,
|
|
311
|
+
daysToRemainSignedIn: 30,
|
|
312
|
+
defaultCountry: "USA",
|
|
313
|
+
defaultLanguage: "en-us",
|
|
314
|
+
infinitePagination: false,
|
|
315
|
+
defaultSearchParams: {
|
|
316
|
+
page: "1",
|
|
317
|
+
q: "*",
|
|
318
|
+
skip: "0",
|
|
319
|
+
take: "30",
|
|
320
|
+
},
|
|
321
|
+
defaultShoppingMode: "pickup",
|
|
322
|
+
defaultTabView: "listView",
|
|
323
|
+
showChangeCustomerEmail: false,
|
|
324
|
+
defaultStoreLocation: {
|
|
325
|
+
latitude: 0,
|
|
326
|
+
longitude: 0,
|
|
327
|
+
},
|
|
328
|
+
disableTprPrice: false,
|
|
329
|
+
mobileViewCardLayout: { enabled: false, defaultView: "List" },
|
|
330
|
+
footerVersion: "default",
|
|
331
|
+
googleAutocompleteSettings: {},
|
|
332
|
+
gtmId: "",
|
|
333
|
+
hideWelcomeModalOnCorporate: false,
|
|
334
|
+
isPlanningOnly: false,
|
|
335
|
+
RemoveAllOutOfStock: true,
|
|
336
|
+
mainHeaderHeight: 110,
|
|
337
|
+
maintainCustomerJourney: true,
|
|
338
|
+
maintainCustomerPreferences: {
|
|
339
|
+
enabled: true,
|
|
340
|
+
sections: {
|
|
341
|
+
marketingPreferences: [],
|
|
342
|
+
},
|
|
343
|
+
optInMarketingPreferences: false,
|
|
344
|
+
selectOptInMarketingPreferencesStore: false,
|
|
345
|
+
},
|
|
346
|
+
mapZoom: 8,
|
|
347
|
+
promoTemplateVersion: 1,
|
|
348
|
+
restrictMapPlacesResults: {
|
|
349
|
+
fetchNearStoresSettings: {
|
|
350
|
+
kmRange: 20,
|
|
351
|
+
totalTake: 30,
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
retailerCountry: "us",
|
|
355
|
+
retailerName: "default",
|
|
356
|
+
searchPreview: {
|
|
357
|
+
desktop: {
|
|
358
|
+
products: true,
|
|
359
|
+
suggestions: true,
|
|
360
|
+
recipes: true,
|
|
361
|
+
},
|
|
362
|
+
mobile: {
|
|
363
|
+
products: true,
|
|
364
|
+
suggestions: true,
|
|
365
|
+
recipes: true,
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
subHeaderHeight: 0,
|
|
369
|
+
timeslotModalSettings: {
|
|
370
|
+
showOnAddToCart: false,
|
|
371
|
+
timeslotRequiredToAddToCart: false,
|
|
372
|
+
timeslotRequiredToViewCartReview: false,
|
|
373
|
+
timeslotRequiredToViewCheckout: false,
|
|
374
|
+
enableSelectToContinueText: false,
|
|
375
|
+
},
|
|
376
|
+
useContentEngineV2Components: {
|
|
377
|
+
Carousel: true,
|
|
378
|
+
ContactUs: false,
|
|
379
|
+
Freeform: false,
|
|
380
|
+
HeroBanner: false,
|
|
381
|
+
Image: false,
|
|
382
|
+
ImageTextButton: false,
|
|
383
|
+
ImageWithContent: false,
|
|
384
|
+
LargePromotion: false,
|
|
385
|
+
LayoutExtraLargeBanner2: false,
|
|
386
|
+
PageTopperWithFullBackground: false,
|
|
387
|
+
ProductCardStory: false,
|
|
388
|
+
Recipe: false,
|
|
389
|
+
Sale: false,
|
|
390
|
+
SmallBannerWithBackgroundImage: false,
|
|
391
|
+
SmallBannerWithSupportingImage: false,
|
|
392
|
+
SmallCarousel: false,
|
|
393
|
+
SmallImageWithContent: false,
|
|
394
|
+
SmallPromotion: false,
|
|
395
|
+
ThreeBannerContainer: false,
|
|
396
|
+
TwoBannerContainer: false,
|
|
397
|
+
Video: false,
|
|
398
|
+
VideoWithContent: false,
|
|
399
|
+
},
|
|
400
|
+
isLegacyProductURL: false,
|
|
401
|
+
headerLinks: { dimension: 0, enabled: false },
|
|
402
|
+
showCartValueOnMobile: false,
|
|
403
|
+
cookiePro: { enabled: false, domain: "", src: "" },
|
|
404
|
+
scrollToTopButton: {
|
|
405
|
+
enabled: true,
|
|
406
|
+
percentOffset: { bottom: 15, right: 2 },
|
|
407
|
+
},
|
|
408
|
+
clientRenderCoupons: true,
|
|
409
|
+
showClippedStateInCouponModal: false,
|
|
410
|
+
showShopAllLink: {
|
|
411
|
+
enabled: true,
|
|
412
|
+
},
|
|
413
|
+
showEmptyMiniList: false,
|
|
414
|
+
preserveStore: {
|
|
415
|
+
enabled: false,
|
|
416
|
+
skipConfirmation: false,
|
|
417
|
+
confirmationDelay: 5000,
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
welcomeModal: [],
|
|
421
|
+
performance: {
|
|
422
|
+
vouchersLongTimeout: false,
|
|
423
|
+
},
|
|
424
|
+
integrations: {
|
|
425
|
+
prodX: {
|
|
426
|
+
enabled: false,
|
|
427
|
+
catalogId: "",
|
|
428
|
+
test: false,
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
};
|
|
432
|
+
exports.default = CommonConfigSFUI;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var CommonSharedSettingsConfig = {
|
|
4
|
+
adminPanelOnly: {
|
|
5
|
+
bannerName: "New banner name",
|
|
6
|
+
logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
|
|
7
|
+
},
|
|
8
|
+
features: {
|
|
9
|
+
multilingual: false,
|
|
10
|
+
recommendedSubstitutions: {
|
|
11
|
+
enable: false,
|
|
12
|
+
search: { enable: false },
|
|
13
|
+
stores: [],
|
|
14
|
+
locationId: "",
|
|
15
|
+
enableRecommendationsV2: false,
|
|
16
|
+
},
|
|
17
|
+
specialRequestItems: {
|
|
18
|
+
enable: true,
|
|
19
|
+
excludeStores: [],
|
|
20
|
+
},
|
|
21
|
+
couponGallery: {
|
|
22
|
+
enabled: false,
|
|
23
|
+
showClipAllCouponsButton: false,
|
|
24
|
+
showUnclaimedCouponsPrompt: false,
|
|
25
|
+
missedCouponsButtonInCartURL: "",
|
|
26
|
+
hideSavingsSection: false,
|
|
27
|
+
showRedemptionProductCard: false,
|
|
28
|
+
},
|
|
29
|
+
flyerConfiguration: null,
|
|
30
|
+
ageVerification: {
|
|
31
|
+
ageVerificationPrefix: "",
|
|
32
|
+
ageVerificationStatementName: "",
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
checkout: {
|
|
36
|
+
preserveOrderNote: {
|
|
37
|
+
enabled: true,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
general: {
|
|
41
|
+
enableStoreSelectorList: true,
|
|
42
|
+
skipStoreSelection: false,
|
|
43
|
+
addressConfirmationModal: false,
|
|
44
|
+
dateOfBirthInputFormat: "DD/MM/YYYY",
|
|
45
|
+
wasComparisonPrice: false,
|
|
46
|
+
enableTargetedRewardsIcon: false,
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
exports.default = CommonSharedSettingsConfig;
|