@thryveai/theme-interfaces 2.4.10 → 2.4.11
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/interfaces/retailer-settings.interfaces.d.ts +1 -0
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +7 -1
- package/dist/storefront/defaultSettingsStorefront.js +168 -164
- package/package.json +1 -1
- package/dist/defaultSettings.d.ts +0 -3
- package/dist/defaultSettings.js +0 -242
- package/dist/storefrontUiSettingsTemplateForAdminPanel.d.ts +0 -3
- package/dist/storefrontUiSettingsTemplateForAdminPanel.js +0 -686
|
@@ -330,6 +330,7 @@ export interface ISiteSettingsV2 {
|
|
|
330
330
|
footerVersion: IFooterTypes;
|
|
331
331
|
googleAutocompleteSettings: IGoogleAutocompleteSettings;
|
|
332
332
|
gtmId: string;
|
|
333
|
+
hideWelcomeModalOnCorporate: boolean;
|
|
333
334
|
isPlanningOnly: boolean;
|
|
334
335
|
mainHeaderHeight: number;
|
|
335
336
|
maintainCustomerJourney: boolean;
|
|
@@ -367,6 +367,12 @@ var SiteSettingsChildren = {
|
|
|
367
367
|
description: "Google Tag Manager ID",
|
|
368
368
|
type: exports.AdminTemplateInputTypes.inputChar,
|
|
369
369
|
},
|
|
370
|
+
hideWelcomeModalOnCorporate: {
|
|
371
|
+
title: "Hide Welcome Modal on Corporate",
|
|
372
|
+
description: "Enable to hide the initial welcome modal selection screen when on corporate store",
|
|
373
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3472326883/Hide+Welcome+Modal+on+Corporate",
|
|
374
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
375
|
+
},
|
|
370
376
|
isPlanningOnly: {
|
|
371
377
|
title: "Planning Only",
|
|
372
378
|
description: "Enable if planning mode is the only available shopping method",
|
|
@@ -396,7 +402,7 @@ var SiteSettingsChildren = {
|
|
|
396
402
|
description: "Enable Maintain customer preferences",
|
|
397
403
|
type: exports.AdminTemplateInputTypes.checkbox,
|
|
398
404
|
},
|
|
399
|
-
}
|
|
405
|
+
},
|
|
400
406
|
},
|
|
401
407
|
retailerCountry: {
|
|
402
408
|
title: "Retailer country",
|
|
@@ -1,134 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var DefaultConfigSFUI = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
|
|
7
|
-
},
|
|
8
|
-
siteSettings: {
|
|
9
|
-
anonymousCart: false,
|
|
10
|
-
defaultCountry: "USA",
|
|
11
|
-
defaultShoppingMode: "pickup",
|
|
12
|
-
daysToRemainSignedIn: 30,
|
|
13
|
-
defaultSearchParams: {
|
|
14
|
-
page: "1",
|
|
15
|
-
q: "*",
|
|
16
|
-
skip: "0",
|
|
17
|
-
take: "30",
|
|
18
|
-
},
|
|
19
|
-
defaultStoreLocation: {
|
|
20
|
-
latitude: 0,
|
|
21
|
-
longitude: 0,
|
|
22
|
-
},
|
|
23
|
-
googleAutocompleteSettings: {},
|
|
24
|
-
restrictMapPlacesResults: {
|
|
25
|
-
fetchNearStoresSettings: {
|
|
26
|
-
kmRange: 20,
|
|
27
|
-
totalTake: 30,
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
gtmId: "",
|
|
31
|
-
isPlanningOnly: false,
|
|
32
|
-
mapZoom: 8,
|
|
33
|
-
maintainCustomerJourney: true,
|
|
34
|
-
maintainCustomerPreferences: {
|
|
35
|
-
enabled: false,
|
|
36
|
-
sections: {
|
|
37
|
-
marketingPreferences: []
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
promoTemplateVersion: 1,
|
|
41
|
-
retailerCountry: "us",
|
|
42
|
-
retailerName: "default",
|
|
43
|
-
searchPreview: {
|
|
44
|
-
desktop: {
|
|
45
|
-
products: true,
|
|
46
|
-
suggestions: true,
|
|
47
|
-
},
|
|
48
|
-
mobile: {
|
|
49
|
-
products: true,
|
|
50
|
-
suggestions: true,
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
subHeaderHeight: 0,
|
|
54
|
-
disableTprPrice: false,
|
|
55
|
-
footerVersion: "default",
|
|
56
|
-
timeslotModalSettings: {
|
|
57
|
-
showOnAddToCart: false,
|
|
58
|
-
timeslotRequiredToAddToCart: false,
|
|
59
|
-
timeslotRequiredToViewCartReview: false,
|
|
60
|
-
},
|
|
61
|
-
ctaButtons: null,
|
|
62
|
-
mainHeaderHeight: 110,
|
|
63
|
-
},
|
|
64
|
-
features: {
|
|
65
|
-
additionalCharges: false,
|
|
66
|
-
clientCache: false,
|
|
67
|
-
vouchers: {
|
|
68
|
-
enabled: false,
|
|
69
|
-
reCaptcha: false,
|
|
70
|
-
},
|
|
71
|
-
giftCards: {
|
|
72
|
-
enabled: false,
|
|
73
|
-
giftCardInputValidation: "^[0-9]{17}$",
|
|
74
|
-
pinInputValidation: "^[0-9]{4}$",
|
|
75
|
-
reCaptcha: false,
|
|
76
|
-
},
|
|
77
|
-
smartbanner: {
|
|
78
|
-
enabled: false,
|
|
79
|
-
author: "",
|
|
80
|
-
button: "",
|
|
81
|
-
buttonUrlApple: "",
|
|
82
|
-
buttonUrlGoogle: "",
|
|
83
|
-
closeLabel: "",
|
|
84
|
-
iconApple: "",
|
|
85
|
-
iconGoogle: "",
|
|
86
|
-
price: "",
|
|
87
|
-
priceSuffixApple: "",
|
|
88
|
-
priceSuffixGoogle: "",
|
|
89
|
-
title: "",
|
|
90
|
-
},
|
|
91
|
-
entryModalVersion: "entry",
|
|
92
|
-
hideAlcoholRule: { modal: false, pdp: false },
|
|
93
|
-
addressIntegrationV2: false,
|
|
94
|
-
allowInStorePurchases: false,
|
|
95
|
-
allowPastPurchases: true,
|
|
96
|
-
advertSettings: {},
|
|
97
|
-
enableGoogleTranslate: false,
|
|
98
|
-
enableNewsletterSignup: false,
|
|
99
|
-
enableNotifications: false,
|
|
100
|
-
externalStoreSelectorUrl: {
|
|
101
|
-
enabled: false,
|
|
102
|
-
url: "",
|
|
103
|
-
},
|
|
104
|
-
favoritesV1: false,
|
|
105
|
-
flipp: null,
|
|
106
|
-
globalAnimations: {
|
|
107
|
-
confetti: {
|
|
108
|
-
enableConfettiAnimation: true,
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
instacart: {
|
|
4
|
+
accountPage: {
|
|
5
|
+
idp: {
|
|
112
6
|
enabled: false,
|
|
7
|
+
target: "_self",
|
|
113
8
|
url: "",
|
|
114
9
|
},
|
|
115
|
-
registrationFields: [],
|
|
116
|
-
secondTierAuthorization: undefined,
|
|
117
|
-
showCheckoutPromoCode: true,
|
|
118
|
-
showImgOnOrder: false,
|
|
119
|
-
smsNotifications: {
|
|
120
|
-
enabled: false,
|
|
121
|
-
getEnrollmentUrl: "",
|
|
122
|
-
postEnrollmentUrl: "",
|
|
123
|
-
},
|
|
124
|
-
specialRequestItems: false,
|
|
125
|
-
couponGallery: {
|
|
126
|
-
enabled: false,
|
|
127
|
-
galleryIsIframe: false,
|
|
128
|
-
galleryHasNavLink: false,
|
|
129
|
-
},
|
|
130
|
-
},
|
|
131
|
-
accountPage: {
|
|
132
10
|
loyaltyTab: {
|
|
133
11
|
disabledEdit: false,
|
|
134
12
|
enabled: false,
|
|
@@ -136,11 +14,6 @@ var DefaultConfigSFUI = {
|
|
|
136
14
|
loyaltyNumberPrefix: "",
|
|
137
15
|
loyaltyValidationType: [],
|
|
138
16
|
},
|
|
139
|
-
idp: {
|
|
140
|
-
enabled: false,
|
|
141
|
-
target: "_self",
|
|
142
|
-
url: "",
|
|
143
|
-
},
|
|
144
17
|
},
|
|
145
18
|
addressSettings: {
|
|
146
19
|
addressValidationTypes: {
|
|
@@ -160,52 +33,108 @@ var DefaultConfigSFUI = {
|
|
|
160
33
|
url: "",
|
|
161
34
|
},
|
|
162
35
|
integration: {
|
|
163
|
-
enabled: false,
|
|
164
|
-
addressFinderType: "AUS",
|
|
165
|
-
useForNewAddresses: false,
|
|
166
36
|
addNewAddressUrl: "",
|
|
37
|
+
addressFinderType: "AUS",
|
|
167
38
|
deleteAddressUrl: "",
|
|
168
39
|
editAddressUrl: "",
|
|
40
|
+
enabled: false,
|
|
41
|
+
useForNewAddresses: false,
|
|
169
42
|
},
|
|
170
43
|
useAddressValidation: true,
|
|
171
44
|
},
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
},
|
|
181
|
-
carouselsRowLength: {
|
|
182
|
-
desktop: 6,
|
|
183
|
-
tablet: 4,
|
|
184
|
-
mobile: 1,
|
|
185
|
-
},
|
|
186
|
-
productCard: {
|
|
187
|
-
enabled: false,
|
|
188
|
-
layouts: {
|
|
189
|
-
ContainersGrid: "default",
|
|
190
|
-
ContainersCarousel: "default",
|
|
191
|
-
},
|
|
192
|
-
},
|
|
193
|
-
},
|
|
45
|
+
adminPanelOnly: {
|
|
46
|
+
bannerName: "New banner name",
|
|
47
|
+
logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
|
|
48
|
+
},
|
|
49
|
+
cartSummary: {
|
|
50
|
+
hideTaxOnSummary: false,
|
|
51
|
+
showTaxGroups: true,
|
|
52
|
+
showTaxTotal: true,
|
|
194
53
|
},
|
|
195
54
|
checkout: {
|
|
196
|
-
|
|
55
|
+
checkoutValidation: {
|
|
56
|
+
instructions: ["alphaNumeric", "notWhiteSpacesOnly"],
|
|
57
|
+
phoneNumber: ["usPhone", "required"],
|
|
58
|
+
smsNumber: [],
|
|
59
|
+
},
|
|
197
60
|
houseAccountRegExValidation: ".",
|
|
198
61
|
minimumCreditCardAmount: 1.0,
|
|
62
|
+
numericPhonePayload: false,
|
|
199
63
|
paymentCards: {
|
|
200
64
|
AmExpCard: true,
|
|
201
65
|
DiscoverCard: true,
|
|
202
66
|
MasterCard: true,
|
|
203
67
|
VisaCard: true,
|
|
204
68
|
},
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
69
|
+
},
|
|
70
|
+
features: {
|
|
71
|
+
additionalCharges: false,
|
|
72
|
+
addressIntegrationV2: false,
|
|
73
|
+
advertSettings: {},
|
|
74
|
+
allowInStorePurchases: false,
|
|
75
|
+
allowPastPurchases: true,
|
|
76
|
+
clientCache: false,
|
|
77
|
+
couponGallery: {
|
|
78
|
+
enabled: false,
|
|
79
|
+
galleryHasNavLink: false,
|
|
80
|
+
galleryIsIframe: false,
|
|
81
|
+
},
|
|
82
|
+
enableGoogleTranslate: false,
|
|
83
|
+
enableNewsletterSignup: false,
|
|
84
|
+
enableNotifications: false,
|
|
85
|
+
entryModalVersion: "entry",
|
|
86
|
+
externalStoreSelectorUrl: {
|
|
87
|
+
enabled: false,
|
|
88
|
+
url: "",
|
|
89
|
+
},
|
|
90
|
+
favoritesV1: false,
|
|
91
|
+
flipp: null,
|
|
92
|
+
giftCards: {
|
|
93
|
+
enabled: false,
|
|
94
|
+
giftCardInputValidation: "^[0-9]{17}$",
|
|
95
|
+
pinInputValidation: "^[0-9]{4}$",
|
|
96
|
+
reCaptcha: false,
|
|
97
|
+
},
|
|
98
|
+
globalAnimations: {
|
|
99
|
+
confetti: {
|
|
100
|
+
enableConfettiAnimation: true,
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
hideAlcoholRule: {
|
|
104
|
+
modal: false,
|
|
105
|
+
pdp: false,
|
|
106
|
+
},
|
|
107
|
+
instacart: {
|
|
108
|
+
enabled: false,
|
|
109
|
+
url: "",
|
|
110
|
+
},
|
|
111
|
+
registrationFields: [],
|
|
112
|
+
secondTierAuthorization: undefined,
|
|
113
|
+
showCheckoutPromoCode: true,
|
|
114
|
+
showImgOnOrder: false,
|
|
115
|
+
smartbanner: {
|
|
116
|
+
author: "",
|
|
117
|
+
button: "",
|
|
118
|
+
buttonUrlApple: "",
|
|
119
|
+
buttonUrlGoogle: "",
|
|
120
|
+
closeLabel: "",
|
|
121
|
+
enabled: false,
|
|
122
|
+
iconApple: "",
|
|
123
|
+
iconGoogle: "",
|
|
124
|
+
price: "",
|
|
125
|
+
priceSuffixApple: "",
|
|
126
|
+
priceSuffixGoogle: "",
|
|
127
|
+
title: "",
|
|
128
|
+
},
|
|
129
|
+
smsNotifications: {
|
|
130
|
+
enabled: false,
|
|
131
|
+
getEnrollmentUrl: "",
|
|
132
|
+
postEnrollmentUrl: "",
|
|
133
|
+
},
|
|
134
|
+
specialRequestItems: false,
|
|
135
|
+
vouchers: {
|
|
136
|
+
enabled: false,
|
|
137
|
+
reCaptcha: false,
|
|
209
138
|
},
|
|
210
139
|
},
|
|
211
140
|
pdpSettings: {
|
|
@@ -243,10 +172,85 @@ var DefaultConfigSFUI = {
|
|
|
243
172
|
threshold: 2300,
|
|
244
173
|
},
|
|
245
174
|
},
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
175
|
+
productCard: {
|
|
176
|
+
limitProductCardTitleHeight: true,
|
|
177
|
+
productCards: {
|
|
178
|
+
carouselsRowLength: {
|
|
179
|
+
desktop: 6,
|
|
180
|
+
mobile: 1,
|
|
181
|
+
tablet: 4,
|
|
182
|
+
},
|
|
183
|
+
gridRowLength: {
|
|
184
|
+
desktop: 5,
|
|
185
|
+
mobile: 1,
|
|
186
|
+
tablet: 3,
|
|
187
|
+
},
|
|
188
|
+
productCard: {
|
|
189
|
+
enabled: false,
|
|
190
|
+
layouts: {
|
|
191
|
+
ContainersCarousel: "default",
|
|
192
|
+
ContainersGrid: "default",
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
productCardTitleHeight: 40,
|
|
197
|
+
},
|
|
198
|
+
siteSettings: {
|
|
199
|
+
anonymousCart: false,
|
|
200
|
+
ctaButtons: null,
|
|
201
|
+
daysToRemainSignedIn: 30,
|
|
202
|
+
defaultCountry: "USA",
|
|
203
|
+
defaultSearchParams: {
|
|
204
|
+
page: "1",
|
|
205
|
+
q: "*",
|
|
206
|
+
skip: "0",
|
|
207
|
+
take: "30",
|
|
208
|
+
},
|
|
209
|
+
defaultShoppingMode: "pickup",
|
|
210
|
+
defaultStoreLocation: {
|
|
211
|
+
latitude: 0,
|
|
212
|
+
longitude: 0,
|
|
213
|
+
},
|
|
214
|
+
disableTprPrice: false,
|
|
215
|
+
footerVersion: "default",
|
|
216
|
+
googleAutocompleteSettings: {},
|
|
217
|
+
gtmId: "",
|
|
218
|
+
hideWelcomeModalOnCorporate: false,
|
|
219
|
+
isPlanningOnly: false,
|
|
220
|
+
mainHeaderHeight: 110,
|
|
221
|
+
maintainCustomerJourney: true,
|
|
222
|
+
maintainCustomerPreferences: {
|
|
223
|
+
enabled: false,
|
|
224
|
+
sections: {
|
|
225
|
+
marketingPreferences: [],
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
mapZoom: 8,
|
|
229
|
+
promoTemplateVersion: 1,
|
|
230
|
+
restrictMapPlacesResults: {
|
|
231
|
+
fetchNearStoresSettings: {
|
|
232
|
+
kmRange: 20,
|
|
233
|
+
totalTake: 30,
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
retailerCountry: "us",
|
|
237
|
+
retailerName: "default",
|
|
238
|
+
searchPreview: {
|
|
239
|
+
desktop: {
|
|
240
|
+
products: true,
|
|
241
|
+
suggestions: true,
|
|
242
|
+
},
|
|
243
|
+
mobile: {
|
|
244
|
+
products: true,
|
|
245
|
+
suggestions: true,
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
subHeaderHeight: 0,
|
|
249
|
+
timeslotModalSettings: {
|
|
250
|
+
showOnAddToCart: false,
|
|
251
|
+
timeslotRequiredToAddToCart: false,
|
|
252
|
+
timeslotRequiredToViewCartReview: false,
|
|
253
|
+
},
|
|
250
254
|
},
|
|
251
255
|
};
|
|
252
256
|
exports.default = DefaultConfigSFUI;
|
package/package.json
CHANGED
package/dist/defaultSettings.js
DELETED
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var defaultConfig = {
|
|
4
|
-
advertSettings: {},
|
|
5
|
-
timeslotModalSettings: {
|
|
6
|
-
showOnAddToCart: false,
|
|
7
|
-
timeslotRequiredToAddToCart: false,
|
|
8
|
-
timeslotRequiredToViewCartReview: false
|
|
9
|
-
},
|
|
10
|
-
accountPage: {
|
|
11
|
-
loyaltyTab: {
|
|
12
|
-
disabledEdit: false,
|
|
13
|
-
enabled: false,
|
|
14
|
-
loyaltyNumberLength: 11,
|
|
15
|
-
loyaltyNumberPrefix: '',
|
|
16
|
-
loyaltyValidationType: []
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
addresses: {
|
|
20
|
-
addressValidationTypes: {
|
|
21
|
-
addressLine1: ['alphaNumeric', 'required'],
|
|
22
|
-
addressLine2: ['alphaNumeric'],
|
|
23
|
-
city: ['alphaNumeric', 'required'],
|
|
24
|
-
countyProvinceState: ['usState', 'required'],
|
|
25
|
-
familyName: ['alphaOnly', 'required'],
|
|
26
|
-
firstName: ['alphaOnly', 'required'],
|
|
27
|
-
instructions: ['alphaNumeric'],
|
|
28
|
-
phoneNumber: ['usPhone', 'required'],
|
|
29
|
-
postCode: ['usPostCode', 'required']
|
|
30
|
-
},
|
|
31
|
-
canadianAddressCompleteKey: undefined,
|
|
32
|
-
eircodeUrl: undefined,
|
|
33
|
-
integration: {
|
|
34
|
-
addNewAddressUrl: undefined,
|
|
35
|
-
deleteAddressUrl: undefined,
|
|
36
|
-
editAddressUrl: undefined
|
|
37
|
-
},
|
|
38
|
-
useAddressValidation: true
|
|
39
|
-
},
|
|
40
|
-
addressValidationTypes: {
|
|
41
|
-
addressLine1: ['alphaNumeric', 'required'],
|
|
42
|
-
addressLine2: ['alphaNumeric'],
|
|
43
|
-
city: ['alphaNumeric', 'required'],
|
|
44
|
-
countyProvinceState: ['usState', 'required'],
|
|
45
|
-
familyName: ['alphaOnly', 'required'],
|
|
46
|
-
firstName: ['alphaOnly', 'required'],
|
|
47
|
-
instructions: ['alphaNumeric'],
|
|
48
|
-
phoneNumber: ['usPhone', 'required'],
|
|
49
|
-
postCode: ['usPostCode', 'required']
|
|
50
|
-
},
|
|
51
|
-
addressIntegration: {
|
|
52
|
-
enabled: false,
|
|
53
|
-
addressFinderType: 'AUS',
|
|
54
|
-
getAddressesUrl: 'https://api.addressfinder.io/api/au/address/autocomplete/?key={AUS_ADDRESS_SERVICE_KEY}&secret={AUS_ADDRESS_SERVICE_SECRET}&q={searchQuery}&format=json&gnaf=1',
|
|
55
|
-
getLocationUrl: 'https://api.addressfinder.io/api/au/address/metadata/?key={AUS_ADDRESS_SERVICE_KEY}&secret={AUS_ADDRESS_SERVICE_SECRET}&format=json&id={id}&au_paf=0&gps=0'
|
|
56
|
-
},
|
|
57
|
-
allowInStorePurchases: false,
|
|
58
|
-
allowPastPurchases: true,
|
|
59
|
-
buildNumber: 'default',
|
|
60
|
-
cacheTimeMins: 1,
|
|
61
|
-
canadianAddressCompleteKey: undefined,
|
|
62
|
-
checkoutV1: false,
|
|
63
|
-
disableAddressOnDelivery: false,
|
|
64
|
-
favoritesV1: false,
|
|
65
|
-
checkout: {
|
|
66
|
-
numericPhonePayload: false
|
|
67
|
-
},
|
|
68
|
-
checkoutValidation: {
|
|
69
|
-
instructions: ['alphaNumeric', 'notWhiteSpacesOnly'],
|
|
70
|
-
phoneNumber: ['usPhone', 'required'],
|
|
71
|
-
smsNumber: []
|
|
72
|
-
},
|
|
73
|
-
ctaButtons: null,
|
|
74
|
-
defaultCountry: 'USA',
|
|
75
|
-
defaultSearchParams: {
|
|
76
|
-
page: '1',
|
|
77
|
-
q: '*',
|
|
78
|
-
skip: '0',
|
|
79
|
-
take: '30'
|
|
80
|
-
},
|
|
81
|
-
defaultShoppingMode: 'pickup',
|
|
82
|
-
defaultStoreLocation: {
|
|
83
|
-
latitude: 0,
|
|
84
|
-
longitude: 0
|
|
85
|
-
},
|
|
86
|
-
disableTprPrice: false,
|
|
87
|
-
documentTitle: 'ThryveAI Commerce',
|
|
88
|
-
eircode: undefined,
|
|
89
|
-
enable3dSecure: false,
|
|
90
|
-
enableGoogleTranslate: false,
|
|
91
|
-
enableNewsletterSignup: false,
|
|
92
|
-
enableNotifications: false,
|
|
93
|
-
enableVouchers: false,
|
|
94
|
-
errorLoggingLevel: 'error',
|
|
95
|
-
externalStoreSelectorUrl: undefined,
|
|
96
|
-
flipp: null,
|
|
97
|
-
gtmId: undefined,
|
|
98
|
-
hideTaxOnSummary: false,
|
|
99
|
-
houseAccountRegExValidation: '.',
|
|
100
|
-
idpTarget: '_self',
|
|
101
|
-
idpUrl: undefined,
|
|
102
|
-
instacartUrl: undefined,
|
|
103
|
-
isPlanningOnly: false,
|
|
104
|
-
layout: {
|
|
105
|
-
footerVersion: 'default'
|
|
106
|
-
},
|
|
107
|
-
limitProductCardTitleHeight: true,
|
|
108
|
-
loggingLevelClient: 'error',
|
|
109
|
-
loggingLevelServer: 'error',
|
|
110
|
-
mainHeaderHeight: 110,
|
|
111
|
-
mapZoom: 8,
|
|
112
|
-
minimumCreditCardAmount: 1.0,
|
|
113
|
-
nutritionZone: 'us',
|
|
114
|
-
paymentCards: {
|
|
115
|
-
AmExpCard: true,
|
|
116
|
-
DiscoverCard: true,
|
|
117
|
-
MasterCard: true,
|
|
118
|
-
VisaCard: true
|
|
119
|
-
},
|
|
120
|
-
pdpDetailsLayout: {
|
|
121
|
-
desktop: {
|
|
122
|
-
left: [
|
|
123
|
-
'productSalesInfo',
|
|
124
|
-
'productDescription',
|
|
125
|
-
'productIngredients',
|
|
126
|
-
'productNutrition',
|
|
127
|
-
'sodiumWarning',
|
|
128
|
-
'productNumber'
|
|
129
|
-
],
|
|
130
|
-
right: ['recommendations']
|
|
131
|
-
},
|
|
132
|
-
mobile: {
|
|
133
|
-
left: [
|
|
134
|
-
'productSalesInfo',
|
|
135
|
-
'productDescription',
|
|
136
|
-
'productNumber',
|
|
137
|
-
'sodiumWarning',
|
|
138
|
-
'recommendations'
|
|
139
|
-
],
|
|
140
|
-
right: [
|
|
141
|
-
'productIngredients',
|
|
142
|
-
'productNutrition',
|
|
143
|
-
'recommendations',
|
|
144
|
-
'productNumber'
|
|
145
|
-
]
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
productCardTitleHeight: 40,
|
|
149
|
-
registrationFields: [],
|
|
150
|
-
retailerCountry: 'us',
|
|
151
|
-
retailerName: 'default',
|
|
152
|
-
daysToRemainSignedIn: 30,
|
|
153
|
-
searchPreview: {
|
|
154
|
-
desktop: {
|
|
155
|
-
products: true,
|
|
156
|
-
suggestions: true
|
|
157
|
-
},
|
|
158
|
-
mobile: {
|
|
159
|
-
products: true,
|
|
160
|
-
suggestions: true
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
secondTierAuthorization: undefined,
|
|
164
|
-
showCheckoutPromoCode: true,
|
|
165
|
-
showImgOnOrder: false,
|
|
166
|
-
smsNotifications: {
|
|
167
|
-
enabled: false,
|
|
168
|
-
getEnrollmentUrl: '',
|
|
169
|
-
postEnrollmentUrl: ''
|
|
170
|
-
},
|
|
171
|
-
subHeaderHeight: 0,
|
|
172
|
-
promoTemplateVersion: 1,
|
|
173
|
-
useAddressValidation: true,
|
|
174
|
-
restrictMapPlacesResults: {
|
|
175
|
-
fetchNearStoresSettings: {
|
|
176
|
-
kmRange: 20,
|
|
177
|
-
totalTake: 30
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
globalAnimations: {
|
|
181
|
-
confetti: {
|
|
182
|
-
enableConfettiAnimation: true
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
googleAutocompleteSettings: {},
|
|
186
|
-
smartbanner: {
|
|
187
|
-
enabled: false,
|
|
188
|
-
author: '',
|
|
189
|
-
button: '',
|
|
190
|
-
buttonUrlApple: '',
|
|
191
|
-
buttonUrlGoogle: '',
|
|
192
|
-
closeLabel: '',
|
|
193
|
-
iconApple: '',
|
|
194
|
-
iconGoogle: '',
|
|
195
|
-
price: '',
|
|
196
|
-
priceSuffixApple: '',
|
|
197
|
-
priceSuffixGoogle: '',
|
|
198
|
-
title: ''
|
|
199
|
-
},
|
|
200
|
-
features: { clientCache: false },
|
|
201
|
-
specialRequestItems: false,
|
|
202
|
-
additionalCharges: false,
|
|
203
|
-
sodiumWarning: {
|
|
204
|
-
isEnabled: false,
|
|
205
|
-
threshold: 2300
|
|
206
|
-
},
|
|
207
|
-
productCards: {
|
|
208
|
-
gridRowLength: {
|
|
209
|
-
tablet: 3,
|
|
210
|
-
desktop: 5,
|
|
211
|
-
mobile: 1
|
|
212
|
-
},
|
|
213
|
-
carouselsRowLength: {
|
|
214
|
-
desktop: 6,
|
|
215
|
-
tablet: 4,
|
|
216
|
-
mobile: 1
|
|
217
|
-
},
|
|
218
|
-
productCard: {
|
|
219
|
-
enabled: false,
|
|
220
|
-
layouts: {
|
|
221
|
-
ContainersGrid: 'default',
|
|
222
|
-
ContainersCarousel: 'default'
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
layouts: {
|
|
227
|
-
cartSummary: {
|
|
228
|
-
showTaxTotal: true,
|
|
229
|
-
showTaxGroups: true
|
|
230
|
-
},
|
|
231
|
-
couponGallery: {
|
|
232
|
-
enabled: false,
|
|
233
|
-
galleryIsIframe: false
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
adminPanelOnly: {
|
|
237
|
-
bannerName: '',
|
|
238
|
-
logoUrl: ''
|
|
239
|
-
},
|
|
240
|
-
productCardv2: false
|
|
241
|
-
};
|
|
242
|
-
exports.default = defaultConfig;
|
|
@@ -1,686 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AdminSettingsTemplate = exports.AdminTemplateInputTypes = void 0;
|
|
4
|
-
exports.AdminTemplateInputTypes = {
|
|
5
|
-
checkbox: "checkbox",
|
|
6
|
-
collapsableObject: "collapsableObject",
|
|
7
|
-
color: "color",
|
|
8
|
-
dropdown: "dropdown",
|
|
9
|
-
inputChar: "inputChar",
|
|
10
|
-
inputNumber: "inputNumber",
|
|
11
|
-
multiDropdown: "multiDropdown",
|
|
12
|
-
nullObject: "nullObject",
|
|
13
|
-
object: "object",
|
|
14
|
-
string: "string",
|
|
15
|
-
};
|
|
16
|
-
var addressValidationDescription = "Sets the validation types for user addresses";
|
|
17
|
-
var validationTypes = [
|
|
18
|
-
"luhnValidation",
|
|
19
|
-
"alphaNumeric",
|
|
20
|
-
"alphaOnly",
|
|
21
|
-
"numericOnly",
|
|
22
|
-
"anyPhone",
|
|
23
|
-
"email",
|
|
24
|
-
"password",
|
|
25
|
-
"required",
|
|
26
|
-
"usPhone",
|
|
27
|
-
"usMobileNumber",
|
|
28
|
-
"caPhone",
|
|
29
|
-
"auPhone",
|
|
30
|
-
"iePhone",
|
|
31
|
-
"caProvince",
|
|
32
|
-
"usState",
|
|
33
|
-
"auState",
|
|
34
|
-
"ieCounty",
|
|
35
|
-
"caPostCode",
|
|
36
|
-
"usPostCode",
|
|
37
|
-
"auPostCode",
|
|
38
|
-
"iePostCode",
|
|
39
|
-
"noSpecialChar",
|
|
40
|
-
"correctDate",
|
|
41
|
-
];
|
|
42
|
-
exports.AdminSettingsTemplate = {
|
|
43
|
-
adminPanelOnly: {
|
|
44
|
-
title: "Retailer Details",
|
|
45
|
-
description: "",
|
|
46
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
47
|
-
value: {
|
|
48
|
-
bannerName: {
|
|
49
|
-
title: "Name of the Retailer",
|
|
50
|
-
description: "Only used to identify the banner in the admin panel",
|
|
51
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
52
|
-
},
|
|
53
|
-
logoUrl: {
|
|
54
|
-
title: "Name of the Retailer",
|
|
55
|
-
description: "Only used to identify the banner in the admin panel",
|
|
56
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
additionalCharges: {
|
|
61
|
-
title: "Additional Charges",
|
|
62
|
-
description: "Enables additional charging such as tipping, donations etc.",
|
|
63
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/Additional+Charges",
|
|
64
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
65
|
-
},
|
|
66
|
-
addressIntegration: {
|
|
67
|
-
title: "Address Integration",
|
|
68
|
-
description: "Use external address integration",
|
|
69
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
70
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
71
|
-
value: {
|
|
72
|
-
enabled: {
|
|
73
|
-
title: "Enabled",
|
|
74
|
-
description: "Enables external address integration",
|
|
75
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
76
|
-
},
|
|
77
|
-
getAddressesUrl: {
|
|
78
|
-
title: "Get Address Url",
|
|
79
|
-
description: "Set the get address url",
|
|
80
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
81
|
-
},
|
|
82
|
-
getLocationUrl: {
|
|
83
|
-
title: "Get Location Url",
|
|
84
|
-
description: "Set the get location url",
|
|
85
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
86
|
-
},
|
|
87
|
-
addressFinderType: {
|
|
88
|
-
title: "Address Finder Type",
|
|
89
|
-
description: "Select the address finder type",
|
|
90
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
91
|
-
options: ["AUS", "EU", "IE", "US", "UK", "CA"],
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
allowInStorePurchases: {
|
|
96
|
-
title: "InStore Purchases",
|
|
97
|
-
description: "Show the purchases made in store in the order history (requires integration).",
|
|
98
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274375221/AllowInStorePurchases",
|
|
99
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
100
|
-
},
|
|
101
|
-
allowPastPurchases: {
|
|
102
|
-
title: "Display PastPurchases",
|
|
103
|
-
description: "Enable displaying past purchases functionality",
|
|
104
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/AllowPastPurchases",
|
|
105
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
106
|
-
},
|
|
107
|
-
cacheTimeMins: {
|
|
108
|
-
title: "Production Cache time",
|
|
109
|
-
description: "How long data will be cached to make the site faster. (1 = 1minute)",
|
|
110
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
111
|
-
},
|
|
112
|
-
addressValidationTypes: {
|
|
113
|
-
title: "Address Validation",
|
|
114
|
-
description: "User address validation settings.",
|
|
115
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/Address+Validation",
|
|
116
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
117
|
-
value: {
|
|
118
|
-
firstName: {
|
|
119
|
-
title: "User's first name",
|
|
120
|
-
description: addressValidationDescription,
|
|
121
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
122
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
123
|
-
},
|
|
124
|
-
familyName: {
|
|
125
|
-
title: "User's Surname",
|
|
126
|
-
description: addressValidationDescription,
|
|
127
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
128
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
129
|
-
},
|
|
130
|
-
addressLine1: {
|
|
131
|
-
title: "Address Line 1",
|
|
132
|
-
description: addressValidationDescription,
|
|
133
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
134
|
-
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
135
|
-
},
|
|
136
|
-
addressLine2: {
|
|
137
|
-
title: "Address Line 2",
|
|
138
|
-
description: addressValidationDescription,
|
|
139
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
140
|
-
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
141
|
-
},
|
|
142
|
-
city: {
|
|
143
|
-
title: "City",
|
|
144
|
-
description: addressValidationDescription,
|
|
145
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
146
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
147
|
-
},
|
|
148
|
-
countyProvinceState: {
|
|
149
|
-
title: "County/Province/State",
|
|
150
|
-
description: addressValidationDescription,
|
|
151
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
152
|
-
options: [
|
|
153
|
-
"alphaNumeric",
|
|
154
|
-
"alphaOnly",
|
|
155
|
-
"auState",
|
|
156
|
-
"ieCounty",
|
|
157
|
-
"usState",
|
|
158
|
-
"caProvince",
|
|
159
|
-
"required",
|
|
160
|
-
],
|
|
161
|
-
},
|
|
162
|
-
instructions: {
|
|
163
|
-
title: "User Instructions Fields",
|
|
164
|
-
description: "Validation for the input fields for user instructions",
|
|
165
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
166
|
-
options: ["alphaNumeric", "alphaOnly", "required", "numericOnly"],
|
|
167
|
-
},
|
|
168
|
-
phoneNumber: {
|
|
169
|
-
title: "Phone Number",
|
|
170
|
-
description: "The number to be used to contact the user",
|
|
171
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
172
|
-
options: [
|
|
173
|
-
"usPhone",
|
|
174
|
-
"usMobileNumber",
|
|
175
|
-
"numericOnly",
|
|
176
|
-
"auPhone",
|
|
177
|
-
"caPhone",
|
|
178
|
-
"iePhone",
|
|
179
|
-
"anyPhone",
|
|
180
|
-
"required",
|
|
181
|
-
],
|
|
182
|
-
},
|
|
183
|
-
postCode: {
|
|
184
|
-
title: "Post / zip code",
|
|
185
|
-
description: addressValidationDescription,
|
|
186
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
187
|
-
options: [
|
|
188
|
-
"alphaNumeric",
|
|
189
|
-
"auPostCode",
|
|
190
|
-
"caPostCode",
|
|
191
|
-
"iePostCode",
|
|
192
|
-
"usPostCode",
|
|
193
|
-
"numericOnly",
|
|
194
|
-
"required",
|
|
195
|
-
],
|
|
196
|
-
},
|
|
197
|
-
},
|
|
198
|
-
},
|
|
199
|
-
accountPage: {
|
|
200
|
-
title: "Account Page",
|
|
201
|
-
description: "Account page settings",
|
|
202
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
203
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
204
|
-
value: {
|
|
205
|
-
loyaltyTab: {
|
|
206
|
-
title: "Loyalty Tab",
|
|
207
|
-
description: "Set up Loyalty Tab on account page",
|
|
208
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
209
|
-
value: {
|
|
210
|
-
enabled: {
|
|
211
|
-
title: "Enable Loyalty Tab",
|
|
212
|
-
description: "Enable Loyalty tab section within My Account page",
|
|
213
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
214
|
-
},
|
|
215
|
-
disabledEdit: {
|
|
216
|
-
title: "Disable Loyalty edit",
|
|
217
|
-
description: "Prevent users to change their loyalty number",
|
|
218
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
219
|
-
},
|
|
220
|
-
loyaltyNumberLength: {
|
|
221
|
-
title: "Loyalty Number Length",
|
|
222
|
-
description: "Control the loyalty number length",
|
|
223
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
224
|
-
},
|
|
225
|
-
loyaltyNumberPrefix: {
|
|
226
|
-
title: "Loyalty Number Prefix",
|
|
227
|
-
description: "Add hardcoded prefix for loyalty numbers (this will affect the length)",
|
|
228
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
229
|
-
},
|
|
230
|
-
loyaltyValidationType: {
|
|
231
|
-
title: "Loyalty Number Validation",
|
|
232
|
-
description: "Select loyalty validation types",
|
|
233
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
234
|
-
options: validationTypes,
|
|
235
|
-
},
|
|
236
|
-
},
|
|
237
|
-
},
|
|
238
|
-
},
|
|
239
|
-
},
|
|
240
|
-
// canadianAddressCompleteKey?: string | undefined;
|
|
241
|
-
// checkout?: IGlobalCheckoutProps;
|
|
242
|
-
checkoutV1: {
|
|
243
|
-
title: "Checkout Version",
|
|
244
|
-
description: "Change your version of the checkout shown to users",
|
|
245
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276111878/Checkout+Version",
|
|
246
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
247
|
-
},
|
|
248
|
-
// checkoutValidation?: ICheckoutValidation;
|
|
249
|
-
// ctaButtons?: ICtaButtons;
|
|
250
|
-
daysToRemainSignedIn: {
|
|
251
|
-
title: "Sign In Days",
|
|
252
|
-
description: "Time in days to remain signed in in the app",
|
|
253
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
254
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
255
|
-
},
|
|
256
|
-
defaultCountry: {
|
|
257
|
-
title: "Default Country",
|
|
258
|
-
description: "Used for address, phone validation & ui formating.",
|
|
259
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3273752757/Default+Country",
|
|
260
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
261
|
-
options: ["USA", "Canada", "Ireland", "Australia"],
|
|
262
|
-
},
|
|
263
|
-
// defaultSearchParams?: IDefaultSearchParams;
|
|
264
|
-
defaultShoppingMode: {
|
|
265
|
-
title: "Default Shopping Mode",
|
|
266
|
-
description: "Shopping mode the site defaults to when a user lands and has not registered.",
|
|
267
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3272999110/Default+Shopping+Mode",
|
|
268
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
269
|
-
options: ["pickup", "planning", "delivery"],
|
|
270
|
-
},
|
|
271
|
-
defaultStoreLocation: {
|
|
272
|
-
title: "Default Store Location",
|
|
273
|
-
description: "Used to center the store selector map to the retailers region. Without setting this, the map defaults to central Africa.",
|
|
274
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
275
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784259/Default+Store+Location",
|
|
276
|
-
value: {
|
|
277
|
-
latitude: {
|
|
278
|
-
title: "Latitude",
|
|
279
|
-
description: "",
|
|
280
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
281
|
-
},
|
|
282
|
-
longitude: {
|
|
283
|
-
title: "Longitude",
|
|
284
|
-
description: "",
|
|
285
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
286
|
-
},
|
|
287
|
-
},
|
|
288
|
-
},
|
|
289
|
-
// defaultStoreLocation?: IDefaultStoreLocation;
|
|
290
|
-
disableTprPrice: {
|
|
291
|
-
title: "Disable TPR Price",
|
|
292
|
-
description: "Disable the display of tpr pricing",
|
|
293
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177413/Disable+TPR+Price",
|
|
294
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
295
|
-
},
|
|
296
|
-
documentTitle: {
|
|
297
|
-
title: "Document Title",
|
|
298
|
-
description: "Fallback browser page Title if no SEO details are added to the page via the CMS.",
|
|
299
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275685918/Document+Title",
|
|
300
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
301
|
-
},
|
|
302
|
-
// eircode?: string | null;
|
|
303
|
-
enable3dSecure: {
|
|
304
|
-
title: "Enable 3DSecure",
|
|
305
|
-
description: "Enable 3d secure validation for payment",
|
|
306
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144647/Enable+3DSecure",
|
|
307
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
308
|
-
},
|
|
309
|
-
enableGoogleTranslate: {
|
|
310
|
-
title: "Enable Google Translate",
|
|
311
|
-
description: "Enable google translation display and functionality",
|
|
312
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276275734/Enable+Google+Translate",
|
|
313
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
314
|
-
},
|
|
315
|
-
enableNewsletterSignup: {
|
|
316
|
-
title: "Enable Newsletter",
|
|
317
|
-
description: "Enable newsletter signup functionality",
|
|
318
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144678/Enable+Newsletter",
|
|
319
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
320
|
-
},
|
|
321
|
-
enableNotifications: {
|
|
322
|
-
title: "Enable Notifications",
|
|
323
|
-
description: "Enable notifications functionality",
|
|
324
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177422/Enable+Notifications",
|
|
325
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
326
|
-
},
|
|
327
|
-
// errorLoggingLevel?: ILoggingLevel;
|
|
328
|
-
// externalApps?: IExternalApps;
|
|
329
|
-
// externalStoreSelectorUrl: {
|
|
330
|
-
// title: "External Store Selector Url",
|
|
331
|
-
// description:
|
|
332
|
-
// "Shows a link back to previous shoping platform, seen on store selection modal.This is generally used for an existing site that has not migrated all their stores to WynShop.",
|
|
333
|
-
// type: "inputChar",
|
|
334
|
-
// },
|
|
335
|
-
favoritesV1: {
|
|
336
|
-
title: "Favorites Version1",
|
|
337
|
-
description: "Enable version 1 of favorites functionality",
|
|
338
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144744/Favorites+Version1",
|
|
339
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
340
|
-
},
|
|
341
|
-
features: {
|
|
342
|
-
title: "Features",
|
|
343
|
-
description: "Enable features",
|
|
344
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
345
|
-
value: {
|
|
346
|
-
clientCache: {
|
|
347
|
-
title: "Client Cache",
|
|
348
|
-
description: "Enable cache for clients",
|
|
349
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
350
|
-
},
|
|
351
|
-
},
|
|
352
|
-
},
|
|
353
|
-
flipp: {
|
|
354
|
-
title: "Flipp Circulars",
|
|
355
|
-
description: "Configure Flipp circulars integration",
|
|
356
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
357
|
-
value: {
|
|
358
|
-
version: {
|
|
359
|
-
title: "Version",
|
|
360
|
-
description: "Will you use version 1 or version 2?",
|
|
361
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
362
|
-
},
|
|
363
|
-
retailer: {
|
|
364
|
-
title: "Retailer Name",
|
|
365
|
-
description: "The retailer setting from flipp",
|
|
366
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
367
|
-
},
|
|
368
|
-
merchantId: {
|
|
369
|
-
title: "Merchant Id",
|
|
370
|
-
description: "The merchant Id setting from flipp",
|
|
371
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
372
|
-
},
|
|
373
|
-
accessToken: {
|
|
374
|
-
title: "Access Token",
|
|
375
|
-
description: "The access token setting from flipp",
|
|
376
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
377
|
-
},
|
|
378
|
-
},
|
|
379
|
-
},
|
|
380
|
-
smartbanner: {
|
|
381
|
-
title: "Smart Banner",
|
|
382
|
-
description: "Render smart banner on mobile views",
|
|
383
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
384
|
-
value: {
|
|
385
|
-
enabled: {
|
|
386
|
-
title: "Enable",
|
|
387
|
-
description: "Enable smart banner",
|
|
388
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
389
|
-
},
|
|
390
|
-
title: {
|
|
391
|
-
title: "Title",
|
|
392
|
-
description: "Smart banner title",
|
|
393
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
394
|
-
},
|
|
395
|
-
author: {
|
|
396
|
-
title: "Author",
|
|
397
|
-
description: "Smart banner author",
|
|
398
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
399
|
-
},
|
|
400
|
-
price: {
|
|
401
|
-
title: "Price",
|
|
402
|
-
description: "Smart banner price",
|
|
403
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
404
|
-
},
|
|
405
|
-
priceSuffixApple: {
|
|
406
|
-
title: "Apple Price Suffix",
|
|
407
|
-
description: "Smart banner price suffix for Apple devices",
|
|
408
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
409
|
-
},
|
|
410
|
-
priceSuffixGoogle: {
|
|
411
|
-
title: "Google Price Suffix",
|
|
412
|
-
description: "Smart banner price suffix for Google devices",
|
|
413
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
414
|
-
},
|
|
415
|
-
iconApple: {
|
|
416
|
-
title: "Apple Icon",
|
|
417
|
-
description: "Smart banner icon for Apple devices",
|
|
418
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
419
|
-
},
|
|
420
|
-
iconGoogle: {
|
|
421
|
-
title: "Google Icon",
|
|
422
|
-
description: "Smart banner icon for Google devices",
|
|
423
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
424
|
-
},
|
|
425
|
-
button: {
|
|
426
|
-
title: "Button",
|
|
427
|
-
description: "Smart banner button text",
|
|
428
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
429
|
-
},
|
|
430
|
-
buttonUrlApple: {
|
|
431
|
-
title: "Apple Button Url",
|
|
432
|
-
description: "Smart banner url for Apple button",
|
|
433
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
434
|
-
},
|
|
435
|
-
buttonUrlGoogle: {
|
|
436
|
-
title: "Google Button Url",
|
|
437
|
-
description: "Smart banner url for Google button",
|
|
438
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
439
|
-
},
|
|
440
|
-
closeLabel: {
|
|
441
|
-
title: "Close Label",
|
|
442
|
-
description: "Smart banner label text",
|
|
443
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
444
|
-
},
|
|
445
|
-
},
|
|
446
|
-
},
|
|
447
|
-
// globalAnimations?: IGlobalAnimations;
|
|
448
|
-
// googleAutocompleteSettings?: IGoogleAutocompleteSettings;
|
|
449
|
-
gtmId: {
|
|
450
|
-
title: "GTM ID",
|
|
451
|
-
description: "Google Tag Manager ID",
|
|
452
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
453
|
-
},
|
|
454
|
-
hideTaxOnSummary: {
|
|
455
|
-
title: "Hide Summary Tax",
|
|
456
|
-
description: "Hide the tax displayed on the summary box",
|
|
457
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
458
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
459
|
-
},
|
|
460
|
-
houseAccountRegExValidation: {
|
|
461
|
-
title: "House Account Validation",
|
|
462
|
-
description: "Regular expression to validate house accounts",
|
|
463
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144701/House+Account+Validation",
|
|
464
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
465
|
-
},
|
|
466
|
-
// idpTarget:{
|
|
467
|
-
// title: "Idp Target",
|
|
468
|
-
// description: "Idp opens on the same or a new tab",
|
|
469
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
470
|
-
// options: ["_self", "_blank"],
|
|
471
|
-
// },
|
|
472
|
-
// idpUrl: {
|
|
473
|
-
// title: 'External IDP url',
|
|
474
|
-
// description: 'Is the user using ther own IDP or will they be using the Mi9 My Account functionality for Sign-In / Register and managing the customer account. If Null then Mi9 My Account funcationality will be used.',
|
|
475
|
-
// type: "nullObject",
|
|
476
|
-
// value: {}
|
|
477
|
-
// },
|
|
478
|
-
// instacartUrl?: string | undefined;
|
|
479
|
-
isPlanningOnly: {
|
|
480
|
-
title: "Planning Only",
|
|
481
|
-
description: "Enable if planning mode is the only available shopping method",
|
|
482
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
483
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
484
|
-
},
|
|
485
|
-
// layout?: ILayoutSettings;
|
|
486
|
-
limitProductCardTitleHeight: {
|
|
487
|
-
title: "Limit Product Card Title",
|
|
488
|
-
description: "Restricts the product card title height display",
|
|
489
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144711/Limit+Product+Card+Title",
|
|
490
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
491
|
-
},
|
|
492
|
-
// loggingLevelClient: {
|
|
493
|
-
// title: "Client logging Level",
|
|
494
|
-
// description: "Sets client's logging detail level",
|
|
495
|
-
// helpLink:
|
|
496
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
497
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
498
|
-
// },
|
|
499
|
-
// loggingLevelServer?: ILoggingLevel;
|
|
500
|
-
mainHeaderHeight: {
|
|
501
|
-
title: "Main Header Height",
|
|
502
|
-
description: "Use to set the main header height in pixels",
|
|
503
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
504
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
505
|
-
},
|
|
506
|
-
mapZoom: {
|
|
507
|
-
title: "Map Zoom",
|
|
508
|
-
description: "Use to change the google maps zoom level",
|
|
509
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
510
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
511
|
-
},
|
|
512
|
-
minimumCreditCardAmount: {
|
|
513
|
-
title: "Minimum Credit Card Amount",
|
|
514
|
-
description: "Use to set the minimum credit card amount",
|
|
515
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
516
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
517
|
-
},
|
|
518
|
-
nutritionZone: {
|
|
519
|
-
title: "Nutrition Template",
|
|
520
|
-
description: "Show the correct nutrition format for the correct zone.",
|
|
521
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
522
|
-
options: ["us", "eu", "au", "ca"],
|
|
523
|
-
},
|
|
524
|
-
// paymentCards?: IPaymentCards;
|
|
525
|
-
// pdpDetailsLayout?: IPdpDetailsLayout;
|
|
526
|
-
productCardTitleHeight: {
|
|
527
|
-
title: "Product Card Title Height",
|
|
528
|
-
description: "Set the product card title height in pixels",
|
|
529
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
530
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
531
|
-
},
|
|
532
|
-
productCardv2: {
|
|
533
|
-
title: "use product card v2",
|
|
534
|
-
description: "use product card v2",
|
|
535
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
536
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
537
|
-
},
|
|
538
|
-
// TODO: this is set to number in main interface, should be fixed numbers
|
|
539
|
-
promoTemplateVersion: {
|
|
540
|
-
title: "Promo Template Version",
|
|
541
|
-
description: "Select a template version to show promotions",
|
|
542
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
543
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
544
|
-
options: [1, 2, 3],
|
|
545
|
-
},
|
|
546
|
-
// registrationFields?: IRegistrationField[];
|
|
547
|
-
// restrictMapPlacesResults?: IRestrictMapPlaces;
|
|
548
|
-
retailerCountry: {
|
|
549
|
-
title: "Retailer country",
|
|
550
|
-
description: "Select the retailer country",
|
|
551
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
552
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
553
|
-
options: ["us", "ca", "ie", "au"],
|
|
554
|
-
},
|
|
555
|
-
retailerName: {
|
|
556
|
-
title: "Retailer Name",
|
|
557
|
-
description: "Retailers short code e.g the code used for the retailers environment.",
|
|
558
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
559
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
560
|
-
},
|
|
561
|
-
searchPreview: {
|
|
562
|
-
title: "Search Previews",
|
|
563
|
-
description: "Toggle Products/Suggestions to appear on search preview",
|
|
564
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
565
|
-
value: {
|
|
566
|
-
desktop: {
|
|
567
|
-
title: "Desktop",
|
|
568
|
-
description: "",
|
|
569
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
570
|
-
value: {
|
|
571
|
-
products: {
|
|
572
|
-
title: "Show Products",
|
|
573
|
-
description: "",
|
|
574
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
575
|
-
},
|
|
576
|
-
suggestions: {
|
|
577
|
-
title: "Show Suggestions",
|
|
578
|
-
description: "",
|
|
579
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
580
|
-
},
|
|
581
|
-
},
|
|
582
|
-
},
|
|
583
|
-
mobile: {
|
|
584
|
-
title: "Mobile",
|
|
585
|
-
description: "",
|
|
586
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
587
|
-
value: {
|
|
588
|
-
products: {
|
|
589
|
-
title: "Show Products",
|
|
590
|
-
description: "",
|
|
591
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
592
|
-
},
|
|
593
|
-
suggestions: {
|
|
594
|
-
title: "Snow Suggestions",
|
|
595
|
-
description: "",
|
|
596
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
597
|
-
},
|
|
598
|
-
},
|
|
599
|
-
},
|
|
600
|
-
},
|
|
601
|
-
},
|
|
602
|
-
// secondTierAuthorization: {
|
|
603
|
-
// title: "Second Tier Authorization",
|
|
604
|
-
// description: "Enable second tier authorization",
|
|
605
|
-
// helpLink:
|
|
606
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
607
|
-
// type: AdminTemplateInputTypes.nullObject,
|
|
608
|
-
// value: {
|
|
609
|
-
// time: {
|
|
610
|
-
// title: "Time",
|
|
611
|
-
// description: "Time selection",
|
|
612
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
613
|
-
// value: [undefined, null, number]
|
|
614
|
-
// },
|
|
615
|
-
// },
|
|
616
|
-
// },
|
|
617
|
-
showCheckoutPromoCode: {
|
|
618
|
-
title: "Show Checkout Promo",
|
|
619
|
-
description: "Show checkout promotion code",
|
|
620
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
621
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
622
|
-
},
|
|
623
|
-
showImgOnOrder: {
|
|
624
|
-
title: "Show Image On Order",
|
|
625
|
-
description: "Show images on order",
|
|
626
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
627
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
628
|
-
},
|
|
629
|
-
smsNotifications: {
|
|
630
|
-
title: "SMS Notifications",
|
|
631
|
-
description: "Configure SMS Notifications integration",
|
|
632
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
633
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
634
|
-
value: {
|
|
635
|
-
enabled: {
|
|
636
|
-
title: "Enable",
|
|
637
|
-
description: "Enable SMS Notifications integration",
|
|
638
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
639
|
-
},
|
|
640
|
-
getEnrollmentUrl: {
|
|
641
|
-
title: "Get Url",
|
|
642
|
-
description: "Get enrollment url",
|
|
643
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
644
|
-
},
|
|
645
|
-
postEnrollmentUrl: {
|
|
646
|
-
title: "Post Url",
|
|
647
|
-
description: "Post enrollment url",
|
|
648
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
649
|
-
},
|
|
650
|
-
},
|
|
651
|
-
},
|
|
652
|
-
subHeaderHeight: {
|
|
653
|
-
title: "Subheader Height",
|
|
654
|
-
description: "Use to set the sub header height in pixels",
|
|
655
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
656
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
657
|
-
},
|
|
658
|
-
timeslotModalSettings: {
|
|
659
|
-
title: "Timeslot Modal Settings",
|
|
660
|
-
description: "Force timeslot selection",
|
|
661
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
662
|
-
value: {
|
|
663
|
-
showOnAddToCart: {
|
|
664
|
-
title: "Timeslot on Add To Cart",
|
|
665
|
-
description: "Show timeslot popup when user clicks on AddToCart",
|
|
666
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
667
|
-
},
|
|
668
|
-
timeslotRequiredToAddToCart: {
|
|
669
|
-
title: "Force Timeslot on Add To Cart",
|
|
670
|
-
description: "Force a timeslot selection in order to add item in cart",
|
|
671
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
672
|
-
},
|
|
673
|
-
timeslotRequiredToViewCartReview: {
|
|
674
|
-
title: "Force Timeslot on Cart Page",
|
|
675
|
-
description: "Force a timeslot selection in order to view cart page",
|
|
676
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
677
|
-
},
|
|
678
|
-
},
|
|
679
|
-
},
|
|
680
|
-
useAddressValidation: {
|
|
681
|
-
title: "Use Address Validation",
|
|
682
|
-
description: "Use to enable address validation",
|
|
683
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/useAddressValidation",
|
|
684
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
685
|
-
},
|
|
686
|
-
};
|