@mamrp/components 1.3.1 → 1.3.2
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.js +19 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1972,11 +1972,26 @@ var import_x_date_pickers4 = require("@mui/x-date-pickers");
|
|
|
1972
1972
|
var import_AdapterMomentJalaali4 = require("@mui/x-date-pickers/AdapterMomentJalaali");
|
|
1973
1973
|
var import_dayjs2 = __toESM(require("dayjs"));
|
|
1974
1974
|
var import_moment_jalaali4 = __toESM(require("moment-jalaali"));
|
|
1975
|
-
var import_fa5 = require("moment/locale/fa");
|
|
1976
1975
|
var import_react13 = __toESM(require("react"));
|
|
1977
1976
|
var import_react_hook_form9 = require("react-hook-form");
|
|
1978
1977
|
import_moment_jalaali4.default.locale("fa");
|
|
1979
1978
|
import_moment_jalaali4.default.loadPersian({ dialect: "persian-modern", usePersianDigits: true });
|
|
1979
|
+
import_moment_jalaali4.default.updateLocale("fa", {
|
|
1980
|
+
months: [
|
|
1981
|
+
"\u0641\u0631\u0648\u0631\u062F\u06CC\u0646",
|
|
1982
|
+
"\u0627\u0631\u062F\u06CC\u0628\u0647\u0634\u062A",
|
|
1983
|
+
"\u062E\u0631\u062F\u0627\u062F",
|
|
1984
|
+
"\u062A\u06CC\u0631",
|
|
1985
|
+
"\u0645\u0631\u062F\u0627\u062F",
|
|
1986
|
+
"\u0634\u0647\u0631\u06CC\u0648\u0631",
|
|
1987
|
+
"\u0645\u0647\u0631",
|
|
1988
|
+
"\u0622\u0628\u0627\u0646",
|
|
1989
|
+
"\u0622\u0630\u0631",
|
|
1990
|
+
"\u062F\u06CC",
|
|
1991
|
+
"\u0628\u0647\u0645\u0646",
|
|
1992
|
+
"\u0627\u0633\u0641\u0646\u062F"
|
|
1993
|
+
]
|
|
1994
|
+
});
|
|
1980
1995
|
var DateMonthPicker = ({
|
|
1981
1996
|
name,
|
|
1982
1997
|
control,
|
|
@@ -1990,7 +2005,6 @@ var DateMonthPicker = ({
|
|
|
1990
2005
|
clear = true
|
|
1991
2006
|
}) => {
|
|
1992
2007
|
const today = (0, import_moment_jalaali4.default)();
|
|
1993
|
-
const [open, setOpen] = (0, import_react13.useState)(false);
|
|
1994
2008
|
const customLocaleText = {
|
|
1995
2009
|
cancelButtonLabel: "\u0644\u063A\u0648",
|
|
1996
2010
|
okButtonLabel: "\u062A\u0623\u06CC\u06CC\u062F",
|
|
@@ -2915,7 +2929,7 @@ var import_material17 = require("@mui/material");
|
|
|
2915
2929
|
var import_Stack = __toESM(require("@mui/material/Stack"));
|
|
2916
2930
|
var import_system5 = require("@mui/system");
|
|
2917
2931
|
var React17 = __toESM(require("react"));
|
|
2918
|
-
var
|
|
2932
|
+
var import_fa5 = require("react-icons/fa");
|
|
2919
2933
|
function PaginationList({
|
|
2920
2934
|
currentPage,
|
|
2921
2935
|
setCurrentPage,
|
|
@@ -2959,7 +2973,7 @@ function PaginationList({
|
|
|
2959
2973
|
justifyContent: "center"
|
|
2960
2974
|
},
|
|
2961
2975
|
size: "large",
|
|
2962
|
-
startIcon: /* @__PURE__ */ React17.createElement(
|
|
2976
|
+
startIcon: /* @__PURE__ */ React17.createElement(import_fa5.FaChevronRight, null)
|
|
2963
2977
|
},
|
|
2964
2978
|
"\u0642\u0628\u0644\u06CC",
|
|
2965
2979
|
" "
|
|
@@ -3000,7 +3014,7 @@ function PaginationList({
|
|
|
3000
3014
|
justifyContent: "center"
|
|
3001
3015
|
},
|
|
3002
3016
|
size: "large",
|
|
3003
|
-
endIcon: /* @__PURE__ */ React17.createElement(
|
|
3017
|
+
endIcon: /* @__PURE__ */ React17.createElement(import_fa5.FaChevronLeft, null)
|
|
3004
3018
|
},
|
|
3005
3019
|
"\u0628\u0639\u062F\u06CC",
|
|
3006
3020
|
" "
|