wcz-layout 7.6.0 → 7.6.2
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/{RouterListItemButton-CvfZk2zD.js → RouterListItemButton-DeaQB4ym.js} +1 -1
- package/dist/{RouterListItemButton-CvfZk2zD.js.map → RouterListItemButton-DeaQB4ym.js.map} +1 -1
- package/dist/components/core/Layout.d.ts +1 -1
- package/dist/components/core/navigation/NavigationList.d.ts +4 -4
- package/dist/components/core/navigation/NavigationListItem.d.ts +3 -3
- package/dist/components.js +2 -2
- package/dist/hooks.js +1 -1
- package/dist/index.js +617 -621
- package/dist/index.js.map +1 -1
- package/dist/lib/auth/msalClient.d.ts +8 -2
- package/dist/middleware.js +11 -11
- package/dist/models/Navigation.d.ts +23 -11
- package/dist/{queries-DzKY6YXz.js → queries-D-DV5lCw.js} +3 -3
- package/dist/{queries-DzKY6YXz.js.map → queries-D-DV5lCw.js.map} +1 -1
- package/dist/query.js +2 -2
- package/dist/{queryClient-uWNhcABg.js → queryClient-B__OEZ70.js} +1 -1
- package/dist/{queryClient-uWNhcABg.js.map → queryClient-B__OEZ70.js.map} +1 -1
- package/dist/{msalClient-BLrbVP5z.js → utils-C4oJ0tr5.js} +58 -47
- package/dist/utils-C4oJ0tr5.js.map +1 -0
- package/dist/utils.js +5 -5
- package/package.json +38 -6
- package/skills/api-routes/SKILL.md +251 -0
- package/skills/auth/SKILL.md +268 -0
- package/skills/data-grid/SKILL.md +229 -0
- package/skills/database-schema/SKILL.md +182 -0
- package/skills/dialogs-notifications/SKILL.md +241 -0
- package/skills/forms-validation/SKILL.md +331 -0
- package/skills/forms-validation/references/field-components.md +212 -0
- package/skills/layout-navigation/SKILL.md +259 -0
- package/skills/project-initialization/SKILL.md +181 -0
- package/skills/project-structure/SKILL.md +157 -0
- package/skills/tanstack-db-collections/SKILL.md +270 -0
- package/skills/ui-pages/SKILL.md +278 -0
- package/dist/msalClient-BLrbVP5z.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RouterListItemButton-
|
|
1
|
+
{"version":3,"file":"RouterListItemButton-DeaQB4ym.js","names":["IconButton","createLink","React","IconButtonProps","LinkComponent","Component","forwardRef","HTMLAnchorElement","IconButtonComponent","props","reference","$","_c","t0","CreatedComponent","RouterIconButton","ListItemButton","createLink","React","ListItemButtonProps","LinkComponent","Component","forwardRef","HTMLAnchorElement","ButtonComponent","props","reference","$","_c","t0","CreatedComponent","RouterListItemButton"],"sources":["../src/components/router/RouterIconButton.tsx","../src/components/router/RouterListItemButton.tsx"],"sourcesContent":["import { IconButton } from \"@mui/material\";\nimport { createLink } from \"@tanstack/react-router\";\nimport React from \"react\";\nimport type { IconButtonProps } from \"@mui/material\";\nimport type { LinkComponent } from \"@tanstack/react-router\";\n\nconst Component = React.forwardRef<HTMLAnchorElement, IconButtonProps<\"a\">>(\n function IconButtonComponent(props, reference) {\n return <IconButton ref={reference} component=\"a\" {...props} />;\n },\n);\n\nconst CreatedComponent = createLink(Component);\n\nexport const RouterIconButton: LinkComponent<typeof Component> = (props) => {\n return <CreatedComponent {...props} />;\n};\n","import { ListItemButton } from \"@mui/material\";\nimport { createLink } from \"@tanstack/react-router\";\nimport React from \"react\";\nimport type { ListItemButtonProps } from \"@mui/material\";\nimport type { LinkComponent } from \"@tanstack/react-router\";\n\nconst Component = React.forwardRef<HTMLAnchorElement, ListItemButtonProps<\"a\">>(\n function ButtonComponent(props, reference) {\n return <ListItemButton ref={reference} component=\"a\" {...props} />;\n },\n);\n\nconst CreatedComponent = createLink(Component);\n\nexport const RouterListItemButton: LinkComponent<typeof Component> = (props) => {\n return <CreatedComponent {...props} />;\n};\n"],"mappings":";;;;;;AAYA,IAAMc,IAAmBb,EANPC,EAAMI,WACtB,SAAAG,GAAAC,GAAA;CAAA,IAAAC,IAAAC,EAAA,EAAA,EAAAC;AACgE,QADhEF,EAAA,OAAAF,KAAAE,EAAA,OAAAD,KACSG,IAAA,kBAAC,GAAD;EAAiBH,KAAAA;EAAqB,WAAA;EAAG,GAAKD;EAAS,CAAA,EAAAE,EAAA,KAAAF,GAAAE,EAAA,KAAAD,GAAAC,EAAA,KAAAE,KAAAA,IAAAF,EAAA,IAAvDE;EAEV,CAE6C,EAEjCE,KAAoDN,MAAA;CAAA,IAAAE,IAAAC,EAAA,EAAA,EAAAC;AACzB,QADyBF,EAAA,OAAAF,IACzBI,IAAAF,EAAA,MAA/BE,IAAA,kBAAC,GAAD,EAAiB,GAAKJ,GAAS,CAAA,EAAAE,EAAA,KAAAF,GAAAE,EAAA,KAAAE,IAA/BA;GCHHiB,IAAmBb,EANPC,EAAMI,WACtB,SAAAG,GAAAC,GAAA;CAAA,IAAAC,IAAAC,EAAA,EAAA,EAAAC;AACoE,QADpEF,EAAA,OAAAF,KAAAE,EAAA,OAAAD,KACSG,IAAA,kBAAC,GAAD;EAAqBH,KAAAA;EAAqB,WAAA;EAAG,GAAKD;EAAS,CAAA,EAAAE,EAAA,KAAAF,GAAAE,EAAA,KAAAD,GAAAC,EAAA,KAAAE,KAAAA,IAAAF,EAAA,IAA3DE;EAEV,CAE6C,EAEjCE,KAAwDN,MAAA;CAAA,IAAAE,IAAAC,EAAA,EAAA,EAAAC;AAC7B,QAD6BF,EAAA,OAAAF,IAC7BI,IAAAF,EAAA,MAA/BE,IAAA,kBAAC,GAAD,EAAiB,GAAKJ,GAAS,CAAA,EAAAE,EAAA,KAAAF,GAAAE,EAAA,KAAAE,IAA/BA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Navigation } from '../../models/Navigation';
|
|
2
1
|
import { FC, ReactNode } from 'react';
|
|
3
2
|
import { LayoutOptions } from '../../models/LayoutOptions';
|
|
3
|
+
import { Navigation } from '../../models/Navigation';
|
|
4
4
|
interface LayoutProps {
|
|
5
5
|
navigation: Navigation | undefined;
|
|
6
6
|
options: LayoutOptions | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { Navigation, NavigationDivider, NavigationHeader, NavigationItem, NavigationPageItem } from '../../../models/Navigation';
|
|
3
|
-
export declare const isPageItem: (item: NavigationItem) => item is NavigationPageItem;
|
|
2
|
+
import { Navigation, NavigationDivider, NavigationHeader, NavigationItem, NavigationPageGroup, NavigationPageItem } from '../../../models/Navigation';
|
|
3
|
+
export declare const isPageItem: (item: NavigationItem) => item is NavigationPageItem | NavigationPageGroup;
|
|
4
4
|
export declare const isDivider: (item: NavigationItem) => item is NavigationDivider;
|
|
5
5
|
export declare const isHeader: (item: NavigationItem) => item is NavigationHeader;
|
|
6
6
|
interface NavigationListProps {
|
|
@@ -11,11 +11,11 @@ interface NavigationListProps {
|
|
|
11
11
|
isSidebarFullyExpanded?: boolean;
|
|
12
12
|
isSidebarFullyCollapsed?: boolean;
|
|
13
13
|
expandedWidth: number | string;
|
|
14
|
-
renderItem?: (item: NavigationPageItem, context: {
|
|
14
|
+
renderItem?: (item: NavigationPageItem | NavigationPageGroup, context: {
|
|
15
15
|
collapsed: boolean;
|
|
16
16
|
}) => ReactNode;
|
|
17
17
|
activePath?: string | null;
|
|
18
|
-
onNavigate: (item: NavigationPageItem) => void;
|
|
18
|
+
onNavigate: (item: NavigationPageItem | NavigationPageGroup) => void;
|
|
19
19
|
onClose?: () => void;
|
|
20
20
|
}
|
|
21
21
|
export declare const NavigationList: FC<NavigationListProps>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { NavigationItem, NavigationPageItem } from '../../../models/Navigation';
|
|
1
|
+
import { NavigationItem, NavigationPageGroup, NavigationPageItem } from '../../../models/Navigation';
|
|
2
2
|
import { FC, ReactNode } from 'react';
|
|
3
3
|
interface NavigationListItemProps {
|
|
4
|
-
item: NavigationPageItem;
|
|
4
|
+
item: NavigationPageItem | NavigationPageGroup;
|
|
5
5
|
isOpen?: boolean;
|
|
6
6
|
selected?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
collapsed?: boolean;
|
|
9
9
|
isSidebarFullyExpanded?: boolean;
|
|
10
10
|
isSidebarFullyCollapsed?: boolean;
|
|
11
|
-
onClick?: (item: NavigationPageItem) => void;
|
|
11
|
+
onClick?: (item: NavigationPageItem | NavigationPageGroup) => void;
|
|
12
12
|
renderNested?: (sub: Array<NavigationItem>) => ReactNode;
|
|
13
13
|
onClose?: () => void;
|
|
14
14
|
}
|
package/dist/components.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, r as t, t as n } from "./queries-
|
|
2
|
-
import { n as r, t as i } from "./RouterListItemButton-
|
|
1
|
+
import { i as e, r as t, t as n } from "./queries-D-DV5lCw.js";
|
|
2
|
+
import { n as r, t as i } from "./RouterListItemButton-DeaQB4ym.js";
|
|
3
3
|
import { n as a, t as o } from "./DialogsHooks-CZVdKmPv.js";
|
|
4
4
|
import { c as s } from "react/compiler-runtime";
|
|
5
5
|
import { Box as c, Button as l, Chip as u, Dialog as d, Divider as f, Fab as p, IconButton as m, ImageListItem as h, ImageListItemBar as g, Link as _, List as v, ListItemButton as y, ListItemIcon as b, ListItemText as x, Menu as S, Stack as C, Tab as w, Tooltip as T, Typography as E, useTheme as D } from "@mui/material";
|
package/dist/hooks.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./NotificationContext-DovR_auQ.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as t } from "./utils-C4oJ0tr5.js";
|
|
3
3
|
import { n, t as r } from "./DialogsHooks-CZVdKmPv.js";
|
|
4
4
|
import { c as i } from "react/compiler-runtime";
|
|
5
5
|
import { Autocomplete as a, Button as o, Checkbox as s, FormControl as c, FormControlLabel as l, FormHelperText as u, FormLabel as d, Radio as f, RadioGroup as p, Slider as m, Switch as h, TextField as g } from "@mui/material";
|