@thryveai/theme-interfaces 1.4.8-beta1 → 1.4.8-beta5

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,178 @@
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.string
35
+ },
36
+ static: buttonStateGenerator('static', "data.buttons." + buttonName),
37
+ hover: buttonStateGenerator('hover', "data.buttons." + buttonName),
38
+ clicked: buttonStateGenerator('clicked', "data.buttons." + buttonName),
39
+ disabled: buttonStateGenerator('disabled', "data.buttons." + buttonName),
40
+ }
41
+ }); };
42
+ var buttonStateGenerator = function (stateName, buttonLocation) { return ({
43
+ title: stateName + " Colors",
44
+ description: "How the button will look in " + stateName + " state",
45
+ type: exports.AdminTemplateInputTypes.collapsableObject,
46
+ value: {
47
+ bgColor: {
48
+ title: 'Background',
49
+ locationInTheme: buttonLocation + "." + stateName + ".bgColor",
50
+ type: exports.AdminTemplateInputTypes.color,
51
+ },
52
+ borderColor: {
53
+ title: 'Border Color',
54
+ locationInTheme: buttonLocation + "." + stateName + ".borderColor",
55
+ type: exports.AdminTemplateInputTypes.color,
56
+ },
57
+ color: {
58
+ title: 'Text Color',
59
+ locationInTheme: buttonLocation + "." + stateName + ".color",
60
+ type: exports.AdminTemplateInputTypes.color,
61
+ },
62
+ iconColor: {
63
+ title: 'Icon Color (if any)',
64
+ locationInTheme: buttonLocation + "." + stateName + ".iconColor",
65
+ type: exports.AdminTemplateInputTypes.color,
66
+ },
67
+ }
68
+ }); };
69
+ var colorGenerator = function (colorName, colorLocation) { return ({
70
+ title: colorName,
71
+ locationInTheme: colorLocation + "." + colorName,
72
+ type: exports.AdminTemplateInputTypes.color,
73
+ }); };
74
+ exports.AdminThemeTemplate = {
75
+ colors: {
76
+ title: 'Colors',
77
+ description: 'Change your themes colors',
78
+ helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo',
79
+ type: exports.AdminTemplateInputTypes.collapsableObject,
80
+ value: {
81
+ brandColors: {
82
+ title: 'Brand Colors',
83
+ description: 'Change your themes colors',
84
+ type: exports.AdminTemplateInputTypes.collapsableObject,
85
+ value: {
86
+ primary1: colorGenerator('primary1', 'data.colors.brandColors'),
87
+ primary2: colorGenerator('primary2', 'data.colors.brandColors'),
88
+ primary3: colorGenerator('primary3', 'data.colors.brandColors'),
89
+ primary4: colorGenerator('primary4', 'data.colors.brandColors'),
90
+ primary5: colorGenerator('primary5', 'data.colors.brandColors'),
91
+ secondary1: colorGenerator('secondary1', 'data.colors.brandColors'),
92
+ secondary2: colorGenerator('secondary2', 'data.colors.brandColors'),
93
+ secondary3: colorGenerator('secondary3', 'data.colors.brandColors'),
94
+ secondary4: colorGenerator('secondary4', 'data.colors.brandColors'),
95
+ secondary5: colorGenerator('secondary5', 'data.colors.brandColors'),
96
+ tertiary1: colorGenerator('tertiary1', 'data.colors.brandColors'),
97
+ tertiary2: colorGenerator('tertiary2', 'data.colors.brandColors'),
98
+ tertiary3: colorGenerator('tertiary3', 'data.colors.brandColors'),
99
+ tertiary4: colorGenerator('tertiary4', 'data.colors.brandColors'),
100
+ tertiary5: colorGenerator('tertiary5', 'data.colors.brandColors'),
101
+ }
102
+ },
103
+ uiColors: {
104
+ title: 'UI Colors',
105
+ description: 'Change your themes colors',
106
+ type: exports.AdminTemplateInputTypes.collapsableObject,
107
+ value: {
108
+ success: colorGenerator('success', 'data.colors.uiColors'),
109
+ successDark: colorGenerator('successDark', 'data.colors.uiColors'),
110
+ successLight: colorGenerator('successLight', 'data.colors.uiColors'),
111
+ warn: colorGenerator('warn', 'data.colors.uiColors'),
112
+ warnDark: colorGenerator('warnDark', 'data.colors.uiColors'),
113
+ warnLight: colorGenerator('warnLight', 'data.colors.uiColors'),
114
+ alert: colorGenerator('alert', 'data.colors.uiColors'),
115
+ alertDark: colorGenerator('alertDark', 'data.colors.uiColors'),
116
+ alertLight: colorGenerator('alertLight', 'data.colors.uiColors'),
117
+ greyscale1: colorGenerator('greyscale1', 'data.colors.uiColors'),
118
+ greyscale2: colorGenerator('greyscale2', 'data.colors.uiColors'),
119
+ greyscale3: colorGenerator('greyscale3', 'data.colors.uiColors'),
120
+ greyscale4: colorGenerator('greyscale4', 'data.colors.uiColors'),
121
+ greyscale5: colorGenerator('greyscale5', 'data.colors.uiColors'),
122
+ greyscale6: colorGenerator('greyscale6', 'data.colors.uiColors'),
123
+ greyscale7: colorGenerator('greyscale7', 'data.colors.uiColors'),
124
+ promotion1: colorGenerator('promotion1', 'data.colors.uiColors'),
125
+ promotion2: colorGenerator('promotion2', 'data.colors.uiColors'),
126
+ }
127
+ }
128
+ }
129
+ },
130
+ buttons: {
131
+ title: 'Buttons',
132
+ description: 'Change your themes buttons',
133
+ helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo',
134
+ type: exports.AdminTemplateInputTypes.collapsableObject,
135
+ value: {
136
+ globalThemeBorderRadius: {
137
+ title: 'Global Theme Border Radius',
138
+ description: 'The br for the whole site',
139
+ locationInTheme: 'data.buttons.globalThemeBorderRadius',
140
+ type: exports.AdminTemplateInputTypes.string,
141
+ },
142
+ globalThemeFontWeight: {
143
+ title: 'Global Theme Font Weight',
144
+ description: 'The font weight for the whole site',
145
+ locationInTheme: 'data.buttons.globalThemeFontWeight',
146
+ type: exports.AdminTemplateInputTypes.string,
147
+ },
148
+ globalThemeFontFamily: {
149
+ title: 'Global Theme Font Family',
150
+ description: 'The font family for the whole site',
151
+ locationInTheme: 'data.buttons.globalThemeFontFamily',
152
+ type: exports.AdminTemplateInputTypes.string,
153
+ },
154
+ iconPosition: {
155
+ title: 'Button Icon Position',
156
+ description: 'Which side of the button should the icon appear',
157
+ locationInTheme: 'data.buttons.iconPosition',
158
+ type: exports.AdminTemplateInputTypes.dropdown,
159
+ options: ['left', 'right']
160
+ },
161
+ primary: buttonGenerator('primary'),
162
+ primaryLight: buttonGenerator('primaryLight'),
163
+ secondary: buttonGenerator('secondary'),
164
+ secondaryLight: buttonGenerator('secondaryLight'),
165
+ checkout: buttonGenerator('checkout'),
166
+ filterSort: {
167
+ title: 'Filter Sort',
168
+ description: 'Colors for the filter sort buttons',
169
+ type: exports.AdminTemplateInputTypes.collapsableObject,
170
+ value: {
171
+ color: colorGenerator('color', 'data.buttons.filterSort'),
172
+ hoverColor: colorGenerator('hoverColor', 'data.buttons.filterSort')
173
+ }
174
+ },
175
+ }
176
+ }
177
+ };
178
+ 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
@@ -2,6 +2,11 @@ import { IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfig
2
2
  import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, IconNamesToFiles } from "./icons.interfaces";
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
+ import AdminSettingsTemplate from "./admin-settings-template";
6
+ import AdminThemeTemplate, { AdminTemplateInputTypes } from "./admin-theme-template";
7
+ import defaultConfig from "./default.config";
5
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, };
6
9
  export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames, IconNamesToFiles, };
7
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, };
11
+ export { AdminSettingsTemplate, AdminThemeTemplate, AdminTemplateInputTypes };
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-beta1",
3
+ "version": "1.4.8-beta5",
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 });