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.
- package/dist/index.cjs +130 -145
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +15 -7
- package/dist/index.js +130 -145
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +4 -4
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +130 -145
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +4 -4
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/RenderCard.js +1 -1
- package/es/materials/sxp/consentPopup/Display/index.js +1 -1
- package/es/materials/sxp/cta/AniLinkPopup/material.js +2 -3
- package/es/materials/sxp/popup/CommodityDetail/material.js +1 -2
- package/es/materials/sxp/popup/CommodityList/index.js +4 -5
- package/es/materials/sxp/popup/CommodityList/material.js +1 -1
- package/es/materials/sxp/popup/CommodityList/settingRender.js +1 -1
- package/es/materials/sxp/template/Appoint/material.js +1 -2
- package/es/materials/sxp/template/Commodity/material.js +2 -3
- package/es/materials/sxp/template/CommodityDiro/material.js +2 -3
- package/es/materials/sxp/template/CommodityDiroNew/material.js +2 -4
- package/es/materials/sxp/template/Link/material.js +2 -4
- package/es/materials/sxp/template/MultiCommodity/index.js +1 -1
- package/es/materials/sxp/template/MultiCommodity/material.js +1 -2
- package/es/materials/sxp/template/MultiCommodityDiro/index.js +1 -1
- package/es/materials/sxp/template/MultiCommodityDiro/material.js +2 -3
- package/es/materials/sxp/template/MultiCommodityDiroNew/index.js +1 -1
- package/es/materials/sxp/template/MultiCommodityDiroNew/material.js +2 -4
- package/es/materials/sxp/template/NineCommodity/material.js +2 -3
- package/es/materials/sxp/template/components/CommodityGroup.js +1 -1
- package/es/materials/sxp/template/components/settingRender.js +1 -1
- package/lib/core/components/SxpPageRender/RenderCard.js +1 -1
- package/lib/materials/sxp/consentPopup/Display/index.js +1 -1
- package/lib/materials/sxp/cta/AniLinkPopup/material.js +1 -2
- package/lib/materials/sxp/popup/CommodityDetail/material.js +1 -2
- package/lib/materials/sxp/popup/CommodityList/index.js +4 -5
- package/lib/materials/sxp/popup/CommodityList/material.js +1 -1
- package/lib/materials/sxp/popup/CommodityList/settingRender.js +1 -1
- package/lib/materials/sxp/template/Appoint/material.js +1 -2
- package/lib/materials/sxp/template/Commodity/material.js +2 -3
- package/lib/materials/sxp/template/CommodityDiro/material.js +2 -3
- package/lib/materials/sxp/template/CommodityDiroNew/material.js +2 -4
- package/lib/materials/sxp/template/Link/material.js +2 -4
- package/lib/materials/sxp/template/MultiCommodity/index.js +1 -1
- package/lib/materials/sxp/template/MultiCommodity/material.js +1 -2
- package/lib/materials/sxp/template/MultiCommodityDiro/index.js +1 -1
- package/lib/materials/sxp/template/MultiCommodityDiro/material.js +2 -3
- package/lib/materials/sxp/template/MultiCommodityDiroNew/index.js +1 -1
- package/lib/materials/sxp/template/MultiCommodityDiroNew/material.js +2 -4
- package/lib/materials/sxp/template/NineCommodity/material.js +2 -3
- package/lib/materials/sxp/template/components/CommodityGroup.js +1 -1
- package/lib/materials/sxp/template/components/settingRender.js +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
@@ -33,6 +33,7 @@ button {
|
|
33
33
|
/* 鼠标指针样式为手型 */
|
34
34
|
outline: none;
|
35
35
|
/* 去除点击时的外边框 */
|
36
|
+
text-align: initial;
|
36
37
|
}
|
37
38
|
|
38
39
|
a {
|
@@ -97,7 +98,8 @@ a:active {
|
|
97
98
|
.pb-appoint-form-container-label {
|
98
99
|
font-size: 14px;
|
99
100
|
display: block;
|
100
|
-
margin-
|
101
|
+
-webkit-margin-start: 10px;
|
102
|
+
margin-inline-start: 10px;
|
101
103
|
line-height: 35px;
|
102
104
|
-webkit-flex-shrink: 0;
|
103
105
|
-ms-flex-negative: 0;
|
@@ -616,7 +618,8 @@ a:active {
|
|
616
618
|
-webkit-flex-shrink: 0;
|
617
619
|
-ms-flex-negative: 0;
|
618
620
|
flex-shrink: 0;
|
619
|
-
margin-
|
621
|
+
-webkit-margin-end: 35px;
|
622
|
+
margin-inline-end: 35px;
|
620
623
|
}
|
621
624
|
.pb-commondityDiroNew-content-top-right-price {
|
622
625
|
font-size: 13px;
|
@@ -704,7 +707,8 @@ a:active {
|
|
704
707
|
-webkit-flex-shrink: 0;
|
705
708
|
-ms-flex-negative: 0;
|
706
709
|
flex-shrink: 0;
|
707
|
-
margin-
|
710
|
+
-webkit-margin-end: 35px;
|
711
|
+
margin-inline-end: 35px;
|
708
712
|
}
|
709
713
|
.pb-commondityDiroNew-content-top-right-price {
|
710
714
|
font-size: 13px;
|
@@ -1561,7 +1565,8 @@ a:active {
|
|
1561
1565
|
-webkit-flex-shrink: 0;
|
1562
1566
|
-ms-flex-negative: 0;
|
1563
1567
|
flex-shrink: 0;
|
1564
|
-
margin-
|
1568
|
+
-webkit-margin-end: 10px;
|
1569
|
+
margin-inline-end: 10px;
|
1565
1570
|
}
|
1566
1571
|
.consentPopupDisplay-close img {
|
1567
1572
|
width: 100%;
|
@@ -1643,7 +1648,8 @@ a:active {
|
|
1643
1648
|
-webkit-flex-shrink: 0;
|
1644
1649
|
-ms-flex-negative: 0;
|
1645
1650
|
flex-shrink: 0;
|
1646
|
-
margin-
|
1651
|
+
-webkit-margin-end: 10px;
|
1652
|
+
margin-inline-end: 10px;
|
1647
1653
|
position: absolute;
|
1648
1654
|
right: 14px;
|
1649
1655
|
top: 14px;
|
@@ -2354,7 +2360,8 @@ button.swiper-pagination-bullet {
|
|
2354
2360
|
-webkit-box-sizing: border-box;
|
2355
2361
|
box-sizing: border-box;
|
2356
2362
|
gap: 6px;
|
2357
|
-
margin-
|
2363
|
+
-webkit-margin-end: 20px;
|
2364
|
+
margin-inline-end: 20px;
|
2358
2365
|
-webkit-transform: translate3d(0px, 0px, 0px);
|
2359
2366
|
transform: translate3d(0px, 0px, 0px);
|
2360
2367
|
}
|
@@ -2364,7 +2371,8 @@ button.swiper-pagination-bullet {
|
|
2364
2371
|
}
|
2365
2372
|
.clc-sxp-bottom-hashtag-item {
|
2366
2373
|
width: auto;
|
2367
|
-
margin-
|
2374
|
+
-webkit-margin-start: 8px;
|
2375
|
+
margin-inline-start: 8px;
|
2368
2376
|
cursor: pointer;
|
2369
2377
|
border: none;
|
2370
2378
|
font-family: inherit;
|
package/dist/index.js
CHANGED
@@ -2617,6 +2617,35 @@ 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
|
+
|
2620
2649
|
/**
|
2621
2650
|
* SSR Window 4.0.2
|
2622
2651
|
* Better handling for window object in SSR environment
|
@@ -10195,7 +10224,7 @@ const CommodityGroup = ({ products, data, defImg, style, onCLick, popupDetailDat
|
|
10195
10224
|
return (React.createElement(React.Fragment, null, (item === null || item === void 0 ? void 0 : item.bindCta) ? (React.createElement(SwiperSlide, { className: css({
|
10196
10225
|
width: '50px',
|
10197
10226
|
height: '50px',
|
10198
|
-
|
10227
|
+
marginInlineStart: '10px'
|
10199
10228
|
}), onClick: () => {
|
10200
10229
|
handleClick(item, index);
|
10201
10230
|
}, key: index },
|
@@ -10794,35 +10823,6 @@ const CommodityDetail$1 = (_a) => {
|
|
10794
10823
|
};
|
10795
10824
|
var CommodityDetailComponent = memo(CommodityDetail$1);
|
10796
10825
|
|
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,7 +10869,6 @@ const CommodityDetail = createMaterial(CommodityDetailComponent, {
|
|
10869
10869
|
taxInfo: {
|
10870
10870
|
color: '#000',
|
10871
10871
|
fontSize: 13,
|
10872
|
-
textAlign: 'left',
|
10873
10872
|
marginBottom: '10px'
|
10874
10873
|
}
|
10875
10874
|
},
|
@@ -11961,7 +11960,7 @@ var settingRender$b = [
|
|
11961
11960
|
type: 'Number',
|
11962
11961
|
label: '与右侧边距',
|
11963
11962
|
addonAfter: 'px',
|
11964
|
-
name: ['props', 'commodityPicture', '
|
11963
|
+
name: ['props', 'commodityPicture', 'marginInlineStart']
|
11965
11964
|
},
|
11966
11965
|
{
|
11967
11966
|
label: '居中垂直偏移',
|
@@ -12247,12 +12246,11 @@ const CommodityList$1 = (_a) => {
|
|
12247
12246
|
React.createElement("button", Object.assign({ role: 'button', "aria-label": item === null || item === void 0 ? void 0 : item.title, tabIndex: 0, className: css({
|
12248
12247
|
display: 'flex',
|
12249
12248
|
alignItems: 'normal',
|
12250
|
-
width: '100%'
|
12251
|
-
textAlign: 'left'
|
12249
|
+
width: '100%'
|
12252
12250
|
}) }, props),
|
12253
12251
|
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 }),
|
12254
12252
|
React.createElement("div", { style: {
|
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.
|
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)`,
|
12256
12254
|
display: 'flex',
|
12257
12255
|
flexDirection: 'column',
|
12258
12256
|
justifyContent: 'space-between'
|
@@ -12333,7 +12331,7 @@ const CommodityList = createMaterial(CommodityListComponent, {
|
|
12333
12331
|
commodityPicture: {
|
12334
12332
|
width: 100,
|
12335
12333
|
height: 100,
|
12336
|
-
|
12334
|
+
marginInlineStart: 10
|
12337
12335
|
},
|
12338
12336
|
commodityStyles: {
|
12339
12337
|
price: {
|
@@ -12579,7 +12577,7 @@ var settingRender$8 = [
|
|
12579
12577
|
type: 'Number',
|
12580
12578
|
label: '与右侧边距',
|
12581
12579
|
addonAfter: 'px',
|
12582
|
-
name: ['props', 'ctaTempStyles', 'img', '
|
12580
|
+
name: ['props', 'ctaTempStyles', 'img', 'marginInlineStart']
|
12583
12581
|
},
|
12584
12582
|
{
|
12585
12583
|
label: '居中垂直偏移',
|
@@ -12840,12 +12838,11 @@ const Commodity = createMaterial(CommodityComponent, {
|
|
12840
12838
|
borderRadius: 3,
|
12841
12839
|
width: 60,
|
12842
12840
|
height: 60,
|
12843
|
-
|
12841
|
+
marginInlineStart: 8
|
12844
12842
|
},
|
12845
12843
|
title: {
|
12846
12844
|
fontSize: 12,
|
12847
|
-
color: '#fff'
|
12848
|
-
textAlign: 'left'
|
12845
|
+
color: '#fff'
|
12849
12846
|
},
|
12850
12847
|
ctaTitle: {
|
12851
12848
|
fontSize: 10,
|
@@ -12923,12 +12920,11 @@ const Appoint = createMaterial(AppointComponent, {
|
|
12923
12920
|
borderRadius: 3,
|
12924
12921
|
width: 30,
|
12925
12922
|
height: 30,
|
12926
|
-
|
12923
|
+
marginInlineStart: 8
|
12927
12924
|
},
|
12928
12925
|
ctaTitle: {
|
12929
12926
|
fontSize: 12,
|
12930
12927
|
color: '#fff',
|
12931
|
-
textAlign: 'left',
|
12932
12928
|
width: 130,
|
12933
12929
|
height: 20
|
12934
12930
|
}
|
@@ -13064,6 +13060,27 @@ var linkSettingRender = [
|
|
13064
13060
|
}
|
13065
13061
|
];
|
13066
13062
|
|
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
|
+
|
13067
13084
|
var styles$8 = {"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};
|
13068
13085
|
|
13069
13086
|
const Link$1 = (_a) => {
|
@@ -13091,27 +13108,6 @@ const Link$1 = (_a) => {
|
|
13091
13108
|
};
|
13092
13109
|
var LinkComponent = memo(Link$1);
|
13093
13110
|
|
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
|
-
|
13115
13111
|
var _a;
|
13116
13112
|
const Link = createMaterial(LinkComponent, {
|
13117
13113
|
displayName: '普通CTA',
|
@@ -13130,19 +13126,17 @@ const Link = createMaterial(LinkComponent, {
|
|
13130
13126
|
borderRadius: 3,
|
13131
13127
|
width: 60,
|
13132
13128
|
height: 60,
|
13133
|
-
|
13129
|
+
marginInlineStart: 8
|
13134
13130
|
},
|
13135
13131
|
ctaTitle: {
|
13136
13132
|
fontSize: 12,
|
13137
13133
|
color: '#fff',
|
13138
|
-
textAlign: 'left',
|
13139
13134
|
width: 130,
|
13140
13135
|
height: 20
|
13141
13136
|
}
|
13142
13137
|
},
|
13143
13138
|
customTitle: {
|
13144
13139
|
style: {
|
13145
|
-
textAlign: 'left',
|
13146
13140
|
textDecoration: 'underline',
|
13147
13141
|
fontWeight: 'bold',
|
13148
13142
|
width: 130,
|
@@ -13232,12 +13226,11 @@ const CommodityDiro = createMaterial(CommodityDiroComponent, {
|
|
13232
13226
|
borderRadius: 3,
|
13233
13227
|
width: 60,
|
13234
13228
|
height: 60,
|
13235
|
-
|
13229
|
+
marginInlineStart: 8
|
13236
13230
|
},
|
13237
13231
|
title: {
|
13238
13232
|
fontSize: 12,
|
13239
|
-
color: '#000'
|
13240
|
-
textAlign: 'left'
|
13233
|
+
color: '#000'
|
13241
13234
|
},
|
13242
13235
|
ctaTitle: {
|
13243
13236
|
fontSize: 10,
|
@@ -13328,19 +13321,17 @@ const CommodityDiroNew = createMaterial(CommodityDiroNewComponent, {
|
|
13328
13321
|
borderRadius: 8,
|
13329
13322
|
width: 78,
|
13330
13323
|
height: 78,
|
13331
|
-
|
13324
|
+
marginInlineStart: 16
|
13332
13325
|
},
|
13333
13326
|
title: {
|
13334
13327
|
fontSize: 13,
|
13335
|
-
color: '#000'
|
13336
|
-
textAlign: 'left'
|
13328
|
+
color: '#000'
|
13337
13329
|
},
|
13338
13330
|
ctaTitle: {
|
13339
13331
|
textDecoration: 'underline',
|
13340
13332
|
fontSize: 14,
|
13341
13333
|
fontWeight: 'bold',
|
13342
13334
|
color: '#000',
|
13343
|
-
textAlign: 'left',
|
13344
13335
|
width: 150,
|
13345
13336
|
height: 20
|
13346
13337
|
}
|
@@ -13382,7 +13373,7 @@ const MultiCommodityDiro$1 = (_a) => {
|
|
13382
13373
|
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]);
|
13383
13374
|
return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
|
13384
13375
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
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,
|
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' },
|
13386
13377
|
React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
|
13387
13378
|
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 }),
|
13388
13379
|
React.createElement("div", { className: css({
|
@@ -13428,12 +13419,11 @@ const MultiCommodityDiro = createMaterial(MultiCommodityDiroComponent, {
|
|
13428
13419
|
borderRadius: 3,
|
13429
13420
|
width: 60,
|
13430
13421
|
height: 60,
|
13431
|
-
|
13422
|
+
marginInlineStart: 8
|
13432
13423
|
},
|
13433
13424
|
title: {
|
13434
13425
|
fontSize: 12,
|
13435
|
-
color: '#000'
|
13436
|
-
textAlign: 'left'
|
13426
|
+
color: '#000'
|
13437
13427
|
},
|
13438
13428
|
ctaTitle: {
|
13439
13429
|
fontSize: 10,
|
@@ -13481,7 +13471,7 @@ const MultiCommodity$1 = (_a) => {
|
|
13481
13471
|
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]);
|
13482
13472
|
return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
|
13483
13473
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
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,
|
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' },
|
13485
13475
|
React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
|
13486
13476
|
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 }),
|
13487
13477
|
React.createElement("div", { className: css({
|
@@ -13527,12 +13517,11 @@ const MultiCommodity = createMaterial(MultiCommodityComponent, {
|
|
13527
13517
|
borderRadius: 3,
|
13528
13518
|
width: 60,
|
13529
13519
|
height: 60,
|
13530
|
-
|
13520
|
+
marginInlineStart: 8
|
13531
13521
|
},
|
13532
13522
|
title: {
|
13533
13523
|
fontSize: 12,
|
13534
13524
|
color: '#fff',
|
13535
|
-
textAlign: 'left'
|
13536
13525
|
},
|
13537
13526
|
ctaTitle: {
|
13538
13527
|
fontSize: 10,
|
@@ -13588,7 +13577,7 @@ const MultiCommodityDiroNew$1 = (_a) => {
|
|
13588
13577
|
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]);
|
13589
13578
|
return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
|
13590
13579
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
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,
|
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' },
|
13592
13581
|
React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
|
13593
13582
|
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 }),
|
13594
13583
|
React.createElement("div", { className: css({
|
@@ -13635,19 +13624,17 @@ const MultiCommodityDiroNew = createMaterial(MultiCommodityDiroNewComponent, {
|
|
13635
13624
|
borderRadius: 8,
|
13636
13625
|
width: 78,
|
13637
13626
|
height: 78,
|
13638
|
-
|
13627
|
+
marginInlineStart: 16
|
13639
13628
|
},
|
13640
13629
|
title: {
|
13641
13630
|
fontSize: 12,
|
13642
|
-
color: '#000'
|
13643
|
-
textAlign: 'left'
|
13631
|
+
color: '#000'
|
13644
13632
|
},
|
13645
13633
|
ctaTitle: {
|
13646
13634
|
textDecoration: 'underline',
|
13647
13635
|
fontSize: 12,
|
13648
13636
|
fontWeight: 'bold',
|
13649
13637
|
color: '#000',
|
13650
|
-
textAlign: 'left',
|
13651
13638
|
width: 150,
|
13652
13639
|
height: 20
|
13653
13640
|
}
|
@@ -13742,12 +13729,11 @@ const NineCommodity = createMaterial(NineCommodityComponent, {
|
|
13742
13729
|
borderRadius: 3,
|
13743
13730
|
width: 60,
|
13744
13731
|
height: 60,
|
13745
|
-
|
13732
|
+
marginInlineStart: 8
|
13746
13733
|
},
|
13747
13734
|
title: {
|
13748
13735
|
fontSize: 12,
|
13749
|
-
color: '#fff'
|
13750
|
-
textAlign: 'left'
|
13736
|
+
color: '#fff'
|
13751
13737
|
},
|
13752
13738
|
ctaTitle: {
|
13753
13739
|
fontSize: 10,
|
@@ -16667,6 +16653,60 @@ var settingRender$4 = [
|
|
16667
16653
|
}
|
16668
16654
|
];
|
16669
16655
|
|
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
|
+
|
16670
16710
|
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"};
|
16671
16711
|
|
16672
16712
|
const closeIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=';
|
@@ -16739,60 +16779,6 @@ const AniLinkPopup$1 = (_a) => {
|
|
16739
16779
|
};
|
16740
16780
|
var AniLinkPopupComponent = memo(AniLinkPopup$1);
|
16741
16781
|
|
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
|
-
|
16796
16782
|
/*
|
16797
16783
|
* @Author: binruan@chatlabs.com
|
16798
16784
|
* @Date: 2024-07-24 14:58:40
|
@@ -16831,7 +16817,6 @@ const AniLinkPopup = createMaterial(AniLinkPopupComponent, {
|
|
16831
16817
|
title: {
|
16832
16818
|
fontSize: 14,
|
16833
16819
|
color: '#000',
|
16834
|
-
textAlign: 'left',
|
16835
16820
|
lineHeight: 2.6
|
16836
16821
|
},
|
16837
16822
|
ctaTitle: {
|
@@ -17060,7 +17045,7 @@ const Display$1 = (_a) => {
|
|
17060
17045
|
React.createElement("span", { style: content === null || content === void 0 ? void 0 : content.style, dangerouslySetInnerHTML: {
|
17061
17046
|
__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)
|
17062
17047
|
} }),
|
17063
|
-
React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), {
|
17048
|
+
React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginInlineEnd: '5px' }), dangerouslySetInnerHTML: {
|
17064
17049
|
__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)
|
17065
17050
|
}, onClick: handleClick })),
|
17066
17051
|
isShowClose && (React.createElement("button", { "aria-label": 'close', className: 'consentPopupDisplay-close', onClick: handleClickClose },
|
@@ -18791,7 +18776,7 @@ const RenderCard = ({ rec, index, tempMap, resolver, includesCtaType, isActive,
|
|
18791
18776
|
const sbf = style.backdropFilter;
|
18792
18777
|
style.backdropFilter = `blur(${sbf !== null && sbf !== void 0 ? sbf : 0}px)`;
|
18793
18778
|
}
|
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,
|
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 })));
|
18795
18780
|
}
|
18796
18781
|
else {
|
18797
18782
|
return null;
|