@thryveai/theme-interfaces 2.8.35 → 2.8.37

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.
Files changed (35) hide show
  1. package/dist/JSONSchemas/index.d.ts +95 -86
  2. package/dist/JSONSchemas/index.js +178 -144
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +15 -0
  5. package/dist/interfaces/admin-settings-interfaces.d.ts +1 -1
  6. package/dist/interfaces/retailer-settings.interfaces.d.ts +5 -6
  7. package/dist/product-card-template/layouts/CarouselCard/DUN-attributes.d.ts +3 -0
  8. package/dist/product-card-template/layouts/CarouselCard/DUN-attributes.js +312 -0
  9. package/dist/product-card-template/layouts/CarouselCard/Default.d.ts +3 -0
  10. package/dist/product-card-template/layouts/CarouselCard/Default.js +330 -0
  11. package/dist/product-card-template/layouts/CarouselCard/PCE-centered.d.ts +3 -0
  12. package/dist/product-card-template/layouts/CarouselCard/PCE-centered.js +216 -0
  13. package/dist/product-card-template/layouts/CarouselCard/PRS-labels.d.ts +3 -0
  14. package/dist/product-card-template/layouts/CarouselCard/PRS-labels.js +283 -0
  15. package/dist/product-card-template/layouts/FlyerCard/Default.d.ts +3 -0
  16. package/dist/product-card-template/layouts/FlyerCard/Default.js +114 -0
  17. package/dist/product-card-template/layouts/FlyerCard/Detailed.d.ts +3 -0
  18. package/dist/product-card-template/layouts/FlyerCard/Detailed.js +164 -0
  19. package/dist/product-card-template/layouts/ProductGrid/DUN-attributes.d.ts +3 -0
  20. package/dist/product-card-template/layouts/ProductGrid/DUN-attributes.js +344 -0
  21. package/dist/product-card-template/layouts/ProductGrid/Default.d.ts +3 -0
  22. package/dist/product-card-template/layouts/ProductGrid/Default.js +341 -0
  23. package/dist/product-card-template/layouts/ProductGrid/PCE-centered.d.ts +3 -0
  24. package/dist/product-card-template/layouts/ProductGrid/PCE-centered.js +317 -0
  25. package/dist/product-card-template/layouts/ProductGrid/PRS-labels.d.ts +3 -0
  26. package/dist/product-card-template/layouts/ProductGrid/PRS-labels.js +319 -0
  27. package/dist/product-card-template/template.interfaces.d.ts +55 -0
  28. package/dist/product-card-template/template.interfaces.js +51 -0
  29. package/dist/storefront/SFUISettingsTemplate.AdminUi.js +95 -8
  30. package/dist/storefront/commonSettingsStorefront.js +0 -1
  31. package/dist/storefront/defaultIconsStorefront.js +1 -1
  32. package/dist/storefront/defaultSettingsStorefront.js +0 -1
  33. package/dist/storefront/defaultThemeStorefront.d.ts +17 -0
  34. package/dist/storefront/defaultThemeStorefront.js +18 -1
  35. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.layoutObjects = exports.PRODUCT_WAS_UNIT_PRICE = exports.TAX_DETAILS = exports.PRODUCT_PRICE_LOYALTY = exports.OFFER_VALID_MESSAGE = exports.SPONSORED_LABEL = exports.VIEW_DEAL_BUTTON = exports.RECOMMENDED_LABEL = exports.PROMOTION_LABEL = exports.PRODUCT_ATTRIBUTES = exports.PRODUCT_COUPONS = exports.SHOPPING_RULE_LABELS = exports.PRODUCT_WEIGHT_BASED = exports.PRODUCT_UNIT_PRICE = exports.PRODUCT_WAS_PRICE = exports.PRODUCT_PRICE = exports.ADD_TO_CART_BUTTON = exports.PRODUCT_NAME = exports.PRODUCT_IMAGE = exports.PAST_PURCHASED = exports.FAVORITES_BUTTON = void 0;
4
+ var Default_1 = require("./layouts/ProductGrid/Default");
5
+ var PCE_centered_1 = require("./layouts/ProductGrid/PCE-centered");
6
+ var PRS_labels_1 = require("./layouts/ProductGrid/PRS-labels");
7
+ var DUN_attributes_1 = require("./layouts/ProductGrid/DUN-attributes");
8
+ var Default_2 = require("./layouts/CarouselCard/Default");
9
+ var PCE_centered_2 = require("./layouts/CarouselCard/PCE-centered");
10
+ var PRS_labels_2 = require("./layouts/CarouselCard/PRS-labels");
11
+ var DUN_attributes_2 = require("./layouts/CarouselCard/DUN-attributes");
12
+ var Default_3 = require("./layouts/FlyerCard/Default");
13
+ var Detailed_1 = require("./layouts/FlyerCard/Detailed");
14
+ exports.FAVORITES_BUTTON = "FavoritesButton";
15
+ exports.PAST_PURCHASED = "PastPurchased";
16
+ exports.PRODUCT_IMAGE = "ProductImage";
17
+ exports.PRODUCT_NAME = "ProductName";
18
+ exports.ADD_TO_CART_BUTTON = "AddToCartButton";
19
+ exports.PRODUCT_PRICE = "ProductPrice";
20
+ exports.PRODUCT_WAS_PRICE = "ProductWasPrice";
21
+ exports.PRODUCT_UNIT_PRICE = "ProductUnitPrice";
22
+ exports.PRODUCT_WEIGHT_BASED = "ProductWeightBased";
23
+ exports.SHOPPING_RULE_LABELS = "ShoppingRuleLabels";
24
+ exports.PRODUCT_COUPONS = "ProductCoupons";
25
+ exports.PRODUCT_ATTRIBUTES = "ProductAttributes";
26
+ exports.PROMOTION_LABEL = "PromotionLabel";
27
+ exports.RECOMMENDED_LABEL = "RecommendedLabel";
28
+ exports.VIEW_DEAL_BUTTON = "ViewDealButton";
29
+ exports.SPONSORED_LABEL = "SponsoredLabel";
30
+ exports.OFFER_VALID_MESSAGE = "OfferValidMessage";
31
+ exports.PRODUCT_PRICE_LOYALTY = "ProductPriceLoyalty";
32
+ exports.TAX_DETAILS = "TaxDetails";
33
+ exports.PRODUCT_WAS_UNIT_PRICE = "ProductWasUnitPrice";
34
+ exports.layoutObjects = {
35
+ ContainersGrid: {
36
+ default: Default_1.default,
37
+ "pce-centered": PCE_centered_1.default,
38
+ "prs-labels": PRS_labels_1.default,
39
+ "dun-attributes": DUN_attributes_1.default,
40
+ },
41
+ ContainersCarousel: {
42
+ default: Default_2.default,
43
+ "pce-centered": PCE_centered_2.default,
44
+ "prs-labels": PRS_labels_2.default,
45
+ "dun-attributes": DUN_attributes_2.default,
46
+ },
47
+ FlyerCard: {
48
+ default: Default_3.default,
49
+ detailed: Detailed_1.default,
50
+ },
51
+ };
@@ -769,11 +769,98 @@ exports.AdminSettingsTemplateSFUI = {
769
769
  },
770
770
  },
771
771
  },
772
- // productCard: {
773
- // title: "Product Card Settings",
774
- // description: "Coming Soon",
775
- // type: AdminTemplateInputTypes.nullObject,
776
- // },
772
+ productCard: {
773
+ title: "Product Card Layouts",
774
+ description: "Configure product card layouts and settings",
775
+ type: exports.AdminTemplateInputTypes.collapsableObject,
776
+ value: {
777
+ productCards: {
778
+ title: "",
779
+ description: "",
780
+ type: exports.AdminTemplateInputTypes.nullObject,
781
+ value: {
782
+ productCard: {
783
+ title: "",
784
+ description: "",
785
+ type: exports.AdminTemplateInputTypes.nullObject,
786
+ value: {
787
+ layouts: {
788
+ title: "",
789
+ description: "",
790
+ type: exports.AdminTemplateInputTypes.collapsableObject,
791
+ value: {
792
+ ContainersGrid: {
793
+ title: "Containers Grid",
794
+ description: "Product card used in containers (product listing pages, search results, category pages)",
795
+ type: exports.AdminTemplateInputTypes
796
+ .collapsableObjectWithRadio,
797
+ options: [
798
+ {
799
+ value: "default",
800
+ explainerText: "Balanced grid layout with clear content separation",
801
+ },
802
+ {
803
+ value: "pce-centered",
804
+ explainerText: "Center-aligned content",
805
+ },
806
+ {
807
+ value: "prs-labels",
808
+ explainerText: "Emphasizes product labels and badges prominently",
809
+ },
810
+ {
811
+ value: "dun-attributes",
812
+ explainerText: "Product attributes prominently displayed",
813
+ },
814
+ ],
815
+ },
816
+ ContainersCarousel: {
817
+ title: "Containers Carousel",
818
+ description: "Product card used in carousels and horizontal scrolling sections",
819
+ type: exports.AdminTemplateInputTypes
820
+ .collapsableObjectWithRadio,
821
+ options: [
822
+ {
823
+ value: "default",
824
+ explainerText: "Balanced grid layout with clear content separation",
825
+ },
826
+ {
827
+ value: "pce-centered",
828
+ explainerText: "Center-aligned content",
829
+ },
830
+ {
831
+ value: "prs-labels",
832
+ explainerText: "Emphasizes product labels and badges prominently",
833
+ },
834
+ {
835
+ value: "dun-attributes",
836
+ explainerText: "Product attributes prominently displayed",
837
+ },
838
+ ],
839
+ },
840
+ FlyerCard: {
841
+ title: "Flyer Card",
842
+ description: "Horizontal product card used for flyer/promotional displays, sale pages, featured product sections",
843
+ type: exports.AdminTemplateInputTypes
844
+ .collapsableObjectWithRadio,
845
+ options: [
846
+ {
847
+ value: "default",
848
+ description: "Balanced grid layout with clear content separation",
849
+ },
850
+ {
851
+ value: "detailed",
852
+ description: "Enhanced horizontal layout with comprehensive product information",
853
+ },
854
+ ],
855
+ },
856
+ },
857
+ },
858
+ },
859
+ },
860
+ },
861
+ },
862
+ },
863
+ },
777
864
  siteSettings: {
778
865
  title: "General Site Settings",
779
866
  description: "These are essential settings, the storefront will NOT function without these.",
@@ -1047,15 +1134,15 @@ exports.AdminSettingsTemplateSFUI = {
1047
1134
  right: {
1048
1135
  title: "Offset right",
1049
1136
  description: "This is the percentage of the width of the screen that the button will appear from the right.",
1050
- type: exports.AdminTemplateInputTypes.inputNumber
1137
+ type: exports.AdminTemplateInputTypes.inputNumber,
1051
1138
  },
1052
1139
  },
1053
1140
  },
1054
1141
  visibilityThreshold: {
1055
1142
  title: "Visibility threshold",
1056
1143
  description: "Configure the number in pixels when the button appears based on scroll distance.",
1057
- type: exports.AdminTemplateInputTypes.inputNumber
1058
- }
1144
+ type: exports.AdminTemplateInputTypes.inputNumber,
1145
+ },
1059
1146
  },
1060
1147
  },
1061
1148
  // showClippedStateInCouponModal: {
@@ -288,7 +288,6 @@ var CommonConfigSFUI = {
288
288
  ContainersCarousel: "default",
289
289
  ContainersGrid: "default",
290
290
  FlyerCard: "default",
291
- SimplifiedCarousel: "default",
292
291
  },
293
292
  components: {
294
293
  promotionLabel: {