@thryveai/theme-interfaces 2.7.90 → 2.7.92

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.
@@ -22,6 +22,7 @@ export interface IRetailerSettings {
22
22
  advertSettings?: IAdvertSettings;
23
23
  allowInStorePurchases?: boolean;
24
24
  allowPastPurchases?: boolean;
25
+ barcodeSettings?: IBarcodeSettings;
25
26
  buildNumber: string;
26
27
  cacheTimeMins?: number;
27
28
  canadianAddressCompleteKey?: string | undefined;
@@ -224,6 +225,25 @@ export interface IAdvertProductGrid {
224
225
  export interface IAdvertSkyScrapers {
225
226
  skyscrapers?: IAdvertsData;
226
227
  }
228
+ export interface IBarcodeSettings {
229
+ width?: number;
230
+ height?: number;
231
+ format?: "CODE39" | "CODE128" | "EAN13" | "ITF14" | "MSI" | "pharmacode" | "codabar" | "upc";
232
+ displayValue?: boolean;
233
+ fontOptions?: string;
234
+ font?: string;
235
+ textAlign?: string;
236
+ textPosition?: string;
237
+ textMargin?: number;
238
+ fontSize?: number;
239
+ background?: string;
240
+ lineColor?: string;
241
+ margin?: number;
242
+ marginTop?: number;
243
+ marginBottom?: number;
244
+ marginLeft?: number;
245
+ marginRight?: number;
246
+ }
227
247
  export interface IGoogleAutocompleteSettings {
228
248
  types?: IGoogleAutocompleteTypes;
229
249
  bounds?: IGoogleAutocompleteBounds;
@@ -317,6 +337,7 @@ export interface IFeaturesV2 {
317
337
  addressIntegrationV2: boolean;
318
338
  allowInStorePurchases: boolean;
319
339
  allowPastPurchases: boolean;
340
+ barcodeSettings: IBarcodeSettings;
320
341
  advertSettings: IAdvertSettings;
321
342
  ebtPayments: boolean;
322
343
  emailCartOrShoppingList: boolean;
@@ -41,7 +41,13 @@ exports.AdminSharedSettingsTemplateSFUI = {
41
41
  value: {
42
42
  specialRequestItems: {
43
43
  title: "Special Request Items",
44
- description: "This will allow customers to add items to their cart that they cannot find in the catalogue",
44
+ description: "",
45
+ message: {
46
+ caption: [
47
+ "This will allow customers to add items to their cart that they cannot find in the catalogue",
48
+ "Entering a Store ID into the “Exclude stores” field will ensure that this feature will not appear on that store.",
49
+ ],
50
+ },
45
51
  type: exports.AdminSharedTemplateInputTypes.collapsableObject,
46
52
  value: {
47
53
  enable: {
@@ -51,7 +57,7 @@ exports.AdminSharedSettingsTemplateSFUI = {
51
57
  type: exports.AdminSharedTemplateInputTypes.checkbox,
52
58
  },
53
59
  excludeStores: {
54
- title: "Stores you want to exlude from offereing special request items",
60
+ title: "Exclude stores",
55
61
  description: "Allows you to select specific stores you wish to exlude from offering that ability to purchase special request items.",
56
62
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3327983631/specialRequestItems",
57
63
  type: exports.AdminSharedTemplateInputTypes.storeSelection,
@@ -113,6 +113,25 @@ var DefaultConfigSFUI = {
113
113
  advertSettings: {},
114
114
  allowInStorePurchases: false,
115
115
  allowPastPurchases: true,
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,
134
+ },
116
135
  clientCache: false,
117
136
  couponGallery: {
118
137
  enabled: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.90",
3
+ "version": "2.7.92",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",