@thryveai/theme-interfaces 2.6.8 → 2.7.1

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.
Files changed (22) hide show
  1. package/dist/interfaces/admin-settings-interfaces.d.ts +41 -35
  2. package/dist/interfaces/default-settings.interfaces.d.ts +2 -1
  3. package/dist/interfaces/retailer-settings.interfaces.d.ts +6 -0
  4. package/dist/storefront/SFUISettingsTemplate.AdminUi.js +39 -980
  5. package/dist/storefront/SFUISettingsTemplates/accountPage.template.d.ts +3 -0
  6. package/dist/storefront/SFUISettingsTemplates/accountPage.template.js +76 -0
  7. package/dist/storefront/SFUISettingsTemplates/addressSettings.template.d.ts +3 -0
  8. package/dist/storefront/SFUISettingsTemplates/addressSettings.template.js +136 -0
  9. package/dist/storefront/SFUISettingsTemplates/adminPanelOnly.template.d.ts +3 -0
  10. package/dist/storefront/SFUISettingsTemplates/adminPanelOnly.template.js +16 -0
  11. package/dist/storefront/SFUISettingsTemplates/cartSummary.template.d.ts +3 -0
  12. package/dist/storefront/SFUISettingsTemplates/cartSummary.template.js +24 -0
  13. package/dist/storefront/SFUISettingsTemplates/common.d.ts +2 -0
  14. package/dist/storefront/SFUISettingsTemplates/common.js +28 -0
  15. package/dist/storefront/SFUISettingsTemplates/features.template.d.ts +3 -0
  16. package/dist/storefront/SFUISettingsTemplates/features.template.js +317 -0
  17. package/dist/storefront/SFUISettingsTemplates/siteSettings.template.d.ts +3 -0
  18. package/dist/storefront/SFUISettingsTemplates/siteSettings.template.js +180 -0
  19. package/dist/storefront/SFUISettingsTemplates/welcomeModal.template.d.ts +3 -0
  20. package/dist/storefront/SFUISettingsTemplates/welcomeModal.template.js +27 -0
  21. package/dist/storefront/defaultSettingsStorefront.js +1 -0
  22. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import { ITemplateObject } from "../../interfaces/admin-settings-interfaces";
2
+ import { IAccountPageV2 } from "../../interfaces/retailer-settings.interfaces";
3
+ export declare const AccountPageTemplate: ITemplateObject<Partial<IAccountPageV2>>;
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AccountPageTemplate = void 0;
4
+ var SFUISettingsTemplate_AdminUi_1 = require("../SFUISettingsTemplate.AdminUi");
5
+ var common_1 = require("./common");
6
+ exports.AccountPageTemplate = {
7
+ loyaltyTab: {
8
+ title: "Loyalty Tab",
9
+ description: "Set up Loyalty Tab on account page",
10
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
11
+ value: {
12
+ enabled: {
13
+ title: "Enable Loyalty Tab",
14
+ description: "Enable Loyalty tab section within My Account page",
15
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
16
+ },
17
+ disabledEdit: {
18
+ title: "Disable Loyalty edit",
19
+ description: "Prevent users to change their loyalty number",
20
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
21
+ },
22
+ loyaltyNumberLength: {
23
+ title: "Loyalty Number Length",
24
+ description: "Control the loyalty number length",
25
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputNumber,
26
+ },
27
+ loyaltyNumberPrefix: {
28
+ title: "Loyalty Number Prefix",
29
+ description: "Add hardcoded prefix for loyalty numbers (this will affect the length)",
30
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
31
+ },
32
+ loyaltyValidationType: {
33
+ title: "Loyalty Number Validation",
34
+ description: "Select loyalty validation types",
35
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
36
+ options: common_1.validationTypes,
37
+ },
38
+ },
39
+ },
40
+ idp: {
41
+ title: "IDP",
42
+ description: "Use an external account page",
43
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
44
+ value: {
45
+ enabled: {
46
+ title: "Enable",
47
+ description: "Enable the external My Account page",
48
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
49
+ },
50
+ target: {
51
+ title: "Link Target",
52
+ description: "Should the link open in the same or new tab?",
53
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.dropdown,
54
+ options: ["_self", "_blank"],
55
+ },
56
+ url: {
57
+ title: "Link URL",
58
+ description: "URL to link to My Account page",
59
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
60
+ },
61
+ },
62
+ },
63
+ profileTab: {
64
+ title: "Profile Tab",
65
+ description: "Profile Tab settings",
66
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
67
+ value: {
68
+ deleteAccountButton: {
69
+ title: "Delete account button",
70
+ description: "Enable / disable delete account button on My Account page",
71
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3486023742/Delete+account+button",
72
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
73
+ },
74
+ },
75
+ },
76
+ };
@@ -0,0 +1,3 @@
1
+ import { ITemplateObject } from "../../interfaces/admin-settings-interfaces";
2
+ import { IAddressesSettingsV2 } from "../../interfaces/retailer-settings.interfaces";
3
+ export declare const AddressSettingsTemplate: ITemplateObject<Partial<IAddressesSettingsV2>>;
@@ -0,0 +1,136 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddressSettingsTemplate = void 0;
4
+ var SFUISettingsTemplate_AdminUi_1 = require("../SFUISettingsTemplate.AdminUi");
5
+ var addressValidationDescription = "Sets the validation types for user addresses";
6
+ exports.AddressSettingsTemplate = {
7
+ addressValidationTypes: {
8
+ title: "Address Validation",
9
+ description: "User address validation settings.",
10
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274670143/Address+Validation",
11
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
12
+ value: {
13
+ addressLine1: {
14
+ title: "Address Line 1",
15
+ description: addressValidationDescription,
16
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
17
+ options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
18
+ },
19
+ addressLine2: {
20
+ title: "Address Line 2",
21
+ description: addressValidationDescription,
22
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
23
+ options: ["alphaNumeric", "alphaOnly", "numericOnly", "required"],
24
+ },
25
+ city: {
26
+ title: "City",
27
+ description: addressValidationDescription,
28
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
29
+ options: ["alphaNumeric", "alphaOnly", "required"],
30
+ },
31
+ countyProvinceState: {
32
+ title: "County/Province/State",
33
+ description: addressValidationDescription,
34
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
35
+ options: [
36
+ "alphaNumeric",
37
+ "alphaOnly",
38
+ "auState",
39
+ "ieCounty",
40
+ "usState",
41
+ "caProvince",
42
+ "required",
43
+ ],
44
+ },
45
+ familyName: {
46
+ title: "User's Surname",
47
+ description: addressValidationDescription,
48
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
49
+ options: ["alphaNumeric", "alphaOnly", "required"],
50
+ },
51
+ firstName: {
52
+ title: "User's first name",
53
+ description: addressValidationDescription,
54
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
55
+ options: ["alphaNumeric", "alphaOnly", "required"],
56
+ },
57
+ instructions: {
58
+ title: "User Instructions Fields",
59
+ description: "Validation for the input fields for user instructions",
60
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
61
+ options: ["alphaNumeric", "alphaOnly", "required", "numericOnly"],
62
+ },
63
+ phoneNumber: {
64
+ title: "Phone Number",
65
+ description: "The number to be used to contact the user",
66
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
67
+ options: [
68
+ "usPhone",
69
+ "usMobileNumber",
70
+ "numericOnly",
71
+ "auPhone",
72
+ "caPhone",
73
+ "iePhone",
74
+ "anyPhone",
75
+ "required",
76
+ ],
77
+ },
78
+ postCode: {
79
+ title: "Post / zip code",
80
+ description: addressValidationDescription,
81
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
82
+ options: [
83
+ "alphaNumeric",
84
+ "auPostCode",
85
+ "caPostCode",
86
+ "iePostCode",
87
+ "usPostCode",
88
+ "numericOnly",
89
+ "required",
90
+ ],
91
+ },
92
+ smsNumber: {
93
+ title: "SMS number",
94
+ description: addressValidationDescription,
95
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.multiDropdown,
96
+ options: [
97
+ "usPhone",
98
+ "usMobileNumber",
99
+ "numericOnly",
100
+ "auPhone",
101
+ "caPhone",
102
+ "iePhone",
103
+ "anyPhone",
104
+ "required",
105
+ ],
106
+ },
107
+ },
108
+ },
109
+ eircode: {
110
+ title: "Eircode",
111
+ description: "Add a link to the address section",
112
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
113
+ value: {
114
+ enabled: {
115
+ title: "Enable",
116
+ description: "",
117
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
118
+ },
119
+ url: {
120
+ title: "Link URL",
121
+ description: "",
122
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
123
+ },
124
+ },
125
+ },
126
+ // integration: {
127
+ // title: "Address Integration Settings",
128
+ // description: "Coming Soon",
129
+ // type: AdminTemplateInputTypes.nullObject,
130
+ // },
131
+ useAddressValidation: {
132
+ title: "useAddressValidation",
133
+ description: "useAddressValidation",
134
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
135
+ },
136
+ };
@@ -0,0 +1,3 @@
1
+ import { ITemplateObject } from "../../interfaces/admin-settings-interfaces";
2
+ import { IAdminOnlyV2 } from "../../interfaces/retailer-settings.interfaces";
3
+ export declare const AdminPanelOnlyTemplate: ITemplateObject<Partial<IAdminOnlyV2>>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdminPanelOnlyTemplate = void 0;
4
+ var SFUISettingsTemplate_AdminUi_1 = require("../SFUISettingsTemplate.AdminUi");
5
+ exports.AdminPanelOnlyTemplate = {
6
+ bannerName: {
7
+ title: "Retailer Name",
8
+ description: "Set the banner name here.",
9
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
10
+ },
11
+ logoUrl: {
12
+ title: "Retailer Logo",
13
+ description: "Set a logo here to help identify the banner.",
14
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
15
+ },
16
+ };
@@ -0,0 +1,3 @@
1
+ import { ITemplateObject } from "../../interfaces/admin-settings-interfaces";
2
+ import { ICartSummaryV2 } from "../../interfaces/retailer-settings.interfaces";
3
+ export declare const CartSummaryTemplate: ITemplateObject<Partial<ICartSummaryV2>>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CartSummaryTemplate = void 0;
4
+ var SFUISettingsTemplate_AdminUi_1 = require("../SFUISettingsTemplate.AdminUi");
5
+ exports.CartSummaryTemplate = {
6
+ showTaxTotal: {
7
+ title: "showTaxTotal",
8
+ description: " ",
9
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
10
+ visible: true,
11
+ },
12
+ showTaxGroups: {
13
+ title: "showTaxGroups",
14
+ description: " ",
15
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
16
+ visible: true,
17
+ },
18
+ hideTaxOnSummary: {
19
+ title: "hideTaxOnSummary",
20
+ description: " ",
21
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
22
+ visible: true,
23
+ },
24
+ };
@@ -0,0 +1,2 @@
1
+ import { IValidationType } from "../../interfaces/retailer-settings.interfaces";
2
+ export declare const validationTypes: Array<IValidationType>;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.validationTypes = void 0;
4
+ exports.validationTypes = [
5
+ "luhnValidation",
6
+ "alphaNumeric",
7
+ "alphaOnly",
8
+ "numericOnly",
9
+ "anyPhone",
10
+ "email",
11
+ "password",
12
+ "required",
13
+ "usPhone",
14
+ "usMobileNumber",
15
+ "caPhone",
16
+ "auPhone",
17
+ "iePhone",
18
+ "caProvince",
19
+ "usState",
20
+ "auState",
21
+ "ieCounty",
22
+ "caPostCode",
23
+ "usPostCode",
24
+ "auPostCode",
25
+ "iePostCode",
26
+ "noSpecialChar",
27
+ "correctDate",
28
+ ];
@@ -0,0 +1,3 @@
1
+ import { ITemplateObject } from "../../interfaces/admin-settings-interfaces";
2
+ import { IFeaturesV2 } from "../../interfaces/retailer-settings.interfaces";
3
+ export declare const FeaturesTemplate: ITemplateObject<Partial<IFeaturesV2>>;
@@ -0,0 +1,317 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FeaturesTemplate = void 0;
4
+ var SFUISettingsTemplate_AdminUi_1 = require("../SFUISettingsTemplate.AdminUi");
5
+ exports.FeaturesTemplate = {
6
+ allowInStorePurchases: {
7
+ title: "InStore Purchases",
8
+ description: "Show the purchases made in store in the order history (requires integration).",
9
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274375221/AllowInStorePurchases",
10
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
11
+ group: { id: 2, name: "In-store purchases" },
12
+ },
13
+ allowPastPurchases: {
14
+ title: "Display PastPurchases",
15
+ description: "Enable displaying past purchases functionality",
16
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274637365/AllowPastPurchases",
17
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
18
+ group: { id: 1, name: "General Features" },
19
+ },
20
+ additionalCharges: {
21
+ title: "Additional Charges",
22
+ description: "Enables additional charges on the payments section of checkout.",
23
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/Additional+Charges",
24
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
25
+ group: { id: 1, name: "General Features" },
26
+ },
27
+ addressIntegrationV2: {
28
+ title: "addressIntegrationV2",
29
+ description: "Enables addressIntegrationV2.",
30
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/AddressIntegrationV2",
31
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
32
+ group: { id: 1, name: "General Features" },
33
+ },
34
+ promotionDetailsPage: {
35
+ title: "Promotion Details Page",
36
+ description: "Enable Promotion calculator for different promotion detail pages",
37
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3555721239/Promotion+calculator+for+Promotion+Detail+Pages",
38
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
39
+ group: { id: 3, name: "Promotion details page" },
40
+ value: {
41
+ bundlePromotionCalculator: {
42
+ title: "Enable bundle promotion calculator",
43
+ description: "Enable promotion calculator for bundle promotions on details Page",
44
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
45
+ },
46
+ nonBundlePromotionCalculator: {
47
+ title: "Enable non bundle promotion calculator",
48
+ description: "Enable promotion calculator for non bundle promotions on details Page",
49
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
50
+ },
51
+ },
52
+ },
53
+ gsaSupportedBrowser: {
54
+ title: "gsaSupportedBrowser",
55
+ description: "Enables a retailer setting to block or unblock users from accessing the storefront using GSA",
56
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/gsaSupportedBrowser",
57
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
58
+ group: { id: 1, name: "General Features" },
59
+ },
60
+ clientCache: {
61
+ title: "Browser API Caching",
62
+ description: "Enable cache for clients on the browser",
63
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
64
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304783908/Client+Cache",
65
+ },
66
+ giftCards: {
67
+ title: "Gift Cards",
68
+ description: "Enables gift cards on the payments section of checkout.",
69
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3313598656/Gift+Cards",
70
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
71
+ value: {
72
+ enabled: {
73
+ title: "Enable Gift Cards",
74
+ description: "Enables gift cards feature.",
75
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
76
+ },
77
+ giftCardInputValidation: {
78
+ title: "Gift Card Input Validation",
79
+ description: "Regular expression used for giftcard validation",
80
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
81
+ },
82
+ pinInputValidation: {
83
+ title: "Gift Card Pin Validation",
84
+ description: "Regular expression used for pin validation",
85
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
86
+ },
87
+ reCaptcha: {
88
+ title: "Enable reCaptcha",
89
+ description: "Enables reCaptcha validation feature.",
90
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
91
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
92
+ },
93
+ },
94
+ },
95
+ couponGallery: {
96
+ title: "Coupon Gallery",
97
+ description: "Enables Coupon Gallery for user to see all available Coupons on one page",
98
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3429171291/Coupon+Gallery",
99
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
100
+ value: {
101
+ enabled: {
102
+ title: "Enable coupon gallery",
103
+ description: "Enable coupon gallery feature, please select another option below to fully activate feature",
104
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
105
+ },
106
+ galleryIsIframe: {
107
+ title: "Enable coupon gallery internal page",
108
+ description: "Enable coupon gallery Iframe feature within the app",
109
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
110
+ },
111
+ galleryHasNavLink: {
112
+ title: "Enable coupon gallery external page",
113
+ description: "Enable coupon gallery link to external page not in the app",
114
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
115
+ },
116
+ },
117
+ },
118
+ vouchers: {
119
+ title: "Voucher",
120
+ description: "Enables voucher on checkout page (requires integration).",
121
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
122
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
123
+ value: {
124
+ enabled: {
125
+ title: "Enable Vouchers",
126
+ description: "Enables vouchers feature.",
127
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
128
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304947761/Vouchers",
129
+ },
130
+ reCaptcha: {
131
+ title: "Enable reCaptcha",
132
+ description: "Enables reCaptcha validation feature.",
133
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
134
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327885553/ReCaptcha+validation",
135
+ },
136
+ },
137
+ },
138
+ entryModalVersion: {
139
+ title: "Set entry modal step",
140
+ description: "Set entry modal step setting.",
141
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.string,
142
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Entry+Modal+Version",
143
+ },
144
+ hideAlcoholRule: {
145
+ title: "Set if shopping rule modals appears for alcohol",
146
+ description: "Set boolean to control if shopping rule modals appears for alcohol.",
147
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
148
+ value: {
149
+ pdp: {
150
+ title: "Disable warning box",
151
+ description: "Disable alcohol warning box on pdp.",
152
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
153
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
154
+ },
155
+ modal: {
156
+ title: "Disable warning modal",
157
+ description: "Disable alcohol warning modal popup.",
158
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
159
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
160
+ },
161
+ productCard: {
162
+ title: "Disable shopping rule label",
163
+ description: "Disable alchohol rule label in Product Cards.",
164
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
165
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
166
+ },
167
+ },
168
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3344302081/Hide+Alcohol+Rule",
169
+ },
170
+ enableGoogleTranslate: {
171
+ title: "Enable Google Translate",
172
+ description: "Enable google translation display and functionality",
173
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276275734/Enable+Google+Translate",
174
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
175
+ },
176
+ enableNewsletterSignup: {
177
+ title: "Enable Newsletter",
178
+ description: "Enable newsletter signup functionality",
179
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276144678/Enable+Newsletter",
180
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
181
+ },
182
+ enableNotifications: {
183
+ title: "Enable Notifications",
184
+ description: "Enable notifications functionality",
185
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3276177422/Enable+Notifications",
186
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
187
+ },
188
+ externalStoreSelectorUrl: {
189
+ title: "External Store Selector Url",
190
+ description: "Shows a link back to previous shopping platform, seen on store selection modal.This is generally used for an existing site that has not migrated all their stores to WynShop.",
191
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
192
+ value: {
193
+ enabled: {
194
+ title: "Enabled",
195
+ description: "This will enabled the url",
196
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
197
+ },
198
+ url: {
199
+ title: "Link to other platform",
200
+ description: "This will link to the previous platform",
201
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
202
+ },
203
+ },
204
+ },
205
+ // flipp: {
206
+ // title: "Flipp Circulars",
207
+ // description: "Configure Flipp circulars integration",
208
+ // type: AdminTemplateInputTypes.nullObject,
209
+ // value: {
210
+ // version: {
211
+ // title: "Version",
212
+ // description: "Will you use version 1 or version 2?",
213
+ // type: AdminTemplateInputTypes.checkbox,
214
+ // },
215
+ // retailer: {
216
+ // title: "Retailer Name",
217
+ // description: "The retailer setting from flipp",
218
+ // type: AdminTemplateInputTypes.inputChar,
219
+ // },
220
+ // merchantId: {
221
+ // title: "Merchant Id",
222
+ // description: "The merchant Id setting from flipp",
223
+ // type: AdminTemplateInputTypes.inputChar,
224
+ // },
225
+ // accessToken: {
226
+ // title: "Access Token",
227
+ // description: "The access token setting from flipp",
228
+ // type: AdminTemplateInputTypes.inputChar,
229
+ // },
230
+ // zoom: {
231
+ // title: "Zoom Level",
232
+ // description: "The viewport width percentage for flipp rendering",
233
+ // type: AdminTemplateInputTypes.dropdown,
234
+ // options: [100, 95, 90, 85, 80, 75, 70, 65, 60],
235
+ // },
236
+ // locale: {
237
+ // title: "Locale",
238
+ // description: "The locale of flipp flyers",
239
+ // type: AdminTemplateInputTypes.inputChar,
240
+ // },
241
+ // hideHeader: {
242
+ // title: "hideHeader",
243
+ // description:
244
+ // "Setting to toggle visibility of the flipp navigation header",
245
+ // type: AdminTemplateInputTypes.checkbox,
246
+ // },
247
+ // },
248
+ // },
249
+ smartbanner: {
250
+ title: "Smart Banner",
251
+ description: "Render smart banner on mobile views",
252
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3304849441/Smart+Banner",
253
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.collapsableObject,
254
+ value: {
255
+ enabled: {
256
+ title: "Enable",
257
+ description: "Enable smart banner",
258
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.checkbox,
259
+ },
260
+ title: {
261
+ title: "Title",
262
+ description: "Smart banner title",
263
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
264
+ },
265
+ author: {
266
+ title: "Author",
267
+ description: "Smart banner author",
268
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
269
+ },
270
+ price: {
271
+ title: "Price",
272
+ description: "Smart banner price",
273
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
274
+ },
275
+ priceSuffixApple: {
276
+ title: "Apple Price Suffix",
277
+ description: "Smart banner price suffix for Apple devices",
278
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
279
+ },
280
+ priceSuffixGoogle: {
281
+ title: "Google Price Suffix",
282
+ description: "Smart banner price suffix for Google devices",
283
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
284
+ },
285
+ iconApple: {
286
+ title: "Apple Icon",
287
+ description: "Smart banner icon for Apple devices",
288
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
289
+ },
290
+ iconGoogle: {
291
+ title: "Google Icon",
292
+ description: "Smart banner icon for Google devices",
293
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
294
+ },
295
+ button: {
296
+ title: "Button",
297
+ description: "Smart banner button text",
298
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
299
+ },
300
+ buttonUrlApple: {
301
+ title: "Apple Button Url",
302
+ description: "Smart banner url for Apple button",
303
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
304
+ },
305
+ buttonUrlGoogle: {
306
+ title: "Google Button Url",
307
+ description: "Smart banner url for Google button",
308
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
309
+ },
310
+ closeLabel: {
311
+ title: "Close Label",
312
+ description: "Smart banner label text",
313
+ type: SFUISettingsTemplate_AdminUi_1.AdminTemplateInputTypes.inputChar,
314
+ },
315
+ },
316
+ },
317
+ };
@@ -0,0 +1,3 @@
1
+ import { ITemplateObject } from "../../interfaces/admin-settings-interfaces";
2
+ import { ISiteSettingsV2 } from "../../interfaces/retailer-settings.interfaces";
3
+ export declare const SiteSettingsTemplate: ITemplateObject<Partial<ISiteSettingsV2>>;