@mamrp/components 1.7.10 → 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/charts/index.d.mts +0 -0
- package/dist/charts/index.d.ts +0 -0
- package/dist/charts/index.js +0 -0
- package/dist/charts/index.js.map +1 -1
- package/dist/charts/index.mjs +0 -0
- package/dist/charts/index.mjs.map +1 -1
- package/dist/date-pickers/index.d.mts +0 -0
- package/dist/date-pickers/index.d.ts +0 -0
- package/dist/date-pickers/index.js +0 -0
- package/dist/date-pickers/index.js.map +0 -0
- package/dist/date-pickers/index.mjs +0 -0
- package/dist/date-pickers/index.mjs.map +0 -0
- package/dist/index.d.mts +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -3
- package/dist/index.mjs.map +1 -1
- package/dist/pagination/index.d.mts +0 -0
- package/dist/pagination/index.d.ts +0 -0
- package/dist/pagination/index.js +0 -0
- package/dist/pagination/index.js.map +0 -0
- package/dist/pagination/index.mjs +0 -0
- package/dist/pagination/index.mjs.map +0 -0
- package/dist/selectors/index.d.mts +0 -0
- package/dist/selectors/index.d.ts +0 -0
- package/dist/selectors/index.js +0 -0
- package/dist/selectors/index.js.map +1 -1
- package/dist/selectors/index.mjs +0 -0
- package/dist/selectors/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1469,7 +1469,7 @@ var JalaliDatePicker = ({
|
|
|
1469
1469
|
IconButton4,
|
|
1470
1470
|
{
|
|
1471
1471
|
onClick: () => props.onMonthChange(
|
|
1472
|
-
props.currentMonth.clone().subtract(1, "
|
|
1472
|
+
props.currentMonth.clone().subtract(1, "jmonth"),
|
|
1473
1473
|
"left"
|
|
1474
1474
|
),
|
|
1475
1475
|
title: "\u0645\u0627\u0647 \u0642\u0628\u0644"
|
|
@@ -1492,7 +1492,7 @@ var JalaliDatePicker = ({
|
|
|
1492
1492
|
IconButton4,
|
|
1493
1493
|
{
|
|
1494
1494
|
onClick: () => props.onMonthChange(
|
|
1495
|
-
props.currentMonth.clone().add(1, "
|
|
1495
|
+
props.currentMonth.clone().add(1, "jmonth"),
|
|
1496
1496
|
"right"
|
|
1497
1497
|
),
|
|
1498
1498
|
title: "\u0645\u0627\u0647 \u0628\u0639\u062F"
|
|
@@ -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,
|