@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
|
|
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
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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: {
|