@m4l/components 3.0.1 → 3.0.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.
Files changed (158) hide show
  1. package/@types/export.d.ts +266 -266
  2. package/@types/types.d.ts +70 -47
  3. package/components/AccountPopover/{index-BJWLsxYq.js → index-vXlaw69C.js} +3 -3
  4. package/components/AppBar/{index-BdA-qQyV.js → index-3gXtikUI.js} +4 -4
  5. package/components/BaseModule/{index-Bl0GPyrz.js → index-CtN6b__U.js} +1 -1
  6. package/components/CommonActions/components/ActionCancel/{index-BlaMdPmp.js → index-D_42VfUR.js} +2 -2
  7. package/components/CommonActions/components/ActionFormCancel/{index-C5ZI4ZPP.js → index-DL7fDBi6.js} +4 -4
  8. package/components/CommonActions/components/ActionFormIntro/{index-BbVMcr05.js → index-i3HmOpoU.js} +2 -2
  9. package/components/CommonActions/components/ActionIntro/{index-DGooFqVu.js → index-i5875EXe.js} +2 -2
  10. package/components/CommonActions/components/Actions/{index-B_vOmNZT.js → index-ChW1FuFf.js} +1 -1
  11. package/components/DataGrid/assets/icons/datagrid.svg +4 -4
  12. package/components/DataGrid/formatters/ColumnBooleanFormatter/{index-0wqcK8ML.js → index-BjkuIa7y.js} +1 -1
  13. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index-Ozdfjlt2.js → index-CWQp1KWU.js} +1 -1
  14. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index-D-98uXfl.js → index-DggW8-4n.js} +1 -1
  15. package/components/DataGrid/formatters/{index-B5SJg0Qq.js → index-B3AsHKeD.js} +2 -2
  16. package/components/DataGrid/{index-7vJWvQtu.js → index-EgaRUtbL.js} +4 -4
  17. package/components/DataGrid/subcomponents/Actions/{index-C-p5O-cU.js → index-BF4pV_-K.js} +11 -11
  18. package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
  19. package/components/DynamicFilter/{dictionary-DbRGLe8j.js → dictionary-B2qYGLOx.js} +2 -2
  20. package/components/DynamicFilter/{index-D2CmPq_i.js → index-BLjn97jC.js} +4 -4
  21. package/components/DynamicFilter/slots/{dynamicFilterSlots-BSCWv_Rw.js → dynamicFilterSlots-CaFVu7xW.js} +5 -5
  22. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +1 -1
  23. package/components/DynamicFilter/store/{index-BcaPHLdk.js → index-EW1sL9gf.js} +1 -1
  24. package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index-BZAxYAp1.js → index-DjgwIwH9.js} +3 -3
  25. package/components/DynamicFilter/subcomponents/AppliedFilters/{index-DIFUGgys.js → index-Cfcgzcw7.js} +4 -4
  26. package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index-D5BGKd5r.js → index-BFcVswNb.js} +6 -6
  27. package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index-DFHDm1e4.js → index-B4mhUk9e.js} +2 -2
  28. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index-Hn2Rzovd.js → index-CA3JDlD0.js} +3 -3
  29. package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index-B5F1Ji7m.js → index-B4R83Pyi.js} +3 -3
  30. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index-BQlxIk_N.js → index-1XC3u2dm.js} +4 -4
  31. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index-DF7EGeSx.js → index-BEMRO3Ng.js} +3 -3
  32. package/components/DynamicFilter/subcomponents/FieldTypes/{index-B6WQUIl7.js → index-Cfs28hud.js} +5 -5
  33. package/components/DynamicFilter/subcomponents/FilterActions/{index-D5edNMdo.js → index-CYY3cjbX.js} +3 -3
  34. package/components/DynamicFilter/subcomponents/InputFilter/{index-bbdBrHj0.js → index-CAdtxARw.js} +4 -4
  35. package/components/DynamicFilter/subcomponents/PopoverFilter/{index-CD3aGB5S.js → index-COoNIh4L.js} +6 -6
  36. package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index-MiYNpAu0.js → index-Kz-jfM3o.js} +2 -2
  37. package/components/FieldLabel/{index-BpW2AGJx.js → index-DCAMDJoJ.js} +3 -3
  38. package/components/GridLayout/{index-HK_hTGnZ.js → index-DUfp2sP_.js} +2 -2
  39. package/components/GridLayout/subcomponents/Griditem/{index-izY8S7ns.js → index-DEi0Ai1D.js} +1 -1
  40. package/components/GridLayout/subcomponents/Responsive/{index-bpKDnaCd.js → index-B7v5X9un.js} +1 -1
  41. package/components/GridLayout/subcomponents/SizeProvider/{index-OWN-RzRq.js → index-BsKaLKRl.js} +1 -1
  42. package/components/HelperText/{index-COWCXeJp.js → index-DVV5Jfc8.js} +2 -2
  43. package/components/Icon/{index-CedboS6y.js → index-CueLDD9j.js} +3 -3
  44. package/components/Image/{index-B7FhR9uF.js → index-By5vsRzf.js} +2 -2
  45. package/components/LanguagePopover/{index-4kPWKmxk.js → index-Dn2JPzf1.js} +4 -4
  46. package/components/LinearProgressIndeterminate/{index-Do7CKcow.js → index-CTlvokQp.js} +1 -1
  47. package/components/LoadingError/{index-CNh7b1ew.js → index-CXVOiscg.js} +5 -5
  48. package/components/MFIsolationApp/{index-DJ-MUHoQ.js → index-BfFMo2Q2.js} +3 -3
  49. package/components/MFLoader/{index-Bcg9TXnJ.js → index-CCtU6zwR.js} +2 -2
  50. package/components/ModalDialog/{index-BuGRs967.js → index-KryIxH_j.js} +3 -3
  51. package/components/NavLink/{index-B6Gmzyl0.js → index-D6eiKlc0.js} +2 -2
  52. package/components/NoItemSelected/{index-CMet73v_.js → index-DKhhgTAH.js} +1 -1
  53. package/components/ObjectLogs/{index-_8l1PbEQ.js → index-CpBmanv0.js} +9 -9
  54. package/components/PDFViewer/{index-CV9x1XKR.js → index-3PBUibum.js} +2 -2
  55. package/components/Page/{index-DKQLs5le.js → index-PXQkJn7v.js} +1 -1
  56. package/components/PaperForm/{index-DciWfnML.js → index-B6a3-CZt.js} +2 -2
  57. package/components/Period/{index-DxijnNw6.js → index-DtFWU3y5.js} +4 -4
  58. package/components/PrintingSystem/{index-sSZkZbrr.js → index-DJmGF2SQ.js} +13 -13
  59. package/components/PrintingSystem/subcomponents/BodyNode/{index-CxYjxWxL.js → index-DorXm6AO.js} +1 -1
  60. package/components/PrintingSystem/subcomponents/ChartNode/{index-D85qi4Qz.js → index-Cd9H-_3i.js} +1 -1
  61. package/components/PrintingSystem/subcomponents/DividerNode/{index-BA-IYLWh.js → index-Dm-RAH_l.js} +1 -1
  62. package/components/PrintingSystem/subcomponents/FooterNode/{index-Bn9eNtAi.js → index-BPg-NpDf.js} +1 -1
  63. package/components/PrintingSystem/subcomponents/GridNode/{index-gNEGVptD.js → index-u0ZSP6s4.js} +1 -1
  64. package/components/PrintingSystem/subcomponents/HeaderNode/{index-CiVr-jBF.js → index-C7eFFsTN.js} +1 -1
  65. package/components/PrintingSystem/subcomponents/PaperNode/{index-BGbvh0Xk.js → index-D7M4YL4C.js} +1 -1
  66. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index-DvhbyOo3.js → index-Drjfhq-n.js} +1 -1
  67. package/components/PrintingSystem/subcomponents/SectionNode/{index-Cw8ZUwsm.js → index-Banh4UxX.js} +1 -1
  68. package/components/PrintingSystem/subcomponents/TextBoxNode/{index-l9SFQ11V.js → index-OBnZLPEc.js} +1 -1
  69. package/components/PropertyValue/{index-hcXIE6qk.js → index-Cc7y20oI.js} +3 -3
  70. package/components/Resizeable/{index-ObbOlXFx.js → index-BwQ6EKCK.js} +1 -1
  71. package/components/ScrollBar/{index-BpTjE7o3.js → index-P3SkjYOy.js} +1 -1
  72. package/components/SideBar/{index-Cg1bZn8y.js → index-Ddxe1VvL.js} +5 -5
  73. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +1 -1
  74. package/components/SplitLayout/{index-CYnKlhi5.js → index-CwmZT1x6.js} +1 -1
  75. package/components/ToastContainer/{index-B5VGIn45.js → index-DN3ZHpBT.js} +2 -2
  76. package/components/animate/LoadingScreen/{index-CzDq3A0i.js → index-CcjW-mkl.js} +1 -1
  77. package/components/animate/{index-mH4o-crX.js → index-DsolrzTC.js} +1 -1
  78. package/components/areas/components/AreasAdmin/{index-qqSduaty.js → index-Y6S0Q7TN.js} +14 -14
  79. package/components/areas/components/AreasViewer/{index-D5If8gFK.js → index-DfcpQwSl.js} +52 -60
  80. package/components/areas/contexts/AreasContext/{index-Dyj8tCdG.js → index-spCQnOlk.js} +10 -5
  81. package/components/areas/contexts/AreasContext/types.d.ts +1 -0
  82. package/components/areas/contexts/WindowToolsMFContext/types.d.ts +5 -0
  83. package/components/areas/hooks/index.d.ts +1 -0
  84. package/components/areas/hooks/useAreas/{index-o0DvT3xZ.js → index-D6DaWBIP.js} +1 -1
  85. package/components/areas/hooks/useSetWindowsTitle/index.d.ts +1 -0
  86. package/components/areas/hooks/useSetWindowsTitle/useSetWindowsTitle-BzPD-miW.js +31 -0
  87. package/components/areas/hooks/useSetWindowsTitle/useSetWindowsTitle.d.ts +3 -0
  88. package/components/commercial/AppBarCommercial/{index-DvigwCQP.js → index-D1jIOw7M.js} +1 -1
  89. package/components/commercial/SectionCommercial/{index-CLHGooDg.js → index-C9THYik8.js} +1 -1
  90. package/components/commercial/TopBar/{index-DJNYXgHq.js → index-DLn3yEcX.js} +5 -5
  91. package/components/commercial/{index-BLUHQfcA.js → index-D1bCIF7p.js} +3 -3
  92. package/components/formatters/BooleanFormatter/{index-DpF0x_xp.js → index-Bc2l6GTX.js} +2 -2
  93. package/components/formatters/{index-CDt8LzvL.js → index-Botdzyt2.js} +2 -2
  94. package/components/hook-form/HelperError/{index-D-_czK9n.js → index-J-C5u9AH.js} +1 -1
  95. package/components/hook-form/RHFAutocomplete/{index-BhbgwNUz.js → index-erpzYu8W.js} +6 -6
  96. package/components/hook-form/RHFAutocompleteAsync/{index-BnUgdSnR.js → index-BV0f25eK.js} +2 -2
  97. package/components/hook-form/RHFCheckbox/{index-ubHFuH1F.js → index-Duf51-pS.js} +3 -3
  98. package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
  99. package/components/hook-form/RHFColorPicker/{index-DBpi0Zhe.js → index-C-tITRAx.js} +6 -6
  100. package/components/hook-form/RHFDateTime/{index-BtfOlX4T.js → index-OdXKdhJS.js} +4 -4
  101. package/components/hook-form/RHFInputNumberSpinner/constants.d.ts +1 -0
  102. package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnnerEnum.d.ts +9 -0
  103. package/components/hook-form/RHFInputNumberSpinner/types.d.ts +21 -0
  104. package/components/hook-form/RHFPeriod/{index-BicAIry0.js → index-CjkIGYUY.js} +4 -4
  105. package/components/hook-form/RHFRadioGroup/{index-Di37rp0B.js → index-Da_2zFu3.js} +1 -1
  106. package/components/hook-form/RHFTextField/{index-Cz7BMTLe.js → index-BWZWPFn5.js} +4 -4
  107. package/components/hook-form/RHFUpload/{index-D52JNxDh.js → index-D4nrnFFT.js} +5 -5
  108. package/components/maps/components/GpsTools/{index-BP1dIwh6.js → index-DPY-BjB8.js} +22 -22
  109. package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
  110. package/components/maps/components/Map/{index-CS6xr1Fl.js → index-BRrVIyA-.js} +12 -12
  111. package/components/maps/leaflet-geoman.d.ts +1476 -1476
  112. package/components/modal/{WindowBase-CLBER1xc.js → WindowBase-Ce6yRLcN.js} +3 -3
  113. package/components/modal/{WindowConfirm-DraflAKP.js → WindowConfirm-BaB3Ojgu.js} +6 -6
  114. package/components/mui_extended/Accordion/{index-ZFpEUCnw.js → index-D1775s1J.js} +4 -4
  115. package/components/mui_extended/Avatar/{index-Bk4Hq2nk.js → index-n5hK7nJD.js} +1 -1
  116. package/components/mui_extended/Badge/{index-D6F1o3k2.js → index-Dfdw5Iaq.js} +1 -1
  117. package/components/mui_extended/Button/{index-DlzpoczE.js → index-CksGG1B8.js} +3 -3
  118. package/components/mui_extended/Button/styles.d.ts +1 -1
  119. package/components/mui_extended/{CheckBox-ByxYagHV.js → CheckBox-CjxjIrmN.js} +2 -2
  120. package/components/mui_extended/IconButton/{index-BfDbi0cC.js → index-OMq0pPK0.js} +2 -2
  121. package/components/mui_extended/IconButton/types.d.ts +18 -0
  122. package/components/mui_extended/MenuActions/MenuActions.d.ts +5 -0
  123. package/components/mui_extended/MenuActions/constant.d.ts +5 -0
  124. package/components/mui_extended/MenuActions/dictionary.d.ts +7 -0
  125. package/components/mui_extended/MenuActions/index-De7dpdBH.js +202 -0
  126. package/components/mui_extended/MenuActions/index.d.ts +2 -5
  127. package/components/mui_extended/MenuActions/slots/MenuActionsEnum.d.ts +9 -0
  128. package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +24 -0
  129. package/components/mui_extended/MenuActions/slots/index.d.ts +2 -0
  130. package/components/mui_extended/MenuActions/types.d.ts +11 -2
  131. package/components/mui_extended/Pager/{index-CRgYDkV8.js → index-k7SRq6Jo.js} +4 -4
  132. package/components/mui_extended/Popover/{index-C6_2t4L1.js → index-BnKsmvtw.js} +1 -1
  133. package/components/mui_extended/Stack/{index-CV2W-_eL.js → index-C9YEChZB.js} +1 -1
  134. package/components/mui_extended/Tab/{index-PyZxxeDt.js → index-CpdHav0V.js} +1 -1
  135. package/components/mui_extended/Tabs/styles.d.ts +1 -1
  136. package/components/mui_extended/ToggleButton/{index-X6htsgfF.js → index-CS1mz-lH.js} +1 -1
  137. package/components/mui_extended/ToggleIconButton/{index-mT-xXWg9.js → index-BNQrQ6-b.js} +1 -1
  138. package/components/mui_extended/Typography/{index-DKPqV11f.js → index-W88rbpsJ.js} +1 -1
  139. package/components/popups/PopupsViewer/{index-D8iTb2JJ.js → index-Dn0XOI6q.js} +3 -3
  140. package/components/popups/PopupsViewer/slots/{popupsViewerSlots-DEQAZ8fq.js → popupsViewerSlots-Db8QAmEE.js} +1 -1
  141. package/contexts/ModalContext/{index-CMPcjPCy.js → index-DkUBXDpR.js} +1 -1
  142. package/contexts/RHFormContext/{index-B4a0h0fX.js → index-Ct48jRjb.js} +1 -1
  143. package/hooks/index.d.ts +1 -0
  144. package/hooks/useFormAddEdit/{index-DvRNtaub.js → index-BkBJNq8b.js} +2 -2
  145. package/hooks/useInterval/index.d.ts +7 -0
  146. package/hooks/useModal/{index-C9r1LQIz.js → index-CTAwKk5D.js} +1 -1
  147. package/hooks/useTab/{index-DTbLh_DH.js → index-PXnpiLMx.js} +1 -1
  148. package/index.js +114 -93
  149. package/package.json +1 -1
  150. package/styles/MenuActions.styles.d.ts +2 -0
  151. package/styles/{index-Cc9p_h7i.js → index-C-MsxWtr.js} +47 -19
  152. package/vite-env.d.ts +4 -4
  153. package/components/mui_extended/MenuActions/classes/constants.d.ts +0 -1
  154. package/components/mui_extended/MenuActions/classes/index.d.ts +0 -7
  155. package/components/mui_extended/MenuActions/classes/types.d.ts +0 -7
  156. package/components/mui_extended/MenuActions/icons.d.ts +0 -3
  157. package/components/mui_extended/MenuActions/index-CUz70BPj.js +0 -171
  158. package/components/mui_extended/MenuActions/styles.d.ts +0 -5
@@ -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-CedboS6y.js";
6
- import { I as IconButton } from "../mui_extended/IconButton/index-BfDbi0cC.js";
7
- import { u as useModal } from "../../hooks/useModal/index-C9r1LQIz.js";
5
+ import { I as Icon } from "../Icon/index-CueLDD9j.js";
6
+ import { I as IconButton } from "../mui_extended/IconButton/index-OMq0pPK0.js";
7
+ import { u as useModal } from "../../hooks/useModal/index-CTAwKk5D.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-B_vOmNZT.js";
2
+ import { A as Actions } from "../CommonActions/components/Actions/index-ChW1FuFf.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-C9r1LQIz.js";
6
- import { I as Image } from "../Image/index-B7FhR9uF.js";
5
+ import { u as useModal } from "../../hooks/useModal/index-CTAwKk5D.js";
6
+ import { I as Image } from "../Image/index-By5vsRzf.js";
7
7
  import { m as modalUtilityClasses } from "./index-CydPIpKZ.js";
8
- import { W as WindowBase } from "./WindowBase-CLBER1xc.js";
9
- import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index-BlaMdPmp.js";
10
- import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index-DGooFqVu.js";
8
+ import { W as WindowBase } from "./WindowBase-Ce6yRLcN.js";
9
+ import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index-D_42VfUR.js";
10
+ import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index-i5875EXe.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-BfDbi0cC.js";
3
+ import { I as IconButton } from "../IconButton/index-OMq0pPK0.js";
4
4
  import { useEnvironment } from "@m4l/core";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
- import { ax as AccordionRoot } from "../../../styles/index-Cc9p_h7i.js";
6
+ import { ax as AccordionRoot } from "../../../styles/index-C-MsxWtr.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-CedboS6y.js";
11
- import { T as Typography } from "../Typography/index-DKPqV11f.js";
10
+ import { I as Icon } from "../../Icon/index-CueLDD9j.js";
11
+ import { T as Typography } from "../Typography/index-W88rbpsJ.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-Cc9p_h7i.js";
7
+ import { ay as AvatarRoot } from "../../../styles/index-C-MsxWtr.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-Cc9p_h7i.js";
4
+ import { az as BadgeRoot } from "../../../styles/index-C-MsxWtr.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-Cc9p_h7i.js";
5
+ import { aA as ButtonRoot, aB as WrapperImageButton, aC as LoadingButtonRoot } from "../../../styles/index-C-MsxWtr.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-B7FhR9uF.js";
9
+ import { I as Image } from "../../Image/index-By5vsRzf.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-DKPqV11f.js";
12
+ import { T as Typography } from "../Typography/index-W88rbpsJ.js";
13
13
  const componentName$2 = "M4LButton";
14
14
  const buttonClasses = generateUtilityClasses(componentName$2, [
15
15
  /* elements */
@@ -2,4 +2,4 @@
2
2
  export declare const ButtonRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
3
  export declare const SKTButton: import("@emotion/styled").StyledComponent<import("@mui/material").SkeletonOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
4
4
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
5
- }, "style" | "children" | "width" | "className" | "height" | "animation" | "variant" | "sx" | "classes"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
5
+ }, "style" | "children" | "width" | "className" | "height" | "animation" | "sx" | "classes" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -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-Cc9p_h7i.js";
9
- import { F as FieldLabel } from "../FieldLabel/index-BpW2AGJx.js";
8
+ import { aD as CheckBoxRoot } from "../../styles/index-C-MsxWtr.js";
9
+ import { F as FieldLabel } from "../FieldLabel/index-DCAMDJoJ.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-CedboS6y.js";
6
- import { aE as IconButtonRoot } from "../../../styles/index-Cc9p_h7i.js";
5
+ import { I as Icon } from "../../Icon/index-CueLDD9j.js";
6
+ import { aE as IconButtonRoot } from "../../../styles/index-C-MsxWtr.js";
7
7
  import { unstable_composeClasses } from "@mui/base";
8
8
  import clsx from "clsx";
9
9
  import { useResponsiveDesktop } from "@m4l/graphics";
@@ -1,3 +1,5 @@
1
+ import { OverridesStyleRules } from '@mui/material/styles/overrides';
2
+ import { Theme } from '@mui/material/styles';
1
3
  import { IconProps } from '../../Icon/types';
2
4
  import { IconButtonProps as MUIIconButtonProps } from '@mui/material';
3
5
  export declare type IconButtonVariants = 'primary' | 'secondary' | 'line';
@@ -15,3 +17,19 @@ export interface OwnerState {
15
17
  isFocus: boolean;
16
18
  isDisabled?: boolean;
17
19
  }
20
+ export declare enum IconButtonSlots {
21
+ root = "root",
22
+ skeleton = "skeleton",
23
+ sizemSall = "sizemSall",
24
+ sizeMedium = "sizeMedium",
25
+ variantPrimary = "variantPrimary",
26
+ variantSecondary = "variantSecondary",
27
+ variantLine = "variantLine",
28
+ isFocus = "isFocus",
29
+ isDisabled = "isDisabled",
30
+ /**Toggle */
31
+ togglePressed = "togglePressed",
32
+ toggleNotPressed = "toggleNotPressed"
33
+ }
34
+ export declare type IconButtonSlotsType = keyof typeof IconButtonSlots;
35
+ export declare type IconButtonStyles = Partial<OverridesStyleRules<IconButtonSlotsType, 'M4LIconButton', Theme> | undefined> | undefined;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MenuActionsProps } from './types';
3
+ export declare function MenuActions(props: MenuActionsProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare const MemonizedMenuActions: React.MemoExoticComponent<typeof MenuActions>;
5
+ export default MenuActions;
@@ -0,0 +1,5 @@
1
+ export declare const ICON_PATH = "frontend/components/menu_actions/assets/icons";
2
+ export declare const ICONS: {
3
+ MENU: string;
4
+ };
5
+ export declare const MENU_ACTIONS_KEY_COMPONENT = "M4LMenuActions";
@@ -0,0 +1,7 @@
1
+ export declare const MENU_ACTIONS_DICTIONARY_ID = "menu_actions";
2
+ export declare function getMenuActionsComponentsDictionary(): string[];
3
+ export declare const DICTIONARY: {
4
+ readonly no_actions_label: "no_actions_label";
5
+ };
6
+ export declare type TypeDictionary = typeof DICTIONARY;
7
+ export declare const getMenuActionsDictionary: (key: keyof TypeDictionary) => string;
@@ -0,0 +1,202 @@
1
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
+ import React__default, { useState, useEffect, useMemo } from "react";
3
+ import { styled, useTheme } from "@mui/material/styles";
4
+ import { useEnvironment, useModuleDictionary } from "@m4l/core";
5
+ import { MenuItem } from "@mui/material";
6
+ import { aF as menuActionsStyles } from "../../../styles/index-C-MsxWtr.js";
7
+ import { P as Popover } from "../Popover/index-BnKsmvtw.js";
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
+ };
61
+ function MenuActions(props) {
62
+ const {
63
+ menuActions,
64
+ endListElement,
65
+ menuActionSx,
66
+ iconButtonClassName = "",
67
+ objItem = {},
68
+ urlIcon,
69
+ toolTip = "",
70
+ marginTop = -1,
71
+ marginBottom,
72
+ marginLeft,
73
+ marginRight,
74
+ width = 200,
75
+ withBadge = false,
76
+ badgeContent,
77
+ arrowType = "right-top",
78
+ externalOpen = null,
79
+ externalClose,
80
+ ...other
81
+ } = props;
82
+ const { host_static_assets, environment_assets } = useEnvironment();
83
+ const { getLabel } = useModuleDictionary();
84
+ const [open, setOpen] = useState(null);
85
+ const handleOpen = (event) => {
86
+ setOpen(event.currentTarget);
87
+ };
88
+ const theme = useTheme();
89
+ useEffect(() => {
90
+ let mounted = true;
91
+ if (mounted) {
92
+ setOpen(externalOpen);
93
+ }
94
+ return function cleanUp() {
95
+ mounted = false;
96
+ };
97
+ }, [externalOpen]);
98
+ const urlFinalIcon = useMemo(() => {
99
+ if (urlIcon) return urlIcon;
100
+ return `${host_static_assets}/${environment_assets}/${ICON_PATH}/${ICONS.MENU}`;
101
+ }, [urlIcon, host_static_assets, environment_assets]);
102
+ const handleClose = (e) => {
103
+ e.stopPropagation();
104
+ setOpen(null);
105
+ externalClose && externalClose(null);
106
+ };
107
+ const handleClick = (e, menuAction) => {
108
+ e.stopPropagation();
109
+ setOpen(null);
110
+ menuAction.onClick();
111
+ };
112
+ const finalActions = useMemo(() => {
113
+ let ret;
114
+ if (typeof menuActions !== "function") {
115
+ ret = menuActions;
116
+ } else {
117
+ ret = menuActions(objItem);
118
+ }
119
+ return ret;
120
+ }, [menuActions, objItem]);
121
+ const IconButtonElement = (
122
+ // eslint-disable-next-line react/jsx-no-useless-fragment
123
+ /* @__PURE__ */ jsx(Fragment, { children: withBadge ? /* @__PURE__ */ jsx(BadgeStyled, { ownerState: {}, badgeContent, children: /* @__PURE__ */ jsx(
124
+ IconButtonStyled,
125
+ {
126
+ ownerState: {},
127
+ src: urlFinalIcon,
128
+ onClick: handleOpen,
129
+ tooltip: toolTip,
130
+ className: iconButtonClassName
131
+ }
132
+ ) }) : /* @__PURE__ */ jsx(
133
+ IconButtonStyled,
134
+ {
135
+ ownerState: {},
136
+ src: urlFinalIcon,
137
+ onClick: handleOpen,
138
+ tooltip: toolTip,
139
+ className: iconButtonClassName
140
+ }
141
+ ) })
142
+ );
143
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
144
+ IconButtonElement,
145
+ /* @__PURE__ */ jsxs(
146
+ RootStyled,
147
+ {
148
+ ownerState: {},
149
+ id: "Popover",
150
+ open: Boolean(open),
151
+ anchorEl: open,
152
+ onClose: handleClose,
153
+ arrowType,
154
+ sx: {
155
+ marginTop,
156
+ marginBottom,
157
+ marginLeft,
158
+ marginRight,
159
+ width,
160
+ maxWidth: 300,
161
+ "& .MuiMenuItem-root": { px: 1, typography: "body2", borderRadius: 0.75 },
162
+ ...theme.components?.M4LMenuActions?.styleOverrides,
163
+ ...menuActionSx
164
+ },
165
+ ...other,
166
+ children: [
167
+ finalActions.map(
168
+ (menuAction, index) => menuAction.label || menuAction.dictionaryId ? /* @__PURE__ */ jsxs(
169
+ MenuItemStyled,
170
+ {
171
+ dense: true,
172
+ onClick: (e) => {
173
+ handleClick(e, menuAction);
174
+ },
175
+ sx: { color: menuAction.color ?? "text.main" },
176
+ disabled: menuAction.disabled,
177
+ ownerState: { variant: menuAction.variant, color: menuAction.color },
178
+ children: [
179
+ menuAction.urlIcon ? /* @__PURE__ */ jsx(
180
+ IconButtonUrlStyled,
181
+ {
182
+ ownerState: { variant: menuAction.variant },
183
+ src: menuAction.urlIcon
184
+ }
185
+ ) : null,
186
+ /* @__PURE__ */ jsx(LabelMenuItemStyled, { ownerState: {}, children: menuAction.label || menuAction.dictionaryId && getLabel(menuAction.dictionaryId) })
187
+ ]
188
+ },
189
+ `menu_action_${index}`
190
+ ) : /* @__PURE__ */ jsx(LabelEmptyStyled, { ownerState: {}, children: getLabel(getMenuActionsDictionary(DICTIONARY.no_actions_label)) }, `menu_action_${index}`)
191
+ ),
192
+ endListElement ? endListElement : null
193
+ ]
194
+ }
195
+ )
196
+ ] });
197
+ }
198
+ const MemonizedMenuActions = React__default.memo(MenuActions);
199
+ export {
200
+ MenuActions as M,
201
+ MemonizedMenuActions as a
202
+ };
@@ -1,5 +1,2 @@
1
- import React from 'react';
2
- import { MenuActionsProps } from './types';
3
- export declare function MenuActions(props: MenuActionsProps): import("react/jsx-runtime").JSX.Element;
4
- export declare const MemonizedMenuActions: React.MemoExoticComponent<typeof MenuActions>;
5
- export default MenuActions;
1
+ export * from './MenuActions';
2
+ export { getMenuActionsComponentsDictionary } from './dictionary';
@@ -0,0 +1,9 @@
1
+ export declare enum MenuActionsSlots {
2
+ root = "root",
3
+ badge = "badge",
4
+ iconButton = "iconButton",
5
+ menuItem = "menuItem",
6
+ menuItemIcon = "menuItemIcon",
7
+ menuItemLabel = "menuItemLabel",
8
+ labelEmpty = "labelEmpty"
9
+ }
@@ -0,0 +1,24 @@
1
+ /// <reference types="react" />
2
+ export declare const RootStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Popover/types").PopoverProps, keyof import("../../Popover/types").PopoverProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
3
+ ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
4
+ }, {}, {}>;
5
+ export declare const BadgeStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Badge").BadgeProps, keyof import("../../Badge").BadgeProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
6
+ ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
7
+ }, {}, {}>;
8
+ export declare const IconButtonStyled: import("@emotion/styled").StyledComponent<Pick<import("../../IconButton/types").IconButtonProps, keyof import("../../IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
9
+ ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
10
+ }, {}, {}>;
11
+ export declare const MenuItemStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
12
+ ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
13
+ }, "style" | "disabled" | "children" | "tabIndex" | "className" | "action" | "divider" | "dense" | "sx" | "classes" | "autoFocus" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "disableGutters">, "value" | "dir" | "slot" | "style" | "title" | "onChange" | "disabled" | "ref" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "onFocus" | "className" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "color" | "hidden" | "action" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "content" | "translate" | "divider" | "dense" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
14
+ ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
15
+ }, {}, {}>;
16
+ export declare const LabelMenuItemStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
17
+ ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
18
+ }, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
19
+ export declare const IconButtonUrlStyled: import("@emotion/styled").StyledComponent<Pick<import("../../../Icon").IconProps, keyof import("../../../Icon").IconProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
20
+ ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
21
+ }, {}, {}>;
22
+ export declare const LabelEmptyStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
23
+ ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
24
+ }, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
@@ -0,0 +1,2 @@
1
+ export * from './MenuActionsSlots';
2
+ export * from './MenuActionsEnum';
@@ -1,8 +1,10 @@
1
1
  import { ReactElement } from 'react';
2
- import { PopoverProps } from '../Popover/types';
3
2
  import { ComponentNameToClassKey, SxProps } from '@mui/material';
4
- import { Theme } from '@mui/material';
5
3
  import { OverridesStyleRules } from '@mui/material/styles/overrides';
4
+ import { Theme } from '@mui/material/styles';
5
+ import { PopoverProps } from '../Popover/types';
6
+ import { MenuActionsSlots } from './slots';
7
+ import { MENU_ACTIONS_KEY_COMPONENT } from './constant';
6
8
  export interface ComponentActionProps {
7
9
  description?: string;
8
10
  onClick: (props?: any) => void;
@@ -38,3 +40,10 @@ export interface MenuActionsProps extends Omit<PopoverProps, 'open'> {
38
40
  externalOpen?: HTMLDivElement | null;
39
41
  externalClose?: (element: null | HTMLDivElement) => void;
40
42
  }
43
+ export interface OwnerState {
44
+ variant: string;
45
+ }
46
+ export interface MenuActionsOwnerState extends MenuActionsProps, OwnerState {
47
+ }
48
+ export declare type MenuActionsSlotsType = keyof typeof MenuActionsSlots;
49
+ export declare type MenuActionsStyles = Partial<OverridesStyleRules<MenuActionsSlots, typeof MENU_ACTIONS_KEY_COMPONENT, Theme> | undefined> | undefined;
@@ -1,14 +1,14 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
- import { aG as PagerRoot } from "../../../styles/index-Cc9p_h7i.js";
3
+ import { aG as PagerRoot } from "../../../styles/index-C-MsxWtr.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-BfDbi0cC.js";
6
+ import { I as IconButton } from "../IconButton/index-OMq0pPK0.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-DKPqV11f.js";
11
- import { I as Icon } from "../../Icon/index-CedboS6y.js";
10
+ import { T as Typography } from "../Typography/index-W88rbpsJ.js";
11
+ import { I as Icon } from "../../Icon/index-CueLDD9j.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 { aH as PopoverRoot } from "../../../styles/index-Cc9p_h7i.js";
2
+ import { aH as PopoverRoot } from "../../../styles/index-C-MsxWtr.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 { aI as MUISTack } from "../../../styles/index-Cc9p_h7i.js";
4
+ import { aI as MUISTack } from "../../../styles/index-C-MsxWtr.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 { aJ as MUITabs, aK as TabContentRoot, aL as TabRoot, aM as SKTTabWrapper } from "../../../styles/index-Cc9p_h7i.js";
5
+ import { aJ as MUITabs, aK as TabContentRoot, aL as TabRoot, aM as SKTTabWrapper } from "../../../styles/index-C-MsxWtr.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,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  export declare const MUITabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
- }, "value" | "style" | "onChange" | "children" | "aria-label" | "aria-labelledby" | "className" | "action" | "variant" | "sx" | "classes" | "slotProps" | "slots" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
4
+ }, "value" | "style" | "onChange" | "children" | "aria-label" | "aria-labelledby" | "className" | "action" | "sx" | "classes" | "slots" | "slotProps" | "variant" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -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-DlzpoczE.js";
3
+ import { B as Button, b as buttonClasses } from "../Button/index-CksGG1B8.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-BfDbi0cC.js";
3
+ import { I as IconButton, i as iconButtonClasses } from "../IconButton/index-OMq0pPK0.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 { aN as WarpperTypography } from "../../../styles/index-Cc9p_h7i.js";
4
+ import { aN as WarpperTypography } from "../../../styles/index-C-MsxWtr.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-DEQAZ8fq.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-Db8QAmEE.js";
9
9
  import { d as draggableWindowClasses } from "../../DragResizeWindow/index-D2jLYExo.js";
10
- import { I as Icon } from "../../Icon/index-CedboS6y.js";
11
- import { I as IconButton } from "../../mui_extended/IconButton/index-BfDbi0cC.js";
10
+ import { I as Icon } from "../../Icon/index-CueLDD9j.js";
11
+ import { I as IconButton } from "../../mui_extended/IconButton/index-OMq0pPK0.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 { aO as popupsViewerStyles } from "../../../../styles/index-Cc9p_h7i.js";
3
+ import { aO as popupsViewerStyles } from "../../../../styles/index-C-MsxWtr.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-BuGRs967.js";
3
+ import { M as ModalDialog } from "../../components/ModalDialog/index-KryIxH_j.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 { aP as FormProviderRoot } from "../../styles/index-Cc9p_h7i.js";
6
+ import { aP as FormProviderRoot } from "../../styles/index-C-MsxWtr.js";
7
7
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
8
8
  import { unstable_composeClasses } from "@mui/base";
9
9
  const componentName = "M4LRHFormProvider";
package/hooks/index.d.ts CHANGED
@@ -3,3 +3,4 @@ export { useModal } from './useModal';
3
3
  export { useTab } from './useTab';
4
4
  export { getformAddEditDictionary } from './useFormAddEdit/dictionary';
5
5
  export { useFormFocus } from './useFormFocus';
6
+ export { useInterval } from './useInterval';