pb-sxp-ui 1.10.8 → 1.10.10

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/pb-ui.js CHANGED
@@ -747,12 +747,8 @@
747
747
  // 事件上报优化
748
748
  // Beacon API 用于发送异步和非阻塞请求到服务器。这类请求不需要响应。
749
749
  if (options.type === 'beacon' && navigator.sendBeacon) {
750
- const query = qs.stringify(Object.assign(Object.assign({}, bffDataSource.headers), { 'x-user-id': fakeUserId }));
751
- if (query) {
752
- path = (options === null || options === void 0 ? void 0 : options.query) ? `${path}&${query}` : `${path}?${query}`;
753
- }
754
750
  return navigator.sendBeacon(`${url}/api/v1${path}`, new Blob([
755
- JSON.stringify(Object.assign({}, options.body))
751
+ JSON.stringify(Object.assign(Object.assign(Object.assign({}, options.body), bffDataSource.headers), { 'x-user-id': fakeUserId }))
756
752
  ], { type: 'application/json;charset=UTF-8' }));
757
753
  }
758
754
  return window
@@ -12391,7 +12387,7 @@ Made in Italy` })));
12391
12387
  eventSubject: 'clickCta',
12392
12388
  eventDescription: 'User clicked the CTA'
12393
12389
  }, rec, item, index);
12394
- setPopupDetailData === null || setPopupDetailData === void 0 ? void 0 : setPopupDetailData(multItem && multiCheckIndex
12390
+ setPopupDetailData === null || setPopupDetailData === void 0 ? void 0 : setPopupDetailData(multItem && multiCheckIndex !== undefined && multiCheckIndex >= 0
12395
12391
  ? Object.assign(Object.assign({}, rec), { video: Object.assign(Object.assign({}, rec === null || rec === void 0 ? void 0 : rec.video), { bindProduct: multItem }), index, multiCheckIndex }) : Object.assign(Object.assign({}, rec), { index }));
12396
12392
  setElement(ref === null || ref === void 0 ? void 0 : ref.current);
12397
12393
  if (isExternalLink) {
@@ -16738,7 +16734,7 @@ Made in Italy` })));
16738
16734
  * @Author: binruan@chatlabs.com
16739
16735
  * @Date: 2024-06-13 10:08:32
16740
16736
  * @LastEditors: binruan@chatlabs.com
16741
- * @LastEditTime: 2024-11-26 11:42:08
16737
+ * @LastEditTime: 2024-12-10 13:55:37
16742
16738
  * @FilePath: \pb-sxp-ui\src\materials\sxp\MultiPosts\settingRender.tsx
16743
16739
  *
16744
16740
  */
@@ -16749,7 +16745,8 @@ Made in Italy` })));
16749
16745
  {
16750
16746
  label: '背景图',
16751
16747
  type: 'Upload',
16752
- name: ['props', 'bgImgUrl']
16748
+ name: ['props', 'bgImgUrl'],
16749
+ text: '建议尺寸:720 * 1280'
16753
16750
  },
16754
16751
  {
16755
16752
  type: 'Group',
@@ -16822,7 +16819,7 @@ Made in Italy` })));
16822
16819
  ]
16823
16820
  },
16824
16821
  {
16825
- title: '按钮设置',
16822
+ title: '按钮设置 (建议尺寸:500 * 500)',
16826
16823
  child: [
16827
16824
  {
16828
16825
  type: 'Group',