@thryveai/theme-interfaces 2.4.6 → 2.4.9
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.
|
@@ -96,6 +96,7 @@ export interface IFeatureSwitch {
|
|
|
96
96
|
entryModalVersion: IEntryModalVersion;
|
|
97
97
|
addressIntegration: IAddressIntegration;
|
|
98
98
|
hideAlcoholRule: IShoppingRuleControl;
|
|
99
|
+
addressIntegrationV2: boolean;
|
|
99
100
|
}
|
|
100
101
|
export interface ISiteSettings {
|
|
101
102
|
anonymousCart: boolean;
|
|
@@ -132,6 +133,7 @@ export interface IGlobalLayouts {
|
|
|
132
133
|
export interface ICouponGalleryLayout {
|
|
133
134
|
enabled: boolean;
|
|
134
135
|
galleryIsIframe: boolean;
|
|
136
|
+
galleryHasNavLink: boolean;
|
|
135
137
|
}
|
|
136
138
|
export interface ICartSummaryLayout {
|
|
137
139
|
showTaxTotal: boolean;
|
|
@@ -280,6 +282,7 @@ export interface IFeaturesV2 {
|
|
|
280
282
|
smartbanner: ISmartBanner;
|
|
281
283
|
entryModalVersion: IEntryModalVersion;
|
|
282
284
|
hideAlcoholRule: IShoppingRuleControl;
|
|
285
|
+
addressIntegrationV2: boolean;
|
|
283
286
|
allowInStorePurchases: boolean;
|
|
284
287
|
allowPastPurchases: boolean;
|
|
285
288
|
advertSettings: IAdvertSettings;
|
|
@@ -391,7 +394,7 @@ export interface IRestrictMapPlaces {
|
|
|
391
394
|
export declare type IValidationType = IValidateDateRange | IValidateLength | IValidateMultipleLengths | "alphaNumeric" | "alphaOnly" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "email" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "password" | "required" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly";
|
|
392
395
|
export declare type IEnvNames = "dev" | "de2" | "qat" | "qa2" | "int" | "in2" | "lod" | "lo2" | "stg" | "st2" | "stagingConfig" | "productionConfig";
|
|
393
396
|
export declare type INutritionZone = "us" | "eu" | "au" | "ca";
|
|
394
|
-
export declare type IFooterTypes = "default" | "version2" | "version3" | "version4" | "version5";
|
|
397
|
+
export declare type IFooterTypes = "default" | "version2" | "version3" | "version4" | "version5" | "version6";
|
|
395
398
|
export declare type IValidateLength = {
|
|
396
399
|
_type: "less" | "more" | "exact";
|
|
397
400
|
length: number;
|
|
@@ -59,6 +59,12 @@ var FeatureSettingsChildren = {
|
|
|
59
59
|
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/Additional+Charges",
|
|
60
60
|
type: exports.AdminTemplateInputTypes.checkbox,
|
|
61
61
|
},
|
|
62
|
+
addressIntegrationV2: {
|
|
63
|
+
title: "addressIntegrationV2",
|
|
64
|
+
description: "Enables addressIntegrationV2.",
|
|
65
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/AddressIntegrationV2",
|
|
66
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
67
|
+
},
|
|
62
68
|
clientCache: {
|
|
63
69
|
title: "Browser API Caching",
|
|
64
70
|
description: "Enable cache for clients on the browser",
|
|
@@ -94,6 +100,29 @@ var FeatureSettingsChildren = {
|
|
|
94
100
|
},
|
|
95
101
|
},
|
|
96
102
|
},
|
|
103
|
+
couponGallery: {
|
|
104
|
+
title: "Coupon Gallery",
|
|
105
|
+
description: "Enables Coupon Gallery for user to see all available Coupons on one page",
|
|
106
|
+
helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3429171291/Coupon+Gallery",
|
|
107
|
+
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
108
|
+
value: {
|
|
109
|
+
enabled: {
|
|
110
|
+
title: "Enable coupon gallery",
|
|
111
|
+
description: "Enable coupon gallery feature, please select another option below to fully activate feature",
|
|
112
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
113
|
+
},
|
|
114
|
+
galleryIsIframe: {
|
|
115
|
+
title: "Enable coupon gallery internal page",
|
|
116
|
+
description: "Enable coupon gallery Iframe feature within the app",
|
|
117
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
118
|
+
},
|
|
119
|
+
galleryHasNavLink: {
|
|
120
|
+
title: "Enable coupon gallery external page",
|
|
121
|
+
description: "Enable coupon gallery link to external page not in the app",
|
|
122
|
+
type: exports.AdminTemplateInputTypes.checkbox,
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
},
|
|
97
126
|
vouchers: {
|
|
98
127
|
title: "Voucher",
|
|
99
128
|
description: "Enables voucher on checkout page (requires integration).",
|
|
@@ -85,6 +85,7 @@ var DefaultConfigSFUI = {
|
|
|
85
85
|
},
|
|
86
86
|
entryModalVersion: "entry",
|
|
87
87
|
hideAlcoholRule: { modal: false, pdp: false },
|
|
88
|
+
addressIntegrationV2: false,
|
|
88
89
|
allowInStorePurchases: false,
|
|
89
90
|
allowPastPurchases: true,
|
|
90
91
|
advertSettings: {},
|
|
@@ -119,6 +120,7 @@ var DefaultConfigSFUI = {
|
|
|
119
120
|
couponGallery: {
|
|
120
121
|
enabled: false,
|
|
121
122
|
galleryIsIframe: false,
|
|
123
|
+
galleryHasNavLink: false,
|
|
122
124
|
},
|
|
123
125
|
},
|
|
124
126
|
accountPage: {
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@thryveai/theme-interfaces",
|
|
3
|
-
"version": "2.4.
|
|
4
|
-
"description": "Shared interfaces and defaults for all Wynshop themed apps.",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "tsc",
|
|
7
|
-
"push": "npm run build && npm publish",
|
|
8
|
-
"merge-settings": "ts-node ./scripts/sfui-settings-migrator.ts"
|
|
9
|
-
},
|
|
10
|
-
"author": "Wynshop",
|
|
11
|
-
"license": "ISC",
|
|
12
|
-
"main": "dist",
|
|
13
|
-
"files": [
|
|
14
|
-
"dist"
|
|
15
|
-
],
|
|
16
|
-
"devDependencies": {
|
|
17
|
-
"@types/node": "^17.0.42",
|
|
18
|
-
"ts-node": "^10.8.1",
|
|
19
|
-
"typescript": "4.6.3"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@thryveai/theme-interfaces",
|
|
3
|
+
"version": "2.4.9",
|
|
4
|
+
"description": "Shared interfaces and defaults for all Wynshop themed apps.",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "tsc",
|
|
7
|
+
"push": "npm run build && npm publish",
|
|
8
|
+
"merge-settings": "ts-node ./scripts/sfui-settings-migrator.ts"
|
|
9
|
+
},
|
|
10
|
+
"author": "Wynshop",
|
|
11
|
+
"license": "ISC",
|
|
12
|
+
"main": "dist",
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@types/node": "^17.0.42",
|
|
18
|
+
"ts-node": "^10.8.1",
|
|
19
|
+
"typescript": "4.6.3"
|
|
20
|
+
}
|
|
21
|
+
}
|