@vizejs/fresco 0.719.0 → 0.721.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.
Files changed (33) hide show
  1. package/dist/{accessibility-DwzT925M.d.mts → accessibility-D7iuITvU.d.mts} +4 -3
  2. package/dist/{accessibility-DwzT925M.d.mts.map → accessibility-D7iuITvU.d.mts.map} +1 -1
  3. package/dist/{app-_QmZ-PoH.d.mts → app-CJh9qfJI.d.mts} +3 -3
  4. package/dist/{app-_QmZ-PoH.d.mts.map → app-CJh9qfJI.d.mts.map} +1 -1
  5. package/dist/{app-C_wFlWSV.mjs → app-CjfLCWic.mjs} +110 -16
  6. package/dist/app-CjfLCWic.mjs.map +1 -0
  7. package/dist/components/index.d.mts +2 -2
  8. package/dist/components/index.mjs +2 -2
  9. package/dist/{components-DzkL-yHj.mjs → components-B-HgL5id.mjs} +1032 -139
  10. package/dist/components-B-HgL5id.mjs.map +1 -0
  11. package/dist/composables/index.d.mts +1 -1
  12. package/dist/composables/index.mjs +3 -3
  13. package/dist/{composables-BJeirPSH.mjs → composables-BxxLIBdJ.mjs} +3 -3
  14. package/dist/{composables-BJeirPSH.mjs.map → composables-BxxLIBdJ.mjs.map} +1 -1
  15. package/dist/{index-Ddp2Txtm.d.mts → index-BOV-0YqV.d.mts} +2 -2
  16. package/dist/{index-Ddp2Txtm.d.mts.map → index-BOV-0YqV.d.mts.map} +1 -1
  17. package/dist/{index-BCxB_ZLV.d.mts → index-C0U_GDW-.d.mts} +324 -498
  18. package/dist/index-C0U_GDW-.d.mts.map +1 -0
  19. package/dist/index.d.mts +6 -6
  20. package/dist/index.mjs +5 -5
  21. package/dist/{protocol-DavoeNLn.d.mts → protocol-C1DHP36Z.d.mts} +5 -2
  22. package/dist/protocol-C1DHP36Z.d.mts.map +1 -0
  23. package/dist/testing/index.d.mts +4 -2
  24. package/dist/testing/index.d.mts.map +1 -1
  25. package/dist/testing/index.mjs +2 -1
  26. package/dist/testing/index.mjs.map +1 -1
  27. package/dist/{useBoxMetrics-lF5Myjc7.mjs → useBoxMetrics-BMD1acRU.mjs} +2 -2
  28. package/dist/{useBoxMetrics-lF5Myjc7.mjs.map → useBoxMetrics-BMD1acRU.mjs.map} +1 -1
  29. package/package.json +2 -2
  30. package/dist/app-C_wFlWSV.mjs.map +0 -1
  31. package/dist/components-DzkL-yHj.mjs.map +0 -1
  32. package/dist/index-BCxB_ZLV.d.mts.map +0 -1
  33. package/dist/protocol-DavoeNLn.d.mts.map +0 -1
@@ -1,11 +1,13 @@
1
- import { D as FrescoStyle, l as FrescoCanonicalStyle, o as FrescoAppearance, s as FrescoBorderStyle, u as FrescoDimension } from "./protocol-DavoeNLn.mjs";
2
- import { n as AriaState, t as AriaRole } from "./accessibility-DwzT925M.mjs";
1
+ import { D as FrescoStyle, l as FrescoCanonicalStyle, o as FrescoAppearance, s as FrescoBorderStyle, u as FrescoDimension } from "./protocol-C1DHP36Z.mjs";
2
+ import { n as AriaState, t as AriaRole } from "./accessibility-D7iuITvU.mjs";
3
3
  import { i as VirtualViewportRange, t as VirtualScrollAlignment } from "./useVirtualViewport-TxTapifg.mjs";
4
4
  import { PropType, Ref, VNode } from "vue";
5
5
 
6
6
  //#region src/components/Box.d.ts
7
7
  type BorderStyleName = FrescoBorderStyle | "round" | "bold";
8
8
  interface BoxProps extends FrescoCanonicalStyle {
9
+ /** Logical useFocus target routed to this host node. */
10
+ focusId?: string;
9
11
  /** Padding X (left and right) */
10
12
  paddingX?: number;
11
13
  /** Padding Y (top and bottom) */
@@ -97,6 +99,7 @@ declare const Box: import("vue").DefineComponent<import("vue").ExtractPropTypes<
97
99
  overflow: PropType<BoxProps["overflow"]>;
98
100
  overflowX: PropType<BoxProps["overflowX"]>;
99
101
  overflowY: PropType<BoxProps["overflowY"]>;
102
+ focusId: StringConstructor;
100
103
  border: PropType<BoxProps["border"]>;
101
104
  borderStyle: PropType<BoxProps["borderStyle"]>;
102
105
  borderTop: BooleanConstructor;
@@ -171,6 +174,7 @@ declare const Box: import("vue").DefineComponent<import("vue").ExtractPropTypes<
171
174
  overflow: PropType<BoxProps["overflow"]>;
172
175
  overflowX: PropType<BoxProps["overflowX"]>;
173
176
  overflowY: PropType<BoxProps["overflowY"]>;
177
+ focusId: StringConstructor;
174
178
  border: PropType<BoxProps["border"]>;
175
179
  borderStyle: PropType<BoxProps["borderStyle"]>;
176
180
  borderTop: BooleanConstructor;
@@ -214,8 +218,8 @@ declare const Box: import("vue").DefineComponent<import("vue").ExtractPropTypes<
214
218
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
215
219
  //#endregion
216
220
  //#region src/components/FrescoSpacer.vue.d.ts
217
- declare const __VLS_export$22: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
218
- declare const _default$22: typeof __VLS_export$22;
221
+ declare const __VLS_export$28: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
222
+ declare const _default$28: typeof __VLS_export$28;
219
223
  //#endregion
220
224
  //#region src/components/layout-primitive-types.d.ts
221
225
  interface DividerProps {
@@ -245,52 +249,52 @@ interface StackProps {
245
249
  type ConvenienceStackProps = Pick<StackProps, "gap" | "align" | "justify">;
246
250
  //#endregion
247
251
  //#region src/components/FrescoDivider.vue.d.ts
248
- declare const __VLS_export$21: import("@vue/runtime-core").DefineComponent<DividerProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DividerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
249
- declare const _default$21: typeof __VLS_export$21;
252
+ declare const __VLS_export$27: import("@vue/runtime-core").DefineComponent<DividerProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DividerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
253
+ declare const _default$27: typeof __VLS_export$27;
250
254
  //#endregion
251
255
  //#region src/components/FrescoStack.vue.d.ts
252
- declare const __VLS_template$5: () => {
256
+ declare const __VLS_template$3: () => {
253
257
  __VLS_Slots: {
254
258
  default?: (props: {}) => any;
255
259
  };
256
260
  };
257
- type __VLS_Slots$8 = ReturnType<typeof __VLS_template$5>['__VLS_Slots'];
258
- declare const __VLS_base$8: import("@vue/runtime-core").DefineComponent<StackProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<StackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
259
- declare const __VLS_export$20: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
260
- declare const _default$20: typeof __VLS_export$20;
261
- type __VLS_WithSlots$8<T, S> = T & {
261
+ type __VLS_Slots$9 = ReturnType<typeof __VLS_template$3>['__VLS_Slots'];
262
+ declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<StackProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<StackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
263
+ declare const __VLS_export$26: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
264
+ declare const _default$26: typeof __VLS_export$26;
265
+ type __VLS_WithSlots$9<T, S> = T & {
262
266
  new (): {
263
267
  $slots: S;
264
268
  };
265
269
  }; //# sourceMappingURL=FrescoStack.vue.d.ts.map
266
270
  //#endregion
267
271
  //#region src/components/FrescoHStack.vue.d.ts
268
- declare const __VLS_template$4: () => {
272
+ declare const __VLS_template$2: () => {
269
273
  __VLS_Slots: {
270
274
  default?: (props: {}) => any;
271
275
  };
272
276
  };
273
- type __VLS_Slots$7 = ReturnType<typeof __VLS_template$4>['__VLS_Slots'];
274
- declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<ConvenienceStackProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<ConvenienceStackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
275
- declare const __VLS_export$19: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
276
- declare const _default$19: typeof __VLS_export$19;
277
- type __VLS_WithSlots$7<T, S> = T & {
277
+ type __VLS_Slots$8 = ReturnType<typeof __VLS_template$2>['__VLS_Slots'];
278
+ declare const __VLS_base$8: import("@vue/runtime-core").DefineComponent<ConvenienceStackProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<ConvenienceStackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
279
+ declare const __VLS_export$25: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
280
+ declare const _default$25: typeof __VLS_export$25;
281
+ type __VLS_WithSlots$8<T, S> = T & {
278
282
  new (): {
279
283
  $slots: S;
280
284
  };
281
285
  }; //# sourceMappingURL=FrescoHStack.vue.d.ts.map
282
286
  //#endregion
283
287
  //#region src/components/FrescoVStack.vue.d.ts
284
- declare const __VLS_template$3: () => {
288
+ declare const __VLS_template$1: () => {
285
289
  __VLS_Slots: {
286
290
  default?: (props: {}) => any;
287
291
  };
288
292
  };
289
- type __VLS_Slots$6 = ReturnType<typeof __VLS_template$3>['__VLS_Slots'];
290
- declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<ConvenienceStackProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<ConvenienceStackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
291
- declare const __VLS_export$18: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
292
- declare const _default$18: typeof __VLS_export$18;
293
- type __VLS_WithSlots$6<T, S> = T & {
293
+ type __VLS_Slots$7 = ReturnType<typeof __VLS_template$1>['__VLS_Slots'];
294
+ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<ConvenienceStackProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<ConvenienceStackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
295
+ declare const __VLS_export$24: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
296
+ declare const _default$24: typeof __VLS_export$24;
297
+ type __VLS_WithSlots$7<T, S> = T & {
294
298
  new (): {
295
299
  $slots: S;
296
300
  };
@@ -431,6 +435,8 @@ interface TooltipProps {
431
435
  visible?: boolean;
432
436
  /** Tooltip position */
433
437
  position?: TooltipPosition;
438
+ /** Gap in terminal cells between the anchor and tooltip. */
439
+ offset?: number;
434
440
  /** Border style */
435
441
  border?: "single" | "rounded" | "none";
436
442
  /** Background color */
@@ -440,14 +446,14 @@ interface TooltipProps {
440
446
  }
441
447
  //#endregion
442
448
  //#region src/components/FrescoCard.vue.d.ts
443
- type __VLS_Slots$5 = {
449
+ type __VLS_Slots$6 = {
444
450
  default?(): unknown;
445
451
  footer?(): unknown;
446
452
  };
447
- declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<CardProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<CardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
448
- declare const __VLS_export$17: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
449
- declare const _default$17: typeof __VLS_export$17;
450
- type __VLS_WithSlots$5<T, S> = T & {
453
+ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<CardProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<CardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
454
+ declare const __VLS_export$23: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
455
+ declare const _default$23: typeof __VLS_export$23;
456
+ type __VLS_WithSlots$6<T, S> = T & {
451
457
  new (): {
452
458
  $slots: S;
453
459
  };
@@ -498,33 +504,33 @@ interface ScrollBarProps {
498
504
  }
499
505
  //#endregion
500
506
  //#region src/components/ScrollBox.vue.d.ts
501
- type __VLS_Slots$4 = {
507
+ type __VLS_Slots$5 = {
502
508
  /** Rows retained by the virtual viewport. */default(props: ScrollBoxItemSlot): unknown; /** Content kept mounted before the viewport. */
503
509
  start(): unknown; /** Content kept mounted after the viewport. */
504
510
  end(): unknown;
505
511
  };
506
- declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<ScrollBoxProps, ScrollBoxExposed, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
512
+ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<ScrollBoxProps, ScrollBoxExposed, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
507
513
  scroll: (range: VirtualViewportRange) => any;
508
514
  "update:modelValue": (offset: number) => any;
509
515
  }, string, import("@vue/runtime-core").PublicProps, Readonly<ScrollBoxProps> & Readonly<{
510
516
  onScroll?: ((range: VirtualViewportRange) => any) | undefined;
511
517
  "onUpdate:modelValue"?: ((offset: number) => any) | undefined;
512
518
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
513
- declare const __VLS_export$16: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
514
- declare const _default$16: typeof __VLS_export$16;
515
- type __VLS_WithSlots$4<T, S> = T & {
519
+ declare const __VLS_export$22: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
520
+ declare const _default$22: typeof __VLS_export$22;
521
+ type __VLS_WithSlots$5<T, S> = T & {
516
522
  new (): {
517
523
  $slots: S;
518
524
  };
519
525
  }; //# sourceMappingURL=ScrollBox.vue.d.ts.map
520
526
  //#endregion
521
527
  //#region src/components/ScrollBar.vue.d.ts
522
- declare const __VLS_export$15: import("@vue/runtime-core").DefineComponent<ScrollBarProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
528
+ declare const __VLS_export$21: import("@vue/runtime-core").DefineComponent<ScrollBarProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
523
529
  "update:offset": (offset: number) => any;
524
530
  }, string, import("@vue/runtime-core").PublicProps, Readonly<ScrollBarProps> & Readonly<{
525
531
  "onUpdate:offset"?: ((offset: number) => any) | undefined;
526
532
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
527
- declare const _default$15: typeof __VLS_export$15;
533
+ declare const _default$21: typeof __VLS_export$21;
528
534
  //#endregion
529
535
  //#region src/components/Text.d.ts
530
536
  type TextWrap = boolean | "wrap" | "hard" | "truncate" | "truncate-start" | "truncate-middle" | "truncate-end" | "end" | "middle";
@@ -587,11 +593,11 @@ declare const Text: import("vue").DefineComponent<import("vue").ExtractPropTypes
587
593
  hidden: boolean;
588
594
  ariaHidden: boolean;
589
595
  dim: boolean;
590
- dimColor: boolean;
591
596
  italic: boolean;
592
597
  underline: boolean;
593
- strikethrough: boolean;
594
598
  inverse: boolean;
599
+ dimColor: boolean;
600
+ strikethrough: boolean;
595
601
  blink: boolean;
596
602
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
597
603
  //#endregion
@@ -610,12 +616,12 @@ interface TransformProps {
610
616
  }
611
617
  //#endregion
612
618
  //#region src/components/FrescoNewline.vue.d.ts
613
- declare const __VLS_export$14: import("@vue/runtime-core").DefineComponent<NewlineProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NewlineProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
614
- declare const _default$14: typeof __VLS_export$14;
619
+ declare const __VLS_export$20: import("@vue/runtime-core").DefineComponent<NewlineProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NewlineProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
620
+ declare const _default$20: typeof __VLS_export$20;
615
621
  //#endregion
616
622
  //#region src/components/FrescoStatic.vue.d.ts
617
- declare const __VLS_export$13: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
618
- props: import("vue").PublicProps & __VLS_PrettifyLocal<{
623
+ declare const __VLS_export$19: <T = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
624
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$5<{
619
625
  items?: T[];
620
626
  style?: FrescoStyle;
621
627
  }> & (typeof globalThis extends {
@@ -633,8 +639,8 @@ declare const __VLS_export$13: <T = unknown>(__VLS_props: NonNullable<Awaited<ty
633
639
  }>) => import("vue").VNode & {
634
640
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
635
641
  };
636
- declare const _default$13: typeof __VLS_export$13;
637
- type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=FrescoStatic.vue.d.ts.map
642
+ declare const _default$19: typeof __VLS_export$19;
643
+ type __VLS_PrettifyLocal$5<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=FrescoStatic.vue.d.ts.map
638
644
  //#endregion
639
645
  //#region src/components/display-primitive-types.d.ts
640
646
  /** Public props for the Static output component. */
@@ -705,13 +711,13 @@ interface SpinnerProps {
705
711
  }
706
712
  //#endregion
707
713
  //#region src/components/FrescoTransform.vue.d.ts
708
- type __VLS_Slots$3 = {
714
+ type __VLS_Slots$4 = {
709
715
  default?: () => unknown;
710
716
  };
711
- declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<TransformProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<TransformProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
712
- declare const __VLS_export$12: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
713
- declare const _default$12: typeof __VLS_export$12;
714
- type __VLS_WithSlots$3<T, S> = T & {
717
+ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<TransformProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<TransformProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
718
+ declare const __VLS_export$18: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
719
+ declare const _default$18: typeof __VLS_export$18;
720
+ type __VLS_WithSlots$4<T, S> = T & {
715
721
  new (): {
716
722
  $slots: S;
717
723
  };
@@ -918,11 +924,11 @@ declare const Code: import("vue").DefineComponent<import("vue").ExtractPropTypes
918
924
  fg: string;
919
925
  focused: boolean;
920
926
  border: "none" | "single" | "double" | "rounded" | undefined;
921
- offset: number;
922
927
  overscan: number;
928
+ offset: number;
923
929
  lineNumberFg: string;
924
- lineNumbers: boolean;
925
930
  code: string;
931
+ lineNumbers: boolean;
926
932
  startLine: number;
927
933
  highlightLines: readonly number[];
928
934
  highlightBg: string;
@@ -1055,8 +1061,8 @@ interface MarkdownProps extends MarkdownRenderOptions {
1055
1061
  }
1056
1062
  //#endregion
1057
1063
  //#region src/components/FrescoMarkdown.vue.d.ts
1058
- declare const __VLS_export$11: import("@vue/runtime-core").DefineComponent<MarkdownProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<MarkdownProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
1059
- declare const _default$11: typeof __VLS_export$11;
1064
+ declare const __VLS_export$17: import("@vue/runtime-core").DefineComponent<MarkdownProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<MarkdownProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
1065
+ declare const _default$17: typeof __VLS_export$17;
1060
1066
  //#endregion
1061
1067
  //#region src/components/markdown.d.ts
1062
1068
  /** Parse the block-level subset of CommonMark used by Fresco Markdown. */
@@ -1092,8 +1098,8 @@ interface FrameBufferProps {
1092
1098
  }
1093
1099
  //#endregion
1094
1100
  //#region src/components/FrescoFrameBuffer.vue.d.ts
1095
- declare const __VLS_export$10: import("@vue/runtime-core").DefineComponent<FrameBufferProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<FrameBufferProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
1096
- declare const _default$10: typeof __VLS_export$10;
1101
+ declare const __VLS_export$16: import("@vue/runtime-core").DefineComponent<FrameBufferProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<FrameBufferProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
1102
+ declare const _default$16: typeof __VLS_export$16;
1097
1103
  //#endregion
1098
1104
  //#region src/components/Diff.d.ts
1099
1105
  type DiffView = "unified" | "split";
@@ -1347,8 +1353,8 @@ declare const LineNumber: import("vue").DefineComponent<import("vue").ExtractPro
1347
1353
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1348
1354
  //#endregion
1349
1355
  //#region src/components/FrescoLink.vue.d.ts
1350
- declare const __VLS_export$9: import("@vue/runtime-core").DefineComponent<LinkProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<LinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
1351
- declare const _default$9: typeof __VLS_export$9;
1356
+ declare const __VLS_export$15: import("@vue/runtime-core").DefineComponent<LinkProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<LinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
1357
+ declare const _default$15: typeof __VLS_export$15;
1352
1358
  //#endregion
1353
1359
  //#region src/components/TextInput.d.ts
1354
1360
  interface TextInputProps {
@@ -1430,7 +1436,7 @@ declare const TextInput: import("vue").DefineComponent<import("vue").ExtractProp
1430
1436
  validate: PropType<TextInputProps["validate"]>;
1431
1437
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1432
1438
  [key: string]: any;
1433
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "submit" | "compositionstart" | "compositionupdate" | "compositionend" | "selectionChange" | "copy" | "cut" | "validationChange")[], "update:modelValue" | "cancel" | "submit" | "compositionstart" | "compositionupdate" | "compositionend" | "selectionChange" | "copy" | "cut" | "validationChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1439
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "submit" | "cancel" | "compositionstart" | "compositionupdate" | "compositionend" | "selectionChange" | "copy" | "cut" | "validationChange")[], "update:modelValue" | "submit" | "cancel" | "compositionstart" | "compositionupdate" | "compositionend" | "selectionChange" | "copy" | "cut" | "validationChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1434
1440
  modelValue: {
1435
1441
  type: StringConstructor;
1436
1442
  default: undefined;
@@ -1465,8 +1471,8 @@ declare const TextInput: import("vue").DefineComponent<import("vue").ExtractProp
1465
1471
  validate: PropType<TextInputProps["validate"]>;
1466
1472
  }>> & Readonly<{
1467
1473
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1468
- onCancel?: ((...args: any[]) => any) | undefined;
1469
1474
  onSubmit?: ((...args: any[]) => any) | undefined;
1475
+ onCancel?: ((...args: any[]) => any) | undefined;
1470
1476
  onCompositionstart?: ((...args: any[]) => any) | undefined;
1471
1477
  onCompositionupdate?: ((...args: any[]) => any) | undefined;
1472
1478
  onCompositionend?: ((...args: any[]) => any) | undefined;
@@ -1477,9 +1483,9 @@ declare const TextInput: import("vue").DefineComponent<import("vue").ExtractProp
1477
1483
  }>, {
1478
1484
  focused: boolean;
1479
1485
  modelValue: string;
1480
- defaultValue: string;
1481
1486
  placeholder: string;
1482
1487
  focus: boolean;
1488
+ defaultValue: string;
1483
1489
  mask: boolean;
1484
1490
  maskChar: string;
1485
1491
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1565,7 +1571,7 @@ declare const TextArea: import("vue").DefineComponent<import("vue").ExtractPropT
1565
1571
  validate: PropType<TextAreaProps["validate"]>;
1566
1572
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1567
1573
  [key: string]: any;
1568
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "submit" | "compositionstart" | "compositionupdate" | "compositionend" | "selectionChange" | "copy" | "cut" | "validationChange" | "update:cursorLine" | "update:cursorColumn")[], "update:modelValue" | "cancel" | "submit" | "compositionstart" | "compositionupdate" | "compositionend" | "selectionChange" | "copy" | "cut" | "validationChange" | "update:cursorLine" | "update:cursorColumn", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1574
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "submit" | "cancel" | "compositionstart" | "compositionupdate" | "compositionend" | "selectionChange" | "copy" | "cut" | "validationChange" | "update:cursorLine" | "update:cursorColumn")[], "update:modelValue" | "submit" | "cancel" | "compositionstart" | "compositionupdate" | "compositionend" | "selectionChange" | "copy" | "cut" | "validationChange" | "update:cursorLine" | "update:cursorColumn", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1569
1575
  modelValue: {
1570
1576
  type: StringConstructor;
1571
1577
  default: undefined;
@@ -1613,8 +1619,8 @@ declare const TextArea: import("vue").DefineComponent<import("vue").ExtractPropT
1613
1619
  validate: PropType<TextAreaProps["validate"]>;
1614
1620
  }>> & Readonly<{
1615
1621
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1616
- onCancel?: ((...args: any[]) => any) | undefined;
1617
1622
  onSubmit?: ((...args: any[]) => any) | undefined;
1623
+ onCancel?: ((...args: any[]) => any) | undefined;
1618
1624
  onCompositionstart?: ((...args: any[]) => any) | undefined;
1619
1625
  onCompositionupdate?: ((...args: any[]) => any) | undefined;
1620
1626
  onCompositionend?: ((...args: any[]) => any) | undefined;
@@ -1628,28 +1634,40 @@ declare const TextArea: import("vue").DefineComponent<import("vue").ExtractPropT
1628
1634
  focused: boolean;
1629
1635
  cursor: string;
1630
1636
  border: "none" | "single" | "double" | "rounded" | undefined;
1631
- disabled: boolean;
1632
1637
  modelValue: string;
1638
+ disabled: boolean;
1633
1639
  lineNumberFg: string;
1640
+ lineNumbers: boolean;
1634
1641
  defaultValue: string;
1635
1642
  rows: number;
1636
- lineNumbers: boolean;
1637
1643
  placeholderFg: string;
1638
1644
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1639
1645
  //#endregion
1646
+ //#region src/components/collection-values.d.ts
1647
+ type CollectionValueKey<Value> = Value extends object ? Extract<keyof Value, string | number | symbol> : never;
1648
+ type CollectionBy<Value> = CollectionValueKey<Value> | ((left: Value, right: Value) => boolean);
1649
+ //#endregion
1640
1650
  //#region src/components/Select.d.ts
1641
- interface SelectOption {
1651
+ interface SelectOption<Value = string> {
1652
+ /** Stable render identity when the value is not a Vue vnode key. */
1653
+ key?: string | number | symbol;
1642
1654
  label: string;
1643
- value: string;
1655
+ value: Value;
1644
1656
  disabled?: boolean;
1645
1657
  }
1646
- interface SelectProps {
1658
+ type SelectValueKey<Value> = CollectionValueKey<Value>;
1659
+ type SelectBy<Value> = CollectionBy<Value>;
1660
+ interface SelectProps<Value = string> {
1647
1661
  /** Options to display */
1648
- options: SelectOption[];
1662
+ options: readonly SelectOption<Value>[];
1649
1663
  /** Currently selected value */
1650
- modelValue?: string;
1664
+ modelValue?: Value;
1665
+ /** Compare values by an object key or a custom equality function */
1666
+ by?: SelectBy<Value>;
1651
1667
  /** Placeholder text */
1652
1668
  placeholder?: string;
1669
+ /** Maximum visible options before the selection window scrolls */
1670
+ maxHeight?: number;
1653
1671
  /** Whether the select is focused */
1654
1672
  focused?: boolean;
1655
1673
  /** Indicator for selected item */
@@ -1665,76 +1683,24 @@ interface SelectProps {
1665
1683
  /** Selected item background color */
1666
1684
  selectedBg?: string;
1667
1685
  }
1668
- declare const Select: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1669
- options: {
1670
- type: PropType<SelectOption[]>;
1671
- required: true;
1672
- };
1673
- modelValue: StringConstructor;
1674
- placeholder: {
1675
- type: StringConstructor;
1676
- default: string;
1677
- };
1678
- focused: {
1679
- type: BooleanConstructor;
1680
- default: boolean;
1681
- };
1682
- indicator: {
1683
- type: StringConstructor;
1684
- default: string;
1685
- };
1686
- indicatorEmpty: {
1687
- type: StringConstructor;
1688
- default: string;
1689
- };
1690
- fg: StringConstructor;
1691
- bg: StringConstructor;
1692
- selectedFg: {
1693
- type: StringConstructor;
1694
- default: string;
1695
- };
1696
- selectedBg: StringConstructor;
1697
- }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1698
- [key: string]: any;
1699
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "select")[], "update:modelValue" | "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1700
- options: {
1701
- type: PropType<SelectOption[]>;
1702
- required: true;
1703
- };
1704
- modelValue: StringConstructor;
1705
- placeholder: {
1706
- type: StringConstructor;
1707
- default: string;
1708
- };
1709
- focused: {
1710
- type: BooleanConstructor;
1711
- default: boolean;
1712
- };
1713
- indicator: {
1714
- type: StringConstructor;
1715
- default: string;
1716
- };
1717
- indicatorEmpty: {
1718
- type: StringConstructor;
1719
- default: string;
1720
- };
1721
- fg: StringConstructor;
1722
- bg: StringConstructor;
1723
- selectedFg: {
1724
- type: StringConstructor;
1725
- default: string;
1726
- };
1727
- selectedBg: StringConstructor;
1728
- }>> & Readonly<{
1729
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1730
- onSelect?: ((...args: any[]) => any) | undefined;
1731
- }>, {
1732
- focused: boolean;
1733
- selectedFg: string;
1734
- placeholder: string;
1735
- indicator: string;
1736
- indicatorEmpty: string;
1737
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1686
+ //#endregion
1687
+ //#region src/components/FrescoSelect.vue.d.ts
1688
+ declare const __VLS_export$14: <Value = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1689
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$4<SelectProps<Value> & {
1690
+ "onUpdate:modelValue"?: ((value: Value) => any) | undefined;
1691
+ onSelect?: ((value: Value) => any) | undefined;
1692
+ }> & (typeof globalThis extends {
1693
+ __VLS_PROPS_FALLBACK: infer P;
1694
+ } ? P : {});
1695
+ expose: (exposed: {}) => void;
1696
+ attrs: any;
1697
+ slots: {};
1698
+ emit: ((evt: "update:modelValue", value: Value) => void) & ((evt: "select", value: Value) => void);
1699
+ }>) => import("vue").VNode & {
1700
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
1701
+ };
1702
+ declare const _default$14: typeof __VLS_export$14;
1703
+ type __VLS_PrettifyLocal$4<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=FrescoSelect.vue.d.ts.map
1738
1704
  //#endregion
1739
1705
  //#region src/components/Checkbox.d.ts
1740
1706
  /**
@@ -1819,8 +1785,8 @@ declare const Checkbox: import("vue").DefineComponent<import("vue").ExtractPropT
1819
1785
  onChange?: ((...args: any[]) => any) | undefined;
1820
1786
  }>, {
1821
1787
  focused: boolean;
1822
- disabled: boolean;
1823
1788
  modelValue: boolean;
1789
+ disabled: boolean;
1824
1790
  checked: string;
1825
1791
  unchecked: string;
1826
1792
  checkedFg: string;
@@ -1917,9 +1883,9 @@ declare const RadioGroup: import("vue").DefineComponent<import("vue").ExtractPro
1917
1883
  }>, {
1918
1884
  focused: boolean;
1919
1885
  direction: "horizontal" | "vertical";
1886
+ selectedFg: string;
1920
1887
  selected: string;
1921
1888
  unselected: string;
1922
- selectedFg: string;
1923
1889
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1924
1890
  //#endregion
1925
1891
  //#region src/components/Confirm.d.ts
@@ -1979,7 +1945,7 @@ declare const Confirm: import("vue").DefineComponent<import("vue").ExtractPropTy
1979
1945
  };
1980
1946
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1981
1947
  [key: string]: any;
1982
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "cancel" | "select")[], "confirm" | "cancel" | "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1948
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "cancel" | "confirm")[], "select" | "cancel" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1983
1949
  message: {
1984
1950
  type: StringConstructor;
1985
1951
  required: true;
@@ -2013,9 +1979,9 @@ declare const Confirm: import("vue").DefineComponent<import("vue").ExtractPropTy
2013
1979
  default: string;
2014
1980
  };
2015
1981
  }>> & Readonly<{
2016
- onConfirm?: ((...args: any[]) => any) | undefined;
2017
- onCancel?: ((...args: any[]) => any) | undefined;
2018
1982
  onSelect?: ((...args: any[]) => any) | undefined;
1983
+ onCancel?: ((...args: any[]) => any) | undefined;
1984
+ onConfirm?: ((...args: any[]) => any) | undefined;
2019
1985
  }>, {
2020
1986
  focused: boolean;
2021
1987
  selectedFg: string;
@@ -2074,14 +2040,14 @@ interface SliderRange {
2074
2040
  }
2075
2041
  //#endregion
2076
2042
  //#region src/components/FrescoSlider.vue.d.ts
2077
- declare const __VLS_export$8: import("@vue/runtime-core").DefineComponent<SliderProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2043
+ declare const __VLS_export$13: import("@vue/runtime-core").DefineComponent<SliderProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2078
2044
  "update:modelValue": (value: number) => any;
2079
2045
  change: (value: number) => any;
2080
2046
  }, string, import("@vue/runtime-core").PublicProps, Readonly<SliderProps> & Readonly<{
2081
2047
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
2082
2048
  onChange?: ((value: number) => any) | undefined;
2083
2049
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2084
- declare const _default$8: typeof __VLS_export$8;
2050
+ declare const _default$13: typeof __VLS_export$13;
2085
2051
  //#endregion
2086
2052
  //#region src/components/Form.d.ts
2087
2053
  /** Values submitted and validated by Form, keyed by field key. */
@@ -2169,7 +2135,7 @@ declare const Form: import("vue").DefineComponent<import("vue").ExtractPropTypes
2169
2135
  };
2170
2136
  }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
2171
2137
  [key: string]: any;
2172
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:focusedKey" | "submit" | "invalid")[], "update:focusedKey" | "submit" | "invalid", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2138
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "invalid" | "update:focusedKey")[], "submit" | "invalid" | "update:focusedKey", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2173
2139
  fields: {
2174
2140
  type: PropType<FormField[]>;
2175
2141
  default: () => never[];
@@ -2209,9 +2175,9 @@ declare const Form: import("vue").DefineComponent<import("vue").ExtractPropTypes
2209
2175
  default: boolean;
2210
2176
  };
2211
2177
  }>> & Readonly<{
2212
- "onUpdate:focusedKey"?: ((...args: any[]) => any) | undefined;
2213
2178
  onSubmit?: ((...args: any[]) => any) | undefined;
2214
2179
  onInvalid?: ((...args: any[]) => any) | undefined;
2180
+ "onUpdate:focusedKey"?: ((...args: any[]) => any) | undefined;
2215
2181
  }>, {
2216
2182
  focused: boolean;
2217
2183
  gap: number;
@@ -2225,8 +2191,8 @@ declare const Form: import("vue").DefineComponent<import("vue").ExtractPropTypes
2225
2191
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2226
2192
  //#endregion
2227
2193
  //#region src/components/FrescoSpinner.vue.d.ts
2228
- declare const __VLS_export$7: import("@vue/runtime-core").DefineComponent<SpinnerProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<SpinnerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2229
- declare const _default$7: typeof __VLS_export$7;
2194
+ declare const __VLS_export$12: import("@vue/runtime-core").DefineComponent<SpinnerProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<SpinnerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2195
+ declare const _default$12: typeof __VLS_export$12;
2230
2196
  //#endregion
2231
2197
  //#region src/components/ProgressBar.d.ts
2232
2198
  interface ProgressBarProps {
@@ -2339,23 +2305,23 @@ declare const ProgressBar: import("vue").DefineComponent<import("vue").ExtractPr
2339
2305
  };
2340
2306
  }>> & Readonly<{}>, {
2341
2307
  width: number;
2342
- filledFg: string;
2343
2308
  labelPosition: "right" | "left" | "inside";
2344
2309
  showLabel: boolean;
2345
2310
  filledChar: string;
2346
2311
  emptyChar: string;
2347
2312
  leftBorder: string;
2348
2313
  rightBorder: string;
2314
+ filledFg: string;
2349
2315
  emptyFg: string;
2350
2316
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2351
2317
  //#endregion
2352
2318
  //#region src/components/FrescoAlert.vue.d.ts
2353
- declare const __VLS_export$6: import("@vue/runtime-core").DefineComponent<AlertProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<AlertProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2354
- declare const _default$6: typeof __VLS_export$6;
2319
+ declare const __VLS_export$11: import("@vue/runtime-core").DefineComponent<AlertProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<AlertProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2320
+ declare const _default$11: typeof __VLS_export$11;
2355
2321
  //#endregion
2356
2322
  //#region src/components/FrescoBadge.vue.d.ts
2357
- declare const __VLS_export$5: import("@vue/runtime-core").DefineComponent<BadgeProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2358
- declare const _default$5: typeof __VLS_export$5;
2323
+ declare const __VLS_export$10: import("@vue/runtime-core").DefineComponent<BadgeProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2324
+ declare const _default$10: typeof __VLS_export$10;
2359
2325
  //#endregion
2360
2326
  //#region src/components/Timer.d.ts
2361
2327
  type TimerMode = "countdown" | "stopwatch";
@@ -2460,36 +2426,38 @@ declare const Timer: import("vue").DefineComponent<import("vue").ExtractPropType
2460
2426
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2461
2427
  //#endregion
2462
2428
  //#region src/components/FrescoTooltip.vue.d.ts
2463
- declare const __VLS_template$2: () => {
2464
- __VLS_Slots: {
2465
- default?: (props: {}) => any;
2466
- } & {
2467
- default?: (props: {}) => any;
2468
- } & {
2469
- default?: (props: {}) => any;
2470
- };
2429
+ type __VLS_Slots$3 = {
2430
+ default?: () => unknown;
2471
2431
  };
2472
- type __VLS_Slots$2 = ReturnType<typeof __VLS_template$2>['__VLS_Slots'];
2473
- declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<TooltipProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<TooltipProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2474
- declare const __VLS_export$4: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
2475
- declare const _default$4: typeof __VLS_export$4;
2476
- type __VLS_WithSlots$2<T, S> = T & {
2432
+ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<TooltipProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<TooltipProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2433
+ declare const __VLS_export$9: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
2434
+ declare const _default$9: typeof __VLS_export$9;
2435
+ type __VLS_WithSlots$3<T, S> = T & {
2477
2436
  new (): {
2478
2437
  $slots: S;
2479
2438
  };
2480
2439
  }; //# sourceMappingURL=FrescoTooltip.vue.d.ts.map
2481
2440
  //#endregion
2482
2441
  //#region src/components/List.d.ts
2483
- interface ListItem {
2442
+ interface ListItemBase {
2484
2443
  key: string;
2485
2444
  label: string;
2486
2445
  disabled?: boolean;
2487
2446
  }
2488
- interface ListProps {
2447
+ type ListItem<Value = string> = ListItemBase & ([Value] extends [string] ? {
2448
+ value?: Value;
2449
+ } : {
2450
+ value: Value;
2451
+ });
2452
+ type ListValueKey<Value> = CollectionValueKey<Value>;
2453
+ type ListBy<Value> = CollectionBy<Value>;
2454
+ interface ListProps<Value = string> {
2489
2455
  /** List items */
2490
- items: ListItem[];
2491
- /** Currently selected key */
2492
- modelValue?: string;
2456
+ items: readonly ListItem<Value>[];
2457
+ /** Currently selected value */
2458
+ modelValue?: Value;
2459
+ /** Compare values by an object key or a custom equality function */
2460
+ by?: ListBy<Value>;
2493
2461
  /** Maximum visible items (enables scrolling) */
2494
2462
  maxHeight?: number;
2495
2463
  /** Whether the list is focused */
@@ -2505,67 +2473,24 @@ interface ListProps {
2505
2473
  /** Selected background color */
2506
2474
  selectedBg?: string;
2507
2475
  }
2508
- declare const List: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2509
- items: {
2510
- type: PropType<ListItem[]>;
2511
- required: true;
2512
- };
2513
- modelValue: StringConstructor;
2514
- maxHeight: NumberConstructor;
2515
- focused: {
2516
- type: BooleanConstructor;
2517
- default: boolean;
2518
- };
2519
- indicator: {
2520
- type: StringConstructor;
2521
- default: string;
2522
- };
2523
- indicatorEmpty: {
2524
- type: StringConstructor;
2525
- default: string;
2526
- };
2527
- fg: StringConstructor;
2528
- selectedFg: {
2529
- type: StringConstructor;
2530
- default: string;
2531
- };
2532
- selectedBg: StringConstructor;
2533
- }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
2534
- [key: string]: any;
2535
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "select")[], "update:modelValue" | "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2536
- items: {
2537
- type: PropType<ListItem[]>;
2538
- required: true;
2539
- };
2540
- modelValue: StringConstructor;
2541
- maxHeight: NumberConstructor;
2542
- focused: {
2543
- type: BooleanConstructor;
2544
- default: boolean;
2545
- };
2546
- indicator: {
2547
- type: StringConstructor;
2548
- default: string;
2549
- };
2550
- indicatorEmpty: {
2551
- type: StringConstructor;
2552
- default: string;
2553
- };
2554
- fg: StringConstructor;
2555
- selectedFg: {
2556
- type: StringConstructor;
2557
- default: string;
2558
- };
2559
- selectedBg: StringConstructor;
2560
- }>> & Readonly<{
2561
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2562
- onSelect?: ((...args: any[]) => any) | undefined;
2563
- }>, {
2564
- focused: boolean;
2565
- selectedFg: string;
2566
- indicator: string;
2567
- indicatorEmpty: string;
2568
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2476
+ //#endregion
2477
+ //#region src/components/FrescoList.vue.d.ts
2478
+ declare const __VLS_export$8: <Value = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2479
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$3<ListProps<Value> & {
2480
+ "onUpdate:modelValue"?: ((value: Value) => any) | undefined;
2481
+ onSelect?: ((value: Value) => any) | undefined;
2482
+ }> & (typeof globalThis extends {
2483
+ __VLS_PROPS_FALLBACK: infer P;
2484
+ } ? P : {});
2485
+ expose: (exposed: {}) => void;
2486
+ attrs: any;
2487
+ slots: {};
2488
+ emit: ((evt: "update:modelValue", value: Value) => void) & ((evt: "select", value: Value) => void);
2489
+ }>) => import("vue").VNode & {
2490
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
2491
+ };
2492
+ declare const _default$8: typeof __VLS_export$8;
2493
+ type __VLS_PrettifyLocal$3<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=FrescoList.vue.d.ts.map
2569
2494
  //#endregion
2570
2495
  //#region src/components/table-types.d.ts
2571
2496
  /** One table row addressable by string column keys. */
@@ -2755,8 +2680,8 @@ declare const Table: import("vue").DefineComponent<import("vue").ExtractPropType
2755
2680
  }>, {
2756
2681
  focused: boolean;
2757
2682
  border: "none" | "single" | "double" | "rounded" | undefined;
2758
- offset: number;
2759
2683
  overscan: number;
2684
+ offset: number;
2760
2685
  showHeader: boolean;
2761
2686
  headerFg: string;
2762
2687
  cellPadding: number;
@@ -2765,22 +2690,33 @@ declare const Table: import("vue").DefineComponent<import("vue").ExtractPropType
2765
2690
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2766
2691
  //#endregion
2767
2692
  //#region src/components/Tree.d.ts
2768
- interface TreeNode {
2693
+ interface TreeNodeBase<Value> {
2769
2694
  key: string;
2770
2695
  label: string;
2771
- children?: TreeNode[];
2696
+ children?: readonly TreeNode<Value>[];
2772
2697
  icon?: string;
2773
2698
  disabled?: boolean;
2774
2699
  }
2775
- interface TreeProps {
2700
+ type TreeNode<Value = string> = TreeNodeBase<Value> & ([Value] extends [string] ? {
2701
+ value?: Value;
2702
+ } : {
2703
+ value: Value;
2704
+ });
2705
+ type TreeValueKey<Value> = CollectionValueKey<Value>;
2706
+ type TreeBy<Value> = CollectionBy<Value>;
2707
+ interface TreeProps<Value = string> {
2776
2708
  /** Tree data */
2777
- data: TreeNode[];
2709
+ data: readonly TreeNode<Value>[];
2778
2710
  /** Expanded node keys */
2779
- expanded?: string[];
2780
- /** Selected node key */
2781
- selected?: string;
2711
+ expanded?: readonly string[];
2712
+ /** Selected node value */
2713
+ selected?: Value;
2714
+ /** Compare selected values by an object key or a custom equality function */
2715
+ by?: TreeBy<Value>;
2782
2716
  /** Whether the tree owns keyboard input */
2783
2717
  focused?: boolean;
2718
+ /** Maximum visible flattened nodes before the tree window scrolls */
2719
+ maxHeight?: number;
2784
2720
  /** Show lines */
2785
2721
  showLines?: boolean;
2786
2722
  /** Indent size */
@@ -2796,104 +2732,29 @@ interface TreeProps {
2796
2732
  /** Selected foreground color */
2797
2733
  selectedFg?: string;
2798
2734
  }
2799
- declare const Tree: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2800
- data: {
2801
- type: PropType<TreeNode[]>;
2802
- required: true;
2803
- };
2804
- expanded: {
2805
- type: PropType<string[]>;
2806
- default: () => never[];
2807
- };
2808
- selected: StringConstructor;
2809
- focused: {
2810
- type: BooleanConstructor;
2811
- default: boolean;
2812
- };
2813
- showLines: {
2814
- type: BooleanConstructor;
2815
- default: boolean;
2816
- };
2817
- indent: {
2818
- type: NumberConstructor;
2819
- default: number;
2820
- };
2821
- expandedIcon: {
2822
- type: StringConstructor;
2823
- default: string;
2824
- };
2825
- collapsedIcon: {
2826
- type: StringConstructor;
2827
- default: string;
2828
- };
2829
- leafIcon: {
2830
- type: StringConstructor;
2831
- default: string;
2832
- };
2833
- fg: StringConstructor;
2834
- selectedFg: {
2835
- type: StringConstructor;
2836
- default: string;
2837
- };
2838
- }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2839
- [key: string]: any;
2840
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "toggle" | "update:selected" | "update:expanded")[], "select" | "toggle" | "update:selected" | "update:expanded", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2841
- data: {
2842
- type: PropType<TreeNode[]>;
2843
- required: true;
2844
- };
2845
- expanded: {
2846
- type: PropType<string[]>;
2847
- default: () => never[];
2848
- };
2849
- selected: StringConstructor;
2850
- focused: {
2851
- type: BooleanConstructor;
2852
- default: boolean;
2853
- };
2854
- showLines: {
2855
- type: BooleanConstructor;
2856
- default: boolean;
2857
- };
2858
- indent: {
2859
- type: NumberConstructor;
2860
- default: number;
2861
- };
2862
- expandedIcon: {
2863
- type: StringConstructor;
2864
- default: string;
2865
- };
2866
- collapsedIcon: {
2867
- type: StringConstructor;
2868
- default: string;
2869
- };
2870
- leafIcon: {
2871
- type: StringConstructor;
2872
- default: string;
2873
- };
2874
- fg: StringConstructor;
2875
- selectedFg: {
2876
- type: StringConstructor;
2877
- default: string;
2878
- };
2879
- }>> & Readonly<{
2880
- onSelect?: ((...args: any[]) => any) | undefined;
2881
- onToggle?: ((...args: any[]) => any) | undefined;
2882
- "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
2883
- "onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
2884
- }>, {
2885
- focused: boolean;
2886
- selectedFg: string;
2887
- expanded: string[];
2888
- showLines: boolean;
2889
- indent: number;
2890
- expandedIcon: string;
2891
- collapsedIcon: string;
2892
- leafIcon: string;
2893
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2735
+ //#endregion
2736
+ //#region src/components/FrescoTree.vue.d.ts
2737
+ declare const __VLS_export$7: <Value = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2738
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$2<TreeProps<Value> & {
2739
+ onSelect?: ((value: Value) => any) | undefined;
2740
+ "onUpdate:selected"?: ((value: Value) => any) | undefined;
2741
+ onToggle?: ((key: string, expanded: boolean) => any) | undefined;
2742
+ "onUpdate:expanded"?: ((keys: string[]) => any) | undefined;
2743
+ }> & (typeof globalThis extends {
2744
+ __VLS_PROPS_FALLBACK: infer P;
2745
+ } ? P : {});
2746
+ expose: (exposed: {}) => void;
2747
+ attrs: any;
2748
+ slots: {};
2749
+ emit: ((evt: "select", value: Value) => void) & ((evt: "update:selected", value: Value) => void) & ((evt: "toggle", key: string, expanded: boolean) => void) & ((evt: "update:expanded", keys: string[]) => void);
2750
+ }>) => import("vue").VNode & {
2751
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
2752
+ };
2753
+ declare const _default$7: typeof __VLS_export$7;
2754
+ type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=FrescoTree.vue.d.ts.map
2894
2755
  //#endregion
2895
2756
  //#region src/components/Menu.d.ts
2896
- interface MenuItem {
2757
+ interface MenuItemBase {
2897
2758
  key: string;
2898
2759
  label: string;
2899
2760
  shortcut?: string;
@@ -2901,13 +2762,20 @@ interface MenuItem {
2901
2762
  disabled?: boolean;
2902
2763
  separator?: boolean;
2903
2764
  }
2904
- interface MenuProps {
2765
+ type MenuItem<Value = string> = MenuItemBase & ([Value] extends [string] ? {
2766
+ value?: Value;
2767
+ } : {
2768
+ value: Value;
2769
+ });
2770
+ interface MenuProps<Value = string> {
2905
2771
  /** Menu items */
2906
- items: MenuItem[];
2772
+ items: readonly MenuItem<Value>[];
2907
2773
  /** Focused item index */
2908
2774
  focusedIndex?: number;
2909
2775
  /** Whether the menu owns keyboard input */
2910
2776
  focused?: boolean;
2777
+ /** Maximum visible items before the command window scrolls */
2778
+ maxHeight?: number;
2911
2779
  /** Show border */
2912
2780
  border?: "single" | "double" | "rounded" | "none";
2913
2781
  /** Width */
@@ -2921,95 +2789,49 @@ interface MenuProps {
2921
2789
  /** Shortcut foreground color */
2922
2790
  shortcutFg?: string;
2923
2791
  }
2924
- declare const Menu: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2925
- items: {
2926
- type: PropType<MenuItem[]>;
2927
- required: true;
2928
- };
2929
- focusedIndex: {
2930
- type: NumberConstructor;
2931
- default: number;
2932
- };
2933
- focused: {
2934
- type: BooleanConstructor;
2935
- default: boolean;
2936
- };
2937
- border: {
2938
- type: PropType<MenuProps["border"]>;
2939
- default: string;
2940
- };
2941
- width: NumberConstructor;
2942
- fg: StringConstructor;
2943
- focusedFg: {
2944
- type: StringConstructor;
2945
- default: string;
2946
- };
2947
- focusedBg: {
2948
- type: StringConstructor;
2949
- default: string;
2950
- };
2951
- shortcutFg: {
2952
- type: StringConstructor;
2953
- default: string;
2954
- };
2955
- }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
2956
- [key: string]: any;
2957
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:focusedIndex" | "select")[], "update:focusedIndex" | "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2958
- items: {
2959
- type: PropType<MenuItem[]>;
2960
- required: true;
2961
- };
2962
- focusedIndex: {
2963
- type: NumberConstructor;
2964
- default: number;
2965
- };
2966
- focused: {
2967
- type: BooleanConstructor;
2968
- default: boolean;
2969
- };
2970
- border: {
2971
- type: PropType<MenuProps["border"]>;
2972
- default: string;
2973
- };
2974
- width: NumberConstructor;
2975
- fg: StringConstructor;
2976
- focusedFg: {
2977
- type: StringConstructor;
2978
- default: string;
2979
- };
2980
- focusedBg: {
2981
- type: StringConstructor;
2982
- default: string;
2983
- };
2984
- shortcutFg: {
2985
- type: StringConstructor;
2986
- default: string;
2987
- };
2988
- }>> & Readonly<{
2989
- "onUpdate:focusedIndex"?: ((...args: any[]) => any) | undefined;
2990
- onSelect?: ((...args: any[]) => any) | undefined;
2991
- }>, {
2992
- focused: boolean;
2993
- border: "none" | "single" | "double" | "rounded" | undefined;
2994
- focusedIndex: number;
2995
- focusedFg: string;
2996
- focusedBg: string;
2997
- shortcutFg: string;
2998
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2792
+ //#endregion
2793
+ //#region src/components/FrescoMenu.vue.d.ts
2794
+ declare const __VLS_export$6: <Value = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2795
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$1<MenuProps<Value> & {
2796
+ onSelect?: ((value: Value) => any) | undefined;
2797
+ "onUpdate:focusedIndex"?: ((index: number) => any) | undefined;
2798
+ }> & (typeof globalThis extends {
2799
+ __VLS_PROPS_FALLBACK: infer P;
2800
+ } ? P : {});
2801
+ expose: (exposed: {}) => void;
2802
+ attrs: any;
2803
+ slots: {};
2804
+ emit: ((evt: "select", value: Value) => void) & ((evt: "update:focusedIndex", index: number) => void);
2805
+ }>) => import("vue").VNode & {
2806
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
2807
+ };
2808
+ declare const _default$6: typeof __VLS_export$6;
2809
+ type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=FrescoMenu.vue.d.ts.map
2999
2810
  //#endregion
3000
2811
  //#region src/components/Tabs.d.ts
3001
- interface Tab {
2812
+ interface TabBase {
3002
2813
  key: string;
3003
2814
  label: string;
3004
2815
  disabled?: boolean;
3005
2816
  }
3006
- interface TabsProps {
2817
+ type Tab<Value = string> = TabBase & ([Value] extends [string] ? {
2818
+ value?: Value;
2819
+ } : {
2820
+ value: Value;
2821
+ });
2822
+ type TabsValueKey<Value> = CollectionValueKey<Value>;
2823
+ type TabsBy<Value> = CollectionBy<Value>;
2824
+ interface TabsProps<Value = string> {
3007
2825
  /** Tab definitions */
3008
- tabs: Tab[];
3009
- /** Currently active tab key */
3010
- modelValue?: string;
2826
+ tabs: readonly Tab<Value>[];
2827
+ /** Currently active tab value */
2828
+ modelValue?: Value;
2829
+ /** Compare active values by an object key or a custom equality function */
2830
+ by?: TabsBy<Value>;
3011
2831
  /** Whether the tab list owns keyboard input */
3012
2832
  focused?: boolean;
2833
+ /** Maximum visible tabs before the tab strip scrolls */
2834
+ maxItems?: number;
3013
2835
  /** Tab bar position */
3014
2836
  position?: "top" | "bottom";
3015
2837
  /** Separator between tabs */
@@ -3023,82 +2845,34 @@ interface TabsProps {
3023
2845
  /** Show underline for active tab */
3024
2846
  underline?: boolean;
3025
2847
  }
3026
- declare const Tabs: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3027
- tabs: {
3028
- type: PropType<Tab[]>;
3029
- required: true;
3030
- };
3031
- modelValue: StringConstructor;
3032
- focused: {
3033
- type: BooleanConstructor;
3034
- default: boolean;
3035
- };
3036
- position: {
3037
- type: PropType<"top" | "bottom">;
3038
- default: string;
3039
- };
3040
- separator: {
3041
- type: StringConstructor;
3042
- default: string;
3043
- };
3044
- activeFg: {
3045
- type: StringConstructor;
3046
- default: string;
3047
- };
3048
- activeBg: StringConstructor;
3049
- inactiveFg: StringConstructor;
3050
- underline: {
3051
- type: BooleanConstructor;
3052
- default: boolean;
3053
- };
3054
- }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
3055
- [key: string]: any;
3056
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
3057
- tabs: {
3058
- type: PropType<Tab[]>;
3059
- required: true;
3060
- };
3061
- modelValue: StringConstructor;
3062
- focused: {
3063
- type: BooleanConstructor;
3064
- default: boolean;
3065
- };
3066
- position: {
3067
- type: PropType<"top" | "bottom">;
3068
- default: string;
3069
- };
3070
- separator: {
3071
- type: StringConstructor;
3072
- default: string;
3073
- };
3074
- activeFg: {
3075
- type: StringConstructor;
3076
- default: string;
3077
- };
3078
- activeBg: StringConstructor;
3079
- inactiveFg: StringConstructor;
3080
- underline: {
3081
- type: BooleanConstructor;
3082
- default: boolean;
2848
+ //#endregion
2849
+ //#region src/components/FrescoTabs.vue.d.ts
2850
+ declare const __VLS_export$5: <Value = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2851
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<TabsProps<Value> & {
2852
+ "onUpdate:modelValue"?: ((value: Value) => any) | undefined;
2853
+ onChange?: ((value: Value) => any) | undefined;
2854
+ }> & (typeof globalThis extends {
2855
+ __VLS_PROPS_FALLBACK: infer P;
2856
+ } ? P : {});
2857
+ expose: (exposed: {}) => void;
2858
+ attrs: any;
2859
+ slots: {
2860
+ default?: () => unknown;
3083
2861
  };
3084
- }>> & Readonly<{
3085
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
3086
- onChange?: ((...args: any[]) => any) | undefined;
3087
- }>, {
3088
- focused: boolean;
3089
- position: "top" | "bottom";
3090
- underline: boolean;
3091
- separator: string;
3092
- activeFg: string;
3093
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2862
+ emit: ((evt: "update:modelValue", value: Value) => void) & ((evt: "change", value: Value) => void);
2863
+ }>) => import("vue").VNode & {
2864
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
2865
+ };
2866
+ declare const _default$5: typeof __VLS_export$5;
2867
+ 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
3094
2868
  //#endregion
3095
2869
  //#region src/components/FrescoBreadcrumb.vue.d.ts
3096
- declare const __VLS_export$3: import("@vue/runtime-core").DefineComponent<BreadcrumbProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2870
+ declare const __VLS_export$4: import("@vue/runtime-core").DefineComponent<BreadcrumbProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3097
2871
  select: (key: string) => any;
3098
2872
  }, string, import("@vue/runtime-core").PublicProps, Readonly<BreadcrumbProps> & Readonly<{
3099
2873
  onSelect?: ((key: string) => any) | undefined;
3100
2874
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3101
- declare const _default$3: typeof __VLS_export$3;
2875
+ declare const _default$4: typeof __VLS_export$4;
3102
2876
  //#endregion
3103
2877
  //#region src/components/Stepper.d.ts
3104
2878
  interface Step {
@@ -3259,24 +3033,76 @@ interface ModalProps {
3259
3033
  }
3260
3034
  //#endregion
3261
3035
  //#region src/components/FrescoModal.vue.d.ts
3262
- declare const __VLS_template$1: () => {
3263
- __VLS_Slots: {
3264
- default?: (props: {}) => any;
3265
- };
3036
+ type __VLS_Slots$2 = {
3037
+ default?: () => unknown;
3266
3038
  };
3267
- type __VLS_Slots$1 = ReturnType<typeof __VLS_template$1>['__VLS_Slots'];
3268
- declare const __VLS_base$1: import("@vue/runtime-core").DefineComponent<ModalProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3039
+ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<ModalProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3269
3040
  close: () => any;
3270
3041
  }, string, import("@vue/runtime-core").PublicProps, Readonly<ModalProps> & Readonly<{
3271
3042
  onClose?: (() => any) | undefined;
3272
3043
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3044
+ declare const __VLS_export$3: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
3045
+ declare const _default$3: typeof __VLS_export$3;
3046
+ type __VLS_WithSlots$2<T, S> = T & {
3047
+ new (): {
3048
+ $slots: S;
3049
+ };
3050
+ }; //# sourceMappingURL=FrescoModal.vue.d.ts.map
3051
+ //#endregion
3052
+ //#region src/components/popover-types.d.ts
3053
+ /** Placement of the Popover panel relative to its anchor slot. */
3054
+ type PopoverPlacement = "top" | "right" | "bottom" | "left";
3055
+ /** Public focus, dismissal, placement, and appearance contract for Popover. */
3056
+ interface PopoverProps {
3057
+ /** Whether the panel is mounted and owns its focus boundary. */
3058
+ open?: boolean;
3059
+ /** Placement of the panel relative to the anchor. @default "bottom" */
3060
+ placement?: PopoverPlacement;
3061
+ /** Gap in terminal cells between the anchor and panel. @default 0 */
3062
+ offset?: number;
3063
+ /** Panel width. */
3064
+ width?: number | string;
3065
+ /** Panel height. */
3066
+ height?: number | string;
3067
+ /** Panel border style. @default "rounded" */
3068
+ border?: "single" | "double" | "rounded" | "heavy" | "none";
3069
+ /** Panel foreground color. */
3070
+ fg?: string;
3071
+ /** Panel background color. */
3072
+ bg?: string;
3073
+ /** Stable focus-boundary ID. */
3074
+ focusId?: string;
3075
+ /** Descendant focus ID selected after the panel opens. */
3076
+ initialFocusId?: string;
3077
+ /** Constrain sequential and programmatic focus to the popover subtree. @default true */
3078
+ trapFocus?: boolean;
3079
+ /** Restore the target focused before the panel opened. @default true */
3080
+ restoreFocus?: boolean;
3081
+ /** Emit `close` when Escape is pressed. @default true */
3082
+ closeOnEscape?: boolean;
3083
+ /** Semantic role exposed by the panel. @default "dialog" */
3084
+ accessibilityRole?: AriaRole;
3085
+ /** Accessible panel label. @default "Popover" */
3086
+ accessibilityLabel?: string;
3087
+ }
3088
+ //#endregion
3089
+ //#region src/components/FrescoPopover.vue.d.ts
3090
+ type __VLS_Slots$1 = {
3091
+ anchor?: () => unknown;
3092
+ default?: () => unknown;
3093
+ };
3094
+ declare const __VLS_base$1: import("@vue/runtime-core").DefineComponent<PopoverProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3095
+ close: () => any;
3096
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<PopoverProps> & Readonly<{
3097
+ onClose?: (() => any) | undefined;
3098
+ }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3273
3099
  declare const __VLS_export$2: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
3274
3100
  declare const _default$2: typeof __VLS_export$2;
3275
3101
  type __VLS_WithSlots$1<T, S> = T & {
3276
3102
  new (): {
3277
3103
  $slots: S;
3278
3104
  };
3279
- }; //# sourceMappingURL=FrescoModal.vue.d.ts.map
3105
+ }; //# sourceMappingURL=FrescoPopover.vue.d.ts.map
3280
3106
  //#endregion
3281
3107
  //#region src/components/StatusBar.d.ts
3282
3108
  interface StatusBarItem {
@@ -3440,5 +3266,5 @@ declare const KeyHint: import("vue").DefineComponent<import("vue").ExtractPropTy
3440
3266
  declare const __VLS_export: import("@vue/runtime-core").DefineComponent<AvatarProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<AvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3441
3267
  declare const _default: typeof __VLS_export;
3442
3268
  //#endregion
3443
- export { SliderProps as $, BadgeProps as $t, TableRow as A, _default$19 as An, MarkdownHeadingBlock as At, _default$5 as B, MarkdownThematicBreakBlock as Bt, TreeNode as C, CardProps as Cn, defaultMarkdownRenderer as Ct, TableCellSlotProps as D, Grid as Dn, MarkdownBlock as Dt, TableAlignment as E, TooltipProps as En, _default$11 as Et, ListProps as F, _default$22 as Fn, MarkdownQuoteBlock as Ft, Form as G, CodeDiagnosticSeverity as Gt, ProgressBar as H, createCodeBuffer as Ht, _default$4 as I, Box as In, MarkdownRenderLine as It, FormProps as J, CodeSelection as Jt, FormErrors as K, CodePosition as Kt, Timer as L, BoxProps as Ln, MarkdownRenderOptions as Lt, TableViewportRange as M, _default$21 as Mn, MarkdownListItem as Mt, List as N, DividerProps as Nn, MarkdownParagraphBlock as Nt, TableColumn as O, GridProps as On, MarkdownBlockProvider as Ot, ListItem as P, StackProps as Pn, MarkdownProps as Pt, SliderOrientation as Q, _default$12 as Qt, TimerMode as R, MarkdownRenderer as Rt, Tree as S, BreadcrumbProps as Sn, FrameBufferProps as St, Table as T, TooltipPosition as Tn, renderMarkdown as Tt, ProgressBarProps as U, CodeBuffer as Ut, _default$6 as V, Code as Vt, _default$7 as W, CodeDiagnostic as Wt, FormValues as X, CodeSyntaxProvider as Xt, FormSlotProps as Y, CodeSyntaxContext as Yt, _default$8 as Z, CodeSyntaxToken as Zt, Tabs as _, _default$17 as _n, LineNumberProps as _t, _default$1 as a, _default$14 as an, RadioOption as at, MenuItem as b, AvatarProps as bn, DiffView as bt, StatusBarProps as c, Text as cn, Select as ct, Step as d, _default$16 as dn, TextArea as dt, BadgeVariant as en, SliderRange as et, StepStatus as f, ScrollBarOrientation as fn, TextAreaProps as ft, Tab as g, ScrollBoxProps as gn, LineNumber as gt, _default$3 as h, ScrollBoxItemSlot as hn, _default$9 as ht, KeyHintProps as i, _default$13 as in, RadioGroupProps as it, TableSortDirection as j, _default$20 as jn, MarkdownListBlock as jt, TableProps as k, _default$18 as kn, MarkdownCodeBlock as kt, _default$2 as l, TextProps as ln, SelectOption as lt, StepperProps as m, ScrollBoxExposed as mn, TextInputProps as mt, KeyBinding as n, SpinnerProps as nn, ConfirmProps as nt, StatusBar as o, NewlineProps as on, Checkbox as ot, Stepper as p, ScrollBarProps as pn, TextInput as pt, FormField as q, CodeProps as qt, KeyHint as r, StaticProps as rn, RadioGroup as rt, StatusBarItem as s, TransformProps as sn, CheckboxProps as st, _default as t, LinkProps as tn, Confirm as tt, ModalProps as u, _default$15 as un, SelectProps as ut, TabsProps as v, AlertProps as vn, Diff as vt, TreeProps as w, HeaderProps as wn, parseMarkdown as wt, MenuProps as x, BreadcrumbItem as xn, _default$10 as xt, Menu as y, AlertType as yn, DiffProps as yt, TimerProps as z, MarkdownSpan as zt };
3444
- //# sourceMappingURL=index-BCxB_ZLV.d.mts.map
3269
+ 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-C0U_GDW-.d.mts.map