pb-sxp-ui 1.0.10 → 1.0.11
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 +1 -1
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +1 -1
- 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 +1 -1
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/WaterFall/index.js +1 -1
- package/es/core/components/SxpPageRender/index.js +2 -2
- package/lib/core/components/SxpPageRender/WaterFall/index.js +1 -1
- package/lib/core/components/SxpPageRender/index.js +2 -2
- package/package.json +1 -1
package/dist/pb-ui.js
CHANGED
@@ -11692,7 +11692,7 @@ Made in Italy` })));
|
|
11692
11692
|
* @Author: binruan@chatlabs.com
|
11693
11693
|
* @Date: 2024-01-10 10:58:24
|
11694
11694
|
* @LastEditors: binruan@chatlabs.com
|
11695
|
-
* @LastEditTime: 2024-04-15
|
11695
|
+
* @LastEditTime: 2024-04-15 16:48:54
|
11696
11696
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\WaterFall\index.tsx
|
11697
11697
|
*
|
11698
11698
|
*/
|
@@ -11719,7 +11719,7 @@ Made in Italy` })));
|
|
11719
11719
|
if (!isEq && cacheRtcList && (cacheRtcList === null || cacheRtcList === void 0 ? void 0 : cacheRtcList.length)) {
|
11720
11720
|
setRtcList === null || setRtcList === void 0 ? void 0 : setRtcList(cacheRtcList);
|
11721
11721
|
}
|
11722
|
-
reportTagsView(0);
|
11722
|
+
reportTagsView(cacheActiveIndex || 0);
|
11723
11723
|
setWaterFallData === null || setWaterFallData === void 0 ? void 0 : setWaterFallData(undefined);
|
11724
11724
|
setIsFromHashtag === null || setIsFromHashtag === void 0 ? void 0 : setIsFromHashtag(false);
|
11725
11725
|
setTimeout(() => {
|
@@ -12489,7 +12489,7 @@ Made in Italy` })));
|
|
12489
12489
|
* @Author: binruan@chatlabs.com
|
12490
12490
|
* @Date: 2024-01-15 19:03:09
|
12491
12491
|
* @LastEditors: binruan@chatlabs.com
|
12492
|
-
* @LastEditTime: 2024-04-
|
12492
|
+
* @LastEditTime: 2024-04-15 16:41:07
|
12493
12493
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\index.tsx
|
12494
12494
|
*
|
12495
12495
|
*/
|
@@ -12655,12 +12655,12 @@ Made in Italy` })));
|
|
12655
12655
|
return (React.createElement(PictureGroup$1, { key: rec.video.itemId, imgUrls: rec.video.imgUrls, width: containerWidth, height: height, rec: rec, index: index, onReportViewImageEnd: handleReportViewImageEnd, onViewImageStartEvent: handleViewImageStartEvent }));
|
12656
12656
|
}
|
12657
12657
|
if (rec.product && Array.isArray(globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.productPost) && ((_c = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.productPost) === null || _c === void 0 ? void 0 : _c.length) > 0) {
|
12658
|
-
return (_d = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.productPost) === null || _d === void 0 ? void 0 : _d.map((value,
|
12658
|
+
return (_d = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.productPost) === null || _d === void 0 ? void 0 : _d.map((value, idx) => {
|
12659
12659
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
12660
12660
|
const t = resolver[(_a = value === null || value === void 0 ? void 0 : value.item) === null || _a === void 0 ? void 0 : _a.type];
|
12661
12661
|
const Component = withBindDataSource(t);
|
12662
12662
|
const defaulSetting = (_b = t === null || t === void 0 ? void 0 : t.extend) === null || _b === void 0 ? void 0 : _b.defaulSetting;
|
12663
|
-
return (React.createElement(Component, Object.assign({ key: index
|
12663
|
+
return (React.createElement(Component, Object.assign({ key: `${index}${idx}`, textStyle: Object.assign(Object.assign({}, defaulSetting === null || defaulSetting === void 0 ? void 0 : defaulSetting.textStyle), (_c = value === null || value === void 0 ? void 0 : value.item) === null || _c === void 0 ? void 0 : _c.textStyle), bindDatas: (_e = (_d = value === null || value === void 0 ? void 0 : value.item) === null || _d === void 0 ? void 0 : _d.bindDatas) !== null && _e !== void 0 ? _e : [] }, defaulSetting === null || defaulSetting === void 0 ? void 0 : defaulSetting.props, (_f = value === null || value === void 0 ? void 0 : value.item) === null || _f === void 0 ? void 0 : _f.props, { event: ((_g = value === null || value === void 0 ? void 0 : value.item) === null || _g === void 0 ? void 0 : _g.event) || {}, schema: schema, id: value === null || value === void 0 ? void 0 : value.id, viewTime: viewTime.current, rec: rec, isPost: true, tipText: tipText, style: Object.assign(Object.assign(Object.assign({}, defaulSetting === null || defaulSetting === void 0 ? void 0 : defaulSetting.style), (_h = value === null || value === void 0 ? void 0 : value.item) === null || _h === void 0 ? void 0 : _h.style), { height: '100%', overflow: 'auto' }), index: index })));
|
12664
12664
|
});
|
12665
12665
|
}
|
12666
12666
|
return null;
|