@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
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { styled } from "@mui/material/styles";
|
|
2
|
+
import { MenuItem } from "@mui/material";
|
|
3
|
+
import { M as MENU_ACTIONS_KEY_COMPONENT } from "../constants-BwsU9chA.js";
|
|
4
|
+
import { m as menuActionsStyles } from "../../../../styles/MenuActions-lTi-ynPM.js";
|
|
5
|
+
import { M as MenuActionsSlots } from "./MenuActionsEnum-Bu-L6eWU.js";
|
|
6
|
+
import { P as Popover } from "../../Popover/index-DA0jXUyx.js";
|
|
7
|
+
import { B as Badge } from "../../Badge/index-DDDr79kx.js";
|
|
8
|
+
import { I as IconButton } from "../../IconButton/index-DIF9uD3M.js";
|
|
9
|
+
import { I as Icon } from "../../../Icon/index-CvYHnsc3.js";
|
|
10
|
+
const RootStyled = styled(Popover, {
|
|
11
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
12
|
+
slot: MenuActionsSlots.root
|
|
13
|
+
})(menuActionsStyles?.root);
|
|
14
|
+
const BadgeStyled = styled(Badge, {
|
|
15
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
16
|
+
slot: MenuActionsSlots.badge
|
|
17
|
+
})(menuActionsStyles?.badge);
|
|
18
|
+
const IconButtonStyled = styled(IconButton, {
|
|
19
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
20
|
+
slot: MenuActionsSlots.iconButton
|
|
21
|
+
})(menuActionsStyles?.iconButton);
|
|
22
|
+
const MenuItemStyled = styled(MenuItem, {
|
|
23
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
24
|
+
slot: MenuActionsSlots.menuItem
|
|
25
|
+
})(menuActionsStyles?.menuItem);
|
|
26
|
+
const LabelMenuItemStyled = styled("div", {
|
|
27
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
28
|
+
slot: MenuActionsSlots.menuItemLabel
|
|
29
|
+
})(menuActionsStyles?.menuItemLabel);
|
|
30
|
+
const IconButtonUrlStyled = styled(Icon, {
|
|
31
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
32
|
+
slot: MenuActionsSlots.menuItemIcon
|
|
33
|
+
})(menuActionsStyles?.menuItemIcon);
|
|
34
|
+
const LabelEmptyStyled = styled("div", {
|
|
35
|
+
name: MENU_ACTIONS_KEY_COMPONENT,
|
|
36
|
+
slot: MenuActionsSlots.labelEmpty
|
|
37
|
+
})(menuActionsStyles?.labelEmpty);
|
|
38
|
+
export {
|
|
39
|
+
BadgeStyled as B,
|
|
40
|
+
IconButtonUrlStyled as I,
|
|
41
|
+
LabelMenuItemStyled as L,
|
|
42
|
+
MenuItemStyled as M,
|
|
43
|
+
RootStyled as R,
|
|
44
|
+
LabelEmptyStyled as a,
|
|
45
|
+
IconButtonStyled as b
|
|
46
|
+
};
|
|
@@ -4,7 +4,7 @@ import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
|
4
4
|
import { Theme } from '@mui/material/styles';
|
|
5
5
|
import { PopoverProps } from '../Popover/types';
|
|
6
6
|
import { MenuActionsSlots } from './slots';
|
|
7
|
-
import { MENU_ACTIONS_KEY_COMPONENT } from './
|
|
7
|
+
import { MENU_ACTIONS_KEY_COMPONENT } from './constants';
|
|
8
8
|
export interface ComponentActionProps {
|
|
9
9
|
description?: string;
|
|
10
10
|
onClick: (props?: any) => void;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { aF as PagerRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, useTheme, Select, InputBase, MenuItem } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { I as IconButton } from "../IconButton/index-
|
|
6
|
+
import { I as IconButton } from "../IconButton/index-DIF9uD3M.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
8
|
import { useResponsiveContainerStore } from "@m4l/graphics";
|
|
9
9
|
import { shallow } from "zustand/shallow";
|
|
10
|
-
import { T as Typography } from "../Typography/index-
|
|
11
|
-
import { I as Icon } from "../../Icon/index-
|
|
10
|
+
import { T as Typography } from "../Typography/index-CpZSVkZa.js";
|
|
11
|
+
import { I as Icon } from "../../Icon/index-CvYHnsc3.js";
|
|
12
12
|
const componentName = "M4LPager";
|
|
13
13
|
generateUtilityClasses(componentName, [
|
|
14
14
|
/* elements */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { aG as PopoverRoot } from "../../../styles/index-BUR_Ti7P.js";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import {
|
|
4
|
+
import { aH as MUISTack } from "../../../styles/index-BUR_Ti7P.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
const componentName = "M4LStack";
|
|
7
7
|
generateUtilityClasses(componentName, [
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, Tab as Tab$1, Skeleton } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import {
|
|
5
|
+
import { aI as MUITabs, aJ as TabContentRoot, aK as TabRoot, aL as SKTTabWrapper } from "../../../styles/index-BUR_Ti7P.js";
|
|
6
6
|
import { useModuleSkeleton } from "@m4l/core";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
8
8
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId-BaBTWhBr.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { B as Button, b as buttonClasses } from "../Button/index-
|
|
3
|
+
import { B as Button, b as buttonClasses } from "../Button/index-CA72o44h.js";
|
|
4
4
|
import { w as withToggle } from "../../../hocs/withToggle/index-C1_DMZD3.js";
|
|
5
5
|
const ToggleAbleButton = ({ onToggle, isToggled, ...props }) => {
|
|
6
6
|
return /* @__PURE__ */ jsx(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index-
|
|
3
|
+
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index-DIF9uD3M.js";
|
|
4
4
|
import { w as withToggle } from "../../../hocs/withToggle/index-C1_DMZD3.js";
|
|
5
5
|
const ToggleAbleIconButton = ({
|
|
6
6
|
onToggle,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, Typography as Typography$1 } from "@mui/material";
|
|
4
|
-
import {
|
|
4
|
+
import { aM as WarpperTypography } from "../../../styles/index-BUR_Ti7P.js";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
@@ -5,10 +5,10 @@ import { forwardRef } from "react";
|
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
6
|
import { u as usePopupsStore } from "../PopupsProvider/index-DhSxmtfJ.js";
|
|
7
7
|
import { P as POPUPS_ICONS } from "./icons-BUujqqbu.js";
|
|
8
|
-
import { P as PopupHeaderContainerStyled, a as PopupHeaderTitleStyled, b as PopupHeaderSubTitleStyled, c as PopupContentEditionInfoStyled, d as PopupDragWindowRootStyled, e as PopupContentRootStyled, f as PopupContentWrapperStyled, R as RootStyled } from "./slots/popupsViewerSlots-
|
|
8
|
+
import { P as PopupHeaderContainerStyled, a as PopupHeaderTitleStyled, b as PopupHeaderSubTitleStyled, c as PopupContentEditionInfoStyled, d as PopupDragWindowRootStyled, e as PopupContentRootStyled, f as PopupContentWrapperStyled, R as RootStyled } from "./slots/popupsViewerSlots-CbZAKPD8.js";
|
|
9
9
|
import { d as draggableWindowClasses } from "../../DragResizeWindow/index-D2jLYExo.js";
|
|
10
|
-
import { I as Icon } from "../../Icon/index-
|
|
11
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index-
|
|
10
|
+
import { I as Icon } from "../../Icon/index-CvYHnsc3.js";
|
|
11
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index-DIF9uD3M.js";
|
|
12
12
|
import { u as useSizeContainer } from "../../../hooks/useSizeContainer/index-D4hDjM1P.js";
|
|
13
13
|
const Header = (props) => {
|
|
14
14
|
const { popupId } = props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { P as POPUPS_VIEWER_KEY_COMPONENT } from "../constants-DuyD7aCn.js";
|
|
3
|
-
import {
|
|
3
|
+
import { aN as popupsViewerStyles } from "../../../../styles/index-BUR_Ti7P.js";
|
|
4
4
|
import { P as PopupViewerSlots } from "./index-B98CiRLa.js";
|
|
5
5
|
import { D as DragResizeWindow } from "../../../DragResizeWindow/index-D2jLYExo.js";
|
|
6
6
|
const RootStyled = styled("div", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useState } from "react";
|
|
3
|
-
import { M as ModalDialog } from "../../components/ModalDialog/index-
|
|
3
|
+
import { M as ModalDialog } from "../../components/ModalDialog/index-BfP4prnR.js";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({ children }) {
|
|
6
6
|
const [modalOptions, setModalOptions] = useState({
|
|
@@ -3,7 +3,7 @@ import { useEffect } from "react";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { useForm, FormProvider } from "react-hook-form";
|
|
5
5
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
6
|
-
import {
|
|
6
|
+
import { aO as FormProviderRoot } from "../../styles/index-BUR_Ti7P.js";
|
|
7
7
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
const componentName = "M4LRHFormProvider";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useNetwork, useFlagsStore, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
|
-
import { u as useModal } from "../useModal/index-
|
|
5
|
-
import { W as WindowConfirm } from "../../components/modal/WindowConfirm-
|
|
4
|
+
import { u as useModal } from "../useModal/index-DYRKkNMW.js";
|
|
5
|
+
import { W as WindowConfirm } from "../../components/modal/WindowConfirm-saqM4JTM.js";
|
|
6
6
|
function useFormAddEdit(props) {
|
|
7
7
|
const {
|
|
8
8
|
initialValues,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { a as ModalContext } from "../../contexts/ModalContext/index-
|
|
2
|
+
import { a as ModalContext } from "../../contexts/ModalContext/index-1wuFulLI.js";
|
|
3
3
|
function useModal() {
|
|
4
4
|
const context = useContext(ModalContext);
|
|
5
5
|
if (!context) throw new Error("useModal context must be use inside ModalContext");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { d as TabContext } from "../../components/mui_extended/Tab/index-
|
|
2
|
+
import { d as TabContext } from "../../components/mui_extended/Tab/index-D80sHSf3.js";
|
|
3
3
|
const useTab = () => {
|
|
4
4
|
const context = useContext(TabContext);
|
|
5
5
|
if (context === null) {
|
package/index.js
CHANGED
|
@@ -1,125 +1,125 @@
|
|
|
1
|
-
import { T, a, c } from "./components/ToastContainer/index-
|
|
2
|
-
import { D, c as c2, g } from "./components/DataGrid/index-
|
|
1
|
+
import { T, a, c } from "./components/ToastContainer/index-BogUWgDl.js";
|
|
2
|
+
import { D, c as c2, g } from "./components/DataGrid/index-Cm_DjxJc.js";
|
|
3
3
|
import { N, T as T2 } from "./components/DataGrid/subcomponents/editors/TextEditor/index-BIFm8akr.js";
|
|
4
|
-
import { N as N2 } from "./components/NavLink/index-
|
|
4
|
+
import { N as N2 } from "./components/NavLink/index-Cvx6GLXs.js";
|
|
5
5
|
import { S } from "./components/ScrollToTop/index-TxORk5dB.js";
|
|
6
|
-
import { A, I } from "./components/animate/index-
|
|
6
|
+
import { A, I } from "./components/animate/index-CEfjUFBM.js";
|
|
7
7
|
import { M } from "./components/animate/MotionContainer/index-eartnWyO.js";
|
|
8
8
|
import { M as M2 } from "./components/animate/MotionLazyContainer/index-Be8osTiG.js";
|
|
9
|
-
import { L } from "./components/animate/LoadingScreen/index-
|
|
9
|
+
import { L } from "./components/animate/LoadingScreen/index-8SFJLBy6.js";
|
|
10
10
|
import { P } from "./components/animate/PropagateLoader/index-Bkq8V2SN.js";
|
|
11
11
|
import { v } from "./components/animate/variants/fade-CAOJNn06.js";
|
|
12
12
|
import { v as v2 } from "./components/animate/variants/bounce-DanQqHAX.js";
|
|
13
13
|
import { v as v3 } from "./components/animate/variants/container-Dmpr6tg5.js";
|
|
14
14
|
import { v as v4, a as a2, b } from "./components/animate/variants/transition-B9W5SWTa.js";
|
|
15
|
-
import { A as A2 } from "./components/areas/components/AreasAdmin/index-
|
|
16
|
-
import { A as A3 } from "./components/areas/components/AreasViewer/index-
|
|
15
|
+
import { A as A2 } from "./components/areas/components/AreasAdmin/index-B9K-aUG7.js";
|
|
16
|
+
import { A as A3 } from "./components/areas/components/AreasViewer/index-BISsgVhH.js";
|
|
17
17
|
import { a as a3, W } from "./components/areas/contexts/WindowToolsMFContext/index-DkE30fhm.js";
|
|
18
18
|
import { a as a4, D as D2, M as M3, c as c3 } from "./components/areas/contexts/DynamicMFParmsContext/index-22c6E7vK.js";
|
|
19
|
-
import { b as b2, A as A4 } from "./components/areas/contexts/AreasContext/index-
|
|
19
|
+
import { b as b2, A as A4 } from "./components/areas/contexts/AreasContext/index-CPvPVZrx.js";
|
|
20
20
|
import { u } from "./components/areas/hooks/useDynamicMFParameters/index-DhbcZPs9.js";
|
|
21
21
|
import { u as u2 } from "./components/areas/hooks/useWindowToolsMF/index-BECQfhbC.js";
|
|
22
22
|
import { u as u3 } from "./components/areas/hooks/useSetWindowsTitle/useSetWindowsTitle-BzPD-miW.js";
|
|
23
23
|
import { A as A5, D as D3, L as L2, a as a5, g as g2 } from "./components/areas/dictionary-YUsP9beq.js";
|
|
24
|
-
import { R, g as g3 } from "./components/hook-form/RHFAutocomplete/index-
|
|
25
|
-
import { R as R2, g as g4 } from "./components/hook-form/RHFAutocompleteAsync/index-
|
|
26
|
-
import { R as R3 } from "./components/hook-form/RHFDateTime/index-
|
|
24
|
+
import { R, g as g3 } from "./components/hook-form/RHFAutocomplete/index-B2Q-8tdS.js";
|
|
25
|
+
import { R as R2, g as g4 } from "./components/hook-form/RHFAutocompleteAsync/index-NckBOrZn.js";
|
|
26
|
+
import { R as R3 } from "./components/hook-form/RHFDateTime/index-J3EC3pju.js";
|
|
27
27
|
import { R as R4 } from "./components/hook-form/RHFMultiCheckbox/index-BARudV1A.js";
|
|
28
28
|
import { R as R5 } from "./components/hook-form/RHFSelect/index-LdwRuFz-.js";
|
|
29
|
-
import { R as R6 } from "./components/hook-form/RHFPeriod/index-
|
|
30
|
-
import { P as P2, g as g5 } from "./components/Period/index-
|
|
31
|
-
import { R as R7 } from "./components/hook-form/RHFRadioGroup/index-
|
|
32
|
-
import { R as R8, g as g6 } from "./components/hook-form/RHFColorPicker/index-
|
|
33
|
-
import { R as R9 } from "./components/hook-form/RHFCheckbox/index-
|
|
34
|
-
import { b as b3, c as c4, a as a6, R as R10, d } from "./components/hook-form/RHFTextField/index-
|
|
35
|
-
import { R as R11 } from "./components/hook-form/RHFUpload/index-
|
|
36
|
-
import { A as A6 } from "./components/mui_extended/Accordion/index-
|
|
37
|
-
import { A as A7 } from "./components/mui_extended/Avatar/index-
|
|
29
|
+
import { R as R6 } from "./components/hook-form/RHFPeriod/index-BexZzT2k.js";
|
|
30
|
+
import { P as P2, g as g5 } from "./components/Period/index-Cvw66i6M.js";
|
|
31
|
+
import { R as R7 } from "./components/hook-form/RHFRadioGroup/index-D63AuOJa.js";
|
|
32
|
+
import { R as R8, g as g6 } from "./components/hook-form/RHFColorPicker/index-Cr4AqCrd.js";
|
|
33
|
+
import { R as R9 } from "./components/hook-form/RHFCheckbox/index-CDpw-Hc-.js";
|
|
34
|
+
import { b as b3, c as c4, a as a6, R as R10, d } from "./components/hook-form/RHFTextField/index-BJLpXkG1.js";
|
|
35
|
+
import { R as R11 } from "./components/hook-form/RHFUpload/index-1y3PUbIb.js";
|
|
36
|
+
import { A as A6 } from "./components/mui_extended/Accordion/index-DdF8U6jD.js";
|
|
37
|
+
import { A as A7 } from "./components/mui_extended/Avatar/index-CTtUkMxD.js";
|
|
38
38
|
import { B } from "./components/mui_extended/BoxIcon/index-BUTJ2tKw.js";
|
|
39
39
|
import { B as B2 } from "./components/mui_extended/Breadcrumbs/index-DTS7rOZH.js";
|
|
40
40
|
import { C } from "./components/mui_extended/CircularProgress/index-Bnnti_G6.js";
|
|
41
|
-
import { B as B3 } from "./components/mui_extended/Badge/index-
|
|
41
|
+
import { B as B3 } from "./components/mui_extended/Badge/index-DDDr79kx.js";
|
|
42
42
|
import { L as L3 } from "./components/mui_extended/LinearProgress/index-CGgW8jq2.js";
|
|
43
43
|
import { L as L4 } from "./components/mui_extended/LinkWithRoute/index-BC2miUjR.js";
|
|
44
|
-
import { B as B4, I as I2, L as L5 } from "./components/mui_extended/Button/index-
|
|
45
|
-
import { M as M4 } from "./components/mui_extended/MenuActions/
|
|
46
|
-
import { P as P3, g as g7 } from "./components/mui_extended/Pager/index-
|
|
47
|
-
import { a as a7, b as b4, d as d2, c as c5, T as T3 } from "./components/mui_extended/Tab/index-
|
|
48
|
-
import { C as C2 } from "./components/mui_extended/CheckBox-
|
|
49
|
-
import { I as I3 } from "./components/mui_extended/IconButton/index-
|
|
50
|
-
import { P as P4 } from "./components/mui_extended/Popover/index-
|
|
51
|
-
import { S as S2 } from "./components/mui_extended/Stack/index-
|
|
44
|
+
import { B as B4, I as I2, L as L5 } from "./components/mui_extended/Button/index-CA72o44h.js";
|
|
45
|
+
import { M as M4 } from "./components/mui_extended/MenuActions/MenuActions-BtWZPVE8.js";
|
|
46
|
+
import { P as P3, g as g7 } from "./components/mui_extended/Pager/index-kBzQD4hm.js";
|
|
47
|
+
import { a as a7, b as b4, d as d2, c as c5, T as T3 } from "./components/mui_extended/Tab/index-D80sHSf3.js";
|
|
48
|
+
import { C as C2 } from "./components/mui_extended/CheckBox-AjZ7T1z4.js";
|
|
49
|
+
import { I as I3 } from "./components/mui_extended/IconButton/index-DIF9uD3M.js";
|
|
50
|
+
import { P as P4 } from "./components/mui_extended/Popover/index-DA0jXUyx.js";
|
|
51
|
+
import { S as S2 } from "./components/mui_extended/Stack/index-BEQk4psj.js";
|
|
52
52
|
import { T as T4 } from "./components/mui_extended/Tooltip/index-B8QUytCK.js";
|
|
53
|
-
import { T as T5 } from "./components/mui_extended/Typography/index-
|
|
54
|
-
import { T as T6 } from "./components/mui_extended/ToggleButton/index-
|
|
55
|
-
import { T as T7 } from "./components/mui_extended/ToggleIconButton/index-
|
|
56
|
-
import { B as B5 } from "./components/formatters/BooleanFormatter/index-
|
|
53
|
+
import { T as T5 } from "./components/mui_extended/Typography/index-CpZSVkZa.js";
|
|
54
|
+
import { T as T6 } from "./components/mui_extended/ToggleButton/index-DXL8Q9bl.js";
|
|
55
|
+
import { T as T7 } from "./components/mui_extended/ToggleIconButton/index-BcagTnvW.js";
|
|
56
|
+
import { B as B5 } from "./components/formatters/BooleanFormatter/index-CBW6amFj.js";
|
|
57
57
|
import { D as D4, g as g8 } from "./components/formatters/DateFormatter/index-CGcRZ8BA.js";
|
|
58
58
|
import { U, g as g9 } from "./components/formatters/UncertaintyFormatter/index-B9ESVEVp.js";
|
|
59
59
|
import { P as P5, g as g10 } from "./components/formatters/PointsFormatter/index-C7sR8iqk.js";
|
|
60
|
-
import { C as C3, P as P6, g as g11, a as a8, b as b5 } from "./components/formatters/index-
|
|
60
|
+
import { C as C3, P as P6, g as g11, a as a8, b as b5 } from "./components/formatters/index-DLyGkr2X.js";
|
|
61
61
|
import { P as P7, g as g12 } from "./components/formatters/PriceFormatter/index-CsvRawmc.js";
|
|
62
62
|
import { C as C4 } from "./components/DataGrid/formatters/ColumnUncertaintyFormatter/index-Cq7a-jnE.js";
|
|
63
63
|
import { C as C5 } from "./components/DataGrid/formatters/ColumnPointsFormatter/index-BXGW2CsK.js";
|
|
64
64
|
import { C as C6 } from "./components/DataGrid/formatters/ColumnNestedValueFormatter/index-BslXGK-A.js";
|
|
65
|
-
import { C as C7 } from "./components/DataGrid/formatters/ColumnBooleanFormatter/index-
|
|
65
|
+
import { C as C7 } from "./components/DataGrid/formatters/ColumnBooleanFormatter/index-DeqtK560.js";
|
|
66
66
|
import { C as C8 } from "./components/DataGrid/formatters/ColumnDateFormatter/index-CKg8CJ6A.js";
|
|
67
|
-
import { C as C9 } from "./components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index-
|
|
67
|
+
import { C as C9 } from "./components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index-BdDrxWSz.js";
|
|
68
68
|
import { C as C10 } from "./components/DataGrid/formatters/ColumnPriceFormatter/index-O11tBykn.js";
|
|
69
|
-
import { C as C11 } from "./components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index-
|
|
69
|
+
import { C as C11 } from "./components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index-DkKHnJrc.js";
|
|
70
70
|
import { C as C12 } from "./components/DataGrid/formatters/ColumnSetCheckFormatter/index-BaCawLr1.js";
|
|
71
|
-
import { a as a9 } from "./components/DynamicFilter/dictionary-
|
|
72
|
-
import { D as D5 } from "./components/DynamicFilter/index-
|
|
73
|
-
import { F } from "./components/FieldLabel/index-
|
|
74
|
-
import { H, e } from "./components/HelperText/index-
|
|
75
|
-
import { A as A8, d as d3, g as g13 } from "./components/CommonActions/components/Actions/index-
|
|
76
|
-
import { A as A9 } from "./components/CommonActions/components/ActionCancel/index-
|
|
77
|
-
import { A as A10 } from "./components/CommonActions/components/ActionIntro/index-
|
|
78
|
-
import { A as A11 } from "./components/CommonActions/components/ActionFormCancel/index-
|
|
79
|
-
import { A as A12 } from "./components/CommonActions/components/ActionFormIntro/index-
|
|
71
|
+
import { a as a9 } from "./components/DynamicFilter/dictionary-BW5PwL9_.js";
|
|
72
|
+
import { D as D5 } from "./components/DynamicFilter/index-qVRWf9L-.js";
|
|
73
|
+
import { F } from "./components/FieldLabel/index-BxJpuS_q.js";
|
|
74
|
+
import { H, e } from "./components/HelperText/index-BysUzqMh.js";
|
|
75
|
+
import { A as A8, d as d3, g as g13 } from "./components/CommonActions/components/Actions/index-C7DUIzPB.js";
|
|
76
|
+
import { A as A9 } from "./components/CommonActions/components/ActionCancel/index-DaxbYROX.js";
|
|
77
|
+
import { A as A10 } from "./components/CommonActions/components/ActionIntro/index-CPfjB0gn.js";
|
|
78
|
+
import { A as A11 } from "./components/CommonActions/components/ActionFormCancel/index-BvK03clf.js";
|
|
79
|
+
import { A as A12 } from "./components/CommonActions/components/ActionFormIntro/index-CaisaVHa.js";
|
|
80
80
|
import { D as D6, d as d4 } from "./components/DragResizeWindow/index-D2jLYExo.js";
|
|
81
|
-
import { G, w, z } from "./components/GridLayout/index-
|
|
82
|
-
import { R as R12, a as a10, b as b6, c as c6 } from "./components/GridLayout/subcomponents/Responsive/index-
|
|
83
|
-
import { w as w2 } from "./components/GridLayout/subcomponents/SizeProvider/index-
|
|
84
|
-
import { P as P8 } from "./components/PrintingSystem/index-
|
|
85
|
-
import { I as I4 } from "./components/Icon/index-
|
|
86
|
-
import { L as L6 } from "./components/LanguagePopover/index-
|
|
87
|
-
import { L as L7 } from "./components/LinearProgressIndeterminate/index-
|
|
88
|
-
import { I as I5 } from "./components/Image/index-
|
|
81
|
+
import { G, w, z } from "./components/GridLayout/index-DjWMWpVV.js";
|
|
82
|
+
import { R as R12, a as a10, b as b6, c as c6 } from "./components/GridLayout/subcomponents/Responsive/index-_e1A2knm.js";
|
|
83
|
+
import { w as w2 } from "./components/GridLayout/subcomponents/SizeProvider/index-BO-0R17q.js";
|
|
84
|
+
import { P as P8 } from "./components/PrintingSystem/index-BSFFEcd9.js";
|
|
85
|
+
import { I as I4 } from "./components/Icon/index-CvYHnsc3.js";
|
|
86
|
+
import { L as L6 } from "./components/LanguagePopover/index-Cq1wLLKe.js";
|
|
87
|
+
import { L as L7 } from "./components/LinearProgressIndeterminate/index-CTuN1gfY.js";
|
|
88
|
+
import { I as I5 } from "./components/Image/index-CC8G5gQL.js";
|
|
89
89
|
import { L as L8 } from "./components/Loadable/index-BMbi9ISF.js";
|
|
90
|
-
import { C as C13, M as M5, c as c7, b as b7, d as d5, u as u4 } from "./components/maps/components/Map/index-
|
|
91
|
-
import { M as M6, G as G2, u as u5 } from "./components/maps/components/GpsTools/index-
|
|
92
|
-
import { M as M7, d as d6, g as g14 } from "./components/ModalDialog/index-
|
|
90
|
+
import { C as C13, M as M5, c as c7, b as b7, d as d5, u as u4 } from "./components/maps/components/Map/index-BjTT-kaY.js";
|
|
91
|
+
import { M as M6, G as G2, u as u5 } from "./components/maps/components/GpsTools/index-M0iCv8sw.js";
|
|
92
|
+
import { M as M7, d as d6, g as g14 } from "./components/ModalDialog/index-BfP4prnR.js";
|
|
93
93
|
import { g as g15 } from "./components/modal/index-CydPIpKZ.js";
|
|
94
|
-
import { W as W2 } from "./components/modal/WindowConfirm-
|
|
95
|
-
import { W as W3 } from "./components/modal/WindowBase-
|
|
96
|
-
import { L as L9, g as g16 } from "./components/LoadingError/index-
|
|
97
|
-
import { M as M8, g as g17 } from "./components/MFLoader/index-
|
|
98
|
-
import { N as N3, d as d7, g as g18 } from "./components/NoItemSelected/index-
|
|
99
|
-
import { O, d as d8, g as g19 } from "./components/ObjectLogs/index-
|
|
100
|
-
import { P as P9 } from "./components/PaperForm/index-
|
|
101
|
-
import { P as P10 } from "./components/PDFViewer/index-
|
|
102
|
-
import { H as H2 } from "./components/Page/index-
|
|
103
|
-
import { P as P11 } from "./components/PropertyValue/index-
|
|
104
|
-
import { R as R13 } from "./components/Resizeable/index-
|
|
105
|
-
import { S as S3 } from "./components/ScrollBar/index-
|
|
106
|
-
import { S as S4 } from "./components/SplitLayout/index-
|
|
107
|
-
import { S as S5 } from "./components/SideBar/index-
|
|
108
|
-
import { A as A13, g as g20 } from "./components/AppBar/index-
|
|
109
|
-
import { A as A14, g as g21 } from "./components/AccountPopover/index-
|
|
94
|
+
import { W as W2 } from "./components/modal/WindowConfirm-saqM4JTM.js";
|
|
95
|
+
import { W as W3 } from "./components/modal/WindowBase-DJ0Vq-og.js";
|
|
96
|
+
import { L as L9, g as g16 } from "./components/LoadingError/index-DWlYM1ch.js";
|
|
97
|
+
import { M as M8, g as g17 } from "./components/MFLoader/index-Dye_CDyE.js";
|
|
98
|
+
import { N as N3, d as d7, g as g18 } from "./components/NoItemSelected/index-wX7zwWEx.js";
|
|
99
|
+
import { O, d as d8, g as g19 } from "./components/ObjectLogs/index-Cp3uf41B.js";
|
|
100
|
+
import { P as P9 } from "./components/PaperForm/index-B2Rejm-4.js";
|
|
101
|
+
import { P as P10 } from "./components/PDFViewer/index-DsK26Ab0.js";
|
|
102
|
+
import { H as H2 } from "./components/Page/index-Cop86J6W.js";
|
|
103
|
+
import { P as P11 } from "./components/PropertyValue/index-DNrMXh6i.js";
|
|
104
|
+
import { R as R13 } from "./components/Resizeable/index-n_dxnq4e.js";
|
|
105
|
+
import { S as S3 } from "./components/ScrollBar/index-CIKS-GIs.js";
|
|
106
|
+
import { S as S4 } from "./components/SplitLayout/index-CsFTz0uN.js";
|
|
107
|
+
import { S as S5 } from "./components/SideBar/index-BexlVrZj.js";
|
|
108
|
+
import { A as A13, g as g20 } from "./components/AppBar/index-BohgzCVU.js";
|
|
109
|
+
import { A as A14, g as g21 } from "./components/AccountPopover/index-BR8vemEj.js";
|
|
110
110
|
import { a as a11, P as P12, u as u6 } from "./components/popups/PopupsProvider/index-DhSxmtfJ.js";
|
|
111
|
-
import { P as P13 } from "./components/popups/PopupsViewer/index-
|
|
112
|
-
import { A as A15 } from "./components/commercial/AppBarCommercial/index-
|
|
113
|
-
import { H as H3 } from "./components/commercial/index-
|
|
114
|
-
import { T as T8 } from "./components/commercial/TopBar/index-
|
|
115
|
-
import { S as S6 } from "./components/commercial/SectionCommercial/index-
|
|
116
|
-
import { M as M9 } from "./components/MFIsolationApp/index-
|
|
117
|
-
import { B as B6 } from "./components/BaseModule/index-
|
|
118
|
-
import { R as R14, g as g22 } from "./contexts/RHFormContext/index-
|
|
119
|
-
import { a as a12, M as M10 } from "./contexts/ModalContext/index-
|
|
120
|
-
import { g as g23, u as u7 } from "./hooks/useFormAddEdit/index-
|
|
121
|
-
import { u as u8 } from "./hooks/useModal/index-
|
|
122
|
-
import { u as u9 } from "./hooks/useTab/index-
|
|
111
|
+
import { P as P13 } from "./components/popups/PopupsViewer/index-Q6col-0G.js";
|
|
112
|
+
import { A as A15 } from "./components/commercial/AppBarCommercial/index-isIlG5IL.js";
|
|
113
|
+
import { H as H3 } from "./components/commercial/index-t-fIky9e.js";
|
|
114
|
+
import { T as T8 } from "./components/commercial/TopBar/index-DIn6GDxV.js";
|
|
115
|
+
import { S as S6 } from "./components/commercial/SectionCommercial/index-CUzVuRDo.js";
|
|
116
|
+
import { M as M9 } from "./components/MFIsolationApp/index-m-6MPf9A.js";
|
|
117
|
+
import { B as B6 } from "./components/BaseModule/index-6gakgChH.js";
|
|
118
|
+
import { R as R14, g as g22 } from "./contexts/RHFormContext/index-D2OzLCry.js";
|
|
119
|
+
import { a as a12, M as M10 } from "./contexts/ModalContext/index-1wuFulLI.js";
|
|
120
|
+
import { g as g23, u as u7 } from "./hooks/useFormAddEdit/index-Bxn239hw.js";
|
|
121
|
+
import { u as u8 } from "./hooks/useModal/index-DYRKkNMW.js";
|
|
122
|
+
import { u as u9 } from "./hooks/useTab/index-D96FqxT8.js";
|
|
123
123
|
import { useState, useRef, useEffect } from "react";
|
|
124
124
|
const useFormFocus = () => {
|
|
125
125
|
const [isFocus, setIsFocus] = useState(false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"lint-staged": {
|
|
6
6
|
"src/**/*.{js,ts,jsx,tsx}": "eslint --max-warnings=0 --fix",
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"@mui/lab": "5.0.0-alpha.89",
|
|
17
17
|
"@mui/material": "5.15.19",
|
|
18
18
|
"@mui/x-date-pickers": "6.11.1",
|
|
19
|
-
"@storybook/addon-essentials": "8.
|
|
20
|
-
"@storybook/addon-interactions": "8.
|
|
21
|
-
"@storybook/addon-links": "8.
|
|
22
|
-
"@storybook/addon-onboarding": "8.
|
|
23
|
-
"@storybook/blocks": "8.
|
|
24
|
-
"@storybook/react": "8.
|
|
25
|
-
"@storybook/react-vite": "8.
|
|
26
|
-
"@storybook/test": "8.
|
|
19
|
+
"@storybook/addon-essentials": "8.2.5",
|
|
20
|
+
"@storybook/addon-interactions": "8.2.5",
|
|
21
|
+
"@storybook/addon-links": "8.2.5",
|
|
22
|
+
"@storybook/addon-onboarding": "8.2.5",
|
|
23
|
+
"@storybook/blocks": "8.2.5",
|
|
24
|
+
"@storybook/react": "8.2.5",
|
|
25
|
+
"@storybook/react-vite": "8.2.5",
|
|
26
|
+
"@storybook/test": "8.2.5",
|
|
27
27
|
"chart.js": "^4.4.0",
|
|
28
28
|
"chartjs-chart-error-bars": "^4.3.3",
|
|
29
29
|
"esbuild": "^0.20.1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"react-toastify": "10.0.5",
|
|
55
55
|
"react-transition-group": "^4.4.5",
|
|
56
56
|
"simplebar-react": "2.4.1",
|
|
57
|
-
"storybook": "8.
|
|
57
|
+
"storybook": "8.2.5",
|
|
58
58
|
"yup": "^0.32.11",
|
|
59
59
|
"zustand": "4.3.6"
|
|
60
60
|
},
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const CONTAINER_QUERY_NAME = "menuActions";
|
|
2
|
+
const menuActionsStyles = {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
containerName: CONTAINER_QUERY_NAME,
|
|
5
|
+
"& .MuiPaper-root": {
|
|
6
|
+
display: "flex",
|
|
7
|
+
flexDirection: "column",
|
|
8
|
+
background: theme.palette.background.default,
|
|
9
|
+
gap: "8px",
|
|
10
|
+
maxWidth: 300
|
|
11
|
+
}
|
|
12
|
+
}),
|
|
13
|
+
badge: {},
|
|
14
|
+
iconButton: {},
|
|
15
|
+
menuItem: ({ theme, ownerState }) => ({
|
|
16
|
+
display: "flex",
|
|
17
|
+
justifyContent: "center",
|
|
18
|
+
minHeight: "24px",
|
|
19
|
+
minWidth: "24px",
|
|
20
|
+
padding: "0",
|
|
21
|
+
gap: "0px",
|
|
22
|
+
...ownerState.variant === "delete" ? {
|
|
23
|
+
color: theme.palette.state.error.normal
|
|
24
|
+
} : {}
|
|
25
|
+
}),
|
|
26
|
+
menuItemLabel: {},
|
|
27
|
+
menuItemIcon: ({ theme, ownerState }) => ({
|
|
28
|
+
"&.M4LIcon-root": {
|
|
29
|
+
minHeight: "24px",
|
|
30
|
+
minWidth: "24px",
|
|
31
|
+
"& > .M4LIcon-icon": {
|
|
32
|
+
backgroundColor: ownerState.variant === "delete" ? theme.palette.state.error.normal : ""
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}),
|
|
36
|
+
labelEmpty: () => ({
|
|
37
|
+
zIndex: 1
|
|
38
|
+
})
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
menuActionsStyles as m
|
|
42
|
+
};
|