@thryveai/theme-interfaces 2.3.12 → 2.3.15

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 (39) hide show
  1. package/package.json +18 -18
  2. package/dist/index.d.ts +0 -25
  3. package/dist/index.js +0 -29
  4. package/dist/interfaces/admin-images-interfaces.d.ts +0 -11
  5. package/dist/interfaces/admin-images-interfaces.js +0 -2
  6. package/dist/interfaces/admin-settings-interfaces.d.ts +0 -51
  7. package/dist/interfaces/admin-settings-interfaces.js +0 -2
  8. package/dist/interfaces/default-settings.interfaces.d.ts +0 -78
  9. package/dist/interfaces/default-settings.interfaces.js +0 -2
  10. package/dist/interfaces/default-theme.interface.d.ts +0 -694
  11. package/dist/interfaces/default-theme.interface.js +0 -2
  12. package/dist/interfaces/icons.interfaces.d.ts +0 -7
  13. package/dist/interfaces/icons.interfaces.js +0 -124
  14. package/dist/interfaces/retailer-settings.interfaces.d.ts +0 -369
  15. package/dist/interfaces/retailer-settings.interfaces.js +0 -2
  16. package/dist/interfaces/sts-settings.interfaces.d.ts +0 -6
  17. package/dist/interfaces/sts-settings.interfaces.js +0 -2
  18. package/dist/interfaces/theme.interfaces.d.ts +0 -695
  19. package/dist/interfaces/theme.interfaces.js +0 -2
  20. package/dist/storefront/SFUIImagesTemplate.AdminUi.d.ts +0 -2
  21. package/dist/storefront/SFUIImagesTemplate.AdminUi.js +0 -112
  22. package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +0 -3
  23. package/dist/storefront/SFUISettingsTemplate.AdminUi.js +0 -862
  24. package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +0 -3
  25. package/dist/storefront/SFUIThemesTemplate.AdminUi.js +0 -113
  26. package/dist/storefront/defaultImagesStorefront.d.ts +0 -3
  27. package/dist/storefront/defaultImagesStorefront.js +0 -96
  28. package/dist/storefront/defaultSettingsStorefront.d.ts +0 -3
  29. package/dist/storefront/defaultSettingsStorefront.js +0 -256
  30. package/dist/storefront/defaultThemeStorefront.d.ts +0 -5
  31. package/dist/storefront/defaultThemeStorefront.js +0 -1155
  32. package/dist/sts/STSImagesTemplate.AdminUi.d.ts +0 -2
  33. package/dist/sts/STSImagesTemplate.AdminUi.js +0 -50
  34. package/dist/sts/STSSettingsTemplate.AdminUi.d.ts +0 -2
  35. package/dist/sts/STSSettingsTemplate.AdminUi.js +0 -30
  36. package/dist/sts/defaultSettingsSts.d.ts +0 -3
  37. package/dist/sts/defaultSettingsSts.js +0 -9
  38. package/dist/theme-templates/index.d.ts +0 -3
  39. package/dist/theme-templates/index.js +0 -8
@@ -1,3 +0,0 @@
1
- import { IAdminThemeTemplateOptions, IAdminThemeTemplateSFUI } from "../interfaces/admin-settings-interfaces";
2
- export declare const AdminThemeTemplateSFUI: IAdminThemeTemplateSFUI;
3
- export declare const AdminThemeTemplateOptions: IAdminThemeTemplateOptions;
@@ -1,113 +0,0 @@
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
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.AdminThemeTemplateOptions = exports.AdminThemeTemplateSFUI = void 0;
15
- var SFUISettingsTemplate_AdminUi_1 = require("./SFUISettingsTemplate.AdminUi");
16
- var ColorFields = {
17
- description: " ",
18
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.color,
19
- };
20
- var ColorFieldsDescription = 'This color is not used by all themes, so it could be empty.';
21
- exports.AdminThemeTemplateSFUI = {
22
- colors: {
23
- title: "Colors",
24
- description: " ",
25
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
26
- value: {
27
- brandColors: {
28
- title: "Brand Colors",
29
- description: "",
30
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
31
- value: {
32
- primary1: __assign({ title: "Primary1" }, ColorFields),
33
- primary2: __assign({ title: "Primary2" }, ColorFields),
34
- primary3: __assign({ title: "Primary3" }, ColorFields),
35
- primary4: __assign({ title: "Primary4" }, ColorFields),
36
- primary5: __assign({ title: "Primary5" }, ColorFields),
37
- secondary1: __assign({ title: "Secondary1" }, ColorFields),
38
- secondary2: __assign({ title: "Secondary2" }, ColorFields),
39
- secondary3: __assign({ title: "Secondary3" }, ColorFields),
40
- secondary4: __assign({ title: "Secondary4" }, ColorFields),
41
- secondary5: __assign({ title: "Secondary5" }, ColorFields),
42
- tertiary1: __assign({ title: "Tertiary1" }, ColorFields),
43
- tertiary2: __assign({ title: "Tertiary2" }, ColorFields),
44
- tertiary3: __assign({ title: "Tertiary3" }, ColorFields),
45
- tertiary4: __assign(__assign({ title: "Tertiary4" }, ColorFields), { description: ColorFieldsDescription }),
46
- tertiary5: __assign(__assign({ title: "Tertiary5" }, ColorFields), { description: ColorFieldsDescription }),
47
- }
48
- },
49
- uiColors: {
50
- title: "UI Colors",
51
- description: "",
52
- type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
53
- value: {
54
- success: __assign({ title: "Success" }, ColorFields),
55
- successDark: __assign({ title: "Success Dark" }, ColorFields),
56
- successLight: __assign({ title: "Success Light" }, ColorFields),
57
- warn: __assign({ title: "Warn" }, ColorFields),
58
- warnDark: __assign({ title: "Warn Dark" }, ColorFields),
59
- warnLight: __assign({ title: "Warn Light" }, ColorFields),
60
- alert: __assign({ title: "Alert" }, ColorFields),
61
- alertDark: __assign({ title: "Alert Dark" }, ColorFields),
62
- alertLight: __assign({ title: "Alert Light" }, ColorFields),
63
- promotion1: __assign({ title: "Promotion1" }, ColorFields),
64
- promotion2: __assign({ title: "Promotion2" }, ColorFields),
65
- greyscale1: __assign({ title: "Greyscale1" }, ColorFields),
66
- greyscale2: __assign({ title: "Greyscale2" }, ColorFields),
67
- greyscale3: __assign({ title: "Greyscale3" }, ColorFields),
68
- greyscale4: __assign({ title: "Greyscale4" }, ColorFields),
69
- greyscale5: __assign({ title: "Greyscale5" }, ColorFields),
70
- greyscale6: __assign({ title: "Greyscale6" }, ColorFields),
71
- greyscale7: __assign({ title: "Greyscale7" }, ColorFields),
72
- }
73
- },
74
- },
75
- },
76
- // typography: {
77
- // title: "Typography",
78
- // description: "",
79
- // type: AdminTemplateInputTypes.object,
80
- // value: {
81
- // text: {
82
- // title: "Text",
83
- // description: "",
84
- // type: AdminTemplateInputTypes.collapsableObject,
85
- // value: {
86
- // body: {
87
- // title: "Body",
88
- // description: "Main font styles for the body text",
89
- // type: AdminTemplateInputTypes.collapsableObject,
90
- // value: {
91
- // fontFamily: {
92
- // title: "Font Family",
93
- // description: "",
94
- // type: AdminTemplateInputTypes.inputChar
95
- // },
96
- // color: {
97
- // title: "Color",
98
- // description: "",
99
- // type: AdminTemplateInputTypes.inputChar
100
- // },
101
- // }
102
- // }
103
- // }
104
- // },
105
- // }
106
- // }
107
- };
108
- exports.AdminThemeTemplateOptions = {
109
- title: 'Retailer Theme Template',
110
- description: 'Please read the documentation before selecting a template.',
111
- helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304521749/Admin+UI+Themes',
112
- options: ["Default STS", "Default Storefront"],
113
- };
@@ -1,3 +0,0 @@
1
- import { IDefaultThemeImages } from "../interfaces/default-theme.interface";
2
- declare const DefaultImagesSFUI: IDefaultThemeImages;
3
- export default DefaultImagesSFUI;
@@ -1,96 +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
- };
96
- exports.default = DefaultImagesSFUI;
@@ -1,3 +0,0 @@
1
- import { IDefaultRetailerSettings } from "../interfaces/default-settings.interfaces";
2
- declare const DefaultConfigSFUI: IDefaultRetailerSettings;
3
- export default DefaultConfigSFUI;
@@ -1,256 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var DefaultConfigSFUI = {
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
- advertSettings: {},
9
- timeslotModalSettings: {
10
- showOnAddToCart: false,
11
- timeslotRequiredToAddToCart: false,
12
- timeslotRequiredToViewCartReview: false,
13
- },
14
- accountPage: {
15
- loyaltyTab: {
16
- disabledEdit: false,
17
- enabled: false,
18
- loyaltyNumberLength: 11,
19
- loyaltyNumberPrefix: "",
20
- loyaltyValidationType: [],
21
- },
22
- },
23
- addresses: {
24
- addressValidationTypes: {
25
- addressLine1: ["alphaNumeric", "required"],
26
- addressLine2: ["alphaNumeric"],
27
- city: ["alphaNumeric", "required"],
28
- countyProvinceState: ["usState", "required"],
29
- familyName: ["alphaOnly", "required"],
30
- firstName: ["alphaOnly", "required"],
31
- instructions: ["alphaNumeric"],
32
- phoneNumber: ["usPhone", "required"],
33
- postCode: ["usPostCode", "required"],
34
- },
35
- canadianAddressCompleteKey: undefined,
36
- eircodeUrl: undefined,
37
- integration: {
38
- addNewAddressUrl: undefined,
39
- deleteAddressUrl: undefined,
40
- editAddressUrl: undefined,
41
- },
42
- useAddressValidation: true,
43
- },
44
- addressValidationTypes: {
45
- addressLine1: ["alphaNumeric", "required"],
46
- addressLine2: ["alphaNumeric"],
47
- city: ["alphaNumeric", "required"],
48
- countyProvinceState: ["usState", "required"],
49
- familyName: ["alphaOnly", "required"],
50
- firstName: ["alphaOnly", "required"],
51
- instructions: ["alphaNumeric"],
52
- phoneNumber: ["usPhone", "required"],
53
- postCode: ["usPostCode", "required"],
54
- },
55
- addressIntegration: {
56
- enabled: false,
57
- addressFinderType: "AUS",
58
- 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",
59
- 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",
60
- },
61
- allowInStorePurchases: false,
62
- allowPastPurchases: true,
63
- buildNumber: "default",
64
- cacheTimeMins: 1,
65
- canadianAddressCompleteKey: undefined,
66
- checkoutV1: false,
67
- disableAddressOnDelivery: false,
68
- favoritesV1: false,
69
- checkout: {
70
- numericPhonePayload: false,
71
- },
72
- checkoutValidation: {
73
- instructions: ["alphaNumeric", "notWhiteSpacesOnly"],
74
- phoneNumber: ["usPhone", "required"],
75
- smsNumber: [],
76
- },
77
- ctaButtons: null,
78
- defaultCountry: "USA",
79
- defaultSearchParams: {
80
- page: "1",
81
- q: "*",
82
- skip: "0",
83
- take: "30",
84
- },
85
- defaultShoppingMode: "pickup",
86
- defaultStoreLocation: {
87
- latitude: 0,
88
- longitude: 0,
89
- },
90
- disableTprPrice: false,
91
- documentTitle: "ThryveAI Commerce",
92
- eircode: undefined,
93
- enable3dSecure: false,
94
- enableGoogleTranslate: false,
95
- enableNewsletterSignup: false,
96
- enableNotifications: false,
97
- errorLoggingLevel: "error",
98
- externalStoreSelectorUrl: undefined,
99
- flipp: null,
100
- gtmId: undefined,
101
- hideTaxOnSummary: false,
102
- houseAccountRegExValidation: ".",
103
- idpTarget: "_self",
104
- idpUrl: undefined,
105
- instacartUrl: undefined,
106
- isPlanningOnly: false,
107
- layout: {
108
- footerVersion: "default",
109
- },
110
- limitProductCardTitleHeight: true,
111
- loggingLevelClient: "error",
112
- loggingLevelServer: "error",
113
- mainHeaderHeight: 110,
114
- mapZoom: 8,
115
- minimumCreditCardAmount: 1.0,
116
- nutritionZone: "us",
117
- paymentCards: {
118
- AmExpCard: true,
119
- DiscoverCard: true,
120
- MasterCard: true,
121
- VisaCard: true,
122
- },
123
- pdpDetailsLayout: {
124
- desktop: {
125
- left: [
126
- "productSalesInfo",
127
- "productDescription",
128
- "productIngredients",
129
- "productNutrition",
130
- "sodiumWarning",
131
- "productNumber",
132
- ],
133
- right: ["recommendations"],
134
- },
135
- mobile: {
136
- left: [
137
- "productSalesInfo",
138
- "productDescription",
139
- "productNumber",
140
- "sodiumWarning",
141
- "recommendations",
142
- ],
143
- right: [
144
- "productIngredients",
145
- "productNutrition",
146
- "recommendations",
147
- "productNumber",
148
- ],
149
- },
150
- },
151
- productCardTitleHeight: 40,
152
- registrationFields: [],
153
- retailerCountry: "us",
154
- retailerName: "default",
155
- daysToRemainSignedIn: 30,
156
- searchPreview: {
157
- desktop: {
158
- products: true,
159
- suggestions: true,
160
- },
161
- mobile: {
162
- products: true,
163
- suggestions: true,
164
- },
165
- },
166
- secondTierAuthorization: undefined,
167
- showCheckoutPromoCode: true,
168
- showImgOnOrder: false,
169
- smsNotifications: {
170
- enabled: false,
171
- getEnrollmentUrl: "",
172
- postEnrollmentUrl: "",
173
- },
174
- subHeaderHeight: 0,
175
- promoTemplateVersion: 1,
176
- useAddressValidation: true,
177
- restrictMapPlacesResults: {
178
- fetchNearStoresSettings: {
179
- kmRange: 20,
180
- totalTake: 30,
181
- },
182
- },
183
- globalAnimations: {
184
- confetti: {
185
- enableConfettiAnimation: true,
186
- },
187
- },
188
- googleAutocompleteSettings: {},
189
- features: {
190
- additionalCharges: false,
191
- clientCache: false,
192
- giftCards: {
193
- enabled: false,
194
- gitfCardInputValidation: "^[0-9]{17}$",
195
- pinInputValidation: "^[0-9]{4}$",
196
- reCaptcha: false,
197
- },
198
- vouchers: {
199
- enabled: false,
200
- reCaptcha: false,
201
- },
202
- smartbanner: {
203
- enabled: false,
204
- author: "",
205
- button: "",
206
- buttonUrlApple: "",
207
- buttonUrlGoogle: "",
208
- closeLabel: "",
209
- iconApple: "",
210
- iconGoogle: "",
211
- price: "",
212
- priceSuffixApple: "",
213
- priceSuffixGoogle: "",
214
- title: "",
215
- },
216
- },
217
- siteSettings: {
218
- anonymousCart: false,
219
- },
220
- specialRequestItems: false,
221
- sodiumWarning: {
222
- isEnabled: false,
223
- threshold: 2300,
224
- },
225
- productCards: {
226
- gridRowLength: {
227
- tablet: 3,
228
- desktop: 5,
229
- mobile: 1,
230
- },
231
- carouselsRowLength: {
232
- desktop: 6,
233
- tablet: 4,
234
- mobile: 1,
235
- },
236
- productCard: {
237
- enabled: false,
238
- layouts: {
239
- ContainersGrid: "default",
240
- ContainersCarousel: "default",
241
- },
242
- },
243
- },
244
- layouts: {
245
- cartSummary: {
246
- showTaxTotal: true,
247
- showTaxGroups: true,
248
- },
249
- couponGallery: {
250
- enabled: false,
251
- galleryIsIframe: false,
252
- },
253
- },
254
- productCardv2: false,
255
- };
256
- exports.default = DefaultConfigSFUI;
@@ -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;