@alloy-js/core 0.23.0-dev.1 → 0.23.0-dev.8
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 +0 -22
- package/dist/devtools/index.html +68 -0
- package/dist/src/binder.d.ts +2 -0
- package/dist/src/binder.d.ts.map +1 -1
- package/dist/src/binder.js +55 -12
- package/dist/src/binder.js.map +1 -1
- package/dist/src/components/AppendFile.d.ts.map +1 -1
- package/dist/src/components/AppendFile.js +14 -3
- package/dist/src/components/AppendFile.js.map +1 -1
- package/dist/src/components/Block.js +1 -1
- package/dist/src/components/Block.js.map +1 -1
- package/dist/src/components/Declaration.d.ts.map +1 -1
- package/dist/src/components/Declaration.js +2 -1
- package/dist/src/components/Declaration.js.map +1 -1
- package/dist/src/components/Scope.d.ts.map +1 -1
- package/dist/src/components/Scope.js +4 -1
- package/dist/src/components/Scope.js.map +1 -1
- package/dist/src/components/TemplateFile.d.ts.map +1 -1
- package/dist/src/components/TemplateFile.js +18 -3
- package/dist/src/components/TemplateFile.js.map +1 -1
- package/dist/src/content-slot.d.ts.map +1 -1
- package/dist/src/content-slot.js +6 -5
- package/dist/src/content-slot.js.map +1 -1
- package/dist/src/context.d.ts.map +1 -1
- package/dist/src/context.js +8 -1
- package/dist/src/context.js.map +1 -1
- package/dist/src/debug/cli.d.ts +6 -0
- package/dist/src/debug/cli.d.ts.map +1 -0
- package/dist/src/{debug.js → debug/cli.js} +79 -82
- package/dist/src/debug/cli.js.map +1 -0
- package/dist/src/debug/diagnostics.test.d.ts +2 -0
- package/dist/src/debug/diagnostics.test.d.ts.map +1 -0
- package/dist/src/debug/diagnostics.test.js +45 -0
- package/dist/src/debug/diagnostics.test.js.map +1 -0
- package/dist/src/debug/effects.d.ts +69 -0
- package/dist/src/debug/effects.d.ts.map +1 -0
- package/dist/src/debug/effects.js +228 -0
- package/dist/src/debug/effects.js.map +1 -0
- package/dist/src/debug/effects.test.d.ts +2 -0
- package/dist/src/debug/effects.test.d.ts.map +1 -0
- package/dist/src/debug/effects.test.js +86 -0
- package/dist/src/debug/effects.test.js.map +1 -0
- package/dist/src/debug/files.d.ts +14 -0
- package/dist/src/debug/files.d.ts.map +1 -0
- package/dist/src/debug/files.js +40 -0
- package/dist/src/debug/files.js.map +1 -0
- package/dist/src/debug/files.test.d.ts +2 -0
- package/dist/src/debug/files.test.d.ts.map +1 -0
- package/dist/src/debug/files.test.js +89 -0
- package/dist/src/debug/files.test.js.map +1 -0
- package/dist/src/debug/index.d.ts +60 -0
- package/dist/src/debug/index.d.ts.map +1 -0
- package/dist/src/debug/index.js +68 -0
- package/dist/src/debug/index.js.map +1 -0
- package/dist/src/debug/render.d.ts +57 -0
- package/dist/src/debug/render.d.ts.map +1 -0
- package/dist/src/debug/render.js +519 -0
- package/dist/src/debug/render.js.map +1 -0
- package/dist/src/debug/render.test.d.ts +2 -0
- package/dist/src/debug/render.test.d.ts.map +1 -0
- package/dist/src/debug/render.test.js +328 -0
- package/dist/src/debug/render.test.js.map +1 -0
- package/dist/src/debug/serialize.d.ts +9 -0
- package/dist/src/debug/serialize.d.ts.map +1 -0
- package/dist/src/debug/serialize.js +70 -0
- package/dist/src/debug/serialize.js.map +1 -0
- package/dist/src/debug/symbols.d.ts +9 -0
- package/dist/src/debug/symbols.d.ts.map +1 -0
- package/dist/src/debug/symbols.js +164 -0
- package/dist/src/debug/symbols.js.map +1 -0
- package/dist/src/debug/symbols.test.d.ts +2 -0
- package/dist/src/debug/symbols.test.d.ts.map +1 -0
- package/dist/src/debug/symbols.test.js +104 -0
- package/dist/src/debug/symbols.test.js.map +1 -0
- package/dist/src/debug/trace.d.ts +342 -0
- package/dist/src/debug/trace.d.ts.map +1 -0
- package/dist/src/debug/trace.js +443 -0
- package/dist/src/debug/trace.js.map +1 -0
- package/dist/src/devtools/devtools-protocol.d.ts +232 -0
- package/dist/src/devtools/devtools-protocol.d.ts.map +1 -0
- package/dist/src/devtools/devtools-protocol.js +2 -0
- package/dist/src/devtools/devtools-protocol.js.map +1 -0
- package/dist/src/devtools/devtools-server.browser.d.ts +28 -0
- package/dist/src/devtools/devtools-server.browser.d.ts.map +1 -0
- package/dist/src/devtools/devtools-server.browser.js +36 -0
- package/dist/src/devtools/devtools-server.browser.js.map +1 -0
- package/dist/src/devtools/devtools-server.d.ts +72 -0
- package/dist/src/devtools/devtools-server.d.ts.map +1 -0
- package/dist/src/devtools/devtools-server.js +256 -0
- package/dist/src/devtools/devtools-server.js.map +1 -0
- package/dist/src/devtools/devtools-transport.d.ts +23 -0
- package/dist/src/devtools/devtools-transport.d.ts.map +1 -0
- package/dist/src/devtools/devtools-transport.js +114 -0
- package/dist/src/devtools/devtools-transport.js.map +1 -0
- package/dist/src/devtools-entry.browser.d.ts +4 -0
- package/dist/src/devtools-entry.browser.d.ts.map +1 -0
- package/dist/src/devtools-entry.browser.js +2 -0
- package/dist/src/devtools-entry.browser.js.map +1 -0
- package/dist/src/devtools-entry.d.ts +4 -0
- package/dist/src/devtools-entry.d.ts.map +1 -0
- package/dist/src/devtools-entry.js +2 -0
- package/dist/src/devtools-entry.js.map +1 -0
- package/dist/src/diagnostics.d.ts +34 -0
- package/dist/src/diagnostics.d.ts.map +1 -0
- package/dist/src/diagnostics.js +89 -0
- package/dist/src/diagnostics.js.map +1 -0
- package/dist/src/index.d.ts +3 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +3 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/print-hook.d.ts +14 -0
- package/dist/src/print-hook.d.ts.map +1 -0
- package/dist/src/print-hook.js +10 -0
- package/dist/src/print-hook.js.map +1 -0
- package/dist/src/reactive-union-set.d.ts.map +1 -1
- package/dist/src/reactive-union-set.js +15 -0
- package/dist/src/reactive-union-set.js.map +1 -1
- package/dist/src/reactivity.d.ts +17 -3
- package/dist/src/reactivity.d.ts.map +1 -1
- package/dist/src/reactivity.js +162 -14
- package/dist/src/reactivity.js.map +1 -1
- package/dist/src/render-stack.d.ts +17 -1
- package/dist/src/render-stack.d.ts.map +1 -1
- package/dist/src/render-stack.js +57 -1
- package/dist/src/render-stack.js.map +1 -1
- package/dist/src/render.d.ts +8 -15
- package/dist/src/render.d.ts.map +1 -1
- package/dist/src/render.js +362 -103
- package/dist/src/render.js.map +1 -1
- package/dist/src/resource.d.ts.map +1 -1
- package/dist/src/resource.js +5 -0
- package/dist/src/resource.js.map +1 -1
- package/dist/src/scheduler.d.ts +3 -0
- package/dist/src/scheduler.d.ts.map +1 -1
- package/dist/src/scheduler.js +45 -2
- package/dist/src/scheduler.js.map +1 -1
- package/dist/src/symbols/basic-symbol.d.ts.map +1 -1
- package/dist/src/symbols/basic-symbol.js +6 -1
- package/dist/src/symbols/basic-symbol.js.map +1 -1
- package/dist/src/symbols/decl.d.ts.map +1 -1
- package/dist/src/symbols/decl.js +5 -1
- package/dist/src/symbols/decl.js.map +1 -1
- package/dist/src/symbols/output-scope.d.ts +2 -1
- package/dist/src/symbols/output-scope.d.ts.map +1 -1
- package/dist/src/symbols/output-scope.js +13 -8
- package/dist/src/symbols/output-scope.js.map +1 -1
- package/dist/src/symbols/output-symbol.d.ts +1 -0
- package/dist/src/symbols/output-symbol.d.ts.map +1 -1
- package/dist/src/symbols/output-symbol.js +23 -6
- package/dist/src/symbols/output-symbol.js.map +1 -1
- package/dist/src/symbols/symbol-flow.d.ts.map +1 -1
- package/dist/src/symbols/symbol-flow.js +22 -6
- package/dist/src/symbols/symbol-flow.js.map +1 -1
- package/dist/src/symbols/symbol-slot.d.ts.map +1 -1
- package/dist/src/symbols/symbol-slot.js +15 -0
- package/dist/src/symbols/symbol-slot.js.map +1 -1
- package/dist/src/symbols/symbol-slot.test.d.ts +2 -0
- package/dist/src/symbols/symbol-slot.test.d.ts.map +1 -0
- package/dist/src/symbols/symbol-slot.test.js +35 -0
- package/dist/src/symbols/symbol-slot.test.js.map +1 -0
- package/dist/src/symbols/symbol-table.d.ts.map +1 -1
- package/dist/src/symbols/symbol-table.js +6 -5
- package/dist/src/symbols/symbol-table.js.map +1 -1
- package/dist/src/trace.d.ts +2 -0
- package/dist/src/trace.d.ts.map +1 -0
- package/dist/src/trace.js +2 -0
- package/dist/src/trace.js.map +1 -0
- package/dist/src/tracer.d.ts +2 -228
- package/dist/src/tracer.d.ts.map +1 -1
- package/dist/src/tracer.js +5 -298
- package/dist/src/tracer.js.map +1 -1
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +5 -0
- package/dist/src/utils.js.map +1 -1
- package/dist/test/components/append-file.test.d.ts.map +1 -1
- package/dist/test/components/append-file.test.js +18 -10
- package/dist/test/components/append-file.test.js.map +1 -1
- package/dist/test/components/template-file.test.d.ts.map +1 -1
- package/dist/test/components/template-file.test.js +6 -4
- package/dist/test/components/template-file.test.js.map +1 -1
- package/dist/test/rendering/basic.test.js +3 -0
- package/dist/test/rendering/basic.test.js.map +1 -1
- package/dist/test/rendering/print-render-stack.test.d.ts.map +1 -1
- package/dist/test/rendering/print-render-stack.test.js +91 -98
- package/dist/test/rendering/print-render-stack.test.js.map +1 -1
- package/dist/testing/create-test-wrapper.d.ts +1 -1
- package/dist/testing/create-test-wrapper.d.ts.map +1 -1
- package/dist/testing/create-test-wrapper.js +1 -1
- package/dist/testing/create-test-wrapper.js.map +1 -1
- package/dist/testing/devtools-utils.d.ts +26 -0
- package/dist/testing/devtools-utils.d.ts.map +1 -0
- package/dist/testing/devtools-utils.js +140 -0
- package/dist/testing/devtools-utils.js.map +1 -0
- package/dist/testing/extend-expect.d.ts.map +1 -1
- package/dist/testing/extend-expect.js +63 -1
- package/dist/testing/extend-expect.js.map +1 -1
- package/dist/testing/render.d.ts +2 -2
- package/dist/testing/render.d.ts.map +1 -1
- package/dist/testing/render.js +2 -2
- package/dist/testing/render.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +21 -7
- package/scripts/copy-devtools-ui.mjs +26 -0
- package/src/binder.ts +71 -16
- package/src/components/AppendFile.tsx +14 -9
- package/src/components/Block.tsx +1 -1
- package/src/components/Declaration.tsx +2 -1
- package/src/components/Scope.tsx +4 -1
- package/src/components/TemplateFile.tsx +18 -9
- package/src/content-slot.tsx +6 -6
- package/src/context.ts +15 -4
- package/src/{debug.ts → debug/cli.ts} +114 -125
- package/src/debug/diagnostics.test.tsx +55 -0
- package/src/debug/effects.test.tsx +96 -0
- package/src/debug/effects.ts +313 -0
- package/src/debug/files.test.tsx +96 -0
- package/src/debug/files.ts +40 -0
- package/src/debug/index.ts +126 -0
- package/src/debug/render.test.tsx +379 -0
- package/src/debug/render.ts +639 -0
- package/src/debug/serialize.ts +85 -0
- package/src/debug/symbols.test.tsx +106 -0
- package/src/debug/symbols.ts +230 -0
- package/src/debug/trace.ts +312 -0
- package/src/devtools/devtools-protocol.ts +312 -0
- package/src/devtools/devtools-server.browser.ts +71 -0
- package/src/devtools/devtools-server.ts +290 -0
- package/src/devtools/devtools-transport.ts +154 -0
- package/src/devtools-entry.browser.ts +52 -0
- package/src/devtools-entry.ts +54 -0
- package/src/diagnostics.ts +141 -0
- package/src/index.ts +2 -6
- package/src/print-hook.ts +22 -0
- package/src/reactive-union-set.ts +71 -41
- package/src/reactivity.ts +206 -23
- package/src/render-stack.ts +68 -1
- package/src/render.ts +464 -157
- package/src/resource.ts +28 -19
- package/src/scheduler.ts +55 -3
- package/src/symbols/basic-symbol.ts +6 -1
- package/src/symbols/decl.ts +5 -1
- package/src/symbols/output-scope.ts +21 -12
- package/src/symbols/output-symbol.ts +33 -12
- package/src/symbols/symbol-flow.ts +68 -37
- package/src/symbols/symbol-slot.test.tsx +41 -0
- package/src/symbols/symbol-slot.tsx +47 -20
- package/src/symbols/symbol-table.ts +6 -10
- package/src/trace.ts +1 -0
- package/src/tracer.ts +13 -242
- package/src/utils.tsx +22 -13
- package/temp/api.json +1675 -162
- package/test/components/append-file.test.tsx +36 -29
- package/test/components/template-file.test.tsx +11 -11
- package/test/rendering/basic.test.tsx +4 -0
- package/test/rendering/print-render-stack.test.tsx +52 -43
- package/testing/create-test-wrapper.tsx +1 -1
- package/testing/devtools-utils.ts +203 -0
- package/testing/extend-expect.ts +89 -0
- package/testing/render.ts +2 -2
- package/testing/vitest.d.ts +9 -0
- package/dist/src/debug.d.ts +0 -14
- package/dist/src/debug.d.ts.map +0 -1
- package/dist/src/debug.js.map +0 -1
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
import { watch } from "@vue/reactivity";
|
|
2
|
+
import * as devalue from "devalue";
|
|
3
|
+
import { isDevtoolsEnabled, registerDevtoolsMessageHandler } from "../devtools/devtools-server.js";
|
|
4
|
+
import { isPrintHook } from "../print-hook.js";
|
|
5
|
+
import { untrack } from "../reactivity.js";
|
|
6
|
+
import { flushJobsAsync } from "../scheduler.js";
|
|
7
|
+
import { sanitizeRecord } from "./serialize.js";
|
|
8
|
+
import { emitDevtoolsMessage } from "./trace.js";
|
|
9
|
+
|
|
10
|
+
/** The kind discriminant for render tree nodes. */
|
|
11
|
+
|
|
12
|
+
/** Information about a render tree node, used when recording nodes to devtools. */
|
|
13
|
+
|
|
14
|
+
/** Any node tracked by the devtools render tree. */
|
|
15
|
+
|
|
16
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
17
|
+
// Module state — reset in initialize()
|
|
18
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
19
|
+
|
|
20
|
+
let nodeIds = new WeakMap();
|
|
21
|
+
let idToNode = new Map();
|
|
22
|
+
let entryIds = new WeakMap();
|
|
23
|
+
let fileNodes = new Map();
|
|
24
|
+
let directoryNodes = new Map();
|
|
25
|
+
let nodeProps = new Map();
|
|
26
|
+
let rerenderActions = new Map();
|
|
27
|
+
let nextId = 1;
|
|
28
|
+
let handlerRegistered = false;
|
|
29
|
+
|
|
30
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
31
|
+
// Props serialization
|
|
32
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
33
|
+
|
|
34
|
+
function serializeRenderTreeProps(input) {
|
|
35
|
+
return untrack(() => {
|
|
36
|
+
if (!input) return undefined;
|
|
37
|
+
const {
|
|
38
|
+
children: _children,
|
|
39
|
+
...rest
|
|
40
|
+
} = input;
|
|
41
|
+
const sanitized = sanitizeRecord(rest);
|
|
42
|
+
if (!sanitized) return undefined;
|
|
43
|
+
try {
|
|
44
|
+
return devalue.stringify(sanitized);
|
|
45
|
+
} catch {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
52
|
+
// Node ID management & tree structure
|
|
53
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
54
|
+
|
|
55
|
+
function emitNodeRemoved(parentId, id) {
|
|
56
|
+
clearRenderTreeChildrenForId(id);
|
|
57
|
+
emitDevtoolsMessage({
|
|
58
|
+
type: "render:nodeRemoved",
|
|
59
|
+
parentId,
|
|
60
|
+
id
|
|
61
|
+
});
|
|
62
|
+
rerenderActions.delete(id);
|
|
63
|
+
nodeProps.delete(id);
|
|
64
|
+
idToNode.delete(id);
|
|
65
|
+
const fileInfo = fileNodes.get(id);
|
|
66
|
+
if (fileInfo) {
|
|
67
|
+
emitDevtoolsMessage({
|
|
68
|
+
type: "files:fileRemoved",
|
|
69
|
+
path: fileInfo.path
|
|
70
|
+
});
|
|
71
|
+
fileNodes.delete(id);
|
|
72
|
+
}
|
|
73
|
+
const dirInfo = directoryNodes.get(id);
|
|
74
|
+
if (dirInfo) {
|
|
75
|
+
emitDevtoolsMessage({
|
|
76
|
+
type: "files:directoryRemoved",
|
|
77
|
+
path: dirInfo.path
|
|
78
|
+
});
|
|
79
|
+
directoryNodes.delete(id);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
function getEntryList(parent) {
|
|
83
|
+
let list = entryIds.get(parent);
|
|
84
|
+
if (!list) {
|
|
85
|
+
list = [];
|
|
86
|
+
entryIds.set(parent, list);
|
|
87
|
+
}
|
|
88
|
+
return list;
|
|
89
|
+
}
|
|
90
|
+
function getOrCreateNodeId(node) {
|
|
91
|
+
const existing = nodeIds.get(node);
|
|
92
|
+
if (existing) return existing;
|
|
93
|
+
const id = nextId++;
|
|
94
|
+
nodeIds.set(node, id);
|
|
95
|
+
idToNode.set(id, node);
|
|
96
|
+
return id;
|
|
97
|
+
}
|
|
98
|
+
export function getRenderNodeId(node) {
|
|
99
|
+
if (!isDevtoolsEnabled()) return undefined;
|
|
100
|
+
return getOrCreateNodeId(node);
|
|
101
|
+
}
|
|
102
|
+
function setEntryId(parent, index, id) {
|
|
103
|
+
const list = getEntryList(parent);
|
|
104
|
+
list[index] = id;
|
|
105
|
+
}
|
|
106
|
+
export function initialize(root) {
|
|
107
|
+
if (!isDevtoolsEnabled()) return;
|
|
108
|
+
ensureDevtoolsHandler();
|
|
109
|
+
nodeIds = new WeakMap();
|
|
110
|
+
idToNode = new Map();
|
|
111
|
+
entryIds = new WeakMap();
|
|
112
|
+
fileNodes = new Map();
|
|
113
|
+
directoryNodes = new Map();
|
|
114
|
+
nodeProps = new Map();
|
|
115
|
+
rerenderActions = new Map();
|
|
116
|
+
nextId = 1;
|
|
117
|
+
emitDevtoolsMessage({
|
|
118
|
+
type: "render:reset"
|
|
119
|
+
});
|
|
120
|
+
const rootId = getOrCreateNodeId(root);
|
|
121
|
+
emitDevtoolsMessage({
|
|
122
|
+
type: "render:nodeAdded",
|
|
123
|
+
parentId: null,
|
|
124
|
+
node: {
|
|
125
|
+
id: rootId,
|
|
126
|
+
kind: "root"
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
export function registerRenderNodeActions(node, actions) {
|
|
131
|
+
if (!isDevtoolsEnabled()) return;
|
|
132
|
+
const id = getOrCreateNodeId(node);
|
|
133
|
+
rerenderActions.set(id, actions);
|
|
134
|
+
}
|
|
135
|
+
export function unregisterRenderNodeActions(node) {
|
|
136
|
+
if (!isDevtoolsEnabled()) return;
|
|
137
|
+
const id = nodeIds.get(node);
|
|
138
|
+
if (id !== undefined) {
|
|
139
|
+
rerenderActions.delete(id);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function ensureDevtoolsHandler() {
|
|
143
|
+
if (handlerRegistered || !isDevtoolsEnabled()) return;
|
|
144
|
+
handlerRegistered = true;
|
|
145
|
+
registerDevtoolsMessageHandler(message => {
|
|
146
|
+
if (message.type !== "render:rerender" && message.type !== "render:rerenderAndBreak") {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
const rawId = message.id;
|
|
150
|
+
if (typeof rawId !== "number" && typeof rawId !== "string") return;
|
|
151
|
+
const id = Number(rawId);
|
|
152
|
+
if (!Number.isFinite(id)) return;
|
|
153
|
+
const actions = rerenderActions.get(id);
|
|
154
|
+
if (!actions) return;
|
|
155
|
+
if (message.type === "render:rerender") {
|
|
156
|
+
actions.rerender();
|
|
157
|
+
} else {
|
|
158
|
+
actions.rerenderAndBreak();
|
|
159
|
+
}
|
|
160
|
+
void flushJobsAsync();
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
export function recordTextNode(parent, index, value) {
|
|
164
|
+
if (!isDevtoolsEnabled()) return;
|
|
165
|
+
const id = nextId++;
|
|
166
|
+
setEntryId(parent, index, id);
|
|
167
|
+
emitDevtoolsMessage({
|
|
168
|
+
type: "render:nodeAdded",
|
|
169
|
+
parentId: getOrCreateNodeId(parent),
|
|
170
|
+
node: {
|
|
171
|
+
id,
|
|
172
|
+
kind: "text",
|
|
173
|
+
value
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
function recordNodeAdded(parent, index, node, info) {
|
|
178
|
+
if (!isDevtoolsEnabled()) return;
|
|
179
|
+
const id = getOrCreateNodeId(node);
|
|
180
|
+
if (info.propsSerialized !== undefined) {
|
|
181
|
+
nodeProps.set(id, info.propsSerialized);
|
|
182
|
+
}
|
|
183
|
+
setEntryId(parent, index, id);
|
|
184
|
+
emitDevtoolsMessage({
|
|
185
|
+
type: "render:nodeAdded",
|
|
186
|
+
parentId: getOrCreateNodeId(parent),
|
|
187
|
+
node: {
|
|
188
|
+
id,
|
|
189
|
+
...info
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
function recordSubtreeAdded(parentNode, subtree, info = {
|
|
194
|
+
kind: "fragment"
|
|
195
|
+
}) {
|
|
196
|
+
if (!isDevtoolsEnabled()) return;
|
|
197
|
+
const parentId = getOrCreateNodeId(parentNode);
|
|
198
|
+
// Check if this node was previously rendered (cached) by seeing if it already has an ID
|
|
199
|
+
const existingId = nodeIds.get(subtree);
|
|
200
|
+
const isCached = existingId !== undefined;
|
|
201
|
+
const id = isCached ? existingId : getOrCreateNodeId(subtree);
|
|
202
|
+
// Track in entryIds so clearRenderTreeChildren can find and remove it
|
|
203
|
+
if (Array.isArray(parentNode)) {
|
|
204
|
+
const list = getEntryList(parentNode);
|
|
205
|
+
list.push(id);
|
|
206
|
+
}
|
|
207
|
+
emitDevtoolsMessage({
|
|
208
|
+
type: "render:nodeAdded",
|
|
209
|
+
parentId,
|
|
210
|
+
node: {
|
|
211
|
+
id,
|
|
212
|
+
...info
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
// For cached nodes, we need to recursively re-add all their children since
|
|
216
|
+
// clearRenderTreeChildren removed them when the parent re-rendered
|
|
217
|
+
if (isCached) {
|
|
218
|
+
recordCachedSubtreeChildrenRecursively(subtree);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Recursively re-adds all children of a cached render tree node to devtools.
|
|
224
|
+
* This is needed because clearRenderTreeChildren recursively removes all
|
|
225
|
+
* descendants, but cached nodes aren't re-rendered so their children need
|
|
226
|
+
* to be explicitly re-added.
|
|
227
|
+
*/
|
|
228
|
+
function recordCachedSubtreeChildrenRecursively(node) {
|
|
229
|
+
if (!isDevtoolsEnabled()) return;
|
|
230
|
+
const parentId = getOrCreateNodeId(node);
|
|
231
|
+
|
|
232
|
+
// Rebuild the entryIds for this node
|
|
233
|
+
const list = getEntryList(node);
|
|
234
|
+
list.length = 0;
|
|
235
|
+
for (let i = 0; i < node.length; i++) {
|
|
236
|
+
const child = node[i];
|
|
237
|
+
if (typeof child === "string") {
|
|
238
|
+
// Text nodes - re-record them with new IDs
|
|
239
|
+
if (child !== "") {
|
|
240
|
+
const id = nextId++;
|
|
241
|
+
list.push(id);
|
|
242
|
+
idToNode.set(id, child);
|
|
243
|
+
emitDevtoolsMessage({
|
|
244
|
+
type: "render:nodeAdded",
|
|
245
|
+
parentId,
|
|
246
|
+
node: {
|
|
247
|
+
id,
|
|
248
|
+
kind: "text",
|
|
249
|
+
value: child
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
} else if (Array.isArray(child)) {
|
|
254
|
+
// Nested RenderedTextTree - record and recurse
|
|
255
|
+
const id = getOrCreateNodeId(child);
|
|
256
|
+
list.push(id);
|
|
257
|
+
emitDevtoolsMessage({
|
|
258
|
+
type: "render:nodeAdded",
|
|
259
|
+
parentId,
|
|
260
|
+
node: {
|
|
261
|
+
id,
|
|
262
|
+
kind: "fragment"
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
recordCachedSubtreeChildrenRecursively(child);
|
|
266
|
+
} else if (isPrintHook(child)) {
|
|
267
|
+
// PrintHook - record and recurse into subtree
|
|
268
|
+
const id = getOrCreateNodeId(child);
|
|
269
|
+
list.push(id);
|
|
270
|
+
emitDevtoolsMessage({
|
|
271
|
+
type: "render:nodeAdded",
|
|
272
|
+
parentId,
|
|
273
|
+
node: {
|
|
274
|
+
id,
|
|
275
|
+
kind: "printHook",
|
|
276
|
+
name: child.name ?? "hook"
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
if (child.subtree) {
|
|
280
|
+
const subtreeId = getOrCreateNodeId(child.subtree);
|
|
281
|
+
const hookList = getEntryList(child);
|
|
282
|
+
hookList.length = 0;
|
|
283
|
+
hookList.push(subtreeId);
|
|
284
|
+
emitDevtoolsMessage({
|
|
285
|
+
type: "render:nodeAdded",
|
|
286
|
+
parentId: id,
|
|
287
|
+
node: {
|
|
288
|
+
id: subtreeId,
|
|
289
|
+
kind: "fragment"
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
recordCachedSubtreeChildrenRecursively(child.subtree);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
function recordNodePropsUpdated(node, propsSerialized) {
|
|
298
|
+
if (!isDevtoolsEnabled()) return;
|
|
299
|
+
const id = getOrCreateNodeId(node);
|
|
300
|
+
const previous = nodeProps.get(id);
|
|
301
|
+
if (previous === propsSerialized) return;
|
|
302
|
+
nodeProps.set(id, propsSerialized);
|
|
303
|
+
emitDevtoolsMessage({
|
|
304
|
+
type: "render:nodeUpdated",
|
|
305
|
+
id,
|
|
306
|
+
propsSerialized
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
function clearRenderTreeChildren(parent) {
|
|
310
|
+
if (!isDevtoolsEnabled()) return;
|
|
311
|
+
const list = entryIds.get(parent);
|
|
312
|
+
if (!list || list.length === 0) return;
|
|
313
|
+
const parentId = getOrCreateNodeId(parent);
|
|
314
|
+
for (const id of list) {
|
|
315
|
+
if (id !== undefined) {
|
|
316
|
+
emitNodeRemoved(parentId, id);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
entryIds.set(parent, []);
|
|
320
|
+
}
|
|
321
|
+
function clearRenderTreeChildrenForId(id) {
|
|
322
|
+
const node = idToNode.get(id);
|
|
323
|
+
if (!node) return;
|
|
324
|
+
if (Array.isArray(node)) {
|
|
325
|
+
clearRenderTreeChildren(node);
|
|
326
|
+
return;
|
|
327
|
+
}
|
|
328
|
+
const subtree = node.subtree;
|
|
329
|
+
if (subtree && Array.isArray(subtree)) {
|
|
330
|
+
clearRenderTreeChildren(subtree);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
335
|
+
// File / directory node tracking
|
|
336
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
337
|
+
|
|
338
|
+
function recordDirectoryNode(node, path) {
|
|
339
|
+
if (!isDevtoolsEnabled()) return;
|
|
340
|
+
const id = getOrCreateNodeId(node);
|
|
341
|
+
if (directoryNodes.has(id)) return;
|
|
342
|
+
directoryNodes.set(id, {
|
|
343
|
+
path
|
|
344
|
+
});
|
|
345
|
+
emitDevtoolsMessage({
|
|
346
|
+
type: "files:directoryAdded",
|
|
347
|
+
path
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
function recordFileNode(node, path, filetype) {
|
|
351
|
+
if (!isDevtoolsEnabled()) return;
|
|
352
|
+
const id = getOrCreateNodeId(node);
|
|
353
|
+
if (fileNodes.has(id)) return;
|
|
354
|
+
fileNodes.set(id, {
|
|
355
|
+
path,
|
|
356
|
+
filetype
|
|
357
|
+
});
|
|
358
|
+
emitDevtoolsMessage({
|
|
359
|
+
type: "files:fileAdded",
|
|
360
|
+
path,
|
|
361
|
+
filetype,
|
|
362
|
+
renderNodeId: id
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
function removeFileEntriesForNode(node) {
|
|
366
|
+
if (!isDevtoolsEnabled()) return;
|
|
367
|
+
const id = nodeIds.get(node);
|
|
368
|
+
if (id === undefined) return;
|
|
369
|
+
const fileInfo = fileNodes.get(id);
|
|
370
|
+
if (fileInfo) {
|
|
371
|
+
emitDevtoolsMessage({
|
|
372
|
+
type: "files:fileRemoved",
|
|
373
|
+
path: fileInfo.path
|
|
374
|
+
});
|
|
375
|
+
fileNodes.delete(id);
|
|
376
|
+
}
|
|
377
|
+
const dirInfo = directoryNodes.get(id);
|
|
378
|
+
if (dirInfo) {
|
|
379
|
+
emitDevtoolsMessage({
|
|
380
|
+
type: "files:directoryRemoved",
|
|
381
|
+
path: dirInfo.path
|
|
382
|
+
});
|
|
383
|
+
directoryNodes.delete(id);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
388
|
+
// Public API — called from render.ts via the debug object
|
|
389
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
390
|
+
|
|
391
|
+
/** Begin tracking a component render. Returns a session to record files/dirs and dispose watchers. */
|
|
392
|
+
export function beginComponent(options) {
|
|
393
|
+
const {
|
|
394
|
+
parent,
|
|
395
|
+
index,
|
|
396
|
+
node,
|
|
397
|
+
component,
|
|
398
|
+
propsSource,
|
|
399
|
+
source,
|
|
400
|
+
isExisting,
|
|
401
|
+
actions
|
|
402
|
+
} = options;
|
|
403
|
+
if (!isDevtoolsEnabled()) {
|
|
404
|
+
return {
|
|
405
|
+
recordDirectory() {},
|
|
406
|
+
recordFile() {},
|
|
407
|
+
dispose() {}
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
return untrack(() => {
|
|
411
|
+
let componentName = component.component.name;
|
|
412
|
+
if (componentName === "Provider") {
|
|
413
|
+
const contextName = component.component.contextName;
|
|
414
|
+
if (contextName) {
|
|
415
|
+
componentName = `Context ${contextName}`;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
const propsSerialized = serializeRenderTreeProps(propsSource);
|
|
419
|
+
if (isExisting) {
|
|
420
|
+
clearRenderTreeChildren(node);
|
|
421
|
+
} else {
|
|
422
|
+
recordNodeAdded(parent, index, node, {
|
|
423
|
+
kind: "component",
|
|
424
|
+
name: componentName,
|
|
425
|
+
propsSerialized,
|
|
426
|
+
source
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
recordNodePropsUpdated(node, propsSerialized);
|
|
430
|
+
registerRenderNodeActions(node, actions);
|
|
431
|
+
let stopWatch;
|
|
432
|
+
if (propsSource) {
|
|
433
|
+
const propKeys = Object.keys(propsSource).filter(key => key !== "children");
|
|
434
|
+
if (propKeys.length > 0) {
|
|
435
|
+
stopWatch = watch(() => propKeys.map(key => propsSource[key]), () => {
|
|
436
|
+
const nextSerialized = serializeRenderTreeProps(propsSource);
|
|
437
|
+
recordNodePropsUpdated(node, nextSerialized);
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
return {
|
|
442
|
+
recordDirectory(path) {
|
|
443
|
+
recordDirectoryNode(node, path);
|
|
444
|
+
},
|
|
445
|
+
recordFile(path, filetype) {
|
|
446
|
+
recordFileNode(node, path, filetype);
|
|
447
|
+
},
|
|
448
|
+
dispose() {
|
|
449
|
+
stopWatch?.();
|
|
450
|
+
removeFileEntriesForNode(node);
|
|
451
|
+
unregisterRenderNodeActions(node);
|
|
452
|
+
}
|
|
453
|
+
};
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
export function appendCustomContext(parent, node) {
|
|
457
|
+
recordSubtreeAdded(parent, node, {
|
|
458
|
+
kind: "customContext"
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
export function appendPrintHook(parent, index, hook, name, subtree) {
|
|
462
|
+
recordNodeAdded(parent, index, hook, {
|
|
463
|
+
kind: "printHook",
|
|
464
|
+
name
|
|
465
|
+
});
|
|
466
|
+
if (subtree) {
|
|
467
|
+
recordSubtreeAdded(hook, subtree);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
export function appendFragmentChild(parent, child) {
|
|
471
|
+
recordSubtreeAdded(parent, child, {
|
|
472
|
+
kind: "fragment"
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
export function appendTextNode(parent, index, value) {
|
|
476
|
+
recordTextNode(parent, index, value);
|
|
477
|
+
}
|
|
478
|
+
export function prepareMemoNode(parent, node, isExisting) {
|
|
479
|
+
if (isExisting) {
|
|
480
|
+
clearRenderTreeChildren(node);
|
|
481
|
+
return;
|
|
482
|
+
}
|
|
483
|
+
recordSubtreeAdded(parent, node, {
|
|
484
|
+
kind: "memo"
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
let nextErrorId = 1;
|
|
488
|
+
|
|
489
|
+
/** Render error stack entry with optional runtime props (extends protocol type). */
|
|
490
|
+
|
|
491
|
+
export function error(error, componentStack) {
|
|
492
|
+
if (!isDevtoolsEnabled()) return;
|
|
493
|
+
const serializedStack = untrack(() => componentStack.map(entry => ({
|
|
494
|
+
name: entry.name,
|
|
495
|
+
propsSerialized: entry.propsSerialized,
|
|
496
|
+
renderNodeId: entry.renderNodeId,
|
|
497
|
+
source: entry.source
|
|
498
|
+
})));
|
|
499
|
+
const message = {
|
|
500
|
+
type: "render:error",
|
|
501
|
+
id: nextErrorId++,
|
|
502
|
+
name: error.name,
|
|
503
|
+
message: error.message,
|
|
504
|
+
stack: error.stack,
|
|
505
|
+
componentStack: serializedStack
|
|
506
|
+
};
|
|
507
|
+
emitDevtoolsMessage(message);
|
|
508
|
+
}
|
|
509
|
+
export function complete() {
|
|
510
|
+
emitDevtoolsMessage({
|
|
511
|
+
type: "render:complete"
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
export function flushJobsComplete() {
|
|
515
|
+
emitDevtoolsMessage({
|
|
516
|
+
type: "flushJobs:complete"
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
//# sourceMappingURL=render.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["watch","devalue","isDevtoolsEnabled","registerDevtoolsMessageHandler","isPrintHook","untrack","flushJobsAsync","sanitizeRecord","emitDevtoolsMessage","nodeIds","WeakMap","idToNode","Map","entryIds","fileNodes","directoryNodes","nodeProps","rerenderActions","nextId","handlerRegistered","serializeRenderTreeProps","input","undefined","children","_children","rest","sanitized","stringify","emitNodeRemoved","parentId","id","clearRenderTreeChildrenForId","type","delete","fileInfo","get","path","dirInfo","getEntryList","parent","list","set","getOrCreateNodeId","node","existing","getRenderNodeId","setEntryId","index","initialize","root","ensureDevtoolsHandler","rootId","kind","registerRenderNodeActions","actions","unregisterRenderNodeActions","message","rawId","Number","isFinite","rerender","rerenderAndBreak","recordTextNode","value","recordNodeAdded","info","propsSerialized","recordSubtreeAdded","parentNode","subtree","existingId","isCached","Array","isArray","push","recordCachedSubtreeChildrenRecursively","length","i","child","name","subtreeId","hookList","recordNodePropsUpdated","previous","clearRenderTreeChildren","recordDirectoryNode","has","recordFileNode","filetype","renderNodeId","removeFileEntriesForNode","beginComponent","options","component","propsSource","source","isExisting","recordDirectory","recordFile","dispose","componentName","contextName","stopWatch","propKeys","Object","keys","filter","key","map","nextSerialized","appendCustomContext","appendPrintHook","hook","appendFragmentChild","appendTextNode","prepareMemoNode","nextErrorId","error","componentStack","serializedStack","entry","stack","complete","flushJobsComplete"],"sources":["../../../src/debug/render.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,KAAK,QAAQ,iBAAiB;AACvC,OAAO,KAAKC,OAAO,MAAM,SAAS;AAKlC,SACEC,iBAAiB,EACjBC,8BAA8B,QACzB,gCAAgC;AACvC,SACEC,WAAW,QAGN,kBAAkB;AACzB,SAASC,OAAO,QAAQ,kBAAkB;AAE1C,SAASC,cAAc,QAAQ,iBAAiB;AAChD,SAASC,cAAc,QAAQ,gBAAgB;AAC/C,SAASC,mBAAmB,QAAQ,YAAY;;AAEhD;;AAGA;;AA+BA;;AAGA;AACA;AACA;;AAEA,IAAIC,OAAO,GAAG,IAAIC,OAAO,CAAsB,CAAC;AAChD,IAAIC,QAAQ,GAAG,IAAIC,GAAG,CAAsB,CAAC;AAC7C,IAAIC,QAAQ,GAAG,IAAIH,OAAO,CAA6B,CAAC;AACxD,IAAII,SAAS,GAAG,IAAIF,GAAG,CAA6C,CAAC;AACrE,IAAIG,cAAc,GAAG,IAAIH,GAAG,CAA2B,CAAC;AACxD,IAAII,SAAS,GAAG,IAAIJ,GAAG,CAA6B,CAAC;AACrD,IAAIK,eAAe,GAAG,IAAIL,GAAG,CAA4B,CAAC;AAC1D,IAAIM,MAAM,GAAG,CAAC;AACd,IAAIC,iBAAiB,GAAG,KAAK;;AAE7B;AACA;AACA;;AAEA,SAASC,wBAAwBA,CAACC,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../../src/debug/render.test.tsx"],"names":[],"mappings":""}
|