@thryveai/theme-interfaces 2.7.50 → 2.7.52

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,4 +1,4 @@
1
- import { IDefaultCounty, IValidationType, LinkTarget } from "./retailer-settings.interfaces";
1
+ import { IDefaultCounty, IDefaultExternal, IValidationType, LinkTarget } from "./retailer-settings.interfaces";
2
2
  import { IDefaultColors, IDefaultThemeInterface } from "./default-theme.interface";
3
3
  import { IDefaultRetailerSettingsVersion2 } from "./default-settings.interfaces";
4
4
  import { IThemeImages } from "./theme.interfaces";
@@ -33,6 +33,7 @@ export interface IAdminControl<T> {
33
33
  message?: IMessageProps;
34
34
  helpLink?: string;
35
35
  options?: string[] | number[] | Object[] | IDefaultCounty[] | IValidationType[] | IImageRequiredFormat | LinkTarget;
36
+ uniqueOptions?: IDefaultExternal["provider"][];
36
37
  value?: ITemplateObject<T>;
37
38
  optional?: boolean;
38
39
  }
@@ -77,7 +77,6 @@ export interface IRetailerSettings {
77
77
  productCardv2?: boolean;
78
78
  promoTemplateVersion?: number;
79
79
  registrationFields?: IRegistrationField[];
80
- registrationStep2?: IRegistrationStep2;
81
80
  restrictMapPlacesResults?: IRestrictMapPlaces;
82
81
  retailerCountry?: IRetailerCountry;
83
82
  retailerName: string;
@@ -335,7 +334,6 @@ export interface IFeaturesV2 {
335
334
  };
336
335
  recipeLegacyShareLink: boolean;
337
336
  registrationFields: IRegistrationField[];
338
- registrationStep2: IRegistrationStep2;
339
337
  secondTierAuthorization?: ISecondTierAuthorization;
340
338
  showCheckoutPromoCode: boolean;
341
339
  showImgOnOrder: boolean;
@@ -484,10 +482,6 @@ export interface IRegistrationField {
484
482
  validationTypes: IValidationType[];
485
483
  editable?: boolean;
486
484
  }
487
- export interface IRegistrationStep2 {
488
- enableV2: boolean;
489
- alwaysVisible: boolean;
490
- }
491
485
  export interface ICheckoutValidation {
492
486
  instructions: IValidationType[];
493
487
  phoneNumber: IValidationType[];
@@ -659,22 +659,28 @@ exports.AdminSettingsTemplateSFUI = {
659
659
  },
660
660
  },
661
661
  pdpSettings: {
662
- title: "Product Details Page Settings",
663
- description: "Display enhanced product content on the product details page",
662
+ title: "Products",
663
+ description: "",
664
664
  type: exports.AdminTemplateInputTypes.collapsableObject,
665
665
  value: {
666
666
  externalContent: {
667
- title: "External Content",
668
- description: "Allows the user to modify control priority of rich content that is displayed.",
667
+ title: "External content",
668
+ description: "",
669
+ message: {
670
+ caption: [
671
+ "Display enhanced product content on the product details page.",
672
+ "You can change the order providers that the content will appear in.",
673
+ ],
674
+ },
669
675
  type: exports.AdminTemplateInputTypes.collapsableObject,
670
676
  value: {
671
677
  enabled: {
672
- title: "Enable External Content",
673
- description: "Allows the user to enable/disable external content setting",
678
+ title: "Enable external content providers",
679
+ description: "This will display any available content from the providers listed below on the product details page.",
674
680
  type: exports.AdminTemplateInputTypes.checkbox,
675
681
  },
676
682
  contentProviders: {
677
- title: "Content Providers of External Content",
683
+ title: "",
678
684
  description: "Allows the user to give the priority of showing content",
679
685
  type: exports.AdminTemplateInputTypes.array,
680
686
  value: {
@@ -682,7 +688,7 @@ exports.AdminSettingsTemplateSFUI = {
682
688
  title: "Content Provider of External Content",
683
689
  description: "Allows the user to give type of provider",
684
690
  type: exports.AdminTemplateInputTypes.dropdown,
685
- options: ["syndigo", "brandbank"],
691
+ uniqueOptions: ["syndigo", "brandbank"],
686
692
  },
687
693
  },
688
694
  },
@@ -127,10 +127,6 @@ var DefaultConfigSFUI = {
127
127
  },
128
128
  recipeLegacyShareLink: true,
129
129
  registrationFields: [],
130
- registrationStep2: {
131
- alwaysVisible: false,
132
- enableV2: false,
133
- },
134
130
  secondTierAuthorization: undefined,
135
131
  showCheckoutPromoCode: true,
136
132
  showImgOnOrder: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.7.50",
3
+ "version": "2.7.52",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "gulp",