@thryveai/theme-interfaces 1.4.8-beta2 → 1.4.8-beta6

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,272 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdminThemeTemplate = exports.AdminTemplateInputTypes = void 0;
4
+ exports.AdminTemplateInputTypes = {
5
+ checkbox: "checkbox",
6
+ collapsableObject: "collapsableObject",
7
+ color: "color",
8
+ dropdown: "dropdown",
9
+ inputChar: "inputChar",
10
+ inputNumber: "inputChar",
11
+ multiDropdown: "multiDropdown",
12
+ nullObject: "nullObject",
13
+ object: "object",
14
+ string: "string",
15
+ };
16
+ var buttonGenerator = function (buttonName) { return ({
17
+ title: buttonName + " Button",
18
+ description: "Settings for the " + buttonName + " button",
19
+ type: exports.AdminTemplateInputTypes.collapsableObject,
20
+ value: {
21
+ borderRadius: {
22
+ title: "Border Radius",
23
+ locationInTheme: "data.buttons." + buttonName + ".borderRadius",
24
+ type: exports.AdminTemplateInputTypes.string,
25
+ },
26
+ fontWeight: {
27
+ title: "Font Weight",
28
+ locationInTheme: "data.buttons." + buttonName + ".fontWeight",
29
+ type: exports.AdminTemplateInputTypes.string,
30
+ },
31
+ textTransform: {
32
+ title: "Text Transform",
33
+ locationInTheme: "data.buttons." + buttonName + ".textTransform",
34
+ type: exports.AdminTemplateInputTypes.dropdown,
35
+ options: ["none", "capitalize", "uppercase", "lowercase"],
36
+ },
37
+ static: buttonStateGenerator("static", "data.buttons." + buttonName),
38
+ hover: buttonStateGenerator("hover", "data.buttons." + buttonName),
39
+ clicked: buttonStateGenerator("clicked", "data.buttons." + buttonName),
40
+ disabled: buttonStateGenerator("disabled", "data.buttons." + buttonName),
41
+ },
42
+ }); };
43
+ var buttonStateGenerator = function (stateName, buttonLocation) { return ({
44
+ title: stateName + " Colors",
45
+ description: "How the button will look in " + stateName + " state",
46
+ type: exports.AdminTemplateInputTypes.collapsableObject,
47
+ value: {
48
+ bgColor: {
49
+ title: "Background",
50
+ locationInTheme: buttonLocation + "." + stateName + ".bgColor",
51
+ type: exports.AdminTemplateInputTypes.color,
52
+ },
53
+ borderColor: {
54
+ title: "Border Color",
55
+ locationInTheme: buttonLocation + "." + stateName + ".borderColor",
56
+ type: exports.AdminTemplateInputTypes.color,
57
+ },
58
+ color: {
59
+ title: "Text Color",
60
+ locationInTheme: buttonLocation + "." + stateName + ".color",
61
+ type: exports.AdminTemplateInputTypes.color,
62
+ },
63
+ iconColor: {
64
+ title: "Icon Color (if any)",
65
+ locationInTheme: buttonLocation + "." + stateName + ".iconColor",
66
+ type: exports.AdminTemplateInputTypes.color,
67
+ },
68
+ },
69
+ }); };
70
+ var colorGenerator = function (colorName, colorLocation) { return ({
71
+ title: colorName,
72
+ locationInTheme: colorLocation + "." + colorName,
73
+ type: exports.AdminTemplateInputTypes.color,
74
+ }); };
75
+ exports.AdminThemeTemplate = {
76
+ colors: {
77
+ title: "Colors",
78
+ description: "Change your themes colors",
79
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
80
+ type: exports.AdminTemplateInputTypes.collapsableObject,
81
+ value: {
82
+ brandColors: {
83
+ title: "Brand Colors",
84
+ description: "Change your themes colors",
85
+ type: exports.AdminTemplateInputTypes.collapsableObject,
86
+ value: {
87
+ primary1: colorGenerator("primary1", "data.colors.brandColors"),
88
+ primary2: colorGenerator("primary2", "data.colors.brandColors"),
89
+ primary3: colorGenerator("primary3", "data.colors.brandColors"),
90
+ primary4: colorGenerator("primary4", "data.colors.brandColors"),
91
+ primary5: colorGenerator("primary5", "data.colors.brandColors"),
92
+ secondary1: colorGenerator("secondary1", "data.colors.brandColors"),
93
+ secondary2: colorGenerator("secondary2", "data.colors.brandColors"),
94
+ secondary3: colorGenerator("secondary3", "data.colors.brandColors"),
95
+ secondary4: colorGenerator("secondary4", "data.colors.brandColors"),
96
+ secondary5: colorGenerator("secondary5", "data.colors.brandColors"),
97
+ tertiary1: colorGenerator("tertiary1", "data.colors.brandColors"),
98
+ tertiary2: colorGenerator("tertiary2", "data.colors.brandColors"),
99
+ tertiary3: colorGenerator("tertiary3", "data.colors.brandColors"),
100
+ tertiary4: colorGenerator("tertiary4", "data.colors.brandColors"),
101
+ tertiary5: colorGenerator("tertiary5", "data.colors.brandColors"),
102
+ },
103
+ },
104
+ uiColors: {
105
+ title: "UI Colors",
106
+ description: "Change your themes colors",
107
+ type: exports.AdminTemplateInputTypes.collapsableObject,
108
+ value: {
109
+ success: colorGenerator("success", "data.colors.uiColors"),
110
+ successDark: colorGenerator("successDark", "data.colors.uiColors"),
111
+ successLight: colorGenerator("successLight", "data.colors.uiColors"),
112
+ warn: colorGenerator("warn", "data.colors.uiColors"),
113
+ warnDark: colorGenerator("warnDark", "data.colors.uiColors"),
114
+ warnLight: colorGenerator("warnLight", "data.colors.uiColors"),
115
+ alert: colorGenerator("alert", "data.colors.uiColors"),
116
+ alertDark: colorGenerator("alertDark", "data.colors.uiColors"),
117
+ alertLight: colorGenerator("alertLight", "data.colors.uiColors"),
118
+ greyscale1: colorGenerator("greyscale1", "data.colors.uiColors"),
119
+ greyscale2: colorGenerator("greyscale2", "data.colors.uiColors"),
120
+ greyscale3: colorGenerator("greyscale3", "data.colors.uiColors"),
121
+ greyscale4: colorGenerator("greyscale4", "data.colors.uiColors"),
122
+ greyscale5: colorGenerator("greyscale5", "data.colors.uiColors"),
123
+ greyscale6: colorGenerator("greyscale6", "data.colors.uiColors"),
124
+ greyscale7: colorGenerator("greyscale7", "data.colors.uiColors"),
125
+ promotion1: colorGenerator("promotion1", "data.colors.uiColors"),
126
+ promotion2: colorGenerator("promotion2", "data.colors.uiColors"),
127
+ },
128
+ },
129
+ },
130
+ },
131
+ buttons: {
132
+ title: "Buttons",
133
+ description: "Change your themes buttons",
134
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
135
+ type: exports.AdminTemplateInputTypes.collapsableObject,
136
+ value: {
137
+ globalThemeBorderRadius: {
138
+ title: "Global Theme Border Radius",
139
+ description: "The br for the whole site",
140
+ locationInTheme: "data.buttons.globalThemeBorderRadius",
141
+ type: exports.AdminTemplateInputTypes.string,
142
+ },
143
+ globalThemeFontWeight: {
144
+ title: "Global Theme Font Weight",
145
+ description: "The font weight for the whole site",
146
+ locationInTheme: "data.buttons.globalThemeFontWeight",
147
+ type: exports.AdminTemplateInputTypes.string,
148
+ },
149
+ globalThemeFontFamily: {
150
+ title: "Global Theme Font Family",
151
+ description: "The font family for the whole site",
152
+ locationInTheme: "data.buttons.globalThemeFontFamily",
153
+ type: exports.AdminTemplateInputTypes.string,
154
+ },
155
+ iconPosition: {
156
+ title: "Button Icon Position",
157
+ description: "Which side of the button should the icon appear",
158
+ locationInTheme: "data.buttons.iconPosition",
159
+ type: exports.AdminTemplateInputTypes.dropdown,
160
+ options: ["left", "right"],
161
+ },
162
+ primary: buttonGenerator("primary"),
163
+ primaryLight: buttonGenerator("primaryLight"),
164
+ secondary: buttonGenerator("secondary"),
165
+ secondaryLight: buttonGenerator("secondaryLight"),
166
+ checkout: buttonGenerator("checkout"),
167
+ filterSort: {
168
+ title: "Filter Sort",
169
+ description: "Colors for the filter sort buttons",
170
+ type: exports.AdminTemplateInputTypes.collapsableObject,
171
+ value: {
172
+ color: colorGenerator("color", "data.buttons.filterSort"),
173
+ hoverColor: colorGenerator("hoverColor", "data.buttons.filterSort"),
174
+ },
175
+ },
176
+ },
177
+ },
178
+ header: {
179
+ title: "Header",
180
+ description: "Change your header styles",
181
+ type: exports.AdminTemplateInputTypes.collapsableObject,
182
+ value: {
183
+ topMenu: {
184
+ title: "Top Menu",
185
+ description: "Change your Top Menu bar styles",
186
+ type: exports.AdminTemplateInputTypes.collapsableObject,
187
+ value: {
188
+ color: colorGenerator("color", "data.header.topMenu"),
189
+ backgroundColor: colorGenerator("backgroundColor", "data.header.topMenu"),
190
+ },
191
+ },
192
+ mainMenu: {
193
+ title: "Main Menu",
194
+ description: "Change your Main Menu bar styles",
195
+ type: exports.AdminTemplateInputTypes.collapsableObject,
196
+ value: {
197
+ color: colorGenerator("color", "data.header.mainMenu"),
198
+ backgroundColor: colorGenerator("backgroundColor", "data.header.mainMenu"),
199
+ },
200
+ },
201
+ bottomMenu: {
202
+ title: "Bottom Menu",
203
+ description: "Change your Bottom Menu bar styles",
204
+ type: exports.AdminTemplateInputTypes.collapsableObject,
205
+ value: {
206
+ color: colorGenerator("color", "data.header.bottomMenu"),
207
+ hoverColor: colorGenerator("hoverColor", "data.header.bottomMenu"),
208
+ backgroundColor: colorGenerator("backgroundColor", "data.header.bottomMenu"),
209
+ textTransform: {
210
+ title: "Text Transform",
211
+ locationInTheme: "data.header.bottomMenu",
212
+ type: exports.AdminTemplateInputTypes.dropdown,
213
+ options: ["none", "capitalize", "uppercase", "lowercase"],
214
+ },
215
+ fontWeight: {
216
+ title: "Font Weight",
217
+ type: exports.AdminTemplateInputTypes.dropdown,
218
+ options: ["none", "capitalize", "uppercase", "lowercase"],
219
+ },
220
+ },
221
+ },
222
+ storePopover: {
223
+ title: "Store Popover",
224
+ description: "Change store popover styles",
225
+ type: exports.AdminTemplateInputTypes.collapsableObject,
226
+ value: {
227
+ backgroundColor: colorGenerator("backgroundColor", "data.header.storePopover"),
228
+ activeBackgroundColor: colorGenerator("activeBackgroundColor", "data.header.storePopover"),
229
+ color: colorGenerator("color", "data.header.storePopover"),
230
+ activeColor: colorGenerator("activeColor", "data.header.storePopover"),
231
+ borderRadius: {
232
+ title: "Border Radius",
233
+ locationInTheme: "data.header.storePopover",
234
+ type: exports.AdminTemplateInputTypes.inputChar,
235
+ },
236
+ reserveTimeIconPosition: {
237
+ title: "Reserve Timeslot",
238
+ description: "Controls Timeslot icons position inside reserve button",
239
+ type: exports.AdminTemplateInputTypes.dropdown,
240
+ options: ["left", "right", "center"],
241
+ },
242
+ },
243
+ },
244
+ accountPopover: {
245
+ title: "Account Popover",
246
+ description: "Change account popover styles",
247
+ type: exports.AdminTemplateInputTypes.collapsableObject,
248
+ value: {
249
+ color: colorGenerator("color", "data.header.accountPopover"),
250
+ backgroundColor: colorGenerator("backgroundColor", "data.header.accountPopover"),
251
+ links: {
252
+ title: "Links",
253
+ description: "Change Links inside account popover",
254
+ type: exports.AdminTemplateInputTypes.collapsableObject,
255
+ value: {
256
+ color: {
257
+ title: "Color styles",
258
+ type: exports.AdminTemplateInputTypes.collapsableObject,
259
+ value: {
260
+ static: colorGenerator("static", "data.header.accountPopover.links.color"),
261
+ hover: colorGenerator("hover", "data.header.accountPopover.links.color"),
262
+ visited: colorGenerator("visited", "data.header.accountPopover.links.color"),
263
+ },
264
+ },
265
+ },
266
+ },
267
+ },
268
+ },
269
+ },
270
+ },
271
+ };
272
+ exports.default = exports.AdminThemeTemplate;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,163 @@
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
+ favoritesV1: false,
64
+ checkout: {
65
+ numericPhonePayload: false,
66
+ },
67
+ checkoutValidation: {
68
+ instructions: ["alphaNumeric"],
69
+ phoneNumber: ["usPhone", "required"],
70
+ smsNumber: [],
71
+ },
72
+ ctaButtons: null,
73
+ defaultCountry: "USA",
74
+ defaultSearchParams: {
75
+ page: "1",
76
+ q: "*",
77
+ skip: "0",
78
+ take: "30",
79
+ },
80
+ defaultShoppingMode: "pickup",
81
+ defaultStoreLocation: {
82
+ latitude: 0,
83
+ longitude: 0,
84
+ },
85
+ disableTprPrice: false,
86
+ documentTitle: "ThryveAI Commerce",
87
+ eircode: undefined,
88
+ enable3dSecure: false,
89
+ enableGoogleTranslate: false,
90
+ enableNewsletterSignup: false,
91
+ enableNotifications: false,
92
+ errorLoggingLevel: "error",
93
+ externalStoreSelectorUrl: undefined,
94
+ flipp: null,
95
+ gtmId: undefined,
96
+ hideTaxOnSummary: false,
97
+ houseAccountRegExValidation: ".",
98
+ idpTarget: "_self",
99
+ idpUrl: undefined,
100
+ instacartUrl: undefined,
101
+ isPlanningOnly: false,
102
+ layout: {
103
+ footerVersion: "default",
104
+ },
105
+ limitProductCardTitleHeight: true,
106
+ loggingLevelClient: "error",
107
+ loggingLevelServer: "error",
108
+ mainHeaderHeight: 110,
109
+ mapZoom: 8,
110
+ minimumCreditCardAmount: 1.0,
111
+ nutritionZone: "us",
112
+ paymentCards: {
113
+ AmExpCard: true,
114
+ DiscoverCard: true,
115
+ MasterCard: true,
116
+ VisaCard: true,
117
+ },
118
+ pdpDetailsLayout: {
119
+ desktop: [],
120
+ mobileTab1: [],
121
+ mobileTab2: [],
122
+ },
123
+ productCardTitleHeight: 40,
124
+ registrationFields: [],
125
+ retailerCountry: "us",
126
+ retailerName: "default",
127
+ daysToRemainSignedIn: 30,
128
+ searchPreview: {
129
+ desktop: {
130
+ products: true,
131
+ suggestions: true,
132
+ },
133
+ mobile: {
134
+ products: true,
135
+ suggestions: true,
136
+ },
137
+ },
138
+ secondTierAuthorization: undefined,
139
+ showCheckoutPromoCode: true,
140
+ showImgOnOrder: false,
141
+ smsNotifications: {
142
+ enabled: false,
143
+ getEnrollmentUrl: "",
144
+ postEnrollmentUrl: "",
145
+ },
146
+ subHeaderHeight: 0,
147
+ promoTemplateVersion: 1,
148
+ useAddressValidation: true,
149
+ restrictMapPlacesResults: {
150
+ fetchNearStoresSettings: {
151
+ kmRange: 20,
152
+ totalTake: 30,
153
+ },
154
+ },
155
+ globalAnimations: {
156
+ confetti: {
157
+ enableConfettiAnimation: true,
158
+ },
159
+ },
160
+ googleAutocompleteSettings: {},
161
+ productCardv2: false,
162
+ };
163
+ exports.default = defaultConfig;
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IconNamesToFiles = void 0;
4
+ exports.IconNamesToFiles = {
5
+ AccountOutline: "account-outline",
6
+ AccountSolid: "account-solid",
7
+ Addresses: "addresses",
8
+ ArrowDown: "arrow-down",
9
+ ArrowRight: "arrow-right",
10
+ ArrowUpdown: "arrow-updown",
11
+ BarScan: "bar-scan",
12
+ Bell: "bell",
13
+ Blog: "blog",
14
+ Cart: "cart",
15
+ Check: "check",
16
+ ChevronDown: "chevron-down",
17
+ ChevronLeft: "chevron-left",
18
+ ChevronRight: "chevron-right",
19
+ ChevronUp: "chevron-up",
20
+ Circular: "circular",
21
+ Clear: "clear",
22
+ Close: "close",
23
+ Coupon: "coupon",
24
+ Dashboard: "dashboard",
25
+ DeliveryOutline: "delivery-outline",
26
+ DeliverySolid: "delivery-solid",
27
+ Dietary: "dietary",
28
+ DoubleArrows: "double-arrows",
29
+ Download: "download",
30
+ Dropship: "dropship",
31
+ Eco: "eco",
32
+ Edit: "edit",
33
+ Error: "error",
34
+ FaceHappy: "face-happy",
35
+ FaceSad: "face-sad",
36
+ Facebook: "facebook",
37
+ Fav: "fav",
38
+ FavSolid: "fav-solid",
39
+ Filter: "filter",
40
+ Flag: "flag",
41
+ Geolocate: "geolocate",
42
+ Hamburger: "hamburger",
43
+ Help: "help",
44
+ Home: "home",
45
+ Info: "info",
46
+ Instacart: "instacart",
47
+ Instagram: "instagram",
48
+ ItemLocation: "item-location",
49
+ ListCheck: "list-check",
50
+ ListItems: "list-items",
51
+ ListLarge: "list-large",
52
+ ListRemove: "list-remove",
53
+ ListSave: "list-save",
54
+ ListSearch: "list-search",
55
+ LocationPin: "location-pin",
56
+ LocationDistance: "location-distance",
57
+ LoyaltyCard: "loyaltycard",
58
+ Mail: "mail",
59
+ Minus: "minus",
60
+ MoreOptionsH: "more-options-h",
61
+ MoreOptionsV: "more-options-v",
62
+ Note: "note",
63
+ Notifications: "notifications",
64
+ NoteFilled: "note-filled",
65
+ Orders: "orders",
66
+ PastPurchases: "past-purchases",
67
+ Pause: "pause",
68
+ PaymentOutline: "payment-outline",
69
+ PaymentSolid: "payment-solid",
70
+ Phone: "phone",
71
+ PhoneMobile: "phone-mobile",
72
+ Pickup: "pickup",
73
+ PickupInfo: "pickup-info",
74
+ Pinterest: "pinterest",
75
+ Plus: "plus",
76
+ Print: "print",
77
+ PromoOutline: "promo-outline",
78
+ PromoSolid: "promo-solid",
79
+ RadioActive: "radio-active",
80
+ RadioEmpty: "radio-empty",
81
+ RecipeCalories: "recipe-calories",
82
+ RecipeCooktime: "recipe-cooktime",
83
+ RecipeIngredients: "recipe-ingredients",
84
+ RecipePreptime: "recipe-preptime",
85
+ RecipeServings: "recipe-servings",
86
+ Remove: "remove",
87
+ Reserve: "reserve",
88
+ ReserveTime: "reserve-time",
89
+ Search: "search",
90
+ SelectCheck: "select-check",
91
+ SelectEmpty: "select-empty",
92
+ SelectMark: "select-mark",
93
+ Send: "send",
94
+ Settings: "settings",
95
+ Share: "share",
96
+ SortGrid: "sort-grid",
97
+ SortList: "sort-list",
98
+ StarOutline: "star-outline",
99
+ StarSolid: "star-solid",
100
+ Substitute: "subtitute",
101
+ SubstituteBestmatch: "subtitute-bestmatch",
102
+ SubstituteNone: "subtitute-none",
103
+ SubstituteProduct: "subtitute-product",
104
+ Trash: "trash",
105
+ Twitter: "twitter",
106
+ Unavailable: "unavailable",
107
+ Voice: "voice",
108
+ Warning: "warning",
109
+ Youtube: "youtube",
110
+ YourLocation: "your-location",
111
+ GlutenFree: "Gluten-Free",
112
+ Local: "Local",
113
+ Organic: "Organic",
114
+ None: "None",
115
+ VisaLogo: "visa-logo",
116
+ MasterLogo: "master-card-logo",
117
+ VisaCard: "visa-card",
118
+ MasterCard: "master-card-card",
119
+ AmExpCard: "american-express-card",
120
+ DiscoverCard: "discover-card",
121
+ VisaVerified: "visa-verified",
122
+ MasterSecure: "master-card-secure",
123
+ Comodo: "comodo",
124
+ };
package/index.d.ts CHANGED
@@ -3,9 +3,10 @@ import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, IconNamesToFi
3
3
  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";
4
4
  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";
5
5
  import AdminSettingsTemplate from "./admin-settings-template";
6
+ import AdminThemeTemplate, { AdminTemplateInputTypes } from "./admin-theme-template";
6
7
  import defaultConfig from "./default.config";
7
8
  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
9
  export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, IconNamesToFiles, };
9
10
  export { IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IAllSettings, ISMSConfig, IDefaultRetailerSettings, 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 { AdminSettingsTemplate };
11
+ export { AdminSettingsTemplate, AdminThemeTemplate, AdminTemplateInputTypes };
11
12
  export { defaultConfig };
package/index.js ADDED
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultConfig = exports.AdminTemplateInputTypes = exports.AdminThemeTemplate = exports.AdminSettingsTemplate = 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; } });
6
+ var admin_settings_template_1 = require("./admin-settings-template");
7
+ exports.AdminSettingsTemplate = admin_settings_template_1.default;
8
+ var admin_theme_template_1 = require("./admin-theme-template");
9
+ exports.AdminThemeTemplate = admin_theme_template_1.default;
10
+ Object.defineProperty(exports, "AdminTemplateInputTypes", { enumerable: true, get: function () { return admin_theme_template_1.AdminTemplateInputTypes; } });
11
+ var default_config_1 = require("./default.config");
12
+ exports.defaultConfig = default_config_1.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "1.4.8-beta2",
3
+ "version": "1.4.8-beta6",
4
4
  "description": "Shared Interfaces for all ThryveAi storefront retailer themes.",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -11,4 +11,4 @@
11
11
  "devDependencies": {
12
12
  "typescript": "4.3.5"
13
13
  }
14
- }
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });