@m4l/components 0.1.62 → 0.1.64
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 +45 -8
- package/components/AccountPopover/AccountPopover.d.ts +2 -0
- package/components/AccountPopover/classes/constants.d.ts +1 -0
- package/components/AccountPopover/classes/index.d.ts +7 -0
- package/components/AccountPopover/classes/types.d.ts +5 -0
- package/components/AccountPopover/index.d.ts +2 -0
- package/components/AccountPopover/subcomponents/PopOver/index.d.ts +2 -0
- package/components/AccountPopover/subcomponents/PopOver/types.d.ts +9 -0
- package/components/AccountPopover/types.d.ts +28 -0
- package/components/AppBar/AppBar.d.ts +2 -0
- package/components/AppBar/classes/constants.d.ts +1 -0
- package/components/AppBar/classes/index.d.ts +6 -0
- package/components/AppBar/classes/types.d.ts +4 -0
- package/components/AppBar/index.d.ts +1 -0
- package/components/AppBar/subcomponents/MyAvatar/createAvatar.d.ts +4 -0
- package/components/AppBar/subcomponents/MyAvatar/index.d.ts +2 -0
- package/components/AppBar/tests/constants.d.ts +1 -0
- package/components/AppBar/tests/utils.d.ts +2 -0
- package/components/AppBar/types.d.ts +9 -0
- package/components/CommonActions/components/ActionCancel/{index.a81752ef.js → index.2eb2c1e1.js} +1 -1
- package/components/CommonActions/components/ActionCancel/index.d.ts +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.2124a98a.js → index.2864d574.js} +16 -17
- package/components/CommonActions/components/ActionFormIntro/index.d.ts +2 -2
- package/components/CommonActions/components/ActionFormIntro/{index.ca4d2674.js → index.e7f83ddd.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.3f75a205.js → index.0d138cb3.js} +2 -2
- package/components/CommonActions/components/ActionIntro/index.d.ts +2 -2
- package/components/CommonActions/components/Actions/{index.6eb24c0b.js → index.433cd345.js} +17 -15
- package/components/DataGrid/{index.58f35158.js → index.42521a55.js} +24 -22
- package/components/DynamicFilter/{index.10f901c6.js → index.442bda79.js} +38 -37
- package/components/HelperText/index.3c07ca2a.js +70 -0
- package/components/HelperText/index.d.ts +10 -0
- package/components/HelperText/types.d.ts +8 -0
- package/components/HelperText/utils/Clases/constant.d.ts +1 -0
- package/components/HelperText/utils/Clases/index.d.ts +7 -0
- package/components/HelperText/utils/Clases/types.d.ts +7 -0
- package/components/Icon/classes/index.d.ts +1 -1
- package/components/Icon/classes/types.d.ts +3 -8
- package/components/Icon/index.0f9b360e.js +200 -0
- package/components/Icon/tests/constants.d.ts +1 -0
- package/components/Icon/tests/utils.d.ts +2 -0
- package/components/Icon/types.d.ts +3 -4
- package/components/Image/{index.aa24e982.js → index.1a9c0327.js} +124 -56
- package/components/Image/subcomponents/Skeleton/types.d.ts +2 -0
- package/components/Image/tests/constants.d.ts +1 -0
- package/components/Image/tests/utils.d.ts +2 -0
- package/components/Image/types.d.ts +9 -2
- package/components/Image/utils/classes/types.d.ts +1 -0
- package/components/Image/utils/getRatioValues.d.ts +5 -0
- package/components/LanguagePopover/classes/types.d.ts +1 -0
- package/components/LanguagePopover/{index.df9b47a6.js → index.68de7176.js} +49 -25
- package/components/LanguagePopover/tests/constants.d.ts +1 -0
- package/components/LanguagePopover/tests/utils.d.ts +2 -0
- package/components/ModalDialog/{index.dc7ebe06.js → index.3efe049b.js} +5 -5
- package/components/NavLink/NavLink.d.ts +2 -0
- package/components/NavLink/classes/constant.d.ts +1 -0
- package/components/NavLink/classes/index.d.ts +6 -0
- package/components/NavLink/classes/types.d.ts +4 -0
- package/components/NavLink/index.ae9f1cc9.js +74 -0
- package/components/NavLink/index.d.ts +1 -0
- package/components/NavLink/tests/constants.d.ts +1 -0
- package/components/NavLink/tests/utils.d.ts +2 -0
- package/components/NavLink/types.d.ts +5 -0
- package/components/NoItemSelected/{index.9636ec8a.js → index.7cfd7613.js} +2 -4
- package/components/ObjectLogs/{index.38c2ad18.js → index.b50726fb.js} +20 -18
- package/components/PaperForm/{index.3cdac885.js → index.44bf4469.js} +1 -1
- package/components/Period/{index.796b3af4.js → index.99feb99e.js} +18 -17
- package/components/Resizeable/{index.04fa8de5.js → index.b5d42efb.js} +1 -1
- package/components/ScrollBar/{index.b77feabd.js → index.bbe48f4d.js} +7 -2
- package/components/SideBar/SideBar.d.ts +2 -0
- package/components/SideBar/classes/constants.d.ts +1 -0
- package/components/SideBar/classes/index.d.ts +37 -0
- package/components/SideBar/classes/types.d.ts +37 -0
- package/components/SideBar/context/sideBarContext/index.d.ts +5 -0
- package/components/SideBar/context/sideBarContext/types.d.ts +9 -0
- package/components/SideBar/hooks/useSideBar/index.d.ts +2 -0
- package/components/SideBar/index.011880b6.js +1010 -0
- package/components/SideBar/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentDesktop/index.d.ts +1 -0
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/index.d.ts +6 -0
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +1 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/types.d.ts +3 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/type.d.ts +9 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/type.d.ts +14 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/types.d.ts +7 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/types.d.ts +13 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/type.d.ts +12 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/types.d.ts +13 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/Skeleton/index.d.ts +1 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/Skeleton/types.d.ts +3 -0
- package/components/SideBar/subcomponents/ContentGroups/type.d.ts +7 -0
- package/components/SideBar/subcomponents/ContentMobile/index.d.ts +1 -0
- package/components/SideBar/tests/constants.d.ts +5 -0
- package/components/SideBar/tests/utils.d.ts +2 -0
- package/components/SideBar/types.d.ts +29 -0
- package/components/areas/components/AreasAdmin/{index.645bd2c7.js → index.51e28f63.js} +11 -10
- package/components/areas/components/AreasContainer/{index.3e74c849.js → index.1e5e6e91.js} +3 -3
- package/components/areas/components/GridLayout/{index.50810712.js → index.5bf8d5e4.js} +5 -5
- package/components/areas/components/Window/{index.8040dbe4.js → index.416a874f.js} +49 -49
- package/components/areas/components/WindowPopUp/{index.4514046e.js → index.f053fca7.js} +45 -42
- package/components/areas/components/{index.9f62ca8e.js → index.eace295a.js} +10 -10
- package/components/areas/contexts/AreaContext/{index.368adb8d.js → index.7890e58d.js} +1 -1
- package/components/areas/contexts/AreasContext/{index.f3d6e728.js → index.0792a8d1.js} +1 -1
- package/components/areas/contexts/{index.3623b460.js → index.2a915acf.js} +1 -1
- package/components/areas/hooks/{index.18982960.js → index.f4d78492.js} +1 -1
- package/components/areas/hooks/useArea/{index.dab7ce20.js → index.d6263051.js} +2 -2
- package/components/areas/index.8fca0f8f.js +20 -0
- package/components/formatters/BooleanFormatter/{index.bf947220.js → index.cd00c8e1.js} +2 -3
- package/components/formatters/{index.acd3dcea.js → index.deae4701.js} +2 -3
- package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/classes/constant.d.ts +1 -0
- package/components/hook-form/RHFAutocomplete/classes/index.d.ts +10 -0
- package/components/hook-form/RHFAutocomplete/classes/types.d.ts +15 -0
- package/components/hook-form/RHFAutocomplete/index.083e23c1.js +400 -0
- package/components/hook-form/RHFAutocomplete/index.d.ts +1 -2
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/test/constants.d.ts +1 -0
- package/components/hook-form/RHFAutocomplete/test/utils.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/types.d.ts +9 -0
- package/components/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.d.ts +7 -0
- package/components/hook-form/RHFAutocompleteAsync/classes/constant.d.ts +1 -0
- package/components/hook-form/RHFAutocompleteAsync/classes/index.d.ts +6 -0
- package/components/hook-form/RHFAutocompleteAsync/classes/types.d.ts +4 -0
- package/components/hook-form/RHFAutocompleteAsync/index.ba751be9.js +156 -0
- package/components/hook-form/RHFAutocompleteAsync/tests/constants.d.ts +1 -0
- package/components/hook-form/RHFAutocompleteAsync/tests/utils.d.ts +2 -0
- package/components/hook-form/RHFCheckbox/classes/index.d.ts +3 -1
- package/components/hook-form/RHFCheckbox/classes/types.d.ts +4 -0
- package/components/hook-form/RHFCheckbox/index.c19393b1.js +152 -0
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/types.d.ts +1 -0
- package/components/hook-form/RHFCheckbox/test/constants.d.ts +4 -0
- package/components/hook-form/RHFCheckbox/test/utils.d.ts +2 -0
- package/components/hook-form/RHFCheckbox/types.d.ts +1 -0
- package/components/hook-form/RHFPeriod/{index.c4944f9c.js → index.c0a80aeb.js} +3 -3
- package/components/hook-form/RHFTextField/RHFTextField.d.ts +1 -1
- package/components/hook-form/RHFTextField/classes/index.d.ts +3 -1
- package/components/hook-form/RHFTextField/classes/types.d.ts +9 -3
- package/components/hook-form/RHFTextField/index.97485ff2.js +341 -0
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/types.d.ts +2 -2
- package/components/hook-form/RHFTextField/tests/{contants.d.ts → constants.d.ts} +1 -0
- package/components/hook-form/RHFTextField/tests/utils.d.ts +2 -0
- package/components/hook-form/RHFTextField/types.d.ts +15 -1
- package/components/hook-form/RHFTextFieldPassword/tests/constants.d.ts +2 -0
- package/components/hook-form/RHFTextFieldPassword/tests/utils.d.ts +2 -0
- package/components/hook-form/RHFUpload/{index.7fdff30f.js → index.798eb11d.js} +3 -5
- package/components/hook-form/index.d.ts +2 -2
- package/components/index.d.ts +9 -2
- package/components/modal/{WindowBase.7828e042.js → WindowBase.59f50553.js} +3 -3
- package/components/modal/{WindowConfirm.42ec4dcd.js → WindowConfirm.c1339cf8.js} +21 -19
- package/components/modal/index.7a84f64d.js +30 -0
- package/components/mui_extended/Accordion/{index.725a10af.js → index.b7487e37.js} +2 -2
- package/components/mui_extended/Button/classes/index.d.ts +2 -1
- package/components/mui_extended/Button/classes/types.d.ts +7 -1
- package/components/mui_extended/Button/index.d9e0ae2e.js +208 -0
- package/components/mui_extended/Button/types.d.ts +6 -1
- package/components/mui_extended/IconButton/IconButton.d.ts +1 -2
- package/components/mui_extended/IconButton/classes/index.d.ts +2 -1
- package/components/mui_extended/IconButton/classes/types.d.ts +8 -0
- package/components/mui_extended/IconButton/{index.afa201a7.js → index.be9c2ce5.js} +48 -22
- package/components/mui_extended/IconButton/types.d.ts +13 -1
- package/components/mui_extended/ImageButton/ImageButton.d.ts +0 -3
- package/components/mui_extended/ImageButton/tests/constants.d.ts +1 -0
- package/components/mui_extended/ImageButton/tests/utils.d.ts +2 -0
- package/components/mui_extended/ImageButton/types.d.ts +1 -0
- package/components/mui_extended/ImageButton/utils/Clases/types.d.ts +1 -0
- package/components/mui_extended/LoadingButton/classes/constants.d.ts +1 -0
- package/components/mui_extended/LoadingButton/classes/index.d.ts +8 -0
- package/components/mui_extended/LoadingButton/classes/types.d.ts +11 -0
- package/components/mui_extended/LoadingButton/tests/constants.d.ts +1 -0
- package/components/mui_extended/LoadingButton/tests/utils.d.ts +2 -0
- package/components/mui_extended/LoadingButton/types.d.ts +5 -0
- package/components/mui_extended/MenuActions/{index.1affe51a.js → index.ec654122.js} +2 -2
- package/components/mui_extended/Pager/{index.d4d1a1a0.js → index.9e123670.js} +1 -1
- package/components/mui_extended/Popover/{index.8ed52492.js → index.260aae81.js} +2 -3
- package/components/mui_extended/Popover/index.d.ts +2 -0
- package/components/mui_extended/Typography/Typography.d.ts +2 -0
- package/components/mui_extended/Typography/{index.be3a279a.js → index.41b60a6b.js} +20 -15
- package/components/mui_extended/Typography/index.d.ts +1 -5
- package/components/mui_extended/Typography/tests/constants.d.ts +1 -0
- package/components/mui_extended/Typography/tests/utils.d.ts +2 -0
- package/components/mui_extended/Typography/utils/Clases/types.d.ts +1 -0
- package/components/mui_extended/index.459cbd6c.js +19 -0
- package/components/mui_extended/index.d.ts +1 -1
- package/contexts/ModalContext/{index.b4114066.js → index.ae8041f3.js} +1 -1
- package/contexts/RHFormContext/{index.3dc6e2f5.js → index.a7511399.js} +2 -8
- package/hooks/useModal/{index.77b3415c.js → index.5c159ed2.js} +1 -1
- package/index.js +69 -65
- package/package.json +1 -1
- package/{react-draggable.6471b07e.js → react-draggable.1aa81436.js} +1 -1
- package/{react-resizable.b620abed.js → react-resizable.e86cb01e.js} +2 -2
- package/utils/{index.b6ae791a.js → index.e199226a.js} +7 -18
- package/vendor.a15d263e.js +458 -0
- package/components/ErrorLabel/index.d.ts +0 -10
- package/components/ErrorLabel/index.e140421c.js +0 -65
- package/components/ErrorLabel/types.d.ts +0 -4
- package/components/ErrorLabel/utils/Clases/index.d.ts +0 -6
- package/components/ErrorLabel/utils/Clases/types.d.ts +0 -3
- package/components/Icon/index.b29ff2d9.js +0 -200
- package/components/areas/index.a0456f95.js +0 -21
- package/components/hook-form/RHFAutocomplete/index.bb6cb5df.js +0 -289
- package/components/hook-form/RHFAutocomplete/test/contants.d.ts +0 -1
- package/components/hook-form/RHFAutocompleteAsync/index.815949a9.js +0 -87
- package/components/hook-form/RHFAutocompleteAsync/index.d.ts +0 -2
- package/components/hook-form/RHFCheckbox/index.6e80f572.js +0 -110
- package/components/hook-form/RHFTextField/index.d3544fa3.js +0 -228
- package/components/modal/index.3cc54b93.js +0 -29
- package/components/mui_extended/Button/index.8406ed5b.js +0 -150
- package/components/mui_extended/LoadingButton/subcomponents/Skeleton/index.d.ts +0 -1
- package/components/mui_extended/index.9ce0bca3.js +0 -19
- package/vendor.29969396.js +0 -145
|
@@ -13,10 +13,10 @@ export interface TestingProps {
|
|
|
13
13
|
isVisible?: boolean;
|
|
14
14
|
}
|
|
15
15
|
export interface BaseImageProps {
|
|
16
|
-
width
|
|
16
|
+
width?: string;
|
|
17
17
|
height?: string;
|
|
18
18
|
}
|
|
19
|
-
export interface WrapperImageProps
|
|
19
|
+
export interface WrapperImageProps {
|
|
20
20
|
imageClasses: ImageClassesType;
|
|
21
21
|
}
|
|
22
22
|
export interface IntersectComponentProps extends BaseImageProps {
|
|
@@ -33,6 +33,11 @@ export interface LazyLoadComponentProps extends Pick<ImageProps, 'testingProps'>
|
|
|
33
33
|
children: ReactNode;
|
|
34
34
|
}
|
|
35
35
|
export declare type SkeletonVariant = 'image' | 'circle';
|
|
36
|
+
export declare type RatioOptions = '1.168:1' | '16:9' | '1:1' | '1:1.168' | '2:1' | '2:3' | '3:1' | '3:2' | '3:4' | '4:3' | '5:2';
|
|
37
|
+
export interface ratioValues {
|
|
38
|
+
width: number;
|
|
39
|
+
height: number;
|
|
40
|
+
}
|
|
36
41
|
export interface ImageProps extends Omit<IntersectComponentProps, 'setIsVisible' | 'threshold' | 'useIntersectionObserver'> {
|
|
37
42
|
src: string;
|
|
38
43
|
alt?: string;
|
|
@@ -40,6 +45,7 @@ export interface ImageProps extends Omit<IntersectComponentProps, 'setIsVisible'
|
|
|
40
45
|
useIntersectionObserver?: boolean;
|
|
41
46
|
skeletonVariant?: SkeletonVariant;
|
|
42
47
|
testingProps?: TestingProps;
|
|
48
|
+
ratio?: RatioOptions;
|
|
43
49
|
}
|
|
44
50
|
export declare type StatusLoad = 'initial' | 'loaded' | 'removed';
|
|
45
51
|
export interface OwnerState {
|
|
@@ -48,3 +54,4 @@ export interface OwnerState {
|
|
|
48
54
|
export interface BaseProviderIamgeType {
|
|
49
55
|
classes: any;
|
|
50
56
|
}
|
|
57
|
+
export declare const ratioOptions: Record<RatioOptions, ratioValues>;
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import { useState, useEffect } from "react";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Stack, MenuItem } from "@mui/material";
|
|
3
|
-
import { I as Image } from "../Image/index.
|
|
3
|
+
import { I as Image } from "../Image/index.1a9c0327.js";
|
|
4
4
|
import { useLocales } from "@m4l/graphics";
|
|
5
5
|
import { useEnvironment, useNetwork } from "@m4l/core";
|
|
6
|
-
import "../Icon/index.
|
|
7
|
-
import "
|
|
6
|
+
import "../Icon/index.0f9b360e.js";
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../vendor.a15d263e.js";
|
|
8
8
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
9
|
-
import "../mui_extended/IconButton/index.
|
|
10
|
-
import "../mui_extended/Accordion/index.
|
|
9
|
+
import "../mui_extended/IconButton/index.be9c2ce5.js";
|
|
10
|
+
import "../mui_extended/Accordion/index.b7487e37.js";
|
|
11
11
|
import "../mui_extended/Avatar/index.fe06afd7.js";
|
|
12
12
|
import "react-router-dom";
|
|
13
13
|
import "@mui/material/Button";
|
|
14
|
-
import { I as ImageButton } from "../mui_extended/Button/index.
|
|
14
|
+
import { I as ImageButton } from "../mui_extended/Button/index.d9e0ae2e.js";
|
|
15
|
+
import "clsx";
|
|
15
16
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
16
17
|
import "@mui/lab";
|
|
17
|
-
import
|
|
18
|
-
import "../mui_extended/
|
|
19
|
-
import "../mui_extended/
|
|
18
|
+
import "../mui_extended/Typography/index.41b60a6b.js";
|
|
19
|
+
import { P as Popover } from "../mui_extended/Popover/index.260aae81.js";
|
|
20
|
+
import "../mui_extended/MenuActions/index.ec654122.js";
|
|
21
|
+
import "../mui_extended/Pager/index.9e123670.js";
|
|
20
22
|
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
21
|
-
import "../mui_extended/Typography/index.be3a279a.js";
|
|
22
23
|
import { unstable_composeClasses } from "@mui/base";
|
|
23
24
|
const LanguagePopoverRoot = styled("div")(({
|
|
24
25
|
theme
|
|
25
26
|
}) => ({
|
|
26
27
|
...theme.components?.M4LanguagePopover?.styleOverrides
|
|
27
28
|
}));
|
|
28
|
-
const LabelItem = styled("
|
|
29
|
+
const LabelItem = styled("div")(({
|
|
29
30
|
theme
|
|
30
31
|
}) => ({
|
|
31
32
|
marginLeft: theme.spacing(1)
|
|
@@ -40,12 +41,19 @@ const ContainerMenuItems = styled("div")(() => ({
|
|
|
40
41
|
display: "flex",
|
|
41
42
|
flexDirection: "column"
|
|
42
43
|
}));
|
|
44
|
+
const ContainerImage = styled("div")(() => ({
|
|
45
|
+
display: "flex",
|
|
46
|
+
gap: "4px",
|
|
47
|
+
width: "16px",
|
|
48
|
+
height: "16px"
|
|
49
|
+
}));
|
|
43
50
|
const componentName = "M4LanguagePopover";
|
|
44
51
|
generateUtilityClasses(componentName, [
|
|
45
52
|
"root",
|
|
46
53
|
"containerItems",
|
|
47
54
|
"containerProgress",
|
|
48
|
-
"labelItem"
|
|
55
|
+
"labelItem",
|
|
56
|
+
"imageButton"
|
|
49
57
|
]);
|
|
50
58
|
function getM4LanguagePopoverClassesUtilityClass(slot) {
|
|
51
59
|
return generateUtilityClass(componentName, slot);
|
|
@@ -62,6 +70,10 @@ const useUtilityClasses = () => {
|
|
|
62
70
|
...composedClasses
|
|
63
71
|
};
|
|
64
72
|
};
|
|
73
|
+
const LANGUAGEPOPOVER_PREFIX = "LanguagePopover";
|
|
74
|
+
const getNameDataTestId = (KEY) => {
|
|
75
|
+
return `${LANGUAGEPOPOVER_PREFIX}-${KEY}`;
|
|
76
|
+
};
|
|
65
77
|
function LanguagePopover(props) {
|
|
66
78
|
const {
|
|
67
79
|
testingProps
|
|
@@ -99,7 +111,7 @@ function LanguagePopover(props) {
|
|
|
99
111
|
}
|
|
100
112
|
}).then((response) => {
|
|
101
113
|
if (mounted) {
|
|
102
|
-
setAllLocales(response.data);
|
|
114
|
+
!testingProps && setAllLocales(response.data);
|
|
103
115
|
}
|
|
104
116
|
}).finally(() => {
|
|
105
117
|
setLoading(false);
|
|
@@ -111,12 +123,15 @@ function LanguagePopover(props) {
|
|
|
111
123
|
const classes = useUtilityClasses();
|
|
112
124
|
return /* @__PURE__ */ jsxs(LanguagePopoverRoot, {
|
|
113
125
|
className: classes.root,
|
|
114
|
-
"
|
|
126
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
127
|
+
[TEST_PROP_ID]: getNameDataTestId("root")
|
|
128
|
+
} : {},
|
|
115
129
|
children: [/* @__PURE__ */ jsx(ImageButton, {
|
|
130
|
+
className: classes.imageButton,
|
|
116
131
|
onClick: handleOpen,
|
|
117
132
|
sx: {
|
|
118
|
-
width:
|
|
119
|
-
height:
|
|
133
|
+
width: 28,
|
|
134
|
+
height: 28,
|
|
120
135
|
...open && {
|
|
121
136
|
bgcolor: "action.selected"
|
|
122
137
|
}
|
|
@@ -126,7 +141,9 @@ function LanguagePopover(props) {
|
|
|
126
141
|
width: "24px",
|
|
127
142
|
height: "24px",
|
|
128
143
|
skeletonVariant: "circle",
|
|
129
|
-
"
|
|
144
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
145
|
+
[TEST_PROP_ID]: getNameDataTestId("imageButton")
|
|
146
|
+
} : {}
|
|
130
147
|
}), /* @__PURE__ */ jsx(Popover, {
|
|
131
148
|
arrowType: "top-right",
|
|
132
149
|
open: Boolean(open),
|
|
@@ -149,10 +166,14 @@ function LanguagePopover(props) {
|
|
|
149
166
|
},
|
|
150
167
|
children: /* @__PURE__ */ jsxs(ContainerMenuItems, {
|
|
151
168
|
className: classes.containerItems,
|
|
152
|
-
"
|
|
169
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
170
|
+
[TEST_PROP_ID]: getNameDataTestId("containerItems")
|
|
171
|
+
} : {},
|
|
153
172
|
children: [allLocales.length === 0 && /* @__PURE__ */ jsx(ContainerProgress, {
|
|
154
173
|
className: classes.containerProgress,
|
|
155
|
-
"
|
|
174
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
175
|
+
[TEST_PROP_ID]: getNameDataTestId("containerProgress")
|
|
176
|
+
} : {},
|
|
156
177
|
children: /* @__PURE__ */ jsx(CircularProgress, {
|
|
157
178
|
size: "20px"
|
|
158
179
|
})
|
|
@@ -164,14 +185,17 @@ function LanguagePopover(props) {
|
|
|
164
185
|
onChangeLocale(option);
|
|
165
186
|
handleClose();
|
|
166
187
|
},
|
|
167
|
-
children: [/* @__PURE__ */ jsx(
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
188
|
+
children: [/* @__PURE__ */ jsx(ContainerImage, {
|
|
189
|
+
children: /* @__PURE__ */ jsx(Image, {
|
|
190
|
+
alt: option.name,
|
|
191
|
+
src: option.url_icon,
|
|
192
|
+
ratio: "1:1"
|
|
193
|
+
})
|
|
172
194
|
}), /* @__PURE__ */ jsx(LabelItem, {
|
|
173
195
|
className: classes.labelItem,
|
|
174
|
-
"
|
|
196
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
197
|
+
[TEST_PROP_ID]: getNameDataTestId("labelItem")
|
|
198
|
+
} : {},
|
|
175
199
|
children: option.name
|
|
176
200
|
})]
|
|
177
201
|
}, option.lang || option.script || option.region))
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LANGUAGEPOPOVER_PREFIX = "LanguagePopover";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Dialog, Paper } from "@mui/material";
|
|
2
|
-
import { c as cjs } from "../../react-draggable.
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
2
|
+
import { c as cjs } from "../../react-draggable.1aa81436.js";
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.5c159ed2.js";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import {
|
|
6
|
-
import { R as ResizeableWindow } from "../Resizeable/index.
|
|
5
|
+
import { a as getThemeVariantColor } from "../../utils/index.e199226a.js";
|
|
6
|
+
import { R as ResizeableWindow } from "../Resizeable/index.b5d42efb.js";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
9
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.433cd345.js";
|
|
10
10
|
const WrapperDialog = styled(Dialog)(() => ({}));
|
|
11
11
|
const Container = styled("div")(({ theme }) => ({
|
|
12
12
|
display: "flex",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LNavLink";
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { NavLink as NavLink$1 } from "react-router-dom";
|
|
2
|
+
import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
|
|
3
|
+
import "react";
|
|
4
|
+
import "@m4l/core";
|
|
5
|
+
import "../Icon/index.0f9b360e.js";
|
|
6
|
+
import { T as TEST_PROP_ID } from "../../vendor.a15d263e.js";
|
|
7
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
8
|
+
import "../mui_extended/IconButton/index.be9c2ce5.js";
|
|
9
|
+
import "../mui_extended/Accordion/index.b7487e37.js";
|
|
10
|
+
import "../mui_extended/Avatar/index.fe06afd7.js";
|
|
11
|
+
import "@mui/material/Button";
|
|
12
|
+
import "../mui_extended/Button/index.d9e0ae2e.js";
|
|
13
|
+
import "clsx";
|
|
14
|
+
import "../Image/index.1a9c0327.js";
|
|
15
|
+
import "@mui/lab";
|
|
16
|
+
import { T as Typography } from "../mui_extended/Typography/index.41b60a6b.js";
|
|
17
|
+
import "../mui_extended/Popover/index.260aae81.js";
|
|
18
|
+
import "../mui_extended/MenuActions/index.ec654122.js";
|
|
19
|
+
import "../mui_extended/Pager/index.9e123670.js";
|
|
20
|
+
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
21
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
22
|
+
const componentName = "M4LNavLink";
|
|
23
|
+
generateUtilityClasses(componentName, [
|
|
24
|
+
"root"
|
|
25
|
+
]);
|
|
26
|
+
function getNavLinkClassesUtilityClass(slot) {
|
|
27
|
+
return generateUtilityClass(componentName, slot);
|
|
28
|
+
}
|
|
29
|
+
const useUtilityClasses = () => {
|
|
30
|
+
const slots = {
|
|
31
|
+
root: ["root"]
|
|
32
|
+
};
|
|
33
|
+
const composedClasses = unstable_composeClasses(slots, getNavLinkClassesUtilityClass, {});
|
|
34
|
+
return {
|
|
35
|
+
...composedClasses
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
const NavLinkRoot = styled("div")(({ theme }) => ({
|
|
39
|
+
...theme.components?.M4LNavLink?.styleOverrides
|
|
40
|
+
}));
|
|
41
|
+
const NAVLINK_PREFIX = "Navlink";
|
|
42
|
+
const getNameDataTestId = (KEY) => {
|
|
43
|
+
return `${NAVLINK_PREFIX}-${KEY}`;
|
|
44
|
+
};
|
|
45
|
+
const NavLink = (props) => {
|
|
46
|
+
const {
|
|
47
|
+
children,
|
|
48
|
+
text,
|
|
49
|
+
skeletonWidth,
|
|
50
|
+
skeletongHeight,
|
|
51
|
+
...others
|
|
52
|
+
} = props;
|
|
53
|
+
const classes = useUtilityClasses();
|
|
54
|
+
return /* @__PURE__ */ jsx(NavLinkRoot, {
|
|
55
|
+
className: classes.root,
|
|
56
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
57
|
+
[TEST_PROP_ID]: getNameDataTestId("root")
|
|
58
|
+
} : {},
|
|
59
|
+
children: /* @__PURE__ */ jsxs(NavLink$1, {
|
|
60
|
+
...others,
|
|
61
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
62
|
+
variant: "action",
|
|
63
|
+
skeletonWidth,
|
|
64
|
+
skeletongHeight,
|
|
65
|
+
children: text
|
|
66
|
+
}), /* @__PURE__ */ jsx(Fragment, {
|
|
67
|
+
children
|
|
68
|
+
})]
|
|
69
|
+
})
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
export {
|
|
73
|
+
NavLink as N
|
|
74
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NavLink } from './NavLink';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NAVLINK_PREFIX = "Navlink";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { NavLinkProps as RouterNavLinkProps } from "react-router-dom";
|
|
2
|
+
import { TypographyProps } from "../mui_extended/Typography/types";
|
|
3
|
+
export interface NavLinkProps extends RouterNavLinkProps, Pick<TypographyProps, 'skeletonWidth' | 'skeletongHeight'> {
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
|
-
import { I as Image } from "../Image/index.
|
|
3
|
+
import { I as Image } from "../Image/index.1a9c0327.js";
|
|
4
4
|
import { Skeleton } from "@mui/material";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -62,9 +62,7 @@ function NoItemSelected() {
|
|
|
62
62
|
return /* @__PURE__ */ jsxs(WrapperNoItemSelected, {
|
|
63
63
|
id: "WrapperNoItemSelected",
|
|
64
64
|
children: [/* @__PURE__ */ jsx(Img, {
|
|
65
|
-
src
|
|
66
|
-
width: "100%",
|
|
67
|
-
height: "100%"
|
|
65
|
+
src
|
|
68
66
|
}), /* @__PURE__ */ jsx(Label, {
|
|
69
67
|
children: getLabel("no_item_selected.message")
|
|
70
68
|
})]
|
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
2
2
|
import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
|
-
import { D as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.
|
|
4
|
+
import { D as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.42521a55.js";
|
|
5
5
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
6
6
|
import { Tooltip, IconButton } from "@mui/material";
|
|
7
7
|
import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
|
|
8
8
|
import { R as ReactJson } from "../../react-json-view.57125fcf.js";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
11
|
-
import { I as Icon } from "../Icon/index.
|
|
12
|
-
import "../../react-draggable.
|
|
13
|
-
import "../ModalDialog/index.
|
|
14
|
-
import "../Resizeable/index.
|
|
15
|
-
import "../CommonActions/components/Actions/index.
|
|
10
|
+
import { u as useModal } from "../../hooks/useModal/index.5c159ed2.js";
|
|
11
|
+
import { I as Icon } from "../Icon/index.0f9b360e.js";
|
|
12
|
+
import "../../react-draggable.1aa81436.js";
|
|
13
|
+
import "../ModalDialog/index.3efe049b.js";
|
|
14
|
+
import "../Resizeable/index.b5d42efb.js";
|
|
15
|
+
import "../CommonActions/components/Actions/index.433cd345.js";
|
|
16
16
|
import "@mui/material/Button";
|
|
17
|
-
import "../mui_extended/Button/index.
|
|
17
|
+
import "../mui_extended/Button/index.d9e0ae2e.js";
|
|
18
|
+
import "clsx";
|
|
18
19
|
import "react-hook-form";
|
|
19
|
-
import "../areas/components/index.
|
|
20
|
-
import "../areas/components/AreasAdmin/index.
|
|
21
|
-
import "../mui_extended/IconButton/index.
|
|
20
|
+
import "../areas/components/index.eace295a.js";
|
|
21
|
+
import "../areas/components/AreasAdmin/index.51e28f63.js";
|
|
22
|
+
import "../mui_extended/IconButton/index.be9c2ce5.js";
|
|
22
23
|
import "zustand";
|
|
23
|
-
import "../areas/contexts/AreasContext/index.
|
|
24
|
+
import "../areas/contexts/AreasContext/index.0792a8d1.js";
|
|
24
25
|
import "zustand/shallow";
|
|
25
|
-
import "../areas/components/AreasContainer/index.
|
|
26
|
+
import "../areas/components/AreasContainer/index.1e5e6e91.js";
|
|
26
27
|
import "react-grid-layout/css/styles.css";
|
|
27
|
-
import "../../react-resizable.
|
|
28
|
-
import "../areas/contexts/index.
|
|
28
|
+
import "../../react-resizable.e86cb01e.js";
|
|
29
|
+
import "../areas/contexts/index.2a915acf.js";
|
|
29
30
|
import "../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
30
31
|
import "@mui/lab";
|
|
31
|
-
import "../
|
|
32
|
-
import
|
|
33
|
-
import {
|
|
32
|
+
import "../mui_extended/Typography/index.41b60a6b.js";
|
|
33
|
+
import "../modal/WindowConfirm.c1339cf8.js";
|
|
34
|
+
import { W as WindowBase } from "../modal/WindowBase.59f50553.js";
|
|
35
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.442bda79.js";
|
|
34
36
|
const Container$1 = styled("div")(() => ({
|
|
35
37
|
height: "100%",
|
|
36
38
|
width: "100%",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.0f9b360e.js";
|
|
5
5
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
6
6
|
const WrapperPaper = styled("div")(({
|
|
7
7
|
theme
|
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, Autocomplete, TextField } from "@mui/material";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.0f9b360e.js";
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.433cd345.js";
|
|
6
6
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
7
7
|
import "@mui/material/Button";
|
|
8
|
-
import "../mui_extended/Button/index.
|
|
8
|
+
import "../mui_extended/Button/index.d9e0ae2e.js";
|
|
9
|
+
import "clsx";
|
|
9
10
|
import "react-hook-form";
|
|
10
|
-
import "../../contexts/ModalContext/index.
|
|
11
|
-
import "../../react-draggable.
|
|
12
|
-
import "../ModalDialog/index.
|
|
13
|
-
import "../Resizeable/index.
|
|
11
|
+
import "../../contexts/ModalContext/index.ae8041f3.js";
|
|
12
|
+
import "../../react-draggable.1aa81436.js";
|
|
13
|
+
import "../ModalDialog/index.3efe049b.js";
|
|
14
|
+
import "../Resizeable/index.b5d42efb.js";
|
|
14
15
|
import "@m4l/graphics";
|
|
15
|
-
import "../modal/WindowConfirm.
|
|
16
|
-
import "
|
|
17
|
-
import "../
|
|
18
|
-
import "../areas/components/index.
|
|
19
|
-
import "../
|
|
20
|
-
import "../mui_extended/IconButton/index.afa201a7.js";
|
|
16
|
+
import "../modal/WindowConfirm.c1339cf8.js";
|
|
17
|
+
import "../modal/WindowBase.59f50553.js";
|
|
18
|
+
import "../areas/components/index.eace295a.js";
|
|
19
|
+
import "../areas/components/AreasAdmin/index.51e28f63.js";
|
|
20
|
+
import "../mui_extended/IconButton/index.be9c2ce5.js";
|
|
21
21
|
import "zustand";
|
|
22
|
-
import "../areas/contexts/AreasContext/index.
|
|
22
|
+
import "../areas/contexts/AreasContext/index.0792a8d1.js";
|
|
23
23
|
import "zustand/shallow";
|
|
24
|
-
import "../areas/components/AreasContainer/index.
|
|
24
|
+
import "../areas/components/AreasContainer/index.1e5e6e91.js";
|
|
25
25
|
import "react-grid-layout/css/styles.css";
|
|
26
|
-
import "../../react-resizable.
|
|
27
|
-
import "../areas/contexts/index.
|
|
26
|
+
import "../../react-resizable.e86cb01e.js";
|
|
27
|
+
import "../areas/contexts/index.2a915acf.js";
|
|
28
28
|
import "../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
29
29
|
import "@mui/lab";
|
|
30
|
+
import "../mui_extended/Typography/index.41b60a6b.js";
|
|
30
31
|
const ContainerPeriod = styled("div")(({
|
|
31
32
|
theme,
|
|
32
33
|
error,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
|
-
import { R as ResizableBox } from "../../react-resizable.
|
|
2
|
+
import { R as ResizableBox } from "../../react-resizable.e86cb01e.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
const WrapperResizeable = styled(ResizableBox)(({
|
|
5
5
|
theme
|
|
@@ -17,7 +17,7 @@ const RootStyle = styled("div")(() => ({
|
|
|
17
17
|
const SimpleBarStyle = styled(SimpleBarReact)(({
|
|
18
18
|
theme
|
|
19
19
|
}) => ({
|
|
20
|
-
|
|
20
|
+
height: "100%",
|
|
21
21
|
"& .simplebar-scrollbar": {
|
|
22
22
|
"&:before": {
|
|
23
23
|
backgroundColor: alpha(theme.palette.grey[600], 0.48)
|
|
@@ -34,6 +34,10 @@ const SimpleBarStyle = styled(SimpleBarReact)(({
|
|
|
34
34
|
},
|
|
35
35
|
"& .simplebar-mask": {
|
|
36
36
|
zIndex: "inherit"
|
|
37
|
+
},
|
|
38
|
+
"& .simplebar-content": {
|
|
39
|
+
display: "flex",
|
|
40
|
+
height: "100%"
|
|
37
41
|
}
|
|
38
42
|
}));
|
|
39
43
|
function ScrollBar({
|
|
@@ -44,7 +48,8 @@ function ScrollBar({
|
|
|
44
48
|
if (isMobile) {
|
|
45
49
|
return /* @__PURE__ */ jsx(Box, {
|
|
46
50
|
sx: {
|
|
47
|
-
overflowX: "auto"
|
|
51
|
+
overflowX: "auto",
|
|
52
|
+
width: "100%"
|
|
48
53
|
},
|
|
49
54
|
children
|
|
50
55
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LSideBar";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { SideBarClassesType } from './types';
|
|
2
|
+
import { SideBarState } from '../types';
|
|
3
|
+
export declare const SideBarClasses: SideBarClassesType;
|
|
4
|
+
export declare const getSideBarClassesByState: (ownerState: SideBarState) => {
|
|
5
|
+
root: string;
|
|
6
|
+
drawer: string;
|
|
7
|
+
containerSideBarLogo: string;
|
|
8
|
+
contentDesktop: string;
|
|
9
|
+
contentMobile: string;
|
|
10
|
+
collapseButton: string;
|
|
11
|
+
containerLogo: string;
|
|
12
|
+
contentGroups: string;
|
|
13
|
+
wrapperGroup: string;
|
|
14
|
+
wrapperGroupTitle: string;
|
|
15
|
+
itemListMainRoot: string;
|
|
16
|
+
containerListSubItem: string;
|
|
17
|
+
navItemMainRoot: string;
|
|
18
|
+
navItemRootContent: string;
|
|
19
|
+
arrowIconRoot: string;
|
|
20
|
+
navListSubItemRoot: string;
|
|
21
|
+
navSubItemContentRoot: string;
|
|
22
|
+
skeleton: string;
|
|
23
|
+
subItemActive: string;
|
|
24
|
+
lineLeft: string;
|
|
25
|
+
wrapperSideBar: string;
|
|
26
|
+
containerLogoButton: string;
|
|
27
|
+
itemMainActive: string;
|
|
28
|
+
navItemMainTriangleTop: string;
|
|
29
|
+
navItemMainTriangleBottom: string;
|
|
30
|
+
navItemRootContentIconTypo: string;
|
|
31
|
+
navSubItemContentBullet: string;
|
|
32
|
+
containerLogoButtonLogo: string;
|
|
33
|
+
containerLogoButtonIcon: string;
|
|
34
|
+
collapseButtontriangleTop: string;
|
|
35
|
+
collapseButtontriangleBottom: string;
|
|
36
|
+
popover: string;
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export interface SideBarClassesType {
|
|
2
|
+
root: string;
|
|
3
|
+
contentDesktop: string;
|
|
4
|
+
contentMobile: string;
|
|
5
|
+
collapseButton: string;
|
|
6
|
+
containerSideBarLogo: string;
|
|
7
|
+
containerLogo: string;
|
|
8
|
+
contentGroups: string;
|
|
9
|
+
wrapperGroup: string;
|
|
10
|
+
wrapperGroupTitle: string;
|
|
11
|
+
itemListMainRoot: string;
|
|
12
|
+
containerListSubItem: string;
|
|
13
|
+
navItemMainRoot: string;
|
|
14
|
+
navItemRootContent: string;
|
|
15
|
+
arrowIconRoot: string;
|
|
16
|
+
navListSubItemRoot: string;
|
|
17
|
+
navSubItemContentRoot: string;
|
|
18
|
+
skeleton: string;
|
|
19
|
+
lineLeft: string;
|
|
20
|
+
wrapperSideBar: string;
|
|
21
|
+
containerLogoButton: string;
|
|
22
|
+
navItemMainTriangleTop: string;
|
|
23
|
+
navItemMainTriangleBottom: string;
|
|
24
|
+
navItemRootContentIconTypo: string;
|
|
25
|
+
navSubItemContentBullet: string;
|
|
26
|
+
containerLogoButtonLogo: string;
|
|
27
|
+
containerLogoButtonIcon: string;
|
|
28
|
+
collapseButtontriangleTop: string;
|
|
29
|
+
collapseButtontriangleBottom: string;
|
|
30
|
+
drawer: string;
|
|
31
|
+
popover: string;
|
|
32
|
+
collapsed: string;
|
|
33
|
+
visible: string;
|
|
34
|
+
subItemActive: string;
|
|
35
|
+
itemMainActive: string;
|
|
36
|
+
}
|
|
37
|
+
export declare type SideBarClassesKey = keyof SideBarClassesType;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SideBarProviderProps, SideBarProviderValue } from './types';
|
|
3
|
+
declare const SideBarContext: import("react").Context<SideBarProviderValue>;
|
|
4
|
+
declare const SideBarProvider: (props: SideBarProviderProps) => JSX.Element;
|
|
5
|
+
export { SideBarProvider, SideBarContext };
|