pb-sxp-ui 1.0.7 → 1.0.8
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/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +3 -3
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +5 -4
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +3 -3
- package/dist/pb-ui.min.js.map +1 -1
- package/es/materials/sxp/template/MultiCommodity/index.js +1 -1
- package/es/materials/sxp/template/MultiCommodityDiro/index.js +1 -1
- package/es/materials/sxp/template/MultiCommodityDiroNew/index.js +1 -1
- package/es/materials/sxp/template/components/EventProvider.js +2 -1
- package/lib/materials/sxp/template/MultiCommodity/index.js +1 -1
- package/lib/materials/sxp/template/MultiCommodityDiro/index.js +1 -1
- package/lib/materials/sxp/template/MultiCommodityDiroNew/index.js +1 -1
- package/lib/materials/sxp/template/components/EventProvider.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -9186,7 +9186,7 @@ const EventProvider = (_a) => {
|
|
9186
9186
|
}
|
9187
9187
|
}, [isOnScreen, ref, rec, ctaEvent]);
|
9188
9188
|
const handleClick = throttle(() => {
|
9189
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
9189
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
9190
9190
|
const item = (_b = (_a = rec === null || rec === void 0 ? void 0 : rec.video) === null || _a === void 0 ? void 0 : _a.bindProduct) !== null && _b !== void 0 ? _b : rec === null || rec === void 0 ? void 0 : rec.video;
|
9191
9191
|
ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
|
9192
9192
|
eventSubject: 'clickCta',
|
@@ -9199,6 +9199,7 @@ const EventProvider = (_a) => {
|
|
9199
9199
|
const product = (_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.bindProduct;
|
9200
9200
|
jumpToWeb(rec, product, cta);
|
9201
9201
|
window.location.href = (_h = (_g = rec === null || rec === void 0 ? void 0 : rec.video) === null || _g === void 0 ? void 0 : _g.bindProduct) === null || _h === void 0 ? void 0 : _h.link;
|
9202
|
+
window.location.href = window.getJointUtmLink((_k = (_j = rec === null || rec === void 0 ? void 0 : rec.video) === null || _j === void 0 ? void 0 : _j.bindProduct) === null || _k === void 0 ? void 0 : _k.link);
|
9202
9203
|
}
|
9203
9204
|
}
|
9204
9205
|
else {
|
@@ -9684,7 +9685,7 @@ const MultiCommodityDiro$1 = (_a) => {
|
|
9684
9685
|
if (isExternalLink) {
|
9685
9686
|
if (item === null || item === void 0 ? void 0 : item.link) {
|
9686
9687
|
jumpToWeb(recData, item, item.bindCta);
|
9687
|
-
window.location.href = item.link;
|
9688
|
+
window.location.href = window.getJointUtmLink(item.link);
|
9688
9689
|
}
|
9689
9690
|
}
|
9690
9691
|
else {
|
@@ -9797,7 +9798,7 @@ const MultiCommodity$1 = (_a) => {
|
|
9797
9798
|
if (isExternalLink) {
|
9798
9799
|
if (item === null || item === void 0 ? void 0 : item.link) {
|
9799
9800
|
jumpToWeb(recData, item, item.bindCta);
|
9800
|
-
window.location.href = item.link;
|
9801
|
+
window.location.href = window.getJointUtmLink(item.link);
|
9801
9802
|
}
|
9802
9803
|
}
|
9803
9804
|
else {
|
@@ -9909,7 +9910,7 @@ const MultiCommodityDiroNew$1 = (_a) => {
|
|
9909
9910
|
if (isExternalLink) {
|
9910
9911
|
if (item === null || item === void 0 ? void 0 : item.link) {
|
9911
9912
|
jumpToWeb(recData, item, item.bindCta);
|
9912
|
-
window.location.href = item.link;
|
9913
|
+
window.location.href = window.getJointUtmLink(item.link);
|
9913
9914
|
}
|
9914
9915
|
}
|
9915
9916
|
else {
|