@thryveai/theme-interfaces 2.4.14 → 2.4.17
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/dist/interfaces/default-settings.interfaces.d.ts +2 -0
- package/dist/interfaces/retailer-settings.interfaces.d.ts +11 -0
- package/dist/scripts/input.d.ts +4 -0
- package/dist/scripts/input.js +659 -0
- package/dist/scripts/sfui-settings-migrator.d.ts +6 -0
- package/dist/scripts/sfui-settings-migrator.js +205 -0
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +15 -3
- package/dist/storefront/defaultSettingsStorefront.js +8 -0
- package/package.json +21 -21
- package/dist/defaultSettings.d.ts +0 -3
- package/dist/defaultSettings.js +0 -242
- package/dist/storefrontUiSettingsTemplateForAdminPanel.d.ts +0 -3
- package/dist/storefrontUiSettingsTemplateForAdminPanel.js +0 -686
|
@@ -24,6 +24,7 @@ export interface IDefaultRetailerSettings {
|
|
|
24
24
|
defaultStoreLocation: IDefaultStoreLocation;
|
|
25
25
|
disableTprPrice: boolean;
|
|
26
26
|
documentTitle: string;
|
|
27
|
+
ebtPayments: boolean;
|
|
27
28
|
eircode: string | undefined;
|
|
28
29
|
enable3dSecure: boolean;
|
|
29
30
|
enableGoogleTranslate: boolean;
|
|
@@ -43,6 +44,7 @@ export interface IDefaultRetailerSettings {
|
|
|
43
44
|
idpUrl: undefined | string;
|
|
44
45
|
instacartUrl: string | undefined;
|
|
45
46
|
isPlanningOnly: boolean;
|
|
47
|
+
RemoveAllOutOfStock: boolean;
|
|
46
48
|
layout: ILayoutSettings;
|
|
47
49
|
layouts: IGlobalLayouts;
|
|
48
50
|
limitProductCardTitleHeight: boolean;
|
|
@@ -54,6 +54,7 @@ export interface IRetailerSettings {
|
|
|
54
54
|
idpUrl?: undefined | string;
|
|
55
55
|
instacartUrl?: string | undefined;
|
|
56
56
|
isPlanningOnly?: boolean;
|
|
57
|
+
RemoveAllOutOfStock?: boolean;
|
|
57
58
|
layout?: ILayoutSettings;
|
|
58
59
|
layouts?: IGlobalLayouts;
|
|
59
60
|
limitProductCardTitleHeight?: boolean;
|
|
@@ -277,6 +278,7 @@ export interface ICheckoutSettingsV2 {
|
|
|
277
278
|
paymentCards: IPaymentCards;
|
|
278
279
|
checkoutValidation: ICheckoutValidation;
|
|
279
280
|
forceDeliverySection: boolean;
|
|
281
|
+
enableInterimModal: boolean;
|
|
280
282
|
}
|
|
281
283
|
export interface IFeaturesV2 {
|
|
282
284
|
additionalCharges: boolean;
|
|
@@ -290,6 +292,7 @@ export interface IFeaturesV2 {
|
|
|
290
292
|
allowInStorePurchases: boolean;
|
|
291
293
|
allowPastPurchases: boolean;
|
|
292
294
|
advertSettings: IAdvertSettings;
|
|
295
|
+
ebtPayments: boolean;
|
|
293
296
|
enableGoogleTranslate: boolean;
|
|
294
297
|
enableNewsletterSignup: boolean;
|
|
295
298
|
enableNotifications: boolean;
|
|
@@ -336,6 +339,7 @@ export interface ISiteSettingsV2 {
|
|
|
336
339
|
gtmId: string;
|
|
337
340
|
hideWelcomeModalOnCorporate: boolean;
|
|
338
341
|
isPlanningOnly: boolean;
|
|
342
|
+
RemoveAllOutOfStock: boolean;
|
|
339
343
|
mainHeaderHeight: number;
|
|
340
344
|
maintainCustomerJourney: boolean;
|
|
341
345
|
maintainCustomerPreferences: IMaintainCustomerPreferences;
|
|
@@ -491,8 +495,15 @@ export interface IProductCardsProps {
|
|
|
491
495
|
productCard: {
|
|
492
496
|
enabled: boolean;
|
|
493
497
|
layouts: IProductCardLayouts;
|
|
498
|
+
components: IProductCardV2ComponentProps;
|
|
494
499
|
};
|
|
495
500
|
}
|
|
501
|
+
export interface IProductCardV2ComponentProps {
|
|
502
|
+
promotionLabel: IProductCardV2PromotionLabelsSettings;
|
|
503
|
+
}
|
|
504
|
+
export interface IProductCardV2PromotionLabelsSettings {
|
|
505
|
+
showLines: number;
|
|
506
|
+
}
|
|
496
507
|
export declare type IProductCardLayouts = {
|
|
497
508
|
ContainersGrid: "default" | "pce-centered";
|
|
498
509
|
ContainersCarousel: "default" | "pce-centered";
|