@thryveai/theme-interfaces 2.7.0 → 2.7.2
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/admin-settings-interfaces.d.ts +1 -1
- package/dist/interfaces/retailer-settings.interfaces.d.ts +1 -1
- package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +2 -0
- package/dist/storefront/SFUISettingsTemplate.AdminUi.js +833 -36
- package/package.json +1 -1
- package/dist/storefront/SFUISettingsTemplates/accountPage.template.d.ts +0 -3
- package/dist/storefront/SFUISettingsTemplates/accountPage.template.js +0 -76
- package/dist/storefront/SFUISettingsTemplates/addressSettings.template.d.ts +0 -3
- package/dist/storefront/SFUISettingsTemplates/addressSettings.template.js +0 -136
- package/dist/storefront/SFUISettingsTemplates/adminPanelOnly.template.d.ts +0 -3
- package/dist/storefront/SFUISettingsTemplates/adminPanelOnly.template.js +0 -16
- package/dist/storefront/SFUISettingsTemplates/cartSummary.template.d.ts +0 -3
- package/dist/storefront/SFUISettingsTemplates/cartSummary.template.js +0 -24
- package/dist/storefront/SFUISettingsTemplates/common.d.ts +0 -2
- package/dist/storefront/SFUISettingsTemplates/common.js +0 -28
- package/dist/storefront/SFUISettingsTemplates/features.template.d.ts +0 -3
- package/dist/storefront/SFUISettingsTemplates/features.template.js +0 -317
- package/dist/storefront/SFUISettingsTemplates/siteSettings.template.d.ts +0 -3
- package/dist/storefront/SFUISettingsTemplates/siteSettings.template.js +0 -180
- package/dist/storefront/SFUISettingsTemplates/welcomeModal.template.d.ts +0 -3
- package/dist/storefront/SFUISettingsTemplates/welcomeModal.template.js +0 -27
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SiteSettingsTemplate = void 0;
|
|
4
|
-
var SFUISettingsTemplate_AdminUi_1 = require("../SFUISettingsTemplate.AdminUi");
|
|
5
|
-
var ContentEngineV2Components = {
|
|
6
|
-
HeroBanner: {
|
|
7
|
-
description: "Use HeroBanner V2",
|
|
8
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478946114/Hero+Banner",
|
|
9
|
-
title: "Enable HeroBanner V2 component",
|
|
10
|
-
type: "checkbox",
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
exports.SiteSettingsTemplate = {
|
|
14
|
-
anonymousCart: {
|
|
15
|
-
title: "Anonymous Cart",
|
|
16
|
-
description: "⚠️ Allows the customer to add to cart without being logged in.⚠️ (Setting has side effects)",
|
|
17
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/Anonymous+Cart",
|
|
18
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
19
|
-
},
|
|
20
|
-
// ctaButtons: {
|
|
21
|
-
// title: "Call To Action Button Settings",
|
|
22
|
-
// description: "Coming Soon",
|
|
23
|
-
// type: AdminTemplateInputTypes.nullObject,
|
|
24
|
-
// },
|
|
25
|
-
daysToRemainSignedIn: {
|
|
26
|
-
title: "Sign In Days",
|
|
27
|
-
description: "Time in days to remain signed in in the app",
|
|
28
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
29
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputNumber,
|
|
30
|
-
},
|
|
31
|
-
defaultCountry: {
|
|
32
|
-
title: "Default country",
|
|
33
|
-
description: "Select the default country",
|
|
34
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
35
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.dropdown,
|
|
36
|
-
options: ["USA", "CAN", "IRE", "AUS"],
|
|
37
|
-
},
|
|
38
|
-
defaultShoppingMode: {
|
|
39
|
-
title: "Default Shopping Mode",
|
|
40
|
-
description: "Shopping mode the site defaults to when a user lands and has not registered.",
|
|
41
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3272999110/Default+Shopping+Mode",
|
|
42
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.dropdown,
|
|
43
|
-
options: ["pickup", "planning", "delivery"],
|
|
44
|
-
},
|
|
45
|
-
disableTprPrice: {
|
|
46
|
-
title: "Disable TPR Price",
|
|
47
|
-
description: "Disable the display of tpr pricing",
|
|
48
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177413/Disable+TPR+Price",
|
|
49
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
50
|
-
},
|
|
51
|
-
defaultStoreLocation: {
|
|
52
|
-
title: "Default Store Location",
|
|
53
|
-
description: "Used to center the store selector map to the retailers region. Without setting this, the map defaults to central Africa.",
|
|
54
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
|
|
55
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3275784259/Default+Store+Location",
|
|
56
|
-
value: {
|
|
57
|
-
latitude: {
|
|
58
|
-
title: "Latitude",
|
|
59
|
-
description: "",
|
|
60
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputNumber,
|
|
61
|
-
},
|
|
62
|
-
longitude: {
|
|
63
|
-
title: "Longitude",
|
|
64
|
-
description: "",
|
|
65
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputNumber,
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
gtmId: {
|
|
70
|
-
title: "GTM ID",
|
|
71
|
-
description: "Google Tag Manager ID",
|
|
72
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
73
|
-
},
|
|
74
|
-
hideWelcomeModalOnCorporate: {
|
|
75
|
-
title: "Hide Welcome Modal on Corporate",
|
|
76
|
-
description: "Enable to hide the initial welcome modal selection screen when on corporate store",
|
|
77
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3472326883/Hide+Welcome+Modal+on+Corporate",
|
|
78
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
79
|
-
},
|
|
80
|
-
isPlanningOnly: {
|
|
81
|
-
title: "Planning Only",
|
|
82
|
-
description: "Enable if planning mode is the only available shopping method",
|
|
83
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
84
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
85
|
-
},
|
|
86
|
-
RemoveAllOutOfStock: {
|
|
87
|
-
title: "RemoveAllOutOfStock Button",
|
|
88
|
-
description: "Disable RemoveAllOutOfStock to hide RemoveAllOutOfStock button",
|
|
89
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
90
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
91
|
-
},
|
|
92
|
-
mapZoom: {
|
|
93
|
-
title: "Map Zoom",
|
|
94
|
-
description: "Use to change the google maps zoom level",
|
|
95
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
96
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputNumber,
|
|
97
|
-
},
|
|
98
|
-
maintainCustomerJourney: {
|
|
99
|
-
title: "Maintain customer journey",
|
|
100
|
-
description: "Use to navigate back to the page you were after login/store selection etc...",
|
|
101
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3373695163/Maintain+customer+journey",
|
|
102
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
103
|
-
},
|
|
104
|
-
maintainCustomerPreferences: {
|
|
105
|
-
title: "Maintain customer preferences",
|
|
106
|
-
description: "View and modify customer preferences: marketing preferences, substitution preferences, etc.",
|
|
107
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3405381666/Maintain+customer+preferences",
|
|
108
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
|
|
109
|
-
value: {
|
|
110
|
-
enabled: {
|
|
111
|
-
title: "Enable",
|
|
112
|
-
description: "Enable Maintain customer preferences",
|
|
113
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
114
|
-
},
|
|
115
|
-
optInMarketingPreferences: {
|
|
116
|
-
title: "Implicit opt in for marketing preferences",
|
|
117
|
-
description: "Do NOT enable for GDPR compliant clients!",
|
|
118
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
119
|
-
},
|
|
120
|
-
selectOptInMarketingPreferencesStore: {
|
|
121
|
-
title: "Force selection of exact store you want to receive marketing preferences from",
|
|
122
|
-
description: "Select store customer wants to receive updates/offers from",
|
|
123
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
124
|
-
},
|
|
125
|
-
sections: {
|
|
126
|
-
title: "Sections",
|
|
127
|
-
description: "TODO",
|
|
128
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
129
|
-
},
|
|
130
|
-
},
|
|
131
|
-
},
|
|
132
|
-
retailerCountry: {
|
|
133
|
-
title: "Retailer country",
|
|
134
|
-
description: "Select the retailer country",
|
|
135
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
136
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.dropdown,
|
|
137
|
-
options: ["us", "ca", "ie", "au"],
|
|
138
|
-
},
|
|
139
|
-
retailerName: {
|
|
140
|
-
title: "Retailer Name",
|
|
141
|
-
description: "Retailers short code e.g the code used for the retailers environment.",
|
|
142
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
|
|
143
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
144
|
-
},
|
|
145
|
-
timeslotModalSettings: {
|
|
146
|
-
title: "Timeslot Modal Settings",
|
|
147
|
-
description: "Force timeslot selection",
|
|
148
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
|
|
149
|
-
value: {
|
|
150
|
-
showOnAddToCart: {
|
|
151
|
-
title: "Timeslot on Add To Cart",
|
|
152
|
-
description: "Show timeslot popup when user clicks on AddToCart",
|
|
153
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
154
|
-
},
|
|
155
|
-
timeslotRequiredToAddToCart: {
|
|
156
|
-
title: "Force Timeslot on Add To Cart",
|
|
157
|
-
description: "Force a timeslot selection in order to add item in cart",
|
|
158
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
159
|
-
},
|
|
160
|
-
timeslotRequiredToViewCartReview: {
|
|
161
|
-
title: "Force Timeslot on Cart Page",
|
|
162
|
-
description: "Force a timeslot selection in order to view cart page",
|
|
163
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
164
|
-
},
|
|
165
|
-
timeslotRequiredToViewCheckout: {
|
|
166
|
-
title: "Force Timeslot on Checkout",
|
|
167
|
-
description: "Force a timeslot selection in order to view checkout",
|
|
168
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
|
|
169
|
-
},
|
|
170
|
-
},
|
|
171
|
-
},
|
|
172
|
-
useContentEngineV2Components: {
|
|
173
|
-
title: "Use Content Engine V2 Components",
|
|
174
|
-
description: "(work in progress)",
|
|
175
|
-
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3478618892/Content+Engine+V2+Components",
|
|
176
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.object,
|
|
177
|
-
// todo
|
|
178
|
-
value: ContentEngineV2Components,
|
|
179
|
-
},
|
|
180
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WelcomeModalTemplate = void 0;
|
|
4
|
-
var SFUISettingsTemplate_AdminUi_1 = require("../SFUISettingsTemplate.AdminUi");
|
|
5
|
-
exports.WelcomeModalTemplate = {
|
|
6
|
-
label: {
|
|
7
|
-
title: "Option Label",
|
|
8
|
-
description: "",
|
|
9
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
10
|
-
},
|
|
11
|
-
href: {
|
|
12
|
-
title: "Link",
|
|
13
|
-
description: "This is the URL to which the button will direct users.",
|
|
14
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
|
|
15
|
-
},
|
|
16
|
-
target: {
|
|
17
|
-
title: "Open in",
|
|
18
|
-
description: "",
|
|
19
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.dropdown,
|
|
20
|
-
options: ["_blank", "_self", "_parent", "_top"],
|
|
21
|
-
},
|
|
22
|
-
icon: {
|
|
23
|
-
title: "Icon",
|
|
24
|
-
description: "",
|
|
25
|
-
type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.images,
|
|
26
|
-
},
|
|
27
|
-
};
|