@applica-software-guru/react-admin 1.3.152 → 1.3.154
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/Layout/Header/Buttons/HeaderButton.d.ts +6 -0
- package/dist/components/Layout/Header/Buttons/HeaderButton.d.ts.map +1 -0
- package/dist/components/Layout/Header/Buttons/HeaderIconButton.d.ts +6 -0
- package/dist/components/Layout/Header/Buttons/HeaderIconButton.d.ts.map +1 -0
- package/dist/components/Layout/Header/Buttons/HeaderToggleButton.d.ts +6 -0
- package/dist/components/Layout/Header/Buttons/HeaderToggleButton.d.ts.map +1 -0
- package/dist/components/Layout/Header/Buttons/index.d.ts +4 -0
- package/dist/components/Layout/Header/Buttons/index.d.ts.map +1 -0
- package/dist/components/Layout/Header/DrawerToggle.d.ts.map +1 -1
- package/dist/components/Layout/Header/Notification/Notification.d.ts.map +1 -1
- package/dist/components/Layout/Header/Profile/Profile.d.ts +1 -1
- package/dist/components/Layout/Header/Profile/Profile.d.ts.map +1 -1
- package/dist/components/Layout/Header/ResponsiveSection.d.ts.map +1 -1
- package/dist/components/Layout/Header/index.d.ts +1 -0
- package/dist/components/Layout/Header/index.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +12 -12
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/mui.d.ts +4 -1
- package/dist/hooks/mui.d.ts.map +1 -1
- package/dist/hooks/usePopoverState.d.ts +10 -0
- package/dist/hooks/usePopoverState.d.ts.map +1 -0
- package/dist/react-admin.cjs.js +57 -57
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +5566 -5584
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +58 -58
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Layout/Header/Buttons/HeaderButton.tsx +13 -0
- package/src/components/Layout/Header/Buttons/HeaderIconButton.tsx +22 -0
- package/src/components/Layout/Header/Buttons/HeaderToggleButton.tsx +23 -0
- package/src/components/Layout/Header/Buttons/index.ts +3 -0
- package/src/components/Layout/Header/DrawerToggle.tsx +9 -18
- package/src/components/Layout/Header/Notification/Notification.tsx +31 -53
- package/src/components/Layout/Header/Profile/{Profile.jsx → Profile.tsx} +34 -92
- package/src/components/Layout/Header/ResponsiveSection.tsx +17 -34
- package/src/components/Layout/Header/index.ts +1 -0
- package/src/hooks/index.jsx +13 -23
- package/src/hooks/mui.ts +16 -6
- package/src/hooks/usePopoverState.tsx +28 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps } from '@mui/material';
|
|
3
|
+
type IHeaderButtonProps = Omit<ButtonProps, 'color' | 'variant' | 'size'>;
|
|
4
|
+
declare const HeaderButton: import("react").ForwardRefExoticComponent<Omit<IHeaderButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
export { HeaderButton };
|
|
6
|
+
//# sourceMappingURL=HeaderButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Buttons/HeaderButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAU,WAAW,EAAE,MAAM,eAAe,CAAC;AAIpD,KAAK,kBAAkB,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC,CAAC;AAE1E,QAAA,MAAM,YAAY,+HAIhB,CAAC;AAEH,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps, IconButtonProps } from '@mui/material';
|
|
3
|
+
type IHeaderIconButtonProps = Omit<IconButtonProps & ButtonProps, 'color' | 'variant' | 'size'>;
|
|
4
|
+
declare const HeaderIconButton: import("react").ForwardRefExoticComponent<Omit<IHeaderIconButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
export { HeaderIconButton };
|
|
6
|
+
//# sourceMappingURL=HeaderIconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderIconButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Buttons/HeaderIconButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAK7D,KAAK,sBAAsB,GAAG,IAAI,CAAC,eAAe,GAAG,WAAW,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC,CAAC;AAEhG,QAAA,MAAM,gBAAgB,mIAYpB,CAAC;AAEH,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ToggleButtonProps } from '@mui/material';
|
|
3
|
+
type IHeaderToggleButtonProps = Omit<ToggleButtonProps, 'color' | 'size'>;
|
|
4
|
+
declare const HeaderToggleButton: import("react").ForwardRefExoticComponent<Omit<IHeaderToggleButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
export { HeaderToggleButton };
|
|
6
|
+
//# sourceMappingURL=HeaderToggleButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderToggleButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Buttons/HeaderToggleButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAgB,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAIhE,KAAK,wBAAwB,GAAG,IAAI,CAAC,iBAAiB,EAAE,OAAO,GAAG,MAAM,CAAC,CAAC;AAE1E,QAAA,MAAM,kBAAkB,qIActB,CAAC;AAEH,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerToggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Header/DrawerToggle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DrawerToggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Header/DrawerToggle.tsx"],"names":[],"mappings":"AAQA,iBAAS,YAAY,4CAQpB;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Notification/Notification.tsx"],"names":[],"mappings":"AAuCA,iBAAS,kBAAkB,
|
|
1
|
+
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Notification/Notification.tsx"],"names":[],"mappings":"AAuCA,iBAAS,kBAAkB,mDAG1B;AAqID,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Profile/Profile.
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layout/Header/Profile/Profile.tsx"],"names":[],"mappings":"AAWA,iBAAS,OAAO,4CAwGf;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponsiveSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Header/ResponsiveSection.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ResponsiveSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Header/ResponsiveSection.tsx"],"names":[],"mappings":";AAQA,KAAK,uBAAuB,GAAG,KAAK,CAAC,iBAAiB,CAAC;AAEvD,QAAA,MAAM,iBAAiB,UAAW,uBAAuB,4CAsDxD,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Header/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,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"}
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { default as useAppConfig } from "./useAppConfig";
|
|
2
|
+
export { default as useBreadcrumbs } from "./useBreadcrumbs";
|
|
3
|
+
export { default as useLocalStorage } from "./useLocalStorage";
|
|
3
4
|
export { useMemoizedObject } from "./useMemoizedObject";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export { useAppConfig, useMenu, useBreadcrumbs, useLocalStorage, useThemeConfig, useResourceTitle, useMenuConfig, useTableFormIterator, useTableFormIteratorItem };
|
|
5
|
+
export { default as useMenu } from "./useMenu";
|
|
6
|
+
export { default as useMenuConfig } from "./useMenuConfig";
|
|
7
|
+
export { usePopoverState } from "./usePopoverState";
|
|
8
|
+
export { useRefDimensions } from "./useRefDimensions";
|
|
9
|
+
export { default as useResourceTitle } from "./useResourceTitle";
|
|
10
|
+
export { useSx } from "./mui";
|
|
11
|
+
export { default as useTableFormIterator } from "./useTableFormIterator";
|
|
12
|
+
export { default as useTableFormIteratorItem } from "./useTableFormIteratorItem";
|
|
13
|
+
export { default as useThemeConfig } from "./useThemeConfig";
|
|
14
14
|
export { useLocalizedValue, useGetLocalizedValue } from "./useLocalizedValue";
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.jsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.jsx"],"names":[],"mappings":""}
|
package/dist/hooks/mui.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { SxProps } from '@mui/material';
|
|
2
2
|
import { ComponentProps } from 'react';
|
|
3
|
+
type IUseSxOptions = {
|
|
4
|
+
defaults?: boolean;
|
|
5
|
+
};
|
|
3
6
|
declare function useSx(props: ComponentProps<{
|
|
4
7
|
sx?: SxProps;
|
|
5
|
-
} & any>, sx: SxProps): SxProps;
|
|
8
|
+
} & any>, sx: SxProps, options?: IUseSxOptions): SxProps;
|
|
6
9
|
export { useSx };
|
|
7
10
|
//# sourceMappingURL=mui.d.ts.map
|
package/dist/hooks/mui.d.ts.map
CHANGED
|
@@ -1 +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,
|
|
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,KAAK,aAAa,GAAG;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,iBAAS,KAAK,CAAC,KAAK,EAAE,cAAc,CAAC;IAAE,EAAE,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,GAAG,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAoB3G;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
|
+
declare function usePopoverState(): {
|
|
3
|
+
anchorEl: HTMLElement | null;
|
|
4
|
+
open: boolean;
|
|
5
|
+
handleClick: (e: MouseEvent<HTMLElement> | undefined) => void;
|
|
6
|
+
handleClose: () => void;
|
|
7
|
+
handleToggle: (e: MouseEvent<HTMLElement> | undefined) => void;
|
|
8
|
+
};
|
|
9
|
+
export { usePopoverState };
|
|
10
|
+
//# sourceMappingURL=usePopoverState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePopoverState.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePopoverState.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAyB,MAAM,OAAO,CAAC;AAE1D,iBAAS,eAAe;;;qBAGU,WAAW,WAAW,CAAC,GAAG,SAAS;;sBAG3D,WAAW,WAAW,CAAC,GAAG,SAAS;EAiB5C;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
|