@thryveai/theme-interfaces 1.5.31 → 2.0.0-beta1

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