@m4l/components 3.1.0 → 3.1.1
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 +266 -266
- package/@types/types.d.ts +70 -70
- package/components/AccountPopover/{index-vXlaw69C.js → index-BR8vemEj.js} +3 -3
- package/components/AppBar/{index-3gXtikUI.js → index-BohgzCVU.js} +4 -4
- package/components/BaseModule/{index-CtN6b__U.js → index-6gakgChH.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index-D_42VfUR.js → index-DaxbYROX.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index-DL7fDBi6.js → index-BvK03clf.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index-i3HmOpoU.js → index-CaisaVHa.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index-i5875EXe.js → index-CPfjB0gn.js} +2 -2
- package/components/CommonActions/components/Actions/{index-ChW1FuFf.js → index-C7DUIzPB.js} +1 -1
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index-BjkuIa7y.js → index-DeqtK560.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index-CWQp1KWU.js → index-BdDrxWSz.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index-DggW8-4n.js → index-DkKHnJrc.js} +1 -1
- package/components/DataGrid/formatters/{index-B3AsHKeD.js → index-C4OiK72T.js} +2 -2
- package/components/DataGrid/{index-EgaRUtbL.js → index-Cm_DjxJc.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index-BF4pV_-K.js → index-4cJqr_o5.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DynamicFilter/{dictionary-B2qYGLOx.js → dictionary-BW5PwL9_.js} +2 -2
- package/components/DynamicFilter/{index-BLjn97jC.js → index-qVRWf9L-.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots-CaFVu7xW.js → dynamicFilterSlots-EiuJRHxA.js} +5 -5
- package/components/DynamicFilter/store/{index-EW1sL9gf.js → index-B92W7pDD.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index-DjgwIwH9.js → index-B0cjUB2e.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index-Cfcgzcw7.js → index-VQUBlaGY.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index-BFcVswNb.js → index-BiUqTH8C.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index-B4mhUk9e.js → index-epn09qk2.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index-CA3JDlD0.js → index-DJs8nJtZ.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index-B4R83Pyi.js → index-Dhjd-VBF.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index-1XC3u2dm.js → index-B2BiNChV.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index-BEMRO3Ng.js → index-C6YsAOhG.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index-Cfs28hud.js → index-BQAELWP6.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index-CYY3cjbX.js → index-DISFM9YE.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index-CAdtxARw.js → index-CPwHRAKR.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index-COoNIh4L.js → index-vza5LKD6.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index-Kz-jfM3o.js → index-DqgqChI0.js} +2 -2
- package/components/FieldLabel/{index-DCAMDJoJ.js → index-BxJpuS_q.js} +3 -3
- package/components/GridLayout/{index-DUfp2sP_.js → index-DjWMWpVV.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index-DEi0Ai1D.js → index-BwzaYFoG.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index-B7v5X9un.js → index-_e1A2knm.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index-BsKaLKRl.js → index-BO-0R17q.js} +1 -1
- package/components/HelperText/{index-DVV5Jfc8.js → index-BysUzqMh.js} +2 -2
- package/components/Icon/{index-CueLDD9j.js → index-CvYHnsc3.js} +3 -3
- package/components/Image/{index-By5vsRzf.js → index-CC8G5gQL.js} +2 -2
- package/components/LanguagePopover/{index-Dn2JPzf1.js → index-Cq1wLLKe.js} +4 -4
- package/components/LinearProgressIndeterminate/{index-CTlvokQp.js → index-CTuN1gfY.js} +1 -1
- package/components/LoadingError/{index-CXVOiscg.js → index-DWlYM1ch.js} +5 -5
- package/components/MFIsolationApp/{index-BfFMo2Q2.js → index-m-6MPf9A.js} +3 -3
- package/components/MFLoader/{index-CCtU6zwR.js → index-Dye_CDyE.js} +2 -2
- package/components/ModalDialog/{index-KryIxH_j.js → index-BfP4prnR.js} +3 -3
- package/components/NavLink/{index-D6eiKlc0.js → index-Cvx6GLXs.js} +2 -2
- package/components/NoItemSelected/{index-DKhhgTAH.js → index-wX7zwWEx.js} +1 -1
- package/components/ObjectLogs/{index-CpBmanv0.js → index-Cp3uf41B.js} +9 -9
- package/components/PDFViewer/{index-3PBUibum.js → index-DsK26Ab0.js} +2 -2
- package/components/Page/{index-PXQkJn7v.js → index-Cop86J6W.js} +1 -1
- package/components/PaperForm/{index-B6a3-CZt.js → index-B2Rejm-4.js} +2 -2
- package/components/Period/{index-DtFWU3y5.js → index-Cvw66i6M.js} +4 -4
- package/components/PrintingSystem/{index-DJmGF2SQ.js → index-BSFFEcd9.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index-DorXm6AO.js → index-PVBdsKdG.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index-Cd9H-_3i.js → index-Bp2GC6lI.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index-Dm-RAH_l.js → index-DiZpb3lw.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index-BPg-NpDf.js → index-HEFR7nf3.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index-u0ZSP6s4.js → index-BC7Htpcu.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index-C7eFFsTN.js → index-BDIO2UDn.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index-D7M4YL4C.js → index-CEi6rzcx.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index-Drjfhq-n.js → index-ByZtD0E-.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index-Banh4UxX.js → index-CDYHFI2i.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index-OBnZLPEc.js → index-C1n7qO50.js} +1 -1
- package/components/PropertyValue/{index-Cc7y20oI.js → index-DNrMXh6i.js} +3 -3
- package/components/Resizeable/{index-BwQ6EKCK.js → index-n_dxnq4e.js} +1 -1
- package/components/ScrollBar/{index-P3SkjYOy.js → index-CIKS-GIs.js} +1 -1
- package/components/SideBar/{index-Ddxe1VvL.js → index-BexlVrZj.js} +5 -5
- package/components/SplitLayout/{index-CwmZT1x6.js → index-CsFTz0uN.js} +1 -1
- package/components/ToastContainer/{index-DN3ZHpBT.js → index-BogUWgDl.js} +2 -2
- package/components/animate/LoadingScreen/{index-CcjW-mkl.js → index-8SFJLBy6.js} +1 -1
- package/components/animate/{index-DsolrzTC.js → index-CEfjUFBM.js} +1 -1
- package/components/areas/components/AreasAdmin/{index-Y6S0Q7TN.js → index-B9K-aUG7.js} +14 -14
- package/components/areas/components/AreasViewer/{index-DfcpQwSl.js → index-BISsgVhH.js} +14 -14
- package/components/areas/contexts/AreasContext/{index-spCQnOlk.js → index-CPvPVZrx.js} +4 -4
- package/components/areas/hooks/useAreas/{index-D6DaWBIP.js → index-B_McVh4D.js} +1 -1
- package/components/commercial/AppBarCommercial/{index-D1jIOw7M.js → index-isIlG5IL.js} +1 -1
- package/components/commercial/SectionCommercial/{index-C9THYik8.js → index-CUzVuRDo.js} +1 -1
- package/components/commercial/TopBar/{index-DLn3yEcX.js → index-DIn6GDxV.js} +5 -5
- package/components/commercial/{index-D1bCIF7p.js → index-t-fIky9e.js} +3 -3
- package/components/formatters/BooleanFormatter/{index-Bc2l6GTX.js → index-CBW6amFj.js} +2 -2
- package/components/formatters/{index-Botdzyt2.js → index-DLyGkr2X.js} +2 -2
- package/components/hook-form/HelperError/{index-J-C5u9AH.js → index-Dx9P9gUC.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index-erpzYu8W.js → index-B2Q-8tdS.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index-BV0f25eK.js → index-NckBOrZn.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index-Duf51-pS.js → index-CDpw-Hc-.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index-C-tITRAx.js → index-Cr4AqCrd.js} +6 -6
- package/components/hook-form/RHFDateTime/{index-OdXKdhJS.js → index-J3EC3pju.js} +4 -4
- package/components/hook-form/RHFPeriod/{index-CjkIGYUY.js → index-BexZzT2k.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index-Da_2zFu3.js → index-D63AuOJa.js} +1 -1
- package/components/hook-form/RHFTextField/{index-BWZWPFn5.js → index-BJLpXkG1.js} +4 -4
- package/components/hook-form/RHFUpload/{index-D4nrnFFT.js → index-1y3PUbIb.js} +5 -5
- package/components/maps/components/GpsTools/{index-DPY-BjB8.js → index-M0iCv8sw.js} +22 -22
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index-BRrVIyA-.js → index-BjTT-kaY.js} +12 -12
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase-Ce6yRLcN.js → WindowBase-DJ0Vq-og.js} +3 -3
- package/components/modal/{WindowConfirm-BaB3Ojgu.js → WindowConfirm-saqM4JTM.js} +6 -6
- package/components/mui_extended/Accordion/{index-D1775s1J.js → index-DdF8U6jD.js} +4 -4
- package/components/mui_extended/Avatar/{index-n5hK7nJD.js → index-CTtUkMxD.js} +1 -1
- package/components/mui_extended/Badge/{index-Dfdw5Iaq.js → index-DDDr79kx.js} +1 -1
- package/components/mui_extended/Button/{index-CksGG1B8.js → index-CA72o44h.js} +3 -3
- package/components/mui_extended/{CheckBox-CjxjIrmN.js → CheckBox-AjZ7T1z4.js} +2 -2
- package/components/mui_extended/IconButton/{index-OMq0pPK0.js → index-DIF9uD3M.js} +2 -2
- package/components/mui_extended/MenuActions/{index-De7dpdBH.js → MenuActions-BtWZPVE8.js} +4 -57
- package/components/mui_extended/MenuActions/constants-BwsU9chA.js +10 -0
- package/components/mui_extended/MenuActions/dictionary-Dj_07puT.js +11 -0
- package/components/mui_extended/MenuActions/slots/MenuActionsEnum-Bu-L6eWU.js +13 -0
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots-BYWjYjhh.js +46 -0
- package/components/mui_extended/MenuActions/types.d.ts +1 -1
- package/components/mui_extended/Pager/{index-k7SRq6Jo.js → index-kBzQD4hm.js} +4 -4
- package/components/mui_extended/Popover/{index-BnKsmvtw.js → index-DA0jXUyx.js} +1 -1
- package/components/mui_extended/Stack/{index-C9YEChZB.js → index-BEQk4psj.js} +1 -1
- package/components/mui_extended/Tab/{index-CpdHav0V.js → index-D80sHSf3.js} +1 -1
- package/components/mui_extended/ToggleButton/{index-CS1mz-lH.js → index-DXL8Q9bl.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index-BNQrQ6-b.js → index-BcagTnvW.js} +1 -1
- package/components/mui_extended/Typography/{index-W88rbpsJ.js → index-CpZSVkZa.js} +1 -1
- package/components/popups/PopupsViewer/{index-Dn0XOI6q.js → index-Q6col-0G.js} +3 -3
- package/components/popups/PopupsViewer/slots/{popupsViewerSlots-Db8QAmEE.js → popupsViewerSlots-CbZAKPD8.js} +1 -1
- package/contexts/ModalContext/{index-DkUBXDpR.js → index-1wuFulLI.js} +1 -1
- package/contexts/RHFormContext/{index-Ct48jRjb.js → index-D2OzLCry.js} +1 -1
- package/hooks/useFormAddEdit/{index-BkBJNq8b.js → index-Bxn239hw.js} +2 -2
- package/hooks/useModal/{index-CTAwKk5D.js → index-DYRKkNMW.js} +1 -1
- package/hooks/useTab/{index-PXnpiLMx.js → index-D96FqxT8.js} +1 -1
- package/index.js +85 -85
- package/package.json +1 -1
- package/styles/MenuActions-lTi-ynPM.js +42 -0
- package/styles/{index-C-MsxWtr.js → index-BUR_Ti7P.js} +28 -65
- package/vite-env.d.ts +4 -4
- /package/components/mui_extended/MenuActions/{constant.d.ts → constants.d.ts} +0 -0
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { m as modalUtilityClasses } from "./index-CydPIpKZ.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { I as Icon } from "../Icon/index-
|
|
6
|
-
import { I as IconButton } from "../mui_extended/IconButton/index-
|
|
7
|
-
import { u as useModal } from "../../hooks/useModal/index-
|
|
5
|
+
import { I as Icon } from "../Icon/index-CvYHnsc3.js";
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index-DIF9uD3M.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index-DYRKkNMW.js";
|
|
8
8
|
const Header = (props) => {
|
|
9
9
|
const { title, onClickCancel, urlIcon, classes } = props;
|
|
10
10
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { A as Actions } from "../CommonActions/components/Actions/index-
|
|
2
|
+
import { A as Actions } from "../CommonActions/components/Actions/index-C7DUIzPB.js";
|
|
3
3
|
import { Typography } from "@mui/material";
|
|
4
4
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
5
|
-
import { u as useModal } from "../../hooks/useModal/index-
|
|
6
|
-
import { I as Image } from "../Image/index-
|
|
5
|
+
import { u as useModal } from "../../hooks/useModal/index-DYRKkNMW.js";
|
|
6
|
+
import { I as Image } from "../Image/index-CC8G5gQL.js";
|
|
7
7
|
import { m as modalUtilityClasses } from "./index-CydPIpKZ.js";
|
|
8
|
-
import { W as WindowBase } from "./WindowBase-
|
|
9
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index-
|
|
10
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index-
|
|
8
|
+
import { W as WindowBase } from "./WindowBase-DJ0Vq-og.js";
|
|
9
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index-DaxbYROX.js";
|
|
10
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index-CPfjB0gn.js";
|
|
11
11
|
const dictionary = {
|
|
12
12
|
MESSAGE: "common_actions.confirm_quit_msg"
|
|
13
13
|
};
|
|
@@ -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-DIF9uD3M.js";
|
|
4
4
|
import { useEnvironment } from "@m4l/core";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { ax as AccordionRoot } from "../../../styles/index-
|
|
6
|
+
import { ax as AccordionRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
9
9
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId-BaBTWhBr.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-CvYHnsc3.js";
|
|
11
|
+
import { T as Typography } from "../Typography/index-CpZSVkZa.js";
|
|
12
12
|
const componentName = "M4LAccordion";
|
|
13
13
|
generateUtilityClasses(componentName, [
|
|
14
14
|
/* elements */
|
|
@@ -4,7 +4,7 @@ import { Skeleton, generateUtilityClasses, generateUtilityClass, Avatar as Avata
|
|
|
4
4
|
import { useModuleSkeleton } from "@m4l/core";
|
|
5
5
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { ay as AvatarRoot } from "../../../styles/index-
|
|
7
|
+
import { ay as AvatarRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
const AVATAR_PREFIX = "M4LAvatar";
|
|
10
10
|
const getNameAvatarDataTestId = (KEY) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, Badge as Badge$1 } from "@mui/material";
|
|
3
3
|
import "@mui/base";
|
|
4
|
-
import { az as BadgeRoot } from "../../../styles/index-
|
|
4
|
+
import { az as BadgeRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
5
5
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
6
6
|
const componentName = "M4LBadge";
|
|
7
7
|
const badgeClasses = generateUtilityClasses(componentName, [
|
|
@@ -2,14 +2,14 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, Skeleton, IconButton, Tooltip } from "@mui/material";
|
|
4
4
|
import MuiButton from "@mui/material/Button";
|
|
5
|
-
import { aA as ButtonRoot, aB as WrapperImageButton, aC as LoadingButtonRoot } from "../../../styles/index-
|
|
5
|
+
import { aA as ButtonRoot, aB as WrapperImageButton, aC as LoadingButtonRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { useMemo } from "react";
|
|
9
|
-
import { I as Image } from "../../Image/index-
|
|
9
|
+
import { I as Image } from "../../Image/index-CC8G5gQL.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.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-CpZSVkZa.js";
|
|
13
13
|
const componentName$2 = "M4LButton";
|
|
14
14
|
const buttonClasses = generateUtilityClasses(componentName$2, [
|
|
15
15
|
/* elements */
|
|
@@ -5,8 +5,8 @@ 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 { aD as CheckBoxRoot } from "../../styles/index-
|
|
9
|
-
import { F as FieldLabel } from "../FieldLabel/index-
|
|
8
|
+
import { aD as CheckBoxRoot } from "../../styles/index-BUR_Ti7P.js";
|
|
9
|
+
import { F as FieldLabel } from "../FieldLabel/index-BxJpuS_q.js";
|
|
10
10
|
const COMPONENT_CLASS_NAME = "M4LCheckBox";
|
|
11
11
|
generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
12
12
|
/* elements */
|
|
@@ -2,8 +2,8 @@ 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-
|
|
6
|
-
import { aE as IconButtonRoot } from "../../../styles/index-
|
|
5
|
+
import { I as Icon } from "../../Icon/index-CvYHnsc3.js";
|
|
6
|
+
import { aE as IconButtonRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -1,63 +1,10 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useState, useEffect, useMemo } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { useTheme } from "@mui/material/styles";
|
|
4
4
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { B as Badge } from "../Badge/index-Dfdw5Iaq.js";
|
|
9
|
-
import { I as IconButton } from "../IconButton/index-OMq0pPK0.js";
|
|
10
|
-
import { I as Icon } from "../../Icon/index-CueLDD9j.js";
|
|
11
|
-
const ICON_PATH = "frontend/components/menu_actions/assets/icons";
|
|
12
|
-
const ICONS = {
|
|
13
|
-
MENU: "menu.svg"
|
|
14
|
-
};
|
|
15
|
-
const MENU_ACTIONS_KEY_COMPONENT = "M4LMenuActions";
|
|
16
|
-
var MenuActionsSlots = /* @__PURE__ */ ((MenuActionsSlots2) => {
|
|
17
|
-
MenuActionsSlots2["root"] = "root";
|
|
18
|
-
MenuActionsSlots2["badge"] = "badge";
|
|
19
|
-
MenuActionsSlots2["iconButton"] = "iconButton";
|
|
20
|
-
MenuActionsSlots2["menuItem"] = "menuItem";
|
|
21
|
-
MenuActionsSlots2["menuItemIcon"] = "menuItemIcon";
|
|
22
|
-
MenuActionsSlots2["menuItemLabel"] = "menuItemLabel";
|
|
23
|
-
MenuActionsSlots2["labelEmpty"] = "labelEmpty";
|
|
24
|
-
return MenuActionsSlots2;
|
|
25
|
-
})(MenuActionsSlots || {});
|
|
26
|
-
const RootStyled = styled(Popover, {
|
|
27
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
28
|
-
slot: MenuActionsSlots.root
|
|
29
|
-
})(menuActionsStyles?.root);
|
|
30
|
-
const BadgeStyled = styled(Badge, {
|
|
31
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
32
|
-
slot: MenuActionsSlots.badge
|
|
33
|
-
})(menuActionsStyles?.badge);
|
|
34
|
-
const IconButtonStyled = styled(IconButton, {
|
|
35
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
36
|
-
slot: MenuActionsSlots.iconButton
|
|
37
|
-
})(menuActionsStyles?.iconButton);
|
|
38
|
-
const MenuItemStyled = styled(MenuItem, {
|
|
39
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
40
|
-
slot: MenuActionsSlots.menuItem
|
|
41
|
-
})(menuActionsStyles?.menuItem);
|
|
42
|
-
const LabelMenuItemStyled = styled("div", {
|
|
43
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
44
|
-
slot: MenuActionsSlots.menuItemLabel
|
|
45
|
-
})(menuActionsStyles?.menuItemLabel);
|
|
46
|
-
const IconButtonUrlStyled = styled(Icon, {
|
|
47
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
48
|
-
slot: MenuActionsSlots.menuItemIcon
|
|
49
|
-
})(menuActionsStyles?.menuItemIcon);
|
|
50
|
-
const LabelEmptyStyled = styled("div", {
|
|
51
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
52
|
-
slot: MenuActionsSlots.labelEmpty
|
|
53
|
-
})(menuActionsStyles?.labelEmpty);
|
|
54
|
-
const MENU_ACTIONS_DICTIONARY_ID = "menu_actions";
|
|
55
|
-
const DICTIONARY = {
|
|
56
|
-
no_actions_label: "no_actions_label"
|
|
57
|
-
};
|
|
58
|
-
const getMenuActionsDictionary = (key) => {
|
|
59
|
-
return `${MENU_ACTIONS_DICTIONARY_ID}.${key}`;
|
|
60
|
-
};
|
|
5
|
+
import { I as ICON_PATH, a as ICONS } from "./constants-BwsU9chA.js";
|
|
6
|
+
import { g as getMenuActionsDictionary, D as DICTIONARY } from "./dictionary-Dj_07puT.js";
|
|
7
|
+
import { R as RootStyled, M as MenuItemStyled, I as IconButtonUrlStyled, L as LabelMenuItemStyled, a as LabelEmptyStyled, B as BadgeStyled, b as IconButtonStyled } from "./slots/MenuActionsSlots-BYWjYjhh.js";
|
|
61
8
|
function MenuActions(props) {
|
|
62
9
|
const {
|
|
63
10
|
menuActions,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const MENU_ACTIONS_DICTIONARY_ID = "menu_actions";
|
|
2
|
+
const DICTIONARY = {
|
|
3
|
+
no_actions_label: "no_actions_label"
|
|
4
|
+
};
|
|
5
|
+
const getMenuActionsDictionary = (key) => {
|
|
6
|
+
return `${MENU_ACTIONS_DICTIONARY_ID}.${key}`;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
DICTIONARY as D,
|
|
10
|
+
getMenuActionsDictionary as g
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var MenuActionsSlots = /* @__PURE__ */ ((MenuActionsSlots2) => {
|
|
2
|
+
MenuActionsSlots2["root"] = "root";
|
|
3
|
+
MenuActionsSlots2["badge"] = "badge";
|
|
4
|
+
MenuActionsSlots2["iconButton"] = "iconButton";
|
|
5
|
+
MenuActionsSlots2["menuItem"] = "menuItem";
|
|
6
|
+
MenuActionsSlots2["menuItemIcon"] = "menuItemIcon";
|
|
7
|
+
MenuActionsSlots2["menuItemLabel"] = "menuItemLabel";
|
|
8
|
+
MenuActionsSlots2["labelEmpty"] = "labelEmpty";
|
|
9
|
+
return MenuActionsSlots2;
|
|
10
|
+
})(MenuActionsSlots || {});
|
|
11
|
+
export {
|
|
12
|
+
MenuActionsSlots as M
|
|
13
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { styled } from "@mui/material/styles";
|
|
2
|
+
import { MenuItem } from "@mui/material";
|
|
3
|
+
import { M as MENU_ACTIONS_KEY_COMPONENT } from "../constants-BwsU9chA.js";
|
|
4
|
+
import { m as menuActionsStyles } from "../../../../styles/MenuActions-lTi-ynPM.js";
|
|
5
|
+
import { M as MenuActionsSlots } from "./MenuActionsEnum-Bu-L6eWU.js";
|
|
6
|
+
import { P as Popover } from "../../Popover/index-DA0jXUyx.js";
|
|
7
|
+
import { B as Badge } from "../../Badge/index-DDDr79kx.js";
|
|
8
|
+
import { I as IconButton } from "../../IconButton/index-DIF9uD3M.js";
|
|
9
|
+
import { I as Icon } from "../../../Icon/index-CvYHnsc3.js";
|
|
10
|
+
const RootStyled = styled(Popover, {
|
|
11
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
12
|
+
slot: MenuActionsSlots.root
|
|
13
|
+
})(menuActionsStyles?.root);
|
|
14
|
+
const BadgeStyled = styled(Badge, {
|
|
15
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
16
|
+
slot: MenuActionsSlots.badge
|
|
17
|
+
})(menuActionsStyles?.badge);
|
|
18
|
+
const IconButtonStyled = styled(IconButton, {
|
|
19
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
20
|
+
slot: MenuActionsSlots.iconButton
|
|
21
|
+
})(menuActionsStyles?.iconButton);
|
|
22
|
+
const MenuItemStyled = styled(MenuItem, {
|
|
23
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
24
|
+
slot: MenuActionsSlots.menuItem
|
|
25
|
+
})(menuActionsStyles?.menuItem);
|
|
26
|
+
const LabelMenuItemStyled = styled("div", {
|
|
27
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
28
|
+
slot: MenuActionsSlots.menuItemLabel
|
|
29
|
+
})(menuActionsStyles?.menuItemLabel);
|
|
30
|
+
const IconButtonUrlStyled = styled(Icon, {
|
|
31
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
32
|
+
slot: MenuActionsSlots.menuItemIcon
|
|
33
|
+
})(menuActionsStyles?.menuItemIcon);
|
|
34
|
+
const LabelEmptyStyled = styled("div", {
|
|
35
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
36
|
+
slot: MenuActionsSlots.labelEmpty
|
|
37
|
+
})(menuActionsStyles?.labelEmpty);
|
|
38
|
+
export {
|
|
39
|
+
BadgeStyled as B,
|
|
40
|
+
IconButtonUrlStyled as I,
|
|
41
|
+
LabelMenuItemStyled as L,
|
|
42
|
+
MenuItemStyled as M,
|
|
43
|
+
RootStyled as R,
|
|
44
|
+
LabelEmptyStyled as a,
|
|
45
|
+
IconButtonStyled as b
|
|
46
|
+
};
|
|
@@ -4,7 +4,7 @@ import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
|
4
4
|
import { Theme } from '@mui/material/styles';
|
|
5
5
|
import { PopoverProps } from '../Popover/types';
|
|
6
6
|
import { MenuActionsSlots } from './slots';
|
|
7
|
-
import { MENU_ACTIONS_KEY_COMPONENT } from './
|
|
7
|
+
import { MENU_ACTIONS_KEY_COMPONENT } from './constants';
|
|
8
8
|
export interface ComponentActionProps {
|
|
9
9
|
description?: string;
|
|
10
10
|
onClick: (props?: any) => void;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { aF as PagerRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
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-DIF9uD3M.js";
|
|
7
7
|
import { useEnvironment } 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-
|
|
10
|
+
import { T as Typography } from "../Typography/index-CpZSVkZa.js";
|
|
11
|
+
import { I as Icon } from "../../Icon/index-CvYHnsc3.js";
|
|
12
12
|
const componentName = "M4LPager";
|
|
13
13
|
generateUtilityClasses(componentName, [
|
|
14
14
|
/* elements */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { aG as PopoverRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import {
|
|
4
|
+
import { aH as MUISTack } from "../../../styles/index-BUR_Ti7P.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
const componentName = "M4LStack";
|
|
7
7
|
generateUtilityClasses(componentName, [
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, Tab as Tab$1, Skeleton } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import {
|
|
5
|
+
import { aI as MUITabs, aJ as TabContentRoot, aK as TabRoot, aL as SKTTabWrapper } from "../../../styles/index-BUR_Ti7P.js";
|
|
6
6
|
import { useModuleSkeleton } from "@m4l/core";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
8
8
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId-BaBTWhBr.js";
|
|
@@ -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-CA72o44h.js";
|
|
4
4
|
import { w as withToggle } from "../../../hocs/withToggle/index-C1_DMZD3.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-DIF9uD3M.js";
|
|
4
4
|
import { w as withToggle } from "../../../hocs/withToggle/index-C1_DMZD3.js";
|
|
5
5
|
const ToggleAbleIconButton = ({
|
|
6
6
|
onToggle,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, Typography as Typography$1 } from "@mui/material";
|
|
4
|
-
import {
|
|
4
|
+
import { aM as WarpperTypography } from "../../../styles/index-BUR_Ti7P.js";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
@@ -5,10 +5,10 @@ import { forwardRef } from "react";
|
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
6
|
import { u as usePopupsStore } from "../PopupsProvider/index-DhSxmtfJ.js";
|
|
7
7
|
import { P as POPUPS_ICONS } from "./icons-BUujqqbu.js";
|
|
8
|
-
import { P as PopupHeaderContainerStyled, a as PopupHeaderTitleStyled, b as PopupHeaderSubTitleStyled, c as PopupContentEditionInfoStyled, d as PopupDragWindowRootStyled, e as PopupContentRootStyled, f as PopupContentWrapperStyled, R as RootStyled } from "./slots/popupsViewerSlots-
|
|
8
|
+
import { P as PopupHeaderContainerStyled, a as PopupHeaderTitleStyled, b as PopupHeaderSubTitleStyled, c as PopupContentEditionInfoStyled, d as PopupDragWindowRootStyled, e as PopupContentRootStyled, f as PopupContentWrapperStyled, R as RootStyled } from "./slots/popupsViewerSlots-CbZAKPD8.js";
|
|
9
9
|
import { d as draggableWindowClasses } from "../../DragResizeWindow/index-D2jLYExo.js";
|
|
10
|
-
import { I as Icon } from "../../Icon/index-
|
|
11
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index-
|
|
10
|
+
import { I as Icon } from "../../Icon/index-CvYHnsc3.js";
|
|
11
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index-DIF9uD3M.js";
|
|
12
12
|
import { u as useSizeContainer } from "../../../hooks/useSizeContainer/index-D4hDjM1P.js";
|
|
13
13
|
const Header = (props) => {
|
|
14
14
|
const { popupId } = props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { P as POPUPS_VIEWER_KEY_COMPONENT } from "../constants-DuyD7aCn.js";
|
|
3
|
-
import {
|
|
3
|
+
import { aN as popupsViewerStyles } from "../../../../styles/index-BUR_Ti7P.js";
|
|
4
4
|
import { P as PopupViewerSlots } from "./index-B98CiRLa.js";
|
|
5
5
|
import { D as DragResizeWindow } from "../../../DragResizeWindow/index-D2jLYExo.js";
|
|
6
6
|
const RootStyled = styled("div", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
@@ -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-BfP4prnR.js";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({ children }) {
|
|
6
6
|
const [modalOptions, setModalOptions] = useState({
|
|
@@ -3,7 +3,7 @@ import { useEffect } from "react";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { useForm, FormProvider } from "react-hook-form";
|
|
5
5
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
6
|
-
import {
|
|
6
|
+
import { aO as FormProviderRoot } from "../../styles/index-BUR_Ti7P.js";
|
|
7
7
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
const componentName = "M4LRHFormProvider";
|
|
@@ -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-DYRKkNMW.js";
|
|
5
|
+
import { W as WindowConfirm } from "../../components/modal/WindowConfirm-saqM4JTM.js";
|
|
6
6
|
function useFormAddEdit(props) {
|
|
7
7
|
const {
|
|
8
8
|
initialValues,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { a as ModalContext } from "../../contexts/ModalContext/index-
|
|
2
|
+
import { a as ModalContext } from "../../contexts/ModalContext/index-1wuFulLI.js";
|
|
3
3
|
function useModal() {
|
|
4
4
|
const context = useContext(ModalContext);
|
|
5
5
|
if (!context) throw new Error("useModal context must be use inside ModalContext");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { d as TabContext } from "../../components/mui_extended/Tab/index-
|
|
2
|
+
import { d as TabContext } from "../../components/mui_extended/Tab/index-D80sHSf3.js";
|
|
3
3
|
const useTab = () => {
|
|
4
4
|
const context = useContext(TabContext);
|
|
5
5
|
if (context === null) {
|