@thryveai/theme-interfaces 2.6.8 → 2.7.1
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/admin-settings-interfaces.d.ts +41 -35
- package/dist/interfaces/default-settings.interfaces.d.ts +2 -1
- package/dist/interfaces/retailer-settings.interfaces.d.ts +6 -0
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +39 -980
- package/dist/storefront/SFUISettingsTemplates/accountPage.template.d.ts +3 -0
- package/dist/storefront/SFUISettingsTemplates/accountPage.template.js +76 -0
- package/dist/storefront/SFUISettingsTemplates/addressSettings.template.d.ts +3 -0
- package/dist/storefront/SFUISettingsTemplates/addressSettings.template.js +136 -0
- package/dist/storefront/SFUISettingsTemplates/adminPanelOnly.template.d.ts +3 -0
- package/dist/storefront/SFUISettingsTemplates/adminPanelOnly.template.js +16 -0
- package/dist/storefront/SFUISettingsTemplates/cartSummary.template.d.ts +3 -0
- package/dist/storefront/SFUISettingsTemplates/cartSummary.template.js +24 -0
- package/dist/storefront/SFUISettingsTemplates/common.d.ts +2 -0
- package/dist/storefront/SFUISettingsTemplates/common.js +28 -0
- package/dist/storefront/SFUISettingsTemplates/features.template.d.ts +3 -0
- package/dist/storefront/SFUISettingsTemplates/features.template.js +317 -0
- package/dist/storefront/SFUISettingsTemplates/siteSettings.template.d.ts +3 -0
- package/dist/storefront/SFUISettingsTemplates/siteSettings.template.js +180 -0
- package/dist/storefront/SFUISettingsTemplates/welcomeModal.template.d.ts +3 -0
- package/dist/storefront/SFUISettingsTemplates/welcomeModal.template.js +27 -0
- package/dist/storefront/defaultSettingsStorefront.js +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AdminSettingsTemplateSFUI = exports.AdminTemplateInputTypes = void 0;
|
|
4
|
+
var accountPage_template_1 = require("./SFUISettingsTemplates/accountPage.template");
|
|
5
|
+
var addressSettings_template_1 = require("./SFUISettingsTemplates/addressSettings.template");
|
|
6
|
+
var adminPanelOnly_template_1 = require("./SFUISettingsTemplates/adminPanelOnly.template");
|
|
7
|
+
var cartSummary_template_1 = require("./SFUISettingsTemplates/cartSummary.template");
|
|
8
|
+
var features_template_1 = require("./SFUISettingsTemplates/features.template");
|
|
9
|
+
var siteSettings_template_1 = require("./SFUISettingsTemplates/siteSettings.template");
|
|
10
|
+
var welcomeModal_template_1 = require("./SFUISettingsTemplates/welcomeModal.template");
|
|
4
11
|
exports.AdminTemplateInputTypes = {
|
|
5
12
|
checkbox: "checkbox",
|
|
6
13
|
collapsableObject: "collapsableObject",
|
|
@@ -13,764 +20,33 @@ exports.AdminTemplateInputTypes = {
|
|
|
13
20
|
object: "object",
|
|
14
21
|
images: "images",
|
|
15
22
|
string: "string",
|
|
16
|
-
|
|
17
|
-
var addressValidationDescription = "Sets the validation types for user addresses";
|
|
18
|
-
var validationTypes = [
|
|
19
|
-
"luhnValidation",
|
|
20
|
-
"alphaNumeric",
|
|
21
|
-
"alphaOnly",
|
|
22
|
-
"numericOnly",
|
|
23
|
-
"anyPhone",
|
|
24
|
-
"email",
|
|
25
|
-
"password",
|
|
26
|
-
"required",
|
|
27
|
-
"usPhone",
|
|
28
|
-
"usMobileNumber",
|
|
29
|
-
"caPhone",
|
|
30
|
-
"auPhone",
|
|
31
|
-
"iePhone",
|
|
32
|
-
"caProvince",
|
|
33
|
-
"usState",
|
|
34
|
-
"auState",
|
|
35
|
-
"ieCounty",
|
|
36
|
-
"caPostCode",
|
|
37
|
-
"usPostCode",
|
|
38
|
-
"auPostCode",
|
|
39
|
-
"iePostCode",
|
|
40
|
-
"noSpecialChar",
|
|
41
|
-
"correctDate",
|
|
42
|
-
];
|
|
43
|
-
var FeatureSettingsChildren = {
|
|
44
|
-
allowInStorePurchases: {
|
|
45
|
-
title: "InStore Purchases",
|
|
46
|
-
description: "Show the purchases made in store in the order history (requires integration).",
|
|
47
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274375221/AllowInStorePurchases",
|
|
48
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
49
|
-
},
|
|
50
|
-
allowPastPurchases: {
|
|
51
|
-
title: "Display PastPurchases",
|
|
52
|
-
description: "Enable displaying past purchases functionality",
|
|
53
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/AllowPastPurchases",
|
|
54
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
55
|
-
},
|
|
56
|
-
additionalCharges: {
|
|
57
|
-
title: "Additional Charges",
|
|
58
|
-
description: "Enables additional charges on the payments section of checkout.",
|
|
59
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/Additional+Charges",
|
|
60
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
61
|
-
},
|
|
62
|
-
addressIntegrationV2: {
|
|
63
|
-
title: "addressIntegrationV2",
|
|
64
|
-
description: "Enables addressIntegrationV2.",
|
|
65
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/AddressIntegrationV2",
|
|
66
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
67
|
-
},
|
|
68
|
-
promotionDetailsPage: {
|
|
69
|
-
title: "Promotion Details Page",
|
|
70
|
-
description: "Enable Promotion calculator for different promotion detail pages",
|
|
71
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3555721239/Promotion+calculator+for+Promotion+Detail+Pages",
|
|
72
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
73
|
-
value: {
|
|
74
|
-
bundlePromotionCalculator: {
|
|
75
|
-
title: "Enable bundle promotion calculator",
|
|
76
|
-
description: "Enable promotion calculator for bundle promotions on details Page",
|
|
77
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
78
|
-
},
|
|
79
|
-
nonBundlePromotionCalculator: {
|
|
80
|
-
title: "Enable non bundle promotion calculator",
|
|
81
|
-
description: "Enable promotion calculator for non bundle promotions on details Page",
|
|
82
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
gsaSupportedBrowser: {
|
|
87
|
-
title: "gsaSupportedBrowser",
|
|
88
|
-
description: "Enables a retailer setting to block or unblock users from accessing the storefront using GSA",
|
|
89
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/gsaSupportedBrowser",
|
|
90
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
91
|
-
},
|
|
92
|
-
clientCache: {
|
|
93
|
-
title: "Browser API Caching",
|
|
94
|
-
description: "Enable cache for clients on the browser",
|
|
95
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
96
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304783908/Client+Cache",
|
|
97
|
-
},
|
|
98
|
-
giftCards: {
|
|
99
|
-
title: "Gift Cards",
|
|
100
|
-
description: "Enables gift cards on the payments section of checkout.",
|
|
101
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3313598656/Gift+Cards",
|
|
102
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
103
|
-
value: {
|
|
104
|
-
enabled: {
|
|
105
|
-
title: "Enable Gift Cards",
|
|
106
|
-
description: "Enables gift cards feature.",
|
|
107
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
108
|
-
},
|
|
109
|
-
gitfCardInputValidation: {
|
|
110
|
-
title: "Gift Card Input Validation",
|
|
111
|
-
description: "Regular expression used for giftcard validation",
|
|
112
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
113
|
-
},
|
|
114
|
-
pinInputValidation: {
|
|
115
|
-
title: "Gift Card Pin Validation",
|
|
116
|
-
description: "Regular expression used for pin validation",
|
|
117
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
118
|
-
},
|
|
119
|
-
reCaptcha: {
|
|
120
|
-
title: "Enable reCaptcha",
|
|
121
|
-
description: "Enables reCaptcha validation feature.",
|
|
122
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
123
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
|
-
},
|
|
127
|
-
couponGallery: {
|
|
128
|
-
title: "Coupon Gallery",
|
|
129
|
-
description: "Enables Coupon Gallery for user to see all available Coupons on one page",
|
|
130
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3429171291/Coupon+Gallery",
|
|
131
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
132
|
-
value: {
|
|
133
|
-
enabled: {
|
|
134
|
-
title: "Enable coupon gallery",
|
|
135
|
-
description: "Enable coupon gallery feature, please select another option below to fully activate feature",
|
|
136
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
137
|
-
},
|
|
138
|
-
galleryIsIframe: {
|
|
139
|
-
title: "Enable coupon gallery internal page",
|
|
140
|
-
description: "Enable coupon gallery Iframe feature within the app",
|
|
141
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
142
|
-
},
|
|
143
|
-
galleryHasNavLink: {
|
|
144
|
-
title: "Enable coupon gallery external page",
|
|
145
|
-
description: "Enable coupon gallery link to external page not in the app",
|
|
146
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
},
|
|
150
|
-
vouchers: {
|
|
151
|
-
title: "Voucher",
|
|
152
|
-
description: "Enables voucher on checkout page (requires integration).",
|
|
153
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
154
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
155
|
-
value: {
|
|
156
|
-
enabled: {
|
|
157
|
-
title: "Enable Vouchers",
|
|
158
|
-
description: "Enables vouchers feature.",
|
|
159
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
160
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
161
|
-
},
|
|
162
|
-
reCaptcha: {
|
|
163
|
-
title: "Enable reCaptcha",
|
|
164
|
-
description: "Enables reCaptcha validation feature.",
|
|
165
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
166
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
|
|
167
|
-
},
|
|
168
|
-
},
|
|
169
|
-
},
|
|
170
|
-
entryModalVersion: {
|
|
171
|
-
title: "Set entry modal step",
|
|
172
|
-
description: "Set entry modal step setting.",
|
|
173
|
-
type: exports.AdminTemplateInputTypes.string,
|
|
174
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Entry+Modal+Version",
|
|
175
|
-
},
|
|
176
|
-
hideAlcoholRule: {
|
|
177
|
-
title: "Set if shopping rule modals appears for alcohol",
|
|
178
|
-
description: "Set boolean to control if shopping rule modals appears for alcohol.",
|
|
179
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
180
|
-
value: {
|
|
181
|
-
pdp: {
|
|
182
|
-
title: "Disable warning box",
|
|
183
|
-
description: "Disable alcohol warning box on pdp.",
|
|
184
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
185
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
186
|
-
},
|
|
187
|
-
modal: {
|
|
188
|
-
title: "Disable warning modal",
|
|
189
|
-
description: "Disable alcohol warning modal popup.",
|
|
190
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
191
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
192
|
-
},
|
|
193
|
-
productCard: {
|
|
194
|
-
title: "Disable shopping rule label",
|
|
195
|
-
description: "Disable alchohol rule label in Product Cards.",
|
|
196
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
197
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
198
|
-
},
|
|
199
|
-
},
|
|
200
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
|
|
201
|
-
},
|
|
202
|
-
enableGoogleTranslate: {
|
|
203
|
-
title: "Enable Google Translate",
|
|
204
|
-
description: "Enable google translation display and functionality",
|
|
205
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276275734/Enable+Google+Translate",
|
|
206
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
207
|
-
},
|
|
208
|
-
enableNewsletterSignup: {
|
|
209
|
-
title: "Enable Newsletter",
|
|
210
|
-
description: "Enable newsletter signup functionality",
|
|
211
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144678/Enable+Newsletter",
|
|
212
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
213
|
-
},
|
|
214
|
-
enableNotifications: {
|
|
215
|
-
title: "Enable Notifications",
|
|
216
|
-
description: "Enable notifications functionality",
|
|
217
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177422/Enable+Notifications",
|
|
218
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
219
|
-
},
|
|
220
|
-
externalStoreSelectorUrl: {
|
|
221
|
-
title: "External Store Selector Url",
|
|
222
|
-
description: "Shows a link back to previous shopping platform, seen on store selection modal.This is generally used for an existing site that has not migrated all their stores to WynShop.",
|
|
223
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
224
|
-
value: {
|
|
225
|
-
version: {
|
|
226
|
-
title: "Enabled",
|
|
227
|
-
description: "This will enabled the url",
|
|
228
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
229
|
-
},
|
|
230
|
-
retailer: {
|
|
231
|
-
title: "Link to other platform",
|
|
232
|
-
description: "This will link to the previous platform",
|
|
233
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
234
|
-
},
|
|
235
|
-
},
|
|
236
|
-
},
|
|
237
|
-
flipp: {
|
|
238
|
-
title: "Flipp Circulars",
|
|
239
|
-
description: "Configure Flipp circulars integration",
|
|
240
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
241
|
-
value: {
|
|
242
|
-
version: {
|
|
243
|
-
title: "Version",
|
|
244
|
-
description: "Will you use version 1 or version 2?",
|
|
245
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
246
|
-
},
|
|
247
|
-
retailer: {
|
|
248
|
-
title: "Retailer Name",
|
|
249
|
-
description: "The retailer setting from flipp",
|
|
250
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
251
|
-
},
|
|
252
|
-
merchantId: {
|
|
253
|
-
title: "Merchant Id",
|
|
254
|
-
description: "The merchant Id setting from flipp",
|
|
255
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
256
|
-
},
|
|
257
|
-
accessToken: {
|
|
258
|
-
title: "Access Token",
|
|
259
|
-
description: "The access token setting from flipp",
|
|
260
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
261
|
-
},
|
|
262
|
-
zoom: {
|
|
263
|
-
title: "Zoom Level",
|
|
264
|
-
description: "The viewport width percentage for flipp rendering",
|
|
265
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
266
|
-
options: [100, 95, 90, 85, 80, 75, 70, 65, 60],
|
|
267
|
-
},
|
|
268
|
-
locale: {
|
|
269
|
-
title: "Locale",
|
|
270
|
-
description: "The locale of flipp flyers",
|
|
271
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
272
|
-
},
|
|
273
|
-
hideHeader: {
|
|
274
|
-
title: "hideHeader",
|
|
275
|
-
description: "Setting to toggle visibility of the flipp navigation header",
|
|
276
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
277
|
-
},
|
|
278
|
-
},
|
|
279
|
-
},
|
|
280
|
-
smartbanner: {
|
|
281
|
-
title: "Smart Banner",
|
|
282
|
-
description: "Render smart banner on mobile views",
|
|
283
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304849441/Smart+Banner",
|
|
284
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
285
|
-
value: {
|
|
286
|
-
enabled: {
|
|
287
|
-
title: "Enable",
|
|
288
|
-
description: "Enable smart banner",
|
|
289
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
290
|
-
},
|
|
291
|
-
title: {
|
|
292
|
-
title: "Title",
|
|
293
|
-
description: "Smart banner title",
|
|
294
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
295
|
-
},
|
|
296
|
-
author: {
|
|
297
|
-
title: "Author",
|
|
298
|
-
description: "Smart banner author",
|
|
299
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
300
|
-
},
|
|
301
|
-
price: {
|
|
302
|
-
title: "Price",
|
|
303
|
-
description: "Smart banner price",
|
|
304
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
305
|
-
},
|
|
306
|
-
priceSuffixApple: {
|
|
307
|
-
title: "Apple Price Suffix",
|
|
308
|
-
description: "Smart banner price suffix for Apple devices",
|
|
309
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
310
|
-
},
|
|
311
|
-
priceSuffixGoogle: {
|
|
312
|
-
title: "Google Price Suffix",
|
|
313
|
-
description: "Smart banner price suffix for Google devices",
|
|
314
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
315
|
-
},
|
|
316
|
-
iconApple: {
|
|
317
|
-
title: "Apple Icon",
|
|
318
|
-
description: "Smart banner icon for Apple devices",
|
|
319
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
320
|
-
},
|
|
321
|
-
iconGoogle: {
|
|
322
|
-
title: "Google Icon",
|
|
323
|
-
description: "Smart banner icon for Google devices",
|
|
324
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
325
|
-
},
|
|
326
|
-
button: {
|
|
327
|
-
title: "Button",
|
|
328
|
-
description: "Smart banner button text",
|
|
329
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
330
|
-
},
|
|
331
|
-
buttonUrlApple: {
|
|
332
|
-
title: "Apple Button Url",
|
|
333
|
-
description: "Smart banner url for Apple button",
|
|
334
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
335
|
-
},
|
|
336
|
-
buttonUrlGoogle: {
|
|
337
|
-
title: "Google Button Url",
|
|
338
|
-
description: "Smart banner url for Google button",
|
|
339
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
340
|
-
},
|
|
341
|
-
closeLabel: {
|
|
342
|
-
title: "Close Label",
|
|
343
|
-
description: "Smart banner label text",
|
|
344
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
345
|
-
},
|
|
346
|
-
},
|
|
347
|
-
},
|
|
348
|
-
};
|
|
349
|
-
var ContentEngineV2Components = {
|
|
350
|
-
HeroBanner: {
|
|
351
|
-
description: "Use HeroBanner V2",
|
|
352
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478946114/Hero+Banner",
|
|
353
|
-
title: "Enable HeroBanner V2 component",
|
|
354
|
-
type: "checkbox",
|
|
355
|
-
},
|
|
356
|
-
};
|
|
357
|
-
var SiteSettingsChildren = {
|
|
358
|
-
anonymousCart: {
|
|
359
|
-
title: "Anonymous Cart",
|
|
360
|
-
description: "⚠️ Allows the customer to add to cart without being logged in.⚠️ (Setting has side effects)",
|
|
361
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/Anonymous+Cart",
|
|
362
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
363
|
-
},
|
|
364
|
-
ctaButtons: {
|
|
365
|
-
title: "Call To Action Button Settings",
|
|
366
|
-
description: "Coming Soon",
|
|
367
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
368
|
-
},
|
|
369
|
-
daysToRemainSignedIn: {
|
|
370
|
-
title: "Sign In Days",
|
|
371
|
-
description: "Time in days to remain signed in in the app",
|
|
372
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
373
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
374
|
-
},
|
|
375
|
-
defaultCountry: {
|
|
376
|
-
title: "Default country",
|
|
377
|
-
description: "Select the default country",
|
|
378
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
379
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
380
|
-
options: ["USA", "CAN", "IRE", "AUS"],
|
|
381
|
-
},
|
|
382
|
-
defaultShoppingMode: {
|
|
383
|
-
title: "Default Shopping Mode",
|
|
384
|
-
description: "Shopping mode the site defaults to when a user lands and has not registered.",
|
|
385
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3272999110/Default+Shopping+Mode",
|
|
386
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
387
|
-
options: ["pickup", "planning", "delivery"],
|
|
388
|
-
},
|
|
389
|
-
disableTprPrice: {
|
|
390
|
-
title: "Disable TPR Price",
|
|
391
|
-
description: "Disable the display of tpr pricing",
|
|
392
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177413/Disable+TPR+Price",
|
|
393
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
394
|
-
},
|
|
395
|
-
defaultStoreLocation: {
|
|
396
|
-
title: "Default Store Location",
|
|
397
|
-
description: "Used to center the store selector map to the retailers region. Without setting this, the map defaults to central Africa.",
|
|
398
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
399
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784259/Default+Store+Location",
|
|
400
|
-
value: {
|
|
401
|
-
latitude: {
|
|
402
|
-
title: "Latitude",
|
|
403
|
-
description: "",
|
|
404
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
405
|
-
},
|
|
406
|
-
longitude: {
|
|
407
|
-
title: "Longitude",
|
|
408
|
-
description: "",
|
|
409
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
410
|
-
},
|
|
411
|
-
},
|
|
412
|
-
},
|
|
413
|
-
gtmId: {
|
|
414
|
-
title: "GTM ID",
|
|
415
|
-
description: "Google Tag Manager ID",
|
|
416
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
417
|
-
},
|
|
418
|
-
hideWelcomeModalOnCorporate: {
|
|
419
|
-
title: "Hide Welcome Modal on Corporate",
|
|
420
|
-
description: "Enable to hide the initial welcome modal selection screen when on corporate store",
|
|
421
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3472326883/Hide+Welcome+Modal+on+Corporate",
|
|
422
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
423
|
-
},
|
|
424
|
-
isPlanningOnly: {
|
|
425
|
-
title: "Planning Only",
|
|
426
|
-
description: "Enable if planning mode is the only available shopping method",
|
|
427
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
428
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
429
|
-
},
|
|
430
|
-
RemoveAllOutOfStock: {
|
|
431
|
-
title: "RemoveAllOutOfStock Button",
|
|
432
|
-
description: "Disable RemoveAllOutOfStock to hide RemoveAllOutOfStock button",
|
|
433
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
434
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
435
|
-
},
|
|
436
|
-
mapZoom: {
|
|
437
|
-
title: "Map Zoom",
|
|
438
|
-
description: "Use to change the google maps zoom level",
|
|
439
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
440
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
441
|
-
},
|
|
442
|
-
maintainCustomerJourney: {
|
|
443
|
-
title: "Maintain customer journey",
|
|
444
|
-
description: "Use to navigate back to the page you were after login/store selection etc...",
|
|
445
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3373695163/Maintain+customer+journey",
|
|
446
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
447
|
-
},
|
|
448
|
-
maintainCustomerPreferences: {
|
|
449
|
-
title: "Maintain customer preferences",
|
|
450
|
-
description: "View and modify customer preferences: marketing preferences, substitution preferences, etc.",
|
|
451
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3405381666/Maintain+customer+preferences",
|
|
452
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
453
|
-
value: {
|
|
454
|
-
enabled: {
|
|
455
|
-
title: "Enable",
|
|
456
|
-
description: "Enable Maintain customer preferences",
|
|
457
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
458
|
-
},
|
|
459
|
-
optInMarketingPreferences: {
|
|
460
|
-
title: "Implicit opt in for marketing preferences",
|
|
461
|
-
description: "Do NOT enable for GDPR compliant clients!",
|
|
462
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
463
|
-
},
|
|
464
|
-
selectOptInMarketingPreferencesStore: {
|
|
465
|
-
title: "Force selection of exact store you want to receive marketing preferences from",
|
|
466
|
-
description: "Select store customer wants to receive updates/offers from",
|
|
467
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
468
|
-
},
|
|
469
|
-
},
|
|
470
|
-
},
|
|
471
|
-
retailerCountry: {
|
|
472
|
-
title: "Retailer country",
|
|
473
|
-
description: "Select the retailer country",
|
|
474
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
475
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
476
|
-
options: ["us", "ca", "ie", "au"],
|
|
477
|
-
},
|
|
478
|
-
retailerName: {
|
|
479
|
-
title: "Retailer Name",
|
|
480
|
-
description: "Retailers short code e.g the code used for the retailers environment.",
|
|
481
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
482
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
483
|
-
},
|
|
484
|
-
timeslotModalSettings: {
|
|
485
|
-
title: "Timeslot Modal Settings",
|
|
486
|
-
description: "Force timeslot selection",
|
|
487
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
488
|
-
value: {
|
|
489
|
-
showOnAddToCart: {
|
|
490
|
-
title: "Timeslot on Add To Cart",
|
|
491
|
-
description: "Show timeslot popup when user clicks on AddToCart",
|
|
492
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
493
|
-
},
|
|
494
|
-
timeslotRequiredToAddToCart: {
|
|
495
|
-
title: "Force Timeslot on Add To Cart",
|
|
496
|
-
description: "Force a timeslot selection in order to add item in cart",
|
|
497
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
498
|
-
},
|
|
499
|
-
timeslotRequiredToViewCartReview: {
|
|
500
|
-
title: "Force Timeslot on Cart Page",
|
|
501
|
-
description: "Force a timeslot selection in order to view cart page",
|
|
502
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
503
|
-
},
|
|
504
|
-
timeslotRequiredToViewCheckout: {
|
|
505
|
-
title: "Force Timeslot on Checkout",
|
|
506
|
-
description: "Force a timeslot selection in order to view checkout",
|
|
507
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
508
|
-
},
|
|
509
|
-
},
|
|
510
|
-
},
|
|
511
|
-
useContentEngineV2Components: {
|
|
512
|
-
title: "Use Content Engine V2 Components",
|
|
513
|
-
description: "(work in progress)",
|
|
514
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478618892/Content+Engine+V2+Components",
|
|
515
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
516
|
-
value: ContentEngineV2Components,
|
|
517
|
-
},
|
|
518
|
-
};
|
|
519
|
-
var AccountPageSettingsChildren = {
|
|
520
|
-
loyaltyTab: {
|
|
521
|
-
title: "Loyalty Tab",
|
|
522
|
-
description: "Set up Loyalty Tab on account page",
|
|
523
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
524
|
-
value: {
|
|
525
|
-
enabled: {
|
|
526
|
-
title: "Enable Loyalty Tab",
|
|
527
|
-
description: "Enable Loyalty tab section within My Account page",
|
|
528
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
529
|
-
},
|
|
530
|
-
disabledEdit: {
|
|
531
|
-
title: "Disable Loyalty edit",
|
|
532
|
-
description: "Prevent users to change their loyalty number",
|
|
533
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
534
|
-
},
|
|
535
|
-
loyaltyNumberLength: {
|
|
536
|
-
title: "Loyalty Number Length",
|
|
537
|
-
description: "Control the loyalty number length",
|
|
538
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
539
|
-
},
|
|
540
|
-
loyaltyNumberPrefix: {
|
|
541
|
-
title: "Loyalty Number Prefix",
|
|
542
|
-
description: "Add hardcoded prefix for loyalty numbers (this will affect the length)",
|
|
543
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
544
|
-
},
|
|
545
|
-
loyaltyValidationType: {
|
|
546
|
-
title: "Loyalty Number Validation",
|
|
547
|
-
description: "Select loyalty validation types",
|
|
548
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
549
|
-
options: validationTypes,
|
|
550
|
-
},
|
|
551
|
-
},
|
|
552
|
-
},
|
|
553
|
-
idp: {
|
|
554
|
-
title: "IDP",
|
|
555
|
-
description: "Use an external account page",
|
|
556
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
557
|
-
value: {
|
|
558
|
-
enabled: {
|
|
559
|
-
title: "Enable",
|
|
560
|
-
description: "Enable the external My Account page",
|
|
561
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
562
|
-
},
|
|
563
|
-
target: {
|
|
564
|
-
title: "Link Target",
|
|
565
|
-
description: "Should the link open in the same or new tab?",
|
|
566
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
567
|
-
options: ["_self", "_blank"],
|
|
568
|
-
},
|
|
569
|
-
url: {
|
|
570
|
-
title: "Link URL",
|
|
571
|
-
description: "URL to link to My Account page",
|
|
572
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
573
|
-
},
|
|
574
|
-
},
|
|
575
|
-
},
|
|
576
|
-
profileTab: {
|
|
577
|
-
title: "Profile Tab",
|
|
578
|
-
description: "Profile Tab settings",
|
|
579
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
580
|
-
value: {
|
|
581
|
-
deleteAccountButton: {
|
|
582
|
-
title: "Delete account button",
|
|
583
|
-
description: "Enable / disable delete account button on My Account page",
|
|
584
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3486023742/Delete+account+button",
|
|
585
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
586
|
-
},
|
|
587
|
-
},
|
|
588
|
-
},
|
|
589
|
-
};
|
|
590
|
-
var AddressSettingsChildren = {
|
|
591
|
-
addressValidationTypes: {
|
|
592
|
-
title: "Address Validation",
|
|
593
|
-
description: "User address validation settings.",
|
|
594
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/Address+Validation",
|
|
595
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
596
|
-
value: {
|
|
597
|
-
addressLine1: {
|
|
598
|
-
title: "Address Line 1",
|
|
599
|
-
description: addressValidationDescription,
|
|
600
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
601
|
-
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
602
|
-
},
|
|
603
|
-
addressLine2: {
|
|
604
|
-
title: "Address Line 2",
|
|
605
|
-
description: addressValidationDescription,
|
|
606
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
607
|
-
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
608
|
-
},
|
|
609
|
-
city: {
|
|
610
|
-
title: "City",
|
|
611
|
-
description: addressValidationDescription,
|
|
612
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
613
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
614
|
-
},
|
|
615
|
-
countyProvinceState: {
|
|
616
|
-
title: "County/Province/State",
|
|
617
|
-
description: addressValidationDescription,
|
|
618
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
619
|
-
options: [
|
|
620
|
-
"alphaNumeric",
|
|
621
|
-
"alphaOnly",
|
|
622
|
-
"auState",
|
|
623
|
-
"ieCounty",
|
|
624
|
-
"usState",
|
|
625
|
-
"caProvince",
|
|
626
|
-
"required",
|
|
627
|
-
],
|
|
628
|
-
},
|
|
629
|
-
familyName: {
|
|
630
|
-
title: "User's Surname",
|
|
631
|
-
description: addressValidationDescription,
|
|
632
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
633
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
634
|
-
},
|
|
635
|
-
firstName: {
|
|
636
|
-
title: "User's first name",
|
|
637
|
-
description: addressValidationDescription,
|
|
638
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
639
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
640
|
-
},
|
|
641
|
-
instructions: {
|
|
642
|
-
title: "User Instructions Fields",
|
|
643
|
-
description: "Validation for the input fields for user instructions",
|
|
644
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
645
|
-
options: ["alphaNumeric", "alphaOnly", "required", "numericOnly"],
|
|
646
|
-
},
|
|
647
|
-
phoneNumber: {
|
|
648
|
-
title: "Phone Number",
|
|
649
|
-
description: "The number to be used to contact the user",
|
|
650
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
651
|
-
options: [
|
|
652
|
-
"usPhone",
|
|
653
|
-
"usMobileNumber",
|
|
654
|
-
"numericOnly",
|
|
655
|
-
"auPhone",
|
|
656
|
-
"caPhone",
|
|
657
|
-
"iePhone",
|
|
658
|
-
"anyPhone",
|
|
659
|
-
"required",
|
|
660
|
-
],
|
|
661
|
-
},
|
|
662
|
-
postCode: {
|
|
663
|
-
title: "Post / zip code",
|
|
664
|
-
description: addressValidationDescription,
|
|
665
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
666
|
-
options: [
|
|
667
|
-
"alphaNumeric",
|
|
668
|
-
"auPostCode",
|
|
669
|
-
"caPostCode",
|
|
670
|
-
"iePostCode",
|
|
671
|
-
"usPostCode",
|
|
672
|
-
"numericOnly",
|
|
673
|
-
"required",
|
|
674
|
-
],
|
|
675
|
-
},
|
|
676
|
-
smsNumber: {
|
|
677
|
-
title: "SMS number",
|
|
678
|
-
description: addressValidationDescription,
|
|
679
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
680
|
-
options: [
|
|
681
|
-
"usPhone",
|
|
682
|
-
"usMobileNumber",
|
|
683
|
-
"numericOnly",
|
|
684
|
-
"auPhone",
|
|
685
|
-
"caPhone",
|
|
686
|
-
"iePhone",
|
|
687
|
-
"anyPhone",
|
|
688
|
-
"required",
|
|
689
|
-
],
|
|
690
|
-
},
|
|
691
|
-
},
|
|
692
|
-
},
|
|
693
|
-
eircode: {
|
|
694
|
-
title: "Eircode",
|
|
695
|
-
description: "Add a link to the address section",
|
|
696
|
-
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
697
|
-
value: {
|
|
698
|
-
enabled: {
|
|
699
|
-
title: "Enable",
|
|
700
|
-
description: "",
|
|
701
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
702
|
-
},
|
|
703
|
-
url: {
|
|
704
|
-
title: "Link URL",
|
|
705
|
-
description: "",
|
|
706
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
707
|
-
},
|
|
708
|
-
},
|
|
709
|
-
},
|
|
710
|
-
integration: {
|
|
711
|
-
title: "Address Integration Settings",
|
|
712
|
-
description: "Coming Soon",
|
|
713
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
714
|
-
},
|
|
715
|
-
useAddressValidation: {
|
|
716
|
-
title: "useAddressValidation",
|
|
717
|
-
description: "useAddressValidation",
|
|
718
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
719
|
-
},
|
|
720
|
-
};
|
|
721
|
-
var CartSummarySettingsChildren = {
|
|
722
|
-
showTaxTotal: {
|
|
723
|
-
title: "showTaxTotal",
|
|
724
|
-
description: " ",
|
|
725
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
726
|
-
},
|
|
727
|
-
showTaxGroups: {
|
|
728
|
-
title: "showTaxGroups",
|
|
729
|
-
description: " ",
|
|
730
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
731
|
-
},
|
|
732
|
-
hideTaxOnSummary: {
|
|
733
|
-
title: "hideTaxOnSummary",
|
|
734
|
-
description: " ",
|
|
735
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
736
|
-
},
|
|
23
|
+
array: "array",
|
|
737
24
|
};
|
|
738
25
|
exports.AdminSettingsTemplateSFUI = {
|
|
739
26
|
adminPanelOnly: {
|
|
740
27
|
title: "Retailer Details",
|
|
741
28
|
description: "Only used to identify the banner in the admin panel",
|
|
742
29
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
743
|
-
value:
|
|
744
|
-
bannerName: {
|
|
745
|
-
title: "Retailer Name",
|
|
746
|
-
description: "Set the banner name here.",
|
|
747
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
748
|
-
},
|
|
749
|
-
logoUrl: {
|
|
750
|
-
title: "Retailer Logo",
|
|
751
|
-
description: "Set a logo here to help identify the banner.",
|
|
752
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
753
|
-
},
|
|
754
|
-
},
|
|
30
|
+
value: adminPanelOnly_template_1.AdminPanelOnlyTemplate,
|
|
755
31
|
},
|
|
756
32
|
accountPage: {
|
|
757
33
|
title: "Account Page",
|
|
758
34
|
description: "Account page settings",
|
|
759
35
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
760
36
|
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
761
|
-
value:
|
|
37
|
+
value: accountPage_template_1.AccountPageTemplate,
|
|
762
38
|
},
|
|
763
39
|
addressSettings: {
|
|
764
40
|
title: "Address Settings",
|
|
765
41
|
description: "Controls how the user can add an address",
|
|
766
42
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
767
|
-
value:
|
|
43
|
+
value: addressSettings_template_1.AddressSettingsTemplate,
|
|
768
44
|
},
|
|
769
45
|
cartSummary: {
|
|
770
46
|
title: "Cart & Order Summary",
|
|
771
47
|
description: "Settings for the Cart or Order Summary section",
|
|
772
48
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
773
|
-
value:
|
|
49
|
+
value: cartSummary_template_1.CartSummaryTemplate,
|
|
774
50
|
},
|
|
775
51
|
checkout: {
|
|
776
52
|
title: "Checkout Summary",
|
|
@@ -782,255 +58,38 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
782
58
|
description: "These are non-essential enhancements and integrations, the storefront will function without these.",
|
|
783
59
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
784
60
|
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304816658/Features",
|
|
785
|
-
value:
|
|
786
|
-
},
|
|
787
|
-
pdpSettings: {
|
|
788
|
-
title: "Product Details Page Settings",
|
|
789
|
-
description: "Coming Soon",
|
|
790
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
791
|
-
},
|
|
792
|
-
productCard: {
|
|
793
|
-
title: "Product Card Settings",
|
|
794
|
-
description: "Coming Soon",
|
|
795
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
61
|
+
value: features_template_1.FeaturesTemplate,
|
|
796
62
|
},
|
|
63
|
+
// pdpSettings: {
|
|
64
|
+
// title: "Product Details Page Settings",
|
|
65
|
+
// description: "Coming Soon",
|
|
66
|
+
// type: AdminTemplateInputTypes.nullObject,
|
|
67
|
+
// },
|
|
68
|
+
// productCard: {
|
|
69
|
+
// title: "Product Card Settings",
|
|
70
|
+
// description: "Coming Soon",
|
|
71
|
+
// type: AdminTemplateInputTypes.nullObject,
|
|
72
|
+
// },
|
|
797
73
|
siteSettings: {
|
|
798
74
|
title: "General Site Settings",
|
|
799
75
|
description: "These are essential settings, the storefront will NOT function without these.",
|
|
800
76
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
801
77
|
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3328180235/General+Site+Settings",
|
|
802
|
-
value:
|
|
78
|
+
value: siteSettings_template_1.SiteSettingsTemplate,
|
|
79
|
+
},
|
|
80
|
+
welcomeModal: {
|
|
81
|
+
title: "Welcome Modal",
|
|
82
|
+
description: "",
|
|
83
|
+
type: exports.AdminTemplateInputTypes.array,
|
|
84
|
+
message: {
|
|
85
|
+
caption: [
|
|
86
|
+
"You can add options to the welcome modal that will appear along side the existing shopping mode options that are set per store.",
|
|
87
|
+
"Once you have created the options you can edit the sequence of them. The shopping modes will always appear first.",
|
|
88
|
+
],
|
|
89
|
+
showLabel: false,
|
|
90
|
+
type: "info",
|
|
91
|
+
},
|
|
92
|
+
helpLink: "",
|
|
93
|
+
value: welcomeModal_template_1.WelcomeModalTemplate,
|
|
803
94
|
},
|
|
804
|
-
// favoritesV1: {
|
|
805
|
-
// title: "Favorites Version1",
|
|
806
|
-
// description: "Enable version 1 of favorites functionality",
|
|
807
|
-
// helpLink:
|
|
808
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144744/Favorites+Version1",
|
|
809
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
810
|
-
// },
|
|
811
|
-
// addressIntegration: {
|
|
812
|
-
// title: "Address Integration",
|
|
813
|
-
// description: "Use external address integration",
|
|
814
|
-
// helpLink:
|
|
815
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3346464807/Address+Integration",
|
|
816
|
-
// type: AdminTemplateInputTypes.object,
|
|
817
|
-
// value: {
|
|
818
|
-
// enabled: {
|
|
819
|
-
// title: "Enabled",
|
|
820
|
-
// description: "Enables external address integration",
|
|
821
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
822
|
-
// },
|
|
823
|
-
// addressFinderType: {
|
|
824
|
-
// title: "Address Finder Type",
|
|
825
|
-
// description: "Select the address finder type",
|
|
826
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
827
|
-
// options: ["AUS", "EU", "IE", "US", "UK", "CA"],
|
|
828
|
-
// },
|
|
829
|
-
// useForNewAddresses: {
|
|
830
|
-
// title: "Use For New Addresses",
|
|
831
|
-
// description: "Use for creating new addresses on checkout",
|
|
832
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
833
|
-
// },
|
|
834
|
-
// },
|
|
835
|
-
// },
|
|
836
|
-
// hideTaxOnSummary: {
|
|
837
|
-
// title: "Hide Summary Tax",
|
|
838
|
-
// description: "Hide the tax displayed on the summary box",
|
|
839
|
-
// helpLink:
|
|
840
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
841
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
842
|
-
// },
|
|
843
|
-
// houseAccountRegExValidation: {
|
|
844
|
-
// title: "House Account Validation",
|
|
845
|
-
// description: `Regular expression to validate house accounts`,
|
|
846
|
-
// helpLink:
|
|
847
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144701/House+Account+Validation",
|
|
848
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
849
|
-
// },
|
|
850
|
-
// // idpTarget:{
|
|
851
|
-
// // title: "Idp Target",
|
|
852
|
-
// // description: "Idp opens on the same or a new tab",
|
|
853
|
-
// // type: AdminTemplateInputTypes.dropdown,
|
|
854
|
-
// // options: ["_self", "_blank"],
|
|
855
|
-
// // },
|
|
856
|
-
// // idpUrl: {
|
|
857
|
-
// // title: 'External IDP url',
|
|
858
|
-
// // 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.',
|
|
859
|
-
// // type: "nullObject",
|
|
860
|
-
// // value: {}
|
|
861
|
-
// // },
|
|
862
|
-
// // instacartUrl?: string | undefined;
|
|
863
|
-
// // layout?: ILayoutSettings;
|
|
864
|
-
// limitProductCardTitleHeight: {
|
|
865
|
-
// title: "Limit Product Card Title",
|
|
866
|
-
// description: "Restricts the product card title height display",
|
|
867
|
-
// helpLink:
|
|
868
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144711/Limit+Product+Card+Title",
|
|
869
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
870
|
-
// },
|
|
871
|
-
// // loggingLevelClient: {
|
|
872
|
-
// // title: "Client logging Level",
|
|
873
|
-
// // description: "Sets client's logging detail level",
|
|
874
|
-
// // helpLink:
|
|
875
|
-
// // "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
876
|
-
// // type: AdminTemplateInputTypes.checkbox,
|
|
877
|
-
// // },
|
|
878
|
-
// // loggingLevelServer?: ILoggingLevel;
|
|
879
|
-
// mainHeaderHeight: {
|
|
880
|
-
// title: "Main Header Height",
|
|
881
|
-
// description: "Use to set the main header height in pixels",
|
|
882
|
-
// helpLink:
|
|
883
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
884
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
885
|
-
// },
|
|
886
|
-
// minimumCreditCardAmount: {
|
|
887
|
-
// title: "Minimum Credit Card Amount",
|
|
888
|
-
// description: "Use to set the minimum credit card amount",
|
|
889
|
-
// helpLink:
|
|
890
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
891
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
892
|
-
// },
|
|
893
|
-
// nutritionZone: {
|
|
894
|
-
// title: "Nutrition Template",
|
|
895
|
-
// description: "Show the correct nutrition format for the correct zone.",
|
|
896
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
897
|
-
// options: ["us", "eu", "au", "ca"],
|
|
898
|
-
// },
|
|
899
|
-
// // paymentCards?: IPaymentCards;
|
|
900
|
-
// // pdpDetailsLayout?: IPdpDetailsLayout;
|
|
901
|
-
// productCardTitleHeight: {
|
|
902
|
-
// title: "Product Card Title Height",
|
|
903
|
-
// description: "Set the product card title height in pixels",
|
|
904
|
-
// helpLink:
|
|
905
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
906
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
907
|
-
// },
|
|
908
|
-
// productCardv2: {
|
|
909
|
-
// title: "use product card v2",
|
|
910
|
-
// description: "use product card v2",
|
|
911
|
-
// helpLink:
|
|
912
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
913
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
914
|
-
// },
|
|
915
|
-
// // TODO: this is set to number in main interface, should be fixed numbers
|
|
916
|
-
// promoTemplateVersion: {
|
|
917
|
-
// title: "Promo Template Version",
|
|
918
|
-
// description: "Select a template version to show promotions",
|
|
919
|
-
// helpLink:
|
|
920
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
921
|
-
// type: AdminTemplateInputTypes.dropdown,
|
|
922
|
-
// options: [1, 2, 3],
|
|
923
|
-
// },
|
|
924
|
-
// // registrationFields?: IRegistrationField[];
|
|
925
|
-
// // restrictMapPlacesResults?: IRestrictMapPlaces;
|
|
926
|
-
// searchPreview: {
|
|
927
|
-
// title: "Search Previews",
|
|
928
|
-
// description: "Toggle Products/Suggestions to appear on search preview",
|
|
929
|
-
// type: AdminTemplateInputTypes.object,
|
|
930
|
-
// value: {
|
|
931
|
-
// desktop: {
|
|
932
|
-
// title: "Desktop",
|
|
933
|
-
// description: "",
|
|
934
|
-
// type: AdminTemplateInputTypes.object,
|
|
935
|
-
// value: {
|
|
936
|
-
// products: {
|
|
937
|
-
// title: "Show Products",
|
|
938
|
-
// description: "",
|
|
939
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
940
|
-
// },
|
|
941
|
-
// suggestions: {
|
|
942
|
-
// title: "Show Suggestions",
|
|
943
|
-
// description: "",
|
|
944
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
945
|
-
// },
|
|
946
|
-
// },
|
|
947
|
-
// },
|
|
948
|
-
// mobile: {
|
|
949
|
-
// title: "Mobile",
|
|
950
|
-
// description: "",
|
|
951
|
-
// type: AdminTemplateInputTypes.object,
|
|
952
|
-
// value: {
|
|
953
|
-
// products: {
|
|
954
|
-
// title: "Show Products",
|
|
955
|
-
// description: "",
|
|
956
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
957
|
-
// },
|
|
958
|
-
// suggestions: {
|
|
959
|
-
// title: "Snow Suggestions",
|
|
960
|
-
// description: "",
|
|
961
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
962
|
-
// },
|
|
963
|
-
// },
|
|
964
|
-
// },
|
|
965
|
-
// },
|
|
966
|
-
// },
|
|
967
|
-
// // secondTierAuthorization: {
|
|
968
|
-
// // title: "Second Tier Authorization",
|
|
969
|
-
// // description: "Enable second tier authorization",
|
|
970
|
-
// // helpLink:
|
|
971
|
-
// // "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
972
|
-
// // type: AdminTemplateInputTypes.nullObject,
|
|
973
|
-
// // value: {
|
|
974
|
-
// // time: {
|
|
975
|
-
// // title: "Time",
|
|
976
|
-
// // description: "Time selection",
|
|
977
|
-
// // type: AdminTemplateInputTypes.dropdown,
|
|
978
|
-
// // value: [undefined, null, number]
|
|
979
|
-
// // },
|
|
980
|
-
// // },
|
|
981
|
-
// // },
|
|
982
|
-
// showCheckoutPromoCode: {
|
|
983
|
-
// title: "Show Checkout Promo",
|
|
984
|
-
// description: "Show checkout promotion code",
|
|
985
|
-
// helpLink:
|
|
986
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
987
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
988
|
-
// },
|
|
989
|
-
// showImgOnOrder: {
|
|
990
|
-
// title: "Show Image On Order",
|
|
991
|
-
// description: "Show images on order",
|
|
992
|
-
// helpLink:
|
|
993
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
994
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
995
|
-
// },
|
|
996
|
-
// smsNotifications: {
|
|
997
|
-
// title: "SMS Notifications",
|
|
998
|
-
// description: "Configure SMS Notifications integration",
|
|
999
|
-
// helpLink:
|
|
1000
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
1001
|
-
// type: AdminTemplateInputTypes.object,
|
|
1002
|
-
// value: {
|
|
1003
|
-
// enabled: {
|
|
1004
|
-
// title: "Enable",
|
|
1005
|
-
// description: "Enable SMS Notifications integration",
|
|
1006
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
1007
|
-
// },
|
|
1008
|
-
// getEnrollmentUrl: {
|
|
1009
|
-
// title: "Get Url",
|
|
1010
|
-
// description: "Get enrollment url",
|
|
1011
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
1012
|
-
// },
|
|
1013
|
-
// postEnrollmentUrl: {
|
|
1014
|
-
// title: "Post Url",
|
|
1015
|
-
// description: "Post enrollment url",
|
|
1016
|
-
// type: AdminTemplateInputTypes.inputChar,
|
|
1017
|
-
// },
|
|
1018
|
-
// },
|
|
1019
|
-
// },
|
|
1020
|
-
// subHeaderHeight: {
|
|
1021
|
-
// title: "Subheader Height",
|
|
1022
|
-
// description: "Use to set the sub header height in pixels",
|
|
1023
|
-
// helpLink:
|
|
1024
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
1025
|
-
// type: AdminTemplateInputTypes.inputNumber,
|
|
1026
|
-
// },
|
|
1027
|
-
// useAddressValidation: {
|
|
1028
|
-
// title: "Use Address Validation",
|
|
1029
|
-
// description: "Use to enable address validation",
|
|
1030
|
-
// helpLink:
|
|
1031
|
-
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/useAddressValidation",
|
|
1032
|
-
// type: AdminTemplateInputTypes.checkbox,
|
|
1033
|
-
// },
|
|
1034
95
|
};
|
|
1035
|
-
// use for settings that conflict with other settings
|
|
1036
|
-
// ⚠️
|