@thryveai/theme-interfaces 2.7.96 → 2.7.98
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 +2 -2
- 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 +5 -4
- package/dist/storefront/defaultSharedSettings.js +3 -3
- package/package.json +1 -1
|
@@ -22,7 +22,6 @@ export interface IRetailerSettings {
|
|
|
22
22
|
advertSettings?: IAdvertSettings;
|
|
23
23
|
allowInStorePurchases?: boolean;
|
|
24
24
|
allowPastPurchases?: boolean;
|
|
25
|
-
barcodeSettings?: IBarcodeSettings;
|
|
26
25
|
buildNumber: string;
|
|
27
26
|
cacheTimeMins?: number;
|
|
28
27
|
canadianAddressCompleteKey?: string | undefined;
|
|
@@ -340,7 +339,6 @@ export interface IFeaturesV2 {
|
|
|
340
339
|
addressIntegrationV2: boolean;
|
|
341
340
|
allowInStorePurchases: boolean;
|
|
342
341
|
allowPastPurchases: boolean;
|
|
343
|
-
barcodeSettings: IBarcodeSettings;
|
|
344
342
|
advertSettings: IAdvertSettings;
|
|
345
343
|
ebtPayments: boolean;
|
|
346
344
|
emailCartOrShoppingList: boolean;
|
|
@@ -429,6 +427,7 @@ export interface ISiteSettingsV2 {
|
|
|
429
427
|
showCartValueOnMobile: boolean;
|
|
430
428
|
scrollToTopButton: IScrollToTopButton;
|
|
431
429
|
clientRenderCoupons: boolean;
|
|
430
|
+
showShopAllLink: boolean;
|
|
432
431
|
}
|
|
433
432
|
export interface IHeaderLinksLayout {
|
|
434
433
|
enabled: boolean;
|
|
@@ -545,6 +544,7 @@ export interface IAdminOnlyV2 {
|
|
|
545
544
|
}
|
|
546
545
|
export interface IAccountPageV2 {
|
|
547
546
|
loyaltyTab: {
|
|
547
|
+
barcodeSettings: IBarcodeSettings;
|
|
548
548
|
disabledEdit?: boolean;
|
|
549
549
|
enabled: boolean;
|
|
550
550
|
loyaltyNumberLength: number;
|
|
@@ -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
|
},
|
|
@@ -8,6 +8,9 @@ var DefaultConfigSFUI = {
|
|
|
8
8
|
url: "",
|
|
9
9
|
},
|
|
10
10
|
loyaltyTab: {
|
|
11
|
+
barcodeSettings: {
|
|
12
|
+
enabled: false,
|
|
13
|
+
},
|
|
11
14
|
disabledEdit: false,
|
|
12
15
|
enabled: false,
|
|
13
16
|
loyaltyNumberLength: 11,
|
|
@@ -113,9 +116,6 @@ var DefaultConfigSFUI = {
|
|
|
113
116
|
advertSettings: {},
|
|
114
117
|
allowInStorePurchases: false,
|
|
115
118
|
allowPastPurchases: true,
|
|
116
|
-
barcodeSettings: {
|
|
117
|
-
enabled: false,
|
|
118
|
-
},
|
|
119
119
|
clientCache: false,
|
|
120
120
|
couponGallery: {
|
|
121
121
|
enabled: false,
|
|
@@ -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
|
};
|