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/pb-ui.js
CHANGED
@@ -2632,6 +2632,35 @@
|
|
2632
2632
|
}
|
2633
2633
|
];
|
2634
2634
|
|
2635
|
+
/*
|
2636
|
+
* @Author: binruan@chatlabs.com
|
2637
|
+
* @Date: 2024-07-09 14:35:10
|
2638
|
+
* @LastEditors: binruan@chatlabs.com
|
2639
|
+
* @LastEditTime: 2024-07-12 17:53:02
|
2640
|
+
* @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
|
2641
|
+
*
|
2642
|
+
*/
|
2643
|
+
/*
|
2644
|
+
* @Author: binruan@chatlabs.com
|
2645
|
+
* @Date: 2024-07-05 14:08:41
|
2646
|
+
* @LastEditors: binruan@chatlabs.com
|
2647
|
+
* @LastEditTime: 2024-07-09 14:34:49
|
2648
|
+
* @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
|
2649
|
+
*
|
2650
|
+
*/
|
2651
|
+
var interactionRender$g = [
|
2652
|
+
{
|
2653
|
+
title: '滑动事件',
|
2654
|
+
child: [
|
2655
|
+
{
|
2656
|
+
type: 'Switch',
|
2657
|
+
label: '滑动铺满全屏',
|
2658
|
+
name: ['isScrollFullScreen']
|
2659
|
+
}
|
2660
|
+
]
|
2661
|
+
}
|
2662
|
+
];
|
2663
|
+
|
2635
2664
|
/**
|
2636
2665
|
* SSR Window 4.0.2
|
2637
2666
|
* Better handling for window object in SSR environment
|
@@ -10210,7 +10239,7 @@
|
|
10210
10239
|
return (React.createElement(React.Fragment, null, (item === null || item === void 0 ? void 0 : item.bindCta) ? (React.createElement(SwiperSlide, { className: css.css({
|
10211
10240
|
width: '50px',
|
10212
10241
|
height: '50px',
|
10213
|
-
|
10242
|
+
marginInlineStart: '10px'
|
10214
10243
|
}), onClick: () => {
|
10215
10244
|
handleClick(item, index);
|
10216
10245
|
}, key: index },
|
@@ -10809,35 +10838,6 @@
|
|
10809
10838
|
};
|
10810
10839
|
var CommodityDetailComponent = React.memo(CommodityDetail$1);
|
10811
10840
|
|
10812
|
-
/*
|
10813
|
-
* @Author: binruan@chatlabs.com
|
10814
|
-
* @Date: 2024-07-09 14:35:10
|
10815
|
-
* @LastEditors: binruan@chatlabs.com
|
10816
|
-
* @LastEditTime: 2024-07-12 17:53:02
|
10817
|
-
* @FilePath: \pb-sxp-ui\src\materials\sxp\popup\CommodityDetail\interactionRender.tsx
|
10818
|
-
*
|
10819
|
-
*/
|
10820
|
-
/*
|
10821
|
-
* @Author: binruan@chatlabs.com
|
10822
|
-
* @Date: 2024-07-05 14:08:41
|
10823
|
-
* @LastEditors: binruan@chatlabs.com
|
10824
|
-
* @LastEditTime: 2024-07-09 14:34:49
|
10825
|
-
* @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLink\interactionRender.tsx
|
10826
|
-
*
|
10827
|
-
*/
|
10828
|
-
var interactionRender$g = [
|
10829
|
-
{
|
10830
|
-
title: '滑动事件',
|
10831
|
-
child: [
|
10832
|
-
{
|
10833
|
-
type: 'Switch',
|
10834
|
-
label: '滑动铺满全屏',
|
10835
|
-
name: ['isScrollFullScreen']
|
10836
|
-
}
|
10837
|
-
]
|
10838
|
-
}
|
10839
|
-
];
|
10840
|
-
|
10841
10841
|
/*
|
10842
10842
|
* @Author: binruan@chatlabs.com
|
10843
10843
|
* @Date: 2023-07-28 18:29:57
|
@@ -10884,7 +10884,6 @@
|
|
10884
10884
|
taxInfo: {
|
10885
10885
|
color: '#000',
|
10886
10886
|
fontSize: 13,
|
10887
|
-
textAlign: 'left',
|
10888
10887
|
marginBottom: '10px'
|
10889
10888
|
}
|
10890
10889
|
},
|
@@ -11976,7 +11975,7 @@ Made in Italy` })));
|
|
11976
11975
|
type: 'Number',
|
11977
11976
|
label: '与右侧边距',
|
11978
11977
|
addonAfter: 'px',
|
11979
|
-
name: ['props', 'commodityPicture', '
|
11978
|
+
name: ['props', 'commodityPicture', 'marginInlineStart']
|
11980
11979
|
},
|
11981
11980
|
{
|
11982
11981
|
label: '居中垂直偏移',
|
@@ -12262,12 +12261,11 @@ Made in Italy` })));
|
|
12262
12261
|
React.createElement("button", Object.assign({ role: 'button', "aria-label": item === null || item === void 0 ? void 0 : item.title, tabIndex: 0, className: css.css({
|
12263
12262
|
display: 'flex',
|
12264
12263
|
alignItems: 'normal',
|
12265
|
-
width: '100%'
|
12266
|
-
textAlign: 'left'
|
12264
|
+
width: '100%'
|
12267
12265
|
}) }, props),
|
12268
12266
|
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 }),
|
12269
12267
|
React.createElement("div", { style: {
|
12270
|
-
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.
|
12268
|
+
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)`,
|
12271
12269
|
display: 'flex',
|
12272
12270
|
flexDirection: 'column',
|
12273
12271
|
justifyContent: 'space-between'
|
@@ -12348,7 +12346,7 @@ Made in Italy` })));
|
|
12348
12346
|
commodityPicture: {
|
12349
12347
|
width: 100,
|
12350
12348
|
height: 100,
|
12351
|
-
|
12349
|
+
marginInlineStart: 10
|
12352
12350
|
},
|
12353
12351
|
commodityStyles: {
|
12354
12352
|
price: {
|
@@ -12594,7 +12592,7 @@ Made in Italy` })));
|
|
12594
12592
|
type: 'Number',
|
12595
12593
|
label: '与右侧边距',
|
12596
12594
|
addonAfter: 'px',
|
12597
|
-
name: ['props', 'ctaTempStyles', 'img', '
|
12595
|
+
name: ['props', 'ctaTempStyles', 'img', 'marginInlineStart']
|
12598
12596
|
},
|
12599
12597
|
{
|
12600
12598
|
label: '居中垂直偏移',
|
@@ -12855,12 +12853,11 @@ Made in Italy` })));
|
|
12855
12853
|
borderRadius: 3,
|
12856
12854
|
width: 60,
|
12857
12855
|
height: 60,
|
12858
|
-
|
12856
|
+
marginInlineStart: 8
|
12859
12857
|
},
|
12860
12858
|
title: {
|
12861
12859
|
fontSize: 12,
|
12862
|
-
color: '#fff'
|
12863
|
-
textAlign: 'left'
|
12860
|
+
color: '#fff'
|
12864
12861
|
},
|
12865
12862
|
ctaTitle: {
|
12866
12863
|
fontSize: 10,
|
@@ -12938,12 +12935,11 @@ Made in Italy` })));
|
|
12938
12935
|
borderRadius: 3,
|
12939
12936
|
width: 30,
|
12940
12937
|
height: 30,
|
12941
|
-
|
12938
|
+
marginInlineStart: 8
|
12942
12939
|
},
|
12943
12940
|
ctaTitle: {
|
12944
12941
|
fontSize: 12,
|
12945
12942
|
color: '#fff',
|
12946
|
-
textAlign: 'left',
|
12947
12943
|
width: 130,
|
12948
12944
|
height: 20
|
12949
12945
|
}
|
@@ -13079,6 +13075,27 @@ Made in Italy` })));
|
|
13079
13075
|
}
|
13080
13076
|
];
|
13081
13077
|
|
13078
|
+
/*
|
13079
|
+
* @Author: binruan@chatlabs.com
|
13080
|
+
* @Date: 2024-08-09 16:59:38
|
13081
|
+
* @LastEditors: binruan@chatlabs.com
|
13082
|
+
* @LastEditTime: 2024-09-09 13:59:50
|
13083
|
+
* @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
|
13084
|
+
*
|
13085
|
+
*/
|
13086
|
+
var interactionRender$a = [
|
13087
|
+
{
|
13088
|
+
title: '点击事件',
|
13089
|
+
child: [
|
13090
|
+
{
|
13091
|
+
type: 'link',
|
13092
|
+
name: 'onClick',
|
13093
|
+
hiddenUrl: true
|
13094
|
+
}
|
13095
|
+
]
|
13096
|
+
}
|
13097
|
+
];
|
13098
|
+
|
13082
13099
|
var styles$8 = {"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};
|
13083
13100
|
|
13084
13101
|
const Link$1 = (_a) => {
|
@@ -13106,27 +13123,6 @@ Made in Italy` })));
|
|
13106
13123
|
};
|
13107
13124
|
var LinkComponent = React.memo(Link$1);
|
13108
13125
|
|
13109
|
-
/*
|
13110
|
-
* @Author: binruan@chatlabs.com
|
13111
|
-
* @Date: 2024-08-09 16:59:38
|
13112
|
-
* @LastEditors: binruan@chatlabs.com
|
13113
|
-
* @LastEditTime: 2024-09-09 13:59:50
|
13114
|
-
* @FilePath: \pb-sxp-ui\src\materials\sxp\template\Link\interactionRender.tsx
|
13115
|
-
*
|
13116
|
-
*/
|
13117
|
-
var interactionRender$a = [
|
13118
|
-
{
|
13119
|
-
title: '点击事件',
|
13120
|
-
child: [
|
13121
|
-
{
|
13122
|
-
type: 'link',
|
13123
|
-
name: 'onClick',
|
13124
|
-
hiddenUrl: true
|
13125
|
-
}
|
13126
|
-
]
|
13127
|
-
}
|
13128
|
-
];
|
13129
|
-
|
13130
13126
|
var _a;
|
13131
13127
|
const Link = createMaterial(LinkComponent, {
|
13132
13128
|
displayName: '普通CTA',
|
@@ -13145,19 +13141,17 @@ Made in Italy` })));
|
|
13145
13141
|
borderRadius: 3,
|
13146
13142
|
width: 60,
|
13147
13143
|
height: 60,
|
13148
|
-
|
13144
|
+
marginInlineStart: 8
|
13149
13145
|
},
|
13150
13146
|
ctaTitle: {
|
13151
13147
|
fontSize: 12,
|
13152
13148
|
color: '#fff',
|
13153
|
-
textAlign: 'left',
|
13154
13149
|
width: 130,
|
13155
13150
|
height: 20
|
13156
13151
|
}
|
13157
13152
|
},
|
13158
13153
|
customTitle: {
|
13159
13154
|
style: {
|
13160
|
-
textAlign: 'left',
|
13161
13155
|
textDecoration: 'underline',
|
13162
13156
|
fontWeight: 'bold',
|
13163
13157
|
width: 130,
|
@@ -13247,12 +13241,11 @@ Made in Italy` })));
|
|
13247
13241
|
borderRadius: 3,
|
13248
13242
|
width: 60,
|
13249
13243
|
height: 60,
|
13250
|
-
|
13244
|
+
marginInlineStart: 8
|
13251
13245
|
},
|
13252
13246
|
title: {
|
13253
13247
|
fontSize: 12,
|
13254
|
-
color: '#000'
|
13255
|
-
textAlign: 'left'
|
13248
|
+
color: '#000'
|
13256
13249
|
},
|
13257
13250
|
ctaTitle: {
|
13258
13251
|
fontSize: 10,
|
@@ -13343,19 +13336,17 @@ Made in Italy` })));
|
|
13343
13336
|
borderRadius: 8,
|
13344
13337
|
width: 78,
|
13345
13338
|
height: 78,
|
13346
|
-
|
13339
|
+
marginInlineStart: 16
|
13347
13340
|
},
|
13348
13341
|
title: {
|
13349
13342
|
fontSize: 13,
|
13350
|
-
color: '#000'
|
13351
|
-
textAlign: 'left'
|
13343
|
+
color: '#000'
|
13352
13344
|
},
|
13353
13345
|
ctaTitle: {
|
13354
13346
|
textDecoration: 'underline',
|
13355
13347
|
fontSize: 14,
|
13356
13348
|
fontWeight: 'bold',
|
13357
13349
|
color: '#000',
|
13358
|
-
textAlign: 'left',
|
13359
13350
|
width: 150,
|
13360
13351
|
height: 20
|
13361
13352
|
}
|
@@ -13397,7 +13388,7 @@ Made in Italy` })));
|
|
13397
13388
|
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]);
|
13398
13389
|
return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
|
13399
13390
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
13400
|
-
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,
|
13391
|
+
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' },
|
13401
13392
|
React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
|
13402
13393
|
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 }),
|
13403
13394
|
React.createElement("div", { className: css.css({
|
@@ -13443,12 +13434,11 @@ Made in Italy` })));
|
|
13443
13434
|
borderRadius: 3,
|
13444
13435
|
width: 60,
|
13445
13436
|
height: 60,
|
13446
|
-
|
13437
|
+
marginInlineStart: 8
|
13447
13438
|
},
|
13448
13439
|
title: {
|
13449
13440
|
fontSize: 12,
|
13450
|
-
color: '#000'
|
13451
|
-
textAlign: 'left'
|
13441
|
+
color: '#000'
|
13452
13442
|
},
|
13453
13443
|
ctaTitle: {
|
13454
13444
|
fontSize: 10,
|
@@ -13496,7 +13486,7 @@ Made in Italy` })));
|
|
13496
13486
|
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]);
|
13497
13487
|
return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
|
13498
13488
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
13499
|
-
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,
|
13489
|
+
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' },
|
13500
13490
|
React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
|
13501
13491
|
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 }),
|
13502
13492
|
React.createElement("div", { className: css.css({
|
@@ -13542,12 +13532,11 @@ Made in Italy` })));
|
|
13542
13532
|
borderRadius: 3,
|
13543
13533
|
width: 60,
|
13544
13534
|
height: 60,
|
13545
|
-
|
13535
|
+
marginInlineStart: 8
|
13546
13536
|
},
|
13547
13537
|
title: {
|
13548
13538
|
fontSize: 12,
|
13549
13539
|
color: '#fff',
|
13550
|
-
textAlign: 'left'
|
13551
13540
|
},
|
13552
13541
|
ctaTitle: {
|
13553
13542
|
fontSize: 10,
|
@@ -13603,7 +13592,7 @@ Made in Italy` })));
|
|
13603
13592
|
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]);
|
13604
13593
|
return (React.createElement(Scroll$1, { isPadding: !!recData }, products === null || products === void 0 ? void 0 : products.map((item, itemIndex) => {
|
13605
13594
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
13606
|
-
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,
|
13595
|
+
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' },
|
13607
13596
|
React.createElement(EventProvider$1, Object.assign({ rec: recData, multItem: item, multiCheckIndex: itemIndex, index: index }, props),
|
13608
13597
|
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 }),
|
13609
13598
|
React.createElement("div", { className: css.css({
|
@@ -13650,19 +13639,17 @@ Made in Italy` })));
|
|
13650
13639
|
borderRadius: 8,
|
13651
13640
|
width: 78,
|
13652
13641
|
height: 78,
|
13653
|
-
|
13642
|
+
marginInlineStart: 16
|
13654
13643
|
},
|
13655
13644
|
title: {
|
13656
13645
|
fontSize: 12,
|
13657
|
-
color: '#000'
|
13658
|
-
textAlign: 'left'
|
13646
|
+
color: '#000'
|
13659
13647
|
},
|
13660
13648
|
ctaTitle: {
|
13661
13649
|
textDecoration: 'underline',
|
13662
13650
|
fontSize: 12,
|
13663
13651
|
fontWeight: 'bold',
|
13664
13652
|
color: '#000',
|
13665
|
-
textAlign: 'left',
|
13666
13653
|
width: 150,
|
13667
13654
|
height: 20
|
13668
13655
|
}
|
@@ -13757,12 +13744,11 @@ Made in Italy` })));
|
|
13757
13744
|
borderRadius: 3,
|
13758
13745
|
width: 60,
|
13759
13746
|
height: 60,
|
13760
|
-
|
13747
|
+
marginInlineStart: 8
|
13761
13748
|
},
|
13762
13749
|
title: {
|
13763
13750
|
fontSize: 12,
|
13764
|
-
color: '#fff'
|
13765
|
-
textAlign: 'left'
|
13751
|
+
color: '#fff'
|
13766
13752
|
},
|
13767
13753
|
ctaTitle: {
|
13768
13754
|
fontSize: 10,
|
@@ -16682,6 +16668,60 @@ Made in Italy` })));
|
|
16682
16668
|
}
|
16683
16669
|
];
|
16684
16670
|
|
16671
|
+
/*
|
16672
|
+
* @Author: binruan@chatlabs.com
|
16673
|
+
* @Date: 2024-07-24 14:58:40
|
16674
|
+
* @LastEditors: binruan@chatlabs.com
|
16675
|
+
* @LastEditTime: 2024-09-09 13:54:35
|
16676
|
+
* @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
|
16677
|
+
*
|
16678
|
+
*/
|
16679
|
+
var interactionRender$2 = [
|
16680
|
+
{
|
16681
|
+
title: '点击事件',
|
16682
|
+
child: [
|
16683
|
+
{
|
16684
|
+
type: 'link',
|
16685
|
+
name: 'onClick',
|
16686
|
+
hiddenUrl: true
|
16687
|
+
}
|
16688
|
+
]
|
16689
|
+
},
|
16690
|
+
{
|
16691
|
+
title: '动画效果',
|
16692
|
+
child: [
|
16693
|
+
{
|
16694
|
+
type: 'Select',
|
16695
|
+
name: ['animation', 'name'],
|
16696
|
+
label: '动画',
|
16697
|
+
options: [
|
16698
|
+
{
|
16699
|
+
label: '默认',
|
16700
|
+
value: 1
|
16701
|
+
}
|
16702
|
+
],
|
16703
|
+
fieldProps: {
|
16704
|
+
style: {
|
16705
|
+
width: '100%'
|
16706
|
+
}
|
16707
|
+
}
|
16708
|
+
},
|
16709
|
+
{
|
16710
|
+
type: 'Number',
|
16711
|
+
label: '动画启动时间',
|
16712
|
+
name: ['animation', 'delay'],
|
16713
|
+
addonAfter: 'ms'
|
16714
|
+
},
|
16715
|
+
{
|
16716
|
+
type: 'Number',
|
16717
|
+
label: '动画持续时间',
|
16718
|
+
name: ['animation', 'duration'],
|
16719
|
+
addonAfter: 'ms'
|
16720
|
+
}
|
16721
|
+
]
|
16722
|
+
}
|
16723
|
+
];
|
16724
|
+
|
16685
16725
|
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"};
|
16686
16726
|
|
16687
16727
|
const closeIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=';
|
@@ -16754,60 +16794,6 @@ Made in Italy` })));
|
|
16754
16794
|
};
|
16755
16795
|
var AniLinkPopupComponent = React.memo(AniLinkPopup$1);
|
16756
16796
|
|
16757
|
-
/*
|
16758
|
-
* @Author: binruan@chatlabs.com
|
16759
|
-
* @Date: 2024-07-24 14:58:40
|
16760
|
-
* @LastEditors: binruan@chatlabs.com
|
16761
|
-
* @LastEditTime: 2024-09-09 13:54:35
|
16762
|
-
* @FilePath: \pb-sxp-ui\src\materials\sxp\cta\AniLinkPopup\interactionRender.tsx
|
16763
|
-
*
|
16764
|
-
*/
|
16765
|
-
var interactionRender$2 = [
|
16766
|
-
{
|
16767
|
-
title: '点击事件',
|
16768
|
-
child: [
|
16769
|
-
{
|
16770
|
-
type: 'link',
|
16771
|
-
name: 'onClick',
|
16772
|
-
hiddenUrl: true
|
16773
|
-
}
|
16774
|
-
]
|
16775
|
-
},
|
16776
|
-
{
|
16777
|
-
title: '动画效果',
|
16778
|
-
child: [
|
16779
|
-
{
|
16780
|
-
type: 'Select',
|
16781
|
-
name: ['animation', 'name'],
|
16782
|
-
label: '动画',
|
16783
|
-
options: [
|
16784
|
-
{
|
16785
|
-
label: '默认',
|
16786
|
-
value: 1
|
16787
|
-
}
|
16788
|
-
],
|
16789
|
-
fieldProps: {
|
16790
|
-
style: {
|
16791
|
-
width: '100%'
|
16792
|
-
}
|
16793
|
-
}
|
16794
|
-
},
|
16795
|
-
{
|
16796
|
-
type: 'Number',
|
16797
|
-
label: '动画启动时间',
|
16798
|
-
name: ['animation', 'delay'],
|
16799
|
-
addonAfter: 'ms'
|
16800
|
-
},
|
16801
|
-
{
|
16802
|
-
type: 'Number',
|
16803
|
-
label: '动画持续时间',
|
16804
|
-
name: ['animation', 'duration'],
|
16805
|
-
addonAfter: 'ms'
|
16806
|
-
}
|
16807
|
-
]
|
16808
|
-
}
|
16809
|
-
];
|
16810
|
-
|
16811
16797
|
/*
|
16812
16798
|
* @Author: binruan@chatlabs.com
|
16813
16799
|
* @Date: 2024-07-24 14:58:40
|
@@ -16846,7 +16832,6 @@ Made in Italy` })));
|
|
16846
16832
|
title: {
|
16847
16833
|
fontSize: 14,
|
16848
16834
|
color: '#000',
|
16849
|
-
textAlign: 'left',
|
16850
16835
|
lineHeight: 2.6
|
16851
16836
|
},
|
16852
16837
|
ctaTitle: {
|
@@ -17075,7 +17060,7 @@ Made in Italy` })));
|
|
17075
17060
|
React.createElement("span", { style: content === null || content === void 0 ? void 0 : content.style, dangerouslySetInnerHTML: {
|
17076
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)
|
17077
17062
|
} }),
|
17078
|
-
React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), {
|
17063
|
+
React.createElement("span", { style: Object.assign(Object.assign({}, interaction === null || interaction === void 0 ? void 0 : interaction.style), { marginInlineEnd: '5px' }), dangerouslySetInnerHTML: {
|
17079
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)
|
17080
17065
|
}, onClick: handleClick })),
|
17081
17066
|
isShowClose && (React.createElement("button", { "aria-label": 'close', className: 'consentPopupDisplay-close', onClick: handleClickClose },
|
@@ -18806,7 +18791,7 @@ Made in Italy` })));
|
|
18806
18791
|
const sbf = style.backdropFilter;
|
18807
18792
|
style.backdropFilter = `blur(${sbf !== null && sbf !== void 0 ? sbf : 0}px)`;
|
18808
18793
|
}
|
18809
|
-
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,
|
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, 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 })));
|
18810
18795
|
}
|
18811
18796
|
else {
|
18812
18797
|
return null;
|