pb-sxp-ui 1.10.0 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- 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 +5 -5
- 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/index.js +2 -2
- package/es/core/context/SxpDataSourceProvider.js +1 -1
- package/es/materials/sxp/MultiPosts/index.js +1 -1
- package/lib/core/components/SxpPageRender/index.js +2 -2
- package/lib/core/context/SxpDataSourceProvider.js +1 -1
- package/lib/materials/sxp/MultiPosts/index.js +1 -1
- package/package.json +1 -1
package/dist/pb-ui.js
CHANGED
@@ -1009,7 +1009,7 @@
|
|
1009
1009
|
h5EnterLink();
|
1010
1010
|
}, [isShowConsent]);
|
1011
1011
|
React.useEffect(() => {
|
1012
|
-
if (isShowConsent)
|
1012
|
+
if (isShowConsent || isPreview)
|
1013
1013
|
return;
|
1014
1014
|
setLoading(true);
|
1015
1015
|
let layId;
|
@@ -16814,7 +16814,7 @@ Made in Italy` })));
|
|
16814
16814
|
var { bgImgUrl, style, recData } = _a, props = __rest(_a, ["bgImgUrl", "style", "recData"]);
|
16815
16815
|
const { setChannel } = useEditor();
|
16816
16816
|
const { bffEventReport, curTime } = useSxpDataSource();
|
16817
|
-
const { isActive } = useSwiperSlide();
|
16817
|
+
const { isActive } = useSwiperSlide() || {};
|
16818
16818
|
const initRef = React.useRef(false);
|
16819
16819
|
const viewTime = React.useRef();
|
16820
16820
|
const traceinfo = (_c = (_b = recData === null || recData === void 0 ? void 0 : recData.video) === null || _b === void 0 ? void 0 : _b.traceInfo) !== null && _c !== void 0 ? _c : '';
|
@@ -17929,7 +17929,7 @@ Made in Italy` })));
|
|
17929
17929
|
* @Author: binruan@chatlabs.com
|
17930
17930
|
* @Date: 2024-03-20 10:27:31
|
17931
17931
|
* @LastEditors: binruan@chatlabs.com
|
17932
|
-
* @LastEditTime: 2024-11-27
|
17932
|
+
* @LastEditTime: 2024-11-27 15:55:34
|
17933
17933
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\index.tsx
|
17934
17934
|
*
|
17935
17935
|
*/
|
@@ -18442,8 +18442,8 @@ Made in Italy` })));
|
|
18442
18442
|
React.createElement(Tagbar$1, { tagList: tagList, setActiveIndex: setActiveIndex, style: {
|
18443
18443
|
top: minusHeight
|
18444
18444
|
} }),
|
18445
|
-
((_f = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.backButton) === null || _f === void 0 ? void 0 : _f.enable) && !channel && (React.createElement(NavBack$1, { data: globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.backButton, minusHeight: minusHeight, tagHeight: tagHeight, onClick: () => history === null || history === void 0 ? void 0 : history.back() })),
|
18446
|
-
((_l = (_k = (_j = (_h = (_g = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.multiPosts) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.item) === null || _j === void 0 ? void 0 : _j.props) === null || _k === void 0 ? void 0 : _k.backButton) === null || _l === void 0 ? void 0 : _l.enable) && channel && (React.createElement(NavBack$1, { data: (_q = (_p = (_o = (_m = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.multiPosts) === null || _m === void 0 ? void 0 : _m[0]) === null || _o === void 0 ? void 0 : _o.item) === null || _p === void 0 ? void 0 : _p.props) === null || _q === void 0 ? void 0 : _q.backButton, minusHeight: minusHeight, tagHeight: tagHeight, onClick: () => {
|
18445
|
+
((_f = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.backButton) === null || _f === void 0 ? void 0 : _f.enable) && !channel && !openMultiPosts && (React.createElement(NavBack$1, { data: globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.backButton, minusHeight: minusHeight, tagHeight: tagHeight, onClick: () => history === null || history === void 0 ? void 0 : history.back() })),
|
18446
|
+
((((_l = (_k = (_j = (_h = (_g = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.multiPosts) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.item) === null || _j === void 0 ? void 0 : _j.props) === null || _k === void 0 ? void 0 : _k.backButton) === null || _l === void 0 ? void 0 : _l.enable) && channel) || openMultiPosts) && (React.createElement(NavBack$1, { data: (_q = (_p = (_o = (_m = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.multiPosts) === null || _m === void 0 ? void 0 : _m[0]) === null || _o === void 0 ? void 0 : _o.item) === null || _p === void 0 ? void 0 : _p.props) === null || _q === void 0 ? void 0 : _q.backButton, minusHeight: minusHeight, tagHeight: tagHeight, onClick: () => {
|
18447
18447
|
var _a, _b, _c;
|
18448
18448
|
bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
|
18449
18449
|
eventInfo: {
|