@brett_lamy/ui 5.15.0 → 5.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/call-stack.d.ts +26 -0
- package/dist/components/call-stack.d.ts.map +1 -0
- package/dist/components/call-stack.js +236 -0
- package/dist/components/code-editor-window.d.ts +191 -0
- package/dist/components/code-editor-window.d.ts.map +1 -0
- package/dist/components/code-editor-window.js +1474 -0
- package/dist/components/code-editor.d.ts +213 -0
- package/dist/components/code-editor.d.ts.map +1 -0
- package/dist/components/code-editor.js +484 -0
- package/dist/components/file-upload.d.ts +1 -1
- package/dist/components/file-upload.d.ts.map +1 -1
- package/dist/components/file-upload.js +1 -1
- package/dist/components/filter-input.d.ts +1 -1
- package/dist/components/filter-input.d.ts.map +1 -1
- package/dist/components/filter-input.js +1 -1
- package/dist/components/filter.d.ts +1 -1
- package/dist/components/filter.d.ts.map +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/log-list.d.ts +95 -0
- package/dist/components/log-list.d.ts.map +1 -0
- package/dist/components/log-list.js +549 -0
- package/dist/components/object-tree.d.ts +30 -0
- package/dist/components/object-tree.d.ts.map +1 -0
- package/dist/components/object-tree.js +415 -0
- package/dist/components/object-value.d.ts +13 -0
- package/dist/components/object-value.d.ts.map +1 -0
- package/dist/components/object-value.js +69 -0
- package/dist/components/request-table.d.ts +78 -0
- package/dist/components/request-table.d.ts.map +1 -0
- package/dist/components/request-table.js +697 -0
- package/dist/components/spreadsheet.d.ts +1 -1
- package/dist/components/spreadsheet.d.ts.map +1 -1
- package/dist/components/spreadsheet.js +1 -1
- package/dist/components/syntax-highlighting.d.ts +45 -77
- package/dist/components/syntax-highlighting.d.ts.map +1 -1
- package/dist/components/syntax-highlighting.js +36 -275
- package/dist/components/terminal.d.ts +62 -0
- package/dist/components/terminal.d.ts.map +1 -0
- package/dist/components/terminal.js +172 -0
- package/dist/components/trace-timeline.d.ts +97 -0
- package/dist/components/trace-timeline.d.ts.map +1 -0
- package/dist/components/trace-timeline.js +850 -0
- package/dist/components/tree.d.ts.map +1 -1
- package/dist/components/tree.js +99 -91
- package/dist/components/video-preview.d.ts +1 -1
- package/dist/components/video-preview.d.ts.map +1 -1
- package/dist/components/video-preview.js +1 -1
- package/dist/components/video-timeline.d.ts +1 -1
- package/dist/components/video-timeline.d.ts.map +1 -1
- package/dist/components/video-timeline.js +1 -1
- package/dist/components/workspace.d.ts.map +1 -1
- package/dist/components/workspace.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +45 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +119 -100
- package/dist/lib/call-stack-model.d.ts +75 -0
- package/dist/lib/call-stack-model.d.ts.map +1 -0
- package/dist/lib/call-stack-model.js +114 -0
- package/dist/lib/code-document.d.ts +229 -0
- package/dist/lib/code-document.d.ts.map +1 -0
- package/dist/lib/code-document.js +727 -0
- package/dist/lib/code-editor-gpu.d.ts +9 -0
- package/dist/lib/code-editor-gpu.d.ts.map +1 -0
- package/dist/lib/code-editor-gpu.js +23 -0
- package/dist/lib/code-editor-model.d.ts +371 -0
- package/dist/lib/code-editor-model.d.ts.map +1 -0
- package/dist/lib/code-editor-model.js +1105 -0
- package/dist/lib/{file-upload.d.ts → file-upload-model.d.ts} +1 -1
- package/dist/lib/file-upload-model.d.ts.map +1 -0
- package/dist/lib/{file-upload.js → file-upload-model.js} +1 -1
- package/dist/lib/{filter.d.ts → filter-model.d.ts} +1 -1
- package/dist/lib/filter-model.d.ts.map +1 -0
- package/dist/lib/{filter.js → filter-model.js} +1 -1
- package/dist/lib/filter-query.d.ts +1 -1
- package/dist/lib/filter-query.d.ts.map +1 -1
- package/dist/lib/filter-query.js +1 -1
- package/dist/lib/log-list-model.d.ts +132 -0
- package/dist/lib/log-list-model.d.ts.map +1 -0
- package/dist/lib/log-list-model.js +214 -0
- package/dist/lib/log-list-window.d.ts +121 -0
- package/dist/lib/log-list-window.d.ts.map +1 -0
- package/dist/lib/log-list-window.js +245 -0
- package/dist/lib/object-tree-model.d.ts +162 -0
- package/dist/lib/object-tree-model.d.ts.map +1 -0
- package/dist/lib/object-tree-model.js +347 -0
- package/dist/lib/object-tree-value.d.ts +139 -0
- package/dist/lib/object-tree-value.d.ts.map +1 -0
- package/dist/lib/object-tree-value.js +410 -0
- package/dist/lib/request-table-model.d.ts +85 -0
- package/dist/lib/request-table-model.d.ts.map +1 -0
- package/dist/lib/request-table-model.js +105 -0
- package/dist/lib/{spreadsheet.d.ts → spreadsheet-model.d.ts} +1 -1
- package/dist/lib/spreadsheet-model.d.ts.map +1 -0
- package/dist/lib/{spreadsheet.js → spreadsheet-model.js} +1 -1
- package/dist/lib/syntax.d.ts +19 -7
- package/dist/lib/syntax.d.ts.map +1 -1
- package/dist/lib/syntax.js +54 -50
- package/dist/lib/terminal-line.d.ts +155 -0
- package/dist/lib/terminal-line.d.ts.map +1 -0
- package/dist/lib/terminal-line.js +463 -0
- package/dist/lib/trace-timeline-draw.d.ts +109 -0
- package/dist/lib/trace-timeline-draw.d.ts.map +1 -0
- package/dist/lib/trace-timeline-draw.js +252 -0
- package/dist/lib/trace-timeline-model.d.ts +324 -0
- package/dist/lib/trace-timeline-model.d.ts.map +1 -0
- package/dist/lib/trace-timeline-model.js +510 -0
- package/dist/lib/video-render.d.ts +1 -1
- package/dist/lib/video-render.d.ts.map +1 -1
- package/dist/lib/video-render.js +1 -1
- package/dist/lib/{video-timeline.d.ts → video-timeline-model.d.ts} +1 -1
- package/dist/lib/video-timeline-model.d.ts.map +1 -0
- package/dist/lib/{video-timeline.js → video-timeline-model.js} +1 -1
- package/package.json +4 -1
- package/dist/lib/file-upload.d.ts.map +0 -1
- package/dist/lib/filter.d.ts.map +0 -1
- package/dist/lib/spreadsheet.d.ts.map +0 -1
- package/dist/lib/video-timeline.d.ts.map +0 -1
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { RowHeights as e, RowIdIndex as t, rowRange as n, rowsChange as r } from "./log-list-model.js";
|
|
3
|
+
import { flushSync as i } from "react-dom";
|
|
4
|
+
//#region src/lib/log-list-window.ts
|
|
5
|
+
var a = 480, o = "a[href],button,input,select,textarea,[role=button],[role=link],[data-no-row-press]";
|
|
6
|
+
function s(e) {
|
|
7
|
+
if (e.target.closest?.(o)) return !1;
|
|
8
|
+
let t = window.getSelection();
|
|
9
|
+
return !t || t.isCollapsed || !e.currentTarget.contains(t.anchorNode);
|
|
10
|
+
}
|
|
11
|
+
function c(e) {
|
|
12
|
+
return [...e.querySelectorAll("a[href],button,input,select,textarea,[tabindex]")].filter((e) => e.tabIndex >= 0 && !e.disabled);
|
|
13
|
+
}
|
|
14
|
+
function l(e, t) {
|
|
15
|
+
let n = e.currentTarget, r = t ? c(t) : [], i = document.activeElement, a = i === n ? -1 : r.indexOf(i);
|
|
16
|
+
if (e.shiftKey) {
|
|
17
|
+
if (i === n) return;
|
|
18
|
+
(a > 0 ? r[a - 1] : n).focus(), e.preventDefault();
|
|
19
|
+
} else if (a < r.length - 1) r[a + 1].focus(), e.preventDefault();
|
|
20
|
+
else {
|
|
21
|
+
let e = c(n);
|
|
22
|
+
e[e.length - 1]?.focus({ preventScroll: !0 });
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
var u = {
|
|
26
|
+
start: 0,
|
|
27
|
+
end: 0
|
|
28
|
+
}, d = class {
|
|
29
|
+
heights;
|
|
30
|
+
ids = new t();
|
|
31
|
+
rows = [];
|
|
32
|
+
range = u;
|
|
33
|
+
overscan;
|
|
34
|
+
measure;
|
|
35
|
+
insetTop = 0;
|
|
36
|
+
onRange = () => {};
|
|
37
|
+
onLayout = () => {};
|
|
38
|
+
onScroll = () => {};
|
|
39
|
+
onWidth = () => {};
|
|
40
|
+
decorate = null;
|
|
41
|
+
scroller = null;
|
|
42
|
+
sizer = null;
|
|
43
|
+
mounted = /* @__PURE__ */ new Map();
|
|
44
|
+
placed = /* @__PURE__ */ new WeakMap();
|
|
45
|
+
observer = null;
|
|
46
|
+
observed = /* @__PURE__ */ new Set();
|
|
47
|
+
top = 0;
|
|
48
|
+
expected = 0;
|
|
49
|
+
viewHeight = 0;
|
|
50
|
+
viewWidth = 0;
|
|
51
|
+
drawnTotal = -1;
|
|
52
|
+
pin = null;
|
|
53
|
+
pinFrame = 0;
|
|
54
|
+
frame = 0;
|
|
55
|
+
hidden = !1;
|
|
56
|
+
constructor({ estimate: t, overscan: n = 480, measure: r = !0 }) {
|
|
57
|
+
this.heights = new e(0, t), this.overscan = n, this.measure = r;
|
|
58
|
+
}
|
|
59
|
+
get scrollTop() {
|
|
60
|
+
return this.top;
|
|
61
|
+
}
|
|
62
|
+
get view() {
|
|
63
|
+
return Math.max(0, this.viewHeight - this.insetTop);
|
|
64
|
+
}
|
|
65
|
+
get height() {
|
|
66
|
+
return this.viewHeight;
|
|
67
|
+
}
|
|
68
|
+
get endTop() {
|
|
69
|
+
let e = this.scroller;
|
|
70
|
+
return e ? Math.max(0, e.scrollHeight - e.clientHeight) : this.heights.total;
|
|
71
|
+
}
|
|
72
|
+
elementAt(e) {
|
|
73
|
+
return this.mounted.get(e);
|
|
74
|
+
}
|
|
75
|
+
get elements() {
|
|
76
|
+
return this.mounted;
|
|
77
|
+
}
|
|
78
|
+
indexIn(e, t) {
|
|
79
|
+
return e === this.rows ? this.ids.indexOf(t) : e.findIndex((e) => e.id === t);
|
|
80
|
+
}
|
|
81
|
+
indexFrom(e) {
|
|
82
|
+
let t = e?.closest?.("[data-index]");
|
|
83
|
+
return !t || !this.sizer?.contains(t) ? -1 : Number(t.getAttribute("data-index"));
|
|
84
|
+
}
|
|
85
|
+
isVisible(e) {
|
|
86
|
+
let t = this.heights.offsetOf(e);
|
|
87
|
+
return t + this.heights.get(e) > this.top && t < this.top + this.view;
|
|
88
|
+
}
|
|
89
|
+
attach(e, t) {
|
|
90
|
+
return this.scroller = e, this.sizer = t, this.top = this.expected = e.scrollTop, this.readView(), e.addEventListener("scroll", this.handleScroll, { passive: !0 }), typeof ResizeObserver < "u" && (this.observer = new ResizeObserver(this.handleResize), this.observer.observe(e)), this.drawTotal(), () => {
|
|
91
|
+
e.removeEventListener("scroll", this.handleScroll), this.observer?.disconnect(), this.observer = null, this.observed.clear(), cancelAnimationFrame(this.frame), cancelAnimationFrame(this.pinFrame), this.frame = 0, this.pin = null, this.scroller = null, this.sizer = null;
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
setRows(e) {
|
|
95
|
+
let t = this.rows;
|
|
96
|
+
if (t === e) return;
|
|
97
|
+
let n = r(t, e);
|
|
98
|
+
if (n === "replace") {
|
|
99
|
+
let r = this.anchor();
|
|
100
|
+
this.pin = null, this.ids.update(e, n), this.rows = e, this.heights.reset(e.length);
|
|
101
|
+
let i = 0, a = 0;
|
|
102
|
+
for (let e = r.index; e < t.length; e++) {
|
|
103
|
+
let n = this.ids.indexOf(t[e].id);
|
|
104
|
+
if (n >= 0) {
|
|
105
|
+
i = n, e === r.index && (a = r.offset);
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
this.drawTotal(), this.setTop(this.heights.offsetOf(i) + a);
|
|
110
|
+
} else this.ids.update(e, n), this.rows = e, this.heights.resize(e.length), this.drawTotal(), this.readTop();
|
|
111
|
+
this.refreshRange("effect");
|
|
112
|
+
}
|
|
113
|
+
setFixedHeight(e) {
|
|
114
|
+
if (e === this.heights.estimate && !this.heights.measured) return;
|
|
115
|
+
let t = this.anchor(), n = e / (this.heights.get(t.index) || e);
|
|
116
|
+
this.heights.reset(this.rows.length, e), this.drawTotal(), this.setTop(this.heights.offsetOf(t.index) + t.offset * n), this.place(), this.refreshRange("effect"), this.onLayout();
|
|
117
|
+
}
|
|
118
|
+
invalidate() {
|
|
119
|
+
let e = this.anchor();
|
|
120
|
+
this.heights.reset(this.rows.length);
|
|
121
|
+
for (let [e, t] of this.mounted) this.heights.set(e, t.offsetHeight);
|
|
122
|
+
this.settle(e), this.place(), this.onLayout();
|
|
123
|
+
}
|
|
124
|
+
sync() {
|
|
125
|
+
let e = this.sizer;
|
|
126
|
+
if (!e) return;
|
|
127
|
+
let t = /* @__PURE__ */ new Map();
|
|
128
|
+
for (let n = e.firstElementChild; n; n = n.nextElementSibling) {
|
|
129
|
+
let e = n.getAttribute("data-index");
|
|
130
|
+
e !== null && t.set(Number(e), n);
|
|
131
|
+
}
|
|
132
|
+
let n = this.mounted;
|
|
133
|
+
if (this.mounted = t, this.measure && this.observer) {
|
|
134
|
+
let e = new Set(t.values());
|
|
135
|
+
for (let t of this.observed) e.has(t) || (this.observer.unobserve(t), this.observed.delete(t));
|
|
136
|
+
for (let t of e) this.observed.has(t) || (this.observer.observe(t), this.observed.add(t));
|
|
137
|
+
}
|
|
138
|
+
if (this.measure) {
|
|
139
|
+
let e = null;
|
|
140
|
+
for (let [n, r] of t) {
|
|
141
|
+
let t = r.offsetHeight;
|
|
142
|
+
t > 0 && t !== this.heights.get(n) ? (e ??= this.anchor(), this.heights.set(n, t)) : t > 0 && this.heights.set(n, t);
|
|
143
|
+
}
|
|
144
|
+
e && this.settle(e);
|
|
145
|
+
}
|
|
146
|
+
if (this.place(), this.decorate) for (let [e, r] of t) n.get(e) !== r && this.decorate(r, e);
|
|
147
|
+
this.refreshRange("effect"), this.onLayout();
|
|
148
|
+
}
|
|
149
|
+
decorateAll() {
|
|
150
|
+
if (this.decorate) for (let [e, t] of this.mounted) this.decorate(t, e);
|
|
151
|
+
}
|
|
152
|
+
scrollToIndex(e, t = "nearest", n = "sync") {
|
|
153
|
+
e < 0 || e >= this.heights.count || this.scrollWith(() => this.topFor(e, t), n);
|
|
154
|
+
}
|
|
155
|
+
scrollWith(e, t = "sync") {
|
|
156
|
+
this.pin = e, this.setTop(e()), this.refreshRange(t), cancelAnimationFrame(this.pinFrame), this.pinFrame = requestAnimationFrame(() => {
|
|
157
|
+
this.pinFrame = requestAnimationFrame(() => {
|
|
158
|
+
this.pin = null;
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
scrollLeftBy(e) {
|
|
163
|
+
this.scroller && (this.scroller.scrollLeft += e);
|
|
164
|
+
}
|
|
165
|
+
topFor(e, t) {
|
|
166
|
+
let n = this.heights.offsetOf(e), r = this.heights.get(e), i = this.view;
|
|
167
|
+
return t === "start" ? n : t === "end" ? n + r - i : t === "center" ? n - Math.max(0, i - r) / 2 : n < this.top ? n : n + r > this.top + i ? n + Math.min(r - i, 0) : this.top;
|
|
168
|
+
}
|
|
169
|
+
anchor() {
|
|
170
|
+
let e = this.heights.indexAt(this.top);
|
|
171
|
+
return {
|
|
172
|
+
index: e,
|
|
173
|
+
offset: this.top - this.heights.offsetOf(e)
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
setTop(e) {
|
|
177
|
+
let t = this.scroller;
|
|
178
|
+
if (!t) return;
|
|
179
|
+
let n = Math.max(0, e);
|
|
180
|
+
Math.abs(n - this.top) < .5 || (t.scrollTop = n, this.readTop());
|
|
181
|
+
}
|
|
182
|
+
readTop() {
|
|
183
|
+
this.scroller && (this.top = this.expected = this.scroller.scrollTop);
|
|
184
|
+
}
|
|
185
|
+
readView() {
|
|
186
|
+
let e = this.scroller;
|
|
187
|
+
e && (this.viewHeight = e.clientHeight || this.viewHeight || a, this.viewWidth = e.clientWidth || this.viewWidth);
|
|
188
|
+
}
|
|
189
|
+
drawTotal() {
|
|
190
|
+
let e = this.heights.total;
|
|
191
|
+
e === this.drawnTotal || !this.sizer || (this.drawnTotal = e, this.sizer.style.height = `${e}px`);
|
|
192
|
+
}
|
|
193
|
+
place() {
|
|
194
|
+
for (let [e, t] of this.mounted) {
|
|
195
|
+
let n = this.heights.offsetOf(e);
|
|
196
|
+
this.placed.get(t) !== n && (this.placed.set(t, n), t.style.transform = `translateY(${n}px)`);
|
|
197
|
+
}
|
|
198
|
+
this.drawTotal();
|
|
199
|
+
}
|
|
200
|
+
settle(e) {
|
|
201
|
+
let { heights: t } = this;
|
|
202
|
+
t.measured >= 16 && Math.abs(t.average - t.estimate) > t.estimate * .2 && t.rebase(Math.round(t.average)), this.drawTotal();
|
|
203
|
+
let n = Math.min(e.offset, Math.max(0, t.get(e.index) - 1));
|
|
204
|
+
this.setTop(this.pin ? this.pin() : t.offsetOf(e.index) + n);
|
|
205
|
+
}
|
|
206
|
+
refreshRange(e) {
|
|
207
|
+
let { heights: t, range: r, top: a } = this, o = n(t, a, this.view, this.overscan / 2);
|
|
208
|
+
if (o.start >= r.start && o.end <= r.end && r.end <= t.count) return;
|
|
209
|
+
let s = n(t, a, this.view, this.overscan);
|
|
210
|
+
(s.start !== r.start || s.end !== r.end) && (this.range = s, e === "sync" ? i(() => this.onRange(s)) : e === "micro" ? queueMicrotask(() => i(() => this.onRange(this.range))) : this.onRange(s));
|
|
211
|
+
}
|
|
212
|
+
handleScroll = () => {
|
|
213
|
+
let e = this.scroller;
|
|
214
|
+
if (!e) return;
|
|
215
|
+
let t = e.scrollTop, n = Math.abs(t - this.expected) > 1;
|
|
216
|
+
this.top = this.expected = t, n && (this.pin = null), this.refreshRange("sync"), this.onScroll(n);
|
|
217
|
+
};
|
|
218
|
+
handleResize = (e) => {
|
|
219
|
+
let t = this.scroller;
|
|
220
|
+
if (!t) return;
|
|
221
|
+
let n = null, r = !1;
|
|
222
|
+
for (let i of e) {
|
|
223
|
+
let e = i.target;
|
|
224
|
+
if (e === t) {
|
|
225
|
+
if (!t.clientHeight) {
|
|
226
|
+
this.hidden = !0;
|
|
227
|
+
continue;
|
|
228
|
+
}
|
|
229
|
+
let e = this.viewWidth, n = this.viewHeight;
|
|
230
|
+
this.readView(), this.hidden && (this.hidden = !1, t.scrollTop !== this.top && (t.scrollTop = this.top)), this.viewWidth !== e && this.onWidth(this.viewWidth, e), r ||= this.viewHeight !== n;
|
|
231
|
+
continue;
|
|
232
|
+
}
|
|
233
|
+
if (!e.isConnected) continue;
|
|
234
|
+
let a = e.getAttribute("data-index");
|
|
235
|
+
if (a === null) continue;
|
|
236
|
+
let o = Number(a), s = Math.round(i.borderBoxSize?.[0]?.blockSize ?? e.offsetHeight);
|
|
237
|
+
s > 0 && s !== this.heights.get(o) && (n ??= this.anchor(), this.heights.set(o, s), r = !0);
|
|
238
|
+
}
|
|
239
|
+
r && (n && this.settle(n), this.place(), this.onLayout(), this.frame ||= requestAnimationFrame(() => {
|
|
240
|
+
this.frame = 0, this.refreshRange("sync");
|
|
241
|
+
}));
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
//#endregion
|
|
245
|
+
export { d as RowWindow, s as isRowPress, l as tabThroughGrid, c as tabbablesIn };
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { ValuePreview } from './object-tree-value';
|
|
2
|
+
/** One row of an ObjectTree: a value and its name, or a section. */
|
|
3
|
+
export interface ObjectTreeNode<T = unknown> {
|
|
4
|
+
/** Unique among its siblings. The same object can sit at many places in a tree; each place is its own row. An id that
|
|
5
|
+
* stays the same across a new `root` (a variable's name, say) keeps that row open and selected. */
|
|
6
|
+
id: string;
|
|
7
|
+
/** The label: a variable, a property, an index. Empty for a bare value. */
|
|
8
|
+
name: string;
|
|
9
|
+
/** The value's type and preview. Sections leave it out. */
|
|
10
|
+
value?: ValuePreview;
|
|
11
|
+
/** It can open. Defaults to whether `children` has anything, or to `true` for a section. */
|
|
12
|
+
hasChildren?: boolean;
|
|
13
|
+
/** Children known up front, so nothing needs loading. */
|
|
14
|
+
children?: readonly ObjectTreeNode<T>[];
|
|
15
|
+
/** A top-level group, as Local, Closure and Global: a collapsible header rather than a value. */
|
|
16
|
+
section?: boolean;
|
|
17
|
+
/** Starts open. Default: a section does, nothing else does. */
|
|
18
|
+
defaultExpanded?: boolean;
|
|
19
|
+
/** Shown faded, as DevTools shows non-enumerable properties. */
|
|
20
|
+
dim?: boolean;
|
|
21
|
+
/** Anything of yours, to find the real thing in `loadChildren`: an object id, a path. */
|
|
22
|
+
data?: T;
|
|
23
|
+
}
|
|
24
|
+
/** What comes back from `onInvokeGetter`. A whole node works too; its `id` and `name` are ignored. */
|
|
25
|
+
export type ObjectTreeGetterResult<T = unknown> = Pick<ObjectTreeNode<T>, 'value'> & Partial<Pick<ObjectTreeNode<T>, 'hasChildren' | 'children' | 'data'>>;
|
|
26
|
+
/** What a tree shows at its top level. */
|
|
27
|
+
export type ObjectTreeRoot<T = unknown> = ObjectTreeNode<T> | readonly ObjectTreeNode<T>[];
|
|
28
|
+
export declare function isNodeExpandable<T>(node: ObjectTreeNode<T>): boolean;
|
|
29
|
+
/** Makes a node for ObjectTree's `root` from any live value; its children are worked out when it opens, so a value can
|
|
30
|
+
* be huge or point back at itself. */
|
|
31
|
+
export declare function nodeFromValue<T = unknown>(value: unknown, options?: {
|
|
32
|
+
id?: string;
|
|
33
|
+
name?: string;
|
|
34
|
+
defaultExpanded?: boolean;
|
|
35
|
+
}): ObjectTreeNode<T>;
|
|
36
|
+
/** A node's children, when it was made by `nodeFromValue`. ObjectTree's default `loadChildren`. */
|
|
37
|
+
export declare function childrenOfValue<T = unknown>(node: ObjectTreeNode<T>): ObjectTreeNode<T>[];
|
|
38
|
+
/** Whether `nodeFromValue` made this node, so it can call its own getter and work out its own children. */
|
|
39
|
+
export declare function isValueNode<T>(node: ObjectTreeNode<T>): boolean;
|
|
40
|
+
/** Calls an accessor on a node made by `nodeFromValue`. ObjectTree's default `onInvokeGetter`. */
|
|
41
|
+
export declare function invokeGetterOfValue<T = unknown>(node: ObjectTreeNode<T>): ObjectTreeGetterResult<T>;
|
|
42
|
+
/** JSON for a node made by `nodeFromValue` (undefined for any other). Things JSON has no form for are their previews. */
|
|
43
|
+
export declare function jsonOfValue<T = unknown>(node: ObjectTreeNode<T>): string | undefined;
|
|
44
|
+
/** What copying a node gives you: a string's text, JSON for a live value, otherwise what its preview says. */
|
|
45
|
+
export declare function copyTextOfNode<T>(node: ObjectTreeNode<T>): string;
|
|
46
|
+
/** Rows to a range. Above this a node's indexed children group in ranges, as DevTools does. */
|
|
47
|
+
export declare const RANGE_SIZE = 100;
|
|
48
|
+
/** How many items each range holds so that `count` items make at most `size` ranges: 100, then 10,000, and so on. */
|
|
49
|
+
export declare function rangeBucketSize(count: number, size?: number): number;
|
|
50
|
+
/** Where a range of positions splits: `[0, 99], [100, 199], …`. Nothing when it is small enough to list. */
|
|
51
|
+
export declare function rangeBuckets(from: number, to: number, size?: number): (readonly [number, number])[];
|
|
52
|
+
/** What a list of children shows: plain positions, and spans that became ranges. */
|
|
53
|
+
export type RangePlanItem = number | readonly [number, number];
|
|
54
|
+
/** Groups a node's children. Indexed children at the start (an array's items, a map's entries) group above `size`, with
|
|
55
|
+
* named ones after them left alone (`length`, `[[Prototype]]`). Named children group only above `NAMED_CHILDREN_LIMIT`. */
|
|
56
|
+
export declare function planRanges(nodes: readonly {
|
|
57
|
+
name: string;
|
|
58
|
+
}[], size?: number): readonly RangePlanItem[];
|
|
59
|
+
/** `[0 … 99]`, from the names themselves, so a sparse array shows its real indices. */
|
|
60
|
+
export declare function rangeLabel(nodes: readonly {
|
|
61
|
+
name: string;
|
|
62
|
+
}[], from: number, to: number): string;
|
|
63
|
+
export interface ObjectTreeLoad<T = unknown> {
|
|
64
|
+
status: 'loading' | 'loaded' | 'failed';
|
|
65
|
+
token: number;
|
|
66
|
+
children?: readonly ObjectTreeNode<T>[];
|
|
67
|
+
error?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface ObjectTreeGetter<T = unknown> {
|
|
70
|
+
status: 'invoking' | 'done' | 'failed';
|
|
71
|
+
token: number;
|
|
72
|
+
result?: ObjectTreeGetterResult<T>;
|
|
73
|
+
error?: string;
|
|
74
|
+
}
|
|
75
|
+
/** All an ObjectTree remembers. `loads` and `getters` belong to `root`; `open` outlives it. */
|
|
76
|
+
export interface ObjectTreeState<T = unknown> {
|
|
77
|
+
root: ObjectTreeRoot<T>;
|
|
78
|
+
/** Rows opened or closed by hand. Anything else is at its default. */
|
|
79
|
+
open: ReadonlyMap<string, boolean>;
|
|
80
|
+
loads: ReadonlyMap<string, ObjectTreeLoad<T>>;
|
|
81
|
+
/** The last root's children of each open row, shown faded until the new ones arrive, so stepping doesn't flicker. */
|
|
82
|
+
previous: ReadonlyMap<string, readonly ObjectTreeNode<T>[]>;
|
|
83
|
+
getters: ReadonlyMap<string, ObjectTreeGetter<T>>;
|
|
84
|
+
}
|
|
85
|
+
export declare function createTreeState<T>(root: ObjectTreeRoot<T>): ObjectTreeState<T>;
|
|
86
|
+
/** A new `root`: what was loaded goes, so an answer still on its way finds nothing to land on and is dropped. Open rows
|
|
87
|
+
* stay open, and keep what they showed until their new children come. */
|
|
88
|
+
export declare function rebaseTreeState<T>(state: ObjectTreeState<T>, root: ObjectTreeRoot<T>, expandedKeys: ReadonlySet<string>): ObjectTreeState<T>;
|
|
89
|
+
export declare function startLoad<T>(state: ObjectTreeState<T>, key: string, token: number): ObjectTreeState<T>;
|
|
90
|
+
/** An answer lands only if it is the one being waited for: not one from before a new `root`, or a retry. */
|
|
91
|
+
export declare function settleLoad<T>(state: ObjectTreeState<T>, key: string, token: number, outcome: {
|
|
92
|
+
children: readonly ObjectTreeNode<T>[];
|
|
93
|
+
} | {
|
|
94
|
+
error: string;
|
|
95
|
+
}): ObjectTreeState<T>;
|
|
96
|
+
/** Forget a failed load, so the row asks again. */
|
|
97
|
+
export declare function retryLoad<T>(state: ObjectTreeState<T>, key: string): ObjectTreeState<T>;
|
|
98
|
+
export declare function startGetter<T>(state: ObjectTreeState<T>, key: string, token: number): ObjectTreeState<T>;
|
|
99
|
+
export declare function settleGetter<T>(state: ObjectTreeState<T>, key: string, token: number, outcome: {
|
|
100
|
+
result: ObjectTreeGetterResult<T>;
|
|
101
|
+
} | {
|
|
102
|
+
error: string;
|
|
103
|
+
}): ObjectTreeState<T>;
|
|
104
|
+
export declare function setRowOpen<T>(state: ObjectTreeState<T>, key: string, open: boolean): ObjectTreeState<T>;
|
|
105
|
+
/** react-aria reports the whole set of open rows after a toggle: note what changed. */
|
|
106
|
+
export declare function applyExpanded<T>(state: ObjectTreeState<T>, before: ReadonlySet<string>, after: ReadonlySet<string>): ObjectTreeState<T>;
|
|
107
|
+
export type ObjectTreeRow<T = unknown> = {
|
|
108
|
+
kind: 'node';
|
|
109
|
+
key: string;
|
|
110
|
+
/** The node as it is now: with what its getter returned, if it was called. */
|
|
111
|
+
node: ObjectTreeNode<T>;
|
|
112
|
+
/** The node as the host gave it. */
|
|
113
|
+
source: ObjectTreeNode<T>;
|
|
114
|
+
expandable: boolean;
|
|
115
|
+
expanded: boolean;
|
|
116
|
+
getter?: ObjectTreeGetter<T>;
|
|
117
|
+
/** From the last `root`, waiting on new children. */
|
|
118
|
+
stale: boolean;
|
|
119
|
+
children?: readonly ObjectTreeRow<T>[];
|
|
120
|
+
} | {
|
|
121
|
+
kind: 'range';
|
|
122
|
+
key: string;
|
|
123
|
+
label: string;
|
|
124
|
+
from: number;
|
|
125
|
+
to: number;
|
|
126
|
+
expanded: boolean;
|
|
127
|
+
stale: boolean;
|
|
128
|
+
children?: readonly ObjectTreeRow<T>[];
|
|
129
|
+
} | {
|
|
130
|
+
kind: 'loading';
|
|
131
|
+
key: string;
|
|
132
|
+
owner: string;
|
|
133
|
+
} | {
|
|
134
|
+
kind: 'failed';
|
|
135
|
+
key: string;
|
|
136
|
+
owner: string;
|
|
137
|
+
error: string;
|
|
138
|
+
} | {
|
|
139
|
+
kind: 'empty';
|
|
140
|
+
key: string;
|
|
141
|
+
};
|
|
142
|
+
export interface ObjectTreeRows<T = unknown> {
|
|
143
|
+
rows: readonly ObjectTreeRow<T>[];
|
|
144
|
+
/** Every row in `rows`, at any depth. */
|
|
145
|
+
byKey: ReadonlyMap<string, ObjectTreeRow<T>>;
|
|
146
|
+
expandedKeys: ReadonlySet<string>;
|
|
147
|
+
/** Open rows whose children nobody has asked for yet. */
|
|
148
|
+
needsLoad: readonly {
|
|
149
|
+
key: string;
|
|
150
|
+
node: ObjectTreeNode<T>;
|
|
151
|
+
}[];
|
|
152
|
+
}
|
|
153
|
+
/** Works out the rows on show: only open rows are walked, however many children sit behind closed ones. A row that
|
|
154
|
+
* didn't change is the same object as last time (from `last`), which is what keeps react-aria from rebuilding it. */
|
|
155
|
+
export declare function buildRows<T>(state: ObjectTreeState<T>, options?: {
|
|
156
|
+
groupSize?: number;
|
|
157
|
+
}, last?: ObjectTreeRows<T> | null): ObjectTreeRows<T>;
|
|
158
|
+
/** The text a row answers to, for type-to-select and screen readers. */
|
|
159
|
+
export declare function rowText<T>(row: ObjectTreeRow<T>): string;
|
|
160
|
+
/** A failure as one line of text. */
|
|
161
|
+
export declare function errorText(error: unknown): string;
|
|
162
|
+
//# sourceMappingURL=object-tree-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"object-tree-model.d.ts","sourceRoot":"","sources":["../../src/lib/object-tree-model.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2D,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIrH,oEAAoE;AACpE,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,OAAO;IACzC;wGACoG;IACpG,EAAE,EAAE,MAAM,CAAC;IACX,2EAA2E;IAC3E,IAAI,EAAE,MAAM,CAAC;IACb,2DAA2D;IAC3D,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,4FAA4F;IAC5F,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,SAAS,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;IACxC,iGAAiG;IACjG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+DAA+D;IAC/D,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gEAAgE;IAChE,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,yFAAyF;IACzF,IAAI,CAAC,EAAE,CAAC,CAAC;CACV;AAED,sGAAsG;AACtG,MAAM,MAAM,sBAAsB,CAAC,CAAC,GAAG,OAAO,IAAI,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,OA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