@m4l/components 1.0.8 → 1.0.9

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.
Files changed (65) hide show
  1. package/components/AccountPopover/{index.fbe7e445.js → index.85964263.js} +2 -2
  2. package/components/AppBar/{index.88ae8b87.js → index.233917e6.js} +2 -2
  3. package/components/CommonActions/{index.9d9c7d2d.js → index.5f5362d4.js} +3 -3
  4. package/components/DynamicFilter/{index.b79e3e3f.js → index.d698a952.js} +14 -137
  5. package/components/DynamicFilter/slots/index.79811999.js +150 -0
  6. package/components/DynamicFilter/{dynamicFilterSlots.d.ts → slots/index.d.ts} +56 -56
  7. package/components/FieldLabel/{index.5d964cbd.js → index.61450047.js} +1 -1
  8. package/components/HamburgerMenu/{index.3bb9880f.js → index.6da952c3.js} +2 -2
  9. package/components/Icon/{index.3887ef2f.js → index.0d591435.js} +2 -2
  10. package/components/Image/{index.01f0cdca.js → index.7b1ce7d6.js} +1 -1
  11. package/components/LoadingError/{index.c95950b0.js → index.5b8a819d.js} +2 -2
  12. package/components/MFLoader/{index.b980701c.js → index.6f690259.js} +1 -1
  13. package/components/ModalDialog/{index.5c9ce220.js → index.bdae9c06.js} +1 -1
  14. package/components/NoItemSelected/{index.ed990b9b.js → index.71727588.js} +1 -1
  15. package/components/ObjectLogs/{index.994c87f7.js → index.5e18c08e.js} +5 -5
  16. package/components/PDFViewer/{index.4e9adad1.js → index.e5b7b58c.js} +1 -1
  17. package/components/Page/{index.1a6915e1.js → index.bf61755b.js} +1 -1
  18. package/components/PaperForm/{index.9aee22a8.js → index.2c5d1c14.js} +1 -1
  19. package/components/Period/{index.a1124549.js → index.9f3a2531.js} +2 -2
  20. package/components/PrintingSystem/{index.986a7f36.js → index.e166c8d5.js} +13 -13
  21. package/components/PrintingSystem/subcomponents/BodyNode/{index.03795652.js → index.ff5bd9ba.js} +1 -1
  22. package/components/PrintingSystem/subcomponents/ChartNode/{index.c0695dce.js → index.e78e9c90.js} +1 -1
  23. package/components/PrintingSystem/subcomponents/DividerNode/{index.b1c64ac8.js → index.1ff8a100.js} +1 -1
  24. package/components/PrintingSystem/subcomponents/FooterNode/{index.a25fe8c0.js → index.7078b267.js} +1 -1
  25. package/components/PrintingSystem/subcomponents/GridNode/{index.63126c45.js → index.45007400.js} +1 -1
  26. package/components/PrintingSystem/subcomponents/HeaderNode/{index.4265f4d0.js → index.c19c37d6.js} +1 -1
  27. package/components/PrintingSystem/subcomponents/PaperNode/{index.3689165b.js → index.3a620060.js} +1 -1
  28. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.f6d75fa7.js → index.c158a2b6.js} +1 -1
  29. package/components/PrintingSystem/subcomponents/SectionNode/{index.8be372b6.js → index.cc08a0f8.js} +1 -1
  30. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.17bfe615.js → index.a37d8efa.js} +1 -1
  31. package/components/PropertyValue/{index.d371ce09.js → index.2e61bd86.js} +2 -2
  32. package/components/SideBar/{index.8ba746a8.js → index.a645fbb3.js} +4 -4
  33. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +1 -1
  34. package/components/ToastContainer/{index.32c1142f.js → index.c1ae5efc.js} +1 -1
  35. package/components/areas/contexts/AreasContext/{index.8813e482.js → index.ed31c72d.js} +2 -2
  36. package/components/areas/{dictionary.5fa9b201.js → dictionary.ffe082b0.js} +2 -2
  37. package/components/areas/hooks/useAreas/{index.d4e3b9af.js → index.dca83673.js} +1 -1
  38. package/components/hook-form/RHFAutocompleteAsync/{index.29408b18.js → index.58439d31.js} +2 -2
  39. package/components/hook-form/RHFCheckbox/{index.fd1193ae.js → index.52645cbc.js} +2 -2
  40. package/components/hook-form/RHFColorPicker/{index.451c6787.js → index.ad3a7448.js} +5 -5
  41. package/components/hook-form/RHFDateTime/{index.a9d2ba66.js → index.0bb4279e.js} +3 -3
  42. package/components/hook-form/RHFPeriod/{index.92cc371e.js → index.8075a132.js} +3 -3
  43. package/components/hook-form/RHFTextField/{index.2b2632c1.js → index.8d9e389c.js} +3 -3
  44. package/components/hook-form/RHFUpload/{index.f1cfc225.js → index.bb7f617e.js} +2 -2
  45. package/components/maps/components/GpsTools/{index.72796708.js → index.a32b12b7.js} +2 -2
  46. package/components/maps/{index.00de5f7b.js → index.595f5894.js} +9 -9
  47. package/components/modal/{WindowBase.6140e216.js → WindowBase.57f82667.js} +3 -3
  48. package/components/modal/{WindowConfirm.a8f65450.js → WindowConfirm.21342f0a.js} +5 -5
  49. package/components/mui_extended/Accordion/{index.c91a6f3d.js → index.232b14c4.js} +2 -2
  50. package/components/mui_extended/Button/{index.84b7159a.js → index.6276c580.js} +4 -4
  51. package/components/mui_extended/CheckBox/{index.b1f18922.js → index.2bf3b459.js} +1 -1
  52. package/components/mui_extended/IconButton/{index.fd8a76af.js → index.20a5a0be.js} +1 -1
  53. package/components/mui_extended/Pager/{index.fba94d09.js → index.2a5203df.js} +3 -3
  54. package/components/mui_extended/Popover/{index.2e637571.js → index.fda32ba1.js} +11 -10
  55. package/components/mui_extended/Tab/{index.243402a1.js → index.03742bb6.js} +15 -15
  56. package/components/mui_extended/ToggleButton/{index.aeb04226.js → index.7a4779c7.js} +1 -1
  57. package/components/mui_extended/ToggleIconButton/{index.f74a798e.js → index.29fdefaa.js} +1 -1
  58. package/components/popups/PopupsProvider/{index.5d90b31f.js → index.6b5befba.js} +1 -1
  59. package/components/popups/PopupsViewer/{index.b6a68e24.js → index.c7940ab0.js} +3 -3
  60. package/contexts/ModalContext/{index.a166538d.js → index.e126d383.js} +1 -1
  61. package/hooks/useFormAddEdit/{index.ca90cd13.js → index.42356b18.js} +2 -2
  62. package/hooks/useModal/{index.167828d6.js → index.20c3f2be.js} +4 -4
  63. package/index.js +70 -69
  64. package/package.json +1 -1
  65. package/{vendor.f1f6f92c.js → vendor.e16cc0cc.js} +49 -49
@@ -5,7 +5,7 @@ import { useResponsiveDesktop } from "@m4l/graphics";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
6
  import { useModuleSkeleton } from "@m4l/core";
7
7
  import { forwardRef } from "react";
8
- import { F as FieldLabel } from "../../FieldLabel/index.5d964cbd.js";
8
+ import { F as FieldLabel } from "../../FieldLabel/index.61450047.js";
9
9
  const COMPONENT_CLASS_NAME = "M4LCheckBox";
10
10
  generateUtilityClasses(COMPONENT_CLASS_NAME, [
11
11
  "root",
@@ -2,7 +2,7 @@ import { jsx, Fragment } from "react/jsx-runtime";
2
2
  import { useMemo, useState } from "react";
3
3
  import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
4
4
  import { Skeleton, generateUtilityClasses, generateUtilityClass, Tooltip, IconButton as IconButton$1 } from "@mui/material";
5
- import { I as Icon } from "../../Icon/index.3887ef2f.js";
5
+ import { I as Icon } from "../../Icon/index.0d591435.js";
6
6
  import { styled } from "@mui/material/styles";
7
7
  import { unstable_composeClasses } from "@mui/base";
8
8
  import clsx from "clsx";
@@ -3,13 +3,13 @@ import { useMemo } from "react";
3
3
  import { styled } from "@mui/material/styles";
4
4
  import { generateUtilityClasses, generateUtilityClass, useTheme, Select, InputBase, MenuItem } from "@mui/material";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
- import { I as IconButton } from "../IconButton/index.fd8a76af.js";
6
+ import { I as IconButton } from "../IconButton/index.20a5a0be.js";
7
7
  import { useEnvironment, useBase } from "@m4l/core";
8
8
  import { useResponsiveContainerStore } from "@m4l/graphics";
9
9
  import { shallow } from "zustand/shallow";
10
10
  import { T as Typography } from "../Typography/index.463f613f.js";
11
- import { I as Icon } from "../../Icon/index.3887ef2f.js";
12
- import { c as classes } from "../../PrintingSystem/index.986a7f36.js";
11
+ import { I as Icon } from "../../Icon/index.0d591435.js";
12
+ import { c as classes } from "../../PrintingSystem/index.e166c8d5.js";
13
13
  import clsx from "clsx";
14
14
  const PagerRoot = styled("div")(({ theme }) => ({
15
15
  ...theme.components?.M4LPager?.styleOverrides
@@ -1,27 +1,28 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { u as useDynamicFilterStore, P as PopoverMenuStyled, a as PopoverMenuItemStyled, b as PopoverMenuItemIconStyled, c as PopoverMenuItemLabelStyled, f as fieldFactory, d as PopoverStyled, e as PopoverHeaderStyled, g as PopoverHeaderIconStyled, h as PopoverHeaderTitleStyled, i as PopoverContainerFieldsStyled, j as DataTypeComponent, k as PopoverHeaderActionsStyled } from "../../DynamicFilter/index.b79e3e3f.js";
2
+ import { P as PopoverMenuStyled, p as PopoverMenuItemStyled, q as PopoverMenuItemIconStyled, r as PopoverMenuItemLabelStyled, s as PopoverStyled, t as PopoverHeaderStyled, u as PopoverHeaderIconStyled, v as PopoverHeaderTitleStyled, w as PopoverContainerFieldsStyled, x as PopoverHeaderActionsStyled } from "../../DynamicFilter/slots/index.79811999.js";
3
3
  import { useModuleDictionary, useEnvironment, useNetwork, useModulePrivileges } from "@m4l/core";
4
+ import { u as useDynamicFilterStore, f as fieldFactory, b as DataTypeComponent } from "../../DynamicFilter/index.d698a952.js";
4
5
  import React__default, { useRef, useMemo, useCallback, useState, useEffect } from "react";
5
6
  import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.95ebabc9.js";
6
- import { a as ActionCancel, b as ActionIntro } from "../../CommonActions/index.9d9c7d2d.js";
7
+ import { a as ActionCancel, b as ActionIntro } from "../../CommonActions/index.5f5362d4.js";
7
8
  import { Popover as Popover$1, generateUtilityClasses, generateUtilityClass, Stack, MenuItem, Tooltip, FormControl, RadioGroup, FormControlLabel, Radio, useTheme } from "@mui/material";
8
- import { I as Image } from "../../Image/index.01f0cdca.js";
9
+ import { I as Image } from "../../Image/index.7b1ce7d6.js";
9
10
  import { useLocales } from "@m4l/graphics";
10
11
  import { styled } from "@mui/material/styles";
11
- import { I as ImageButton } from "../Button/index.84b7159a.js";
12
+ import { I as ImageButton } from "../Button/index.6276c580.js";
12
13
  import { unstable_composeClasses } from "@mui/base";
13
14
  import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
14
15
  import { C as CircularProgress } from "../CircularProgress/index.967e70b7.js";
15
- import { M as MAP_DICCTIONARY } from "../../areas/dictionary.5fa9b201.js";
16
+ import { M as MAP_DICCTIONARY } from "../../areas/dictionary.ffe082b0.js";
16
17
  import { M as MAP_ICONS } from "../../areas/icons.504ec098.js";
17
- import { C as ColumnSetCheckFormatter, a as DataGrid } from "../../../vendor.f1f6f92c.js";
18
+ import { C as ColumnSetCheckFormatter, a as DataGrid } from "../../../vendor.e16cc0cc.js";
18
19
  import { shallow } from "zustand/shallow";
19
- import { I as Icon } from "../../Icon/index.3887ef2f.js";
20
- import { u as useMapStore, a as useDisableZoomEvents, m as mapClasses } from "../../maps/index.00de5f7b.js";
20
+ import { I as Icon } from "../../Icon/index.0d591435.js";
21
+ import { u as useMapStore, a as useDisableZoomEvents, m as mapClasses } from "../../maps/index.595f5894.js";
21
22
  import { u as useStateRef } from "../../../hooks/useStateRef/index.538edb89.js";
22
23
  import clsx from "clsx";
23
- import { C as CheckBox } from "../CheckBox/index.b1f18922.js";
24
- import { I as IconButton } from "../IconButton/index.fd8a76af.js";
24
+ import { C as CheckBox } from "../CheckBox/index.2bf3b459.js";
25
+ import { I as IconButton } from "../IconButton/index.20a5a0be.js";
25
26
  const PopoverRoot = styled(Popover$1)(({ theme }) => ({
26
27
  ...theme.components?.M4LPopover?.styleOverrides
27
28
  }));
@@ -4,41 +4,41 @@ import { u as useRowSelection, S as SelectCellFormatter, H as HeaderRenderer, D
4
4
  import { useDrag, useDrop, DndProvider } from "react-dnd";
5
5
  import { HTML5Backend } from "react-dnd-html5-backend";
6
6
  import { generateUtilityClasses, generateUtilityClass, styled, Tabs as Tabs$1, Tab as Tab$1, Skeleton, SvgIcon, Checkbox, InputBase, useTheme } from "@mui/material";
7
- import { d as useDataGrid, e as useFilters, M as MenuActions, f as ColumnDateFormatter, R as RHFAutocomplete, a as DataGrid } from "../../../vendor.f1f6f92c.js";
7
+ import { d as useDataGrid, e as useFilters, M as MenuActions, f as ColumnDateFormatter, R as RHFAutocomplete, a as DataGrid } from "../../../vendor.e16cc0cc.js";
8
8
  import { T as TEST_PROP_ID, a9 as DATAGRID_SELECT_COLUMN_KEY, aa as DATAGRID_ACTIONS_COLUMN_KEY, ab as COMPONENT_MAP_TOOLS_ID, ac as STYLE_OPACITIES, ad as STYLE_WHEIGHTS, ae as STYLE_PATTERNS } from "../../areas/constants.0d3ba950.js";
9
9
  import { useModuleSkeleton, useModuleDictionary, getPropertyByString, useEnvironment, useHostTools, useNetwork, useModulePrivileges, usePaginate } from "@m4l/core";
10
- import { M as MAP_DICCTIONARY } from "../../areas/dictionary.5fa9b201.js";
11
- import { u as useGpsToolsStore, g as gpsToolsClasses, a as useLayers, D as DivGpsToolsRoot } from "../../maps/components/GpsTools/index.72796708.js";
10
+ import { M as MAP_DICCTIONARY } from "../../areas/dictionary.ffe082b0.js";
11
+ import { u as useGpsToolsStore, g as gpsToolsClasses, a as useLayers, D as DivGpsToolsRoot } from "../../maps/components/GpsTools/index.a32b12b7.js";
12
12
  import { shallow } from "zustand/shallow";
13
13
  import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
14
14
  import "@geoman-io/leaflet-geoman-free";
15
15
  import clsx from "clsx";
16
16
  import { G as GPSTOOLSICONS } from "../../areas/icons.504ec098.js";
17
- import { D as DynamicFilter } from "../../DynamicFilter/index.b79e3e3f.js";
17
+ import { a as DynamicFilter } from "../../DynamicFilter/index.d698a952.js";
18
18
  import { useResponsiveDesktop } from "@m4l/graphics";
19
19
  import { useFormContext, useWatch } from "react-hook-form";
20
20
  import { H as HelperError } from "../../hook-form/HelperError/index.2ed03a3c.js";
21
- import { u as usePopupsStore } from "../../popups/PopupsProvider/index.5d90b31f.js";
22
- import { A as Actions, c as ActionFormIntro } from "../../CommonActions/index.9d9c7d2d.js";
23
- import { B as Button } from "../Button/index.84b7159a.js";
21
+ import { u as usePopupsStore } from "../../popups/PopupsProvider/index.6b5befba.js";
22
+ import { A as Actions, c as ActionFormIntro } from "../../CommonActions/index.5f5362d4.js";
23
+ import { B as Button } from "../Button/index.6276c580.js";
24
24
  import { useMap } from "react-leaflet";
25
25
  import { u as useFormReadyForUpdate } from "../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
26
26
  import * as L from "leaflet";
27
- import { P as PaperForm } from "../../PaperForm/index.9aee22a8.js";
28
- import { R as RHFTextField } from "../../hook-form/RHFTextField/index.2b2632c1.js";
27
+ import { P as PaperForm } from "../../PaperForm/index.2c5d1c14.js";
28
+ import { R as RHFTextField } from "../../hook-form/RHFTextField/index.8d9e389c.js";
29
29
  import { S as Stack } from "../Stack/index.fe363ca5.js";
30
- import { P as PropertyValue } from "../../PropertyValue/index.d371ce09.js";
31
- import { R as RHFColorPicker } from "../../hook-form/RHFColorPicker/index.451c6787.js";
30
+ import { P as PropertyValue } from "../../PropertyValue/index.2e61bd86.js";
31
+ import { R as RHFColorPicker } from "../../hook-form/RHFColorPicker/index.ad3a7448.js";
32
32
  import { unstable_composeClasses } from "@mui/base";
33
33
  import { styled as styled$1 } from "@mui/material/styles";
34
34
  import { a as getNameDataTestId } from "../../../test/getNameDataTestId.aee44365.js";
35
35
  import { T as Tooltip } from "../Tooltip/index.49bb5ee1.js";
36
36
  import * as Yup from "yup";
37
37
  import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.95ebabc9.js";
38
- import { u as useFormAddEdit } from "../../../hooks/useFormAddEdit/index.ca90cd13.js";
39
- import { u as useModal } from "../../../hooks/useModal/index.167828d6.js";
40
- import { W as WindowConfirm } from "../../modal/WindowConfirm.a8f65450.js";
41
- import { u as useMapStore } from "../../maps/index.00de5f7b.js";
38
+ import { u as useFormAddEdit } from "../../../hooks/useFormAddEdit/index.42356b18.js";
39
+ import { u as useModal } from "../../../hooks/useModal/index.20c3f2be.js";
40
+ import { W as WindowConfirm } from "../../modal/WindowConfirm.21342f0a.js";
41
+ import { u as useMapStore } from "../../maps/index.595f5894.js";
42
42
  const componentName$2 = "M4LTabs";
43
43
  generateUtilityClasses(componentName$2, [
44
44
  "root"
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import clsx from "clsx";
3
- import { B as Button, b as buttonClasses } from "../Button/index.84b7159a.js";
3
+ import { B as Button, b as buttonClasses } from "../Button/index.6276c580.js";
4
4
  import { w as withToggle } from "../../../hocs/withToggle/index.548aeace.js";
5
5
  const ToggleAbleButton = ({ onToggle, isToggled, ...props }) => {
6
6
  return /* @__PURE__ */ jsx(
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import clsx from "clsx";
3
- import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.fd8a76af.js";
3
+ import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.20a5a0be.js";
4
4
  import { w as withToggle } from "../../../hocs/withToggle/index.548aeace.js";
5
5
  const ToggleAbleIconButton = ({
6
6
  onToggle,
@@ -6,7 +6,7 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
6
6
  import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
7
7
  import { devtools } from "zustand/middleware";
8
8
  import { immer } from "zustand/middleware/immer";
9
- import { p as popupsUtilityClasses } from "../PopupsViewer/index.b6a68e24.js";
9
+ import { p as popupsUtilityClasses } from "../PopupsViewer/index.c7940ab0.js";
10
10
  import { cloneDeep } from "lodash";
11
11
  const updateOwnerStateClasses = (state) => {
12
12
  state.classes = popupsUtilityClasses(state.ownerState);
@@ -4,14 +4,14 @@ import { shallow } from "zustand/shallow";
4
4
  import { useState, useRef } from "react";
5
5
  import clsx from "clsx";
6
6
  import { useEnvironment } from "@m4l/core";
7
- import { u as usePopupsStore } from "../PopupsProvider/index.5d90b31f.js";
7
+ import { u as usePopupsStore } from "../PopupsProvider/index.6b5befba.js";
8
8
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
9
9
  import { unstable_composeClasses } from "@mui/base";
10
10
  import { af as COMPONENT_CLASS_NAME } from "../../areas/constants.0d3ba950.js";
11
11
  import { P as POPUPS_ICONS } from "../../areas/icons.504ec098.js";
12
12
  import { d as draggableWindowClasses, D as DragResizeWindow } from "../../DragResizeWindow/index.8b3e79f7.js";
13
- import { I as Icon } from "../../Icon/index.3887ef2f.js";
14
- import { I as IconButton } from "../../mui_extended/IconButton/index.fd8a76af.js";
13
+ import { I as Icon } from "../../Icon/index.0d591435.js";
14
+ import { I as IconButton } from "../../mui_extended/IconButton/index.20a5a0be.js";
15
15
  import { u as useSizeContainer } from "../../../hooks/useSizeContainer/index.3c48670c.js";
16
16
  import { styled } from "@mui/material/styles";
17
17
  const popupsClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { createContext, useState } from "react";
3
- import { M as ModalDialog } from "../../components/ModalDialog/index.5c9ce220.js";
3
+ import { M as ModalDialog } from "../../components/ModalDialog/index.bdae9c06.js";
4
4
  const ModalContext = createContext(null);
5
5
  function ModalProvider({ children }) {
6
6
  const [modalOptions, setModalOptions] = useState({
@@ -1,8 +1,8 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useNetwork, useFlagsStore, useModuleDictionary } from "@m4l/core";
3
3
  import { useState, useEffect } from "react";
4
- import { u as useModal } from "../useModal/index.167828d6.js";
5
- import { W as WindowConfirm } from "../../components/modal/WindowConfirm.a8f65450.js";
4
+ import { u as useModal } from "../useModal/index.20c3f2be.js";
5
+ import { W as WindowConfirm } from "../../components/modal/WindowConfirm.21342f0a.js";
6
6
  function useFormAddEdit(props) {
7
7
  const {
8
8
  initialValues,
@@ -2,10 +2,10 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useModuleDictionary, useEnvironment } from "@m4l/core";
3
3
  import { useIsMobile } from "@m4l/graphics";
4
4
  import { useContext, useRef, useCallback } from "react";
5
- import { d as useDataGrid, g as DataGridRoot, h as ColumnsConfig } from "../../vendor.f1f6f92c.js";
6
- import { M as ModalContext } from "../../contexts/ModalContext/index.a166538d.js";
7
- import { W as WindowBase } from "../../components/modal/WindowBase.6140e216.js";
8
- import { A as Actions, a as ActionCancel, b as ActionIntro } from "../../components/CommonActions/index.9d9c7d2d.js";
5
+ import { d as useDataGrid, g as DataGridRoot, h as ColumnsConfig } from "../../vendor.e16cc0cc.js";
6
+ import { M as ModalContext } from "../../contexts/ModalContext/index.e126d383.js";
7
+ import { W as WindowBase } from "../../components/modal/WindowBase.57f82667.js";
8
+ import { A as Actions, a as ActionCancel, b as ActionIntro } from "../../components/CommonActions/index.5f5362d4.js";
9
9
  function useModal() {
10
10
  const context = useContext(ModalContext);
11
11
  if (!context)
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { y, A, i, B, t, v, f, x, s, r, w, C, q, n, a, D, M, N, P, o, R, S, T, z, U, m, j, l, p, k, c } from "./vendor.f1f6f92c.js";
2
- import { A as A2, c as c2, n as n2, t as t2, x as x2, z as z2, m as m2, b, q as q2, B as B2, p as p2, l as l2, u, v as v2, s as s2, r as r2, w as w2, y as y2, o as o2, e, C as C2 } from "./components/areas/dictionary.5fa9b201.js";
1
+ import { y, A, i, B, t, v, f, x, s, r, w, C, q, n, a, D, M, N, P, o, R, S, T, z, U, m, j, l, p, k, c } from "./vendor.e16cc0cc.js";
2
+ import { A as A2, c as c2, n as n2, t as t2, x as x2, z as z2, m as m2, b, q as q2, B as B2, p as p2, l as l2, u, v as v2, s as s2, r as r2, w as w2, y as y2, o as o2, e, C as C2 } from "./components/areas/dictionary.ffe082b0.js";
3
3
  import { f as f2 } from "./utils/index.c64c2dd1.js";
4
4
  import { N as N2 } from "./components/NavLink/index.9f5d5670.js";
5
5
  import { S as S2 } from "./components/ScrollToTop/index.e06f98f6.js";
@@ -14,20 +14,20 @@ import { v as v5 } from "./components/animate/variants/container.11f82b76.js";
14
14
  import { v as v6, a as a2, b as b2 } from "./components/animate/variants/transition.bd46b9ce.js";
15
15
  import { W, a as a3 } from "./components/areas/contexts/WindowToolsMFContext/index.69d95c15.js";
16
16
  import { D as D2, a as a4, M as M4, c as c3 } from "./components/areas/contexts/DynamicMFParmsContext/index.37d1d444.js";
17
- import { A as A4, b as b3 } from "./components/areas/contexts/AreasContext/index.8813e482.js";
17
+ import { A as A4, b as b3 } from "./components/areas/contexts/AreasContext/index.ed31c72d.js";
18
18
  import { u as u2 } from "./components/areas/hooks/useDynamicMFParameters/index.03ce6078.js";
19
19
  import { u as u3 } from "./components/areas/hooks/useWindowToolsMF/index.09801b66.js";
20
- import { R as R2, g } from "./components/hook-form/RHFAutocompleteAsync/index.29408b18.js";
21
- import { R as R3 } from "./components/hook-form/RHFDateTime/index.a9d2ba66.js";
20
+ import { R as R2, g } from "./components/hook-form/RHFAutocompleteAsync/index.58439d31.js";
21
+ import { R as R3 } from "./components/hook-form/RHFDateTime/index.0bb4279e.js";
22
22
  import { R as R4 } from "./components/hook-form/RHFMultiCheckbox/index.437e6ba3.js";
23
23
  import { R as R5 } from "./components/hook-form/RHFSelect/index.c6c60ecc.js";
24
- import { R as R6 } from "./components/hook-form/RHFPeriod/index.92cc371e.js";
24
+ import { R as R6 } from "./components/hook-form/RHFPeriod/index.8075a132.js";
25
25
  import { R as R7 } from "./components/hook-form/RHFRadioGroup/index.11c0add8.js";
26
- import { R as R8, g as g2 } from "./components/hook-form/RHFColorPicker/index.451c6787.js";
27
- import { R as R9 } from "./components/hook-form/RHFCheckbox/index.fd1193ae.js";
28
- import { b as b4, c as c4, a as a5, R as R10, d } from "./components/hook-form/RHFTextField/index.2b2632c1.js";
29
- import { R as R11 } from "./components/hook-form/RHFUpload/index.f1cfc225.js";
30
- import { A as A5 } from "./components/mui_extended/Accordion/index.c91a6f3d.js";
26
+ import { R as R8, g as g2 } from "./components/hook-form/RHFColorPicker/index.ad3a7448.js";
27
+ import { R as R9 } from "./components/hook-form/RHFCheckbox/index.52645cbc.js";
28
+ import { b as b4, c as c4, a as a5, R as R10, d } from "./components/hook-form/RHFTextField/index.8d9e389c.js";
29
+ import { R as R11 } from "./components/hook-form/RHFUpload/index.bb7f617e.js";
30
+ import { A as A5 } from "./components/mui_extended/Accordion/index.232b14c4.js";
31
31
  import { A as A6 } from "./components/mui_extended/Avatar/index.12b96914.js";
32
32
  import { B as B3 } from "./components/mui_extended/BoxIcon/index.d61e7ac5.js";
33
33
  import { B as B4 } from "./components/mui_extended/Breadcrumbs/index.4a44883c.js";
@@ -35,57 +35,57 @@ import { C as C3 } from "./components/mui_extended/CircularProgress/index.967e70
35
35
  import { B as B5 } from "./components/mui_extended/Badge/index.4737c113.js";
36
36
  import { a as a6, L as L2 } from "./components/mui_extended/LinearProgress/index.e9455b2e.js";
37
37
  import { L as L3 } from "./components/mui_extended/LinkWithRoute/index.288c51f3.js";
38
- import { B as B6, I as I2, L as L4 } from "./components/mui_extended/Button/index.84b7159a.js";
39
- import { a as a7, g as g3 } from "./components/mui_extended/Pager/index.fba94d09.js";
40
- import { b as b5, d as d2, f as f3, e as e2, c as c5, u as u4 } from "./components/mui_extended/Tab/index.243402a1.js";
41
- import { C as C4 } from "./components/mui_extended/CheckBox/index.b1f18922.js";
42
- import { I as I3 } from "./components/mui_extended/IconButton/index.fd8a76af.js";
43
- import { g as g4, P as P3 } from "./components/mui_extended/Popover/index.2e637571.js";
38
+ import { B as B6, I as I2, L as L4 } from "./components/mui_extended/Button/index.6276c580.js";
39
+ import { a as a7, g as g3 } from "./components/mui_extended/Pager/index.2a5203df.js";
40
+ import { b as b5, d as d2, f as f3, e as e2, c as c5, u as u4 } from "./components/mui_extended/Tab/index.03742bb6.js";
41
+ import { C as C4 } from "./components/mui_extended/CheckBox/index.2bf3b459.js";
42
+ import { I as I3 } from "./components/mui_extended/IconButton/index.20a5a0be.js";
43
+ import { g as g4, P as P3 } from "./components/mui_extended/Popover/index.fda32ba1.js";
44
44
  import { S as S3 } from "./components/mui_extended/Stack/index.fe363ca5.js";
45
45
  import { T as T2 } from "./components/mui_extended/Tooltip/index.49bb5ee1.js";
46
46
  import { T as T3 } from "./components/mui_extended/Typography/index.463f613f.js";
47
- import { T as T4 } from "./components/mui_extended/ToggleButton/index.aeb04226.js";
48
- import { T as T5 } from "./components/mui_extended/ToggleIconButton/index.f74a798e.js";
49
- import { P as P4, a as a8, g as g5 } from "./components/Period/index.a1124549.js";
50
- import { D as D3 } from "./components/DynamicFilter/index.b79e3e3f.js";
51
- import { F } from "./components/FieldLabel/index.5d964cbd.js";
47
+ import { T as T4 } from "./components/mui_extended/ToggleButton/index.7a4779c7.js";
48
+ import { T as T5 } from "./components/mui_extended/ToggleIconButton/index.29fdefaa.js";
49
+ import { P as P4, a as a8, g as g5 } from "./components/Period/index.9f3a2531.js";
50
+ import { a as a9 } from "./components/DynamicFilter/index.d698a952.js";
51
+ import { F } from "./components/FieldLabel/index.61450047.js";
52
52
  import { H, e as e3 } from "./components/HelperText/index.ebb53dac.js";
53
- import { a as a9, d as d3, c as c6, b as b6, A as A7, e as e4, g as g6 } from "./components/CommonActions/index.9d9c7d2d.js";
54
- import { D as D4, d as d4 } from "./components/DragResizeWindow/index.8b3e79f7.js";
53
+ import { a as a10, d as d3, c as c6, b as b6, A as A7, e as e4, g as g6 } from "./components/CommonActions/index.5f5362d4.js";
54
+ import { D as D3, d as d4 } from "./components/DragResizeWindow/index.8b3e79f7.js";
55
55
  import { G, n as n3, q as q3 } from "./components/GridLayout/index.656840a5.js";
56
- import { R as R12, a as a10, b as b7, c as c7 } from "./components/GridLayout/subcomponents/Responsive/index.97505a31.js";
56
+ import { R as R12, a as a11, b as b7, c as c7 } from "./components/GridLayout/subcomponents/Responsive/index.97505a31.js";
57
57
  import { w as w3 } from "./components/GridLayout/subcomponents/SizeProvider/index.36cb4139.js";
58
- import { P as P5 } from "./components/PrintingSystem/index.986a7f36.js";
59
- import { I as I4 } from "./components/Icon/index.3887ef2f.js";
60
- import { I as I5 } from "./components/Image/index.01f0cdca.js";
58
+ import { P as P5 } from "./components/PrintingSystem/index.e166c8d5.js";
59
+ import { I as I4 } from "./components/Icon/index.0d591435.js";
60
+ import { I as I5 } from "./components/Image/index.7b1ce7d6.js";
61
61
  import { L as L5 } from "./components/Loadable/index.e83cdb4e.js";
62
- import { C as C5, M as M5, c as c8, b as b8, d as d5, u as u5 } from "./components/maps/index.00de5f7b.js";
63
- import { G as G2, b as b9, u as u6 } from "./components/maps/components/GpsTools/index.72796708.js";
64
- import { M as M6 } from "./components/ModalDialog/index.5c9ce220.js";
65
- import { W as W2 } from "./components/modal/WindowConfirm.a8f65450.js";
66
- import { W as W3 } from "./components/modal/WindowBase.6140e216.js";
67
- import { L as L6 } from "./components/LoadingError/index.c95950b0.js";
68
- import { M as M7 } from "./components/MFLoader/index.b980701c.js";
69
- import { N as N3 } from "./components/NoItemSelected/index.ed990b9b.js";
70
- import { O } from "./components/ObjectLogs/index.994c87f7.js";
71
- import { P as P6 } from "./components/PaperForm/index.9aee22a8.js";
72
- import { P as P7 } from "./components/PDFViewer/index.4e9adad1.js";
73
- import { H as H2 } from "./components/Page/index.1a6915e1.js";
74
- import { P as P8 } from "./components/PropertyValue/index.d371ce09.js";
62
+ import { C as C5, M as M5, c as c8, b as b8, d as d5, u as u5 } from "./components/maps/index.595f5894.js";
63
+ import { G as G2, b as b9, u as u6 } from "./components/maps/components/GpsTools/index.a32b12b7.js";
64
+ import { M as M6 } from "./components/ModalDialog/index.bdae9c06.js";
65
+ import { W as W2 } from "./components/modal/WindowConfirm.21342f0a.js";
66
+ import { W as W3 } from "./components/modal/WindowBase.57f82667.js";
67
+ import { L as L6 } from "./components/LoadingError/index.5b8a819d.js";
68
+ import { M as M7 } from "./components/MFLoader/index.6f690259.js";
69
+ import { N as N3 } from "./components/NoItemSelected/index.71727588.js";
70
+ import { O } from "./components/ObjectLogs/index.5e18c08e.js";
71
+ import { P as P6 } from "./components/PaperForm/index.2c5d1c14.js";
72
+ import { P as P7 } from "./components/PDFViewer/index.e5b7b58c.js";
73
+ import { H as H2 } from "./components/Page/index.bf61755b.js";
74
+ import { P as P8 } from "./components/PropertyValue/index.2e61bd86.js";
75
75
  import { R as R13 } from "./components/Resizeable/index.414ff687.js";
76
76
  import { S as S4 } from "./components/ScrollBar/index.1e89bb44.js";
77
77
  import { S as S5 } from "./components/SplitLayout/index.7d9edf4e.js";
78
- import { T as T6, a as a11 } from "./components/ToastContainer/index.32c1142f.js";
79
- import { S as S6 } from "./components/SideBar/index.8ba746a8.js";
80
- import { A as A8, g as g7 } from "./components/AppBar/index.88ae8b87.js";
81
- import { A as A9, g as g8 } from "./components/AccountPopover/index.fbe7e445.js";
82
- import { a as a12, P as P9, u as u7 } from "./components/popups/PopupsProvider/index.5d90b31f.js";
83
- import { P as P10 } from "./components/popups/PopupsViewer/index.b6a68e24.js";
84
- import { H as H3 } from "./components/HamburgerMenu/index.3bb9880f.js";
78
+ import { T as T6, a as a12 } from "./components/ToastContainer/index.c1ae5efc.js";
79
+ import { S as S6 } from "./components/SideBar/index.a645fbb3.js";
80
+ import { A as A8, g as g7 } from "./components/AppBar/index.233917e6.js";
81
+ import { A as A9, g as g8 } from "./components/AccountPopover/index.85964263.js";
82
+ import { a as a13, P as P9, u as u7 } from "./components/popups/PopupsProvider/index.6b5befba.js";
83
+ import { P as P10 } from "./components/popups/PopupsViewer/index.c7940ab0.js";
84
+ import { H as H3 } from "./components/HamburgerMenu/index.6da952c3.js";
85
85
  import { R as R14 } from "./contexts/RHFormContext/index.95ebabc9.js";
86
- import { M as M8, a as a13 } from "./contexts/ModalContext/index.a166538d.js";
87
- import { u as u8 } from "./hooks/useFormAddEdit/index.ca90cd13.js";
88
- import { u as u9 } from "./hooks/useModal/index.167828d6.js";
86
+ import { M as M8, a as a14 } from "./contexts/ModalContext/index.e126d383.js";
87
+ import { u as u8 } from "./hooks/useFormAddEdit/index.42356b18.js";
88
+ import { u as u9 } from "./hooks/useModal/index.20c3f2be.js";
89
89
  import "react/jsx-runtime";
90
90
  import "react";
91
91
  import "@m4l/core";
@@ -99,7 +99,7 @@ import "./components/areas/constants.0d3ba950.js";
99
99
  import "@m4l/graphics";
100
100
  import "zustand/shallow";
101
101
  import "./test/getNameDataTestId.aee44365.js";
102
- import "./components/areas/hooks/useAreas/index.d4e3b9af.js";
102
+ import "./components/areas/hooks/useAreas/index.dca83673.js";
103
103
  import "zustand";
104
104
  import "yup";
105
105
  import "@mui/material/ButtonBase/TouchRipple";
@@ -130,21 +130,22 @@ import "@geoman-io/leaflet-geoman-free";
130
130
  import "./components/hook-form/HelperError/index.2ed03a3c.js";
131
131
  import "./hooks/useFormReadyForUpdate/index.f60f500e.js";
132
132
  import "leaflet";
133
+ import "./components/DynamicFilter/slots/index.79811999.js";
133
134
  import "./hooks/useStateRef/index.538edb89.js";
134
135
  import "./hocs/withToggle/index.548aeace.js";
135
136
  import "./react-resizable.837c446d.js";
136
137
  import "./components/GridLayout/subcomponents/Griditem/index.b23625d7.js";
137
138
  import "fast-equals";
138
- import "./components/PrintingSystem/subcomponents/DividerNode/index.b1c64ac8.js";
139
- import "./components/PrintingSystem/subcomponents/SectionNode/index.8be372b6.js";
140
- import "./components/PrintingSystem/subcomponents/TextBoxNode/index.17bfe615.js";
141
- import "./components/PrintingSystem/subcomponents/HeaderNode/index.4265f4d0.js";
142
- import "./components/PrintingSystem/subcomponents/BodyNode/index.03795652.js";
143
- import "./components/PrintingSystem/subcomponents/FooterNode/index.a25fe8c0.js";
144
- import "./components/PrintingSystem/subcomponents/PaperNode/index.3689165b.js";
145
- import "./components/PrintingSystem/subcomponents/PropertyValueNode/index.f6d75fa7.js";
146
- import "./components/PrintingSystem/subcomponents/GridNode/index.63126c45.js";
147
- import "./components/PrintingSystem/subcomponents/ChartNode/index.c0695dce.js";
139
+ import "./components/PrintingSystem/subcomponents/DividerNode/index.1ff8a100.js";
140
+ import "./components/PrintingSystem/subcomponents/SectionNode/index.cc08a0f8.js";
141
+ import "./components/PrintingSystem/subcomponents/TextBoxNode/index.a37d8efa.js";
142
+ import "./components/PrintingSystem/subcomponents/HeaderNode/index.c19c37d6.js";
143
+ import "./components/PrintingSystem/subcomponents/BodyNode/index.ff5bd9ba.js";
144
+ import "./components/PrintingSystem/subcomponents/FooterNode/index.7078b267.js";
145
+ import "./components/PrintingSystem/subcomponents/PaperNode/index.3a620060.js";
146
+ import "./components/PrintingSystem/subcomponents/PropertyValueNode/index.c158a2b6.js";
147
+ import "./components/PrintingSystem/subcomponents/GridNode/index.45007400.js";
148
+ import "./components/PrintingSystem/subcomponents/ChartNode/index.e78e9c90.js";
148
149
  import "chart.js";
149
150
  import "chartjs-chart-error-bars";
150
151
  import "qrcode.react";
@@ -168,7 +169,7 @@ export {
168
169
  A2 as AREAS_DICTIONARY_ID,
169
170
  A5 as Accordion,
170
171
  A9 as AccountPopover,
171
- a9 as ActionCancel,
172
+ a10 as ActionCancel,
172
173
  d3 as ActionFormCancel,
173
174
  c6 as ActionFormIntro,
174
175
  b6 as ActionIntro,
@@ -202,8 +203,8 @@ export {
202
203
  c2 as DICCTIONARY,
203
204
  a as DataGrid,
204
205
  D as DateFormatter,
205
- D4 as DragResizeWindow,
206
- D3 as DynamicFilter,
206
+ D3 as DragResizeWindow,
207
+ a9 as DynamicFilter,
207
208
  D2 as DynamicMFParmsContext,
208
209
  a4 as DynamicMFParmsProvider,
209
210
  F as FieldLabel,
@@ -236,7 +237,7 @@ export {
236
237
  M as MenuActions,
237
238
  M8 as ModalContext,
238
239
  M6 as ModalDialog,
239
- a13 as ModalProvider,
240
+ a14 as ModalProvider,
240
241
  M2 as MotionContainer,
241
242
  M3 as MotionLazyContainer,
242
243
  N2 as NavLink,
@@ -250,7 +251,7 @@ export {
250
251
  a8 as PeriodFormatter,
251
252
  P as PointsFormatter,
252
253
  P3 as Popover,
253
- a12 as PopupsContext,
254
+ a13 as PopupsContext,
254
255
  P9 as PopupsProvider,
255
256
  P10 as PopupsViewer,
256
257
  o as PriceFormatter,
@@ -288,7 +289,7 @@ export {
288
289
  c5 as Tabs,
289
290
  T as TextEditor,
290
291
  T6 as ToastContainer,
291
- a11 as ToastMessage,
292
+ a12 as ToastMessage,
292
293
  T4 as ToggleButton,
293
294
  T5 as ToggleIconButton,
294
295
  T2 as Tooltip,
@@ -299,7 +300,7 @@ export {
299
300
  W2 as WindowConfirm,
300
301
  W as WindowToolsMFContext,
301
302
  a3 as WindowToolsMFProvider,
302
- a10 as addLayoutItemToBreakPointIfNoExists,
303
+ a11 as addLayoutItemToBreakPointIfNoExists,
303
304
  b7 as addLayoutItemToBreakPoints,
304
305
  c7 as cloneLayouts,
305
306
  c3 as createDynamicMFStore,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "src/**/*.{js,ts,jsx,tsx}": "eslint --max-warnings=0 --fix",