@thryveai/theme-interfaces 2.7.115 → 2.7.117

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 (62) hide show
  1. package/README.md +29 -29
  2. package/package.json +29 -29
  3. package/dist/index.d.ts +0 -38
  4. package/dist/index.js +0 -41
  5. package/dist/interfaces/admin-images-interfaces.d.ts +0 -11
  6. package/dist/interfaces/admin-images-interfaces.js +0 -2
  7. package/dist/interfaces/admin-settings-interfaces.d.ts +0 -73
  8. package/dist/interfaces/admin-settings-interfaces.js +0 -2
  9. package/dist/interfaces/default-settings.interfaces.d.ts +0 -92
  10. package/dist/interfaces/default-settings.interfaces.js +0 -3
  11. package/dist/interfaces/default-theme.interface.d.ts +0 -736
  12. package/dist/interfaces/default-theme.interface.js +0 -2
  13. package/dist/interfaces/icons.interfaces.d.ts +0 -7
  14. package/dist/interfaces/icons.interfaces.js +0 -2
  15. package/dist/interfaces/retailer-settings.interfaces.d.ts +0 -696
  16. package/dist/interfaces/retailer-settings.interfaces.js +0 -2
  17. package/dist/interfaces/shared-settings-interfaces.d.ts +0 -5
  18. package/dist/interfaces/shared-settings-interfaces.js +0 -2
  19. package/dist/interfaces/shared-settings.interfaces.d.ts +0 -31
  20. package/dist/interfaces/shared-settings.interfaces.js +0 -2
  21. package/dist/interfaces/sts-settings.interfaces.d.ts +0 -6
  22. package/dist/interfaces/sts-settings.interfaces.js +0 -2
  23. package/dist/interfaces/theme.interfaces.d.ts +0 -717
  24. package/dist/interfaces/theme.interfaces.js +0 -2
  25. package/dist/mobile/interfaces/mobile-admin-settings.interfaces.d.ts +0 -8
  26. package/dist/mobile/interfaces/mobile-admin-settings.interfaces.js +0 -2
  27. package/dist/mobile/interfaces/mobile-retailer-settings.interfaces.d.ts +0 -58
  28. package/dist/mobile/interfaces/mobile-retailer-settings.interfaces.js +0 -2
  29. package/dist/mobile/reactnative/MobileDefaultSettings.d.ts +0 -6
  30. package/dist/mobile/reactnative/MobileDefaultSettings.js +0 -21
  31. package/dist/mobile/reactnative/MobileSettingsTemplate.AdminUi.d.ts +0 -2
  32. package/dist/mobile/reactnative/MobileSettingsTemplate.AdminUi.js +0 -96
  33. package/dist/storefront/SFUIImagesTemplate.AdminUi.d.ts +0 -2
  34. package/dist/storefront/SFUIImagesTemplate.AdminUi.js +0 -112
  35. package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +0 -16
  36. package/dist/storefront/SFUISettingsTemplate.AdminUi.js +0 -1110
  37. package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.d.ts +0 -4
  38. package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.js +0 -132
  39. package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +0 -3
  40. package/dist/storefront/SFUIThemesTemplate.AdminUi.js +0 -113
  41. package/dist/storefront/contentEngineComponents.d.ts +0 -25
  42. package/dist/storefront/contentEngineComponents.js +0 -27
  43. package/dist/storefront/defaultIconsStorefront.d.ts +0 -3
  44. package/dist/storefront/defaultIconsStorefront.js +0 -160
  45. package/dist/storefront/defaultImagesStorefront.d.ts +0 -3
  46. package/dist/storefront/defaultImagesStorefront.js +0 -100
  47. package/dist/storefront/defaultSettingsStorefront.d.ts +0 -3
  48. package/dist/storefront/defaultSettingsStorefront.js +0 -395
  49. package/dist/storefront/defaultSharedSettings.d.ts +0 -3
  50. package/dist/storefront/defaultSharedSettings.js +0 -29
  51. package/dist/storefront/defaultThemeStorefront.d.ts +0 -5
  52. package/dist/storefront/defaultThemeStorefront.js +0 -1207
  53. package/dist/storefront/productBadgeAttributes.d.ts +0 -6
  54. package/dist/storefront/productBadgeAttributes.js +0 -31
  55. package/dist/sts/STSImagesTemplate.AdminUi.d.ts +0 -2
  56. package/dist/sts/STSImagesTemplate.AdminUi.js +0 -72
  57. package/dist/sts/STSSettingsTemplate.AdminUi.d.ts +0 -2
  58. package/dist/sts/STSSettingsTemplate.AdminUi.js +0 -30
  59. package/dist/sts/defaultSettingsSts.d.ts +0 -3
  60. package/dist/sts/defaultSettingsSts.js +0 -9
  61. package/dist/theme-templates/index.d.ts +0 -3
  62. package/dist/theme-templates/index.js +0 -8
@@ -1,3 +0,0 @@
1
- import { IDefaultThemeImages } from "../interfaces/default-theme.interface";
2
- declare const DefaultImagesSFUI: IDefaultThemeImages;
3
- export default DefaultImagesSFUI;
@@ -1,100 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var imageBucket = "https://www";
4
- var DefaultImagesSFUI = {
5
- icons: "/assets/icons.js",
6
- logos: {
7
- primary: "".concat(imageBucket, "/img/primary-logo.png"),
8
- primaryMobile: "".concat(imageBucket, "/img/primary-logo.png"),
9
- sts: "".concat(imageBucket, "/img/primary-logo.png"),
10
- stsMobile: "".concat(imageBucket, "/img/primary-logo.png"),
11
- },
12
- confirmationPageImage: "".concat(imageBucket, "/img/CheckoutConfirmation_DesktopBG.png"),
13
- stsCheckBox: {
14
- primary: "".concat(imageBucket, "/img/select-check_p1.png"),
15
- empty: "".concat(imageBucket, "/img/select-empty.png"),
16
- success: "".concat(imageBucket, "/img/select-check_success.png"),
17
- },
18
- favicon: "".concat(imageBucket, "/img/mi9-favicon.ico"),
19
- stsFavicon: "".concat(imageBucket, "/img/mi9-favicon.ico"),
20
- rewards: "".concat(imageBucket, "/img/rewards-logo.svg"),
21
- missingImg: {
22
- recipes: "".concat(imageBucket, "/img/missing-Image-Recipe.svg"),
23
- x2: "".concat(imageBucket, "/img/missing-Image-SquareX2.svg"),
24
- x3: "".concat(imageBucket, "/img/missing-Image-SquareX3.svg"),
25
- square: "".concat(imageBucket, "/img/missing-Image-Square.svg"),
26
- },
27
- verifySiteImage: "".concat(imageBucket, "/img/verify-footer-image.png"),
28
- favicons: [
29
- {
30
- rel: "apple-touch-icon",
31
- sizes: "57x57",
32
- href: "".concat(imageBucket, "/favicons/apple-icon-57x57.png"),
33
- },
34
- {
35
- rel: "apple-touch-icon",
36
- sizes: "60x60",
37
- href: "".concat(imageBucket, "/favicons/apple-icon-60x60.png"),
38
- },
39
- {
40
- rel: "apple-touch-icon",
41
- sizes: "72x72",
42
- href: "".concat(imageBucket, "/favicons/apple-icon-72x72.png"),
43
- },
44
- {
45
- rel: "apple-touch-icon",
46
- sizes: "76x76",
47
- href: "".concat(imageBucket, "/favicons/apple-icon-76x76.png"),
48
- },
49
- {
50
- rel: "apple-touch-icon",
51
- sizes: "114x114",
52
- href: "".concat(imageBucket, "/favicons/apple-icon-114x114.png"),
53
- },
54
- {
55
- rel: "apple-touch-icon",
56
- sizes: "120x120",
57
- href: "".concat(imageBucket, "/favicons/apple-icon-120x120.png"),
58
- },
59
- {
60
- rel: "apple-touch-icon",
61
- sizes: "144x144",
62
- href: "".concat(imageBucket, "/favicons/apple-icon-144x144.png"),
63
- },
64
- {
65
- rel: "apple-touch-icon",
66
- sizes: "152x152",
67
- href: "".concat(imageBucket, "/favicons/apple-icon-152x152.png"),
68
- },
69
- {
70
- rel: "apple-touch-icon",
71
- sizes: "180x180",
72
- href: "".concat(imageBucket, "/favicons/apple-icon-180x180.png"),
73
- },
74
- {
75
- rel: "icon",
76
- sizes: "192x192",
77
- href: "".concat(imageBucket, "/favicons/android-icon-192x192.png"),
78
- },
79
- {
80
- rel: "icon",
81
- sizes: "32x32",
82
- href: "".concat(imageBucket, "/favicons/favicon-32x32.png"),
83
- },
84
- {
85
- rel: "icon",
86
- sizes: "96x96",
87
- href: "".concat(imageBucket, "/favicons/favicon-96x96.png"),
88
- },
89
- {
90
- rel: "icon",
91
- sizes: "16x16",
92
- href: "".concat(imageBucket, "/favicons/favicon-16x16.png"),
93
- },
94
- ],
95
- banner: {
96
- src: "",
97
- alt: "",
98
- },
99
- };
100
- exports.default = DefaultImagesSFUI;
@@ -1,3 +0,0 @@
1
- import { IDefaultRetailerSettingsVersion2 } from "../interfaces/default-settings.interfaces";
2
- declare const DefaultConfigSFUI: IDefaultRetailerSettingsVersion2;
3
- export default DefaultConfigSFUI;
@@ -1,395 +0,0 @@
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
- barcodeSettings: {
12
- enabled: false,
13
- },
14
- disabledEdit: false,
15
- enabled: false,
16
- loyaltyNumberLength: 11,
17
- loyaltyNumberPrefix: "",
18
- loyaltyValidationType: [],
19
- },
20
- profileTab: {
21
- deleteAccountButton: false,
22
- },
23
- secondStepRegistration: {
24
- businessAccount: {
25
- enabled: false,
26
- fields: {
27
- company: {
28
- enabled: true,
29
- validationTypes: [{ length: 50, _type: "less" }, "required"],
30
- },
31
- typeOfBusiness: {
32
- enabled: true,
33
- options: [
34
- "administrationOffice",
35
- "education",
36
- "foodService",
37
- "nonProfit",
38
- "youthSports",
39
- ],
40
- validationTypes: ["required"],
41
- },
42
- title: {
43
- enabled: true,
44
- validationTypes: [{ length: 50, _type: "less" }, "required"],
45
- },
46
- },
47
- },
48
- },
49
- },
50
- addressSettings: {
51
- addressValidationTypes: {
52
- addressLine1: ["alphaNumeric", "required"],
53
- addressLine2: ["alphaNumeric"],
54
- city: ["alphaNumeric", "required"],
55
- countyProvinceState: ["usState", "required"],
56
- familyName: ["alphaOnly", "required"],
57
- firstName: ["alphaOnly", "required"],
58
- instructions: ["alphaNumeric"],
59
- phoneNumber: ["usPhone", "required"],
60
- postCode: ["usPostCode", "required"],
61
- smsNumber: [],
62
- deliveryModalZipCodeValidation: [],
63
- },
64
- eircode: {
65
- enabled: false,
66
- url: "",
67
- },
68
- integration: {
69
- addNewAddressUrl: "",
70
- addressFinderType: "AUS",
71
- deleteAddressUrl: "",
72
- editAddressUrl: "",
73
- enabled: false,
74
- useForNewAddresses: false,
75
- addressProfileName: null,
76
- },
77
- useAddressValidation: true,
78
- fixOldAddresses: true,
79
- },
80
- adminPanelOnly: {
81
- bannerName: "New banner name",
82
- logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
83
- },
84
- cartSummary: {
85
- hideTaxOnSummary: false,
86
- showTaxGroups: true,
87
- showTaxTotal: true,
88
- },
89
- checkout: {
90
- smsOptIn: false,
91
- checkoutValidation: {
92
- instructions: ["alphaNumeric", "notWhiteSpacesOnly"],
93
- phoneNumber: ["usPhone", "required"],
94
- smsNumber: [],
95
- },
96
- houseAccountRegExValidation: ".",
97
- minimumCreditCardAmount: 1.0,
98
- numericPhonePayload: false,
99
- paymentCards: {
100
- AmExpCard: true,
101
- DiscoverCard: true,
102
- MasterCard: true,
103
- MasterCardDebit: true,
104
- VisaCard: true,
105
- PayPal: false,
106
- ApplePay: false,
107
- GooglePay: false,
108
- EBT: false,
109
- },
110
- forceDeliverySection: false,
111
- enableInterimModal: false,
112
- },
113
- features: {
114
- additionalCharges: false,
115
- creditBalance: false,
116
- subscriptions: false,
117
- addressIntegrationV2: false,
118
- advertSettings: {},
119
- allowInStorePurchases: false,
120
- allowPastPurchases: true,
121
- clientCache: false,
122
- couponGallery: {
123
- enabled: false,
124
- galleryHasNavLink: false,
125
- galleryIsIframe: false,
126
- },
127
- ebtPayments: false,
128
- emailCartOrShoppingList: false,
129
- enableGoogleTranslate: false,
130
- enableNewsletterSignup: false,
131
- enableNotifications: false,
132
- enableRecipeSearch: false,
133
- entryModalVersion: "entry",
134
- externalStoreSelectorUrl: {
135
- enabled: false,
136
- url: "",
137
- },
138
- favoritesV1: false,
139
- flipp: null,
140
- giftCards: {
141
- enabled: false,
142
- giftCardInputValidation: "^[0-9]{17}$",
143
- pinInputValidation: "^[0-9]{4}$",
144
- reCaptcha: false,
145
- },
146
- globalAnimations: {
147
- confetti: {
148
- enableConfettiAnimation: true,
149
- },
150
- },
151
- hideAlcoholRule: {
152
- modal: false,
153
- pdp: false,
154
- productCard: false,
155
- },
156
- instacart: {
157
- enabled: false,
158
- url: "",
159
- },
160
- recipeLegacyShareLink: true,
161
- registrationFields: [],
162
- secondTierAuthorization: undefined,
163
- showCheckoutPromoCode: true,
164
- showImgOnOrder: false,
165
- smartbanner: {
166
- author: "",
167
- button: "",
168
- buttonUrlApple: "",
169
- buttonUrlGoogle: "",
170
- closeLabel: "",
171
- enabled: false,
172
- iconApple: "",
173
- iconGoogle: "",
174
- price: "",
175
- priceSuffixApple: "",
176
- priceSuffixGoogle: "",
177
- title: "",
178
- },
179
- smsNotifications: {
180
- enabled: false,
181
- getEnrollmentUrl: "",
182
- postEnrollmentUrl: "",
183
- },
184
- specialRequestItems: false,
185
- vouchers: {
186
- enabled: false,
187
- reCaptcha: false,
188
- manualVouchers: true,
189
- },
190
- promotionDetailsPage: {
191
- bundlePromotionCalculator: true,
192
- nonBundlePromotionCalculator: true,
193
- },
194
- gsaSupportedBrowser: true,
195
- acquiaAuthService: false,
196
- },
197
- pdpSettings: {
198
- externalContent: {
199
- enabled: true,
200
- contentProviders: [{ provider: "syndigo" }],
201
- },
202
- nutritionZone: "us",
203
- pdpDetailsLayout: {
204
- desktop: {
205
- left: [
206
- "productSalesInfo",
207
- "productDescription",
208
- "productIngredients",
209
- "productNutrition",
210
- "sodiumWarning",
211
- "productNumber",
212
- ],
213
- right: ["recommendations"],
214
- },
215
- mobile: {
216
- left: [
217
- "productSalesInfo",
218
- "productDescription",
219
- "productNumber",
220
- "sodiumWarning",
221
- "recommendations",
222
- ],
223
- right: [
224
- "productIngredients",
225
- "productNutrition",
226
- "recommendations",
227
- "productNumber",
228
- ],
229
- },
230
- },
231
- sodiumWarning: {
232
- isEnabled: false,
233
- threshold: 2300,
234
- },
235
- productAttributesLayout: {
236
- attributesRank: [],
237
- excludedAttributes: [],
238
- },
239
- nutritionLink: { href: null, target: "_blank" },
240
- priceLoyaltyFlag: false,
241
- },
242
- productCard: {
243
- limitProductCardTitleHeight: true,
244
- productCards: {
245
- carouselsRowLength: {
246
- desktop: 6,
247
- mobile: 1,
248
- tablet: 4,
249
- },
250
- gridRowLength: {
251
- desktop: 5,
252
- mobile: 1,
253
- tablet: 3,
254
- },
255
- productCard: {
256
- enabled: false,
257
- layouts: {
258
- ContainersCarousel: "default",
259
- ContainersGrid: "default",
260
- FlippSlideout: "default",
261
- },
262
- components: {
263
- promotionLabel: {
264
- showLines: 1,
265
- labelSource: "name",
266
- labelsLimit: 1,
267
- labelsPriority: [
268
- { _type: "tprPromo" },
269
- { _type: "pointPromo", limit: 1 },
270
- { _type: "promo", limit: 1 },
271
- ],
272
- },
273
- recommendedLabel: { enabled: false },
274
- productAttributes: {
275
- iconOpacity: 0.6,
276
- },
277
- },
278
- },
279
- },
280
- productCardTitleHeight: 40,
281
- },
282
- siteSettings: {
283
- useAdsV1: false,
284
- advertProductView: false,
285
- clientSideOrderModify: true,
286
- cmsLazyLoadRows: 0,
287
- anonymousCart: false,
288
- ctaButtons: null,
289
- daysToRemainSignedIn: 30,
290
- defaultCountry: "USA",
291
- defaultLanguage: "en-us",
292
- defaultSearchParams: {
293
- page: "1",
294
- q: "*",
295
- skip: "0",
296
- take: "30",
297
- },
298
- defaultShoppingMode: "pickup",
299
- defaultTabView: "listView",
300
- showChangeCustomerEmail: false,
301
- defaultStoreLocation: {
302
- latitude: 0,
303
- longitude: 0,
304
- },
305
- disableTprPrice: false,
306
- mobileViewCardLayout: { enabled: false, defaultView: "List" },
307
- footerVersion: "default",
308
- googleAutocompleteSettings: {},
309
- gtmId: "",
310
- hideWelcomeModalOnCorporate: false,
311
- isPlanningOnly: false,
312
- RemoveAllOutOfStock: true,
313
- mainHeaderHeight: 110,
314
- maintainCustomerJourney: true,
315
- maintainCustomerPreferences: {
316
- enabled: false,
317
- sections: {
318
- marketingPreferences: [],
319
- },
320
- optInMarketingPreferences: false,
321
- selectOptInMarketingPreferencesStore: false,
322
- },
323
- mapZoom: 8,
324
- promoTemplateVersion: 1,
325
- restrictMapPlacesResults: {
326
- fetchNearStoresSettings: {
327
- kmRange: 20,
328
- totalTake: 30,
329
- },
330
- },
331
- retailerCountry: "us",
332
- retailerName: "default",
333
- searchPreview: {
334
- desktop: {
335
- products: true,
336
- suggestions: true,
337
- recipes: true,
338
- },
339
- mobile: {
340
- products: true,
341
- suggestions: true,
342
- recipes: true,
343
- },
344
- },
345
- subHeaderHeight: 0,
346
- timeslotModalSettings: {
347
- showOnAddToCart: false,
348
- timeslotRequiredToAddToCart: false,
349
- timeslotRequiredToViewCartReview: false,
350
- timeslotRequiredToViewCheckout: false,
351
- enableSelectToContinueText: false,
352
- },
353
- useContentEngineV2Components: {
354
- Carousel: true,
355
- ContactUs: false,
356
- Freeform: false,
357
- HeroBanner: false,
358
- Image: false,
359
- ImageTextButton: false,
360
- ImageWithContent: false,
361
- LargePromotion: false,
362
- LayoutExtraLargeBanner2: false,
363
- PageTopperWithFullBackground: false,
364
- ProductCardStory: false,
365
- Recipe: false,
366
- Sale: false,
367
- SmallBannerWithBackgroundImage: false,
368
- SmallBannerWithSupportingImage: false,
369
- SmallCarousel: false,
370
- SmallImageWithContent: false,
371
- SmallPromotion: false,
372
- ThreeBannerContainer: false,
373
- TwoBannerContainer: false,
374
- Video: false,
375
- VideoWithContent: false,
376
- },
377
- isLegacyProductURL: false,
378
- headerLinks: { dimension: 0, enabled: false },
379
- showCartValueOnMobile: false,
380
- cookiePro: { enabled: false, domain: "", src: "" },
381
- scrollToTopButton: {
382
- enabled: false,
383
- percentOffset: { bottom: 15, right: 2 },
384
- },
385
- clientRenderCoupons: true,
386
- showShopAllLink: {
387
- enabled: false,
388
- },
389
- },
390
- welcomeModal: [],
391
- performance: {
392
- vouchersLongTimeout: false,
393
- },
394
- };
395
- exports.default = DefaultConfigSFUI;
@@ -1,3 +0,0 @@
1
- import { ISharedSettings } from "../interfaces/shared-settings.interfaces";
2
- declare const DefaultSharedSettingsConfig: ISharedSettings;
3
- export default DefaultSharedSettingsConfig;
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var DefaultSharedSettingsConfig = {
4
- adminPanelOnly: {
5
- bannerName: "New banner name",
6
- logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
7
- },
8
- features: {
9
- multilingual: false,
10
- specialRequestItems: {
11
- enable: false,
12
- excludeStores: [],
13
- },
14
- couponGallery: {
15
- enabled: false,
16
- },
17
- },
18
- checkout: {
19
- preserveOrderNote: {
20
- enabled: false,
21
- },
22
- },
23
- general: {
24
- enableStoreSelectorList: true,
25
- skipStoreSelection: false,
26
- addressConfirmationModal: false,
27
- },
28
- };
29
- exports.default = DefaultSharedSettingsConfig;
@@ -1,5 +0,0 @@
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;