@alloy-js/core 0.24.0-dev.2 → 0.24.0-dev.6
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/CHANGELOG.md +8 -0
- package/dist/dev/src/components/AccessExpression.test.js +1 -1
- package/dist/dev/src/components/AccessExpression.test.js.map +1 -1
- package/dist/dev/src/components/Output.js +3 -2
- package/dist/dev/src/components/Output.js.map +1 -1
- package/dist/dev/src/components/SourceFile.js.map +1 -1
- package/dist/dev/src/content-slot.test.js +1 -1
- package/dist/dev/src/content-slot.test.js.map +1 -1
- package/dist/dev/src/context.js +30 -3
- package/dist/dev/src/context.js.map +1 -1
- package/dist/dev/src/debug/diagnostics.test.js +1 -1
- package/dist/dev/src/debug/diagnostics.test.js.map +1 -1
- package/dist/dev/src/debug/effects.test.js +1 -1
- package/dist/dev/src/debug/effects.test.js.map +1 -1
- package/dist/dev/src/debug/file-streaming.js +103 -0
- package/dist/dev/src/debug/file-streaming.js.map +1 -0
- package/dist/dev/src/debug/files.test.js +4 -5
- package/dist/dev/src/debug/files.test.js.map +1 -1
- package/dist/dev/src/debug/index.js +4 -6
- package/dist/dev/src/debug/index.js.map +1 -1
- package/dist/dev/src/debug/message-format.test.js +50 -52
- package/dist/dev/src/debug/message-format.test.js.map +1 -1
- package/dist/dev/src/debug/render-tree-orphans.test.js +13 -23
- package/dist/dev/src/debug/render-tree-orphans.test.js.map +1 -1
- package/dist/dev/src/debug/render.js +529 -352
- package/dist/dev/src/debug/render.js.map +1 -1
- package/dist/dev/src/debug/render.test.js +171 -92
- package/dist/dev/src/debug/render.test.js.map +1 -1
- package/dist/dev/src/debug/trace-writer.js +127 -15
- package/dist/dev/src/debug/trace-writer.js.map +1 -1
- package/dist/dev/src/debug/trace.js +0 -36
- package/dist/dev/src/debug/trace.js.map +1 -1
- package/dist/dev/src/devtools/devtools-server.js +55 -32
- package/dist/dev/src/devtools/devtools-server.js.map +1 -1
- package/dist/dev/src/devtools-entry.browser.js.map +1 -1
- package/dist/dev/src/devtools-entry.js.map +1 -1
- package/dist/dev/src/diagnostics.js +19 -1
- package/dist/dev/src/diagnostics.js.map +1 -1
- package/dist/dev/src/index.js +5 -2
- package/dist/dev/src/index.js.map +1 -1
- package/dist/dev/src/jsx-runtime.js +14 -8
- package/dist/dev/src/jsx-runtime.js.map +1 -1
- package/dist/dev/src/output-types.js +2 -0
- package/dist/dev/src/output-types.js.map +1 -0
- package/dist/dev/src/reactivity.js +155 -13
- package/dist/dev/src/reactivity.js.map +1 -1
- package/dist/dev/src/render/get-string-width.js +61 -0
- package/dist/dev/src/render/get-string-width.js.map +1 -0
- package/dist/dev/src/render/index.js +2 -0
- package/dist/dev/src/render/index.js.map +1 -0
- package/dist/dev/src/render/node-context.js +7 -0
- package/dist/dev/src/render/node-context.js.map +1 -0
- package/dist/dev/src/render/node.js +386 -0
- package/dist/dev/src/render/node.js.map +1 -0
- package/dist/dev/src/render/printer-support.js +180 -0
- package/dist/dev/src/render/printer-support.js.map +1 -0
- package/dist/dev/src/render/printer.js +797 -0
- package/dist/dev/src/render/printer.js.map +1 -0
- package/dist/dev/src/render-error.js +79 -0
- package/dist/dev/src/render-error.js.map +1 -0
- package/dist/dev/src/render-output.js +209 -0
- package/dist/dev/src/render-output.js.map +1 -0
- package/dist/dev/src/runtime/create-intrinsic.js +53 -0
- package/dist/dev/src/runtime/create-intrinsic.js.map +1 -0
- package/dist/dev/src/runtime/fragment.js +21 -0
- package/dist/dev/src/runtime/fragment.js.map +1 -0
- package/dist/dev/src/runtime/index.js +13 -0
- package/dist/dev/src/runtime/index.js.map +1 -0
- package/dist/dev/src/runtime/insert.js +453 -0
- package/dist/dev/src/runtime/insert.js.map +1 -0
- package/dist/dev/src/runtime/intrinsic.js +1 -11
- package/dist/dev/src/runtime/intrinsic.js.map +1 -1
- package/dist/dev/src/scheduler.js +38 -14
- package/dist/dev/src/scheduler.js.map +1 -1
- package/dist/dev/src/stc.js +2 -0
- package/dist/dev/src/stc.js.map +1 -1
- package/dist/dev/src/sti.js +1 -1
- package/dist/dev/src/sti.js.map +1 -1
- package/dist/dev/src/symbols/symbol-slot.test.js +1 -1
- package/dist/dev/src/symbols/symbol-slot.test.js.map +1 -1
- package/dist/dev/src/test-render.js +78 -0
- package/dist/dev/src/test-render.js.map +1 -0
- package/dist/dev/src/utils.js +47 -35
- package/dist/dev/src/utils.js.map +1 -1
- package/dist/dev/test/babel-e2e.test.js +218 -0
- package/dist/dev/test/babel-e2e.test.js.map +1 -0
- package/dist/dev/test/components/block.test.js +1 -1
- package/dist/dev/test/components/block.test.js.map +1 -1
- package/dist/dev/test/components/copy-file.test.js +7 -7
- package/dist/dev/test/components/copy-file.test.js.map +1 -1
- package/dist/dev/test/components/update-file.test.js +1 -1
- package/dist/dev/test/components/update-file.test.js.map +1 -1
- package/dist/dev/test/components/wrap.test.js +1 -1
- package/dist/dev/test/components/wrap.test.js.map +1 -1
- package/dist/dev/test/control-flow/match.test.js +1 -1
- package/dist/dev/test/control-flow/match.test.js.map +1 -1
- package/dist/dev/test/control-flow/show.test.js +1 -1
- package/dist/dev/test/control-flow/show.test.js.map +1 -1
- package/dist/dev/test/lazy-isempty.test.js +6 -6
- package/dist/dev/test/lazy-isempty.test.js.map +1 -1
- package/dist/dev/test/node.test.js +80 -0
- package/dist/dev/test/node.test.js.map +1 -0
- package/dist/dev/test/output-e2e.test.js +194 -0
- package/dist/dev/test/output-e2e.test.js.map +1 -0
- package/dist/dev/test/reactivity/circular-reactives.test.js +1 -1
- package/dist/dev/test/reactivity/circular-reactives.test.js.map +1 -1
- package/dist/dev/test/reactivity/cleanup.test.js +1 -1
- package/dist/dev/test/reactivity/cleanup.test.js.map +1 -1
- package/dist/dev/test/rendering/memoization.test.js +6 -1
- package/dist/dev/test/rendering/memoization.test.js.map +1 -1
- package/dist/dev/test/rendering/render-output-diagnostics.test.js +102 -0
- package/dist/dev/test/rendering/render-output-diagnostics.test.js.map +1 -0
- package/dist/dev/test/runtime.test.js +385 -0
- package/dist/dev/test/runtime.test.js.map +1 -0
- package/dist/dev/test/tree-test-utils.js +16 -0
- package/dist/dev/test/tree-test-utils.js.map +1 -0
- package/dist/dev/test/utils.test.js +1 -1
- package/dist/dev/test/utils.test.js.map +1 -1
- package/dist/dev/testing/devtools-utils.js +1 -1
- package/dist/dev/testing/devtools-utils.js.map +1 -1
- package/dist/dev/testing/extend-expect.js +7 -33
- package/dist/dev/testing/extend-expect.js.map +1 -1
- package/dist/dev/testing/render.js +7 -17
- package/dist/dev/testing/render.js.map +1 -1
- package/dist/devtools/index.html +17 -17
- package/dist/src/components/AccessExpression.test.js +1 -1
- package/dist/src/components/AccessExpression.test.js.map +1 -1
- package/dist/src/components/Output.d.ts +1 -1
- package/dist/src/components/Output.d.ts.map +1 -1
- package/dist/src/components/Output.js +2 -1
- package/dist/src/components/Output.js.map +1 -1
- package/dist/src/components/ReferenceOrContent.d.ts +1 -1
- package/dist/src/components/ReferenceOrContent.d.ts.map +1 -1
- package/dist/src/components/SourceFile.d.ts +1 -1
- package/dist/src/components/SourceFile.d.ts.map +1 -1
- package/dist/src/components/SourceFile.js.map +1 -1
- package/dist/src/content-slot.test.js +1 -1
- package/dist/src/content-slot.test.js.map +1 -1
- package/dist/src/context/format-options.d.ts +1 -1
- package/dist/src/context/format-options.d.ts.map +1 -1
- package/dist/src/context.d.ts +9 -1
- package/dist/src/context.d.ts.map +1 -1
- package/dist/src/context.js +30 -3
- package/dist/src/context.js.map +1 -1
- package/dist/src/debug/diagnostics.test.js +1 -1
- package/dist/src/debug/diagnostics.test.js.map +1 -1
- package/dist/src/debug/effects.test.js +1 -1
- package/dist/src/debug/effects.test.js.map +1 -1
- package/dist/src/debug/file-streaming.d.ts +22 -0
- package/dist/src/debug/file-streaming.d.ts.map +1 -0
- package/dist/src/debug/file-streaming.js +103 -0
- package/dist/src/debug/file-streaming.js.map +1 -0
- package/dist/src/debug/files.test.js +4 -5
- package/dist/src/debug/files.test.js.map +1 -1
- package/dist/src/debug/index.d.ts +5 -7
- package/dist/src/debug/index.d.ts.map +1 -1
- package/dist/src/debug/index.js +4 -6
- package/dist/src/debug/index.js.map +1 -1
- package/dist/src/debug/message-format.test.js +16 -18
- package/dist/src/debug/message-format.test.js.map +1 -1
- package/dist/src/debug/render-tree-orphans.test.js +8 -18
- package/dist/src/debug/render-tree-orphans.test.js.map +1 -1
- package/dist/src/debug/render.d.ts +71 -21
- package/dist/src/debug/render.d.ts.map +1 -1
- package/dist/src/debug/render.js +529 -352
- package/dist/src/debug/render.js.map +1 -1
- package/dist/src/debug/render.test.js +137 -74
- package/dist/src/debug/render.test.js.map +1 -1
- package/dist/src/debug/trace-writer.d.ts +6 -1
- package/dist/src/debug/trace-writer.d.ts.map +1 -1
- package/dist/src/debug/trace-writer.js +127 -15
- package/dist/src/debug/trace-writer.js.map +1 -1
- package/dist/src/debug/trace.d.ts +0 -36
- package/dist/src/debug/trace.d.ts.map +1 -1
- package/dist/src/debug/trace.js +0 -36
- package/dist/src/debug/trace.js.map +1 -1
- package/dist/src/devtools/devtools-protocol.d.ts +34 -1
- package/dist/src/devtools/devtools-protocol.d.ts.map +1 -1
- package/dist/src/devtools/devtools-server.d.ts.map +1 -1
- package/dist/src/devtools/devtools-server.js +55 -32
- package/dist/src/devtools/devtools-server.js.map +1 -1
- package/dist/src/devtools-entry.browser.d.ts +1 -1
- package/dist/src/devtools-entry.browser.d.ts.map +1 -1
- package/dist/src/devtools-entry.browser.js.map +1 -1
- package/dist/src/devtools-entry.d.ts +1 -1
- package/dist/src/devtools-entry.d.ts.map +1 -1
- package/dist/src/devtools-entry.js.map +1 -1
- package/dist/src/diagnostics.d.ts +4 -0
- package/dist/src/diagnostics.d.ts.map +1 -1
- package/dist/src/diagnostics.js +19 -1
- package/dist/src/diagnostics.js.map +1 -1
- package/dist/src/index.d.ts +5 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +5 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/jsx-runtime.d.ts +13 -4
- package/dist/src/jsx-runtime.d.ts.map +1 -1
- package/dist/src/jsx-runtime.js +14 -8
- package/dist/src/jsx-runtime.js.map +1 -1
- package/dist/src/output-types.d.ts +40 -0
- package/dist/src/output-types.d.ts.map +1 -0
- package/dist/src/output-types.js +2 -0
- package/dist/src/output-types.js.map +1 -0
- package/dist/src/reactivity.d.ts +49 -18
- package/dist/src/reactivity.d.ts.map +1 -1
- package/dist/src/reactivity.js +155 -13
- package/dist/src/reactivity.js.map +1 -1
- package/dist/src/render/get-string-width.d.ts +19 -0
- package/dist/src/render/get-string-width.d.ts.map +1 -0
- package/dist/src/render/get-string-width.js +61 -0
- package/dist/src/render/get-string-width.js.map +1 -0
- package/dist/src/render/index.d.ts +2 -0
- package/dist/src/render/index.d.ts.map +1 -0
- package/dist/src/render/index.js +2 -0
- package/dist/src/render/index.js.map +1 -0
- package/dist/src/render/node-context.d.ts +5 -0
- package/dist/src/render/node-context.d.ts.map +1 -0
- package/dist/src/render/node-context.js +7 -0
- package/dist/src/render/node-context.js.map +1 -0
- package/dist/src/render/node.d.ts +146 -0
- package/dist/src/render/node.d.ts.map +1 -0
- package/dist/src/render/node.js +386 -0
- package/dist/src/render/node.js.map +1 -0
- package/dist/src/render/printer-support.d.ts +50 -0
- package/dist/src/render/printer-support.d.ts.map +1 -0
- package/dist/src/render/printer-support.js +180 -0
- package/dist/src/render/printer-support.js.map +1 -0
- package/dist/src/render/printer.d.ts +35 -0
- package/dist/src/render/printer.d.ts.map +1 -0
- package/dist/src/render/printer.js +797 -0
- package/dist/src/render/printer.js.map +1 -0
- package/dist/src/render-error.d.ts +4 -0
- package/dist/src/render-error.d.ts.map +1 -0
- package/dist/src/render-error.js +79 -0
- package/dist/src/render-error.js.map +1 -0
- package/dist/src/render-output.d.ts +42 -0
- package/dist/src/render-output.d.ts.map +1 -0
- package/dist/src/render-output.js +209 -0
- package/dist/src/render-output.js.map +1 -0
- package/dist/src/runtime/component.d.ts +2 -2
- package/dist/src/runtime/component.d.ts.map +1 -1
- package/dist/src/runtime/create-intrinsic.d.ts +28 -0
- package/dist/src/runtime/create-intrinsic.d.ts.map +1 -0
- package/dist/src/runtime/create-intrinsic.js +53 -0
- package/dist/src/runtime/create-intrinsic.js.map +1 -0
- package/dist/src/runtime/fragment.d.ts +16 -0
- package/dist/src/runtime/fragment.d.ts.map +1 -0
- package/dist/src/runtime/fragment.js +21 -0
- package/dist/src/runtime/fragment.js.map +1 -0
- package/dist/src/runtime/index.d.ts +12 -0
- package/dist/src/runtime/index.d.ts.map +1 -0
- package/dist/src/runtime/index.js +13 -0
- package/dist/src/runtime/index.js.map +1 -0
- package/dist/src/runtime/insert.d.ts +29 -0
- package/dist/src/runtime/insert.d.ts.map +1 -0
- package/dist/src/runtime/insert.js +453 -0
- package/dist/src/runtime/insert.js.map +1 -0
- package/dist/src/runtime/intrinsic.d.ts +12 -29
- package/dist/src/runtime/intrinsic.d.ts.map +1 -1
- package/dist/src/runtime/intrinsic.js +1 -11
- package/dist/src/runtime/intrinsic.js.map +1 -1
- package/dist/src/scheduler.d.ts.map +1 -1
- package/dist/src/scheduler.js +38 -14
- package/dist/src/scheduler.js.map +1 -1
- package/dist/src/stc.d.ts.map +1 -1
- package/dist/src/stc.js +2 -0
- package/dist/src/stc.js.map +1 -1
- package/dist/src/sti.d.ts +7 -6
- package/dist/src/sti.d.ts.map +1 -1
- package/dist/src/sti.js +1 -1
- package/dist/src/sti.js.map +1 -1
- package/dist/src/symbols/symbol-slot.test.js +1 -1
- package/dist/src/symbols/symbol-slot.test.js.map +1 -1
- package/dist/src/test-render.d.ts +31 -0
- package/dist/src/test-render.d.ts.map +1 -0
- package/dist/src/test-render.js +78 -0
- package/dist/src/test-render.js.map +1 -0
- package/dist/src/utils.d.ts +1 -1
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +40 -28
- package/dist/src/utils.js.map +1 -1
- package/dist/src/write-output.d.ts +1 -1
- package/dist/src/write-output.d.ts.map +1 -1
- package/dist/test/babel-e2e.test.d.ts +13 -0
- package/dist/test/babel-e2e.test.d.ts.map +1 -0
- package/dist/test/babel-e2e.test.js +218 -0
- package/dist/test/babel-e2e.test.js.map +1 -0
- package/dist/test/components/block.test.js +1 -1
- package/dist/test/components/block.test.js.map +1 -1
- package/dist/test/components/copy-file.test.d.ts.map +1 -1
- package/dist/test/components/copy-file.test.js +1 -1
- package/dist/test/components/copy-file.test.js.map +1 -1
- package/dist/test/components/update-file.test.js +1 -1
- package/dist/test/components/update-file.test.js.map +1 -1
- package/dist/test/components/wrap.test.js +1 -1
- package/dist/test/components/wrap.test.js.map +1 -1
- package/dist/test/control-flow/match.test.js +1 -1
- package/dist/test/control-flow/match.test.js.map +1 -1
- package/dist/test/control-flow/show.test.js +1 -1
- package/dist/test/control-flow/show.test.js.map +1 -1
- package/dist/test/lazy-isempty.test.js +6 -6
- package/dist/test/lazy-isempty.test.js.map +1 -1
- package/dist/test/node.test.d.ts +2 -0
- package/dist/test/node.test.d.ts.map +1 -0
- package/dist/test/node.test.js +80 -0
- package/dist/test/node.test.js.map +1 -0
- package/dist/test/output-e2e.test.d.ts +13 -0
- package/dist/test/output-e2e.test.d.ts.map +1 -0
- package/dist/test/output-e2e.test.js +194 -0
- package/dist/test/output-e2e.test.js.map +1 -0
- package/dist/test/reactivity/circular-reactives.test.js +1 -1
- package/dist/test/reactivity/circular-reactives.test.js.map +1 -1
- package/dist/test/reactivity/cleanup.test.js +1 -1
- package/dist/test/reactivity/cleanup.test.js.map +1 -1
- package/dist/test/rendering/memoization.test.js +6 -1
- package/dist/test/rendering/memoization.test.js.map +1 -1
- package/dist/test/rendering/render-output-diagnostics.test.d.ts +2 -0
- package/dist/test/rendering/render-output-diagnostics.test.d.ts.map +1 -0
- package/dist/test/rendering/render-output-diagnostics.test.js +82 -0
- package/dist/test/rendering/render-output-diagnostics.test.js.map +1 -0
- package/dist/test/runtime.test.d.ts +11 -0
- package/dist/test/runtime.test.d.ts.map +1 -0
- package/dist/test/runtime.test.js +385 -0
- package/dist/test/runtime.test.js.map +1 -0
- package/dist/test/tree-test-utils.d.ts +3 -0
- package/dist/test/tree-test-utils.d.ts.map +1 -0
- package/dist/test/tree-test-utils.js +16 -0
- package/dist/test/tree-test-utils.js.map +1 -0
- package/dist/test/utils.test.js +1 -1
- package/dist/test/utils.test.js.map +1 -1
- package/dist/testing/devtools-utils.d.ts.map +1 -1
- package/dist/testing/devtools-utils.js +1 -1
- package/dist/testing/devtools-utils.js.map +1 -1
- package/dist/testing/extend-expect.d.ts.map +1 -1
- package/dist/testing/extend-expect.js +7 -33
- package/dist/testing/extend-expect.js.map +1 -1
- package/dist/testing/render.d.ts +7 -9
- package/dist/testing/render.d.ts.map +1 -1
- package/dist/testing/render.js +7 -17
- package/dist/testing/render.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/docs/api/components/Output.md +0 -3
- package/docs/api/components/SourceFile.md +0 -3
- package/docs/api/functions/createComment.md +18 -0
- package/docs/api/functions/createElement.md +19 -0
- package/docs/api/functions/createFragment.md +17 -0
- package/docs/api/functions/createTextNode.md +18 -0
- package/docs/api/functions/emitDiagnosticForTree.md +19 -0
- package/docs/api/functions/ensureIsEmpty.md +1 -1
- package/docs/api/functions/getContextForNode.md +18 -0
- package/docs/api/functions/getContextForRenderNode.md +4 -4
- package/docs/api/functions/getDiagnosticsForTree.md +7 -5
- package/docs/api/functions/getRegisteredDiagnosticsForTree.md +18 -0
- package/docs/api/functions/index.md +17 -12
- package/docs/api/functions/isCustomContext.md +4 -4
- package/docs/api/functions/notifyContentState.md +6 -0
- package/docs/api/functions/printTree.md +6 -16
- package/docs/api/functions/registerDiagnosticsForTree.md +19 -0
- package/docs/api/functions/render.md +1 -2
- package/docs/api/functions/renderAsync.md +1 -2
- package/docs/api/functions/renderTree.md +8 -5
- package/docs/api/functions/reportDiagnosticsForTree.md +18 -0
- package/docs/api/functions/runInContext.md +28 -0
- package/docs/api/functions/sourceFilesForTree.md +6 -16
- package/docs/api/index.md +3 -3
- package/docs/api/testing/functions/index.md +1 -1
- package/docs/api/testing/functions/renderToString.md +1 -1
- package/docs/api/types/AlloyNode.md +22 -0
- package/docs/api/types/Child.md +1 -1
- package/docs/api/types/CommentNode.md +15 -0
- package/docs/api/types/Context.md +13 -15
- package/docs/api/types/ElementNode.md +18 -0
- package/docs/api/types/FragmentNode.md +12 -0
- package/docs/api/types/Insertable.md +7 -0
- package/docs/api/types/NodeType.md +5 -0
- package/docs/api/types/OutputDirectory.md +0 -50
- package/docs/api/types/PrintTreeOptions.md +0 -1
- package/docs/api/types/RenderTreeOptions.md +7 -0
- package/docs/api/types/StiComponentCreator.md +4 -4
- package/docs/api/types/StiSignature.md +1 -1
- package/docs/api/types/TextNode.md +16 -0
- package/docs/api/types/index.md +10 -28
- package/docs/api/variables/COMMENT_NODE.md +5 -0
- package/docs/api/variables/ELEMENT_NODE.md +11 -0
- package/docs/api/variables/FRAGMENT_NODE.md +5 -0
- package/docs/api/variables/TEXT_NODE.md +5 -0
- package/docs/api/variables/index.md +4 -2
- package/docs/formatting.md +1 -1
- package/docs/rendering.md +4 -4
- package/package.json +6 -6
- package/src/components/AccessExpression.test.tsx +1 -1
- package/src/components/Output.tsx +2 -1
- package/src/components/SourceFile.tsx +1 -1
- package/src/content-slot.test.tsx +1 -1
- package/src/context/format-options.ts +1 -1
- package/src/context.ts +37 -4
- package/src/debug/diagnostics.test.tsx +1 -1
- package/src/debug/effects.test.tsx +1 -1
- package/src/debug/file-streaming.ts +115 -0
- package/src/debug/files.test.tsx +15 -11
- package/src/debug/index.ts +11 -11
- package/src/debug/message-format.test.tsx +32 -19
- package/src/debug/render-tree-orphans.test.tsx +10 -19
- package/src/debug/render.test.tsx +206 -78
- package/src/debug/render.ts +642 -495
- package/src/debug/trace-writer.ts +168 -14
- package/src/debug/trace.ts +0 -20
- package/src/devtools/devtools-protocol.ts +43 -0
- package/src/devtools/devtools-server.ts +57 -32
- package/src/devtools-entry.browser.ts +5 -0
- package/src/devtools-entry.ts +5 -0
- package/src/diagnostics.ts +31 -0
- package/src/index.ts +66 -2
- package/src/jsx-runtime.ts +16 -14
- package/src/output-types.ts +47 -0
- package/src/reactivity.ts +186 -40
- package/src/render/get-string-width.ts +201 -0
- package/src/render/index.ts +1 -0
- package/src/render/node-context.ts +14 -0
- package/src/render/node.ts +442 -0
- package/src/render/printer-support.ts +209 -0
- package/src/render/printer.ts +817 -0
- package/src/render-error.ts +98 -0
- package/src/render-output.ts +243 -0
- package/src/runtime/component.ts +2 -2
- package/src/runtime/create-intrinsic.ts +56 -0
- package/src/runtime/fragment.ts +22 -0
- package/src/runtime/index.ts +12 -0
- package/src/runtime/insert.ts +569 -0
- package/src/runtime/intrinsic.ts +14 -70
- package/src/scheduler.ts +40 -25
- package/src/stc.ts +3 -0
- package/src/sti.ts +17 -20
- package/src/symbols/symbol-slot.test.tsx +1 -1
- package/src/test-render.ts +103 -0
- package/src/utils.tsx +55 -37
- package/src/write-output.ts +1 -1
- package/temp/api-testing.json +390 -14
- package/temp/api.json +4320 -4144
- package/test/babel-e2e.test.ts +224 -0
- package/test/components/block.test.tsx +1 -1
- package/test/components/copy-file.test.tsx +2 -1
- package/test/components/update-file.test.tsx +1 -1
- package/test/components/wrap.test.tsx +1 -1
- package/test/control-flow/match.test.tsx +1 -1
- package/test/control-flow/show.test.tsx +1 -1
- package/test/lazy-isempty.test.tsx +6 -6
- package/test/node.test.ts +90 -0
- package/test/output-e2e.test.ts +198 -0
- package/test/reactivity/circular-reactives.test.tsx +1 -1
- package/test/reactivity/cleanup.test.tsx +1 -1
- package/test/rendering/memoization.test.tsx +6 -1
- package/test/rendering/render-output-diagnostics.test.tsx +120 -0
- package/test/runtime.test.ts +448 -0
- package/test/tree-test-utils.ts +23 -0
- package/test/utils.test.tsx +1 -1
- package/testing/devtools-utils.ts +2 -0
- package/testing/extend-expect.ts +8 -46
- package/testing/render.ts +17 -21
- package/dist/dev/src/print-hook.js +0 -10
- package/dist/dev/src/print-hook.js.map +0 -1
- package/dist/dev/src/render.js +0 -872
- package/dist/dev/src/render.js.map +0 -1
- package/dist/src/print-hook.d.ts +0 -14
- package/dist/src/print-hook.d.ts.map +0 -1
- package/dist/src/print-hook.js +0 -10
- package/dist/src/print-hook.js.map +0 -1
- package/dist/src/render.d.ts +0 -155
- package/dist/src/render.d.ts.map +0 -1
- package/dist/src/render.js +0 -872
- package/dist/src/render.js.map +0 -1
- package/docs/api/functions/createIntrinsic.md +0 -19
- package/docs/api/functions/createRenderTreeHook.md +0 -19
- package/docs/api/functions/getElementCache.md +0 -17
- package/docs/api/functions/isIntrinsicElement.md +0 -18
- package/docs/api/functions/isPrintHook.md +0 -18
- package/docs/api/types/AlignIntrinsicElement.md +0 -5
- package/docs/api/types/BrIntrinsicElement.md +0 -5
- package/docs/api/types/BreakParentIntrinsicElement.md +0 -5
- package/docs/api/types/DedentIntrinsicElement.md +0 -5
- package/docs/api/types/DedentToRootIntrinsicElement.md +0 -5
- package/docs/api/types/ElementCache.md +0 -5
- package/docs/api/types/ElementCacheKey.md +0 -5
- package/docs/api/types/FillIntrinsicElement.md +0 -5
- package/docs/api/types/GroupIntrinsicElement.md +0 -5
- package/docs/api/types/HardlineIntrinsicElement.md +0 -5
- package/docs/api/types/HbrIntrinsicElement.md +0 -5
- package/docs/api/types/IfBreakIntrinsicElement.md +0 -5
- package/docs/api/types/IndentIfBreakIntrinsicElement.md +0 -5
- package/docs/api/types/IndentIntrinsicElement.md +0 -5
- package/docs/api/types/IntrinsicElement.md +0 -5
- package/docs/api/types/IntrinsicElementBase.md +0 -9
- package/docs/api/types/LbrIntrinsicElement.md +0 -5
- package/docs/api/types/LineIntrinsicElement.md +0 -5
- package/docs/api/types/LineSuffixBoundaryIntrinsicElement.md +0 -5
- package/docs/api/types/LineSuffixIntrinsicElement.md +0 -5
- package/docs/api/types/LiterallineIntrinsicElement.md +0 -5
- package/docs/api/types/MarkAsRootIntrinsicElement.md +0 -5
- package/docs/api/types/PrintHook.md +0 -10
- package/docs/api/types/RenderedTextTree.md +0 -5
- package/docs/api/types/SbrIntrinsicElement.md +0 -5
- package/docs/api/types/SoftlineIntrinsicElement.md +0 -5
- package/docs/api/variables/intrinsicElementKey.md +0 -5
- package/docs/api/variables/printHookTag.md +0 -7
- package/src/print-hook.ts +0 -22
- package/src/render.ts +0 -1154
package/temp/api-testing.json
CHANGED
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
{
|
|
265
265
|
"kind": "Function",
|
|
266
266
|
"canonicalReference": "@alloy-js/core!d:function(1)",
|
|
267
|
-
"docComment": "/**\n * Dedented template literal tag. Strips leading/trailing blank lines
|
|
267
|
+
"docComment": "/**\n * Dedented template literal tag. Strips leading/trailing blank lines\n * and removes the common leading whitespace from all lines — useful\n * for multi-line expected output in tests.\n */\n",
|
|
268
268
|
"excerptTokens": [
|
|
269
269
|
{
|
|
270
270
|
"kind": "Content",
|
|
@@ -368,28 +368,169 @@
|
|
|
368
368
|
],
|
|
369
369
|
"name": "dedent"
|
|
370
370
|
},
|
|
371
|
+
{
|
|
372
|
+
"kind": "Function",
|
|
373
|
+
"canonicalReference": "@alloy-js/core!getDiagnosticsForTree:function(1)",
|
|
374
|
+
"docComment": "/**\n * Diagnostics collected during the render of `rootNode`.\n */\n",
|
|
375
|
+
"excerptTokens": [
|
|
376
|
+
{
|
|
377
|
+
"kind": "Content",
|
|
378
|
+
"text": "export declare function getDiagnosticsForTree(rootNode: "
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"kind": "Reference",
|
|
382
|
+
"text": "AlloyNode",
|
|
383
|
+
"canonicalReference": "@alloy-js/core!~AlloyNode:class"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"kind": "Content",
|
|
387
|
+
"text": "): "
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"kind": "Reference",
|
|
391
|
+
"text": "Diagnostic",
|
|
392
|
+
"canonicalReference": "@alloy-js/core!~Diagnostic:interface"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"kind": "Content",
|
|
396
|
+
"text": "[]"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"kind": "Content",
|
|
400
|
+
"text": ";"
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
"fileUrlPath": "src/test-render.ts",
|
|
404
|
+
"returnTypeTokenRange": {
|
|
405
|
+
"startIndex": 3,
|
|
406
|
+
"endIndex": 5
|
|
407
|
+
},
|
|
408
|
+
"releaseTag": "Public",
|
|
409
|
+
"overloadIndex": 1,
|
|
410
|
+
"parameters": [
|
|
411
|
+
{
|
|
412
|
+
"parameterName": "rootNode",
|
|
413
|
+
"parameterTypeTokenRange": {
|
|
414
|
+
"startIndex": 1,
|
|
415
|
+
"endIndex": 2
|
|
416
|
+
},
|
|
417
|
+
"isOptional": false
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
"name": "getDiagnosticsForTree"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"kind": "Function",
|
|
424
|
+
"canonicalReference": "@alloy-js/core!getFilesFromTree:function(1)",
|
|
425
|
+
"docComment": "/**\n * Collect source files from an AlloyNode tree as a `path → contents`\n * map. If no `<SourceFile>` markers are found, returns the printed\n * string of the whole tree. Used by the `toRenderTo` matcher; unlike\n * `sourceFilesForTree`, this does NOT default `insertFinalNewLine`,\n * preserving the raw printed body for test assertions.\n */\n",
|
|
426
|
+
"excerptTokens": [
|
|
427
|
+
{
|
|
428
|
+
"kind": "Content",
|
|
429
|
+
"text": "export declare function getFilesFromTree(rootNode: "
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"kind": "Reference",
|
|
433
|
+
"text": "AlloyNode",
|
|
434
|
+
"canonicalReference": "@alloy-js/core!~AlloyNode:class"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"kind": "Content",
|
|
438
|
+
"text": ", opts?: "
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"kind": "Reference",
|
|
442
|
+
"text": "PrintTreeOptions",
|
|
443
|
+
"canonicalReference": "@alloy-js/core!PrintTreeOptions:interface"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"kind": "Content",
|
|
447
|
+
"text": " & "
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"kind": "Reference",
|
|
451
|
+
"text": "RenderTreeOptions",
|
|
452
|
+
"canonicalReference": "@alloy-js/core!RenderTreeOptions:interface"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"kind": "Content",
|
|
456
|
+
"text": "): "
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"kind": "Content",
|
|
460
|
+
"text": "string | "
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"kind": "Reference",
|
|
464
|
+
"text": "Record",
|
|
465
|
+
"canonicalReference": "!Record:type"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"kind": "Content",
|
|
469
|
+
"text": "<string, string>"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"kind": "Content",
|
|
473
|
+
"text": ";"
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"fileUrlPath": "src/test-render.ts",
|
|
477
|
+
"returnTypeTokenRange": {
|
|
478
|
+
"startIndex": 7,
|
|
479
|
+
"endIndex": 10
|
|
480
|
+
},
|
|
481
|
+
"releaseTag": "Public",
|
|
482
|
+
"overloadIndex": 1,
|
|
483
|
+
"parameters": [
|
|
484
|
+
{
|
|
485
|
+
"parameterName": "rootNode",
|
|
486
|
+
"parameterTypeTokenRange": {
|
|
487
|
+
"startIndex": 1,
|
|
488
|
+
"endIndex": 2
|
|
489
|
+
},
|
|
490
|
+
"isOptional": false
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"parameterName": "opts",
|
|
494
|
+
"parameterTypeTokenRange": {
|
|
495
|
+
"startIndex": 3,
|
|
496
|
+
"endIndex": 6
|
|
497
|
+
},
|
|
498
|
+
"isOptional": true
|
|
499
|
+
}
|
|
500
|
+
],
|
|
501
|
+
"name": "getFilesFromTree"
|
|
502
|
+
},
|
|
371
503
|
{
|
|
372
504
|
"kind": "Function",
|
|
373
505
|
"canonicalReference": "@alloy-js/core!printTree:function(1)",
|
|
374
|
-
"docComment": "/**\n *
|
|
506
|
+
"docComment": "/**\n * Print an AlloyNode tree to a string.\n */\n",
|
|
375
507
|
"excerptTokens": [
|
|
376
508
|
{
|
|
377
509
|
"kind": "Content",
|
|
378
|
-
"text": "export declare function printTree(
|
|
510
|
+
"text": "export declare function printTree(node: "
|
|
379
511
|
},
|
|
380
512
|
{
|
|
381
513
|
"kind": "Reference",
|
|
382
|
-
"text": "
|
|
383
|
-
"canonicalReference": "@alloy-js/core!~
|
|
514
|
+
"text": "AlloyNode",
|
|
515
|
+
"canonicalReference": "@alloy-js/core!~AlloyNode:class"
|
|
384
516
|
},
|
|
385
517
|
{
|
|
386
518
|
"kind": "Content",
|
|
387
|
-
"text": ",
|
|
519
|
+
"text": ", opts?: "
|
|
388
520
|
},
|
|
389
521
|
{
|
|
390
522
|
"kind": "Reference",
|
|
391
523
|
"text": "PrintTreeOptions",
|
|
392
|
-
"canonicalReference": "@alloy-js/core
|
|
524
|
+
"canonicalReference": "@alloy-js/core!PrintTreeOptions:interface"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"kind": "Content",
|
|
528
|
+
"text": " & "
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"kind": "Reference",
|
|
532
|
+
"text": "RenderTreeOptions",
|
|
533
|
+
"canonicalReference": "@alloy-js/core!RenderTreeOptions:interface"
|
|
393
534
|
},
|
|
394
535
|
{
|
|
395
536
|
"kind": "Content",
|
|
@@ -404,16 +545,16 @@
|
|
|
404
545
|
"text": ";"
|
|
405
546
|
}
|
|
406
547
|
],
|
|
407
|
-
"fileUrlPath": "src/render.ts",
|
|
548
|
+
"fileUrlPath": "src/test-render.ts",
|
|
408
549
|
"returnTypeTokenRange": {
|
|
409
|
-
"startIndex":
|
|
410
|
-
"endIndex":
|
|
550
|
+
"startIndex": 7,
|
|
551
|
+
"endIndex": 8
|
|
411
552
|
},
|
|
412
553
|
"releaseTag": "Public",
|
|
413
554
|
"overloadIndex": 1,
|
|
414
555
|
"parameters": [
|
|
415
556
|
{
|
|
416
|
-
"parameterName": "
|
|
557
|
+
"parameterName": "node",
|
|
417
558
|
"parameterTypeTokenRange": {
|
|
418
559
|
"startIndex": 1,
|
|
419
560
|
"endIndex": 2
|
|
@@ -421,20 +562,146 @@
|
|
|
421
562
|
"isOptional": false
|
|
422
563
|
},
|
|
423
564
|
{
|
|
424
|
-
"parameterName": "
|
|
565
|
+
"parameterName": "opts",
|
|
425
566
|
"parameterTypeTokenRange": {
|
|
426
567
|
"startIndex": 3,
|
|
427
|
-
"endIndex":
|
|
568
|
+
"endIndex": 6
|
|
428
569
|
},
|
|
429
570
|
"isOptional": true
|
|
430
571
|
}
|
|
431
572
|
],
|
|
432
573
|
"name": "printTree"
|
|
433
574
|
},
|
|
575
|
+
{
|
|
576
|
+
"kind": "Interface",
|
|
577
|
+
"canonicalReference": "@alloy-js/core!PrintTreeOptions:interface",
|
|
578
|
+
"docComment": "",
|
|
579
|
+
"excerptTokens": [
|
|
580
|
+
{
|
|
581
|
+
"kind": "Content",
|
|
582
|
+
"text": "export interface PrintTreeOptions "
|
|
583
|
+
}
|
|
584
|
+
],
|
|
585
|
+
"fileUrlPath": "src/output-types.ts",
|
|
586
|
+
"releaseTag": "Public",
|
|
587
|
+
"name": "PrintTreeOptions",
|
|
588
|
+
"preserveMemberOrder": false,
|
|
589
|
+
"members": [
|
|
590
|
+
{
|
|
591
|
+
"kind": "PropertySignature",
|
|
592
|
+
"canonicalReference": "@alloy-js/core!PrintTreeOptions#insertFinalNewLine:member",
|
|
593
|
+
"docComment": "/**\n * If files should end with a final new line.\n *\n * @default\n *\n * true\n */\n",
|
|
594
|
+
"excerptTokens": [
|
|
595
|
+
{
|
|
596
|
+
"kind": "Content",
|
|
597
|
+
"text": "insertFinalNewLine?: "
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"kind": "Content",
|
|
601
|
+
"text": "boolean"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"kind": "Content",
|
|
605
|
+
"text": ";"
|
|
606
|
+
}
|
|
607
|
+
],
|
|
608
|
+
"isReadonly": false,
|
|
609
|
+
"isOptional": true,
|
|
610
|
+
"releaseTag": "Public",
|
|
611
|
+
"name": "insertFinalNewLine",
|
|
612
|
+
"propertyTypeTokenRange": {
|
|
613
|
+
"startIndex": 1,
|
|
614
|
+
"endIndex": 2
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"kind": "PropertySignature",
|
|
619
|
+
"canonicalReference": "@alloy-js/core!PrintTreeOptions#printWidth:member",
|
|
620
|
+
"docComment": "/**\n * The number of characters the printer will wrap on. Defaults to 100\n * characters.\n */\n",
|
|
621
|
+
"excerptTokens": [
|
|
622
|
+
{
|
|
623
|
+
"kind": "Content",
|
|
624
|
+
"text": "printWidth?: "
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"kind": "Content",
|
|
628
|
+
"text": "number"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"kind": "Content",
|
|
632
|
+
"text": ";"
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
"isReadonly": false,
|
|
636
|
+
"isOptional": true,
|
|
637
|
+
"releaseTag": "Public",
|
|
638
|
+
"name": "printWidth",
|
|
639
|
+
"propertyTypeTokenRange": {
|
|
640
|
+
"startIndex": 1,
|
|
641
|
+
"endIndex": 2
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"kind": "PropertySignature",
|
|
646
|
+
"canonicalReference": "@alloy-js/core!PrintTreeOptions#tabWidth:member",
|
|
647
|
+
"docComment": "/**\n * The number of spaces to use for indentation. Defaults to 2 spaces.\n */\n",
|
|
648
|
+
"excerptTokens": [
|
|
649
|
+
{
|
|
650
|
+
"kind": "Content",
|
|
651
|
+
"text": "tabWidth?: "
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"kind": "Content",
|
|
655
|
+
"text": "number"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"kind": "Content",
|
|
659
|
+
"text": ";"
|
|
660
|
+
}
|
|
661
|
+
],
|
|
662
|
+
"isReadonly": false,
|
|
663
|
+
"isOptional": true,
|
|
664
|
+
"releaseTag": "Public",
|
|
665
|
+
"name": "tabWidth",
|
|
666
|
+
"propertyTypeTokenRange": {
|
|
667
|
+
"startIndex": 1,
|
|
668
|
+
"endIndex": 2
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"kind": "PropertySignature",
|
|
673
|
+
"canonicalReference": "@alloy-js/core!PrintTreeOptions#useTabs:member",
|
|
674
|
+
"docComment": "/**\n * Whether to use tabs instead of spaces for indentation. Defaults to false.\n */\n",
|
|
675
|
+
"excerptTokens": [
|
|
676
|
+
{
|
|
677
|
+
"kind": "Content",
|
|
678
|
+
"text": "useTabs?: "
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"kind": "Content",
|
|
682
|
+
"text": "boolean"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"kind": "Content",
|
|
686
|
+
"text": ";"
|
|
687
|
+
}
|
|
688
|
+
],
|
|
689
|
+
"isReadonly": false,
|
|
690
|
+
"isOptional": true,
|
|
691
|
+
"releaseTag": "Public",
|
|
692
|
+
"name": "useTabs",
|
|
693
|
+
"propertyTypeTokenRange": {
|
|
694
|
+
"startIndex": 1,
|
|
695
|
+
"endIndex": 2
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
],
|
|
699
|
+
"extendsTokenRanges": []
|
|
700
|
+
},
|
|
434
701
|
{
|
|
435
702
|
"kind": "Function",
|
|
436
703
|
"canonicalReference": "@alloy-js/core!renderToString:function(1)",
|
|
437
|
-
"docComment": "/**\n *
|
|
704
|
+
"docComment": "/**\n * Convenience wrapper combining `renderTree` and `printTree`.\n */\n",
|
|
438
705
|
"excerptTokens": [
|
|
439
706
|
{
|
|
440
707
|
"kind": "Content",
|
|
@@ -477,6 +744,115 @@
|
|
|
477
744
|
],
|
|
478
745
|
"name": "renderToString"
|
|
479
746
|
},
|
|
747
|
+
{
|
|
748
|
+
"kind": "Function",
|
|
749
|
+
"canonicalReference": "@alloy-js/core!renderTree:function(1)",
|
|
750
|
+
"docComment": "/**\n * Render `children` into a fresh root AlloyNode.\n */\n",
|
|
751
|
+
"excerptTokens": [
|
|
752
|
+
{
|
|
753
|
+
"kind": "Content",
|
|
754
|
+
"text": "export declare function renderTree(children: "
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"kind": "Reference",
|
|
758
|
+
"text": "Children",
|
|
759
|
+
"canonicalReference": "@alloy-js/core!~Children:type"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"kind": "Content",
|
|
763
|
+
"text": ", opts?: "
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"kind": "Reference",
|
|
767
|
+
"text": "RenderTreeOptions",
|
|
768
|
+
"canonicalReference": "@alloy-js/core!RenderTreeOptions:interface"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"kind": "Content",
|
|
772
|
+
"text": "): "
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"kind": "Reference",
|
|
776
|
+
"text": "ElementNode",
|
|
777
|
+
"canonicalReference": "@alloy-js/core!~ElementNode:class"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"kind": "Content",
|
|
781
|
+
"text": ";"
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"fileUrlPath": "src/test-render.ts",
|
|
785
|
+
"returnTypeTokenRange": {
|
|
786
|
+
"startIndex": 5,
|
|
787
|
+
"endIndex": 6
|
|
788
|
+
},
|
|
789
|
+
"releaseTag": "Public",
|
|
790
|
+
"overloadIndex": 1,
|
|
791
|
+
"parameters": [
|
|
792
|
+
{
|
|
793
|
+
"parameterName": "children",
|
|
794
|
+
"parameterTypeTokenRange": {
|
|
795
|
+
"startIndex": 1,
|
|
796
|
+
"endIndex": 2
|
|
797
|
+
},
|
|
798
|
+
"isOptional": false
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"parameterName": "opts",
|
|
802
|
+
"parameterTypeTokenRange": {
|
|
803
|
+
"startIndex": 3,
|
|
804
|
+
"endIndex": 4
|
|
805
|
+
},
|
|
806
|
+
"isOptional": true
|
|
807
|
+
}
|
|
808
|
+
],
|
|
809
|
+
"name": "renderTree"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"kind": "Interface",
|
|
813
|
+
"canonicalReference": "@alloy-js/core!RenderTreeOptions:interface",
|
|
814
|
+
"docComment": "",
|
|
815
|
+
"excerptTokens": [
|
|
816
|
+
{
|
|
817
|
+
"kind": "Content",
|
|
818
|
+
"text": "export interface RenderTreeOptions "
|
|
819
|
+
}
|
|
820
|
+
],
|
|
821
|
+
"fileUrlPath": "src/test-render.ts",
|
|
822
|
+
"releaseTag": "Public",
|
|
823
|
+
"name": "RenderTreeOptions",
|
|
824
|
+
"preserveMemberOrder": false,
|
|
825
|
+
"members": [
|
|
826
|
+
{
|
|
827
|
+
"kind": "PropertySignature",
|
|
828
|
+
"canonicalReference": "@alloy-js/core!RenderTreeOptions#noFlush:member",
|
|
829
|
+
"docComment": "",
|
|
830
|
+
"excerptTokens": [
|
|
831
|
+
{
|
|
832
|
+
"kind": "Content",
|
|
833
|
+
"text": "noFlush?: "
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"kind": "Content",
|
|
837
|
+
"text": "boolean"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"kind": "Content",
|
|
841
|
+
"text": ";"
|
|
842
|
+
}
|
|
843
|
+
],
|
|
844
|
+
"isReadonly": false,
|
|
845
|
+
"isOptional": true,
|
|
846
|
+
"releaseTag": "Public",
|
|
847
|
+
"name": "noFlush",
|
|
848
|
+
"propertyTypeTokenRange": {
|
|
849
|
+
"startIndex": 1,
|
|
850
|
+
"endIndex": 2
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
],
|
|
854
|
+
"extendsTokenRanges": []
|
|
855
|
+
},
|
|
480
856
|
{
|
|
481
857
|
"kind": "Interface",
|
|
482
858
|
"canonicalReference": "@alloy-js/core!TestWrapper:interface",
|