pb-sxp-ui 1.17.0-alpha → 1.17.1

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 (58) hide show
  1. package/dist/index.cjs +147 -132
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.css +7 -15
  4. package/dist/index.js +147 -132
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.cjs +4 -4
  7. package/dist/index.min.cjs.map +1 -1
  8. package/dist/index.min.js +4 -4
  9. package/dist/index.min.js.map +1 -1
  10. package/dist/pb-ui.js +147 -132
  11. package/dist/pb-ui.js.map +1 -1
  12. package/dist/pb-ui.min.js +4 -4
  13. package/dist/pb-ui.min.js.map +1 -1
  14. package/es/core/components/SxpPageRender/ExpandableText.js +2 -2
  15. package/es/core/components/SxpPageRender/RenderCard.js +1 -1
  16. package/es/materials/sxp/consentPopup/Display/index.js +1 -1
  17. package/es/materials/sxp/cta/AniLinkPopup/material.js +3 -2
  18. package/es/materials/sxp/popup/CommodityDetail/material.js +2 -1
  19. package/es/materials/sxp/popup/CommodityList/index.js +5 -4
  20. package/es/materials/sxp/popup/CommodityList/material.js +1 -1
  21. package/es/materials/sxp/popup/CommodityList/settingRender.js +1 -1
  22. package/es/materials/sxp/template/Appoint/material.js +2 -1
  23. package/es/materials/sxp/template/Commodity/material.js +3 -2
  24. package/es/materials/sxp/template/CommodityDiro/material.js +3 -2
  25. package/es/materials/sxp/template/CommodityDiroNew/material.js +4 -2
  26. package/es/materials/sxp/template/Link/material.js +4 -2
  27. package/es/materials/sxp/template/MultiCommodity/index.js +1 -1
  28. package/es/materials/sxp/template/MultiCommodity/material.js +2 -1
  29. package/es/materials/sxp/template/MultiCommodityDiro/index.js +1 -1
  30. package/es/materials/sxp/template/MultiCommodityDiro/material.js +3 -2
  31. package/es/materials/sxp/template/MultiCommodityDiroNew/index.js +1 -1
  32. package/es/materials/sxp/template/MultiCommodityDiroNew/material.js +4 -2
  33. package/es/materials/sxp/template/NineCommodity/material.js +3 -2
  34. package/es/materials/sxp/template/components/CommodityGroup.js +1 -1
  35. package/es/materials/sxp/template/components/settingRender.js +1 -1
  36. package/lib/core/components/SxpPageRender/ExpandableText.js +2 -2
  37. package/lib/core/components/SxpPageRender/RenderCard.js +1 -1
  38. package/lib/materials/sxp/consentPopup/Display/index.js +1 -1
  39. package/lib/materials/sxp/cta/AniLinkPopup/material.js +2 -1
  40. package/lib/materials/sxp/popup/CommodityDetail/material.js +2 -1
  41. package/lib/materials/sxp/popup/CommodityList/index.js +5 -4
  42. package/lib/materials/sxp/popup/CommodityList/material.js +1 -1
  43. package/lib/materials/sxp/popup/CommodityList/settingRender.js +1 -1
  44. package/lib/materials/sxp/template/Appoint/material.js +2 -1
  45. package/lib/materials/sxp/template/Commodity/material.js +3 -2
  46. package/lib/materials/sxp/template/CommodityDiro/material.js +3 -2
  47. package/lib/materials/sxp/template/CommodityDiroNew/material.js +4 -2
  48. package/lib/materials/sxp/template/Link/material.js +4 -2
  49. package/lib/materials/sxp/template/MultiCommodity/index.js +1 -1
  50. package/lib/materials/sxp/template/MultiCommodity/material.js +2 -1
  51. package/lib/materials/sxp/template/MultiCommodityDiro/index.js +1 -1
  52. package/lib/materials/sxp/template/MultiCommodityDiro/material.js +3 -2
  53. package/lib/materials/sxp/template/MultiCommodityDiroNew/index.js +1 -1
  54. package/lib/materials/sxp/template/MultiCommodityDiroNew/material.js +4 -2
  55. package/lib/materials/sxp/template/NineCommodity/material.js +3 -2
  56. package/lib/materials/sxp/template/components/CommodityGroup.js +1 -1
  57. package/lib/materials/sxp/template/components/settingRender.js +1 -1
  58. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -2639,35 +2639,6 @@ var settingRender$e = [
2639
2639
  }
2640
2640
  ];
2641
2641
 
2642
- /*
2643
- * @Author: binruan@chatlabs.com
2644
- * @Date: 2024-07-09 14:35:10
2645
- * @LastEditors: binruan@chatlabs.com
2646
- * @LastEditTime: 2024-07-12 17:53:02
2647
- * @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
2648
- *
2649
- */
2650
- /*
2651
- * @Author: binruan@chatlabs.com
2652
- * @Date: 2024-07-05 14:08:41
2653
- * @LastEditors: binruan@chatlabs.com
2654
- * @LastEditTime: 2024-07-09 14:34:49
2655
- * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
2656
- *
2657
- */
2658
- var interactionRender$g = [
2659
- {
2660
- title: '滑动事件',
2661
- child: [
2662
- {
2663
- type: 'Switch',
2664
- label: '滑动铺满全屏',
2665
- name: ['isScrollFullScreen']
2666
- }
2667
- ]
2668
- }
2669
- ];
2670
-
2671
2642
  /**
2672
2643
  * SSR Window 4.0.2
2673
2644
  * Better handling for window object in SSR environment
@@ -10246,7 +10217,7 @@ const CommodityGroup = ({ products, data, defImg, style, onCLick, popupDetailDat
10246
10217
  return (React.createElement(React.Fragment, null, (item === null || item === void 0 ? void 0 : item.bindCta) ? (React.createElement(SwiperSlide, { className: css.css({
10247
10218
  width: '50px',
10248
10219
  height: '50px',
10249
- marginInlineStart: '10px'
10220
+ marginRight: '10px'
10250
10221
  }), onClick: () => {
10251
10222
  handleClick(item, index);
10252
10223
  }, key: index },
@@ -10500,7 +10471,7 @@ const ExpandableText = ({ text, maxStr = 108, style, className, onClick, foldTex
10500
10471
  display: '-webkit-box',
10501
10472
  WebkitBoxOrient: 'vertical'
10502
10473
  })), { wordBreak: 'break-word', textRendering: 'geometricPrecision', fontKerning: 'none', textSizeAdjust: '100%', boxSizing: 'border-box', contain: 'content' }), dangerouslySetInnerHTML: { __html: setFontForText(text === null || text === void 0 ? void 0 : text.replace(/\n/g, '</br>'), textStyle) } }),
10503
- React.createElement("div", { ref: realRef, style: {
10474
+ isPost && (React.createElement("div", { ref: realRef, style: {
10504
10475
  wordBreak: 'break-word',
10505
10476
  textRendering: 'geometricPrecision',
10506
10477
  fontKerning: 'none',
@@ -10512,7 +10483,7 @@ const ExpandableText = ({ text, maxStr = 108, style, className, onClick, foldTex
10512
10483
  clipPath: 'inset(100%)',
10513
10484
  transform: 'translateX(-9999px)'
10514
10485
  // position: 'absolute'
10515
- }, dangerouslySetInnerHTML: { __html: setFontForText(text === null || text === void 0 ? void 0 : text.replace(/\n/g, '</br>'), textStyle) } }),
10486
+ }, dangerouslySetInnerHTML: { __html: setFontForText(text === null || text === void 0 ? void 0 : text.replace(/\n/g, '</br>'), textStyle) } })),
10516
10487
  text && isPost && isShow && (React.createElement("button", { "aria-label": isShowMore ? unfoldText || 'show less' : foldText || 'show more', style: { textDecoration: 'underline', cursor: 'pointer' }, onClick: onClick !== null && onClick !== void 0 ? onClick : handleClick, dangerouslySetInnerHTML: {
10517
10488
  __html: setFontForText(isShowMore ? unfoldText || 'show less' : foldText || 'show more', textStyle)
10518
10489
  } }))));
@@ -10845,6 +10816,35 @@ const CommodityDetail$1 = (_a) => {
10845
10816
  };
10846
10817
  var CommodityDetailComponent = React.memo(CommodityDetail$1);
10847
10818
 
10819
+ /*
10820
+ * @Author: binruan@chatlabs.com
10821
+ * @Date: 2024-07-09 14:35:10
10822
+ * @LastEditors: binruan@chatlabs.com
10823
+ * @LastEditTime: 2024-07-12 17:53:02
10824
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
10825
+ *
10826
+ */
10827
+ /*
10828
+ * @Author: binruan@chatlabs.com
10829
+ * @Date: 2024-07-05 14:08:41
10830
+ * @LastEditors: binruan@chatlabs.com
10831
+ * @LastEditTime: 2024-07-09 14:34:49
10832
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
10833
+ *
10834
+ */
10835
+ var interactionRender$g = [
10836
+ {
10837
+ title: '滑动事件',
10838
+ child: [
10839
+ {
10840
+ type: 'Switch',
10841
+ label: '滑动铺满全屏',
10842
+ name: ['isScrollFullScreen']
10843
+ }
10844
+ ]
10845
+ }
10846
+ ];
10847
+
10848
10848
  /*
10849
10849
  * @Author: binruan@chatlabs.com
10850
10850
  * @Date: 2023-07-28 18:29:57
@@ -10891,6 +10891,7 @@ const CommodityDetail = createMaterial(CommodityDetailComponent, {
10891
10891
  taxInfo: {
10892
10892
  color: '#000',
10893
10893
  fontSize: 13,
10894
+ textAlign: 'left',
10894
10895
  marginBottom: '10px'
10895
10896
  }
10896
10897
  },
@@ -11982,7 +11983,7 @@ var settingRender$b = [
11982
11983
  type: 'Number',
11983
11984
  label: '与右侧边距',
11984
11985
  addonAfter: 'px',
11985
- name: ['props', 'commodityPicture', 'marginInlineStart']
11986
+ name: ['props', 'commodityPicture', 'marginRight']
11986
11987
  },
11987
11988
  {
11988
11989
  label: '居中垂直偏移',
@@ -12268,11 +12269,12 @@ const CommodityList$1 = (_a) => {
12268
12269
  React.createElement("button", Object.assign({ role: 'button', "aria-label": item === null || item === void 0 ? void 0 : item.title, tabIndex: 0, className: css.css({
12269
12270
  display: 'flex',
12270
12271
  alignItems: 'normal',
12271
- width: '100%'
12272
+ width: '100%',
12273
+ textAlign: 'left'
12272
12274
  }) }, props),
12273
12275
  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 }),
12274
12276
  React.createElement("div", { style: {
12275
- 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.marginInlineStart) !== null && _f !== void 0 ? _f : 0}px)`,
12277
+ 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)`,
12276
12278
  display: 'flex',
12277
12279
  flexDirection: 'column',
12278
12280
  justifyContent: 'space-between'
@@ -12353,7 +12355,7 @@ const CommodityList = createMaterial(CommodityListComponent, {
12353
12355
  commodityPicture: {
12354
12356
  width: 100,
12355
12357
  height: 100,
12356
- marginInlineStart: 10
12358
+ marginRight: 10
12357
12359
  },
12358
12360
  commodityStyles: {
12359
12361
  price: {
@@ -12599,7 +12601,7 @@ var settingRender$8 = [
12599
12601
  type: 'Number',
12600
12602
  label: '与右侧边距',
12601
12603
  addonAfter: 'px',
12602
- name: ['props', 'ctaTempStyles', 'img', 'marginInlineStart']
12604
+ name: ['props', 'ctaTempStyles', 'img', 'marginRight']
12603
12605
  },
12604
12606
  {
12605
12607
  label: '居中垂直偏移',
@@ -12860,11 +12862,12 @@ const Commodity = createMaterial(CommodityComponent, {
12860
12862
  borderRadius: 3,
12861
12863
  width: 60,
12862
12864
  height: 60,
12863
- marginInlineStart: 8
12865
+ marginRight: 8
12864
12866
  },
12865
12867
  title: {
12866
12868
  fontSize: 12,
12867
- color: '#fff'
12869
+ color: '#fff',
12870
+ textAlign: 'left'
12868
12871
  },
12869
12872
  ctaTitle: {
12870
12873
  fontSize: 10,
@@ -12942,11 +12945,12 @@ const Appoint = createMaterial(AppointComponent, {
12942
12945
  borderRadius: 3,
12943
12946
  width: 30,
12944
12947
  height: 30,
12945
- marginInlineStart: 8
12948
+ marginRight: 8
12946
12949
  },
12947
12950
  ctaTitle: {
12948
12951
  fontSize: 12,
12949
12952
  color: '#fff',
12953
+ textAlign: 'left',
12950
12954
  width: 130,
12951
12955
  height: 20
12952
12956
  }
@@ -13082,27 +13086,6 @@ var linkSettingRender = [
13082
13086
  }
13083
13087
  ];
13084
13088
 
13085
- /*
13086
- * @Author: binruan@chatlabs.com
13087
- * @Date: 2024-08-09 16:59:38
13088
- * @LastEditors: binruan@chatlabs.com
13089
- * @LastEditTime: 2024-09-09 13:59:50
13090
- * @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
13091
- *
13092
- */
13093
- var interactionRender$a = [
13094
- {
13095
- title: '点击事件',
13096
- child: [
13097
- {
13098
- type: 'link',
13099
- name: 'onClick',
13100
- hiddenUrl: true
13101
- }
13102
- ]
13103
- }
13104
- ];
13105
-
13106
13089
  var styles$8 = {"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};
13107
13090
 
13108
13091
  const Link$1 = (_a) => {
@@ -13130,6 +13113,27 @@ const Link$1 = (_a) => {
13130
13113
  };
13131
13114
  var LinkComponent = React.memo(Link$1);
13132
13115
 
13116
+ /*
13117
+ * @Author: binruan@chatlabs.com
13118
+ * @Date: 2024-08-09 16:59:38
13119
+ * @LastEditors: binruan@chatlabs.com
13120
+ * @LastEditTime: 2024-09-09 13:59:50
13121
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
13122
+ *
13123
+ */
13124
+ var interactionRender$a = [
13125
+ {
13126
+ title: '点击事件',
13127
+ child: [
13128
+ {
13129
+ type: 'link',
13130
+ name: 'onClick',
13131
+ hiddenUrl: true
13132
+ }
13133
+ ]
13134
+ }
13135
+ ];
13136
+
13133
13137
  var _a;
13134
13138
  const Link = createMaterial(LinkComponent, {
13135
13139
  displayName: '普通CTA',
@@ -13148,17 +13152,19 @@ const Link = createMaterial(LinkComponent, {
13148
13152
  borderRadius: 3,
13149
13153
  width: 60,
13150
13154
  height: 60,
13151
- marginInlineStart: 8
13155
+ marginRight: 8
13152
13156
  },
13153
13157
  ctaTitle: {
13154
13158
  fontSize: 12,
13155
13159
  color: '#fff',
13160
+ textAlign: 'left',
13156
13161
  width: 130,
13157
13162
  height: 20
13158
13163
  }
13159
13164
  },
13160
13165
  customTitle: {
13161
13166
  style: {
13167
+ textAlign: 'left',
13162
13168
  textDecoration: 'underline',
13163
13169
  fontWeight: 'bold',
13164
13170
  width: 130,
@@ -13248,11 +13254,12 @@ const CommodityDiro = createMaterial(CommodityDiroComponent, {
13248
13254
  borderRadius: 3,
13249
13255
  width: 60,
13250
13256
  height: 60,
13251
- marginInlineStart: 8
13257
+ marginRight: 8
13252
13258
  },
13253
13259
  title: {
13254
13260
  fontSize: 12,
13255
- color: '#000'
13261
+ color: '#000',
13262
+ textAlign: 'left'
13256
13263
  },
13257
13264
  ctaTitle: {
13258
13265
  fontSize: 10,
@@ -13343,17 +13350,19 @@ const CommodityDiroNew = createMaterial(CommodityDiroNewComponent, {
13343
13350
  borderRadius: 8,
13344
13351
  width: 78,
13345
13352
  height: 78,
13346
- marginInlineStart: 16
13353
+ marginRight: 16
13347
13354
  },
13348
13355
  title: {
13349
13356
  fontSize: 13,
13350
- color: '#000'
13357
+ color: '#000',
13358
+ textAlign: 'left'
13351
13359
  },
13352
13360
  ctaTitle: {
13353
13361
  textDecoration: 'underline',
13354
13362
  fontSize: 14,
13355
13363
  fontWeight: 'bold',
13356
13364
  color: '#000',
13365
+ textAlign: 'left',
13357
13366
  width: 150,
13358
13367
  height: 20
13359
13368
  }
@@ -13395,7 +13404,7 @@ const MultiCommodityDiro$1 = (_a) => {
13395
13404
  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]);
13396
13405
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13397
13406
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
13398
- 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, marginInlineEnd: 0, marginInlineStart: '8px' })), tag: 'li', role: 'listitem' },
13407
+ 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' },
13399
13408
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13400
13409
  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 }),
13401
13410
  React.createElement("div", { className: css.css({
@@ -13441,11 +13450,12 @@ const MultiCommodityDiro = createMaterial(MultiCommodityDiroComponent, {
13441
13450
  borderRadius: 3,
13442
13451
  width: 60,
13443
13452
  height: 60,
13444
- marginInlineStart: 8
13453
+ marginRight: 8
13445
13454
  },
13446
13455
  title: {
13447
13456
  fontSize: 12,
13448
- color: '#000'
13457
+ color: '#000',
13458
+ textAlign: 'left'
13449
13459
  },
13450
13460
  ctaTitle: {
13451
13461
  fontSize: 10,
@@ -13493,7 +13503,7 @@ const MultiCommodity$1 = (_a) => {
13493
13503
  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]);
13494
13504
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13495
13505
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
13496
- 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, marginInlineEnd: 0, marginInlineStart: '8px' })), tag: 'li', role: 'listitem' },
13506
+ 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' },
13497
13507
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13498
13508
  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 }),
13499
13509
  React.createElement("div", { className: css.css({
@@ -13539,11 +13549,12 @@ const MultiCommodity = createMaterial(MultiCommodityComponent, {
13539
13549
  borderRadius: 3,
13540
13550
  width: 60,
13541
13551
  height: 60,
13542
- marginInlineStart: 8
13552
+ marginRight: 8
13543
13553
  },
13544
13554
  title: {
13545
13555
  fontSize: 12,
13546
13556
  color: '#fff',
13557
+ textAlign: 'left'
13547
13558
  },
13548
13559
  ctaTitle: {
13549
13560
  fontSize: 10,
@@ -13599,7 +13610,7 @@ const MultiCommodityDiroNew$1 = (_a) => {
13599
13610
  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]);
13600
13611
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13601
13612
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
13602
- 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, marginInlineEnd: 0, marginInlineStart: '8px' })), tag: 'li', role: 'listitem' },
13613
+ 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' },
13603
13614
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13604
13615
  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 }),
13605
13616
  React.createElement("div", { className: css.css({
@@ -13646,17 +13657,19 @@ const MultiCommodityDiroNew = createMaterial(MultiCommodityDiroNewComponent, {
13646
13657
  borderRadius: 8,
13647
13658
  width: 78,
13648
13659
  height: 78,
13649
- marginInlineStart: 16
13660
+ marginRight: 16
13650
13661
  },
13651
13662
  title: {
13652
13663
  fontSize: 12,
13653
- color: '#000'
13664
+ color: '#000',
13665
+ textAlign: 'left'
13654
13666
  },
13655
13667
  ctaTitle: {
13656
13668
  textDecoration: 'underline',
13657
13669
  fontSize: 12,
13658
13670
  fontWeight: 'bold',
13659
13671
  color: '#000',
13672
+ textAlign: 'left',
13660
13673
  width: 150,
13661
13674
  height: 20
13662
13675
  }
@@ -13751,11 +13764,12 @@ const NineCommodity = createMaterial(NineCommodityComponent, {
13751
13764
  borderRadius: 3,
13752
13765
  width: 60,
13753
13766
  height: 60,
13754
- marginInlineStart: 8
13767
+ marginRight: 8
13755
13768
  },
13756
13769
  title: {
13757
13770
  fontSize: 12,
13758
- color: '#fff'
13771
+ color: '#fff',
13772
+ textAlign: 'left'
13759
13773
  },
13760
13774
  ctaTitle: {
13761
13775
  fontSize: 10,
@@ -16675,60 +16689,6 @@ var settingRender$4 = [
16675
16689
  }
16676
16690
  ];
16677
16691
 
16678
- /*
16679
- * @Author: binruan@chatlabs.com
16680
- * @Date: 2024-07-24 14:58:40
16681
- * @LastEditors: binruan@chatlabs.com
16682
- * @LastEditTime: 2024-09-09 13:54:35
16683
- * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
16684
- *
16685
- */
16686
- var interactionRender$2 = [
16687
- {
16688
- title: '点击事件',
16689
- child: [
16690
- {
16691
- type: 'link',
16692
- name: 'onClick',
16693
- hiddenUrl: true
16694
- }
16695
- ]
16696
- },
16697
- {
16698
- title: '动画效果',
16699
- child: [
16700
- {
16701
- type: 'Select',
16702
- name: ['animation', 'name'],
16703
- label: '动画',
16704
- options: [
16705
- {
16706
- label: '默认',
16707
- value: 1
16708
- }
16709
- ],
16710
- fieldProps: {
16711
- style: {
16712
- width: '100%'
16713
- }
16714
- }
16715
- },
16716
- {
16717
- type: 'Number',
16718
- label: '动画启动时间',
16719
- name: ['animation', 'delay'],
16720
- addonAfter: 'ms'
16721
- },
16722
- {
16723
- type: 'Number',
16724
- label: '动画持续时间',
16725
- name: ['animation', 'duration'],
16726
- addonAfter: 'ms'
16727
- }
16728
- ]
16729
- }
16730
- ];
16731
-
16732
16692
  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"};
16733
16693
 
16734
16694
  const closeIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=';
@@ -16801,6 +16761,60 @@ const AniLinkPopup$1 = (_a) => {
16801
16761
  };
16802
16762
  var AniLinkPopupComponent = React.memo(AniLinkPopup$1);
16803
16763
 
16764
+ /*
16765
+ * @Author: binruan@chatlabs.com
16766
+ * @Date: 2024-07-24 14:58:40
16767
+ * @LastEditors: binruan@chatlabs.com
16768
+ * @LastEditTime: 2024-09-09 13:54:35
16769
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
16770
+ *
16771
+ */
16772
+ var interactionRender$2 = [
16773
+ {
16774
+ title: '点击事件',
16775
+ child: [
16776
+ {
16777
+ type: 'link',
16778
+ name: 'onClick',
16779
+ hiddenUrl: true
16780
+ }
16781
+ ]
16782
+ },
16783
+ {
16784
+ title: '动画效果',
16785
+ child: [
16786
+ {
16787
+ type: 'Select',
16788
+ name: ['animation', 'name'],
16789
+ label: '动画',
16790
+ options: [
16791
+ {
16792
+ label: '默认',
16793
+ value: 1
16794
+ }
16795
+ ],
16796
+ fieldProps: {
16797
+ style: {
16798
+ width: '100%'
16799
+ }
16800
+ }
16801
+ },
16802
+ {
16803
+ type: 'Number',
16804
+ label: '动画启动时间',
16805
+ name: ['animation', 'delay'],
16806
+ addonAfter: 'ms'
16807
+ },
16808
+ {
16809
+ type: 'Number',
16810
+ label: '动画持续时间',
16811
+ name: ['animation', 'duration'],
16812
+ addonAfter: 'ms'
16813
+ }
16814
+ ]
16815
+ }
16816
+ ];
16817
+
16804
16818
  /*
16805
16819
  * @Author: binruan@chatlabs.com
16806
16820
  * @Date: 2024-07-24 14:58:40
@@ -16839,6 +16853,7 @@ const AniLinkPopup = createMaterial(AniLinkPopupComponent, {
16839
16853
  title: {
16840
16854
  fontSize: 14,
16841
16855
  color: '#000',
16856
+ textAlign: 'left',
16842
16857
  lineHeight: 2.6
16843
16858
  },
16844
16859
  ctaTitle: {
@@ -17067,7 +17082,7 @@ const Display$1 = (_a) => {
17067
17082
  React.createElement("span", { style: content === null || content === void 0 ? void 0 : content.style, dangerouslySetInnerHTML: {
17068
17083
  __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)
17069
17084
  } }),
17070
- React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginInlineEnd: '5px' }), dangerouslySetInnerHTML: {
17085
+ React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginLeft: '5px' }), dangerouslySetInnerHTML: {
17071
17086
  __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)
17072
17087
  }, onClick: handleClick })),
17073
17088
  isShowClose && (React.createElement("button", { "aria-label": 'close', className: 'consentPopupDisplay-close', onClick: handleClickClose },
@@ -18798,7 +18813,7 @@ const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive,
18798
18813
  const sbf = style.backdropFilter;
18799
18814
  style.backdropFilter = `blur(${sbf !== null && sbf !== void 0 ? sbf : 0}px)`;
18800
18815
  }
18801
- 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, marginInlineEnd: '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 })));
18816
+ 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 })));
18802
18817
  }
18803
18818
  else {
18804
18819
  return null;