@thryveai/theme-interfaces 2.7.88 → 2.7.89

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.
@@ -1,7 +1,7 @@
1
1
  import { IAdminOnlyV2 } from "./retailer-settings.interfaces";
2
2
  export interface ISharedSettings {
3
3
  features: ISharedFeatures;
4
- checkout: ISharedCheckout;
4
+ checkoutPage: ISharedCheckout;
5
5
  general: ISharedGeneral;
6
6
  adminPanelOnly: IAdminOnlyV2;
7
7
  }
@@ -9,10 +9,11 @@ export interface ISharedFeatures {
9
9
  specialRequestItems: ISpecialRequestItems;
10
10
  }
11
11
  export interface ISharedCheckout {
12
- preserveOrderNote: IOrderInstructions;
13
- }
14
- interface IOrderInstructions {
15
- enabled: boolean;
12
+ checkoutStepContact: {
13
+ persistOrderNote: {
14
+ checkboxLabel: boolean;
15
+ };
16
+ };
16
17
  }
17
18
  export interface ISpecialRequestItems {
18
19
  enable: boolean;
@@ -21,4 +22,3 @@ export interface ISpecialRequestItems {
21
22
  export interface ISharedGeneral {
22
23
  enableStoreSelectorList: boolean;
23
24
  }
24
- export {};
@@ -60,20 +60,28 @@ exports.AdminSharedSettingsTemplateSFUI = {
60
60
  },
61
61
  },
62
62
  },
63
- checkout: {
63
+ checkoutPage: {
64
64
  title: "Checkout",
65
65
  description: "Shared checkout settings",
66
66
  type: exports.AdminSharedTemplateInputTypes.collapsableObject,
67
67
  value: {
68
- preserveOrderNote: {
69
- title: "Order Instructions",
70
- description: "",
68
+ checkoutStepContact: {
69
+ title: "Checkout Step Contact",
70
+ description: "Checkout Step Contact",
71
71
  type: exports.AdminSharedTemplateInputTypes.collapsableObject,
72
72
  value: {
73
- enabled: {
74
- title: "Enable order instructions saving",
75
- description: "This will display a checkbox below the order instrucitons comment box in the checkout. If selected the text entered in the comment box will be saved for the customer next order.",
76
- type: exports.AdminSharedTemplateInputTypes.checkbox,
73
+ persistOrderNote: {
74
+ title: "Persist Orde Note",
75
+ description: "Persist Order Note",
76
+ type: exports.AdminSharedTemplateInputTypes.collapsableObject,
77
+ value: {
78
+ checkboxLabel: {
79
+ title: "CheckboxLabel",
80
+ description: "CheckboxLabel",
81
+ type: exports.AdminSharedTemplateInputTypes.checkbox,
82
+ value: true,
83
+ },
84
+ },
77
85
  },
78
86
  },
79
87
  },
@@ -11,9 +11,9 @@ var DefaultSharedSettingsConfig = {
11
11
  excludeStores: [],
12
12
  },
13
13
  },
14
- checkout: {
15
- preserveOrderNote: {
16
- enabled: false,
14
+ checkoutPage: {
15
+ checkoutStepContact: {
16
+ persistOrderNote: { checkboxLabel: true },
17
17
  },
18
18
  },
19
19
  general: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.88",
3
+ "version": "2.7.89",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",