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.css CHANGED
@@ -33,7 +33,6 @@ button {
33
33
  /* 鼠标指针样式为手型 */
34
34
  outline: none;
35
35
  /* 去除点击时的外边框 */
36
- text-align: initial;
37
36
  }
38
37
 
39
38
  a {
@@ -98,8 +97,7 @@ a:active {
98
97
  .pb-appoint-form-container-label {
99
98
  font-size: 14px;
100
99
  display: block;
101
- -webkit-margin-start: 10px;
102
- margin-inline-start: 10px;
100
+ margin-right: 10px;
103
101
  line-height: 35px;
104
102
  -webkit-flex-shrink: 0;
105
103
  -ms-flex-negative: 0;
@@ -618,8 +616,7 @@ a:active {
618
616
  -webkit-flex-shrink: 0;
619
617
  -ms-flex-negative: 0;
620
618
  flex-shrink: 0;
621
- -webkit-margin-end: 35px;
622
- margin-inline-end: 35px;
619
+ margin-left: 35px;
623
620
  }
624
621
  .pb-commondityDiroNew-content-top-right-price {
625
622
  font-size: 13px;
@@ -707,8 +704,7 @@ a:active {
707
704
  -webkit-flex-shrink: 0;
708
705
  -ms-flex-negative: 0;
709
706
  flex-shrink: 0;
710
- -webkit-margin-end: 35px;
711
- margin-inline-end: 35px;
707
+ margin-left: 35px;
712
708
  }
713
709
  .pb-commondityDiroNew-content-top-right-price {
714
710
  font-size: 13px;
@@ -1565,8 +1561,7 @@ a:active {
1565
1561
  -webkit-flex-shrink: 0;
1566
1562
  -ms-flex-negative: 0;
1567
1563
  flex-shrink: 0;
1568
- -webkit-margin-end: 10px;
1569
- margin-inline-end: 10px;
1564
+ margin-left: 10px;
1570
1565
  }
1571
1566
  .consentPopupDisplay-close img {
1572
1567
  width: 100%;
@@ -1648,8 +1643,7 @@ a:active {
1648
1643
  -webkit-flex-shrink: 0;
1649
1644
  -ms-flex-negative: 0;
1650
1645
  flex-shrink: 0;
1651
- -webkit-margin-end: 10px;
1652
- margin-inline-end: 10px;
1646
+ margin-left: 10px;
1653
1647
  position: absolute;
1654
1648
  right: 14px;
1655
1649
  top: 14px;
@@ -2360,8 +2354,7 @@ button.swiper-pagination-bullet {
2360
2354
  -webkit-box-sizing: border-box;
2361
2355
  box-sizing: border-box;
2362
2356
  gap: 6px;
2363
- -webkit-margin-end: 20px;
2364
- margin-inline-end: 20px;
2357
+ margin-left: 20px;
2365
2358
  -webkit-transform: translate3d(0px, 0px, 0px);
2366
2359
  transform: translate3d(0px, 0px, 0px);
2367
2360
  }
@@ -2371,8 +2364,7 @@ button.swiper-pagination-bullet {
2371
2364
  }
2372
2365
  .clc-sxp-bottom-hashtag-item {
2373
2366
  width: auto;
2374
- -webkit-margin-start: 8px;
2375
- margin-inline-start: 8px;
2367
+ margin-right: 8px;
2376
2368
  cursor: pointer;
2377
2369
  border: none;
2378
2370
  font-family: inherit;
package/dist/index.js CHANGED
@@ -2617,35 +2617,6 @@ var settingRender$e = [
2617
2617
  }
2618
2618
  ];
2619
2619
 
2620
- /*
2621
- * @Author: binruan@chatlabs.com
2622
- * @Date: 2024-07-09 14:35:10
2623
- * @LastEditors: binruan@chatlabs.com
2624
- * @LastEditTime: 2024-07-12 17:53:02
2625
- * @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
2626
- *
2627
- */
2628
- /*
2629
- * @Author: binruan@chatlabs.com
2630
- * @Date: 2024-07-05 14:08:41
2631
- * @LastEditors: binruan@chatlabs.com
2632
- * @LastEditTime: 2024-07-09 14:34:49
2633
- * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
2634
- *
2635
- */
2636
- var interactionRender$g = [
2637
- {
2638
- title: '滑动事件',
2639
- child: [
2640
- {
2641
- type: 'Switch',
2642
- label: '滑动铺满全屏',
2643
- name: ['isScrollFullScreen']
2644
- }
2645
- ]
2646
- }
2647
- ];
2648
-
2649
2620
  /**
2650
2621
  * SSR Window 4.0.2
2651
2622
  * Better handling for window object in SSR environment
@@ -10224,7 +10195,7 @@ const CommodityGroup = ({ products, data, defImg, style, onCLick, popupDetailDat
10224
10195
  return (React.createElement(React.Fragment, null, (item === null || item === void 0 ? void 0 : item.bindCta) ? (React.createElement(SwiperSlide, { className: css({
10225
10196
  width: '50px',
10226
10197
  height: '50px',
10227
- marginInlineStart: '10px'
10198
+ marginRight: '10px'
10228
10199
  }), onClick: () => {
10229
10200
  handleClick(item, index);
10230
10201
  }, key: index },
@@ -10478,7 +10449,7 @@ const ExpandableText = ({ text, maxStr = 108, style, className, onClick, foldTex
10478
10449
  display: '-webkit-box',
10479
10450
  WebkitBoxOrient: 'vertical'
10480
10451
  })), { 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) } }),
10481
- React.createElement("div", { ref: realRef, style: {
10452
+ isPost && (React.createElement("div", { ref: realRef, style: {
10482
10453
  wordBreak: 'break-word',
10483
10454
  textRendering: 'geometricPrecision',
10484
10455
  fontKerning: 'none',
@@ -10490,7 +10461,7 @@ const ExpandableText = ({ text, maxStr = 108, style, className, onClick, foldTex
10490
10461
  clipPath: 'inset(100%)',
10491
10462
  transform: 'translateX(-9999px)'
10492
10463
  // position: 'absolute'
10493
- }, dangerouslySetInnerHTML: { __html: setFontForText(text === null || text === void 0 ? void 0 : text.replace(/\n/g, '</br>'), textStyle) } }),
10464
+ }, dangerouslySetInnerHTML: { __html: setFontForText(text === null || text === void 0 ? void 0 : text.replace(/\n/g, '</br>'), textStyle) } })),
10494
10465
  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: {
10495
10466
  __html: setFontForText(isShowMore ? unfoldText || 'show less' : foldText || 'show more', textStyle)
10496
10467
  } }))));
@@ -10823,6 +10794,35 @@ const CommodityDetail$1 = (_a) => {
10823
10794
  };
10824
10795
  var CommodityDetailComponent = memo(CommodityDetail$1);
10825
10796
 
10797
+ /*
10798
+ * @Author: binruan@chatlabs.com
10799
+ * @Date: 2024-07-09 14:35:10
10800
+ * @LastEditors: binruan@chatlabs.com
10801
+ * @LastEditTime: 2024-07-12 17:53:02
10802
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
10803
+ *
10804
+ */
10805
+ /*
10806
+ * @Author: binruan@chatlabs.com
10807
+ * @Date: 2024-07-05 14:08:41
10808
+ * @LastEditors: binruan@chatlabs.com
10809
+ * @LastEditTime: 2024-07-09 14:34:49
10810
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
10811
+ *
10812
+ */
10813
+ var interactionRender$g = [
10814
+ {
10815
+ title: '滑动事件',
10816
+ child: [
10817
+ {
10818
+ type: 'Switch',
10819
+ label: '滑动铺满全屏',
10820
+ name: ['isScrollFullScreen']
10821
+ }
10822
+ ]
10823
+ }
10824
+ ];
10825
+
10826
10826
  /*
10827
10827
  * @Author: binruan@chatlabs.com
10828
10828
  * @Date: 2023-07-28 18:29:57
@@ -10869,6 +10869,7 @@ const CommodityDetail = createMaterial(CommodityDetailComponent, {
10869
10869
  taxInfo: {
10870
10870
  color: '#000',
10871
10871
  fontSize: 13,
10872
+ textAlign: 'left',
10872
10873
  marginBottom: '10px'
10873
10874
  }
10874
10875
  },
@@ -11960,7 +11961,7 @@ var settingRender$b = [
11960
11961
  type: 'Number',
11961
11962
  label: '与右侧边距',
11962
11963
  addonAfter: 'px',
11963
- name: ['props', 'commodityPicture', 'marginInlineStart']
11964
+ name: ['props', 'commodityPicture', 'marginRight']
11964
11965
  },
11965
11966
  {
11966
11967
  label: '居中垂直偏移',
@@ -12246,11 +12247,12 @@ const CommodityList$1 = (_a) => {
12246
12247
  React.createElement("button", Object.assign({ role: 'button', "aria-label": item === null || item === void 0 ? void 0 : item.title, tabIndex: 0, className: css({
12247
12248
  display: 'flex',
12248
12249
  alignItems: 'normal',
12249
- width: '100%'
12250
+ width: '100%',
12251
+ textAlign: 'left'
12250
12252
  }) }, props),
12251
12253
  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 }),
12252
12254
  React.createElement("div", { style: {
12253
- 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)`,
12255
+ 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)`,
12254
12256
  display: 'flex',
12255
12257
  flexDirection: 'column',
12256
12258
  justifyContent: 'space-between'
@@ -12331,7 +12333,7 @@ const CommodityList = createMaterial(CommodityListComponent, {
12331
12333
  commodityPicture: {
12332
12334
  width: 100,
12333
12335
  height: 100,
12334
- marginInlineStart: 10
12336
+ marginRight: 10
12335
12337
  },
12336
12338
  commodityStyles: {
12337
12339
  price: {
@@ -12577,7 +12579,7 @@ var settingRender$8 = [
12577
12579
  type: 'Number',
12578
12580
  label: '与右侧边距',
12579
12581
  addonAfter: 'px',
12580
- name: ['props', 'ctaTempStyles', 'img', 'marginInlineStart']
12582
+ name: ['props', 'ctaTempStyles', 'img', 'marginRight']
12581
12583
  },
12582
12584
  {
12583
12585
  label: '居中垂直偏移',
@@ -12838,11 +12840,12 @@ const Commodity = createMaterial(CommodityComponent, {
12838
12840
  borderRadius: 3,
12839
12841
  width: 60,
12840
12842
  height: 60,
12841
- marginInlineStart: 8
12843
+ marginRight: 8
12842
12844
  },
12843
12845
  title: {
12844
12846
  fontSize: 12,
12845
- color: '#fff'
12847
+ color: '#fff',
12848
+ textAlign: 'left'
12846
12849
  },
12847
12850
  ctaTitle: {
12848
12851
  fontSize: 10,
@@ -12920,11 +12923,12 @@ const Appoint = createMaterial(AppointComponent, {
12920
12923
  borderRadius: 3,
12921
12924
  width: 30,
12922
12925
  height: 30,
12923
- marginInlineStart: 8
12926
+ marginRight: 8
12924
12927
  },
12925
12928
  ctaTitle: {
12926
12929
  fontSize: 12,
12927
12930
  color: '#fff',
12931
+ textAlign: 'left',
12928
12932
  width: 130,
12929
12933
  height: 20
12930
12934
  }
@@ -13060,27 +13064,6 @@ var linkSettingRender = [
13060
13064
  }
13061
13065
  ];
13062
13066
 
13063
- /*
13064
- * @Author: binruan@chatlabs.com
13065
- * @Date: 2024-08-09 16:59:38
13066
- * @LastEditors: binruan@chatlabs.com
13067
- * @LastEditTime: 2024-09-09 13:59:50
13068
- * @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
13069
- *
13070
- */
13071
- var interactionRender$a = [
13072
- {
13073
- title: '点击事件',
13074
- child: [
13075
- {
13076
- type: 'link',
13077
- name: 'onClick',
13078
- hiddenUrl: true
13079
- }
13080
- ]
13081
- }
13082
- ];
13083
-
13084
13067
  var styles$8 = {"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};
13085
13068
 
13086
13069
  const Link$1 = (_a) => {
@@ -13108,6 +13091,27 @@ const Link$1 = (_a) => {
13108
13091
  };
13109
13092
  var LinkComponent = memo(Link$1);
13110
13093
 
13094
+ /*
13095
+ * @Author: binruan@chatlabs.com
13096
+ * @Date: 2024-08-09 16:59:38
13097
+ * @LastEditors: binruan@chatlabs.com
13098
+ * @LastEditTime: 2024-09-09 13:59:50
13099
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
13100
+ *
13101
+ */
13102
+ var interactionRender$a = [
13103
+ {
13104
+ title: '点击事件',
13105
+ child: [
13106
+ {
13107
+ type: 'link',
13108
+ name: 'onClick',
13109
+ hiddenUrl: true
13110
+ }
13111
+ ]
13112
+ }
13113
+ ];
13114
+
13111
13115
  var _a;
13112
13116
  const Link = createMaterial(LinkComponent, {
13113
13117
  displayName: '普通CTA',
@@ -13126,17 +13130,19 @@ const Link = createMaterial(LinkComponent, {
13126
13130
  borderRadius: 3,
13127
13131
  width: 60,
13128
13132
  height: 60,
13129
- marginInlineStart: 8
13133
+ marginRight: 8
13130
13134
  },
13131
13135
  ctaTitle: {
13132
13136
  fontSize: 12,
13133
13137
  color: '#fff',
13138
+ textAlign: 'left',
13134
13139
  width: 130,
13135
13140
  height: 20
13136
13141
  }
13137
13142
  },
13138
13143
  customTitle: {
13139
13144
  style: {
13145
+ textAlign: 'left',
13140
13146
  textDecoration: 'underline',
13141
13147
  fontWeight: 'bold',
13142
13148
  width: 130,
@@ -13226,11 +13232,12 @@ const CommodityDiro = createMaterial(CommodityDiroComponent, {
13226
13232
  borderRadius: 3,
13227
13233
  width: 60,
13228
13234
  height: 60,
13229
- marginInlineStart: 8
13235
+ marginRight: 8
13230
13236
  },
13231
13237
  title: {
13232
13238
  fontSize: 12,
13233
- color: '#000'
13239
+ color: '#000',
13240
+ textAlign: 'left'
13234
13241
  },
13235
13242
  ctaTitle: {
13236
13243
  fontSize: 10,
@@ -13321,17 +13328,19 @@ const CommodityDiroNew = createMaterial(CommodityDiroNewComponent, {
13321
13328
  borderRadius: 8,
13322
13329
  width: 78,
13323
13330
  height: 78,
13324
- marginInlineStart: 16
13331
+ marginRight: 16
13325
13332
  },
13326
13333
  title: {
13327
13334
  fontSize: 13,
13328
- color: '#000'
13335
+ color: '#000',
13336
+ textAlign: 'left'
13329
13337
  },
13330
13338
  ctaTitle: {
13331
13339
  textDecoration: 'underline',
13332
13340
  fontSize: 14,
13333
13341
  fontWeight: 'bold',
13334
13342
  color: '#000',
13343
+ textAlign: 'left',
13335
13344
  width: 150,
13336
13345
  height: 20
13337
13346
  }
@@ -13373,7 +13382,7 @@ const MultiCommodityDiro$1 = (_a) => {
13373
13382
  const [products] = useState((_c = (_b = recData === null || recData === void 0 ? void 0 : recData.video) === null || _b === void 0 ? void 0 : _b.bindProducts) !== null && _c !== void 0 ? _c : [1, 2]);
13374
13383
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13375
13384
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
13376
- return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginInlineEnd: 0, marginInlineStart: '8px' })), tag: 'li', role: 'listitem' },
13385
+ return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginLeft: 0, marginRight: '8px' })), tag: 'li', role: 'listitem' },
13377
13386
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13378
13387
  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 }),
13379
13388
  React.createElement("div", { className: css({
@@ -13419,11 +13428,12 @@ const MultiCommodityDiro = createMaterial(MultiCommodityDiroComponent, {
13419
13428
  borderRadius: 3,
13420
13429
  width: 60,
13421
13430
  height: 60,
13422
- marginInlineStart: 8
13431
+ marginRight: 8
13423
13432
  },
13424
13433
  title: {
13425
13434
  fontSize: 12,
13426
- color: '#000'
13435
+ color: '#000',
13436
+ textAlign: 'left'
13427
13437
  },
13428
13438
  ctaTitle: {
13429
13439
  fontSize: 10,
@@ -13471,7 +13481,7 @@ const MultiCommodity$1 = (_a) => {
13471
13481
  const [products] = useState((_c = (_b = recData === null || recData === void 0 ? void 0 : recData.video) === null || _b === void 0 ? void 0 : _b.bindProducts) !== null && _c !== void 0 ? _c : [1, 2]);
13472
13482
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13473
13483
  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(Object.assign(Object.assign({}, style), { flexShrink: 0, marginInlineEnd: 0, marginInlineStart: '8px' })), tag: 'li', role: 'listitem' },
13484
+ return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginLeft: 0, marginRight: '8px' })), tag: 'li', role: 'listitem' },
13475
13485
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13476
13486
  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
13487
  React.createElement("div", { className: css({
@@ -13517,11 +13527,12 @@ const MultiCommodity = createMaterial(MultiCommodityComponent, {
13517
13527
  borderRadius: 3,
13518
13528
  width: 60,
13519
13529
  height: 60,
13520
- marginInlineStart: 8
13530
+ marginRight: 8
13521
13531
  },
13522
13532
  title: {
13523
13533
  fontSize: 12,
13524
13534
  color: '#fff',
13535
+ textAlign: 'left'
13525
13536
  },
13526
13537
  ctaTitle: {
13527
13538
  fontSize: 10,
@@ -13577,7 +13588,7 @@ const MultiCommodityDiroNew$1 = (_a) => {
13577
13588
  const [products] = useState((_c = (_b = recData === null || recData === void 0 ? void 0 : recData.video) === null || _b === void 0 ? void 0 : _b.bindProducts) !== null && _c !== void 0 ? _c : [1, 2]);
13578
13589
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13579
13590
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
13580
- return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginInlineEnd: 0, marginInlineStart: '8px' })), tag: 'li', role: 'listitem' },
13591
+ return (React.createElement(React.Fragment, null, recData && !(item === null || item === void 0 ? void 0 : item.bindCta) ? null : (React.createElement(SwiperSlide, { key: itemIndex, className: css(Object.assign(Object.assign({}, style), { flexShrink: 0, marginLeft: 0, marginRight: '8px' })), tag: 'li', role: 'listitem' },
13581
13592
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13582
13593
  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 }),
13583
13594
  React.createElement("div", { className: css({
@@ -13624,17 +13635,19 @@ const MultiCommodityDiroNew = createMaterial(MultiCommodityDiroNewComponent, {
13624
13635
  borderRadius: 8,
13625
13636
  width: 78,
13626
13637
  height: 78,
13627
- marginInlineStart: 16
13638
+ marginRight: 16
13628
13639
  },
13629
13640
  title: {
13630
13641
  fontSize: 12,
13631
- color: '#000'
13642
+ color: '#000',
13643
+ textAlign: 'left'
13632
13644
  },
13633
13645
  ctaTitle: {
13634
13646
  textDecoration: 'underline',
13635
13647
  fontSize: 12,
13636
13648
  fontWeight: 'bold',
13637
13649
  color: '#000',
13650
+ textAlign: 'left',
13638
13651
  width: 150,
13639
13652
  height: 20
13640
13653
  }
@@ -13729,11 +13742,12 @@ const NineCommodity = createMaterial(NineCommodityComponent, {
13729
13742
  borderRadius: 3,
13730
13743
  width: 60,
13731
13744
  height: 60,
13732
- marginInlineStart: 8
13745
+ marginRight: 8
13733
13746
  },
13734
13747
  title: {
13735
13748
  fontSize: 12,
13736
- color: '#fff'
13749
+ color: '#fff',
13750
+ textAlign: 'left'
13737
13751
  },
13738
13752
  ctaTitle: {
13739
13753
  fontSize: 10,
@@ -16653,60 +16667,6 @@ var settingRender$4 = [
16653
16667
  }
16654
16668
  ];
16655
16669
 
16656
- /*
16657
- * @Author: binruan@chatlabs.com
16658
- * @Date: 2024-07-24 14:58:40
16659
- * @LastEditors: binruan@chatlabs.com
16660
- * @LastEditTime: 2024-09-09 13:54:35
16661
- * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
16662
- *
16663
- */
16664
- var interactionRender$2 = [
16665
- {
16666
- title: '点击事件',
16667
- child: [
16668
- {
16669
- type: 'link',
16670
- name: 'onClick',
16671
- hiddenUrl: true
16672
- }
16673
- ]
16674
- },
16675
- {
16676
- title: '动画效果',
16677
- child: [
16678
- {
16679
- type: 'Select',
16680
- name: ['animation', 'name'],
16681
- label: '动画',
16682
- options: [
16683
- {
16684
- label: '默认',
16685
- value: 1
16686
- }
16687
- ],
16688
- fieldProps: {
16689
- style: {
16690
- width: '100%'
16691
- }
16692
- }
16693
- },
16694
- {
16695
- type: 'Number',
16696
- label: '动画启动时间',
16697
- name: ['animation', 'delay'],
16698
- addonAfter: 'ms'
16699
- },
16700
- {
16701
- type: 'Number',
16702
- label: '动画持续时间',
16703
- name: ['animation', 'duration'],
16704
- addonAfter: 'ms'
16705
- }
16706
- ]
16707
- }
16708
- ];
16709
-
16710
16670
  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"};
16711
16671
 
16712
16672
  const closeIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=';
@@ -16779,6 +16739,60 @@ const AniLinkPopup$1 = (_a) => {
16779
16739
  };
16780
16740
  var AniLinkPopupComponent = memo(AniLinkPopup$1);
16781
16741
 
16742
+ /*
16743
+ * @Author: binruan@chatlabs.com
16744
+ * @Date: 2024-07-24 14:58:40
16745
+ * @LastEditors: binruan@chatlabs.com
16746
+ * @LastEditTime: 2024-09-09 13:54:35
16747
+ * @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
16748
+ *
16749
+ */
16750
+ var interactionRender$2 = [
16751
+ {
16752
+ title: '点击事件',
16753
+ child: [
16754
+ {
16755
+ type: 'link',
16756
+ name: 'onClick',
16757
+ hiddenUrl: true
16758
+ }
16759
+ ]
16760
+ },
16761
+ {
16762
+ title: '动画效果',
16763
+ child: [
16764
+ {
16765
+ type: 'Select',
16766
+ name: ['animation', 'name'],
16767
+ label: '动画',
16768
+ options: [
16769
+ {
16770
+ label: '默认',
16771
+ value: 1
16772
+ }
16773
+ ],
16774
+ fieldProps: {
16775
+ style: {
16776
+ width: '100%'
16777
+ }
16778
+ }
16779
+ },
16780
+ {
16781
+ type: 'Number',
16782
+ label: '动画启动时间',
16783
+ name: ['animation', 'delay'],
16784
+ addonAfter: 'ms'
16785
+ },
16786
+ {
16787
+ type: 'Number',
16788
+ label: '动画持续时间',
16789
+ name: ['animation', 'duration'],
16790
+ addonAfter: 'ms'
16791
+ }
16792
+ ]
16793
+ }
16794
+ ];
16795
+
16782
16796
  /*
16783
16797
  * @Author: binruan@chatlabs.com
16784
16798
  * @Date: 2024-07-24 14:58:40
@@ -16817,6 +16831,7 @@ const AniLinkPopup = createMaterial(AniLinkPopupComponent, {
16817
16831
  title: {
16818
16832
  fontSize: 14,
16819
16833
  color: '#000',
16834
+ textAlign: 'left',
16820
16835
  lineHeight: 2.6
16821
16836
  },
16822
16837
  ctaTitle: {
@@ -17045,7 +17060,7 @@ const Display$1 = (_a) => {
17045
17060
  React.createElement("span", { style: content === null || content === void 0 ? void 0 : content.style, dangerouslySetInnerHTML: {
17046
17061
  __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)
17047
17062
  } }),
17048
- React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginInlineEnd: '5px' }), dangerouslySetInnerHTML: {
17063
+ React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginLeft: '5px' }), dangerouslySetInnerHTML: {
17049
17064
  __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)
17050
17065
  }, onClick: handleClick })),
17051
17066
  isShowClose && (React.createElement("button", { "aria-label": 'close', className: 'consentPopupDisplay-close', onClick: handleClickClose },
@@ -18776,7 +18791,7 @@ const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive,
18776
18791
  const sbf = style.backdropFilter;
18777
18792
  style.backdropFilter = `blur(${sbf !== null && sbf !== void 0 ? sbf : 0}px)`;
18778
18793
  }
18779
- 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 })));
18794
+ 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 })));
18780
18795
  }
18781
18796
  else {
18782
18797
  return null;