@applica-software-guru/react-admin 1.1.94 → 1.1.95
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/dist/components/AuthWrapper.d.ts.map +1 -1
- package/dist/components/Layout/Content.d.ts +5 -0
- package/dist/components/Layout/Content.d.ts.map +1 -0
- package/dist/components/Layout/Drawer/Drawer.d.ts +8 -0
- package/dist/components/Layout/Drawer/Drawer.d.ts.map +1 -0
- package/dist/components/Layout/Drawer/DrawerHeader.d.ts +8 -0
- package/dist/components/Layout/Drawer/DrawerHeader.d.ts.map +1 -0
- package/dist/components/Layout/Drawer/DrawerHeaderStyled.d.ts +4 -0
- package/dist/components/Layout/Drawer/DrawerHeaderStyled.d.ts.map +1 -0
- package/dist/components/Layout/Drawer/index.d.ts +3 -18
- package/dist/components/Layout/Drawer/index.d.ts.map +1 -1
- package/dist/components/Layout/Footer.d.ts +11 -10
- package/dist/components/Layout/Footer.d.ts.map +1 -1
- package/dist/components/Layout/Header/DrawerToggle.d.ts +3 -0
- package/dist/components/Layout/Header/DrawerToggle.d.ts.map +1 -0
- package/dist/components/Layout/Header/Header.d.ts +8 -0
- package/dist/components/Layout/Header/Header.d.ts.map +1 -0
- package/dist/components/Layout/Header/Notification/Notification.d.ts +3 -0
- package/dist/components/Layout/Header/Notification/Notification.d.ts.map +1 -0
- package/dist/components/Layout/Header/Notification/NotificationItem.d.ts +19 -0
- package/dist/components/Layout/Header/Notification/NotificationItem.d.ts.map +1 -0
- package/dist/components/Layout/Header/Notification/index.d.ts +2 -0
- package/dist/components/Layout/Header/Notification/index.d.ts.map +1 -0
- package/dist/components/Layout/Header/Profile/Profile.d.ts.map +1 -0
- package/dist/components/Layout/Header/Profile/buttons/ChangePasswordButton.d.ts.map +1 -0
- package/dist/components/Layout/Header/Profile/buttons/LogoutButton.d.ts.map +1 -0
- package/dist/components/Layout/Header/Profile/buttons/StopImpersonateButton.d.ts.map +1 -0
- package/dist/components/Layout/Header/Profile/buttons/index.d.ts.map +1 -0
- package/dist/components/Layout/Header/Profile/index.d.ts +2 -0
- package/dist/components/Layout/Header/Profile/index.d.ts.map +1 -0
- package/dist/components/Layout/Header/ResponsiveSection.d.ts +5 -0
- package/dist/components/Layout/Header/ResponsiveSection.d.ts.map +1 -0
- package/dist/components/Layout/Header/Spacer.d.ts +5 -0
- package/dist/components/Layout/Header/Spacer.d.ts.map +1 -0
- package/dist/components/Layout/Header/index.d.ts +7 -20
- package/dist/components/Layout/Header/index.d.ts.map +1 -1
- package/dist/components/Layout/HorizontalBar.d.ts +5 -0
- package/dist/components/Layout/HorizontalBar.d.ts.map +1 -0
- package/dist/components/Layout/Layout.d.ts +19 -0
- package/dist/components/Layout/Layout.d.ts.map +1 -0
- package/dist/components/Layout/NavMenu.d.ts +5 -0
- package/dist/components/Layout/NavMenu.d.ts.map +1 -0
- package/dist/components/Layout/Navigation/NavCollapse.d.ts.map +1 -0
- package/dist/components/Layout/{Drawer/DrawerContent/Navigation → Navigation}/NavGroup.d.ts +2 -3
- package/dist/components/Layout/Navigation/NavGroup.d.ts.map +1 -0
- package/dist/components/Layout/Navigation/NavItem.d.ts.map +1 -0
- package/dist/components/Layout/Navigation/Navigation.d.ts +7 -0
- package/dist/components/Layout/Navigation/Navigation.d.ts.map +1 -0
- package/dist/components/Layout/Navigation/index.d.ts +2 -0
- package/dist/components/Layout/Navigation/index.d.ts.map +1 -0
- package/dist/components/Layout/Provider.d.ts +84 -0
- package/dist/components/Layout/Provider.d.ts.map +1 -0
- package/dist/components/Layout/Wrapper.d.ts +6 -0
- package/dist/components/Layout/Wrapper.d.ts.map +1 -0
- package/dist/components/Layout/index.d.ts +10 -22
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/mui.d.ts +7 -0
- package/dist/hooks/mui.d.ts.map +1 -0
- package/dist/hooks/useRefDimensions.d.ts +13 -0
- package/dist/hooks/useRefDimensions.d.ts.map +1 -0
- package/dist/react-admin.cjs.js +101 -92
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +23437 -20902
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +102 -93
- package/dist/react-admin.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/AuthWrapper.jsx +1 -1
- package/src/components/Layout/Content.tsx +30 -0
- package/src/components/Layout/Drawer/Drawer.tsx +61 -0
- package/src/components/Layout/Drawer/DrawerHeader.tsx +31 -0
- package/src/components/Layout/Drawer/{DrawerHeader/DrawerHeaderStyled.jsx → DrawerHeaderStyled.jsx} +1 -1
- package/src/components/Layout/Drawer/index.ts +3 -0
- package/src/components/Layout/Footer.tsx +26 -0
- package/src/components/Layout/Header/DrawerToggle.tsx +28 -0
- package/src/components/Layout/Header/Header.tsx +43 -0
- package/src/components/Layout/Header/{HeaderContent/Notification.jsx → Notification/Notification.tsx} +60 -54
- package/src/components/Layout/Header/Notification/NotificationItem.tsx +85 -0
- package/src/components/Layout/Header/Notification/index.ts +1 -0
- package/src/components/Layout/Header/{HeaderContent → Profile}/Profile.jsx +15 -3
- package/src/components/Layout/Header/Profile/index.ts +1 -0
- package/src/components/Layout/Header/{HeaderContent/MobileSection.jsx → ResponsiveSection.tsx} +31 -38
- package/src/components/Layout/Header/Spacer.tsx +9 -0
- package/src/components/Layout/Header/index.ts +7 -0
- package/src/components/Layout/HorizontalBar.tsx +39 -0
- package/src/components/Layout/Layout.tsx +60 -0
- package/src/components/Layout/NavMenu.tsx +12 -0
- package/src/components/Layout/{Drawer/DrawerContent/Navigation → Navigation}/NavCollapse.jsx +7 -8
- package/src/components/Layout/{Drawer/DrawerContent/Navigation → Navigation}/NavGroup.jsx +8 -19
- package/src/components/Layout/{Drawer/DrawerContent/Navigation → Navigation}/NavItem.jsx +7 -8
- package/src/components/Layout/Navigation/Navigation.tsx +76 -0
- package/src/components/Layout/Navigation/index.ts +1 -0
- package/src/components/Layout/Provider.tsx +290 -0
- package/src/components/Layout/Wrapper.tsx +16 -0
- package/src/components/Layout/index.ts +10 -0
- package/src/hooks/index.jsx +2 -0
- package/src/hooks/mui.ts +21 -0
- package/src/hooks/useRefDimensions.ts +61 -0
- package/dist/components/Layout/Drawer/DrawerContent/Navigation/NavCollapse.d.ts.map +0 -1
- package/dist/components/Layout/Drawer/DrawerContent/Navigation/NavGroup.d.ts.map +0 -1
- package/dist/components/Layout/Drawer/DrawerContent/Navigation/NavItem.d.ts.map +0 -1
- package/dist/components/Layout/Drawer/DrawerContent/Navigation/index.d.ts +0 -3
- package/dist/components/Layout/Drawer/DrawerContent/Navigation/index.d.ts.map +0 -1
- package/dist/components/Layout/Drawer/DrawerContent/index.d.ts +0 -3
- package/dist/components/Layout/Drawer/DrawerContent/index.d.ts.map +0 -1
- package/dist/components/Layout/Drawer/DrawerHeader/DrawerHeaderStyled.d.ts +0 -5
- package/dist/components/Layout/Drawer/DrawerHeader/DrawerHeaderStyled.d.ts.map +0 -1
- package/dist/components/Layout/Drawer/DrawerHeader/index.d.ts +0 -15
- package/dist/components/Layout/Drawer/DrawerHeader/index.d.ts.map +0 -1
- package/dist/components/Layout/Drawer/HorizontalBar.d.ts +0 -3
- package/dist/components/Layout/Drawer/HorizontalBar.d.ts.map +0 -1
- package/dist/components/Layout/Header/HeaderContent/MobileSection.d.ts +0 -3
- package/dist/components/Layout/Header/HeaderContent/MobileSection.d.ts.map +0 -1
- package/dist/components/Layout/Header/HeaderContent/Notification.d.ts +0 -16
- package/dist/components/Layout/Header/HeaderContent/Notification.d.ts.map +0 -1
- package/dist/components/Layout/Header/HeaderContent/NotificationItem.d.ts +0 -31
- package/dist/components/Layout/Header/HeaderContent/NotificationItem.d.ts.map +0 -1
- package/dist/components/Layout/Header/HeaderContent/Profile.d.ts.map +0 -1
- package/dist/components/Layout/Header/HeaderContent/buttons/ChangePasswordButton.d.ts.map +0 -1
- package/dist/components/Layout/Header/HeaderContent/buttons/LogoutButton.d.ts.map +0 -1
- package/dist/components/Layout/Header/HeaderContent/buttons/StopImpersonateButton.d.ts.map +0 -1
- package/dist/components/Layout/Header/HeaderContent/buttons/index.d.ts.map +0 -1
- package/dist/components/Layout/Header/HeaderContent/index.d.ts +0 -17
- package/dist/components/Layout/Header/HeaderContent/index.d.ts.map +0 -1
- package/src/components/Layout/Drawer/DrawerContent/Navigation/index.jsx +0 -73
- package/src/components/Layout/Drawer/DrawerContent/index.jsx +0 -19
- package/src/components/Layout/Drawer/DrawerHeader/index.jsx +0 -39
- package/src/components/Layout/Drawer/HorizontalBar.jsx +0 -55
- package/src/components/Layout/Drawer/index.jsx +0 -60
- package/src/components/Layout/Footer.jsx +0 -18
- package/src/components/Layout/Header/HeaderContent/NotificationItem.jsx +0 -97
- package/src/components/Layout/Header/HeaderContent/index.jsx +0 -36
- package/src/components/Layout/Header/index.jsx +0 -81
- package/src/components/Layout/index.jsx +0 -114
- /package/dist/components/Layout/Header/{HeaderContent → Profile}/Profile.d.ts +0 -0
- /package/dist/components/Layout/Header/{HeaderContent → Profile}/buttons/ChangePasswordButton.d.ts +0 -0
- /package/dist/components/Layout/Header/{HeaderContent → Profile}/buttons/LogoutButton.d.ts +0 -0
- /package/dist/components/Layout/Header/{HeaderContent → Profile}/buttons/StopImpersonateButton.d.ts +0 -0
- /package/dist/components/Layout/Header/{HeaderContent → Profile}/buttons/index.d.ts +0 -0
- /package/dist/components/Layout/{Drawer/DrawerContent/Navigation → Navigation}/NavCollapse.d.ts +0 -0
- /package/dist/components/Layout/{Drawer/DrawerContent/Navigation → Navigation}/NavItem.d.ts +0 -0
- /package/src/components/Layout/Header/{HeaderContent → Profile}/buttons/ChangePasswordButton.tsx +0 -0
- /package/src/components/Layout/Header/{HeaderContent → Profile}/buttons/LogoutButton.tsx +0 -0
- /package/src/components/Layout/Header/{HeaderContent → Profile}/buttons/StopImpersonateButton.tsx +0 -0
- /package/src/components/Layout/Header/{HeaderContent → Profile}/buttons/index.jsx +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AuthWrapper.jsx"],"names":[],"mappings":";AASA;;;;;4CAmCC;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"AuthWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AuthWrapper.jsx"],"names":[],"mappings":";AASA;;;;;4CAmCC;;;;;;;;;sBAvCqB,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Content.tsx"],"names":[],"mappings":";AAIA,KAAK,mBAAmB,GAAG,KAAK,CAAC,iBAAiB,CAAC;AAEnD,iBAAS,aAAa,CAAC,KAAK,EAAE,mBAAmB,2CAqBhD;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
type IDrawerProps = React.PropsWithChildren<{
|
|
4
|
+
sx?: SxProps;
|
|
5
|
+
}>;
|
|
6
|
+
declare function Drawer(props: IDrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { Drawer };
|
|
8
|
+
//# sourceMappingURL=Drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Drawer/Drawer.tsx"],"names":[],"mappings":";AACA,OAAO,EAA4B,OAAO,EAAY,MAAM,eAAe,CAAC;AAO5E,KAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC1C,EAAE,CAAC,EAAE,OAAO,CAAC;CACd,CAAC,CAAC;AAEH,iBAAS,MAAM,CAAC,KAAK,EAAE,YAAY,2CA8ClC;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
type IDrawerHeaderType = React.PropsWithChildren<{
|
|
4
|
+
sx?: SxProps;
|
|
5
|
+
}>;
|
|
6
|
+
declare function DrawerHeader(props: IDrawerHeaderType): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { DrawerHeader };
|
|
8
|
+
//# sourceMappingURL=DrawerHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Drawer/DrawerHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAY,MAAM,eAAe,CAAC;AAMlD,KAAK,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC/C,EAAE,CAAC,EAAE,OAAO,CAAC;CACd,CAAC,CAAC;AAEH,iBAAS,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAkB7C;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export const DrawerHeaderStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
4
|
+
//# sourceMappingURL=DrawerHeaderStyled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerHeaderStyled.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Drawer/DrawerHeaderStyled.jsx"],"names":[],"mappings":"AAIA;;gKAMI"}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
handleDrawerToggle: any;
|
|
5
|
-
window: any;
|
|
6
|
-
logoMain: any;
|
|
7
|
-
logoIcon: any;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare namespace MainDrawer {
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
const open: PropTypes.Requireable<boolean>;
|
|
12
|
-
const window: PropTypes.Requireable<object>;
|
|
13
|
-
const handleDrawerToggle: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
|
-
const logoMain: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
15
|
-
const logoIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
import PropTypes from 'prop-types';
|
|
1
|
+
export * from './Drawer';
|
|
2
|
+
export * from './DrawerHeader';
|
|
3
|
+
export * from './DrawerHeaderStyled';
|
|
19
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Drawer/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Drawer/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
name:
|
|
4
|
-
version:
|
|
5
|
-
}
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
type IFooterProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
version: string;
|
|
5
|
+
};
|
|
6
|
+
declare function Footer(props: IFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
declare namespace Footer {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
8
|
+
var propTypes: {
|
|
9
|
+
name: PropTypes.Validator<string>;
|
|
10
|
+
version: PropTypes.Validator<string>;
|
|
11
|
+
};
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
+
export { Footer };
|
|
13
14
|
//# sourceMappingURL=Footer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Footer.
|
|
1
|
+
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Footer.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,iBAAS,MAAM,CAAC,KAAK,EAAE,YAAY,2CASlC;kBATQ,MAAM;;;;;;AAgBf,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerToggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Header/DrawerToggle.tsx"],"names":[],"mappings":"AAIA,iBAAS,YAAY,4CAqBpB;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
type IHeaderProps = React.PropsWithChildren<{
|
|
4
|
+
sx?: SxProps;
|
|
5
|
+
}>;
|
|
6
|
+
declare function Header(props: IHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { Header };
|
|
8
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Header/Header.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAA6B,MAAM,eAAe,CAAC;AAMnE,KAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAAE,EAAE,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAC9D,iBAAS,MAAM,CAAC,KAAK,EAAE,YAAY,2CA+BlC;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Notification/Notification.tsx"],"names":[],"mappings":"AAyBA,iBAAS,kBAAkB,mDAI1B;AAsID,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import dayjs from 'dayjs';
|
|
2
|
+
type INotification = {
|
|
3
|
+
id: string;
|
|
4
|
+
readed: number | null;
|
|
5
|
+
resource: string;
|
|
6
|
+
created: string | number | dayjs.Dayjs | Date | null | undefined;
|
|
7
|
+
title: string;
|
|
8
|
+
content: string;
|
|
9
|
+
};
|
|
10
|
+
type IHeaderNotificationItemProps = {
|
|
11
|
+
selected: boolean;
|
|
12
|
+
notification: INotification;
|
|
13
|
+
onClick: () => void;
|
|
14
|
+
divider?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare function HeaderNotificationItem(props: IHeaderNotificationItemProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export type { INotification };
|
|
18
|
+
export { HeaderNotificationItem };
|
|
19
|
+
//# sourceMappingURL=NotificationItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Notification/NotificationItem.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,aAAa,GAAG;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,aAAa,CAAC;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AACF,iBAAS,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,2CA0DlE;AAED,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Notification/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Profile/Profile.jsx"],"names":[],"mappings":";AAqCA,oEAwIC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChangePasswordButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Layout/Header/Profile/buttons/ChangePasswordButton.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,oBAAoB,+CAkBzB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoutButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Layout/Header/Profile/buttons/LogoutButton.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,YAAY,+CAcjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StopImpersonateButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Layout/Header/Profile/buttons/StopImpersonateButton.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,qBAAqB,sDA8B1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Layout/Header/Profile/buttons/index.jsx"],"names":[],"mappings":"iCAAiC,wBAAwB;yBAChC,gBAAgB;kCACP,yBAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Profile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type IResponsiveSectionProps = React.PropsWithChildren;
|
|
3
|
+
declare const ResponsiveSection: (props: IResponsiveSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { ResponsiveSection };
|
|
5
|
+
//# sourceMappingURL=ResponsiveSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResponsiveSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Header/ResponsiveSection.tsx"],"names":[],"mappings":";AAOA,KAAK,uBAAuB,GAAG,KAAK,CAAC,iBAAiB,CAAC;AAEvD,QAAA,MAAM,iBAAiB,UAAW,uBAAuB,4CAwExD,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spacer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Header/Spacer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,KAAK,kBAAkB,GAAG,QAAQ,CAAC;AAEnC,iBAAS,YAAY,CAAC,KAAK,EAAE,kBAAkB,2CAE9C;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,21 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
enableNotification: any;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare namespace Header {
|
|
11
|
-
namespace propTypes {
|
|
12
|
-
const open: PropTypes.Requireable<boolean>;
|
|
13
|
-
const handleDrawerToggle: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
|
-
const logoMain: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
15
|
-
const logoIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
16
|
-
const notification: PropTypes.Requireable<string>;
|
|
17
|
-
const enableNotification: PropTypes.Requireable<boolean>;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
import PropTypes from 'prop-types';
|
|
1
|
+
export * from './AppBarStyled';
|
|
2
|
+
export * from './DrawerToggle';
|
|
3
|
+
export * from './Header';
|
|
4
|
+
export * from './Notification';
|
|
5
|
+
export * from './Profile';
|
|
6
|
+
export * from './ResponsiveSection';
|
|
7
|
+
export * from './Spacer';
|
|
21
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Header/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Header/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalBar.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/HorizontalBar.tsx"],"names":[],"mappings":";AAGA,KAAK,mBAAmB,GAAG,KAAK,CAAC,iBAAiB,CAAC;AAEnD,iBAAS,aAAa,CAAC,KAAK,EAAE,mBAAmB,2CA+BhD;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type ILayoutProps = React.PropsWithChildren<{
|
|
3
|
+
name: string;
|
|
4
|
+
version: string;
|
|
5
|
+
}>;
|
|
6
|
+
declare const Layout: import("react").ForwardRefExoticComponent<{
|
|
7
|
+
name: string;
|
|
8
|
+
version: string;
|
|
9
|
+
} & {
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & {
|
|
12
|
+
logoMain?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
13
|
+
logoIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
14
|
+
enableNotification: boolean;
|
|
15
|
+
notification?: string | undefined;
|
|
16
|
+
} & import("react").RefAttributes<unknown>>;
|
|
17
|
+
export type { ILayoutProps };
|
|
18
|
+
export { Layout };
|
|
19
|
+
//# sourceMappingURL=Layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":";AAYA,KAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC,CAAC;AAEH,QAAA,MAAM,MAAM;UAJJ,MAAM;aACH,MAAM;;;;;;;;2CAyCf,CAAC;AAEH,YAAY,EAAE,YAAY,EAAE,CAAC;AAE7B,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/NavMenu.tsx"],"names":[],"mappings":";AAIA,KAAK,aAAa,GAAG,KAAK,CAAC,iBAAiB,CAAC;AAE7C,iBAAS,OAAO,CAAC,KAAK,EAAE,aAAa,2CAGpC;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavCollapse.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Navigation/NavCollapse.jsx"],"names":[],"mappings":";AA2CA;;;;;;;;4CA4WC;;;;;;;;;;;;sBAnYqB,YAAY"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
declare function NavGroup({ item, lastItem, remItems, lastItemId, setSelectedItems, selectedItems, setSelectedLevel, selectedLevel }: {
|
|
1
|
+
export function NavGroup({ item, lastItem, remItems, lastItemId, setSelectedItems, selectedItems, setSelectedLevel, selectedLevel }: {
|
|
3
2
|
item: any;
|
|
4
3
|
lastItem: any;
|
|
5
4
|
remItems: any;
|
|
@@ -9,7 +8,7 @@ declare function NavGroup({ item, lastItem, remItems, lastItemId, setSelectedIte
|
|
|
9
8
|
setSelectedLevel: any;
|
|
10
9
|
selectedLevel: any;
|
|
11
10
|
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
|
|
11
|
+
export namespace NavGroup {
|
|
13
12
|
namespace propTypes {
|
|
14
13
|
const item: PropTypes.Requireable<object>;
|
|
15
14
|
const lastItem: PropTypes.Requireable<number>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Navigation/NavGroup.jsx"],"names":[],"mappings":"AAiCA;;;;;;;;;4CAwRC;;;;;;;;;;;;;sBAjTqB,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Navigation/NavItem.jsx"],"names":[],"mappings":";AAUA;;;4CAgOC;;;;;;;sBApOqB,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Navigation/Navigation.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,OAAO,EAAc,MAAM,eAAe,CAAC;AAKzD,KAAK,gBAAgB,GAAG;IACtB,EAAE,CAAC,EAAE,OAAO,CAAC;CACd,CAAC;AAIF,iBAAS,UAAU,CAAC,KAAK,EAAE,gBAAgB,2CA4D1C;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Navigation/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare enum LayoutActionType {
|
|
3
|
+
UPDATE_MEDIA = "updateMedia",
|
|
4
|
+
UPDATE_DRAWER = "updateDrawer",
|
|
5
|
+
UPDATE_LOGO = "updateLogo",
|
|
6
|
+
UPDATE_NOTIFICATIONS = "updateNotifications",
|
|
7
|
+
UPDATE_THEME = "updateTheme"
|
|
8
|
+
}
|
|
9
|
+
type ILayoutProviderProps = React.PropsWithChildren<{
|
|
10
|
+
logoMain?: React.ReactElement;
|
|
11
|
+
logoIcon?: React.ReactElement;
|
|
12
|
+
enableNotification: boolean;
|
|
13
|
+
notification?: string;
|
|
14
|
+
}>;
|
|
15
|
+
type ILayoutMediaState = {
|
|
16
|
+
downMd: boolean;
|
|
17
|
+
downLg: boolean;
|
|
18
|
+
downXl: boolean;
|
|
19
|
+
horizontal: boolean;
|
|
20
|
+
};
|
|
21
|
+
type ILayoutDrawerState = {
|
|
22
|
+
open: boolean;
|
|
23
|
+
width: number;
|
|
24
|
+
handleDrawerToggle: () => void;
|
|
25
|
+
};
|
|
26
|
+
type ILayoutLogoState = {
|
|
27
|
+
icon?: React.ReactElement;
|
|
28
|
+
main?: React.ReactElement;
|
|
29
|
+
};
|
|
30
|
+
type ILayoutNotificationState = {
|
|
31
|
+
enable: boolean;
|
|
32
|
+
resource: string;
|
|
33
|
+
};
|
|
34
|
+
type ILayoutThemeState = {
|
|
35
|
+
iconColorOpen: string;
|
|
36
|
+
iconColor: string;
|
|
37
|
+
};
|
|
38
|
+
type ILayoutState = {
|
|
39
|
+
drawer: ILayoutDrawerState;
|
|
40
|
+
media: ILayoutMediaState;
|
|
41
|
+
logo: ILayoutLogoState;
|
|
42
|
+
notifications: ILayoutNotificationState;
|
|
43
|
+
theme: ILayoutThemeState;
|
|
44
|
+
};
|
|
45
|
+
type ILayoutAction = {
|
|
46
|
+
type: LayoutActionType.UPDATE_MEDIA;
|
|
47
|
+
payload: Partial<ILayoutMediaState>;
|
|
48
|
+
} | {
|
|
49
|
+
type: LayoutActionType.UPDATE_DRAWER;
|
|
50
|
+
payload: Partial<ILayoutDrawerState>;
|
|
51
|
+
} | {
|
|
52
|
+
type: LayoutActionType.UPDATE_LOGO;
|
|
53
|
+
payload: Partial<ILayoutLogoState>;
|
|
54
|
+
} | {
|
|
55
|
+
type: LayoutActionType.UPDATE_NOTIFICATIONS;
|
|
56
|
+
payload: Partial<ILayoutNotificationState>;
|
|
57
|
+
} | {
|
|
58
|
+
type: LayoutActionType.UPDATE_THEME;
|
|
59
|
+
payload: Partial<ILayoutThemeState>;
|
|
60
|
+
};
|
|
61
|
+
type ILayoutContext = {
|
|
62
|
+
state: ILayoutState;
|
|
63
|
+
dispatch: React.Dispatch<ILayoutAction>;
|
|
64
|
+
};
|
|
65
|
+
declare function LayoutProvider(props: ILayoutProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
declare function withLayoutProvider<P, T>(Component: React.ComponentType<P>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P & {
|
|
67
|
+
logoMain?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
68
|
+
logoIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
69
|
+
enableNotification: boolean;
|
|
70
|
+
notification?: string | undefined;
|
|
71
|
+
} & {
|
|
72
|
+
children?: import("react").ReactNode;
|
|
73
|
+
}> & import("react").RefAttributes<T>>;
|
|
74
|
+
declare function useLayoutContext(): ILayoutContext;
|
|
75
|
+
declare function useLayoutDispatch(): React.Dispatch<ILayoutAction>;
|
|
76
|
+
declare function useLayoutState(): ILayoutState;
|
|
77
|
+
declare function useLayoutMediaState(): ILayoutMediaState;
|
|
78
|
+
declare function useLayoutDrawerState(): ILayoutDrawerState;
|
|
79
|
+
declare function useLayoutLogoState(): ILayoutLogoState;
|
|
80
|
+
declare function useLayoutNotificationsState(): ILayoutNotificationState;
|
|
81
|
+
declare function useLayoutThemeState(): ILayoutThemeState;
|
|
82
|
+
export type { ILayoutProviderProps };
|
|
83
|
+
export { LayoutProvider, withLayoutProvider, useLayoutContext, useLayoutDispatch, useLayoutDrawerState, useLayoutLogoState, useLayoutMediaState, useLayoutNotificationsState, useLayoutState, useLayoutThemeState };
|
|
84
|
+
//# sourceMappingURL=Provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Provider.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BoxProps } from '@mui/material';
|
|
3
|
+
type ILayoutWrapperProps = BoxProps;
|
|
4
|
+
declare const LayoutWrapper: import("react").ForwardRefExoticComponent<Omit<ILayoutWrapperProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
5
|
+
export { LayoutWrapper };
|
|
6
|
+
//# sourceMappingURL=Wrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Wrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAO,QAAQ,EAAE,MAAM,eAAe,CAAC;AAI9C,KAAK,mBAAmB,GAAG,QAAQ,CAAC;AACpC,QAAA,MAAM,aAAa,0HAQjB,CAAC;AAEH,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
export default Layout;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
declare namespace Layout {
|
|
12
|
-
namespace propTypes {
|
|
13
|
-
const name: PropTypes.Requireable<string>;
|
|
14
|
-
const version: PropTypes.Requireable<string>;
|
|
15
|
-
const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
16
|
-
const logoMain: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
17
|
-
const logoIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
18
|
-
const notification: PropTypes.Requireable<string>;
|
|
19
|
-
const enableNotification: PropTypes.Requireable<boolean>;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
import PropTypes from 'prop-types';
|
|
1
|
+
export { Layout as default, type ILayoutProps } from './Layout';
|
|
2
|
+
export * from './Content';
|
|
3
|
+
export * from './Footer';
|
|
4
|
+
export * from './Drawer';
|
|
5
|
+
export * from './Header';
|
|
6
|
+
export * from './HorizontalBar';
|
|
7
|
+
export * from './Navigation';
|
|
8
|
+
export * from './NavMenu';
|
|
9
|
+
export * from './Provider';
|
|
10
|
+
export * from './Wrapper';
|
|
23
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAChE,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC"}
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.jsx"],"names":[],"mappings":"yBAAyB,gBAAgB;oBAGrB,WAAW;2BAFJ,kBAAkB;4BACjB,mBAAmB;2BAIpB,kBAAkB;6BADhB,oBAAoB;0BADvB,iBAAiB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.jsx"],"names":[],"mappings":";;yBAAyB,gBAAgB;oBAGrB,WAAW;2BAFJ,kBAAkB;4BACjB,mBAAmB;2BAIpB,kBAAkB;6BADhB,oBAAoB;0BADvB,iBAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mui.d.ts","sourceRoot":"","sources":["../../../src/hooks/mui.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,cAAc,EAAuB,MAAM,OAAO,CAAC;AAE5D,iBAAS,KAAK,CAAC,KAAK,EAAE,cAAc,CAAC;IAAE,EAAE,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,GAAG,CAAC,EAAE,EAAE,EAAE,OAAO,GAAG,OAAO,CAclF;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
declare enum DimensionType {
|
|
3
|
+
CLIENT = "client",
|
|
4
|
+
OFFSET = "offset",
|
|
5
|
+
SCROLL = "scroll",
|
|
6
|
+
BOUNDING = "bounding"
|
|
7
|
+
}
|
|
8
|
+
declare function useRefDimensions(ref: RefObject<HTMLElement | undefined>, type?: DimensionType): {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
12
|
+
export { useRefDimensions };
|
|
13
|
+
//# sourceMappingURL=useRefDimensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRefDimensions.d.ts","sourceRoot":"","sources":["../../../src/hooks/useRefDimensions.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,SAAS,EAAY,MAAM,OAAO,CAAC;AAEvD,aAAK,aAAa;IAChB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED,iBAAS,gBAAgB,CAAC,GAAG,EAAE,SAAS,CAAC,WAAW,GAAG,SAAS,CAAC,EAAE,IAAI,CAAC,EAAE,aAAa;;;EAgDtF;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|