@thryveai/theme-interfaces 1.4.13 → 1.5.3
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.
- package/default-theme.interface.d.ts +654 -0
- package/icons.interfaces.d.ts +7 -0
- package/index.d.ts +7 -0
- package/package.json +3 -15
- package/retailer-settings.interfaces.d.ts +351 -0
- package/theme.interfaces.d.ts +656 -0
- package/.eslintignore +0 -39
- package/.eslintrc.js +0 -19
- package/.prettierrc +0 -6
- package/src/interfaces/default-theme.interface.ts +0 -673
- package/src/interfaces/icons.interfaces.ts +0 -254
- package/src/interfaces/index.ts +0 -180
- package/src/interfaces/retailer-settings.interfaces.ts +0 -460
- package/src/interfaces/theme.interfaces.ts +0 -675
- package/tsconfig.json +0 -13
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
export declare type IIconsObject = {
|
|
2
|
-
[iconName in IconNames]: string;
|
|
3
|
-
};
|
|
4
|
-
|
|
5
|
-
export type PaymentTypesLogos =
|
|
6
|
-
| 'VisaLogo'
|
|
7
|
-
| 'MasterLogo'
|
|
8
|
-
| 'DiscoverCard'
|
|
9
|
-
| 'AmExpCard'
|
|
10
|
-
| 'VisaVerified'
|
|
11
|
-
| 'MasterSecure'
|
|
12
|
-
| 'Comodo';
|
|
13
|
-
|
|
14
|
-
export type PaymentCards =
|
|
15
|
-
| 'VisaCard'
|
|
16
|
-
| 'MasterCard'
|
|
17
|
-
| 'DiscoverCard'
|
|
18
|
-
| 'AmExpCard';
|
|
19
|
-
|
|
20
|
-
export type IconNames =
|
|
21
|
-
| 'AccountOutline'
|
|
22
|
-
| 'AccountSolid'
|
|
23
|
-
| 'Addresses'
|
|
24
|
-
| 'ArrowDown'
|
|
25
|
-
| 'ArrowRight'
|
|
26
|
-
| 'ArrowUpdown'
|
|
27
|
-
| 'BarScan'
|
|
28
|
-
| 'Bell'
|
|
29
|
-
| 'Blog'
|
|
30
|
-
| 'Cart'
|
|
31
|
-
| 'Check'
|
|
32
|
-
| 'ChevronDown'
|
|
33
|
-
| 'ChevronLeft'
|
|
34
|
-
| 'ChevronRight'
|
|
35
|
-
| 'ChevronUp'
|
|
36
|
-
| 'Circular'
|
|
37
|
-
| 'Clear'
|
|
38
|
-
| 'Close'
|
|
39
|
-
| 'Coupon'
|
|
40
|
-
| 'Dashboard'
|
|
41
|
-
| 'DeliveryOutline'
|
|
42
|
-
| 'DeliverySolid'
|
|
43
|
-
| 'Dietary'
|
|
44
|
-
| 'DoubleArrows'
|
|
45
|
-
| 'Download'
|
|
46
|
-
| 'Dropship'
|
|
47
|
-
| 'Eco'
|
|
48
|
-
| 'Edit'
|
|
49
|
-
| 'Error'
|
|
50
|
-
| 'FaceHappy'
|
|
51
|
-
| 'FaceSad'
|
|
52
|
-
| 'Facebook'
|
|
53
|
-
| 'Fav'
|
|
54
|
-
| 'FavSolid'
|
|
55
|
-
| 'Filter'
|
|
56
|
-
| 'Flag'
|
|
57
|
-
| 'Geolocate'
|
|
58
|
-
| 'Hamburger'
|
|
59
|
-
| 'Help'
|
|
60
|
-
| 'Home'
|
|
61
|
-
| 'Info'
|
|
62
|
-
| 'Instacart'
|
|
63
|
-
| 'Instagram'
|
|
64
|
-
| 'ItemLocation'
|
|
65
|
-
| 'ListCheck'
|
|
66
|
-
| 'ListItems'
|
|
67
|
-
| 'ListLarge'
|
|
68
|
-
| 'ListRemove'
|
|
69
|
-
| 'ListSave'
|
|
70
|
-
| 'ListSearch'
|
|
71
|
-
| 'LocationPin'
|
|
72
|
-
| 'LocationDistance'
|
|
73
|
-
| 'LoyaltyCard'
|
|
74
|
-
| 'Mail'
|
|
75
|
-
| 'Minus'
|
|
76
|
-
| 'MoreOptionsH'
|
|
77
|
-
| 'MoreOptionsV'
|
|
78
|
-
| 'Note'
|
|
79
|
-
| 'Notifications'
|
|
80
|
-
| 'NoteFilled'
|
|
81
|
-
| 'Orders'
|
|
82
|
-
| 'PastPurchases'
|
|
83
|
-
| 'Pause'
|
|
84
|
-
| 'PaymentOutline'
|
|
85
|
-
| 'PaymentSolid'
|
|
86
|
-
| 'Phone'
|
|
87
|
-
| 'PhoneMobile'
|
|
88
|
-
| 'Pickup'
|
|
89
|
-
| 'PickupInfo'
|
|
90
|
-
| 'Pinterest'
|
|
91
|
-
| 'Plus'
|
|
92
|
-
| 'Print'
|
|
93
|
-
| 'PromoOutline'
|
|
94
|
-
| 'PromoSolid'
|
|
95
|
-
| 'RadioActive'
|
|
96
|
-
| 'RadioEmpty'
|
|
97
|
-
| 'RecipeCalories'
|
|
98
|
-
| 'RecipeCooktime'
|
|
99
|
-
| 'RecipeIngredients'
|
|
100
|
-
| 'RecipePreptime'
|
|
101
|
-
| 'RecipeServings'
|
|
102
|
-
| 'Remove'
|
|
103
|
-
| 'Reserve'
|
|
104
|
-
| 'ReserveTime'
|
|
105
|
-
| 'Search'
|
|
106
|
-
| 'SelectCheck'
|
|
107
|
-
| 'SelectEmpty'
|
|
108
|
-
| 'SelectMark'
|
|
109
|
-
| 'Send'
|
|
110
|
-
| 'Settings'
|
|
111
|
-
| 'Share'
|
|
112
|
-
| 'SortGrid'
|
|
113
|
-
| 'SortList'
|
|
114
|
-
| 'StarOutline'
|
|
115
|
-
| 'StarSolid'
|
|
116
|
-
| 'Substitute'
|
|
117
|
-
| 'SubstituteBestmatch'
|
|
118
|
-
| 'SubstituteNone'
|
|
119
|
-
| 'SubstituteProduct'
|
|
120
|
-
| 'Trash'
|
|
121
|
-
| 'Twitter'
|
|
122
|
-
| 'Unavailable'
|
|
123
|
-
| 'Voice'
|
|
124
|
-
| 'Warning'
|
|
125
|
-
| 'Youtube'
|
|
126
|
-
| 'YourLocation'
|
|
127
|
-
| 'GlutenFree'
|
|
128
|
-
| 'Local'
|
|
129
|
-
| 'Organic'
|
|
130
|
-
| 'None'
|
|
131
|
-
| PaymentTypesLogos
|
|
132
|
-
| PaymentCards;
|
|
133
|
-
|
|
134
|
-
export const IconNamesToFiles: IIconsObject = {
|
|
135
|
-
AccountOutline: 'account-outline',
|
|
136
|
-
AccountSolid: 'account-solid',
|
|
137
|
-
Addresses: 'addresses',
|
|
138
|
-
ArrowDown: 'arrow-down',
|
|
139
|
-
ArrowRight: 'arrow-right',
|
|
140
|
-
ArrowUpdown: 'arrow-updown',
|
|
141
|
-
BarScan: 'bar-scan',
|
|
142
|
-
Bell: 'bell',
|
|
143
|
-
Blog: 'blog',
|
|
144
|
-
Cart: 'cart',
|
|
145
|
-
Check: 'check',
|
|
146
|
-
ChevronDown: 'chevron-down',
|
|
147
|
-
ChevronLeft: 'chevron-left',
|
|
148
|
-
ChevronRight: 'chevron-right',
|
|
149
|
-
ChevronUp: 'chevron-up',
|
|
150
|
-
Circular: 'circular',
|
|
151
|
-
Clear: 'clear',
|
|
152
|
-
Close: 'close',
|
|
153
|
-
Coupon: 'coupon',
|
|
154
|
-
Dashboard: 'dashboard',
|
|
155
|
-
DeliveryOutline: 'delivery-outline',
|
|
156
|
-
DeliverySolid: 'delivery-solid',
|
|
157
|
-
Dietary: 'dietary',
|
|
158
|
-
DoubleArrows: 'double-arrows',
|
|
159
|
-
Download: 'download',
|
|
160
|
-
Dropship: 'dropship',
|
|
161
|
-
Eco: 'eco',
|
|
162
|
-
Edit: 'edit',
|
|
163
|
-
Error: 'error',
|
|
164
|
-
FaceHappy: 'face-happy',
|
|
165
|
-
FaceSad: 'face-sad',
|
|
166
|
-
Facebook: 'facebook',
|
|
167
|
-
Fav: 'fav',
|
|
168
|
-
FavSolid: 'fav-solid',
|
|
169
|
-
Filter: 'filter',
|
|
170
|
-
Flag: 'flag',
|
|
171
|
-
Geolocate: 'geolocate',
|
|
172
|
-
Hamburger: 'hamburger',
|
|
173
|
-
Help: 'help',
|
|
174
|
-
Home: 'home',
|
|
175
|
-
Info: 'info',
|
|
176
|
-
Instacart: 'instacart',
|
|
177
|
-
Instagram: 'instagram',
|
|
178
|
-
ItemLocation: 'item-location',
|
|
179
|
-
ListCheck: 'list-check',
|
|
180
|
-
ListItems: 'list-items',
|
|
181
|
-
ListLarge: 'list-large',
|
|
182
|
-
ListRemove: 'list-remove',
|
|
183
|
-
ListSave: 'list-save',
|
|
184
|
-
ListSearch: 'list-search',
|
|
185
|
-
LocationPin: 'location-pin',
|
|
186
|
-
LocationDistance: 'location-distance',
|
|
187
|
-
LoyaltyCard: 'loyaltycard',
|
|
188
|
-
Mail: 'mail',
|
|
189
|
-
Minus: 'minus',
|
|
190
|
-
MoreOptionsH: 'more-options-h',
|
|
191
|
-
MoreOptionsV: 'more-options-v',
|
|
192
|
-
Note: 'note',
|
|
193
|
-
Notifications: 'notifications',
|
|
194
|
-
NoteFilled: 'note-filled',
|
|
195
|
-
Orders: 'orders',
|
|
196
|
-
PastPurchases: 'past-purchases',
|
|
197
|
-
Pause: 'pause',
|
|
198
|
-
PaymentOutline: 'payment-outline',
|
|
199
|
-
PaymentSolid: 'payment-solid',
|
|
200
|
-
Phone: 'phone',
|
|
201
|
-
PhoneMobile: 'phone-mobile',
|
|
202
|
-
Pickup: 'pickup',
|
|
203
|
-
PickupInfo: 'pickup-info',
|
|
204
|
-
Pinterest: 'pinterest',
|
|
205
|
-
Plus: 'plus',
|
|
206
|
-
Print: 'print',
|
|
207
|
-
PromoOutline: 'promo-outline',
|
|
208
|
-
PromoSolid: 'promo-solid',
|
|
209
|
-
RadioActive: 'radio-active',
|
|
210
|
-
RadioEmpty: 'radio-empty',
|
|
211
|
-
RecipeCalories: 'recipe-calories',
|
|
212
|
-
RecipeCooktime: 'recipe-cooktime',
|
|
213
|
-
RecipeIngredients: 'recipe-ingredients',
|
|
214
|
-
RecipePreptime: 'recipe-preptime',
|
|
215
|
-
RecipeServings: 'recipe-servings',
|
|
216
|
-
Remove: 'remove',
|
|
217
|
-
Reserve: 'reserve',
|
|
218
|
-
ReserveTime: 'reserve-time',
|
|
219
|
-
Search: 'search',
|
|
220
|
-
SelectCheck: 'select-check',
|
|
221
|
-
SelectEmpty: 'select-empty',
|
|
222
|
-
SelectMark: 'select-mark',
|
|
223
|
-
Send: 'send',
|
|
224
|
-
Settings: 'settings',
|
|
225
|
-
Share: 'share',
|
|
226
|
-
SortGrid: 'sort-grid',
|
|
227
|
-
SortList: 'sort-list',
|
|
228
|
-
StarOutline: 'star-outline',
|
|
229
|
-
StarSolid: 'star-solid',
|
|
230
|
-
Substitute: 'subtitute',
|
|
231
|
-
SubstituteBestmatch: 'subtitute-bestmatch',
|
|
232
|
-
SubstituteNone: 'subtitute-none',
|
|
233
|
-
SubstituteProduct: 'subtitute-product',
|
|
234
|
-
Trash: 'trash',
|
|
235
|
-
Twitter: 'twitter',
|
|
236
|
-
Unavailable: 'unavailable',
|
|
237
|
-
Voice: 'voice',
|
|
238
|
-
Warning: 'warning',
|
|
239
|
-
Youtube: 'youtube',
|
|
240
|
-
YourLocation: 'your-location',
|
|
241
|
-
GlutenFree: 'Gluten-Free',
|
|
242
|
-
Local: 'Local',
|
|
243
|
-
Organic: 'Organic',
|
|
244
|
-
None: 'None',
|
|
245
|
-
VisaLogo: 'visa-logo',
|
|
246
|
-
MasterLogo: 'master-card-logo',
|
|
247
|
-
VisaCard: 'visa-card',
|
|
248
|
-
MasterCard: 'master-card-card',
|
|
249
|
-
AmExpCard: 'american-express-card',
|
|
250
|
-
DiscoverCard: 'discover-card',
|
|
251
|
-
VisaVerified: 'visa-verified',
|
|
252
|
-
MasterSecure: 'master-card-secure',
|
|
253
|
-
Comodo: 'comodo'
|
|
254
|
-
};
|
package/src/interfaces/index.ts
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
IRetailerSettings,
|
|
3
|
-
ISecondTierAuthorization,
|
|
4
|
-
IFlippConfig,
|
|
5
|
-
IFlippConfigV2,
|
|
6
|
-
IFlippScriptUrls,
|
|
7
|
-
IAllSettings,
|
|
8
|
-
ISMSConfig,
|
|
9
|
-
IDefaultRetailerSettings,
|
|
10
|
-
ICtaButtons,
|
|
11
|
-
IAddressesSettings,
|
|
12
|
-
IAccountPageSettings,
|
|
13
|
-
ILayoutSettings,
|
|
14
|
-
ILoggingLevel,
|
|
15
|
-
IDefaultSearchParams,
|
|
16
|
-
IDefaultStoreLocation,
|
|
17
|
-
IDefaultCounty,
|
|
18
|
-
IRetailerCountry,
|
|
19
|
-
IRestrictMapPlaces,
|
|
20
|
-
IValidationType,
|
|
21
|
-
INutritionZone,
|
|
22
|
-
IFooterTypes,
|
|
23
|
-
IRegistrationFieldTypes,
|
|
24
|
-
IRegistrationFieldNames,
|
|
25
|
-
IValidateLength,
|
|
26
|
-
IValidateDateRange,
|
|
27
|
-
IRegistrationField,
|
|
28
|
-
ICheckoutValidation,
|
|
29
|
-
ISearchPreviewVisibility,
|
|
30
|
-
IPaymentCards,
|
|
31
|
-
IGlobalAnimations,
|
|
32
|
-
ILayoutAnimationsConfetti,
|
|
33
|
-
IGlobalCheckoutProps,
|
|
34
|
-
IAddressIntegration,
|
|
35
|
-
IAddressFinderType
|
|
36
|
-
} from './retailer-settings.interfaces';
|
|
37
|
-
import {
|
|
38
|
-
IIconsObject,
|
|
39
|
-
PaymentTypesLogos,
|
|
40
|
-
PaymentCards,
|
|
41
|
-
IconNames,
|
|
42
|
-
IconNamesToFiles
|
|
43
|
-
} from './icons.interfaces';
|
|
44
|
-
import {
|
|
45
|
-
ITheme,
|
|
46
|
-
IThemeScripts,
|
|
47
|
-
IThemeImages,
|
|
48
|
-
IThemeMetadata,
|
|
49
|
-
IThemeFavicons,
|
|
50
|
-
IThemeLogoPosition,
|
|
51
|
-
IThemeLogoHeightsProps,
|
|
52
|
-
IThemeLogoHeights,
|
|
53
|
-
ISTSThemeInterface,
|
|
54
|
-
IThemeFavicon,
|
|
55
|
-
IThemeMetadataItem,
|
|
56
|
-
IThemeInterface,
|
|
57
|
-
IGlobalTheme,
|
|
58
|
-
IColors,
|
|
59
|
-
IInitializedEmptyTheme,
|
|
60
|
-
IThemeAnimationConfettiPlaces,
|
|
61
|
-
IThemeGlobalAnimations,
|
|
62
|
-
IThemeAnimationsConfettiPlacesTypes,
|
|
63
|
-
IThemeAnimationsConfettiProps,
|
|
64
|
-
IEmbeddedFont,
|
|
65
|
-
IEmbeddedFontSource
|
|
66
|
-
} from './theme.interfaces';
|
|
67
|
-
|
|
68
|
-
import {
|
|
69
|
-
IDefaultTheme,
|
|
70
|
-
IDefaultThemeScripts,
|
|
71
|
-
IDefaultThemeImages,
|
|
72
|
-
IDefaultThemeMetadata,
|
|
73
|
-
IDefaultThemeFavicons,
|
|
74
|
-
IDefaultThemeLogoPosition,
|
|
75
|
-
IDefaultThemeLogoHeightsProps,
|
|
76
|
-
IDefaultThemeLogoHeights,
|
|
77
|
-
ISTSDefaultThemeInterface,
|
|
78
|
-
IDefaultThemeFavicon,
|
|
79
|
-
IDefaultThemeMetadataItem,
|
|
80
|
-
IDefaultThemeInterface,
|
|
81
|
-
IGlobalDefaultTheme,
|
|
82
|
-
IDefaultColors,
|
|
83
|
-
IInitializedEmptyDefaultTheme,
|
|
84
|
-
IDefaultThemeAnimationConfettiPlaces,
|
|
85
|
-
IDefaultThemeGlobalAnimations,
|
|
86
|
-
IDefaultThemeAnimationsConfettiPlacesTypes,
|
|
87
|
-
IDefaultThemeAnimationsConfettiProps,
|
|
88
|
-
IDefaultEmbeddedFont,
|
|
89
|
-
IDefaultEmbeddedFontSource
|
|
90
|
-
} from './default-theme.interface';
|
|
91
|
-
// themes
|
|
92
|
-
export {
|
|
93
|
-
IDefaultTheme,
|
|
94
|
-
IDefaultThemeScripts,
|
|
95
|
-
IDefaultThemeImages,
|
|
96
|
-
IDefaultThemeMetadata,
|
|
97
|
-
IDefaultThemeFavicons,
|
|
98
|
-
IDefaultThemeLogoPosition,
|
|
99
|
-
IDefaultThemeLogoHeightsProps,
|
|
100
|
-
IDefaultThemeLogoHeights,
|
|
101
|
-
ISTSDefaultThemeInterface,
|
|
102
|
-
IDefaultThemeFavicon,
|
|
103
|
-
IDefaultThemeMetadataItem,
|
|
104
|
-
IDefaultThemeInterface,
|
|
105
|
-
IGlobalDefaultTheme,
|
|
106
|
-
IDefaultColors,
|
|
107
|
-
IInitializedEmptyDefaultTheme,
|
|
108
|
-
IDefaultThemeAnimationConfettiPlaces,
|
|
109
|
-
IDefaultThemeGlobalAnimations,
|
|
110
|
-
IDefaultThemeAnimationsConfettiPlacesTypes,
|
|
111
|
-
IDefaultThemeAnimationsConfettiProps,
|
|
112
|
-
IDefaultEmbeddedFont,
|
|
113
|
-
IDefaultEmbeddedFontSource,
|
|
114
|
-
ITheme,
|
|
115
|
-
IThemeScripts,
|
|
116
|
-
IThemeImages,
|
|
117
|
-
IThemeMetadata,
|
|
118
|
-
IThemeFavicons,
|
|
119
|
-
IThemeLogoPosition,
|
|
120
|
-
IThemeLogoHeightsProps,
|
|
121
|
-
IThemeLogoHeights,
|
|
122
|
-
ISTSThemeInterface,
|
|
123
|
-
IThemeFavicon,
|
|
124
|
-
IThemeMetadataItem,
|
|
125
|
-
IThemeInterface,
|
|
126
|
-
IGlobalTheme,
|
|
127
|
-
IColors,
|
|
128
|
-
IInitializedEmptyTheme,
|
|
129
|
-
IThemeAnimationConfettiPlaces,
|
|
130
|
-
IThemeGlobalAnimations,
|
|
131
|
-
IThemeAnimationsConfettiPlacesTypes,
|
|
132
|
-
IThemeAnimationsConfettiProps,
|
|
133
|
-
IEmbeddedFont,
|
|
134
|
-
IEmbeddedFontSource
|
|
135
|
-
};
|
|
136
|
-
// icons
|
|
137
|
-
export {
|
|
138
|
-
IIconsObject,
|
|
139
|
-
PaymentTypesLogos,
|
|
140
|
-
PaymentCards,
|
|
141
|
-
IconNames,
|
|
142
|
-
IconNamesToFiles
|
|
143
|
-
};
|
|
144
|
-
// retailer settings
|
|
145
|
-
export {
|
|
146
|
-
IRetailerSettings,
|
|
147
|
-
ISecondTierAuthorization,
|
|
148
|
-
IFlippConfig,
|
|
149
|
-
IFlippConfigV2,
|
|
150
|
-
IFlippScriptUrls,
|
|
151
|
-
IAllSettings,
|
|
152
|
-
ISMSConfig,
|
|
153
|
-
IDefaultRetailerSettings,
|
|
154
|
-
ICtaButtons,
|
|
155
|
-
IAddressesSettings,
|
|
156
|
-
IAccountPageSettings,
|
|
157
|
-
ILayoutSettings,
|
|
158
|
-
ILoggingLevel,
|
|
159
|
-
IDefaultSearchParams,
|
|
160
|
-
IDefaultStoreLocation,
|
|
161
|
-
IDefaultCounty,
|
|
162
|
-
IRetailerCountry,
|
|
163
|
-
IRestrictMapPlaces,
|
|
164
|
-
IValidationType,
|
|
165
|
-
INutritionZone,
|
|
166
|
-
IFooterTypes,
|
|
167
|
-
IRegistrationFieldTypes,
|
|
168
|
-
IRegistrationFieldNames,
|
|
169
|
-
IValidateLength,
|
|
170
|
-
IValidateDateRange,
|
|
171
|
-
IRegistrationField,
|
|
172
|
-
ICheckoutValidation,
|
|
173
|
-
ISearchPreviewVisibility,
|
|
174
|
-
IPaymentCards,
|
|
175
|
-
IGlobalAnimations,
|
|
176
|
-
ILayoutAnimationsConfetti,
|
|
177
|
-
IGlobalCheckoutProps,
|
|
178
|
-
IAddressIntegration,
|
|
179
|
-
IAddressFinderType
|
|
180
|
-
};
|