@mamrp/components 1.7.50 → 1.7.52

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 CHANGED
@@ -1185,7 +1185,7 @@ var DateTimePickerComponent = ({
1185
1185
  m.hour(hour);
1186
1186
  m.minute(minute);
1187
1187
  m.second(0);
1188
- const newValue = m.format("YYYY-MM-DDTHH:mm:ss");
1188
+ const newValue = toLatinDigits(m.utc().format("YYYY-MM-DDTHH:mm:ss[Z]"));
1189
1189
  if (newValue !== value) {
1190
1190
  onChange(newValue);
1191
1191
  }
@@ -1336,7 +1336,7 @@ var DateTimePickerComponent = ({
1336
1336
  const changeDate = (days) => {
1337
1337
  const currentMoment = value ? (0, import_moment_jalaali.default)(value) : (0, import_moment_jalaali.default)();
1338
1338
  const newMoment = currentMoment.add(days, "days");
1339
- onChange(newMoment.format("YYYY-MM-DDTHH:mm:ss"));
1339
+ onChange(toLatinDigits(newMoment.utc().format("YYYY-MM-DDTHH:mm:ss[Z]")));
1340
1340
  };
1341
1341
  const handleConfirm = () => {
1342
1342
  const { year, month, day, hour, minute } = selectedDate;
@@ -1344,7 +1344,7 @@ var DateTimePickerComponent = ({
1344
1344
  m.hour(hour);
1345
1345
  m.minute(minute);
1346
1346
  m.second(0);
1347
- onChange(m.format("YYYY-MM-DDTHH:mm:ss"));
1347
+ onChange(toLatinDigits(m.utc().format("YYYY-MM-DDTHH:mm:ss[Z]")));
1348
1348
  setIsOpen(false);
1349
1349
  };
1350
1350
  const handleClear = () => {
@@ -1416,9 +1416,9 @@ var DateTimePickerComponent = ({
1416
1416
  p: 0.25
1417
1417
  }
1418
1418
  },
1419
- /* @__PURE__ */ React.createElement(import_md2.MdChevronRight, { size: 24 })
1419
+ /* @__PURE__ */ React.createElement(import_md2.MdChevronRight, { size: 28 })
1420
1420
  ))),
1421
- endAdornment: /* @__PURE__ */ React.createElement(import_material11.InputAdornment, { position: "end", sx: { ml: -0.5, mr: 0.5 } }, /* @__PURE__ */ React.createElement(import_material11.Tooltip, { title: "\u0631\u0648\u0632 \u0628\u0639\u062F" }, /* @__PURE__ */ React.createElement(
1421
+ endAdornment: /* @__PURE__ */ React.createElement(import_material11.InputAdornment, { position: "end", sx: { ml: -0.5, mr: 2 } }, /* @__PURE__ */ React.createElement(import_material11.Tooltip, { title: "\u0631\u0648\u0632 \u0628\u0639\u062F" }, /* @__PURE__ */ React.createElement(
1422
1422
  import_material11.IconButton,
1423
1423
  {
1424
1424
  size: "small",
@@ -1432,7 +1432,7 @@ var DateTimePickerComponent = ({
1432
1432
  p: 0.25
1433
1433
  }
1434
1434
  },
1435
- /* @__PURE__ */ React.createElement(import_md2.MdChevronLeft, { size: 24 })
1435
+ /* @__PURE__ */ React.createElement(import_md2.MdChevronLeft, { size: 28 })
1436
1436
  )), clearable && value && !disabled && /* @__PURE__ */ React.createElement(import_material11.Tooltip, { title: "\u067E\u0627\u06A9 \u06A9\u0631\u062F\u0646" }, /* @__PURE__ */ React.createElement(
1437
1437
  import_material11.IconButton,
1438
1438
  {
@@ -1444,7 +1444,7 @@ var DateTimePickerComponent = ({
1444
1444
  },
1445
1445
  sx: { p: 0.25 }
1446
1446
  },
1447
- /* @__PURE__ */ React.createElement(import_md2.MdOutlineClear, { size: 18 })
1447
+ /* @__PURE__ */ React.createElement(import_md2.MdOutlineClear, { size: 20 })
1448
1448
  )), /* @__PURE__ */ React.createElement(import_material11.Tooltip, { title: "\u0627\u0646\u062A\u062E\u0627\u0628 \u062A\u0627\u0631\u06CC\u062E" }, /* @__PURE__ */ React.createElement(
1449
1449
  import_material11.IconButton,
1450
1450
  {
@@ -1453,7 +1453,7 @@ var DateTimePickerComponent = ({
1453
1453
  disabled,
1454
1454
  sx: { p: 0.25 }
1455
1455
  },
1456
- /* @__PURE__ */ React.createElement(import_common.Calendar, { size: 16 })
1456
+ /* @__PURE__ */ React.createElement(import_common.Calendar, { size: 22 })
1457
1457
  )))
1458
1458
  },
1459
1459
  InputLabelProps: variant === "outlined" ? { shrink: true } : void 0,