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/pb-ui.js CHANGED
@@ -8924,7 +8924,7 @@
8924
8924
  * @Author: binruan@chatlabs.com
8925
8925
  * @Date: 2023-11-02 18:34:34
8926
8926
  * @LastEditors: binruan@chatlabs.com
8927
- * @LastEditTime: 2024-09-25 15:31:09
8927
+ * @LastEditTime: 2024-09-25 18:27:54
8928
8928
  * @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\Modal\index.tsx
8929
8929
  *
8930
8930
  */
@@ -9045,7 +9045,7 @@
9045
9045
  } },
9046
9046
  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 && {
9047
9047
  transform: `translateY(${modalTrans}px)`
9048
- })), { 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` }), onClick: (e) => {
9048
+ })), { 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) => {
9049
9049
  e.stopPropagation();
9050
9050
  e.preventDefault();
9051
9051
  } }, (isScrollFullScreen && {
@@ -9057,7 +9057,8 @@
9057
9057
  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' })),
9058
9058
  React.createElement("div", Object.assign({ ref: ref, style: {
9059
9059
  height: isScrollFullScreen ? fullHeight : MODAL_DEF_CON_H,
9060
- overflow: (isScrollFullScreen && modalTrans <= 0) || !isScrollFullScreen ? 'auto' : 'hidden'
9060
+ overflow: (isScrollFullScreen && modalTrans <= 0) || !isScrollFullScreen ? 'auto' : 'hidden',
9061
+ zIndex: 1
9061
9062
  } }, (((_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) && {
9062
9063
  onScroll: (e) => {
9063
9064
  var _a;