@mamrp/components 1.7.11 → 1.7.12

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.mjs CHANGED
@@ -5253,11 +5253,17 @@ function CustomDialog({
5253
5253
  actions,
5254
5254
  isSubmiting = false
5255
5255
  }) {
5256
+ const handleClose = (event, reason) => {
5257
+ if (isSubmiting) {
5258
+ return;
5259
+ }
5260
+ onClose();
5261
+ };
5256
5262
  return /* @__PURE__ */ React.createElement(
5257
5263
  Dialog7,
5258
5264
  {
5259
5265
  open,
5260
- onClose,
5266
+ onClose: handleClose,
5261
5267
  maxWidth,
5262
5268
  fullWidth,
5263
5269
  PaperComponent: DraggablePaper,