@thryveai/theme-interfaces 2.7.95 → 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 -1
- 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 -20
- package/dist/storefront/defaultSharedSettings.js +3 -3
- package/package.json +1 -1
|
@@ -246,7 +246,6 @@ export interface IBarcodeOptions {
|
|
|
246
246
|
}
|
|
247
247
|
export interface IBarcodeSettings {
|
|
248
248
|
enabled: boolean;
|
|
249
|
-
options: IBarcodeOptions;
|
|
250
249
|
}
|
|
251
250
|
export interface IGoogleAutocompleteSettings {
|
|
252
251
|
types?: IGoogleAutocompleteTypes;
|
|
@@ -430,6 +429,7 @@ export interface ISiteSettingsV2 {
|
|
|
430
429
|
showCartValueOnMobile: boolean;
|
|
431
430
|
scrollToTopButton: IScrollToTopButton;
|
|
432
431
|
clientRenderCoupons: boolean;
|
|
432
|
+
showShopAllLink: boolean;
|
|
433
433
|
}
|
|
434
434
|
export interface IHeaderLinksLayout {
|
|
435
435
|
enabled: boolean;
|
|
@@ -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
|
},
|
|
@@ -115,25 +115,6 @@ var DefaultConfigSFUI = {
|
|
|
115
115
|
allowPastPurchases: true,
|
|
116
116
|
barcodeSettings: {
|
|
117
117
|
enabled: false,
|
|
118
|
-
options: {
|
|
119
|
-
width: 1.5,
|
|
120
|
-
height: 75,
|
|
121
|
-
format: "CODE128",
|
|
122
|
-
displayValue: true,
|
|
123
|
-
fontOptions: "",
|
|
124
|
-
font: "monospace",
|
|
125
|
-
textAlign: "center",
|
|
126
|
-
textPosition: "bottom",
|
|
127
|
-
textMargin: 2,
|
|
128
|
-
fontSize: 24,
|
|
129
|
-
background: "#ffffff",
|
|
130
|
-
lineColor: "#000000",
|
|
131
|
-
margin: 10,
|
|
132
|
-
marginTop: undefined,
|
|
133
|
-
marginBottom: undefined,
|
|
134
|
-
marginLeft: undefined,
|
|
135
|
-
marginRight: undefined,
|
|
136
|
-
},
|
|
137
118
|
},
|
|
138
119
|
clientCache: false,
|
|
139
120
|
couponGallery: {
|
|
@@ -390,9 +371,10 @@ var DefaultConfigSFUI = {
|
|
|
390
371
|
cookiePro: { enabled: false, domain: "", src: "" },
|
|
391
372
|
scrollToTopButton: {
|
|
392
373
|
enabled: false,
|
|
393
|
-
percentOffset: { bottom:
|
|
374
|
+
percentOffset: { bottom: 15, right: 2 },
|
|
394
375
|
},
|
|
395
376
|
clientRenderCoupons: true,
|
|
377
|
+
showShopAllLink: false,
|
|
396
378
|
},
|
|
397
379
|
welcomeModal: [],
|
|
398
380
|
};
|