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 CHANGED
@@ -9209,7 +9209,7 @@ const EventProvider = (_a) => {
9209
9209
  }
9210
9210
  }, [isOnScreen, ref, rec, ctaEvent]);
9211
9211
  const handleClick = lodash.throttle(() => {
9212
- var _a, _b, _c, _d, _e, _f, _g, _h;
9212
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
9213
9213
  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;
9214
9214
  ctaEvent === null || ctaEvent === void 0 ? void 0 : ctaEvent({
9215
9215
  eventSubject: 'clickCta',
@@ -9222,6 +9222,7 @@ const EventProvider = (_a) => {
9222
9222
  const product = (_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.bindProduct;
9223
9223
  jumpToWeb(rec, product, cta);
9224
9224
  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;
9225
+ 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);
9225
9226
  }
9226
9227
  }
9227
9228
  else {
@@ -9707,7 +9708,7 @@ const MultiCommodityDiro$1 = (_a) => {
9707
9708
  if (isExternalLink) {
9708
9709
  if (item === null || item === void 0 ? void 0 : item.link) {
9709
9710
  jumpToWeb(recData, item, item.bindCta);
9710
- window.location.href = item.link;
9711
+ window.location.href = window.getJointUtmLink(item.link);
9711
9712
  }
9712
9713
  }
9713
9714
  else {
@@ -9820,7 +9821,7 @@ const MultiCommodity$1 = (_a) => {
9820
9821
  if (isExternalLink) {
9821
9822
  if (item === null || item === void 0 ? void 0 : item.link) {
9822
9823
  jumpToWeb(recData, item, item.bindCta);
9823
- window.location.href = item.link;
9824
+ window.location.href = window.getJointUtmLink(item.link);
9824
9825
  }
9825
9826
  }
9826
9827
  else {
@@ -9932,7 +9933,7 @@ const MultiCommodityDiroNew$1 = (_a) => {
9932
9933
  if (isExternalLink) {
9933
9934
  if (item === null || item === void 0 ? void 0 : item.link) {
9934
9935
  jumpToWeb(recData, item, item.bindCta);
9935
- window.location.href = item.link;
9936
+ window.location.href = window.getJointUtmLink(item.link);
9936
9937
  }
9937
9938
  }
9938
9939
  else {