@thryveai/theme-interfaces 2.7.152 → 2.7.154
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/retailer-settings.interfaces.d.ts +12 -2
- package/dist/interfaces/shared-settings.interfaces.d.ts +1 -0
- package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.js +7 -0
- package/dist/storefront/defaultSettingsStorefront.js +8 -1
- package/dist/storefront/defaultSharedSettings.js +2 -1
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ export interface IRetailerSettings {
|
|
|
38
38
|
documentTitle?: string;
|
|
39
39
|
eircode?: string | null;
|
|
40
40
|
enable3dSecure?: boolean;
|
|
41
|
-
|
|
41
|
+
googleTranslateWidget?: IGoogleTranslateWidget;
|
|
42
42
|
enableNewsletterSignup?: boolean;
|
|
43
43
|
enableNotifications?: boolean;
|
|
44
44
|
enableRecipeSearch?: boolean;
|
|
@@ -363,7 +363,7 @@ export interface IFeaturesV2 {
|
|
|
363
363
|
advertSettings: IAdvertSettings;
|
|
364
364
|
ebtPayments: boolean;
|
|
365
365
|
emailCartOrShoppingList: IEmailCartOrShoppingList;
|
|
366
|
-
|
|
366
|
+
googleTranslateWidget: IGoogleTranslateWidget;
|
|
367
367
|
enableNewsletterSignup: boolean;
|
|
368
368
|
enableNotifications: boolean;
|
|
369
369
|
enableRecipeSearch: boolean;
|
|
@@ -390,6 +390,15 @@ export interface IFeaturesV2 {
|
|
|
390
390
|
gsaSupportedBrowser: boolean;
|
|
391
391
|
acquiaAuthService: boolean;
|
|
392
392
|
}
|
|
393
|
+
export interface IGoogleTranslateWidget {
|
|
394
|
+
enabled: boolean;
|
|
395
|
+
position: "header" | "footer";
|
|
396
|
+
headerLayout: {
|
|
397
|
+
mobile: googleInlineLayout;
|
|
398
|
+
desktop: googleInlineLayout;
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
declare type googleInlineLayout = "horizontal" | "vertical";
|
|
393
402
|
export interface IPdpSettingsV2 {
|
|
394
403
|
externalContent: IExternalContentProps;
|
|
395
404
|
nutritionZone: INutritionZone;
|
|
@@ -721,3 +730,4 @@ export interface IScrollToTopButton {
|
|
|
721
730
|
export interface IShowShopAllLink {
|
|
722
731
|
enabled: boolean;
|
|
723
732
|
}
|
|
733
|
+
export {};
|
|
@@ -119,6 +119,13 @@ exports.AdminSharedSettingsTemplateSFUI = {
|
|
|
119
119
|
// type: AdminSharedTemplateInputTypes.checkbox,
|
|
120
120
|
// },
|
|
121
121
|
// },
|
|
122
|
+
// } showUnclaimedCouponsPrompt: {
|
|
123
|
+
// title: "Show Missed Coupons Reminder Section",
|
|
124
|
+
// description:
|
|
125
|
+
// "This will display the Missed Coupons Reminder Section in the cart review summary.",
|
|
126
|
+
// type: AdminSharedTemplateInputTypes.checkbox,
|
|
127
|
+
// },
|
|
128
|
+
// },
|
|
122
129
|
// }
|
|
123
130
|
},
|
|
124
131
|
},
|
|
@@ -127,7 +127,14 @@ var DefaultConfigSFUI = {
|
|
|
127
127
|
},
|
|
128
128
|
ebtPayments: false,
|
|
129
129
|
emailCartOrShoppingList: { enabled: false, messageField: false },
|
|
130
|
-
|
|
130
|
+
googleTranslateWidget: {
|
|
131
|
+
enabled: false,
|
|
132
|
+
position: "footer",
|
|
133
|
+
headerLayout: {
|
|
134
|
+
mobile: "horizontal",
|
|
135
|
+
desktop: "horizontal",
|
|
136
|
+
},
|
|
137
|
+
},
|
|
131
138
|
enableNewsletterSignup: false,
|
|
132
139
|
enableNotifications: false,
|
|
133
140
|
enableRecipeSearch: false,
|