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/pb-ui.js CHANGED
@@ -2699,6 +2699,35 @@
2699
2699
  }
2700
2700
  ];
2701
2701
 
2702
+ /*
2703
+ * @Author: binruan@chatlabs.com
2704
+ * @Date: 2024-07-09 14:35:10
2705
+ * @LastEditors: binruan@chatlabs.com
2706
+ * @LastEditTime: 2024-07-12 17:53:02
2707
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
2708
+ *
2709
+ */
2710
+ /*
2711
+ * @Author: binruan@chatlabs.com
2712
+ * @Date: 2024-07-05 14:08:41
2713
+ * @LastEditors: binruan@chatlabs.com
2714
+ * @LastEditTime: 2024-07-09 14:34:49
2715
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
2716
+ *
2717
+ */
2718
+ var interactionRender$g = [
2719
+ {
2720
+ title: '滑动事件',
2721
+ child: [
2722
+ {
2723
+ type: 'Switch',
2724
+ label: '滑动铺满全屏',
2725
+ name: ['isScrollFullScreen']
2726
+ }
2727
+ ]
2728
+ }
2729
+ ];
2730
+
2702
2731
  /**
2703
2732
  * SSR Window 4.0.2
2704
2733
  * Better handling for window object in SSR environment
@@ -10277,7 +10306,7 @@
10277
10306
  return (React.createElement(React.Fragment, null, (item === null || item === void 0 ? void 0 : item.bindCta) ? (React.createElement(SwiperSlide, { className: css.css({
10278
10307
  width: '50px',
10279
10308
  height: '50px',
10280
- marginRight: '10px'
10309
+ marginInlineEnd: '10px'
10281
10310
  }), onClick: () => {
10282
10311
  handleClick(item, index);
10283
10312
  }, key: index },
@@ -10876,35 +10905,6 @@
10876
10905
  };
10877
10906
  var CommodityDetailComponent = React.memo(CommodityDetail$1);
10878
10907
 
10879
- /*
10880
- * @Author: binruan@chatlabs.com
10881
- * @Date: 2024-07-09 14:35:10
10882
- * @LastEditors: binruan@chatlabs.com
10883
- * @LastEditTime: 2024-07-12 17:53:02
10884
- * @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
10885
- *
10886
- */
10887
- /*
10888
- * @Author: binruan@chatlabs.com
10889
- * @Date: 2024-07-05 14:08:41
10890
- * @LastEditors: binruan@chatlabs.com
10891
- * @LastEditTime: 2024-07-09 14:34:49
10892
- * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
10893
- *
10894
- */
10895
- var interactionRender$g = [
10896
- {
10897
- title: '滑动事件',
10898
- child: [
10899
- {
10900
- type: 'Switch',
10901
- label: '滑动铺满全屏',
10902
- name: ['isScrollFullScreen']
10903
- }
10904
- ]
10905
- }
10906
- ];
10907
-
10908
10908
  /*
10909
10909
  * @Author: binruan@chatlabs.com
10910
10910
  * @Date: 2023-07-28 18:29:57
@@ -10951,7 +10951,6 @@
10951
10951
  taxInfo: {
10952
10952
  color: '#000',
10953
10953
  fontSize: 13,
10954
- textAlign: 'left',
10955
10954
  marginBottom: '10px'
10956
10955
  }
10957
10956
  },
@@ -12043,7 +12042,7 @@ Made in Italy` })));
12043
12042
  type: 'Number',
12044
12043
  label: '与右侧边距',
12045
12044
  addonAfter: 'px',
12046
- name: ['props', 'commodityPicture', 'marginRight']
12045
+ name: ['props', 'commodityPicture', 'marginInlineEnd']
12047
12046
  },
12048
12047
  {
12049
12048
  label: '居中垂直偏移',
@@ -12329,12 +12328,11 @@ Made in Italy` })));
12329
12328
  React.createElement("button", Object.assign({ role: 'button', "aria-label": item === null || item === void 0 ? void 0 : item.title, tabIndex: 0, className: css.css({
12330
12329
  display: 'flex',
12331
12330
  alignItems: 'normal',
12332
- width: '100%',
12333
- textAlign: 'left'
12331
+ width: '100%'
12334
12332
  }) }, props),
12335
12333
  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 }),
12336
12334
  React.createElement("div", { style: {
12337
- 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)`,
12335
+ 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)`,
12338
12336
  display: 'flex',
12339
12337
  flexDirection: 'column',
12340
12338
  justifyContent: 'space-between'
@@ -12415,7 +12413,7 @@ Made in Italy` })));
12415
12413
  commodityPicture: {
12416
12414
  width: 100,
12417
12415
  height: 100,
12418
- marginRight: 10
12416
+ marginInlineEnd: 10
12419
12417
  },
12420
12418
  commodityStyles: {
12421
12419
  price: {
@@ -12661,7 +12659,7 @@ Made in Italy` })));
12661
12659
  type: 'Number',
12662
12660
  label: '与右侧边距',
12663
12661
  addonAfter: 'px',
12664
- name: ['props', 'ctaTempStyles', 'img', 'marginRight']
12662
+ name: ['props', 'ctaTempStyles', 'img', 'marginInlineEnd']
12665
12663
  },
12666
12664
  {
12667
12665
  label: '居中垂直偏移',
@@ -12922,12 +12920,11 @@ Made in Italy` })));
12922
12920
  borderRadius: 3,
12923
12921
  width: 60,
12924
12922
  height: 60,
12925
- marginRight: 8
12923
+ marginInlineEnd: 8
12926
12924
  },
12927
12925
  title: {
12928
12926
  fontSize: 12,
12929
- color: '#fff',
12930
- textAlign: 'left'
12927
+ color: '#fff'
12931
12928
  },
12932
12929
  ctaTitle: {
12933
12930
  fontSize: 10,
@@ -13005,12 +13002,11 @@ Made in Italy` })));
13005
13002
  borderRadius: 3,
13006
13003
  width: 30,
13007
13004
  height: 30,
13008
- marginRight: 8
13005
+ marginInlineEnd: 8
13009
13006
  },
13010
13007
  ctaTitle: {
13011
13008
  fontSize: 12,
13012
13009
  color: '#fff',
13013
- textAlign: 'left',
13014
13010
  width: 130,
13015
13011
  height: 20
13016
13012
  }
@@ -13146,6 +13142,27 @@ Made in Italy` })));
13146
13142
  }
13147
13143
  ];
13148
13144
 
13145
+ /*
13146
+ * @Author: binruan@chatlabs.com
13147
+ * @Date: 2024-08-09 16:59:38
13148
+ * @LastEditors: binruan@chatlabs.com
13149
+ * @LastEditTime: 2024-09-09 13:59:50
13150
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
13151
+ *
13152
+ */
13153
+ var interactionRender$a = [
13154
+ {
13155
+ title: '点击事件',
13156
+ child: [
13157
+ {
13158
+ type: 'link',
13159
+ name: 'onClick',
13160
+ hiddenUrl: true
13161
+ }
13162
+ ]
13163
+ }
13164
+ ];
13165
+
13149
13166
  var styles$8 = {"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};
13150
13167
 
13151
13168
  const Link$1 = (_a) => {
@@ -13173,27 +13190,6 @@ Made in Italy` })));
13173
13190
  };
13174
13191
  var LinkComponent = React.memo(Link$1);
13175
13192
 
13176
- /*
13177
- * @Author: binruan@chatlabs.com
13178
- * @Date: 2024-08-09 16:59:38
13179
- * @LastEditors: binruan@chatlabs.com
13180
- * @LastEditTime: 2024-09-09 13:59:50
13181
- * @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
13182
- *
13183
- */
13184
- var interactionRender$a = [
13185
- {
13186
- title: '点击事件',
13187
- child: [
13188
- {
13189
- type: 'link',
13190
- name: 'onClick',
13191
- hiddenUrl: true
13192
- }
13193
- ]
13194
- }
13195
- ];
13196
-
13197
13193
  var _a;
13198
13194
  const Link = createMaterial(LinkComponent, {
13199
13195
  displayName: '普通CTA',
@@ -13212,19 +13208,17 @@ Made in Italy` })));
13212
13208
  borderRadius: 3,
13213
13209
  width: 60,
13214
13210
  height: 60,
13215
- marginRight: 8
13211
+ marginInlineEnd: 8
13216
13212
  },
13217
13213
  ctaTitle: {
13218
13214
  fontSize: 12,
13219
13215
  color: '#fff',
13220
- textAlign: 'left',
13221
13216
  width: 130,
13222
13217
  height: 20
13223
13218
  }
13224
13219
  },
13225
13220
  customTitle: {
13226
13221
  style: {
13227
- textAlign: 'left',
13228
13222
  textDecoration: 'underline',
13229
13223
  fontWeight: 'bold',
13230
13224
  width: 130,
@@ -13314,12 +13308,11 @@ Made in Italy` })));
13314
13308
  borderRadius: 3,
13315
13309
  width: 60,
13316
13310
  height: 60,
13317
- marginRight: 8
13311
+ marginInlineEnd: 8
13318
13312
  },
13319
13313
  title: {
13320
13314
  fontSize: 12,
13321
- color: '#000',
13322
- textAlign: 'left'
13315
+ color: '#000'
13323
13316
  },
13324
13317
  ctaTitle: {
13325
13318
  fontSize: 10,
@@ -13410,19 +13403,17 @@ Made in Italy` })));
13410
13403
  borderRadius: 8,
13411
13404
  width: 78,
13412
13405
  height: 78,
13413
- marginRight: 16
13406
+ marginInlineEnd: 16
13414
13407
  },
13415
13408
  title: {
13416
13409
  fontSize: 13,
13417
- color: '#000',
13418
- textAlign: 'left'
13410
+ color: '#000'
13419
13411
  },
13420
13412
  ctaTitle: {
13421
13413
  textDecoration: 'underline',
13422
13414
  fontSize: 14,
13423
13415
  fontWeight: 'bold',
13424
13416
  color: '#000',
13425
- textAlign: 'left',
13426
13417
  width: 150,
13427
13418
  height: 20
13428
13419
  }
@@ -13464,7 +13455,7 @@ Made in Italy` })));
13464
13455
  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]);
13465
13456
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13466
13457
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
13467
- 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' },
13458
+ 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' },
13468
13459
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13469
13460
  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 }),
13470
13461
  React.createElement("div", { className: css.css({
@@ -13510,12 +13501,11 @@ Made in Italy` })));
13510
13501
  borderRadius: 3,
13511
13502
  width: 60,
13512
13503
  height: 60,
13513
- marginRight: 8
13504
+ marginInlineEnd: 8
13514
13505
  },
13515
13506
  title: {
13516
13507
  fontSize: 12,
13517
- color: '#000',
13518
- textAlign: 'left'
13508
+ color: '#000'
13519
13509
  },
13520
13510
  ctaTitle: {
13521
13511
  fontSize: 10,
@@ -13563,7 +13553,7 @@ Made in Italy` })));
13563
13553
  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]);
13564
13554
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13565
13555
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
13566
- 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' },
13556
+ 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' },
13567
13557
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13568
13558
  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 }),
13569
13559
  React.createElement("div", { className: css.css({
@@ -13609,12 +13599,11 @@ Made in Italy` })));
13609
13599
  borderRadius: 3,
13610
13600
  width: 60,
13611
13601
  height: 60,
13612
- marginRight: 8
13602
+ marginInlineEnd: 8
13613
13603
  },
13614
13604
  title: {
13615
13605
  fontSize: 12,
13616
13606
  color: '#fff',
13617
- textAlign: 'left'
13618
13607
  },
13619
13608
  ctaTitle: {
13620
13609
  fontSize: 10,
@@ -13670,7 +13659,7 @@ Made in Italy` })));
13670
13659
  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]);
13671
13660
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13672
13661
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
13673
- 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' },
13662
+ 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' },
13674
13663
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13675
13664
  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 }),
13676
13665
  React.createElement("div", { className: css.css({
@@ -13717,19 +13706,17 @@ Made in Italy` })));
13717
13706
  borderRadius: 8,
13718
13707
  width: 78,
13719
13708
  height: 78,
13720
- marginRight: 16
13709
+ marginInlineEnd: 16
13721
13710
  },
13722
13711
  title: {
13723
13712
  fontSize: 12,
13724
- color: '#000',
13725
- textAlign: 'left'
13713
+ color: '#000'
13726
13714
  },
13727
13715
  ctaTitle: {
13728
13716
  textDecoration: 'underline',
13729
13717
  fontSize: 12,
13730
13718
  fontWeight: 'bold',
13731
13719
  color: '#000',
13732
- textAlign: 'left',
13733
13720
  width: 150,
13734
13721
  height: 20
13735
13722
  }
@@ -13824,12 +13811,11 @@ Made in Italy` })));
13824
13811
  borderRadius: 3,
13825
13812
  width: 60,
13826
13813
  height: 60,
13827
- marginRight: 8
13814
+ marginInlineEnd: 8
13828
13815
  },
13829
13816
  title: {
13830
13817
  fontSize: 12,
13831
- color: '#fff',
13832
- textAlign: 'left'
13818
+ color: '#fff'
13833
13819
  },
13834
13820
  ctaTitle: {
13835
13821
  fontSize: 10,
@@ -16749,6 +16735,60 @@ Made in Italy` })));
16749
16735
  }
16750
16736
  ];
16751
16737
 
16738
+ /*
16739
+ * @Author: binruan@chatlabs.com
16740
+ * @Date: 2024-07-24 14:58:40
16741
+ * @LastEditors: binruan@chatlabs.com
16742
+ * @LastEditTime: 2024-09-09 13:54:35
16743
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
16744
+ *
16745
+ */
16746
+ var interactionRender$2 = [
16747
+ {
16748
+ title: '点击事件',
16749
+ child: [
16750
+ {
16751
+ type: 'link',
16752
+ name: 'onClick',
16753
+ hiddenUrl: true
16754
+ }
16755
+ ]
16756
+ },
16757
+ {
16758
+ title: '动画效果',
16759
+ child: [
16760
+ {
16761
+ type: 'Select',
16762
+ name: ['animation', 'name'],
16763
+ label: '动画',
16764
+ options: [
16765
+ {
16766
+ label: '默认',
16767
+ value: 1
16768
+ }
16769
+ ],
16770
+ fieldProps: {
16771
+ style: {
16772
+ width: '100%'
16773
+ }
16774
+ }
16775
+ },
16776
+ {
16777
+ type: 'Number',
16778
+ label: '动画启动时间',
16779
+ name: ['animation', 'delay'],
16780
+ addonAfter: 'ms'
16781
+ },
16782
+ {
16783
+ type: 'Number',
16784
+ label: '动画持续时间',
16785
+ name: ['animation', 'duration'],
16786
+ addonAfter: 'ms'
16787
+ }
16788
+ ]
16789
+ }
16790
+ ];
16791
+
16752
16792
  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"};
16753
16793
 
16754
16794
  const closeIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=';
@@ -16821,60 +16861,6 @@ Made in Italy` })));
16821
16861
  };
16822
16862
  var AniLinkPopupComponent = React.memo(AniLinkPopup$1);
16823
16863
 
16824
- /*
16825
- * @Author: binruan@chatlabs.com
16826
- * @Date: 2024-07-24 14:58:40
16827
- * @LastEditors: binruan@chatlabs.com
16828
- * @LastEditTime: 2024-09-09 13:54:35
16829
- * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
16830
- *
16831
- */
16832
- var interactionRender$2 = [
16833
- {
16834
- title: '点击事件',
16835
- child: [
16836
- {
16837
- type: 'link',
16838
- name: 'onClick',
16839
- hiddenUrl: true
16840
- }
16841
- ]
16842
- },
16843
- {
16844
- title: '动画效果',
16845
- child: [
16846
- {
16847
- type: 'Select',
16848
- name: ['animation', 'name'],
16849
- label: '动画',
16850
- options: [
16851
- {
16852
- label: '默认',
16853
- value: 1
16854
- }
16855
- ],
16856
- fieldProps: {
16857
- style: {
16858
- width: '100%'
16859
- }
16860
- }
16861
- },
16862
- {
16863
- type: 'Number',
16864
- label: '动画启动时间',
16865
- name: ['animation', 'delay'],
16866
- addonAfter: 'ms'
16867
- },
16868
- {
16869
- type: 'Number',
16870
- label: '动画持续时间',
16871
- name: ['animation', 'duration'],
16872
- addonAfter: 'ms'
16873
- }
16874
- ]
16875
- }
16876
- ];
16877
-
16878
16864
  /*
16879
16865
  * @Author: binruan@chatlabs.com
16880
16866
  * @Date: 2024-07-24 14:58:40
@@ -16913,7 +16899,6 @@ Made in Italy` })));
16913
16899
  title: {
16914
16900
  fontSize: 14,
16915
16901
  color: '#000',
16916
- textAlign: 'left',
16917
16902
  lineHeight: 2.6
16918
16903
  },
16919
16904
  ctaTitle: {
@@ -17142,7 +17127,7 @@ Made in Italy` })));
17142
17127
  React.createElement("span", { style: content === null || content === void 0 ? void 0 : content.style, dangerouslySetInnerHTML: {
17143
17128
  __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)
17144
17129
  } }),
17145
- React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginLeft: '5px' }), dangerouslySetInnerHTML: {
17130
+ React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginInlineStart: '5px' }), dangerouslySetInnerHTML: {
17146
17131
  __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)
17147
17132
  }, onClick: handleClick })),
17148
17133
  isShowClose && (React.createElement("button", { "aria-label": 'close', className: 'consentPopupDisplay-close', onClick: handleClickClose },
@@ -18842,10 +18827,22 @@ Made in Italy` })));
18842
18827
  * @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\RenderCard.tsx
18843
18828
  *
18844
18829
  */
18845
- const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive, value, isNineProduct }) => {
18830
+ const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive, isNineProduct }) => {
18831
+ var _a, _b, _c, _d, _e;
18846
18832
  const { schema } = useEditor();
18847
18833
  if (!(rec === null || rec === void 0 ? void 0 : rec.video))
18848
18834
  return null;
18835
+ let cta = null;
18836
+ 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) {
18837
+ cta = '多商品CTA';
18838
+ }
18839
+ else if ((_c = rec === null || rec === void 0 ? void 0 : rec.video) === null || _c === void 0 ? void 0 : _c.bindProduct) {
18840
+ cta = '商品CTA';
18841
+ }
18842
+ else {
18843
+ 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;
18844
+ }
18845
+ const value = tempMap === null || tempMap === void 0 ? void 0 : tempMap[cta];
18849
18846
  const renderComp = React.useMemo(() => {
18850
18847
  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;
18851
18848
  // 如果includesCtaType有值,则只渲染includesCtaType包含的cta类型组件,用于在页面某处只显示某一组件
@@ -18873,7 +18870,7 @@ Made in Italy` })));
18873
18870
  const sbf = style.backdropFilter;
18874
18871
  style.backdropFilter = `blur(${sbf !== null && sbf !== void 0 ? sbf : 0}px)`;
18875
18872
  }
18876
- 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 })));
18873
+ 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 })));
18877
18874
  }
18878
18875
  else {
18879
18876
  return null;
@@ -19297,17 +19294,17 @@ Made in Italy` })));
19297
19294
  index === ((rtcList === null || rtcList === void 0 ? void 0 : rtcList[0]) === 'organic menu' ? 2 : 1) &&
19298
19295
  ((_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));
19299
19296
  return (React.createElement(React.Fragment, null,
19300
- isNineProduct && (React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, value: value, isNineProduct: isNineProduct })),
19297
+ isNineProduct && (React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, isNineProduct: isNineProduct })),
19301
19298
  ((_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' }),
19302
19299
  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` } },
19303
19300
  React.createElement(Nudge, { nudge: nudge }),
19304
19301
  ((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' },
19305
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex, value: value }))) : null,
19302
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, isActive: index === activeIndex }))) : null,
19306
19303
  React.createElement("div", { style: { display: 'flex', flexDirection: 'column' } },
19307
19304
  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 }),
19308
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLink'], isActive: index === activeIndex, value: value }),
19305
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLink'], isActive: index === activeIndex }),
19309
19306
  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) }))),
19310
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex, value: value })));
19307
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: resolver, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex })));
19311
19308
  }
19312
19309
  return null;
19313
19310
  }, [
@@ -19941,7 +19938,7 @@ Made in Italy` })));
19941
19938
  const CTA = (rec, index) => {
19942
19939
  if ((globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA) === undefined || (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA)) {
19943
19940
  return (React.createElement("div", { className: 'clc-sxp-bottom-card' },
19944
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2 })));
19941
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2, isActive: true })));
19945
19942
  }
19946
19943
  return null;
19947
19944
  };
@@ -19954,8 +19951,10 @@ Made in Italy` })));
19954
19951
  React.createElement(Nudge, { nudge: nudge }),
19955
19952
  CTA(rec, index),
19956
19953
  React.createElement("div", null,
19957
- 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' }) })),
19958
- 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 }))));
19954
+ 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' }) }),
19955
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2, includesCtaType: ['AniLink'], isActive: true })),
19956
+ 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 })),
19957
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$2, includesCtaType: ['AniLinkPopup'], isActive: true })));
19959
19958
  }
19960
19959
  return null;
19961
19960
  };
@@ -20345,21 +20344,10 @@ Made in Italy` })));
20345
20344
  return null;
20346
20345
  }, [globalConfig]);
20347
20346
  const renderBottom = (rec, index) => {
20348
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
20347
+ var _a, _b, _c, _d;
20349
20348
  if (rec === null || rec === void 0 ? void 0 : rec.video) {
20350
- let cta = null;
20351
- 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) {
20352
- cta = '多商品CTA';
20353
- }
20354
- else if ((_c = rec === null || rec === void 0 ? void 0 : rec.video) === null || _c === void 0 ? void 0 : _c.bindProduct) {
20355
- cta = '商品CTA';
20356
- }
20357
- else {
20358
- 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;
20359
- }
20360
- const value = tempMap === null || tempMap === void 0 ? void 0 : tempMap[cta];
20361
20349
  return (React.createElement(React.Fragment, null,
20362
- ((_f = rec === null || rec === void 0 ? void 0 : rec.video) === null || _f === void 0 ? void 0 : _f.title) && (React.createElement("div", { style: {
20350
+ ((_a = rec === null || rec === void 0 ? void 0 : rec.video) === null || _a === void 0 ? void 0 : _a.title) && (React.createElement("div", { style: {
20363
20351
  background: 'repeating-linear-gradient(0deg, rgba(26, 26, 25, 0.7), hsla(0, 0%, 100%, 0))',
20364
20352
  height: '130px',
20365
20353
  position: 'absolute',
@@ -20370,7 +20358,7 @@ Made in Italy` })));
20370
20358
  pointerEvents
20371
20359
  } })),
20372
20360
  React.createElement("div", { style: {
20373
- marginBottom: `${(_g = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.bottomInfoDist) !== null && _g !== void 0 ? _g : 40}px`,
20361
+ marginBottom: `${(_b = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.bottomInfoDist) !== null && _b !== void 0 ? _b : 40}px`,
20374
20362
  zIndex: 999,
20375
20363
  position: 'absolute',
20376
20364
  bottom: 0,
@@ -20379,15 +20367,15 @@ Made in Italy` })));
20379
20367
  paddingTop: '20px'
20380
20368
  } },
20381
20369
  (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA) === undefined || (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.isShowCTA) ? (React.createElement("div", { style: {} },
20382
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, isActive: index === activeIndex, value: value }))) : null,
20370
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, isActive: index === activeIndex }))) : null,
20383
20371
  React.createElement("div", null,
20384
20372
  React.createElement(ExpandableText$1
20385
20373
  // className='clc-sxp-bottom-text'
20386
20374
  , {
20387
20375
  // className='clc-sxp-bottom-text'
20388
- 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' }) }),
20389
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLink'], isActive: index === activeIndex, value: value }))),
20390
- React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex, value: value })));
20376
+ 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' }) }),
20377
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLink'], isActive: index === activeIndex }))),
20378
+ React.createElement(RenderCard$1, { rec: rec, index: index, tempMap: tempMap, resolver: RESOLVER$1, includesCtaType: ['AniLinkPopup'], isActive: index === activeIndex })));
20391
20379
  }
20392
20380
  return null;
20393
20381
  };