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/index.js CHANGED
@@ -732,12 +732,8 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
732
732
  // 事件上报优化
733
733
  // Beacon API 用于发送异步和非阻塞请求到服务器。这类请求不需要响应。
734
734
  if (options.type === 'beacon' && navigator.sendBeacon) {
735
- const query = qs.stringify(Object.assign(Object.assign({}, bffDataSource.headers), { 'x-user-id': fakeUserId }));
736
- if (query) {
737
- path = (options === null || options === void 0 ? void 0 : options.query) ? `${path}&${query}` : `${path}?${query}`;
738
- }
739
735
  return navigator.sendBeacon(`${url}/api/v1${path}`, new Blob([
740
- JSON.stringify(Object.assign({}, options.body))
736
+ JSON.stringify(Object.assign(Object.assign(Object.assign({}, options.body), bffDataSource.headers), { 'x-user-id': fakeUserId }))
741
737
  ], { type: 'application/json;charset=UTF-8' }));
742
738
  }
743
739
  return window
@@ -12376,7 +12372,7 @@ const EventProvider = (_a) => {
12376
12372
  eventSubject: 'clickCta',
12377
12373
  eventDescription: 'User clicked the CTA'
12378
12374
  }, rec, item, index);
12379
- setPopupDetailData === null || setPopupDetailData === void 0 ? void 0 : setPopupDetailData(multItem && multiCheckIndex
12375
+ setPopupDetailData === null || setPopupDetailData === void 0 ? void 0 : setPopupDetailData(multItem && multiCheckIndex !== undefined && multiCheckIndex >= 0
12380
12376
  ? 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 }));
12381
12377
  setElement(ref === null || ref === void 0 ? void 0 : ref.current);
12382
12378
  if (isExternalLink) {
@@ -16723,7 +16719,7 @@ const Display = createMaterial(DisplayComponent, {
16723
16719
  * @Author: binruan@chatlabs.com
16724
16720
  * @Date: 2024-06-13 10:08:32
16725
16721
  * @LastEditors: binruan@chatlabs.com
16726
- * @LastEditTime: 2024-11-26 11:42:08
16722
+ * @LastEditTime: 2024-12-10 13:55:37
16727
16723
  * @FilePath: \pb-sxp-ui\src\materials\sxp\MultiPosts\settingRender.tsx
16728
16724
  *
16729
16725
  */
@@ -16734,7 +16730,8 @@ var settingRender = [
16734
16730
  {
16735
16731
  label: '背景图',
16736
16732
  type: 'Upload',
16737
- name: ['props', 'bgImgUrl']
16733
+ name: ['props', 'bgImgUrl'],
16734
+ text: '建议尺寸:720 * 1280'
16738
16735
  },
16739
16736
  {
16740
16737
  type: 'Group',
@@ -16807,7 +16804,7 @@ var settingRender = [
16807
16804
  ]
16808
16805
  },
16809
16806
  {
16810
- title: '按钮设置',
16807
+ title: '按钮设置 (建议尺寸:500 * 500)',
16811
16808
  child: [
16812
16809
  {
16813
16810
  type: 'Group',