@thryveai/theme-interfaces 2.7.107 → 2.7.109

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.
@@ -396,6 +396,7 @@ export interface ISiteSettingsV2 {
396
396
  cmsLazyLoadRows: number;
397
397
  daysToRemainSignedIn: NumberRange<1, 999>;
398
398
  defaultCountry: IDefaultCounty;
399
+ defaultLanguage: string;
399
400
  defaultSearchParams: IDefaultSearchParams;
400
401
  defaultShoppingMode: "pickup" | "planning" | "delivery";
401
402
  defaultStoreLocation: IDefaultStoreLocation;
@@ -6,6 +6,7 @@ export interface ISharedSettings {
6
6
  adminPanelOnly: IAdminOnlyV2;
7
7
  }
8
8
  export interface ISharedFeatures {
9
+ multilingual: boolean;
9
10
  specialRequestItems: ISpecialRequestItems;
10
11
  couponGallery: ICouponGallery;
11
12
  }
@@ -39,6 +39,12 @@ exports.AdminSharedSettingsTemplateSFUI = {
39
39
  description: "Global Features for the website and app",
40
40
  type: exports.AdminSharedTemplateInputTypes.collapsableObject,
41
41
  value: {
42
+ // multilingual: {
43
+ // title: "Multilingual",
44
+ // description:
45
+ // "This will enable the option for customers to select their preferred language for the site.",
46
+ // type: AdminSharedTemplateInputTypes.checkbox,
47
+ // },
42
48
  specialRequestItems: {
43
49
  title: "Special Request Items",
44
50
  description: "",
@@ -64,18 +70,20 @@ exports.AdminSharedSettingsTemplateSFUI = {
64
70
  },
65
71
  },
66
72
  },
67
- couponGallery: {
68
- title: "Coupon Gallery",
69
- description: "",
70
- type: exports.AdminSharedTemplateInputTypes.collapsableObject,
71
- value: {
72
- enabled: {
73
- title: "Enable coupon gallery",
74
- description: "This will display a fully integrated coupon gallery on the storefront and mobile app.",
75
- type: exports.AdminSharedTemplateInputTypes.checkbox,
76
- },
77
- },
78
- }
73
+ //TO BE UNCOMMENTED ONCE FEATURE IS COMPLETE
74
+ // couponGallery: {
75
+ // title: "Coupon Gallery",
76
+ // description: "",
77
+ // type: AdminSharedTemplateInputTypes.collapsableObject,
78
+ // value: {
79
+ // enabled: {
80
+ // title: "Enable coupon gallery",
81
+ // description:
82
+ // "This will display a fully integrated coupon gallery on the storefront and mobile app.",
83
+ // type: AdminSharedTemplateInputTypes.checkbox,
84
+ // },
85
+ // },
86
+ // }
79
87
  },
80
88
  },
81
89
  checkout: {
@@ -107,12 +115,15 @@ exports.AdminSharedSettingsTemplateSFUI = {
107
115
  description: "This will display the list of available stores for the planning and pickup store selector modals prior to the user entering their address.",
108
116
  type: exports.AdminSharedTemplateInputTypes.checkbox,
109
117
  },
110
- skipStoreSelection: {
111
- title: "Skip store selection",
112
- description: "This will skip the enter nearest store modal in the first time user flow if no store is returned. The corporate store will be selected if available otherwise the default store will be used.",
113
- type: exports.AdminSharedTemplateInputTypes.checkbox,
114
- helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/4039704585/Skip+Nearest+Store+Suggestion",
115
- },
118
+ //TO BE UNCOMMENTED ONCE FEATURE IS COMPLETE
119
+ // skipStoreSelection: {
120
+ // title: "Skip store selection",
121
+ // description:
122
+ // "This will skip the enter nearest store modal in the first time user flow if no store is returned. The corporate store will be selected if available otherwise the default store will be used.",
123
+ // type: AdminSharedTemplateInputTypes.checkbox,
124
+ // helpLink:
125
+ // "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/4039704585/Skip+Nearest+Store+Suggestion",
126
+ // },
116
127
  },
117
128
  },
118
129
  };
@@ -281,6 +281,7 @@ var DefaultConfigSFUI = {
281
281
  ctaButtons: null,
282
282
  daysToRemainSignedIn: 30,
283
283
  defaultCountry: "USA",
284
+ defaultLanguage: "en-us",
284
285
  defaultSearchParams: {
285
286
  page: "1",
286
287
  q: "*",
@@ -6,6 +6,7 @@ var DefaultSharedSettingsConfig = {
6
6
  logoUrl: "https://wynshop.com/wp-content/uploads/2021/08/xWynshop_Font_logo_150x39.png.pagespeed.ic.3j0jIxPBvP.webp 1x",
7
7
  },
8
8
  features: {
9
+ multilingual: false,
9
10
  specialRequestItems: {
10
11
  enable: false,
11
12
  excludeStores: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.107",
3
+ "version": "2.7.109",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",