pb-sxp-ui 1.19.0-alpha.2 → 1.19.0-alpha.3

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.
Files changed (64) hide show
  1. package/dist/index.cjs +159 -171
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.css +15 -7
  4. package/dist/index.js +159 -171
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.cjs +6 -6
  7. package/dist/index.min.cjs.map +1 -1
  8. package/dist/index.min.js +6 -6
  9. package/dist/index.min.js.map +1 -1
  10. package/dist/pb-ui.js +159 -171
  11. package/dist/pb-ui.js.map +1 -1
  12. package/dist/pb-ui.min.js +6 -6
  13. package/dist/pb-ui.min.js.map +1 -1
  14. package/es/core/components/DiyPortalPreview/index.js +5 -3
  15. package/es/core/components/DiyStoryPreview/index.js +7 -18
  16. package/es/core/components/SxpPageRender/RenderCard.d.ts +0 -1
  17. package/es/core/components/SxpPageRender/RenderCard.js +14 -2
  18. package/es/core/components/SxpPageRender/index.js +4 -4
  19. package/es/materials/sxp/consentPopup/Display/index.js +1 -1
  20. package/es/materials/sxp/cta/AniLinkPopup/material.js +2 -3
  21. package/es/materials/sxp/popup/CommodityDetail/material.js +1 -2
  22. package/es/materials/sxp/popup/CommodityList/index.js +4 -5
  23. package/es/materials/sxp/popup/CommodityList/material.js +1 -1
  24. package/es/materials/sxp/popup/CommodityList/settingRender.js +1 -1
  25. package/es/materials/sxp/template/Appoint/material.js +1 -2
  26. package/es/materials/sxp/template/Commodity/material.js +2 -3
  27. package/es/materials/sxp/template/CommodityDiro/material.js +2 -3
  28. package/es/materials/sxp/template/CommodityDiroNew/material.js +2 -4
  29. package/es/materials/sxp/template/Link/material.js +2 -4
  30. package/es/materials/sxp/template/MultiCommodity/index.js +2 -2
  31. package/es/materials/sxp/template/MultiCommodity/material.js +1 -2
  32. package/es/materials/sxp/template/MultiCommodityDiro/index.js +2 -2
  33. package/es/materials/sxp/template/MultiCommodityDiro/material.js +2 -3
  34. package/es/materials/sxp/template/MultiCommodityDiroNew/index.js +2 -2
  35. package/es/materials/sxp/template/MultiCommodityDiroNew/material.js +2 -4
  36. package/es/materials/sxp/template/NineCommodity/material.js +2 -3
  37. package/es/materials/sxp/template/components/CommodityGroup.js +1 -1
  38. package/es/materials/sxp/template/components/settingRender.js +1 -1
  39. package/lib/core/components/DiyPortalPreview/index.js +5 -3
  40. package/lib/core/components/DiyStoryPreview/index.js +7 -18
  41. package/lib/core/components/SxpPageRender/RenderCard.d.ts +0 -1
  42. package/lib/core/components/SxpPageRender/RenderCard.js +14 -2
  43. package/lib/core/components/SxpPageRender/index.js +4 -4
  44. package/lib/materials/sxp/consentPopup/Display/index.js +1 -1
  45. package/lib/materials/sxp/cta/AniLinkPopup/material.js +1 -2
  46. package/lib/materials/sxp/popup/CommodityDetail/material.js +1 -2
  47. package/lib/materials/sxp/popup/CommodityList/index.js +4 -5
  48. package/lib/materials/sxp/popup/CommodityList/material.js +1 -1
  49. package/lib/materials/sxp/popup/CommodityList/settingRender.js +1 -1
  50. package/lib/materials/sxp/template/Appoint/material.js +1 -2
  51. package/lib/materials/sxp/template/Commodity/material.js +2 -3
  52. package/lib/materials/sxp/template/CommodityDiro/material.js +2 -3
  53. package/lib/materials/sxp/template/CommodityDiroNew/material.js +2 -4
  54. package/lib/materials/sxp/template/Link/material.js +2 -4
  55. package/lib/materials/sxp/template/MultiCommodity/index.js +2 -2
  56. package/lib/materials/sxp/template/MultiCommodity/material.js +1 -2
  57. package/lib/materials/sxp/template/MultiCommodityDiro/index.js +2 -2
  58. package/lib/materials/sxp/template/MultiCommodityDiro/material.js +2 -3
  59. package/lib/materials/sxp/template/MultiCommodityDiroNew/index.js +2 -2
  60. package/lib/materials/sxp/template/MultiCommodityDiroNew/material.js +2 -4
  61. package/lib/materials/sxp/template/NineCommodity/material.js +2 -3
  62. package/lib/materials/sxp/template/components/CommodityGroup.js +1 -1
  63. package/lib/materials/sxp/template/components/settingRender.js +1 -1
  64. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2684,6 +2684,35 @@ var settingRender$e = [
2684
2684
  }
2685
2685
  ];
2686
2686
 
2687
+ /*
2688
+ * @Author: binruan@chatlabs.com
2689
+ * @Date: 2024-07-09 14:35:10
2690
+ * @LastEditors: binruan@chatlabs.com
2691
+ * @LastEditTime: 2024-07-12 17:53:02
2692
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
2693
+ *
2694
+ */
2695
+ /*
2696
+ * @Author: binruan@chatlabs.com
2697
+ * @Date: 2024-07-05 14:08:41
2698
+ * @LastEditors: binruan@chatlabs.com
2699
+ * @LastEditTime: 2024-07-09 14:34:49
2700
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
2701
+ *
2702
+ */
2703
+ var interactionRender$g = [
2704
+ {
2705
+ title: '滑动事件',
2706
+ child: [
2707
+ {
2708
+ type: 'Switch',
2709
+ label: '滑动铺满全屏',
2710
+ name: ['isScrollFullScreen']
2711
+ }
2712
+ ]
2713
+ }
2714
+ ];
2715
+
2687
2716
  /**
2688
2717
  * SSR Window 4.0.2
2689
2718
  * Better handling for window object in SSR environment
@@ -10262,7 +10291,7 @@ const CommodityGroup = ({ products, data, defImg, style, onCLick, popupDetailDat
10262
10291
  return (React.createElement(React.Fragment, null, (item === null || item === void 0 ? void 0 : item.bindCta) ? (React.createElement(SwiperSlide, { className: css({
10263
10292
  width: '50px',
10264
10293
  height: '50px',
10265
- marginRight: '10px'
10294
+ marginInlineEnd: '10px'
10266
10295
  }), onClick: () => {
10267
10296
  handleClick(item, index);
10268
10297
  }, key: index },
@@ -10861,35 +10890,6 @@ const CommodityDetail$1 = (_a) => {
10861
10890
  };
10862
10891
  var CommodityDetailComponent = memo(CommodityDetail$1);
10863
10892
 
10864
- /*
10865
- * @Author: binruan@chatlabs.com
10866
- * @Date: 2024-07-09 14:35:10
10867
- * @LastEditors: binruan@chatlabs.com
10868
- * @LastEditTime: 2024-07-12 17:53:02
10869
- * @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
10870
- *
10871
- */
10872
- /*
10873
- * @Author: binruan@chatlabs.com
10874
- * @Date: 2024-07-05 14:08:41
10875
- * @LastEditors: binruan@chatlabs.com
10876
- * @LastEditTime: 2024-07-09 14:34:49
10877
- * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
10878
- *
10879
- */
10880
- var interactionRender$g = [
10881
- {
10882
- title: '滑动事件',
10883
- child: [
10884
- {
10885
- type: 'Switch',
10886
- label: '滑动铺满全屏',
10887
- name: ['isScrollFullScreen']
10888
- }
10889
- ]
10890
- }
10891
- ];
10892
-
10893
10893
  /*
10894
10894
  * @Author: binruan@chatlabs.com
10895
10895
  * @Date: 2023-07-28 18:29:57
@@ -10936,7 +10936,6 @@ const CommodityDetail = createMaterial(CommodityDetailComponent, {
10936
10936
  taxInfo: {
10937
10937
  color: '#000',
10938
10938
  fontSize: 13,
10939
- textAlign: 'left',
10940
10939
  marginBottom: '10px'
10941
10940
  }
10942
10941
  },
@@ -12028,7 +12027,7 @@ var settingRender$b = [
12028
12027
  type: 'Number',
12029
12028
  label: '与右侧边距',
12030
12029
  addonAfter: 'px',
12031
- name: ['props', 'commodityPicture', 'marginRight']
12030
+ name: ['props', 'commodityPicture', 'marginInlineEnd']
12032
12031
  },
12033
12032
  {
12034
12033
  label: '居中垂直偏移',
@@ -12314,12 +12313,11 @@ const CommodityList$1 = (_a) => {
12314
12313
  React.createElement("button", Object.assign({ role: 'button', "aria-label": item === null || item === void 0 ? void 0 : item.title, tabIndex: 0, className: css({
12315
12314
  display: 'flex',
12316
12315
  alignItems: 'normal',
12317
- width: '100%',
12318
- textAlign: 'left'
12316
+ width: '100%'
12319
12317
  }) }, props),
12320
12318
  React.createElement(Img$1, { src: (_d = (_c = (_a = item === null || item === void 0 ? void 0 : item.cover) !== null && _a !== void 0 ? _a : (_b = item === null || item === void 0 ? void 0 : item.homePage) === null || _b === void 0 ? void 0 : _b[0]) !== null && _c !== void 0 ? _c : sxpParameter === null || sxpParameter === void 0 ? void 0 : sxpParameter.bottom_image) !== null && _d !== void 0 ? _d : bottom_image, rec: recData, item: item, index: index, translateY: translateY, imgStyle: commodityPicture, enableEventReport: false }),
12321
12319
  React.createElement("div", { style: {
12322
- width: `calc(100% - ${(_e = commodityPicture === null || commodityPicture === void 0 ? void 0 : commodityPicture.width) !== null && _e !== void 0 ? _e : 0}px - ${(_f = commodityPicture === null || commodityPicture === void 0 ? void 0 : commodityPicture.marginRight) !== null && _f !== void 0 ? _f : 0}px)`,
12320
+ width: `calc(100% - ${(_e = commodityPicture === null || commodityPicture === void 0 ? void 0 : commodityPicture.width) !== null && _e !== void 0 ? _e : 0}px - ${(_f = commodityPicture === null || commodityPicture === void 0 ? void 0 : commodityPicture.marginInlineEnd) !== null && _f !== void 0 ? _f : 0}px)`,
12323
12321
  display: 'flex',
12324
12322
  flexDirection: 'column',
12325
12323
  justifyContent: 'space-between'
@@ -12400,7 +12398,7 @@ const CommodityList = createMaterial(CommodityListComponent, {
12400
12398
  commodityPicture: {
12401
12399
  width: 100,
12402
12400
  height: 100,
12403
- marginRight: 10
12401
+ marginInlineEnd: 10
12404
12402
  },
12405
12403
  commodityStyles: {
12406
12404
  price: {
@@ -12646,7 +12644,7 @@ var settingRender$8 = [
12646
12644
  type: 'Number',
12647
12645
  label: '与右侧边距',
12648
12646
  addonAfter: 'px',
12649
- name: ['props', 'ctaTempStyles', 'img', 'marginRight']
12647
+ name: ['props', 'ctaTempStyles', 'img', 'marginInlineEnd']
12650
12648
  },
12651
12649
  {
12652
12650
  label: '居中垂直偏移',
@@ -12907,12 +12905,11 @@ const Commodity = createMaterial(CommodityComponent, {
12907
12905
  borderRadius: 3,
12908
12906
  width: 60,
12909
12907
  height: 60,
12910
- marginRight: 8
12908
+ marginInlineEnd: 8
12911
12909
  },
12912
12910
  title: {
12913
12911
  fontSize: 12,
12914
- color: '#fff',
12915
- textAlign: 'left'
12912
+ color: '#fff'
12916
12913
  },
12917
12914
  ctaTitle: {
12918
12915
  fontSize: 10,
@@ -12990,12 +12987,11 @@ const Appoint = createMaterial(AppointComponent, {
12990
12987
  borderRadius: 3,
12991
12988
  width: 30,
12992
12989
  height: 30,
12993
- marginRight: 8
12990
+ marginInlineEnd: 8
12994
12991
  },
12995
12992
  ctaTitle: {
12996
12993
  fontSize: 12,
12997
12994
  color: '#fff',
12998
- textAlign: 'left',
12999
12995
  width: 130,
13000
12996
  height: 20
13001
12997
  }
@@ -13131,6 +13127,27 @@ var linkSettingRender = [
13131
13127
  }
13132
13128
  ];
13133
13129
 
13130
+ /*
13131
+ * @Author: binruan@chatlabs.com
13132
+ * @Date: 2024-08-09 16:59:38
13133
+ * @LastEditors: binruan@chatlabs.com
13134
+ * @LastEditTime: 2024-09-09 13:59:50
13135
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
13136
+ *
13137
+ */
13138
+ var interactionRender$a = [
13139
+ {
13140
+ title: '点击事件',
13141
+ child: [
13142
+ {
13143
+ type: 'link',
13144
+ name: 'onClick',
13145
+ hiddenUrl: true
13146
+ }
13147
+ ]
13148
+ }
13149
+ ];
13150
+
13134
13151
  var styles$8 = {"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};
13135
13152
 
13136
13153
  const Link$1 = (_a) => {
@@ -13158,27 +13175,6 @@ const Link$1 = (_a) => {
13158
13175
  };
13159
13176
  var LinkComponent = memo(Link$1);
13160
13177
 
13161
- /*
13162
- * @Author: binruan@chatlabs.com
13163
- * @Date: 2024-08-09 16:59:38
13164
- * @LastEditors: binruan@chatlabs.com
13165
- * @LastEditTime: 2024-09-09 13:59:50
13166
- * @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
13167
- *
13168
- */
13169
- var interactionRender$a = [
13170
- {
13171
- title: '点击事件',
13172
- child: [
13173
- {
13174
- type: 'link',
13175
- name: 'onClick',
13176
- hiddenUrl: true
13177
- }
13178
- ]
13179
- }
13180
- ];
13181
-
13182
13178
  var _a;
13183
13179
  const Link = createMaterial(LinkComponent, {
13184
13180
  displayName: '普通CTA',
@@ -13197,19 +13193,17 @@ const Link = createMaterial(LinkComponent, {
13197
13193
  borderRadius: 3,
13198
13194
  width: 60,
13199
13195
  height: 60,
13200
- marginRight: 8
13196
+ marginInlineEnd: 8
13201
13197
  },
13202
13198
  ctaTitle: {
13203
13199
  fontSize: 12,
13204
13200
  color: '#fff',
13205
- textAlign: 'left',
13206
13201
  width: 130,
13207
13202
  height: 20
13208
13203
  }
13209
13204
  },
13210
13205
  customTitle: {
13211
13206
  style: {
13212
- textAlign: 'left',
13213
13207
  textDecoration: 'underline',
13214
13208
  fontWeight: 'bold',
13215
13209
  width: 130,
@@ -13299,12 +13293,11 @@ const CommodityDiro = createMaterial(CommodityDiroComponent, {
13299
13293
  borderRadius: 3,
13300
13294
  width: 60,
13301
13295
  height: 60,
13302
- marginRight: 8
13296
+ marginInlineEnd: 8
13303
13297
  },
13304
13298
  title: {
13305
13299
  fontSize: 12,
13306
- color: '#000',
13307
- textAlign: 'left'
13300
+ color: '#000'
13308
13301
  },
13309
13302
  ctaTitle: {
13310
13303
  fontSize: 10,
@@ -13395,19 +13388,17 @@ const CommodityDiroNew = createMaterial(CommodityDiroNewComponent, {
13395
13388
  borderRadius: 8,
13396
13389
  width: 78,
13397
13390
  height: 78,
13398
- marginRight: 16
13391
+ marginInlineEnd: 16
13399
13392
  },
13400
13393
  title: {
13401
13394
  fontSize: 13,
13402
- color: '#000',
13403
- textAlign: 'left'
13395
+ color: '#000'
13404
13396
  },
13405
13397
  ctaTitle: {
13406
13398
  textDecoration: 'underline',
13407
13399
  fontSize: 14,
13408
13400
  fontWeight: 'bold',
13409
13401
  color: '#000',
13410
- textAlign: 'left',
13411
13402
  width: 150,
13412
13403
  height: 20
13413
13404
  }
@@ -13449,7 +13440,7 @@ const MultiCommodityDiro$1 = (_a) => {
13449
13440
  const [products] = useState((_c = (_b = recData === null || recData === void 0 ? void 0 : recData.video) === null || _b === void 0 ? void 0 : _b.bindProducts) !== null && _c !== void 0 ? _c : [1, 2]);
13450
13441
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13451
13442
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
13452
- return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginLeft: 0, marginRight: '8px' })), tag: 'li', role: 'listitem' },
13443
+ return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginInlineStart: 0, marginInlineEnd: '8px' })), tag: 'li', role: 'listitem' },
13453
13444
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13454
13445
  React.createElement(Img$1, { src: (_d = (_c = (_a = item === null || item === void 0 ? void 0 : item.cover) !== null && _a !== void 0 ? _a : (_b = item === null || item === void 0 ? void 0 : item.homePage) === null || _b === void 0 ? void 0 : _b[0]) !== null && _c !== void 0 ? _c : sxpParameter === null || sxpParameter === void 0 ? void 0 : sxpParameter.bottom_image) !== null && _d !== void 0 ? _d : bottom_image, rec: recData, item: item, index: index, translateY: translateY, imgStyle: ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.img, isActive: isActive }),
13455
13446
  React.createElement("div", { className: css({
@@ -13495,12 +13486,11 @@ const MultiCommodityDiro = createMaterial(MultiCommodityDiroComponent, {
13495
13486
  borderRadius: 3,
13496
13487
  width: 60,
13497
13488
  height: 60,
13498
- marginRight: 8
13489
+ marginInlineEnd: 8
13499
13490
  },
13500
13491
  title: {
13501
13492
  fontSize: 12,
13502
- color: '#000',
13503
- textAlign: 'left'
13493
+ color: '#000'
13504
13494
  },
13505
13495
  ctaTitle: {
13506
13496
  fontSize: 10,
@@ -13548,7 +13538,7 @@ const MultiCommodity$1 = (_a) => {
13548
13538
  const [products] = useState((_c = (_b = recData === null || recData === void 0 ? void 0 : recData.video) === null || _b === void 0 ? void 0 : _b.bindProducts) !== null && _c !== void 0 ? _c : [1, 2]);
13549
13539
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13550
13540
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
13551
- return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginLeft: 0, marginRight: '8px' })), tag: 'li', role: 'listitem' },
13541
+ return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginInlineStart: 0, marginInlineEnd: '8px' })), tag: 'li', role: 'listitem' },
13552
13542
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13553
13543
  React.createElement(Img$1, { src: (_d = (_c = (_a = item === null || item === void 0 ? void 0 : item.cover) !== null && _a !== void 0 ? _a : (_b = item === null || item === void 0 ? void 0 : item.homePage) === null || _b === void 0 ? void 0 : _b[0]) !== null && _c !== void 0 ? _c : sxpParameter === null || sxpParameter === void 0 ? void 0 : sxpParameter.bottom_image) !== null && _d !== void 0 ? _d : bottom_image, rec: recData, item: item, index: index, translateY: translateY, imgStyle: ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.img, isActive: isActive }),
13554
13544
  React.createElement("div", { className: css({
@@ -13594,12 +13584,11 @@ const MultiCommodity = createMaterial(MultiCommodityComponent, {
13594
13584
  borderRadius: 3,
13595
13585
  width: 60,
13596
13586
  height: 60,
13597
- marginRight: 8
13587
+ marginInlineEnd: 8
13598
13588
  },
13599
13589
  title: {
13600
13590
  fontSize: 12,
13601
13591
  color: '#fff',
13602
- textAlign: 'left'
13603
13592
  },
13604
13593
  ctaTitle: {
13605
13594
  fontSize: 10,
@@ -13655,7 +13644,7 @@ const MultiCommodityDiroNew$1 = (_a) => {
13655
13644
  const [products] = useState((_c = (_b = recData === null || recData === void 0 ? void 0 : recData.video) === null || _b === void 0 ? void 0 : _b.bindProducts) !== null && _c !== void 0 ? _c : [1, 2]);
13656
13645
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13657
13646
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
13658
- return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginLeft: 0, marginRight: '8px' })), tag: 'li', role: 'listitem' },
13647
+ return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginInlineStart: 0, marginInlineEnd: '8px' })), tag: 'li', role: 'listitem' },
13659
13648
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13660
13649
  React.createElement(Img$1, { src: (_d = (_c = (_a = item === null || item === void 0 ? void 0 : item.cover) !== null && _a !== void 0 ? _a : (_b = item === null || item === void 0 ? void 0 : item.homePage) === null || _b === void 0 ? void 0 : _b[0]) !== null && _c !== void 0 ? _c : sxpParameter === null || sxpParameter === void 0 ? void 0 : sxpParameter.bottom_image) !== null && _d !== void 0 ? _d : bottom_image, rec: recData, item: item, index: index, translateY: translateY, imgStyle: ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.img, isActive: isActive }),
13661
13650
  React.createElement("div", { className: css({
@@ -13702,19 +13691,17 @@ const MultiCommodityDiroNew = createMaterial(MultiCommodityDiroNewComponent, {
13702
13691
  borderRadius: 8,
13703
13692
  width: 78,
13704
13693
  height: 78,
13705
- marginRight: 16
13694
+ marginInlineEnd: 16
13706
13695
  },
13707
13696
  title: {
13708
13697
  fontSize: 12,
13709
- color: '#000',
13710
- textAlign: 'left'
13698
+ color: '#000'
13711
13699
  },
13712
13700
  ctaTitle: {
13713
13701
  textDecoration: 'underline',
13714
13702
  fontSize: 12,
13715
13703
  fontWeight: 'bold',
13716
13704
  color: '#000',
13717
- textAlign: 'left',
13718
13705
  width: 150,
13719
13706
  height: 20
13720
13707
  }
@@ -13809,12 +13796,11 @@ const NineCommodity = createMaterial(NineCommodityComponent, {
13809
13796
  borderRadius: 3,
13810
13797
  width: 60,
13811
13798
  height: 60,
13812
- marginRight: 8
13799
+ marginInlineEnd: 8
13813
13800
  },
13814
13801
  title: {
13815
13802
  fontSize: 12,
13816
- color: '#fff',
13817
- textAlign: 'left'
13803
+ color: '#fff'
13818
13804
  },
13819
13805
  ctaTitle: {
13820
13806
  fontSize: 10,
@@ -16734,6 +16720,60 @@ var settingRender$4 = [
16734
16720
  }
16735
16721
  ];
16736
16722
 
16723
+ /*
16724
+ * @Author: binruan@chatlabs.com
16725
+ * @Date: 2024-07-24 14:58:40
16726
+ * @LastEditors: binruan@chatlabs.com
16727
+ * @LastEditTime: 2024-09-09 13:54:35
16728
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
16729
+ *
16730
+ */
16731
+ var interactionRender$2 = [
16732
+ {
16733
+ title: '点击事件',
16734
+ child: [
16735
+ {
16736
+ type: 'link',
16737
+ name: 'onClick',
16738
+ hiddenUrl: true
16739
+ }
16740
+ ]
16741
+ },
16742
+ {
16743
+ title: '动画效果',
16744
+ child: [
16745
+ {
16746
+ type: 'Select',
16747
+ name: ['animation', 'name'],
16748
+ label: '动画',
16749
+ options: [
16750
+ {
16751
+ label: '默认',
16752
+ value: 1
16753
+ }
16754
+ ],
16755
+ fieldProps: {
16756
+ style: {
16757
+ width: '100%'
16758
+ }
16759
+ }
16760
+ },
16761
+ {
16762
+ type: 'Number',
16763
+ label: '动画启动时间',
16764
+ name: ['animation', 'delay'],
16765
+ addonAfter: 'ms'
16766
+ },
16767
+ {
16768
+ type: 'Number',
16769
+ label: '动画持续时间',
16770
+ name: ['animation', 'duration'],
16771
+ addonAfter: 'ms'
16772
+ }
16773
+ ]
16774
+ }
16775
+ ];
16776
+
16737
16777
  var styles = {"aniLinkPopup":"index-module_aniLinkPopup__YT7kj","animated-fadeIn":"index-module_animated-fadeIn__8ZCbq","fadeIn":"index-module_fadeIn__2E-dk","animated-fadeOut":"index-module_animated-fadeOut__iK4oc","fadeOut":"index-module_fadeOut__MgevT","one-line-ellipsis":"index-module_one-line-ellipsis__NRiVV","two-line-ellipsis":"index-module_two-line-ellipsis__k-YGB","modal-icon-wrapper":"index-module_modal-icon-wrapper__tu3BY","modal-icon-wrapper-img":"index-module_modal-icon-wrapper-img__4b7qZ"};
16738
16778
 
16739
16779
  const closeIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=';
@@ -16806,60 +16846,6 @@ const AniLinkPopup$1 = (_a) => {
16806
16846
  };
16807
16847
  var AniLinkPopupComponent = memo(AniLinkPopup$1);
16808
16848
 
16809
- /*
16810
- * @Author: binruan@chatlabs.com
16811
- * @Date: 2024-07-24 14:58:40
16812
- * @LastEditors: binruan@chatlabs.com
16813
- * @LastEditTime: 2024-09-09 13:54:35
16814
- * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
16815
- *
16816
- */
16817
- var interactionRender$2 = [
16818
- {
16819
- title: '点击事件',
16820
- child: [
16821
- {
16822
- type: 'link',
16823
- name: 'onClick',
16824
- hiddenUrl: true
16825
- }
16826
- ]
16827
- },
16828
- {
16829
- title: '动画效果',
16830
- child: [
16831
- {
16832
- type: 'Select',
16833
- name: ['animation', 'name'],
16834
- label: '动画',
16835
- options: [
16836
- {
16837
- label: '默认',
16838
- value: 1
16839
- }
16840
- ],
16841
- fieldProps: {
16842
- style: {
16843
- width: '100%'
16844
- }
16845
- }
16846
- },
16847
- {
16848
- type: 'Number',
16849
- label: '动画启动时间',
16850
- name: ['animation', 'delay'],
16851
- addonAfter: 'ms'
16852
- },
16853
- {
16854
- type: 'Number',
16855
- label: '动画持续时间',
16856
- name: ['animation', 'duration'],
16857
- addonAfter: 'ms'
16858
- }
16859
- ]
16860
- }
16861
- ];
16862
-
16863
16849
  /*
16864
16850
  * @Author: binruan@chatlabs.com
16865
16851
  * @Date: 2024-07-24 14:58:40
@@ -16898,7 +16884,6 @@ const AniLinkPopup = createMaterial(AniLinkPopupComponent, {
16898
16884
  title: {
16899
16885
  fontSize: 14,
16900
16886
  color: '#000',
16901
- textAlign: 'left',
16902
16887
  lineHeight: 2.6
16903
16888
  },
16904
16889
  ctaTitle: {
@@ -17127,7 +17112,7 @@ const Display$1 = (_a) => {
17127
17112
  React.createElement("span", { style: content === null || content === void 0 ? void 0 : content.style, dangerouslySetInnerHTML: {
17128
17113
  __html: setFontForText((_b = content === null || content === void 0 ? void 0 : content.text) === null || _b === void 0 ? void 0 : _b.replace(/\n/g, '</br>'), content === null || content === void 0 ? void 0 : content.style)
17129
17114
  } }),
17130
- React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginLeft: '5px' }), dangerouslySetInnerHTML: {
17115
+ React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginInlineStart: '5px' }), dangerouslySetInnerHTML: {
17131
17116
  __html: setFontForText((_c = interaction === null || interaction === void 0 ? void 0 : interaction.text) === null || _c === void 0 ? void 0 : _c.replace(/\n/g, '</br>'), interaction === null || interaction === void 0 ? void 0 : interaction.style)
17132
17117
  }, onClick: handleClick })),
17133
17118
  isShowClose && (React.createElement("button", { "aria-label": 'close', className: 'consentPopupDisplay-close', onClick: handleClickClose },
@@ -18827,10 +18812,22 @@ function withBindDataSource(Component) {
18827
18812
  * @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\RenderCard.tsx
18828
18813
  *
18829
18814
  */
18830
- const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive, value, isNineProduct }) => {
18815
+ const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive, isNineProduct }) => {
18816
+ var _a, _b, _c, _d, _e;
18831
18817
  const { schema } = useEditor();
18832
18818
  if (!(rec === null || rec === void 0 ? void 0 : rec.video))
18833
18819
  return null;
18820
+ let cta = null;
18821
+ if ((_b = (_a = rec === null || rec === void 0 ? void 0 : rec.video) === null || _a === void 0 ? void 0 : _a.bindProducts) === null || _b === void 0 ? void 0 : _b.length) {
18822
+ cta = '多商品CTA';
18823
+ }
18824
+ else if ((_c = rec === null || rec === void 0 ? void 0 : rec.video) === null || _c === void 0 ? void 0 : _c.bindProduct) {
18825
+ cta = '商品CTA';
18826
+ }
18827
+ else {
18828
+ cta = (_e = (_d = rec === null || rec === void 0 ? void 0 : rec.video) === null || _d === void 0 ? void 0 : _d.bindCta) === null || _e === void 0 ? void 0 : _e.itemId;
18829
+ }
18830
+ const value = tempMap === null || tempMap === void 0 ? void 0 : tempMap[cta];
18834
18831
  const renderComp = useMemo(() => {
18835
18832
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
18836
18833
  // 如果includesCtaType有值,则只渲染includesCtaType包含的cta类型组件,用于在页面某处只显示某一组件
@@ -18858,7 +18855,7 @@ const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive,
18858
18855
  const sbf = style.backdropFilter;
18859
18856
  style.backdropFilter = `blur(${sbf !== null && sbf !== void 0 ? sbf : 0}px)`;
18860
18857
  }
18861
- return (React.createElement(Component, Object.assign({ style: Object.assign(Object.assign(Object.assign({}, defaulSetting === null || defaulSetting === void 0 ? void 0 : defaulSetting.style), style), { zIndex: 50, marginLeft: '20px', boxSizing: 'border-box', transform: 'translate3d(0px, 0px, 0px)' }), textStyle: Object.assign(Object.assign({}, defaulSetting === null || defaulSetting === void 0 ? void 0 : defaulSetting.textStyle), (_z = value === null || value === void 0 ? void 0 : value.item) === null || _z === void 0 ? void 0 : _z.textStyle), bindDatas: (_1 = (_0 = value === null || value === void 0 ? void 0 : value.item) === null || _0 === void 0 ? void 0 : _0.bindDatas) !== null && _1 !== void 0 ? _1 : [] }, defaulSetting === null || defaulSetting === void 0 ? void 0 : defaulSetting.props, (_2 = value === null || value === void 0 ? void 0 : value.item) === null || _2 === void 0 ? void 0 : _2.props, { event: ((_3 = value === null || value === void 0 ? void 0 : value.item) === null || _3 === void 0 ? void 0 : _3.event) || {}, schema: schema, id: value === null || value === void 0 ? void 0 : value.id, key: value === null || value === void 0 ? void 0 : value.id, recData: rec, isExternalLink: isExternalLink, index: index, isActive: isActive })));
18858
+ return (React.createElement(Component, Object.assign({ style: Object.assign(Object.assign(Object.assign({}, defaulSetting === null || defaulSetting === void 0 ? void 0 : defaulSetting.style), style), { zIndex: 50, marginInlineStart: '20px', boxSizing: 'border-box', transform: 'translate3d(0px, 0px, 0px)' }), textStyle: Object.assign(Object.assign({}, defaulSetting === null || defaulSetting === void 0 ? void 0 : defaulSetting.textStyle), (_z = value === null || value === void 0 ? void 0 : value.item) === null || _z === void 0 ? void 0 : _z.textStyle), bindDatas: (_1 = (_0 = value === null || value === void 0 ? void 0 : value.item) === null || _0 === void 0 ? void 0 : _0.bindDatas) !== null && _1 !== void 0 ? _1 : [] }, defaulSetting === null || defaulSetting === void 0 ? void 0 : defaulSetting.props, (_2 = value === null || value === void 0 ? void 0 : value.item) === null || _2 === void 0 ? void 0 : _2.props, { event: ((_3 = value === null || value === void 0 ? void 0 : value.item) === null || _3 === void 0 ? void 0 : _3.event) || {}, schema: schema, id: value === null || value === void 0 ? void 0 : value.id, key: value === null || value === void 0 ? void 0 : value.id, recData: rec, isExternalLink: isExternalLink, index: index, isActive: isActive })));
18862
18859
  }
18863
18860
  else {
18864
18861
  return null;
@@ -19282,17 +19279,17 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
19282
19279
  index === ((rtcList === null || rtcList === void 0 ? void 0 : rtcList[0]) === 'organic menu' ? 2 : 1) &&
19283
19280
  ((_f = ['MultiCommodity', 'MultiCommodityDiro', 'MultiCommodityDiroNew']) === null || _f === void 0 ? void 0 : _f.includes((_g = value === null || value === void 0 ? void 0 : value.item) === null || _g === void 0 ? void 0 : _g.type));
19284
19281
  return (React.createElement(React.Fragment, null,
19285
- isNineProduct && (React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, value: value, isNineProduct: isNineProduct })),
19282
+ isNineProduct && (React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, isNineProduct: isNineProduct })),
19286
19283
  ((_h = rec === null || rec === void 0 ? void 0 : rec.video) === null || _h === void 0 ? void 0 : _h.title) && !isShowMore && React.createElement("div", { className: 'clc-sxp-bottom-shadow' }),
19287
19284
  React.createElement("div", { className: 'clc-sxp-bottom', style: { marginBottom: `${(_j = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.bottomInfoDist) !== null && _j !== void 0 ? _j : 40}px` } },
19288
19285
  React.createElement(Nudge, { nudge: nudge }),
19289
19286
  ((globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA) === undefined || (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA)) && !isNineProduct ? (React.createElement("div", { className: 'clc-sxp-bottom-card' },
19290
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, value: value }))) : null,
19287
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex }))) : null,
19291
19288
  React.createElement("div", { style: { display: 'flex', flexDirection: 'column' } },
19292
19289
  React.createElement(ExpandableText$1, { className: 'clc-sxp-bottom-text', isPost: true, foldText: tipText === null || tipText === void 0 ? void 0 : tipText.foldText, unfoldText: tipText === null || tipText === void 0 ? void 0 : tipText.unfoldText, text: (_l = (_k = rec === null || rec === void 0 ? void 0 : rec.video) === null || _k === void 0 ? void 0 : _k.title) !== null && _l !== void 0 ? _l : '', style: Object.assign(Object.assign({}, descStyle), { textShadow: (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isOpenTextShadow) ? '2px 2px 4px rgba(0, 0, 0, 0.5)' : 'none' }), onChange: onExpandableChange }),
19293
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLink'], isActive: index === activeIndex, value: value }),
19290
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLink'], isActive: index === activeIndex }),
19294
19291
  React.createElement(Hashtag$1, { index: activeIndex, tags: (_o = (_m = rec === null || rec === void 0 ? void 0 : rec.video) === null || _m === void 0 ? void 0 : _m.hashTags) !== null && _o !== void 0 ? _o : [], itemId: (_p = rec === null || rec === void 0 ? void 0 : rec.video) === null || _p === void 0 ? void 0 : _p.itemId, itemType: ((_q = rec === null || rec === void 0 ? void 0 : rec.video) === null || _q === void 0 ? void 0 : _q.itemId) ? 'VIDEO' : null, rec: rec, hashTagStyle: hashTagStyle, hashTagRightMargin: containerWidth - (hashTagRightMargin !== null && hashTagRightMargin !== void 0 ? hashTagRightMargin : 0) }))),
19295
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex, value: value })));
19292
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex })));
19296
19293
  }
19297
19294
  return null;
19298
19295
  }, [
@@ -19926,7 +19923,7 @@ const DiyPortalPreview = ({ data = [], globalConfig, tipText, nudge, tempMap, de
19926
19923
  const CTA = (rec, index) => {
19927
19924
  if ((globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA) === undefined || (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA)) {
19928
19925
  return (React.createElement("div", { className: 'clc-sxp-bottom-card' },
19929
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2 })));
19926
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2, isActive: true })));
19930
19927
  }
19931
19928
  return null;
19932
19929
  };
@@ -19939,8 +19936,10 @@ const DiyPortalPreview = ({ data = [], globalConfig, tipText, nudge, tempMap, de
19939
19936
  React.createElement(Nudge, { nudge: nudge }),
19940
19937
  CTA(rec, index),
19941
19938
  React.createElement("div", null,
19942
- React.createElement(ExpandableText$1, { className: 'clc-sxp-bottom-text', isPost: true, foldText: tipText === null || tipText === void 0 ? void 0 : tipText.foldText, unfoldText: tipText === null || tipText === void 0 ? void 0 : tipText.unfoldText, text: (_c = (_b = rec === null || rec === void 0 ? void 0 : rec.video) === null || _b === void 0 ? void 0 : _b.title) !== null && _c !== void 0 ? _c : '', style: Object.assign(Object.assign({}, descStyle), { textShadow: (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isOpenTextShadow) ? '2px 2px 4px rgba(0, 0, 0, 0.5)' : 'none' }) })),
19943
- React.createElement(Hashtag$1, { index: index, tags: (_e = (_d = rec === null || rec === void 0 ? void 0 : rec.video) === null || _d === void 0 ? void 0 : _d.hashTags) !== null && _e !== void 0 ? _e : [], itemId: (_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.itemId, itemType: ((_g = rec === null || rec === void 0 ? void 0 : rec.video) === null || _g === void 0 ? void 0 : _g.itemId) ? 'VIDEO' : null, rec: rec, hashTagStyle: hashTagStyle }))));
19939
+ React.createElement(ExpandableText$1, { className: 'clc-sxp-bottom-text', isPost: true, foldText: tipText === null || tipText === void 0 ? void 0 : tipText.foldText, unfoldText: tipText === null || tipText === void 0 ? void 0 : tipText.unfoldText, text: (_c = (_b = rec === null || rec === void 0 ? void 0 : rec.video) === null || _b === void 0 ? void 0 : _b.title) !== null && _c !== void 0 ? _c : '', style: Object.assign(Object.assign({}, descStyle), { textShadow: (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isOpenTextShadow) ? '2px 2px 4px rgba(0, 0, 0, 0.5)' : 'none' }) }),
19940
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2, includesCtaType: ['AniLink'], isActive: true })),
19941
+ React.createElement(Hashtag$1, { index: index, tags: (_e = (_d = rec === null || rec === void 0 ? void 0 : rec.video) === null || _d === void 0 ? void 0 : _d.hashTags) !== null && _e !== void 0 ? _e : [], itemId: (_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.itemId, itemType: ((_g = rec === null || rec === void 0 ? void 0 : rec.video) === null || _g === void 0 ? void 0 : _g.itemId) ? 'VIDEO' : null, rec: rec, hashTagStyle: hashTagStyle })),
19942
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2, includesCtaType: ['AniLinkPopup'], isActive: true })));
19944
19943
  }
19945
19944
  return null;
19946
19945
  };
@@ -20330,21 +20329,10 @@ const DiyStoryPreview = forwardRef(({ data = [], globalConfig, tipText, nudge, t
20330
20329
  return null;
20331
20330
  }, [globalConfig]);
20332
20331
  const renderBottom = (rec, index) => {
20333
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
20332
+ var _a, _b, _c, _d;
20334
20333
  if (rec === null || rec === void 0 ? void 0 : rec.video) {
20335
- let cta = null;
20336
- if ((_b = (_a = rec === null || rec === void 0 ? void 0 : rec.video) === null || _a === void 0 ? void 0 : _a.bindProducts) === null || _b === void 0 ? void 0 : _b.length) {
20337
- cta = '多商品CTA';
20338
- }
20339
- else if ((_c = rec === null || rec === void 0 ? void 0 : rec.video) === null || _c === void 0 ? void 0 : _c.bindProduct) {
20340
- cta = '商品CTA';
20341
- }
20342
- else {
20343
- cta = (_e = (_d = rec === null || rec === void 0 ? void 0 : rec.video) === null || _d === void 0 ? void 0 : _d.bindCta) === null || _e === void 0 ? void 0 : _e.itemId;
20344
- }
20345
- const value = tempMap === null || tempMap === void 0 ? void 0 : tempMap[cta];
20346
20334
  return (React.createElement(React.Fragment, null,
20347
- ((_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.title) && (React.createElement("div", { style: {
20335
+ ((_a = rec === null || rec === void 0 ? void 0 : rec.video) === null || _a === void 0 ? void 0 : _a.title) && (React.createElement("div", { style: {
20348
20336
  background: 'repeating-linear-gradient(0deg, rgba(26, 26, 25, 0.7), hsla(0, 0%, 100%, 0))',
20349
20337
  height: '130px',
20350
20338
  position: 'absolute',
@@ -20355,7 +20343,7 @@ const DiyStoryPreview = forwardRef(({ data = [], globalConfig, tipText, nudge, t
20355
20343
  pointerEvents
20356
20344
  } })),
20357
20345
  React.createElement("div", { style: {
20358
- marginBottom: `${(_g = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.bottomInfoDist) !== null && _g !== void 0 ? _g : 40}px`,
20346
+ marginBottom: `${(_b = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.bottomInfoDist) !== null && _b !== void 0 ? _b : 40}px`,
20359
20347
  zIndex: 999,
20360
20348
  position: 'absolute',
20361
20349
  bottom: 0,
@@ -20364,15 +20352,15 @@ const DiyStoryPreview = forwardRef(({ data = [], globalConfig, tipText, nudge, t
20364
20352
  paddingTop: '20px'
20365
20353
  } },
20366
20354
  (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA) === undefined || (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA) ? (React.createElement("div", { style: {} },
20367
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, isActive: index === activeIndex, value: value }))) : null,
20355
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, isActive: index === activeIndex }))) : null,
20368
20356
  React.createElement("div", null,
20369
20357
  React.createElement(ExpandableText$1
20370
20358
  // className='clc-sxp-bottom-text'
20371
20359
  , {
20372
20360
  // className='clc-sxp-bottom-text'
20373
- isPost: true, foldText: tipText === null || tipText === void 0 ? void 0 : tipText.foldText, unfoldText: tipText === null || tipText === void 0 ? void 0 : tipText.unfoldText, text: (_j = (_h = rec === null || rec === void 0 ? void 0 : rec.video) === null || _h === void 0 ? void 0 : _h.title) !== null && _j !== void 0 ? _j : '', style: Object.assign(Object.assign({}, descStyle), { textShadow: (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isOpenTextShadow) ? '2px 2px 4px rgba(0, 0, 0, 0.5)' : 'none', padding: '0 20px', fontSize: '12px' }) }),
20374
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLink'], isActive: index === activeIndex, value: value }))),
20375
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex, value: value })));
20361
+ isPost: true, foldText: tipText === null || tipText === void 0 ? void 0 : tipText.foldText, unfoldText: tipText === null || tipText === void 0 ? void 0 : tipText.unfoldText, text: (_d = (_c = rec === null || rec === void 0 ? void 0 : rec.video) === null || _c === void 0 ? void 0 : _c.title) !== null && _d !== void 0 ? _d : '', style: Object.assign(Object.assign({}, descStyle), { textShadow: (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isOpenTextShadow) ? '2px 2px 4px rgba(0, 0, 0, 0.5)' : 'none', padding: '0 20px', fontSize: '12px' }) }),
20362
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLink'], isActive: index === activeIndex }))),
20363
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex })));
20376
20364
  }
20377
20365
  return null;
20378
20366
  };