@thryveai/theme-interfaces 2.7.96 → 2.7.97
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 +1 -0
- package/dist/interfaces/shared-settings.interfaces.d.ts +6 -6
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +34 -0
- package/dist/storefront/SFUISharedSettingsTemplate.AdminUi.js +8 -16
- package/dist/storefront/defaultSettingsStorefront.js +2 -1
- package/dist/storefront/defaultSharedSettings.js +3 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IAdminOnlyV2 } from "./retailer-settings.interfaces";
|
|
2
2
|
export interface ISharedSettings {
|
|
3
3
|
features: ISharedFeatures;
|
|
4
|
-
|
|
4
|
+
checkout: ISharedCheckout;
|
|
5
5
|
general: ISharedGeneral;
|
|
6
6
|
adminPanelOnly: IAdminOnlyV2;
|
|
7
7
|
}
|
|
@@ -9,11 +9,10 @@ export interface ISharedFeatures {
|
|
|
9
9
|
specialRequestItems: ISpecialRequestItems;
|
|
10
10
|
}
|
|
11
11
|
export interface ISharedCheckout {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
12
|
+
preserveOrderNote: IOrderInstructions;
|
|
13
|
+
}
|
|
14
|
+
interface IOrderInstructions {
|
|
15
|
+
enabled: boolean;
|
|
17
16
|
}
|
|
18
17
|
export interface ISpecialRequestItems {
|
|
19
18
|
enable: boolean;
|
|
@@ -22,3 +21,4 @@ export interface ISpecialRequestItems {
|
|
|
22
21
|
export interface ISharedGeneral {
|
|
23
22
|
enableStoreSelectorList: boolean;
|
|
24
23
|
}
|
|
24
|
+
export {};
|
|
@@ -951,6 +951,40 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
951
951
|
// },
|
|
952
952
|
// } as any,
|
|
953
953
|
// },
|
|
954
|
+
scrollToTopButton: {
|
|
955
|
+
title: "Back to top button",
|
|
956
|
+
description: "Back to top button settings",
|
|
957
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
958
|
+
value: {
|
|
959
|
+
enabled: {
|
|
960
|
+
title: "Enable back to top button",
|
|
961
|
+
description: "You can select whether a back to top button will appear on the Storefront once the customer begins to scroll down the screen.",
|
|
962
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
963
|
+
},
|
|
964
|
+
percentOffset: {
|
|
965
|
+
title: "Offset",
|
|
966
|
+
description: "Offset percentage",
|
|
967
|
+
type: exports.AdminTemplateInputTypes.string,
|
|
968
|
+
value: {
|
|
969
|
+
bottom: {
|
|
970
|
+
title: "Offset bottom",
|
|
971
|
+
description: "This is the percentage of the height of the screen that the button will appear from the bottom",
|
|
972
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
973
|
+
},
|
|
974
|
+
right: {
|
|
975
|
+
title: "Offset right",
|
|
976
|
+
description: "This is the percentage of the width of the screen that the button will appear from the right",
|
|
977
|
+
type: exports.AdminTemplateInputTypes.inputNumber,
|
|
978
|
+
},
|
|
979
|
+
},
|
|
980
|
+
},
|
|
981
|
+
},
|
|
982
|
+
},
|
|
983
|
+
showShopAllLink: {
|
|
984
|
+
title: "Shop all link in mega menu",
|
|
985
|
+
description: "You can select whether each subcategory in the desktop mega menu should have a “Shop All XXX” link at the top of the list.",
|
|
986
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
987
|
+
},
|
|
954
988
|
},
|
|
955
989
|
},
|
|
956
990
|
welcomeModal: {
|
|
@@ -66,28 +66,20 @@ exports.AdminSharedSettingsTemplateSFUI = {
|
|
|
66
66
|
},
|
|
67
67
|
},
|
|
68
68
|
},
|
|
69
|
-
|
|
69
|
+
checkout: {
|
|
70
70
|
title: "Checkout",
|
|
71
71
|
description: "Shared checkout settings",
|
|
72
72
|
type: exports.AdminSharedTemplateInputTypes.collapsableObject,
|
|
73
73
|
value: {
|
|
74
|
-
|
|
75
|
-
title: "
|
|
76
|
-
description: "
|
|
74
|
+
preserveOrderNote: {
|
|
75
|
+
title: "Order Instructions",
|
|
76
|
+
description: "",
|
|
77
77
|
type: exports.AdminSharedTemplateInputTypes.collapsableObject,
|
|
78
78
|
value: {
|
|
79
|
-
|
|
80
|
-
title: "
|
|
81
|
-
description: "
|
|
82
|
-
type: exports.AdminSharedTemplateInputTypes.
|
|
83
|
-
value: {
|
|
84
|
-
checkboxLabel: {
|
|
85
|
-
title: "CheckboxLabel",
|
|
86
|
-
description: "CheckboxLabel",
|
|
87
|
-
type: exports.AdminSharedTemplateInputTypes.checkbox,
|
|
88
|
-
value: true,
|
|
89
|
-
},
|
|
90
|
-
},
|
|
79
|
+
enabled: {
|
|
80
|
+
title: "Enable order instructions saving",
|
|
81
|
+
description: "This will display a checkbox below the order instrucitons comment box in the checkout. If selected the text entered in the comment box will be saved for the customer next order.",
|
|
82
|
+
type: exports.AdminSharedTemplateInputTypes.checkbox,
|
|
91
83
|
},
|
|
92
84
|
},
|
|
93
85
|
},
|
|
@@ -371,9 +371,10 @@ var DefaultConfigSFUI = {
|
|
|
371
371
|
cookiePro: { enabled: false, domain: "", src: "" },
|
|
372
372
|
scrollToTopButton: {
|
|
373
373
|
enabled: false,
|
|
374
|
-
percentOffset: { bottom:
|
|
374
|
+
percentOffset: { bottom: 15, right: 2 },
|
|
375
375
|
},
|
|
376
376
|
clientRenderCoupons: true,
|
|
377
|
+
showShopAllLink: false,
|
|
377
378
|
},
|
|
378
379
|
welcomeModal: [],
|
|
379
380
|
};
|