@m4l/components 3.1.0 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/export.d.ts +266 -266
- package/@types/types.d.ts +70 -70
- package/components/AccountPopover/{index-vXlaw69C.js → index-BuACZ9ky.js} +3 -3
- package/components/AppBar/{index-3gXtikUI.js → index-Bdhxmnh5.js} +4 -4
- package/components/BaseModule/{index-CtN6b__U.js → index-BjWSimLM.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index-D_42VfUR.js → index-CpB3X0Xf.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index-DL7fDBi6.js → index-CWelr7Cw.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index-i3HmOpoU.js → index-XsQwRqW1.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index-i5875EXe.js → index-dU8aeBT-.js} +2 -2
- package/components/CommonActions/components/Actions/{index-ChW1FuFf.js → index-oHakkAC6.js} +1 -1
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index-BjkuIa7y.js → index-tSC7phMu.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index-CWQp1KWU.js → index-cIa3MJmr.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index-DggW8-4n.js → index-34AToVcH.js} +1 -1
- package/components/DataGrid/formatters/{index-B3AsHKeD.js → index-tmUVxG9k.js} +2 -2
- package/components/DataGrid/{index-EgaRUtbL.js → index-XH38_5e7.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index-BF4pV_-K.js → index-CFt7tSOn.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DynamicFilter/{dictionary-B2qYGLOx.js → dictionary-C1vgVi9W.js} +2 -2
- package/components/DynamicFilter/{index-BLjn97jC.js → index-DlSrVnb9.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots-CaFVu7xW.js → dynamicFilterSlots-C1kTJEGW.js} +5 -5
- package/components/DynamicFilter/store/{index-EW1sL9gf.js → index-Bgedmj4b.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index-DjgwIwH9.js → index-Bfl9o_HJ.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index-Cfcgzcw7.js → index-0dUR9VzO.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index-BFcVswNb.js → index-C6MT1e7M.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index-B4mhUk9e.js → index-Bdt8d9-s.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index-CA3JDlD0.js → index-Crp1DpLu.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index-B4R83Pyi.js → index-D3dYXMWw.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index-1XC3u2dm.js → index-D8SpvPB7.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index-BEMRO3Ng.js → index-1qgPmizl.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index-Cfs28hud.js → index-idvMShYX.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index-CYY3cjbX.js → index-Xo4XupZN.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index-CAdtxARw.js → index-BGAB2haD.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index-COoNIh4L.js → index-D-pXpUlG.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index-Kz-jfM3o.js → index-CLNbzt8q.js} +2 -2
- package/components/FieldLabel/{index-DCAMDJoJ.js → index-CHr0G4U4.js} +3 -3
- package/components/GridLayout/{index-DUfp2sP_.js → index-Bvbye3zC.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index-DEi0Ai1D.js → index-DM37I5Js.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index-B7v5X9un.js → index-CKXr5Ku9.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index-BsKaLKRl.js → index-CCcydnac.js} +1 -1
- package/components/HelperText/{index-DVV5Jfc8.js → index-h0MumQq6.js} +2 -2
- package/components/Icon/{index-CueLDD9j.js → index-DlKdux5o.js} +3 -3
- package/components/Image/{index-By5vsRzf.js → index-CD7ItT7K.js} +2 -2
- package/components/LanguagePopover/{index-Dn2JPzf1.js → index-BdGT_466.js} +4 -4
- package/components/LinearProgressIndeterminate/{index-CTlvokQp.js → index-vjNY0mtm.js} +1 -1
- package/components/LoadingError/{index-CXVOiscg.js → index-BDOoTyKm.js} +5 -5
- package/components/MFIsolationApp/{index-BfFMo2Q2.js → index-F6kqceKZ.js} +3 -3
- package/components/MFLoader/{index-CCtU6zwR.js → index-B8OvaIZZ.js} +2 -2
- package/components/ModalDialog/{index-KryIxH_j.js → index-PAbGXf3m.js} +3 -3
- package/components/NavLink/{index-D6eiKlc0.js → index-CIdVPxnm.js} +2 -2
- package/components/NoItemSelected/{index-DKhhgTAH.js → index-ClUQj63z.js} +1 -1
- package/components/ObjectLogs/{index-CpBmanv0.js → index-Cjx1g6nX.js} +9 -9
- package/components/PDFViewer/{index-3PBUibum.js → index-bQU38gm0.js} +2 -2
- package/components/Page/{index-PXQkJn7v.js → index-ep9NXPP-.js} +1 -1
- package/components/PaperForm/{index-B6a3-CZt.js → index-DeN26l8w.js} +2 -2
- package/components/Period/{index-DtFWU3y5.js → index-DI0yyJkf.js} +4 -4
- package/components/PrintingSystem/{index-DJmGF2SQ.js → index-OJkEAF3K.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index-DorXm6AO.js → index-DcpWvHx2.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index-Cd9H-_3i.js → index-DZzVD0ul.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index-Dm-RAH_l.js → index-sCFW6dYk.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index-BPg-NpDf.js → index-pQ3nUSd8.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index-u0ZSP6s4.js → index-NCniUPbs.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index-C7eFFsTN.js → index-D01RlhKC.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index-D7M4YL4C.js → index-DmcwHHQY.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index-Drjfhq-n.js → index-D11bVMkr.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index-Banh4UxX.js → index-AJqsDo3W.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index-OBnZLPEc.js → index-JPzaROjh.js} +1 -1
- package/components/PropertyValue/{index-Cc7y20oI.js → index-BGd-MVBw.js} +3 -3
- package/components/Resizeable/{index-BwQ6EKCK.js → index-DBUqVyUE.js} +1 -1
- package/components/ScrollBar/{index-P3SkjYOy.js → index-_YQnR_9D.js} +1 -1
- package/components/SideBar/{index-Ddxe1VvL.js → index-Cg2Hd3OG.js} +5 -5
- package/components/SplitLayout/{index-CwmZT1x6.js → index-V50jidpT.js} +1 -1
- package/components/ToastContainer/{index-DN3ZHpBT.js → index-BNaBs5l-.js} +2 -2
- package/components/animate/LoadingScreen/{index-CcjW-mkl.js → index-Csm-vO-6.js} +1 -1
- package/components/animate/{index-DsolrzTC.js → index-BMFe5NbU.js} +1 -1
- package/components/areas/components/AreasAdmin/{index-Y6S0Q7TN.js → index-JeH9kJ69.js} +14 -14
- package/components/areas/components/AreasViewer/{index-DfcpQwSl.js → index-C38FJmxA.js} +14 -14
- package/components/areas/contexts/AreasContext/{index-spCQnOlk.js → index-Bzb63gLW.js} +4 -4
- package/components/areas/hooks/useAreas/{index-D6DaWBIP.js → index-CyoFQzOJ.js} +1 -1
- package/components/commercial/AppBarCommercial/{index-D1jIOw7M.js → index-D0Wmf8WU.js} +1 -1
- package/components/commercial/SectionCommercial/{index-C9THYik8.js → index-Dnz7W2Bb.js} +1 -1
- package/components/commercial/TopBar/{index-DLn3yEcX.js → index-Dp0HbEi4.js} +5 -5
- package/components/commercial/{index-D1bCIF7p.js → index-jFFB9huP.js} +3 -3
- package/components/formatters/BooleanFormatter/{index-Bc2l6GTX.js → index-ZFF1gn_z.js} +2 -2
- package/components/formatters/{index-Botdzyt2.js → index-DdR_x4nK.js} +2 -2
- package/components/hook-form/HelperError/{index-J-C5u9AH.js → index-B4Wv-sMd.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index-erpzYu8W.js → index-3FegFmnl.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index-BV0f25eK.js → index-BEhJbBLF.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index-Duf51-pS.js → index-BRNLiE6R.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index-C-tITRAx.js → index-BUnSZgFP.js} +6 -6
- package/components/hook-form/RHFDateTime/{index-OdXKdhJS.js → index-C4AKdQZs.js} +4 -4
- package/components/hook-form/RHFPeriod/{index-CjkIGYUY.js → index-DGx23zNh.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index-Da_2zFu3.js → index-kb5Lptxq.js} +1 -1
- package/components/hook-form/RHFTextField/{index-BWZWPFn5.js → index-BHl6F84S.js} +4 -4
- package/components/hook-form/RHFUpload/{index-D4nrnFFT.js → index-C89fkCDi.js} +5 -5
- package/components/maps/components/GpsTools/{index-DPY-BjB8.js → index-DQqaEJv0.js} +22 -22
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index-BRrVIyA-.js → index-c6gmoLHQ.js} +11 -12
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase-Ce6yRLcN.js → WindowBase-CHrJsQOI.js} +3 -3
- package/components/modal/{WindowConfirm-BaB3Ojgu.js → WindowConfirm-B9Q-SG8F.js} +6 -6
- package/components/mui_extended/Accordion/{index-D1775s1J.js → index-CWyB6Das.js} +4 -4
- package/components/mui_extended/Avatar/{index-n5hK7nJD.js → index-Cl8uuEmb.js} +1 -1
- package/components/mui_extended/Badge/{index-Dfdw5Iaq.js → index-BMeJAZBX.js} +1 -1
- package/components/mui_extended/Button/{index-CksGG1B8.js → index-BcnBUlsM.js} +3 -3
- package/components/mui_extended/{CheckBox-CjxjIrmN.js → CheckBox-BlPCAug7.js} +2 -2
- package/components/mui_extended/IconButton/classes/constants-ChY2jKkp.js +4 -0
- package/components/mui_extended/IconButton/classes/index-BxjJGAqZ.js +45 -0
- package/components/mui_extended/IconButton/{index-OMq0pPK0.js → index-Czt3k_Cz.js} +25 -45
- package/components/mui_extended/IconButton/styledIconButton-fAsbGoFS.js +7 -0
- package/components/mui_extended/IconButton/types-l0sNRNKZ.js +1 -0
- package/components/mui_extended/MenuActions/{index-De7dpdBH.js → MenuActions-DiOk68OQ.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-DWUrFRUQ.js +46 -0
- package/components/mui_extended/MenuActions/slots/index.d.ts +1 -1
- package/components/mui_extended/MenuActions/types.d.ts +1 -1
- package/components/mui_extended/Pager/{index-k7SRq6Jo.js → index-CBxF0ey5.js} +4 -4
- package/components/mui_extended/Popover/{index-BnKsmvtw.js → index-BDuzJ2yN.js} +1 -1
- package/components/mui_extended/Stack/{index-C9YEChZB.js → index-BkpDpzJ-.js} +1 -1
- package/components/mui_extended/Tab/{index-CpdHav0V.js → index-B0LeeWsk.js} +1 -1
- package/components/mui_extended/ToggleButton/{index-CS1mz-lH.js → index-DXTMVVIz.js} +1 -1
- package/components/mui_extended/Typography/{index-W88rbpsJ.js → index-CWUVoTPQ.js} +1 -1
- package/components/popups/PopupsViewer/{index-Dn0XOI6q.js → index-HDdzpbpI.js} +3 -3
- package/components/popups/PopupsViewer/slots/{popupsViewerSlots-Db8QAmEE.js → popupsViewerSlots-Da8-eSIo.js} +1 -1
- package/contexts/ModalContext/{index-DkUBXDpR.js → index-9KMVwVbc.js} +1 -1
- package/contexts/RHFormContext/{index-Ct48jRjb.js → index-CK8xajrE.js} +1 -1
- package/hooks/useFormAddEdit/{index-BkBJNq8b.js → index-Bqwam1G9.js} +2 -2
- package/hooks/useModal/{index-CTAwKk5D.js → index-C4KFRfjs.js} +1 -1
- package/hooks/useTab/{index-PXnpiLMx.js → index-BpZ6eYx1.js} +1 -1
- package/index.js +89 -90
- package/package.json +1 -1
- package/styles/MenuActions-lTi-ynPM.js +42 -0
- package/styles/MenuActions.styles.d.ts +1 -1
- package/styles/{index-C-MsxWtr.js → index-BqaiaJOv.js} +28 -69
- package/vite-env.d.ts +4 -4
- package/components/mui_extended/ToggleIconButton/index-BNQrQ6-b.js +0 -25
- /package/components/mui_extended/IconButton/{styles.d.ts → styledIconButton.d.ts} +0 -0
- /package/components/mui_extended/MenuActions/{constant.d.ts → constants.d.ts} +0 -0
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { m as modalUtilityClasses } from "./index-CydPIpKZ.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { I as Icon } from "../Icon/index-
|
|
6
|
-
import { I as IconButton } from "../mui_extended/IconButton/index-
|
|
7
|
-
import { u as useModal } from "../../hooks/useModal/index-
|
|
5
|
+
import { I as Icon } from "../Icon/index-DlKdux5o.js";
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index-Czt3k_Cz.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index-C4KFRfjs.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-oHakkAC6.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-C4KFRfjs.js";
|
|
6
|
+
import { I as Image } from "../Image/index-CD7ItT7K.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-CHrJsQOI.js";
|
|
9
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index-CpB3X0Xf.js";
|
|
10
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index-dU8aeBT-.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-Czt3k_Cz.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-BqaiaJOv.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-DlKdux5o.js";
|
|
11
|
+
import { T as Typography } from "../Typography/index-CWUVoTPQ.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-BqaiaJOv.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-BqaiaJOv.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-BqaiaJOv.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-CD7ItT7K.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-CWUVoTPQ.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-BqaiaJOv.js";
|
|
9
|
+
import { F as FieldLabel } from "../FieldLabel/index-CHr0G4U4.js";
|
|
10
10
|
const COMPONENT_CLASS_NAME = "M4LCheckBox";
|
|
11
11
|
generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
12
12
|
/* elements */
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
3
|
+
import { c as componentName } from "./constants-ChY2jKkp.js";
|
|
4
|
+
const iconButtonClasses = generateUtilityClasses(componentName, [
|
|
5
|
+
/* elements */
|
|
6
|
+
"root",
|
|
7
|
+
"skeleton",
|
|
8
|
+
/* states or variants of elements */
|
|
9
|
+
"sizemSall",
|
|
10
|
+
"sizeMedium",
|
|
11
|
+
"variantPrimary",
|
|
12
|
+
"variantSecondary",
|
|
13
|
+
"variantLine",
|
|
14
|
+
"isFocus",
|
|
15
|
+
"isDisabled",
|
|
16
|
+
/**Toggle */
|
|
17
|
+
"togglePressed",
|
|
18
|
+
"toggleNotPressed"
|
|
19
|
+
]);
|
|
20
|
+
function getIconButtonUtilityClass(slot) {
|
|
21
|
+
return generateUtilityClass(componentName, slot);
|
|
22
|
+
}
|
|
23
|
+
const useUtilityClasses = (ownerState) => {
|
|
24
|
+
const slots = {
|
|
25
|
+
root: [
|
|
26
|
+
"root",
|
|
27
|
+
ownerState.size === "small" && "sizeSmall",
|
|
28
|
+
ownerState.size === "medium" && "sizeMedium",
|
|
29
|
+
ownerState.variant === "primary" && ownerState.isSkeleton !== true && "variantPrimary",
|
|
30
|
+
ownerState.variant === "secondary" && ownerState.isSkeleton !== true && "variantSecondary",
|
|
31
|
+
ownerState.variant === "line" && ownerState.isSkeleton !== true && "variantLine",
|
|
32
|
+
ownerState.isFocus && !ownerState.isDisabled && "isFocus",
|
|
33
|
+
ownerState.isDisabled && "isDisabled"
|
|
34
|
+
],
|
|
35
|
+
skeleton: ["skeleton"]
|
|
36
|
+
};
|
|
37
|
+
const composedClasses = unstable_composeClasses(slots, getIconButtonUtilityClass, {});
|
|
38
|
+
return {
|
|
39
|
+
...composedClasses
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export {
|
|
43
|
+
iconButtonClasses as i,
|
|
44
|
+
useUtilityClasses as u
|
|
45
|
+
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import { u as useUtilityClasses, i as iconButtonClasses } from "./classes/index-BxjJGAqZ.js";
|
|
4
|
+
import { w as withToggle } from "../../../hocs/withToggle/index-C1_DMZD3.js";
|
|
2
5
|
import { useMemo, useState } from "react";
|
|
3
6
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { Skeleton,
|
|
5
|
-
import { I as Icon } from "../../Icon/index-
|
|
6
|
-
import {
|
|
7
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import clsx from "clsx";
|
|
7
|
+
import { Skeleton, Tooltip, IconButton as IconButton$1 } from "@mui/material";
|
|
8
|
+
import { I as Icon } from "../../Icon/index-DlKdux5o.js";
|
|
9
|
+
import { I as IconButtonRoot } from "./styledIconButton-fAsbGoFS.js";
|
|
9
10
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
10
11
|
const SkeletonIconButton = (props) => {
|
|
11
12
|
const { classes } = props;
|
|
@@ -18,45 +19,6 @@ const SkeletonIconButton = (props) => {
|
|
|
18
19
|
}
|
|
19
20
|
);
|
|
20
21
|
};
|
|
21
|
-
const componentName = "M4LIconButton";
|
|
22
|
-
const iconButtonClasses = generateUtilityClasses(componentName, [
|
|
23
|
-
/* elements */
|
|
24
|
-
"root",
|
|
25
|
-
"skeleton",
|
|
26
|
-
/* states or variants of elements */
|
|
27
|
-
"sizemSall",
|
|
28
|
-
"sizeMedium",
|
|
29
|
-
"variantPrimary",
|
|
30
|
-
"variantSecondary",
|
|
31
|
-
"variantLine",
|
|
32
|
-
"isFocus",
|
|
33
|
-
"isDisabled",
|
|
34
|
-
/**Toggle */
|
|
35
|
-
"togglePressed",
|
|
36
|
-
"toggleNotPressed"
|
|
37
|
-
]);
|
|
38
|
-
function getIconButtonUtilityClass(slot) {
|
|
39
|
-
return generateUtilityClass(componentName, slot);
|
|
40
|
-
}
|
|
41
|
-
const useUtilityClasses = (ownerState) => {
|
|
42
|
-
const slots = {
|
|
43
|
-
root: [
|
|
44
|
-
"root",
|
|
45
|
-
ownerState.size === "small" && "sizeSmall",
|
|
46
|
-
ownerState.size === "medium" && "sizeMedium",
|
|
47
|
-
ownerState.variant === "primary" && ownerState.isSkeleton !== true && "variantPrimary",
|
|
48
|
-
ownerState.variant === "secondary" && ownerState.isSkeleton !== true && "variantSecondary",
|
|
49
|
-
ownerState.variant === "line" && ownerState.isSkeleton !== true && "variantLine",
|
|
50
|
-
ownerState.isFocus && !ownerState.isDisabled && "isFocus",
|
|
51
|
-
ownerState.isDisabled && "isDisabled"
|
|
52
|
-
],
|
|
53
|
-
skeleton: ["skeleton"]
|
|
54
|
-
};
|
|
55
|
-
const composedClasses = unstable_composeClasses(slots, getIconButtonUtilityClass, {});
|
|
56
|
-
return {
|
|
57
|
-
...composedClasses
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
22
|
const IconButton = (props) => {
|
|
61
23
|
const {
|
|
62
24
|
src,
|
|
@@ -131,7 +93,25 @@ const IconButton = (props) => {
|
|
|
131
93
|
) : /* @__PURE__ */ jsx(SkeletonIconButton, { classes }) })
|
|
132
94
|
);
|
|
133
95
|
};
|
|
96
|
+
const ToggleAbleIconButton = ({
|
|
97
|
+
onToggle,
|
|
98
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
99
|
+
isToggled,
|
|
100
|
+
...props
|
|
101
|
+
}) => {
|
|
102
|
+
return /* @__PURE__ */ jsx(
|
|
103
|
+
IconButton,
|
|
104
|
+
{
|
|
105
|
+
onClick: onToggle,
|
|
106
|
+
...props,
|
|
107
|
+
className: clsx(
|
|
108
|
+
onToggle ? iconButtonClasses.togglePressed : iconButtonClasses.toggleNotPressed
|
|
109
|
+
)
|
|
110
|
+
}
|
|
111
|
+
);
|
|
112
|
+
};
|
|
113
|
+
const ToggleIconButton = withToggle(ToggleAbleIconButton);
|
|
134
114
|
export {
|
|
135
115
|
IconButton as I,
|
|
136
|
-
|
|
116
|
+
ToggleIconButton as T
|
|
137
117
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,63 +1,10 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useState, useEffect, useMemo } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { useTheme } from "@mui/material/styles";
|
|
4
4
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { B as Badge } from "../Badge/index-Dfdw5Iaq.js";
|
|
9
|
-
import { I as IconButton } from "../IconButton/index-OMq0pPK0.js";
|
|
10
|
-
import { I as Icon } from "../../Icon/index-CueLDD9j.js";
|
|
11
|
-
const ICON_PATH = "frontend/components/menu_actions/assets/icons";
|
|
12
|
-
const ICONS = {
|
|
13
|
-
MENU: "menu.svg"
|
|
14
|
-
};
|
|
15
|
-
const MENU_ACTIONS_KEY_COMPONENT = "M4LMenuActions";
|
|
16
|
-
var MenuActionsSlots = /* @__PURE__ */ ((MenuActionsSlots2) => {
|
|
17
|
-
MenuActionsSlots2["root"] = "root";
|
|
18
|
-
MenuActionsSlots2["badge"] = "badge";
|
|
19
|
-
MenuActionsSlots2["iconButton"] = "iconButton";
|
|
20
|
-
MenuActionsSlots2["menuItem"] = "menuItem";
|
|
21
|
-
MenuActionsSlots2["menuItemIcon"] = "menuItemIcon";
|
|
22
|
-
MenuActionsSlots2["menuItemLabel"] = "menuItemLabel";
|
|
23
|
-
MenuActionsSlots2["labelEmpty"] = "labelEmpty";
|
|
24
|
-
return MenuActionsSlots2;
|
|
25
|
-
})(MenuActionsSlots || {});
|
|
26
|
-
const RootStyled = styled(Popover, {
|
|
27
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
28
|
-
slot: MenuActionsSlots.root
|
|
29
|
-
})(menuActionsStyles?.root);
|
|
30
|
-
const BadgeStyled = styled(Badge, {
|
|
31
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
32
|
-
slot: MenuActionsSlots.badge
|
|
33
|
-
})(menuActionsStyles?.badge);
|
|
34
|
-
const IconButtonStyled = styled(IconButton, {
|
|
35
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
36
|
-
slot: MenuActionsSlots.iconButton
|
|
37
|
-
})(menuActionsStyles?.iconButton);
|
|
38
|
-
const MenuItemStyled = styled(MenuItem, {
|
|
39
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
40
|
-
slot: MenuActionsSlots.menuItem
|
|
41
|
-
})(menuActionsStyles?.menuItem);
|
|
42
|
-
const LabelMenuItemStyled = styled("div", {
|
|
43
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
44
|
-
slot: MenuActionsSlots.menuItemLabel
|
|
45
|
-
})(menuActionsStyles?.menuItemLabel);
|
|
46
|
-
const IconButtonUrlStyled = styled(Icon, {
|
|
47
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
48
|
-
slot: MenuActionsSlots.menuItemIcon
|
|
49
|
-
})(menuActionsStyles?.menuItemIcon);
|
|
50
|
-
const LabelEmptyStyled = styled("div", {
|
|
51
|
-
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
52
|
-
slot: MenuActionsSlots.labelEmpty
|
|
53
|
-
})(menuActionsStyles?.labelEmpty);
|
|
54
|
-
const MENU_ACTIONS_DICTIONARY_ID = "menu_actions";
|
|
55
|
-
const DICTIONARY = {
|
|
56
|
-
no_actions_label: "no_actions_label"
|
|
57
|
-
};
|
|
58
|
-
const getMenuActionsDictionary = (key) => {
|
|
59
|
-
return `${MENU_ACTIONS_DICTIONARY_ID}.${key}`;
|
|
60
|
-
};
|
|
5
|
+
import { I as ICON_PATH, a as ICONS } from "./constants-BwsU9chA.js";
|
|
6
|
+
import { g as getMenuActionsDictionary, D as DICTIONARY } from "./dictionary-Dj_07puT.js";
|
|
7
|
+
import { R as RootStyled, M as MenuItemStyled, I as IconButtonUrlStyled, L as LabelMenuItemStyled, a as LabelEmptyStyled, B as BadgeStyled, b as IconButtonStyled } from "./slots/MenuActionsSlots-DWUrFRUQ.js";
|
|
61
8
|
function MenuActions(props) {
|
|
62
9
|
const {
|
|
63
10
|
menuActions,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const MENU_ACTIONS_DICTIONARY_ID = "menu_actions";
|
|
2
|
+
const DICTIONARY = {
|
|
3
|
+
no_actions_label: "no_actions_label"
|
|
4
|
+
};
|
|
5
|
+
const getMenuActionsDictionary = (key) => {
|
|
6
|
+
return `${MENU_ACTIONS_DICTIONARY_ID}.${key}`;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
DICTIONARY as D,
|
|
10
|
+
getMenuActionsDictionary as g
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var MenuActionsSlots = /* @__PURE__ */ ((MenuActionsSlots2) => {
|
|
2
|
+
MenuActionsSlots2["root"] = "root";
|
|
3
|
+
MenuActionsSlots2["badge"] = "badge";
|
|
4
|
+
MenuActionsSlots2["iconButton"] = "iconButton";
|
|
5
|
+
MenuActionsSlots2["menuItem"] = "menuItem";
|
|
6
|
+
MenuActionsSlots2["menuItemIcon"] = "menuItemIcon";
|
|
7
|
+
MenuActionsSlots2["menuItemLabel"] = "menuItemLabel";
|
|
8
|
+
MenuActionsSlots2["labelEmpty"] = "labelEmpty";
|
|
9
|
+
return MenuActionsSlots2;
|
|
10
|
+
})(MenuActionsSlots || {});
|
|
11
|
+
export {
|
|
12
|
+
MenuActionsSlots as M
|
|
13
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { styled } from "@mui/material/styles";
|
|
2
|
+
import { MenuItem } from "@mui/material";
|
|
3
|
+
import { M as MENU_ACTIONS_KEY_COMPONENT } from "../constants-BwsU9chA.js";
|
|
4
|
+
import { m as menuActionsStyles } from "../../../../styles/MenuActions-lTi-ynPM.js";
|
|
5
|
+
import { M as MenuActionsSlots } from "./MenuActionsEnum-Bu-L6eWU.js";
|
|
6
|
+
import { P as Popover } from "../../Popover/index-BDuzJ2yN.js";
|
|
7
|
+
import { B as Badge } from "../../Badge/index-BMeJAZBX.js";
|
|
8
|
+
import { I as IconButton } from "../../IconButton/index-Czt3k_Cz.js";
|
|
9
|
+
import { I as Icon } from "../../../Icon/index-DlKdux5o.js";
|
|
10
|
+
const RootStyled = styled(Popover, {
|
|
11
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
12
|
+
slot: MenuActionsSlots.root
|
|
13
|
+
})(menuActionsStyles?.root);
|
|
14
|
+
const BadgeStyled = styled(Badge, {
|
|
15
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
16
|
+
slot: MenuActionsSlots.badge
|
|
17
|
+
})(menuActionsStyles?.badge);
|
|
18
|
+
const IconButtonStyled = styled(IconButton, {
|
|
19
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
20
|
+
slot: MenuActionsSlots.iconButton
|
|
21
|
+
})(menuActionsStyles?.iconButton);
|
|
22
|
+
const MenuItemStyled = styled(MenuItem, {
|
|
23
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
24
|
+
slot: MenuActionsSlots.menuItem
|
|
25
|
+
})(menuActionsStyles?.menuItem);
|
|
26
|
+
const LabelMenuItemStyled = styled("div", {
|
|
27
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
28
|
+
slot: MenuActionsSlots.menuItemLabel
|
|
29
|
+
})(menuActionsStyles?.menuItemLabel);
|
|
30
|
+
const IconButtonUrlStyled = styled(Icon, {
|
|
31
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
32
|
+
slot: MenuActionsSlots.menuItemIcon
|
|
33
|
+
})(menuActionsStyles?.menuItemIcon);
|
|
34
|
+
const LabelEmptyStyled = styled("div", {
|
|
35
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
36
|
+
slot: MenuActionsSlots.labelEmpty
|
|
37
|
+
})(menuActionsStyles?.labelEmpty);
|
|
38
|
+
export {
|
|
39
|
+
BadgeStyled as B,
|
|
40
|
+
IconButtonUrlStyled as I,
|
|
41
|
+
LabelMenuItemStyled as L,
|
|
42
|
+
MenuItemStyled as M,
|
|
43
|
+
RootStyled as R,
|
|
44
|
+
LabelEmptyStyled as a,
|
|
45
|
+
IconButtonStyled as b
|
|
46
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './MenuActionsSlots';
|
|
2
|
-
export
|
|
2
|
+
export type { MenuActionsSlots } from './MenuActionsEnum';
|
|
@@ -4,7 +4,7 @@ import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
|
4
4
|
import { Theme } from '@mui/material/styles';
|
|
5
5
|
import { PopoverProps } from '../Popover/types';
|
|
6
6
|
import { MenuActionsSlots } from './slots';
|
|
7
|
-
import { MENU_ACTIONS_KEY_COMPONENT } from './
|
|
7
|
+
import { MENU_ACTIONS_KEY_COMPONENT } from './constants';
|
|
8
8
|
export interface ComponentActionProps {
|
|
9
9
|
description?: string;
|
|
10
10
|
onClick: (props?: any) => void;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { aE as PagerRoot } from "../../../styles/index-BqaiaJOv.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, useTheme, Select, InputBase, MenuItem } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { I as IconButton } from "../IconButton/index-
|
|
6
|
+
import { I as IconButton } from "../IconButton/index-Czt3k_Cz.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
8
|
import { useResponsiveContainerStore } from "@m4l/graphics";
|
|
9
9
|
import { shallow } from "zustand/shallow";
|
|
10
|
-
import { T as Typography } from "../Typography/index-
|
|
11
|
-
import { I as Icon } from "../../Icon/index-
|
|
10
|
+
import { T as Typography } from "../Typography/index-CWUVoTPQ.js";
|
|
11
|
+
import { I as Icon } from "../../Icon/index-DlKdux5o.js";
|
|
12
12
|
const componentName = "M4LPager";
|
|
13
13
|
generateUtilityClasses(componentName, [
|
|
14
14
|
/* elements */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { aF as PopoverRoot } from "../../../styles/index-BqaiaJOv.js";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import {
|
|
4
|
+
import { aG as MUISTack } from "../../../styles/index-BqaiaJOv.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
const componentName = "M4LStack";
|
|
7
7
|
generateUtilityClasses(componentName, [
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, Tab as Tab$1, Skeleton } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import {
|
|
5
|
+
import { aH as MUITabs, aI as TabContentRoot, aJ as TabRoot, aK as SKTTabWrapper } from "../../../styles/index-BqaiaJOv.js";
|
|
6
6
|
import { useModuleSkeleton } from "@m4l/core";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
8
8
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId-BaBTWhBr.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { B as Button, b as buttonClasses } from "../Button/index-
|
|
3
|
+
import { B as Button, b as buttonClasses } from "../Button/index-BcnBUlsM.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,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, Typography as Typography$1 } from "@mui/material";
|
|
4
|
-
import {
|
|
4
|
+
import { aL as WarpperTypography } from "../../../styles/index-BqaiaJOv.js";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
@@ -5,10 +5,10 @@ import { forwardRef } from "react";
|
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
6
|
import { u as usePopupsStore } from "../PopupsProvider/index-DhSxmtfJ.js";
|
|
7
7
|
import { P as POPUPS_ICONS } from "./icons-BUujqqbu.js";
|
|
8
|
-
import { P as PopupHeaderContainerStyled, a as PopupHeaderTitleStyled, b as PopupHeaderSubTitleStyled, c as PopupContentEditionInfoStyled, d as PopupDragWindowRootStyled, e as PopupContentRootStyled, f as PopupContentWrapperStyled, R as RootStyled } from "./slots/popupsViewerSlots-
|
|
8
|
+
import { P as PopupHeaderContainerStyled, a as PopupHeaderTitleStyled, b as PopupHeaderSubTitleStyled, c as PopupContentEditionInfoStyled, d as PopupDragWindowRootStyled, e as PopupContentRootStyled, f as PopupContentWrapperStyled, R as RootStyled } from "./slots/popupsViewerSlots-Da8-eSIo.js";
|
|
9
9
|
import { d as draggableWindowClasses } from "../../DragResizeWindow/index-D2jLYExo.js";
|
|
10
|
-
import { I as Icon } from "../../Icon/index-
|
|
11
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index-
|
|
10
|
+
import { I as Icon } from "../../Icon/index-DlKdux5o.js";
|
|
11
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index-Czt3k_Cz.js";
|
|
12
12
|
import { u as useSizeContainer } from "../../../hooks/useSizeContainer/index-D4hDjM1P.js";
|
|
13
13
|
const Header = (props) => {
|
|
14
14
|
const { popupId } = props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { P as POPUPS_VIEWER_KEY_COMPONENT } from "../constants-DuyD7aCn.js";
|
|
3
|
-
import {
|
|
3
|
+
import { aM as popupsViewerStyles } from "../../../../styles/index-BqaiaJOv.js";
|
|
4
4
|
import { P as PopupViewerSlots } from "./index-B98CiRLa.js";
|
|
5
5
|
import { D as DragResizeWindow } from "../../../DragResizeWindow/index-D2jLYExo.js";
|
|
6
6
|
const RootStyled = styled("div", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useState } from "react";
|
|
3
|
-
import { M as ModalDialog } from "../../components/ModalDialog/index-
|
|
3
|
+
import { M as ModalDialog } from "../../components/ModalDialog/index-PAbGXf3m.js";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({ children }) {
|
|
6
6
|
const [modalOptions, setModalOptions] = useState({
|
|
@@ -3,7 +3,7 @@ import { useEffect } from "react";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { useForm, FormProvider } from "react-hook-form";
|
|
5
5
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
6
|
-
import {
|
|
6
|
+
import { aN as FormProviderRoot } from "../../styles/index-BqaiaJOv.js";
|
|
7
7
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
const componentName = "M4LRHFormProvider";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useNetwork, useFlagsStore, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
|
-
import { u as useModal } from "../useModal/index-
|
|
5
|
-
import { W as WindowConfirm } from "../../components/modal/WindowConfirm-
|
|
4
|
+
import { u as useModal } from "../useModal/index-C4KFRfjs.js";
|
|
5
|
+
import { W as WindowConfirm } from "../../components/modal/WindowConfirm-B9Q-SG8F.js";
|
|
6
6
|
function useFormAddEdit(props) {
|
|
7
7
|
const {
|
|
8
8
|
initialValues,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { a as ModalContext } from "../../contexts/ModalContext/index-
|
|
2
|
+
import { a as ModalContext } from "../../contexts/ModalContext/index-9KMVwVbc.js";
|
|
3
3
|
function useModal() {
|
|
4
4
|
const context = useContext(ModalContext);
|
|
5
5
|
if (!context) throw new Error("useModal context must be use inside ModalContext");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { d as TabContext } from "../../components/mui_extended/Tab/index-
|
|
2
|
+
import { d as TabContext } from "../../components/mui_extended/Tab/index-B0LeeWsk.js";
|
|
3
3
|
const useTab = () => {
|
|
4
4
|
const context = useContext(TabContext);
|
|
5
5
|
if (context === null) {
|