@m4l/components 0.0.25 → 0.0.26

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.
@@ -1,8 +1,7 @@
1
1
  import { useState, useEffect, useCallback, useMemo } from "react";
2
2
  import { useNetwork, useModuleDictionary, usePaginate } from "@m4l/core";
3
3
  import { Tooltip, IconButton, TextField } from "@mui/material";
4
- import { LocalizationProvider, DateTimePicker } from "@mui/x-date-pickers";
5
- import AdapterDateFns from "@mui/lab/AdapterDateFns";
4
+ import { DateTimePicker } from "@mui/x-date-pickers";
6
5
  import { styled, useTheme } from "@mui/material/styles";
7
6
  import { startOfMonth, endOfDay } from "date-fns";
8
7
  import { D as DataGrid } from "../DataGrid/index.js";
@@ -225,25 +224,22 @@ function ObjectLogs(props) {
225
224
  return /* @__PURE__ */ jsxs(Container$1, {
226
225
  children: [/* @__PURE__ */ jsxs(Actions, {
227
226
  id: "objectLogsActions",
228
- children: [/* @__PURE__ */ jsxs(LocalizationProvider, {
229
- dateAdapter: AdapterDateFns,
230
- children: [/* @__PURE__ */ jsx(DateTimePicker, {
231
- value: startValue,
232
- onChange: (newValue) => {
233
- onChangeDate(newValue, "start");
234
- },
235
- renderInput: (params) => /* @__PURE__ */ jsx(TextField, {
236
- ...params
237
- })
238
- }), /* @__PURE__ */ jsx(DateTimePicker, {
239
- value: endValue,
240
- onChange: (newValue) => {
241
- onChangeDate(newValue, "end");
242
- },
243
- renderInput: (params) => /* @__PURE__ */ jsx(TextField, {
244
- ...params
245
- })
246
- })]
227
+ children: [/* @__PURE__ */ jsx(DateTimePicker, {
228
+ value: startValue,
229
+ onChange: (newValue) => {
230
+ onChangeDate(newValue, "start");
231
+ },
232
+ renderInput: (params) => /* @__PURE__ */ jsx(TextField, {
233
+ ...params
234
+ })
235
+ }), /* @__PURE__ */ jsx(DateTimePicker, {
236
+ value: endValue,
237
+ onChange: (newValue) => {
238
+ onChangeDate(newValue, "end");
239
+ },
240
+ renderInput: (params) => /* @__PURE__ */ jsx(TextField, {
241
+ ...params
242
+ })
247
243
  }), /* @__PURE__ */ jsx(IconButton$1, {
248
244
  dictionaryTooltip: "object_logs.search",
249
245
  onClick: onClickFilter,
package/dist/index.js CHANGED
@@ -33,7 +33,6 @@ export { M as ModalDialog, d as defaultModalDialogDictionary, g as getModalDialo
33
33
  export { R as Resizeable } from "./components/Resizeable/index.js";
34
34
  export { N as NoItemSelected, d as defaultNoItemSelectedDictionary, g as getNoItemSelectedComponentsDictionary } from "./components/NoItemSelected/index.js";
35
35
  import "@mui/x-date-pickers";
36
- import "@mui/lab/AdapterDateFns";
37
36
  export { O as ObjectLogs, d as defaultObjectLogDictionary, g as getObjectLogsComponentsDictionary } from "./components/ObjectLogs/index.js";
38
37
  import "./react-json-view.js";
39
38
  export { P as PaperForm } from "./components/PaperForm/index.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
3
  "private": false,
4
- "version": "0.0.25",
4
+ "version": "0.0.26",
5
5
  "license": "UNLICENSED",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -21,7 +21,7 @@
21
21
  "peerDependencies": {
22
22
  "@hookform/resolvers": "^2.9.5",
23
23
  "@m4l/core": "^0.0.27",
24
- "@m4l/graphics": "^0.0.20",
24
+ "@m4l/graphics": "^0.0.21",
25
25
  "@mui/lab": "^5.0.0-alpha.89",
26
26
  "@mui/material": "^5.8.7",
27
27
  "@mui/x-date-pickers": "^5.0.0-beta.0",
@@ -42,7 +42,8 @@
42
42
  "@emotion/styled": "^11.9.3",
43
43
  "@hookform/resolvers": "^2.9.5",
44
44
  "@m4l/core": "^0.0.27",
45
- "@m4l/graphics": "^0.0.20",
45
+ "@m4l/graphics": "^0.0.21",
46
+ "@m4l/layouts": "^0.0.9",
46
47
  "@mui/lab": "^5.0.0-alpha.89",
47
48
  "@mui/material": "^5.8.7",
48
49
  "@mui/x-date-pickers": "^5.0.0-beta.0",
@@ -81,6 +82,7 @@
81
82
  "react-lazy-load-image-component": "^1.5.4",
82
83
  "react-resizable": "^3.0.4",
83
84
  "react-splitter-layout": "^4.0.0",
85
+ "react-toastify": "^9.0.5",
84
86
  "rollup-plugin-terser": "^7.0.2",
85
87
  "simplebar-react": "^2.4.1",
86
88
  "typescript": "^4.6.3",