@thryveai/theme-interfaces 2.4.21 → 2.4.23-beta.0

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 (44) hide show
  1. package/README.md +29 -29
  2. package/dist/index.d.ts +28 -27
  3. package/dist/index.js +33 -31
  4. package/dist/interfaces/admin-images-interfaces.d.ts +11 -11
  5. package/dist/interfaces/admin-images-interfaces.js +2 -2
  6. package/dist/interfaces/admin-settings-interfaces.d.ts +57 -57
  7. package/dist/interfaces/admin-settings-interfaces.js +2 -2
  8. package/dist/interfaces/default-settings.interfaces.d.ts +89 -89
  9. package/dist/interfaces/default-settings.interfaces.js +3 -3
  10. package/dist/interfaces/default-theme.interface.d.ts +695 -695
  11. package/dist/interfaces/default-theme.interface.js +2 -2
  12. package/dist/interfaces/icons.interfaces.d.ts +7 -7
  13. package/dist/interfaces/icons.interfaces.js +128 -126
  14. package/dist/interfaces/retailer-settings.interfaces.d.ts +543 -537
  15. package/dist/interfaces/retailer-settings.interfaces.js +2 -2
  16. package/dist/interfaces/sts-settings.interfaces.d.ts +6 -6
  17. package/dist/interfaces/sts-settings.interfaces.js +2 -2
  18. package/dist/interfaces/theme.interfaces.d.ts +695 -695
  19. package/dist/interfaces/theme.interfaces.js +2 -2
  20. package/dist/storefront/SFUIImagesTemplate.AdminUi.d.ts +2 -2
  21. package/dist/storefront/SFUIImagesTemplate.AdminUi.js +112 -112
  22. package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +14 -14
  23. package/dist/storefront/SFUISettingsTemplate.AdminUi.js +1025 -1008
  24. package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +3 -3
  25. package/dist/storefront/SFUIThemesTemplate.AdminUi.js +113 -113
  26. package/dist/storefront/contentEngineComponents.d.ts +23 -23
  27. package/dist/storefront/contentEngineComponents.js +25 -25
  28. package/dist/storefront/defaultIconsStorefront.d.ts +3 -0
  29. package/dist/storefront/defaultIconsStorefront.js +128 -0
  30. package/dist/storefront/defaultImagesStorefront.d.ts +3 -3
  31. package/dist/storefront/defaultImagesStorefront.js +96 -96
  32. package/dist/storefront/defaultSettingsStorefront.d.ts +3 -3
  33. package/dist/storefront/defaultSettingsStorefront.js +297 -292
  34. package/dist/storefront/defaultThemeStorefront.d.ts +5 -5
  35. package/dist/storefront/defaultThemeStorefront.js +1156 -1156
  36. package/dist/sts/STSImagesTemplate.AdminUi.d.ts +2 -2
  37. package/dist/sts/STSImagesTemplate.AdminUi.js +50 -50
  38. package/dist/sts/STSSettingsTemplate.AdminUi.d.ts +2 -2
  39. package/dist/sts/STSSettingsTemplate.AdminUi.js +30 -30
  40. package/dist/sts/defaultSettingsSts.d.ts +3 -3
  41. package/dist/sts/defaultSettingsSts.js +9 -9
  42. package/dist/theme-templates/index.d.ts +3 -3
  43. package/dist/theme-templates/index.js +8 -8
  44. package/package.json +29 -21
@@ -1,292 +1,297 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var DefaultConfigSFUI = {
4
- accountPage: {
5
- idp: {
6
- enabled: false,
7
- target: "_self",
8
- url: "",
9
- },
10
- loyaltyTab: {
11
- disabledEdit: false,
12
- enabled: false,
13
- loyaltyNumberLength: 11,
14
- loyaltyNumberPrefix: "",
15
- loyaltyValidationType: [],
16
- },
17
- profileTab: {
18
- deleteAccountButton: false,
19
- },
20
- },
21
- addressSettings: {
22
- addressValidationTypes: {
23
- addressLine1: ["alphaNumeric", "required"],
24
- addressLine2: ["alphaNumeric"],
25
- city: ["alphaNumeric", "required"],
26
- countyProvinceState: ["usState", "required"],
27
- familyName: ["alphaOnly", "required"],
28
- firstName: ["alphaOnly", "required"],
29
- instructions: ["alphaNumeric"],
30
- phoneNumber: ["usPhone", "required"],
31
- postCode: ["usPostCode", "required"],
32
- smsNumber: [],
33
- },
34
- eircode: {
35
- enabled: false,
36
- url: "",
37
- },
38
- integration: {
39
- addNewAddressUrl: "",
40
- addressFinderType: "AUS",
41
- deleteAddressUrl: "",
42
- editAddressUrl: "",
43
- enabled: false,
44
- useForNewAddresses: false,
45
- },
46
- useAddressValidation: true,
47
- },
48
- adminPanelOnly: {
49
- bannerName: "New banner name",
50
- logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
51
- },
52
- cartSummary: {
53
- hideTaxOnSummary: false,
54
- showTaxGroups: true,
55
- showTaxTotal: true,
56
- },
57
- checkout: {
58
- checkoutValidation: {
59
- instructions: ["alphaNumeric", "notWhiteSpacesOnly"],
60
- phoneNumber: ["usPhone", "required"],
61
- smsNumber: [],
62
- },
63
- houseAccountRegExValidation: ".",
64
- minimumCreditCardAmount: 1.0,
65
- numericPhonePayload: false,
66
- paymentCards: {
67
- AmExpCard: true,
68
- DiscoverCard: true,
69
- MasterCard: true,
70
- VisaCard: true,
71
- },
72
- forceDeliverySection: false,
73
- enableInterimModal: false,
74
- },
75
- features: {
76
- additionalCharges: false,
77
- addressIntegrationV2: false,
78
- advertSettings: {},
79
- allowInStorePurchases: false,
80
- allowPastPurchases: true,
81
- clientCache: false,
82
- couponGallery: {
83
- enabled: false,
84
- galleryHasNavLink: false,
85
- galleryIsIframe: false,
86
- },
87
- ebtPayments: false,
88
- enableGoogleTranslate: false,
89
- enableNewsletterSignup: false,
90
- enableNotifications: false,
91
- entryModalVersion: "entry",
92
- externalStoreSelectorUrl: {
93
- enabled: false,
94
- url: "",
95
- },
96
- favoritesV1: false,
97
- flipp: null,
98
- giftCards: {
99
- enabled: false,
100
- giftCardInputValidation: "^[0-9]{17}$",
101
- pinInputValidation: "^[0-9]{4}$",
102
- reCaptcha: false,
103
- },
104
- globalAnimations: {
105
- confetti: {
106
- enableConfettiAnimation: true,
107
- },
108
- },
109
- hideAlcoholRule: {
110
- modal: false,
111
- pdp: false,
112
- productCard: false,
113
- },
114
- instacart: {
115
- enabled: false,
116
- url: "",
117
- },
118
- registrationFields: [],
119
- secondTierAuthorization: undefined,
120
- showCheckoutPromoCode: true,
121
- showImgOnOrder: false,
122
- smartbanner: {
123
- author: "",
124
- button: "",
125
- buttonUrlApple: "",
126
- buttonUrlGoogle: "",
127
- closeLabel: "",
128
- enabled: false,
129
- iconApple: "",
130
- iconGoogle: "",
131
- price: "",
132
- priceSuffixApple: "",
133
- priceSuffixGoogle: "",
134
- title: "",
135
- },
136
- smsNotifications: {
137
- enabled: false,
138
- getEnrollmentUrl: "",
139
- postEnrollmentUrl: "",
140
- },
141
- specialRequestItems: false,
142
- vouchers: {
143
- enabled: false,
144
- reCaptcha: false,
145
- },
146
- },
147
- pdpSettings: {
148
- nutritionZone: "us",
149
- pdpDetailsLayout: {
150
- desktop: {
151
- left: [
152
- "productSalesInfo",
153
- "productDescription",
154
- "productIngredients",
155
- "productNutrition",
156
- "sodiumWarning",
157
- "productNumber",
158
- ],
159
- right: ["recommendations"],
160
- },
161
- mobile: {
162
- left: [
163
- "productSalesInfo",
164
- "productDescription",
165
- "productNumber",
166
- "sodiumWarning",
167
- "recommendations",
168
- ],
169
- right: [
170
- "productIngredients",
171
- "productNutrition",
172
- "recommendations",
173
- "productNumber",
174
- ],
175
- },
176
- },
177
- sodiumWarning: {
178
- isEnabled: false,
179
- threshold: 2300,
180
- },
181
- },
182
- productCard: {
183
- limitProductCardTitleHeight: true,
184
- productCards: {
185
- carouselsRowLength: {
186
- desktop: 6,
187
- mobile: 1,
188
- tablet: 4,
189
- },
190
- gridRowLength: {
191
- desktop: 5,
192
- mobile: 1,
193
- tablet: 3,
194
- },
195
- productCard: {
196
- enabled: false,
197
- layouts: {
198
- ContainersCarousel: "default",
199
- ContainersGrid: "default",
200
- },
201
- components: {
202
- promotionLabel: {
203
- showLines: 1,
204
- },
205
- },
206
- },
207
- },
208
- productCardTitleHeight: 40,
209
- },
210
- siteSettings: {
211
- anonymousCart: false,
212
- ctaButtons: null,
213
- daysToRemainSignedIn: 30,
214
- defaultCountry: "USA",
215
- defaultSearchParams: {
216
- page: "1",
217
- q: "*",
218
- skip: "0",
219
- take: "30",
220
- },
221
- defaultShoppingMode: "pickup",
222
- defaultStoreLocation: {
223
- latitude: 0,
224
- longitude: 0,
225
- },
226
- disableTprPrice: false,
227
- footerVersion: "default",
228
- googleAutocompleteSettings: {},
229
- gtmId: "",
230
- hideWelcomeModalOnCorporate: false,
231
- isPlanningOnly: false,
232
- RemoveAllOutOfStock: true,
233
- mainHeaderHeight: 110,
234
- maintainCustomerJourney: true,
235
- maintainCustomerPreferences: {
236
- enabled: false,
237
- sections: {
238
- marketingPreferences: [],
239
- },
240
- },
241
- mapZoom: 8,
242
- promoTemplateVersion: 1,
243
- restrictMapPlacesResults: {
244
- fetchNearStoresSettings: {
245
- kmRange: 20,
246
- totalTake: 30,
247
- },
248
- },
249
- retailerCountry: "us",
250
- retailerName: "default",
251
- searchPreview: {
252
- desktop: {
253
- products: true,
254
- suggestions: true,
255
- },
256
- mobile: {
257
- products: true,
258
- suggestions: true,
259
- },
260
- },
261
- subHeaderHeight: 0,
262
- timeslotModalSettings: {
263
- showOnAddToCart: false,
264
- timeslotRequiredToAddToCart: false,
265
- timeslotRequiredToViewCartReview: false,
266
- timeslotRequiredToViewCheckout: false,
267
- },
268
- useContentEngineV2Components: {
269
- Carousel: false,
270
- SmallCarousel: false,
271
- Freeform: false,
272
- ContactUs: false,
273
- HeroBanner: false,
274
- Image: false,
275
- Video: false,
276
- VideoWithContent: false,
277
- ImageWithContent: false,
278
- ImageTextButton: false,
279
- SmallPromotion: false,
280
- SmallImageWithContent: false,
281
- LargePromotion: false,
282
- TwoBannerContainer: false,
283
- ThreeBannerContainer: false,
284
- Sale: false,
285
- SmallBannerWithBackgroundImage: false,
286
- SmallBannerWithSupportingImage: false,
287
- ProductCardStory: false,
288
- Recipe: false,
289
- },
290
- },
291
- };
292
- exports.default = DefaultConfigSFUI;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var DefaultConfigSFUI = {
4
+ accountPage: {
5
+ idp: {
6
+ enabled: false,
7
+ target: "_self",
8
+ url: "",
9
+ },
10
+ loyaltyTab: {
11
+ disabledEdit: false,
12
+ enabled: false,
13
+ loyaltyNumberLength: 11,
14
+ loyaltyNumberPrefix: "",
15
+ loyaltyValidationType: [],
16
+ },
17
+ profileTab: {
18
+ deleteAccountButton: false,
19
+ },
20
+ },
21
+ addressSettings: {
22
+ addressValidationTypes: {
23
+ addressLine1: ["alphaNumeric", "required"],
24
+ addressLine2: ["alphaNumeric"],
25
+ city: ["alphaNumeric", "required"],
26
+ countyProvinceState: ["usState", "required"],
27
+ familyName: ["alphaOnly", "required"],
28
+ firstName: ["alphaOnly", "required"],
29
+ instructions: ["alphaNumeric"],
30
+ phoneNumber: ["usPhone", "required"],
31
+ postCode: ["usPostCode", "required"],
32
+ smsNumber: [],
33
+ },
34
+ eircode: {
35
+ enabled: false,
36
+ url: "",
37
+ },
38
+ integration: {
39
+ addNewAddressUrl: "",
40
+ addressFinderType: "AUS",
41
+ deleteAddressUrl: "",
42
+ editAddressUrl: "",
43
+ enabled: false,
44
+ useForNewAddresses: false,
45
+ },
46
+ useAddressValidation: true,
47
+ },
48
+ adminPanelOnly: {
49
+ bannerName: "New banner name",
50
+ logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
51
+ },
52
+ cartSummary: {
53
+ hideTaxOnSummary: false,
54
+ showTaxGroups: true,
55
+ showTaxTotal: true,
56
+ },
57
+ checkout: {
58
+ checkoutValidation: {
59
+ instructions: ["alphaNumeric", "notWhiteSpacesOnly"],
60
+ phoneNumber: ["usPhone", "required"],
61
+ smsNumber: [],
62
+ },
63
+ houseAccountRegExValidation: ".",
64
+ minimumCreditCardAmount: 1.0,
65
+ numericPhonePayload: false,
66
+ paymentCards: {
67
+ AmExpCard: true,
68
+ DiscoverCard: true,
69
+ MasterCard: true,
70
+ VisaCard: true,
71
+ },
72
+ forceDeliverySection: false,
73
+ enableInterimModal: false,
74
+ },
75
+ features: {
76
+ additionalCharges: false,
77
+ addressIntegrationV2: false,
78
+ advertSettings: {},
79
+ allowInStorePurchases: false,
80
+ allowPastPurchases: true,
81
+ clientCache: false,
82
+ couponGallery: {
83
+ enabled: false,
84
+ galleryHasNavLink: false,
85
+ galleryIsIframe: false,
86
+ },
87
+ ebtPayments: false,
88
+ enableGoogleTranslate: false,
89
+ enableNewsletterSignup: false,
90
+ enableNotifications: false,
91
+ entryModalVersion: "entry",
92
+ externalStoreSelectorUrl: {
93
+ enabled: false,
94
+ url: "",
95
+ },
96
+ favoritesV1: false,
97
+ flipp: null,
98
+ giftCards: {
99
+ enabled: false,
100
+ giftCardInputValidation: "^[0-9]{17}$",
101
+ pinInputValidation: "^[0-9]{4}$",
102
+ reCaptcha: false,
103
+ },
104
+ globalAnimations: {
105
+ confetti: {
106
+ enableConfettiAnimation: true,
107
+ },
108
+ },
109
+ hideAlcoholRule: {
110
+ modal: false,
111
+ pdp: false,
112
+ productCard: false,
113
+ },
114
+ instacart: {
115
+ enabled: false,
116
+ url: "",
117
+ },
118
+ registrationFields: [],
119
+ secondTierAuthorization: undefined,
120
+ showCheckoutPromoCode: true,
121
+ showImgOnOrder: false,
122
+ smartbanner: {
123
+ author: "",
124
+ button: "",
125
+ buttonUrlApple: "",
126
+ buttonUrlGoogle: "",
127
+ closeLabel: "",
128
+ enabled: false,
129
+ iconApple: "",
130
+ iconGoogle: "",
131
+ price: "",
132
+ priceSuffixApple: "",
133
+ priceSuffixGoogle: "",
134
+ title: "",
135
+ },
136
+ smsNotifications: {
137
+ enabled: false,
138
+ getEnrollmentUrl: "",
139
+ postEnrollmentUrl: "",
140
+ },
141
+ specialRequestItems: false,
142
+ vouchers: {
143
+ enabled: false,
144
+ reCaptcha: false,
145
+ },
146
+ promotionDetailsPage: {
147
+ bundlePromotionCalculator: true,
148
+ nonBundlePromotionCalculator: true,
149
+ },
150
+ },
151
+ pdpSettings: {
152
+ nutritionZone: "us",
153
+ pdpDetailsLayout: {
154
+ desktop: {
155
+ left: [
156
+ "productSalesInfo",
157
+ "productDescription",
158
+ "productIngredients",
159
+ "productNutrition",
160
+ "sodiumWarning",
161
+ "productNumber",
162
+ ],
163
+ right: ["recommendations"],
164
+ },
165
+ mobile: {
166
+ left: [
167
+ "productSalesInfo",
168
+ "productDescription",
169
+ "productNumber",
170
+ "sodiumWarning",
171
+ "recommendations",
172
+ ],
173
+ right: [
174
+ "productIngredients",
175
+ "productNutrition",
176
+ "recommendations",
177
+ "productNumber",
178
+ ],
179
+ },
180
+ },
181
+ sodiumWarning: {
182
+ isEnabled: false,
183
+ threshold: 2300,
184
+ },
185
+ },
186
+ productCard: {
187
+ limitProductCardTitleHeight: true,
188
+ productCards: {
189
+ carouselsRowLength: {
190
+ desktop: 6,
191
+ mobile: 1,
192
+ tablet: 4,
193
+ },
194
+ gridRowLength: {
195
+ desktop: 5,
196
+ mobile: 1,
197
+ tablet: 3,
198
+ },
199
+ productCard: {
200
+ enabled: false,
201
+ layouts: {
202
+ ContainersCarousel: "default",
203
+ ContainersGrid: "default",
204
+ },
205
+ components: {
206
+ promotionLabel: {
207
+ showLines: 1,
208
+ },
209
+ },
210
+ },
211
+ },
212
+ productCardTitleHeight: 40,
213
+ },
214
+ siteSettings: {
215
+ anonymousCart: false,
216
+ ctaButtons: null,
217
+ daysToRemainSignedIn: 30,
218
+ defaultCountry: "USA",
219
+ defaultSearchParams: {
220
+ page: "1",
221
+ q: "*",
222
+ skip: "0",
223
+ take: "30",
224
+ },
225
+ defaultShoppingMode: "pickup",
226
+ defaultStoreLocation: {
227
+ latitude: 0,
228
+ longitude: 0,
229
+ },
230
+ disableTprPrice: false,
231
+ footerVersion: "default",
232
+ googleAutocompleteSettings: {},
233
+ gtmId: "",
234
+ hideWelcomeModalOnCorporate: false,
235
+ isPlanningOnly: false,
236
+ RemoveAllOutOfStock: true,
237
+ mainHeaderHeight: 110,
238
+ maintainCustomerJourney: true,
239
+ maintainCustomerPreferences: {
240
+ enabled: false,
241
+ sections: {
242
+ marketingPreferences: [],
243
+ },
244
+ optInMarketingPreferences: false
245
+ },
246
+ mapZoom: 8,
247
+ promoTemplateVersion: 1,
248
+ restrictMapPlacesResults: {
249
+ fetchNearStoresSettings: {
250
+ kmRange: 20,
251
+ totalTake: 30,
252
+ },
253
+ },
254
+ retailerCountry: "us",
255
+ retailerName: "default",
256
+ searchPreview: {
257
+ desktop: {
258
+ products: true,
259
+ suggestions: true,
260
+ },
261
+ mobile: {
262
+ products: true,
263
+ suggestions: true,
264
+ },
265
+ },
266
+ subHeaderHeight: 0,
267
+ timeslotModalSettings: {
268
+ showOnAddToCart: false,
269
+ timeslotRequiredToAddToCart: false,
270
+ timeslotRequiredToViewCartReview: false,
271
+ timeslotRequiredToViewCheckout: false,
272
+ },
273
+ useContentEngineV2Components: {
274
+ Carousel: false,
275
+ SmallCarousel: false,
276
+ Freeform: false,
277
+ ContactUs: false,
278
+ HeroBanner: false,
279
+ Image: false,
280
+ Video: false,
281
+ VideoWithContent: false,
282
+ ImageWithContent: false,
283
+ ImageTextButton: false,
284
+ SmallPromotion: false,
285
+ SmallImageWithContent: false,
286
+ LargePromotion: false,
287
+ TwoBannerContainer: false,
288
+ ThreeBannerContainer: false,
289
+ Sale: false,
290
+ SmallBannerWithBackgroundImage: false,
291
+ SmallBannerWithSupportingImage: false,
292
+ ProductCardStory: false,
293
+ Recipe: false,
294
+ },
295
+ },
296
+ };
297
+ exports.default = DefaultConfigSFUI;
@@ -1,5 +1,5 @@
1
- import { IDefaultColors, IDefaultThemeInterface, IGlobalDefaultTheme } from "../interfaces/default-theme.interface";
2
- declare const DefaultThemeSFUI: (colors?: IDefaultColors) => IDefaultThemeInterface;
3
- export default DefaultThemeSFUI;
4
- export declare const globalTheme: IGlobalDefaultTheme;
5
- export declare const DefaultThemeColors: IDefaultColors;
1
+ import { IDefaultColors, IDefaultThemeInterface, IGlobalDefaultTheme } from "../interfaces/default-theme.interface";
2
+ declare const DefaultThemeSFUI: (colors?: IDefaultColors) => IDefaultThemeInterface;
3
+ export default DefaultThemeSFUI;
4
+ export declare const globalTheme: IGlobalDefaultTheme;
5
+ export declare const DefaultThemeColors: IDefaultColors;