@vizejs/fresco 0.817.0 → 0.818.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/dist/{app-CDSThgku.mjs → app-ByxmaQXv.mjs} +8 -119
- package/dist/app-ByxmaQXv.mjs.map +1 -0
- package/dist/ascii-font/index.d.mts +15 -0
- package/dist/ascii-font/index.d.mts.map +1 -1
- package/dist/ascii-font/index.mjs +0 -3
- package/dist/ascii-font/index.mjs.map +1 -1
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/{components-CkggYTVQ.mjs → components-0LBWpsQe.mjs} +5 -116
- package/dist/components-0LBWpsQe.mjs.map +1 -0
- package/dist/composables/index.d.mts +3 -3
- package/dist/composables/index.mjs +3 -3
- package/dist/{composables-amARnyjm.mjs → composables-D1oKPS0m.mjs} +3 -15
- package/dist/composables-D1oKPS0m.mjs.map +1 -0
- package/dist/{index-BOV-0YqV.d.mts → index-C7_vgg04.d.mts} +64 -22
- package/dist/index-C7_vgg04.d.mts.map +1 -0
- package/dist/{index-BF-rzRoS.d.mts → index-Cb1yVHhF.d.mts} +973 -372
- package/dist/index-Cb1yVHhF.d.mts.map +1 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +4 -30
- package/dist/index.mjs.map +1 -1
- package/dist/qr-code/index.d.mts +29 -0
- package/dist/qr-code/index.d.mts.map +1 -1
- package/dist/qr-code/index.mjs +0 -3
- package/dist/qr-code/index.mjs.map +1 -1
- package/dist/testing/index.d.mts +23 -6
- package/dist/testing/index.d.mts.map +1 -1
- package/dist/testing/index.mjs +1 -42
- package/dist/testing/index.mjs.map +1 -1
- package/dist/{useApp-vIRJ5Th3.d.mts → useApp-CZwf8lOA.d.mts} +10 -7
- package/dist/useApp-CZwf8lOA.d.mts.map +1 -0
- package/dist/{useBoxMetrics-9FFVE-tA.mjs → useBoxMetrics-DyBYcQEp.mjs} +2 -22
- package/dist/useBoxMetrics-DyBYcQEp.mjs.map +1 -0
- package/dist/{useVirtualViewport-TxTapifg.d.mts → useVirtualViewport-CCWjx3oS.d.mts} +7 -1
- package/dist/useVirtualViewport-CCWjx3oS.d.mts.map +1 -0
- package/package.json +2 -2
- package/dist/app-CDSThgku.mjs.map +0 -1
- package/dist/components-CkggYTVQ.mjs.map +0 -1
- package/dist/composables-amARnyjm.mjs.map +0 -1
- package/dist/index-BF-rzRoS.d.mts.map +0 -1
- package/dist/index-BOV-0YqV.d.mts.map +0 -1
- package/dist/useApp-vIRJ5Th3.d.mts.map +0 -1
- package/dist/useBoxMetrics-9FFVE-tA.mjs.map +0 -1
- package/dist/useVirtualViewport-TxTapifg.d.mts.map +0 -1
|
@@ -1,61 +1,83 @@
|
|
|
1
1
|
import { D as FrescoStyle, l as FrescoCanonicalStyle, o as FrescoAppearance, s as FrescoBorderStyle, u as FrescoDimension } from "./protocol-C1DHP36Z.mjs";
|
|
2
2
|
import { n as AriaState, t as AriaRole } from "./accessibility-D7iuITvU.mjs";
|
|
3
|
-
import { i as VirtualViewportRange, t as VirtualScrollAlignment } from "./useVirtualViewport-
|
|
3
|
+
import { i as VirtualViewportRange, t as VirtualScrollAlignment } from "./useVirtualViewport-CCWjx3oS.mjs";
|
|
4
4
|
import { PropType, Ref, VNode } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Box.d.ts
|
|
7
|
+
/** Canonical border styles plus the round and bold compatibility names. */
|
|
7
8
|
type BorderStyleName = FrescoBorderStyle | "round" | "bold";
|
|
9
|
+
/** Flex layout, spacing, border, appearance, and focus routing for a terminal box. */
|
|
8
10
|
interface BoxProps extends FrescoCanonicalStyle {
|
|
9
|
-
/** Logical useFocus target routed to this host node. */
|
|
11
|
+
/** Logical useFocus target routed to this host node. @default undefined */
|
|
10
12
|
focusId?: string;
|
|
11
|
-
/** Padding X (left and right) */
|
|
13
|
+
/** Padding X (left and right). @default undefined */
|
|
12
14
|
paddingX?: number;
|
|
13
|
-
/** Padding Y (top and bottom) */
|
|
15
|
+
/** Padding Y (top and bottom). @default undefined */
|
|
14
16
|
paddingY?: number;
|
|
15
|
-
/** Margin X (left and right) */
|
|
17
|
+
/** Margin X (left and right). @default undefined */
|
|
16
18
|
marginX?: number;
|
|
17
|
-
/** Margin Y (top and bottom) */
|
|
19
|
+
/** Margin Y (top and bottom). @default undefined */
|
|
18
20
|
marginY?: number;
|
|
19
|
-
/** Border style (Fresco alias) */
|
|
21
|
+
/** Border style (Fresco alias). @default undefined */
|
|
20
22
|
border?: BorderStyleName;
|
|
21
|
-
/** Border style (Ink alias) */
|
|
23
|
+
/** Border style (Ink alias). @default undefined */
|
|
22
24
|
borderStyle?: BorderStyleName;
|
|
25
|
+
/** Top edge flag accepted for Ink API parity; the border is drawn on every edge. @default false */
|
|
23
26
|
borderTop?: boolean;
|
|
27
|
+
/** Right edge flag accepted for Ink API parity; the border is drawn on every edge. @default false */
|
|
24
28
|
borderRight?: boolean;
|
|
29
|
+
/** Bottom edge flag accepted for Ink API parity; the border is drawn on every edge. @default false */
|
|
25
30
|
borderBottom?: boolean;
|
|
31
|
+
/** Left edge flag accepted for Ink API parity; the border is drawn on every edge. @default false */
|
|
26
32
|
borderLeft?: boolean;
|
|
33
|
+
/** Border color. @default undefined */
|
|
27
34
|
borderColor?: string;
|
|
35
|
+
/** Top border color. @default undefined */
|
|
28
36
|
borderTopColor?: string;
|
|
37
|
+
/** Right border color. @default undefined */
|
|
29
38
|
borderRightColor?: string;
|
|
39
|
+
/** Bottom border color. @default undefined */
|
|
30
40
|
borderBottomColor?: string;
|
|
41
|
+
/** Left border color. @default undefined */
|
|
31
42
|
borderLeftColor?: string;
|
|
43
|
+
/** Dim the border. @default false */
|
|
32
44
|
borderDimColor?: boolean;
|
|
45
|
+
/** Top border dimming accepted for Ink API parity. @default false */
|
|
33
46
|
borderTopDimColor?: boolean;
|
|
47
|
+
/** Right border dimming accepted for Ink API parity. @default false */
|
|
34
48
|
borderRightDimColor?: boolean;
|
|
49
|
+
/** Bottom border dimming accepted for Ink API parity. @default false */
|
|
35
50
|
borderBottomDimColor?: boolean;
|
|
51
|
+
/** Left border dimming accepted for Ink API parity. @default false */
|
|
36
52
|
borderLeftDimColor?: boolean;
|
|
53
|
+
/** Border background color. @default undefined */
|
|
37
54
|
borderBackgroundColor?: string;
|
|
55
|
+
/** Top border background accepted for Ink API parity. @default undefined */
|
|
38
56
|
borderTopBackgroundColor?: string;
|
|
57
|
+
/** Right border background accepted for Ink API parity. @default undefined */
|
|
39
58
|
borderRightBackgroundColor?: string;
|
|
59
|
+
/** Bottom border background accepted for Ink API parity. @default undefined */
|
|
40
60
|
borderBottomBackgroundColor?: string;
|
|
61
|
+
/** Left border background accepted for Ink API parity. @default undefined */
|
|
41
62
|
borderLeftBackgroundColor?: string;
|
|
42
|
-
/** Foreground color */
|
|
63
|
+
/** Foreground color. @default undefined */
|
|
43
64
|
fg?: string;
|
|
44
|
-
/** Foreground color alias */
|
|
65
|
+
/** Foreground color alias. @default undefined */
|
|
45
66
|
color?: string;
|
|
46
|
-
/** Background color */
|
|
67
|
+
/** Background color. @default undefined */
|
|
47
68
|
bg?: string;
|
|
48
|
-
/** Ink-compatible background color */
|
|
69
|
+
/** Ink-compatible background color. @default undefined */
|
|
49
70
|
backgroundColor?: string;
|
|
50
|
-
/** Accessibility label, accepted for Ink API parity */
|
|
71
|
+
/** Accessibility label, accepted for Ink API parity. @default undefined */
|
|
51
72
|
"aria-label"?: string;
|
|
52
|
-
/** Hide from screen readers, accepted for Ink API parity */
|
|
73
|
+
/** Hide from screen readers, accepted for Ink API parity. @default false */
|
|
53
74
|
"aria-hidden"?: boolean;
|
|
54
|
-
/** Accessibility role, accepted for Ink API parity */
|
|
75
|
+
/** Accessibility role, accepted for Ink API parity. @default undefined */
|
|
55
76
|
"aria-role"?: AriaRole;
|
|
56
|
-
/** Accessibility state, accepted for Ink API parity */
|
|
77
|
+
/** Accessibility state, accepted for Ink API parity. @default undefined */
|
|
57
78
|
"aria-state"?: AriaState;
|
|
58
79
|
}
|
|
80
|
+
/** Render a flex-layout container backed by a terminal box host node. */
|
|
59
81
|
declare const Box: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
60
82
|
display: PropType<BoxProps["display"]>;
|
|
61
83
|
position: PropType<BoxProps["position"]>;
|
|
@@ -218,38 +240,41 @@ declare const Box: import("vue").DefineComponent<import("vue").ExtractPropTypes<
|
|
|
218
240
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
219
241
|
//#endregion
|
|
220
242
|
//#region src/components/FrescoSpacer.vue.d.ts
|
|
221
|
-
declare const __VLS_export$28: import("
|
|
243
|
+
declare const __VLS_export$28: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
222
244
|
declare const _default$28: typeof __VLS_export$28;
|
|
223
245
|
//#endregion
|
|
224
246
|
//#region src/components/layout-primitive-types.d.ts
|
|
247
|
+
/** Direction, glyph, optional title, and color of a terminal divider. */
|
|
225
248
|
interface DividerProps {
|
|
226
|
-
/** Divider direction */
|
|
249
|
+
/** Divider direction. @default "horizontal" */
|
|
227
250
|
direction?: "horizontal" | "vertical";
|
|
228
|
-
/**
|
|
251
|
+
/** Optional glyph override; absence selects a horizontal or vertical line. @default undefined */
|
|
229
252
|
char?: string;
|
|
230
|
-
/** Title in the middle of the divider */
|
|
253
|
+
/** Title in the middle of the divider. @default undefined */
|
|
231
254
|
title?: string;
|
|
232
|
-
/** Foreground color */
|
|
255
|
+
/** Foreground color. @default "gray" */
|
|
233
256
|
fg?: string;
|
|
234
|
-
/**
|
|
257
|
+
/** Optional title color override; absence uses the divider foreground. @default undefined */
|
|
235
258
|
titleFg?: string;
|
|
236
259
|
}
|
|
260
|
+
/** Direction, spacing, alignment, and justification of a flex stack. */
|
|
237
261
|
interface StackProps {
|
|
238
|
-
/** Stack direction */
|
|
262
|
+
/** Stack direction. @default "vertical" */
|
|
239
263
|
direction?: "horizontal" | "vertical";
|
|
240
|
-
/** Gap between children */
|
|
264
|
+
/** Gap between children. @default 0 */
|
|
241
265
|
gap?: number;
|
|
242
|
-
/** Align items */
|
|
266
|
+
/** Align items. @default "stretch" */
|
|
243
267
|
align?: "start" | "center" | "end" | "stretch";
|
|
244
|
-
/** Justify content */
|
|
268
|
+
/** Justify content. @default "start" */
|
|
245
269
|
justify?: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
246
|
-
/** Wrap children */
|
|
270
|
+
/** Wrap children. @default false */
|
|
247
271
|
wrap?: boolean;
|
|
248
272
|
}
|
|
273
|
+
/** Shared spacing and alignment inputs for fixed-direction stack components. */
|
|
249
274
|
type ConvenienceStackProps = Pick<StackProps, "gap" | "align" | "justify">;
|
|
250
275
|
//#endregion
|
|
251
276
|
//#region src/components/FrescoDivider.vue.d.ts
|
|
252
|
-
declare const __VLS_export$27: import("
|
|
277
|
+
declare const __VLS_export$27: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
253
278
|
declare const _default$27: typeof __VLS_export$27;
|
|
254
279
|
//#endregion
|
|
255
280
|
//#region src/components/FrescoStack.vue.d.ts
|
|
@@ -259,7 +284,7 @@ declare const __VLS_template$3: () => {
|
|
|
259
284
|
};
|
|
260
285
|
};
|
|
261
286
|
type __VLS_Slots$9 = ReturnType<typeof __VLS_template$3>['__VLS_Slots'];
|
|
262
|
-
declare const __VLS_base$9: import("
|
|
287
|
+
declare const __VLS_base$9: import("vue").DefineComponent<StackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
263
288
|
declare const __VLS_export$26: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
264
289
|
declare const _default$26: typeof __VLS_export$26;
|
|
265
290
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
@@ -275,7 +300,7 @@ declare const __VLS_template$2: () => {
|
|
|
275
300
|
};
|
|
276
301
|
};
|
|
277
302
|
type __VLS_Slots$8 = ReturnType<typeof __VLS_template$2>['__VLS_Slots'];
|
|
278
|
-
declare const __VLS_base$8: import("
|
|
303
|
+
declare const __VLS_base$8: import("vue").DefineComponent<ConvenienceStackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ConvenienceStackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
279
304
|
declare const __VLS_export$25: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
280
305
|
declare const _default$25: typeof __VLS_export$25;
|
|
281
306
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
@@ -291,7 +316,7 @@ declare const __VLS_template$1: () => {
|
|
|
291
316
|
};
|
|
292
317
|
};
|
|
293
318
|
type __VLS_Slots$7 = ReturnType<typeof __VLS_template$1>['__VLS_Slots'];
|
|
294
|
-
declare const __VLS_base$7: import("
|
|
319
|
+
declare const __VLS_base$7: import("vue").DefineComponent<ConvenienceStackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ConvenienceStackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
295
320
|
declare const __VLS_export$24: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
296
321
|
declare const _default$24: typeof __VLS_export$24;
|
|
297
322
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
@@ -301,16 +326,26 @@ type __VLS_WithSlots$7<T, S> = T & {
|
|
|
301
326
|
}; //# sourceMappingURL=FrescoVStack.vue.d.ts.map
|
|
302
327
|
//#endregion
|
|
303
328
|
//#region src/components/Grid.d.ts
|
|
329
|
+
/** Column count and terminal-cell spacing for a fixed-column grid. */
|
|
304
330
|
interface GridProps {
|
|
305
|
-
/** Number of columns
|
|
331
|
+
/** Number of columns
|
|
332
|
+
* @default 2
|
|
333
|
+
*/
|
|
306
334
|
columns?: number;
|
|
307
|
-
/** Gap between cells
|
|
335
|
+
/** Gap between cells
|
|
336
|
+
* @default 1
|
|
337
|
+
*/
|
|
308
338
|
gap?: number;
|
|
309
|
-
/** Row gap
|
|
339
|
+
/** Row gap
|
|
340
|
+
* @default undefined
|
|
341
|
+
*/
|
|
310
342
|
rowGap?: number;
|
|
311
|
-
/** Column gap
|
|
343
|
+
/** Column gap
|
|
344
|
+
* @default undefined
|
|
345
|
+
*/
|
|
312
346
|
columnGap?: number;
|
|
313
347
|
}
|
|
348
|
+
/** Arrange default-slot nodes into rows with a fixed number of columns. */
|
|
314
349
|
declare const Grid: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
315
350
|
columns: {
|
|
316
351
|
type: NumberConstructor;
|
|
@@ -341,36 +376,41 @@ declare const Grid: import("vue").DefineComponent<import("vue").ExtractPropTypes
|
|
|
341
376
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
342
377
|
//#endregion
|
|
343
378
|
//#region src/components/presentational-primitive-types.d.ts
|
|
379
|
+
/** Semantic style choices for terminal alerts. */
|
|
344
380
|
type AlertType = "info" | "success" | "warning" | "error";
|
|
381
|
+
/** Alert message, semantic style, title, icon visibility, and terminal colors. */
|
|
345
382
|
interface AlertProps {
|
|
346
383
|
/** Alert message */
|
|
347
384
|
message: string;
|
|
348
|
-
/** Alert type */
|
|
385
|
+
/** Alert type. @default "info" */
|
|
349
386
|
type?: AlertType;
|
|
350
|
-
/**
|
|
387
|
+
/** Optional title override; absence uses the selected alert type's title. @default undefined */
|
|
351
388
|
title?: string;
|
|
352
|
-
/** Show icon */
|
|
389
|
+
/** Show icon. @default true */
|
|
353
390
|
showIcon?: boolean;
|
|
354
|
-
/** Border style */
|
|
391
|
+
/** Border style. @default "rounded" */
|
|
355
392
|
border?: "single" | "double" | "rounded" | "none";
|
|
356
393
|
}
|
|
394
|
+
/** Presence state represented by an avatar status glyph. */
|
|
357
395
|
type AvatarStatus = "online" | "offline" | "away" | "busy";
|
|
396
|
+
/** Name, initials, size, appearance, and optional presence state for an avatar. */
|
|
358
397
|
interface AvatarProps {
|
|
359
|
-
/** User name used to generate initials */
|
|
398
|
+
/** User name used to generate initials. @default undefined */
|
|
360
399
|
name?: string;
|
|
361
|
-
/** Custom initials */
|
|
400
|
+
/** Custom initials; absence derives them from the name or renders two question marks. @default undefined */
|
|
362
401
|
initials?: string;
|
|
363
|
-
/** Avatar size */
|
|
402
|
+
/** Avatar size. @default "md" */
|
|
364
403
|
size?: "sm" | "md" | "lg";
|
|
365
|
-
/** Background color */
|
|
404
|
+
/** Background color. @default "blue" */
|
|
366
405
|
bg?: string;
|
|
367
|
-
/** Foreground color */
|
|
406
|
+
/** Foreground color. @default "white" */
|
|
368
407
|
fg?: string;
|
|
369
|
-
/** Show border */
|
|
408
|
+
/** Show border. @default true */
|
|
370
409
|
border?: boolean;
|
|
371
|
-
/** Status indicator */
|
|
410
|
+
/** Status indicator. @default undefined */
|
|
372
411
|
status?: AvatarStatus;
|
|
373
412
|
}
|
|
413
|
+
/** Stable identity and visible content for one navigation breadcrumb. */
|
|
374
414
|
interface BreadcrumbItem {
|
|
375
415
|
/** Stable item key */
|
|
376
416
|
key: string;
|
|
@@ -379,69 +419,74 @@ interface BreadcrumbItem {
|
|
|
379
419
|
/** Optional leading icon */
|
|
380
420
|
icon?: string;
|
|
381
421
|
}
|
|
422
|
+
/** Breadcrumb items, separator, active-item color, and shared appearance. */
|
|
382
423
|
interface BreadcrumbProps {
|
|
383
424
|
/** Breadcrumb items */
|
|
384
425
|
items: BreadcrumbItem[];
|
|
385
|
-
/** Separator */
|
|
426
|
+
/** Separator. @default " > " */
|
|
386
427
|
separator?: string;
|
|
387
|
-
/** Foreground color */
|
|
428
|
+
/** Foreground color. @default "gray" */
|
|
388
429
|
fg?: string;
|
|
389
|
-
/** Active item foreground color */
|
|
430
|
+
/** Active item foreground color. @default "white" */
|
|
390
431
|
activeFg?: string;
|
|
391
|
-
/** Separator foreground color */
|
|
432
|
+
/** Separator foreground color. @default "gray" */
|
|
392
433
|
separatorFg?: string;
|
|
393
434
|
}
|
|
435
|
+
/** Heading, footer, border, spacing, and appearance for a terminal content card. */
|
|
394
436
|
interface CardProps {
|
|
395
|
-
/** Card title */
|
|
437
|
+
/** Card title. @default undefined */
|
|
396
438
|
title?: string;
|
|
397
|
-
/** Card subtitle */
|
|
439
|
+
/** Card subtitle. @default undefined */
|
|
398
440
|
subtitle?: string;
|
|
399
|
-
/** Footer text */
|
|
441
|
+
/** Footer text. @default undefined */
|
|
400
442
|
footer?: string;
|
|
401
|
-
/** Border style */
|
|
443
|
+
/** Border style. @default "rounded" */
|
|
402
444
|
border?: "single" | "double" | "rounded" | "heavy" | "none";
|
|
403
|
-
/** Padding */
|
|
445
|
+
/** Padding. @default 1 */
|
|
404
446
|
padding?: number;
|
|
405
|
-
/** Title foreground color */
|
|
447
|
+
/** Title foreground color. @default "white" */
|
|
406
448
|
titleFg?: string;
|
|
407
|
-
/** Border foreground color */
|
|
449
|
+
/** Border foreground color. @default undefined */
|
|
408
450
|
borderFg?: string;
|
|
409
|
-
/** Background color */
|
|
451
|
+
/** Background color. @default undefined */
|
|
410
452
|
bg?: string;
|
|
411
453
|
}
|
|
454
|
+
/** Title, auxiliary content fallbacks, and terminal appearance for a header. */
|
|
412
455
|
interface HeaderProps {
|
|
413
456
|
/** Header title */
|
|
414
457
|
title: string;
|
|
415
|
-
/** Subtitle */
|
|
458
|
+
/** Subtitle. @default undefined */
|
|
416
459
|
subtitle?: string;
|
|
417
|
-
/** Left fallback content */
|
|
460
|
+
/** Left fallback content. @default undefined */
|
|
418
461
|
left?: string;
|
|
419
|
-
/** Right fallback content */
|
|
462
|
+
/** Right fallback content. @default undefined */
|
|
420
463
|
right?: string;
|
|
421
|
-
/** Background color */
|
|
464
|
+
/** Background color. @default undefined */
|
|
422
465
|
bg?: string;
|
|
423
|
-
/** Title foreground color */
|
|
466
|
+
/** Title foreground color. @default "white" */
|
|
424
467
|
titleFg?: string;
|
|
425
|
-
/** Subtitle foreground color */
|
|
468
|
+
/** Subtitle foreground color. @default "gray" */
|
|
426
469
|
subtitleFg?: string;
|
|
427
|
-
/** Show a bottom border */
|
|
470
|
+
/** Show a bottom border. @default false */
|
|
428
471
|
borderBottom?: boolean;
|
|
429
472
|
}
|
|
473
|
+
/** Side of the anchor used to place a terminal tooltip. */
|
|
430
474
|
type TooltipPosition = "top" | "bottom" | "left" | "right";
|
|
475
|
+
/** Tooltip text, visibility, placement, gap, and terminal appearance. */
|
|
431
476
|
interface TooltipProps {
|
|
432
477
|
/** Tooltip text */
|
|
433
478
|
text: string;
|
|
434
|
-
/** Whether the tooltip is visible */
|
|
479
|
+
/** Whether the tooltip is visible. @default true */
|
|
435
480
|
visible?: boolean;
|
|
436
|
-
/** Tooltip position */
|
|
481
|
+
/** Tooltip position. @default "top" */
|
|
437
482
|
position?: TooltipPosition;
|
|
438
|
-
/** Gap in terminal cells between the anchor and tooltip. */
|
|
483
|
+
/** Gap in terminal cells between the anchor and tooltip. @default 0 */
|
|
439
484
|
offset?: number;
|
|
440
|
-
/** Border style */
|
|
485
|
+
/** Border style. @default "rounded" */
|
|
441
486
|
border?: "single" | "rounded" | "none";
|
|
442
|
-
/** Background color */
|
|
487
|
+
/** Background color. @default "white" */
|
|
443
488
|
bg?: string;
|
|
444
|
-
/** Foreground color */
|
|
489
|
+
/** Foreground color. @default "black" */
|
|
445
490
|
fg?: string;
|
|
446
491
|
}
|
|
447
492
|
//#endregion
|
|
@@ -450,7 +495,7 @@ type __VLS_Slots$6 = {
|
|
|
450
495
|
default?(): unknown;
|
|
451
496
|
footer?(): unknown;
|
|
452
497
|
};
|
|
453
|
-
declare const __VLS_base$6: import("
|
|
498
|
+
declare const __VLS_base$6: import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
454
499
|
declare const __VLS_export$23: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
455
500
|
declare const _default$23: typeof __VLS_export$23;
|
|
456
501
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
@@ -467,16 +512,27 @@ interface ScrollBoxItemSlot extends VirtualViewportRange {
|
|
|
467
512
|
}
|
|
468
513
|
/** Public ScrollBox props for a bounded vertical viewport. */
|
|
469
514
|
interface ScrollBoxProps {
|
|
515
|
+
/** Total logical row count. */
|
|
470
516
|
itemCount: number;
|
|
517
|
+
/** Maximum visible row count. */
|
|
471
518
|
viewportSize: number;
|
|
519
|
+
/** Controlled offset; absence starts the internal viewport at zero. @default undefined */
|
|
472
520
|
modelValue?: number;
|
|
521
|
+
/** Retained rows on each side of the visible range. @default 2 */
|
|
473
522
|
overscan?: number;
|
|
523
|
+
/** Whether this viewport owns keyboard input. @default false */
|
|
474
524
|
focused?: boolean;
|
|
525
|
+
/** Whether to ignore keyboard and pointer interaction. @default false */
|
|
475
526
|
disabled?: boolean;
|
|
527
|
+
/** Requested rows per wheel event, normalized to a positive safe integer. @default 3 */
|
|
476
528
|
wheelStep?: number;
|
|
529
|
+
/** Whether to render the viewport indicator. @default true */
|
|
477
530
|
showScrollbar?: boolean;
|
|
531
|
+
/** Whether new rows keep a viewport already at the end pinned there. @default false */
|
|
478
532
|
followOutput?: boolean;
|
|
533
|
+
/** Indicator track glyph. @default "│" */
|
|
479
534
|
scrollbarTrack?: string;
|
|
535
|
+
/** Indicator thumb glyph. @default "█" */
|
|
480
536
|
scrollbarThumb?: string;
|
|
481
537
|
}
|
|
482
538
|
/** Imperative methods exposed through a ScrollBox template ref. */
|
|
@@ -490,16 +546,25 @@ interface ScrollBoxExposed {
|
|
|
490
546
|
type ScrollBarOrientation = "vertical" | "horizontal";
|
|
491
547
|
/** Public ScrollBar props for a bounded viewport indicator. */
|
|
492
548
|
interface ScrollBarProps {
|
|
549
|
+
/** Total logical item count. */
|
|
493
550
|
itemCount: number;
|
|
551
|
+
/** Visible item count. */
|
|
494
552
|
viewportSize: number;
|
|
553
|
+
/** Current viewport offset. */
|
|
495
554
|
offset: number;
|
|
555
|
+
/** Indicator length; absence uses the viewport size. @default undefined */
|
|
496
556
|
length?: number;
|
|
557
|
+
/** Indicator layout axis. @default "vertical" */
|
|
497
558
|
orientation?: ScrollBarOrientation;
|
|
559
|
+
/** Indicator track glyph. @default "│" */
|
|
498
560
|
track?: string;
|
|
561
|
+
/** Indicator thumb glyph. @default "█" */
|
|
499
562
|
thumb?: string;
|
|
563
|
+
/** Track foreground color. @default undefined */
|
|
500
564
|
fg?: string;
|
|
565
|
+
/** Thumb foreground color. @default undefined */
|
|
501
566
|
thumbFg?: string;
|
|
502
|
-
/** Prevent pointer interaction while retaining the visual indicator. */
|
|
567
|
+
/** Prevent pointer interaction while retaining the visual indicator. @default false */
|
|
503
568
|
disabled?: boolean;
|
|
504
569
|
}
|
|
505
570
|
//#endregion
|
|
@@ -509,13 +574,13 @@ type __VLS_Slots$5 = {
|
|
|
509
574
|
start(): unknown; /** Content kept mounted after the viewport. */
|
|
510
575
|
end(): unknown;
|
|
511
576
|
};
|
|
512
|
-
declare const __VLS_base$5: import("
|
|
577
|
+
declare const __VLS_base$5: import("vue").DefineComponent<ScrollBoxProps, ScrollBoxExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
513
578
|
scroll: (range: VirtualViewportRange) => any;
|
|
514
579
|
"update:modelValue": (offset: number) => any;
|
|
515
|
-
}, string, import("
|
|
580
|
+
}, string, import("vue").PublicProps, Readonly<ScrollBoxProps> & Readonly<{
|
|
516
581
|
onScroll?: ((range: VirtualViewportRange) => any) | undefined;
|
|
517
582
|
"onUpdate:modelValue"?: ((offset: number) => any) | undefined;
|
|
518
|
-
}>, {}, {}, {}, {}, string, import("
|
|
583
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
519
584
|
declare const __VLS_export$22: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
520
585
|
declare const _default$22: typeof __VLS_export$22;
|
|
521
586
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
@@ -525,31 +590,34 @@ type __VLS_WithSlots$5<T, S> = T & {
|
|
|
525
590
|
}; //# sourceMappingURL=ScrollBox.vue.d.ts.map
|
|
526
591
|
//#endregion
|
|
527
592
|
//#region src/components/ScrollBar.vue.d.ts
|
|
528
|
-
declare const __VLS_export$21: import("
|
|
593
|
+
declare const __VLS_export$21: import("vue").DefineComponent<ScrollBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
529
594
|
"update:offset": (offset: number) => any;
|
|
530
|
-
}, string, import("
|
|
595
|
+
}, string, import("vue").PublicProps, Readonly<ScrollBarProps> & Readonly<{
|
|
531
596
|
"onUpdate:offset"?: ((offset: number) => any) | undefined;
|
|
532
|
-
}>, {}, {}, {}, {}, string, import("
|
|
597
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
533
598
|
declare const _default$21: typeof __VLS_export$21;
|
|
534
599
|
//#endregion
|
|
535
600
|
//#region src/components/Text.d.ts
|
|
601
|
+
/** Wrapping and truncation policies accepted by terminal text nodes. */
|
|
536
602
|
type TextWrap = boolean | "wrap" | "hard" | "truncate" | "truncate-start" | "truncate-middle" | "truncate-end" | "end" | "middle";
|
|
603
|
+
/** Text content, wrapping policy, and terminal appearance with compatibility aliases. */
|
|
537
604
|
interface TextProps extends FrescoAppearance {
|
|
538
|
-
/** Text content (alternative to slot) */
|
|
605
|
+
/** Text content (alternative to slot). @default undefined */
|
|
539
606
|
content?: string;
|
|
540
|
-
/** Ink-compatible text wrapping/truncation mode */
|
|
607
|
+
/** Ink-compatible text wrapping/truncation mode. @default false */
|
|
541
608
|
wrap?: TextWrap;
|
|
542
|
-
/** Foreground color (Ink alias) */
|
|
609
|
+
/** Foreground color (Ink alias). @default undefined */
|
|
543
610
|
color?: string;
|
|
544
|
-
/** Background color (Ink alias) */
|
|
611
|
+
/** Background color (Ink alias). @default undefined */
|
|
545
612
|
backgroundColor?: string;
|
|
546
|
-
/** Dim text (Ink alias) */
|
|
613
|
+
/** Dim text (Ink alias). @default false */
|
|
547
614
|
dimColor?: boolean;
|
|
548
|
-
/** Accessibility label, accepted for Ink API parity */
|
|
615
|
+
/** Accessibility label, accepted for Ink API parity. @default undefined */
|
|
549
616
|
"aria-label"?: string;
|
|
550
|
-
/** Hide from screen readers, accepted for Ink API parity */
|
|
617
|
+
/** Hide from screen readers, accepted for Ink API parity. @default false */
|
|
551
618
|
"aria-hidden"?: boolean;
|
|
552
619
|
}
|
|
620
|
+
/** Render terminal text from content or the default slot. */
|
|
553
621
|
declare const Text: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
554
622
|
content: StringConstructor;
|
|
555
623
|
wrap: PropType<TextProps["wrap"]>;
|
|
@@ -593,30 +661,30 @@ declare const Text: import("vue").DefineComponent<import("vue").ExtractPropTypes
|
|
|
593
661
|
hidden: boolean;
|
|
594
662
|
ariaHidden: boolean;
|
|
595
663
|
dim: boolean;
|
|
596
|
-
italic: boolean;
|
|
597
|
-
underline: boolean;
|
|
598
|
-
inverse: boolean;
|
|
599
664
|
blink: boolean;
|
|
600
665
|
dimColor: boolean;
|
|
666
|
+
italic: boolean;
|
|
667
|
+
underline: boolean;
|
|
601
668
|
strikethrough: boolean;
|
|
669
|
+
inverse: boolean;
|
|
602
670
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
603
671
|
//#endregion
|
|
604
672
|
//#region src/components/text-utility-types.d.ts
|
|
605
673
|
/** Public props for the Newline component. */
|
|
606
674
|
interface NewlineProps {
|
|
607
|
-
/** Number of newline characters to insert.
|
|
675
|
+
/** Number of newline characters to insert. @default 1 */
|
|
608
676
|
count?: number;
|
|
609
677
|
}
|
|
610
678
|
/** Public props for the Transform component. */
|
|
611
679
|
interface TransformProps {
|
|
612
|
-
/**
|
|
680
|
+
/** Nonempty replacement text in screen-reader mode; absence keeps transformed slot text. @default undefined */
|
|
613
681
|
accessibilityLabel?: string;
|
|
614
682
|
/** Transform each rendered line. */
|
|
615
683
|
transform: (children: string, index: number) => string;
|
|
616
684
|
}
|
|
617
685
|
//#endregion
|
|
618
686
|
//#region src/components/FrescoNewline.vue.d.ts
|
|
619
|
-
declare const __VLS_export$20: import("
|
|
687
|
+
declare const __VLS_export$20: import("vue").DefineComponent<NewlineProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NewlineProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
620
688
|
declare const _default$20: typeof __VLS_export$20;
|
|
621
689
|
//#endregion
|
|
622
690
|
//#region src/components/FrescoStatic.vue.d.ts
|
|
@@ -647,22 +715,22 @@ type __VLS_PrettifyLocal$5<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K
|
|
|
647
715
|
interface StaticProps<T = unknown> {
|
|
648
716
|
/** Items to render. */
|
|
649
717
|
items: T[];
|
|
650
|
-
/** Optional container style. */
|
|
718
|
+
/** Optional container style. @default undefined */
|
|
651
719
|
style?: FrescoStyle;
|
|
652
|
-
/** Render item callback retained for Ink API parity. */
|
|
720
|
+
/** Render item callback retained for Ink API parity. @default undefined */
|
|
653
721
|
children?: (item: T, index: number) => unknown;
|
|
654
722
|
}
|
|
655
723
|
/** Public props for the terminal Link component. */
|
|
656
724
|
interface LinkProps {
|
|
657
725
|
/** Link text. */
|
|
658
726
|
text: string;
|
|
659
|
-
/** URL displayed alongside the text when requested. */
|
|
727
|
+
/** URL displayed alongside the text when requested. @default undefined */
|
|
660
728
|
url?: string;
|
|
661
|
-
/** Foreground color.
|
|
729
|
+
/** Foreground color. @default "blue" */
|
|
662
730
|
fg?: string;
|
|
663
|
-
/** Whether to underline the link text.
|
|
731
|
+
/** Whether to underline the link text. @default true */
|
|
664
732
|
underline?: boolean;
|
|
665
|
-
/** Whether to show the URL in parentheses.
|
|
733
|
+
/** Whether to show the URL in parentheses. @default false */
|
|
666
734
|
showUrl?: boolean;
|
|
667
735
|
}
|
|
668
736
|
/** Visual variant supported by Badge. */
|
|
@@ -671,13 +739,13 @@ type BadgeVariant = "default" | "success" | "warning" | "error" | "info";
|
|
|
671
739
|
interface BadgeProps {
|
|
672
740
|
/** Badge text. */
|
|
673
741
|
label: string;
|
|
674
|
-
/** Badge variant.
|
|
742
|
+
/** Badge variant. @default "default" */
|
|
675
743
|
variant?: BadgeVariant;
|
|
676
|
-
/** Custom foreground color that overrides the variant. */
|
|
744
|
+
/** Custom foreground color that overrides the variant. @default undefined */
|
|
677
745
|
fg?: string;
|
|
678
|
-
/** Custom background color that overrides the variant. */
|
|
746
|
+
/** Custom background color that overrides the variant. @default undefined */
|
|
679
747
|
bg?: string;
|
|
680
|
-
/** Whether to show a border.
|
|
748
|
+
/** Whether to show a border. @default false */
|
|
681
749
|
border?: boolean;
|
|
682
750
|
}
|
|
683
751
|
/** Built-in animation frame sets for Spinner. */
|
|
@@ -698,15 +766,15 @@ declare const spinnerTypes: {
|
|
|
698
766
|
type SpinnerType = keyof typeof spinnerTypes;
|
|
699
767
|
/** Public props for the Spinner component. */
|
|
700
768
|
interface SpinnerProps {
|
|
701
|
-
/** Built-in frame set.
|
|
769
|
+
/** Built-in frame set. @default "dots" */
|
|
702
770
|
type?: SpinnerType;
|
|
703
|
-
/** Custom animation frames. */
|
|
771
|
+
/** Custom animation frames; absence uses the selected built-in frame set. @default undefined */
|
|
704
772
|
frames?: string[];
|
|
705
|
-
/** Animation interval in milliseconds.
|
|
773
|
+
/** Animation interval in milliseconds. @default 80 */
|
|
706
774
|
interval?: number;
|
|
707
|
-
/** Optional label rendered after the frame. */
|
|
775
|
+
/** Optional label rendered after the frame. @default undefined */
|
|
708
776
|
label?: string;
|
|
709
|
-
/** Foreground color. */
|
|
777
|
+
/** Foreground color. @default undefined */
|
|
710
778
|
fg?: string;
|
|
711
779
|
}
|
|
712
780
|
//#endregion
|
|
@@ -714,7 +782,7 @@ interface SpinnerProps {
|
|
|
714
782
|
type __VLS_Slots$4 = {
|
|
715
783
|
default?: () => unknown;
|
|
716
784
|
};
|
|
717
|
-
declare const __VLS_base$4: import("
|
|
785
|
+
declare const __VLS_base$4: import("vue").DefineComponent<TransformProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TransformProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
718
786
|
declare const __VLS_export$18: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
719
787
|
declare const _default$18: typeof __VLS_export$18;
|
|
720
788
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
@@ -729,11 +797,14 @@ interface CodePosition {
|
|
|
729
797
|
readonly line: number;
|
|
730
798
|
readonly column: number;
|
|
731
799
|
}
|
|
800
|
+
/** Anchor and focus positions defining a grapheme-based code selection. */
|
|
732
801
|
interface CodeSelection {
|
|
733
802
|
readonly anchor: CodePosition;
|
|
734
803
|
readonly focus: CodePosition;
|
|
735
804
|
}
|
|
805
|
+
/** Display severity of an annotation in the code viewport. */
|
|
736
806
|
type CodeDiagnosticSeverity = "error" | "warning" | "info" | "hint";
|
|
807
|
+
/** Message and optional grapheme range attached to one logical code line. */
|
|
737
808
|
interface CodeDiagnostic {
|
|
738
809
|
/** Zero-based logical line in the buffer. */
|
|
739
810
|
readonly line: number;
|
|
@@ -742,9 +813,11 @@ interface CodeDiagnostic {
|
|
|
742
813
|
readonly severity?: CodeDiagnosticSeverity;
|
|
743
814
|
readonly message: string;
|
|
744
815
|
}
|
|
816
|
+
/** A literal source fragment with optional terminal appearance. */
|
|
745
817
|
interface CodeSyntaxToken extends FrescoAppearance {
|
|
746
818
|
readonly text: string;
|
|
747
819
|
}
|
|
820
|
+
/** Language and line coordinates supplied to a synchronous syntax provider. */
|
|
748
821
|
interface CodeSyntaxContext {
|
|
749
822
|
readonly language?: string;
|
|
750
823
|
readonly line: number;
|
|
@@ -761,25 +834,83 @@ interface CodeBuffer {
|
|
|
761
834
|
replace(content: string): void;
|
|
762
835
|
clear(): void;
|
|
763
836
|
}
|
|
837
|
+
/** Source, buffer, selection, diagnostics, syntax provider, and viewport inputs for Code. */
|
|
764
838
|
interface CodeProps {
|
|
839
|
+
/** Source text used when no buffer is supplied.
|
|
840
|
+
* @default ""
|
|
841
|
+
*/
|
|
765
842
|
code?: string;
|
|
843
|
+
/** Streaming buffer whose current content takes precedence over code.
|
|
844
|
+
* @default undefined
|
|
845
|
+
*/
|
|
766
846
|
buffer?: CodeBuffer;
|
|
847
|
+
/** Language label displayed above the code and passed to syntax providers.
|
|
848
|
+
* @default undefined
|
|
849
|
+
*/
|
|
767
850
|
language?: string;
|
|
851
|
+
/** Render line-number gutters.
|
|
852
|
+
* @default true
|
|
853
|
+
*/
|
|
768
854
|
lineNumbers?: boolean;
|
|
855
|
+
/** Displayed number assigned to the first source line.
|
|
856
|
+
* @default 1
|
|
857
|
+
*/
|
|
769
858
|
startLine?: number;
|
|
859
|
+
/** Displayed line numbers to highlight; omission creates a fresh array per component instance.
|
|
860
|
+
* @default []
|
|
861
|
+
*/
|
|
770
862
|
highlightLines?: readonly number[];
|
|
863
|
+
/** Border style; none also removes padding.
|
|
864
|
+
* @default "single"
|
|
865
|
+
*/
|
|
771
866
|
border?: "single" | "double" | "rounded" | "none";
|
|
867
|
+
/** Fallback foreground color for source spans.
|
|
868
|
+
* @default "white"
|
|
869
|
+
*/
|
|
772
870
|
fg?: string;
|
|
871
|
+
/** Foreground color of line-number gutters.
|
|
872
|
+
* @default "gray"
|
|
873
|
+
*/
|
|
773
874
|
lineNumberFg?: string;
|
|
875
|
+
/** Background color of highlighted, unselected source spans.
|
|
876
|
+
* @default "blue"
|
|
877
|
+
*/
|
|
774
878
|
highlightBg?: string;
|
|
879
|
+
/** Background color of selected source spans.
|
|
880
|
+
* @default "blue"
|
|
881
|
+
*/
|
|
775
882
|
selectionBg?: string;
|
|
883
|
+
/** Diagnostics by zero-based source line; omission creates a fresh array per component instance.
|
|
884
|
+
* @default []
|
|
885
|
+
*/
|
|
776
886
|
diagnostics?: readonly CodeDiagnostic[];
|
|
887
|
+
/** Optional consumer-owned syntax tokenizer.
|
|
888
|
+
* @default undefined
|
|
889
|
+
*/
|
|
777
890
|
syntaxProvider?: CodeSyntaxProvider;
|
|
891
|
+
/** Controlled selection; omission retains the component internal selection.
|
|
892
|
+
* @default undefined
|
|
893
|
+
*/
|
|
778
894
|
selection?: CodeSelection;
|
|
895
|
+
/** Enable keyboard selection while focused.
|
|
896
|
+
* @default true
|
|
897
|
+
*/
|
|
779
898
|
selectable?: boolean;
|
|
899
|
+
/** Own keyboard selection while selectable and highlight the active gutter.
|
|
900
|
+
* @default false
|
|
901
|
+
*/
|
|
780
902
|
focused?: boolean;
|
|
903
|
+
/** Requested first visible source-line index, clamped to the available viewport.
|
|
904
|
+
* @default 0
|
|
905
|
+
*/
|
|
781
906
|
offset?: number;
|
|
907
|
+
/** Visible source-line count; omission displays every line.
|
|
908
|
+
* @default undefined
|
|
909
|
+
*/
|
|
782
910
|
viewportSize?: number;
|
|
911
|
+
/** Extra source lines retained outside each viewport edge.
|
|
912
|
+
* @default 2
|
|
913
|
+
*/
|
|
783
914
|
overscan?: number;
|
|
784
915
|
}
|
|
785
916
|
//#endregion
|
|
@@ -790,6 +921,7 @@ declare function createCodeBuffer(initial?: string, options?: {
|
|
|
790
921
|
}): CodeBuffer;
|
|
791
922
|
//#endregion
|
|
792
923
|
//#region src/components/Code.d.ts
|
|
924
|
+
/** Render a bounded code viewport with selection, diagnostics, and optional syntax tokens. */
|
|
793
925
|
declare const Code: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
794
926
|
code: {
|
|
795
927
|
type: StringConstructor;
|
|
@@ -1031,15 +1163,15 @@ interface MarkdownThematicBreakBlock {
|
|
|
1031
1163
|
type MarkdownBlock = MarkdownHeadingBlock | MarkdownParagraphBlock | MarkdownQuoteBlock | MarkdownCodeBlock | MarkdownListBlock | MarkdownThematicBreakBlock;
|
|
1032
1164
|
/** Theme and extension inputs supplied to Markdown renderers. */
|
|
1033
1165
|
interface MarkdownRenderOptions {
|
|
1034
|
-
/** Foreground color used for headings. */
|
|
1166
|
+
/** Foreground color used for headings. @default undefined */
|
|
1035
1167
|
headingFg?: string;
|
|
1036
|
-
/** Foreground color used for links. */
|
|
1168
|
+
/** Foreground color used for links. @default undefined */
|
|
1037
1169
|
linkFg?: string;
|
|
1038
|
-
/** Foreground color used for quoted markers. */
|
|
1170
|
+
/** Foreground color used for quoted markers. @default undefined */
|
|
1039
1171
|
quoteFg?: string;
|
|
1040
|
-
/** Foreground color used for code. */
|
|
1172
|
+
/** Foreground color used for code. @default undefined */
|
|
1041
1173
|
codeFg?: string;
|
|
1042
|
-
/**
|
|
1174
|
+
/** Optional custom providers consulted before the built-in block renderer. @default undefined */
|
|
1043
1175
|
providers?: readonly MarkdownBlockProvider[];
|
|
1044
1176
|
}
|
|
1045
1177
|
/** Extension that can replace rendering for selected Markdown blocks. */
|
|
@@ -1056,12 +1188,12 @@ interface MarkdownRenderer {
|
|
|
1056
1188
|
interface MarkdownProps extends MarkdownRenderOptions {
|
|
1057
1189
|
/** CommonMark source to render. */
|
|
1058
1190
|
source: string;
|
|
1059
|
-
/**
|
|
1191
|
+
/** Complete renderer replacement; absence selects the built-in renderer. @default undefined */
|
|
1060
1192
|
renderer?: MarkdownRenderer;
|
|
1061
1193
|
}
|
|
1062
1194
|
//#endregion
|
|
1063
1195
|
//#region src/components/FrescoMarkdown.vue.d.ts
|
|
1064
|
-
declare const __VLS_export$17: import("
|
|
1196
|
+
declare const __VLS_export$17: import("vue").DefineComponent<MarkdownProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MarkdownProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1065
1197
|
declare const _default$17: typeof __VLS_export$17;
|
|
1066
1198
|
//#endregion
|
|
1067
1199
|
//#region src/components/markdown.d.ts
|
|
@@ -1077,53 +1209,107 @@ declare function renderMarkdown(source: string, options?: Readonly<MarkdownRende
|
|
|
1077
1209
|
interface FrameBufferProps {
|
|
1078
1210
|
/** Exact terminal rows painted without wrapping or reinterpretation. */
|
|
1079
1211
|
lines: readonly string[];
|
|
1080
|
-
/** Layout applied before the native renderer paints the supplied rows. */
|
|
1212
|
+
/** Layout applied before the native renderer paints the supplied rows. @default undefined */
|
|
1081
1213
|
style?: FrescoStyle;
|
|
1082
|
-
/** Optional foreground color shared by every supplied row. */
|
|
1214
|
+
/** Optional foreground color shared by every supplied row. @default undefined */
|
|
1083
1215
|
fg?: string;
|
|
1084
|
-
/** Optional background color shared by every supplied row. */
|
|
1216
|
+
/** Optional background color shared by every supplied row. @default undefined */
|
|
1085
1217
|
bg?: string;
|
|
1086
|
-
/** Draw supplied rows with bold terminal cells. @default false */
|
|
1218
|
+
/** Draw supplied rows with bold terminal cells; explicit undefined stays absent. @default false */
|
|
1087
1219
|
bold?: boolean;
|
|
1088
|
-
/** Draw supplied rows with dim terminal cells. @default false */
|
|
1220
|
+
/** Draw supplied rows with dim terminal cells; explicit undefined stays absent. @default false */
|
|
1089
1221
|
dim?: boolean;
|
|
1090
|
-
/** Draw supplied rows with italic terminal cells. @default false */
|
|
1222
|
+
/** Draw supplied rows with italic terminal cells; explicit undefined stays absent. @default false */
|
|
1091
1223
|
italic?: boolean;
|
|
1092
|
-
/** Draw supplied rows with underlined terminal cells. @default false */
|
|
1224
|
+
/** Draw supplied rows with underlined terminal cells; explicit undefined stays absent. @default false */
|
|
1093
1225
|
underline?: boolean;
|
|
1094
|
-
/** Draw supplied rows with inverted terminal colors. @default false */
|
|
1226
|
+
/** Draw supplied rows with inverted terminal colors; explicit undefined stays absent. @default false */
|
|
1095
1227
|
inverse?: boolean;
|
|
1096
|
-
/** Optional border around the computed frame-buffer layout. */
|
|
1228
|
+
/** Optional border around the computed frame-buffer layout. @default undefined */
|
|
1097
1229
|
border?: FrescoBorderStyle;
|
|
1098
1230
|
}
|
|
1099
1231
|
//#endregion
|
|
1100
1232
|
//#region src/components/FrescoFrameBuffer.vue.d.ts
|
|
1101
|
-
declare const __VLS_export$16: import("
|
|
1233
|
+
declare const __VLS_export$16: import("vue").DefineComponent<FrameBufferProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FrameBufferProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1102
1234
|
declare const _default$16: typeof __VLS_export$16;
|
|
1103
1235
|
//#endregion
|
|
1104
1236
|
//#region src/components/Diff.d.ts
|
|
1237
|
+
/** Unified or side-by-side layout for changed lines. */
|
|
1105
1238
|
type DiffView = "unified" | "split";
|
|
1239
|
+
/** Source texts, context, appearance, and viewport bounds for a terminal diff. */
|
|
1106
1240
|
interface DiffProps {
|
|
1107
1241
|
oldText: string;
|
|
1108
1242
|
newText: string;
|
|
1243
|
+
/** Unified or side-by-side layout.
|
|
1244
|
+
* @default "unified"
|
|
1245
|
+
*/
|
|
1109
1246
|
view?: DiffView;
|
|
1247
|
+
/** Context lines retained around changes.
|
|
1248
|
+
* @default 3
|
|
1249
|
+
*/
|
|
1110
1250
|
context?: number;
|
|
1251
|
+
/** Render old and new line-number gutters.
|
|
1252
|
+
* @default true
|
|
1253
|
+
*/
|
|
1111
1254
|
showLineNumbers?: boolean;
|
|
1255
|
+
/** First requested diff row when viewportSize is supplied.
|
|
1256
|
+
* @default 0
|
|
1257
|
+
*/
|
|
1112
1258
|
viewportStart?: number;
|
|
1259
|
+
/** Requested visible row count; omission renders every diff row.
|
|
1260
|
+
* @default undefined
|
|
1261
|
+
*/
|
|
1113
1262
|
viewportSize?: number;
|
|
1263
|
+
/** Extra rows retained before and after the requested viewport.
|
|
1264
|
+
* @default 2
|
|
1265
|
+
*/
|
|
1114
1266
|
overscan?: number;
|
|
1267
|
+
/** Optional label for the old source.
|
|
1268
|
+
* @default undefined
|
|
1269
|
+
*/
|
|
1115
1270
|
oldLabel?: string;
|
|
1271
|
+
/** Optional label for the new source.
|
|
1272
|
+
* @default undefined
|
|
1273
|
+
*/
|
|
1116
1274
|
newLabel?: string;
|
|
1275
|
+
/** Foreground color of unchanged text.
|
|
1276
|
+
* @default "white"
|
|
1277
|
+
*/
|
|
1117
1278
|
contextFg?: string;
|
|
1279
|
+
/** Foreground color of added text.
|
|
1280
|
+
* @default "green"
|
|
1281
|
+
*/
|
|
1118
1282
|
addedFg?: string;
|
|
1283
|
+
/** Background color of added text.
|
|
1284
|
+
* @default undefined
|
|
1285
|
+
*/
|
|
1119
1286
|
addedBg?: string;
|
|
1287
|
+
/** Foreground color of removed text.
|
|
1288
|
+
* @default "red"
|
|
1289
|
+
*/
|
|
1120
1290
|
removedFg?: string;
|
|
1291
|
+
/** Background color of removed text.
|
|
1292
|
+
* @default undefined
|
|
1293
|
+
*/
|
|
1121
1294
|
removedBg?: string;
|
|
1295
|
+
/** Foreground color of hunk headers.
|
|
1296
|
+
* @default "cyan"
|
|
1297
|
+
*/
|
|
1122
1298
|
hunkFg?: string;
|
|
1299
|
+
/** Foreground color of line-number gutters.
|
|
1300
|
+
* @default "gray"
|
|
1301
|
+
*/
|
|
1123
1302
|
lineNumberFg?: string;
|
|
1303
|
+
/** Background color of changed segments in added lines.
|
|
1304
|
+
* @default "darkgreen"
|
|
1305
|
+
*/
|
|
1124
1306
|
addedHighlightBg?: string;
|
|
1307
|
+
/** Background color of changed segments in removed lines.
|
|
1308
|
+
* @default "darkred"
|
|
1309
|
+
*/
|
|
1125
1310
|
removedHighlightBg?: string;
|
|
1126
1311
|
}
|
|
1312
|
+
/** Render unified or split text differences within a bounded terminal viewport. */
|
|
1127
1313
|
declare const Diff: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1128
1314
|
oldText: {
|
|
1129
1315
|
type: StringConstructor;
|
|
@@ -1269,24 +1455,40 @@ declare const Diff: import("vue").DefineComponent<import("vue").ExtractPropTypes
|
|
|
1269
1455
|
/**
|
|
1270
1456
|
* Standalone line-number gutter for code, diagnostics, and diff views.
|
|
1271
1457
|
*/
|
|
1458
|
+
/** Number, gutter width, separator, and colors for a source-line label. */
|
|
1272
1459
|
interface LineNumberProps {
|
|
1273
1460
|
/** Line number displayed in the gutter. */
|
|
1274
1461
|
value: number;
|
|
1275
|
-
/** Minimum character width reserved for the number.
|
|
1462
|
+
/** Minimum character width reserved for the number.
|
|
1463
|
+
* @default 0
|
|
1464
|
+
*/
|
|
1276
1465
|
width?: number;
|
|
1277
|
-
/** Text
|
|
1466
|
+
/** Text following the padded line number.
|
|
1467
|
+
* @default "│"
|
|
1468
|
+
*/
|
|
1278
1469
|
separator?: string;
|
|
1279
|
-
/** Spaces rendered on each side of the separator.
|
|
1470
|
+
/** Spaces rendered on each side of the separator.
|
|
1471
|
+
* @default 1
|
|
1472
|
+
*/
|
|
1280
1473
|
padding?: number;
|
|
1281
|
-
/** Default foreground color.
|
|
1474
|
+
/** Default foreground color.
|
|
1475
|
+
* @default "gray"
|
|
1476
|
+
*/
|
|
1282
1477
|
fg?: string;
|
|
1283
|
-
/** Whether this line is the active line.
|
|
1478
|
+
/** Whether this line is the active line.
|
|
1479
|
+
* @default false
|
|
1480
|
+
*/
|
|
1284
1481
|
active?: boolean;
|
|
1285
|
-
/** Foreground color used for the active line.
|
|
1482
|
+
/** Foreground color used for the active line.
|
|
1483
|
+
* @default "white"
|
|
1484
|
+
*/
|
|
1286
1485
|
activeFg?: string;
|
|
1287
|
-
/** Background color used for the active line.
|
|
1486
|
+
/** Background color used for the active line.
|
|
1487
|
+
* @default undefined
|
|
1488
|
+
*/
|
|
1288
1489
|
activeBg?: string;
|
|
1289
1490
|
}
|
|
1491
|
+
/** Render a padded source-line gutter as one terminal text node. */
|
|
1290
1492
|
declare const LineNumber: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1291
1493
|
value: {
|
|
1292
1494
|
type: NumberConstructor;
|
|
@@ -1353,54 +1555,98 @@ declare const LineNumber: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1353
1555
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1354
1556
|
//#endregion
|
|
1355
1557
|
//#region src/components/FrescoLink.vue.d.ts
|
|
1356
|
-
declare const __VLS_export$15: import("
|
|
1558
|
+
declare const __VLS_export$15: import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1357
1559
|
declare const _default$15: typeof __VLS_export$15;
|
|
1358
1560
|
//#endregion
|
|
1359
1561
|
//#region src/components/TextInput.d.ts
|
|
1562
|
+
/** Controlled or initial single-line text, focus, validation, and editing events. */
|
|
1360
1563
|
interface TextInputProps {
|
|
1361
|
-
/**
|
|
1564
|
+
/** Text used initially and synchronized when a defined v-model value changes.
|
|
1565
|
+
* @default undefined
|
|
1566
|
+
*/
|
|
1362
1567
|
modelValue?: string;
|
|
1363
|
-
/** Initial
|
|
1568
|
+
/** Initial text when modelValue is omitted; later changes do not reset editing.
|
|
1569
|
+
* @default ""
|
|
1570
|
+
*/
|
|
1364
1571
|
defaultValue?: string;
|
|
1365
|
-
/** Placeholder text
|
|
1572
|
+
/** Placeholder text.
|
|
1573
|
+
* @default ""
|
|
1574
|
+
*/
|
|
1366
1575
|
placeholder?: string;
|
|
1367
|
-
/** Whether input is focused
|
|
1576
|
+
/** Whether input is focused when the focused alias is omitted.
|
|
1577
|
+
* @default false
|
|
1578
|
+
*/
|
|
1368
1579
|
focus?: boolean;
|
|
1369
|
-
/**
|
|
1580
|
+
/** Focus alias; a defined value takes precedence over focus, including false.
|
|
1581
|
+
* @default undefined
|
|
1582
|
+
*/
|
|
1370
1583
|
focused?: boolean;
|
|
1371
|
-
/** Password mode
|
|
1584
|
+
/** Password mode that masks displayed input.
|
|
1585
|
+
* @default false
|
|
1586
|
+
*/
|
|
1372
1587
|
mask?: boolean;
|
|
1373
|
-
/**
|
|
1588
|
+
/** Character used to mask input.
|
|
1589
|
+
* @default "*"
|
|
1590
|
+
*/
|
|
1374
1591
|
maskChar?: string;
|
|
1375
|
-
/** Input width
|
|
1592
|
+
/** Input width.
|
|
1593
|
+
* @default undefined
|
|
1594
|
+
*/
|
|
1376
1595
|
width?: FrescoDimension;
|
|
1377
|
-
/** Foreground color
|
|
1596
|
+
/** Foreground color.
|
|
1597
|
+
* @default undefined
|
|
1598
|
+
*/
|
|
1378
1599
|
fg?: string;
|
|
1379
|
-
/** Background color
|
|
1600
|
+
/** Background color.
|
|
1601
|
+
* @default undefined
|
|
1602
|
+
*/
|
|
1380
1603
|
bg?: string;
|
|
1381
|
-
/** Validate
|
|
1604
|
+
/** Validate text; false or any string is invalid, and a string is its message.
|
|
1605
|
+
* @default undefined
|
|
1606
|
+
*/
|
|
1382
1607
|
validate?: (value: string) => boolean | string | null | undefined;
|
|
1383
|
-
/** Called when
|
|
1608
|
+
/** Called when local editing changes text.
|
|
1609
|
+
* @default undefined
|
|
1610
|
+
*/
|
|
1384
1611
|
"onUpdate:modelValue"?: (value: string) => void;
|
|
1385
|
-
/** Called when
|
|
1612
|
+
/** Called on Enter when no IME composition is active.
|
|
1613
|
+
* @default undefined
|
|
1614
|
+
*/
|
|
1386
1615
|
onSubmit?: (value: string) => void;
|
|
1387
|
-
/** Called when
|
|
1616
|
+
/** Called on Escape when no IME composition is active.
|
|
1617
|
+
* @default undefined
|
|
1618
|
+
*/
|
|
1388
1619
|
onCancel?: () => void;
|
|
1389
|
-
/** Called
|
|
1620
|
+
/** Called with sorted grapheme bounds when the selection changes.
|
|
1621
|
+
* @default undefined
|
|
1622
|
+
*/
|
|
1390
1623
|
onSelectionChange?: (start: number, end: number) => void;
|
|
1391
|
-
/** Called
|
|
1624
|
+
/** Called with copied selection text; does not itself write a system clipboard.
|
|
1625
|
+
* @default undefined
|
|
1626
|
+
*/
|
|
1392
1627
|
onCopy?: (value: string) => void;
|
|
1393
|
-
/** Called
|
|
1628
|
+
/** Called with cut selection text; does not itself write a system clipboard.
|
|
1629
|
+
* @default undefined
|
|
1630
|
+
*/
|
|
1394
1631
|
onCut?: (value: string) => void;
|
|
1395
|
-
/** Called
|
|
1632
|
+
/** Called immediately and whenever the current validation result changes.
|
|
1633
|
+
* @default undefined
|
|
1634
|
+
*/
|
|
1396
1635
|
onValidationChange?: (valid: boolean, message?: string) => void;
|
|
1397
|
-
/**
|
|
1636
|
+
/** Listener for the start of IME composition.
|
|
1637
|
+
* @default undefined
|
|
1638
|
+
*/
|
|
1398
1639
|
onCompositionStart?: () => void;
|
|
1399
|
-
/**
|
|
1640
|
+
/** Listener for IME composition updates.
|
|
1641
|
+
* @default undefined
|
|
1642
|
+
*/
|
|
1400
1643
|
onCompositionUpdate?: (text: string, cursor: number) => void;
|
|
1401
|
-
/**
|
|
1644
|
+
/** Listener for the end of IME composition.
|
|
1645
|
+
* @default undefined
|
|
1646
|
+
*/
|
|
1402
1647
|
onCompositionEnd?: (text: string) => void;
|
|
1403
1648
|
}
|
|
1649
|
+
/** Edit single-line terminal text with grapheme-aware selection and IME support. */
|
|
1404
1650
|
declare const TextInput: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1405
1651
|
modelValue: {
|
|
1406
1652
|
type: StringConstructor;
|
|
@@ -1436,7 +1682,7 @@ declare const TextInput: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
1436
1682
|
validate: PropType<TextInputProps["validate"]>;
|
|
1437
1683
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1438
1684
|
[key: string]: any;
|
|
1439
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
1685
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "submit" | "cancel" | "selectionChange" | "copy" | "cut" | "validationChange" | "compositionstart" | "compositionupdate" | "compositionend")[], "update:modelValue" | "submit" | "cancel" | "selectionChange" | "copy" | "cut" | "validationChange" | "compositionstart" | "compositionupdate" | "compositionend", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1440
1686
|
modelValue: {
|
|
1441
1687
|
type: StringConstructor;
|
|
1442
1688
|
default: undefined;
|
|
@@ -1471,58 +1717,90 @@ declare const TextInput: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
1471
1717
|
validate: PropType<TextInputProps["validate"]>;
|
|
1472
1718
|
}>> & Readonly<{
|
|
1473
1719
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1474
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1475
1720
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1476
|
-
|
|
1477
|
-
onCompositionupdate?: ((...args: any[]) => any) | undefined;
|
|
1478
|
-
onCompositionend?: ((...args: any[]) => any) | undefined;
|
|
1721
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1479
1722
|
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
|
1480
1723
|
onCopy?: ((...args: any[]) => any) | undefined;
|
|
1481
1724
|
onCut?: ((...args: any[]) => any) | undefined;
|
|
1482
1725
|
onValidationChange?: ((...args: any[]) => any) | undefined;
|
|
1726
|
+
onCompositionstart?: ((...args: any[]) => any) | undefined;
|
|
1727
|
+
onCompositionupdate?: ((...args: any[]) => any) | undefined;
|
|
1728
|
+
onCompositionend?: ((...args: any[]) => any) | undefined;
|
|
1483
1729
|
}>, {
|
|
1484
1730
|
focused: boolean;
|
|
1485
1731
|
modelValue: string;
|
|
1486
1732
|
focus: boolean;
|
|
1487
|
-
defaultValue: string;
|
|
1488
1733
|
placeholder: string;
|
|
1734
|
+
defaultValue: string;
|
|
1489
1735
|
mask: boolean;
|
|
1490
1736
|
maskChar: string;
|
|
1491
1737
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1492
1738
|
//#endregion
|
|
1493
1739
|
//#region src/components/TextArea.d.ts
|
|
1740
|
+
/** Controlled or initial multiline text, editing state, viewport, and emitted events. */
|
|
1494
1741
|
interface TextAreaProps {
|
|
1495
|
-
/**
|
|
1742
|
+
/** Text used initially and synchronized when a defined v-model value changes.
|
|
1743
|
+
* @default undefined
|
|
1744
|
+
*/
|
|
1496
1745
|
modelValue?: string;
|
|
1497
|
-
/** Initial
|
|
1746
|
+
/** Initial text when modelValue is omitted; later changes do not reset editing.
|
|
1747
|
+
* @default ""
|
|
1748
|
+
*/
|
|
1498
1749
|
defaultValue?: string;
|
|
1499
|
-
/**
|
|
1750
|
+
/** Text displayed only while empty and unfocused.
|
|
1751
|
+
* @default undefined
|
|
1752
|
+
*/
|
|
1500
1753
|
placeholder?: string;
|
|
1501
|
-
/**
|
|
1754
|
+
/** Visible rows, floored to an integer; invalid or nonpositive values become one.
|
|
1755
|
+
* @default 5
|
|
1756
|
+
*/
|
|
1502
1757
|
rows?: number;
|
|
1503
|
-
/**
|
|
1758
|
+
/** Own keyboard input unless disabled, and show the focused cursor and highlight.
|
|
1759
|
+
* @default false
|
|
1760
|
+
*/
|
|
1504
1761
|
focused?: boolean;
|
|
1505
|
-
/** Prevent editing and render dimmed text.
|
|
1762
|
+
/** Prevent editing and render dimmed text.
|
|
1763
|
+
* @default false
|
|
1764
|
+
*/
|
|
1506
1765
|
disabled?: boolean;
|
|
1507
|
-
/** Show one-based line numbers.
|
|
1766
|
+
/** Show one-based line numbers.
|
|
1767
|
+
* @default false
|
|
1768
|
+
*/
|
|
1508
1769
|
lineNumbers?: boolean;
|
|
1509
|
-
/** Border style.
|
|
1770
|
+
/** Border style; none also removes padding and the two border rows.
|
|
1771
|
+
* @default "single"
|
|
1772
|
+
*/
|
|
1510
1773
|
border?: "single" | "double" | "rounded" | "none";
|
|
1511
|
-
/** Foreground color.
|
|
1774
|
+
/** Foreground color.
|
|
1775
|
+
* @default undefined
|
|
1776
|
+
*/
|
|
1512
1777
|
fg?: string;
|
|
1513
|
-
/** Placeholder foreground color.
|
|
1778
|
+
/** Placeholder foreground color.
|
|
1779
|
+
* @default "gray"
|
|
1780
|
+
*/
|
|
1514
1781
|
placeholderFg?: string;
|
|
1515
|
-
/** Line number foreground color.
|
|
1782
|
+
/** Line number foreground color.
|
|
1783
|
+
* @default "gray"
|
|
1784
|
+
*/
|
|
1516
1785
|
lineNumberFg?: string;
|
|
1517
|
-
/**
|
|
1786
|
+
/** Zero-based cursor line; an omitted initial line becomes zero if a column is set.
|
|
1787
|
+
* @default undefined
|
|
1788
|
+
*/
|
|
1518
1789
|
cursorLine?: number;
|
|
1519
|
-
/**
|
|
1790
|
+
/** Grapheme cursor column; omitted initial coordinates put the cursor at text end.
|
|
1791
|
+
* @default undefined
|
|
1792
|
+
*/
|
|
1520
1793
|
cursorColumn?: number;
|
|
1521
|
-
/** Glyph rendered at the focused cursor.
|
|
1794
|
+
/** Glyph rendered at the focused cursor.
|
|
1795
|
+
* @default "│"
|
|
1796
|
+
*/
|
|
1522
1797
|
cursor?: string;
|
|
1523
|
-
/** Validate
|
|
1798
|
+
/** Validate text; false or any string is invalid, and a string is its message.
|
|
1799
|
+
* @default undefined
|
|
1800
|
+
*/
|
|
1524
1801
|
validate?: (value: string) => boolean | string | null | undefined;
|
|
1525
1802
|
}
|
|
1803
|
+
/** Edit multiline terminal text with grapheme-aware selection and bounded visible rows. */
|
|
1526
1804
|
declare const TextArea: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1527
1805
|
modelValue: {
|
|
1528
1806
|
type: StringConstructor;
|
|
@@ -1571,7 +1849,7 @@ declare const TextArea: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1571
1849
|
validate: PropType<TextAreaProps["validate"]>;
|
|
1572
1850
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1573
1851
|
[key: string]: any;
|
|
1574
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
1852
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:cursorLine" | "update:cursorColumn" | "submit" | "cancel" | "selectionChange" | "copy" | "cut" | "validationChange" | "compositionstart" | "compositionupdate" | "compositionend")[], "update:modelValue" | "update:cursorLine" | "update:cursorColumn" | "submit" | "cancel" | "selectionChange" | "copy" | "cut" | "validationChange" | "compositionstart" | "compositionupdate" | "compositionend", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1575
1853
|
modelValue: {
|
|
1576
1854
|
type: StringConstructor;
|
|
1577
1855
|
default: undefined;
|
|
@@ -1619,17 +1897,17 @@ declare const TextArea: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1619
1897
|
validate: PropType<TextAreaProps["validate"]>;
|
|
1620
1898
|
}>> & Readonly<{
|
|
1621
1899
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1622
|
-
|
|
1900
|
+
"onUpdate:cursorLine"?: ((...args: any[]) => any) | undefined;
|
|
1901
|
+
"onUpdate:cursorColumn"?: ((...args: any[]) => any) | undefined;
|
|
1623
1902
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1624
|
-
|
|
1625
|
-
onCompositionupdate?: ((...args: any[]) => any) | undefined;
|
|
1626
|
-
onCompositionend?: ((...args: any[]) => any) | undefined;
|
|
1903
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1627
1904
|
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
|
1628
1905
|
onCopy?: ((...args: any[]) => any) | undefined;
|
|
1629
1906
|
onCut?: ((...args: any[]) => any) | undefined;
|
|
1630
1907
|
onValidationChange?: ((...args: any[]) => any) | undefined;
|
|
1631
|
-
|
|
1632
|
-
|
|
1908
|
+
onCompositionstart?: ((...args: any[]) => any) | undefined;
|
|
1909
|
+
onCompositionupdate?: ((...args: any[]) => any) | undefined;
|
|
1910
|
+
onCompositionend?: ((...args: any[]) => any) | undefined;
|
|
1633
1911
|
}>, {
|
|
1634
1912
|
focused: boolean;
|
|
1635
1913
|
cursor: string;
|
|
@@ -1648,6 +1926,7 @@ type CollectionValueKey<Value> = Value extends object ? Extract<keyof Value, str
|
|
|
1648
1926
|
type CollectionBy<Value> = CollectionValueKey<Value> | ((left: Value, right: Value) => boolean);
|
|
1649
1927
|
//#endregion
|
|
1650
1928
|
//#region src/components/Select.d.ts
|
|
1929
|
+
/** Labelled selectable value with stable render identity and disabled state. */
|
|
1651
1930
|
interface SelectOption<Value = string> {
|
|
1652
1931
|
/** Stable render identity when the value is not a Vue vnode key. */
|
|
1653
1932
|
key?: string | number | symbol;
|
|
@@ -1655,32 +1934,57 @@ interface SelectOption<Value = string> {
|
|
|
1655
1934
|
value: Value;
|
|
1656
1935
|
disabled?: boolean;
|
|
1657
1936
|
}
|
|
1937
|
+
/** Object property accepted as the selected-value comparison key. */
|
|
1658
1938
|
type SelectValueKey<Value> = CollectionValueKey<Value>;
|
|
1939
|
+
/** Property-key or callback policy for comparing selected values. */
|
|
1659
1940
|
type SelectBy<Value> = CollectionBy<Value>;
|
|
1941
|
+
/** Options, selected value, comparison policy, focus, and appearance for Select. */
|
|
1660
1942
|
interface SelectProps<Value = string> {
|
|
1661
1943
|
/** Options to display */
|
|
1662
1944
|
options: readonly SelectOption<Value>[];
|
|
1663
|
-
/** Currently selected value
|
|
1945
|
+
/** Currently selected value
|
|
1946
|
+
* @default undefined
|
|
1947
|
+
*/
|
|
1664
1948
|
modelValue?: Value;
|
|
1665
|
-
/** Compare values by an object key or a custom equality function
|
|
1949
|
+
/** Compare values by an object key or a custom equality function
|
|
1950
|
+
* @default undefined
|
|
1951
|
+
*/
|
|
1666
1952
|
by?: SelectBy<Value>;
|
|
1667
|
-
/**
|
|
1953
|
+
/** Reserved placeholder value; the current renderer does not display it.
|
|
1954
|
+
* @default "Select an option"
|
|
1955
|
+
*/
|
|
1668
1956
|
placeholder?: string;
|
|
1669
|
-
/** Maximum visible options before the selection window scrolls
|
|
1957
|
+
/** Maximum visible options before the selection window scrolls
|
|
1958
|
+
* @default undefined
|
|
1959
|
+
*/
|
|
1670
1960
|
maxHeight?: number;
|
|
1671
|
-
/** Whether the select is focused
|
|
1961
|
+
/** Whether the select is focused
|
|
1962
|
+
* @default false
|
|
1963
|
+
*/
|
|
1672
1964
|
focused?: boolean;
|
|
1673
|
-
/** Indicator for
|
|
1965
|
+
/** Indicator for the highlighted item.
|
|
1966
|
+
* @default "> "
|
|
1967
|
+
*/
|
|
1674
1968
|
indicator?: string;
|
|
1675
|
-
/** Indicator for
|
|
1969
|
+
/** Indicator for items outside the highlight.
|
|
1970
|
+
* @default " "
|
|
1971
|
+
*/
|
|
1676
1972
|
indicatorEmpty?: string;
|
|
1677
|
-
/** Foreground color
|
|
1973
|
+
/** Foreground color
|
|
1974
|
+
* @default undefined
|
|
1975
|
+
*/
|
|
1678
1976
|
fg?: string;
|
|
1679
|
-
/** Background color
|
|
1977
|
+
/** Background color
|
|
1978
|
+
* @default undefined
|
|
1979
|
+
*/
|
|
1680
1980
|
bg?: string;
|
|
1681
|
-
/**
|
|
1981
|
+
/** Highlighted item foreground color.
|
|
1982
|
+
* @default "cyan"
|
|
1983
|
+
*/
|
|
1682
1984
|
selectedFg?: string;
|
|
1683
|
-
/**
|
|
1985
|
+
/** Highlighted item background color.
|
|
1986
|
+
* @default undefined
|
|
1987
|
+
*/
|
|
1684
1988
|
selectedBg?: string;
|
|
1685
1989
|
}
|
|
1686
1990
|
//#endregion
|
|
@@ -1706,24 +2010,42 @@ type __VLS_PrettifyLocal$4<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K
|
|
|
1706
2010
|
/**
|
|
1707
2011
|
* Checkbox Component - Toggle checkbox
|
|
1708
2012
|
*/
|
|
2013
|
+
/** Checked state, focus, appearance, and change events for a terminal checkbox. */
|
|
1709
2014
|
interface CheckboxProps {
|
|
1710
|
-
/** Whether the checkbox is checked
|
|
2015
|
+
/** Whether the checkbox is checked
|
|
2016
|
+
* @default false
|
|
2017
|
+
*/
|
|
1711
2018
|
modelValue?: boolean;
|
|
1712
|
-
/** Label text
|
|
2019
|
+
/** Label text
|
|
2020
|
+
* @default undefined
|
|
2021
|
+
*/
|
|
1713
2022
|
label?: string;
|
|
1714
|
-
/** Whether the checkbox is focused
|
|
2023
|
+
/** Whether the checkbox is focused
|
|
2024
|
+
* @default false
|
|
2025
|
+
*/
|
|
1715
2026
|
focused?: boolean;
|
|
1716
|
-
/** Whether the checkbox is disabled
|
|
2027
|
+
/** Whether the checkbox is disabled
|
|
2028
|
+
* @default false
|
|
2029
|
+
*/
|
|
1717
2030
|
disabled?: boolean;
|
|
1718
|
-
/** Checked indicator
|
|
2031
|
+
/** Checked indicator
|
|
2032
|
+
* @default "[x]"
|
|
2033
|
+
*/
|
|
1719
2034
|
checked?: string;
|
|
1720
|
-
/** Unchecked indicator
|
|
2035
|
+
/** Unchecked indicator
|
|
2036
|
+
* @default "[ ]"
|
|
2037
|
+
*/
|
|
1721
2038
|
unchecked?: string;
|
|
1722
|
-
/** Foreground color
|
|
2039
|
+
/** Foreground color
|
|
2040
|
+
* @default undefined
|
|
2041
|
+
*/
|
|
1723
2042
|
fg?: string;
|
|
1724
|
-
/** Checked foreground color
|
|
2043
|
+
/** Checked foreground color
|
|
2044
|
+
* @default "green"
|
|
2045
|
+
*/
|
|
1725
2046
|
checkedFg?: string;
|
|
1726
2047
|
}
|
|
2048
|
+
/** Render a checkbox that responds to keyboard input while focused and enabled. */
|
|
1727
2049
|
declare const Checkbox: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1728
2050
|
modelValue: {
|
|
1729
2051
|
type: BooleanConstructor;
|
|
@@ -1793,31 +2115,50 @@ declare const Checkbox: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1793
2115
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1794
2116
|
//#endregion
|
|
1795
2117
|
//#region src/components/RadioGroup.d.ts
|
|
2118
|
+
/** Labelled radio value with an optional disabled state. */
|
|
1796
2119
|
interface RadioOption {
|
|
1797
2120
|
label: string;
|
|
1798
2121
|
value: string;
|
|
1799
2122
|
disabled?: boolean;
|
|
1800
2123
|
}
|
|
2124
|
+
/** Options, selection, focus, direction, and appearance for a radio group. */
|
|
1801
2125
|
interface RadioGroupProps {
|
|
1802
2126
|
/** Radio options */
|
|
1803
2127
|
options: RadioOption[];
|
|
1804
|
-
/** Currently selected value
|
|
2128
|
+
/** Currently selected value
|
|
2129
|
+
* @default undefined
|
|
2130
|
+
*/
|
|
1805
2131
|
modelValue?: string;
|
|
1806
|
-
/** Layout direction
|
|
2132
|
+
/** Layout direction
|
|
2133
|
+
* @default "vertical"
|
|
2134
|
+
*/
|
|
1807
2135
|
direction?: "horizontal" | "vertical";
|
|
1808
|
-
/** Focused option index
|
|
2136
|
+
/** Focused option index
|
|
2137
|
+
* @default undefined
|
|
2138
|
+
*/
|
|
1809
2139
|
focusedIndex?: number;
|
|
1810
|
-
/** Whether the radio group owns keyboard input
|
|
2140
|
+
/** Whether the radio group owns keyboard input
|
|
2141
|
+
* @default false
|
|
2142
|
+
*/
|
|
1811
2143
|
focused?: boolean;
|
|
1812
|
-
/** Selected indicator
|
|
2144
|
+
/** Selected indicator
|
|
2145
|
+
* @default "◉"
|
|
2146
|
+
*/
|
|
1813
2147
|
selected?: string;
|
|
1814
|
-
/** Unselected indicator
|
|
2148
|
+
/** Unselected indicator
|
|
2149
|
+
* @default "○"
|
|
2150
|
+
*/
|
|
1815
2151
|
unselected?: string;
|
|
1816
|
-
/** Foreground color
|
|
2152
|
+
/** Foreground color
|
|
2153
|
+
* @default undefined
|
|
2154
|
+
*/
|
|
1817
2155
|
fg?: string;
|
|
1818
|
-
/** Selected foreground color
|
|
2156
|
+
/** Selected foreground color
|
|
2157
|
+
* @default "green"
|
|
2158
|
+
*/
|
|
1819
2159
|
selectedFg?: string;
|
|
1820
2160
|
}
|
|
2161
|
+
/** Navigate enabled radio options and emit the selected string value. */
|
|
1821
2162
|
declare const RadioGroup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1822
2163
|
options: {
|
|
1823
2164
|
type: PropType<RadioOption[]>;
|
|
@@ -1892,24 +2233,40 @@ declare const RadioGroup: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1892
2233
|
/**
|
|
1893
2234
|
* Confirm Component - Confirmation dialog
|
|
1894
2235
|
*/
|
|
2236
|
+
/** Message, initial choice, appearance, and result events for a confirmation prompt. */
|
|
1895
2237
|
interface ConfirmProps {
|
|
1896
2238
|
/** Confirmation message */
|
|
1897
2239
|
message: string;
|
|
1898
|
-
/** Confirm button text
|
|
2240
|
+
/** Confirm button text
|
|
2241
|
+
* @default "Yes"
|
|
2242
|
+
*/
|
|
1899
2243
|
confirmText?: string;
|
|
1900
|
-
/** Cancel button text
|
|
2244
|
+
/** Cancel button text
|
|
2245
|
+
* @default "No"
|
|
2246
|
+
*/
|
|
1901
2247
|
cancelText?: string;
|
|
1902
|
-
/** Whether confirm is initially selected
|
|
2248
|
+
/** Whether confirm is initially selected
|
|
2249
|
+
* @default true
|
|
2250
|
+
*/
|
|
1903
2251
|
defaultConfirm?: boolean;
|
|
1904
|
-
/** Whether the confirmation owns keyboard input
|
|
2252
|
+
/** Whether the confirmation owns keyboard input
|
|
2253
|
+
* @default false
|
|
2254
|
+
*/
|
|
1905
2255
|
focused?: boolean;
|
|
1906
|
-
/** Confirm button foreground color
|
|
2256
|
+
/** Confirm button foreground color
|
|
2257
|
+
* @default "green"
|
|
2258
|
+
*/
|
|
1907
2259
|
confirmFg?: string;
|
|
1908
|
-
/** Cancel button foreground color
|
|
2260
|
+
/** Cancel button foreground color
|
|
2261
|
+
* @default "red"
|
|
2262
|
+
*/
|
|
1909
2263
|
cancelFg?: string;
|
|
1910
|
-
/** Selected button foreground color
|
|
2264
|
+
/** Selected button foreground color
|
|
2265
|
+
* @default "cyan"
|
|
2266
|
+
*/
|
|
1911
2267
|
selectedFg?: string;
|
|
1912
2268
|
}
|
|
2269
|
+
/** Present a focused terminal choice between confirmation and cancellation. */
|
|
1913
2270
|
declare const Confirm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1914
2271
|
message: {
|
|
1915
2272
|
type: StringConstructor;
|
|
@@ -1945,7 +2302,7 @@ declare const Confirm: import("vue").DefineComponent<import("vue").ExtractPropTy
|
|
|
1945
2302
|
};
|
|
1946
2303
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1947
2304
|
[key: string]: any;
|
|
1948
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "
|
|
2305
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "confirm")[], "select" | "cancel" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1949
2306
|
message: {
|
|
1950
2307
|
type: StringConstructor;
|
|
1951
2308
|
required: true;
|
|
@@ -1980,16 +2337,16 @@ declare const Confirm: import("vue").DefineComponent<import("vue").ExtractPropTy
|
|
|
1980
2337
|
};
|
|
1981
2338
|
}>> & Readonly<{
|
|
1982
2339
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
1983
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
1984
2340
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
2341
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
1985
2342
|
}>, {
|
|
1986
2343
|
focused: boolean;
|
|
2344
|
+
selectedFg: string;
|
|
1987
2345
|
confirmText: string;
|
|
1988
2346
|
cancelText: string;
|
|
1989
2347
|
defaultConfirm: boolean;
|
|
1990
2348
|
confirmFg: string;
|
|
1991
2349
|
cancelFg: string;
|
|
1992
|
-
selectedFg: string;
|
|
1993
2350
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1994
2351
|
//#endregion
|
|
1995
2352
|
//#region src/components/slider-types.d.ts
|
|
@@ -1997,39 +2354,39 @@ declare const Confirm: import("vue").DefineComponent<import("vue").ExtractPropTy
|
|
|
1997
2354
|
type SliderOrientation = "horizontal" | "vertical";
|
|
1998
2355
|
/** Public props for the controlled Fresco Slider. */
|
|
1999
2356
|
interface SliderProps {
|
|
2000
|
-
/** Current controlled value. */
|
|
2357
|
+
/** Current controlled value before range normalization. @default 0 */
|
|
2001
2358
|
modelValue?: number;
|
|
2002
|
-
/** Inclusive lower bound. */
|
|
2359
|
+
/** Inclusive lower bound. @default 0 */
|
|
2003
2360
|
min?: number;
|
|
2004
|
-
/** Inclusive upper bound. */
|
|
2361
|
+
/** Inclusive upper bound. @default 100 */
|
|
2005
2362
|
max?: number;
|
|
2006
|
-
/** Arrow-key and wheel increment. */
|
|
2363
|
+
/** Arrow-key and wheel increment. @default 1 */
|
|
2007
2364
|
step?: number;
|
|
2008
|
-
/** PageUp/PageDown increment
|
|
2365
|
+
/** PageUp/PageDown increment; absence uses ten normalized steps. @default undefined */
|
|
2009
2366
|
pageStep?: number;
|
|
2010
|
-
/** Number of terminal cells in the track. */
|
|
2367
|
+
/** Number of terminal cells in the track. @default 20 */
|
|
2011
2368
|
length?: number;
|
|
2012
|
-
/** Track direction. */
|
|
2369
|
+
/** Track direction. @default "horizontal" */
|
|
2013
2370
|
orientation?: SliderOrientation;
|
|
2014
|
-
/** Whether the slider owns keyboard and mouse input. */
|
|
2371
|
+
/** Whether the slider owns keyboard and mouse input. @default false */
|
|
2015
2372
|
focused?: boolean;
|
|
2016
|
-
/** Prevent value changes and render a dimmed track. */
|
|
2373
|
+
/** Prevent value changes and render a dimmed track. @default false */
|
|
2017
2374
|
disabled?: boolean;
|
|
2018
|
-
/** Glyph before the thumb. */
|
|
2375
|
+
/** Glyph before the thumb. @default "━" */
|
|
2019
2376
|
filled?: string;
|
|
2020
|
-
/** Glyph after the thumb. */
|
|
2377
|
+
/** Glyph after the thumb. @default "─" */
|
|
2021
2378
|
empty?: string;
|
|
2022
|
-
/** Thumb glyph. */
|
|
2379
|
+
/** Thumb glyph. @default "●" */
|
|
2023
2380
|
thumb?: string;
|
|
2024
|
-
/** Unfilled track color. */
|
|
2381
|
+
/** Unfilled track color. @default "gray" */
|
|
2025
2382
|
fg?: string;
|
|
2026
|
-
/** Filled track color. */
|
|
2383
|
+
/** Filled track color. @default "green" */
|
|
2027
2384
|
filledFg?: string;
|
|
2028
|
-
/** Thumb color. */
|
|
2385
|
+
/** Thumb color. @default "cyan" */
|
|
2029
2386
|
thumbFg?: string;
|
|
2030
|
-
/** Accessible label for the slider. */
|
|
2387
|
+
/** Accessible label for the slider. @default "Slider" */
|
|
2031
2388
|
label?: string;
|
|
2032
|
-
/** Format the
|
|
2389
|
+
/** Format the normalized value in the accessible label. @default (value) => String(value) */
|
|
2033
2390
|
formatValue?: (value: number) => string;
|
|
2034
2391
|
}
|
|
2035
2392
|
/** Finite, ordered numeric bounds used internally by Slider. */
|
|
@@ -2040,13 +2397,13 @@ interface SliderRange {
|
|
|
2040
2397
|
}
|
|
2041
2398
|
//#endregion
|
|
2042
2399
|
//#region src/components/FrescoSlider.vue.d.ts
|
|
2043
|
-
declare const __VLS_export$13: import("
|
|
2400
|
+
declare const __VLS_export$13: import("vue").DefineComponent<SliderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2044
2401
|
"update:modelValue": (value: number) => any;
|
|
2045
2402
|
change: (value: number) => any;
|
|
2046
|
-
}, string, import("
|
|
2403
|
+
}, string, import("vue").PublicProps, Readonly<SliderProps> & Readonly<{
|
|
2047
2404
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
2048
2405
|
onChange?: ((value: number) => any) | undefined;
|
|
2049
|
-
}>, {}, {}, {}, {}, string, import("
|
|
2406
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2050
2407
|
declare const _default$13: typeof __VLS_export$13;
|
|
2051
2408
|
//#endregion
|
|
2052
2409
|
//#region src/components/Form.d.ts
|
|
@@ -2071,29 +2428,52 @@ interface FormSlotProps {
|
|
|
2071
2428
|
}
|
|
2072
2429
|
/** Public props for the focus- and validation-aware Form container. */
|
|
2073
2430
|
interface FormProps {
|
|
2074
|
-
/**
|
|
2431
|
+
/** Field metadata; omission creates a fresh array per component instance.
|
|
2432
|
+
* @default []
|
|
2433
|
+
*/
|
|
2075
2434
|
fields?: FormField[];
|
|
2076
|
-
/** Label width
|
|
2435
|
+
/** Label width
|
|
2436
|
+
* @default 15
|
|
2437
|
+
*/
|
|
2077
2438
|
labelWidth?: number;
|
|
2078
|
-
/** Gap between fields
|
|
2439
|
+
/** Gap between fields
|
|
2440
|
+
* @default 1
|
|
2441
|
+
*/
|
|
2079
2442
|
gap?: number;
|
|
2080
|
-
/** Label position
|
|
2443
|
+
/** Label position
|
|
2444
|
+
* @default "left"
|
|
2445
|
+
*/
|
|
2081
2446
|
labelPosition?: "left" | "top";
|
|
2082
|
-
/** Label foreground color
|
|
2447
|
+
/** Label foreground color
|
|
2448
|
+
* @default undefined
|
|
2449
|
+
*/
|
|
2083
2450
|
labelFg?: string;
|
|
2084
|
-
/** Required indicator
|
|
2451
|
+
/** Required indicator
|
|
2452
|
+
* @default "*"
|
|
2453
|
+
*/
|
|
2085
2454
|
requiredIndicator?: string;
|
|
2086
|
-
/** Hint foreground color
|
|
2455
|
+
/** Hint foreground color
|
|
2456
|
+
* @default "gray"
|
|
2457
|
+
*/
|
|
2087
2458
|
hintFg?: string;
|
|
2088
|
-
/** Validation error foreground color
|
|
2459
|
+
/** Validation error foreground color
|
|
2460
|
+
* @default "red"
|
|
2461
|
+
*/
|
|
2089
2462
|
errorFg?: string;
|
|
2090
|
-
/**
|
|
2463
|
+
/** Field values by key; omission creates a fresh object per component instance.
|
|
2464
|
+
* @default {}
|
|
2465
|
+
*/
|
|
2091
2466
|
modelValue?: FormValues;
|
|
2092
|
-
/** Field key that owns focus
|
|
2467
|
+
/** Field key that owns focus
|
|
2468
|
+
* @default undefined
|
|
2469
|
+
*/
|
|
2093
2470
|
focusedKey?: string;
|
|
2094
|
-
/** Whether the form owns keyboard focus navigation and submission
|
|
2471
|
+
/** Whether the form owns keyboard focus navigation and submission
|
|
2472
|
+
* @default false
|
|
2473
|
+
*/
|
|
2095
2474
|
focused?: boolean;
|
|
2096
2475
|
}
|
|
2476
|
+
/** Coordinate named field slots with validation, focus, and submission. */
|
|
2097
2477
|
declare const Form: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2098
2478
|
fields: {
|
|
2099
2479
|
type: PropType<FormField[]>;
|
|
@@ -2182,41 +2562,61 @@ declare const Form: import("vue").DefineComponent<import("vue").ExtractPropTypes
|
|
|
2182
2562
|
focused: boolean;
|
|
2183
2563
|
gap: number;
|
|
2184
2564
|
modelValue: Readonly<Record<string, unknown>>;
|
|
2185
|
-
labelPosition: "top" | "left";
|
|
2186
2565
|
fields: FormField[];
|
|
2187
2566
|
labelWidth: number;
|
|
2567
|
+
labelPosition: "top" | "left";
|
|
2188
2568
|
requiredIndicator: string;
|
|
2189
2569
|
hintFg: string;
|
|
2190
2570
|
errorFg: string;
|
|
2191
2571
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2192
2572
|
//#endregion
|
|
2193
2573
|
//#region src/components/FrescoSpinner.vue.d.ts
|
|
2194
|
-
declare const __VLS_export$12: import("
|
|
2574
|
+
declare const __VLS_export$12: import("vue").DefineComponent<SpinnerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SpinnerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2195
2575
|
declare const _default$12: typeof __VLS_export$12;
|
|
2196
2576
|
//#endregion
|
|
2197
2577
|
//#region src/components/ProgressBar.d.ts
|
|
2578
|
+
/** Percentage, terminal width, label placement, and fill styles for progress. */
|
|
2198
2579
|
interface ProgressBarProps {
|
|
2199
2580
|
/** Progress value (0-100) */
|
|
2200
2581
|
value: number;
|
|
2201
|
-
/**
|
|
2582
|
+
/** Number of filled/empty track positions, excluding borders and the percentage label.
|
|
2583
|
+
* @default 20
|
|
2584
|
+
*/
|
|
2202
2585
|
width?: number;
|
|
2203
|
-
/** Show percentage label
|
|
2586
|
+
/** Show percentage label
|
|
2587
|
+
* @default true
|
|
2588
|
+
*/
|
|
2204
2589
|
showLabel?: boolean;
|
|
2205
|
-
/** Label position
|
|
2590
|
+
/** Label position; inside currently uses the right-hand placement.
|
|
2591
|
+
* @default "right"
|
|
2592
|
+
*/
|
|
2206
2593
|
labelPosition?: "left" | "right" | "inside";
|
|
2207
|
-
/** Filled character
|
|
2594
|
+
/** Filled character
|
|
2595
|
+
* @default "█"
|
|
2596
|
+
*/
|
|
2208
2597
|
filledChar?: string;
|
|
2209
|
-
/** Empty character
|
|
2598
|
+
/** Empty character
|
|
2599
|
+
* @default "░"
|
|
2600
|
+
*/
|
|
2210
2601
|
emptyChar?: string;
|
|
2211
|
-
/** Left border character
|
|
2602
|
+
/** Left border character
|
|
2603
|
+
* @default ""
|
|
2604
|
+
*/
|
|
2212
2605
|
leftBorder?: string;
|
|
2213
|
-
/** Right border character
|
|
2606
|
+
/** Right border character
|
|
2607
|
+
* @default ""
|
|
2608
|
+
*/
|
|
2214
2609
|
rightBorder?: string;
|
|
2215
|
-
/** Filled color
|
|
2610
|
+
/** Filled color
|
|
2611
|
+
* @default "green"
|
|
2612
|
+
*/
|
|
2216
2613
|
filledFg?: string;
|
|
2217
|
-
/** Empty color
|
|
2614
|
+
/** Empty color
|
|
2615
|
+
* @default "gray"
|
|
2616
|
+
*/
|
|
2218
2617
|
emptyFg?: string;
|
|
2219
2618
|
}
|
|
2619
|
+
/** Render a determinate progress value from zero through one hundred. */
|
|
2220
2620
|
declare const ProgressBar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2221
2621
|
value: {
|
|
2222
2622
|
type: NumberConstructor;
|
|
@@ -2306,8 +2706,8 @@ declare const ProgressBar: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
2306
2706
|
}>> & Readonly<{}>, {
|
|
2307
2707
|
width: number;
|
|
2308
2708
|
filledFg: string;
|
|
2309
|
-
showLabel: boolean;
|
|
2310
2709
|
labelPosition: "right" | "left" | "inside";
|
|
2710
|
+
showLabel: boolean;
|
|
2311
2711
|
filledChar: string;
|
|
2312
2712
|
emptyChar: string;
|
|
2313
2713
|
leftBorder: string;
|
|
@@ -2316,33 +2716,52 @@ declare const ProgressBar: import("vue").DefineComponent<import("vue").ExtractPr
|
|
|
2316
2716
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2317
2717
|
//#endregion
|
|
2318
2718
|
//#region src/components/FrescoAlert.vue.d.ts
|
|
2319
|
-
declare const __VLS_export$11: import("
|
|
2719
|
+
declare const __VLS_export$11: import("vue").DefineComponent<AlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AlertProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2320
2720
|
declare const _default$11: typeof __VLS_export$11;
|
|
2321
2721
|
//#endregion
|
|
2322
2722
|
//#region src/components/FrescoBadge.vue.d.ts
|
|
2323
|
-
declare const __VLS_export$10: import("
|
|
2723
|
+
declare const __VLS_export$10: import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2324
2724
|
declare const _default$10: typeof __VLS_export$10;
|
|
2325
2725
|
//#endregion
|
|
2326
2726
|
//#region src/components/Timer.d.ts
|
|
2727
|
+
/** Elapsed-time or remaining-time presentation. */
|
|
2327
2728
|
type TimerMode = "countdown" | "stopwatch";
|
|
2729
|
+
/** Mode, initial seconds, automatic start, display style, and timer events. */
|
|
2328
2730
|
interface TimerProps {
|
|
2329
|
-
/** Timer mode
|
|
2731
|
+
/** Timer mode
|
|
2732
|
+
* @default "stopwatch"
|
|
2733
|
+
*/
|
|
2330
2734
|
mode?: TimerMode;
|
|
2331
|
-
/** Initial seconds (for countdown)
|
|
2735
|
+
/** Initial seconds (for countdown)
|
|
2736
|
+
* @default 0
|
|
2737
|
+
*/
|
|
2332
2738
|
initialSeconds?: number;
|
|
2333
|
-
/** Auto start
|
|
2739
|
+
/** Auto start
|
|
2740
|
+
* @default true
|
|
2741
|
+
*/
|
|
2334
2742
|
autoStart?: boolean;
|
|
2335
|
-
/**
|
|
2743
|
+
/** Force the hours field; times of at least one hour include it automatically.
|
|
2744
|
+
* @default false
|
|
2745
|
+
*/
|
|
2336
2746
|
showHours?: boolean;
|
|
2337
|
-
/** Show
|
|
2747
|
+
/** Show a two-digit fractional-second suffix.
|
|
2748
|
+
* @default false
|
|
2749
|
+
*/
|
|
2338
2750
|
showMilliseconds?: boolean;
|
|
2339
|
-
/** Foreground color
|
|
2751
|
+
/** Foreground color
|
|
2752
|
+
* @default "white"
|
|
2753
|
+
*/
|
|
2340
2754
|
fg?: string;
|
|
2341
|
-
/**
|
|
2755
|
+
/** Countdown color above five and at most ten seconds remaining.
|
|
2756
|
+
* @default "yellow"
|
|
2757
|
+
*/
|
|
2342
2758
|
warningFg?: string;
|
|
2343
|
-
/**
|
|
2759
|
+
/** Countdown color at five seconds or less remaining.
|
|
2760
|
+
* @default "red"
|
|
2761
|
+
*/
|
|
2344
2762
|
dangerFg?: string;
|
|
2345
2763
|
}
|
|
2764
|
+
/** Display a stopwatch or countdown and release its interval when unmounted. */
|
|
2346
2765
|
declare const Timer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2347
2766
|
mode: {
|
|
2348
2767
|
type: PropType<TimerMode>;
|
|
@@ -2429,7 +2848,7 @@ declare const Timer: import("vue").DefineComponent<import("vue").ExtractPropType
|
|
|
2429
2848
|
type __VLS_Slots$3 = {
|
|
2430
2849
|
default?: () => unknown;
|
|
2431
2850
|
};
|
|
2432
|
-
declare const __VLS_base$3: import("
|
|
2851
|
+
declare const __VLS_base$3: import("vue").DefineComponent<TooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TooltipProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2433
2852
|
declare const __VLS_export$9: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
2434
2853
|
declare const _default$9: typeof __VLS_export$9;
|
|
2435
2854
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -2444,33 +2863,55 @@ interface ListItemBase {
|
|
|
2444
2863
|
label: string;
|
|
2445
2864
|
disabled?: boolean;
|
|
2446
2865
|
}
|
|
2866
|
+
/** Display metadata paired with a selected value, or its key for string items. */
|
|
2447
2867
|
type ListItem<Value = string> = ListItemBase & ([Value] extends [string] ? {
|
|
2448
2868
|
value?: Value;
|
|
2449
2869
|
} : {
|
|
2450
2870
|
value: Value;
|
|
2451
2871
|
});
|
|
2872
|
+
/** Object property accepted as the list value-comparison key. */
|
|
2452
2873
|
type ListValueKey<Value> = CollectionValueKey<Value>;
|
|
2874
|
+
/** Property-key or callback policy for comparing selected list values. */
|
|
2453
2875
|
type ListBy<Value> = CollectionBy<Value>;
|
|
2876
|
+
/** Items, selection, comparison policy, focus, and viewport inputs for List. */
|
|
2454
2877
|
interface ListProps<Value = string> {
|
|
2455
2878
|
/** List items */
|
|
2456
2879
|
items: readonly ListItem<Value>[];
|
|
2457
|
-
/** Currently selected value
|
|
2880
|
+
/** Currently selected value
|
|
2881
|
+
* @default undefined
|
|
2882
|
+
*/
|
|
2458
2883
|
modelValue?: Value;
|
|
2459
|
-
/** Compare values by an object key or a custom equality function
|
|
2884
|
+
/** Compare values by an object key or a custom equality function
|
|
2885
|
+
* @default undefined
|
|
2886
|
+
*/
|
|
2460
2887
|
by?: ListBy<Value>;
|
|
2461
|
-
/** Maximum visible items (enables scrolling)
|
|
2888
|
+
/** Maximum visible items (enables scrolling)
|
|
2889
|
+
* @default undefined
|
|
2890
|
+
*/
|
|
2462
2891
|
maxHeight?: number;
|
|
2463
|
-
/** Whether the list is focused
|
|
2892
|
+
/** Whether the list is focused
|
|
2893
|
+
* @default false
|
|
2894
|
+
*/
|
|
2464
2895
|
focused?: boolean;
|
|
2465
|
-
/**
|
|
2896
|
+
/** Indicator for the highlighted item.
|
|
2897
|
+
* @default "> "
|
|
2898
|
+
*/
|
|
2466
2899
|
indicator?: string;
|
|
2467
|
-
/**
|
|
2900
|
+
/** Indicator for items outside the highlight.
|
|
2901
|
+
* @default " "
|
|
2902
|
+
*/
|
|
2468
2903
|
indicatorEmpty?: string;
|
|
2469
|
-
/** Foreground color
|
|
2904
|
+
/** Foreground color
|
|
2905
|
+
* @default undefined
|
|
2906
|
+
*/
|
|
2470
2907
|
fg?: string;
|
|
2471
|
-
/**
|
|
2908
|
+
/** Highlighted item foreground color.
|
|
2909
|
+
* @default "cyan"
|
|
2910
|
+
*/
|
|
2472
2911
|
selectedFg?: string;
|
|
2473
|
-
/**
|
|
2912
|
+
/** Highlighted item background color.
|
|
2913
|
+
* @default undefined
|
|
2914
|
+
*/
|
|
2474
2915
|
selectedBg?: string;
|
|
2475
2916
|
}
|
|
2476
2917
|
//#endregion
|
|
@@ -2495,7 +2936,9 @@ type __VLS_PrettifyLocal$3<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K
|
|
|
2495
2936
|
//#region src/components/table-types.d.ts
|
|
2496
2937
|
/** One table row addressable by string column keys. */
|
|
2497
2938
|
type TableRow = Readonly<Record<string, unknown>>;
|
|
2939
|
+
/** Horizontal alignment of content within a terminal table column. */
|
|
2498
2940
|
type TableAlignment = "left" | "center" | "right";
|
|
2941
|
+
/** Ascending or descending ordering requested for a table column. */
|
|
2499
2942
|
type TableSortDirection = "ascending" | "descending";
|
|
2500
2943
|
/** Typed table column definition. */
|
|
2501
2944
|
interface TableColumn<Row extends TableRow = TableRow> {
|
|
@@ -2518,6 +2961,7 @@ interface TableColumn<Row extends TableRow = TableRow> {
|
|
|
2518
2961
|
/** Optional comparison hook used when this column owns sorting. */
|
|
2519
2962
|
compare?: (left: Row, right: Row) => number;
|
|
2520
2963
|
}
|
|
2964
|
+
/** Visible and retained row-index bounds of a table viewport. */
|
|
2521
2965
|
interface TableViewportRange {
|
|
2522
2966
|
readonly visibleStart: number;
|
|
2523
2967
|
readonly visibleEnd: number;
|
|
@@ -2528,32 +2972,72 @@ interface TableViewportRange {
|
|
|
2528
2972
|
interface TableProps<Row extends TableRow = TableRow> {
|
|
2529
2973
|
columns: readonly TableColumn<Row>[];
|
|
2530
2974
|
data: readonly Row[];
|
|
2975
|
+
/** Render the table header.
|
|
2976
|
+
* @default true
|
|
2977
|
+
*/
|
|
2531
2978
|
showHeader?: boolean;
|
|
2979
|
+
/** Table border style.
|
|
2980
|
+
* @default "single"
|
|
2981
|
+
*/
|
|
2532
2982
|
border?: "none" | "single" | "double" | "rounded";
|
|
2983
|
+
/** Default foreground color for header cells.
|
|
2984
|
+
* @default "white"
|
|
2985
|
+
*/
|
|
2533
2986
|
headerFg?: string;
|
|
2987
|
+
/** Default background color for header cells.
|
|
2988
|
+
* @default undefined
|
|
2989
|
+
*/
|
|
2534
2990
|
headerBg?: string;
|
|
2991
|
+
/** Default foreground color for body cells.
|
|
2992
|
+
* @default undefined
|
|
2993
|
+
*/
|
|
2535
2994
|
rowFg?: string;
|
|
2995
|
+
/** Background color used for alternating body rows.
|
|
2996
|
+
* @default undefined
|
|
2997
|
+
*/
|
|
2536
2998
|
stripedBg?: string;
|
|
2999
|
+
/** Gap between adjacent table cells, in terminal cells.
|
|
3000
|
+
* @default 1
|
|
3001
|
+
*/
|
|
2537
3002
|
cellPadding?: number;
|
|
2538
|
-
/** Controlled sort column key.
|
|
3003
|
+
/** Controlled sort column key.
|
|
3004
|
+
* @default undefined
|
|
3005
|
+
*/
|
|
2539
3006
|
sortKey?: string;
|
|
2540
|
-
/** Controlled sort direction.
|
|
3007
|
+
/** Controlled sort direction.
|
|
3008
|
+
* @default "ascending"
|
|
3009
|
+
*/
|
|
2541
3010
|
sortDirection?: TableSortDirection;
|
|
2542
|
-
/** Controlled first visible sorted row.
|
|
3011
|
+
/** Controlled first visible sorted row.
|
|
3012
|
+
* @default 0
|
|
3013
|
+
*/
|
|
2543
3014
|
offset?: number;
|
|
2544
|
-
/** Visible row count; omit to render every row.
|
|
3015
|
+
/** Visible row count; omit to render every row.
|
|
3016
|
+
* @default undefined
|
|
3017
|
+
*/
|
|
2545
3018
|
viewportSize?: number;
|
|
2546
|
-
/** Rows retained outside each viewport edge.
|
|
3019
|
+
/** Rows retained outside each viewport edge.
|
|
3020
|
+
* @default 2
|
|
3021
|
+
*/
|
|
2547
3022
|
overscan?: number;
|
|
2548
|
-
/** Whether the header owns keyboard navigation, sort, resize, and scrolling.
|
|
3023
|
+
/** Whether the header owns keyboard navigation, sort, resize, and scrolling.
|
|
3024
|
+
* @default false
|
|
3025
|
+
*/
|
|
2549
3026
|
focused?: boolean;
|
|
2550
|
-
/** Controlled focused column index.
|
|
3027
|
+
/** Controlled focused column index.
|
|
3028
|
+
* @default undefined
|
|
3029
|
+
*/
|
|
2551
3030
|
focusedColumn?: number;
|
|
2552
|
-
/** Controlled width overrides keyed by column key.
|
|
3031
|
+
/** Controlled width overrides keyed by column key.
|
|
3032
|
+
* @default undefined
|
|
3033
|
+
*/
|
|
2553
3034
|
columnWidths?: Readonly<Record<string, number>>;
|
|
2554
|
-
/** Keyboard resize delta in terminal cells.
|
|
3035
|
+
/** Keyboard resize delta in terminal cells.
|
|
3036
|
+
* @default 1
|
|
3037
|
+
*/
|
|
2555
3038
|
resizeStep?: number;
|
|
2556
3039
|
}
|
|
3040
|
+
/** Row, column, value, and rendered text passed to a table cell slot. */
|
|
2557
3041
|
interface TableCellSlotProps<Row extends TableRow = TableRow> {
|
|
2558
3042
|
readonly row: Row;
|
|
2559
3043
|
readonly rowIndex: number;
|
|
@@ -2563,6 +3047,7 @@ interface TableCellSlotProps<Row extends TableRow = TableRow> {
|
|
|
2563
3047
|
}
|
|
2564
3048
|
//#endregion
|
|
2565
3049
|
//#region src/components/Table.d.ts
|
|
3050
|
+
/** Render terminal rows with selection, sorting, resizing, and a bounded row viewport. */
|
|
2566
3051
|
declare const Table: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2567
3052
|
columns: {
|
|
2568
3053
|
type: PropType<readonly TableColumn[]>;
|
|
@@ -2697,39 +3182,67 @@ interface TreeNodeBase<Value> {
|
|
|
2697
3182
|
icon?: string;
|
|
2698
3183
|
disabled?: boolean;
|
|
2699
3184
|
}
|
|
3185
|
+
/** Hierarchical display metadata paired with a selected value or string key. */
|
|
2700
3186
|
type TreeNode<Value = string> = TreeNodeBase<Value> & ([Value] extends [string] ? {
|
|
2701
3187
|
value?: Value;
|
|
2702
3188
|
} : {
|
|
2703
3189
|
value: Value;
|
|
2704
3190
|
});
|
|
3191
|
+
/** Object property accepted as the selected-node comparison key. */
|
|
2705
3192
|
type TreeValueKey<Value> = CollectionValueKey<Value>;
|
|
3193
|
+
/** Property-key or callback policy for comparing selected tree values. */
|
|
2706
3194
|
type TreeBy<Value> = CollectionBy<Value>;
|
|
3195
|
+
/** Tree nodes, expansion, selection, comparison policy, and keyboard ownership. */
|
|
2707
3196
|
interface TreeProps<Value = string> {
|
|
2708
3197
|
/** Tree data */
|
|
2709
3198
|
data: readonly TreeNode<Value>[];
|
|
2710
|
-
/** Expanded node keys
|
|
3199
|
+
/** Expanded node keys; omission creates a fresh array per component instance.
|
|
3200
|
+
* @default []
|
|
3201
|
+
*/
|
|
2711
3202
|
expanded?: readonly string[];
|
|
2712
|
-
/** Selected node value
|
|
3203
|
+
/** Selected node value
|
|
3204
|
+
* @default undefined
|
|
3205
|
+
*/
|
|
2713
3206
|
selected?: Value;
|
|
2714
|
-
/** Compare selected values by an object key or a custom equality function
|
|
3207
|
+
/** Compare selected values by an object key or a custom equality function
|
|
3208
|
+
* @default undefined
|
|
3209
|
+
*/
|
|
2715
3210
|
by?: TreeBy<Value>;
|
|
2716
|
-
/** Whether the tree owns keyboard input
|
|
3211
|
+
/** Whether the tree owns keyboard input
|
|
3212
|
+
* @default false
|
|
3213
|
+
*/
|
|
2717
3214
|
focused?: boolean;
|
|
2718
|
-
/** Maximum visible flattened nodes before the tree window scrolls
|
|
3215
|
+
/** Maximum visible flattened nodes before the tree window scrolls
|
|
3216
|
+
* @default undefined
|
|
3217
|
+
*/
|
|
2719
3218
|
maxHeight?: number;
|
|
2720
|
-
/** Show lines
|
|
3219
|
+
/** Show lines
|
|
3220
|
+
* @default true
|
|
3221
|
+
*/
|
|
2721
3222
|
showLines?: boolean;
|
|
2722
|
-
/** Indent size
|
|
3223
|
+
/** Indent size
|
|
3224
|
+
* @default 2
|
|
3225
|
+
*/
|
|
2723
3226
|
indent?: number;
|
|
2724
|
-
/** Expanded icon
|
|
3227
|
+
/** Expanded icon
|
|
3228
|
+
* @default "▼"
|
|
3229
|
+
*/
|
|
2725
3230
|
expandedIcon?: string;
|
|
2726
|
-
/** Collapsed icon
|
|
3231
|
+
/** Collapsed icon
|
|
3232
|
+
* @default "▶"
|
|
3233
|
+
*/
|
|
2727
3234
|
collapsedIcon?: string;
|
|
2728
|
-
/** Leaf icon
|
|
3235
|
+
/** Leaf icon
|
|
3236
|
+
* @default "•"
|
|
3237
|
+
*/
|
|
2729
3238
|
leafIcon?: string;
|
|
2730
|
-
/** Foreground color
|
|
3239
|
+
/** Foreground color
|
|
3240
|
+
* @default undefined
|
|
3241
|
+
*/
|
|
2731
3242
|
fg?: string;
|
|
2732
|
-
/**
|
|
3243
|
+
/** Foreground color of selected or highlighted nodes.
|
|
3244
|
+
* @default "cyan"
|
|
3245
|
+
*/
|
|
2733
3246
|
selectedFg?: string;
|
|
2734
3247
|
}
|
|
2735
3248
|
//#endregion
|
|
@@ -2762,31 +3275,51 @@ interface MenuItemBase {
|
|
|
2762
3275
|
disabled?: boolean;
|
|
2763
3276
|
separator?: boolean;
|
|
2764
3277
|
}
|
|
3278
|
+
/** Command metadata paired with an explicit value or its string key. */
|
|
2765
3279
|
type MenuItem<Value = string> = MenuItemBase & ([Value] extends [string] ? {
|
|
2766
3280
|
value?: Value;
|
|
2767
3281
|
} : {
|
|
2768
3282
|
value: Value;
|
|
2769
3283
|
});
|
|
3284
|
+
/** Commands, focused index, viewport size, and keyboard ownership for Menu. */
|
|
2770
3285
|
interface MenuProps<Value = string> {
|
|
2771
3286
|
/** Menu items */
|
|
2772
3287
|
items: readonly MenuItem<Value>[];
|
|
2773
|
-
/** Focused item index
|
|
3288
|
+
/** Focused item index
|
|
3289
|
+
* @default 0
|
|
3290
|
+
*/
|
|
2774
3291
|
focusedIndex?: number;
|
|
2775
|
-
/** Whether the menu owns keyboard input
|
|
3292
|
+
/** Whether the menu owns keyboard input
|
|
3293
|
+
* @default false
|
|
3294
|
+
*/
|
|
2776
3295
|
focused?: boolean;
|
|
2777
|
-
/** Maximum visible items before the command window scrolls
|
|
3296
|
+
/** Maximum visible items before the command window scrolls
|
|
3297
|
+
* @default undefined
|
|
3298
|
+
*/
|
|
2778
3299
|
maxHeight?: number;
|
|
2779
|
-
/** Show border
|
|
3300
|
+
/** Show border
|
|
3301
|
+
* @default "single"
|
|
3302
|
+
*/
|
|
2780
3303
|
border?: "single" | "double" | "rounded" | "none";
|
|
2781
|
-
/** Width
|
|
3304
|
+
/** Width
|
|
3305
|
+
* @default undefined
|
|
3306
|
+
*/
|
|
2782
3307
|
width?: number;
|
|
2783
|
-
/** Foreground color
|
|
3308
|
+
/** Foreground color
|
|
3309
|
+
* @default undefined
|
|
3310
|
+
*/
|
|
2784
3311
|
fg?: string;
|
|
2785
|
-
/** Focused foreground color
|
|
3312
|
+
/** Focused foreground color
|
|
3313
|
+
* @default "black"
|
|
3314
|
+
*/
|
|
2786
3315
|
focusedFg?: string;
|
|
2787
|
-
/** Focused background color
|
|
3316
|
+
/** Focused background color
|
|
3317
|
+
* @default "cyan"
|
|
3318
|
+
*/
|
|
2788
3319
|
focusedBg?: string;
|
|
2789
|
-
/** Shortcut foreground color
|
|
3320
|
+
/** Shortcut foreground color
|
|
3321
|
+
* @default "gray"
|
|
3322
|
+
*/
|
|
2790
3323
|
shortcutFg?: string;
|
|
2791
3324
|
}
|
|
2792
3325
|
//#endregion
|
|
@@ -2814,35 +3347,59 @@ interface TabBase {
|
|
|
2814
3347
|
label: string;
|
|
2815
3348
|
disabled?: boolean;
|
|
2816
3349
|
}
|
|
3350
|
+
/** Labelled tab metadata paired with its selected value or string key. */
|
|
2817
3351
|
type Tab<Value = string> = TabBase & ([Value] extends [string] ? {
|
|
2818
3352
|
value?: Value;
|
|
2819
3353
|
} : {
|
|
2820
3354
|
value: Value;
|
|
2821
3355
|
});
|
|
3356
|
+
/** Object property accepted as the active-tab comparison key. */
|
|
2822
3357
|
type TabsValueKey<Value> = CollectionValueKey<Value>;
|
|
3358
|
+
/** Property-key or callback policy for comparing active tab values. */
|
|
2823
3359
|
type TabsBy<Value> = CollectionBy<Value>;
|
|
3360
|
+
/** Tab definitions, active value, comparison policy, focus, and appearance. */
|
|
2824
3361
|
interface TabsProps<Value = string> {
|
|
2825
3362
|
/** Tab definitions */
|
|
2826
3363
|
tabs: readonly Tab<Value>[];
|
|
2827
|
-
/** Currently active tab value
|
|
3364
|
+
/** Currently active tab value
|
|
3365
|
+
* @default undefined
|
|
3366
|
+
*/
|
|
2828
3367
|
modelValue?: Value;
|
|
2829
|
-
/** Compare active values by an object key or a custom equality function
|
|
3368
|
+
/** Compare active values by an object key or a custom equality function
|
|
3369
|
+
* @default undefined
|
|
3370
|
+
*/
|
|
2830
3371
|
by?: TabsBy<Value>;
|
|
2831
|
-
/** Whether the tab list owns keyboard input
|
|
3372
|
+
/** Whether the tab list owns keyboard input
|
|
3373
|
+
* @default false
|
|
3374
|
+
*/
|
|
2832
3375
|
focused?: boolean;
|
|
2833
|
-
/** Maximum visible tabs before the tab strip scrolls
|
|
3376
|
+
/** Maximum visible tabs before the tab strip scrolls
|
|
3377
|
+
* @default undefined
|
|
3378
|
+
*/
|
|
2834
3379
|
maxItems?: number;
|
|
2835
|
-
/** Tab bar position
|
|
3380
|
+
/** Tab bar position
|
|
3381
|
+
* @default "top"
|
|
3382
|
+
*/
|
|
2836
3383
|
position?: "top" | "bottom";
|
|
2837
|
-
/** Separator between tabs
|
|
3384
|
+
/** Separator between tabs
|
|
3385
|
+
* @default " | "
|
|
3386
|
+
*/
|
|
2838
3387
|
separator?: string;
|
|
2839
|
-
/** Active tab foreground color
|
|
3388
|
+
/** Active tab foreground color
|
|
3389
|
+
* @default "cyan"
|
|
3390
|
+
*/
|
|
2840
3391
|
activeFg?: string;
|
|
2841
|
-
/** Active tab background color
|
|
3392
|
+
/** Active tab background color
|
|
3393
|
+
* @default undefined
|
|
3394
|
+
*/
|
|
2842
3395
|
activeBg?: string;
|
|
2843
|
-
/** Inactive tab foreground color
|
|
3396
|
+
/** Inactive tab foreground color
|
|
3397
|
+
* @default undefined
|
|
3398
|
+
*/
|
|
2844
3399
|
inactiveFg?: string;
|
|
2845
|
-
/**
|
|
3400
|
+
/** Underline the active tab; the focused highlight is independently underlined.
|
|
3401
|
+
* @default true
|
|
3402
|
+
*/
|
|
2846
3403
|
underline?: boolean;
|
|
2847
3404
|
}
|
|
2848
3405
|
//#endregion
|
|
@@ -2867,42 +3424,64 @@ declare const _default$5: typeof __VLS_export$5;
|
|
|
2867
3424
|
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=FrescoTabs.vue.d.ts.map
|
|
2868
3425
|
//#endregion
|
|
2869
3426
|
//#region src/components/FrescoBreadcrumb.vue.d.ts
|
|
2870
|
-
declare const __VLS_export$4: import("
|
|
3427
|
+
declare const __VLS_export$4: import("vue").DefineComponent<BreadcrumbProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2871
3428
|
select: (key: string) => any;
|
|
2872
|
-
}, string, import("
|
|
3429
|
+
}, string, import("vue").PublicProps, Readonly<BreadcrumbProps> & Readonly<{
|
|
2873
3430
|
onSelect?: ((key: string) => any) | undefined;
|
|
2874
|
-
}>, {}, {}, {}, {}, string, import("
|
|
3431
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2875
3432
|
declare const _default$4: typeof __VLS_export$4;
|
|
2876
3433
|
//#endregion
|
|
2877
3434
|
//#region src/components/Stepper.d.ts
|
|
3435
|
+
/** Stable step key, visible label, and optional description. */
|
|
2878
3436
|
interface Step {
|
|
2879
3437
|
key: string;
|
|
2880
3438
|
label: string;
|
|
2881
3439
|
description?: string;
|
|
2882
3440
|
}
|
|
3441
|
+
/** Pending, current, completed, or error state of a displayed step. */
|
|
2883
3442
|
type StepStatus = "pending" | "current" | "completed" | "error";
|
|
3443
|
+
/** Step definitions, status indices, layout, and appearance for Stepper. */
|
|
2884
3444
|
interface StepperProps {
|
|
2885
3445
|
/** Steps */
|
|
2886
3446
|
steps: Step[];
|
|
2887
|
-
/** Current step index
|
|
3447
|
+
/** Current step index
|
|
3448
|
+
* @default 0
|
|
3449
|
+
*/
|
|
2888
3450
|
current?: number;
|
|
2889
|
-
/** Completed
|
|
3451
|
+
/** Completed step indices; omission creates a fresh array per component instance.
|
|
3452
|
+
* @default []
|
|
3453
|
+
*/
|
|
2890
3454
|
completed?: number[];
|
|
2891
|
-
/** Error
|
|
3455
|
+
/** Error step indices; omission creates a fresh array per component instance.
|
|
3456
|
+
* @default []
|
|
3457
|
+
*/
|
|
2892
3458
|
errors?: number[];
|
|
2893
|
-
/** Direction
|
|
3459
|
+
/** Direction
|
|
3460
|
+
* @default "horizontal"
|
|
3461
|
+
*/
|
|
2894
3462
|
direction?: "horizontal" | "vertical";
|
|
2895
|
-
/** Show
|
|
3463
|
+
/** Show numbers for pending steps.
|
|
3464
|
+
* @default true
|
|
3465
|
+
*/
|
|
2896
3466
|
showNumbers?: boolean;
|
|
2897
|
-
/** Completed icon
|
|
3467
|
+
/** Completed icon
|
|
3468
|
+
* @default "✓"
|
|
3469
|
+
*/
|
|
2898
3470
|
completedIcon?: string;
|
|
2899
|
-
/** Error icon
|
|
3471
|
+
/** Error icon
|
|
3472
|
+
* @default "✗"
|
|
3473
|
+
*/
|
|
2900
3474
|
errorIcon?: string;
|
|
2901
|
-
/** Current icon
|
|
3475
|
+
/** Current icon
|
|
3476
|
+
* @default "●"
|
|
3477
|
+
*/
|
|
2902
3478
|
currentIcon?: string;
|
|
2903
|
-
/** Pending icon
|
|
3479
|
+
/** Pending icon
|
|
3480
|
+
* @default "○"
|
|
3481
|
+
*/
|
|
2904
3482
|
pendingIcon?: string;
|
|
2905
3483
|
}
|
|
3484
|
+
/** Display progress through labelled steps with explicit completion and error states. */
|
|
2906
3485
|
declare const Stepper: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2907
3486
|
steps: {
|
|
2908
3487
|
type: PropType<Step[]>;
|
|
@@ -3002,33 +3581,33 @@ declare const Stepper: import("vue").DefineComponent<import("vue").ExtractPropTy
|
|
|
3002
3581
|
//#region src/components/modal-types.d.ts
|
|
3003
3582
|
/** Public behavior and appearance contract for the Fresco Modal. */
|
|
3004
3583
|
interface ModalProps {
|
|
3005
|
-
/** Whether the modal is visible and owns its focus scope. */
|
|
3584
|
+
/** Whether the modal is visible and owns its focus scope. @default true */
|
|
3006
3585
|
visible?: boolean;
|
|
3007
|
-
/** Modal title and default accessible label. */
|
|
3586
|
+
/** Modal title and default accessible label. @default undefined */
|
|
3008
3587
|
title?: string;
|
|
3009
|
-
/** Modal width. */
|
|
3588
|
+
/** Modal width. @default "50%" */
|
|
3010
3589
|
width?: number | string;
|
|
3011
|
-
/** Modal height. */
|
|
3590
|
+
/** Modal height. @default "auto" */
|
|
3012
3591
|
height?: number | string;
|
|
3013
|
-
/** Border style. */
|
|
3592
|
+
/** Border style. @default "rounded" */
|
|
3014
3593
|
border?: "single" | "double" | "rounded" | "heavy";
|
|
3015
|
-
/** Title foreground color. */
|
|
3594
|
+
/** Title foreground color. @default "white" */
|
|
3016
3595
|
titleFg?: string;
|
|
3017
|
-
/** Border foreground color. */
|
|
3596
|
+
/** Border foreground color. @default undefined */
|
|
3018
3597
|
borderFg?: string;
|
|
3019
|
-
/** Background color. */
|
|
3598
|
+
/** Background color. @default undefined */
|
|
3020
3599
|
bg?: string;
|
|
3021
|
-
/** Stable focus boundary ID. */
|
|
3600
|
+
/** Stable focus boundary ID. @default A generated identifier */
|
|
3022
3601
|
focusId?: string;
|
|
3023
|
-
/** Descendant focus ID selected when the modal opens. */
|
|
3602
|
+
/** Descendant focus ID selected when the modal opens. @default undefined */
|
|
3024
3603
|
initialFocusId?: string;
|
|
3025
|
-
/** Constrain sequential and programmatic focus to modal descendants. */
|
|
3604
|
+
/** Constrain sequential and programmatic focus to modal descendants. @default true */
|
|
3026
3605
|
trapFocus?: boolean;
|
|
3027
|
-
/** Restore the target focused before the modal opened. */
|
|
3606
|
+
/** Restore the target focused before the modal opened. @default true */
|
|
3028
3607
|
restoreFocus?: boolean;
|
|
3029
|
-
/** Emit close when Escape is pressed. */
|
|
3608
|
+
/** Emit close when Escape is pressed. @default true */
|
|
3030
3609
|
closeOnEscape?: boolean;
|
|
3031
|
-
/** Accessible label when no visible title is suitable. */
|
|
3610
|
+
/** Accessible label when no visible title is suitable. @default undefined */
|
|
3032
3611
|
accessibilityLabel?: string;
|
|
3033
3612
|
}
|
|
3034
3613
|
//#endregion
|
|
@@ -3036,11 +3615,11 @@ interface ModalProps {
|
|
|
3036
3615
|
type __VLS_Slots$2 = {
|
|
3037
3616
|
default?: () => unknown;
|
|
3038
3617
|
};
|
|
3039
|
-
declare const __VLS_base$2: import("
|
|
3618
|
+
declare const __VLS_base$2: import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3040
3619
|
close: () => any;
|
|
3041
|
-
}, string, import("
|
|
3620
|
+
}, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{
|
|
3042
3621
|
onClose?: (() => any) | undefined;
|
|
3043
|
-
}>, {}, {}, {}, {}, string, import("
|
|
3622
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3044
3623
|
declare const __VLS_export$3: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
3045
3624
|
declare const _default$3: typeof __VLS_export$3;
|
|
3046
3625
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -3054,25 +3633,25 @@ type __VLS_WithSlots$2<T, S> = T & {
|
|
|
3054
3633
|
type PopoverPlacement = "top" | "right" | "bottom" | "left";
|
|
3055
3634
|
/** Public focus, dismissal, placement, and appearance contract for Popover. */
|
|
3056
3635
|
interface PopoverProps {
|
|
3057
|
-
/** Whether the panel is mounted and owns its focus boundary. */
|
|
3636
|
+
/** Whether the panel is mounted and owns its focus boundary. @default false */
|
|
3058
3637
|
open?: boolean;
|
|
3059
3638
|
/** Placement of the panel relative to the anchor. @default "bottom" */
|
|
3060
3639
|
placement?: PopoverPlacement;
|
|
3061
3640
|
/** Gap in terminal cells between the anchor and panel. @default 0 */
|
|
3062
3641
|
offset?: number;
|
|
3063
|
-
/** Panel width. */
|
|
3642
|
+
/** Panel width. @default undefined */
|
|
3064
3643
|
width?: number | string;
|
|
3065
|
-
/** Panel height. */
|
|
3644
|
+
/** Panel height. @default undefined */
|
|
3066
3645
|
height?: number | string;
|
|
3067
3646
|
/** Panel border style. @default "rounded" */
|
|
3068
3647
|
border?: "single" | "double" | "rounded" | "heavy" | "none";
|
|
3069
|
-
/** Panel foreground color. */
|
|
3648
|
+
/** Panel foreground color. @default undefined */
|
|
3070
3649
|
fg?: string;
|
|
3071
|
-
/** Panel background color. */
|
|
3650
|
+
/** Panel background color. @default undefined */
|
|
3072
3651
|
bg?: string;
|
|
3073
|
-
/** Stable focus-boundary ID. */
|
|
3652
|
+
/** Stable focus-boundary ID. @default A generated identifier */
|
|
3074
3653
|
focusId?: string;
|
|
3075
|
-
/** Descendant focus ID selected after the panel opens. */
|
|
3654
|
+
/** Descendant focus ID selected after the panel opens. @default undefined */
|
|
3076
3655
|
initialFocusId?: string;
|
|
3077
3656
|
/** Constrain sequential and programmatic focus to the popover subtree. @default true */
|
|
3078
3657
|
trapFocus?: boolean;
|
|
@@ -3091,11 +3670,11 @@ type __VLS_Slots$1 = {
|
|
|
3091
3670
|
anchor?: () => unknown;
|
|
3092
3671
|
default?: () => unknown;
|
|
3093
3672
|
};
|
|
3094
|
-
declare const __VLS_base$1: import("
|
|
3673
|
+
declare const __VLS_base$1: import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3095
3674
|
close: () => any;
|
|
3096
|
-
}, string, import("
|
|
3675
|
+
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
3097
3676
|
onClose?: (() => any) | undefined;
|
|
3098
|
-
}>, {}, {}, {}, {}, string, import("
|
|
3677
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3099
3678
|
declare const __VLS_export$2: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
3100
3679
|
declare const _default$2: typeof __VLS_export$2;
|
|
3101
3680
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -3105,6 +3684,7 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
3105
3684
|
}; //# sourceMappingURL=FrescoPopover.vue.d.ts.map
|
|
3106
3685
|
//#endregion
|
|
3107
3686
|
//#region src/components/StatusBar.d.ts
|
|
3687
|
+
/** Labelled status content with per-item colors and alignment. */
|
|
3108
3688
|
interface StatusBarItem {
|
|
3109
3689
|
key: string;
|
|
3110
3690
|
content: string;
|
|
@@ -3113,16 +3693,24 @@ interface StatusBarItem {
|
|
|
3113
3693
|
bold?: boolean;
|
|
3114
3694
|
align?: "left" | "right";
|
|
3115
3695
|
}
|
|
3696
|
+
/** Status items, separators, and shared terminal appearance. */
|
|
3116
3697
|
interface StatusBarProps {
|
|
3117
3698
|
/** Status bar items */
|
|
3118
3699
|
items: StatusBarItem[];
|
|
3119
|
-
/** Background color
|
|
3700
|
+
/** Background color
|
|
3701
|
+
* @default "blue"
|
|
3702
|
+
*/
|
|
3120
3703
|
bg?: string;
|
|
3121
|
-
/** Foreground color
|
|
3704
|
+
/** Foreground color
|
|
3705
|
+
* @default "white"
|
|
3706
|
+
*/
|
|
3122
3707
|
fg?: string;
|
|
3123
|
-
/** Separator between items
|
|
3708
|
+
/** Separator between items
|
|
3709
|
+
* @default " │ "
|
|
3710
|
+
*/
|
|
3124
3711
|
separator?: string;
|
|
3125
3712
|
}
|
|
3713
|
+
/** Display left- and right-aligned terminal status items. */
|
|
3126
3714
|
declare const StatusBar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3127
3715
|
items: {
|
|
3128
3716
|
type: PropType<StatusBarItem[]>;
|
|
@@ -3174,7 +3762,7 @@ declare const __VLS_template: () => {
|
|
|
3174
3762
|
};
|
|
3175
3763
|
};
|
|
3176
3764
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
3177
|
-
declare const __VLS_base: import("
|
|
3765
|
+
declare const __VLS_base: import("vue").DefineComponent<HeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3178
3766
|
declare const __VLS_export$1: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3179
3767
|
declare const _default$1: typeof __VLS_export$1;
|
|
3180
3768
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -3184,24 +3772,37 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
3184
3772
|
}; //# sourceMappingURL=FrescoHeader.vue.d.ts.map
|
|
3185
3773
|
//#endregion
|
|
3186
3774
|
//#region src/components/KeyHint.d.ts
|
|
3775
|
+
/** Displayed key labels and the action they describe. */
|
|
3187
3776
|
interface KeyBinding {
|
|
3188
3777
|
keys: string[];
|
|
3189
3778
|
description: string;
|
|
3190
3779
|
}
|
|
3780
|
+
/** Key bindings, layout direction, and colors for a shortcut legend. */
|
|
3191
3781
|
interface KeyHintProps {
|
|
3192
3782
|
/** Key bindings to display */
|
|
3193
3783
|
bindings: KeyBinding[];
|
|
3194
|
-
/** Layout direction
|
|
3784
|
+
/** Layout direction
|
|
3785
|
+
* @default "horizontal"
|
|
3786
|
+
*/
|
|
3195
3787
|
direction?: "horizontal" | "vertical";
|
|
3196
|
-
/** Key foreground color
|
|
3788
|
+
/** Key foreground color
|
|
3789
|
+
* @default "black"
|
|
3790
|
+
*/
|
|
3197
3791
|
keyFg?: string;
|
|
3198
|
-
/** Key background color
|
|
3792
|
+
/** Key background color
|
|
3793
|
+
* @default "white"
|
|
3794
|
+
*/
|
|
3199
3795
|
keyBg?: string;
|
|
3200
|
-
/** Description foreground color
|
|
3796
|
+
/** Description foreground color
|
|
3797
|
+
* @default "gray"
|
|
3798
|
+
*/
|
|
3201
3799
|
descFg?: string;
|
|
3202
|
-
/** Separator between key and description
|
|
3800
|
+
/** Separator between key and description
|
|
3801
|
+
* @default " "
|
|
3802
|
+
*/
|
|
3203
3803
|
separator?: string;
|
|
3204
3804
|
}
|
|
3805
|
+
/** Display key chords and their action descriptions. */
|
|
3205
3806
|
declare const KeyHint: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3206
3807
|
bindings: {
|
|
3207
3808
|
type: PropType<KeyBinding[]>;
|
|
@@ -3263,8 +3864,8 @@ declare const KeyHint: import("vue").DefineComponent<import("vue").ExtractPropTy
|
|
|
3263
3864
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3264
3865
|
//#endregion
|
|
3265
3866
|
//#region src/components/FrescoAvatar.vue.d.ts
|
|
3266
|
-
declare const __VLS_export: import("
|
|
3867
|
+
declare const __VLS_export: import("vue").DefineComponent<AvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3267
3868
|
declare const _default: typeof __VLS_export;
|
|
3268
3869
|
//#endregion
|
|
3269
3870
|
export { _default$12 as $, createCodeBuffer as $t, TreeProps as A, AlertType as An, DiffProps as At, _default$8 as B, _default$24 as Bn, MarkdownCodeBlock as Bt, TabsValueKey as C, ScrollBarOrientation as Cn, TextAreaProps as Ct, _default$7 as D, ScrollBoxProps as Dn, LineNumber as Dt, MenuProps as E, ScrollBoxItemSlot as En, _default$15 as Et, TableColumn as F, HeaderProps as Fn, parseMarkdown as Ft, _default$9 as G, StackProps as Gn, MarkdownProps as Gt, ListItem as H, _default$26 as Hn, MarkdownListBlock as Ht, TableProps as I, TooltipPosition as In, renderMarkdown as It, TimerProps as J, BoxProps as Jn, MarkdownRenderOptions as Jt, Timer as K, _default$28 as Kn, MarkdownQuoteBlock as Kt, TableRow as L, TooltipProps as Ln, _default$17 as Lt, Table as M, BreadcrumbItem as Mn, _default$16 as Mt, TableAlignment as N, BreadcrumbProps as Nn, FrameBufferProps as Nt, TreeBy as O, _default$23 as On, LineNumberProps as Ot, TableCellSlotProps as P, CardProps as Pn, defaultMarkdownRenderer as Pt, ProgressBarProps as Q, Code as Qt, TableSortDirection as R, Grid as Rn, MarkdownBlock as Rt, TabsProps as S, _default$22 as Sn, TextArea as St, MenuItem as T, ScrollBoxExposed as Tn, TextInputProps as Tt, ListProps as U, _default$27 as Un, MarkdownListItem as Ut, ListBy as V, _default$25 as Vn, MarkdownHeadingBlock as Vt, ListValueKey as W, DividerProps as Wn, MarkdownParagraphBlock as Wt, _default$11 as X, MarkdownSpan as Xt, _default$10 as Y, MarkdownRenderer as Yt, ProgressBar as Z, MarkdownThematicBreakBlock as Zt, StepperProps as _, NewlineProps as _n, _default$14 as _t, _default$1 as a, CodeSelection as an, FormValues as at, Tab as b, TextProps as bn, SelectProps as bt, StatusBarProps as c, CodeSyntaxToken as cn, SliderProps as ct, PopoverProps as d, BadgeVariant as dn, ConfirmProps as dt, CodeBuffer as en, Form as et, _default$3 as f, LinkProps as fn, RadioGroup as ft, Stepper as g, _default$20 as gn, CheckboxProps as gt, StepStatus as h, _default$19 as hn, Checkbox as ht, KeyHintProps as i, CodeProps as in, FormSlotProps as it, TreeValueKey as j, AvatarProps as jn, DiffView as jt, TreeNode as k, AlertProps as kn, Diff as kt, _default$2 as l, _default$18 as ln, SliderRange as lt, Step as m, StaticProps as mn, RadioOption as mt, KeyBinding as n, CodeDiagnosticSeverity as nn, FormField as nt, StatusBar as o, CodeSyntaxContext as on, _default$13 as ot, ModalProps as p, SpinnerProps as pn, RadioGroupProps as pt, TimerMode as q, Box as qn, MarkdownRenderLine as qt, KeyHint as r, CodePosition as rn, FormProps as rt, StatusBarItem as s, CodeSyntaxProvider as sn, SliderOrientation as st, _default as t, CodeDiagnostic as tn, FormErrors as tt, PopoverPlacement as u, BadgeProps as un, Confirm as ut, _default$4 as v, TransformProps as vn, SelectBy as vt, _default$6 as w, ScrollBarProps as wn, TextInput as wt, TabsBy as x, _default$21 as xn, SelectValueKey as xt, _default$5 as y, Text as yn, SelectOption as yt, TableViewportRange as z, GridProps as zn, MarkdownBlockProvider as zt };
|
|
3270
|
-
//# sourceMappingURL=index-
|
|
3871
|
+
//# sourceMappingURL=index-Cb1yVHhF.d.mts.map
|