pb-sxp-ui 1.5.4 → 1.5.5
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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- 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 +4 -3
- 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/Modal/index.js +3 -2
- package/lib/core/components/SxpPageRender/Modal/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -8909,7 +8909,7 @@ SwiperSlide.displayName = 'SwiperSlide';
|
|
8909
8909
|
* @Author: binruan@chatlabs.com
|
8910
8910
|
* @Date: 2023-11-02 18:34:34
|
8911
8911
|
* @LastEditors: binruan@chatlabs.com
|
8912
|
-
* @LastEditTime: 2024-09-25
|
8912
|
+
* @LastEditTime: 2024-09-25 18:27:54
|
8913
8913
|
* @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\Modal\index.tsx
|
8914
8914
|
*
|
8915
8915
|
*/
|
@@ -9030,7 +9030,7 @@ const Modal = ({ visible, onClose, children, modalStyle, padding, popup, schema,
|
|
9030
9030
|
} },
|
9031
9031
|
React.createElement("div", Object.assign({ className: `modal-container ${isOpen ? 'modal-popIn' : 'modal-popOut'}`, style: Object.assign(Object.assign({ padding, animationDuration: ((_s = popup === null || popup === void 0 ? void 0 : popup.duration) !== null && _s !== void 0 ? _s : 0) / 1000 + 's' }, (isScrollFullScreen && {
|
9032
9032
|
transform: `translateY(${modalTrans}px)`
|
9033
|
-
})), { overflow: 'hidden', borderRadius: `${(_w = (_v = (_u = (_t = getPopupById === null || getPopupById === void 0 ? void 0 : getPopupById.item) === null || _t === void 0 ? void 0 : _t.props) === null || _u === void 0 ? void 0 : _u.popupBg) === null || _v === void 0 ? void 0 : _v.borderRadius) !== null && _w !== void 0 ? _w : 0}px
|
9033
|
+
})), { overflow: 'hidden', borderRadius: `${(_w = (_v = (_u = (_t = getPopupById === null || getPopupById === void 0 ? void 0 : getPopupById.item) === null || _t === void 0 ? void 0 : _t.props) === null || _u === void 0 ? void 0 : _u.popupBg) === null || _v === void 0 ? void 0 : _v.borderRadius) !== null && _w !== void 0 ? _w : 0}px`, zIndex: 9 }), onClick: (e) => {
|
9034
9034
|
e.stopPropagation();
|
9035
9035
|
e.preventDefault();
|
9036
9036
|
} }, (isScrollFullScreen && {
|
@@ -9042,7 +9042,8 @@ const Modal = ({ visible, onClose, children, modalStyle, padding, popup, schema,
|
|
9042
9042
|
React.createElement("img", { src: (_x = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.popupCloseIcon) !== null && _x !== void 0 ? _x : closeIcon$1, alt: 'close', className: 'modal-icon' })),
|
9043
9043
|
React.createElement("div", Object.assign({ ref: ref, style: {
|
9044
9044
|
height: isScrollFullScreen ? fullHeight : MODAL_DEF_CON_H,
|
9045
|
-
overflow: (isScrollFullScreen && modalTrans <= 0) || !isScrollFullScreen ? 'auto' : 'hidden'
|
9045
|
+
overflow: (isScrollFullScreen && modalTrans <= 0) || !isScrollFullScreen ? 'auto' : 'hidden',
|
9046
|
+
zIndex: 1
|
9046
9047
|
} }, (((_z = (_y = getPopupById === null || getPopupById === void 0 ? void 0 : getPopupById.item) === null || _y === void 0 ? void 0 : _y.props) === null || _z === void 0 ? void 0 : _z.enableFixedCloseButton) && {
|
9047
9048
|
onScroll: (e) => {
|
9048
9049
|
var _a;
|