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 CHANGED
@@ -8931,7 +8931,7 @@ SwiperSlide.displayName = 'SwiperSlide';
8931
8931
  * @Author: binruan@chatlabs.com
8932
8932
  * @Date: 2023-11-02 18:34:34
8933
8933
  * @LastEditors: binruan@chatlabs.com
8934
- * @LastEditTime: 2024-09-25 15:31:09
8934
+ * @LastEditTime: 2024-09-25 18:27:54
8935
8935
  * @FilePath: \pb-sxp-ui\src\core\components\SxpPageRender\Modal\index.tsx
8936
8936
  *
8937
8937
  */
@@ -9052,7 +9052,7 @@ const Modal = ({ visible, onClose, children, modalStyle, padding, popup, schema,
9052
9052
  } },
9053
9053
  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 && {
9054
9054
  transform: `translateY(${modalTrans}px)`
9055
- })), { 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) => {
9055
+ })), { 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) => {
9056
9056
  e.stopPropagation();
9057
9057
  e.preventDefault();
9058
9058
  } }, (isScrollFullScreen && {
@@ -9064,7 +9064,8 @@ const Modal = ({ visible, onClose, children, modalStyle, padding, popup, schema,
9064
9064
  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' })),
9065
9065
  React.createElement("div", Object.assign({ ref: ref, style: {
9066
9066
  height: isScrollFullScreen ? fullHeight : MODAL_DEF_CON_H,
9067
- overflow: (isScrollFullScreen && modalTrans <= 0) || !isScrollFullScreen ? 'auto' : 'hidden'
9067
+ overflow: (isScrollFullScreen && modalTrans <= 0) || !isScrollFullScreen ? 'auto' : 'hidden',
9068
+ zIndex: 1
9068
9069
  } }, (((_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) && {
9069
9070
  onScroll: (e) => {
9070
9071
  var _a;