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.cjs CHANGED
@@ -2706,6 +2706,35 @@ var settingRender$e = [
2706
2706
  }
2707
2707
  ];
2708
2708
 
2709
+ /*
2710
+ * @Author: binruan@chatlabs.com
2711
+ * @Date: 2024-07-09 14:35:10
2712
+ * @LastEditors: binruan@chatlabs.com
2713
+ * @LastEditTime: 2024-07-12 17:53:02
2714
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
2715
+ *
2716
+ */
2717
+ /*
2718
+ * @Author: binruan@chatlabs.com
2719
+ * @Date: 2024-07-05 14:08:41
2720
+ * @LastEditors: binruan@chatlabs.com
2721
+ * @LastEditTime: 2024-07-09 14:34:49
2722
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
2723
+ *
2724
+ */
2725
+ var interactionRender$g = [
2726
+ {
2727
+ title: '滑动事件',
2728
+ child: [
2729
+ {
2730
+ type: 'Switch',
2731
+ label: '滑动铺满全屏',
2732
+ name: ['isScrollFullScreen']
2733
+ }
2734
+ ]
2735
+ }
2736
+ ];
2737
+
2709
2738
  /**
2710
2739
  * SSR Window 4.0.2
2711
2740
  * Better handling for window object in SSR environment
@@ -10284,7 +10313,7 @@ const CommodityGroup = ({ products, data, defImg, style, onCLick, popupDetailDat
10284
10313
  return (React.createElement(React.Fragment, null, (item === null || item === void 0 ? void 0 : item.bindCta) ? (React.createElement(SwiperSlide, { className: css.css({
10285
10314
  width: '50px',
10286
10315
  height: '50px',
10287
- marginRight: '10px'
10316
+ marginInlineEnd: '10px'
10288
10317
  }), onClick: () => {
10289
10318
  handleClick(item, index);
10290
10319
  }, key: index },
@@ -10883,35 +10912,6 @@ const CommodityDetail$1 = (_a) => {
10883
10912
  };
10884
10913
  var CommodityDetailComponent = React.memo(CommodityDetail$1);
10885
10914
 
10886
- /*
10887
- * @Author: binruan@chatlabs.com
10888
- * @Date: 2024-07-09 14:35:10
10889
- * @LastEditors: binruan@chatlabs.com
10890
- * @LastEditTime: 2024-07-12 17:53:02
10891
- * @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
10892
- *
10893
- */
10894
- /*
10895
- * @Author: binruan@chatlabs.com
10896
- * @Date: 2024-07-05 14:08:41
10897
- * @LastEditors: binruan@chatlabs.com
10898
- * @LastEditTime: 2024-07-09 14:34:49
10899
- * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
10900
- *
10901
- */
10902
- var interactionRender$g = [
10903
- {
10904
- title: '滑动事件',
10905
- child: [
10906
- {
10907
- type: 'Switch',
10908
- label: '滑动铺满全屏',
10909
- name: ['isScrollFullScreen']
10910
- }
10911
- ]
10912
- }
10913
- ];
10914
-
10915
10915
  /*
10916
10916
  * @Author: binruan@chatlabs.com
10917
10917
  * @Date: 2023-07-28 18:29:57
@@ -10958,7 +10958,6 @@ const CommodityDetail = createMaterial(CommodityDetailComponent, {
10958
10958
  taxInfo: {
10959
10959
  color: '#000',
10960
10960
  fontSize: 13,
10961
- textAlign: 'left',
10962
10961
  marginBottom: '10px'
10963
10962
  }
10964
10963
  },
@@ -12050,7 +12049,7 @@ var settingRender$b = [
12050
12049
  type: 'Number',
12051
12050
  label: '与右侧边距',
12052
12051
  addonAfter: 'px',
12053
- name: ['props', 'commodityPicture', 'marginRight']
12052
+ name: ['props', 'commodityPicture', 'marginInlineEnd']
12054
12053
  },
12055
12054
  {
12056
12055
  label: '居中垂直偏移',
@@ -12336,12 +12335,11 @@ const CommodityList$1 = (_a) => {
12336
12335
  React.createElement("button", Object.assign({ role: 'button', "aria-label": item === null || item === void 0 ? void 0 : item.title, tabIndex: 0, className: css.css({
12337
12336
  display: 'flex',
12338
12337
  alignItems: 'normal',
12339
- width: '100%',
12340
- textAlign: 'left'
12338
+ width: '100%'
12341
12339
  }) }, props),
12342
12340
  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 }),
12343
12341
  React.createElement("div", { style: {
12344
- 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)`,
12342
+ 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)`,
12345
12343
  display: 'flex',
12346
12344
  flexDirection: 'column',
12347
12345
  justifyContent: 'space-between'
@@ -12422,7 +12420,7 @@ const CommodityList = createMaterial(CommodityListComponent, {
12422
12420
  commodityPicture: {
12423
12421
  width: 100,
12424
12422
  height: 100,
12425
- marginRight: 10
12423
+ marginInlineEnd: 10
12426
12424
  },
12427
12425
  commodityStyles: {
12428
12426
  price: {
@@ -12668,7 +12666,7 @@ var settingRender$8 = [
12668
12666
  type: 'Number',
12669
12667
  label: '与右侧边距',
12670
12668
  addonAfter: 'px',
12671
- name: ['props', 'ctaTempStyles', 'img', 'marginRight']
12669
+ name: ['props', 'ctaTempStyles', 'img', 'marginInlineEnd']
12672
12670
  },
12673
12671
  {
12674
12672
  label: '居中垂直偏移',
@@ -12929,12 +12927,11 @@ const Commodity = createMaterial(CommodityComponent, {
12929
12927
  borderRadius: 3,
12930
12928
  width: 60,
12931
12929
  height: 60,
12932
- marginRight: 8
12930
+ marginInlineEnd: 8
12933
12931
  },
12934
12932
  title: {
12935
12933
  fontSize: 12,
12936
- color: '#fff',
12937
- textAlign: 'left'
12934
+ color: '#fff'
12938
12935
  },
12939
12936
  ctaTitle: {
12940
12937
  fontSize: 10,
@@ -13012,12 +13009,11 @@ const Appoint = createMaterial(AppointComponent, {
13012
13009
  borderRadius: 3,
13013
13010
  width: 30,
13014
13011
  height: 30,
13015
- marginRight: 8
13012
+ marginInlineEnd: 8
13016
13013
  },
13017
13014
  ctaTitle: {
13018
13015
  fontSize: 12,
13019
13016
  color: '#fff',
13020
- textAlign: 'left',
13021
13017
  width: 130,
13022
13018
  height: 20
13023
13019
  }
@@ -13153,6 +13149,27 @@ var linkSettingRender = [
13153
13149
  }
13154
13150
  ];
13155
13151
 
13152
+ /*
13153
+ * @Author: binruan@chatlabs.com
13154
+ * @Date: 2024-08-09 16:59:38
13155
+ * @LastEditors: binruan@chatlabs.com
13156
+ * @LastEditTime: 2024-09-09 13:59:50
13157
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
13158
+ *
13159
+ */
13160
+ var interactionRender$a = [
13161
+ {
13162
+ title: '点击事件',
13163
+ child: [
13164
+ {
13165
+ type: 'link',
13166
+ name: 'onClick',
13167
+ hiddenUrl: true
13168
+ }
13169
+ ]
13170
+ }
13171
+ ];
13172
+
13156
13173
  var styles$8 = {"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};
13157
13174
 
13158
13175
  const Link$1 = (_a) => {
@@ -13180,27 +13197,6 @@ const Link$1 = (_a) => {
13180
13197
  };
13181
13198
  var LinkComponent = React.memo(Link$1);
13182
13199
 
13183
- /*
13184
- * @Author: binruan@chatlabs.com
13185
- * @Date: 2024-08-09 16:59:38
13186
- * @LastEditors: binruan@chatlabs.com
13187
- * @LastEditTime: 2024-09-09 13:59:50
13188
- * @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
13189
- *
13190
- */
13191
- var interactionRender$a = [
13192
- {
13193
- title: '点击事件',
13194
- child: [
13195
- {
13196
- type: 'link',
13197
- name: 'onClick',
13198
- hiddenUrl: true
13199
- }
13200
- ]
13201
- }
13202
- ];
13203
-
13204
13200
  var _a;
13205
13201
  const Link = createMaterial(LinkComponent, {
13206
13202
  displayName: '普通CTA',
@@ -13219,19 +13215,17 @@ const Link = createMaterial(LinkComponent, {
13219
13215
  borderRadius: 3,
13220
13216
  width: 60,
13221
13217
  height: 60,
13222
- marginRight: 8
13218
+ marginInlineEnd: 8
13223
13219
  },
13224
13220
  ctaTitle: {
13225
13221
  fontSize: 12,
13226
13222
  color: '#fff',
13227
- textAlign: 'left',
13228
13223
  width: 130,
13229
13224
  height: 20
13230
13225
  }
13231
13226
  },
13232
13227
  customTitle: {
13233
13228
  style: {
13234
- textAlign: 'left',
13235
13229
  textDecoration: 'underline',
13236
13230
  fontWeight: 'bold',
13237
13231
  width: 130,
@@ -13321,12 +13315,11 @@ const CommodityDiro = createMaterial(CommodityDiroComponent, {
13321
13315
  borderRadius: 3,
13322
13316
  width: 60,
13323
13317
  height: 60,
13324
- marginRight: 8
13318
+ marginInlineEnd: 8
13325
13319
  },
13326
13320
  title: {
13327
13321
  fontSize: 12,
13328
- color: '#000',
13329
- textAlign: 'left'
13322
+ color: '#000'
13330
13323
  },
13331
13324
  ctaTitle: {
13332
13325
  fontSize: 10,
@@ -13417,19 +13410,17 @@ const CommodityDiroNew = createMaterial(CommodityDiroNewComponent, {
13417
13410
  borderRadius: 8,
13418
13411
  width: 78,
13419
13412
  height: 78,
13420
- marginRight: 16
13413
+ marginInlineEnd: 16
13421
13414
  },
13422
13415
  title: {
13423
13416
  fontSize: 13,
13424
- color: '#000',
13425
- textAlign: 'left'
13417
+ color: '#000'
13426
13418
  },
13427
13419
  ctaTitle: {
13428
13420
  textDecoration: 'underline',
13429
13421
  fontSize: 14,
13430
13422
  fontWeight: 'bold',
13431
13423
  color: '#000',
13432
- textAlign: 'left',
13433
13424
  width: 150,
13434
13425
  height: 20
13435
13426
  }
@@ -13471,7 +13462,7 @@ const MultiCommodityDiro$1 = (_a) => {
13471
13462
  const [products] = React.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]);
13472
13463
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13473
13464
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
13474
- return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css.css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginLeft: 0, marginRight: '8px' })), tag: 'li', role: 'listitem' },
13465
+ return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css.css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginInlineStart: 0, marginInlineEnd: '8px' })), tag: 'li', role: 'listitem' },
13475
13466
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13476
13467
  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 }),
13477
13468
  React.createElement("div", { className: css.css({
@@ -13517,12 +13508,11 @@ const MultiCommodityDiro = createMaterial(MultiCommodityDiroComponent, {
13517
13508
  borderRadius: 3,
13518
13509
  width: 60,
13519
13510
  height: 60,
13520
- marginRight: 8
13511
+ marginInlineEnd: 8
13521
13512
  },
13522
13513
  title: {
13523
13514
  fontSize: 12,
13524
- color: '#000',
13525
- textAlign: 'left'
13515
+ color: '#000'
13526
13516
  },
13527
13517
  ctaTitle: {
13528
13518
  fontSize: 10,
@@ -13570,7 +13560,7 @@ const MultiCommodity$1 = (_a) => {
13570
13560
  const [products] = React.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]);
13571
13561
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13572
13562
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
13573
- return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css.css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginLeft: 0, marginRight: '8px' })), tag: 'li', role: 'listitem' },
13563
+ return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css.css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginInlineStart: 0, marginInlineEnd: '8px' })), tag: 'li', role: 'listitem' },
13574
13564
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13575
13565
  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 }),
13576
13566
  React.createElement("div", { className: css.css({
@@ -13616,12 +13606,11 @@ const MultiCommodity = createMaterial(MultiCommodityComponent, {
13616
13606
  borderRadius: 3,
13617
13607
  width: 60,
13618
13608
  height: 60,
13619
- marginRight: 8
13609
+ marginInlineEnd: 8
13620
13610
  },
13621
13611
  title: {
13622
13612
  fontSize: 12,
13623
13613
  color: '#fff',
13624
- textAlign: 'left'
13625
13614
  },
13626
13615
  ctaTitle: {
13627
13616
  fontSize: 10,
@@ -13677,7 +13666,7 @@ const MultiCommodityDiroNew$1 = (_a) => {
13677
13666
  const [products] = React.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]);
13678
13667
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13679
13668
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
13680
- return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css.css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginLeft: 0, marginRight: '8px' })), tag: 'li', role: 'listitem' },
13669
+ return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css.css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginInlineStart: 0, marginInlineEnd: '8px' })), tag: 'li', role: 'listitem' },
13681
13670
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13682
13671
  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 }),
13683
13672
  React.createElement("div", { className: css.css({
@@ -13724,19 +13713,17 @@ const MultiCommodityDiroNew = createMaterial(MultiCommodityDiroNewComponent, {
13724
13713
  borderRadius: 8,
13725
13714
  width: 78,
13726
13715
  height: 78,
13727
- marginRight: 16
13716
+ marginInlineEnd: 16
13728
13717
  },
13729
13718
  title: {
13730
13719
  fontSize: 12,
13731
- color: '#000',
13732
- textAlign: 'left'
13720
+ color: '#000'
13733
13721
  },
13734
13722
  ctaTitle: {
13735
13723
  textDecoration: 'underline',
13736
13724
  fontSize: 12,
13737
13725
  fontWeight: 'bold',
13738
13726
  color: '#000',
13739
- textAlign: 'left',
13740
13727
  width: 150,
13741
13728
  height: 20
13742
13729
  }
@@ -13831,12 +13818,11 @@ const NineCommodity = createMaterial(NineCommodityComponent, {
13831
13818
  borderRadius: 3,
13832
13819
  width: 60,
13833
13820
  height: 60,
13834
- marginRight: 8
13821
+ marginInlineEnd: 8
13835
13822
  },
13836
13823
  title: {
13837
13824
  fontSize: 12,
13838
- color: '#fff',
13839
- textAlign: 'left'
13825
+ color: '#fff'
13840
13826
  },
13841
13827
  ctaTitle: {
13842
13828
  fontSize: 10,
@@ -16756,6 +16742,60 @@ var settingRender$4 = [
16756
16742
  }
16757
16743
  ];
16758
16744
 
16745
+ /*
16746
+ * @Author: binruan@chatlabs.com
16747
+ * @Date: 2024-07-24 14:58:40
16748
+ * @LastEditors: binruan@chatlabs.com
16749
+ * @LastEditTime: 2024-09-09 13:54:35
16750
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
16751
+ *
16752
+ */
16753
+ var interactionRender$2 = [
16754
+ {
16755
+ title: '点击事件',
16756
+ child: [
16757
+ {
16758
+ type: 'link',
16759
+ name: 'onClick',
16760
+ hiddenUrl: true
16761
+ }
16762
+ ]
16763
+ },
16764
+ {
16765
+ title: '动画效果',
16766
+ child: [
16767
+ {
16768
+ type: 'Select',
16769
+ name: ['animation', 'name'],
16770
+ label: '动画',
16771
+ options: [
16772
+ {
16773
+ label: '默认',
16774
+ value: 1
16775
+ }
16776
+ ],
16777
+ fieldProps: {
16778
+ style: {
16779
+ width: '100%'
16780
+ }
16781
+ }
16782
+ },
16783
+ {
16784
+ type: 'Number',
16785
+ label: '动画启动时间',
16786
+ name: ['animation', 'delay'],
16787
+ addonAfter: 'ms'
16788
+ },
16789
+ {
16790
+ type: 'Number',
16791
+ label: '动画持续时间',
16792
+ name: ['animation', 'duration'],
16793
+ addonAfter: 'ms'
16794
+ }
16795
+ ]
16796
+ }
16797
+ ];
16798
+
16759
16799
  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"};
16760
16800
 
16761
16801
  const closeIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=';
@@ -16828,60 +16868,6 @@ const AniLinkPopup$1 = (_a) => {
16828
16868
  };
16829
16869
  var AniLinkPopupComponent = React.memo(AniLinkPopup$1);
16830
16870
 
16831
- /*
16832
- * @Author: binruan@chatlabs.com
16833
- * @Date: 2024-07-24 14:58:40
16834
- * @LastEditors: binruan@chatlabs.com
16835
- * @LastEditTime: 2024-09-09 13:54:35
16836
- * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
16837
- *
16838
- */
16839
- var interactionRender$2 = [
16840
- {
16841
- title: '点击事件',
16842
- child: [
16843
- {
16844
- type: 'link',
16845
- name: 'onClick',
16846
- hiddenUrl: true
16847
- }
16848
- ]
16849
- },
16850
- {
16851
- title: '动画效果',
16852
- child: [
16853
- {
16854
- type: 'Select',
16855
- name: ['animation', 'name'],
16856
- label: '动画',
16857
- options: [
16858
- {
16859
- label: '默认',
16860
- value: 1
16861
- }
16862
- ],
16863
- fieldProps: {
16864
- style: {
16865
- width: '100%'
16866
- }
16867
- }
16868
- },
16869
- {
16870
- type: 'Number',
16871
- label: '动画启动时间',
16872
- name: ['animation', 'delay'],
16873
- addonAfter: 'ms'
16874
- },
16875
- {
16876
- type: 'Number',
16877
- label: '动画持续时间',
16878
- name: ['animation', 'duration'],
16879
- addonAfter: 'ms'
16880
- }
16881
- ]
16882
- }
16883
- ];
16884
-
16885
16871
  /*
16886
16872
  * @Author: binruan@chatlabs.com
16887
16873
  * @Date: 2024-07-24 14:58:40
@@ -16920,7 +16906,6 @@ const AniLinkPopup = createMaterial(AniLinkPopupComponent, {
16920
16906
  title: {
16921
16907
  fontSize: 14,
16922
16908
  color: '#000',
16923
- textAlign: 'left',
16924
16909
  lineHeight: 2.6
16925
16910
  },
16926
16911
  ctaTitle: {
@@ -17149,7 +17134,7 @@ const Display$1 = (_a) => {
17149
17134
  React.createElement("span", { style: content === null || content === void 0 ? void 0 : content.style, dangerouslySetInnerHTML: {
17150
17135
  __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)
17151
17136
  } }),
17152
- React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginLeft: '5px' }), dangerouslySetInnerHTML: {
17137
+ React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginInlineStart: '5px' }), dangerouslySetInnerHTML: {
17153
17138
  __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)
17154
17139
  }, onClick: handleClick })),
17155
17140
  isShowClose && (React.createElement("button", { "aria-label": 'close', className: 'consentPopupDisplay-close', onClick: handleClickClose },
@@ -18849,10 +18834,22 @@ function withBindDataSource(Component) {
18849
18834
  * @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\RenderCard.tsx
18850
18835
  *
18851
18836
  */
18852
- const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive, value, isNineProduct }) => {
18837
+ const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive, isNineProduct }) => {
18838
+ var _a, _b, _c, _d, _e;
18853
18839
  const { schema } = useEditor();
18854
18840
  if (!(rec === null || rec === void 0 ? void 0 : rec.video))
18855
18841
  return null;
18842
+ let cta = null;
18843
+ 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) {
18844
+ cta = '多商品CTA';
18845
+ }
18846
+ else if ((_c = rec === null || rec === void 0 ? void 0 : rec.video) === null || _c === void 0 ? void 0 : _c.bindProduct) {
18847
+ cta = '商品CTA';
18848
+ }
18849
+ else {
18850
+ 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;
18851
+ }
18852
+ const value = tempMap === null || tempMap === void 0 ? void 0 : tempMap[cta];
18856
18853
  const renderComp = React.useMemo(() => {
18857
18854
  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;
18858
18855
  // 如果includesCtaType有值,则只渲染includesCtaType包含的cta类型组件,用于在页面某处只显示某一组件
@@ -18880,7 +18877,7 @@ const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive,
18880
18877
  const sbf = style.backdropFilter;
18881
18878
  style.backdropFilter = `blur(${sbf !== null && sbf !== void 0 ? sbf : 0}px)`;
18882
18879
  }
18883
- 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 })));
18880
+ 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 })));
18884
18881
  }
18885
18882
  else {
18886
18883
  return null;
@@ -19304,17 +19301,17 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
19304
19301
  index === ((rtcList === null || rtcList === void 0 ? void 0 : rtcList[0]) === 'organic menu' ? 2 : 1) &&
19305
19302
  ((_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));
19306
19303
  return (React.createElement(React.Fragment, null,
19307
- isNineProduct && (React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, value: value, isNineProduct: isNineProduct })),
19304
+ isNineProduct && (React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, isNineProduct: isNineProduct })),
19308
19305
  ((_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' }),
19309
19306
  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` } },
19310
19307
  React.createElement(Nudge, { nudge: nudge }),
19311
19308
  ((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' },
19312
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, value: value }))) : null,
19309
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex }))) : null,
19313
19310
  React.createElement("div", { style: { display: 'flex', flexDirection: 'column' } },
19314
19311
  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 }),
19315
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLink'], isActive: index === activeIndex, value: value }),
19312
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLink'], isActive: index === activeIndex }),
19316
19313
  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) }))),
19317
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex, value: value })));
19314
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex })));
19318
19315
  }
19319
19316
  return null;
19320
19317
  }, [
@@ -19948,7 +19945,7 @@ const DiyPortalPreview = ({ data = [], globalConfig, tipText, nudge, tempMap, de
19948
19945
  const CTA = (rec, index) => {
19949
19946
  if ((globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA) === undefined || (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA)) {
19950
19947
  return (React.createElement("div", { className: 'clc-sxp-bottom-card' },
19951
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2 })));
19948
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2, isActive: true })));
19952
19949
  }
19953
19950
  return null;
19954
19951
  };
@@ -19961,8 +19958,10 @@ const DiyPortalPreview = ({ data = [], globalConfig, tipText, nudge, tempMap, de
19961
19958
  React.createElement(Nudge, { nudge: nudge }),
19962
19959
  CTA(rec, index),
19963
19960
  React.createElement("div", null,
19964
- 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' }) })),
19965
- 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 }))));
19961
+ 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' }) }),
19962
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2, includesCtaType: ['AniLink'], isActive: true })),
19963
+ 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 })),
19964
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2, includesCtaType: ['AniLinkPopup'], isActive: true })));
19966
19965
  }
19967
19966
  return null;
19968
19967
  };
@@ -20352,21 +20351,10 @@ const DiyStoryPreview = React.forwardRef(({ data = [], globalConfig, tipText, nu
20352
20351
  return null;
20353
20352
  }, [globalConfig]);
20354
20353
  const renderBottom = (rec, index) => {
20355
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
20354
+ var _a, _b, _c, _d;
20356
20355
  if (rec === null || rec === void 0 ? void 0 : rec.video) {
20357
- let cta = null;
20358
- 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) {
20359
- cta = '多商品CTA';
20360
- }
20361
- else if ((_c = rec === null || rec === void 0 ? void 0 : rec.video) === null || _c === void 0 ? void 0 : _c.bindProduct) {
20362
- cta = '商品CTA';
20363
- }
20364
- else {
20365
- 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;
20366
- }
20367
- const value = tempMap === null || tempMap === void 0 ? void 0 : tempMap[cta];
20368
20356
  return (React.createElement(React.Fragment, null,
20369
- ((_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.title) && (React.createElement("div", { style: {
20357
+ ((_a = rec === null || rec === void 0 ? void 0 : rec.video) === null || _a === void 0 ? void 0 : _a.title) && (React.createElement("div", { style: {
20370
20358
  background: 'repeating-linear-gradient(0deg, rgba(26, 26, 25, 0.7), hsla(0, 0%, 100%, 0))',
20371
20359
  height: '130px',
20372
20360
  position: 'absolute',
@@ -20377,7 +20365,7 @@ const DiyStoryPreview = React.forwardRef(({ data = [], globalConfig, tipText, nu
20377
20365
  pointerEvents
20378
20366
  } })),
20379
20367
  React.createElement("div", { style: {
20380
- marginBottom: `${(_g = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.bottomInfoDist) !== null && _g !== void 0 ? _g : 40}px`,
20368
+ marginBottom: `${(_b = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.bottomInfoDist) !== null && _b !== void 0 ? _b : 40}px`,
20381
20369
  zIndex: 999,
20382
20370
  position: 'absolute',
20383
20371
  bottom: 0,
@@ -20386,15 +20374,15 @@ const DiyStoryPreview = React.forwardRef(({ data = [], globalConfig, tipText, nu
20386
20374
  paddingTop: '20px'
20387
20375
  } },
20388
20376
  (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA) === undefined || (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA) ? (React.createElement("div", { style: {} },
20389
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, isActive: index === activeIndex, value: value }))) : null,
20377
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, isActive: index === activeIndex }))) : null,
20390
20378
  React.createElement("div", null,
20391
20379
  React.createElement(ExpandableText$1
20392
20380
  // className='clc-sxp-bottom-text'
20393
20381
  , {
20394
20382
  // className='clc-sxp-bottom-text'
20395
- 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' }) }),
20396
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLink'], isActive: index === activeIndex, value: value }))),
20397
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex, value: value })));
20383
+ 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' }) }),
20384
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLink'], isActive: index === activeIndex }))),
20385
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex })));
20398
20386
  }
20399
20387
  return null;
20400
20388
  };