@simon_he/vue-tui 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -26
- package/dist/TMermaidText-frVr8Ysb.js +885 -0
- package/dist/{TSelect-DR0FomSu.js → TSelect-tJ87rKPM.js} +59 -242
- package/dist/{TTree-kzhlB5P0.js → TTree-CGdE-CYu.js} +138 -102
- package/dist/agent/mermaid.cjs +2 -0
- package/dist/agent/mermaid.d.cts +2 -0
- package/dist/agent/mermaid.d.ts +2 -0
- package/dist/agent/mermaid.js +1 -0
- package/dist/agent.cjs +31188 -24907
- package/dist/agent.d.cts +11 -1
- package/dist/agent.d.ts +11 -1
- package/dist/agent.js +516 -11
- package/dist/{block-source-CKUOnkgT.js → block-source-CrlmaBM5.js} +1039 -66
- package/dist/cli/input.d.ts +8 -0
- package/dist/cli/stdin-buffer.d.ts +1 -1
- package/dist/cli/video/ffmpeg-frame-source.d.ts +10 -0
- package/dist/cli/video/png-frame-parser.d.ts +4 -0
- package/dist/cli/video/raw-frame-parser.d.ts +1 -0
- package/dist/cli/video/yt-dlp-frame-source.d.ts +11 -0
- package/dist/cli.cjs +5146 -6767
- package/dist/cli.d.cts +5 -1
- package/dist/cli.d.ts +5 -1
- package/dist/cli.js +2869 -154
- package/dist/core/buffer/eaw-ranges-unicode-17.d.ts +14 -0
- package/dist/core/perf/instrumentation-noop.d.ts +48 -0
- package/dist/core/perf/instrumentation.d.ts +136 -0
- package/dist/core/terminal/create-terminal.d.ts +1 -0
- package/dist/core.cjs +843 -1469
- package/dist/core.js +4 -5
- package/dist/create-terminal-app.d.ts +24 -1
- package/dist/debug-logger-CmsGI4of.js +74 -0
- package/dist/{dom-renderer-BniJSQyX.js → dom-renderer-DXx8fWzD.js} +2 -3
- package/dist/experimental/3d/bun/contributor-avatar-atlas.d.ts +12 -0
- package/dist/experimental/3d/bun/png.d.ts +1 -0
- package/dist/experimental/3d/bun/terminal-badge-scene.d.ts +11 -0
- package/dist/experimental/3d/bun/terminal-badge.wgsl.d.ts +1 -0
- package/dist/experimental/3d/bun/webgpu-renderer.d.ts +26 -0
- package/dist/experimental/3d/bun.cjs +7271 -0
- package/dist/experimental/3d/bun.d.cts +4 -0
- package/dist/experimental/3d/bun.d.ts +4 -0
- package/dist/experimental/3d/bun.js +7390 -0
- package/dist/experimental/video/node.cjs +497 -0
- package/dist/experimental/video/node.d.cts +4 -0
- package/dist/experimental/video/node.d.ts +4 -0
- package/dist/experimental/video/node.js +610 -0
- package/dist/experimental.cjs +6876 -6192
- package/dist/experimental.d.cts +7 -0
- package/dist/experimental.d.ts +7 -0
- package/dist/experimental.js +3005 -9
- package/dist/frame-perf-CHpWhbC4.js +111 -0
- package/dist/{create-terminal-DBFNYr8f.js → hyperlink-_1FAj7Wq.js} +440 -13
- package/dist/index.cjs +5017 -10339
- package/dist/index.js +14 -13
- package/dist/{linkify-D_gzn9Xq.js → linkify-D68T7rdW.js} +193 -3
- package/dist/markdown.cjs +21295 -12691
- package/dist/markdown.d.cts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.js +211 -51
- package/dist/mermaid-BNhM1jAZ.js +123 -0
- package/dist/mermaid.cjs +1707 -0
- package/dist/mermaid.d.cts +3 -0
- package/dist/mermaid.d.ts +3 -0
- package/dist/mermaid.js +6 -0
- package/dist/observability/frame-perf-store.d.ts +2 -1
- package/dist/observability/frame-perf.d.ts +33 -0
- package/dist/observability.cjs +106 -107
- package/dist/observability.d.cts +2 -2
- package/dist/observability.d.ts +2 -2
- package/dist/observability.js +3 -3
- package/dist/{wheel-scroll-vBRaQ7p-.js → rect-DUpeDfBg.js} +253 -117
- package/dist/renderer/cli/stdout-metrics.d.ts +10 -0
- package/dist/renderer/cli/stdout-renderer.d.ts +3 -0
- package/dist/renderer/terminal-graphic-render-queue.d.ts +50 -0
- package/dist/renderer/terminal-graphics-trace.d.ts +53 -0
- package/dist/renderer/terminal-graphics.d.ts +147 -0
- package/dist/renderer-dom.cjs +364 -903
- package/dist/renderer-dom.js +4 -5
- package/dist/runtime/index.d.ts +2 -0
- package/dist/{runtime-rfcZCyJq.js → runtime-Byf8XXOT.js} +28 -15
- package/dist/runtime.cjs +427 -889
- package/dist/runtime.js +2 -2
- package/dist/terminal-graphics-Bbe83wSr.js +597 -0
- package/dist/{terminal-selection-DBinO6p5.js → terminal-selection-4W1SJj4c.js} +4 -1
- package/dist/{tlog-theme-CvLFNMwk.js → tlog-theme-Bul2Na3u.js} +1237 -12
- package/dist/{trace-CjzYeIxN.js → trace-Bh8WnoMo.js} +5 -0
- package/dist/vue/agent/create-png-terminal-graphic-renderer.d.ts +19 -0
- package/dist/vue/components/T3DViewport.d.ts +473 -0
- package/dist/vue/components/TAgentTerminalGraphic.d.ts +494 -0
- package/dist/vue/components/TCharts.d.ts +1121 -0
- package/dist/vue/components/TFeedback.d.ts +1 -1
- package/dist/vue/components/TFlex.d.ts +389 -0
- package/dist/vue/components/TForm.d.ts +4 -4
- package/dist/vue/components/TLogSearchBar.d.ts +3 -3
- package/dist/vue/components/TLogSearchPager.d.ts +2 -2
- package/dist/vue/components/TMarkdownText.d.ts +162 -4
- package/dist/vue/components/TMermaidText.d.ts +900 -0
- package/dist/vue/components/TVideo.d.ts +291 -0
- package/dist/vue/components/TVirtualList.d.ts +9 -0
- package/dist/vue/components/TVirtualMarkdown.d.ts +170 -9
- package/dist/vue/components/TVirtualRows.d.ts +9 -0
- package/dist/vue/components/TerminalProvider.d.ts +2 -0
- package/dist/vue/context.d.ts +24 -0
- package/dist/vue/index.d.ts +5 -0
- package/dist/vue/layout/flex.d.ts +67 -0
- package/dist/vue/markdown/ast.d.ts +5 -2
- package/dist/vue/markdown/document.d.ts +5 -0
- package/dist/vue/markdown/image-actions.d.ts +14 -0
- package/dist/vue/markdown/image.d.ts +11 -0
- package/dist/vue/markdown/link-actions.d.ts +14 -0
- package/dist/vue/markdown/math-actions.d.ts +14 -0
- package/dist/vue/markdown/math.d.ts +6 -0
- package/dist/vue/markdown/render.d.ts +28 -0
- package/dist/vue/markdown/types.d.ts +78 -0
- package/dist/vue/mermaid/beautiful-mermaid.d.ts +1436 -0
- package/dist/vue/render/render-manager.d.ts +7 -0
- package/dist/vue/video/types.d.ts +39 -0
- package/dist/vue.cjs +7207 -12437
- package/dist/vue.js +704 -38
- package/dist/wheel-scroll-DASkEZr-.js +106 -0
- package/dist/{hyperlink-Bn02UXJb.js → width-GqllnV8C.js} +166 -111
- package/package.json +119 -14
- package/dist/frame-perf-C6Xfg85O.js +0 -24
- package/dist/sgr-BmzxEjAO.js +0 -304
- /package/dist/{ansi-palette-CNXqFciC.js → ansi-palette-CH6jc2Z7.js} +0 -0
- /package/dist/{path-suggest-BNqcuE3-.js → path-suggest-Dndu4dTi.js} +0 -0
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
import type { ExtractPublicPropTypes, PropType } from "vue";
|
|
2
|
+
import type { Style } from "../../core/types.js";
|
|
3
|
+
import type { Rect } from "../../events/manager/types.js";
|
|
4
|
+
import type { TerminalGraphicsCapabilities, TerminalGraphicsProtocol, TerminalGraphicsResolvedProtocol } from "../../renderer/terminal-graphics.js";
|
|
5
|
+
export type TAgentTerminalGraphicKind = "image" | "math";
|
|
6
|
+
export type TAgentTerminalGraphicRendererContext = Readonly<{
|
|
7
|
+
kind: TAgentTerminalGraphicKind;
|
|
8
|
+
width: number;
|
|
9
|
+
height?: number;
|
|
10
|
+
final: boolean;
|
|
11
|
+
streaming: boolean;
|
|
12
|
+
protocol: TerminalGraphicsResolvedProtocol;
|
|
13
|
+
capabilities: TerminalGraphicsCapabilities;
|
|
14
|
+
signal: AbortSignal;
|
|
15
|
+
imageId: number;
|
|
16
|
+
placementId: number;
|
|
17
|
+
visible: boolean;
|
|
18
|
+
rawVisible: boolean;
|
|
19
|
+
scrolling: boolean;
|
|
20
|
+
cacheKey?: string;
|
|
21
|
+
viewport: Readonly<{
|
|
22
|
+
visible: boolean;
|
|
23
|
+
rawVisible: boolean;
|
|
24
|
+
scrolling: boolean;
|
|
25
|
+
rect: Rect;
|
|
26
|
+
fullRect: Rect;
|
|
27
|
+
}>;
|
|
28
|
+
}>;
|
|
29
|
+
export type TAgentTerminalGraphicTraceEvent = Readonly<{
|
|
30
|
+
type: "render-start" | "render-end" | "render-abort" | "defer" | "raw-draw" | "raw-clear" | "raw-skip-scroll";
|
|
31
|
+
id: string;
|
|
32
|
+
kind: TAgentTerminalGraphicKind;
|
|
33
|
+
protocol: TerminalGraphicsResolvedProtocol;
|
|
34
|
+
contentHash: string;
|
|
35
|
+
durationMs?: number;
|
|
36
|
+
sequenceChars?: number;
|
|
37
|
+
sequenceBytes?: number;
|
|
38
|
+
reason?: string;
|
|
39
|
+
x?: number;
|
|
40
|
+
y?: number;
|
|
41
|
+
w?: number;
|
|
42
|
+
h?: number;
|
|
43
|
+
}>;
|
|
44
|
+
export type TAgentTerminalGraphicRenderResult = Readonly<{
|
|
45
|
+
type: "sequence";
|
|
46
|
+
sequence: string;
|
|
47
|
+
protocol: TerminalGraphicsProtocol;
|
|
48
|
+
fallback?: string;
|
|
49
|
+
clearSequence?: string;
|
|
50
|
+
resizeSequence?: string;
|
|
51
|
+
cols?: number;
|
|
52
|
+
rows?: number;
|
|
53
|
+
sourceWidth?: unknown;
|
|
54
|
+
sourceHeight?: unknown;
|
|
55
|
+
zIndex?: unknown;
|
|
56
|
+
}> | Readonly<{
|
|
57
|
+
type: "text";
|
|
58
|
+
text: string;
|
|
59
|
+
}> | null | undefined | string | Readonly<{
|
|
60
|
+
sequence: string;
|
|
61
|
+
protocol: TerminalGraphicsProtocol;
|
|
62
|
+
fallback?: string;
|
|
63
|
+
clearSequence?: string;
|
|
64
|
+
resizeSequence?: string;
|
|
65
|
+
cols?: number;
|
|
66
|
+
rows?: number;
|
|
67
|
+
sourceWidth?: unknown;
|
|
68
|
+
sourceHeight?: unknown;
|
|
69
|
+
}> | Readonly<{
|
|
70
|
+
text: string;
|
|
71
|
+
}>;
|
|
72
|
+
export type TAgentTerminalGraphicRenderer = (content: string, context: TAgentTerminalGraphicRendererContext) => TAgentTerminalGraphicRenderResult | Promise<TAgentTerminalGraphicRenderResult>;
|
|
73
|
+
export declare const tAgentTerminalGraphicProps: {
|
|
74
|
+
readonly x: {
|
|
75
|
+
readonly type: NumberConstructor;
|
|
76
|
+
readonly required: true;
|
|
77
|
+
};
|
|
78
|
+
readonly y: {
|
|
79
|
+
readonly type: NumberConstructor;
|
|
80
|
+
readonly required: true;
|
|
81
|
+
};
|
|
82
|
+
readonly w: {
|
|
83
|
+
readonly type: NumberConstructor;
|
|
84
|
+
readonly required: true;
|
|
85
|
+
};
|
|
86
|
+
readonly h: {
|
|
87
|
+
readonly type: NumberConstructor;
|
|
88
|
+
readonly default: undefined;
|
|
89
|
+
};
|
|
90
|
+
readonly zIndex: {
|
|
91
|
+
readonly type: NumberConstructor;
|
|
92
|
+
readonly default: 0;
|
|
93
|
+
};
|
|
94
|
+
readonly content: {
|
|
95
|
+
readonly type: StringConstructor;
|
|
96
|
+
readonly required: true;
|
|
97
|
+
};
|
|
98
|
+
readonly kind: {
|
|
99
|
+
readonly type: PropType<TAgentTerminalGraphicKind>;
|
|
100
|
+
readonly default: "image";
|
|
101
|
+
};
|
|
102
|
+
readonly fallback: {
|
|
103
|
+
readonly type: StringConstructor;
|
|
104
|
+
readonly default: undefined;
|
|
105
|
+
};
|
|
106
|
+
readonly style: {
|
|
107
|
+
readonly type: PropType<Style>;
|
|
108
|
+
readonly default: undefined;
|
|
109
|
+
};
|
|
110
|
+
readonly loadingStyle: {
|
|
111
|
+
readonly type: PropType<Style>;
|
|
112
|
+
readonly default: undefined;
|
|
113
|
+
};
|
|
114
|
+
readonly errorStyle: {
|
|
115
|
+
readonly type: PropType<Style>;
|
|
116
|
+
readonly default: undefined;
|
|
117
|
+
};
|
|
118
|
+
readonly clear: {
|
|
119
|
+
readonly type: BooleanConstructor;
|
|
120
|
+
readonly default: true;
|
|
121
|
+
};
|
|
122
|
+
readonly final: {
|
|
123
|
+
readonly type: BooleanConstructor;
|
|
124
|
+
readonly default: true;
|
|
125
|
+
};
|
|
126
|
+
readonly streaming: {
|
|
127
|
+
readonly type: BooleanConstructor;
|
|
128
|
+
readonly default: false;
|
|
129
|
+
};
|
|
130
|
+
readonly renderer: {
|
|
131
|
+
readonly type: PropType<TAgentTerminalGraphicRenderer>;
|
|
132
|
+
readonly default: undefined;
|
|
133
|
+
};
|
|
134
|
+
readonly loadingText: {
|
|
135
|
+
readonly type: StringConstructor;
|
|
136
|
+
readonly default: "Rendering terminal graphic...";
|
|
137
|
+
};
|
|
138
|
+
readonly deferRenderUntilVisible: {
|
|
139
|
+
readonly type: BooleanConstructor;
|
|
140
|
+
readonly default: true;
|
|
141
|
+
};
|
|
142
|
+
readonly suspendRawWhileScrolling: {
|
|
143
|
+
readonly type: BooleanConstructor;
|
|
144
|
+
readonly default: true;
|
|
145
|
+
};
|
|
146
|
+
readonly suspendRenderWhileScrolling: {
|
|
147
|
+
readonly type: BooleanConstructor;
|
|
148
|
+
readonly default: true;
|
|
149
|
+
};
|
|
150
|
+
readonly scrolling: {
|
|
151
|
+
readonly type: BooleanConstructor;
|
|
152
|
+
readonly default: false;
|
|
153
|
+
};
|
|
154
|
+
readonly scrollVersion: {
|
|
155
|
+
readonly type: NumberConstructor;
|
|
156
|
+
readonly default: 0;
|
|
157
|
+
};
|
|
158
|
+
readonly placementMoveWithoutClear: {
|
|
159
|
+
readonly type: BooleanConstructor;
|
|
160
|
+
readonly default: false;
|
|
161
|
+
};
|
|
162
|
+
readonly preserveRawWhileRendering: {
|
|
163
|
+
readonly type: BooleanConstructor;
|
|
164
|
+
readonly default: false;
|
|
165
|
+
};
|
|
166
|
+
readonly suspended: {
|
|
167
|
+
readonly type: BooleanConstructor;
|
|
168
|
+
readonly default: false;
|
|
169
|
+
};
|
|
170
|
+
readonly retainRawWhileCovered: {
|
|
171
|
+
readonly type: BooleanConstructor;
|
|
172
|
+
readonly default: false;
|
|
173
|
+
};
|
|
174
|
+
readonly ignoreRawCoverage: {
|
|
175
|
+
readonly type: BooleanConstructor;
|
|
176
|
+
readonly default: false;
|
|
177
|
+
};
|
|
178
|
+
readonly ignoreSamePlaneRawCoverage: {
|
|
179
|
+
readonly type: BooleanConstructor;
|
|
180
|
+
readonly default: false;
|
|
181
|
+
};
|
|
182
|
+
readonly cacheKey: {
|
|
183
|
+
readonly type: StringConstructor;
|
|
184
|
+
readonly default: undefined;
|
|
185
|
+
};
|
|
186
|
+
readonly placementKey: {
|
|
187
|
+
readonly type: StringConstructor;
|
|
188
|
+
readonly default: undefined;
|
|
189
|
+
};
|
|
190
|
+
readonly trace: {
|
|
191
|
+
readonly type: PropType<(event: TAgentTerminalGraphicTraceEvent) => void>;
|
|
192
|
+
readonly default: undefined;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
export type TAgentTerminalGraphicProps = ExtractPublicPropTypes<typeof tAgentTerminalGraphicProps>;
|
|
196
|
+
export declare const TAgentTerminalGraphic: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
197
|
+
readonly x: {
|
|
198
|
+
readonly type: NumberConstructor;
|
|
199
|
+
readonly required: true;
|
|
200
|
+
};
|
|
201
|
+
readonly y: {
|
|
202
|
+
readonly type: NumberConstructor;
|
|
203
|
+
readonly required: true;
|
|
204
|
+
};
|
|
205
|
+
readonly w: {
|
|
206
|
+
readonly type: NumberConstructor;
|
|
207
|
+
readonly required: true;
|
|
208
|
+
};
|
|
209
|
+
readonly h: {
|
|
210
|
+
readonly type: NumberConstructor;
|
|
211
|
+
readonly default: undefined;
|
|
212
|
+
};
|
|
213
|
+
readonly zIndex: {
|
|
214
|
+
readonly type: NumberConstructor;
|
|
215
|
+
readonly default: 0;
|
|
216
|
+
};
|
|
217
|
+
readonly content: {
|
|
218
|
+
readonly type: StringConstructor;
|
|
219
|
+
readonly required: true;
|
|
220
|
+
};
|
|
221
|
+
readonly kind: {
|
|
222
|
+
readonly type: PropType<TAgentTerminalGraphicKind>;
|
|
223
|
+
readonly default: "image";
|
|
224
|
+
};
|
|
225
|
+
readonly fallback: {
|
|
226
|
+
readonly type: StringConstructor;
|
|
227
|
+
readonly default: undefined;
|
|
228
|
+
};
|
|
229
|
+
readonly style: {
|
|
230
|
+
readonly type: PropType<Style>;
|
|
231
|
+
readonly default: undefined;
|
|
232
|
+
};
|
|
233
|
+
readonly loadingStyle: {
|
|
234
|
+
readonly type: PropType<Style>;
|
|
235
|
+
readonly default: undefined;
|
|
236
|
+
};
|
|
237
|
+
readonly errorStyle: {
|
|
238
|
+
readonly type: PropType<Style>;
|
|
239
|
+
readonly default: undefined;
|
|
240
|
+
};
|
|
241
|
+
readonly clear: {
|
|
242
|
+
readonly type: BooleanConstructor;
|
|
243
|
+
readonly default: true;
|
|
244
|
+
};
|
|
245
|
+
readonly final: {
|
|
246
|
+
readonly type: BooleanConstructor;
|
|
247
|
+
readonly default: true;
|
|
248
|
+
};
|
|
249
|
+
readonly streaming: {
|
|
250
|
+
readonly type: BooleanConstructor;
|
|
251
|
+
readonly default: false;
|
|
252
|
+
};
|
|
253
|
+
readonly renderer: {
|
|
254
|
+
readonly type: PropType<TAgentTerminalGraphicRenderer>;
|
|
255
|
+
readonly default: undefined;
|
|
256
|
+
};
|
|
257
|
+
readonly loadingText: {
|
|
258
|
+
readonly type: StringConstructor;
|
|
259
|
+
readonly default: "Rendering terminal graphic...";
|
|
260
|
+
};
|
|
261
|
+
readonly deferRenderUntilVisible: {
|
|
262
|
+
readonly type: BooleanConstructor;
|
|
263
|
+
readonly default: true;
|
|
264
|
+
};
|
|
265
|
+
readonly suspendRawWhileScrolling: {
|
|
266
|
+
readonly type: BooleanConstructor;
|
|
267
|
+
readonly default: true;
|
|
268
|
+
};
|
|
269
|
+
readonly suspendRenderWhileScrolling: {
|
|
270
|
+
readonly type: BooleanConstructor;
|
|
271
|
+
readonly default: true;
|
|
272
|
+
};
|
|
273
|
+
readonly scrolling: {
|
|
274
|
+
readonly type: BooleanConstructor;
|
|
275
|
+
readonly default: false;
|
|
276
|
+
};
|
|
277
|
+
readonly scrollVersion: {
|
|
278
|
+
readonly type: NumberConstructor;
|
|
279
|
+
readonly default: 0;
|
|
280
|
+
};
|
|
281
|
+
readonly placementMoveWithoutClear: {
|
|
282
|
+
readonly type: BooleanConstructor;
|
|
283
|
+
readonly default: false;
|
|
284
|
+
};
|
|
285
|
+
readonly preserveRawWhileRendering: {
|
|
286
|
+
readonly type: BooleanConstructor;
|
|
287
|
+
readonly default: false;
|
|
288
|
+
};
|
|
289
|
+
readonly suspended: {
|
|
290
|
+
readonly type: BooleanConstructor;
|
|
291
|
+
readonly default: false;
|
|
292
|
+
};
|
|
293
|
+
readonly retainRawWhileCovered: {
|
|
294
|
+
readonly type: BooleanConstructor;
|
|
295
|
+
readonly default: false;
|
|
296
|
+
};
|
|
297
|
+
readonly ignoreRawCoverage: {
|
|
298
|
+
readonly type: BooleanConstructor;
|
|
299
|
+
readonly default: false;
|
|
300
|
+
};
|
|
301
|
+
readonly ignoreSamePlaneRawCoverage: {
|
|
302
|
+
readonly type: BooleanConstructor;
|
|
303
|
+
readonly default: false;
|
|
304
|
+
};
|
|
305
|
+
readonly cacheKey: {
|
|
306
|
+
readonly type: StringConstructor;
|
|
307
|
+
readonly default: undefined;
|
|
308
|
+
};
|
|
309
|
+
readonly placementKey: {
|
|
310
|
+
readonly type: StringConstructor;
|
|
311
|
+
readonly default: undefined;
|
|
312
|
+
};
|
|
313
|
+
readonly trace: {
|
|
314
|
+
readonly type: PropType<(event: TAgentTerminalGraphicTraceEvent) => void>;
|
|
315
|
+
readonly default: undefined;
|
|
316
|
+
};
|
|
317
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
318
|
+
[key: string]: any;
|
|
319
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps), Readonly<import("vue").ExtractPropTypes<{
|
|
320
|
+
readonly x: {
|
|
321
|
+
readonly type: NumberConstructor;
|
|
322
|
+
readonly required: true;
|
|
323
|
+
};
|
|
324
|
+
readonly y: {
|
|
325
|
+
readonly type: NumberConstructor;
|
|
326
|
+
readonly required: true;
|
|
327
|
+
};
|
|
328
|
+
readonly w: {
|
|
329
|
+
readonly type: NumberConstructor;
|
|
330
|
+
readonly required: true;
|
|
331
|
+
};
|
|
332
|
+
readonly h: {
|
|
333
|
+
readonly type: NumberConstructor;
|
|
334
|
+
readonly default: undefined;
|
|
335
|
+
};
|
|
336
|
+
readonly zIndex: {
|
|
337
|
+
readonly type: NumberConstructor;
|
|
338
|
+
readonly default: 0;
|
|
339
|
+
};
|
|
340
|
+
readonly content: {
|
|
341
|
+
readonly type: StringConstructor;
|
|
342
|
+
readonly required: true;
|
|
343
|
+
};
|
|
344
|
+
readonly kind: {
|
|
345
|
+
readonly type: PropType<TAgentTerminalGraphicKind>;
|
|
346
|
+
readonly default: "image";
|
|
347
|
+
};
|
|
348
|
+
readonly fallback: {
|
|
349
|
+
readonly type: StringConstructor;
|
|
350
|
+
readonly default: undefined;
|
|
351
|
+
};
|
|
352
|
+
readonly style: {
|
|
353
|
+
readonly type: PropType<Style>;
|
|
354
|
+
readonly default: undefined;
|
|
355
|
+
};
|
|
356
|
+
readonly loadingStyle: {
|
|
357
|
+
readonly type: PropType<Style>;
|
|
358
|
+
readonly default: undefined;
|
|
359
|
+
};
|
|
360
|
+
readonly errorStyle: {
|
|
361
|
+
readonly type: PropType<Style>;
|
|
362
|
+
readonly default: undefined;
|
|
363
|
+
};
|
|
364
|
+
readonly clear: {
|
|
365
|
+
readonly type: BooleanConstructor;
|
|
366
|
+
readonly default: true;
|
|
367
|
+
};
|
|
368
|
+
readonly final: {
|
|
369
|
+
readonly type: BooleanConstructor;
|
|
370
|
+
readonly default: true;
|
|
371
|
+
};
|
|
372
|
+
readonly streaming: {
|
|
373
|
+
readonly type: BooleanConstructor;
|
|
374
|
+
readonly default: false;
|
|
375
|
+
};
|
|
376
|
+
readonly renderer: {
|
|
377
|
+
readonly type: PropType<TAgentTerminalGraphicRenderer>;
|
|
378
|
+
readonly default: undefined;
|
|
379
|
+
};
|
|
380
|
+
readonly loadingText: {
|
|
381
|
+
readonly type: StringConstructor;
|
|
382
|
+
readonly default: "Rendering terminal graphic...";
|
|
383
|
+
};
|
|
384
|
+
readonly deferRenderUntilVisible: {
|
|
385
|
+
readonly type: BooleanConstructor;
|
|
386
|
+
readonly default: true;
|
|
387
|
+
};
|
|
388
|
+
readonly suspendRawWhileScrolling: {
|
|
389
|
+
readonly type: BooleanConstructor;
|
|
390
|
+
readonly default: true;
|
|
391
|
+
};
|
|
392
|
+
readonly suspendRenderWhileScrolling: {
|
|
393
|
+
readonly type: BooleanConstructor;
|
|
394
|
+
readonly default: true;
|
|
395
|
+
};
|
|
396
|
+
readonly scrolling: {
|
|
397
|
+
readonly type: BooleanConstructor;
|
|
398
|
+
readonly default: false;
|
|
399
|
+
};
|
|
400
|
+
readonly scrollVersion: {
|
|
401
|
+
readonly type: NumberConstructor;
|
|
402
|
+
readonly default: 0;
|
|
403
|
+
};
|
|
404
|
+
readonly placementMoveWithoutClear: {
|
|
405
|
+
readonly type: BooleanConstructor;
|
|
406
|
+
readonly default: false;
|
|
407
|
+
};
|
|
408
|
+
readonly preserveRawWhileRendering: {
|
|
409
|
+
readonly type: BooleanConstructor;
|
|
410
|
+
readonly default: false;
|
|
411
|
+
};
|
|
412
|
+
readonly suspended: {
|
|
413
|
+
readonly type: BooleanConstructor;
|
|
414
|
+
readonly default: false;
|
|
415
|
+
};
|
|
416
|
+
readonly retainRawWhileCovered: {
|
|
417
|
+
readonly type: BooleanConstructor;
|
|
418
|
+
readonly default: false;
|
|
419
|
+
};
|
|
420
|
+
readonly ignoreRawCoverage: {
|
|
421
|
+
readonly type: BooleanConstructor;
|
|
422
|
+
readonly default: false;
|
|
423
|
+
};
|
|
424
|
+
readonly ignoreSamePlaneRawCoverage: {
|
|
425
|
+
readonly type: BooleanConstructor;
|
|
426
|
+
readonly default: false;
|
|
427
|
+
};
|
|
428
|
+
readonly cacheKey: {
|
|
429
|
+
readonly type: StringConstructor;
|
|
430
|
+
readonly default: undefined;
|
|
431
|
+
};
|
|
432
|
+
readonly placementKey: {
|
|
433
|
+
readonly type: StringConstructor;
|
|
434
|
+
readonly default: undefined;
|
|
435
|
+
};
|
|
436
|
+
readonly trace: {
|
|
437
|
+
readonly type: PropType<(event: TAgentTerminalGraphicTraceEvent) => void>;
|
|
438
|
+
readonly default: undefined;
|
|
439
|
+
};
|
|
440
|
+
}>> & Readonly<{}>, {
|
|
441
|
+
readonly kind: TAgentTerminalGraphicKind;
|
|
442
|
+
readonly style: Readonly<{
|
|
443
|
+
fg?: string;
|
|
444
|
+
bg?: string;
|
|
445
|
+
bold?: boolean;
|
|
446
|
+
dim?: boolean;
|
|
447
|
+
italic?: boolean;
|
|
448
|
+
underline?: boolean;
|
|
449
|
+
inverse?: boolean;
|
|
450
|
+
href?: string;
|
|
451
|
+
}>;
|
|
452
|
+
readonly h: number;
|
|
453
|
+
readonly zIndex: number;
|
|
454
|
+
readonly clear: boolean;
|
|
455
|
+
readonly placementMoveWithoutClear: boolean;
|
|
456
|
+
readonly trace: (event: TAgentTerminalGraphicTraceEvent) => void;
|
|
457
|
+
readonly scrolling: boolean;
|
|
458
|
+
readonly renderer: TAgentTerminalGraphicRenderer;
|
|
459
|
+
readonly loadingText: string;
|
|
460
|
+
readonly fallback: string;
|
|
461
|
+
readonly loadingStyle: Readonly<{
|
|
462
|
+
fg?: string;
|
|
463
|
+
bg?: string;
|
|
464
|
+
bold?: boolean;
|
|
465
|
+
dim?: boolean;
|
|
466
|
+
italic?: boolean;
|
|
467
|
+
underline?: boolean;
|
|
468
|
+
inverse?: boolean;
|
|
469
|
+
href?: string;
|
|
470
|
+
}>;
|
|
471
|
+
readonly errorStyle: Readonly<{
|
|
472
|
+
fg?: string;
|
|
473
|
+
bg?: string;
|
|
474
|
+
bold?: boolean;
|
|
475
|
+
dim?: boolean;
|
|
476
|
+
italic?: boolean;
|
|
477
|
+
underline?: boolean;
|
|
478
|
+
inverse?: boolean;
|
|
479
|
+
href?: string;
|
|
480
|
+
}>;
|
|
481
|
+
readonly final: boolean;
|
|
482
|
+
readonly streaming: boolean;
|
|
483
|
+
readonly deferRenderUntilVisible: boolean;
|
|
484
|
+
readonly suspendRawWhileScrolling: boolean;
|
|
485
|
+
readonly suspendRenderWhileScrolling: boolean;
|
|
486
|
+
readonly scrollVersion: number;
|
|
487
|
+
readonly preserveRawWhileRendering: boolean;
|
|
488
|
+
readonly suspended: boolean;
|
|
489
|
+
readonly retainRawWhileCovered: boolean;
|
|
490
|
+
readonly ignoreRawCoverage: boolean;
|
|
491
|
+
readonly ignoreSamePlaneRawCoverage: boolean;
|
|
492
|
+
readonly cacheKey: string;
|
|
493
|
+
readonly placementKey: string;
|
|
494
|
+
}, {}>;
|