pb-sxp-ui 1.16.24 → 1.17.0-alpha

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 (56) hide show
  1. package/dist/index.cjs +130 -145
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.css +15 -7
  4. package/dist/index.js +130 -145
  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 +130 -145
  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/RenderCard.js +1 -1
  15. package/es/materials/sxp/consentPopup/Display/index.js +1 -1
  16. package/es/materials/sxp/cta/AniLinkPopup/material.js +2 -3
  17. package/es/materials/sxp/popup/CommodityDetail/material.js +1 -2
  18. package/es/materials/sxp/popup/CommodityList/index.js +4 -5
  19. package/es/materials/sxp/popup/CommodityList/material.js +1 -1
  20. package/es/materials/sxp/popup/CommodityList/settingRender.js +1 -1
  21. package/es/materials/sxp/template/Appoint/material.js +1 -2
  22. package/es/materials/sxp/template/Commodity/material.js +2 -3
  23. package/es/materials/sxp/template/CommodityDiro/material.js +2 -3
  24. package/es/materials/sxp/template/CommodityDiroNew/material.js +2 -4
  25. package/es/materials/sxp/template/Link/material.js +2 -4
  26. package/es/materials/sxp/template/MultiCommodity/index.js +1 -1
  27. package/es/materials/sxp/template/MultiCommodity/material.js +1 -2
  28. package/es/materials/sxp/template/MultiCommodityDiro/index.js +1 -1
  29. package/es/materials/sxp/template/MultiCommodityDiro/material.js +2 -3
  30. package/es/materials/sxp/template/MultiCommodityDiroNew/index.js +1 -1
  31. package/es/materials/sxp/template/MultiCommodityDiroNew/material.js +2 -4
  32. package/es/materials/sxp/template/NineCommodity/material.js +2 -3
  33. package/es/materials/sxp/template/components/CommodityGroup.js +1 -1
  34. package/es/materials/sxp/template/components/settingRender.js +1 -1
  35. package/lib/core/components/SxpPageRender/RenderCard.js +1 -1
  36. package/lib/materials/sxp/consentPopup/Display/index.js +1 -1
  37. package/lib/materials/sxp/cta/AniLinkPopup/material.js +1 -2
  38. package/lib/materials/sxp/popup/CommodityDetail/material.js +1 -2
  39. package/lib/materials/sxp/popup/CommodityList/index.js +4 -5
  40. package/lib/materials/sxp/popup/CommodityList/material.js +1 -1
  41. package/lib/materials/sxp/popup/CommodityList/settingRender.js +1 -1
  42. package/lib/materials/sxp/template/Appoint/material.js +1 -2
  43. package/lib/materials/sxp/template/Commodity/material.js +2 -3
  44. package/lib/materials/sxp/template/CommodityDiro/material.js +2 -3
  45. package/lib/materials/sxp/template/CommodityDiroNew/material.js +2 -4
  46. package/lib/materials/sxp/template/Link/material.js +2 -4
  47. package/lib/materials/sxp/template/MultiCommodity/index.js +1 -1
  48. package/lib/materials/sxp/template/MultiCommodity/material.js +1 -2
  49. package/lib/materials/sxp/template/MultiCommodityDiro/index.js +1 -1
  50. package/lib/materials/sxp/template/MultiCommodityDiro/material.js +2 -3
  51. package/lib/materials/sxp/template/MultiCommodityDiroNew/index.js +1 -1
  52. package/lib/materials/sxp/template/MultiCommodityDiroNew/material.js +2 -4
  53. package/lib/materials/sxp/template/NineCommodity/material.js +2 -3
  54. package/lib/materials/sxp/template/components/CommodityGroup.js +1 -1
  55. package/lib/materials/sxp/template/components/settingRender.js +1 -1
  56. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -2639,6 +2639,35 @@ 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
+
2642
2671
  /**
2643
2672
  * SSR Window 4.0.2
2644
2673
  * Better handling for window object in SSR environment
@@ -10217,7 +10246,7 @@ const CommodityGroup = ({ products, data, defImg, style, onCLick, popupDetailDat
10217
10246
  return (React.createElement(React.Fragment, null, (item === null || item === void 0 ? void 0 : item.bindCta) ? (React.createElement(SwiperSlide, { className: css.css({
10218
10247
  width: '50px',
10219
10248
  height: '50px',
10220
- marginRight: '10px'
10249
+ marginInlineStart: '10px'
10221
10250
  }), onClick: () => {
10222
10251
  handleClick(item, index);
10223
10252
  }, key: index },
@@ -10816,35 +10845,6 @@ const CommodityDetail$1 = (_a) => {
10816
10845
  };
10817
10846
  var CommodityDetailComponent = React.memo(CommodityDetail$1);
10818
10847
 
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,7 +10891,6 @@ const CommodityDetail = createMaterial(CommodityDetailComponent, {
10891
10891
  taxInfo: {
10892
10892
  color: '#000',
10893
10893
  fontSize: 13,
10894
- textAlign: 'left',
10895
10894
  marginBottom: '10px'
10896
10895
  }
10897
10896
  },
@@ -11983,7 +11982,7 @@ var settingRender$b = [
11983
11982
  type: 'Number',
11984
11983
  label: '与右侧边距',
11985
11984
  addonAfter: 'px',
11986
- name: ['props', 'commodityPicture', 'marginRight']
11985
+ name: ['props', 'commodityPicture', 'marginInlineStart']
11987
11986
  },
11988
11987
  {
11989
11988
  label: '居中垂直偏移',
@@ -12269,12 +12268,11 @@ const CommodityList$1 = (_a) => {
12269
12268
  React.createElement("button", Object.assign({ role: 'button', "aria-label": item === null || item === void 0 ? void 0 : item.title, tabIndex: 0, className: css.css({
12270
12269
  display: 'flex',
12271
12270
  alignItems: 'normal',
12272
- width: '100%',
12273
- textAlign: 'left'
12271
+ width: '100%'
12274
12272
  }) }, props),
12275
12273
  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 }),
12276
12274
  React.createElement("div", { style: {
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)`,
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)`,
12278
12276
  display: 'flex',
12279
12277
  flexDirection: 'column',
12280
12278
  justifyContent: 'space-between'
@@ -12355,7 +12353,7 @@ const CommodityList = createMaterial(CommodityListComponent, {
12355
12353
  commodityPicture: {
12356
12354
  width: 100,
12357
12355
  height: 100,
12358
- marginRight: 10
12356
+ marginInlineStart: 10
12359
12357
  },
12360
12358
  commodityStyles: {
12361
12359
  price: {
@@ -12601,7 +12599,7 @@ var settingRender$8 = [
12601
12599
  type: 'Number',
12602
12600
  label: '与右侧边距',
12603
12601
  addonAfter: 'px',
12604
- name: ['props', 'ctaTempStyles', 'img', 'marginRight']
12602
+ name: ['props', 'ctaTempStyles', 'img', 'marginInlineStart']
12605
12603
  },
12606
12604
  {
12607
12605
  label: '居中垂直偏移',
@@ -12862,12 +12860,11 @@ const Commodity = createMaterial(CommodityComponent, {
12862
12860
  borderRadius: 3,
12863
12861
  width: 60,
12864
12862
  height: 60,
12865
- marginRight: 8
12863
+ marginInlineStart: 8
12866
12864
  },
12867
12865
  title: {
12868
12866
  fontSize: 12,
12869
- color: '#fff',
12870
- textAlign: 'left'
12867
+ color: '#fff'
12871
12868
  },
12872
12869
  ctaTitle: {
12873
12870
  fontSize: 10,
@@ -12945,12 +12942,11 @@ const Appoint = createMaterial(AppointComponent, {
12945
12942
  borderRadius: 3,
12946
12943
  width: 30,
12947
12944
  height: 30,
12948
- marginRight: 8
12945
+ marginInlineStart: 8
12949
12946
  },
12950
12947
  ctaTitle: {
12951
12948
  fontSize: 12,
12952
12949
  color: '#fff',
12953
- textAlign: 'left',
12954
12950
  width: 130,
12955
12951
  height: 20
12956
12952
  }
@@ -13086,6 +13082,27 @@ var linkSettingRender = [
13086
13082
  }
13087
13083
  ];
13088
13084
 
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
+
13089
13106
  var styles$8 = {"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};
13090
13107
 
13091
13108
  const Link$1 = (_a) => {
@@ -13113,27 +13130,6 @@ const Link$1 = (_a) => {
13113
13130
  };
13114
13131
  var LinkComponent = React.memo(Link$1);
13115
13132
 
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
-
13137
13133
  var _a;
13138
13134
  const Link = createMaterial(LinkComponent, {
13139
13135
  displayName: '普通CTA',
@@ -13152,19 +13148,17 @@ const Link = createMaterial(LinkComponent, {
13152
13148
  borderRadius: 3,
13153
13149
  width: 60,
13154
13150
  height: 60,
13155
- marginRight: 8
13151
+ marginInlineStart: 8
13156
13152
  },
13157
13153
  ctaTitle: {
13158
13154
  fontSize: 12,
13159
13155
  color: '#fff',
13160
- textAlign: 'left',
13161
13156
  width: 130,
13162
13157
  height: 20
13163
13158
  }
13164
13159
  },
13165
13160
  customTitle: {
13166
13161
  style: {
13167
- textAlign: 'left',
13168
13162
  textDecoration: 'underline',
13169
13163
  fontWeight: 'bold',
13170
13164
  width: 130,
@@ -13254,12 +13248,11 @@ const CommodityDiro = createMaterial(CommodityDiroComponent, {
13254
13248
  borderRadius: 3,
13255
13249
  width: 60,
13256
13250
  height: 60,
13257
- marginRight: 8
13251
+ marginInlineStart: 8
13258
13252
  },
13259
13253
  title: {
13260
13254
  fontSize: 12,
13261
- color: '#000',
13262
- textAlign: 'left'
13255
+ color: '#000'
13263
13256
  },
13264
13257
  ctaTitle: {
13265
13258
  fontSize: 10,
@@ -13350,19 +13343,17 @@ const CommodityDiroNew = createMaterial(CommodityDiroNewComponent, {
13350
13343
  borderRadius: 8,
13351
13344
  width: 78,
13352
13345
  height: 78,
13353
- marginRight: 16
13346
+ marginInlineStart: 16
13354
13347
  },
13355
13348
  title: {
13356
13349
  fontSize: 13,
13357
- color: '#000',
13358
- textAlign: 'left'
13350
+ color: '#000'
13359
13351
  },
13360
13352
  ctaTitle: {
13361
13353
  textDecoration: 'underline',
13362
13354
  fontSize: 14,
13363
13355
  fontWeight: 'bold',
13364
13356
  color: '#000',
13365
- textAlign: 'left',
13366
13357
  width: 150,
13367
13358
  height: 20
13368
13359
  }
@@ -13404,7 +13395,7 @@ const MultiCommodityDiro$1 = (_a) => {
13404
13395
  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]);
13405
13396
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13406
13397
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
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' },
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' },
13408
13399
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13409
13400
  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 }),
13410
13401
  React.createElement("div", { className: css.css({
@@ -13450,12 +13441,11 @@ const MultiCommodityDiro = createMaterial(MultiCommodityDiroComponent, {
13450
13441
  borderRadius: 3,
13451
13442
  width: 60,
13452
13443
  height: 60,
13453
- marginRight: 8
13444
+ marginInlineStart: 8
13454
13445
  },
13455
13446
  title: {
13456
13447
  fontSize: 12,
13457
- color: '#000',
13458
- textAlign: 'left'
13448
+ color: '#000'
13459
13449
  },
13460
13450
  ctaTitle: {
13461
13451
  fontSize: 10,
@@ -13503,7 +13493,7 @@ const MultiCommodity$1 = (_a) => {
13503
13493
  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]);
13504
13494
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13505
13495
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
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' },
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' },
13507
13497
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13508
13498
  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 }),
13509
13499
  React.createElement("div", { className: css.css({
@@ -13549,12 +13539,11 @@ const MultiCommodity = createMaterial(MultiCommodityComponent, {
13549
13539
  borderRadius: 3,
13550
13540
  width: 60,
13551
13541
  height: 60,
13552
- marginRight: 8
13542
+ marginInlineStart: 8
13553
13543
  },
13554
13544
  title: {
13555
13545
  fontSize: 12,
13556
13546
  color: '#fff',
13557
- textAlign: 'left'
13558
13547
  },
13559
13548
  ctaTitle: {
13560
13549
  fontSize: 10,
@@ -13610,7 +13599,7 @@ const MultiCommodityDiroNew$1 = (_a) => {
13610
13599
  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]);
13611
13600
  return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
13612
13601
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
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' },
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' },
13614
13603
  React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
13615
13604
  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 }),
13616
13605
  React.createElement("div", { className: css.css({
@@ -13657,19 +13646,17 @@ const MultiCommodityDiroNew = createMaterial(MultiCommodityDiroNewComponent, {
13657
13646
  borderRadius: 8,
13658
13647
  width: 78,
13659
13648
  height: 78,
13660
- marginRight: 16
13649
+ marginInlineStart: 16
13661
13650
  },
13662
13651
  title: {
13663
13652
  fontSize: 12,
13664
- color: '#000',
13665
- textAlign: 'left'
13653
+ color: '#000'
13666
13654
  },
13667
13655
  ctaTitle: {
13668
13656
  textDecoration: 'underline',
13669
13657
  fontSize: 12,
13670
13658
  fontWeight: 'bold',
13671
13659
  color: '#000',
13672
- textAlign: 'left',
13673
13660
  width: 150,
13674
13661
  height: 20
13675
13662
  }
@@ -13764,12 +13751,11 @@ const NineCommodity = createMaterial(NineCommodityComponent, {
13764
13751
  borderRadius: 3,
13765
13752
  width: 60,
13766
13753
  height: 60,
13767
- marginRight: 8
13754
+ marginInlineStart: 8
13768
13755
  },
13769
13756
  title: {
13770
13757
  fontSize: 12,
13771
- color: '#fff',
13772
- textAlign: 'left'
13758
+ color: '#fff'
13773
13759
  },
13774
13760
  ctaTitle: {
13775
13761
  fontSize: 10,
@@ -16689,6 +16675,60 @@ var settingRender$4 = [
16689
16675
  }
16690
16676
  ];
16691
16677
 
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
+
16692
16732
  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"};
16693
16733
 
16694
16734
  const closeIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=';
@@ -16761,60 +16801,6 @@ const AniLinkPopup$1 = (_a) => {
16761
16801
  };
16762
16802
  var AniLinkPopupComponent = React.memo(AniLinkPopup$1);
16763
16803
 
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
-
16818
16804
  /*
16819
16805
  * @Author: binruan@chatlabs.com
16820
16806
  * @Date: 2024-07-24 14:58:40
@@ -16853,7 +16839,6 @@ const AniLinkPopup = createMaterial(AniLinkPopupComponent, {
16853
16839
  title: {
16854
16840
  fontSize: 14,
16855
16841
  color: '#000',
16856
- textAlign: 'left',
16857
16842
  lineHeight: 2.6
16858
16843
  },
16859
16844
  ctaTitle: {
@@ -17082,7 +17067,7 @@ const Display$1 = (_a) => {
17082
17067
  React.createElement("span", { style: content === null || content === void 0 ? void 0 : content.style, dangerouslySetInnerHTML: {
17083
17068
  __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)
17084
17069
  } }),
17085
- React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginLeft: '5px' }), dangerouslySetInnerHTML: {
17070
+ React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginInlineEnd: '5px' }), dangerouslySetInnerHTML: {
17086
17071
  __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)
17087
17072
  }, onClick: handleClick })),
17088
17073
  isShowClose && (React.createElement("button", { "aria-label": 'close', className: 'consentPopupDisplay-close', onClick: handleClickClose },
@@ -18813,7 +18798,7 @@ const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive,
18813
18798
  const sbf = style.backdropFilter;
18814
18799
  style.backdropFilter = `blur(${sbf !== null && sbf !== void 0 ? sbf : 0}px)`;
18815
18800
  }
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 })));
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 })));
18817
18802
  }
18818
18803
  else {
18819
18804
  return null;