@thryveai/theme-interfaces 2.7.92 → 2.7.93

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.
@@ -225,7 +225,7 @@ export interface IAdvertProductGrid {
225
225
  export interface IAdvertSkyScrapers {
226
226
  skyscrapers?: IAdvertsData;
227
227
  }
228
- export interface IBarcodeSettings {
228
+ export interface IBarcodeOptions {
229
229
  width?: number;
230
230
  height?: number;
231
231
  format?: "CODE39" | "CODE128" | "EAN13" | "ITF14" | "MSI" | "pharmacode" | "codabar" | "upc";
@@ -244,6 +244,10 @@ export interface IBarcodeSettings {
244
244
  marginLeft?: number;
245
245
  marginRight?: number;
246
246
  }
247
+ export interface IBarcodeSettings {
248
+ enabled: boolean;
249
+ options: IBarcodeOptions;
250
+ }
247
251
  export interface IGoogleAutocompleteSettings {
248
252
  types?: IGoogleAutocompleteTypes;
249
253
  bounds?: IGoogleAutocompleteBounds;
@@ -114,23 +114,26 @@ var DefaultConfigSFUI = {
114
114
  allowInStorePurchases: false,
115
115
  allowPastPurchases: true,
116
116
  barcodeSettings: {
117
- width: 1.5,
118
- height: 75,
119
- format: "CODE128",
120
- displayValue: true,
121
- fontOptions: "",
122
- font: "monospace",
123
- textAlign: "center",
124
- textPosition: "bottom",
125
- textMargin: 2,
126
- fontSize: 24,
127
- background: "#ffffff",
128
- lineColor: "#000000",
129
- margin: 10,
130
- marginTop: undefined,
131
- marginBottom: undefined,
132
- marginLeft: undefined,
133
- marginRight: undefined,
117
+ enabled: false,
118
+ options: {
119
+ width: 1.5,
120
+ height: 75,
121
+ format: "CODE128",
122
+ displayValue: true,
123
+ fontOptions: "",
124
+ font: "monospace",
125
+ textAlign: "center",
126
+ textPosition: "bottom",
127
+ textMargin: 2,
128
+ fontSize: 24,
129
+ background: "#ffffff",
130
+ lineColor: "#000000",
131
+ margin: 10,
132
+ marginTop: undefined,
133
+ marginBottom: undefined,
134
+ marginLeft: undefined,
135
+ marginRight: undefined,
136
+ },
134
137
  },
135
138
  clientCache: false,
136
139
  couponGallery: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.92",
3
+ "version": "2.7.93",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",