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/pb-ui.js
CHANGED
@@ -9201,7 +9201,7 @@ Made in Italy` })));
|
|
9201
9201
|
}
|
9202
9202
|
}, [isOnScreen, ref, rec, ctaEvent]);
|
9203
9203
|
const handleClick = lodash.throttle(() => {
|
9204
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
9204
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
9205
9205
|
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;
|
9206
9206
|
ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
|
9207
9207
|
eventSubject: 'clickCta',
|
@@ -9214,6 +9214,7 @@ Made in Italy` })));
|
|
9214
9214
|
const product = (_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.bindProduct;
|
9215
9215
|
jumpToWeb(rec, product, cta);
|
9216
9216
|
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;
|
9217
|
+
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);
|
9217
9218
|
}
|
9218
9219
|
}
|
9219
9220
|
else {
|
@@ -9699,7 +9700,7 @@ Made in Italy` })));
|
|
9699
9700
|
if (isExternalLink) {
|
9700
9701
|
if (item === null || item === void 0 ? void 0 : item.link) {
|
9701
9702
|
jumpToWeb(recData, item, item.bindCta);
|
9702
|
-
window.location.href = item.link;
|
9703
|
+
window.location.href = window.getJointUtmLink(item.link);
|
9703
9704
|
}
|
9704
9705
|
}
|
9705
9706
|
else {
|
@@ -9812,7 +9813,7 @@ Made in Italy` })));
|
|
9812
9813
|
if (isExternalLink) {
|
9813
9814
|
if (item === null || item === void 0 ? void 0 : item.link) {
|
9814
9815
|
jumpToWeb(recData, item, item.bindCta);
|
9815
|
-
window.location.href = item.link;
|
9816
|
+
window.location.href = window.getJointUtmLink(item.link);
|
9816
9817
|
}
|
9817
9818
|
}
|
9818
9819
|
else {
|
@@ -9924,7 +9925,7 @@ Made in Italy` })));
|
|
9924
9925
|
if (isExternalLink) {
|
9925
9926
|
if (item === null || item === void 0 ? void 0 : item.link) {
|
9926
9927
|
jumpToWeb(recData, item, item.bindCta);
|
9927
|
-
window.location.href = item.link;
|
9928
|
+
window.location.href = window.getJointUtmLink(item.link);
|
9928
9929
|
}
|
9929
9930
|
}
|
9930
9931
|
else {
|