pb-sxp-ui 1.3.7 → 1.3.8
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/LICENSE +21 -21
- package/README.md +111 -111
- package/dist/index.cjs +23 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -19
- 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 +23 -19
- 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/components/SxpPageRender/WaterFall/index.js +3 -12
- package/es/core/components/SxpPageRender/index.js +6 -1
- package/es/materials/sxp/popup/CommodityDetail/index.js +4 -4
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +1 -1
- package/lib/core/components/SxpPageRender/WaterFall/index.js +3 -12
- package/lib/core/components/SxpPageRender/index.js +6 -1
- package/lib/materials/sxp/popup/CommodityDetail/index.js +4 -4
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +1 -1
- package/package.json +111 -111
package/dist/pb-ui.js
CHANGED
@@ -9207,10 +9207,10 @@
|
|
9207
9207
|
__html: setFontForText((_c = product === null || product === void 0 ? void 0 : product.taxInfo) !== null && _c !== void 0 ? _c : '税费', commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.taxInfo)
|
9208
9208
|
} }),
|
9209
9209
|
React.createElement("div", { hidden: !!product && (!(product === null || product === void 0 ? void 0 : product.info) || (product === null || product === void 0 ? void 0 : product.info) === '') },
|
9210
|
-
React.createElement(ExpandableText$1, { foldText: tipText === null || tipText === void 0 ? void 0 : tipText.foldText, unfoldText: tipText === null || tipText === void 0 ? void 0 : tipText.unfoldText, onClick: () => setShowModal(true), isPost: isPost, text: (_d = product === null || product === void 0 ? void 0 : product.info) !== null && _d !== void 0 ? _d : `The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
9211
|
-
bold and avant-garde visual design interprets the emotional bond connecting my heart. The Tiffany Lock
|
9212
|
-
collection is unisex and is inspired by the padlock pattern found in the Tiffany Antique Collection. This
|
9213
|
-
necklace features a stylish and eye-catching oval clasp chain decorated with a lock pattern. Crafted from
|
9210
|
+
React.createElement(ExpandableText$1, { foldText: tipText === null || tipText === void 0 ? void 0 : tipText.foldText, unfoldText: tipText === null || tipText === void 0 ? void 0 : tipText.unfoldText, onClick: () => setShowModal(true), isPost: isPost, text: (_d = product === null || product === void 0 ? void 0 : product.info) !== null && _d !== void 0 ? _d : `The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
9211
|
+
bold and avant-garde visual design interprets the emotional bond connecting my heart. The Tiffany Lock
|
9212
|
+
collection is unisex and is inspired by the padlock pattern found in the Tiffany Antique Collection. This
|
9213
|
+
necklace features a stylish and eye-catching oval clasp chain decorated with a lock pattern. Crafted from
|
9214
9214
|
18-karat gold, this necklace is embellished with hand-set diamonds.`, maxStr: 79, className: 'pb-commondity-content-info', style: commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.info }))));
|
9215
9215
|
};
|
9216
9216
|
const renderBtn = () => {
|
@@ -10087,7 +10087,7 @@
|
|
10087
10087
|
const productInfoText = ({ isPost }) => {
|
10088
10088
|
return (React.createElement("div", { hidden: !!product && (!(product === null || product === void 0 ? void 0 : product.info) || (product === null || product === void 0 ? void 0 : product.info) === '') },
|
10089
10089
|
React.createElement(ExpandableText$1, { isPost: isPost, onClick: () => setShowModal(true), className: 'pb-commondityDiroNew-info', style: commodityStyles === null || commodityStyles === void 0 ? void 0 : commodityStyles.info, foldText: tipText === null || tipText === void 0 ? void 0 : tipText.foldText, unfoldText: tipText === null || tipText === void 0 ? void 0 : tipText.unfoldText, text: (product === null || product === void 0 ? void 0 : product.info) ||
|
10090
|
-
`Unveiled at the Spring-Summer 2023 fashion show, the Dior Toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with Macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the D of the CD Lock closure twists to adjust the sides and enhance the bag's silhouette. The leather handles can be adjusted using the small notches in order to be able to carry the large bag by hand or wear it over the shoulder. CD Lock and strap closures D.I.O.R. charms Removable interior pouch Adjustable leather handles Dust bag included
|
10090
|
+
`Unveiled at the Spring-Summer 2023 fashion show, the Dior Toujours bag is distinguished by a casual and practical design. Crafted in black calfskin with Macrocannage topstitching, it showcases a spacious interior compartment with a matching pouch to organize essentials. Its leather strap closure keeps items secure while the D of the CD Lock closure twists to adjust the sides and enhance the bag's silhouette. The leather handles can be adjusted using the small notches in order to be able to carry the large bag by hand or wear it over the shoulder. CD Lock and strap closures D.I.O.R. charms Removable interior pouch Adjustable leather handles Dust bag included
|
10091
10091
|
Made in Italy` })));
|
10092
10092
|
};
|
10093
10093
|
const getStyle = React.useCallback((style) => {
|
@@ -14156,7 +14156,7 @@ Made in Italy` })));
|
|
14156
14156
|
* @Author: binruan@chatlabs.com
|
14157
14157
|
* @Date: 2024-01-10 10:58:24
|
14158
14158
|
* @LastEditors: binruan@chatlabs.com
|
14159
|
-
* @LastEditTime: 2024-
|
14159
|
+
* @LastEditTime: 2024-08-23 14:32:55
|
14160
14160
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\WaterFall\index.tsx
|
14161
14161
|
*
|
14162
14162
|
*/
|
@@ -14180,21 +14180,21 @@ Made in Italy` })));
|
|
14180
14180
|
}
|
14181
14181
|
}, []);
|
14182
14182
|
const handleClose = () => {
|
14183
|
-
|
14184
|
-
|
14185
|
-
|
14186
|
-
|
14183
|
+
var _a, _b;
|
14184
|
+
// const isEq = isEqual(rtcList, cacheRtcList);
|
14185
|
+
// if (!isEq && cacheRtcList && cacheRtcList?.length) {
|
14186
|
+
// setRtcList?.(cacheRtcList);
|
14187
|
+
// }
|
14187
14188
|
backMainFeed('branch', selectTag, undefined, waterFallData === null || waterFallData === void 0 ? void 0 : waterFallData.hashTag);
|
14188
14189
|
reportTagsView();
|
14189
14190
|
setWaterFallData === null || setWaterFallData === void 0 ? void 0 : setWaterFallData(undefined);
|
14190
14191
|
setIsFromHashtag === null || setIsFromHashtag === void 0 ? void 0 : setIsFromHashtag(false);
|
14191
|
-
setTimeout(() => {
|
14192
|
-
|
14193
|
-
|
14194
|
-
|
14195
|
-
|
14196
|
-
|
14197
|
-
}, 0);
|
14192
|
+
// setTimeout(() => {
|
14193
|
+
// if (!isEq) {
|
14194
|
+
(_b = (_a = swiperRef === null || swiperRef === void 0 ? void 0 : swiperRef.current) === null || _a === void 0 ? void 0 : _a.swiper) === null || _b === void 0 ? void 0 : _b.slideTo(cacheActiveIndex, 0, false);
|
14195
|
+
// }
|
14196
|
+
setOpenHashtag === null || setOpenHashtag === void 0 ? void 0 : setOpenHashtag(false);
|
14197
|
+
// }, 0);
|
14198
14198
|
};
|
14199
14199
|
const [recData, setRecData] = React.useState();
|
14200
14200
|
React.useEffect(() => {
|
@@ -16029,7 +16029,7 @@ Made in Italy` })));
|
|
16029
16029
|
* @Author: binruan@chatlabs.com
|
16030
16030
|
* @Date: 2024-01-15 19:03:09
|
16031
16031
|
* @LastEditors: binruan@chatlabs.com
|
16032
|
-
* @LastEditTime: 2024-08-23
|
16032
|
+
* @LastEditTime: 2024-08-23 14:04:14
|
16033
16033
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\index.tsx
|
16034
16034
|
*
|
16035
16035
|
*/
|
@@ -16046,7 +16046,7 @@ Made in Italy` })));
|
|
16046
16046
|
const [isShowMore, setIsShowMore] = React.useState(false);
|
16047
16047
|
const [isReload, setIsReload] = React.useState(new Date().getTime());
|
16048
16048
|
const skipLinkRef = React.useRef(false);
|
16049
|
-
const { loadVideos, bffEventReport, loading, setPopupDetailData, ctaEvent, swiperRef, waterFallData, setOpenHashtag, appDomain, openHashtag, loadingImage, isFromHashtag, popupDetailData, bffFbReport, curTime, h5EnterLink, isShowConsent, selectTag, isPreview, isEditor } = useSxpDataSource();
|
16049
|
+
const { loadVideos, bffEventReport, loading, setPopupDetailData, ctaEvent, swiperRef, waterFallData, setOpenHashtag, appDomain, openHashtag, loadingImage, isFromHashtag, popupDetailData, bffFbReport, curTime, h5EnterLink, isShowConsent, selectTag, isPreview, isEditor, cacheRtcList, setRtcList, cacheActiveIndex, rtcList } = useSxpDataSource();
|
16050
16050
|
const { backMainFeed, productView, jumpToWeb } = useEventReport();
|
16051
16051
|
const isShowFingerTip = React.useMemo(() => {
|
16052
16052
|
return data.length > 0 && !loading && (getFeUserId() || (globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.enableSwiperTip));
|
@@ -16497,6 +16497,10 @@ Made in Italy` })));
|
|
16497
16497
|
]);
|
16498
16498
|
return (React.createElement("div", { id: 'sxp-render', className: 'clc-sxp-container' },
|
16499
16499
|
waterFallData && (React.createElement(Navbar$1, { icon: img, styles: { background: 'rgba(0,0,0,.3)', color: '#fff' }, textStyle: Object.assign(Object.assign({}, (_e = (_d = (_c = (_b = (_a = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.hashTag) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.item) === null || _c === void 0 ? void 0 : _c.props) === null || _d === void 0 ? void 0 : _d.textStyles) === null || _e === void 0 ? void 0 : _e.hashTagTitle), { color: '#fff' }), onClose: () => {
|
16500
|
+
const isEq = lodash.isEqual(rtcList, cacheRtcList);
|
16501
|
+
if (!isEq && cacheRtcList && (cacheRtcList === null || cacheRtcList === void 0 ? void 0 : cacheRtcList.length)) {
|
16502
|
+
setRtcList === null || setRtcList === void 0 ? void 0 : setRtcList(cacheRtcList);
|
16503
|
+
}
|
16500
16504
|
setOpenHashtag === null || setOpenHashtag === void 0 ? void 0 : setOpenHashtag(true);
|
16501
16505
|
} })),
|
16502
16506
|
renderLogo,
|