@xyo-network/react-typedoc 2.49.13 → 2.50.0
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/cjs/ProjectTwoPanelReflectionViewer.js +1 -2
- package/dist/cjs/ProjectTwoPanelReflectionViewer.js.map +1 -1
- package/dist/cjs/ReflectionViewer/NameViewer.js +1 -2
- package/dist/cjs/ReflectionViewer/NameViewer.js.map +1 -1
- package/dist/docs.json +73 -73
- package/dist/esm/ProjectTwoPanelReflectionViewer.js +1 -2
- package/dist/esm/ProjectTwoPanelReflectionViewer.js.map +1 -1
- package/dist/esm/ReflectionViewer/NameViewer.js +1 -2
- package/dist/esm/ReflectionViewer/NameViewer.js.map +1 -1
- package/dist/types/CommentViewer.d.ts +1 -1
- package/dist/types/CommentViewer.d.ts.map +1 -1
- package/dist/types/ProjectTwoPanelReflectionViewer.d.ts +1 -1
- package/dist/types/ProjectTwoPanelReflectionViewer.d.ts.map +1 -1
- package/dist/types/ReflectionLookup.d.ts +1 -1
- package/dist/types/ReflectionLookup.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/Container.d.ts +1 -1
- package/dist/types/ReflectionViewer/Container.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/Declaration.d.ts +1 -1
- package/dist/types/ReflectionViewer/Declaration.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/DeclarationContainer.d.ts +1 -1
- package/dist/types/ReflectionViewer/DeclarationContainer.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/NameViewer.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/Project.d.ts +1 -1
- package/dist/types/ReflectionViewer/Project.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/ReflectionGroupViewer.d.ts +1 -1
- package/dist/types/ReflectionViewer/ReflectionGroupViewer.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/ReflectionViewerProps.d.ts +1 -1
- package/dist/types/ReflectionViewer/ReflectionViewerProps.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/TypeBuilder.d.ts +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/TypeBuilder.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/buildArrayString.d.ts +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/buildArrayString.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/buildIntersectionString.d.ts +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/buildIntersectionString.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/buildReferenceString.d.ts +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/buildReferenceString.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/buildReflectionString.d.ts +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/buildReflectionString.d.ts.map +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/buildUnionString.d.ts +1 -1
- package/dist/types/ReflectionViewer/SomeTypeViewer/buildUnionString.d.ts.map +1 -1
- package/dist/types/SomeReflection.d.ts +1 -1
- package/dist/types/SomeReflection.d.ts.map +1 -1
- package/dist/types/SourceViewer.d.ts +1 -1
- package/dist/types/SourceViewer.d.ts.map +1 -1
- package/dist/types/TreeViewer/Reflection.d.ts +1 -1
- package/dist/types/TreeViewer/Reflection.d.ts.map +1 -1
- package/dist/types/createLookup.d.ts +1 -1
- package/dist/types/createLookup.d.ts.map +1 -1
- package/dist/types/resolveChildren.d.ts +1 -1
- package/dist/types/resolveChildren.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/CommentViewer.tsx +1 -1
- package/src/ProjectTwoPanelReflectionViewer.stories.tsx +1 -1
- package/src/ProjectTwoPanelReflectionViewer.tsx +2 -2
- package/src/ReflectionLookup.ts +1 -1
- package/src/ReflectionViewer/Container.tsx +1 -1
- package/src/ReflectionViewer/Declaration.tsx +1 -1
- package/src/ReflectionViewer/DeclarationContainer.tsx +1 -1
- package/src/ReflectionViewer/NameViewer.tsx +1 -2
- package/src/ReflectionViewer/Project.tsx +1 -1
- package/src/ReflectionViewer/ReflectionGroupViewer.tsx +1 -1
- package/src/ReflectionViewer/ReflectionViewer.tsx +1 -1
- package/src/ReflectionViewer/ReflectionViewerProps.tsx +1 -1
- package/src/ReflectionViewer/SomeTypeViewer/TypeBuilder.ts +1 -1
- package/src/ReflectionViewer/SomeTypeViewer/buildArrayString.tsx +1 -1
- package/src/ReflectionViewer/SomeTypeViewer/buildIntersectionString.tsx +1 -1
- package/src/ReflectionViewer/SomeTypeViewer/buildReferenceString.ts +1 -1
- package/src/ReflectionViewer/SomeTypeViewer/buildReflectionString.tsx +1 -1
- package/src/ReflectionViewer/SomeTypeViewer/buildTypeString.tsx +1 -1
- package/src/ReflectionViewer/SomeTypeViewer/buildUnionString.tsx +1 -1
- package/src/SomeReflection.ts +1 -1
- package/src/SourceViewer.tsx +1 -1
- package/src/TreeViewer/Reflection.tsx +1 -1
- package/src/TwoPanelReflectionViewer.tsx +1 -1
- package/src/createLookup.ts +1 -1
- package/src/resolveChildren.ts +1 -1
- package/typedoc.json +5 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { assertEx } from '@xylabs/assert';
|
|
3
|
-
import { ReflectionKind } from 'typedoc';
|
|
4
3
|
import { DeclarationContainerReflectionViewer } from './ReflectionViewer';
|
|
5
4
|
import { TwoPanelReflectionViewer } from './TwoPanelReflectionViewer';
|
|
6
5
|
export const ProjectTwoPanelReflectionViewer = ({ reflection, itemRenderer = DeclarationContainerReflectionViewer, ...props }) => {
|
|
7
|
-
assertEx(reflection.
|
|
6
|
+
assertEx(reflection.isProject, 'Project expected to be Project');
|
|
8
7
|
return _jsx(TwoPanelReflectionViewer, { itemRenderer: itemRenderer, reflection: reflection, ...props });
|
|
9
8
|
};
|
|
10
9
|
//# sourceMappingURL=ProjectTwoPanelReflectionViewer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectTwoPanelReflectionViewer.js","sourceRoot":"","sources":["../../src/ProjectTwoPanelReflectionViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"ProjectTwoPanelReflectionViewer.js","sourceRoot":"","sources":["../../src/ProjectTwoPanelReflectionViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAGzC,OAAO,EAAkC,oCAAoC,EAAE,MAAM,oBAAoB,CAAA;AACzG,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAErE,MAAM,CAAC,MAAM,+BAA+B,GAAgE,CAAC,EAC3G,UAAU,EACV,YAAY,GAAG,oCAAoC,EACnD,GAAG,KAAK,EACT,EAAE,EAAE;IACH,QAAQ,CAAC,UAAU,CAAC,SAAS,EAAE,gCAAgC,CAAC,CAAA;IAChE,OAAO,KAAC,wBAAwB,IAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,KAAM,KAAK,GAAI,CAAA;AACpG,CAAC,CAAA"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Chip, Stack, Typography } from '@mui/material';
|
|
3
3
|
import { FlexRow } from '@xylabs/react-flexbox';
|
|
4
|
-
import { ReflectionKind } from 'typedoc';
|
|
5
4
|
import { JsonViewerButton } from '../JsonViewerButton';
|
|
6
5
|
import { trimFlagLabel } from '../trimFlagLabel';
|
|
7
6
|
import { SomeTypeViewer } from './SomeTypeViewer';
|
|
8
7
|
export const NameViewer = ({ reflectionViewer, variant, reflection, ...props }) => {
|
|
9
|
-
return (_jsxs(FlexRow, { justifyContent: "flex-start", ...props, children: [_jsxs(FlexRow, { marginRight: 1, children: [_jsxs(Typography, { variant: variant, noWrap: true, children: [reflection.name, reflection.type ? _jsx(_Fragment, { children: ":\u00A0" }) : null] }), _jsx(SomeTypeViewer, { reflection: reflection, reflectionViewer: reflectionViewer })] }), _jsxs(Stack, { direction: "row", spacing: 1, children: [_jsx(Chip, { size: "small", label:
|
|
8
|
+
return (_jsxs(FlexRow, { justifyContent: "flex-start", ...props, children: [_jsxs(FlexRow, { marginRight: 1, children: [_jsxs(Typography, { variant: variant, noWrap: true, children: [reflection.name, reflection.type ? _jsx(_Fragment, { children: ":\u00A0" }) : null] }), _jsx(SomeTypeViewer, { reflection: reflection, reflectionViewer: reflectionViewer })] }), _jsxs(Stack, { direction: "row", spacing: 1, children: [_jsx(Chip, { size: "small", label: reflection.kind }), reflection.flags
|
|
10
9
|
? Object.entries(reflection.flags).map(([flag, value]) => {
|
|
11
10
|
return value ? _jsx(Chip, { size: "small", label: trimFlagLabel(flag), variant: "outlined" }, flag) : null;
|
|
12
11
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NameViewer.js","sourceRoot":"","sources":["../../../src/ReflectionViewer/NameViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAqB,MAAM,eAAe,CAAA;AAC1E,OAAO,EAAgB,OAAO,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"NameViewer.js","sourceRoot":"","sources":["../../../src/ReflectionViewer/NameViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAqB,MAAM,eAAe,CAAA;AAC1E,OAAO,EAAgB,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAE7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEtD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAEhD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAQjD,MAAM,CAAC,MAAM,UAAU,GAA8B,CAAC,EAAE,gBAAgB,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3G,OAAO,CACL,MAAC,OAAO,IAAC,cAAc,EAAC,YAAY,KAAK,KAAK,aAC5C,MAAC,OAAO,IAAC,WAAW,EAAE,CAAC,aACrB,MAAC,UAAU,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,mBACjC,UAAU,CAAC,IAAI,EACf,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,wCAAY,CAAC,CAAC,CAAC,IAAI,IAC3B,EACb,KAAC,cAAc,IAAC,UAAU,EAAE,UAAU,EAAE,gBAAgB,EAAE,gBAAgB,GAAI,IACtE,EACV,MAAC,KAAK,IAAC,SAAS,EAAC,KAAK,EAAC,OAAO,EAAE,CAAC,aAC/B,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,UAAU,CAAC,IAAI,GAAI,EAC5C,UAAU,CAAC,KAAK;wBACf,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE;4BACrD,OAAO,KAAK,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAY,KAAK,EAAE,aAAa,CAAC,IAAI,CAAC,EAAE,OAAO,EAAC,UAAU,IAApD,IAAI,CAAmD,CAAC,CAAC,CAAC,IAAI,CAAA;wBACvG,CAAC,CAAC;wBACJ,CAAC,CAAC,IAAI,IACF,EACP,QAAQ,IAAI,QAAQ,EAAE,QAAQ,CAAC,QAAQ,KAAK,WAAW,IAAI,CAC1D,KAAC,gBAAgB,IAAC,aAAa,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,IAAI,EAAC,OAAO,EAAC,OAAO,EAAC,WAAW,EAAC,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,UAAU,GAAI,CAChI,IACO,CACX,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentViewer.d.ts","sourceRoot":"","sources":["../../src/CommentViewer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"CommentViewer.d.ts","sourceRoot":"","sources":["../../src/CommentViewer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,MAAM,WAAW,kBAAmB,SAAQ,YAAY;IACtD,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAMtD,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ProjectReflection } from 'typedoc';
|
|
2
|
+
import type { ProjectReflection } from 'typedoc';
|
|
3
3
|
import { ContainerReflectionViewerProps } from './ReflectionViewer';
|
|
4
4
|
export declare const ProjectTwoPanelReflectionViewer: React.FC<ContainerReflectionViewerProps<ProjectReflection>>;
|
|
5
5
|
//# sourceMappingURL=ProjectTwoPanelReflectionViewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectTwoPanelReflectionViewer.d.ts","sourceRoot":"","sources":["../../src/ProjectTwoPanelReflectionViewer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ProjectTwoPanelReflectionViewer.d.ts","sourceRoot":"","sources":["../../src/ProjectTwoPanelReflectionViewer.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEhD,OAAO,EAAE,8BAA8B,EAAwC,MAAM,oBAAoB,CAAA;AAGzG,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAAC,iBAAiB,CAAC,CAOvG,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReflectionLookup.d.ts","sourceRoot":"","sources":["../../src/ReflectionLookup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"ReflectionLookup.d.ts","sourceRoot":"","sources":["../../src/ReflectionLookup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEpD,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,qBAAqB,GAAG,qBAAqB,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ContainerReflection } from 'typedoc';
|
|
2
|
+
import type { ContainerReflection } from 'typedoc';
|
|
3
3
|
import { ReflectionViewerProps } from './ReflectionViewerProps';
|
|
4
4
|
export interface ContainerReflectionViewerProps<T extends ContainerReflection = ContainerReflection> extends ReflectionViewerProps<T> {
|
|
5
5
|
itemRenderer?: React.FC<ReflectionViewerProps<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/Container.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAmB,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/Container.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAmB,MAAM,SAAS,CAAA;AAKnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAE/D,MAAM,WAAW,8BAA8B,CAAC,CAAC,SAAS,mBAAmB,GAAG,mBAAmB,CAAE,SAAQ,qBAAqB,CAAC,CAAC,CAAC;IAEnI,YAAY,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,CAAA;CACpD;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA4B9E,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DeclarationReflection } from 'typedoc';
|
|
2
|
+
import type { DeclarationReflection } from 'typedoc';
|
|
3
3
|
import { ReflectionViewerProps } from './ReflectionViewerProps';
|
|
4
4
|
export declare const DeclarationReflectionViewer: React.FC<ReflectionViewerProps<DeclarationReflection>>;
|
|
5
5
|
//# sourceMappingURL=Declaration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Declaration.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/Declaration.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,qBAAqB,EAAuB,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"Declaration.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/Declaration.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAuB,MAAM,SAAS,CAAA;AAGzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAE/D,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,CAwB9F,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DeclarationReflection } from 'typedoc';
|
|
2
|
+
import type { DeclarationReflection } from 'typedoc';
|
|
3
3
|
import { ContainerReflectionViewerProps } from './Container';
|
|
4
4
|
export interface DeclarationContainerReflectionViewerProps extends ContainerReflectionViewerProps {
|
|
5
5
|
reflection: DeclarationReflection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeclarationContainer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/DeclarationContainer.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"DeclarationContainer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/DeclarationContainer.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEpD,OAAO,EAA6B,8BAA8B,EAAE,MAAM,aAAa,CAAA;AAGvF,MAAM,WAAW,yCAA0C,SAAQ,8BAA8B;IAC/F,UAAU,EAAE,qBAAqB,CAAA;CAClC;AAED,eAAO,MAAM,oCAAoC,EAAE,KAAK,CAAC,EAAE,CAAC,yCAAyC,CAoBpG,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NameViewer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/NameViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA2B,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"NameViewer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/NameViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA2B,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAG7D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAElD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAG/D,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,UAAU,EAAE,cAAc,CAAA;IAC1B,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAA;IACjD,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuBhD,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ProjectReflection } from 'typedoc';
|
|
2
|
+
import type { ProjectReflection } from 'typedoc';
|
|
3
3
|
import { ContainerReflectionViewerProps } from './Container';
|
|
4
4
|
export declare const ProjectReflectionViewer: React.FC<ContainerReflectionViewerProps<ProjectReflection>>;
|
|
5
5
|
//# sourceMappingURL=Project.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Project.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/Project.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAmB,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"Project.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/Project.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,iBAAiB,EAAmB,MAAM,SAAS,CAAA;AAGjE,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAA;AAI5D,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAAC,iBAAiB,CAAC,CA4B/F,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ContainerReflection, ReflectionGroup } from 'typedoc';
|
|
2
|
+
import type { ContainerReflection, ReflectionGroup } from 'typedoc';
|
|
3
3
|
import { ReflectionViewerProps } from './ReflectionViewerProps';
|
|
4
4
|
export interface ReflectionGroupViewerProps extends ReflectionViewerProps<ContainerReflection> {
|
|
5
5
|
autoscroll?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReflectionGroupViewer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/ReflectionGroupViewer.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,mBAAmB,EAAmB,eAAe,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"ReflectionGroupViewer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/ReflectionGroupViewer.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAmB,eAAe,EAAE,MAAM,SAAS,CAAA;AAKpF,OAAO,EAAc,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAE3E,MAAM,WAAW,0BAA2B,SAAQ,qBAAqB,CAAC,mBAAmB,CAAC;IAC5F,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,EAAE,eAAe,CAAA;IACtB,UAAU,EAAE,mBAAmB,CAAA;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAA;CAC3C;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CA0DtE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypographyVariant } from '@mui/material';
|
|
2
2
|
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
3
3
|
import { ReactElement } from 'react';
|
|
4
|
-
import { Reflection } from 'typedoc';
|
|
4
|
+
import type { Reflection } from 'typedoc';
|
|
5
5
|
import { ReflectionLookup } from '../ReflectionLookup';
|
|
6
6
|
export type FlagFilter = 'isPublic' | 'isPrivate' | 'isProtected';
|
|
7
7
|
export interface ReflectionViewerProps<T extends Reflection = Reflection> extends FlexBoxProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReflectionViewerProps.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/ReflectionViewerProps.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"ReflectionViewerProps.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/ReflectionViewerProps.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACpC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEtD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,aAAa,CAAA;AAEjE,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,CAAE,SAAQ,YAAY;IAC5F,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,UAAU,CAAC,EAAE,YAAY,GAAG,IAAI,CAAA;IAChC,UAAU,EAAE,CAAC,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { SomeType, Type } from 'typedoc';
|
|
2
|
+
import type { SomeType, Type } from 'typedoc';
|
|
3
3
|
import { ReflectionViewerProps } from '../ReflectionViewerProps';
|
|
4
4
|
export type TypeBuilder = (type: SomeType | Type, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder?: TypeBuilder) => ReactNode;
|
|
5
5
|
//# sourceMappingURL=TypeBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeBuilder.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/TypeBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"TypeBuilder.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/TypeBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,MAAM,MAAM,WAAW,GAAG,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,EAAE,WAAW,CAAC,EAAE,WAAW,KAAK,SAAS,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArrayType } from 'typedoc';
|
|
1
|
+
import type { ArrayType } from 'typedoc';
|
|
2
2
|
import { ReflectionViewerProps } from '../ReflectionViewerProps';
|
|
3
3
|
import { TypeBuilder } from './TypeBuilder';
|
|
4
4
|
export declare const buildArrayString: (typeObj: ArrayType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildArrayString.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/buildArrayString.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"buildArrayString.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/buildArrayString.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,eAAO,MAAM,gBAAgB,YAAa,SAAS,oBAAoB,MAAM,EAAE,CAAC,qBAAqB,CAAC,eAAe,WAAW,aAQ/H,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IntersectionType } from 'typedoc';
|
|
1
|
+
import type { IntersectionType } from 'typedoc';
|
|
2
2
|
import { ReflectionViewerProps } from '../ReflectionViewerProps';
|
|
3
3
|
import { TypeBuilder } from './TypeBuilder';
|
|
4
4
|
export declare const buildIntersectionString: (typeObj: IntersectionType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildIntersectionString.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/buildIntersectionString.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"buildIntersectionString.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/buildIntersectionString.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,eAAO,MAAM,uBAAuB,YAAa,gBAAgB,oBAAoB,MAAM,EAAE,CAAC,qBAAqB,CAAC,eAAe,WAAW,aAY7I,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReferenceType } from 'typedoc';
|
|
1
|
+
import type { ReferenceType } from 'typedoc';
|
|
2
2
|
import { ReflectionViewerProps } from '../ReflectionViewerProps';
|
|
3
3
|
import { TypeBuilder } from './TypeBuilder';
|
|
4
4
|
export declare const buildReferenceString: (typeObj: ReferenceType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildReferenceString.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/buildReferenceString.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"buildReferenceString.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/buildReferenceString.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,eAAO,MAAM,oBAAoB,YAAa,aAAa,oBAAoB,MAAM,EAAE,CAAC,qBAAqB,CAAC,eAAe,WAAW,aAevI,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReflectionType } from 'typedoc';
|
|
1
|
+
import type { ReflectionType } from 'typedoc';
|
|
2
2
|
import { ReflectionViewerProps } from '../ReflectionViewerProps';
|
|
3
3
|
export declare const buildRelfectionString: (typeObj: ReflectionType, reflectionViewer: React.FC<ReflectionViewerProps>) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
4
4
|
//# sourceMappingURL=buildReflectionString.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildReflectionString.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/buildReflectionString.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"buildReflectionString.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/buildReflectionString.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,eAAO,MAAM,qBAAqB,YAAa,cAAc,oBAAoB,MAAM,EAAE,CAAC,qBAAqB,CAAC,wDAI/G,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UnionType } from 'typedoc';
|
|
1
|
+
import type { UnionType } from 'typedoc';
|
|
2
2
|
import { ReflectionViewerProps } from '../ReflectionViewerProps';
|
|
3
3
|
import { TypeBuilder } from './TypeBuilder';
|
|
4
4
|
export declare const buildUnionString: (typeObj: UnionType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildUnionString.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/buildUnionString.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"buildUnionString.d.ts","sourceRoot":"","sources":["../../../../src/ReflectionViewer/SomeTypeViewer/buildUnionString.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,eAAO,MAAM,gBAAgB,YAAa,SAAS,oBAAoB,MAAM,EAAE,CAAC,qBAAqB,CAAC,eAAe,WAAW,aAY/H,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SomeReflection.d.ts","sourceRoot":"","sources":["../../src/SomeReflection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"SomeReflection.d.ts","sourceRoot":"","sources":["../../src/SomeReflection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAExE,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAA;AAErD,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,mBAAmB,EAAE,CAAA;CAAE,CAAA;AAE9E,MAAM,MAAM,cAAc,GAAG,kBAAkB,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
3
|
-
import { SourceReference } from 'typedoc';
|
|
3
|
+
import type { SourceReference } from 'typedoc';
|
|
4
4
|
export interface SourceViewerProps extends FlexBoxProps {
|
|
5
5
|
source: SourceReference;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SourceViewer.d.ts","sourceRoot":"","sources":["../../src/SourceViewer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"SourceViewer.d.ts","sourceRoot":"","sources":["../../src/SourceViewer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,MAAM,EAAE,eAAe,CAAA;CACxB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAQpD,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
3
|
-
import { ContainerReflection, Reflection } from 'typedoc';
|
|
3
|
+
import type { ContainerReflection, Reflection } from 'typedoc';
|
|
4
4
|
import { ReflectionLookup } from '../ReflectionLookup';
|
|
5
5
|
import { FlagFilter } from '../ReflectionViewer';
|
|
6
6
|
export interface ReflectionTreeViewerProps<T extends Reflection = ContainerReflection> extends FlexBoxProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reflection.d.ts","sourceRoot":"","sources":["../../../src/TreeViewer/Reflection.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAE7D,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"Reflection.d.ts","sourceRoot":"","sources":["../../../src/TreeViewer/Reflection.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAE9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAEhD,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,UAAU,GAAG,mBAAmB,CAAE,SAAQ,YAAY;IACzG,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,UAAU,EAAE,CAAC,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA4CpE,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ContainerReflection, DeclarationReflection } from 'typedoc';
|
|
1
|
+
import type { ContainerReflection, DeclarationReflection } from 'typedoc';
|
|
2
2
|
export declare const createLookup: <T extends DeclarationReflection>(reflection: ContainerReflection) => Record<number, T>;
|
|
3
3
|
//# sourceMappingURL=createLookup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createLookup.d.ts","sourceRoot":"","sources":["../../src/createLookup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"createLookup.d.ts","sourceRoot":"","sources":["../../src/createLookup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAEzE,eAAO,MAAM,YAAY,gDAAiD,mBAAmB,sBAI5F,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveChildren.d.ts","sourceRoot":"","sources":["../../src/resolveChildren.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"resolveChildren.d.ts","sourceRoot":"","sources":["../../src/resolveChildren.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,KAAK,sBAAsB,GAAG;IAAE,QAAQ,EAAE,UAAU,EAAE,CAAA;CAAE,CAAA;AAExD,eAAO,MAAM,eAAe,yCAA0C,sBAAsB,WAAU,gBAAgB,QAgBrH,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@mui/lab": "^5.0.0-alpha.
|
|
14
|
-
"@xylabs/assert": "^2.
|
|
15
|
-
"@xylabs/react-button": "^2.17.
|
|
16
|
-
"@xylabs/react-flexbox": "^2.17.
|
|
13
|
+
"@mui/lab": "^5.0.0-alpha.131",
|
|
14
|
+
"@xylabs/assert": "^2.8.1",
|
|
15
|
+
"@xylabs/react-button": "^2.17.3",
|
|
16
|
+
"@xylabs/react-flexbox": "^2.17.3",
|
|
17
17
|
"react-json-view": "^1.21.3",
|
|
18
18
|
"typedoc": "^0.24.7",
|
|
19
19
|
"typescript": "^5.0.4"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@storybook/react": "^7.0.
|
|
22
|
+
"@storybook/react": "^7.0.17",
|
|
23
23
|
"@xylabs/ts-scripts-yarn3": "^2.17.13",
|
|
24
24
|
"@xylabs/tsconfig-react": "^2.17.13",
|
|
25
|
-
"@xyo-network/core": "^2.
|
|
25
|
+
"@xyo-network/core": "^2.58.0",
|
|
26
26
|
"typescript": "^5.0.4"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
},
|
|
77
77
|
"sideEffects": false,
|
|
78
78
|
"types": "dist/types/index.d.ts",
|
|
79
|
-
"version": "2.
|
|
79
|
+
"version": "2.50.0"
|
|
80
80
|
}
|
package/src/CommentViewer.tsx
CHANGED
|
@@ -2,7 +2,7 @@ import { Meta, StoryFn } from '@storybook/react'
|
|
|
2
2
|
// eslint-disable-next-line import/no-internal-modules
|
|
3
3
|
import clientDocs from '@xyo-network/core/dist/docs.json'
|
|
4
4
|
import { BrowserRouter } from 'react-router-dom'
|
|
5
|
-
import { ProjectReflection } from 'typedoc'
|
|
5
|
+
import type { ProjectReflection } from 'typedoc'
|
|
6
6
|
|
|
7
7
|
import { ProjectTwoPanelReflectionViewer } from './ProjectTwoPanelReflectionViewer'
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { assertEx } from '@xylabs/assert'
|
|
2
|
-
import { ProjectReflection
|
|
2
|
+
import type { ProjectReflection } from 'typedoc'
|
|
3
3
|
|
|
4
4
|
import { ContainerReflectionViewerProps, DeclarationContainerReflectionViewer } from './ReflectionViewer'
|
|
5
5
|
import { TwoPanelReflectionViewer } from './TwoPanelReflectionViewer'
|
|
@@ -9,6 +9,6 @@ export const ProjectTwoPanelReflectionViewer: React.FC<ContainerReflectionViewer
|
|
|
9
9
|
itemRenderer = DeclarationContainerReflectionViewer,
|
|
10
10
|
...props
|
|
11
11
|
}) => {
|
|
12
|
-
assertEx(reflection.
|
|
12
|
+
assertEx(reflection.isProject, 'Project expected to be Project')
|
|
13
13
|
return <TwoPanelReflectionViewer itemRenderer={itemRenderer} reflection={reflection} {...props} />
|
|
14
14
|
}
|
package/src/ReflectionLookup.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useTheme } from '@mui/material'
|
|
2
2
|
import { useLocation } from 'react-router-dom'
|
|
3
|
-
import { DeclarationReflection } from 'typedoc'
|
|
3
|
+
import type { DeclarationReflection } from 'typedoc'
|
|
4
4
|
|
|
5
5
|
import { ContainerReflectionViewer, ContainerReflectionViewerProps } from './Container'
|
|
6
6
|
import { DeclarationReflectionViewer } from './Declaration'
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Chip, Stack, Typography, TypographyVariant } from '@mui/material'
|
|
2
2
|
import { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'
|
|
3
|
-
import { ReflectionKind } from 'typedoc'
|
|
4
3
|
|
|
5
4
|
import { JsonViewerButton } from '../JsonViewerButton'
|
|
6
5
|
import { SomeReflection } from '../SomeReflection'
|
|
@@ -25,7 +24,7 @@ export const NameViewer: React.FC<NameViewerProps> = ({ reflectionViewer, varian
|
|
|
25
24
|
<SomeTypeViewer reflection={reflection} reflectionViewer={reflectionViewer} />
|
|
26
25
|
</FlexRow>
|
|
27
26
|
<Stack direction="row" spacing={1}>
|
|
28
|
-
<Chip size="small" label={
|
|
27
|
+
<Chip size="small" label={reflection.kind} />
|
|
29
28
|
{reflection.flags
|
|
30
29
|
? Object.entries(reflection.flags).map(([flag, value]) => {
|
|
31
30
|
return value ? <Chip size="small" key={flag} label={trimFlagLabel(flag)} variant="outlined" /> : null
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMemo } from 'react'
|
|
2
|
-
import { ProjectReflection, ReflectionGroup } from 'typedoc'
|
|
2
|
+
import type { ProjectReflection, ReflectionGroup } from 'typedoc'
|
|
3
3
|
|
|
4
4
|
import { createLookup } from '../createLookup'
|
|
5
5
|
import { ContainerReflectionViewerProps } from './Container'
|
|
@@ -2,7 +2,7 @@ import { Typography } from '@mui/material'
|
|
|
2
2
|
import { FlexCol, FlexRow } from '@xylabs/react-flexbox'
|
|
3
3
|
import { useEffect } from 'react'
|
|
4
4
|
import { useLocation } from 'react-router-dom'
|
|
5
|
-
import { ContainerReflection, ReflectionFlags, ReflectionGroup } from 'typedoc'
|
|
5
|
+
import type { ContainerReflection, ReflectionFlags, ReflectionGroup } from 'typedoc'
|
|
6
6
|
|
|
7
7
|
import { JsonViewerButton } from '../JsonViewerButton'
|
|
8
8
|
import { resolveChildren } from '../resolveChildren'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypographyVariant } from '@mui/material'
|
|
2
2
|
import { FlexBoxProps } from '@xylabs/react-flexbox'
|
|
3
3
|
import { ReactElement } from 'react'
|
|
4
|
-
import { Reflection } from 'typedoc'
|
|
4
|
+
import type { Reflection } from 'typedoc'
|
|
5
5
|
|
|
6
6
|
import { ReflectionLookup } from '../ReflectionLookup'
|
|
7
7
|
|
package/src/SomeReflection.ts
CHANGED
package/src/SourceViewer.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Typography } from '@mui/material'
|
|
2
2
|
import { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'
|
|
3
|
-
import { SourceReference } from 'typedoc'
|
|
3
|
+
import type { SourceReference } from 'typedoc'
|
|
4
4
|
|
|
5
5
|
export interface SourceViewerProps extends FlexBoxProps {
|
|
6
6
|
source: SourceReference
|
|
@@ -3,7 +3,7 @@ import { TreeItem, TreeView } from '@mui/lab'
|
|
|
3
3
|
import { Typography } from '@mui/material'
|
|
4
4
|
import { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'
|
|
5
5
|
import { useNavigate } from 'react-router-dom'
|
|
6
|
-
import { ContainerReflection, Reflection } from 'typedoc'
|
|
6
|
+
import type { ContainerReflection, Reflection } from 'typedoc'
|
|
7
7
|
|
|
8
8
|
import { ReflectionLookup } from '../ReflectionLookup'
|
|
9
9
|
import { FlagFilter } from '../ReflectionViewer'
|
|
@@ -2,7 +2,7 @@ import { Search } from '@mui/icons-material'
|
|
|
2
2
|
import { TextField, useTheme } from '@mui/material'
|
|
3
3
|
import { FlexBoxProps, FlexCol, FlexGrowCol, FlexRow } from '@xylabs/react-flexbox'
|
|
4
4
|
import { useMemo, useState } from 'react'
|
|
5
|
-
import { ReflectionGroup } from 'typedoc'
|
|
5
|
+
import type { ReflectionGroup } from 'typedoc'
|
|
6
6
|
|
|
7
7
|
import { createLookup } from './createLookup'
|
|
8
8
|
import { ContainerReflectionViewerProps, ReflectionGroupViewer, ReflectionViewer } from './ReflectionViewer'
|
package/src/createLookup.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContainerReflection, DeclarationReflection } from 'typedoc'
|
|
1
|
+
import type { ContainerReflection, DeclarationReflection } from 'typedoc'
|
|
2
2
|
|
|
3
3
|
export const createLookup = <T extends DeclarationReflection>(reflection: ContainerReflection) => {
|
|
4
4
|
const lookup: Record<number, T> = {}
|