pb-sxp-ui 1.2.2 → 1.2.3
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 +24 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +36 -1
- package/dist/index.js +24 -18
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +3 -3
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +24 -18
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +3 -3
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/Pagebuilder/type.d.ts +1 -0
- package/es/core/components/SxpPageCore/index.js +1 -1
- package/es/core/context/SxpDataSourceProvider.d.ts +1 -0
- package/es/core/context/SxpDataSourceProvider.js +3 -3
- package/es/materials/sxp/cta/AniLink/index.js +1 -1
- package/es/materials/sxp/cta/AniLinkPopup/index.js +3 -3
- package/es/materials/sxp/popup/CommodityList/index.js +13 -7
- package/lib/core/Pagebuilder/type.d.ts +1 -0
- package/lib/core/components/SxpPageCore/index.js +1 -1
- package/lib/core/context/SxpDataSourceProvider.d.ts +1 -0
- package/lib/core/context/SxpDataSourceProvider.js +3 -3
- package/lib/materials/sxp/cta/AniLink/index.js +1 -1
- package/lib/materials/sxp/cta/AniLinkPopup/index.js +3 -3
- package/lib/materials/sxp/popup/CommodityList/index.js +13 -7
- package/package.json +1 -1
package/dist/index.css
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
.pb-appoint-form {
|
2
2
|
position: relative;
|
3
|
+
height: 100%;
|
3
4
|
}
|
4
5
|
.pb-appoint-form-loading {
|
5
6
|
font-size: 24px;
|
@@ -660,6 +661,20 @@
|
|
660
661
|
.commondityDiroNew-swiper-clickable-center {
|
661
662
|
bottom: 14px !important;
|
662
663
|
}
|
664
|
+
.one-line-ellipsis {
|
665
|
+
text-overflow: ellipsis;
|
666
|
+
overflow: hidden;
|
667
|
+
word-break: break-all;
|
668
|
+
white-space: nowrap;
|
669
|
+
}
|
670
|
+
.two-line-ellipsis {
|
671
|
+
display: -webkit-box;
|
672
|
+
-webkit-box-orient: vertical;
|
673
|
+
-webkit-line-clamp: 2;
|
674
|
+
text-overflow: ellipsis;
|
675
|
+
overflow: hidden;
|
676
|
+
word-wrap: break-word;
|
677
|
+
}
|
663
678
|
|
664
679
|
.index-module_tow-line-ellipsis__3bKKx {
|
665
680
|
display: -webkit-box;
|
@@ -1088,6 +1103,20 @@
|
|
1088
1103
|
-webkit-animation-fill-mode: forwards;
|
1089
1104
|
animation-fill-mode: forwards;
|
1090
1105
|
}
|
1106
|
+
.index-module_one-line-ellipsis__HutE0 {
|
1107
|
+
text-overflow: ellipsis;
|
1108
|
+
overflow: hidden;
|
1109
|
+
word-break: break-all;
|
1110
|
+
white-space: nowrap;
|
1111
|
+
}
|
1112
|
+
.index-module_two-line-ellipsis__c8gRJ {
|
1113
|
+
display: -webkit-box;
|
1114
|
+
-webkit-box-orient: vertical;
|
1115
|
+
-webkit-line-clamp: 2;
|
1116
|
+
text-overflow: ellipsis;
|
1117
|
+
overflow: hidden;
|
1118
|
+
word-wrap: break-word;
|
1119
|
+
}
|
1091
1120
|
|
1092
1121
|
@-webkit-keyframes index-module_fadeIn__2E-dk {
|
1093
1122
|
0% {
|
@@ -1158,7 +1187,13 @@
|
|
1158
1187
|
transform: translateY(0);
|
1159
1188
|
z-index: 1000;
|
1160
1189
|
}
|
1161
|
-
.index-
|
1190
|
+
.index-module_one-line-ellipsis__NRiVV {
|
1191
|
+
text-overflow: ellipsis;
|
1192
|
+
overflow: hidden;
|
1193
|
+
word-break: break-all;
|
1194
|
+
white-space: nowrap;
|
1195
|
+
}
|
1196
|
+
.index-module_two-line-ellipsis__k-YGB {
|
1162
1197
|
display: -webkit-box;
|
1163
1198
|
-webkit-box-orient: vertical;
|
1164
1199
|
-webkit-line-clamp: 2;
|
package/dist/index.js
CHANGED
@@ -532,7 +532,7 @@ var DataSourceType;
|
|
532
532
|
DataSourceType[DataSourceType["BFF"] = 5] = "BFF";
|
533
533
|
})(DataSourceType || (DataSourceType = {}));
|
534
534
|
const DEFAULT_TAG = 'FOR U';
|
535
|
-
const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent = true, maxSize, defaultSize, isPreview = false, sxpParameter, appDomain, hashTagSize, loadingImage, isOpenHashTag = false, enabledMetaConversionApi = false, consentHeight, consentWidth, isShowTag = true, isOpenConsent = false, globalConfig, isEditor = false }) => {
|
535
|
+
const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent = true, maxSize, defaultSize, isPreview = false, sxpParameter, appDomain, hashTagSize, loadingImage, isOpenHashTag = false, enabledMetaConversionApi = false, consentHeight, consentWidth, isShowTag = true, isOpenConsent = false, globalConfig, isEditor = false, utmParameter }) => {
|
536
536
|
var _a, _b, _c;
|
537
537
|
const [rtcList, setRtcList] = useState([]);
|
538
538
|
const [tagList, setTagList] = useState([]);
|
@@ -614,7 +614,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
|
|
614
614
|
const val = (_h = (_g = (_f = utmVal === null || utmVal === void 0 ? void 0 : utmVal.split('&')) === null || _f === void 0 ? void 0 : _f.filter((val) => {
|
615
615
|
var _a, _b;
|
616
616
|
const key = val.split('=')[0];
|
617
|
-
return (_b = ((_a =
|
617
|
+
return (_b = ((_a = utmParameter === null || utmParameter === void 0 ? void 0 : utmParameter.channels) !== null && _a !== void 0 ? _a : [])) === null || _b === void 0 ? void 0 : _b.includes(key);
|
618
618
|
})) === null || _g === void 0 ? void 0 : _g.join('&')) !== null && _h !== void 0 ? _h : '';
|
619
619
|
query = Object.assign(Object.assign({}, query), { channel: decodeURIComponent(val) });
|
620
620
|
}
|
@@ -709,7 +709,7 @@ const SxpDataSourceProvider = ({ render, dataSources, utmVal, enableReportEvent
|
|
709
709
|
const val = (_o = (_m = (_l = utmVal === null || utmVal === void 0 ? void 0 : utmVal.split('&')) === null || _l === void 0 ? void 0 : _l.filter((val) => {
|
710
710
|
var _a, _b;
|
711
711
|
const key = val.split('=')[0];
|
712
|
-
return (_b = ((_a =
|
712
|
+
return (_b = ((_a = utmParameter === null || utmParameter === void 0 ? void 0 : utmParameter.channels) !== null && _a !== void 0 ? _a : [])) === null || _b === void 0 ? void 0 : _b.includes(key);
|
713
713
|
})) === null || _m === void 0 ? void 0 : _m.join('&')) !== null && _o !== void 0 ? _o : '';
|
714
714
|
const result = yield (bffFetch === null || bffFetch === void 0 ? void 0 : bffFetch('/tag/list', { method: 'GET', query: { channel: decodeURIComponent(val) } }));
|
715
715
|
setTagList((_q = (_p = result === null || result === void 0 ? void 0 : result.data) === null || _p === void 0 ? void 0 : _p.tags) !== null && _q !== void 0 ? _q : []);
|
@@ -10154,18 +10154,24 @@ const CommodityList$1 = (_a) => {
|
|
10154
10154
|
}
|
10155
10155
|
}, []);
|
10156
10156
|
return (React.createElement("div", { className: css(Object.assign(Object.assign({}, style), { display: 'flex', flexDirection: 'column', gap: '10px', padding: '0 20px', marginTop: '50px' })) }, product === null || product === void 0 ? void 0 : product.map((item, index) => {
|
10157
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
10157
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
10158
10158
|
return (React.createElement(EventProvider$1, Object.assign({ key: index, isExternalLink: isExternalLink, rec: recData, index: index }, props, { className: css({
|
10159
10159
|
display: 'flex'
|
10160
10160
|
}) }),
|
10161
10161
|
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 }),
|
10162
|
-
React.createElement("div", { style: {
|
10162
|
+
React.createElement("div", { style: {
|
10163
|
+
flex: 1,
|
10164
|
+
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 - ${(_g = style === null || style === void 0 ? void 0 : style.padding) !== null && _g !== void 0 ? _g : 0}px)`,
|
10165
|
+
display: 'flex',
|
10166
|
+
flexDirection: 'column',
|
10167
|
+
justifyContent: 'space-between'
|
10168
|
+
} },
|
10163
10169
|
React.createElement("div", null,
|
10164
|
-
React.createElement("div", { style: commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.title, hidden: !!item && !(item === null || item === void 0 ? void 0 : item.title), dangerouslySetInnerHTML: {
|
10165
|
-
__html: setFontForText((
|
10170
|
+
React.createElement("div", { className: 'one-line-ellipsis', style: commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.title, hidden: !!item && !(item === null || item === void 0 ? void 0 : item.title), dangerouslySetInnerHTML: {
|
10171
|
+
__html: setFontForText((_h = item === null || item === void 0 ? void 0 : item.title) !== null && _h !== void 0 ? _h : 'Pendant in Yellow Gold with Diamonds, Medium', commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.title)
|
10166
10172
|
} }),
|
10167
|
-
React.createElement("div", { style: commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.collection, hidden: !!item && (!(item === null || item === void 0 ? void 0 : item.collection) || (item === null || item === void 0 ? void 0 : item.collection) === ''), dangerouslySetInnerHTML: {
|
10168
|
-
__html: setFontForText((
|
10173
|
+
React.createElement("div", { className: 'two-line-ellipsis', style: commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.collection, hidden: !!item && (!(item === null || item === void 0 ? void 0 : item.collection) || (item === null || item === void 0 ? void 0 : item.collection) === ''), dangerouslySetInnerHTML: {
|
10174
|
+
__html: setFontForText((_j = item === null || item === void 0 ? void 0 : item.collection) !== null && _j !== void 0 ? _j : 'Tiffany Lock', commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.collection)
|
10169
10175
|
} })),
|
10170
10176
|
React.createElement("div", { className: css({
|
10171
10177
|
display: 'flex',
|
@@ -10178,7 +10184,7 @@ const CommodityList$1 = (_a) => {
|
|
10178
10184
|
__html: setFontForText(priceText(item), commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.price)
|
10179
10185
|
} }),
|
10180
10186
|
React.createElement("div", { className: 'one-line-ellipsis', style: Object.assign(Object.assign({}, buttonStyle), { padding: '0 15px', maxWidth: '100px' }), dangerouslySetInnerHTML: {
|
10181
|
-
__html: setFontForText((
|
10187
|
+
__html: setFontForText((_l = (_k = item === null || item === void 0 ? void 0 : item.bindCta) === null || _k === void 0 ? void 0 : _k.enTitle) !== null && _l !== void 0 ? _l : 'Shop Now', buttonStyle)
|
10182
10188
|
} })))));
|
10183
10189
|
})));
|
10184
10190
|
};
|
@@ -13911,7 +13917,7 @@ var settingRender$1 = [
|
|
13911
13917
|
}
|
13912
13918
|
];
|
13913
13919
|
|
13914
|
-
var styles$1 = {"animated-button":"index-module_animated-button__lqTbg","gradientCover":"index-module_gradientCover__5iUag"};
|
13920
|
+
var styles$1 = {"animated-button":"index-module_animated-button__lqTbg","gradientCover":"index-module_gradientCover__5iUag","one-line-ellipsis":"index-module_one-line-ellipsis__HutE0","two-line-ellipsis":"index-module_two-line-ellipsis__c8gRJ"};
|
13915
13921
|
|
13916
13922
|
const AniLink$1 = (_a) => {
|
13917
13923
|
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
@@ -13975,7 +13981,7 @@ const AniLink$1 = (_a) => {
|
|
13975
13981
|
return null;
|
13976
13982
|
return styles$1['animated-button'];
|
13977
13983
|
}, [visible]);
|
13978
|
-
return (React.createElement("div", Object.assign({ ref: ref, style: Object.assign(Object.assign(Object.assign({}, style), ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.ctaTitle), { lineHeight: `${(_l = style === null || style === void 0 ? void 0 : style.height) !== null && _l !== void 0 ? _l : 0}px` }) }, props, { className: `${aniNamStyle} ${css(aniTimStyle)} one-line-ellipsis`, onClick: handleTo, dangerouslySetInnerHTML: {
|
13984
|
+
return (React.createElement("div", Object.assign({ ref: ref, style: Object.assign(Object.assign(Object.assign({}, style), ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.ctaTitle), { lineHeight: `${(_l = style === null || style === void 0 ? void 0 : style.height) !== null && _l !== void 0 ? _l : 0}px` }) }, props, { className: `${aniNamStyle} ${css(aniTimStyle)} ${styles$1['one-line-ellipsis']}`, onClick: handleTo, dangerouslySetInnerHTML: {
|
13979
13985
|
__html: setFontForText(title, ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.ctaTitle)
|
13980
13986
|
} })));
|
13981
13987
|
};
|
@@ -14340,7 +14346,7 @@ var settingRender = [
|
|
14340
14346
|
}
|
14341
14347
|
];
|
14342
14348
|
|
14343
|
-
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","
|
14349
|
+
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"};
|
14344
14350
|
|
14345
14351
|
const closeIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=';
|
14346
14352
|
const AniLinkPopup$1 = (_a) => {
|
@@ -14398,7 +14404,7 @@ const AniLinkPopup$1 = (_a) => {
|
|
14398
14404
|
const aniNamStyle = useMemo(() => {
|
14399
14405
|
if (!visible)
|
14400
14406
|
return null;
|
14401
|
-
return startAni ? styles['animated-fadeIn'] :
|
14407
|
+
return startAni ? styles['animated-fadeIn'] : null;
|
14402
14408
|
}, [visible, startAni]);
|
14403
14409
|
return (React.createElement(React.Fragment, null, isTel ? (React.createElement("div", { style: {
|
14404
14410
|
height: '40px',
|
@@ -14408,10 +14414,10 @@ const AniLinkPopup$1 = (_a) => {
|
|
14408
14414
|
React.createElement("div", { onClick: onClose, className: styles['modal-icon-wrapper'], style: { padding: (_s = style === null || style === void 0 ? void 0 : style['padding']) !== null && _s !== void 0 ? _s : 0 } },
|
14409
14415
|
React.createElement("img", { src: (_t = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.popupCloseIcon) !== null && _t !== void 0 ? _t : closeIcon, alt: 'close', className: styles['modal-icon-wrapper-img'] })),
|
14410
14416
|
React.createElement(Img$1, { src: src, rec: recData, item: (_y = (_w = (_v = (_u = recData === null || recData === void 0 ? void 0 : recData.video) === null || _u === void 0 ? void 0 : _u.bindProducts) === null || _v === void 0 ? void 0 : _v[0]) !== null && _w !== void 0 ? _w : (_x = recData === null || recData === void 0 ? void 0 : recData.video) === null || _x === void 0 ? void 0 : _x.bindProduct) !== null && _y !== void 0 ? _y : recData === null || recData === void 0 ? void 0 : recData.video, index: index, translateY: translateY, imgStyle: ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.img }),
|
14411
|
-
React.createElement("div", { hidden: !!recData && !(product === null || product === void 0 ? void 0 : product.title), className: styles['
|
14417
|
+
React.createElement("div", { hidden: !!recData && !(product === null || product === void 0 ? void 0 : product.title), className: styles['two-line-ellipsis'], style: ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.title, dangerouslySetInnerHTML: {
|
14412
14418
|
__html: setFontForText((_z = product === null || product === void 0 ? void 0 : product.title) !== null && _z !== void 0 ? _z : 'Product Name', ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.title)
|
14413
14419
|
} }),
|
14414
|
-
React.createElement("div", { className: 'one-line-ellipsis', style: Object.assign(Object.assign({}, ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.ctaTitle), { lineHeight: ((_0 = ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.ctaTitle) === null || _0 === void 0 ? void 0 : _0.height) + 'px' }), dangerouslySetInnerHTML: {
|
14420
|
+
React.createElement("div", { className: styles['one-line-ellipsis'], style: Object.assign(Object.assign({}, ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.ctaTitle), { lineHeight: ((_0 = ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.ctaTitle) === null || _0 === void 0 ? void 0 : _0.height) + 'px' }), dangerouslySetInnerHTML: {
|
14415
14421
|
__html: setFontForText(title, ctaTempStyles === null || ctaTempStyles === void 0 ? void 0 : ctaTempStyles.ctaTitle)
|
14416
14422
|
} })))));
|
14417
14423
|
};
|
@@ -16270,7 +16276,7 @@ const Popup = () => {
|
|
16270
16276
|
* @Author: binruan@chatlabs.com
|
16271
16277
|
* @Date: 2024-01-15 19:03:09
|
16272
16278
|
* @LastEditors: binruan@chatlabs.com
|
16273
|
-
* @LastEditTime: 2024-
|
16279
|
+
* @LastEditTime: 2024-07-24 16:35:44
|
16274
16280
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageCore\index.tsx
|
16275
16281
|
*
|
16276
16282
|
*/
|
@@ -16294,7 +16300,7 @@ const SxpPageCore = ({ data, maxSize = 10, defaultSize = 10, hashTagSize = 20, l
|
|
16294
16300
|
return searchParams;
|
16295
16301
|
}, []);
|
16296
16302
|
return (React.createElement(EditorCore, { resolver: RESOLVER, enableDataSource: false, schema: data === null || data === void 0 ? void 0 : data.data, utmVal: utmVal },
|
16297
|
-
React.createElement(SxpDataSourceProvider$1, { utmVal: utmVal, dataSources: data === null || data === void 0 ? void 0 : data.data_sources, sxpParameter: data === null || data === void 0 ? void 0 : data.sxp_parameter, maxSize: (_b = (_a = data === null || data === void 0 ? void 0 : data.sxp_parameter) === null || _a === void 0 ? void 0 : _a.personalized_recommend) !== null && _b !== void 0 ? _b : maxSize, defaultSize: (_d = (_c = data === null || data === void 0 ? void 0 : data.sxp_parameter) === null || _c === void 0 ? void 0 : _c.default_recommend) !== null && _d !== void 0 ? _d : defaultSize, hashTagSize: (_f = (_e = data === null || data === void 0 ? void 0 : data.sxp_parameter) === null || _e === void 0 ? void 0 : _e.hash_tag_size) !== null && _f !== void 0 ? _f : hashTagSize, loadingImage: loadingImage, appDomain: appDomain, enabledMetaConversionApi: enabledMetaConversionApi, isShowTag: (_j = (_h = (_g = data === null || data === void 0 ? void 0 : data.data) === null || _g === void 0 ? void 0 : _g.sxpPageConf) === null || _h === void 0 ? void 0 : _h.globalConfig) === null || _j === void 0 ? void 0 : _j.isShowTag, globalConfig: (_l = (_k = data === null || data === void 0 ? void 0 : data.data) === null || _k === void 0 ? void 0 : _k.sxpPageConf) === null || _l === void 0 ? void 0 : _l.globalConfig, render: ({ rtcList, tagList }) => {
|
16303
|
+
React.createElement(SxpDataSourceProvider$1, { utmVal: utmVal, dataSources: data === null || data === void 0 ? void 0 : data.data_sources, sxpParameter: data === null || data === void 0 ? void 0 : data.sxp_parameter, maxSize: (_b = (_a = data === null || data === void 0 ? void 0 : data.sxp_parameter) === null || _a === void 0 ? void 0 : _a.personalized_recommend) !== null && _b !== void 0 ? _b : maxSize, defaultSize: (_d = (_c = data === null || data === void 0 ? void 0 : data.sxp_parameter) === null || _c === void 0 ? void 0 : _c.default_recommend) !== null && _d !== void 0 ? _d : defaultSize, hashTagSize: (_f = (_e = data === null || data === void 0 ? void 0 : data.sxp_parameter) === null || _e === void 0 ? void 0 : _e.hash_tag_size) !== null && _f !== void 0 ? _f : hashTagSize, loadingImage: loadingImage, appDomain: appDomain, enabledMetaConversionApi: enabledMetaConversionApi, isShowTag: (_j = (_h = (_g = data === null || data === void 0 ? void 0 : data.data) === null || _g === void 0 ? void 0 : _g.sxpPageConf) === null || _h === void 0 ? void 0 : _h.globalConfig) === null || _j === void 0 ? void 0 : _j.isShowTag, globalConfig: (_l = (_k = data === null || data === void 0 ? void 0 : data.data) === null || _k === void 0 ? void 0 : _k.sxpPageConf) === null || _l === void 0 ? void 0 : _l.globalConfig, utmParameter: data === null || data === void 0 ? void 0 : data.utm_parameter, render: ({ rtcList, tagList }) => {
|
16298
16304
|
var _a;
|
16299
16305
|
return (React.createElement(React.Fragment, null,
|
16300
16306
|
React.createElement(SxpPageRender, Object.assign({}, (_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.sxpPageConf, { tagList: tagList, data: rtcList, resolver: RESOLVER, licenseUrl: licenseUrl })),
|