@goldenhippo/builder-cart-schemas 0.8.0 → 0.9.1
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.
- package/dist/data/index.cjs +84 -0
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +3 -3
- package/dist/data/index.d.ts +3 -3
- package/dist/data/index.js +76 -1
- package/dist/data/index.js.map +1 -1
- package/dist/index.cjs +130 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +122 -1
- package/dist/index.js.map +1 -1
- package/dist/page/index.cjs +46 -0
- package/dist/page/index.cjs.map +1 -1
- package/dist/page/index.d.cts +1 -1
- package/dist/page/index.d.ts +1 -1
- package/dist/page/index.js +46 -0
- package/dist/page/index.js.map +1 -1
- package/dist/{product-group.model-BO9Mnej8.d.cts → product-group.model-BUwarA0P.d.cts} +6 -0
- package/dist/{product-group.model-DfnFwB4S.d.ts → product-group.model-CfBDs7Zk.d.ts} +6 -0
- package/package.json +1 -1
package/dist/data/index.cjs
CHANGED
|
@@ -5,6 +5,38 @@ var builderSharedSchemas = require('@goldenhippo/builder-shared-schemas');
|
|
|
5
5
|
// src/data/index.ts
|
|
6
6
|
|
|
7
7
|
// src/data/brand-config/sections/header-config.ts
|
|
8
|
+
var HeaderType = /* @__PURE__ */ ((HeaderType3) => {
|
|
9
|
+
HeaderType3["BASIC"] = "BASIC";
|
|
10
|
+
HeaderType3["MEDIUM"] = "MEDIUM";
|
|
11
|
+
HeaderType3["MEGA"] = "MEGA";
|
|
12
|
+
HeaderType3["LINKLESS"] = "LINKLESS";
|
|
13
|
+
HeaderType3["NONE"] = "NONE";
|
|
14
|
+
HeaderType3["DMP"] = "DMP";
|
|
15
|
+
return HeaderType3;
|
|
16
|
+
})(HeaderType || {});
|
|
17
|
+
var BasicHeaderCTAType = /* @__PURE__ */ ((BasicHeaderCTAType3) => {
|
|
18
|
+
BasicHeaderCTAType3["PRIMARY"] = "primary";
|
|
19
|
+
BasicHeaderCTAType3["SECONDARY"] = "secondary";
|
|
20
|
+
BasicHeaderCTAType3["OUTLINE"] = "outline";
|
|
21
|
+
BasicHeaderCTAType3["LINK"] = "link";
|
|
22
|
+
return BasicHeaderCTAType3;
|
|
23
|
+
})(BasicHeaderCTAType || {});
|
|
24
|
+
var MediumHeaderDropdownType = /* @__PURE__ */ ((MediumHeaderDropdownType3) => {
|
|
25
|
+
MediumHeaderDropdownType3["SEARCH"] = "search";
|
|
26
|
+
MediumHeaderDropdownType3["LINKS"] = "links";
|
|
27
|
+
MediumHeaderDropdownType3["ACCOUNT_LINKS"] = "accountLinks";
|
|
28
|
+
MediumHeaderDropdownType3["HTML"] = "html";
|
|
29
|
+
MediumHeaderDropdownType3["TIMED_HTML"] = "timedHtml";
|
|
30
|
+
return MediumHeaderDropdownType3;
|
|
31
|
+
})(MediumHeaderDropdownType || {});
|
|
32
|
+
var MediumHeaderDesktopContentType = /* @__PURE__ */ ((MediumHeaderDesktopContentType3) => {
|
|
33
|
+
MediumHeaderDesktopContentType3["LINKS"] = "links";
|
|
34
|
+
MediumHeaderDesktopContentType3["LOGO"] = "logo";
|
|
35
|
+
MediumHeaderDesktopContentType3["ACCOUNT_LINKS"] = "accountLinks";
|
|
36
|
+
MediumHeaderDesktopContentType3["CART_COUNT"] = "cartCount";
|
|
37
|
+
MediumHeaderDesktopContentType3["HTML"] = "html";
|
|
38
|
+
return MediumHeaderDesktopContentType3;
|
|
39
|
+
})(MediumHeaderDesktopContentType || {});
|
|
8
40
|
var headerOptions = {
|
|
9
41
|
basic: {
|
|
10
42
|
name: "basicHeaderConfig",
|
|
@@ -1230,6 +1262,12 @@ var createHeaderConfig = () => {
|
|
|
1230
1262
|
};
|
|
1231
1263
|
|
|
1232
1264
|
// src/data/brand-config/sections/footer-config.ts
|
|
1265
|
+
var FooterType = /* @__PURE__ */ ((FooterType3) => {
|
|
1266
|
+
FooterType3["BASIC"] = "BASIC";
|
|
1267
|
+
FooterType3["MEGA"] = "MEGA";
|
|
1268
|
+
FooterType3["NONE"] = "NONE";
|
|
1269
|
+
return FooterType3;
|
|
1270
|
+
})(FooterType || {});
|
|
1233
1271
|
var createFooterConfig = () => {
|
|
1234
1272
|
return {
|
|
1235
1273
|
name: "footer",
|
|
@@ -1253,6 +1291,16 @@ var createFooterConfig = () => {
|
|
|
1253
1291
|
};
|
|
1254
1292
|
|
|
1255
1293
|
// src/data/brand-config/sections/feature-config.ts
|
|
1294
|
+
var ProductGridFilterType = /* @__PURE__ */ ((ProductGridFilterType3) => {
|
|
1295
|
+
ProductGridFilterType3["DROPDOWN"] = "Dropdown";
|
|
1296
|
+
ProductGridFilterType3["STACKED_LIST"] = "Stacked List";
|
|
1297
|
+
return ProductGridFilterType3;
|
|
1298
|
+
})(ProductGridFilterType || {});
|
|
1299
|
+
var ProductLinkPrefix = /* @__PURE__ */ ((ProductLinkPrefix3) => {
|
|
1300
|
+
ProductLinkPrefix3["P"] = "/p";
|
|
1301
|
+
ProductLinkPrefix3["PRODUCT"] = "/product";
|
|
1302
|
+
return ProductLinkPrefix3;
|
|
1303
|
+
})(ProductLinkPrefix || {});
|
|
1256
1304
|
var createFeatureConfig = (gridFilterModelId) => {
|
|
1257
1305
|
return {
|
|
1258
1306
|
name: "features",
|
|
@@ -1454,6 +1502,33 @@ var createSupportConfig = () => {
|
|
|
1454
1502
|
};
|
|
1455
1503
|
|
|
1456
1504
|
// src/data/brand-config/sections/page-config.ts
|
|
1505
|
+
var SubscriptionCancelReasons = /* @__PURE__ */ ((SubscriptionCancelReasons3) => {
|
|
1506
|
+
SubscriptionCancelReasons3["DoNotLike"] = "DoNotLike";
|
|
1507
|
+
SubscriptionCancelReasons3["NotWorking"] = "NotWorking";
|
|
1508
|
+
SubscriptionCancelReasons3["NoBenefits"] = "NoBenefits";
|
|
1509
|
+
SubscriptionCancelReasons3["NoFitNoNeed"] = "NoFitNoNeed";
|
|
1510
|
+
SubscriptionCancelReasons3["Budget"] = "Budget";
|
|
1511
|
+
SubscriptionCancelReasons3["Mistake"] = "Mistake";
|
|
1512
|
+
SubscriptionCancelReasons3["Try"] = "Try";
|
|
1513
|
+
SubscriptionCancelReasons3["TooMuch"] = "TooMuch";
|
|
1514
|
+
SubscriptionCancelReasons3["TravelMove"] = "TravelMove";
|
|
1515
|
+
SubscriptionCancelReasons3["DoNotNeed"] = "DoNotNeed";
|
|
1516
|
+
SubscriptionCancelReasons3["AnotherReason"] = "AnotherReason";
|
|
1517
|
+
SubscriptionCancelReasons3["NotHelpingSkin"] = "NotHelpingSkin";
|
|
1518
|
+
SubscriptionCancelReasons3["SkinImproved"] = "SkinImproved";
|
|
1519
|
+
SubscriptionCancelReasons3["PetDoesNotLike"] = "PetDoesNotLike";
|
|
1520
|
+
SubscriptionCancelReasons3["NotHelpingPet"] = "NotHelpingPet";
|
|
1521
|
+
SubscriptionCancelReasons3["NoneGiven"] = "NoneGiven";
|
|
1522
|
+
return SubscriptionCancelReasons3;
|
|
1523
|
+
})(SubscriptionCancelReasons || {});
|
|
1524
|
+
var SubscriptionCancelButtonType = /* @__PURE__ */ ((SubscriptionCancelButtonType3) => {
|
|
1525
|
+
SubscriptionCancelButtonType3["Link"] = "link";
|
|
1526
|
+
SubscriptionCancelButtonType3["Update"] = "update";
|
|
1527
|
+
SubscriptionCancelButtonType3["Keep"] = "keep";
|
|
1528
|
+
SubscriptionCancelButtonType3["Continue"] = "continue";
|
|
1529
|
+
SubscriptionCancelButtonType3["Cancel"] = "cancel";
|
|
1530
|
+
return SubscriptionCancelButtonType3;
|
|
1531
|
+
})(SubscriptionCancelButtonType || {});
|
|
1457
1532
|
var createPageConfig = () => {
|
|
1458
1533
|
return {
|
|
1459
1534
|
name: "pageConfig",
|
|
@@ -3045,8 +3120,17 @@ Object.defineProperty(exports, "createProductUseCaseModel", {
|
|
|
3045
3120
|
enumerable: true,
|
|
3046
3121
|
get: function () { return builderSharedSchemas.createProductUseCaseModel; }
|
|
3047
3122
|
});
|
|
3123
|
+
exports.BasicHeaderCTAType = BasicHeaderCTAType;
|
|
3048
3124
|
exports.FilterApplicationType = FilterApplicationType;
|
|
3125
|
+
exports.FooterType = FooterType;
|
|
3126
|
+
exports.HeaderType = HeaderType;
|
|
3127
|
+
exports.MediumHeaderDesktopContentType = MediumHeaderDesktopContentType;
|
|
3128
|
+
exports.MediumHeaderDropdownType = MediumHeaderDropdownType;
|
|
3129
|
+
exports.ProductGridFilterType = ProductGridFilterType;
|
|
3049
3130
|
exports.ProductGroupType = ProductGroupType;
|
|
3131
|
+
exports.ProductLinkPrefix = ProductLinkPrefix;
|
|
3132
|
+
exports.SubscriptionCancelButtonType = SubscriptionCancelButtonType;
|
|
3133
|
+
exports.SubscriptionCancelReasons = SubscriptionCancelReasons;
|
|
3050
3134
|
exports.createBlogCategoryModel = createBlogCategoryModel;
|
|
3051
3135
|
exports.createBlogCommentModel = createBlogCommentModel;
|
|
3052
3136
|
exports.createBrandConfigModel = createBrandConfigModel;
|