@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.mjs CHANGED
@@ -1143,7 +1143,7 @@ var DateTimePickerComponent = ({
1143
1143
  m.hour(hour);
1144
1144
  m.minute(minute);
1145
1145
  m.second(0);
1146
- const newValue = m.format("YYYY-MM-DDTHH:mm:ss");
1146
+ const newValue = toLatinDigits(m.utc().format("YYYY-MM-DDTHH:mm:ss[Z]"));
1147
1147
  if (newValue !== value) {
1148
1148
  onChange(newValue);
1149
1149
  }
@@ -1294,7 +1294,7 @@ var DateTimePickerComponent = ({
1294
1294
  const changeDate = (days) => {
1295
1295
  const currentMoment = value ? moment(value) : moment();
1296
1296
  const newMoment = currentMoment.add(days, "days");
1297
- onChange(newMoment.format("YYYY-MM-DDTHH:mm:ss"));
1297
+ onChange(toLatinDigits(newMoment.utc().format("YYYY-MM-DDTHH:mm:ss[Z]")));
1298
1298
  };
1299
1299
  const handleConfirm = () => {
1300
1300
  const { year, month, day, hour, minute } = selectedDate;
@@ -1302,7 +1302,7 @@ var DateTimePickerComponent = ({
1302
1302
  m.hour(hour);
1303
1303
  m.minute(minute);
1304
1304
  m.second(0);
1305
- onChange(m.format("YYYY-MM-DDTHH:mm:ss"));
1305
+ onChange(toLatinDigits(m.utc().format("YYYY-MM-DDTHH:mm:ss[Z]")));
1306
1306
  setIsOpen(false);
1307
1307
  };
1308
1308
  const handleClear = () => {
@@ -1374,9 +1374,9 @@ var DateTimePickerComponent = ({
1374
1374
  p: 0.25
1375
1375
  }
1376
1376
  },
1377
- /* @__PURE__ */ React.createElement(MdChevronRight, { size: 24 })
1377
+ /* @__PURE__ */ React.createElement(MdChevronRight, { size: 28 })
1378
1378
  ))),
1379
- endAdornment: /* @__PURE__ */ React.createElement(InputAdornment, { position: "end", sx: { ml: -0.5, mr: 0.5 } }, /* @__PURE__ */ React.createElement(Tooltip, { title: "\u0631\u0648\u0632 \u0628\u0639\u062F" }, /* @__PURE__ */ React.createElement(
1379
+ endAdornment: /* @__PURE__ */ React.createElement(InputAdornment, { position: "end", sx: { ml: -0.5, mr: 2 } }, /* @__PURE__ */ React.createElement(Tooltip, { title: "\u0631\u0648\u0632 \u0628\u0639\u062F" }, /* @__PURE__ */ React.createElement(
1380
1380
  IconButton3,
1381
1381
  {
1382
1382
  size: "small",
@@ -1390,7 +1390,7 @@ var DateTimePickerComponent = ({
1390
1390
  p: 0.25
1391
1391
  }
1392
1392
  },
1393
- /* @__PURE__ */ React.createElement(MdChevronLeft, { size: 24 })
1393
+ /* @__PURE__ */ React.createElement(MdChevronLeft, { size: 28 })
1394
1394
  )), clearable && value && !disabled && /* @__PURE__ */ React.createElement(Tooltip, { title: "\u067E\u0627\u06A9 \u06A9\u0631\u062F\u0646" }, /* @__PURE__ */ React.createElement(
1395
1395
  IconButton3,
1396
1396
  {
@@ -1402,7 +1402,7 @@ var DateTimePickerComponent = ({
1402
1402
  },
1403
1403
  sx: { p: 0.25 }
1404
1404
  },
1405
- /* @__PURE__ */ React.createElement(MdOutlineClear, { size: 18 })
1405
+ /* @__PURE__ */ React.createElement(MdOutlineClear, { size: 20 })
1406
1406
  )), /* @__PURE__ */ React.createElement(Tooltip, { title: "\u0627\u0646\u062A\u062E\u0627\u0628 \u062A\u0627\u0631\u06CC\u062E" }, /* @__PURE__ */ React.createElement(
1407
1407
  IconButton3,
1408
1408
  {
@@ -1411,7 +1411,7 @@ var DateTimePickerComponent = ({
1411
1411
  disabled,
1412
1412
  sx: { p: 0.25 }
1413
1413
  },
1414
- /* @__PURE__ */ React.createElement(Calendar, { size: 16 })
1414
+ /* @__PURE__ */ React.createElement(Calendar, { size: 22 })
1415
1415
  )))
1416
1416
  },
1417
1417
  InputLabelProps: variant === "outlined" ? { shrink: true } : void 0,