@thryveai/theme-interfaces 2.4.14 → 2.4.17

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.
@@ -0,0 +1,205 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
14
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
15
+ return new (P || (P = Promise))(function (resolve, reject) {
16
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
17
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
18
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
19
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
20
+ });
21
+ };
22
+ var __generator = (this && this.__generator) || function (thisArg, body) {
23
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
24
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
25
+ function verb(n) { return function (v) { return step([n, v]); }; }
26
+ function step(op) {
27
+ if (f) throw new TypeError("Generator is already executing.");
28
+ while (_) try {
29
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30
+ if (y = 0, t) op = [op[0] & 2, t.value];
31
+ switch (op[0]) {
32
+ case 0: case 1: t = op; break;
33
+ case 4: _.label++; return { value: op[1], done: false };
34
+ case 5: _.label++; y = op[1]; op = [0]; continue;
35
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
36
+ default:
37
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
38
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
39
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
40
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41
+ if (t[2]) _.ops.pop();
42
+ _.trys.pop(); continue;
43
+ }
44
+ op = body.call(thisArg, _);
45
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
46
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
47
+ }
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.migrator = void 0;
51
+ var input_1 = require("./input");
52
+ var fs_1 = require("fs");
53
+ // @ts-ignore
54
+ var migrator = function (AllBannerSettings, storeFile) {
55
+ if (storeFile === void 0) { storeFile = false; }
56
+ return __awaiter(void 0, void 0, void 0, function () {
57
+ var NewAllBannerSettings_1, JSON_SETTINGS, location_1, e_1;
58
+ return __generator(this, function (_a) {
59
+ switch (_a.label) {
60
+ case 0:
61
+ _a.trys.push([0, 3, , 4]);
62
+ NewAllBannerSettings_1 = {};
63
+ Object.keys(AllBannerSettings).forEach(function (bannerName) {
64
+ NewAllBannerSettings_1[bannerName] = settingsMapper(AllBannerSettings[bannerName]);
65
+ });
66
+ JSON_SETTINGS = JSON.stringify(NewAllBannerSettings_1);
67
+ if (!storeFile) return [3 /*break*/, 2];
68
+ location_1 = "./scripts/newSettings.json";
69
+ return [4 /*yield*/, fs_1.promises.writeFile(location_1, JSON_SETTINGS)];
70
+ case 1:
71
+ _a.sent();
72
+ console.log("Successfully merged settings to ".concat(location_1));
73
+ return [2 /*return*/];
74
+ case 2: return [2 /*return*/, JSON_SETTINGS];
75
+ case 3:
76
+ e_1 = _a.sent();
77
+ console.error("Error mapping settings", e_1);
78
+ return [2 /*return*/, "An Error Occurred"];
79
+ case 4: return [2 /*return*/];
80
+ }
81
+ });
82
+ });
83
+ };
84
+ exports.migrator = migrator;
85
+ var settingsMapper = function (oldSettings) {
86
+ return __assign(__assign({}, oldSettings), { adminPanelOnly: {
87
+ bannerName: oldSettings.adminPanelOnly.bannerName,
88
+ logoUrl: oldSettings.adminPanelOnly.logoUrl,
89
+ }, siteSettings: {
90
+ defaultCountry: oldSettings.defaultCountry,
91
+ defaultShoppingMode: oldSettings.defaultShoppingMode,
92
+ anonymousCart: oldSettings.siteSettings.anonymousCart,
93
+ daysToRemainSignedIn: oldSettings.daysToRemainSignedIn,
94
+ defaultSearchParams: oldSettings.defaultSearchParams,
95
+ defaultStoreLocation: oldSettings.defaultStoreLocation,
96
+ googleAutocompleteSettings: oldSettings.googleAutocompleteSettings,
97
+ restrictMapPlacesResults: oldSettings.restrictMapPlacesResults,
98
+ gtmId: !!oldSettings.gtmId ? oldSettings.gtmId : "",
99
+ isPlanningOnly: oldSettings.isPlanningOnly,
100
+ mapZoom: oldSettings.mapZoom,
101
+ promoTemplateVersion: oldSettings.promoTemplateVersion,
102
+ retailerCountry: oldSettings.retailerCountry,
103
+ retailerName: oldSettings.retailerName,
104
+ searchPreview: oldSettings.searchPreview,
105
+ subHeaderHeight: oldSettings.subHeaderHeight,
106
+ disableTprPrice: oldSettings.disableTprPrice,
107
+ footerVersion: oldSettings.layout.footerVersion,
108
+ timeslotModalSettings: oldSettings.timeslotModalSettings,
109
+ ctaButtons: oldSettings.ctaButtons,
110
+ mainHeaderHeight: oldSettings.mainHeaderHeight,
111
+ }, features: {
112
+ additionalCharges: !!oldSettings.features.additionalCharges,
113
+ clientCache: !!oldSettings.features.clientCache,
114
+ vouchers: oldSettings.features.vouchers,
115
+ giftCards: oldSettings.features.giftCards,
116
+ smartbanner: oldSettings.features.smartbanner,
117
+ entryModalVersion: oldSettings.features.entryModalVersion,
118
+ allowInStorePurchases: !!oldSettings.allowInStorePurchases,
119
+ allowPastPurchases: !!oldSettings.allowPastPurchases,
120
+ advertSettings: oldSettings.advertSettings,
121
+ enableGoogleTranslate: !!oldSettings.enableGoogleTranslate,
122
+ enableNewsletterSignup: !!oldSettings.enableNewsletterSignup,
123
+ enableNotifications: !!oldSettings.enableNotifications,
124
+ externalStoreSelectorUrl: {
125
+ enabled: !!oldSettings.externalStoreSelectorUrl,
126
+ url: !!oldSettings.externalStoreSelectorUrl
127
+ ? oldSettings.externalStoreSelectorUrl
128
+ : "",
129
+ },
130
+ favoritesV1: !!oldSettings.favoritesV1,
131
+ flipp: oldSettings.flipp,
132
+ globalAnimations: oldSettings.globalAnimations,
133
+ instacart: {
134
+ enabled: !!oldSettings.instacartUrl,
135
+ url: !!oldSettings.instacartUrl ? oldSettings.instacartUrl : "",
136
+ },
137
+ registrationFields: oldSettings.registrationFields,
138
+ secondTierAuthorization: oldSettings.secondTierAuthorization,
139
+ showCheckoutPromoCode: !!oldSettings.showCheckoutPromoCode,
140
+ showImgOnOrder: !!oldSettings.showImgOnOrder,
141
+ smsNotifications: oldSettings.smsNotifications,
142
+ specialRequestItems: !!oldSettings.specialRequestItems,
143
+ couponGallery: oldSettings.layouts.couponGallery,
144
+ }, addressSettings: {
145
+ // todo need to be fixed
146
+ addressValidationTypes: {
147
+ addressLine1: oldSettings.addressValidationTypes.addressLine1,
148
+ addressLine2: oldSettings.addressValidationTypes.addressLine2,
149
+ city: oldSettings.addressValidationTypes.city,
150
+ countyProvinceState: oldSettings.addressValidationTypes.countyProvinceState,
151
+ familyName: oldSettings.addressValidationTypes.familyName,
152
+ firstName: oldSettings.addressValidationTypes.firstName,
153
+ instructions: oldSettings.addressValidationTypes.instructions,
154
+ phoneNumber: oldSettings.addressValidationTypes.phoneNumber,
155
+ postCode: oldSettings.addressValidationTypes.postCode,
156
+ smsNumber: oldSettings.checkoutValidation.smsNumber,
157
+ },
158
+ eircode: {
159
+ enabled: !!oldSettings.eircode,
160
+ url: !!oldSettings.eircode ? oldSettings.eircode : "",
161
+ },
162
+ integration: {
163
+ addressFinderType: oldSettings.addressIntegration.addressFinderType,
164
+ enabled: oldSettings.addressIntegration.enabled,
165
+ useForNewAddresses: oldSettings.addressIntegration.useForNewAddresses,
166
+ addNewAddressUrl: oldSettings.addresses.integration.addNewAddressUrl,
167
+ editAddressUrl: oldSettings.addresses.integration.editAddressUrl,
168
+ deleteAddressUrl: oldSettings.addresses.integration.deleteAddressUrl,
169
+ },
170
+ useAddressValidation: oldSettings.useAddressValidation,
171
+ disableAddressOnDelivery: false,
172
+ }, accountPage: {
173
+ loyaltyTab: {
174
+ disabledEdit: !!oldSettings.accountPage.loyaltyTab.disabledEdit,
175
+ enabled: !!oldSettings.accountPage.loyaltyTab.enabled,
176
+ loyaltyNumberLength: oldSettings.accountPage.loyaltyTab.loyaltyNumberLength,
177
+ loyaltyNumberPrefix: oldSettings.accountPage.loyaltyTab.loyaltyNumberPrefix,
178
+ loyaltyValidationType: oldSettings.accountPage.loyaltyTab.loyaltyValidationType,
179
+ },
180
+ idp: {
181
+ enabled: !!oldSettings.idpUrl,
182
+ target: oldSettings.idpTarget,
183
+ url: !!oldSettings.idpUrl ? oldSettings.idpUrl : "",
184
+ },
185
+ }, productCard: {
186
+ limitProductCardTitleHeight: oldSettings.limitProductCardTitleHeight,
187
+ productCardTitleHeight: oldSettings.productCardTitleHeight,
188
+ productCards: oldSettings.productCards,
189
+ }, checkout: {
190
+ numericPhonePayload: oldSettings.checkout.numericPhonePayload,
191
+ houseAccountRegExValidation: oldSettings.houseAccountRegExValidation,
192
+ minimumCreditCardAmount: oldSettings.minimumCreditCardAmount,
193
+ paymentCards: oldSettings.paymentCards,
194
+ checkoutValidation: oldSettings.checkoutValidation,
195
+ }, pdpSettings: {
196
+ nutritionZone: oldSettings.nutritionZone,
197
+ pdpDetailsLayout: oldSettings.pdpDetailsLayout,
198
+ sodiumWarning: oldSettings.sodiumWarning,
199
+ }, cartSummary: {
200
+ hideTaxOnSummary: !!oldSettings.hideTaxOnSummary,
201
+ showTaxTotal: !!oldSettings.layouts.cartSummary.showTaxTotal,
202
+ showTaxGroups: !!oldSettings.layouts.cartSummary.showTaxGroups,
203
+ } });
204
+ };
205
+ (0, exports.migrator)(input_1.default, true);
@@ -65,6 +65,12 @@ var FeatureSettingsChildren = {
65
65
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/AddressIntegrationV2",
66
66
  type: exports.AdminTemplateInputTypes.checkbox,
67
67
  },
68
+ ebtPayment: {
69
+ title: "EBT Payment",
70
+ description: "Enable EBT Payment - will only work if EBT is set up for the banner as a payment method",
71
+ type: exports.AdminTemplateInputTypes.checkbox,
72
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3506765929/EBT+Payment",
73
+ },
68
74
  clientCache: {
69
75
  title: "Browser API Caching",
70
76
  description: "Enable cache for clients on the browser",
@@ -397,6 +403,12 @@ var SiteSettingsChildren = {
397
403
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
398
404
  type: exports.AdminTemplateInputTypes.checkbox,
399
405
  },
406
+ RemoveAllOutOfStock: {
407
+ title: "RemoveAllOutOfStock Button",
408
+ description: "Disable RemoveAllOutOfStock to hide RemoveAllOutOfStock button",
409
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
410
+ type: exports.AdminTemplateInputTypes.checkbox,
411
+ },
400
412
  mapZoom: {
401
413
  title: "Map Zoom",
402
414
  description: "Use to change the google maps zoom level",
@@ -532,9 +544,9 @@ var AccountPageSettingsChildren = {
532
544
  description: "Enable / disable delete account button on My Account page",
533
545
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3486023742/Delete+account+button",
534
546
  type: exports.AdminTemplateInputTypes.checkbox,
535
- }
536
- }
537
- }
547
+ },
548
+ },
549
+ },
538
550
  };
539
551
  var AddressSettingsChildren = {
540
552
  addressValidationTypes: {
@@ -70,6 +70,7 @@ var DefaultConfigSFUI = {
70
70
  VisaCard: true,
71
71
  },
72
72
  forceDeliverySection: false,
73
+ enableInterimModal: false,
73
74
  },
74
75
  features: {
75
76
  additionalCharges: false,
@@ -83,6 +84,7 @@ var DefaultConfigSFUI = {
83
84
  galleryHasNavLink: false,
84
85
  galleryIsIframe: false,
85
86
  },
87
+ ebtPayments: false,
86
88
  enableGoogleTranslate: false,
87
89
  enableNewsletterSignup: false,
88
90
  enableNotifications: false,
@@ -195,6 +197,11 @@ var DefaultConfigSFUI = {
195
197
  ContainersCarousel: "default",
196
198
  ContainersGrid: "default",
197
199
  },
200
+ components: {
201
+ promotionLabel: {
202
+ showLines: 1,
203
+ },
204
+ },
198
205
  },
199
206
  },
200
207
  productCardTitleHeight: 40,
@@ -221,6 +228,7 @@ var DefaultConfigSFUI = {
221
228
  gtmId: "",
222
229
  hideWelcomeModalOnCorporate: false,
223
230
  isPlanningOnly: false,
231
+ RemoveAllOutOfStock: true,
224
232
  mainHeaderHeight: 110,
225
233
  maintainCustomerJourney: true,
226
234
  maintainCustomerPreferences: {
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
- {
2
- "name": "@thryveai/theme-interfaces",
3
- "version": "2.4.14",
4
- "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
- "scripts": {
6
- "build": "tsc",
7
- "push": "npm run build && npm publish",
8
- "merge-settings": "ts-node ./scripts/sfui-settings-migrator.ts"
9
- },
10
- "author": "Wynshop",
11
- "license": "ISC",
12
- "main": "dist",
13
- "files": [
14
- "dist"
15
- ],
16
- "devDependencies": {
17
- "@types/node": "^17.0.42",
18
- "ts-node": "^10.8.1",
19
- "typescript": "4.6.3"
20
- }
21
- }
1
+ {
2
+ "name": "@thryveai/theme-interfaces",
3
+ "version": "2.4.17",
4
+ "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
+ "scripts": {
6
+ "build": "tsc",
7
+ "push": "npm run build && npm publish",
8
+ "merge-settings": "ts-node ./scripts/sfui-settings-migrator.ts"
9
+ },
10
+ "author": "Wynshop",
11
+ "license": "ISC",
12
+ "main": "dist",
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "devDependencies": {
17
+ "@types/node": "^17.0.42",
18
+ "ts-node": "^10.8.1",
19
+ "typescript": "4.6.3"
20
+ }
21
+ }
@@ -1,3 +0,0 @@
1
- import { IDefaultRetailerSettings } from './interfaces/default-settings.interfaces';
2
- declare const defaultConfig: IDefaultRetailerSettings;
3
- export default defaultConfig;
@@ -1,242 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var defaultConfig = {
4
- advertSettings: {},
5
- timeslotModalSettings: {
6
- showOnAddToCart: false,
7
- timeslotRequiredToAddToCart: false,
8
- timeslotRequiredToViewCartReview: false
9
- },
10
- accountPage: {
11
- loyaltyTab: {
12
- disabledEdit: false,
13
- enabled: false,
14
- loyaltyNumberLength: 11,
15
- loyaltyNumberPrefix: '',
16
- loyaltyValidationType: []
17
- }
18
- },
19
- addresses: {
20
- addressValidationTypes: {
21
- addressLine1: ['alphaNumeric', 'required'],
22
- addressLine2: ['alphaNumeric'],
23
- city: ['alphaNumeric', 'required'],
24
- countyProvinceState: ['usState', 'required'],
25
- familyName: ['alphaOnly', 'required'],
26
- firstName: ['alphaOnly', 'required'],
27
- instructions: ['alphaNumeric'],
28
- phoneNumber: ['usPhone', 'required'],
29
- postCode: ['usPostCode', 'required']
30
- },
31
- canadianAddressCompleteKey: undefined,
32
- eircodeUrl: undefined,
33
- integration: {
34
- addNewAddressUrl: undefined,
35
- deleteAddressUrl: undefined,
36
- editAddressUrl: undefined
37
- },
38
- useAddressValidation: true
39
- },
40
- addressValidationTypes: {
41
- addressLine1: ['alphaNumeric', 'required'],
42
- addressLine2: ['alphaNumeric'],
43
- city: ['alphaNumeric', 'required'],
44
- countyProvinceState: ['usState', 'required'],
45
- familyName: ['alphaOnly', 'required'],
46
- firstName: ['alphaOnly', 'required'],
47
- instructions: ['alphaNumeric'],
48
- phoneNumber: ['usPhone', 'required'],
49
- postCode: ['usPostCode', 'required']
50
- },
51
- addressIntegration: {
52
- enabled: false,
53
- addressFinderType: 'AUS',
54
- getAddressesUrl: 'https://api.addressfinder.io/api/au/address/autocomplete/?key={AUS_ADDRESS_SERVICE_KEY}&secret={AUS_ADDRESS_SERVICE_SECRET}&q={searchQuery}&format=json&gnaf=1',
55
- getLocationUrl: 'https://api.addressfinder.io/api/au/address/metadata/?key={AUS_ADDRESS_SERVICE_KEY}&secret={AUS_ADDRESS_SERVICE_SECRET}&format=json&id={id}&au_paf=0&gps=0'
56
- },
57
- allowInStorePurchases: false,
58
- allowPastPurchases: true,
59
- buildNumber: 'default',
60
- cacheTimeMins: 1,
61
- canadianAddressCompleteKey: undefined,
62
- checkoutV1: false,
63
- disableAddressOnDelivery: false,
64
- favoritesV1: false,
65
- checkout: {
66
- numericPhonePayload: false
67
- },
68
- checkoutValidation: {
69
- instructions: ['alphaNumeric', 'notWhiteSpacesOnly'],
70
- phoneNumber: ['usPhone', 'required'],
71
- smsNumber: []
72
- },
73
- ctaButtons: null,
74
- defaultCountry: 'USA',
75
- defaultSearchParams: {
76
- page: '1',
77
- q: '*',
78
- skip: '0',
79
- take: '30'
80
- },
81
- defaultShoppingMode: 'pickup',
82
- defaultStoreLocation: {
83
- latitude: 0,
84
- longitude: 0
85
- },
86
- disableTprPrice: false,
87
- documentTitle: 'ThryveAI Commerce',
88
- eircode: undefined,
89
- enable3dSecure: false,
90
- enableGoogleTranslate: false,
91
- enableNewsletterSignup: false,
92
- enableNotifications: false,
93
- enableVouchers: false,
94
- errorLoggingLevel: 'error',
95
- externalStoreSelectorUrl: undefined,
96
- flipp: null,
97
- gtmId: undefined,
98
- hideTaxOnSummary: false,
99
- houseAccountRegExValidation: '.',
100
- idpTarget: '_self',
101
- idpUrl: undefined,
102
- instacartUrl: undefined,
103
- isPlanningOnly: false,
104
- layout: {
105
- footerVersion: 'default'
106
- },
107
- limitProductCardTitleHeight: true,
108
- loggingLevelClient: 'error',
109
- loggingLevelServer: 'error',
110
- mainHeaderHeight: 110,
111
- mapZoom: 8,
112
- minimumCreditCardAmount: 1.0,
113
- nutritionZone: 'us',
114
- paymentCards: {
115
- AmExpCard: true,
116
- DiscoverCard: true,
117
- MasterCard: true,
118
- VisaCard: true
119
- },
120
- pdpDetailsLayout: {
121
- desktop: {
122
- left: [
123
- 'productSalesInfo',
124
- 'productDescription',
125
- 'productIngredients',
126
- 'productNutrition',
127
- 'sodiumWarning',
128
- 'productNumber'
129
- ],
130
- right: ['recommendations']
131
- },
132
- mobile: {
133
- left: [
134
- 'productSalesInfo',
135
- 'productDescription',
136
- 'productNumber',
137
- 'sodiumWarning',
138
- 'recommendations'
139
- ],
140
- right: [
141
- 'productIngredients',
142
- 'productNutrition',
143
- 'recommendations',
144
- 'productNumber'
145
- ]
146
- }
147
- },
148
- productCardTitleHeight: 40,
149
- registrationFields: [],
150
- retailerCountry: 'us',
151
- retailerName: 'default',
152
- daysToRemainSignedIn: 30,
153
- searchPreview: {
154
- desktop: {
155
- products: true,
156
- suggestions: true
157
- },
158
- mobile: {
159
- products: true,
160
- suggestions: true
161
- }
162
- },
163
- secondTierAuthorization: undefined,
164
- showCheckoutPromoCode: true,
165
- showImgOnOrder: false,
166
- smsNotifications: {
167
- enabled: false,
168
- getEnrollmentUrl: '',
169
- postEnrollmentUrl: ''
170
- },
171
- subHeaderHeight: 0,
172
- promoTemplateVersion: 1,
173
- useAddressValidation: true,
174
- restrictMapPlacesResults: {
175
- fetchNearStoresSettings: {
176
- kmRange: 20,
177
- totalTake: 30
178
- }
179
- },
180
- globalAnimations: {
181
- confetti: {
182
- enableConfettiAnimation: true
183
- }
184
- },
185
- googleAutocompleteSettings: {},
186
- smartbanner: {
187
- enabled: false,
188
- author: '',
189
- button: '',
190
- buttonUrlApple: '',
191
- buttonUrlGoogle: '',
192
- closeLabel: '',
193
- iconApple: '',
194
- iconGoogle: '',
195
- price: '',
196
- priceSuffixApple: '',
197
- priceSuffixGoogle: '',
198
- title: ''
199
- },
200
- features: { clientCache: false },
201
- specialRequestItems: false,
202
- additionalCharges: false,
203
- sodiumWarning: {
204
- isEnabled: false,
205
- threshold: 2300
206
- },
207
- productCards: {
208
- gridRowLength: {
209
- tablet: 3,
210
- desktop: 5,
211
- mobile: 1
212
- },
213
- carouselsRowLength: {
214
- desktop: 6,
215
- tablet: 4,
216
- mobile: 1
217
- },
218
- productCard: {
219
- enabled: false,
220
- layouts: {
221
- ContainersGrid: 'default',
222
- ContainersCarousel: 'default'
223
- }
224
- }
225
- },
226
- layouts: {
227
- cartSummary: {
228
- showTaxTotal: true,
229
- showTaxGroups: true
230
- },
231
- couponGallery: {
232
- enabled: false,
233
- galleryIsIframe: false
234
- }
235
- },
236
- adminPanelOnly: {
237
- bannerName: '',
238
- logoUrl: ''
239
- },
240
- productCardv2: false
241
- };
242
- exports.default = defaultConfig;
@@ -1,3 +0,0 @@
1
- import { IAdminSettingsTemplate, IAdminTemplateInputTypes } from "./interfaces/admin-settings-interfaces";
2
- export declare const AdminTemplateInputTypes: IAdminTemplateInputTypes;
3
- export declare const AdminSettingsTemplate: IAdminSettingsTemplate;