@azzas/azzas-tracker-web 2.0.0-preview.14 → 2.0.0-preview.15
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/mod.cjs +4 -4
- package/dist/mod.cjs.map +1 -1
- package/dist/mod.global.js +4 -4
- package/dist/mod.global.js.map +1 -1
- package/dist/mod.js +4 -4
- package/dist/mod.js.map +1 -1
- package/dist/mod.vtex.global.js +4 -4
- package/package.json +1 -1
package/dist/mod.js
CHANGED
|
@@ -1502,7 +1502,7 @@ var decoAdapter = {
|
|
|
1502
1502
|
line_items: (context) => {
|
|
1503
1503
|
if (context == null ? void 0 : context.line_items) return context.line_items;
|
|
1504
1504
|
if (context == null ? void 0 : context.products) {
|
|
1505
|
-
return context.products.map((item) => item == null ? void 0 : item.inProductGroupWithID).filter((id) => Boolean(id));
|
|
1505
|
+
return context.products.map((item) => item == null ? void 0 : item.inProductGroupWithID).filter((id) => Boolean(id)).join();
|
|
1506
1506
|
}
|
|
1507
1507
|
return null;
|
|
1508
1508
|
},
|
|
@@ -1611,7 +1611,7 @@ var HeadlessPdpZone = {
|
|
|
1611
1611
|
line_items: (context) => {
|
|
1612
1612
|
if (context == null ? void 0 : context.line_items) return context.line_items;
|
|
1613
1613
|
if (context == null ? void 0 : context.products) {
|
|
1614
|
-
return context.products.map((item) => item.productId).filter((id) => Boolean(id));
|
|
1614
|
+
return context.products.map((item) => item.productId).filter((id) => Boolean(id)).join();
|
|
1615
1615
|
}
|
|
1616
1616
|
return null;
|
|
1617
1617
|
},
|
|
@@ -1670,7 +1670,7 @@ var HeadlessPdcZone = {
|
|
|
1670
1670
|
line_items: (context) => {
|
|
1671
1671
|
if (context == null ? void 0 : context.line_items) return context.line_items;
|
|
1672
1672
|
if (context == null ? void 0 : context.products) {
|
|
1673
|
-
return context.products.map((item) => item.id).filter((id) => Boolean(id));
|
|
1673
|
+
return context.products.map((item) => item.id).filter((id) => Boolean(id)).join();
|
|
1674
1674
|
}
|
|
1675
1675
|
return null;
|
|
1676
1676
|
},
|
|
@@ -1858,7 +1858,7 @@ var orderFormAdapter = {
|
|
|
1858
1858
|
var _a;
|
|
1859
1859
|
if (context == null ? void 0 : context.line_items) return context.line_items;
|
|
1860
1860
|
if (!((_a = context == null ? void 0 : context.orderForm) == null ? void 0 : _a.items)) return null;
|
|
1861
|
-
return getOrderFormItems(context.orderForm).map((item) => item == null ? void 0 : item.productId).filter((id) => Boolean(id));
|
|
1861
|
+
return getOrderFormItems(context.orderForm).map((item) => item == null ? void 0 : item.productId).filter((id) => Boolean(id)).join();
|
|
1862
1862
|
},
|
|
1863
1863
|
value: (context) => {
|
|
1864
1864
|
var _a;
|