@m4l/components 1.1.1 → 1.1.2
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/@types/export.d.ts +269 -274
- package/@types/types.d.ts +34 -25
- package/components/AccountPopover/{index.dde11a5c.js → index.84049a50.js} +3 -3
- package/components/AppBar/{index.19b11c19.js → index.22ed1a0e.js} +4 -4
- package/components/BaseModule/{index.4b725d16.js → index.0fc648c5.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.c3cddacf.js → index.33cf608e.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.3ec840af.js → index.d1359a38.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.3187e7a7.js → index.415de2bb.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.db2b2999.js → index.0893587b.js} +2 -2
- package/components/CommonActions/components/Actions/{index.84b8fd47.js → index.2342a37e.js} +2 -2
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.ea1b882e.js → index.9d6f8597.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.cff633f6.js → index.9bcaba12.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.d2e656a0.js → index.a58a8712.js} +1 -1
- package/components/DataGrid/formatters/{index.4b65c281.js → index.6698b419.js} +2 -2
- package/components/DataGrid/{index.9aa088f6.js → index.b1cac6af.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.9416e750.js → index.a60b17d5.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DragResizeWindow/classes/types.d.ts +1 -0
- package/components/DragResizeWindow/helpers/index.d.ts +3 -0
- package/components/DragResizeWindow/{index.8f5a2e3e.js → index.46048367.js} +52 -39
- package/components/DragResizeWindow/types.d.ts +7 -0
- package/components/DynamicFilter/{dictionary.e9ad0f7c.js → dictionary.da256925.js} +2 -2
- package/components/DynamicFilter/{index.e737845f.js → index.08abfc2c.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.c6d731f1.js → dynamicFilterSlots.b02bff6a.js} +6 -6
- package/components/DynamicFilter/store/{index.7a5e5f6a.js → index.1e4af8b4.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f714d323.js → index.37bcd016.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.c4131ff0.js → index.2740f285.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.9be8d255.js → index.63102514.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.5caf5b34.js → index.3824d701.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.f5262ca2.js → index.57ddf344.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.f48b4af1.js → index.7beac9f0.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.86de8517.js → index.e9e1af93.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.1ba1cc22.js → index.d27a8bcc.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.8d2e925e.js → index.e8f1d8e5.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.066a32f4.js → index.35014c15.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.f3f01ebc.js → index.f42e9571.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.7805f621.js → index.ada7eb0c.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.d5efe247.js → index.144885cf.js} +2 -2
- package/components/FieldLabel/{index.a6235bcc.js → index.59b9b63a.js} +4 -4
- package/components/GridLayout/{index.14b734d6.js → index.56c3f4fa.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.5c8546c8.js → index.02bcb3b3.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.6646c077.js → index.65aeef5e.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.1108dd01.js → index.0aad6f90.js} +1 -1
- package/components/HelperText/{index.b1961313.js → index.5c72277a.js} +2 -2
- package/components/Icon/{index.e06c693f.js → index.13aaae3c.js} +3 -3
- package/components/Image/{index.8a3d05d3.js → index.4b51d4ba.js} +2 -2
- package/components/LanguagePopover/{index.25266514.js → index.7605fda8.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.80f8b74d.js → index.292a4af8.js} +2 -2
- package/components/LoadingError/{index.81979bb3.js → index.b129b573.js} +5 -5
- package/components/MFIsolationApp/{index.3125cd12.js → index.9f718621.js} +2 -2
- package/components/MFLoader/{index.952a3fee.js → index.5d340e32.js} +2 -2
- package/components/ModalDialog/{index.0dba90d3.js → index.ff275011.js} +4 -4
- package/components/NavLink/{index.0c844a30.js → index.506c7827.js} +2 -2
- package/components/NoItemSelected/{index.dd2cee48.js → index.1d7d5a9d.js} +1 -1
- package/components/ObjectLogs/{index.f98e884b.js → index.473ebd65.js} +9 -9
- package/components/PDFViewer/{index.1b7068e5.js → index.4e7ffac8.js} +2 -2
- package/components/Page/{index.fa45b3d5.js → index.b75c74e3.js} +1 -1
- package/components/PaperForm/{index.f1467e34.js → index.8289409f.js} +2 -2
- package/components/Period/{index.732248a8.js → index.13e4c351.js} +4 -4
- package/components/PrintingSystem/{index.7aed44a2.js → index.e1535b80.js} +14 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.3e82f72e.js → index.6b36842d.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.8d4e4894.js → index.4aab9d2c.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f9343c1f.js → index.23a9dc95.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.1cdf54cf.js → index.d0e8fd15.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.32a2e08a.js → index.35ff7dab.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.715f4e49.js → index.9547c826.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.92df744d.js → index.71afe03e.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.4316a07a.js → index.abbb154c.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.21b9d770.js → index.b3f2ba6c.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.03e73c9d.js → index.809aaad2.js} +1 -1
- package/components/PropertyValue/{index.f85c4118.js → index.36555931.js} +3 -3
- package/components/Resizeable/{index.305dae8c.js → index.57363836.js} +1 -1
- package/components/ScrollBar/{index.9c677335.js → index.236e2aa3.js} +1 -1
- package/components/SideBar/{index.d33d87f4.js → index.bb6c2c7b.js} +6 -6
- package/components/SplitLayout/{index.a5414b61.js → index.75953afb.js} +1 -1
- package/components/ToastContainer/{index.ce752150.js → index.bb972338.js} +3 -3
- package/components/animate/LoadingScreen/{index.881ca784.js → index.09915798.js} +1 -1
- package/components/animate/{index.d6f073fe.js → index.5c545243.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.80da2678.js → index.42d40964.js} +15 -15
- package/components/areas/components/AreasViewer/{index.7836a623.js → index.266a3815.js} +15 -15
- package/components/areas/contexts/AreasContext/{index.c4e41ac3.js → index.c2289888.js} +4 -4
- package/components/areas/hooks/useAreas/{index.cf3f35fa.js → index.509c1703.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.00571293.js → index.3fd10868.js} +2 -2
- package/components/commercial/SectionCommercial/{index.c3f56cb3.js → index.bd45c64e.js} +2 -2
- package/components/commercial/TopBar/{index.56ade547.js → index.4e55cffa.js} +6 -6
- package/components/commercial/{index.788464b6.js → index.4bdbb8fe.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.6f664715.js → index.ac870381.js} +2 -2
- package/components/formatters/{index.d1846e98.js → index.53ad2f51.js} +2 -2
- package/components/hook-form/HelperError/{index.a0faefe4.js → index.9f93c627.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.dab5e2d6.js → index.b8347185.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.a61e7dda.js → index.aeb3bf66.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.71751a9d.js → index.c3b7ce0f.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.3a8f36b1.js → index.c259b8ac.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.2f4ce21c.js → index.4efe48ce.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.acf46fb2.js → index.0f912e3e.js} +4 -4
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.d.ts +1 -1
- package/components/hook-form/RHFRadioGroup/formatters/OptionIconLabelFormatter/index.d.ts +2 -0
- package/components/hook-form/RHFRadioGroup/index.96c94958.js +52 -0
- package/components/hook-form/RHFRadioGroup/types.d.ts +10 -4
- package/components/hook-form/RHFTextField/{index.06342648.js → index.828b30f5.js} +5 -5
- package/components/hook-form/RHFUpload/{index.ef58c607.js → index.b664c68b.js} +5 -5
- package/components/maps/components/GpsTools/{index.3cc627c5.js → index.e759163d.js} +23 -23
- package/components/maps/components/Map/external/Control/index.d.ts +1 -1
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index.c50fc538.js → index.c568e68d.js} +30 -27
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase.af49e2e8.js → WindowBase.58f9e2b0.js} +3 -3
- package/components/modal/{WindowConfirm.141e19a9.js → WindowConfirm.60955735.js} +6 -6
- package/components/mui_extended/Accordion/{index.e76a8701.js → index.e6971e30.js} +4 -4
- package/components/mui_extended/Avatar/{index.fc674f4b.js → index.8cc99f13.js} +1 -1
- package/components/mui_extended/Badge/{index.615959af.js → index.07fb40c0.js} +1 -1
- package/components/mui_extended/Button/{index.a391ee9f.js → index.111f830e.js} +3 -3
- package/components/mui_extended/{CheckBox.ae30825c.js → CheckBox.a8958eb8.js} +2 -2
- package/components/mui_extended/IconButton/{index.97e91dae.js → index.9425bdc5.js} +2 -2
- package/components/mui_extended/MenuActions/{index.1092605e.js → index.8b0d69b7.js} +5 -5
- package/components/mui_extended/Pager/{index.4d510ef5.js → index.cb749e65.js} +4 -4
- package/components/mui_extended/Popover/{index.82970357.js → index.5e78a637.js} +1 -1
- package/components/mui_extended/Stack/{index.e64a379b.js → index.3674daf7.js} +1 -1
- package/components/mui_extended/Tab/{index.f31eb904.js → index.a94a92c1.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.4afacb33.js → index.a55def3b.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.621ff8bc.js → index.cd20de81.js} +1 -1
- package/components/mui_extended/Typography/{index.8a0f958b.js → index.45e97bdd.js} +1 -1
- package/components/popups/PopupsProvider/{index.6591c56e.js → index.776c62e7.js} +8 -34
- package/components/popups/PopupsViewer/constants.29247547.js +4 -0
- package/components/popups/PopupsViewer/icons.066abd43.js +7 -0
- package/components/popups/PopupsViewer/{index.caf23a5d.js → index.8fe4aa5d.js} +43 -78
- package/components/popups/PopupsViewer/slots/index.154e4e5f.js +14 -0
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.aaf546e2.js +39 -0
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.d.ts +1 -1
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +27 -47
- package/components/popups/components/PopupsViewer/PopupsViewer.d.ts +1 -2
- package/components/popups/components/PopupsViewer/constants.d.ts +1 -1
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +25 -0
- package/components/popups/components/PopupsViewer/slots/slots.d.ts +10 -0
- package/components/popups/components/PopupsViewer/types.d.ts +17 -3
- package/contexts/ModalContext/{index.8281527d.js → index.a5c622d6.js} +1 -1
- package/contexts/RHFormContext/{index.939811b3.js → index.40a9547e.js} +1 -1
- package/hooks/useFormAddEdit/{index.dfb5570d.js → index.b6a3cf63.js} +2 -2
- package/hooks/useModal/{index.538e8219.js → index.3ad1e014.js} +1 -1
- package/hooks/useTab/{index.bc8d38fc.js → index.4081b113.js} +1 -1
- package/index.js +126 -122
- package/package.json +1 -1
- package/{react-draggable.1c1ba224.js → react-draggable.310e3387.js} +1 -1
- package/{react-resizable.a59c14f4.js → react-resizable.3755959b.js} +2 -2
- package/styles/{DynamicFilter.27c16026.js → DynamicFilter.557ee3a7.js} +1 -1
- package/styles/PopupViewer.styles.d.ts +2 -0
- package/styles/{index.7868464e.js → index.239f949e.js} +99 -9
- package/vite-env.d.ts +4 -4
- package/components/hook-form/RHFRadioGroup/index.11c0add8.js +0 -35
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/helper.d.ts +0 -7
- package/components/popups/components/PopupsViewer/classes/index.d.ts +0 -17
- package/components/popups/components/PopupsViewer/classes/types.d.ts +0 -15
- package/components/popups/components/PopupsViewer/styled.d.ts +0 -2
- /package/utils/{index.14912462.js → index.78d1638f.js} +0 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import React__default from "react";
|
|
|
2
2
|
import require$$1 from "prop-types";
|
|
3
3
|
import require$$2 from "react-dom";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { d as domFns, s as shims, l as log, p as positionFns } from "./utils/index.
|
|
5
|
+
import { d as domFns, s as shims, l as log, p as positionFns } from "./utils/index.78d1638f.js";
|
|
6
6
|
var cjs = { exports: {} };
|
|
7
7
|
var Draggable$1 = {};
|
|
8
8
|
var DraggableCore$2 = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { c as cjs } from "./react-draggable.
|
|
3
|
-
import { u as utils } from "./utils/index.
|
|
2
|
+
import { c as cjs } from "./react-draggable.310e3387.js";
|
|
3
|
+
import { u as utils } from "./utils/index.78d1638f.js";
|
|
4
4
|
import require$$1 from "prop-types";
|
|
5
5
|
var reactResizable = { exports: {} };
|
|
6
6
|
var Resizable$2 = {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { styled, alpha, Skeleton, Popover, IconButton, Stack, Tabs, Dialog, ListItemText, ListItemButton } from "@mui/material";
|
|
2
2
|
import { styled as styled$1, alpha as alpha$1 } from "@mui/material/styles";
|
|
3
3
|
import SimpleBarReact from "simplebar-react";
|
|
4
|
-
import { h as gridLayoutClasses } from "../components/GridLayout/index.
|
|
5
|
-
import { a as ResizableBox } from "../react-resizable.
|
|
6
|
-
import { a as areasAdminClasses } from "../components/areas/components/AreasAdmin/index.
|
|
7
|
-
import { a as areasViewerClasses } from "../components/areas/components/AreasViewer/index.
|
|
8
|
-
import { g as gpsToolsClasses } from "../components/maps/components/GpsTools/index.
|
|
9
|
-
import { R as RHFormProvider } from "../contexts/RHFormContext/index.
|
|
10
|
-
import { S as Stack$1 } from "../components/mui_extended/Stack/index.
|
|
11
|
-
import { I as Image } from "../components/Image/index.
|
|
4
|
+
import { h as gridLayoutClasses } from "../components/GridLayout/index.56c3f4fa.js";
|
|
5
|
+
import { a as ResizableBox } from "../react-resizable.3755959b.js";
|
|
6
|
+
import { a as areasAdminClasses } from "../components/areas/components/AreasAdmin/index.42d40964.js";
|
|
7
|
+
import { a as areasViewerClasses } from "../components/areas/components/AreasViewer/index.266a3815.js";
|
|
8
|
+
import { g as gpsToolsClasses } from "../components/maps/components/GpsTools/index.e759163d.js";
|
|
9
|
+
import { R as RHFormProvider } from "../contexts/RHFormContext/index.40a9547e.js";
|
|
10
|
+
import { S as Stack$1 } from "../components/mui_extended/Stack/index.3674daf7.js";
|
|
11
|
+
import { I as Image } from "../components/Image/index.4b51d4ba.js";
|
|
12
12
|
const RootStyle$1 = styled("div", {
|
|
13
13
|
shouldForwardProp: (props) => props !== "variant"
|
|
14
14
|
})(({ theme, variant }) => ({
|
|
@@ -1015,6 +1015,95 @@ const ContainerImage = styled$1("div")(() => ({
|
|
|
1015
1015
|
width: "16px",
|
|
1016
1016
|
height: "16px"
|
|
1017
1017
|
}));
|
|
1018
|
+
const CONTAINER_QUERY_NAME = "poupup_root";
|
|
1019
|
+
const popupsViewerStyles = {
|
|
1020
|
+
root: ({ ownerState }) => ({
|
|
1021
|
+
containerName: CONTAINER_QUERY_NAME,
|
|
1022
|
+
containerType: "inline-size",
|
|
1023
|
+
position: "absolute",
|
|
1024
|
+
left: "0px",
|
|
1025
|
+
top: "0px",
|
|
1026
|
+
width: "0px",
|
|
1027
|
+
height: "0px",
|
|
1028
|
+
cursor: "default",
|
|
1029
|
+
zIndex: ownerState.baseZindex || 0
|
|
1030
|
+
}),
|
|
1031
|
+
popupDragWindowRoot: ({ ownerState }) => ({
|
|
1032
|
+
display: "flex",
|
|
1033
|
+
flexDirection: "column",
|
|
1034
|
+
position: "relative",
|
|
1035
|
+
width: "100%",
|
|
1036
|
+
height: "100%",
|
|
1037
|
+
"&.fade-enter": {
|
|
1038
|
+
opacity: 0
|
|
1039
|
+
},
|
|
1040
|
+
"&.fade-enter-active": {
|
|
1041
|
+
opacity: 1,
|
|
1042
|
+
transition: "opacity 300ms"
|
|
1043
|
+
},
|
|
1044
|
+
"&.fade-enter-done": {
|
|
1045
|
+
opacity: 1
|
|
1046
|
+
},
|
|
1047
|
+
"& .fade-exit": {
|
|
1048
|
+
opacity: 1
|
|
1049
|
+
},
|
|
1050
|
+
"& .fade-exit-active": {
|
|
1051
|
+
opacity: 0
|
|
1052
|
+
},
|
|
1053
|
+
...ownerState?.status === "hidden" ? {
|
|
1054
|
+
visibility: "hidden",
|
|
1055
|
+
pointerEvents: "none"
|
|
1056
|
+
} : {}
|
|
1057
|
+
}),
|
|
1058
|
+
pDWHeaderContainer: () => ({
|
|
1059
|
+
display: "flex",
|
|
1060
|
+
position: "relative",
|
|
1061
|
+
margin: "6px",
|
|
1062
|
+
gap: "8px",
|
|
1063
|
+
marginLeft: "8px",
|
|
1064
|
+
borderBottom: "2px solid blue",
|
|
1065
|
+
cursor: "move"
|
|
1066
|
+
}),
|
|
1067
|
+
pDWHeaderTitle: ({ ownerState }) => ({
|
|
1068
|
+
flexGrow: 1,
|
|
1069
|
+
fontWeight: "bold",
|
|
1070
|
+
...ownerState?.subTitle ? {
|
|
1071
|
+
flexGrow: "unset",
|
|
1072
|
+
"&:after": {
|
|
1073
|
+
content: '"*"',
|
|
1074
|
+
color: "red",
|
|
1075
|
+
fontSize: "22px",
|
|
1076
|
+
top: "0px",
|
|
1077
|
+
bottom: "0px",
|
|
1078
|
+
position: "absolute"
|
|
1079
|
+
}
|
|
1080
|
+
} : {}
|
|
1081
|
+
}),
|
|
1082
|
+
pDWHeaderSubTitle: ({}) => ({
|
|
1083
|
+
flexGrow: 1
|
|
1084
|
+
}),
|
|
1085
|
+
pDWContentRoot: ({}) => ({
|
|
1086
|
+
display: "flex",
|
|
1087
|
+
padding: "12px",
|
|
1088
|
+
position: "relative",
|
|
1089
|
+
flexGrow: 1,
|
|
1090
|
+
flexDirection: "column",
|
|
1091
|
+
overflow: "hidden"
|
|
1092
|
+
}),
|
|
1093
|
+
pDWContentEditionInfo: ({}) => ({
|
|
1094
|
+
display: "flex",
|
|
1095
|
+
justifyContent: "flex-end",
|
|
1096
|
+
"& .M4LIcon-root": {
|
|
1097
|
+
paddingRight: "8px"
|
|
1098
|
+
}
|
|
1099
|
+
}),
|
|
1100
|
+
pDWContentWrapper: ({}) => ({
|
|
1101
|
+
flexGrow: 1,
|
|
1102
|
+
display: "flex",
|
|
1103
|
+
position: "relative",
|
|
1104
|
+
overflow: "auto"
|
|
1105
|
+
})
|
|
1106
|
+
};
|
|
1018
1107
|
const DivTabGpsToolsRoot = styled$1("div")`
|
|
1019
1108
|
.${gpsToolsClasses.gpsToolsTabContent}.${gpsToolsClasses.hidden} {
|
|
1020
1109
|
display: none;
|
|
@@ -1356,7 +1445,8 @@ export {
|
|
|
1356
1445
|
TabRoot as aL,
|
|
1357
1446
|
SKTTabWrapper as aM,
|
|
1358
1447
|
WarpperTypography as aN,
|
|
1359
|
-
|
|
1448
|
+
popupsViewerStyles as aO,
|
|
1449
|
+
FormProviderRoot as aP,
|
|
1360
1450
|
AreasViewerRoot as aa,
|
|
1361
1451
|
AppBarComercialRoot as ab,
|
|
1362
1452
|
SectionCommercialRoot as ac,
|
package/vite-env.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
/// <reference types="vitest" />
|
|
3
|
-
/// <reference types="vitest/globals" />
|
|
4
|
-
/// <reference types="vitest/importMeta" />
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
/// <reference types="vitest" />
|
|
3
|
+
/// <reference types="vitest/globals" />
|
|
4
|
+
/// <reference types="vitest/importMeta" />
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useFormContext, Controller } from "react-hook-form";
|
|
3
|
-
import { RadioGroup, FormControlLabel, Radio, FormHelperText } from "@mui/material";
|
|
4
|
-
function RHFRadioGroup({
|
|
5
|
-
name,
|
|
6
|
-
options,
|
|
7
|
-
getOptionLabel,
|
|
8
|
-
getOptionValue,
|
|
9
|
-
...other
|
|
10
|
-
}) {
|
|
11
|
-
const { control } = useFormContext();
|
|
12
|
-
return /* @__PURE__ */ jsx(
|
|
13
|
-
Controller,
|
|
14
|
-
{
|
|
15
|
-
name,
|
|
16
|
-
control,
|
|
17
|
-
render: ({ field, fieldState: { error } }) => /* @__PURE__ */ jsxs("div", { children: [
|
|
18
|
-
/* @__PURE__ */ jsx(RadioGroup, { ...field, row: true, ...other, children: options.map((option) => /* @__PURE__ */ jsx(
|
|
19
|
-
FormControlLabel,
|
|
20
|
-
{
|
|
21
|
-
defaultValue: field.value,
|
|
22
|
-
value: getOptionValue(option),
|
|
23
|
-
control: /* @__PURE__ */ jsx(Radio, {}),
|
|
24
|
-
label: getOptionLabel(option)
|
|
25
|
-
},
|
|
26
|
-
getOptionValue(option)
|
|
27
|
-
)) }),
|
|
28
|
-
!!error && /* @__PURE__ */ jsx(FormHelperText, { error: true, sx: { px: 2 }, children: error.message })
|
|
29
|
-
] })
|
|
30
|
-
}
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
export {
|
|
34
|
-
RHFRadioGroup as R
|
|
35
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { WritableDraft } from 'immer/dist/internal';
|
|
2
|
-
import type { PopupsStateWithActions } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* @description Actualiza la clases basado en owner state
|
|
5
|
-
* @param state immer State
|
|
6
|
-
*/
|
|
7
|
-
export declare const updateOwnerStateClasses: (state: WritableDraft<PopupsStateWithActions>) => void;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PopupsClasses } from './types';
|
|
2
|
-
import { OwnerState } from '../../PopupsProvider/contexts/PopupsContext/types';
|
|
3
|
-
export declare const popupsClasses: PopupsClasses;
|
|
4
|
-
export declare function getPopupsUtilityClass(slot: string): string;
|
|
5
|
-
export declare const popupsUtilityClasses: (_ownerState: OwnerState) => {
|
|
6
|
-
containerRoot: string;
|
|
7
|
-
popupRoot: string;
|
|
8
|
-
popupHeaderContainer: string;
|
|
9
|
-
popupHeaderTitle: string;
|
|
10
|
-
popupHeaderSubTitle: string;
|
|
11
|
-
popupContentRoot: string;
|
|
12
|
-
popupContentEditionInfo: string;
|
|
13
|
-
popupContentWrapper: string;
|
|
14
|
-
popupHidden: string;
|
|
15
|
-
popupWithSubTitle: string;
|
|
16
|
-
popupsContainer: string;
|
|
17
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { popupsUtilityClasses } from '.';
|
|
2
|
-
export interface PopupsClasses {
|
|
3
|
-
containerRoot: string;
|
|
4
|
-
popupRoot: string;
|
|
5
|
-
popupHeaderContainer: string;
|
|
6
|
-
popupHeaderTitle: string;
|
|
7
|
-
popupHeaderSubTitle: string;
|
|
8
|
-
popupContentRoot: string;
|
|
9
|
-
popupContentEditionInfo: string;
|
|
10
|
-
popupContentWrapper: string;
|
|
11
|
-
popupHidden: string;
|
|
12
|
-
popupWithSubTitle: string;
|
|
13
|
-
}
|
|
14
|
-
export declare type PopupsClassesKey = keyof PopupsClasses;
|
|
15
|
-
export declare type Classes = ReturnType<typeof popupsUtilityClasses>;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const PopupsViewerRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
File without changes
|