@thryveai/theme-interfaces 2.2.3 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +8 -5
- package/dist/index.js +10 -1
- package/dist/interfaces/admin-settings-interfaces.d.ts +16 -42
- package/dist/interfaces/default-settings.interfaces.d.ts +1 -4
- package/dist/interfaces/default-theme.interface.d.ts +2 -2
- package/dist/interfaces/retailer-settings.interfaces.d.ts +4 -2
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +719 -601
- package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +3 -0
- package/dist/storefront/SFUIThemesTemplate.AdminUi.js +113 -0
- package/dist/storefront/defaultSettingsStorefront.js +23 -21
- package/dist/storefront/defaultThemeStorefront.d.ts +5 -0
- package/dist/storefront/defaultThemeStorefront.js +1135 -0
- package/dist/theme-templates/index.d.ts +3 -0
- package/dist/theme-templates/index.js +8 -0
- package/package.json +1 -1
|
@@ -43,645 +43,763 @@ var validationTypes = [
|
|
|
43
43
|
exports.AdminSettingsTemplateSFUI = {
|
|
44
44
|
adminPanelOnly: {
|
|
45
45
|
title: "Retailer Details",
|
|
46
|
-
description: "",
|
|
47
|
-
type: exports.AdminTemplateInputTypes.
|
|
46
|
+
description: "Only used to identify the banner in the admin panel",
|
|
47
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
48
48
|
value: {
|
|
49
49
|
bannerName: {
|
|
50
|
-
title: "Name
|
|
51
|
-
description: "
|
|
50
|
+
title: "Retailer Name",
|
|
51
|
+
description: "Set the banner name here.",
|
|
52
52
|
type: exports.AdminTemplateInputTypes.inputChar,
|
|
53
53
|
},
|
|
54
54
|
logoUrl: {
|
|
55
|
-
title: "
|
|
56
|
-
description: "
|
|
55
|
+
title: "Retailer Logo",
|
|
56
|
+
description: "Set a logo here to help identify the banner.",
|
|
57
57
|
type: exports.AdminTemplateInputTypes.inputChar,
|
|
58
58
|
},
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
61
|
+
// addressIntegration: {
|
|
62
|
+
// title: "Address Integration",
|
|
63
|
+
// description: "Use external address integration",
|
|
64
|
+
// helpLink:
|
|
65
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
66
|
+
// type: AdminTemplateInputTypes.object,
|
|
67
|
+
// value: {
|
|
68
|
+
// enabled: {
|
|
69
|
+
// title: "Enabled",
|
|
70
|
+
// description: "Enables external address integration",
|
|
71
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
72
|
+
// },
|
|
73
|
+
// getAddressesUrl: {
|
|
74
|
+
// title: "Get Address Url",
|
|
75
|
+
// description: "Set the get address url",
|
|
76
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
77
|
+
// },
|
|
78
|
+
// getLocationUrl: {
|
|
79
|
+
// title: "Get Location Url",
|
|
80
|
+
// description: "Set the get location url",
|
|
81
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
82
|
+
// },
|
|
83
|
+
// addressFinderType: {
|
|
84
|
+
// title: "Address Finder Type",
|
|
85
|
+
// description: "Select the address finder type",
|
|
86
|
+
// type: AdminTemplateInputTypes.dropdown,
|
|
87
|
+
// options: ["AUS", "EU", "IE", "US", "UK", "CA"],
|
|
88
|
+
// },
|
|
89
|
+
// },
|
|
90
|
+
// },
|
|
91
|
+
// allowInStorePurchases: {
|
|
92
|
+
// title: "InStore Purchases",
|
|
93
|
+
// description:
|
|
94
|
+
// "Show the purchases made in store in the order history (requires integration).",
|
|
95
|
+
// helpLink:
|
|
96
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274375221/AllowInStorePurchases",
|
|
97
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
98
|
+
// },
|
|
99
|
+
// allowPastPurchases: {
|
|
100
|
+
// title: "Display PastPurchases",
|
|
101
|
+
// description: "Enable displaying past purchases functionality",
|
|
102
|
+
// helpLink:
|
|
103
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/AllowPastPurchases",
|
|
104
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
105
|
+
// },
|
|
106
|
+
// cacheTimeMins: {
|
|
107
|
+
// title: "Production Cache time",
|
|
108
|
+
// description:
|
|
109
|
+
// "How long data will be cached to make the site faster. (1 = 1minute)",
|
|
110
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
111
|
+
// },
|
|
112
|
+
// addressValidationTypes: {
|
|
113
|
+
// title: "Address Validation",
|
|
114
|
+
// description: "User address validation settings.",
|
|
115
|
+
// helpLink:
|
|
116
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/Address+Validation",
|
|
117
|
+
// type: AdminTemplateInputTypes.object,
|
|
118
|
+
// value: {
|
|
119
|
+
// firstName: {
|
|
120
|
+
// title: "User's first name",
|
|
121
|
+
// description: addressValidationDescription,
|
|
122
|
+
// type: AdminTemplateInputTypes.multiDropdown,
|
|
123
|
+
// options: ["alphaNumeric", "alphaOnly", "required"],
|
|
124
|
+
// },
|
|
125
|
+
// familyName: {
|
|
126
|
+
// title: "User's Surname",
|
|
127
|
+
// description: addressValidationDescription,
|
|
128
|
+
// type: AdminTemplateInputTypes.multiDropdown,
|
|
129
|
+
// options: ["alphaNumeric", "alphaOnly", "required"],
|
|
130
|
+
// },
|
|
131
|
+
// addressLine1: {
|
|
132
|
+
// title: "Address Line 1",
|
|
133
|
+
// description: addressValidationDescription,
|
|
134
|
+
// type: AdminTemplateInputTypes.multiDropdown,
|
|
135
|
+
// options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
136
|
+
// },
|
|
137
|
+
// addressLine2: {
|
|
138
|
+
// title: "Address Line 2",
|
|
139
|
+
// description: addressValidationDescription,
|
|
140
|
+
// type: AdminTemplateInputTypes.multiDropdown,
|
|
141
|
+
// options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
142
|
+
// },
|
|
143
|
+
// city: {
|
|
144
|
+
// title: "City",
|
|
145
|
+
// description: addressValidationDescription,
|
|
146
|
+
// type: AdminTemplateInputTypes.multiDropdown,
|
|
147
|
+
// options: ["alphaNumeric", "alphaOnly", "required"],
|
|
148
|
+
// },
|
|
149
|
+
// countyProvinceState: {
|
|
150
|
+
// title: "County/Province/State",
|
|
151
|
+
// description: addressValidationDescription,
|
|
152
|
+
// type: AdminTemplateInputTypes.multiDropdown,
|
|
153
|
+
// options: [
|
|
154
|
+
// "alphaNumeric",
|
|
155
|
+
// "alphaOnly",
|
|
156
|
+
// "auState",
|
|
157
|
+
// "ieCounty",
|
|
158
|
+
// "usState",
|
|
159
|
+
// "caProvince",
|
|
160
|
+
// "required",
|
|
161
|
+
// ],
|
|
162
|
+
// },
|
|
163
|
+
// instructions: {
|
|
164
|
+
// title: "User Instructions Fields",
|
|
165
|
+
// description: "Validation for the input fields for user instructions",
|
|
166
|
+
// type: AdminTemplateInputTypes.multiDropdown,
|
|
167
|
+
// options: ["alphaNumeric", "alphaOnly", "required", "numericOnly"],
|
|
168
|
+
// },
|
|
169
|
+
// phoneNumber: {
|
|
170
|
+
// title: "Phone Number",
|
|
171
|
+
// description: "The number to be used to contact the user",
|
|
172
|
+
// type: AdminTemplateInputTypes.multiDropdown,
|
|
173
|
+
// options: [
|
|
174
|
+
// "usPhone",
|
|
175
|
+
// "usMobileNumber",
|
|
176
|
+
// "numericOnly",
|
|
177
|
+
// "auPhone",
|
|
178
|
+
// "caPhone",
|
|
179
|
+
// "iePhone",
|
|
180
|
+
// "anyPhone",
|
|
181
|
+
// "required",
|
|
182
|
+
// ],
|
|
183
|
+
// },
|
|
184
|
+
// postCode: {
|
|
185
|
+
// title: "Post / zip code",
|
|
186
|
+
// description: addressValidationDescription,
|
|
187
|
+
// type: AdminTemplateInputTypes.multiDropdown,
|
|
188
|
+
// options: [
|
|
189
|
+
// "alphaNumeric",
|
|
190
|
+
// "auPostCode",
|
|
191
|
+
// "caPostCode",
|
|
192
|
+
// "iePostCode",
|
|
193
|
+
// "usPostCode",
|
|
194
|
+
// "numericOnly",
|
|
195
|
+
// "required",
|
|
196
|
+
// ],
|
|
197
|
+
// },
|
|
198
|
+
// },
|
|
199
|
+
// },
|
|
200
|
+
// accountPage: {
|
|
201
|
+
// title: "Account Page",
|
|
202
|
+
// description: "Account page settings",
|
|
203
|
+
// type: AdminTemplateInputTypes.object,
|
|
204
|
+
// helpLink:
|
|
205
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
206
|
+
// value: {
|
|
207
|
+
// loyaltyTab: {
|
|
208
|
+
// title: "Loyalty Tab",
|
|
209
|
+
// description: "Set up Loyalty Tab on account page",
|
|
210
|
+
// type: AdminTemplateInputTypes.object,
|
|
211
|
+
// value: {
|
|
212
|
+
// enabled: {
|
|
213
|
+
// title: "Enable Loyalty Tab",
|
|
214
|
+
// description: "Enable Loyalty tab section within My Account page",
|
|
215
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
216
|
+
// },
|
|
217
|
+
// disabledEdit: {
|
|
218
|
+
// title: "Disable Loyalty edit",
|
|
219
|
+
// description: "Prevent users to change their loyalty number",
|
|
220
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
221
|
+
// },
|
|
222
|
+
// loyaltyNumberLength: {
|
|
223
|
+
// title: "Loyalty Number Length",
|
|
224
|
+
// description: "Control the loyalty number length",
|
|
225
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
226
|
+
// },
|
|
227
|
+
// loyaltyNumberPrefix: {
|
|
228
|
+
// title: "Loyalty Number Prefix",
|
|
229
|
+
// description:
|
|
230
|
+
// "Add hardcoded prefix for loyalty numbers (this will affect the length)",
|
|
231
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
232
|
+
// },
|
|
233
|
+
// loyaltyValidationType: {
|
|
234
|
+
// title: "Loyalty Number Validation",
|
|
235
|
+
// description: "Select loyalty validation types",
|
|
236
|
+
// type: AdminTemplateInputTypes.multiDropdown,
|
|
237
|
+
// options: validationTypes,
|
|
238
|
+
// },
|
|
239
|
+
// },
|
|
240
|
+
// },
|
|
241
|
+
// },
|
|
242
|
+
// },
|
|
243
|
+
// // canadianAddressCompleteKey?: string | undefined;
|
|
244
|
+
// // checkout?: IGlobalCheckoutProps;
|
|
245
|
+
// checkoutV1: {
|
|
246
|
+
// title: "Checkout Version",
|
|
247
|
+
// description: "Change your version of the checkout shown to users",
|
|
248
|
+
// helpLink:
|
|
249
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276111878/Checkout+Version",
|
|
250
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
251
|
+
// },
|
|
252
|
+
// // checkoutValidation?: ICheckoutValidation;
|
|
253
|
+
// // ctaButtons?: ICtaButtons;
|
|
254
|
+
// daysToRemainSignedIn: {
|
|
255
|
+
// title: "Sign In Days",
|
|
256
|
+
// description: "Time in days to remain signed in in the app",
|
|
257
|
+
// helpLink:
|
|
258
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
259
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
260
|
+
// },
|
|
261
|
+
// defaultCountry: {
|
|
262
|
+
// title: "Default Country",
|
|
263
|
+
// description: "Used for address, phone validation & ui formating.",
|
|
264
|
+
// helpLink:
|
|
265
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3273752757/Default+Country",
|
|
266
|
+
// type: AdminTemplateInputTypes.dropdown,
|
|
267
|
+
// options: ["USA", "Canada", "Ireland", "Australia"],
|
|
268
|
+
// },
|
|
269
|
+
// // defaultSearchParams?: IDefaultSearchParams;
|
|
270
|
+
// defaultShoppingMode: {
|
|
271
|
+
// title: "Default Shopping Mode",
|
|
272
|
+
// description:
|
|
273
|
+
// "Shopping mode the site defaults to when a user lands and has not registered.",
|
|
274
|
+
// helpLink:
|
|
275
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3272999110/Default+Shopping+Mode",
|
|
276
|
+
// type: AdminTemplateInputTypes.dropdown,
|
|
277
|
+
// options: ["pickup", "planning", "delivery"],
|
|
278
|
+
// },
|
|
279
|
+
// defaultStoreLocation: {
|
|
280
|
+
// title: "Default Store Location",
|
|
281
|
+
// description:
|
|
282
|
+
// "Used to center the store selector map to the retailers region. Without setting this, the map defaults to central Africa.",
|
|
283
|
+
// type: AdminTemplateInputTypes.object,
|
|
284
|
+
// helpLink:
|
|
285
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784259/Default+Store+Location",
|
|
286
|
+
// value: {
|
|
287
|
+
// latitude: {
|
|
288
|
+
// title: "Latitude",
|
|
289
|
+
// description: "",
|
|
290
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
291
|
+
// },
|
|
292
|
+
// longitude: {
|
|
293
|
+
// title: "Longitude",
|
|
294
|
+
// description: "",
|
|
295
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
296
|
+
// },
|
|
297
|
+
// },
|
|
298
|
+
// },
|
|
299
|
+
// // defaultStoreLocation?: IDefaultStoreLocation;
|
|
300
|
+
// disableTprPrice: {
|
|
301
|
+
// title: "Disable TPR Price",
|
|
302
|
+
// description: "Disable the display of tpr pricing",
|
|
303
|
+
// helpLink:
|
|
304
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177413/Disable+TPR+Price",
|
|
305
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
306
|
+
// },
|
|
307
|
+
// documentTitle: {
|
|
308
|
+
// title: "Document Title",
|
|
309
|
+
// description:
|
|
310
|
+
// "Fallback browser page Title if no SEO details are added to the page via the CMS.",
|
|
311
|
+
// helpLink:
|
|
312
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275685918/Document+Title",
|
|
313
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
314
|
+
// },
|
|
315
|
+
// // eircode?: string | null;
|
|
316
|
+
// enable3dSecure: {
|
|
317
|
+
// title: "Enable 3DSecure",
|
|
318
|
+
// description: "Enable 3d secure validation for payment",
|
|
319
|
+
// helpLink:
|
|
320
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144647/Enable+3DSecure",
|
|
321
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
322
|
+
// },
|
|
323
|
+
// enableGoogleTranslate: {
|
|
324
|
+
// title: "Enable Google Translate",
|
|
325
|
+
// description: "Enable google translation display and functionality",
|
|
326
|
+
// helpLink:
|
|
327
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276275734/Enable+Google+Translate",
|
|
328
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
329
|
+
// },
|
|
330
|
+
// enableNewsletterSignup: {
|
|
331
|
+
// title: "Enable Newsletter",
|
|
332
|
+
// description: "Enable newsletter signup functionality",
|
|
333
|
+
// helpLink:
|
|
334
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144678/Enable+Newsletter",
|
|
335
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
336
|
+
// },
|
|
337
|
+
// enableNotifications: {
|
|
338
|
+
// title: "Enable Notifications",
|
|
339
|
+
// description: "Enable notifications functionality",
|
|
340
|
+
// helpLink:
|
|
341
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177422/Enable+Notifications",
|
|
342
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
343
|
+
// },
|
|
344
|
+
// // errorLoggingLevel?: ILoggingLevel;
|
|
345
|
+
// // externalApps?: IExternalApps;
|
|
346
|
+
// // externalStoreSelectorUrl: {
|
|
347
|
+
// // title: "External Store Selector Url",
|
|
348
|
+
// // description:
|
|
349
|
+
// // "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.",
|
|
350
|
+
// // type: "inputChar",
|
|
351
|
+
// // },
|
|
352
|
+
// favoritesV1: {
|
|
353
|
+
// title: "Favorites Version1",
|
|
354
|
+
// description: "Enable version 1 of favorites functionality",
|
|
355
|
+
// helpLink:
|
|
356
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144744/Favorites+Version1",
|
|
357
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
358
|
+
// },
|
|
359
|
+
features: {
|
|
360
|
+
title: "Features",
|
|
361
|
+
description: "These are non-essential enhancements and integrations, the storefront will function without these.",
|
|
362
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
363
|
+
helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304816658/Features',
|
|
72
364
|
value: {
|
|
73
|
-
|
|
74
|
-
title: "
|
|
75
|
-
description: "Enables
|
|
365
|
+
additionalCharges: {
|
|
366
|
+
title: "Additional Charges",
|
|
367
|
+
description: "Enables additional charges on the payments section of checkout.",
|
|
368
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/Additional+Charges",
|
|
76
369
|
type: exports.AdminTemplateInputTypes.checkbox,
|
|
77
370
|
},
|
|
78
|
-
|
|
79
|
-
title: "
|
|
80
|
-
description: "
|
|
81
|
-
type: exports.AdminTemplateInputTypes.
|
|
82
|
-
|
|
83
|
-
getLocationUrl: {
|
|
84
|
-
title: "Get Location Url",
|
|
85
|
-
description: "Set the get location url",
|
|
86
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
87
|
-
},
|
|
88
|
-
addressFinderType: {
|
|
89
|
-
title: "Address Finder Type",
|
|
90
|
-
description: "Select the address finder type",
|
|
91
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
92
|
-
options: ["AUS", "EU", "IE", "US", "UK", "CA"],
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
allowInStorePurchases: {
|
|
97
|
-
title: "InStore Purchases",
|
|
98
|
-
description: "Show the purchases made in store in the order history (requires integration).",
|
|
99
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274375221/AllowInStorePurchases",
|
|
100
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
101
|
-
},
|
|
102
|
-
allowPastPurchases: {
|
|
103
|
-
title: "Display PastPurchases",
|
|
104
|
-
description: "Enable displaying past purchases functionality",
|
|
105
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/AllowPastPurchases",
|
|
106
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
107
|
-
},
|
|
108
|
-
cacheTimeMins: {
|
|
109
|
-
title: "Production Cache time",
|
|
110
|
-
description: "How long data will be cached to make the site faster. (1 = 1minute)",
|
|
111
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
112
|
-
},
|
|
113
|
-
addressValidationTypes: {
|
|
114
|
-
title: "Address Validation",
|
|
115
|
-
description: "User address validation settings.",
|
|
116
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/Address+Validation",
|
|
117
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
118
|
-
value: {
|
|
119
|
-
firstName: {
|
|
120
|
-
title: "User's first name",
|
|
121
|
-
description: addressValidationDescription,
|
|
122
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
123
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
124
|
-
},
|
|
125
|
-
familyName: {
|
|
126
|
-
title: "User's Surname",
|
|
127
|
-
description: addressValidationDescription,
|
|
128
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
129
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
130
|
-
},
|
|
131
|
-
addressLine1: {
|
|
132
|
-
title: "Address Line 1",
|
|
133
|
-
description: addressValidationDescription,
|
|
134
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
135
|
-
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
136
|
-
},
|
|
137
|
-
addressLine2: {
|
|
138
|
-
title: "Address Line 2",
|
|
139
|
-
description: addressValidationDescription,
|
|
140
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
141
|
-
options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
|
|
142
|
-
},
|
|
143
|
-
city: {
|
|
144
|
-
title: "City",
|
|
145
|
-
description: addressValidationDescription,
|
|
146
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
147
|
-
options: ["alphaNumeric", "alphaOnly", "required"],
|
|
148
|
-
},
|
|
149
|
-
countyProvinceState: {
|
|
150
|
-
title: "County/Province/State",
|
|
151
|
-
description: addressValidationDescription,
|
|
152
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
153
|
-
options: [
|
|
154
|
-
"alphaNumeric",
|
|
155
|
-
"alphaOnly",
|
|
156
|
-
"auState",
|
|
157
|
-
"ieCounty",
|
|
158
|
-
"usState",
|
|
159
|
-
"caProvince",
|
|
160
|
-
"required",
|
|
161
|
-
],
|
|
162
|
-
},
|
|
163
|
-
instructions: {
|
|
164
|
-
title: "User Instructions Fields",
|
|
165
|
-
description: "Validation for the input fields for user instructions",
|
|
166
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
167
|
-
options: ["alphaNumeric", "alphaOnly", "required", "numericOnly"],
|
|
168
|
-
},
|
|
169
|
-
phoneNumber: {
|
|
170
|
-
title: "Phone Number",
|
|
171
|
-
description: "The number to be used to contact the user",
|
|
172
|
-
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
173
|
-
options: [
|
|
174
|
-
"usPhone",
|
|
175
|
-
"usMobileNumber",
|
|
176
|
-
"numericOnly",
|
|
177
|
-
"auPhone",
|
|
178
|
-
"caPhone",
|
|
179
|
-
"iePhone",
|
|
180
|
-
"anyPhone",
|
|
181
|
-
"required",
|
|
182
|
-
],
|
|
371
|
+
clientCache: {
|
|
372
|
+
title: "Browser API Caching",
|
|
373
|
+
description: "Enable cache for clients on the browser",
|
|
374
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
375
|
+
helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304783908/Client+Cache'
|
|
183
376
|
},
|
|
184
|
-
|
|
185
|
-
title: "
|
|
186
|
-
description:
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
"alphaNumeric",
|
|
190
|
-
"auPostCode",
|
|
191
|
-
"caPostCode",
|
|
192
|
-
"iePostCode",
|
|
193
|
-
"usPostCode",
|
|
194
|
-
"numericOnly",
|
|
195
|
-
"required",
|
|
196
|
-
],
|
|
377
|
+
enableVouchers: {
|
|
378
|
+
title: "Voucher",
|
|
379
|
+
description: "Enables voucher on checkout page (requires integration).",
|
|
380
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
|
|
381
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
197
382
|
},
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
204
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784302/Account+Page",
|
|
205
|
-
value: {
|
|
206
|
-
loyaltyTab: {
|
|
207
|
-
title: "Loyalty Tab",
|
|
208
|
-
description: "Set up Loyalty Tab on account page",
|
|
209
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
383
|
+
smartbanner: {
|
|
384
|
+
title: "Smart Banner",
|
|
385
|
+
description: "Render smart banner on mobile views",
|
|
386
|
+
helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304849441/Smart+Banner',
|
|
387
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
210
388
|
value: {
|
|
211
389
|
enabled: {
|
|
212
|
-
title: "Enable
|
|
213
|
-
description: "Enable
|
|
390
|
+
title: "Enable",
|
|
391
|
+
description: "Enable smart banner",
|
|
214
392
|
type: exports.AdminTemplateInputTypes.checkbox,
|
|
215
393
|
},
|
|
216
|
-
|
|
217
|
-
title: "
|
|
218
|
-
description: "
|
|
219
|
-
type: exports.AdminTemplateInputTypes.
|
|
394
|
+
title: {
|
|
395
|
+
title: "Title",
|
|
396
|
+
description: "Smart banner title",
|
|
397
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
220
398
|
},
|
|
221
|
-
|
|
222
|
-
title: "
|
|
223
|
-
description: "
|
|
224
|
-
type: exports.AdminTemplateInputTypes.
|
|
399
|
+
author: {
|
|
400
|
+
title: "Author",
|
|
401
|
+
description: "Smart banner author",
|
|
402
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
403
|
+
},
|
|
404
|
+
price: {
|
|
405
|
+
title: "Price",
|
|
406
|
+
description: "Smart banner price",
|
|
407
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
225
408
|
},
|
|
226
|
-
|
|
227
|
-
title: "
|
|
228
|
-
description: "
|
|
409
|
+
priceSuffixApple: {
|
|
410
|
+
title: "Apple Price Suffix",
|
|
411
|
+
description: "Smart banner price suffix for Apple devices",
|
|
229
412
|
type: exports.AdminTemplateInputTypes.inputChar,
|
|
230
413
|
},
|
|
231
|
-
|
|
232
|
-
title: "
|
|
233
|
-
description: "
|
|
234
|
-
type: exports.AdminTemplateInputTypes.
|
|
235
|
-
|
|
414
|
+
priceSuffixGoogle: {
|
|
415
|
+
title: "Google Price Suffix",
|
|
416
|
+
description: "Smart banner price suffix for Google devices",
|
|
417
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
418
|
+
},
|
|
419
|
+
iconApple: {
|
|
420
|
+
title: "Apple Icon",
|
|
421
|
+
description: "Smart banner icon for Apple devices",
|
|
422
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
423
|
+
},
|
|
424
|
+
iconGoogle: {
|
|
425
|
+
title: "Google Icon",
|
|
426
|
+
description: "Smart banner icon for Google devices",
|
|
427
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
428
|
+
},
|
|
429
|
+
button: {
|
|
430
|
+
title: "Button",
|
|
431
|
+
description: "Smart banner button text",
|
|
432
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
433
|
+
},
|
|
434
|
+
buttonUrlApple: {
|
|
435
|
+
title: "Apple Button Url",
|
|
436
|
+
description: "Smart banner url for Apple button",
|
|
437
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
438
|
+
},
|
|
439
|
+
buttonUrlGoogle: {
|
|
440
|
+
title: "Google Button Url",
|
|
441
|
+
description: "Smart banner url for Google button",
|
|
442
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
443
|
+
},
|
|
444
|
+
closeLabel: {
|
|
445
|
+
title: "Close Label",
|
|
446
|
+
description: "Smart banner label text",
|
|
447
|
+
type: exports.AdminTemplateInputTypes.inputChar,
|
|
236
448
|
},
|
|
237
449
|
},
|
|
238
450
|
},
|
|
239
451
|
},
|
|
240
452
|
},
|
|
241
|
-
//
|
|
242
|
-
//
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
//
|
|
250
|
-
//
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
//
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
//
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
},
|
|
303
|
-
//
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
},
|
|
328
|
-
//
|
|
329
|
-
//
|
|
330
|
-
//
|
|
331
|
-
//
|
|
332
|
-
//
|
|
333
|
-
//
|
|
334
|
-
//
|
|
335
|
-
// },
|
|
336
|
-
favoritesV1: {
|
|
337
|
-
title: "Favorites Version1",
|
|
338
|
-
description: "Enable version 1 of favorites functionality",
|
|
339
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144744/Favorites+Version1",
|
|
340
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
341
|
-
},
|
|
342
|
-
features: {
|
|
343
|
-
title: "Features",
|
|
344
|
-
description: "Enable features",
|
|
345
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
346
|
-
value: {
|
|
347
|
-
clientCache: {
|
|
348
|
-
title: "Client Cache",
|
|
349
|
-
description: "Enable cache for clients",
|
|
350
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
351
|
-
},
|
|
352
|
-
},
|
|
353
|
-
},
|
|
354
|
-
flipp: {
|
|
355
|
-
title: "Flipp Circulars",
|
|
356
|
-
description: "Configure Flipp circulars integration",
|
|
357
|
-
type: exports.AdminTemplateInputTypes.nullObject,
|
|
358
|
-
value: {
|
|
359
|
-
version: {
|
|
360
|
-
title: "Version",
|
|
361
|
-
description: "Will you use version 1 or version 2?",
|
|
362
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
363
|
-
},
|
|
364
|
-
retailer: {
|
|
365
|
-
title: "Retailer Name",
|
|
366
|
-
description: "The retailer setting from flipp",
|
|
367
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
368
|
-
},
|
|
369
|
-
merchantId: {
|
|
370
|
-
title: "Merchant Id",
|
|
371
|
-
description: "The merchant Id setting from flipp",
|
|
372
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
373
|
-
},
|
|
374
|
-
accessToken: {
|
|
375
|
-
title: "Access Token",
|
|
376
|
-
description: "The access token setting from flipp",
|
|
377
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
378
|
-
},
|
|
379
|
-
},
|
|
380
|
-
},
|
|
381
|
-
smartbanner: {
|
|
382
|
-
title: "Smart Banner",
|
|
383
|
-
description: "Render smart banner on mobile views",
|
|
384
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
385
|
-
value: {
|
|
386
|
-
enabled: {
|
|
387
|
-
title: "Enable",
|
|
388
|
-
description: "Enable smart banner",
|
|
389
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
390
|
-
},
|
|
391
|
-
title: {
|
|
392
|
-
title: "Title",
|
|
393
|
-
description: "Smart banner title",
|
|
394
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
395
|
-
},
|
|
396
|
-
author: {
|
|
397
|
-
title: "Author",
|
|
398
|
-
description: "Smart banner author",
|
|
399
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
400
|
-
},
|
|
401
|
-
price: {
|
|
402
|
-
title: "Price",
|
|
403
|
-
description: "Smart banner price",
|
|
404
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
405
|
-
},
|
|
406
|
-
priceSuffixApple: {
|
|
407
|
-
title: "Apple Price Suffix",
|
|
408
|
-
description: "Smart banner price suffix for Apple devices",
|
|
409
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
410
|
-
},
|
|
411
|
-
priceSuffixGoogle: {
|
|
412
|
-
title: "Google Price Suffix",
|
|
413
|
-
description: "Smart banner price suffix for Google devices",
|
|
414
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
415
|
-
},
|
|
416
|
-
iconApple: {
|
|
417
|
-
title: "Apple Icon",
|
|
418
|
-
description: "Smart banner icon for Apple devices",
|
|
419
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
420
|
-
},
|
|
421
|
-
iconGoogle: {
|
|
422
|
-
title: "Google Icon",
|
|
423
|
-
description: "Smart banner icon for Google devices",
|
|
424
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
425
|
-
},
|
|
426
|
-
button: {
|
|
427
|
-
title: "Button",
|
|
428
|
-
description: "Smart banner button text",
|
|
429
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
430
|
-
},
|
|
431
|
-
buttonUrlApple: {
|
|
432
|
-
title: "Apple Button Url",
|
|
433
|
-
description: "Smart banner url for Apple button",
|
|
434
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
435
|
-
},
|
|
436
|
-
buttonUrlGoogle: {
|
|
437
|
-
title: "Google Button Url",
|
|
438
|
-
description: "Smart banner url for Google button",
|
|
439
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
440
|
-
},
|
|
441
|
-
closeLabel: {
|
|
442
|
-
title: "Close Label",
|
|
443
|
-
description: "Smart banner label text",
|
|
444
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
445
|
-
},
|
|
446
|
-
},
|
|
447
|
-
},
|
|
453
|
+
// flipp: {
|
|
454
|
+
// title: "Flipp Circulars",
|
|
455
|
+
// description: "Configure Flipp circulars integration",
|
|
456
|
+
// type: AdminTemplateInputTypes.nullObject,
|
|
457
|
+
// value: {
|
|
458
|
+
// version: {
|
|
459
|
+
// title: "Version",
|
|
460
|
+
// description: "Will you use version 1 or version 2?",
|
|
461
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
462
|
+
// },
|
|
463
|
+
// retailer: {
|
|
464
|
+
// title: "Retailer Name",
|
|
465
|
+
// description: "The retailer setting from flipp",
|
|
466
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
467
|
+
// },
|
|
468
|
+
// merchantId: {
|
|
469
|
+
// title: "Merchant Id",
|
|
470
|
+
// description: "The merchant Id setting from flipp",
|
|
471
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
472
|
+
// },
|
|
473
|
+
// accessToken: {
|
|
474
|
+
// title: "Access Token",
|
|
475
|
+
// description: "The access token setting from flipp",
|
|
476
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
477
|
+
// },
|
|
478
|
+
// },
|
|
479
|
+
// },
|
|
480
|
+
// smartbanner: {
|
|
481
|
+
// title: "Smart Banner",
|
|
482
|
+
// description: "Render smart banner on mobile views",
|
|
483
|
+
// type: AdminTemplateInputTypes.object,
|
|
484
|
+
// value: {
|
|
485
|
+
// enabled: {
|
|
486
|
+
// title: "Enable",
|
|
487
|
+
// description: "Enable smart banner",
|
|
488
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
489
|
+
// },
|
|
490
|
+
// title: {
|
|
491
|
+
// title: "Title",
|
|
492
|
+
// description: "Smart banner title",
|
|
493
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
494
|
+
// },
|
|
495
|
+
// author: {
|
|
496
|
+
// title: "Author",
|
|
497
|
+
// description: "Smart banner author",
|
|
498
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
499
|
+
// },
|
|
500
|
+
// price: {
|
|
501
|
+
// title: "Price",
|
|
502
|
+
// description: "Smart banner price",
|
|
503
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
504
|
+
// },
|
|
505
|
+
// priceSuffixApple: {
|
|
506
|
+
// title: "Apple Price Suffix",
|
|
507
|
+
// description: "Smart banner price suffix for Apple devices",
|
|
508
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
509
|
+
// },
|
|
510
|
+
// priceSuffixGoogle: {
|
|
511
|
+
// title: "Google Price Suffix",
|
|
512
|
+
// description: "Smart banner price suffix for Google devices",
|
|
513
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
514
|
+
// },
|
|
515
|
+
// iconApple: {
|
|
516
|
+
// title: "Apple Icon",
|
|
517
|
+
// description: "Smart banner icon for Apple devices",
|
|
518
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
519
|
+
// },
|
|
520
|
+
// iconGoogle: {
|
|
521
|
+
// title: "Google Icon",
|
|
522
|
+
// description: "Smart banner icon for Google devices",
|
|
523
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
524
|
+
// },
|
|
525
|
+
// button: {
|
|
526
|
+
// title: "Button",
|
|
527
|
+
// description: "Smart banner button text",
|
|
528
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
529
|
+
// },
|
|
530
|
+
// buttonUrlApple: {
|
|
531
|
+
// title: "Apple Button Url",
|
|
532
|
+
// description: "Smart banner url for Apple button",
|
|
533
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
534
|
+
// },
|
|
535
|
+
// buttonUrlGoogle: {
|
|
536
|
+
// title: "Google Button Url",
|
|
537
|
+
// description: "Smart banner url for Google button",
|
|
538
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
539
|
+
// },
|
|
540
|
+
// closeLabel: {
|
|
541
|
+
// title: "Close Label",
|
|
542
|
+
// description: "Smart banner label text",
|
|
543
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
544
|
+
// },
|
|
545
|
+
// },
|
|
546
|
+
// },
|
|
448
547
|
// globalAnimations?: IGlobalAnimations;
|
|
449
548
|
// googleAutocompleteSettings?: IGoogleAutocompleteSettings;
|
|
450
|
-
gtmId: {
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
},
|
|
455
|
-
hideTaxOnSummary: {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
//
|
|
468
|
-
//
|
|
469
|
-
//
|
|
549
|
+
// gtmId: {
|
|
550
|
+
// title: "GTM ID",
|
|
551
|
+
// description: "Google Tag Manager ID",
|
|
552
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
553
|
+
// },
|
|
554
|
+
// hideTaxOnSummary: {
|
|
555
|
+
// title: "Hide Summary Tax",
|
|
556
|
+
// description: "Hide the tax displayed on the summary box",
|
|
557
|
+
// helpLink:
|
|
558
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
559
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
560
|
+
// },
|
|
561
|
+
// houseAccountRegExValidation: {
|
|
562
|
+
// title: "House Account Validation",
|
|
563
|
+
// description: `Regular expression to validate house accounts`,
|
|
564
|
+
// helpLink:
|
|
565
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144701/House+Account+Validation",
|
|
566
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
567
|
+
// },
|
|
568
|
+
// // idpTarget:{
|
|
569
|
+
// // title: "Idp Target",
|
|
570
|
+
// // description: "Idp opens on the same or a new tab",
|
|
571
|
+
// // type: AdminTemplateInputTypes.dropdown,
|
|
572
|
+
// // options: ["_self", "_blank"],
|
|
573
|
+
// // },
|
|
574
|
+
// // idpUrl: {
|
|
575
|
+
// // title: 'External IDP url',
|
|
576
|
+
// // 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.',
|
|
577
|
+
// // type: "nullObject",
|
|
578
|
+
// // value: {}
|
|
579
|
+
// // },
|
|
580
|
+
// // instacartUrl?: string | undefined;
|
|
581
|
+
// isPlanningOnly: {
|
|
582
|
+
// title: "Planning Only",
|
|
583
|
+
// description:
|
|
584
|
+
// "Enable if planning mode is the only available shopping method",
|
|
585
|
+
// helpLink:
|
|
586
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
587
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
588
|
+
// },
|
|
589
|
+
// // layout?: ILayoutSettings;
|
|
590
|
+
// limitProductCardTitleHeight: {
|
|
591
|
+
// title: "Limit Product Card Title",
|
|
592
|
+
// description: "Restricts the product card title height display",
|
|
593
|
+
// helpLink:
|
|
594
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144711/Limit+Product+Card+Title",
|
|
595
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
596
|
+
// },
|
|
597
|
+
// // loggingLevelClient: {
|
|
598
|
+
// // title: "Client logging Level",
|
|
599
|
+
// // description: "Sets client's logging detail level",
|
|
600
|
+
// // helpLink:
|
|
601
|
+
// // "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
602
|
+
// // type: AdminTemplateInputTypes.checkbox,
|
|
603
|
+
// // },
|
|
604
|
+
// // loggingLevelServer?: ILoggingLevel;
|
|
605
|
+
// mainHeaderHeight: {
|
|
606
|
+
// title: "Main Header Height",
|
|
607
|
+
// description: "Use to set the main header height in pixels",
|
|
608
|
+
// helpLink:
|
|
609
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
610
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
611
|
+
// },
|
|
612
|
+
// mapZoom: {
|
|
613
|
+
// title: "Map Zoom",
|
|
614
|
+
// description: "Use to change the google maps zoom level",
|
|
615
|
+
// helpLink:
|
|
616
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
617
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
618
|
+
// },
|
|
619
|
+
// minimumCreditCardAmount: {
|
|
620
|
+
// title: "Minimum Credit Card Amount",
|
|
621
|
+
// description: "Use to set the minimum credit card amount",
|
|
622
|
+
// helpLink:
|
|
623
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
624
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
625
|
+
// },
|
|
626
|
+
// nutritionZone: {
|
|
627
|
+
// title: "Nutrition Template",
|
|
628
|
+
// description: "Show the correct nutrition format for the correct zone.",
|
|
470
629
|
// type: AdminTemplateInputTypes.dropdown,
|
|
471
|
-
// options: ["
|
|
472
|
-
// },
|
|
473
|
-
//
|
|
474
|
-
//
|
|
475
|
-
//
|
|
476
|
-
//
|
|
477
|
-
//
|
|
478
|
-
//
|
|
479
|
-
//
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
},
|
|
486
|
-
// layout?: ILayoutSettings;
|
|
487
|
-
limitProductCardTitleHeight: {
|
|
488
|
-
title: "Limit Product Card Title",
|
|
489
|
-
description: "Restricts the product card title height display",
|
|
490
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144711/Limit+Product+Card+Title",
|
|
491
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
492
|
-
},
|
|
493
|
-
// loggingLevelClient: {
|
|
494
|
-
// title: "Client logging Level",
|
|
495
|
-
// description: "Sets client's logging detail level",
|
|
630
|
+
// options: ["us", "eu", "au", "ca"],
|
|
631
|
+
// },
|
|
632
|
+
// // paymentCards?: IPaymentCards;
|
|
633
|
+
// // pdpDetailsLayout?: IPdpDetailsLayout;
|
|
634
|
+
// productCardTitleHeight: {
|
|
635
|
+
// title: "Product Card Title Height",
|
|
636
|
+
// description: "Set the product card title height in pixels",
|
|
637
|
+
// helpLink:
|
|
638
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
639
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
640
|
+
// },
|
|
641
|
+
// productCardv2: {
|
|
642
|
+
// title: "use product card v2",
|
|
643
|
+
// description: "use product card v2",
|
|
496
644
|
// helpLink:
|
|
497
645
|
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
498
646
|
// type: AdminTemplateInputTypes.checkbox,
|
|
499
647
|
// },
|
|
500
|
-
//
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
505
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
506
|
-
},
|
|
507
|
-
mapZoom: {
|
|
508
|
-
title: "Map Zoom",
|
|
509
|
-
description: "Use to change the google maps zoom level",
|
|
510
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
511
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
512
|
-
},
|
|
513
|
-
minimumCreditCardAmount: {
|
|
514
|
-
title: "Minimum Credit Card Amount",
|
|
515
|
-
description: "Use to set the minimum credit card amount",
|
|
516
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
517
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
518
|
-
},
|
|
519
|
-
nutritionZone: {
|
|
520
|
-
title: "Nutrition Template",
|
|
521
|
-
description: "Show the correct nutrition format for the correct zone.",
|
|
522
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
523
|
-
options: ["us", "eu", "au", "ca"],
|
|
524
|
-
},
|
|
525
|
-
// paymentCards?: IPaymentCards;
|
|
526
|
-
// pdpDetailsLayout?: IPdpDetailsLayout;
|
|
527
|
-
productCardTitleHeight: {
|
|
528
|
-
title: "Product Card Title Height",
|
|
529
|
-
description: "Set the product card title height in pixels",
|
|
530
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
531
|
-
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
532
|
-
},
|
|
533
|
-
productCardv2: {
|
|
534
|
-
title: "use product card v2",
|
|
535
|
-
description: "use product card v2",
|
|
536
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
537
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
538
|
-
},
|
|
539
|
-
// TODO: this is set to number in main interface, should be fixed numbers
|
|
540
|
-
promoTemplateVersion: {
|
|
541
|
-
title: "Promo Template Version",
|
|
542
|
-
description: "Select a template version to show promotions",
|
|
543
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
544
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
545
|
-
options: [1, 2, 3],
|
|
546
|
-
},
|
|
547
|
-
// registrationFields?: IRegistrationField[];
|
|
548
|
-
// restrictMapPlacesResults?: IRestrictMapPlaces;
|
|
549
|
-
retailerCountry: {
|
|
550
|
-
title: "Retailer country",
|
|
551
|
-
description: "Select the retailer country",
|
|
552
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
553
|
-
type: exports.AdminTemplateInputTypes.dropdown,
|
|
554
|
-
options: ["us", "ca", "ie", "au"],
|
|
555
|
-
},
|
|
556
|
-
retailerName: {
|
|
557
|
-
title: "Retailer Name",
|
|
558
|
-
description: "Retailers short code e.g the code used for the retailers environment.",
|
|
559
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
560
|
-
type: exports.AdminTemplateInputTypes.inputChar,
|
|
561
|
-
},
|
|
562
|
-
searchPreview: {
|
|
563
|
-
title: "Search Previews",
|
|
564
|
-
description: "Toggle Products/Suggestions to appear on search preview",
|
|
565
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
566
|
-
value: {
|
|
567
|
-
desktop: {
|
|
568
|
-
title: "Desktop",
|
|
569
|
-
description: "",
|
|
570
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
571
|
-
value: {
|
|
572
|
-
products: {
|
|
573
|
-
title: "Show Products",
|
|
574
|
-
description: "",
|
|
575
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
576
|
-
},
|
|
577
|
-
suggestions: {
|
|
578
|
-
title: "Show Suggestions",
|
|
579
|
-
description: "",
|
|
580
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
581
|
-
},
|
|
582
|
-
},
|
|
583
|
-
},
|
|
584
|
-
mobile: {
|
|
585
|
-
title: "Mobile",
|
|
586
|
-
description: "",
|
|
587
|
-
type: exports.AdminTemplateInputTypes.object,
|
|
588
|
-
value: {
|
|
589
|
-
products: {
|
|
590
|
-
title: "Show Products",
|
|
591
|
-
description: "",
|
|
592
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
593
|
-
},
|
|
594
|
-
suggestions: {
|
|
595
|
-
title: "Snow Suggestions",
|
|
596
|
-
description: "",
|
|
597
|
-
type: exports.AdminTemplateInputTypes.checkbox,
|
|
598
|
-
},
|
|
599
|
-
},
|
|
600
|
-
},
|
|
601
|
-
},
|
|
602
|
-
},
|
|
603
|
-
// secondTierAuthorization: {
|
|
604
|
-
// title: "Second Tier Authorization",
|
|
605
|
-
// description: "Enable second tier authorization",
|
|
648
|
+
// // TODO: this is set to number in main interface, should be fixed numbers
|
|
649
|
+
// promoTemplateVersion: {
|
|
650
|
+
// title: "Promo Template Version",
|
|
651
|
+
// description: "Select a template version to show promotions",
|
|
606
652
|
// helpLink:
|
|
607
653
|
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
608
|
-
// type: AdminTemplateInputTypes.
|
|
654
|
+
// type: AdminTemplateInputTypes.dropdown,
|
|
655
|
+
// options: [1, 2, 3],
|
|
656
|
+
// },
|
|
657
|
+
// // registrationFields?: IRegistrationField[];
|
|
658
|
+
// // restrictMapPlacesResults?: IRestrictMapPlaces;
|
|
659
|
+
// retailerCountry: {
|
|
660
|
+
// title: "Retailer country",
|
|
661
|
+
// description: "Select the retailer country",
|
|
662
|
+
// helpLink:
|
|
663
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
664
|
+
// type: AdminTemplateInputTypes.dropdown,
|
|
665
|
+
// options: ["us", "ca", "ie", "au"],
|
|
666
|
+
// },
|
|
667
|
+
// retailerName: {
|
|
668
|
+
// title: "Retailer Name",
|
|
669
|
+
// description:
|
|
670
|
+
// "Retailers short code e.g the code used for the retailers environment.",
|
|
671
|
+
// helpLink:
|
|
672
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
673
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
674
|
+
// },
|
|
675
|
+
// searchPreview: {
|
|
676
|
+
// title: "Search Previews",
|
|
677
|
+
// description: "Toggle Products/Suggestions to appear on search preview",
|
|
678
|
+
// type: AdminTemplateInputTypes.object,
|
|
609
679
|
// value: {
|
|
610
|
-
//
|
|
611
|
-
// title: "
|
|
612
|
-
// description: "
|
|
613
|
-
// type: AdminTemplateInputTypes.
|
|
614
|
-
// value:
|
|
680
|
+
// desktop: {
|
|
681
|
+
// title: "Desktop",
|
|
682
|
+
// description: "",
|
|
683
|
+
// type: AdminTemplateInputTypes.object,
|
|
684
|
+
// value: {
|
|
685
|
+
// products: {
|
|
686
|
+
// title: "Show Products",
|
|
687
|
+
// description: "",
|
|
688
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
689
|
+
// },
|
|
690
|
+
// suggestions: {
|
|
691
|
+
// title: "Show Suggestions",
|
|
692
|
+
// description: "",
|
|
693
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
694
|
+
// },
|
|
695
|
+
// },
|
|
696
|
+
// },
|
|
697
|
+
// mobile: {
|
|
698
|
+
// title: "Mobile",
|
|
699
|
+
// description: "",
|
|
700
|
+
// type: AdminTemplateInputTypes.object,
|
|
701
|
+
// value: {
|
|
702
|
+
// products: {
|
|
703
|
+
// title: "Show Products",
|
|
704
|
+
// description: "",
|
|
705
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
706
|
+
// },
|
|
707
|
+
// suggestions: {
|
|
708
|
+
// title: "Snow Suggestions",
|
|
709
|
+
// description: "",
|
|
710
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
711
|
+
// },
|
|
712
|
+
// },
|
|
615
713
|
// },
|
|
616
714
|
// },
|
|
617
715
|
// },
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
},
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
716
|
+
// // secondTierAuthorization: {
|
|
717
|
+
// // title: "Second Tier Authorization",
|
|
718
|
+
// // description: "Enable second tier authorization",
|
|
719
|
+
// // helpLink:
|
|
720
|
+
// // "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
721
|
+
// // type: AdminTemplateInputTypes.nullObject,
|
|
722
|
+
// // value: {
|
|
723
|
+
// // time: {
|
|
724
|
+
// // title: "Time",
|
|
725
|
+
// // description: "Time selection",
|
|
726
|
+
// // type: AdminTemplateInputTypes.dropdown,
|
|
727
|
+
// // value: [undefined, null, number]
|
|
728
|
+
// // },
|
|
729
|
+
// // },
|
|
730
|
+
// // },
|
|
731
|
+
// showCheckoutPromoCode: {
|
|
732
|
+
// title: "Show Checkout Promo",
|
|
733
|
+
// description: "Show checkout promotion code",
|
|
734
|
+
// helpLink:
|
|
735
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
736
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
737
|
+
// },
|
|
738
|
+
// showImgOnOrder: {
|
|
739
|
+
// title: "Show Image On Order",
|
|
740
|
+
// description: "Show images on order",
|
|
741
|
+
// helpLink:
|
|
742
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
743
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
744
|
+
// },
|
|
745
|
+
// smsNotifications: {
|
|
746
|
+
// title: "SMS Notifications",
|
|
747
|
+
// description: "Configure SMS Notifications integration",
|
|
748
|
+
// helpLink:
|
|
749
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
750
|
+
// type: AdminTemplateInputTypes.object,
|
|
751
|
+
// value: {
|
|
752
|
+
// enabled: {
|
|
753
|
+
// title: "Enable",
|
|
754
|
+
// description: "Enable SMS Notifications integration",
|
|
755
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
756
|
+
// },
|
|
757
|
+
// getEnrollmentUrl: {
|
|
758
|
+
// title: "Get Url",
|
|
759
|
+
// description: "Get enrollment url",
|
|
760
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
761
|
+
// },
|
|
762
|
+
// postEnrollmentUrl: {
|
|
763
|
+
// title: "Post Url",
|
|
764
|
+
// description: "Post enrollment url",
|
|
765
|
+
// type: AdminTemplateInputTypes.inputChar,
|
|
766
|
+
// },
|
|
767
|
+
// },
|
|
768
|
+
// },
|
|
769
|
+
// subHeaderHeight: {
|
|
770
|
+
// title: "Subheader Height",
|
|
771
|
+
// description: "Use to set the sub header height in pixels",
|
|
772
|
+
// helpLink:
|
|
773
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
774
|
+
// type: AdminTemplateInputTypes.inputNumber,
|
|
775
|
+
// },
|
|
776
|
+
// timeslotModalSettings: {
|
|
777
|
+
// title: "Timeslot Modal Settings",
|
|
778
|
+
// description: "Force timeslot selection",
|
|
779
|
+
// type: AdminTemplateInputTypes.object,
|
|
780
|
+
// value: {
|
|
781
|
+
// showOnAddToCart: {
|
|
782
|
+
// title: "Timeslot on Add To Cart",
|
|
783
|
+
// description: "Show timeslot popup when user clicks on AddToCart",
|
|
784
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
785
|
+
// },
|
|
786
|
+
// timeslotRequiredToAddToCart: {
|
|
787
|
+
// title: "Force Timeslot on Add To Cart",
|
|
788
|
+
// description: "Force a timeslot selection in order to add item in cart",
|
|
789
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
790
|
+
// },
|
|
791
|
+
// timeslotRequiredToViewCartReview: {
|
|
792
|
+
// title: "Force Timeslot on Cart Page",
|
|
793
|
+
// description: "Force a timeslot selection in order to view cart page",
|
|
794
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
795
|
+
// },
|
|
796
|
+
// },
|
|
797
|
+
// },
|
|
798
|
+
// useAddressValidation: {
|
|
799
|
+
// title: "Use Address Validation",
|
|
800
|
+
// description: "Use to enable address validation",
|
|
801
|
+
// helpLink:
|
|
802
|
+
// "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/useAddressValidation",
|
|
803
|
+
// type: AdminTemplateInputTypes.checkbox,
|
|
804
|
+
// },
|
|
687
805
|
};
|