@thryveai/theme-interfaces 2.3.15 → 2.3.16
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/index.d.ts +25 -0
- package/dist/index.js +29 -0
- package/dist/interfaces/admin-images-interfaces.d.ts +11 -0
- package/dist/interfaces/admin-images-interfaces.js +2 -0
- package/dist/interfaces/admin-settings-interfaces.d.ts +51 -0
- package/dist/interfaces/admin-settings-interfaces.js +2 -0
- package/dist/interfaces/default-settings.interfaces.d.ts +76 -0
- package/dist/interfaces/default-settings.interfaces.js +2 -0
- package/dist/interfaces/default-theme.interface.d.ts +694 -0
- package/dist/interfaces/default-theme.interface.js +2 -0
- package/dist/interfaces/icons.interfaces.d.ts +7 -0
- package/dist/interfaces/icons.interfaces.js +124 -0
- package/dist/interfaces/retailer-settings.interfaces.d.ts +371 -0
- package/dist/interfaces/retailer-settings.interfaces.js +2 -0
- package/dist/interfaces/sts-settings.interfaces.d.ts +6 -0
- package/dist/interfaces/sts-settings.interfaces.js +2 -0
- package/dist/interfaces/theme.interfaces.d.ts +695 -0
- package/dist/interfaces/theme.interfaces.js +2 -0
- package/dist/storefront/SFUIImagesTemplate.AdminUi.d.ts +2 -0
- package/dist/storefront/SFUIImagesTemplate.AdminUi.js +112 -0
- package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +3 -0
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +862 -0
- package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +3 -0
- package/dist/storefront/SFUIThemesTemplate.AdminUi.js +113 -0
- package/dist/storefront/defaultImagesStorefront.d.ts +3 -0
- package/dist/storefront/defaultImagesStorefront.js +96 -0
- package/dist/storefront/defaultSettingsStorefront.d.ts +3 -0
- package/dist/storefront/defaultSettingsStorefront.js +255 -0
- package/dist/storefront/defaultThemeStorefront.d.ts +5 -0
- package/dist/storefront/defaultThemeStorefront.js +1155 -0
- package/dist/sts/STSImagesTemplate.AdminUi.d.ts +2 -0
- package/dist/sts/STSImagesTemplate.AdminUi.js +50 -0
- package/dist/sts/STSSettingsTemplate.AdminUi.d.ts +2 -0
- package/dist/sts/STSSettingsTemplate.AdminUi.js +30 -0
- package/dist/sts/defaultSettingsSts.d.ts +3 -0
- package/dist/sts/defaultSettingsSts.js +9 -0
- package/dist/theme-templates/index.d.ts +3 -0
- package/dist/theme-templates/index.js +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.AdminThemeTemplateOptions = exports.AdminThemeTemplateSFUI = void 0;
|
|
15
|
+
var SFUISettingsTemplate_AdminUi_1 = require("./SFUISettingsTemplate.AdminUi");
|
|
16
|
+
var ColorFields = {
|
|
17
|
+
description: " ",
|
|
18
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.color,
|
|
19
|
+
};
|
|
20
|
+
var ColorFieldsDescription = 'This color is not used by all themes, so it could be empty.';
|
|
21
|
+
exports.AdminThemeTemplateSFUI = {
|
|
22
|
+
colors: {
|
|
23
|
+
title: "Colors",
|
|
24
|
+
description: " ",
|
|
25
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
|
|
26
|
+
value: {
|
|
27
|
+
brandColors: {
|
|
28
|
+
title: "Brand Colors",
|
|
29
|
+
description: "",
|
|
30
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
|
|
31
|
+
value: {
|
|
32
|
+
primary1: __assign({ title: "Primary1" }, ColorFields),
|
|
33
|
+
primary2: __assign({ title: "Primary2" }, ColorFields),
|
|
34
|
+
primary3: __assign({ title: "Primary3" }, ColorFields),
|
|
35
|
+
primary4: __assign({ title: "Primary4" }, ColorFields),
|
|
36
|
+
primary5: __assign({ title: "Primary5" }, ColorFields),
|
|
37
|
+
secondary1: __assign({ title: "Secondary1" }, ColorFields),
|
|
38
|
+
secondary2: __assign({ title: "Secondary2" }, ColorFields),
|
|
39
|
+
secondary3: __assign({ title: "Secondary3" }, ColorFields),
|
|
40
|
+
secondary4: __assign({ title: "Secondary4" }, ColorFields),
|
|
41
|
+
secondary5: __assign({ title: "Secondary5" }, ColorFields),
|
|
42
|
+
tertiary1: __assign({ title: "Tertiary1" }, ColorFields),
|
|
43
|
+
tertiary2: __assign({ title: "Tertiary2" }, ColorFields),
|
|
44
|
+
tertiary3: __assign({ title: "Tertiary3" }, ColorFields),
|
|
45
|
+
tertiary4: __assign(__assign({ title: "Tertiary4" }, ColorFields), { description: ColorFieldsDescription }),
|
|
46
|
+
tertiary5: __assign(__assign({ title: "Tertiary5" }, ColorFields), { description: ColorFieldsDescription }),
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
uiColors: {
|
|
50
|
+
title: "UI Colors",
|
|
51
|
+
description: "",
|
|
52
|
+
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
|
|
53
|
+
value: {
|
|
54
|
+
success: __assign({ title: "Success" }, ColorFields),
|
|
55
|
+
successDark: __assign({ title: "Success Dark" }, ColorFields),
|
|
56
|
+
successLight: __assign({ title: "Success Light" }, ColorFields),
|
|
57
|
+
warn: __assign({ title: "Warn" }, ColorFields),
|
|
58
|
+
warnDark: __assign({ title: "Warn Dark" }, ColorFields),
|
|
59
|
+
warnLight: __assign({ title: "Warn Light" }, ColorFields),
|
|
60
|
+
alert: __assign({ title: "Alert" }, ColorFields),
|
|
61
|
+
alertDark: __assign({ title: "Alert Dark" }, ColorFields),
|
|
62
|
+
alertLight: __assign({ title: "Alert Light" }, ColorFields),
|
|
63
|
+
promotion1: __assign({ title: "Promotion1" }, ColorFields),
|
|
64
|
+
promotion2: __assign({ title: "Promotion2" }, ColorFields),
|
|
65
|
+
greyscale1: __assign({ title: "Greyscale1" }, ColorFields),
|
|
66
|
+
greyscale2: __assign({ title: "Greyscale2" }, ColorFields),
|
|
67
|
+
greyscale3: __assign({ title: "Greyscale3" }, ColorFields),
|
|
68
|
+
greyscale4: __assign({ title: "Greyscale4" }, ColorFields),
|
|
69
|
+
greyscale5: __assign({ title: "Greyscale5" }, ColorFields),
|
|
70
|
+
greyscale6: __assign({ title: "Greyscale6" }, ColorFields),
|
|
71
|
+
greyscale7: __assign({ title: "Greyscale7" }, ColorFields),
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
// typography: {
|
|
77
|
+
// title: "Typography",
|
|
78
|
+
// description: "",
|
|
79
|
+
// type: AdminTemplateInputTypes.object,
|
|
80
|
+
// value: {
|
|
81
|
+
// text: {
|
|
82
|
+
// title: "Text",
|
|
83
|
+
// description: "",
|
|
84
|
+
// type: AdminTemplateInputTypes.collapsableObject,
|
|
85
|
+
// value: {
|
|
86
|
+
// body: {
|
|
87
|
+
// title: "Body",
|
|
88
|
+
// description: "Main font styles for the body text",
|
|
89
|
+
// type: AdminTemplateInputTypes.collapsableObject,
|
|
90
|
+
// value: {
|
|
91
|
+
// fontFamily: {
|
|
92
|
+
// title: "Font Family",
|
|
93
|
+
// description: "",
|
|
94
|
+
// type: AdminTemplateInputTypes.inputChar
|
|
95
|
+
// },
|
|
96
|
+
// color: {
|
|
97
|
+
// title: "Color",
|
|
98
|
+
// description: "",
|
|
99
|
+
// type: AdminTemplateInputTypes.inputChar
|
|
100
|
+
// },
|
|
101
|
+
// }
|
|
102
|
+
// }
|
|
103
|
+
// }
|
|
104
|
+
// },
|
|
105
|
+
// }
|
|
106
|
+
// }
|
|
107
|
+
};
|
|
108
|
+
exports.AdminThemeTemplateOptions = {
|
|
109
|
+
title: 'Retailer Theme Template',
|
|
110
|
+
description: 'Please read the documentation before selecting a template.',
|
|
111
|
+
helpLink: 'https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304521749/Admin+UI+Themes',
|
|
112
|
+
options: ["Default STS", "Default Storefront"],
|
|
113
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var imageBucket = "https://www";
|
|
4
|
+
var DefaultImagesSFUI = {
|
|
5
|
+
icons: "/assets/icons.js",
|
|
6
|
+
logos: {
|
|
7
|
+
primary: "".concat(imageBucket, "/img/primary-logo.png"),
|
|
8
|
+
primaryMobile: "".concat(imageBucket, "/img/primary-logo.png"),
|
|
9
|
+
sts: "".concat(imageBucket, "/img/primary-logo.png"),
|
|
10
|
+
stsMobile: "".concat(imageBucket, "/img/primary-logo.png"),
|
|
11
|
+
},
|
|
12
|
+
confirmationPageImage: "".concat(imageBucket, "/img/CheckoutConfirmation_DesktopBG.png"),
|
|
13
|
+
stsCheckBox: {
|
|
14
|
+
primary: "".concat(imageBucket, "/img/select-check_p1.png"),
|
|
15
|
+
empty: "".concat(imageBucket, "/img/select-empty.png"),
|
|
16
|
+
success: "".concat(imageBucket, "/img/select-check_success.png"),
|
|
17
|
+
},
|
|
18
|
+
favicon: "".concat(imageBucket, "/img/mi9-favicon.ico"),
|
|
19
|
+
stsFavicon: "".concat(imageBucket, "/img/mi9-favicon.ico"),
|
|
20
|
+
rewards: "".concat(imageBucket, "/img/rewards-logo.svg"),
|
|
21
|
+
missingImg: {
|
|
22
|
+
recipes: "".concat(imageBucket, "/img/missing-Image-Recipe.svg"),
|
|
23
|
+
x2: "".concat(imageBucket, "/img/missing-Image-SquareX2.svg"),
|
|
24
|
+
x3: "".concat(imageBucket, "/img/missing-Image-SquareX3.svg"),
|
|
25
|
+
square: "".concat(imageBucket, "/img/missing-Image-Square.svg"),
|
|
26
|
+
},
|
|
27
|
+
verifySiteImage: "".concat(imageBucket, "/img/verify-footer-image.png"),
|
|
28
|
+
favicons: [
|
|
29
|
+
{
|
|
30
|
+
rel: "apple-touch-icon",
|
|
31
|
+
sizes: "57x57",
|
|
32
|
+
href: "".concat(imageBucket, "/favicons/apple-icon-57x57.png"),
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
rel: "apple-touch-icon",
|
|
36
|
+
sizes: "60x60",
|
|
37
|
+
href: "".concat(imageBucket, "/favicons/apple-icon-60x60.png"),
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
rel: "apple-touch-icon",
|
|
41
|
+
sizes: "72x72",
|
|
42
|
+
href: "".concat(imageBucket, "/favicons/apple-icon-72x72.png"),
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
rel: "apple-touch-icon",
|
|
46
|
+
sizes: "76x76",
|
|
47
|
+
href: "".concat(imageBucket, "/favicons/apple-icon-76x76.png"),
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
rel: "apple-touch-icon",
|
|
51
|
+
sizes: "114x114",
|
|
52
|
+
href: "".concat(imageBucket, "/favicons/apple-icon-114x114.png"),
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
rel: "apple-touch-icon",
|
|
56
|
+
sizes: "120x120",
|
|
57
|
+
href: "".concat(imageBucket, "/favicons/apple-icon-120x120.png"),
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
rel: "apple-touch-icon",
|
|
61
|
+
sizes: "144x144",
|
|
62
|
+
href: "".concat(imageBucket, "/favicons/apple-icon-144x144.png"),
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
rel: "apple-touch-icon",
|
|
66
|
+
sizes: "152x152",
|
|
67
|
+
href: "".concat(imageBucket, "/favicons/apple-icon-152x152.png"),
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
rel: "apple-touch-icon",
|
|
71
|
+
sizes: "180x180",
|
|
72
|
+
href: "".concat(imageBucket, "/favicons/apple-icon-180x180.png"),
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
rel: "icon",
|
|
76
|
+
sizes: "192x192",
|
|
77
|
+
href: "".concat(imageBucket, "/favicons/android-icon-192x192.png"),
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
rel: "icon",
|
|
81
|
+
sizes: "32x32",
|
|
82
|
+
href: "".concat(imageBucket, "/favicons/favicon-32x32.png"),
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
rel: "icon",
|
|
86
|
+
sizes: "96x96",
|
|
87
|
+
href: "".concat(imageBucket, "/favicons/favicon-96x96.png"),
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
rel: "icon",
|
|
91
|
+
sizes: "16x16",
|
|
92
|
+
href: "".concat(imageBucket, "/favicons/favicon-16x16.png"),
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
};
|
|
96
|
+
exports.default = DefaultImagesSFUI;
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var DefaultConfigSFUI = {
|
|
4
|
+
adminPanelOnly: {
|
|
5
|
+
bannerName: "New banner name",
|
|
6
|
+
logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
|
|
7
|
+
},
|
|
8
|
+
advertSettings: {},
|
|
9
|
+
timeslotModalSettings: {
|
|
10
|
+
showOnAddToCart: false,
|
|
11
|
+
timeslotRequiredToAddToCart: false,
|
|
12
|
+
timeslotRequiredToViewCartReview: false,
|
|
13
|
+
},
|
|
14
|
+
accountPage: {
|
|
15
|
+
loyaltyTab: {
|
|
16
|
+
disabledEdit: false,
|
|
17
|
+
enabled: false,
|
|
18
|
+
loyaltyNumberLength: 11,
|
|
19
|
+
loyaltyNumberPrefix: "",
|
|
20
|
+
loyaltyValidationType: [],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
addresses: {
|
|
24
|
+
addressValidationTypes: {
|
|
25
|
+
addressLine1: ["alphaNumeric", "required"],
|
|
26
|
+
addressLine2: ["alphaNumeric"],
|
|
27
|
+
city: ["alphaNumeric", "required"],
|
|
28
|
+
countyProvinceState: ["usState", "required"],
|
|
29
|
+
familyName: ["alphaOnly", "required"],
|
|
30
|
+
firstName: ["alphaOnly", "required"],
|
|
31
|
+
instructions: ["alphaNumeric"],
|
|
32
|
+
phoneNumber: ["usPhone", "required"],
|
|
33
|
+
postCode: ["usPostCode", "required"],
|
|
34
|
+
},
|
|
35
|
+
canadianAddressCompleteKey: undefined,
|
|
36
|
+
eircodeUrl: undefined,
|
|
37
|
+
integration: {
|
|
38
|
+
addNewAddressUrl: undefined,
|
|
39
|
+
deleteAddressUrl: undefined,
|
|
40
|
+
editAddressUrl: undefined,
|
|
41
|
+
},
|
|
42
|
+
useAddressValidation: true,
|
|
43
|
+
},
|
|
44
|
+
addressValidationTypes: {
|
|
45
|
+
addressLine1: ["alphaNumeric", "required"],
|
|
46
|
+
addressLine2: ["alphaNumeric"],
|
|
47
|
+
city: ["alphaNumeric", "required"],
|
|
48
|
+
countyProvinceState: ["usState", "required"],
|
|
49
|
+
familyName: ["alphaOnly", "required"],
|
|
50
|
+
firstName: ["alphaOnly", "required"],
|
|
51
|
+
instructions: ["alphaNumeric"],
|
|
52
|
+
phoneNumber: ["usPhone", "required"],
|
|
53
|
+
postCode: ["usPostCode", "required"],
|
|
54
|
+
},
|
|
55
|
+
allowInStorePurchases: false,
|
|
56
|
+
allowPastPurchases: true,
|
|
57
|
+
buildNumber: "default",
|
|
58
|
+
cacheTimeMins: 1,
|
|
59
|
+
canadianAddressCompleteKey: undefined,
|
|
60
|
+
checkoutV1: false,
|
|
61
|
+
favoritesV1: false,
|
|
62
|
+
checkout: {
|
|
63
|
+
numericPhonePayload: false,
|
|
64
|
+
},
|
|
65
|
+
checkoutValidation: {
|
|
66
|
+
instructions: ["alphaNumeric", "notWhiteSpacesOnly"],
|
|
67
|
+
phoneNumber: ["usPhone", "required"],
|
|
68
|
+
smsNumber: [],
|
|
69
|
+
},
|
|
70
|
+
ctaButtons: null,
|
|
71
|
+
defaultCountry: "USA",
|
|
72
|
+
defaultSearchParams: {
|
|
73
|
+
page: "1",
|
|
74
|
+
q: "*",
|
|
75
|
+
skip: "0",
|
|
76
|
+
take: "30",
|
|
77
|
+
},
|
|
78
|
+
defaultShoppingMode: "pickup",
|
|
79
|
+
defaultStoreLocation: {
|
|
80
|
+
latitude: 0,
|
|
81
|
+
longitude: 0,
|
|
82
|
+
},
|
|
83
|
+
disableTprPrice: false,
|
|
84
|
+
documentTitle: "ThryveAI Commerce",
|
|
85
|
+
eircode: undefined,
|
|
86
|
+
enable3dSecure: false,
|
|
87
|
+
enableGoogleTranslate: false,
|
|
88
|
+
enableNewsletterSignup: false,
|
|
89
|
+
enableNotifications: false,
|
|
90
|
+
errorLoggingLevel: "error",
|
|
91
|
+
externalStoreSelectorUrl: undefined,
|
|
92
|
+
flipp: null,
|
|
93
|
+
gtmId: undefined,
|
|
94
|
+
hideTaxOnSummary: false,
|
|
95
|
+
houseAccountRegExValidation: ".",
|
|
96
|
+
idpTarget: "_self",
|
|
97
|
+
idpUrl: undefined,
|
|
98
|
+
instacartUrl: undefined,
|
|
99
|
+
isPlanningOnly: false,
|
|
100
|
+
layout: {
|
|
101
|
+
footerVersion: "default",
|
|
102
|
+
},
|
|
103
|
+
limitProductCardTitleHeight: true,
|
|
104
|
+
loggingLevelClient: "error",
|
|
105
|
+
loggingLevelServer: "error",
|
|
106
|
+
mainHeaderHeight: 110,
|
|
107
|
+
mapZoom: 8,
|
|
108
|
+
minimumCreditCardAmount: 1.0,
|
|
109
|
+
nutritionZone: "us",
|
|
110
|
+
paymentCards: {
|
|
111
|
+
AmExpCard: true,
|
|
112
|
+
DiscoverCard: true,
|
|
113
|
+
MasterCard: true,
|
|
114
|
+
VisaCard: true,
|
|
115
|
+
},
|
|
116
|
+
pdpDetailsLayout: {
|
|
117
|
+
desktop: {
|
|
118
|
+
left: [
|
|
119
|
+
"productSalesInfo",
|
|
120
|
+
"productDescription",
|
|
121
|
+
"productIngredients",
|
|
122
|
+
"productNutrition",
|
|
123
|
+
"sodiumWarning",
|
|
124
|
+
"productNumber",
|
|
125
|
+
],
|
|
126
|
+
right: ["recommendations"],
|
|
127
|
+
},
|
|
128
|
+
mobile: {
|
|
129
|
+
left: [
|
|
130
|
+
"productSalesInfo",
|
|
131
|
+
"productDescription",
|
|
132
|
+
"productNumber",
|
|
133
|
+
"sodiumWarning",
|
|
134
|
+
"recommendations",
|
|
135
|
+
],
|
|
136
|
+
right: [
|
|
137
|
+
"productIngredients",
|
|
138
|
+
"productNutrition",
|
|
139
|
+
"recommendations",
|
|
140
|
+
"productNumber",
|
|
141
|
+
],
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
productCardTitleHeight: 40,
|
|
145
|
+
registrationFields: [],
|
|
146
|
+
retailerCountry: "us",
|
|
147
|
+
retailerName: "default",
|
|
148
|
+
daysToRemainSignedIn: 30,
|
|
149
|
+
searchPreview: {
|
|
150
|
+
desktop: {
|
|
151
|
+
products: true,
|
|
152
|
+
suggestions: true,
|
|
153
|
+
},
|
|
154
|
+
mobile: {
|
|
155
|
+
products: true,
|
|
156
|
+
suggestions: true,
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
secondTierAuthorization: undefined,
|
|
160
|
+
showCheckoutPromoCode: true,
|
|
161
|
+
showImgOnOrder: false,
|
|
162
|
+
smsNotifications: {
|
|
163
|
+
enabled: false,
|
|
164
|
+
getEnrollmentUrl: "",
|
|
165
|
+
postEnrollmentUrl: "",
|
|
166
|
+
},
|
|
167
|
+
subHeaderHeight: 0,
|
|
168
|
+
promoTemplateVersion: 1,
|
|
169
|
+
useAddressValidation: true,
|
|
170
|
+
restrictMapPlacesResults: {
|
|
171
|
+
fetchNearStoresSettings: {
|
|
172
|
+
kmRange: 20,
|
|
173
|
+
totalTake: 30,
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
globalAnimations: {
|
|
177
|
+
confetti: {
|
|
178
|
+
enableConfettiAnimation: true,
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
googleAutocompleteSettings: {},
|
|
182
|
+
features: {
|
|
183
|
+
additionalCharges: false,
|
|
184
|
+
clientCache: false,
|
|
185
|
+
giftCards: {
|
|
186
|
+
enabled: false,
|
|
187
|
+
gitfCardInputValidation: "^[0-9]{17}$",
|
|
188
|
+
pinInputValidation: "^[0-9]{4}$",
|
|
189
|
+
reCaptcha: false,
|
|
190
|
+
},
|
|
191
|
+
vouchers: {
|
|
192
|
+
enabled: false,
|
|
193
|
+
reCaptcha: false,
|
|
194
|
+
},
|
|
195
|
+
entryModalVersion: "entry",
|
|
196
|
+
smartbanner: {
|
|
197
|
+
enabled: false,
|
|
198
|
+
author: "",
|
|
199
|
+
button: "",
|
|
200
|
+
buttonUrlApple: "",
|
|
201
|
+
buttonUrlGoogle: "",
|
|
202
|
+
closeLabel: "",
|
|
203
|
+
iconApple: "",
|
|
204
|
+
iconGoogle: "",
|
|
205
|
+
price: "",
|
|
206
|
+
priceSuffixApple: "",
|
|
207
|
+
priceSuffixGoogle: "",
|
|
208
|
+
title: "",
|
|
209
|
+
},
|
|
210
|
+
addressIntegration: {
|
|
211
|
+
enabled: false,
|
|
212
|
+
addressFinderType: "AUS",
|
|
213
|
+
useForNewAddresses: false,
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
siteSettings: {
|
|
217
|
+
anonymousCart: false,
|
|
218
|
+
},
|
|
219
|
+
specialRequestItems: false,
|
|
220
|
+
sodiumWarning: {
|
|
221
|
+
isEnabled: false,
|
|
222
|
+
threshold: 2300,
|
|
223
|
+
},
|
|
224
|
+
productCards: {
|
|
225
|
+
gridRowLength: {
|
|
226
|
+
tablet: 3,
|
|
227
|
+
desktop: 5,
|
|
228
|
+
mobile: 1,
|
|
229
|
+
},
|
|
230
|
+
carouselsRowLength: {
|
|
231
|
+
desktop: 6,
|
|
232
|
+
tablet: 4,
|
|
233
|
+
mobile: 1,
|
|
234
|
+
},
|
|
235
|
+
productCard: {
|
|
236
|
+
enabled: false,
|
|
237
|
+
layouts: {
|
|
238
|
+
ContainersGrid: "default",
|
|
239
|
+
ContainersCarousel: "default",
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
layouts: {
|
|
244
|
+
cartSummary: {
|
|
245
|
+
showTaxTotal: true,
|
|
246
|
+
showTaxGroups: true,
|
|
247
|
+
},
|
|
248
|
+
couponGallery: {
|
|
249
|
+
enabled: false,
|
|
250
|
+
galleryIsIframe: false,
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
productCardv2: false,
|
|
254
|
+
};
|
|
255
|
+
exports.default = DefaultConfigSFUI;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IDefaultColors, IDefaultThemeInterface, IGlobalDefaultTheme } from "../interfaces/default-theme.interface";
|
|
2
|
+
declare const DefaultThemeSFUI: (colors?: IDefaultColors) => IDefaultThemeInterface;
|
|
3
|
+
export default DefaultThemeSFUI;
|
|
4
|
+
export declare const globalTheme: IGlobalDefaultTheme;
|
|
5
|
+
export declare const DefaultThemeColors: IDefaultColors;
|