@zydon/common 1.1.59 → 1.1.61

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.
Files changed (59) hide show
  1. package/README.md +1 -9
  2. package/dist/components/Common/index.d.ts.map +1 -1
  3. package/dist/components/hook-form/RadioGroup/index.d.ts.map +1 -1
  4. package/dist/components/index.d.ts +0 -4
  5. package/dist/components/index.d.ts.map +1 -1
  6. package/dist/components/upload/preview/AvatarPreview.d.ts.map +1 -1
  7. package/dist/components/upload/preview/SingleFilePreview.d.ts.map +1 -1
  8. package/dist/{features-9ee683b8.js → features-c72072b5.js} +3 -4
  9. package/dist/hooks/index.d.ts +0 -1
  10. package/dist/hooks/index.d.ts.map +1 -1
  11. package/dist/{index-1eda1b5d.js → index-dc815e28.js} +16093 -17849
  12. package/dist/index.js +98 -105
  13. package/dist/index.umd.cjs +97 -97
  14. package/dist/style.css +1 -1
  15. package/package.json +2 -6
  16. package/dist/components/Image/getRatio.d.ts +0 -2
  17. package/dist/components/Image/getRatio.d.ts.map +0 -1
  18. package/dist/components/Image/index.d.ts +0 -5
  19. package/dist/components/Image/index.d.ts.map +0 -1
  20. package/dist/components/Image/props.d.ts +0 -7
  21. package/dist/components/Image/props.d.ts.map +0 -1
  22. package/dist/components/nav-section/NavSectionHorizontal/NavItem.d.ts +0 -5
  23. package/dist/components/nav-section/NavSectionHorizontal/NavItem.d.ts.map +0 -1
  24. package/dist/components/nav-section/NavSectionHorizontal/NavList.d.ts +0 -10
  25. package/dist/components/nav-section/NavSectionHorizontal/NavList.d.ts.map +0 -1
  26. package/dist/components/nav-section/NavSectionHorizontal/index.d.ts +0 -5
  27. package/dist/components/nav-section/NavSectionHorizontal/index.d.ts.map +0 -1
  28. package/dist/components/nav-section/NavSectionHorizontal/styles.d.ts +0 -10
  29. package/dist/components/nav-section/NavSectionHorizontal/styles.d.ts.map +0 -1
  30. package/dist/components/nav-section/NavSectionMini/NavItem.d.ts +0 -5
  31. package/dist/components/nav-section/NavSectionMini/NavItem.d.ts.map +0 -1
  32. package/dist/components/nav-section/NavSectionMini/NavList.d.ts +0 -10
  33. package/dist/components/nav-section/NavSectionMini/NavList.d.ts.map +0 -1
  34. package/dist/components/nav-section/NavSectionMini/index.d.ts +0 -5
  35. package/dist/components/nav-section/NavSectionMini/index.d.ts.map +0 -1
  36. package/dist/components/nav-section/NavSectionMini/styles.d.ts +0 -10
  37. package/dist/components/nav-section/NavSectionMini/styles.d.ts.map +0 -1
  38. package/dist/components/nav-section/NavSectionVertical/NavItem.d.ts +0 -5
  39. package/dist/components/nav-section/NavSectionVertical/NavItem.d.ts.map +0 -1
  40. package/dist/components/nav-section/NavSectionVertical/NavList.d.ts +0 -10
  41. package/dist/components/nav-section/NavSectionVertical/NavList.d.ts.map +0 -1
  42. package/dist/components/nav-section/NavSectionVertical/index.d.ts +0 -5
  43. package/dist/components/nav-section/NavSectionVertical/index.d.ts.map +0 -1
  44. package/dist/components/nav-section/NavSectionVertical/styles.d.ts +0 -18
  45. package/dist/components/nav-section/NavSectionVertical/styles.d.ts.map +0 -1
  46. package/dist/components/nav-section/NavSectionVerticalWithButtons/NavItem.d.ts +0 -5
  47. package/dist/components/nav-section/NavSectionVerticalWithButtons/NavItem.d.ts.map +0 -1
  48. package/dist/components/nav-section/NavSectionVerticalWithButtons/NavList.d.ts +0 -12
  49. package/dist/components/nav-section/NavSectionVerticalWithButtons/NavList.d.ts.map +0 -1
  50. package/dist/components/nav-section/NavSectionVerticalWithButtons/index.d.ts +0 -5
  51. package/dist/components/nav-section/NavSectionVerticalWithButtons/index.d.ts.map +0 -1
  52. package/dist/components/nav-section/NavSectionVerticalWithButtons/styles.d.ts +0 -18
  53. package/dist/components/nav-section/NavSectionVerticalWithButtons/styles.d.ts.map +0 -1
  54. package/dist/components/nav-section/index.d.ts +0 -6
  55. package/dist/components/nav-section/index.d.ts.map +0 -1
  56. package/dist/components/nav-section/types.d.ts +0 -38
  57. package/dist/components/nav-section/types.d.ts.map +0 -1
  58. package/dist/hooks/useActiveLink.d.ts +0 -7
  59. package/dist/hooks/useActiveLink.d.ts.map +0 -1
package/dist/style.css CHANGED
@@ -1,4 +1,4 @@
1
- .lazy-load-image-background.blur{filter:blur(15px)}.lazy-load-image-background.blur.lazy-load-image-loaded{filter:blur(0);transition:filter .3s}.lazy-load-image-background.blur>img{opacity:0}.lazy-load-image-background.blur.lazy-load-image-loaded>img{opacity:1;transition:opacity .3s}/*!
1
+ /*!
2
2
  * Quill Editor v1.3.7
3
3
  * https://quilljs.com/
4
4
  * Copyright (c) 2014, Jason Chen
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zydon/common",
3
3
  "private": false,
4
- "version": "1.1.59",
4
+ "version": "1.1.61",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -38,7 +38,6 @@
38
38
  "@types/react": "^18.2.15",
39
39
  "@types/react-color": "^3.0.6",
40
40
  "@types/react-dom": "^18.2.7",
41
- "@types/react-lazy-load-image-component": "^1.5.3",
42
41
  "@types/react-window": "^1.8.5",
43
42
  "@typescript-eslint/eslint-plugin": "^6.4.1",
44
43
  "@typescript-eslint/parser": "^6.4.1",
@@ -53,7 +52,6 @@
53
52
  "react": ">=18.x",
54
53
  "react-dom": ">=18.x",
55
54
  "react-hook-form": "^7.46.1",
56
- "react-router-dom": "^6.16.0",
57
55
  "typescript": "^5.0.2",
58
56
  "vite": "^4.4.5",
59
57
  "vite-plugin-dts": "^3.5.2",
@@ -68,8 +66,7 @@
68
66
  "@mui/x-date-pickers-pro": ">=6.x",
69
67
  "react": ">=18.x",
70
68
  "react-dom": ">=18.x",
71
- "react-hook-form": ">=7.x",
72
- "react-router-dom": ">=6.x"
69
+ "react-hook-form": ">=7.x"
73
70
  },
74
71
  "dependencies": {
75
72
  "@codemirror/lang-sql": "^6.5.4",
@@ -85,7 +82,6 @@
85
82
  "react-dropzone": "^14.2.3",
86
83
  "react-easy-crop": "^5.0.0",
87
84
  "react-imask": "^7.1.3",
88
- "react-lazy-load-image-component": "^1.6.0",
89
85
  "react-number-format": "^5.3.1",
90
86
  "react-quill": "^2.0.0",
91
87
  "react-window": "^1.8.9",
@@ -1,2 +0,0 @@
1
- export default function getRatio(ratio?: string): string | undefined;
2
- //# sourceMappingURL=getRatio.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getRatio.d.ts","sourceRoot":"","sources":["../../../src/components/Image/getRatio.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,SAAQ,sBAY7C"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { ImageProps } from './props';
3
- declare const Image: import("react").ForwardRefExoticComponent<Omit<ImageProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
4
- export default Image;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Image/index.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,QAAA,MAAM,KAAK,qHA8DV,CAAC;AAIF,eAAe,KAAK,CAAC"}
@@ -1,7 +0,0 @@
1
- import { LazyLoadImageProps } from 'react-lazy-load-image-component';
2
- import { BoxProps } from '@mui/material';
3
- export type ImageProps = {
4
- ratio?: '4/3' | '3/4' | '6/4' | '4/6' | '16/9' | '9/16' | '21/9' | '9/21' | '1/1';
5
- disabledEffect?: boolean;
6
- } & BoxProps & LazyLoadImageProps;
7
- //# sourceMappingURL=props.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/Image/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EACF,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,KAAK,CAAC;IACV,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,GAAG,QAAQ,GACV,kBAAkB,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { NavItemProps } from '../types';
3
- declare const NavItem: import("react").ForwardRefExoticComponent<Omit<NavItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
- export default NavItem;
5
- //# sourceMappingURL=NavItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionHorizontal/NavItem.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,QAAA,MAAM,OAAO,sHAqEZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { NavListProps } from '../types';
3
- type NavListRootProps = {
4
- data: NavListProps;
5
- depth: number;
6
- hasChild: boolean;
7
- };
8
- declare const NavList: React.FC<NavListRootProps>;
9
- export default NavList;
10
- //# sourceMappingURL=NavList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionHorizontal/NavList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAsBF,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmFvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { NavSectionProps } from '../types';
3
- declare const _default: React.NamedExoticComponent<NavSectionProps>;
4
- export default _default;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionHorizontal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAIpC,OAAO,EAAE,eAAe,EAAgB,MAAM,UAAU,CAAC;;AA8CzD,wBAA0C"}
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { NavItemProps } from '../types';
3
- type StyledItemProps = Omit<NavItemProps, 'item'>;
4
- export declare const StyledItem: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
6
- }, "alignItems" | "sx" | "tabIndex" | "classes" | "children" | "className" | "style" | "autoFocus" | "disabled" | "action" | "selected" | "dense" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "divider" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledItemProps, {}, {}>;
7
- export declare const StyledIcon: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
8
- export declare const StyledPopover: import("@emotion/styled").StyledComponent<import("@mui/material").PopoverProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
9
- export {};
10
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionHorizontal/styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,KAAK,eAAe,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,UAAU;;ycAmErB,CAAC;AAIH,eAAO,MAAM,UAAU,0KAKrB,CAAC;AAIH,eAAO,MAAM,aAAa,qKAWvB,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { NavItemProps } from '../types';
3
- declare const NavItem: import("react").ForwardRefExoticComponent<Omit<NavItemProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
- export default NavItem;
5
- //# sourceMappingURL=NavItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionMini/NavItem.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,QAAA,MAAM,OAAO,sHAqFZ,CAAC;AAIF,eAAe,OAAO,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { NavListProps } from '../types';
3
- type NavListRootProps = {
4
- data: NavListProps;
5
- depth: number;
6
- hasChild: boolean;
7
- };
8
- declare const NavList: React.FC<NavListRootProps>;
9
- export default NavList;
10
- //# sourceMappingURL=NavList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionMini/NavList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAsBF,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2EvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { NavSectionProps } from '../types';
3
- declare const _default: React.NamedExoticComponent<NavSectionProps>;
4
- export default _default;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionMini/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAGpC,OAAO,EAAE,eAAe,EAAgB,MAAM,UAAU,CAAC;;AAwDzD,wBAAoC"}
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { NavItemProps } from '../types';
3
- type StyledItemProps = Omit<NavItemProps, 'item'>;
4
- export declare const StyledItem: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
6
- }, "alignItems" | "sx" | "tabIndex" | "classes" | "children" | "className" | "style" | "autoFocus" | "disabled" | "action" | "selected" | "dense" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "divider" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledItemProps, {}, {}>;
7
- export declare const StyledIcon: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
8
- export declare const StyledPopover: import("@emotion/styled").StyledComponent<import("@mui/material").PopoverProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
9
- export {};
10
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionMini/styles.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,KAAK,eAAe,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,UAAU;;ycA+DrB,CAAC;AAIH,eAAO,MAAM,UAAU,0KAKrB,CAAC;AAIH,eAAO,MAAM,aAAa,qKAWvB,CAAC"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { NavItemProps } from '../types';
3
- declare const NavItem: React.FC<NavItemProps>;
4
- export default NavItem;
5
- //# sourceMappingURL=NavItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVertical/NavItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyFnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { NavListProps } from '../types';
3
- type NavListRootProps = {
4
- data: NavListProps;
5
- depth: number;
6
- hasChild: boolean;
7
- };
8
- declare const NavList: React.FC<NavListRootProps>;
9
- export default NavList;
10
- //# sourceMappingURL=NavList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVertical/NavList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAuBxC,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAwCvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { NavSectionProps } from '../types';
3
- declare const NavSectionVertical: React.FC<NavSectionProps>;
4
- export default NavSectionVertical;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVertical/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI3C,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA6BjD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- import { NavItemProps } from '../types';
3
- export declare const StyledItem: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
5
- }, "alignItems" | "sx" | "tabIndex" | "classes" | "children" | "className" | "style" | "autoFocus" | "disabled" | "action" | "selected" | "dense" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "divider" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Omit<NavItemProps, "item"> & {
6
- caption?: boolean | undefined;
7
- disabled?: boolean | undefined;
8
- }, {}, {}>;
9
- export declare const StyledIcon: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
10
- type StyledDotIconProps = {
11
- active?: boolean;
12
- };
13
- export declare const StyledDotIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledDotIconProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
14
- export declare const StyledSubheader: import("@emotion/styled").StyledComponent<import("@mui/material").ListSubheaderOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
15
- ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
16
- }, "color" | "inset" | "sx" | "classes" | "children" | "className" | "style" | "disableGutters" | "disableSticky"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
17
- export {};
18
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVertical/styles.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAOxC,eAAO,MAAM,UAAU;;;;;UA+DrB,CAAC;AAIH,eAAO,MAAM,UAAU,0KAMrB,CAAC;AAIH,KAAK,kBAAkB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,aAAa,oPAcvB,CAAC;AAIJ,eAAO,MAAM,eAAe;;uMAMzB,CAAC"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { NavItemButtonProps } from '../types';
3
- declare const NavItem: React.FC<NavItemButtonProps>;
4
- export default NavItem;
5
- //# sourceMappingURL=NavItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVerticalWithButtons/NavItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAG9C,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+FzC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { NavListProps } from '../types';
3
- type NavListRootProps = {
4
- data: NavListProps;
5
- depth: number;
6
- hasChild: boolean;
7
- onNavigate(event: React.MouseEvent<HTMLButtonElement>, to: string): void;
8
- pathname: string;
9
- };
10
- declare const NavList: React.FC<NavListRootProps>;
11
- export default NavList;
12
- //# sourceMappingURL=NavList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVerticalWithButtons/NavList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAgCxC,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACzE,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkDvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { NavSectionWithButtonProps } from '../types';
3
- declare const NavSectionVerticalWithButtons: React.FC<NavSectionWithButtonProps>;
4
- export default NavSectionVerticalWithButtons;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVerticalWithButtons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAIrD,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAiCtE,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- import { NavItemProps } from '../types';
3
- export declare const StyledItem: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
5
- }, "alignItems" | "sx" | "tabIndex" | "classes" | "children" | "className" | "style" | "autoFocus" | "disabled" | "action" | "selected" | "dense" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "divider" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Omit<NavItemProps, "item"> & {
6
- caption?: boolean | undefined;
7
- disabled?: boolean | undefined;
8
- }, {}, {}>;
9
- export declare const StyledIcon: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
10
- type StyledDotIconProps = {
11
- active?: boolean;
12
- };
13
- export declare const StyledDotIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledDotIconProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
14
- export declare const StyledSubheader: import("@emotion/styled").StyledComponent<import("@mui/material").ListSubheaderOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
15
- ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
16
- }, "color" | "inset" | "sx" | "classes" | "children" | "className" | "style" | "disableGutters" | "disableSticky"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
17
- export {};
18
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/nav-section/NavSectionVerticalWithButtons/styles.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAOxC,eAAO,MAAM,UAAU;;;;;UA+DrB,CAAC;AAIH,eAAO,MAAM,UAAU,0KAMrB,CAAC;AAIH,KAAK,kBAAkB,GAAG;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,aAAa,oPAcvB,CAAC;AAIJ,eAAO,MAAM,eAAe;;uMAMzB,CAAC"}
@@ -1,6 +0,0 @@
1
- export * from './types';
2
- export { default as NavSectionMini } from './NavSectionMini';
3
- export { default as NavSectionVertical } from './NavSectionVertical';
4
- export { default as NavSectionHorizontal } from './NavSectionHorizontal';
5
- export { default as NavSectionVerticalWithButtons } from './NavSectionVerticalWithButtons';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/nav-section/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,iCAAiC,CAAC"}
@@ -1,38 +0,0 @@
1
- import React from 'react';
2
- import { StackProps, ListItemButtonProps } from '@mui/material';
3
- export type INavItem = {
4
- item: NavListProps;
5
- depth: number;
6
- open?: boolean;
7
- active?: boolean;
8
- isExternalLink?: boolean;
9
- };
10
- export type NavItemProps = INavItem & ListItemButtonProps;
11
- export type NavItemButtonProps = INavItem & ListItemButtonProps & {
12
- onNavigate(event: React.MouseEvent<HTMLButtonElement>, to: string): void;
13
- };
14
- export type NavListProps = {
15
- title: string;
16
- path: string;
17
- icon?: React.ReactElement;
18
- info?: React.ReactElement;
19
- caption?: string;
20
- disabled?: boolean;
21
- roles?: string[];
22
- children?: any;
23
- };
24
- export interface NavSectionProps extends StackProps {
25
- data: {
26
- subheader: string;
27
- items: NavListProps[];
28
- }[];
29
- }
30
- export interface NavSectionWithButtonProps extends StackProps {
31
- data: {
32
- subheader: string;
33
- items: NavListProps[];
34
- }[];
35
- onNavigate(event: React.MouseEvent<HTMLButtonElement>, to: string): void;
36
- pathname: string;
37
- }
38
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/nav-section/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEhE,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,mBAAmB,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GACvC,mBAAmB,GAAG;IACpB,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1E,CAAC;AAEJ,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,IAAI,EAAE;QACJ,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,YAAY,EAAE,CAAC;KACvB,EAAE,CAAC;CACL;AAED,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D,IAAI,EAAE;QACJ,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,YAAY,EAAE,CAAC;KACvB,EAAE,CAAC;IACJ,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACzE,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -1,7 +0,0 @@
1
- type ReturnType = {
2
- active: boolean;
3
- isExternalLink: boolean;
4
- };
5
- declare const useActiveLink: (path: string, deep?: boolean) => ReturnType;
6
- export default useActiveLink;
7
- //# sourceMappingURL=useActiveLink.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useActiveLink.d.ts","sourceRoot":"","sources":["../../src/hooks/useActiveLink.ts"],"names":[],"mappings":"AAEA,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,aAAa,SAAU,MAAM,qBAAgB,UAalD,CAAC;AAEF,eAAe,aAAa,CAAC"}