@m4l/components 1.0.7 → 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.
- package/components/AccountPopover/{index.97e53037.js → index.85964263.js} +4 -4
- package/components/AppBar/{index.1cd669e2.js → index.233917e6.js} +4 -4
- package/components/CommonActions/index.5f5362d4.js +170 -0
- package/components/DragResizeWindow/{index.5e316291.js → index.8b3e79f7.js} +3 -3
- package/components/DynamicFilter/{index.b56ee9d3.js → index.d698a952.js} +15 -135
- package/components/DynamicFilter/slots/index.79811999.js +150 -0
- package/components/DynamicFilter/{dynamicFilterSlots.d.ts → slots/index.d.ts} +64 -64
- package/components/FieldLabel/{index.b4e9c18c.js → index.61450047.js} +4 -4
- package/components/GridLayout/{index.7156fbc9.js → index.656840a5.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.8946f18e.js → index.b23625d7.js} +4 -4
- package/components/GridLayout/subcomponents/Responsive/{index.3c68f0cb.js → index.97505a31.js} +2 -2
- package/components/GridLayout/subcomponents/SizeProvider/{index.a5b2190d.js → index.36cb4139.js} +1 -1
- package/components/HamburgerMenu/{index.ead6996d.js → index.6da952c3.js} +3 -3
- package/components/HelperText/{index.651a9b4b.js → index.ebb53dac.js} +1 -1
- package/components/Icon/{index.0e4bc1c2.js → index.0d591435.js} +3 -3
- package/components/Image/{index.a3e64dcd.js → index.7b1ce7d6.js} +2 -2
- package/components/LoadingError/{index.12973823.js → index.5b8a819d.js} +5 -5
- package/components/MFLoader/{index.bf9ffe58.js → index.6f690259.js} +3 -3
- package/components/ModalDialog/{index.7e584b4c.js → index.bdae9c06.js} +4 -4
- package/components/NavLink/{index.badec599.js → index.9f5d5670.js} +2 -2
- package/components/NoItemSelected/{index.71be932c.js → index.71727588.js} +2 -2
- package/components/ObjectLogs/{index.a7df0772.js → index.5e18c08e.js} +7 -7
- package/components/PDFViewer/{index.c856f823.js → index.e5b7b58c.js} +2 -2
- package/components/Page/{index.f9995356.js → index.bf61755b.js} +1 -1
- package/components/PaperForm/{index.ca9e19ab.js → index.2c5d1c14.js} +2 -2
- package/components/Period/{index.2c78168c.js → index.9f3a2531.js} +4 -4
- package/components/PrintingSystem/{index.8bfc836d.js → index.e166c8d5.js} +15 -15
- package/components/PrintingSystem/subcomponents/BodyNode/{index.f37aeaea.js → index.ff5bd9ba.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.602fb570.js → index.e78e9c90.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.2278f796.js → index.1ff8a100.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.8d76df3f.js → index.7078b267.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.1e3c435e.js → index.45007400.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.3f0ab738.js → index.c19c37d6.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.f444cad7.js → index.3a620060.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.592f3293.js → index.c158a2b6.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.41fb608c.js → index.cc08a0f8.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.d378b833.js → index.a37d8efa.js} +1 -1
- package/components/PropertyValue/{index.7e4bce22.js → index.2e61bd86.js} +3 -3
- package/components/Resizeable/{index.8c72e36a.js → index.414ff687.js} +1 -1
- package/components/ScrollBar/{index.9bfcc74f.js → index.1e89bb44.js} +1 -1
- package/components/SideBar/{index.a0a2ae27.js → index.a645fbb3.js} +7 -7
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +1 -1
- package/components/SplitLayout/{index.aed78a1f.js → index.7d9edf4e.js} +1 -1
- package/components/ToastContainer/{index.5fe6b0f7.js → index.c1ae5efc.js} +3 -3
- package/components/areas/{constants.630a4f42.js → constants.0d3ba950.js} +19 -23
- package/components/areas/contexts/AreasContext/{index.f0aa2770.js → index.ed31c72d.js} +4 -4
- package/components/areas/{dictionary.f7ba553d.js → dictionary.ffe082b0.js} +13 -25
- package/components/areas/hooks/useAreas/{index.e80b5f68.js → index.dca83673.js} +1 -1
- package/components/hook-form/HelperError/{index.fd10c3ab.js → index.2ed03a3c.js} +1 -1
- package/components/hook-form/RHFAutocompleteAsync/{index.0aa27d6f.js → index.58439d31.js} +3 -3
- package/components/hook-form/RHFCheckbox/{index.fe5a2e61.js → index.52645cbc.js} +4 -4
- package/components/hook-form/RHFColorPicker/{index.2891deae.js → index.ad3a7448.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.fc07eaa6.js → index.0bb4279e.js} +5 -5
- package/components/hook-form/RHFPeriod/{index.34a5f497.js → index.8075a132.js} +4 -4
- package/components/hook-form/RHFTextField/{index.51fca2b2.js → index.8d9e389c.js} +6 -6
- package/components/hook-form/RHFUpload/{index.1c48cd8d.js → index.bb7f617e.js} +5 -5
- package/components/maps/components/GpsTools/{index.50942c36.js → index.a32b12b7.js} +3 -3
- package/components/maps/{index.b4317695.js → index.595f5894.js} +12 -12
- package/components/modal/{WindowBase.27baa3c5.js → WindowBase.57f82667.js} +4 -4
- package/components/modal/{WindowConfirm.4ef45869.js → WindowConfirm.21342f0a.js} +6 -6
- package/components/modal/{index.7ca17f55.js → index.5bce430d.js} +1 -1
- package/components/mui_extended/Accordion/{index.c50787bf.js → index.232b14c4.js} +4 -4
- package/components/mui_extended/Avatar/{index.3ba36655.js → index.12b96914.js} +1 -1
- package/components/mui_extended/Badge/{index.3465d7fb.js → index.4737c113.js} +1 -1
- package/components/mui_extended/Button/{index.9c53e7ad.js → index.6276c580.js} +6 -6
- package/components/mui_extended/CheckBox/{index.902aff74.js → index.2bf3b459.js} +1 -1
- package/components/mui_extended/IconButton/{index.d6e94af1.js → index.20a5a0be.js} +1 -1
- package/components/mui_extended/IconButton/index.d.ts +0 -1
- package/components/mui_extended/LinearProgress/{index.52edc848.js → index.e9455b2e.js} +2 -2
- package/components/mui_extended/Pager/{index.9293ab27.js → index.2a5203df.js} +4 -4
- package/components/mui_extended/Popover/index.d.ts +1 -0
- package/components/mui_extended/Popover/{index.99fe777c.js → index.fda32ba1.js} +15 -13
- package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +1 -1
- package/components/mui_extended/Tab/{index.14641316.js → index.03742bb6.js} +18 -17
- package/components/mui_extended/ToggleButton/{index.393e624f.js → index.7a4779c7.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.540a46b2.js → index.29fdefaa.js} +1 -1
- package/components/mui_extended/ToggleIconButton/types.d.ts +1 -1
- package/components/mui_extended/Typography/{index.2a1c68f8.js → index.463f613f.js} +1 -1
- package/components/mui_extended/index.d.ts +2 -2
- package/components/popups/PopupsProvider/{index.e3f8ce5d.js → index.6b5befba.js} +1 -1
- package/components/popups/PopupsViewer/{index.077e47cd.js → index.c7940ab0.js} +5 -5
- package/contexts/ModalContext/{index.4956950f.js → index.e126d383.js} +1 -1
- package/contexts/RHFormContext/{index.e942a298.js → index.95ebabc9.js} +1 -1
- package/hooks/useFormAddEdit/{index.3cd8d179.js → index.42356b18.js} +2 -2
- package/hooks/useModal/{index.898c7559.js → index.20c3f2be.js} +4 -3
- package/index.js +153 -152
- package/package.json +1 -1
- package/{react-draggable.2df3b71a.js → react-draggable.0cc9b257.js} +1 -1
- package/{react-resizable.c60f3843.js → react-resizable.837c446d.js} +2 -2
- package/utils/{index.0660ee9c.js → index.c64c2dd1.js} +4 -8
- package/{vendor.fc11ba1a.js → vendor.e16cc0cc.js} +106 -241
- package/test/index.6d4b98b9.js +0 -4
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
3
|
-
import { I as IconButton } from "../IconButton/index.
|
|
3
|
+
import { I as IconButton } from "../IconButton/index.20a5a0be.js";
|
|
4
4
|
import { useEnvironment } from "@m4l/core";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { styled } from "@mui/material/styles";
|
|
7
7
|
import clsx from "clsx";
|
|
8
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
8
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
9
9
|
import { a as getNameDataTestId } from "../../../test/getNameDataTestId.aee44365.js";
|
|
10
|
-
import { I as Icon } from "../../Icon/index.
|
|
11
|
-
import { T as Typography } from "../Typography/index.
|
|
10
|
+
import { I as Icon } from "../../Icon/index.0d591435.js";
|
|
11
|
+
import { T as Typography } from "../Typography/index.463f613f.js";
|
|
12
12
|
const componentName = "M4LAccordion";
|
|
13
13
|
generateUtilityClasses(componentName, [
|
|
14
14
|
"root",
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, styled, Avatar as Avatar$1 } from "@mui/material";
|
|
4
4
|
import { useModuleSkeleton } from "@m4l/core";
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
5
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
const AVATAR_PREFIX = "M4LAvatar";
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { generateUtilityClasses, Badge as Badge$1 } from "@mui/material";
|
|
3
3
|
import "@mui/base";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
5
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
6
6
|
const componentName = "M4LBadge";
|
|
7
7
|
const badgeClasses = generateUtilityClasses(componentName, [
|
|
8
8
|
"root"
|
|
@@ -6,15 +6,15 @@ import { styled } from "@mui/material/styles";
|
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { useMemo, useState, useEffect } from "react";
|
|
9
|
-
import { I as Image } from "../../Image/index.
|
|
10
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
9
|
+
import { I as Image } from "../../Image/index.7b1ce7d6.js";
|
|
10
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
11
11
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
12
|
-
import { T as Typography } from "../Typography/index.
|
|
12
|
+
import { T as Typography } from "../Typography/index.463f613f.js";
|
|
13
13
|
import { useMap } from "react-leaflet";
|
|
14
14
|
import { M as MAP_ICONS } from "../../areas/icons.504ec098.js";
|
|
15
|
-
import { m as mapClasses } from "../../maps/index.
|
|
16
|
-
import { I as IconButton$1 } from "../IconButton/index.
|
|
17
|
-
import { u as useSideBar, g as getNameDataTestId$2 } from "../../SideBar/index.
|
|
15
|
+
import { m as mapClasses } from "../../maps/index.595f5894.js";
|
|
16
|
+
import { I as IconButton$1 } from "../IconButton/index.20a5a0be.js";
|
|
17
|
+
import { u as useSideBar, g as getNameDataTestId$2 } from "../../SideBar/index.a645fbb3.js";
|
|
18
18
|
const ButtonRoot = styled("div")(({ theme }) => ({
|
|
19
19
|
...theme.components?.M4LButton?.styleOverrides
|
|
20
20
|
}));
|
|
@@ -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.
|
|
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.
|
|
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";
|
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { LinearProgress as LinearProgress$1, generateUtilityClasses, styled } from "@mui/material";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
6
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
5
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.c64c2dd1.js";
|
|
6
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
7
7
|
const LinearProgress = (props) => {
|
|
8
8
|
const { ...other } = props;
|
|
9
9
|
return /* @__PURE__ */ jsx(LinearProgress$1, { ...other });
|
|
@@ -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.
|
|
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
|
-
import { T as Typography } from "../Typography/index.
|
|
11
|
-
import { I as Icon } from "../../Icon/index.
|
|
12
|
-
import { c as classes } from "../../PrintingSystem/index.
|
|
10
|
+
import { T as Typography } from "../Typography/index.463f613f.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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Popover';
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
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
|
-
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.
|
|
6
|
-
import {
|
|
7
|
-
import { Popover as Popover$1, generateUtilityClasses, generateUtilityClass,
|
|
8
|
-
import { I as Image } from "../../Image/index.
|
|
6
|
+
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.95ebabc9.js";
|
|
7
|
+
import { a as ActionCancel, b as ActionIntro } from "../../CommonActions/index.5f5362d4.js";
|
|
8
|
+
import { Popover as Popover$1, generateUtilityClasses, generateUtilityClass, Stack, MenuItem, Tooltip, FormControl, RadioGroup, FormControlLabel, Radio, useTheme } from "@mui/material";
|
|
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.
|
|
12
|
+
import { I as ImageButton } from "../Button/index.6276c580.js";
|
|
12
13
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
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.
|
|
16
|
+
import { M as MAP_DICCTIONARY } from "../../areas/dictionary.ffe082b0.js";
|
|
16
17
|
import { M as MAP_ICONS } from "../../areas/icons.504ec098.js";
|
|
18
|
+
import { C as ColumnSetCheckFormatter, a as DataGrid } from "../../../vendor.e16cc0cc.js";
|
|
17
19
|
import { shallow } from "zustand/shallow";
|
|
18
|
-
import { I as Icon } from "../../Icon/index.
|
|
19
|
-
import { u as useMapStore, a as useDisableZoomEvents, m as mapClasses } from "../../maps/index.
|
|
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";
|
|
20
22
|
import { u as useStateRef } from "../../../hooks/useStateRef/index.538edb89.js";
|
|
21
23
|
import clsx from "clsx";
|
|
22
|
-
import { C as CheckBox } from "../CheckBox/index.
|
|
23
|
-
import { I as IconButton } from "../IconButton/index.
|
|
24
|
+
import { C as CheckBox } from "../CheckBox/index.2bf3b459.js";
|
|
25
|
+
import { I as IconButton } from "../IconButton/index.20a5a0be.js";
|
|
24
26
|
const PopoverRoot = styled(Popover$1)(({ theme }) => ({
|
|
25
27
|
...theme.components?.M4LPopover?.styleOverrides
|
|
26
28
|
}));
|
|
@@ -68,7 +70,7 @@ const useUtilityClasses$1 = (ownerState) => {
|
|
|
68
70
|
...composedClasses
|
|
69
71
|
};
|
|
70
72
|
};
|
|
71
|
-
const ArrowStyle = styled
|
|
73
|
+
const ArrowStyle = styled("span")(({ arrowType, theme }) => {
|
|
72
74
|
const SIZE = 12;
|
|
73
75
|
const POSITION = -(SIZE / 2);
|
|
74
76
|
const borderStyle = `solid 1px ${theme.vars.palette.state.borderDens}`;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ArrowStyleProps } from '../../types';
|
|
3
|
-
export declare const ArrowStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ArrowStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
3
|
+
export declare const ArrowStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & ArrowStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -4,40 +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 {
|
|
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.
|
|
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
|
+
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.
|
|
11
|
-
import { u as useGpsToolsStore, g as gpsToolsClasses, a as useLayers, D as DivGpsToolsRoot } from "../../maps/components/GpsTools/index.
|
|
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 {
|
|
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
|
-
import { H as HelperError } from "../../hook-form/HelperError/index.
|
|
21
|
-
import { u as usePopupsStore } from "../../popups/PopupsProvider/index.
|
|
22
|
-
import {
|
|
20
|
+
import { H as HelperError } from "../../hook-form/HelperError/index.2ed03a3c.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";
|
|
23
24
|
import { useMap } from "react-leaflet";
|
|
24
25
|
import { u as useFormReadyForUpdate } from "../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
|
|
25
26
|
import * as L from "leaflet";
|
|
26
|
-
import { P as PaperForm } from "../../PaperForm/index.
|
|
27
|
-
import { R as RHFTextField } from "../../hook-form/RHFTextField/index.
|
|
27
|
+
import { P as PaperForm } from "../../PaperForm/index.2c5d1c14.js";
|
|
28
|
+
import { R as RHFTextField } from "../../hook-form/RHFTextField/index.8d9e389c.js";
|
|
28
29
|
import { S as Stack } from "../Stack/index.fe363ca5.js";
|
|
29
|
-
import { P as PropertyValue } from "../../PropertyValue/index.
|
|
30
|
-
import { R as RHFColorPicker } from "../../hook-form/RHFColorPicker/index.
|
|
30
|
+
import { P as PropertyValue } from "../../PropertyValue/index.2e61bd86.js";
|
|
31
|
+
import { R as RHFColorPicker } from "../../hook-form/RHFColorPicker/index.ad3a7448.js";
|
|
31
32
|
import { unstable_composeClasses } from "@mui/base";
|
|
32
33
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
33
34
|
import { a as getNameDataTestId } from "../../../test/getNameDataTestId.aee44365.js";
|
|
34
35
|
import { T as Tooltip } from "../Tooltip/index.49bb5ee1.js";
|
|
35
36
|
import * as Yup from "yup";
|
|
36
|
-
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.
|
|
37
|
-
import { u as useFormAddEdit } from "../../../hooks/useFormAddEdit/index.
|
|
38
|
-
import { u as useModal } from "../../../hooks/useModal/index.
|
|
39
|
-
import { W as WindowConfirm } from "../../modal/WindowConfirm.
|
|
40
|
-
import { u as useMapStore } from "../../maps/index.
|
|
37
|
+
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.95ebabc9.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";
|
|
41
42
|
const componentName$2 = "M4LTabs";
|
|
42
43
|
generateUtilityClasses(componentName$2, [
|
|
43
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.
|
|
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.
|
|
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,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ToggleableProps } from '../../../hocs/withToggle/types';
|
|
2
|
-
import { IconButtonProps } from '../IconButton';
|
|
2
|
+
import { IconButtonProps } from '../IconButton/types';
|
|
3
3
|
export interface ToggleIconButtonProps extends Omit<IconButtonProps, 'onClick'>, ToggleableProps {
|
|
4
4
|
}
|
|
@@ -4,7 +4,7 @@ import { Skeleton, generateUtilityClasses, generateUtilityClass, Typography as T
|
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import clsx from "clsx";
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
8
8
|
const WarpperTypography = styled("div")(({ theme }) => ({
|
|
9
9
|
...theme.components?.M4LTypography?.styleOverrides
|
|
10
10
|
}));
|
|
@@ -8,14 +8,14 @@ export * from './Button/Button';
|
|
|
8
8
|
export * from './CheckBox';
|
|
9
9
|
export { CircularProgress } from './CircularProgress';
|
|
10
10
|
export { Badge } from './Badge';
|
|
11
|
-
export * from './IconButton
|
|
11
|
+
export * from './IconButton';
|
|
12
12
|
export * from './ImageButton/ImageButton';
|
|
13
13
|
export { LinearProgress } from './LinearProgress';
|
|
14
14
|
export { LinkWithRoute } from './LinkWithRoute';
|
|
15
15
|
export { LoadingButton } from './LoadingButton';
|
|
16
16
|
export { MenuActions } from './MenuActions';
|
|
17
17
|
export type { MenuAction, ComponentActionProps } from './MenuActions/types';
|
|
18
|
-
export * from './Popover
|
|
18
|
+
export * from './Popover';
|
|
19
19
|
export * from './Stack';
|
|
20
20
|
export * from './Tabs';
|
|
21
21
|
export * from './TabContent';
|
|
@@ -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.
|
|
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.
|
|
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
|
-
import { af as COMPONENT_CLASS_NAME } from "../../areas/constants.
|
|
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
|
-
import { d as draggableWindowClasses, D as DragResizeWindow } from "../../DragResizeWindow/index.
|
|
13
|
-
import { I as Icon } from "../../Icon/index.
|
|
14
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
12
|
+
import { d as draggableWindowClasses, D as DragResizeWindow } from "../../DragResizeWindow/index.8b3e79f7.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.
|
|
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({
|
|
@@ -5,7 +5,7 @@ import { useForm, FormProvider } from "react-hook-form";
|
|
|
5
5
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
6
6
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { ag as componentName } from "../../components/areas/constants.
|
|
8
|
+
import { ag as componentName } from "../../components/areas/constants.0d3ba950.js";
|
|
9
9
|
const FormProviderRoot = styled("form")(({ theme }) => ({
|
|
10
10
|
...theme.components?.M4LRHFormProvider?.styleOverrides
|
|
11
11
|
}));
|
|
@@ -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.
|
|
5
|
-
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.
|
|
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,9 +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 {
|
|
6
|
-
import { M as ModalContext } from "../../contexts/ModalContext/index.
|
|
7
|
-
import { W as WindowBase } from "../../components/modal/WindowBase.
|
|
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";
|
|
8
9
|
function useModal() {
|
|
9
10
|
const context = useContext(ModalContext);
|
|
10
11
|
if (!context)
|