@thryveai/theme-interfaces 2.4.21 → 2.4.22

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/README.md CHANGED
@@ -1,29 +1,29 @@
1
- #V8 Theme Interfaces
2
-
3
- interfaces for all MI9 Retailer Themes.
4
-
5
- ###icons.interfaces
6
- List of all icons used inside the ui projects.
7
-
8
- ###retailer-settings.interfaces
9
- more info here
10
- https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo
11
- ###theme.interfaces
12
- The interface for each theme, colors, fonts, sizes and other css properties.
13
-
14
- #To Build Project
15
-
16
- ```
17
- npm install
18
- npm run build
19
- ```
20
-
21
- #To Publish npm package
22
- ```
23
- npm login
24
- npm publish
25
- ```
26
- or
27
- ```
28
- npm run push
29
- ```
1
+ #V8 Theme Interfaces
2
+
3
+ interfaces for all MI9 Retailer Themes.
4
+
5
+ ###icons.interfaces
6
+ List of all icons used inside the ui projects.
7
+
8
+ ###retailer-settings.interfaces
9
+ more info here
10
+ https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo
11
+ ###theme.interfaces
12
+ The interface for each theme, colors, fonts, sizes and other css properties.
13
+
14
+ #To Build Project
15
+
16
+ ```
17
+ npm install
18
+ npm run build
19
+ ```
20
+
21
+ #To Publish npm package
22
+ ```
23
+ npm login
24
+ npm publish
25
+ ```
26
+ or
27
+ ```
28
+ npm run push
29
+ ```
@@ -107,6 +107,10 @@ export interface IVouchers {
107
107
  enabled: boolean;
108
108
  reCaptcha: boolean;
109
109
  }
110
+ export interface IPromotionCalculator {
111
+ bundlePromotionCalculator: boolean;
112
+ nonBundlePromotionCalculator: boolean;
113
+ }
110
114
  export interface IGiftCards {
111
115
  enabled: boolean;
112
116
  giftCardInputValidation: string;
@@ -285,6 +289,7 @@ export interface IFeaturesV2 {
285
289
  additionalCharges: boolean;
286
290
  clientCache: boolean;
287
291
  vouchers: IVouchers;
292
+ promotionDetailsPage: IPromotionCalculator;
288
293
  giftCards: IGiftCards;
289
294
  smartbanner: ISmartBanner;
290
295
  entryModalVersion: IEntryModalVersion;
@@ -65,11 +65,23 @@ var FeatureSettingsChildren = {
65
65
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3274571877/AddressIntegrationV2",
66
66
  type: exports.AdminTemplateInputTypes.checkbox,
67
67
  },
68
- ebtPayment: {
69
- title: "EBT Payment",
70
- description: "Enable EBT Payment - will only work if EBT is set up for the banner as a payment method",
71
- type: exports.AdminTemplateInputTypes.checkbox,
72
- helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3506765929/EBT+Payment",
68
+ promotionDetailsPage: {
69
+ title: "Promotion Details Page",
70
+ description: "Enable Promotion calculator for different promotion detail pages",
71
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3555721239/Promotion+calculator+for+Promotion+Detail+Pages",
72
+ type: exports.AdminTemplateInputTypes.collapsableObject,
73
+ value: {
74
+ bundlePromotionCalculator: {
75
+ title: "Enable bundle promotion calculator",
76
+ description: "Enable promotion calculator for bundle promotions on details Page",
77
+ type: exports.AdminTemplateInputTypes.checkbox,
78
+ },
79
+ nonBundlePromotionCalculator: {
80
+ title: "Enable non bundle promotion calculator",
81
+ description: "Enable promotion calculator for non bundle promotions on details Page",
82
+ type: exports.AdminTemplateInputTypes.checkbox,
83
+ },
84
+ },
73
85
  },
74
86
  clientCache: {
75
87
  title: "Browser API Caching",
@@ -143,6 +143,10 @@ var DefaultConfigSFUI = {
143
143
  enabled: false,
144
144
  reCaptcha: false,
145
145
  },
146
+ promotionDetailsPage: {
147
+ bundlePromotionCalculator: true,
148
+ nonBundlePromotionCalculator: true,
149
+ },
146
150
  },
147
151
  pdpSettings: {
148
152
  nutritionZone: "us",
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
- {
2
- "name": "@thryveai/theme-interfaces",
3
- "version": "2.4.21",
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.22",
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
+ }