@thryveai/theme-interfaces 2.2.1 → 2.2.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 +11 -10
- package/dist/index.js +4 -4
- package/dist/{Storefront → storefront}/SFUIImagesTemplate.AdminUi.d.ts +0 -0
- package/dist/{Storefront → storefront}/SFUIImagesTemplate.AdminUi.js +0 -0
- package/dist/{Storefront → storefront}/SFUISettingsTemplate.AdminUi.d.ts +0 -0
- package/dist/{Storefront → storefront}/SFUISettingsTemplate.AdminUi.js +0 -0
- package/dist/{Storefront → storefront}/defaultImagesStorefront.d.ts +0 -0
- package/dist/{Storefront → storefront}/defaultImagesStorefront.js +0 -0
- package/dist/{Storefront → storefront}/defaultSettingsStorefront.d.ts +0 -0
- package/dist/{Storefront → storefront}/defaultSettingsStorefront.js +0 -0
- package/dist/sts/STSSettingsTemplate.AdminUi.js +1 -1
- package/package.json +1 -1
- package/dist/SFUISettingsTemplate.AdminUi.d.ts +0 -3
- package/dist/SFUISettingsTemplate.AdminUi.js +0 -686
- package/dist/STSSettingsTemplate.AdminUi.d.ts +0 -2
- package/dist/STSSettingsTemplate.AdminUi.js +0 -94
- package/dist/defaultSettings.d.ts +0 -3
- package/dist/defaultSettings.js +0 -242
- package/dist/defaultSettingsStorefront.d.ts +0 -3
- package/dist/defaultSettingsStorefront.js +0 -242
- package/dist/defaultSettingsSts.d.ts +0 -2
- package/dist/defaultSettingsSts.js +0 -8
- package/dist/interfaces/index.d.ts +0 -11
- package/dist/interfaces/index.js +0 -5
- package/dist/storefrontUiSettingsTemplateForAdminPanel.d.ts +0 -3
- package/dist/storefrontUiSettingsTemplateForAdminPanel.js +0 -686
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AdminSettingsTemplateSTS = void 0;
|
|
4
|
-
var SFUISettingsTemplate_AdminUi_1 = require("./SFUISettingsTemplate.AdminUi");
|
|
5
|
-
exports.AdminSettingsTemplateSTS = {
|
|
6
|
-
operatingZone: {
|
|
7
|
-
title: 'Operating Zone',
|
|
8
|
-
description: 'Enables additional charging such as tipping, donations etc.',
|
|
9
|
-
helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/Additional+Charges',
|
|
10
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.dropdown,
|
|
11
|
-
options: ['eu', 'none'],
|
|
12
|
-
},
|
|
13
|
-
customTermPolicy: {
|
|
14
|
-
title: 'Customized Term & Conditions Policy',
|
|
15
|
-
description: 'A way to set the cutom policy',
|
|
16
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
17
|
-
},
|
|
18
|
-
registrationFields: {
|
|
19
|
-
title: 'registrationFields',
|
|
20
|
-
description: 'Use external address integration',
|
|
21
|
-
helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo',
|
|
22
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
|
|
23
|
-
value: {
|
|
24
|
-
phone: {
|
|
25
|
-
title: 'Phone',
|
|
26
|
-
description: 'Capture the customers phone number',
|
|
27
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
|
|
28
|
-
value: {
|
|
29
|
-
name: {
|
|
30
|
-
title: 'Input name',
|
|
31
|
-
description: '',
|
|
32
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
33
|
-
},
|
|
34
|
-
label: {
|
|
35
|
-
title: 'Input label',
|
|
36
|
-
description: '',
|
|
37
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
38
|
-
},
|
|
39
|
-
placeholder: {
|
|
40
|
-
title: 'Input placeholder',
|
|
41
|
-
description: '',
|
|
42
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
43
|
-
},
|
|
44
|
-
designVersion: {
|
|
45
|
-
title: 'designVersion',
|
|
46
|
-
description: '',
|
|
47
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.dropdown,
|
|
48
|
-
options: ['default', 'other'],
|
|
49
|
-
},
|
|
50
|
-
validationTypes: {
|
|
51
|
-
title: 'Validation',
|
|
52
|
-
description: '',
|
|
53
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
|
|
54
|
-
options: ['anyPhone', 'usPhone', 'usMobileNumber', 'caPhone', 'auPhone', 'iePhone', 'required'],
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
loyaltyId: {
|
|
59
|
-
title: 'loyaltyId',
|
|
60
|
-
description: 'Capture the customers loyalty number',
|
|
61
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
|
|
62
|
-
value: {
|
|
63
|
-
name: {
|
|
64
|
-
title: 'Input name',
|
|
65
|
-
description: '',
|
|
66
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
67
|
-
},
|
|
68
|
-
label: {
|
|
69
|
-
title: 'Input label',
|
|
70
|
-
description: '',
|
|
71
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
72
|
-
},
|
|
73
|
-
placeholder: {
|
|
74
|
-
title: 'Input placeholder',
|
|
75
|
-
description: '',
|
|
76
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
77
|
-
},
|
|
78
|
-
designVersion: {
|
|
79
|
-
title: 'designVersion',
|
|
80
|
-
description: '',
|
|
81
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.dropdown,
|
|
82
|
-
options: ['default', 'other'],
|
|
83
|
-
},
|
|
84
|
-
validationTypes: {
|
|
85
|
-
title: 'Validation',
|
|
86
|
-
description: '',
|
|
87
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
|
|
88
|
-
options: ['luhnValidation', 'alphaNumeric', 'alphaOnly', 'noSpecialChar', 'numericOnly', 'required', '{_type: \'exact\', length: 11}'],
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
};
|
package/dist/defaultSettings.js
DELETED
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var defaultConfig = {
|
|
4
|
-
advertSettings: {},
|
|
5
|
-
timeslotModalSettings: {
|
|
6
|
-
showOnAddToCart: false,
|
|
7
|
-
timeslotRequiredToAddToCart: false,
|
|
8
|
-
timeslotRequiredToViewCartReview: false
|
|
9
|
-
},
|
|
10
|
-
accountPage: {
|
|
11
|
-
loyaltyTab: {
|
|
12
|
-
disabledEdit: false,
|
|
13
|
-
enabled: false,
|
|
14
|
-
loyaltyNumberLength: 11,
|
|
15
|
-
loyaltyNumberPrefix: '',
|
|
16
|
-
loyaltyValidationType: []
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
addresses: {
|
|
20
|
-
addressValidationTypes: {
|
|
21
|
-
addressLine1: ['alphaNumeric', 'required'],
|
|
22
|
-
addressLine2: ['alphaNumeric'],
|
|
23
|
-
city: ['alphaNumeric', 'required'],
|
|
24
|
-
countyProvinceState: ['usState', 'required'],
|
|
25
|
-
familyName: ['alphaOnly', 'required'],
|
|
26
|
-
firstName: ['alphaOnly', 'required'],
|
|
27
|
-
instructions: ['alphaNumeric'],
|
|
28
|
-
phoneNumber: ['usPhone', 'required'],
|
|
29
|
-
postCode: ['usPostCode', 'required']
|
|
30
|
-
},
|
|
31
|
-
canadianAddressCompleteKey: undefined,
|
|
32
|
-
eircodeUrl: undefined,
|
|
33
|
-
integration: {
|
|
34
|
-
addNewAddressUrl: undefined,
|
|
35
|
-
deleteAddressUrl: undefined,
|
|
36
|
-
editAddressUrl: undefined
|
|
37
|
-
},
|
|
38
|
-
useAddressValidation: true
|
|
39
|
-
},
|
|
40
|
-
addressValidationTypes: {
|
|
41
|
-
addressLine1: ['alphaNumeric', 'required'],
|
|
42
|
-
addressLine2: ['alphaNumeric'],
|
|
43
|
-
city: ['alphaNumeric', 'required'],
|
|
44
|
-
countyProvinceState: ['usState', 'required'],
|
|
45
|
-
familyName: ['alphaOnly', 'required'],
|
|
46
|
-
firstName: ['alphaOnly', 'required'],
|
|
47
|
-
instructions: ['alphaNumeric'],
|
|
48
|
-
phoneNumber: ['usPhone', 'required'],
|
|
49
|
-
postCode: ['usPostCode', 'required']
|
|
50
|
-
},
|
|
51
|
-
addressIntegration: {
|
|
52
|
-
enabled: false,
|
|
53
|
-
addressFinderType: 'AUS',
|
|
54
|
-
getAddressesUrl: 'https://api.addressfinder.io/api/au/address/autocomplete/?key={AUS_ADDRESS_SERVICE_KEY}&secret={AUS_ADDRESS_SERVICE_SECRET}&q={searchQuery}&format=json&gnaf=1',
|
|
55
|
-
getLocationUrl: 'https://api.addressfinder.io/api/au/address/metadata/?key={AUS_ADDRESS_SERVICE_KEY}&secret={AUS_ADDRESS_SERVICE_SECRET}&format=json&id={id}&au_paf=0&gps=0'
|
|
56
|
-
},
|
|
57
|
-
allowInStorePurchases: false,
|
|
58
|
-
allowPastPurchases: true,
|
|
59
|
-
buildNumber: 'default',
|
|
60
|
-
cacheTimeMins: 1,
|
|
61
|
-
canadianAddressCompleteKey: undefined,
|
|
62
|
-
checkoutV1: false,
|
|
63
|
-
disableAddressOnDelivery: false,
|
|
64
|
-
favoritesV1: false,
|
|
65
|
-
checkout: {
|
|
66
|
-
numericPhonePayload: false
|
|
67
|
-
},
|
|
68
|
-
checkoutValidation: {
|
|
69
|
-
instructions: ['alphaNumeric'],
|
|
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,242 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var DefaultConfigSFUI = {
|
|
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'],
|
|
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 = DefaultConfigSFUI;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminControl, IAdminControlType } from './admin-settings-interfaces';
|
|
2
|
-
import { IDefaultRetailerSettings } from './default-settings.interfaces';
|
|
3
|
-
import { IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType } from "./retailer-settings.interfaces";
|
|
4
|
-
import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, IconNamesToFiles } from "./icons.interfaces";
|
|
5
|
-
import { ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource } from "./theme.interfaces";
|
|
6
|
-
import { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource } from "./default-theme.interface";
|
|
7
|
-
export { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource, };
|
|
8
|
-
export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, IconNamesToFiles, };
|
|
9
|
-
export { IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, };
|
|
10
|
-
export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminControl, IAdminControlType };
|
|
11
|
-
export { IDefaultRetailerSettings };
|
package/dist/interfaces/index.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IconNamesToFiles = void 0;
|
|
4
|
-
var icons_interfaces_1 = require("./icons.interfaces");
|
|
5
|
-
Object.defineProperty(exports, "IconNamesToFiles", { enumerable: true, get: function () { return icons_interfaces_1.IconNamesToFiles; } });
|