@thryveai/theme-interfaces 2.8.47 → 2.8.49
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/JSONSchemas/index.d.ts +58 -33
- package/dist/JSONSchemas/index.js +115 -87
- package/dist/interfaces/admin-settings-interfaces.d.ts +4 -0
- package/dist/interfaces/retailer-settings.interfaces.d.ts +9 -0
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +38 -0
- package/dist/storefront/commonSettingsStorefront.js +7 -0
- package/dist/storefront/defaultIconsStorefront.js +1 -1
- package/dist/storefront/defaultSettingsStorefront.js +7 -0
- package/package.json +1 -1
|
@@ -92,6 +92,7 @@ export interface IRetailerSettings {
|
|
|
92
92
|
smsNotifications?: ISMSConfig;
|
|
93
93
|
sodiumWarning?: ISodiumWarning;
|
|
94
94
|
specialRequestItems?: boolean;
|
|
95
|
+
pillsShowAllLessButton?: boolean;
|
|
95
96
|
subHeaderHeight?: number;
|
|
96
97
|
TimeslotModalSettings?: ITimeslotModalSettings;
|
|
97
98
|
useAddressValidation?: boolean;
|
|
@@ -419,6 +420,7 @@ export interface IFeaturesV2 {
|
|
|
419
420
|
showRewardPromoChangeTimeslotMsg: boolean;
|
|
420
421
|
smsNotifications: ISMSConfig;
|
|
421
422
|
specialRequestItems: boolean;
|
|
423
|
+
pillsShowAllLessButton: boolean;
|
|
422
424
|
couponGallery: ICouponGalleryLayout;
|
|
423
425
|
gsaSupportedBrowser: boolean;
|
|
424
426
|
acquiaAuthService: boolean;
|
|
@@ -520,6 +522,7 @@ export interface ISiteSettingsV2 {
|
|
|
520
522
|
showClippedStateInCouponModal: boolean;
|
|
521
523
|
showShopAllLink: IShowShopAllLink;
|
|
522
524
|
showEmptyMiniList: boolean;
|
|
525
|
+
emptyListButton: IEmptyListButton;
|
|
523
526
|
preserveStore: IPreserveStore;
|
|
524
527
|
carousel: ILayoutCarousel;
|
|
525
528
|
categoryDocumentTitle: ICategoryDocumentTitle;
|
|
@@ -804,4 +807,10 @@ export interface IScrollToTopButton {
|
|
|
804
807
|
export interface IShowShopAllLink {
|
|
805
808
|
enabled: boolean;
|
|
806
809
|
}
|
|
810
|
+
export interface IEmptyListButton {
|
|
811
|
+
mode: ShoppingMode[];
|
|
812
|
+
style: "secondary" | "tertiary";
|
|
813
|
+
renderBelowReviewCartButton: boolean;
|
|
814
|
+
icon: boolean;
|
|
815
|
+
}
|
|
807
816
|
export {};
|
|
@@ -1135,6 +1135,44 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
1135
1135
|
},
|
|
1136
1136
|
},
|
|
1137
1137
|
},
|
|
1138
|
+
showEmptyMiniList: {
|
|
1139
|
+
title: "Show Empty list/cart button",
|
|
1140
|
+
description: "Display the Empty list/cart button in Mini cart.",
|
|
1141
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
1142
|
+
},
|
|
1143
|
+
emptyListButton: {
|
|
1144
|
+
title: "Empty list/cart button settings",
|
|
1145
|
+
description: "Configure the Empty list/cart button in Mini cart.",
|
|
1146
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
1147
|
+
showIf: {
|
|
1148
|
+
field: "showEmptyMiniList",
|
|
1149
|
+
value: true,
|
|
1150
|
+
},
|
|
1151
|
+
value: {
|
|
1152
|
+
mode: {
|
|
1153
|
+
title: "Enable for shopping modes",
|
|
1154
|
+
description: "Select which shopping modes display the Empty list/cartbutton.",
|
|
1155
|
+
type: exports.AdminTemplateInputTypes.multiDropdown,
|
|
1156
|
+
options: ["pickup", "planning", "delivery"],
|
|
1157
|
+
},
|
|
1158
|
+
style: {
|
|
1159
|
+
title: "Style",
|
|
1160
|
+
description: "Visual style of the Empty list/cart button. Use “tertiary“ to reduce prominence and minimize accidental clicks.",
|
|
1161
|
+
type: exports.AdminTemplateInputTypes.dropdown,
|
|
1162
|
+
options: ["secondary", "tertiary"],
|
|
1163
|
+
},
|
|
1164
|
+
renderBelowReviewCartButton: {
|
|
1165
|
+
title: "Render below Review list/cart button",
|
|
1166
|
+
description: "When enabled, the Empty list/cart button appears below the Review list/cart button. Recommended for reducing accidental clicks.",
|
|
1167
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
1168
|
+
},
|
|
1169
|
+
icon: {
|
|
1170
|
+
title: "Show icon",
|
|
1171
|
+
description: "Display a trash can icon on the Empty list/cart button to visually indicate the destructive action.",
|
|
1172
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
1173
|
+
},
|
|
1174
|
+
},
|
|
1175
|
+
},
|
|
1138
1176
|
},
|
|
1139
1177
|
},
|
|
1140
1178
|
welcomeModal: {
|
|
@@ -206,6 +206,7 @@ var CommonConfigSFUI = {
|
|
|
206
206
|
reCaptcha: false,
|
|
207
207
|
manualVouchers: true,
|
|
208
208
|
},
|
|
209
|
+
pillsShowAllLessButton: false,
|
|
209
210
|
promotionDetailsPage: {
|
|
210
211
|
bundlePromotionCalculator: true,
|
|
211
212
|
nonBundlePromotionCalculator: true,
|
|
@@ -431,6 +432,12 @@ var CommonConfigSFUI = {
|
|
|
431
432
|
enabled: true,
|
|
432
433
|
},
|
|
433
434
|
showEmptyMiniList: false,
|
|
435
|
+
emptyListButton: {
|
|
436
|
+
mode: ["pickup", "planning", "delivery"],
|
|
437
|
+
style: "secondary",
|
|
438
|
+
renderBelowReviewCartButton: false,
|
|
439
|
+
icon: false,
|
|
440
|
+
},
|
|
434
441
|
preserveStore: {
|
|
435
442
|
enabled: false,
|
|
436
443
|
skipConfirmation: false,
|