@xyo-network/react-typedoc 7.6.3 → 8.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"CommentViewer.d.ts","sourceRoot":"","sources":["../../src/CommentViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,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
+ {"version":3,"file":"CommentViewer.d.ts","sourceRoot":"","sources":["../../src/CommentViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,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,CAStD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,mBAAmB,EAAmB,MAAM,SAAS,CAAA;AAKnE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAExE,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
+ {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,mBAAmB,EAAmB,MAAM,SAAS,CAAA;AAKnE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAExE,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,CA8B9E,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Declaration.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/Declaration.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,qBAAqB,EAAuB,MAAM,SAAS,CAAA;AAGzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAExE,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,CAgC9F,CAAA"}
1
+ {"version":3,"file":"Declaration.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/Declaration.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,qBAAqB,EAAuB,MAAM,SAAS,CAAA;AAGzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAExE,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,CA8C9F,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"NameViewer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/NameViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAItD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAGxE,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,CA2BhD,CAAA"}
1
+ {"version":3,"file":"NameViewer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/NameViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAItD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAGxE,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,CAsChD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReflectionGroupViewer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/ReflectionGroupViewer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAExC,OAAO,KAAK,EACV,mBAAmB,EAAmB,eAAe,EACtD,MAAM,SAAS,CAAA;AAKhB,OAAO,KAAK,EAAc,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAEpF,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;AAYD,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAiDtE,CAAA"}
1
+ {"version":3,"file":"ReflectionGroupViewer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/ReflectionGroupViewer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoB,MAAM,OAAO,CAAA;AAExC,OAAO,KAAK,EACV,mBAAmB,EAAmB,eAAe,EACtD,MAAM,SAAS,CAAA;AAKhB,OAAO,KAAK,EAAc,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAEpF,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;AAYD,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CA8DtE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReflectionViewer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/ReflectionViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,EAAc,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAYpF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA4B5D,CAAA"}
1
+ {"version":3,"file":"ReflectionViewer.d.ts","sourceRoot":"","sources":["../../../src/ReflectionViewer/ReflectionViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,KAAK,EAAc,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAYpF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAiD5D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"SourceViewer.d.ts","sourceRoot":"","sources":["../../src/SourceViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,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
+ {"version":3,"file":"SourceViewer.d.ts","sourceRoot":"","sources":["../../src/SourceViewer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,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,CAWpD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Reflection.d.ts","sourceRoot":"","sources":["../../../src/TreeViewer/Reflection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAE9D,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,CA+CpE,CAAA"}
1
+ {"version":3,"file":"Reflection.d.ts","sourceRoot":"","sources":["../../../src/TreeViewer/Reflection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAE9D,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,CAkDpE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReflectionGroup.d.ts","sourceRoot":"","sources":["../../../src/TreeViewer/ReflectionGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AAI9E,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CA6B1E,CAAA"}
1
+ {"version":3,"file":"ReflectionGroup.d.ts","sourceRoot":"","sources":["../../../src/TreeViewer/ReflectionGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AAI9E,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAwC1E,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"TwoPanelReflectionViewer.d.ts","sourceRoot":"","sources":["../../src/TwoPanelReflectionViewer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAIhD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAA;AAIjF,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA+E7E,CAAA"}
1
+ {"version":3,"file":"TwoPanelReflectionViewer.d.ts","sourceRoot":"","sources":["../../src/TwoPanelReflectionViewer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAIhD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAA;AAIjF,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA6G7E,CAAA"}
@@ -3,7 +3,14 @@ import { Typography } from "@mui/material";
3
3
  import { FlexCol } from "@xylabs/react-flexbox";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  var CommentViewer = ({ comment, ...props }) => {
6
- return /* @__PURE__ */ jsx(FlexCol, { alignItems: "stretch", ...props, children: /* @__PURE__ */ jsx(Typography, { variant: "body2", children: comment.summary[0]?.text }) });
6
+ return /* @__PURE__ */ jsx(
7
+ FlexCol,
8
+ {
9
+ ...props,
10
+ sx: [{ alignItems: "stretch" }, ...Array.isArray(props.sx) ? props.sx : [props.sx]],
11
+ children: /* @__PURE__ */ jsx(Typography, { variant: "body2", children: comment.summary[0]?.text })
12
+ }
13
+ );
7
14
  };
8
15
 
9
16
  // src/JsonViewerButton.tsx
@@ -216,22 +223,40 @@ var NameViewer = ({
216
223
  reflection,
217
224
  ...props
218
225
  }) => {
219
- return /* @__PURE__ */ jsxs2(FlexRow, { justifyContent: "flex-start", ...props, children: [
220
- /* @__PURE__ */ jsxs2(FlexRow, { marginRight: 1, children: [
221
- /* @__PURE__ */ jsxs2(Typography3, { variant, noWrap: true, children: [
222
- reflection.name,
223
- reflection.type ? /* @__PURE__ */ jsx5(Fragment4, { children: ":\xA0" }) : null
224
- ] }),
225
- /* @__PURE__ */ jsx5(SomeTypeViewer, { reflection, reflectionViewer })
226
- ] }),
227
- /* @__PURE__ */ jsxs2(Stack, { direction: "row", spacing: 1, children: [
228
- /* @__PURE__ */ jsx5(Chip, { size: "small", label: reflection.kind }),
229
- reflection.flags ? Object.entries(reflection.flags).map(([flag, value]) => {
230
- return value ? /* @__PURE__ */ jsx5(Chip, { size: "small", label: trimFlagLabel(flag), variant: "outlined" }, flag) : null;
231
- }) : null
232
- ] }),
233
- document && document?.location.hostname === "localhost" && /* @__PURE__ */ jsx5(JsonViewerButton, { size: "small", variant: "contained", padding: 0, marginX: 1, src: reflection })
234
- ] });
226
+ return /* @__PURE__ */ jsxs2(
227
+ FlexRow,
228
+ {
229
+ ...props,
230
+ sx: [{ justifyContent: "flex-start" }, ...Array.isArray(props.sx) ? props.sx : [props.sx]],
231
+ children: [
232
+ /* @__PURE__ */ jsxs2(FlexRow, { sx: { marginRight: 1 }, children: [
233
+ /* @__PURE__ */ jsxs2(Typography3, { variant, noWrap: true, children: [
234
+ reflection.name,
235
+ reflection.type ? /* @__PURE__ */ jsx5(Fragment4, { children: ":\xA0" }) : null
236
+ ] }),
237
+ /* @__PURE__ */ jsx5(SomeTypeViewer, { reflection, reflectionViewer })
238
+ ] }),
239
+ /* @__PURE__ */ jsxs2(Stack, { direction: "row", spacing: 1, children: [
240
+ /* @__PURE__ */ jsx5(Chip, { size: "small", label: reflection.kind }),
241
+ reflection.flags ? Object.entries(reflection.flags).map(([flag, value]) => {
242
+ return value ? /* @__PURE__ */ jsx5(Chip, { size: "small", label: trimFlagLabel(flag), variant: "outlined" }, flag) : null;
243
+ }) : null
244
+ ] }),
245
+ document && document?.location.hostname === "localhost" && /* @__PURE__ */ jsx5(
246
+ JsonViewerButton,
247
+ {
248
+ size: "small",
249
+ variant: "contained",
250
+ src: reflection,
251
+ sx: {
252
+ padding: 0,
253
+ marginX: 1
254
+ }
255
+ }
256
+ )
257
+ ]
258
+ }
259
+ );
235
260
  };
236
261
 
237
262
  // src/ReflectionViewer/ReflectionViewer.tsx
@@ -254,14 +279,41 @@ var ReflectionViewer = ({
254
279
  ...props
255
280
  }) => {
256
281
  const someReflection = reflection;
257
- return hide(reflection?.flags, hiddenFlags) ? null : /* @__PURE__ */ jsxs3(FlexCol2, { title: "ReflectionViewer", alignItems: "stretch", ...props, children: [
258
- nameViewer === void 0 ? /* @__PURE__ */ jsx6(NameViewer, { marginY: 0.25, variant, reflection: someReflection, reflectionViewer: ReflectionViewer }) : nameViewer,
259
- reflection.comment ? /* @__PURE__ */ jsx6(CommentViewer, { comment: reflection.comment }) : null,
260
- someReflection.parameters?.map((parameter) => {
261
- return /* @__PURE__ */ jsx6(ReflectionViewer, { hiddenFlags, marginY: 0.25, marginX: 1, reflection: parameter }, parameter.id);
262
- }) ?? null,
263
- children
264
- ] });
282
+ return hide(reflection?.flags, hiddenFlags) ? null : /* @__PURE__ */ jsxs3(
283
+ FlexCol2,
284
+ {
285
+ title: "ReflectionViewer",
286
+ ...props,
287
+ sx: [{ alignItems: "stretch" }, ...Array.isArray(props.sx) ? props.sx : [props.sx]],
288
+ children: [
289
+ nameViewer === void 0 ? /* @__PURE__ */ jsx6(
290
+ NameViewer,
291
+ {
292
+ variant,
293
+ reflection: someReflection,
294
+ reflectionViewer: ReflectionViewer,
295
+ sx: { marginY: 0.25 }
296
+ }
297
+ ) : nameViewer,
298
+ reflection.comment ? /* @__PURE__ */ jsx6(CommentViewer, { comment: reflection.comment }) : null,
299
+ someReflection.parameters?.map((parameter) => {
300
+ return /* @__PURE__ */ jsx6(
301
+ ReflectionViewer,
302
+ {
303
+ hiddenFlags,
304
+ reflection: parameter,
305
+ sx: {
306
+ marginY: 0.25,
307
+ marginX: 1
308
+ }
309
+ },
310
+ parameter.id
311
+ );
312
+ }) ?? null,
313
+ children
314
+ ]
315
+ }
316
+ );
265
317
  };
266
318
 
267
319
  // src/ReflectionViewer/ReflectionGroupViewer.tsx
@@ -296,16 +348,34 @@ var ReflectionGroupViewer = ({
296
348
  }
297
349
  }, [hash, autoScroll]);
298
350
  return visibleChildren > 0 ? /* @__PURE__ */ jsxs4(FlexCol3, { title: "ReflectionGroupViewer", ...props, children: [
299
- /* @__PURE__ */ jsxs4(FlexRow2, { marginY: 1, justifyContent: "flex-start", children: [
300
- /* @__PURE__ */ jsx7(Typography4, { variant, children: group.title }),
301
- /* @__PURE__ */ jsx7(JsonViewerButton, { size: "small", variant: "contained", padding: 0, marginX: 1, src: resolveChildren(group, lookup) })
302
- ] }),
351
+ /* @__PURE__ */ jsxs4(
352
+ FlexRow2,
353
+ {
354
+ sx: {
355
+ marginY: 1,
356
+ justifyContent: "flex-start"
357
+ },
358
+ children: [
359
+ /* @__PURE__ */ jsx7(Typography4, { variant, children: group.title }),
360
+ /* @__PURE__ */ jsx7(
361
+ JsonViewerButton,
362
+ {
363
+ size: "small",
364
+ variant: "contained",
365
+ src: resolveChildren(group, lookup),
366
+ sx: {
367
+ padding: 0,
368
+ marginX: 1
369
+ }
370
+ }
371
+ )
372
+ ]
373
+ }
374
+ ),
303
375
  resolveChildren(group, lookup).map((reflection) => {
304
376
  return reflection ? /* @__PURE__ */ jsx7("div", { id: reflection.name, children: renderer({
305
377
  hiddenFlags,
306
378
  lookup,
307
- margin: 1,
308
- padding: 1,
309
379
  reflection
310
380
  }) }, reflection.id) : null;
311
381
  }),
@@ -328,13 +398,15 @@ var ContainerReflectionViewer = ({
328
398
  return /* @__PURE__ */ jsx8(
329
399
  ReflectionGroupViewer,
330
400
  {
331
- margin: 1,
332
401
  lookup,
333
402
  renderer: itemRenderer,
334
403
  group,
335
404
  reflection,
336
405
  hiddenFlags,
337
- alignItems: "stretch"
406
+ sx: {
407
+ margin: 1,
408
+ alignItems: "stretch"
409
+ }
338
410
  },
339
411
  group.title
340
412
  );
@@ -366,10 +438,26 @@ var DeclarationReflectionViewer = ({
366
438
  return /* @__PURE__ */ jsx9(ReflectionViewer, { hiddenFlags, reflection: signature }, signature.id);
367
439
  }),
368
440
  safeSignatures(reflection.getSignature)?.map((signature) => {
369
- return /* @__PURE__ */ jsx9(ReflectionViewer, { marginX: 1, hiddenFlags, reflection: signature }, signature.id);
441
+ return /* @__PURE__ */ jsx9(
442
+ ReflectionViewer,
443
+ {
444
+ hiddenFlags,
445
+ reflection: signature,
446
+ sx: { marginX: 1 }
447
+ },
448
+ signature.id
449
+ );
370
450
  }),
371
451
  safeSignatures(reflection.setSignature)?.map((signature) => {
372
- return /* @__PURE__ */ jsx9(ReflectionViewer, { marginX: 1, hiddenFlags, reflection: signature }, signature.id);
452
+ return /* @__PURE__ */ jsx9(
453
+ ReflectionViewer,
454
+ {
455
+ hiddenFlags,
456
+ reflection: signature,
457
+ sx: { marginX: 1 }
458
+ },
459
+ signature.id
460
+ );
373
461
  })
374
462
  ]
375
463
  }
@@ -393,11 +481,11 @@ var DeclarationContainerReflectionViewer = ({
393
481
  {
394
482
  title: "DeclarationContainerReflectionViewer",
395
483
  paper: hash.slice(1) === reflection.name,
396
- bgcolor: hash.slice(1) === reflection.name ? theme.vars.palette.background.default : void 0,
397
484
  lookup,
398
485
  itemRenderer,
399
486
  reflection,
400
- ...props
487
+ ...props,
488
+ sx: [{ bgcolor: hash.slice(1) === reflection.name ? theme.vars.palette.background.default : void 0 }, ...Array.isArray(props.sx) ? props.sx : [props.sx]]
401
489
  }
402
490
  );
403
491
  };
@@ -423,8 +511,8 @@ var ProjectReflectionViewer = ({
423
511
  renderer: itemRenderer,
424
512
  group,
425
513
  reflection,
426
- alignItems: "stretch",
427
- hiddenFlags
514
+ hiddenFlags,
515
+ sx: { alignItems: "stretch" }
428
516
  },
429
517
  group.title
430
518
  );
@@ -456,31 +544,38 @@ var ReflectionTreeViewer = ({
456
544
  ...props
457
545
  }) => {
458
546
  const navigate = useNavigate();
459
- return /* @__PURE__ */ jsx12(FlexCol4, { alignItems: "stretch", ...props, children: /* @__PURE__ */ jsx12(
460
- SimpleTreeView,
547
+ return /* @__PURE__ */ jsx12(
548
+ FlexCol4,
461
549
  {
462
- "aria-label": "XYO SDK Documentation",
463
- slots: { collapseIcon: Remove, expandIcon: Add },
464
- expandedItems: reflection.groups ? [reflection.groups[0].title] : [],
465
- children: reflection.groups?.map((group) => /* @__PURE__ */ jsx12(TreeItem, { itemId: group.title, label: /* @__PURE__ */ jsx12(Typography5, { variant: "h6", children: group.title }), children: group.children.map((child) => {
466
- const searchTermTrimmed = searchTerm?.trim().toLowerCase();
467
- const childReflection = typeof child === "number" ? lookup?.[child] : child;
468
- return childReflection && (!searchTermTrimmed || childReflection.name.toLowerCase().includes(searchTermTrimmed)) ? /* @__PURE__ */ jsx12(
469
- TreeItem,
470
- {
471
- itemId: `declaration-${childReflection?.id}`,
472
- label: childReflection.name,
473
- onClick: () => {
474
- const hash = `#${childReflection.name}`;
475
- void navigate({ hash });
476
- document.querySelector(hash)?.scrollIntoView({ behavior: "smooth" });
477
- }
478
- },
479
- `secondary-${childReflection.id}`
480
- ) : null;
481
- }) }, `primary-${group.title}`))
550
+ ...props,
551
+ sx: [{ alignItems: "stretch" }, ...Array.isArray(props.sx) ? props.sx : [props.sx]],
552
+ children: /* @__PURE__ */ jsx12(
553
+ SimpleTreeView,
554
+ {
555
+ "aria-label": "XYO SDK Documentation",
556
+ slots: { collapseIcon: Remove, expandIcon: Add },
557
+ expandedItems: reflection.groups ? [reflection.groups[0].title] : [],
558
+ children: reflection.groups?.map((group) => /* @__PURE__ */ jsx12(TreeItem, { itemId: group.title, label: /* @__PURE__ */ jsx12(Typography5, { variant: "h6", children: group.title }), children: group.children.map((child) => {
559
+ const searchTermTrimmed = searchTerm?.trim().toLowerCase();
560
+ const childReflection = typeof child === "number" ? lookup?.[child] : child;
561
+ return childReflection && (!searchTermTrimmed || childReflection.name.toLowerCase().includes(searchTermTrimmed)) ? /* @__PURE__ */ jsx12(
562
+ TreeItem,
563
+ {
564
+ itemId: `declaration-${childReflection?.id}`,
565
+ label: childReflection.name,
566
+ onClick: () => {
567
+ const hash = `#${childReflection.name}`;
568
+ void navigate({ hash });
569
+ document.querySelector(hash)?.scrollIntoView({ behavior: "smooth" });
570
+ }
571
+ },
572
+ `secondary-${childReflection.id}`
573
+ ) : null;
574
+ }) }, `primary-${group.title}`))
575
+ }
576
+ )
482
577
  }
483
- ) });
578
+ );
484
579
  };
485
580
 
486
581
  // src/TreeViewer/ReflectionGroup.tsx
@@ -496,16 +591,32 @@ var ReflectionGroupTreeViewer = ({
496
591
  ...props
497
592
  }) => {
498
593
  return /* @__PURE__ */ jsxs7(FlexCol5, { ...props, children: [
499
- /* @__PURE__ */ jsxs7(FlexRow3, { marginY: 1, justifyContent: "flex-start", children: [
500
- /* @__PURE__ */ jsx13(Typography6, { variant, children: group.title }),
501
- /* @__PURE__ */ jsx13(JsonViewerButton, { size: "small", variant: "contained", padding: 0, marginX: 1, src: resolveChildren(group, lookup) })
502
- ] }),
594
+ /* @__PURE__ */ jsxs7(
595
+ FlexRow3,
596
+ {
597
+ sx: {
598
+ marginY: 1,
599
+ justifyContent: "flex-start"
600
+ },
601
+ children: [
602
+ /* @__PURE__ */ jsx13(Typography6, { variant, children: group.title }),
603
+ /* @__PURE__ */ jsx13(
604
+ JsonViewerButton,
605
+ {
606
+ size: "small",
607
+ variant: "contained",
608
+ src: resolveChildren(group, lookup),
609
+ sx: {
610
+ padding: 0,
611
+ marginX: 1
612
+ }
613
+ }
614
+ )
615
+ ]
616
+ }
617
+ ),
503
618
  resolveChildren(group, lookup).map((reflection) => {
504
- return reflection ? /* @__PURE__ */ jsx13("div", { children: renderer({
505
- lookup,
506
- margin: 1,
507
- reflection
508
- }) }, reflection.id) : null;
619
+ return reflection ? /* @__PURE__ */ jsx13("div", { children: renderer({ lookup, reflection }) }, reflection.id) : null;
509
620
  }),
510
621
  children
511
622
  ] });
@@ -536,61 +647,107 @@ var TwoPanelReflectionViewer = ({
536
647
  renderer: itemRenderer,
537
648
  group,
538
649
  reflection,
539
- alignItems: "stretch",
540
- hiddenFlags
650
+ hiddenFlags,
651
+ sx: { alignItems: "stretch" }
541
652
  },
542
653
  group.title
543
654
  );
544
655
  });
545
656
  }, [itemRenderer, lookup, reflection, hiddenFlags]);
546
- return /* @__PURE__ */ jsxs8(FlexRow4, { alignItems: "stretch", justifyContent: "start", sx: { overflowY: "scroll" }, ...props, children: [
547
- /* @__PURE__ */ jsxs8(FlexCol6, { minWidth: 320, alignItems: "stretch", justifyContent: "flex-start", overflow: "hidden", children: [
548
- /* @__PURE__ */ jsx14(
549
- TextField,
550
- {
551
- fullWidth: true,
552
- onChange: onSearchTermChange,
553
- slotProps: { input: { startAdornment: /* @__PURE__ */ jsx14(Search, {}) } }
554
- }
555
- ),
556
- /* @__PURE__ */ jsx14(FlexGrowCol, { marginTop: 1, alignItems: "stretch", children: /* @__PURE__ */ jsx14(
557
- ReflectionTreeViewer,
558
- {
559
- justifyContent: "flex-start",
560
- position: "absolute",
561
- top: 0,
562
- left: 0,
563
- right: 0,
564
- bottom: 0,
565
- overflow: "scroll",
566
- searchTerm,
567
- hiddenFlags,
568
- reflection,
569
- lookup,
570
- border: `1px solid ${theme.vars.palette.grey["300"]}`,
571
- borderRadius: 1,
572
- paddingY: 1
573
- }
574
- ) })
575
- ] }),
576
- /* @__PURE__ */ jsx14(FlexGrowCol, { marginLeft: 1, alignItems: "stretch", justifyContent: "flex-start", overflow: "hidden", children: /* @__PURE__ */ jsx14(FlexGrowCol, { alignItems: "stretch", children: /* @__PURE__ */ jsx14(
577
- FlexCol6,
578
- {
657
+ return /* @__PURE__ */ jsxs8(
658
+ FlexRow4,
659
+ {
660
+ ...props,
661
+ sx: [{
579
662
  alignItems: "stretch",
580
- justifyContent: "flex-start",
581
- position: "absolute",
582
- top: 0,
583
- left: 0,
584
- right: 0,
585
- bottom: 0,
586
- overflow: "scroll",
587
- borderRadius: 1,
588
- padding: 1,
589
- border: `1px solid ${theme.vars.palette.grey["300"]}`,
590
- children: reflectionGroups
591
- }
592
- ) }) })
593
- ] });
663
+ justifyContent: "start",
664
+ overflowY: "scroll"
665
+ }, ...Array.isArray(props.sx) ? props.sx : [props.sx]],
666
+ children: [
667
+ /* @__PURE__ */ jsxs8(
668
+ FlexCol6,
669
+ {
670
+ sx: {
671
+ minWidth: 320,
672
+ alignItems: "stretch",
673
+ justifyContent: "flex-start",
674
+ overflow: "hidden"
675
+ },
676
+ children: [
677
+ /* @__PURE__ */ jsx14(
678
+ TextField,
679
+ {
680
+ fullWidth: true,
681
+ onChange: onSearchTermChange,
682
+ slotProps: { input: { startAdornment: /* @__PURE__ */ jsx14(Search, {}) } }
683
+ }
684
+ ),
685
+ /* @__PURE__ */ jsx14(
686
+ FlexGrowCol,
687
+ {
688
+ sx: {
689
+ marginTop: 1,
690
+ alignItems: "stretch"
691
+ },
692
+ children: /* @__PURE__ */ jsx14(
693
+ ReflectionTreeViewer,
694
+ {
695
+ searchTerm,
696
+ hiddenFlags,
697
+ reflection,
698
+ lookup,
699
+ sx: {
700
+ justifyContent: "flex-start",
701
+ position: "absolute",
702
+ top: 0,
703
+ left: 0,
704
+ right: 0,
705
+ bottom: 0,
706
+ overflow: "scroll",
707
+ border: `1px solid ${theme.vars.palette.grey["300"]}`,
708
+ borderRadius: 1,
709
+ paddingY: 1
710
+ }
711
+ }
712
+ )
713
+ }
714
+ )
715
+ ]
716
+ }
717
+ ),
718
+ /* @__PURE__ */ jsx14(
719
+ FlexGrowCol,
720
+ {
721
+ sx: {
722
+ marginLeft: 1,
723
+ alignItems: "stretch",
724
+ justifyContent: "flex-start",
725
+ overflow: "hidden"
726
+ },
727
+ children: /* @__PURE__ */ jsx14(FlexGrowCol, { sx: { alignItems: "stretch" }, children: /* @__PURE__ */ jsx14(
728
+ FlexCol6,
729
+ {
730
+ sx: {
731
+ alignItems: "stretch",
732
+ justifyContent: "flex-start",
733
+ position: "absolute",
734
+ top: 0,
735
+ left: 0,
736
+ right: 0,
737
+ bottom: 0,
738
+ overflow: "scroll",
739
+ borderRadius: 1,
740
+ padding: 1,
741
+ border: `1px solid ${theme.vars.palette.grey["300"]}`
742
+ },
743
+ children: reflectionGroups
744
+ }
745
+ ) })
746
+ }
747
+ )
748
+ ]
749
+ }
750
+ );
594
751
  };
595
752
 
596
753
  // src/ProjectTwoPanelReflectionViewer.tsx
@@ -609,7 +766,14 @@ import { Typography as Typography7 } from "@mui/material";
609
766
  import { FlexCol as FlexCol7 } from "@xylabs/react-flexbox";
610
767
  import { jsx as jsx16 } from "react/jsx-runtime";
611
768
  var SourceViewer = ({ source, ...props }) => {
612
- return /* @__PURE__ */ jsx16(FlexCol7, { alignItems: "stretch", ...props, children: /* @__PURE__ */ jsx16(Typography7, { style: { opacity: 0.5 }, variant: "body2", children: /* @__PURE__ */ jsx16("i", { children: source.fileName }) }) });
769
+ return /* @__PURE__ */ jsx16(
770
+ FlexCol7,
771
+ {
772
+ ...props,
773
+ sx: [{ alignItems: "stretch" }, ...Array.isArray(props.sx) ? props.sx : [props.sx]],
774
+ children: /* @__PURE__ */ jsx16(Typography7, { style: { opacity: 0.5 }, variant: "body2", children: /* @__PURE__ */ jsx16("i", { children: source.fileName }) })
775
+ }
776
+ );
613
777
  };
614
778
  export {
615
779
  CommentViewer,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/CommentViewer.tsx","../../src/JsonViewerButton.tsx","../../src/ProjectTwoPanelReflectionViewer.tsx","../../src/createLookup.ts","../../src/ReflectionViewer/ReflectionGroupViewer.tsx","../../src/resolveChildren.ts","../../src/ReflectionViewer/ReflectionViewer.tsx","../../src/ReflectionViewer/NameViewer.tsx","../../src/trimFlagLabel.ts","../../src/ReflectionViewer/SomeTypeViewer/SomeTypeViewer.tsx","../../src/ReflectionViewer/SomeTypeViewer/buildArrayString.tsx","../../src/ReflectionViewer/SomeTypeViewer/buildIntersectionString.tsx","../../src/ReflectionViewer/SomeTypeViewer/buildReferenceString.ts","../../src/ReflectionViewer/SomeTypeViewer/buildReflectionString.tsx","../../src/ReflectionViewer/SomeTypeViewer/buildUnionString.tsx","../../src/ReflectionViewer/SomeTypeViewer/buildTypeString.tsx","../../src/ReflectionViewer/Container.tsx","../../src/ReflectionViewer/Declaration.tsx","../../src/ReflectionViewer/DeclarationContainer.tsx","../../src/ReflectionViewer/Project.tsx","../../src/TwoPanelReflectionViewer.tsx","../../src/TreeViewer/Reflection.tsx","../../src/TreeViewer/ReflectionGroup.tsx","../../src/SourceViewer.tsx"],"sourcesContent":["import { Typography } from '@mui/material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React from 'react'\nimport type { Comment } from 'typedoc'\n\nexport interface CommentViewerProps extends FlexBoxProps {\n comment: Comment\n}\n\nexport const CommentViewer: React.FC<CommentViewerProps> = ({ comment, ...props }) => {\n return (\n <FlexCol alignItems=\"stretch\" {...props}>\n <Typography variant=\"body2\">{comment.summary[0]?.text}</Typography>\n </FlexCol>\n )\n}\n","import {\n Dialog, DialogActions, DialogContent, DialogTitle,\n} from '@mui/material'\nimport type { ButtonExProps } from '@xylabs/react-button'\nimport { ButtonEx } from '@xylabs/react-button'\nimport type { JsonViewerExProps } from '@xyo-network/react-payload-raw-info'\nimport { JsonViewerEx } from '@xyo-network/react-payload-raw-info'\nimport React, { useState } from 'react'\n\nexport type JsonViewerButtonProps = ButtonExProps & {\n jsonViewProps?: Partial<JsonViewerExProps>\n src: object\n}\n\nexport const JsonViewerButton: React.FC<JsonViewerButtonProps> = ({\n jsonViewProps, src, title, ...props\n}) => {\n const [open, setOpen] = useState(false)\n return (\n <>\n <ButtonEx onClick={() => setOpen(!open)} {...props}>\n JSON\n </ButtonEx>\n <Dialog open={open} onClose={() => setOpen(false)}>\n {title\n ? <DialogTitle>{title}</DialogTitle>\n : null}\n <DialogContent>\n <JsonViewerEx value={src} {...jsonViewProps} />\n </DialogContent>\n <DialogActions>\n <ButtonEx onClick={() => setOpen(false)}>Close</ButtonEx>\n </DialogActions>\n </Dialog>\n </>\n )\n}\n","import { assertEx } from '@xylabs/sdk-js'\nimport React from 'react'\nimport type { ProjectReflection } from 'typedoc'\n\nimport type { ContainerReflectionViewerProps } from './ReflectionViewer/index.ts'\nimport { DeclarationContainerReflectionViewer } from './ReflectionViewer/index.ts'\nimport { TwoPanelReflectionViewer } from './TwoPanelReflectionViewer.tsx'\n\nexport const ProjectTwoPanelReflectionViewer: React.FC<ContainerReflectionViewerProps<ProjectReflection>> = ({\n reflection,\n itemRenderer = DeclarationContainerReflectionViewer,\n ...props\n}) => {\n assertEx(reflection.isProject, () => 'Project expected to be Project')\n return <TwoPanelReflectionViewer itemRenderer={itemRenderer} reflection={reflection} {...props} />\n}\n","import type { ContainerReflection, DeclarationReflection } from 'typedoc'\n\nexport const createLookup = <T extends DeclarationReflection>(reflection: ContainerReflection) => {\n const lookup: Record<number, T> = {}\n if (reflection.children) for (const item of reflection.children) lookup[item.id] = item as unknown as T\n return lookup\n}\n","import { Typography } from '@mui/material'\nimport { FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport React, { useEffect } from 'react'\nimport { useLocation } from 'react-router-dom'\nimport type {\n ContainerReflection, ReflectionFlags, ReflectionGroup,\n} from 'typedoc'\n\nimport { JsonViewerButton } from '../JsonViewerButton.tsx'\nimport { resolveChildren } from '../resolveChildren.ts'\nimport { ReflectionViewer } from './ReflectionViewer.tsx'\nimport type { FlagFilter, ReflectionViewerProps } from './ReflectionViewerProps.tsx'\n\nexport interface ReflectionGroupViewerProps extends ReflectionViewerProps<ContainerReflection> {\n autoScroll?: boolean\n group: ReflectionGroup\n reflection: ContainerReflection\n renderer?: React.FC<ReflectionViewerProps>\n}\n\nconst hide = (flags?: ReflectionFlags, hiddenFlags: FlagFilter[] = []) => {\n let hide = false\n for (const hiddenFlag of hiddenFlags) {\n if (flags?.[hiddenFlag]) {\n hide = true\n }\n }\n return hide\n}\n\nexport const ReflectionGroupViewer: React.FC<ReflectionGroupViewerProps> = ({\n autoScroll = false,\n children,\n hiddenFlags,\n group,\n lookup,\n renderer = ReflectionViewer,\n variant,\n ...props\n}) => {\n const resolvedChildren = resolveChildren(group, lookup) ?? []\n\n const visibleChildren\n = hiddenFlags\n ? resolvedChildren.reduce((acc, item) => {\n return acc + (hide(item.flags, hiddenFlags) ? 0 : 1)\n }, 0)\n : 1\n\n const { hash } = useLocation()\n useEffect(() => {\n if (hash && autoScroll) {\n document.querySelector(hash)?.scrollIntoView({ behavior: 'smooth' })\n }\n }, [hash, autoScroll])\n\n return visibleChildren > 0\n ? (\n <FlexCol title=\"ReflectionGroupViewer\" {...props}>\n <FlexRow marginY={1} justifyContent=\"flex-start\">\n <Typography variant={variant}>{group.title}</Typography>\n <JsonViewerButton size=\"small\" variant=\"contained\" padding={0} marginX={1} src={resolveChildren(group, lookup)} />\n </FlexRow>\n {resolveChildren(group, lookup).map((reflection) => {\n return reflection\n // I wrap this in a div since React does not understand that they have keys using the Renderer\n ? (\n <div id={reflection.name} key={reflection.id}>\n {renderer({\n hiddenFlags, lookup, margin: 1, padding: 1, reflection,\n }) as React.ReactNode}\n </div>\n )\n : null\n })}\n {children}\n </FlexCol>\n )\n : null\n}\n","import type { Reflection } from 'typedoc'\n\nimport type { ReflectionLookup } from './ReflectionLookup.ts'\nimport type { SomeReflection } from './SomeReflection.ts'\n\ninterface ReflectionWithChildren { children: Reflection[] }\n\nexport const resolveChildren = <T extends SomeReflection>(reflection: ReflectionWithChildren, lookup: ReflectionLookup = {}): T[] => {\n return (reflection.children?.map((child) => {\n switch (typeof child) {\n case 'object': {\n return child\n }\n case 'number': {\n const childObj = lookup[child]\n if (childObj === undefined) {\n throw new Error(`Child Reference Not Found [${child}]`)\n }\n return childObj\n }\n default: {\n throw new Error(`Invalid Child Type [${typeof child}, ${child}]`)\n }\n }\n }) ?? []) as T[]\n}\n","import { FlexCol } from '@xylabs/react-flexbox'\nimport React from 'react'\nimport type { ReflectionFlags } from 'typedoc'\n\nimport { CommentViewer } from '../CommentViewer.tsx'\nimport type { SomeReflection } from '../SomeReflection.ts'\nimport { NameViewer } from './NameViewer.tsx'\nimport type { FlagFilter, ReflectionViewerProps } from './ReflectionViewerProps.tsx'\n\nconst hide = (flags?: ReflectionFlags, hiddenFlags: FlagFilter[] = []) => {\n let hide = false\n for (const hiddenFlag of hiddenFlags) {\n if (flags?.[hiddenFlag]) {\n hide = true\n }\n }\n return hide\n}\n\nexport const ReflectionViewer: React.FC<ReflectionViewerProps> = ({\n variant, nameViewer, children, reflection, hiddenFlags, ...props\n}) => {\n const someReflection = reflection as SomeReflection\n\n return hide(reflection?.flags, hiddenFlags)\n ? null\n : (\n <FlexCol title=\"ReflectionViewer\" alignItems=\"stretch\" {...props}>\n {nameViewer === undefined\n ? <NameViewer marginY={0.25} variant={variant} reflection={someReflection} reflectionViewer={ReflectionViewer} />\n : nameViewer}\n {reflection.comment\n ? <CommentViewer comment={reflection.comment} />\n : null}\n {/* sources && reflection.sources && children ? (\n <>\n {reflection.sources.map((source, index) => {\n return <SourceViewer key={index} source={source} />\n })}\n </>\n ) : null */}\n {someReflection.parameters?.map((parameter) => {\n return <ReflectionViewer hiddenFlags={hiddenFlags} marginY={0.25} marginX={1} key={parameter.id} reflection={parameter} />\n }) ?? null}\n {children}\n </FlexCol>\n )\n}\n","import type { TypographyVariant } from '@mui/material'\nimport {\n Chip, Stack, Typography,\n} from '@mui/material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { JsonViewerButton } from '../JsonViewerButton.tsx'\nimport type { SomeReflection } from '../SomeReflection.ts'\nimport { trimFlagLabel } from '../trimFlagLabel.ts'\nimport type { ReflectionViewerProps } from './ReflectionViewerProps.tsx'\nimport { SomeTypeViewer } from './SomeTypeViewer/index.ts'\n\nexport interface NameViewerProps extends FlexBoxProps {\n reflection: SomeReflection\n reflectionViewer: React.FC<ReflectionViewerProps>\n variant?: TypographyVariant\n}\n\nexport const NameViewer: React.FC<NameViewerProps> = ({\n reflectionViewer, variant, reflection, ...props\n}) => {\n return (\n <FlexRow justifyContent=\"flex-start\" {...props}>\n <FlexRow marginRight={1}>\n <Typography variant={variant} noWrap>\n {reflection.name}\n {reflection.type\n ? <>:&nbsp;</>\n : null}\n </Typography>\n <SomeTypeViewer reflection={reflection} reflectionViewer={reflectionViewer} />\n </FlexRow>\n <Stack direction=\"row\" spacing={1}>\n <Chip size=\"small\" label={reflection.kind} />\n {reflection.flags\n ? Object.entries(reflection.flags).map(([flag, value]) => {\n return value ? <Chip size=\"small\" key={flag} label={trimFlagLabel(flag)} variant=\"outlined\" /> : null\n })\n : null}\n </Stack>\n {document && document?.location.hostname === 'localhost' && (\n <JsonViewerButton size=\"small\" variant=\"contained\" padding={0} marginX={1} src={reflection} />\n )}\n </FlexRow>\n )\n}\n","export const trimFlagLabel = (label: string) => {\n if (label.startsWith('is')) {\n return label.slice(2)\n }\n return label\n}\n","import type { TypographyProps } from '@mui/material'\nimport { Typography } from '@mui/material'\nimport React from 'react'\n\nimport type { SomeReflection } from '../../SomeReflection.ts'\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport { buildTypeString } from './buildTypeString.tsx'\n\nexport interface SomeTypeViewerProps extends TypographyProps {\n opacity?: number\n reflection: SomeReflection\n reflectionViewer: React.FC<ReflectionViewerProps>\n}\n\nexport const SomeTypeViewer: React.FC<SomeTypeViewerProps> = ({\n opacity = 0.5, reflection, reflectionViewer, ...props\n}) => {\n const typeReactNode = reflection.type ? buildTypeString(reflection.type, reflectionViewer) : ''\n if (typeof typeReactNode === 'string') {\n return (\n <Typography title=\"SomeTypeViewer\" style={{ opacity }} {...props}>\n {typeReactNode}\n </Typography>\n )\n }\n return <>{typeReactNode}</>\n}\n","import type { ArrayType } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport type { TypeBuilder } from './TypeBuilder.ts'\n\nexport const buildArrayString = (typeObj: ArrayType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => {\n const parts: string[] = []\n const typeString = typeBuilder(typeObj.elementType, reflectionViewer)\n if (typeof typeString === 'string') {\n parts.push(typeString)\n }\n parts.push('[]')\n return parts\n}\n","import type { IntersectionType } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport type { TypeBuilder } from './TypeBuilder.ts'\n\nexport const buildIntersectionString = (typeObj: IntersectionType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => {\n const parts: string[] = []\n if (typeObj.types) {\n parts.push(\n typeObj.types\n .map((arg) => {\n return typeBuilder(arg, reflectionViewer)\n })\n .join(' & '),\n )\n }\n return parts\n}\n","import type { ReferenceType } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport type { TypeBuilder } from './TypeBuilder.ts'\n\nexport const buildReferenceString = (typeObj: ReferenceType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => {\n const parts: string[] = [typeObj.name]\n if (typeObj.typeArguments) {\n parts.push(\n '<',\n typeObj.typeArguments\n .map((arg) => {\n return typeBuilder(arg, reflectionViewer)\n })\n .join(', '),\n '>',\n )\n }\n return parts\n}\n","import React from 'react'\nimport type { ReflectionType } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\n\nexport const buildReflectionString = (typeObj: ReflectionType, reflectionViewer: React.FC<ReflectionViewerProps>) => {\n if (typeObj.declaration) {\n return <>{reflectionViewer({ reflection: typeObj.declaration })}</>\n }\n}\n","import type { UnionType } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport type { TypeBuilder } from './TypeBuilder.ts'\n\nexport const buildUnionString = (typeObj: UnionType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => {\n const parts: string[] = []\n if (typeObj.types) {\n parts.push(\n typeObj.types\n .map((arg) => {\n return typeBuilder(arg, reflectionViewer)\n })\n .join(' | '),\n )\n }\n return parts\n}\n","import type { ReactNode } from 'react'\nimport type { SomeType, Type } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport { buildArrayString } from './buildArrayString.tsx'\nimport { buildIntersectionString } from './buildIntersectionString.tsx'\nimport { buildReferenceString } from './buildReferenceString.ts'\nimport { buildReflectionString } from './buildReflectionString.tsx'\nimport { buildUnionString } from './buildUnionString.tsx'\nimport type { TypeBuilder } from './TypeBuilder.ts'\n\nexport const buildTypeString: TypeBuilder = (type: SomeType | Type, reflectionViewer: React.FC<ReflectionViewerProps>): ReactNode => {\n const someType = type as SomeType\n const parts: string[] = []\n\n switch (someType.type) {\n case 'intrinsic': {\n parts.push(someType.name)\n break\n }\n case 'intersection': {\n parts.push(...buildIntersectionString(someType, reflectionViewer, buildTypeString))\n break\n }\n case 'literal': {\n parts.push(JSON.stringify(someType.value))\n break\n }\n case 'array': {\n parts.push(...buildArrayString(someType, reflectionViewer, buildTypeString))\n break\n }\n case 'reference': {\n parts.push(...buildReferenceString(someType, reflectionViewer, buildTypeString))\n break\n }\n case 'union': {\n parts.push(...buildUnionString(someType, reflectionViewer, buildTypeString))\n break\n }\n case 'reflection': {\n return buildReflectionString(someType, reflectionViewer)\n }\n default: {\n parts.push('#', someType.type, '#')\n break\n }\n }\n return parts.join('')\n}\n","import React from 'react'\nimport type { ContainerReflection, ReflectionGroup } from 'typedoc'\n\nimport { createLookup } from '../createLookup.ts'\nimport { ReflectionGroupViewer } from './ReflectionGroupViewer.tsx'\nimport { ReflectionViewer } from './ReflectionViewer.tsx'\nimport type { ReflectionViewerProps } from './ReflectionViewerProps.tsx'\n\nexport interface ContainerReflectionViewerProps<T extends ContainerReflection = ContainerReflection> extends ReflectionViewerProps<T> {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n itemRenderer?: React.FC<ReflectionViewerProps<any>>\n}\n\nexport const ContainerReflectionViewer: React.FC<ContainerReflectionViewerProps> = ({\n children,\n reflection,\n hiddenFlags,\n itemRenderer = ReflectionViewer,\n ...props\n}) => {\n const lookup = createLookup(reflection)\n\n return (\n <ReflectionViewer title=\"ContainerReflectionViewer\" sources reflection={reflection} lookup={lookup} {...props}>\n {reflection.groups?.map((group: ReflectionGroup) => {\n return (\n <ReflectionGroupViewer\n margin={1}\n lookup={lookup}\n renderer={itemRenderer}\n key={group.title}\n group={group}\n reflection={reflection}\n hiddenFlags={hiddenFlags}\n alignItems=\"stretch\"\n />\n )\n })}\n {children}\n </ReflectionViewer>\n )\n}\n","import React from 'react'\nimport type { DeclarationReflection, SignatureReflection } from 'typedoc'\n\nimport { ReflectionViewer } from './ReflectionViewer.tsx'\nimport type { ReflectionViewerProps } from './ReflectionViewerProps.tsx'\n\nexport const DeclarationReflectionViewer: React.FC<ReflectionViewerProps<DeclarationReflection>> = ({\n reflection, hiddenFlags, ...props\n}) => {\n const safeSignatures = (signatures?: SignatureReflection[] | SignatureReflection) => {\n return (\n Array.isArray(signatures)\n ? signatures\n : signatures\n ? [signatures]\n : undefined\n )\n }\n\n return (\n <ReflectionViewer\n nameViewer={reflection.signatures || reflection.getSignature || reflection.setSignature ? null : undefined}\n title=\"DeclarationReflectionViewer\"\n hiddenFlags={hiddenFlags}\n reflection={reflection}\n {...props}\n >\n {reflection.signatures?.map((signature) => {\n return <ReflectionViewer key={signature.id} hiddenFlags={hiddenFlags} reflection={signature} />\n })}\n {safeSignatures(reflection.getSignature)?.map((signature) => {\n return <ReflectionViewer marginX={1} key={signature.id} hiddenFlags={hiddenFlags} reflection={signature} />\n })}\n {safeSignatures(reflection.setSignature)?.map((signature) => {\n return <ReflectionViewer marginX={1} key={signature.id} hiddenFlags={hiddenFlags} reflection={signature} />\n })}\n </ReflectionViewer>\n )\n}\n","import { useTheme } from '@mui/material'\nimport React from 'react'\nimport { useLocation } from 'react-router-dom'\nimport type { DeclarationReflection } from 'typedoc'\n\nimport type { ContainerReflectionViewerProps } from './Container.tsx'\nimport { ContainerReflectionViewer } from './Container.tsx'\nimport { DeclarationReflectionViewer } from './Declaration.tsx'\n\nexport interface DeclarationContainerReflectionViewerProps extends ContainerReflectionViewerProps {\n reflection: DeclarationReflection\n}\n\nexport const DeclarationContainerReflectionViewer: React.FC<DeclarationContainerReflectionViewerProps> = ({\n reflection,\n lookup,\n itemRenderer = DeclarationReflectionViewer,\n ...props\n}) => {\n const { hash } = useLocation()\n const theme = useTheme()\n\n return (\n <ContainerReflectionViewer\n title=\"DeclarationContainerReflectionViewer\"\n paper={hash.slice(1) === reflection.name}\n bgcolor={hash.slice(1) === reflection.name ? theme.vars.palette.background.default : undefined}\n lookup={lookup}\n itemRenderer={itemRenderer}\n reflection={reflection}\n {...props}\n />\n )\n}\n","import React, { useMemo } from 'react'\nimport type { ProjectReflection, ReflectionGroup } from 'typedoc'\n\nimport { createLookup } from '../createLookup.ts'\nimport type { ContainerReflectionViewerProps } from './Container.tsx'\nimport { ReflectionGroupViewer } from './ReflectionGroupViewer.tsx'\nimport { ReflectionViewer } from './ReflectionViewer.tsx'\n\nexport const ProjectReflectionViewer: React.FC<ContainerReflectionViewerProps<ProjectReflection>> = ({\n reflection,\n hiddenFlags,\n itemRenderer = ReflectionViewer,\n ...props\n}) => {\n const lookup = useMemo(() => createLookup(reflection), [reflection])\n return (\n <ReflectionViewer title=\"ProjectReflectionViewer\" hiddenFlags={hiddenFlags} reflection={reflection} {...props}>\n {useMemo(() => {\n return reflection.groups?.map((group: ReflectionGroup) => {\n return (\n <ReflectionGroupViewer\n autoScroll\n variant=\"h6\"\n lookup={lookup}\n key={group.title}\n renderer={itemRenderer}\n group={group}\n reflection={reflection}\n alignItems=\"stretch\"\n hiddenFlags={hiddenFlags}\n />\n )\n })\n }, [lookup, reflection, hiddenFlags, itemRenderer])}\n </ReflectionViewer>\n )\n}\n","import { Search } from '@mui/icons-material'\nimport { TextField, useTheme } from '@mui/material'\nimport {\n FlexCol, FlexGrowCol, FlexRow,\n} from '@xylabs/react-flexbox'\nimport React, { useMemo, useState } from 'react'\nimport type { ReflectionGroup } from 'typedoc'\n\nimport { createLookup } from './createLookup.ts'\nimport type { ContainerReflectionViewerProps } from './ReflectionViewer/index.ts'\nimport { ReflectionGroupViewer, ReflectionViewer } from './ReflectionViewer/index.ts'\nimport { ReflectionTreeViewer } from './TreeViewer/index.ts'\n\nexport const TwoPanelReflectionViewer: React.FC<ContainerReflectionViewerProps> = ({\n reflection,\n itemRenderer = ReflectionViewer,\n hiddenFlags,\n ...props\n}) => {\n const lookup = useMemo(() => createLookup(reflection), [reflection])\n const theme = useTheme()\n const [searchTerm, setSearchTerm] = useState<string>()\n const onSearchTermChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setSearchTerm(e.target.value)\n }\n\n const reflectionGroups = useMemo(() => {\n return reflection.groups?.map((group: ReflectionGroup) => {\n return (\n <ReflectionGroupViewer\n autoScroll\n variant=\"h6\"\n lookup={lookup}\n renderer={itemRenderer}\n key={group.title}\n group={group}\n reflection={reflection}\n alignItems=\"stretch\"\n hiddenFlags={hiddenFlags}\n />\n )\n })\n }, [itemRenderer, lookup, reflection, hiddenFlags])\n\n return (\n <FlexRow alignItems=\"stretch\" justifyContent=\"start\" sx={{ overflowY: 'scroll' }} {...props}>\n <FlexCol minWidth={320} alignItems=\"stretch\" justifyContent=\"flex-start\" overflow=\"hidden\">\n <TextField\n fullWidth\n onChange={onSearchTermChange}\n slotProps={{ input: { startAdornment: <Search /> } }}\n />\n <FlexGrowCol marginTop={1} alignItems=\"stretch\">\n <ReflectionTreeViewer\n justifyContent=\"flex-start\"\n position=\"absolute\"\n top={0}\n left={0}\n right={0}\n bottom={0}\n overflow=\"scroll\"\n searchTerm={searchTerm}\n hiddenFlags={hiddenFlags}\n reflection={reflection}\n lookup={lookup}\n border={`1px solid ${theme.vars.palette.grey['300']}`}\n borderRadius={1}\n paddingY={1}\n />\n </FlexGrowCol>\n </FlexCol>\n <FlexGrowCol marginLeft={1} alignItems=\"stretch\" justifyContent=\"flex-start\" overflow=\"hidden\">\n <FlexGrowCol alignItems=\"stretch\">\n <FlexCol\n alignItems=\"stretch\"\n justifyContent=\"flex-start\"\n position=\"absolute\"\n top={0}\n left={0}\n right={0}\n bottom={0}\n overflow=\"scroll\"\n borderRadius={1}\n padding={1}\n border={`1px solid ${theme.vars.palette.grey['300']}`}\n >\n {reflectionGroups}\n </FlexCol>\n </FlexGrowCol>\n </FlexGrowCol>\n </FlexRow>\n )\n}\n","import { Add, Remove } from '@mui/icons-material'\nimport { Typography } from '@mui/material'\nimport { SimpleTreeView, TreeItem } from '@mui/x-tree-view'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React from 'react'\nimport { useNavigate } from 'react-router-dom'\nimport type { ContainerReflection, Reflection } from 'typedoc'\n\nimport type { ReflectionLookup } from '../ReflectionLookup.ts'\nimport type { FlagFilter } from '../ReflectionViewer/index.ts'\n\nexport interface ReflectionTreeViewerProps<T extends Reflection = ContainerReflection> extends FlexBoxProps {\n hiddenFlags?: FlagFilter[]\n lookup?: ReflectionLookup\n reflection: T\n searchTerm?: string\n}\n\nexport const ReflectionTreeViewer: React.FC<ReflectionTreeViewerProps> = ({\n lookup, reflection, searchTerm, ...props\n}) => {\n const navigate = useNavigate()\n return (\n <FlexCol alignItems=\"stretch\" {...props}>\n {/* TODO - move this into a title component */}\n {/* {nameViewer === undefined ? <NameViewer variant={variant} reflection={reflection} /> : nameViewer} */}\n {/* {reflection.comment ? <CommentViewer comment={reflection.comment} /> : null} */}\n {/* {reflection.sources ? ( */}\n {/* <> */}\n {/* {reflection.sources.map((source, index) => { */}\n {/* return <SourceViewer key={index} source={source} /> */}\n {/* })} */}\n {/* </> */}\n {/* ) : null} */}\n {/* TODO - when searching do not include categories that dont have children, pull maps out of view */}\n <SimpleTreeView\n aria-label=\"XYO SDK Documentation\"\n slots={{ collapseIcon: Remove, expandIcon: Add }}\n expandedItems={reflection.groups ? [reflection.groups[0].title] : []}\n >\n {reflection.groups?.map(group => (\n <TreeItem key={`primary-${group.title}`} itemId={group.title} label={<Typography variant=\"h6\">{group.title}</Typography>}>\n {group.children.map((child) => {\n const searchTermTrimmed = searchTerm?.trim().toLowerCase()\n const childReflection = typeof child === 'number' ? lookup?.[child as number] : child\n return childReflection && (!searchTermTrimmed || childReflection.name.toLowerCase().includes(searchTermTrimmed))\n ? (\n <TreeItem\n key={`secondary-${childReflection.id}`}\n itemId={`declaration-${childReflection?.id}`}\n label={childReflection.name}\n onClick={() => {\n const hash = `#${childReflection.name}`\n void navigate({ hash })\n document.querySelector(hash)?.scrollIntoView({ behavior: 'smooth' })\n }}\n />\n )\n : null\n })}\n </TreeItem>\n ))}\n </SimpleTreeView>\n </FlexCol>\n )\n}\n","import { Typography } from '@mui/material'\nimport { FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { JsonViewerButton } from '../JsonViewerButton.tsx'\nimport type { ReflectionGroupViewerProps } from '../ReflectionViewer/index.ts'\nimport { ReflectionViewer } from '../ReflectionViewer/index.ts'\nimport { resolveChildren } from '../resolveChildren.ts'\n\nexport const ReflectionGroupTreeViewer: React.FC<ReflectionGroupViewerProps> = ({\n variant,\n group,\n children,\n lookup,\n renderer = ReflectionViewer,\n ...props\n}) => {\n return (\n <FlexCol {...props}>\n <FlexRow marginY={1} justifyContent=\"flex-start\">\n <Typography variant={variant}>{group.title}</Typography>\n <JsonViewerButton size=\"small\" variant=\"contained\" padding={0} marginX={1} src={resolveChildren(group, lookup)} />\n </FlexRow>\n {resolveChildren(group, lookup).map((reflection) => {\n return reflection\n // I wrap this in a div since React does not understand that they have keys using the Renderer\n ? (\n <div key={reflection.id}>\n {renderer({\n lookup, margin: 1, reflection,\n }) as React.ReactNode}\n </div>\n )\n : null\n })}\n {children}\n </FlexCol>\n )\n}\n","import { Typography } from '@mui/material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React from 'react'\nimport type { SourceReference } from 'typedoc'\n\nexport interface SourceViewerProps extends FlexBoxProps {\n source: SourceReference\n}\n\nexport const SourceViewer: React.FC<SourceViewerProps> = ({ source, ...props }) => {\n return (\n <FlexCol alignItems=\"stretch\" {...props}>\n <Typography style={{ opacity: 0.5 }} variant=\"body2\">\n <i>{source.fileName}</i>\n </Typography>\n </FlexCol>\n )\n}\n"],"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","jsx","Fragment","jsx","Typography","Fragment","jsx","jsxs","Typography","jsx","jsxs","hide","FlexCol","jsx","jsxs","hide","FlexCol","FlexRow","Typography","jsx","jsxs","jsx","jsxs","useLocation","jsx","useLocation","jsx","useTheme","FlexCol","FlexRow","useMemo","useState","Typography","FlexCol","jsx","Typography","FlexCol","FlexRow","jsx","jsxs","FlexCol","FlexRow","Typography","jsx","jsxs","useMemo","useTheme","useState","FlexRow","FlexCol","jsx","Typography","FlexCol","jsx"]}
1
+ {"version":3,"sources":["../../src/CommentViewer.tsx","../../src/JsonViewerButton.tsx","../../src/ProjectTwoPanelReflectionViewer.tsx","../../src/createLookup.ts","../../src/ReflectionViewer/ReflectionGroupViewer.tsx","../../src/resolveChildren.ts","../../src/ReflectionViewer/ReflectionViewer.tsx","../../src/ReflectionViewer/NameViewer.tsx","../../src/trimFlagLabel.ts","../../src/ReflectionViewer/SomeTypeViewer/SomeTypeViewer.tsx","../../src/ReflectionViewer/SomeTypeViewer/buildArrayString.tsx","../../src/ReflectionViewer/SomeTypeViewer/buildIntersectionString.tsx","../../src/ReflectionViewer/SomeTypeViewer/buildReferenceString.ts","../../src/ReflectionViewer/SomeTypeViewer/buildReflectionString.tsx","../../src/ReflectionViewer/SomeTypeViewer/buildUnionString.tsx","../../src/ReflectionViewer/SomeTypeViewer/buildTypeString.tsx","../../src/ReflectionViewer/Container.tsx","../../src/ReflectionViewer/Declaration.tsx","../../src/ReflectionViewer/DeclarationContainer.tsx","../../src/ReflectionViewer/Project.tsx","../../src/TwoPanelReflectionViewer.tsx","../../src/TreeViewer/Reflection.tsx","../../src/TreeViewer/ReflectionGroup.tsx","../../src/SourceViewer.tsx"],"sourcesContent":["import { Typography } from '@mui/material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React from 'react'\nimport type { Comment } from 'typedoc'\n\nexport interface CommentViewerProps extends FlexBoxProps {\n comment: Comment\n}\n\nexport const CommentViewer: React.FC<CommentViewerProps> = ({ comment, ...props }) => {\n return (\n <FlexCol\n {...props}\n sx={[{ alignItems: 'stretch' }, ...(Array.isArray(props.sx) ? props.sx : [props.sx])]}\n >\n <Typography variant=\"body2\">{comment.summary[0]?.text}</Typography>\n </FlexCol>\n )\n}\n","import {\n Dialog, DialogActions, DialogContent, DialogTitle,\n} from '@mui/material'\nimport type { ButtonExProps } from '@xylabs/react-button'\nimport { ButtonEx } from '@xylabs/react-button'\nimport type { JsonViewerExProps } from '@xyo-network/react-payload-raw-info'\nimport { JsonViewerEx } from '@xyo-network/react-payload-raw-info'\nimport React, { useState } from 'react'\n\nexport type JsonViewerButtonProps = ButtonExProps & {\n jsonViewProps?: Partial<JsonViewerExProps>\n src: object\n}\n\nexport const JsonViewerButton: React.FC<JsonViewerButtonProps> = ({\n jsonViewProps, src, title, ...props\n}) => {\n const [open, setOpen] = useState(false)\n return (\n <>\n <ButtonEx onClick={() => setOpen(!open)} {...props}>\n JSON\n </ButtonEx>\n <Dialog open={open} onClose={() => setOpen(false)}>\n {title\n ? <DialogTitle>{title}</DialogTitle>\n : null}\n <DialogContent>\n <JsonViewerEx value={src} {...jsonViewProps} />\n </DialogContent>\n <DialogActions>\n <ButtonEx onClick={() => setOpen(false)}>Close</ButtonEx>\n </DialogActions>\n </Dialog>\n </>\n )\n}\n","import { assertEx } from '@xylabs/sdk-js'\nimport React from 'react'\nimport type { ProjectReflection } from 'typedoc'\n\nimport type { ContainerReflectionViewerProps } from './ReflectionViewer/index.ts'\nimport { DeclarationContainerReflectionViewer } from './ReflectionViewer/index.ts'\nimport { TwoPanelReflectionViewer } from './TwoPanelReflectionViewer.tsx'\n\nexport const ProjectTwoPanelReflectionViewer: React.FC<ContainerReflectionViewerProps<ProjectReflection>> = ({\n reflection,\n itemRenderer = DeclarationContainerReflectionViewer,\n ...props\n}) => {\n assertEx(reflection.isProject, () => 'Project expected to be Project')\n return <TwoPanelReflectionViewer itemRenderer={itemRenderer} reflection={reflection} {...props} />\n}\n","import type { ContainerReflection, DeclarationReflection } from 'typedoc'\n\nexport const createLookup = <T extends DeclarationReflection>(reflection: ContainerReflection) => {\n const lookup: Record<number, T> = {}\n if (reflection.children) for (const item of reflection.children) lookup[item.id] = item as unknown as T\n return lookup\n}\n","import { Typography } from '@mui/material'\nimport { FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport React, { useEffect } from 'react'\nimport { useLocation } from 'react-router-dom'\nimport type {\n ContainerReflection, ReflectionFlags, ReflectionGroup,\n} from 'typedoc'\n\nimport { JsonViewerButton } from '../JsonViewerButton.tsx'\nimport { resolveChildren } from '../resolveChildren.ts'\nimport { ReflectionViewer } from './ReflectionViewer.tsx'\nimport type { FlagFilter, ReflectionViewerProps } from './ReflectionViewerProps.tsx'\n\nexport interface ReflectionGroupViewerProps extends ReflectionViewerProps<ContainerReflection> {\n autoScroll?: boolean\n group: ReflectionGroup\n reflection: ContainerReflection\n renderer?: React.FC<ReflectionViewerProps>\n}\n\nconst hide = (flags?: ReflectionFlags, hiddenFlags: FlagFilter[] = []) => {\n let hide = false\n for (const hiddenFlag of hiddenFlags) {\n if (flags?.[hiddenFlag]) {\n hide = true\n }\n }\n return hide\n}\n\nexport const ReflectionGroupViewer: React.FC<ReflectionGroupViewerProps> = ({\n autoScroll = false,\n children,\n hiddenFlags,\n group,\n lookup,\n renderer = ReflectionViewer,\n variant,\n ...props\n}) => {\n const resolvedChildren = resolveChildren(group, lookup) ?? []\n\n const visibleChildren\n = hiddenFlags\n ? resolvedChildren.reduce((acc, item) => {\n return acc + (hide(item.flags, hiddenFlags) ? 0 : 1)\n }, 0)\n : 1\n\n const { hash } = useLocation()\n useEffect(() => {\n if (hash && autoScroll) {\n document.querySelector(hash)?.scrollIntoView({ behavior: 'smooth' })\n }\n }, [hash, autoScroll])\n\n return visibleChildren > 0\n ? (\n <FlexCol title=\"ReflectionGroupViewer\" {...props}>\n <FlexRow\n sx={{\n marginY: 1,\n justifyContent: 'flex-start',\n }}\n >\n <Typography variant={variant}>{group.title}</Typography>\n <JsonViewerButton\n size=\"small\"\n variant=\"contained\"\n src={resolveChildren(group, lookup)}\n sx={{\n padding: 0,\n marginX: 1,\n }}\n />\n </FlexRow>\n {resolveChildren(group, lookup).map((reflection) => {\n return reflection\n // I wrap this in a div since React does not understand that they have keys using the Renderer\n ? (\n <div id={reflection.name} key={reflection.id}>\n {renderer({\n hiddenFlags, lookup, reflection,\n }) as React.ReactNode}\n </div>\n )\n : null\n })}\n {children}\n </FlexCol>\n )\n : null\n}\n","import type { Reflection } from 'typedoc'\n\nimport type { ReflectionLookup } from './ReflectionLookup.ts'\nimport type { SomeReflection } from './SomeReflection.ts'\n\ninterface ReflectionWithChildren { children: Reflection[] }\n\nexport const resolveChildren = <T extends SomeReflection>(reflection: ReflectionWithChildren, lookup: ReflectionLookup = {}): T[] => {\n return (reflection.children?.map((child) => {\n switch (typeof child) {\n case 'object': {\n return child\n }\n case 'number': {\n const childObj = lookup[child]\n if (childObj === undefined) {\n throw new Error(`Child Reference Not Found [${child}]`)\n }\n return childObj\n }\n default: {\n throw new Error(`Invalid Child Type [${typeof child}, ${child}]`)\n }\n }\n }) ?? []) as T[]\n}\n","import { FlexCol } from '@xylabs/react-flexbox'\nimport React from 'react'\nimport type { ReflectionFlags } from 'typedoc'\n\nimport { CommentViewer } from '../CommentViewer.tsx'\nimport type { SomeReflection } from '../SomeReflection.ts'\nimport { NameViewer } from './NameViewer.tsx'\nimport type { FlagFilter, ReflectionViewerProps } from './ReflectionViewerProps.tsx'\n\nconst hide = (flags?: ReflectionFlags, hiddenFlags: FlagFilter[] = []) => {\n let hide = false\n for (const hiddenFlag of hiddenFlags) {\n if (flags?.[hiddenFlag]) {\n hide = true\n }\n }\n return hide\n}\n\nexport const ReflectionViewer: React.FC<ReflectionViewerProps> = ({\n variant, nameViewer, children, reflection, hiddenFlags, ...props\n}) => {\n const someReflection = reflection as SomeReflection\n\n return hide(reflection?.flags, hiddenFlags)\n ? null\n : (\n <FlexCol\n title=\"ReflectionViewer\"\n {...props}\n sx={[{ alignItems: 'stretch' }, ...(Array.isArray(props.sx) ? props.sx : [props.sx])]}\n >\n {nameViewer === undefined\n ? (\n <NameViewer\n variant={variant}\n reflection={someReflection}\n reflectionViewer={ReflectionViewer}\n sx={{ marginY: 0.25 }}\n />\n )\n : nameViewer}\n {reflection.comment\n ? <CommentViewer comment={reflection.comment} />\n : null}\n {/* sources && reflection.sources && children ? (\n <>\n {reflection.sources.map((source, index) => {\n return <SourceViewer key={index} source={source} />\n })}\n </>\n ) : null */}\n {someReflection.parameters?.map((parameter) => {\n return (\n <ReflectionViewer\n hiddenFlags={hiddenFlags}\n key={parameter.id}\n reflection={parameter}\n sx={{\n marginY: 0.25,\n marginX: 1,\n }}\n />\n )\n }) ?? null}\n {children}\n </FlexCol>\n )\n}\n","import type { TypographyVariant } from '@mui/material'\nimport {\n Chip, Stack, Typography,\n} from '@mui/material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { JsonViewerButton } from '../JsonViewerButton.tsx'\nimport type { SomeReflection } from '../SomeReflection.ts'\nimport { trimFlagLabel } from '../trimFlagLabel.ts'\nimport type { ReflectionViewerProps } from './ReflectionViewerProps.tsx'\nimport { SomeTypeViewer } from './SomeTypeViewer/index.ts'\n\nexport interface NameViewerProps extends FlexBoxProps {\n reflection: SomeReflection\n reflectionViewer: React.FC<ReflectionViewerProps>\n variant?: TypographyVariant\n}\n\nexport const NameViewer: React.FC<NameViewerProps> = ({\n reflectionViewer, variant, reflection, ...props\n}) => {\n return (\n <FlexRow\n {...props}\n sx={[{ justifyContent: 'flex-start' }, ...(Array.isArray(props.sx) ? props.sx : [props.sx])]}\n >\n <FlexRow sx={{ marginRight: 1 }}>\n <Typography variant={variant} noWrap>\n {reflection.name}\n {reflection.type\n ? <>:&nbsp;</>\n : null}\n </Typography>\n <SomeTypeViewer reflection={reflection} reflectionViewer={reflectionViewer} />\n </FlexRow>\n <Stack direction=\"row\" spacing={1}>\n <Chip size=\"small\" label={reflection.kind} />\n {reflection.flags\n ? Object.entries(reflection.flags).map(([flag, value]) => {\n return value ? <Chip size=\"small\" key={flag} label={trimFlagLabel(flag)} variant=\"outlined\" /> : null\n })\n : null}\n </Stack>\n {document && document?.location.hostname === 'localhost' && (\n <JsonViewerButton\n size=\"small\"\n variant=\"contained\"\n src={reflection}\n sx={{\n padding: 0,\n marginX: 1,\n }}\n />\n )}\n </FlexRow>\n )\n}\n","export const trimFlagLabel = (label: string) => {\n if (label.startsWith('is')) {\n return label.slice(2)\n }\n return label\n}\n","import type { TypographyProps } from '@mui/material'\nimport { Typography } from '@mui/material'\nimport React from 'react'\n\nimport type { SomeReflection } from '../../SomeReflection.ts'\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport { buildTypeString } from './buildTypeString.tsx'\n\nexport interface SomeTypeViewerProps extends TypographyProps {\n opacity?: number\n reflection: SomeReflection\n reflectionViewer: React.FC<ReflectionViewerProps>\n}\n\nexport const SomeTypeViewer: React.FC<SomeTypeViewerProps> = ({\n opacity = 0.5, reflection, reflectionViewer, ...props\n}) => {\n const typeReactNode = reflection.type ? buildTypeString(reflection.type, reflectionViewer) : ''\n if (typeof typeReactNode === 'string') {\n return (\n <Typography title=\"SomeTypeViewer\" style={{ opacity }} {...props}>\n {typeReactNode}\n </Typography>\n )\n }\n return <>{typeReactNode}</>\n}\n","import type { ArrayType } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport type { TypeBuilder } from './TypeBuilder.ts'\n\nexport const buildArrayString = (typeObj: ArrayType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => {\n const parts: string[] = []\n const typeString = typeBuilder(typeObj.elementType, reflectionViewer)\n if (typeof typeString === 'string') {\n parts.push(typeString)\n }\n parts.push('[]')\n return parts\n}\n","import type { IntersectionType } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport type { TypeBuilder } from './TypeBuilder.ts'\n\nexport const buildIntersectionString = (typeObj: IntersectionType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => {\n const parts: string[] = []\n if (typeObj.types) {\n parts.push(\n typeObj.types\n .map((arg) => {\n return typeBuilder(arg, reflectionViewer)\n })\n .join(' & '),\n )\n }\n return parts\n}\n","import type { ReferenceType } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport type { TypeBuilder } from './TypeBuilder.ts'\n\nexport const buildReferenceString = (typeObj: ReferenceType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => {\n const parts: string[] = [typeObj.name]\n if (typeObj.typeArguments) {\n parts.push(\n '<',\n typeObj.typeArguments\n .map((arg) => {\n return typeBuilder(arg, reflectionViewer)\n })\n .join(', '),\n '>',\n )\n }\n return parts\n}\n","import React from 'react'\nimport type { ReflectionType } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\n\nexport const buildReflectionString = (typeObj: ReflectionType, reflectionViewer: React.FC<ReflectionViewerProps>) => {\n if (typeObj.declaration) {\n return <>{reflectionViewer({ reflection: typeObj.declaration })}</>\n }\n}\n","import type { UnionType } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport type { TypeBuilder } from './TypeBuilder.ts'\n\nexport const buildUnionString = (typeObj: UnionType, reflectionViewer: React.FC<ReflectionViewerProps>, typeBuilder: TypeBuilder) => {\n const parts: string[] = []\n if (typeObj.types) {\n parts.push(\n typeObj.types\n .map((arg) => {\n return typeBuilder(arg, reflectionViewer)\n })\n .join(' | '),\n )\n }\n return parts\n}\n","import type { ReactNode } from 'react'\nimport type { SomeType, Type } from 'typedoc'\n\nimport type { ReflectionViewerProps } from '../ReflectionViewerProps.tsx'\nimport { buildArrayString } from './buildArrayString.tsx'\nimport { buildIntersectionString } from './buildIntersectionString.tsx'\nimport { buildReferenceString } from './buildReferenceString.ts'\nimport { buildReflectionString } from './buildReflectionString.tsx'\nimport { buildUnionString } from './buildUnionString.tsx'\nimport type { TypeBuilder } from './TypeBuilder.ts'\n\nexport const buildTypeString: TypeBuilder = (type: SomeType | Type, reflectionViewer: React.FC<ReflectionViewerProps>): ReactNode => {\n const someType = type as SomeType\n const parts: string[] = []\n\n switch (someType.type) {\n case 'intrinsic': {\n parts.push(someType.name)\n break\n }\n case 'intersection': {\n parts.push(...buildIntersectionString(someType, reflectionViewer, buildTypeString))\n break\n }\n case 'literal': {\n parts.push(JSON.stringify(someType.value))\n break\n }\n case 'array': {\n parts.push(...buildArrayString(someType, reflectionViewer, buildTypeString))\n break\n }\n case 'reference': {\n parts.push(...buildReferenceString(someType, reflectionViewer, buildTypeString))\n break\n }\n case 'union': {\n parts.push(...buildUnionString(someType, reflectionViewer, buildTypeString))\n break\n }\n case 'reflection': {\n return buildReflectionString(someType, reflectionViewer)\n }\n default: {\n parts.push('#', someType.type, '#')\n break\n }\n }\n return parts.join('')\n}\n","import React from 'react'\nimport type { ContainerReflection, ReflectionGroup } from 'typedoc'\n\nimport { createLookup } from '../createLookup.ts'\nimport { ReflectionGroupViewer } from './ReflectionGroupViewer.tsx'\nimport { ReflectionViewer } from './ReflectionViewer.tsx'\nimport type { ReflectionViewerProps } from './ReflectionViewerProps.tsx'\n\nexport interface ContainerReflectionViewerProps<T extends ContainerReflection = ContainerReflection> extends ReflectionViewerProps<T> {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n itemRenderer?: React.FC<ReflectionViewerProps<any>>\n}\n\nexport const ContainerReflectionViewer: React.FC<ContainerReflectionViewerProps> = ({\n children,\n reflection,\n hiddenFlags,\n itemRenderer = ReflectionViewer,\n ...props\n}) => {\n const lookup = createLookup(reflection)\n\n return (\n <ReflectionViewer title=\"ContainerReflectionViewer\" sources reflection={reflection} lookup={lookup} {...props}>\n {reflection.groups?.map((group: ReflectionGroup) => {\n return (\n <ReflectionGroupViewer\n lookup={lookup}\n renderer={itemRenderer}\n key={group.title}\n group={group}\n reflection={reflection}\n hiddenFlags={hiddenFlags}\n sx={{\n margin: 1,\n alignItems: 'stretch',\n }}\n />\n )\n })}\n {children}\n </ReflectionViewer>\n )\n}\n","import React from 'react'\nimport type { DeclarationReflection, SignatureReflection } from 'typedoc'\n\nimport { ReflectionViewer } from './ReflectionViewer.tsx'\nimport type { ReflectionViewerProps } from './ReflectionViewerProps.tsx'\n\nexport const DeclarationReflectionViewer: React.FC<ReflectionViewerProps<DeclarationReflection>> = ({\n reflection, hiddenFlags, ...props\n}) => {\n const safeSignatures = (signatures?: SignatureReflection[] | SignatureReflection) => {\n return (\n Array.isArray(signatures)\n ? signatures\n : signatures\n ? [signatures]\n : undefined\n )\n }\n\n return (\n <ReflectionViewer\n nameViewer={reflection.signatures || reflection.getSignature || reflection.setSignature ? null : undefined}\n title=\"DeclarationReflectionViewer\"\n hiddenFlags={hiddenFlags}\n reflection={reflection}\n {...props}\n >\n {reflection.signatures?.map((signature) => {\n return <ReflectionViewer key={signature.id} hiddenFlags={hiddenFlags} reflection={signature} />\n })}\n {safeSignatures(reflection.getSignature)?.map((signature) => {\n return (\n <ReflectionViewer\n key={signature.id}\n hiddenFlags={hiddenFlags}\n reflection={signature}\n sx={{ marginX: 1 }}\n />\n )\n })}\n {safeSignatures(reflection.setSignature)?.map((signature) => {\n return (\n <ReflectionViewer\n key={signature.id}\n hiddenFlags={hiddenFlags}\n reflection={signature}\n sx={{ marginX: 1 }}\n />\n )\n })}\n </ReflectionViewer>\n )\n}\n","import { useTheme } from '@mui/material'\nimport React from 'react'\nimport { useLocation } from 'react-router-dom'\nimport type { DeclarationReflection } from 'typedoc'\n\nimport type { ContainerReflectionViewerProps } from './Container.tsx'\nimport { ContainerReflectionViewer } from './Container.tsx'\nimport { DeclarationReflectionViewer } from './Declaration.tsx'\n\nexport interface DeclarationContainerReflectionViewerProps extends ContainerReflectionViewerProps {\n reflection: DeclarationReflection\n}\n\nexport const DeclarationContainerReflectionViewer: React.FC<DeclarationContainerReflectionViewerProps> = ({\n reflection,\n lookup,\n itemRenderer = DeclarationReflectionViewer,\n ...props\n}) => {\n const { hash } = useLocation()\n const theme = useTheme()\n\n return (\n <ContainerReflectionViewer\n title=\"DeclarationContainerReflectionViewer\"\n paper={hash.slice(1) === reflection.name}\n lookup={lookup}\n itemRenderer={itemRenderer}\n reflection={reflection}\n {...props}\n sx={[{ bgcolor: hash.slice(1) === reflection.name ? theme.vars.palette.background.default : undefined }, ...(Array.isArray(props.sx) ? props.sx : [props.sx])]}\n />\n )\n}\n","import React, { useMemo } from 'react'\nimport type { ProjectReflection, ReflectionGroup } from 'typedoc'\n\nimport { createLookup } from '../createLookup.ts'\nimport type { ContainerReflectionViewerProps } from './Container.tsx'\nimport { ReflectionGroupViewer } from './ReflectionGroupViewer.tsx'\nimport { ReflectionViewer } from './ReflectionViewer.tsx'\n\nexport const ProjectReflectionViewer: React.FC<ContainerReflectionViewerProps<ProjectReflection>> = ({\n reflection,\n hiddenFlags,\n itemRenderer = ReflectionViewer,\n ...props\n}) => {\n const lookup = useMemo(() => createLookup(reflection), [reflection])\n return (\n <ReflectionViewer title=\"ProjectReflectionViewer\" hiddenFlags={hiddenFlags} reflection={reflection} {...props}>\n {useMemo(() => {\n return reflection.groups?.map((group: ReflectionGroup) => {\n return (\n <ReflectionGroupViewer\n autoScroll\n variant=\"h6\"\n lookup={lookup}\n key={group.title}\n renderer={itemRenderer}\n group={group}\n reflection={reflection}\n hiddenFlags={hiddenFlags}\n sx={{ alignItems: 'stretch' }}\n />\n )\n })\n }, [lookup, reflection, hiddenFlags, itemRenderer])}\n </ReflectionViewer>\n )\n}\n","import { Search } from '@mui/icons-material'\nimport { TextField, useTheme } from '@mui/material'\nimport {\n FlexCol, FlexGrowCol, FlexRow,\n} from '@xylabs/react-flexbox'\nimport React, { useMemo, useState } from 'react'\nimport type { ReflectionGroup } from 'typedoc'\n\nimport { createLookup } from './createLookup.ts'\nimport type { ContainerReflectionViewerProps } from './ReflectionViewer/index.ts'\nimport { ReflectionGroupViewer, ReflectionViewer } from './ReflectionViewer/index.ts'\nimport { ReflectionTreeViewer } from './TreeViewer/index.ts'\n\nexport const TwoPanelReflectionViewer: React.FC<ContainerReflectionViewerProps> = ({\n reflection,\n itemRenderer = ReflectionViewer,\n hiddenFlags,\n ...props\n}) => {\n const lookup = useMemo(() => createLookup(reflection), [reflection])\n const theme = useTheme()\n const [searchTerm, setSearchTerm] = useState<string>()\n const onSearchTermChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setSearchTerm(e.target.value)\n }\n\n const reflectionGroups = useMemo(() => {\n return reflection.groups?.map((group: ReflectionGroup) => {\n return (\n <ReflectionGroupViewer\n autoScroll\n variant=\"h6\"\n lookup={lookup}\n renderer={itemRenderer}\n key={group.title}\n group={group}\n reflection={reflection}\n hiddenFlags={hiddenFlags}\n sx={{ alignItems: 'stretch' }}\n />\n )\n })\n }, [itemRenderer, lookup, reflection, hiddenFlags])\n\n return (\n <FlexRow\n {...props}\n sx={[{\n alignItems: 'stretch',\n justifyContent: 'start',\n overflowY: 'scroll',\n }, ...(Array.isArray(props.sx) ? props.sx : [props.sx])]}\n >\n <FlexCol\n sx={{\n minWidth: 320,\n alignItems: 'stretch',\n justifyContent: 'flex-start',\n overflow: 'hidden',\n }}\n >\n <TextField\n fullWidth\n onChange={onSearchTermChange}\n slotProps={{ input: { startAdornment: <Search /> } }}\n />\n <FlexGrowCol\n sx={{\n marginTop: 1,\n alignItems: 'stretch',\n }}\n >\n <ReflectionTreeViewer\n searchTerm={searchTerm}\n hiddenFlags={hiddenFlags}\n reflection={reflection}\n lookup={lookup}\n sx={{\n justifyContent: 'flex-start',\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n overflow: 'scroll',\n border: `1px solid ${theme.vars.palette.grey['300']}`,\n borderRadius: 1,\n paddingY: 1,\n }}\n />\n </FlexGrowCol>\n </FlexCol>\n <FlexGrowCol\n sx={{\n marginLeft: 1,\n alignItems: 'stretch',\n justifyContent: 'flex-start',\n overflow: 'hidden',\n }}\n >\n <FlexGrowCol sx={{ alignItems: 'stretch' }}>\n <FlexCol\n sx={{\n alignItems: 'stretch',\n justifyContent: 'flex-start',\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n overflow: 'scroll',\n borderRadius: 1,\n padding: 1,\n border: `1px solid ${theme.vars.palette.grey['300']}`,\n }}\n >\n {reflectionGroups}\n </FlexCol>\n </FlexGrowCol>\n </FlexGrowCol>\n </FlexRow>\n )\n}\n","import { Add, Remove } from '@mui/icons-material'\nimport { Typography } from '@mui/material'\nimport { SimpleTreeView, TreeItem } from '@mui/x-tree-view'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React from 'react'\nimport { useNavigate } from 'react-router-dom'\nimport type { ContainerReflection, Reflection } from 'typedoc'\n\nimport type { ReflectionLookup } from '../ReflectionLookup.ts'\nimport type { FlagFilter } from '../ReflectionViewer/index.ts'\n\nexport interface ReflectionTreeViewerProps<T extends Reflection = ContainerReflection> extends FlexBoxProps {\n hiddenFlags?: FlagFilter[]\n lookup?: ReflectionLookup\n reflection: T\n searchTerm?: string\n}\n\nexport const ReflectionTreeViewer: React.FC<ReflectionTreeViewerProps> = ({\n lookup, reflection, searchTerm, ...props\n}) => {\n const navigate = useNavigate()\n return (\n <FlexCol\n {...props}\n sx={[{ alignItems: 'stretch' }, ...(Array.isArray(props.sx) ? props.sx : [props.sx])]}\n >\n {/* TODO - move this into a title component */}\n {/* {nameViewer === undefined ? <NameViewer variant={variant} reflection={reflection} /> : nameViewer} */}\n {/* {reflection.comment ? <CommentViewer comment={reflection.comment} /> : null} */}\n {/* {reflection.sources ? ( */}\n {/* <> */}\n {/* {reflection.sources.map((source, index) => { */}\n {/* return <SourceViewer key={index} source={source} /> */}\n {/* })} */}\n {/* </> */}\n {/* ) : null} */}\n {/* TODO - when searching do not include categories that dont have children, pull maps out of view */}\n <SimpleTreeView\n aria-label=\"XYO SDK Documentation\"\n slots={{ collapseIcon: Remove, expandIcon: Add }}\n expandedItems={reflection.groups ? [reflection.groups[0].title] : []}\n >\n {reflection.groups?.map(group => (\n <TreeItem key={`primary-${group.title}`} itemId={group.title} label={<Typography variant=\"h6\">{group.title}</Typography>}>\n {group.children.map((child) => {\n const searchTermTrimmed = searchTerm?.trim().toLowerCase()\n const childReflection = typeof child === 'number' ? lookup?.[child as number] : child\n return childReflection && (!searchTermTrimmed || childReflection.name.toLowerCase().includes(searchTermTrimmed))\n ? (\n <TreeItem\n key={`secondary-${childReflection.id}`}\n itemId={`declaration-${childReflection?.id}`}\n label={childReflection.name}\n onClick={() => {\n const hash = `#${childReflection.name}`\n void navigate({ hash })\n document.querySelector(hash)?.scrollIntoView({ behavior: 'smooth' })\n }}\n />\n )\n : null\n })}\n </TreeItem>\n ))}\n </SimpleTreeView>\n </FlexCol>\n )\n}\n","import { Typography } from '@mui/material'\nimport { FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { JsonViewerButton } from '../JsonViewerButton.tsx'\nimport type { ReflectionGroupViewerProps } from '../ReflectionViewer/index.ts'\nimport { ReflectionViewer } from '../ReflectionViewer/index.ts'\nimport { resolveChildren } from '../resolveChildren.ts'\n\nexport const ReflectionGroupTreeViewer: React.FC<ReflectionGroupViewerProps> = ({\n variant,\n group,\n children,\n lookup,\n renderer = ReflectionViewer,\n ...props\n}) => {\n return (\n <FlexCol {...props}>\n <FlexRow\n sx={{\n marginY: 1,\n justifyContent: 'flex-start',\n }}\n >\n <Typography variant={variant}>{group.title}</Typography>\n <JsonViewerButton\n size=\"small\"\n variant=\"contained\"\n src={resolveChildren(group, lookup)}\n sx={{\n padding: 0,\n marginX: 1,\n }}\n />\n </FlexRow>\n {resolveChildren(group, lookup).map((reflection) => {\n return reflection\n // I wrap this in a div since React does not understand that they have keys using the Renderer\n ? (\n <div key={reflection.id}>\n {renderer({ lookup, reflection }) as React.ReactNode}\n </div>\n )\n : null\n })}\n {children}\n </FlexCol>\n )\n}\n","import { Typography } from '@mui/material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React from 'react'\nimport type { SourceReference } from 'typedoc'\n\nexport interface SourceViewerProps extends FlexBoxProps {\n source: SourceReference\n}\n\nexport const SourceViewer: React.FC<SourceViewerProps> = ({ source, ...props }) => {\n return (\n <FlexCol\n {...props}\n sx={[{ alignItems: 'stretch' }, ...(Array.isArray(props.sx) ? props.sx : [props.sx])]}\n >\n <Typography style={{ opacity: 0.5 }} variant=\"body2\">\n <i>{source.fileName}</i>\n </Typography>\n </FlexCol>\n )\n}\n"],"mappings":";AAAA,SAAS,kBAAkB;AAE3B,SAAS,eAAe;AAclB;AANC,IAAM,gBAA8C,CAAC,EAAE,SAAS,GAAG,MAAM,MAAM;AACpF,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,IAAI,CAAC,EAAE,YAAY,UAAU,GAAG,GAAI,MAAM,QAAQ,MAAM,EAAE,IAAI,MAAM,KAAK,CAAC,MAAM,EAAE,CAAE;AAAA,MAEpF,8BAAC,cAAW,SAAQ,SAAS,kBAAQ,QAAQ,CAAC,GAAG,MAAK;AAAA;AAAA,EACxD;AAEJ;;;ACnBA;AAAA,EACE;AAAA,EAAQ;AAAA,EAAe;AAAA,EAAe;AAAA,OACjC;AAEP,SAAS,gBAAgB;AAEzB,SAAS,oBAAoB;AAC7B,SAAgB,gBAAgB;AAY5B,mBACE,OAAAA,MAGA,YAJF;AALG,IAAM,mBAAoD,CAAC;AAAA,EAChE;AAAA,EAAe;AAAA,EAAK;AAAA,EAAO,GAAG;AAChC,MAAM;AACJ,QAAM,CAAC,MAAM,OAAO,IAAI,SAAS,KAAK;AACtC,SACE,iCACE;AAAA,oBAAAA,KAAC,YAAS,SAAS,MAAM,QAAQ,CAAC,IAAI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","Fragment","jsx","jsxs","Typography","jsx","jsxs","hide","FlexCol","jsx","jsxs","hide","FlexCol","FlexRow","Typography","jsx","jsxs","jsx","jsxs","useLocation","jsx","useLocation","jsx","useTheme","FlexCol","FlexRow","useMemo","useState","Typography","FlexCol","jsx","Typography","FlexCol","FlexRow","jsx","jsxs","FlexCol","FlexRow","Typography","jsx","jsxs","useMemo","useTheme","useState","FlexRow","FlexCol","jsx","Typography","FlexCol","jsx"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-typedoc",
3
- "version": "7.6.3",
3
+ "version": "8.0.0",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -41,16 +41,16 @@
41
41
  "README.md"
42
42
  ],
43
43
  "dependencies": {
44
- "@xyo-network/react-payload-raw-info": "~7.6.3"
44
+ "@xyo-network/react-payload-raw-info": "~8.0.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@bitauth/libauth": "~3.0.0",
48
48
  "@emotion/react": "^11.14.0",
49
49
  "@emotion/styled": "^11.14.1",
50
- "@mui/icons-material": "^7.3.11",
51
- "@mui/material": "^7.3.11",
52
- "@mui/system": "^7.3.11",
53
- "@mui/x-tree-view": "~8.27.2",
50
+ "@mui/icons-material": "~9.0",
51
+ "@mui/material": "~9.0",
52
+ "@mui/system": "~9.0",
53
+ "@mui/x-tree-view": "~9.1",
54
54
  "@opentelemetry/api": "^1.9.1",
55
55
  "@opentelemetry/sdk-trace-base": "^2.7.1",
56
56
  "@react-spring/web": "~10.0.3",
@@ -59,19 +59,19 @@
59
59
  "@textea/json-viewer": "~4.0.1",
60
60
  "@types/react": "^19.2.14",
61
61
  "@xylabs/pixel": "~5.1.2",
62
- "@xylabs/react-button": "~7.2.4",
63
- "@xylabs/react-flexbox": "~7.2.4",
64
- "@xylabs/react-hooks": "~7.2.4",
65
- "@xylabs/react-link": "~7.2.4",
66
- "@xylabs/react-promise": "~7.2.4",
67
- "@xylabs/react-shared": "~7.2.4",
68
- "@xylabs/react-theme": "~7.2.4",
62
+ "@xylabs/react-button": "~8.0",
63
+ "@xylabs/react-flexbox": "~8.0",
64
+ "@xylabs/react-hooks": "~8.0",
65
+ "@xylabs/react-link": "~8.0",
66
+ "@xylabs/react-promise": "~8.0",
67
+ "@xylabs/react-shared": "~8.0",
68
+ "@xylabs/react-theme": "~8.0",
69
69
  "@xylabs/sdk-js": "^5.1.2",
70
70
  "@xylabs/threads": "~5.1.2",
71
- "@xylabs/toolchain": "~7.13.15",
72
- "@xylabs/tsconfig": "^7.13.15",
73
- "@xylabs/tsconfig-dom": "^7.13.15",
74
- "@xylabs/tsconfig-react": "~7.13.15",
71
+ "@xylabs/toolchain": "~7.13.22",
72
+ "@xylabs/tsconfig": "^7.13.22",
73
+ "@xylabs/tsconfig-dom": "^7.13.22",
74
+ "@xylabs/tsconfig-react": "~7.13.22",
75
75
  "@xyo-network/boundwitness-model": "^5.6.3",
76
76
  "@xyo-network/boundwitness-validator": "^5.6.2",
77
77
  "@xyo-network/payload-builder": "^5.6.2",
@@ -100,7 +100,7 @@
100
100
  "storybook": "^10.3.6",
101
101
  "typedoc": "~0.28.19",
102
102
  "typescript": "^5.9.3",
103
- "vite": "^8.0.10",
103
+ "vite": "^8.0.11",
104
104
  "wasm-feature-detect": "~1.8.0",
105
105
  "zod": "^4.4.3"
106
106
  },
@@ -108,23 +108,23 @@
108
108
  "@bitauth/libauth": "~3.0",
109
109
  "@emotion/react": "^11.14",
110
110
  "@emotion/styled": "^11.14",
111
- "@mui/icons-material": "^7.3",
112
- "@mui/material": "^7.3",
113
- "@mui/system": "^7.3",
114
- "@mui/x-tree-view": "~8.27",
111
+ "@mui/icons-material": "~9.0",
112
+ "@mui/material": "~9.0",
113
+ "@mui/system": "~9.0",
114
+ "@mui/x-tree-view": "~9.1",
115
115
  "@opentelemetry/api": "^1.9",
116
116
  "@opentelemetry/sdk-trace-base": "^2.7",
117
117
  "@react-spring/web": "~10.0",
118
118
  "@scure/base": "~2.2",
119
119
  "@textea/json-viewer": "~4.0",
120
120
  "@xylabs/pixel": "~5.1",
121
- "@xylabs/react-button": "~7.2",
122
- "@xylabs/react-flexbox": "~7.2",
123
- "@xylabs/react-hooks": "~7.2",
124
- "@xylabs/react-link": "~7.2",
125
- "@xylabs/react-promise": "~7.2",
126
- "@xylabs/react-shared": "~7.2",
127
- "@xylabs/react-theme": "~7.2",
121
+ "@xylabs/react-button": "~8.0",
122
+ "@xylabs/react-flexbox": "~8.0",
123
+ "@xylabs/react-hooks": "~8.0",
124
+ "@xylabs/react-link": "~8.0",
125
+ "@xylabs/react-promise": "~8.0",
126
+ "@xylabs/react-shared": "~8.0",
127
+ "@xylabs/react-theme": "~8.0",
128
128
  "@xylabs/sdk-js": "^5.1",
129
129
  "@xylabs/threads": "~5.1",
130
130
  "@xyo-network/boundwitness-model": "^5.6",