@thryveai/theme-interfaces 2.7.187 → 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/dist/storefront/defaultIconsStorefront.js +1 -1
- 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;
|
|
@@ -163,7 +163,7 @@ var DefaultIconsSFUI = {
|
|
|
163
163
|
"SubstituteBestmatch": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" role=\"presentation\" aria-hidden=\"true\"><title>A80E767A-7509-49A4-89F3-2C5928E81463svg/</title><defs><path d=\"M15.8342132,7.03856169 C15.9428956,7.56424171 16,8.10878547 16,8.66666667 C16,13.0849447 12.418278,16.6666667 8,16.6666667 C5.66366531,16.6666667 3.56124614,15.6651552 2.09863841,14.0680283 L0.853553391,15.3131133 C0.759785201,15.4068815 0.632608245,15.4595599 0.5,15.4595599 C0.223857625,15.4595599 2.50466314e-13,15.2357023 2.50466314e-13,14.9595599 L2.50466314e-13,10.6666667 C2.50466314e-13,10.5190084 0.0640060796,10.3862996 0.165786769,10.2947716 C0.0571043571,9.76909162 2.50466314e-13,9.22454786 2.50466314e-13,8.66666667 C2.50466314e-13,4.24838867 3.581722,0.666666667 8,0.666666667 C10.3363347,0.666666667 12.4387539,1.66817811 13.9013616,3.26530508 L15.1464466,2.02022006 C15.2402148,1.92645187 15.3673918,1.87377345 15.5,1.87377345 C15.7761424,1.87377345 16,2.09763107 16,2.37377345 L16,6.66666667 C16,6.81432492 15.9359939,6.94703375 15.8342132,7.03856169 L15.8342132,7.03856169 Z M6,5.66666667 C5.44771525,5.66666667 5,6.11438192 5,6.66666667 C5,7.21895142 5.44771525,7.66666667 6,7.66666667 L10,7.66666667 C10.5522847,7.66666667 11,7.21895142 11,6.66666667 C11,6.11438192 10.5522847,5.66666667 10,5.66666667 L6,5.66666667 Z M6,9.66666667 C5.44771525,9.66666667 5,10.1143819 5,10.6666667 C5,11.2189514 5.44771525,11.6666667 6,11.6666667 L10,11.6666667 C10.5522847,11.6666667 11,11.2189514 11,10.6666667 C11,10.1143819 10.5522847,9.66666667 10,9.66666667 L6,9.66666667 Z\" id=\"SubstituteBestmatchpath-1\"/><filter x=\"-1.5%\" y=\"-2.4%\" width=\"103.0%\" height=\"104.8%\" filterUnits=\"objectBoundingBox\" id=\"SubstituteBestmatchfilter-3\"><feOffset dx=\"0\" dy=\"2\" in=\"SourceAlpha\" result=\"shadowOffsetOuter1\"/><feGaussianBlur stdDeviation=\"2\" in=\"shadowOffsetOuter1\" result=\"shadowBlurOuter1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0\" type=\"matrix\" in=\"shadowBlurOuter1\" result=\"shadowMatrixOuter1\"/><feMerge><feMergeNode in=\"shadowMatrixOuter1\"/><feMergeNode in=\"SourceGraphic\"/></feMerge></filter></defs><g id=\"SubstituteBestmatch000_STYLE-GUIDE\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"SubstituteBestmatch01.3-Iconography\" transform=\"translate(-839.000000, -985.000000)\"><rect id=\"SubstituteBestmatchPAGE-BG\" fill=\"#F3F4F6\" x=\"351\" y=\"0\" width=\"1089\" height=\"2634\"/><g id=\"SubstituteBestmatchNavigation-Copy\" transform=\"translate(501.000000, 369.000000)\"><g id=\"SubstituteBestmatchGroup-Copy-2\" transform=\"translate(303.000000, 581.000000)\"><rect id=\"SubstituteBestmatchRectangle\" fill=\"#FFFFFF\" x=\"0\" y=\"0\" width=\"85\" height=\"85\"/><g id=\"SubstituteBestmatchshare\" transform=\"translate(35.000000, 34.333333)\"><mask id=\"SubstituteBestmatchmask-2\" fill=\"white\"><use xlink:href=\"#SubstituteBestmatchpath-1\"/></mask><use id=\"SubstituteBestmatchOval\" fill=\"#000000\" xlink:href=\"#SubstituteBestmatchpath-1\"/><g id=\"SubstituteBestmatch↳Color\" mask=\"url(#SubstituteBestmatchmask-2)\"><g transform=\"translate(0.000000, 0.666667)\"><rect id=\"SubstituteBestmatche1-Border\" stroke=\"#40464B\" stroke-width=\"1\" fill=\"none\" x=\"0.5\" y=\"0.5\" width=\"15\" height=\"15\"/><rect id=\"SubstituteBestmatche1-Color\" stroke=\"none\" fill=\"#40464B\" fill-rule=\"evenodd\" x=\"0\" y=\"0\" width=\"16\" height=\"16\"/></g></g></g></g><g id=\"SubstituteBestmatchLogos-Copy-25\" filter=\"url(#SubstituteBestmatchfilter-3)\" transform=\"translate(0.000000, 185.000000)\"/></g></g></g></svg>",
|
|
164
164
|
"SubstituteNone": "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" role=\"presentation\" aria-hidden=\"true\"><defs><path id=\"SubstituteNonesubtitute-none-a\" d=\"M15.8342132,7.03856169 C15.9428956,7.56424171 16,8.10878547 16,8.66666667 C16,13.0849447 12.418278,16.6666667 8,16.6666667 C5.66366531,16.6666667 3.56124614,15.6651552 2.09863841,14.0680283 L0.853553391,15.3131133 C0.759785201,15.4068815 0.632608245,15.4595599 0.5,15.4595599 C0.223857625,15.4595599 2.50398679e-13,15.2357023 2.50466314e-13,14.9595599 L2.50992042e-13,10.6666667 C2.51028208e-13,10.5190084 0.0640060796,10.3862996 0.165786769,10.2947716 C0.0571043571,9.76909162 2.50466314e-13,9.22454786 2.50466314e-13,8.66666667 C2.50466314e-13,4.24838867 3.581722,0.666666667 8,0.666666667 C10.3363347,0.666666667 12.4387539,1.66817811 13.9013616,3.26530508 L15.1464466,2.02022006 C15.2402148,1.92645187 15.3673918,1.87377345 15.5,1.87377345 C15.7761424,1.87377345 16,2.09763107 16,2.37377345 L16,6.66666667 C16,6.81432492 15.9359939,6.94703375 15.8342132,7.03856169 Z M8,7.2524531 L6.58578644,5.83823954 C6.19526215,5.44771525 5.56209717,5.44771525 5.17157288,5.83823954 C4.78104858,6.22876383 4.78104858,6.86192881 5.17157288,7.2524531 L6.58578644,8.66666667 L5.17157288,10.0808802 C4.78104858,10.4714045 4.78104858,11.1045695 5.17157288,11.4950938 C5.56209717,11.8856181 6.19526215,11.8856181 6.58578644,11.4950938 L8,10.0808802 L9.41421356,11.4950938 C9.80473785,11.8856181 10.4379028,11.8856181 10.8284271,11.4950938 C11.2189514,11.1045695 11.2189514,10.4714045 10.8284271,10.0808802 L9.41421356,8.66666667 L10.8284271,7.2524531 C11.2189514,6.86192881 11.2189514,6.22876383 10.8284271,5.83823954 C10.4379028,5.44771525 9.80473785,5.44771525 9.41421356,5.83823954 L8,7.2524531 Z\"/></defs><use fill-rule=\"evenodd\" transform=\"translate(0 -.667)\" xlink:href=\"#SubstituteNonesubtitute-none-a\"/></svg>",
|
|
165
165
|
"SubstituteProduct": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" role=\"presentation\" aria-hidden=\"true\"><title>AABCF104-90A6-494A-AE24-D91B051659C8svg/</title><defs><path d=\"M15.8342132,7.03856169 C15.9428956,7.56424171 16,8.10878547 16,8.66666667 C16,13.0849447 12.418278,16.6666667 8,16.6666667 C5.66366531,16.6666667 3.56124614,15.6651552 2.09863841,14.0680283 L0.853553391,15.3131133 C0.759785201,15.4068815 0.632608245,15.4595599 0.5,15.4595599 C0.223857625,15.4595599 0,15.2357023 0,14.9595599 L0,10.6666667 C0,10.5190084 0.0640060796,10.3862996 0.165786769,10.2947716 C0.0571043571,9.76909162 0,9.22454786 0,8.66666667 C0,4.24838867 3.581722,0.666666667 8,0.666666667 C10.3363347,0.666666667 12.4387539,1.66817811 13.9013616,3.26530508 L15.1464466,2.02022006 C15.2402148,1.92645187 15.3673918,1.87377345 15.5,1.87377345 C15.7761424,1.87377345 16,2.09763107 16,2.37377345 L16,6.66666667 C16,6.81432492 15.9359939,6.94703375 15.8342132,7.03856169 L15.8342132,7.03856169 Z M10.5355339,5.95955989 L7.12132034,9.37377345 L5.70710678,7.95955989 C5.31658249,7.56903559 4.68341751,7.56903559 4.29289322,7.95955989 C3.90236893,8.35008418 3.90236893,8.98324916 4.29289322,9.37377345 L7.12132034,12.2022006 L11.9497475,7.37377345 C12.3402718,6.98324916 12.3402718,6.35008418 11.9497475,5.95955989 C11.5592232,5.56903559 10.9260582,5.56903559 10.5355339,5.95955989 Z\" id=\"SubstituteProductpath-1\"/><filter x=\"-1.5%\" y=\"-2.4%\" width=\"103.0%\" height=\"104.8%\" filterUnits=\"objectBoundingBox\" id=\"SubstituteProductfilter-3\"><feOffset dx=\"0\" dy=\"2\" in=\"SourceAlpha\" result=\"shadowOffsetOuter1\"/><feGaussianBlur stdDeviation=\"2\" in=\"shadowOffsetOuter1\" result=\"shadowBlurOuter1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0\" type=\"matrix\" in=\"shadowBlurOuter1\" result=\"shadowMatrixOuter1\"/><feMerge><feMergeNode in=\"shadowMatrixOuter1\"/><feMergeNode in=\"SourceGraphic\"/></feMerge></filter></defs><g id=\"SubstituteProduct000_STYLE-GUIDE\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"SubstituteProduct01.3-Iconography\" transform=\"translate(-1041.000000, -985.000000)\"><rect id=\"SubstituteProductPAGE-BG\" fill=\"#F3F4F6\" x=\"351\" y=\"0\" width=\"1089\" height=\"2634\"/><g id=\"SubstituteProductNavigation-Copy\" transform=\"translate(501.000000, 369.000000)\"><g id=\"SubstituteProductGroup-Copy\" transform=\"translate(505.000000, 581.000000)\"><rect id=\"SubstituteProductRectangle\" fill=\"#FFFFFF\" x=\"0\" y=\"0\" width=\"85\" height=\"85\"/><g id=\"SubstituteProductshare\" transform=\"translate(35.000000, 34.333333)\"><mask id=\"SubstituteProductmask-2\" fill=\"white\"><use xlink:href=\"#SubstituteProductpath-1\"/></mask><use id=\"SubstituteProductOval\" fill=\"#000000\" xlink:href=\"#SubstituteProductpath-1\"/><g id=\"SubstituteProduct↳Color\" mask=\"url(#SubstituteProductmask-2)\"><g transform=\"translate(0.000000, 0.666667)\"><rect id=\"SubstituteProducte1-Border\" stroke=\"#40464B\" stroke-width=\"1\" fill=\"none\" x=\"0.5\" y=\"0.5\" width=\"15\" height=\"15\"/><rect id=\"SubstituteProducte1-Color\" stroke=\"none\" fill=\"#40464B\" fill-rule=\"evenodd\" x=\"0\" y=\"0\" width=\"16\" height=\"16\"/></g></g></g></g><g id=\"SubstituteProductLogos-Copy-25\" filter=\"url(#SubstituteProductfilter-3)\" transform=\"translate(0.000000, 185.000000)\"/></g></g></g></svg>",
|
|
166
|
-
"TargetedReward": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"
|
|
166
|
+
"TargetedReward": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"#40464B\" xmlns=\"http://www.w3.org/2000/svg\" role=\"presentation\" aria-hidden=\"true\"><path d=\"M12.2569 5.91063L12.6045 4.79487C12.9189 3.95384 13.2952 3.12996 13.7695 2.3671C14.591 1.04652 16.0851 -0.685667 17.8067 0.289926C18.7351 0.815981 19.8479 2.49474 20.1388 3.51288C20.8565 6.02475 18.2424 6.83511 16.3272 7.18768L14.9947 7.38227L21.1125 7.38161C21.8371 7.39348 22.4515 7.93141 22.529 8.65569V12.5501C22.4749 13.1959 21.9568 13.7147 21.3245 13.8166L21.3252 22.6461C21.2793 23.3539 20.7295 23.936 20.0204 24H4.49274C3.7777 23.9172 3.24835 23.3496 3.20284 22.6309L3.20448 13.8163C2.59103 13.715 2.08905 13.2299 2.00495 12.6079L2 8.65503C2.07784 7.93141 2.69162 7.39249 3.41656 7.38095L9.5343 7.38161L8.6903 7.26848C6.70877 6.95912 3.6316 6.22726 4.37929 3.53267C4.6626 2.51222 5.7589 0.867102 6.67084 0.316641C8.5155 -0.796485 10.1286 1.27343 10.9456 2.68669C11.5244 3.68801 11.968 4.7886 12.2566 5.90998V5.91063H12.2569ZM10.7371 6.62271C10.7427 6.59599 10.7233 6.58115 10.7121 6.56103C10.5465 6.26947 10.3107 5.94658 10.1105 5.67482C9.66754 5.07389 8.03891 2.95714 7.3839 4.38524C7.05673 5.09896 7.75165 5.45384 8.30046 5.68042C9.10422 6.01222 9.99868 6.14975 10.7371 6.62271ZM13.7764 6.63854C14.4189 6.19658 15.2266 6.05147 15.9528 5.78432C16.5851 5.5518 17.5699 5.16756 17.1026 4.3173C16.9301 4.00331 16.6774 3.83907 16.312 3.92779C15.4842 4.12864 14.3621 5.69197 13.9119 6.40239C13.8951 6.4291 13.7671 6.62831 13.7764 6.63854ZM9.78792 8.68009H3.38588C3.34004 8.68009 3.26847 8.7952 3.28232 8.84566V12.3602C3.26484 12.4143 3.3341 12.5416 3.38588 12.5416H9.78792V8.68009ZM14.7417 12.5419H21.1438C21.1896 12.5419 21.2612 12.4268 21.2473 12.3763V8.82983C21.2652 8.78332 21.1787 8.68009 21.1438 8.68009H14.7417V12.5416V12.5419ZM9.78792 14.8051H4.54914V22.5996C4.54914 22.6069 4.62533 22.6708 4.63621 22.6708H9.78792V14.8054V14.8051ZM19.9805 14.8051H14.7417V22.6705H19.8935C19.9043 22.6705 19.9805 22.6065 19.9805 22.5993V14.8048V14.8051Z\"/></svg>",
|
|
167
167
|
"TikTok": "<svg version=\"1.1\" id=\"TikTokLayer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\" xml:space=\"preserve\" role=\"presentation\" aria-hidden=\"true\"><path class=\"TikTokst0\" d=\"M8,16c4.4,0,8-3.6,8-8c0-4.4-3.6-8-8-8C3.6,0,0,3.6,0,8C0,12.4,3.6,16,8,16z M10.2,3.4c0.1,0.7,0.5,1.2,1,1.6\n\tl0,0c0.4,0.2,0.8,0.4,1.3,0.4v1.7c-0.9,0-1.7-0.3-2.3-0.8v3.5c0,1.7-1.4,3.2-3.1,3.2c-0.7,0-1.3-0.2-1.8-0.6C4.5,11.9,4,10.9,4,9.8\n\tc0-1.7,1.4-3.2,3.1-3.2c0.1,0,0.3,0,0.4,0v1.8c-0.1,0-0.3-0.1-0.4-0.1C6.3,8.4,5.7,9,5.7,9.8c0,0.6,0.3,1,0.8,1.3\n\tc0.2,0.1,0.4,0.2,0.7,0.2c0.8,0,1.4-0.6,1.4-1.4V3h1.7C10.2,3.1,10.2,3.3,10.2,3.4z\"/></svg>",
|
|
168
168
|
"Trash": "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" role=\"presentation\" aria-hidden=\"true\"><defs><path id=\"Trashtrash-a\" d=\"M1.52380953,14.2222222 L1.52380953,3.55555555 L11.8095239,3.55555555 L11.8095239,14.2222222 C11.8095239,15.2 11.0380953,16 10.0952382,16 L3.23809525,16 C2.2952381,16 1.52380953,15.2 1.52380953,14.2222222 Z M12.6666667,0.888888891 L12.6666667,2.66666666 L0.666666667,2.66666666 L0.666666667,0.888888891 L3.66666668,0.888888891 L4.52380954,0 L8.80952387,0 L9.66666667,0.888888891 L12.6666667,0.888888891 Z\"/></defs><use transform=\"translate(1.333)\" xlink:href=\"#Trashtrash-a\"/></svg>",
|
|
169
169
|
"Twitter": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" role=\"presentation\" aria-hidden=\"true\"><path d=\"M8,16 C12.418278,16 16,12.418278 16,8 C16,3.581722 12.418278,0 8,0 C3.581722,0 0,3.581722 0,8 C0,12.418278 3.581722,16 8,16 Z M6.12233421,3.3 L8.39593924,6.60893857 L11.2425818,3.3 L12.0194599,3.3 L8.74105042,7.11088578 L12.3064777,12.3 L9.68414345,12.3 L7.28304998,8.80564838 L4.27692214,12.3 L3.5,12.3 L6.93813694,8.30370117 L3.5,3.3 L6.12233421,3.3 Z M5.75016512,3.88485579 L4.55685804,3.88485579 L7.32859414,7.8495291 L7.67694904,8.34797573 L10.0496416,11.7417427 L11.2429487,11.7417427 L8.33534333,7.58272952 L7.98698843,7.08447369 L5.75016512,3.88485579 Z\"/></svg>",
|