@mamrp/components 1.7.63 → 1.7.65
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 +0 -0
- package/dist/charts/index.mjs +0 -0
- package/dist/charts/index.mjs.map +0 -0
- 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 +10 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -10
- 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 +2 -1
- package/dist/selectors/index.d.ts +2 -1
- package/dist/selectors/index.js +8 -2
- package/dist/selectors/index.js.map +1 -1
- package/dist/selectors/index.mjs +8 -2
- package/dist/selectors/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -971,11 +971,12 @@ function ConfirmationDialog({
|
|
|
971
971
|
}
|
|
972
972
|
|
|
973
973
|
// src/custom-date-time-picker/index.tsx
|
|
974
|
-
import { Calendar } from "@mamrp/icons/common";
|
|
974
|
+
import { Calendar, Check } from "@mamrp/icons/common";
|
|
975
975
|
import {
|
|
976
976
|
Box as Box7,
|
|
977
977
|
Button as Button5,
|
|
978
978
|
Dialog as Dialog3,
|
|
979
|
+
DialogActions as DialogActions2,
|
|
979
980
|
DialogContent as DialogContent3,
|
|
980
981
|
DialogTitle as DialogTitle3,
|
|
981
982
|
Divider as Divider2,
|
|
@@ -1681,7 +1682,16 @@ var DateTimePickerComponent = ({
|
|
|
1681
1682
|
day && toPersianDigits(day)
|
|
1682
1683
|
))
|
|
1683
1684
|
)),
|
|
1684
|
-
/* @__PURE__ */ React.createElement(Divider2, null)
|
|
1685
|
+
/* @__PURE__ */ React.createElement(Divider2, null),
|
|
1686
|
+
/* @__PURE__ */ React.createElement(DialogActions2, { sx: { px: 2, py: 2 } }, /* @__PURE__ */ React.createElement(
|
|
1687
|
+
Button5,
|
|
1688
|
+
{
|
|
1689
|
+
variant: "contained",
|
|
1690
|
+
onClick: handleConfirm,
|
|
1691
|
+
startIcon: /* @__PURE__ */ React.createElement(Check, null)
|
|
1692
|
+
},
|
|
1693
|
+
"\u062A\u0627\u06CC\u06CC\u062F"
|
|
1694
|
+
))
|
|
1685
1695
|
));
|
|
1686
1696
|
};
|
|
1687
1697
|
|
|
@@ -1689,7 +1699,7 @@ var DateTimePickerComponent = ({
|
|
|
1689
1699
|
import {
|
|
1690
1700
|
Box as Box8,
|
|
1691
1701
|
Dialog as Dialog4,
|
|
1692
|
-
DialogActions as
|
|
1702
|
+
DialogActions as DialogActions3,
|
|
1693
1703
|
DialogContent as DialogContent4,
|
|
1694
1704
|
DialogTitle as DialogTitle4,
|
|
1695
1705
|
Divider as Divider3,
|
|
@@ -1789,7 +1799,7 @@ function CustomDialog({
|
|
|
1789
1799
|
)),
|
|
1790
1800
|
/* @__PURE__ */ React.createElement(Divider3, null),
|
|
1791
1801
|
/* @__PURE__ */ React.createElement(DialogContent4, null, children),
|
|
1792
|
-
actions && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
1802
|
+
actions && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(DialogActions3, null, actions))
|
|
1793
1803
|
);
|
|
1794
1804
|
}
|
|
1795
1805
|
|
|
@@ -1806,7 +1816,7 @@ import {
|
|
|
1806
1816
|
Tooltip as Tooltip3
|
|
1807
1817
|
} from "@mui/material";
|
|
1808
1818
|
import Dialog5 from "@mui/material/Dialog";
|
|
1809
|
-
import
|
|
1819
|
+
import DialogActions4 from "@mui/material/DialogActions";
|
|
1810
1820
|
import DialogContent5 from "@mui/material/DialogContent";
|
|
1811
1821
|
import DialogTitle5 from "@mui/material/DialogTitle";
|
|
1812
1822
|
import { useState as useState6, useEffect as useEffect3, useRef as useRef5 } from "react";
|
|
@@ -2080,7 +2090,7 @@ var TimePickerComponent = ({
|
|
|
2080
2090
|
/* @__PURE__ */ React.createElement(Typography4, null, hour.toString().padStart(2, "0"))
|
|
2081
2091
|
))
|
|
2082
2092
|
)))),
|
|
2083
|
-
/* @__PURE__ */ React.createElement(
|
|
2093
|
+
/* @__PURE__ */ React.createElement(DialogActions4, { sx: { padding: 2 } }, /* @__PURE__ */ React.createElement(
|
|
2084
2094
|
Button6,
|
|
2085
2095
|
{
|
|
2086
2096
|
onClick: () => setIsModalOpen(false),
|
|
@@ -4861,7 +4871,7 @@ var mobile_date_time_picker_default = JalaliDatePicker3;
|
|
|
4861
4871
|
// src/modal/index.tsx
|
|
4862
4872
|
import * as React15 from "react";
|
|
4863
4873
|
import Dialog9 from "@mui/material/Dialog";
|
|
4864
|
-
import
|
|
4874
|
+
import DialogActions5 from "@mui/material/DialogActions";
|
|
4865
4875
|
import DialogContent7 from "@mui/material/DialogContent";
|
|
4866
4876
|
import DialogTitle7 from "@mui/material/DialogTitle";
|
|
4867
4877
|
import {
|
|
@@ -4907,7 +4917,7 @@ function ConfirmationDialog2({
|
|
|
4907
4917
|
},
|
|
4908
4918
|
/* @__PURE__ */ React15.createElement(MdClose7, null)
|
|
4909
4919
|
), /* @__PURE__ */ React15.createElement(Divider5, { sx: { my: "10px" } }), /* @__PURE__ */ React15.createElement(DialogContent7, null, bodyText), /* @__PURE__ */ React15.createElement(
|
|
4910
|
-
|
|
4920
|
+
DialogActions5,
|
|
4911
4921
|
{
|
|
4912
4922
|
sx: {
|
|
4913
4923
|
display: "flex",
|
|
@@ -6195,7 +6205,7 @@ import {
|
|
|
6195
6205
|
Dialog as Dialog10,
|
|
6196
6206
|
DialogTitle as DialogTitle8,
|
|
6197
6207
|
DialogContent as DialogContent8,
|
|
6198
|
-
DialogActions as
|
|
6208
|
+
DialogActions as DialogActions6
|
|
6199
6209
|
} from "@mui/material";
|
|
6200
6210
|
import { MdMyLocation, MdOutlineClear as MdOutlineClear2 } from "react-icons/md";
|
|
6201
6211
|
import { useEffect as useEffect12, useRef as useRef8, useState as useState17 } from "react";
|
|
@@ -6480,7 +6490,7 @@ function MapLocationPicker({
|
|
|
6480
6490
|
{ duration: 8e3 }
|
|
6481
6491
|
);
|
|
6482
6492
|
};
|
|
6483
|
-
return /* @__PURE__ */ React.createElement(Box27, { sx: { width: "100%" } }, /* @__PURE__ */ React.createElement(Toaster, { position: "top-center" }), /* @__PURE__ */ React.createElement(Dialog10, { open: showGpsDialog, onClose: handleGpsDialogClose }, /* @__PURE__ */ React.createElement(DialogTitle8, null, "\u0645\u0634\u06A9\u0644 \u062F\u0631 \u062F\u0631\u06CC\u0627\u0641\u062A \u0645\u0648\u0642\u0639\u06CC\u062A \u0645\u06A9\u0627\u0646\u06CC"), /* @__PURE__ */ React.createElement(DialogContent8, null, gpsErrorType === "permission" ? /* @__PURE__ */ React.createElement(Typography19, null, "\u062F\u0633\u062A\u0631\u0633\u06CC \u0628\u0647 \u0645\u0648\u0642\u0639\u06CC\u062A \u0645\u06A9\u0627\u0646\u06CC \u0631\u062F \u0634\u062F\u0647 \u0627\u0633\u062A.", /* @__PURE__ */ React.createElement("br", null), "\u06F1. \u0631\u0648\u06CC \u0622\u06CC\u06A9\u0648\u0646 \u0642\u0641\u0644 \u062F\u0631 \u0646\u0648\u0627\u0631 \u0622\u062F\u0631\u0633 \u06A9\u0644\u06CC\u06A9 \u06A9\u0646\u06CC\u062F", /* @__PURE__ */ React.createElement("br", null), "\u06F2. \u0645\u0648\u0642\u0639\u06CC\u062A \u0645\u06A9\u0627\u0646\u06CC \u2192 \u0627\u062C\u0627\u0632\u0647 \u062F\u0647\u06CC\u062F") : gpsErrorType === "gps_off" ? /* @__PURE__ */ React.createElement(Typography19, null, "GPS \u062E\u0627\u0645\u0648\u0634 \u0627\u0633\u062A. \u0644\u0637\u0641\u0627\u064B \u0641\u0639\u0627\u0644 \u06A9\u0646\u06CC\u062F.") : /* @__PURE__ */ React.createElement(Typography19, null, "\u062E\u0637\u0627\u06CC\u06CC \u0631\u062E \u062F\u0627\u062F\u0647 \u0627\u0633\u062A. \u062F\u0648\u0628\u0627\u0631\u0647 \u062A\u0644\u0627\u0634 \u06A9\u0646\u06CC\u062F.")), /* @__PURE__ */ React.createElement(
|
|
6493
|
+
return /* @__PURE__ */ React.createElement(Box27, { sx: { width: "100%" } }, /* @__PURE__ */ React.createElement(Toaster, { position: "top-center" }), /* @__PURE__ */ React.createElement(Dialog10, { open: showGpsDialog, onClose: handleGpsDialogClose }, /* @__PURE__ */ React.createElement(DialogTitle8, null, "\u0645\u0634\u06A9\u0644 \u062F\u0631 \u062F\u0631\u06CC\u0627\u0641\u062A \u0645\u0648\u0642\u0639\u06CC\u062A \u0645\u06A9\u0627\u0646\u06CC"), /* @__PURE__ */ React.createElement(DialogContent8, null, gpsErrorType === "permission" ? /* @__PURE__ */ React.createElement(Typography19, null, "\u062F\u0633\u062A\u0631\u0633\u06CC \u0628\u0647 \u0645\u0648\u0642\u0639\u06CC\u062A \u0645\u06A9\u0627\u0646\u06CC \u0631\u062F \u0634\u062F\u0647 \u0627\u0633\u062A.", /* @__PURE__ */ React.createElement("br", null), "\u06F1. \u0631\u0648\u06CC \u0622\u06CC\u06A9\u0648\u0646 \u0642\u0641\u0644 \u062F\u0631 \u0646\u0648\u0627\u0631 \u0622\u062F\u0631\u0633 \u06A9\u0644\u06CC\u06A9 \u06A9\u0646\u06CC\u062F", /* @__PURE__ */ React.createElement("br", null), "\u06F2. \u0645\u0648\u0642\u0639\u06CC\u062A \u0645\u06A9\u0627\u0646\u06CC \u2192 \u0627\u062C\u0627\u0632\u0647 \u062F\u0647\u06CC\u062F") : gpsErrorType === "gps_off" ? /* @__PURE__ */ React.createElement(Typography19, null, "GPS \u062E\u0627\u0645\u0648\u0634 \u0627\u0633\u062A. \u0644\u0637\u0641\u0627\u064B \u0641\u0639\u0627\u0644 \u06A9\u0646\u06CC\u062F.") : /* @__PURE__ */ React.createElement(Typography19, null, "\u062E\u0637\u0627\u06CC\u06CC \u0631\u062E \u062F\u0627\u062F\u0647 \u0627\u0633\u062A. \u062F\u0648\u0628\u0627\u0631\u0647 \u062A\u0644\u0627\u0634 \u06A9\u0646\u06CC\u062F.")), /* @__PURE__ */ React.createElement(DialogActions6, { sx: { pb: 2, pr: 2 } }, /* @__PURE__ */ React.createElement(Button15, { onClick: handleGpsDialogClose }, "\u0627\u0646\u0635\u0631\u0627\u0641"), gpsErrorType === "permission" ? /* @__PURE__ */ React.createElement(
|
|
6484
6494
|
Button15,
|
|
6485
6495
|
{
|
|
6486
6496
|
onClick: handleRetryLocation,
|