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
@@ -116,7 +116,7 @@ const Modal = ({ visible, onClose, children, modalStyle, padding, popup, schema,
|
|
116
116
|
} },
|
117
117
|
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 && {
|
118
118
|
transform: `translateY(${modalTrans}px)`
|
119
|
-
})), { 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
|
119
|
+
})), { 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) => {
|
120
120
|
e.stopPropagation();
|
121
121
|
e.preventDefault();
|
122
122
|
} }, (isScrollFullScreen && {
|
@@ -128,7 +128,8 @@ const Modal = ({ visible, onClose, children, modalStyle, padding, popup, schema,
|
|
128
128
|
React.createElement("img", { src: (_x = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.popupCloseIcon) !== null && _x !== void 0 ? _x : closeIcon, alt: 'close', className: 'modal-icon' })),
|
129
129
|
React.createElement("div", Object.assign({ ref: ref, style: {
|
130
130
|
height: isScrollFullScreen ? fullHeight : MODAL_DEF_CON_H,
|
131
|
-
overflow: (isScrollFullScreen && modalTrans <= 0) || !isScrollFullScreen ? 'auto' : 'hidden'
|
131
|
+
overflow: (isScrollFullScreen && modalTrans <= 0) || !isScrollFullScreen ? 'auto' : 'hidden',
|
132
|
+
zIndex: 1
|
132
133
|
} }, (((_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) && {
|
133
134
|
onScroll: (e) => {
|
134
135
|
var _a;
|
@@ -119,7 +119,7 @@ const Modal = ({ visible, onClose, children, modalStyle, padding, popup, schema,
|
|
119
119
|
} },
|
120
120
|
react_1.default.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 && {
|
121
121
|
transform: `translateY(${modalTrans}px)`
|
122
|
-
})), { 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
|
122
|
+
})), { 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) => {
|
123
123
|
e.stopPropagation();
|
124
124
|
e.preventDefault();
|
125
125
|
} }, (isScrollFullScreen && {
|
@@ -131,7 +131,8 @@ const Modal = ({ visible, onClose, children, modalStyle, padding, popup, schema,
|
|
131
131
|
react_1.default.createElement("img", { src: (_x = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.popupCloseIcon) !== null && _x !== void 0 ? _x : closeIcon, alt: 'close', className: 'modal-icon' })),
|
132
132
|
react_1.default.createElement("div", Object.assign({ ref: ref, style: {
|
133
133
|
height: isScrollFullScreen ? fullHeight : MODAL_DEF_CON_H,
|
134
|
-
overflow: (isScrollFullScreen && modalTrans <= 0) || !isScrollFullScreen ? 'auto' : 'hidden'
|
134
|
+
overflow: (isScrollFullScreen && modalTrans <= 0) || !isScrollFullScreen ? 'auto' : 'hidden',
|
135
|
+
zIndex: 1
|
135
136
|
} }, (((_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) && {
|
136
137
|
onScroll: (e) => {
|
137
138
|
var _a;
|