@intentic/extension-ui 1.176.3

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 (83) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +45 -0
  3. package/dist/format.js +16 -0
  4. package/dist/index.js +88 -0
  5. package/dist/types/extension-ui/src/format.d.ts +1 -0
  6. package/dist/types/extension-ui/src/index.d.ts +9 -0
  7. package/dist/types/ui/src/clipboard.d.ts +1 -0
  8. package/dist/types/ui/src/cmp.d.ts +11 -0
  9. package/dist/types/ui/src/components/AgentRunButton.vue.d.ts +22 -0
  10. package/dist/types/ui/src/components/AnchoredOverlay.vue.d.ts +29 -0
  11. package/dist/types/ui/src/components/Avatar.vue.d.ts +11 -0
  12. package/dist/types/ui/src/components/BarChart.vue.d.ts +9 -0
  13. package/dist/types/ui/src/components/BottomSheet.vue.d.ts +24 -0
  14. package/dist/types/ui/src/components/BrandMark.vue.d.ts +10 -0
  15. package/dist/types/ui/src/components/Card.vue.d.ts +16 -0
  16. package/dist/types/ui/src/components/ChangeStatusMark.vue.d.ts +7 -0
  17. package/dist/types/ui/src/components/Code.vue.d.ts +16 -0
  18. package/dist/types/ui/src/components/CodeField.vue.d.ts +19 -0
  19. package/dist/types/ui/src/components/ConfirmDialog.vue.d.ts +39 -0
  20. package/dist/types/ui/src/components/ContextMenu.vue.d.ts +12 -0
  21. package/dist/types/ui/src/components/CopyButton.vue.d.ts +13 -0
  22. package/dist/types/ui/src/components/CountBar.vue.d.ts +24 -0
  23. package/dist/types/ui/src/components/DagEditor.vue.d.ts +39 -0
  24. package/dist/types/ui/src/components/DagGraph.vue.d.ts +41 -0
  25. package/dist/types/ui/src/components/DiffStat.vue.d.ts +7 -0
  26. package/dist/types/ui/src/components/FilterBar.vue.d.ts +30 -0
  27. package/dist/types/ui/src/components/Icon.vue.d.ts +8 -0
  28. package/dist/types/ui/src/components/ImageView.vue.d.ts +6 -0
  29. package/dist/types/ui/src/components/InfoDialog.vue.d.ts +16 -0
  30. package/dist/types/ui/src/components/InfoHint.vue.d.ts +17 -0
  31. package/dist/types/ui/src/components/InfoTable.vue.d.ts +7 -0
  32. package/dist/types/ui/src/components/Markdown.vue.d.ts +8 -0
  33. package/dist/types/ui/src/components/MarkdownFigure.vue.d.ts +7 -0
  34. package/dist/types/ui/src/components/NavRail.vue.d.ts +41 -0
  35. package/dist/types/ui/src/components/Notice.vue.d.ts +12 -0
  36. package/dist/types/ui/src/components/NoticeStack.vue.d.ts +12 -0
  37. package/dist/types/ui/src/components/Page.vue.d.ts +18 -0
  38. package/dist/types/ui/src/components/PageAction.vue.d.ts +40 -0
  39. package/dist/types/ui/src/components/PageHeader.vue.d.ts +21 -0
  40. package/dist/types/ui/src/components/Panel.vue.d.ts +35 -0
  41. package/dist/types/ui/src/components/Picker.vue.d.ts +43 -0
  42. package/dist/types/ui/src/components/ProgressRing.vue.d.ts +8 -0
  43. package/dist/types/ui/src/components/ProseField.vue.d.ts +17 -0
  44. package/dist/types/ui/src/components/ResizeSeam.vue.d.ts +18 -0
  45. package/dist/types/ui/src/components/ResponsiveOverlay.vue.d.ts +31 -0
  46. package/dist/types/ui/src/components/Row.vue.d.ts +39 -0
  47. package/dist/types/ui/src/components/RowGroup.vue.d.ts +25 -0
  48. package/dist/types/ui/src/components/SearchBar.vue.d.ts +24 -0
  49. package/dist/types/ui/src/components/Segmented.vue.d.ts +35 -0
  50. package/dist/types/ui/src/components/SplitView.vue.d.ts +32 -0
  51. package/dist/types/ui/src/components/StatRow.vue.d.ts +7 -0
  52. package/dist/types/ui/src/components/StatusBadge.vue.d.ts +21 -0
  53. package/dist/types/ui/src/components/StepSection.vue.d.ts +22 -0
  54. package/dist/types/ui/src/components/barChart.d.ts +9 -0
  55. package/dist/types/ui/src/components/changeStatus.d.ts +3 -0
  56. package/dist/types/ui/src/components/dagLayout.d.ts +24 -0
  57. package/dist/types/ui/src/components/imageView.d.ts +1 -0
  58. package/dist/types/ui/src/components/navRail.d.ts +8 -0
  59. package/dist/types/ui/src/components/notice.d.ts +17 -0
  60. package/dist/types/ui/src/components/picker.d.ts +16 -0
  61. package/dist/types/ui/src/components/seriesAccent.d.ts +2 -0
  62. package/dist/types/ui/src/components/splitView.d.ts +3 -0
  63. package/dist/types/ui/src/composables/anchorPlacement.d.ts +29 -0
  64. package/dist/types/ui/src/composables/shikiLangs.d.ts +44 -0
  65. package/dist/types/ui/src/composables/useAgentRunPick.d.ts +25 -0
  66. package/dist/types/ui/src/composables/useAsyncAction.d.ts +33 -0
  67. package/dist/types/ui/src/composables/useDevice.d.ts +8 -0
  68. package/dist/types/ui/src/composables/useListNavigation.d.ts +7 -0
  69. package/dist/types/ui/src/composables/useNarrow.d.ts +2 -0
  70. package/dist/types/ui/src/composables/useNow.d.ts +2 -0
  71. package/dist/types/ui/src/composables/useTheme.d.ts +9 -0
  72. package/dist/types/ui/src/format.d.ts +14 -0
  73. package/dist/types/ui/src/icons/iconSets.d.ts +3 -0
  74. package/dist/types/ui/src/index.d.ts +64 -0
  75. package/dist/types/ui/src/markdown/code.d.ts +7 -0
  76. package/dist/types/ui/src/markdown/figures.d.ts +57 -0
  77. package/dist/types/ui/src/markdown/index.d.ts +3 -0
  78. package/dist/types/ui/src/markdown/render.d.ts +18 -0
  79. package/dist/types/ui/src/timeWindow.d.ts +8 -0
  80. package/names.mjs +82 -0
  81. package/package.json +53 -0
  82. package/src/format.ts +23 -0
  83. package/src/index.ts +200 -0
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ label: string;
3
+ text?: string;
4
+ };
5
+ declare var __VLS_12: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_12) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ headers?: string[];
3
+ rows: string[][];
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { type MarkdownDecorator } from "../markdown/render.js";
2
+ type __VLS_Props = {
3
+ source: string;
4
+ decorate?: MarkdownDecorator;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import type { Figure } from "../markdown/figures.js";
2
+ type __VLS_Props = {
3
+ figure: Figure;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,41 @@
1
+ import type { NavGroup } from "./navRail.js";
2
+ declare const __VLS_export: <T>(__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<{
3
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<({
4
+ groups: readonly NavGroup<T>[];
5
+ filterable?: boolean;
6
+ stickyHeadings?: boolean;
7
+ placeholder?: string;
8
+ count?: number;
9
+ } & {
10
+ modelValue?: string;
11
+ }) & {
12
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
+ }> & (typeof globalThis extends {
14
+ __VLS_PROPS_FALLBACK: infer P;
15
+ } ? P : {});
16
+ expose: (exposed: {}) => void;
17
+ attrs: any;
18
+ slots: {
19
+ pinned?: (props: {}) => any;
20
+ } & {
21
+ row?: (props: {
22
+ item: T;
23
+ index: number;
24
+ group: NavGroup<T>;
25
+ }) => any;
26
+ } & {
27
+ empty?: (props: {}) => any;
28
+ } & {
29
+ footer?: (props: {}) => any;
30
+ };
31
+ emit: (event: "update:modelValue", value: string) => void;
32
+ }>) => import("vue").VNode & {
33
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
34
+ };
35
+ declare const _default: typeof __VLS_export;
36
+ export default _default;
37
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
38
+ [K in keyof T]: T[K];
39
+ } : {
40
+ [K in keyof T as K]: T[K];
41
+ }) & {};
@@ -0,0 +1,12 @@
1
+ import { type NoticeModel } from "./notice.js";
2
+ type __VLS_Props = {
3
+ of: NoticeModel;
4
+ dismissLabel?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ dismiss: () => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onDismiss?: (() => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { type NoticeModel } from "./notice.js";
2
+ type __VLS_Props = {
3
+ of: readonly (NoticeModel | undefined)[];
4
+ dismissLabel?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ dismiss: (notice: NoticeModel) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onDismiss?: ((notice: NoticeModel) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ width?: `content` | `wide` | `full`;
3
+ };
4
+ declare var __VLS_1: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ width: `content` | `wide` | `full`;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,40 @@
1
+ import type { IconName } from "../icons/iconSets.js";
2
+ declare const __VLS_export: import("vue").DefineComponent<({
3
+ label: string;
4
+ icon: IconName;
5
+ hint?: string;
6
+ disabled?: boolean;
7
+ } & {
8
+ quiet?: boolean;
9
+ primary?: boolean;
10
+ href?: never;
11
+ }) | ({
12
+ label: string;
13
+ icon: IconName;
14
+ hint?: string;
15
+ disabled?: boolean;
16
+ } & {
17
+ href: string;
18
+ quiet?: never;
19
+ primary?: never;
20
+ }), {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<({
21
+ label: string;
22
+ icon: IconName;
23
+ hint?: string;
24
+ disabled?: boolean;
25
+ } & {
26
+ quiet?: boolean;
27
+ primary?: boolean;
28
+ href?: never;
29
+ }) | ({
30
+ label: string;
31
+ icon: IconName;
32
+ hint?: string;
33
+ disabled?: boolean;
34
+ } & {
35
+ href: string;
36
+ quiet?: never;
37
+ primary?: never;
38
+ })> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
+ declare const _default: typeof __VLS_export;
40
+ export default _default;
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ description?: string;
4
+ };
5
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
6
+ type __VLS_Slots = {} & {
7
+ info?: (props: typeof __VLS_1) => any;
8
+ } & {
9
+ actions?: (props: typeof __VLS_3) => any;
10
+ } & {
11
+ description?: (props: typeof __VLS_5) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,35 @@
1
+ type __VLS_Props = {
2
+ title?: string;
3
+ description?: string;
4
+ grow?: boolean;
5
+ scroll?: boolean;
6
+ };
7
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {};
8
+ type __VLS_Slots = {} & {
9
+ lead?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ title?: (props: typeof __VLS_3) => any;
12
+ } & {
13
+ badges?: (props: typeof __VLS_5) => any;
14
+ } & {
15
+ description?: (props: typeof __VLS_7) => any;
16
+ } & {
17
+ meta?: (props: typeof __VLS_9) => any;
18
+ } & {
19
+ actions?: (props: typeof __VLS_11) => any;
20
+ } & {
21
+ strips?: (props: typeof __VLS_13) => any;
22
+ } & {
23
+ default?: (props: typeof __VLS_15) => any;
24
+ } & {
25
+ default?: (props: typeof __VLS_17) => any;
26
+ };
27
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,43 @@
1
+ import { type PickerOption, type PickerOptions } from "./picker.js";
2
+ declare const __VLS_export: <T extends 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<{
3
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<({
4
+ options: PickerOptions<T>;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ variant?: `input` | `ghost`;
8
+ searchThreshold?: number;
9
+ ariaLabel?: string;
10
+ header?: string;
11
+ } & {
12
+ modelValue?: T | undefined;
13
+ }) & {
14
+ "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
15
+ }> & (typeof globalThis extends {
16
+ __VLS_PROPS_FALLBACK: infer P;
17
+ } ? P : {});
18
+ expose: (exposed: {}) => void;
19
+ attrs: any;
20
+ slots: {
21
+ icon?: (props: {
22
+ option: PickerOption<T>;
23
+ }) => any;
24
+ } & {
25
+ icon?: (props: {
26
+ option: PickerOption<T>;
27
+ }) => any;
28
+ } & {
29
+ icon?: (props: {
30
+ option: PickerOption<T>;
31
+ }) => any;
32
+ };
33
+ emit: (event: "update:modelValue", value: T | undefined) => void;
34
+ }>) => import("vue").VNode & {
35
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
36
+ };
37
+ declare const _default: typeof __VLS_export;
38
+ export default _default;
39
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
40
+ [K in keyof T]: T[K];
41
+ } : {
42
+ [K in keyof T as K]: T[K];
43
+ }) & {};
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ value: number;
3
+ size?: number;
4
+ stroke?: number;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ variant?: `heading` | `prose` | `post`;
3
+ placeholder?: string;
4
+ };
5
+ type __VLS_ModelProps = {
6
+ modelValue: string;
7
+ };
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
10
+ field: import("vue").Ref<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
11
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:modelValue": (value: string) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ axis?: `x` | `y`;
3
+ pane?: `before` | `after`;
4
+ min: number;
5
+ max: number;
6
+ reset?: number;
7
+ };
8
+ type __VLS_ModelProps = {
9
+ modelValue: number;
10
+ };
11
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:modelValue": (value: number) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import { type Cross, type Side } from "../composables/anchorPlacement.js";
2
+ type __VLS_Props = {
3
+ anchor: HTMLElement | undefined;
4
+ header?: string;
5
+ panelClass?: string;
6
+ side?: Side;
7
+ cross?: Cross;
8
+ };
9
+ type __VLS_ModelProps = {
10
+ modelValue: boolean;
11
+ };
12
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
+ declare var __VLS_8: {}, __VLS_17: {};
14
+ type __VLS_Slots = {} & {
15
+ default?: (props: typeof __VLS_8) => any;
16
+ } & {
17
+ default?: (props: typeof __VLS_17) => any;
18
+ };
19
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ "update:modelValue": (value: boolean) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,39 @@
1
+ import { type IconName } from "../icons/iconSets.js";
2
+ type __VLS_Props = {
3
+ icon?: IconName;
4
+ title?: string;
5
+ description?: string;
6
+ href?: string;
7
+ as?: `div` | `label` | `button`;
8
+ interactive?: boolean;
9
+ chevron?: boolean;
10
+ tone?: `default` | `danger` | `warning` | `success` | `info`;
11
+ density?: `comfortable` | `compact` | `dense`;
12
+ selected?: boolean;
13
+ heading?: 2 | 3;
14
+ spin?: boolean;
15
+ flush?: boolean;
16
+ };
17
+ declare var __VLS_8: {}, __VLS_21: {}, __VLS_23: {}, __VLS_25: {}, __VLS_27: {}, __VLS_34: {};
18
+ type __VLS_Slots = {} & {
19
+ lead?: (props: typeof __VLS_8) => any;
20
+ } & {
21
+ title?: (props: typeof __VLS_21) => any;
22
+ } & {
23
+ description?: (props: typeof __VLS_23) => any;
24
+ } & {
25
+ meta?: (props: typeof __VLS_25) => any;
26
+ } & {
27
+ control?: (props: typeof __VLS_27) => any;
28
+ } & {
29
+ below?: (props: typeof __VLS_34) => any;
30
+ };
31
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
35
+ type __VLS_WithSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,25 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ count?: string | number;
4
+ caption?: string;
5
+ flat?: boolean;
6
+ };
7
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
8
+ type __VLS_Slots = {} & {
9
+ label?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ info?: (props: typeof __VLS_3) => any;
12
+ } & {
13
+ actions?: (props: typeof __VLS_5) => any;
14
+ } & {
15
+ default?: (props: typeof __VLS_7) => any;
16
+ };
17
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ placeholder?: string;
3
+ variant?: `panel` | `field`;
4
+ clearable?: boolean;
5
+ busy?: boolean;
6
+ ariaLabel?: string;
7
+ ariaControls?: string;
8
+ ariaActivedescendant?: string;
9
+ };
10
+ type __VLS_ModelProps = {
11
+ modelValue: string;
12
+ };
13
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
14
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
15
+ focus: (select?: boolean) => void;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:modelValue": (value: string) => any;
18
+ "update:matchCase": (value: boolean | undefined) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ "onUpdate:matchCase"?: ((value: boolean | undefined) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import type { IconName } from "../icons/iconSets.js";
2
+ declare const __VLS_export: <T extends 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<{
3
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<({
4
+ options: readonly {
5
+ label: string;
6
+ value: T;
7
+ title?: string;
8
+ badge?: number;
9
+ mark?: IconName;
10
+ markTitle?: string;
11
+ }[];
12
+ size?: `sm` | `xs`;
13
+ stretch?: boolean;
14
+ wrap?: boolean;
15
+ } & {
16
+ modelValue: T;
17
+ }) & {
18
+ "onUpdate:modelValue"?: ((value: T) => any) | undefined;
19
+ }> & (typeof globalThis extends {
20
+ __VLS_PROPS_FALLBACK: infer P;
21
+ } ? P : {});
22
+ expose: (exposed: {}) => void;
23
+ attrs: any;
24
+ slots: {};
25
+ emit: (event: "update:modelValue", value: T) => void;
26
+ }>) => import("vue").VNode & {
27
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
28
+ };
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
32
+ [K in keyof T]: T[K];
33
+ } : {
34
+ [K in keyof T as K]: T[K];
35
+ }) & {};
@@ -0,0 +1,32 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ description?: string;
4
+ mobile?: `collapse` | `swap`;
5
+ detailOpen?: boolean;
6
+ scroll?: `panes` | `page`;
7
+ };
8
+ declare var __VLS_14: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {}, __VLS_23: {}, __VLS_25: {
9
+ compact: boolean;
10
+ };
11
+ type __VLS_Slots = {} & {
12
+ info?: (props: typeof __VLS_14) => any;
13
+ } & {
14
+ actions?: (props: typeof __VLS_17) => any;
15
+ } & {
16
+ strips?: (props: typeof __VLS_19) => any;
17
+ } & {
18
+ compact?: (props: typeof __VLS_21) => any;
19
+ } & {
20
+ rail?: (props: typeof __VLS_23) => any;
21
+ } & {
22
+ detail?: (props: typeof __VLS_25) => any;
23
+ };
24
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1,7 @@
1
+ import type { StatsFigureItem } from "../markdown/figures.js";
2
+ type __VLS_Props = {
3
+ items: readonly StatsFigureItem[];
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,21 @@
1
+ export type StatusVariant = `success` | `danger` | `warning` | `info` | `neutral` | `primary`;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
5
+ variant: StatusVariant;
6
+ label?: string;
7
+ dot?: boolean;
8
+ size?: `sm` | `xs`;
9
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
10
+ variant: StatusVariant;
11
+ label?: string;
12
+ dot?: boolean;
13
+ size?: `sm` | `xs`;
14
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
15
+ default?: (props: {}) => any;
16
+ }>;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,22 @@
1
+ import { type IconName } from "../icons/iconSets.js";
2
+ type __VLS_Props = {
3
+ step?: number;
4
+ icon?: IconName;
5
+ title: string;
6
+ done?: boolean;
7
+ };
8
+ declare var __VLS_11: {}, __VLS_13: {};
9
+ type __VLS_Slots = {} & {
10
+ actions?: (props: typeof __VLS_11) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_13) => any;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,9 @@
1
+ import type { FigureAccent } from "../markdown/figures.js";
2
+ export interface BarItem {
3
+ readonly label: string;
4
+ readonly value: number;
5
+ readonly display?: string;
6
+ readonly accent?: FigureAccent;
7
+ readonly key?: string;
8
+ readonly muted?: boolean;
9
+ }
@@ -0,0 +1,3 @@
1
+ export type ChangeStatus = "added" | "modified" | "deleted" | "renamed" | "type-changed" | "conflicted";
2
+ export declare const STATUS_LETTER: Record<ChangeStatus, string>;
3
+ export declare const STATUS_CLASS: Record<ChangeStatus, string>;
@@ -0,0 +1,24 @@
1
+ export interface DagNode<T = unknown> {
2
+ readonly id: string;
3
+ readonly data: T;
4
+ readonly tooltip?: string;
5
+ readonly dimmed?: boolean;
6
+ }
7
+ export interface DagEdge {
8
+ readonly from: string;
9
+ readonly to: string;
10
+ readonly kind?: string;
11
+ readonly dashed?: boolean;
12
+ readonly dimmed?: boolean;
13
+ readonly accent?: string;
14
+ }
15
+ export interface DagLayoutOptions {
16
+ readonly direction: `LR` | `TB`;
17
+ readonly nodeWidth: number;
18
+ readonly nodeHeight: number;
19
+ }
20
+ export declare const layoutSignature: (nodes: readonly DagNode<never>[], edges: readonly DagEdge[], options: DagLayoutOptions) => string;
21
+ export declare const layoutDag: (nodes: readonly DagNode<never>[], edges: readonly DagEdge[], options: DagLayoutOptions) => Map<string, {
22
+ x: number;
23
+ y: number;
24
+ }>;
@@ -0,0 +1 @@
1
+ export declare const isRenderableImage: (path: string) => boolean;
@@ -0,0 +1,8 @@
1
+ import type { FigureAccent } from "../markdown/figures.js";
2
+ export interface NavGroup<T> {
3
+ readonly key: string;
4
+ readonly label?: string;
5
+ readonly count?: number;
6
+ readonly accent?: FigureAccent;
7
+ readonly items: readonly T[];
8
+ }
@@ -0,0 +1,17 @@
1
+ import type { IconName } from "../icons/iconSets.js";
2
+ export type NoticeTone = "danger" | "warning" | "info";
3
+ export interface NoticeAction {
4
+ readonly label: string;
5
+ readonly run: () => void;
6
+ }
7
+ export interface NoticeModel {
8
+ readonly tone: NoticeTone;
9
+ readonly title: string;
10
+ readonly detail?: string;
11
+ readonly action?: NoticeAction;
12
+ readonly key?: string;
13
+ }
14
+ export declare const NOTICE_BOX: Record<NoticeTone, string>;
15
+ export declare const NOTICE_ICON: Record<NoticeTone, IconName>;
16
+ export declare const noticeKey: (notice: NoticeModel) => string;
17
+ export declare const rankNotices: (notices: readonly NoticeModel[]) => readonly NoticeModel[];