@thryveai/theme-interfaces 2.7.51 → 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
|
}
|
|
@@ -659,22 +659,28 @@ exports.AdminSettingsTemplateSFUI = {
|
|
|
659
659
|
},
|
|
660
660
|
},
|
|
661
661
|
pdpSettings: {
|
|
662
|
-
title: "
|
|
663
|
-
description: "
|
|
662
|
+
title: "Products",
|
|
663
|
+
description: "",
|
|
664
664
|
type: exports.AdminTemplateInputTypes.collapsableObject,
|
|
665
665
|
value: {
|
|
666
666
|
externalContent: {
|
|
667
|
-
title: "External
|
|
668
|
-
description: "
|
|
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
|
|
673
|
-
description: "
|
|
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: "
|
|
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
|
-
|
|
691
|
+
uniqueOptions: ["syndigo", "brandbank"],
|
|
686
692
|
},
|
|
687
693
|
},
|
|
688
694
|
},
|