@m4l/components 3.0.3 → 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/components/AccountPopover/{index-C1SHV3XZ.js → index-BR8vemEj.js} +3 -3
- package/components/AppBar/{index-CpiDi7W9.js → index-BohgzCVU.js} +4 -4
- package/components/BaseModule/{index-C3PN52OU.js → index-6gakgChH.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index-GS4HJIdE.js → index-DaxbYROX.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index-CX2I9LHt.js → index-BvK03clf.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index-w0_c4nBH.js → index-CaisaVHa.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index-iGNIvcsn.js → index-CPfjB0gn.js} +2 -2
- package/components/CommonActions/components/Actions/{index-BKkqUxgb.js → index-C7DUIzPB.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index-C5oGRz2u.js → index-DeqtK560.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index-D3U8qNWy.js → index-BdDrxWSz.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index-BiSoxUSc.js → index-DkKHnJrc.js} +1 -1
- package/components/DataGrid/formatters/{index-CBg-w3uZ.js → index-C4OiK72T.js} +2 -2
- package/components/DataGrid/{index-BagYcO5M.js → index-Cm_DjxJc.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index-D3XaKBc9.js → index-4cJqr_o5.js} +11 -11
- package/components/DynamicFilter/{dictionary-CZftQwMz.js → dictionary-BW5PwL9_.js} +2 -2
- package/components/DynamicFilter/{index-ZWC-ymw6.js → index-qVRWf9L-.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots-BJg8NW69.js → dynamicFilterSlots-EiuJRHxA.js} +5 -5
- package/components/DynamicFilter/store/{index-B8EJidMA.js → index-B92W7pDD.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index-BxXqpZ2r.js → index-B0cjUB2e.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index-BsusIn_U.js → index-VQUBlaGY.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index-BDQlXUiN.js → index-BiUqTH8C.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index-JLN5ZRhw.js → index-epn09qk2.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index-BYqh8Qr6.js → index-DJs8nJtZ.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index-CjcL1o1V.js → index-Dhjd-VBF.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index-tYDNVMc6.js → index-B2BiNChV.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index-BFUVXE4A.js → index-C6YsAOhG.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index-BNi-tpG7.js → index-BQAELWP6.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index-BATOWnYB.js → index-DISFM9YE.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index-yfPsp685.js → index-CPwHRAKR.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index-C7ntxhq7.js → index-vza5LKD6.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index-DrgdahUr.js → index-DqgqChI0.js} +2 -2
- package/components/FieldLabel/{index-uRWxFkWU.js → index-BxJpuS_q.js} +3 -3
- package/components/GridLayout/{index-CRsM-v5t.js → index-DjWMWpVV.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index-D7RPlp1E.js → index-BwzaYFoG.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index-uchivok8.js → index-_e1A2knm.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index-HZgs6M75.js → index-BO-0R17q.js} +1 -1
- package/components/HelperText/{index-D2yPRkGD.js → index-BysUzqMh.js} +2 -2
- package/components/Icon/{index-94Yiv115.js → index-CvYHnsc3.js} +3 -3
- package/components/Image/{index-D0wxe0iA.js → index-CC8G5gQL.js} +2 -2
- package/components/LanguagePopover/{index-BvbgbVe2.js → index-Cq1wLLKe.js} +4 -4
- package/components/LinearProgressIndeterminate/{index-DOKrJpZ4.js → index-CTuN1gfY.js} +1 -1
- package/components/LoadingError/{index-DbVvt8Og.js → index-DWlYM1ch.js} +5 -5
- package/components/MFIsolationApp/{index-CzX8pqYQ.js → index-m-6MPf9A.js} +3 -3
- package/components/MFLoader/{index-B4k4mKvG.js → index-Dye_CDyE.js} +2 -2
- package/components/ModalDialog/{index-D8uF8eMi.js → index-BfP4prnR.js} +3 -3
- package/components/NavLink/{index-mHY1nBUC.js → index-Cvx6GLXs.js} +2 -2
- package/components/NoItemSelected/{index-B1BsnTIa.js → index-wX7zwWEx.js} +1 -1
- package/components/ObjectLogs/{index-CNAZX4Ww.js → index-Cp3uf41B.js} +9 -9
- package/components/PDFViewer/{index-D_ICdj18.js → index-DsK26Ab0.js} +2 -2
- package/components/Page/{index-BjeY10EA.js → index-Cop86J6W.js} +1 -1
- package/components/PaperForm/{index-B1W7MP_K.js → index-B2Rejm-4.js} +2 -2
- package/components/Period/{index-Dvul8haj.js → index-Cvw66i6M.js} +4 -4
- package/components/PrintingSystem/{index-B56vJjAF.js → index-BSFFEcd9.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index-D5KO0QfW.js → index-PVBdsKdG.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index-Ba_7C2wF.js → index-Bp2GC6lI.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index-BNNGCXzD.js → index-DiZpb3lw.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index-DJkRhg7I.js → index-HEFR7nf3.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index-BheH6Pxb.js → index-BC7Htpcu.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index-D10NbTfK.js → index-BDIO2UDn.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index-eDLVQIAt.js → index-CEi6rzcx.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index-G_ggggdA.js → index-ByZtD0E-.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index-Ct4ZH9_9.js → index-CDYHFI2i.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index-CC3kIul5.js → index-C1n7qO50.js} +1 -1
- package/components/PropertyValue/{index-C8XbXuPK.js → index-DNrMXh6i.js} +3 -3
- package/components/Resizeable/{index-enxKr_xx.js → index-n_dxnq4e.js} +1 -1
- package/components/ScrollBar/{index-CHwim4Ga.js → index-CIKS-GIs.js} +1 -1
- package/components/SideBar/{index-Bi1cZIrX.js → index-BexlVrZj.js} +5 -5
- package/components/SplitLayout/{index-CKvln8Em.js → index-CsFTz0uN.js} +1 -1
- package/components/ToastContainer/{index-CcDbkO5x.js → index-BogUWgDl.js} +2 -2
- package/components/animate/LoadingScreen/{index-CxwaarhX.js → index-8SFJLBy6.js} +1 -1
- package/components/animate/{index-C2MciKBn.js → index-CEfjUFBM.js} +1 -1
- package/components/areas/components/AreasAdmin/{index-w4ZiYbUn.js → index-B9K-aUG7.js} +14 -14
- package/components/areas/components/AreasViewer/{index-C_Doyhlf.js → index-BISsgVhH.js} +14 -14
- package/components/areas/contexts/AreasContext/{index-BhgVSihv.js → index-CPvPVZrx.js} +4 -4
- package/components/areas/hooks/useAreas/{index-D9svmsAV.js → index-B_McVh4D.js} +1 -1
- package/components/commercial/AppBarCommercial/{index-C2XuD_Di.js → index-isIlG5IL.js} +1 -1
- package/components/commercial/SectionCommercial/{index-CQ909EmI.js → index-CUzVuRDo.js} +1 -1
- package/components/commercial/TopBar/{index-C3oRupMz.js → index-DIn6GDxV.js} +5 -5
- package/components/commercial/{index-D8V8uETc.js → index-t-fIky9e.js} +3 -3
- package/components/formatters/BooleanFormatter/{index-Cgmuw-1G.js → index-CBW6amFj.js} +2 -2
- package/components/formatters/{index-D52mbpAz.js → index-DLyGkr2X.js} +2 -2
- package/components/hook-form/HelperError/{index-B6yzmaGZ.js → index-Dx9P9gUC.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index-BAUo34ue.js → index-B2Q-8tdS.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index-C7qy6PHH.js → index-NckBOrZn.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index-Dmsakuyn.js → index-CDpw-Hc-.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index-DCTeXEXx.js → index-Cr4AqCrd.js} +6 -6
- package/components/hook-form/RHFDateTime/{index-Cn5PXhkh.js → index-J3EC3pju.js} +4 -4
- package/components/hook-form/RHFPeriod/{index-BeUY33Fb.js → index-BexZzT2k.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index-DCq9ErFn.js → index-D63AuOJa.js} +1 -1
- package/components/hook-form/RHFTextField/{index-BcOjGk_X.js → index-BJLpXkG1.js} +4 -4
- package/components/hook-form/RHFUpload/{index-B9Yv-1cI.js → index-1y3PUbIb.js} +5 -5
- package/components/maps/components/GpsTools/{index-CPthTXb6.js → index-M0iCv8sw.js} +22 -22
- package/components/maps/components/Map/{index-h_YuCA40.js → index-BjTT-kaY.js} +12 -12
- package/components/modal/{WindowBase-CbvNt18-.js → WindowBase-DJ0Vq-og.js} +3 -3
- package/components/modal/{WindowConfirm-BcBjlBYB.js → WindowConfirm-saqM4JTM.js} +6 -6
- package/components/mui_extended/Accordion/{index-CImLE2c2.js → index-DdF8U6jD.js} +4 -4
- package/components/mui_extended/Avatar/{index-QcHxAObO.js → index-CTtUkMxD.js} +1 -1
- package/components/mui_extended/Badge/{index-CkxVcDch.js → index-DDDr79kx.js} +1 -1
- package/components/mui_extended/Button/{index-CeKWngaw.js → index-CA72o44h.js} +3 -3
- package/components/mui_extended/{CheckBox-D4lOF2ZN.js → CheckBox-AjZ7T1z4.js} +2 -2
- package/components/mui_extended/IconButton/{index-8KJAFQdk.js → index-DIF9uD3M.js} +2 -2
- package/components/mui_extended/MenuActions/{index-DUH9jcY3.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-CPojTM6X.js → index-kBzQD4hm.js} +4 -4
- package/components/mui_extended/Popover/{index-ADNJKYaU.js → index-DA0jXUyx.js} +1 -1
- package/components/mui_extended/Stack/{index-COSPZIcB.js → index-BEQk4psj.js} +1 -1
- package/components/mui_extended/Tab/{index-DIBG_fln.js → index-D80sHSf3.js} +1 -1
- package/components/mui_extended/ToggleButton/{index-iPblHkXQ.js → index-DXL8Q9bl.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index-C-84m9IF.js → index-BcagTnvW.js} +1 -1
- package/components/mui_extended/Typography/{index-DdbNIn5v.js → index-CpZSVkZa.js} +1 -1
- package/components/popups/PopupsViewer/{index-CZGtpMc5.js → index-Q6col-0G.js} +3 -3
- package/components/popups/PopupsViewer/slots/{popupsViewerSlots-a4Hanx4W.js → popupsViewerSlots-CbZAKPD8.js} +1 -1
- package/contexts/ModalContext/{index-5DJdcEm0.js → index-1wuFulLI.js} +1 -1
- package/contexts/RHFormContext/{index-D-Aek3pv.js → index-D2OzLCry.js} +1 -1
- package/hooks/useFormAddEdit/{index-DfH0uOq9.js → index-Bxn239hw.js} +2 -2
- package/hooks/useModal/{index-CHufWxiG.js → index-DYRKkNMW.js} +1 -1
- package/hooks/useTab/{index-B9UPdit5.js → index-D96FqxT8.js} +1 -1
- package/index.js +85 -85
- package/package.json +10 -10
- package/styles/MenuActions-lTi-ynPM.js +42 -0
- package/styles/{index-DITv2ClE.js → index-BUR_Ti7P.js} +28 -67
- /package/components/mui_extended/MenuActions/{constant.d.ts → constants.d.ts} +0 -0
|
@@ -5,13 +5,13 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
5
5
|
import { g as getComponentUtilityClass } from "../../../utils/index-DiMrtgIu.js";
|
|
6
6
|
import { createContext, useContext, useState } from "react";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
|
-
import { ad as ArrowIconRoot } from "../../../styles/index-
|
|
9
|
-
import { I as Icon } from "../../Icon/index-
|
|
8
|
+
import { ad as ArrowIconRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
9
|
+
import { I as Icon } from "../../Icon/index-CvYHnsc3.js";
|
|
10
10
|
import clsx from "clsx";
|
|
11
11
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId-BaBTWhBr.js";
|
|
12
|
-
import { A as Accordion } from "../../mui_extended/Accordion/index-
|
|
13
|
-
import { B as Button } from "../../mui_extended/Button/index-
|
|
14
|
-
import { P as Popover } from "../../mui_extended/Popover/index-
|
|
12
|
+
import { A as Accordion } from "../../mui_extended/Accordion/index-DdF8U6jD.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index-CA72o44h.js";
|
|
14
|
+
import { P as Popover } from "../../mui_extended/Popover/index-DA0jXUyx.js";
|
|
15
15
|
const componentName = "M4LTopBar";
|
|
16
16
|
const TopBarClasses = generateUtilityClasses(componentName, [
|
|
17
17
|
/* elements */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { ae as HamburgerMenuRoot } from "../../styles/index-
|
|
3
|
+
import { ae as HamburgerMenuRoot } from "../../styles/index-BUR_Ti7P.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock-CF-669v-.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
|
-
import { S as SideBar } from "../SideBar/index-
|
|
9
|
-
import { I as IconButton } from "../mui_extended/IconButton/index-
|
|
8
|
+
import { S as SideBar } from "../SideBar/index-BexlVrZj.js";
|
|
9
|
+
import { I as IconButton } from "../mui_extended/IconButton/index-DIF9uD3M.js";
|
|
10
10
|
const componentName = "M4LHamburgerMenuCommercial";
|
|
11
11
|
generateUtilityClasses(componentName, ["root", "ImageLogo"]);
|
|
12
12
|
function getHamburgerMenuComercialClassesUtilityClass(slot) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
4
|
-
import { I as Icon } from "../../Icon/index-
|
|
4
|
+
import { I as Icon } from "../../Icon/index-CvYHnsc3.js";
|
|
5
5
|
import { W as WrapperComponent } from "../../WrapperComponent/index-BHV-CsDU.js";
|
|
6
|
-
import { F as FormatterRoot, f as formatterClasses } from "../index-
|
|
6
|
+
import { F as FormatterRoot, f as formatterClasses } from "../index-DLyGkr2X.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
9
9
|
const LABEL_BOOLEAN_YES = `${BOOLEAN_FORMATTER_DICTIONARY_KEY}.boolean_yes`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import "@mui/base";
|
|
4
|
-
import { af as FormatterRootContainer } from "../../styles/index-
|
|
4
|
+
import { af as FormatterRootContainer } from "../../styles/index-BUR_Ti7P.js";
|
|
5
5
|
import { W as WrapperComponent } from "../WrapperComponent/index-BHV-CsDU.js";
|
|
6
6
|
import { useModuleDictionary } from "@m4l/core";
|
|
7
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index-
|
|
7
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index-CBW6amFj.js";
|
|
8
8
|
const COMPONENT_CLASS_NAME = "M4LFormatter";
|
|
9
9
|
const formatterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
10
10
|
/* elements */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, useController } from "react-hook-form";
|
|
3
|
-
import { H as HelperText } from "../../HelperText/index-
|
|
3
|
+
import { H as HelperText } from "../../HelperText/index-BysUzqMh.js";
|
|
4
4
|
function HelperError(props) {
|
|
5
5
|
const { name } = props;
|
|
6
6
|
const { control } = useFormContext();
|
|
@@ -6,14 +6,14 @@ import { generateUtilityClasses, generateUtilityClass, Skeleton, useTheme, Autoc
|
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { useFormContext, Controller } from "react-hook-form";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index-
|
|
9
|
+
import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
11
|
-
import { I as Image } from "../../Image/index-
|
|
12
|
-
import { T as Typography } from "../../mui_extended/Typography/index-
|
|
13
|
-
import { H as HelperText } from "../../HelperText/index-
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index-
|
|
11
|
+
import { I as Image } from "../../Image/index-CC8G5gQL.js";
|
|
12
|
+
import { T as Typography } from "../../mui_extended/Typography/index-CpZSVkZa.js";
|
|
13
|
+
import { H as HelperText } from "../../HelperText/index-BysUzqMh.js";
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index-BxJpuS_q.js";
|
|
15
15
|
import { C as CircularProgress } from "../../mui_extended/CircularProgress/index-Bnnti_G6.js";
|
|
16
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index-
|
|
16
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index-DIF9uD3M.js";
|
|
17
17
|
const componentName = "M4LRHFAutocomplete";
|
|
18
18
|
generateUtilityClasses(
|
|
19
19
|
componentName,
|
|
@@ -4,9 +4,9 @@ import { useState, useCallback, useEffect } from "react";
|
|
|
4
4
|
import debounce from "lodash/debounce";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index-
|
|
7
|
+
import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
9
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index-
|
|
9
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index-B2Q-8tdS.js";
|
|
10
10
|
const componentName = "M4LRHFAutocompleteAsync";
|
|
11
11
|
generateUtilityClasses(
|
|
12
12
|
componentName,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
|
-
import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index-
|
|
3
|
+
import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index-BUR_Ti7P.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { H as HelperText } from "../../HelperText/index-
|
|
6
|
+
import { H as HelperText } from "../../HelperText/index-BysUzqMh.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
8
8
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
9
9
|
import { useModuleSkeleton } from "@m4l/core";
|
|
10
10
|
import { useFormFocus } from "../../../index.js";
|
|
11
|
-
import { C as CheckBox } from "../../mui_extended/CheckBox-
|
|
11
|
+
import { C as CheckBox } from "../../mui_extended/CheckBox-AjZ7T1z4.js";
|
|
12
12
|
generateUtilityClasses("M4LRHFCheckbox", [
|
|
13
13
|
/* elements */
|
|
14
14
|
"root",
|
|
@@ -3,17 +3,17 @@ import { useState } from "react";
|
|
|
3
3
|
import { useFormContext, useWatch, Controller } from "react-hook-form";
|
|
4
4
|
import { useModuleSkeleton, useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
5
5
|
import { SketchPicker } from "react-color";
|
|
6
|
-
import { H as HelperText } from "../../HelperText/index-
|
|
6
|
+
import { H as HelperText } from "../../HelperText/index-BysUzqMh.js";
|
|
7
7
|
import { generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { al as RHFColorPickerRoot } from "../../../styles/index-
|
|
9
|
+
import { al as RHFColorPickerRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
10
10
|
import { useTheme } from "@mui/material/styles";
|
|
11
11
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
12
12
|
import { useFormFocus } from "../../../index.js";
|
|
13
|
-
import { F as FieldLabel } from "../../FieldLabel/index-
|
|
14
|
-
import { I as Icon } from "../../Icon/index-
|
|
15
|
-
import { P as Popover } from "../../mui_extended/Popover/index-
|
|
16
|
-
import { B as Button } from "../../mui_extended/Button/index-
|
|
13
|
+
import { F as FieldLabel } from "../../FieldLabel/index-BxJpuS_q.js";
|
|
14
|
+
import { I as Icon } from "../../Icon/index-CvYHnsc3.js";
|
|
15
|
+
import { P as Popover } from "../../mui_extended/Popover/index-DA0jXUyx.js";
|
|
16
|
+
import { B as Button } from "../../mui_extended/Button/index-CA72o44h.js";
|
|
17
17
|
const componentName = "M4LRHFColorPicker";
|
|
18
18
|
const colorPickerClasses = generateUtilityClasses(componentName, [
|
|
19
19
|
/* elements */
|
|
@@ -7,12 +7,12 @@ import { useFormatter, useResponsiveDesktop } from "@m4l/graphics";
|
|
|
7
7
|
import { useState, useEffect } from "react";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
import clsx from "clsx";
|
|
10
|
-
import { am as RHFDateTimeRoot } from "../../../styles/index-
|
|
11
|
-
import { H as HelperText } from "../../HelperText/index-
|
|
10
|
+
import { am as RHFDateTimeRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index-BysUzqMh.js";
|
|
12
12
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
13
13
|
import { useFormFocus } from "../../../index.js";
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index-
|
|
15
|
-
import { I as Icon } from "../../Icon/index-
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index-BxJpuS_q.js";
|
|
15
|
+
import { I as Icon } from "../../Icon/index-CvYHnsc3.js";
|
|
16
16
|
const SkeletonRHFDateTime = (props) => {
|
|
17
17
|
const { skeletonWidth, skeletonHeight, className, label } = props;
|
|
18
18
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { an as RHFPeriodRoot } from "../../../styles/index-
|
|
2
|
+
import { an as RHFPeriodRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
3
3
|
import { useFormContext, Controller } from "react-hook-form";
|
|
4
|
-
import { H as HelperText } from "../../HelperText/index-
|
|
4
|
+
import { H as HelperText } from "../../HelperText/index-BysUzqMh.js";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { useModuleSkeleton } from "@m4l/core";
|
|
8
8
|
import { useFormFocus } from "../../../index.js";
|
|
9
|
-
import { F as FieldLabel } from "../../FieldLabel/index-
|
|
10
|
-
import { P as Period } from "../../Period/index-
|
|
9
|
+
import { F as FieldLabel } from "../../FieldLabel/index-BxJpuS_q.js";
|
|
10
|
+
import { P as Period } from "../../Period/index-Cvw66i6M.js";
|
|
11
11
|
const componentName = "M4LRHFPeriod";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
13
13
|
/* elements */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { RadioGroup, FormControlLabel, FormHelperText, Radio } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../../Icon/index-
|
|
4
|
+
import { I as Icon } from "../../Icon/index-CvYHnsc3.js";
|
|
5
5
|
function OptionIconLabelFormatter(option, getOptionLabel, getOptionIconUrl) {
|
|
6
6
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
7
7
|
/* @__PURE__ */ jsx(
|
|
@@ -2,16 +2,16 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { forwardRef, useState, useEffect } from "react";
|
|
5
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index-
|
|
5
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index-DIF9uD3M.js";
|
|
6
6
|
import { useFormContext, Controller } from "react-hook-form";
|
|
7
|
-
import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index-
|
|
7
|
+
import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
9
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
10
10
|
import { g as getComponentUtilityClass } from "../../../utils/index-DiMrtgIu.js";
|
|
11
|
-
import { H as HelperText } from "../../HelperText/index-
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index-BysUzqMh.js";
|
|
12
12
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
13
13
|
import { useFormFocus } from "../../../index.js";
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index-
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index-BxJpuS_q.js";
|
|
15
15
|
const RHFTEXTFIELD_ROOT_TEST_ID = "RHFTextFieldRoot";
|
|
16
16
|
const RHFTEXTFIELD_INPUT_TEST_ID = "RHFTextFieldInput";
|
|
17
17
|
const RHFTEXTFIELD_PREFIX = "RHFTextField";
|
|
@@ -3,15 +3,15 @@ import { useCallback } from "react";
|
|
|
3
3
|
import { useFormContext, Controller } from "react-hook-form";
|
|
4
4
|
import isString from "lodash/isString";
|
|
5
5
|
import { useDropzone } from "react-dropzone";
|
|
6
|
-
import { I as Image } from "../../Image/index-
|
|
6
|
+
import { I as Image } from "../../Image/index-CC8G5gQL.js";
|
|
7
7
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
8
|
-
import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index-
|
|
8
|
+
import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index-BUR_Ti7P.js";
|
|
9
9
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
|
-
import { T as Typography } from "../../mui_extended/Typography/index-
|
|
13
|
-
import { B as Button } from "../../mui_extended/Button/index-
|
|
14
|
-
import { H as HelperText } from "../../HelperText/index-
|
|
12
|
+
import { T as Typography } from "../../mui_extended/Typography/index-CpZSVkZa.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index-CA72o44h.js";
|
|
14
|
+
import { H as HelperText } from "../../HelperText/index-BysUzqMh.js";
|
|
15
15
|
const ICON_PREFIX = "M4LRHFUploadImage";
|
|
16
16
|
const getNameRHFUploadImageDataTestId = (KEY) => {
|
|
17
17
|
return `${ICON_PREFIX}-${KEY}`;
|
|
@@ -5,42 +5,42 @@ import { shallow } from "zustand/shallow";
|
|
|
5
5
|
import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
|
|
6
6
|
import "@geoman-io/leaflet-geoman-free";
|
|
7
7
|
import clsx from "clsx";
|
|
8
|
-
import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index-
|
|
9
|
-
import { D as DynamicFilter } from "../../../DynamicFilter/index-
|
|
10
|
-
import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index-
|
|
8
|
+
import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index-BUR_Ti7P.js";
|
|
9
|
+
import { D as DynamicFilter } from "../../../DynamicFilter/index-qVRWf9L-.js";
|
|
10
|
+
import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index-C4OiK72T.js";
|
|
11
11
|
import { C as ColumnDateFormatter } from "../../../DataGrid/formatters/ColumnDateFormatter/index-CKg8CJ6A.js";
|
|
12
12
|
import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
13
13
|
import { useFormContext, useWatch, useFormState } from "react-hook-form";
|
|
14
|
-
import { H as HelperError } from "../../../hook-form/HelperError/index-
|
|
15
|
-
import { u as useModal } from "../../../../hooks/useModal/index-
|
|
14
|
+
import { H as HelperError } from "../../../hook-form/HelperError/index-Dx9P9gUC.js";
|
|
15
|
+
import { u as useModal } from "../../../../hooks/useModal/index-DYRKkNMW.js";
|
|
16
16
|
import { u as usePopupsStore } from "../../../popups/PopupsProvider/index-DhSxmtfJ.js";
|
|
17
17
|
import { createStore, useStore } from "zustand";
|
|
18
18
|
import { devtools } from "zustand/middleware";
|
|
19
19
|
import { immer } from "zustand/middleware/immer";
|
|
20
20
|
import { enableMapSet } from "immer";
|
|
21
|
-
import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index-
|
|
22
|
-
import { W as WindowConfirm } from "../../../modal/WindowConfirm-
|
|
23
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index-
|
|
24
|
-
import { B as Button } from "../../../mui_extended/Button/index-
|
|
21
|
+
import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index-CaisaVHa.js";
|
|
22
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm-saqM4JTM.js";
|
|
23
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index-C7DUIzPB.js";
|
|
24
|
+
import { B as Button } from "../../../mui_extended/Button/index-CA72o44h.js";
|
|
25
25
|
import { useMap } from "react-leaflet";
|
|
26
26
|
import * as L from "leaflet";
|
|
27
27
|
import { u as useFormReadyForUpdate } from "../../../../hooks/useFormReadyForUpdate/index-B3HygFCM.js";
|
|
28
|
-
import { u as useTab } from "../../../../hooks/useTab/index-
|
|
28
|
+
import { u as useTab } from "../../../../hooks/useTab/index-D96FqxT8.js";
|
|
29
29
|
import { generateUtilityClasses } from "@mui/material";
|
|
30
30
|
import "@mui/base";
|
|
31
|
-
import { P as PaperForm } from "../../../PaperForm/index-
|
|
32
|
-
import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index-
|
|
33
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index-
|
|
34
|
-
import { S as Stack } from "../../../mui_extended/Stack/index-
|
|
35
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index-
|
|
36
|
-
import { P as PropertyValue } from "../../../PropertyValue/index-
|
|
37
|
-
import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index-
|
|
38
|
-
import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index-
|
|
39
|
-
import { I as Icon } from "../../../Icon/index-
|
|
31
|
+
import { P as PaperForm } from "../../../PaperForm/index-B2Rejm-4.js";
|
|
32
|
+
import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index-B2Q-8tdS.js";
|
|
33
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index-BJLpXkG1.js";
|
|
34
|
+
import { S as Stack } from "../../../mui_extended/Stack/index-BEQk4psj.js";
|
|
35
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index-DIF9uD3M.js";
|
|
36
|
+
import { P as PropertyValue } from "../../../PropertyValue/index-DNrMXh6i.js";
|
|
37
|
+
import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index-Cr4AqCrd.js";
|
|
38
|
+
import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index-D80sHSf3.js";
|
|
39
|
+
import { I as Icon } from "../../../Icon/index-CvYHnsc3.js";
|
|
40
40
|
import * as Yup from "yup";
|
|
41
|
-
import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index-
|
|
42
|
-
import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index-
|
|
43
|
-
import { D as DataGrid } from "../../../DataGrid/index-
|
|
41
|
+
import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index-Bxn239hw.js";
|
|
42
|
+
import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index-BjTT-kaY.js";
|
|
43
|
+
import { D as DataGrid } from "../../../DataGrid/index-Cm_DjxJc.js";
|
|
44
44
|
const COMPONENT_CLASS_NAME = "M4LMapGpsTools";
|
|
45
45
|
const COMPONENT_MAP_TOOLS_ID = "gps_tools";
|
|
46
46
|
const STYLE_OPACITIES = [
|
|
@@ -9,24 +9,24 @@ import { createPortal } from "react-dom";
|
|
|
9
9
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment, useModulePrivileges } from "@m4l/core";
|
|
10
10
|
import clsx from "clsx";
|
|
11
11
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
12
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index-
|
|
13
|
-
import { B as Button } from "../../../mui_extended/Button/index-
|
|
12
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index-C7DUIzPB.js";
|
|
13
|
+
import { B as Button } from "../../../mui_extended/Button/index-CA72o44h.js";
|
|
14
14
|
import * as Yup from "yup";
|
|
15
15
|
import { u as useFormReadyForUpdate } from "../../../../hooks/useFormReadyForUpdate/index-B3HygFCM.js";
|
|
16
|
-
import { R as RHFAutocompleteAsync } from "../../../hook-form/RHFAutocompleteAsync/index-
|
|
17
|
-
import { S as Stack } from "../../../mui_extended/Stack/index-
|
|
18
|
-
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index-
|
|
19
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index-
|
|
16
|
+
import { R as RHFAutocompleteAsync } from "../../../hook-form/RHFAutocompleteAsync/index-NckBOrZn.js";
|
|
17
|
+
import { S as Stack } from "../../../mui_extended/Stack/index-BEQk4psj.js";
|
|
18
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index-D2OzLCry.js";
|
|
19
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index-DIF9uD3M.js";
|
|
20
20
|
import { u as usePopupsStore, P as PopupsProvider } from "../../../popups/PopupsProvider/index-DhSxmtfJ.js";
|
|
21
|
-
import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index-
|
|
22
|
-
import { D as DataGrid } from "../../../DataGrid/index-
|
|
21
|
+
import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index-BcagTnvW.js";
|
|
22
|
+
import { D as DataGrid } from "../../../DataGrid/index-Cm_DjxJc.js";
|
|
23
23
|
import { generateUtilityClasses, Tooltip, FormControl, RadioGroup, FormControlLabel, Radio, useTheme } from "@mui/material";
|
|
24
24
|
import { C as ColumnSetCheckFormatter } from "../../../DataGrid/formatters/ColumnSetCheckFormatter/index-BaCawLr1.js";
|
|
25
|
-
import { I as Icon, M as MarkerIconLabel } from "../../../Icon/index-
|
|
25
|
+
import { I as Icon, M as MarkerIconLabel } from "../../../Icon/index-CvYHnsc3.js";
|
|
26
26
|
import { u as useStateRef } from "../../../../hooks/useStateRef/index-C3P6ZK3m.js";
|
|
27
|
-
import { C as CheckBox } from "../../../mui_extended/CheckBox-
|
|
28
|
-
import { P as Popover } from "../../../mui_extended/Popover/index-
|
|
29
|
-
import { P as PopupsViewer } from "../../../popups/PopupsViewer/index-
|
|
27
|
+
import { C as CheckBox } from "../../../mui_extended/CheckBox-AjZ7T1z4.js";
|
|
28
|
+
import { P as Popover } from "../../../mui_extended/Popover/index-DA0jXUyx.js";
|
|
29
|
+
import { P as PopupsViewer } from "../../../popups/PopupsViewer/index-Q6col-0G.js";
|
|
30
30
|
import { createPathComponent } from "@react-leaflet/core";
|
|
31
31
|
import "leaflet.markercluster";
|
|
32
32
|
import { cloneDeep, throttle } from "lodash";
|
|
@@ -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-CkxVcDch.js";
|
|
9
|
-
import { I as IconButton } from "../IconButton/index-8KJAFQdk.js";
|
|
10
|
-
import { I as Icon } from "../../Icon/index-94Yiv115.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
|
+
};
|