@vite-hub/ui 0.5.1 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{colors-BghReA9C-DEq4bhEP.js → colors-BghReA9C-A4M9YE0s.js} +1 -1
- package/dist/{comment-attachments-CMpYOJod.js → comment-attachments-DAzUbRmJ.js} +4 -0
- package/dist/{comment-composer-BI6CNJyO.d.ts → comment-composer-DmDM3XYP.d.ts} +1 -1
- package/dist/{comment-composer-CzU7DdfD.js → comment-composer-X7vJKh5b.js} +4 -4
- package/dist/comment-layer-KnnVfdRV.d.ts +130 -0
- package/dist/{comment-list-CSK5o-Ua.d.ts → comment-list-ncwaCSVX.d.ts} +2 -2
- package/dist/{comment-panel-CEvOI3gk.d.ts → comment-panel-DoLDOw3E.d.ts} +2 -42
- package/dist/{comment-pin-C5UeLPTa.d.ts → comment-pin-hBJFiSYW.d.ts} +1 -1
- package/dist/{comment-send-DPzV9B8S.js → comment-send-CUkL3TbZ.js} +2 -2
- package/dist/comment-status-nsCdrRk_.js +20 -0
- package/dist/{comment-thread-DGm1cGJt.d.ts → comment-thread-DPV2kqA4.d.ts} +4 -8
- package/dist/{comment-thread-CbPtoi8-.js → comment-thread-jqPx6aJ8.js} +9 -9
- package/dist/{comments-C0OdHh_F.js → comments-9MDSNm-9.js} +40 -47
- package/dist/{comments-DrE9DU-E.d.ts → comments-OWjNidkP.d.ts} +7 -5
- package/dist/{comments-context-CrjhleVA.js → comments-context-3js2YFl2.js} +2 -2
- package/dist/{config-xL4EBeXw.d.ts → config-COSdO-ay.d.ts} +2 -1
- package/dist/{config-DztmAYYn.js → config-LRonN53j.js} +9 -3
- package/dist/{draw-DzSmD7uo-Cb7s9kxJ.js → draw-DzSmD7uo-BvtKi0oE.js} +2 -2
- package/dist/{editor-CGiEVOnB.js → editor-Dmk3k6f6.js} +1 -1
- package/dist/{effects-g4QucvgO.js → effects-C1zYpSpg.js} +9 -2
- package/dist/{format-Bc9m7-r0.js → format-CPipR1FP.js} +4 -23
- package/dist/headless.d.ts +2 -2
- package/dist/headless.js +1 -1
- package/dist/{image-preview-DrLXrHpp.js → image-preview-BKVUtfwQ.js} +1 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.js +10 -9
- package/dist/{install-Ba9mkkqI.js → install-C4LwcJda.js} +1 -1
- package/dist/{markdown-editor-3gY9MLvy.js → markdown-editor-D1irG9Xl.js} +45 -11
- package/dist/markdown-editor.js +1 -1
- package/dist/{markdown-renderer-DFS1vf1h.js → markdown-renderer-DMyYKeil.js} +13062 -12372
- package/dist/{message-scroller-a6qaYHno.d.ts → message-scroller-BZqS63IX.d.ts} +2 -2
- package/dist/motion/core.d.ts +1 -1
- package/dist/motion/core.js +4 -4
- package/dist/{motion-core-DNl7TR1T.d.ts → motion-core-Dh20n5Se.d.ts} +2 -1
- package/dist/motion.d.ts +1 -1
- package/dist/motion.js +5 -5
- package/dist/nuxt.d.ts +1 -1
- package/dist/parts/components/agent-session.d.ts +46 -3
- package/dist/parts/components/agent-session.js +27 -7
- package/dist/parts/components/avatar-stack.js +1 -1
- package/dist/parts/components/chat.js +1 -1
- package/dist/parts/components/comment-composer.d.ts +1 -1
- package/dist/parts/components/comment-composer.js +1 -1
- package/dist/parts/components/comment-layer.d.ts +1 -1
- package/dist/parts/components/comment-layer.js +21 -35
- package/dist/parts/components/comment-list.d.ts +1 -1
- package/dist/parts/components/comment-list.js +3 -2
- package/dist/parts/components/comment-panel.d.ts +1 -1
- package/dist/parts/components/comment-panel.js +32 -29
- package/dist/parts/components/comment-pin.d.ts +1 -1
- package/dist/parts/components/comment-selection-bar.js +1 -1
- package/dist/parts/components/comment-send.js +1 -1
- package/dist/parts/components/comment-thread.d.ts +2 -2
- package/dist/parts/components/comment-thread.js +3 -3
- package/dist/parts/components/comments.d.ts +6 -6
- package/dist/parts/components/comments.js +4 -4
- package/dist/parts/components/copy-button.js +2 -2
- package/dist/parts/components/markdown-editor.js +1 -1
- package/dist/parts/components/markdown-renderer.js +1 -1
- package/dist/parts/components/markdown.js +1 -1
- package/dist/parts/components/message-parts.js +1 -1
- package/dist/parts/components/motion.js +2 -2
- package/dist/parts/components/prompt-input.d.ts +3 -3
- package/dist/parts/components/prompt-input.js +2 -2
- package/dist/parts/components/trace-run.js +1 -1
- package/dist/parts/headless/comments.d.ts +1 -1
- package/dist/parts/headless/comments.js +1 -1
- package/dist/parts/headless/message-scroller.d.ts +1 -1
- package/dist/parts/workspace/browser-support-notice.d.ts +1 -1
- package/dist/parts/workspace/browser-support-notice.js +1 -1
- package/dist/parts/workspace/workspace-boot-status.js +1 -1
- package/dist/parts/workspace/workspace-sidebar.d.ts +1 -1
- package/dist/parts/workspace/workspace-sidebar.js +1 -1
- package/dist/parts/workspace/workspace.d.ts +2 -2
- package/dist/parts/workspace/workspace.js +1 -1
- package/dist/{ring-BN4d8vtw.js → ring-GaJsg32c.js} +63 -12
- package/dist/runtime/nuxt-plugin.js +1 -1
- package/dist/{sankey-CAYwt82B-BAAk7WkJ.js → sankey-CAYwt82B-e6k34wtW.js} +3 -3
- package/dist/styles.css +20 -2
- package/dist/{text-BWzZFnGY.js → text-gacox6bp.js} +1 -1
- package/dist/{travel-CwVhU_GS.js → travel-BliEidau.js} +1 -1
- package/dist/vue-d2Td6uu2.js +6587 -0
- package/dist/{vue-kCdzBu0N.js → vue-vUGpdMct.js} +1 -1
- package/dist/workspace.js +1 -1
- package/package.json +7 -7
- package/dist/comment-layer-DyVstrs-.d.ts +0 -174
- package/dist/vue-BlknIGIm.js +0 -2501
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as CommentThread, t as CommentReply } from "../../comment-thread-
|
|
3
|
-
export { CommentReply, CommentThread, messagesSinceResolved
|
|
1
|
+
import { r as messagesSinceResolved } from "../../comment-status-nsCdrRk_.js";
|
|
2
|
+
import { n as CommentThread, t as CommentReply } from "../../comment-thread-jqPx6aJ8.js";
|
|
3
|
+
export { CommentReply, CommentThread, messagesSinceResolved };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "../../comment-composer-
|
|
2
|
-
import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-
|
|
3
|
-
import { n as CommentList, r as CommentToolbar, t as CommentFilters } from "../../comment-list-
|
|
4
|
-
import { a as CommentPanelVariant, c as CommentUpload, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentRowSlotScope, r as CommentPanel, s as CommentRowSlots, t as CommentGroup } from "../../comment-panel-
|
|
5
|
-
import { t as CommentPin } from "../../comment-pin-
|
|
6
|
-
import { a as CommentReplySlots, c as CommentThreadSlotScope, d as repliedSinceResolved, i as CommentReplySlotScope, l as CommentThreadSlots, n as CommentAttachmentUrl, o as CommentStatusSlotScope, r as CommentReply, s as CommentThread, t as CommentAttachmentLink, u as messagesSinceResolved } from "../../comment-thread-
|
|
1
|
+
import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "../../comment-composer-DmDM3XYP.js";
|
|
2
|
+
import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-KnnVfdRV.js";
|
|
3
|
+
import { n as CommentList, r as CommentToolbar, t as CommentFilters } from "../../comment-list-ncwaCSVX.js";
|
|
4
|
+
import { a as CommentPanelVariant, c as CommentUpload, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentRowSlotScope, r as CommentPanel, s as CommentRowSlots, t as CommentGroup } from "../../comment-panel-DoLDOw3E.js";
|
|
5
|
+
import { t as CommentPin } from "../../comment-pin-hBJFiSYW.js";
|
|
6
|
+
import { a as CommentReplySlots, c as CommentThreadSlotScope, d as repliedSinceResolved, i as CommentReplySlotScope, l as CommentThreadSlots, n as CommentAttachmentUrl, o as CommentStatusSlotScope, r as CommentReply, s as CommentThread, t as CommentAttachmentLink, u as messagesSinceResolved } from "../../comment-thread-DPV2kqA4.js";
|
|
7
7
|
import { n as CommentSelectionBarSide, t as CommentSelectionBar } from "../../comment-selection-bar-CVuS-FNL.js";
|
|
8
8
|
import { t as CommentSend } from "../../comment-send-MmxFsOQf.js";
|
|
9
9
|
export { CommentAttachmentLink, CommentAttachmentUrl, CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, CommentFilters, CommentGroup, CommentGroupSlotScope, CommentLayer, CommentList, CommentMentionEmptyScope, CommentMentionItemScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, CommentPin, CommentPlacement, CommentReply, CommentReplySlotScope, CommentReplySlots, CommentRowSlotScope, CommentRowSlots, CommentSelectionBar, CommentSelectionBarSide, CommentSend, CommentStatusSlotScope, CommentThread, CommentThreadSlotScope, CommentThreadSlots, CommentToolbar, CommentUpload, messagesSinceResolved, repliedSinceResolved };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as CommentComposer } from "../../comment-composer-
|
|
2
|
-
import { c as messagesSinceResolved, l as repliedSinceResolved } from "../../comments-C0OdHh_F.js";
|
|
1
|
+
import { t as CommentComposer } from "../../comment-composer-X7vJKh5b.js";
|
|
3
2
|
import { CommentLayer } from "./comment-layer.js";
|
|
4
3
|
import { CommentFilters, CommentList, CommentToolbar } from "./comment-list.js";
|
|
5
4
|
import { CommentPanel } from "./comment-panel.js";
|
|
6
5
|
import { CommentPin } from "./comment-pin.js";
|
|
7
|
-
import { n as CommentThread, t as CommentReply } from "../../comment-thread-
|
|
6
|
+
import { n as CommentThread, t as CommentReply } from "../../comment-thread-jqPx6aJ8.js";
|
|
8
7
|
import { CommentSelectionBar } from "./comment-selection-bar.js";
|
|
9
|
-
import { t as CommentSend } from "../../comment-send-
|
|
8
|
+
import { t as CommentSend } from "../../comment-send-CUkL3TbZ.js";
|
|
9
|
+
import { i as repliedSinceResolved, r as messagesSinceResolved } from "../../comment-status-nsCdrRk_.js";
|
|
10
10
|
export { CommentComposer, CommentFilters, CommentLayer, CommentList, CommentPanel, CommentPin, CommentReply, CommentSelectionBar, CommentSend, CommentThread, CommentToolbar, messagesSinceResolved, repliedSinceResolved };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as useViteHubUIIcons } from "../../config-
|
|
1
|
+
import { a as useViteHubUIIcons } from "../../config-LRonN53j.js";
|
|
2
2
|
import { t as uiErrorDiagnostics } from "../../error-diagnostics-BlgA9rI2.js";
|
|
3
3
|
import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
|
|
4
4
|
import { n as prepareAnnouncer, t as announce } from "../../announce-B0DLwflT.js";
|
|
5
|
-
import { t as ring } from "../../ring-
|
|
5
|
+
import { t as ring } from "../../ring-GaJsg32c.js";
|
|
6
6
|
import { SwapIcon } from "./motion.js";
|
|
7
7
|
import { defineComponent, getCurrentInstance, getCurrentScope, h, onMounted, onScopeDispose, readonly, ref, toValue, watch } from "vue";
|
|
8
8
|
// src/components/copy-button.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as MarkdownEditor, n as blobUpload } from "../../markdown-editor-
|
|
1
|
+
export { t as MarkdownEditor, n as blobUpload } from "../../markdown-editor-D1irG9Xl.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as MarkdownRenderer } from "../../markdown-renderer-
|
|
1
|
+
export { t as MarkdownRenderer } from "../../markdown-renderer-DMyYKeil.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as useViteHubUI } from "../../config-
|
|
1
|
+
import { i as useViteHubUI } from "../../config-LRonN53j.js";
|
|
2
2
|
import { Suspense, defineAsyncComponent, defineComponent, getCurrentInstance, h } from "vue";
|
|
3
3
|
// src/components/markdown.ts
|
|
4
4
|
const MarkdownRenderer = defineAsyncComponent(() => import("./markdown-renderer.js").then((module) => module.MarkdownRenderer));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ImagePreview } from "../../image-preview-
|
|
1
|
+
import { t as ImagePreview } from "../../image-preview-BKVUtfwQ.js";
|
|
2
2
|
import { Markdown } from "./markdown.js";
|
|
3
3
|
import { defineComponent, h } from "vue";
|
|
4
4
|
import { MessageParts as MessageParts$1 } from "comark-chat/vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as rollNumber, i as morphText, l as swapIcon } from "../../text-
|
|
2
|
-
import { t as ring } from "../../ring-
|
|
1
|
+
import { a as rollNumber, i as morphText, l as swapIcon } from "../../text-gacox6bp.js";
|
|
2
|
+
import { t as ring } from "../../ring-GaJsg32c.js";
|
|
3
3
|
import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
|
|
4
4
|
import { defineComponent, h, nextTick, ref, watch } from "vue";
|
|
5
5
|
// src/components/motion.ts
|
|
@@ -60,7 +60,7 @@ export declare const PromptInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
60
60
|
};
|
|
61
61
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
62
62
|
[key: string]: any;
|
|
63
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "submit" | "stop" | "update:modelValue" | "
|
|
63
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "submit" | "stop" | "update:modelValue" | "reload" | "update:files")[], "error" | "submit" | "stop" | "update:modelValue" | "reload" | "update:files", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
64
|
accept: {
|
|
65
65
|
type: StringConstructor;
|
|
66
66
|
};
|
|
@@ -119,16 +119,16 @@ export declare const PromptInput: import("vue").DefineComponent<import("vue").Ex
|
|
|
119
119
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
120
120
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
"onUpdate:files"?: ((...args: any[]) => any) | undefined;
|
|
122
|
-
onStop?: ((...args: any[]) => any) | undefined;
|
|
123
122
|
onReload?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
onStop?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
}>, {
|
|
125
125
|
multiple: boolean;
|
|
126
126
|
disabled: boolean;
|
|
127
127
|
modelValue: string;
|
|
128
128
|
readonly: boolean;
|
|
129
|
+
status: ChatStatus;
|
|
129
130
|
files: readonly FileUIPart[];
|
|
130
131
|
attachments: boolean;
|
|
131
132
|
attachVariant: "ghost" | "outline";
|
|
132
133
|
filesDisabled: boolean;
|
|
133
|
-
status: ChatStatus;
|
|
134
134
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as nextPromptFiles, n as fileToUIPart } from "../../attachments-DgwoQZKY.js";
|
|
2
|
-
import { t as ImagePreview } from "../../image-preview-
|
|
2
|
+
import { t as ImagePreview } from "../../image-preview-BKVUtfwQ.js";
|
|
3
3
|
import { Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentGroup, AttachmentMedia, AttachmentTitle } from "./attachment.js";
|
|
4
4
|
import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
|
|
5
|
-
import { a as useViteHubUIIcons } from "../../config-
|
|
5
|
+
import { a as useViteHubUIIcons } from "../../config-LRonN53j.js";
|
|
6
6
|
import { computed, defineComponent, h, onBeforeUnmount, onMounted, ref } from "vue";
|
|
7
7
|
// src/components/prompt-input.ts
|
|
8
8
|
const submitLabels = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CodeBlock, CodeBlockContent } from "./code-block.js";
|
|
2
2
|
import { Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle } from "./trace.js";
|
|
3
3
|
import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
|
|
4
|
-
import { t as formatDuration } from "../../format-
|
|
4
|
+
import { t as formatDuration } from "../../format-CPipR1FP.js";
|
|
5
5
|
import { t as payloadText } from "../../payload-text-DQNRbJY5.js";
|
|
6
6
|
import { defineComponent, h } from "vue";
|
|
7
7
|
// src/components/trace-run.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CommentThreadAction, c as UseCommentsOptions, d as provideComments, f as useComments, i as CommentScope, l as defaultCommentCan, n as CommentDraft, o as CommentsOutboxState, p as useCommentsContext, r as CommentFilterState, s as CommentsState, t as CommentCan, u as draftPositionKey } from "../../comments-
|
|
1
|
+
import { a as CommentThreadAction, c as UseCommentsOptions, d as provideComments, f as useComments, i as CommentScope, l as defaultCommentCan, n as CommentDraft, o as CommentsOutboxState, p as useCommentsContext, r as CommentFilterState, s as CommentsState, t as CommentCan, u as draftPositionKey } from "../../comments-OWjNidkP.js";
|
|
2
2
|
export { CommentCan, CommentDraft, CommentFilterState, CommentScope, CommentThreadAction, CommentsOutboxState, CommentsState, UseCommentsOptions, defaultCommentCan, draftPositionKey, provideComments, useComments, useCommentsContext };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as defaultCommentCan, n as draftPositionKey, r as provideComments, i as useComments, a as useCommentsContext } from "../../comments-
|
|
1
|
+
export { t as defaultCommentCan, n as draftPositionKey, r as provideComments, i as useComments, a as useCommentsContext } from "../../comments-9MDSNm-9.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MessageScrollerContent, c as MessageScrollerViewport, i as MessageScrollerButton, l as calculatePrependScrollTop, n as MessageScrollPosition, o as MessageScrollerContext, r as MessageScroller, s as MessageScrollerItem, t as MessageScrollBehavior, u as useMessageScroller } from "../../message-scroller-
|
|
1
|
+
import { a as MessageScrollerContent, c as MessageScrollerViewport, i as MessageScrollerButton, l as calculatePrependScrollTop, n as MessageScrollPosition, o as MessageScrollerContext, r as MessageScroller, s as MessageScrollerItem, t as MessageScrollBehavior, u as useMessageScroller } from "../../message-scroller-BZqS63IX.js";
|
|
2
2
|
export { MessageScrollBehavior, MessageScrollPosition, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerContext, MessageScrollerItem, MessageScrollerViewport, calculatePrependScrollTop, useMessageScroller };
|
|
@@ -67,8 +67,8 @@ export declare const BrowserSupportNotice: import("vue").DefineComponent<import(
|
|
|
67
67
|
onCopied?: ((url: string) => any) | undefined;
|
|
68
68
|
}>, {
|
|
69
69
|
url: string;
|
|
70
|
-
description: string;
|
|
71
70
|
supported: boolean | undefined;
|
|
72
71
|
reason: string;
|
|
73
72
|
browser: UnsupportedBrowser;
|
|
73
|
+
description: string;
|
|
74
74
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCopy } from "../components/copy-button.js";
|
|
2
2
|
import { MorphText, SwapIcon } from "../components/motion.js";
|
|
3
|
-
import { t as ring } from "../../ring-
|
|
3
|
+
import { t as ring } from "../../ring-GaJsg32c.js";
|
|
4
4
|
import { icon } from "./icons.js";
|
|
5
5
|
import { defineComponent, h, onBeforeUnmount, onMounted, ref, useId } from "vue";
|
|
6
6
|
// src/workspace/browser-support-notice.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as formatDuration } from "../../format-
|
|
1
|
+
import { t as formatDuration } from "../../format-CPipR1FP.js";
|
|
2
2
|
import { icon } from "./icons.js";
|
|
3
3
|
import { computed, defineComponent, h, onBeforeUnmount, ref, watch } from "vue";
|
|
4
4
|
// src/workspace/workspace-boot-status.ts
|
|
@@ -59,8 +59,8 @@ export declare const WorkspaceSidebar: import("vue").DefineComponent<import("vue
|
|
|
59
59
|
}>> & Readonly<{
|
|
60
60
|
onReset?: (() => any) | undefined;
|
|
61
61
|
onDownload?: (() => any) | undefined;
|
|
62
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
63
62
|
"onCopy-link"?: (() => any) | undefined;
|
|
63
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
64
64
|
}>, {
|
|
65
65
|
label: string;
|
|
66
66
|
open: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
|
|
2
|
-
import { t as ring } from "../../ring-
|
|
2
|
+
import { t as ring } from "../../ring-GaJsg32c.js";
|
|
3
3
|
import { defineComponent, h, nextTick, onBeforeUnmount, onMounted, ref, useId, watch } from "vue";
|
|
4
4
|
// src/workspace/workspace-sidebar.ts
|
|
5
5
|
const tabbable = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex='-1'])";
|
|
@@ -229,10 +229,10 @@ export declare const Workspace: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
229
229
|
type: PropType<(files: WorkspaceFiles, example: WorkspaceExample) => WorkspaceFiles>;
|
|
230
230
|
};
|
|
231
231
|
}>> & Readonly<{
|
|
232
|
-
"onUpdate:
|
|
232
|
+
"onUpdate:selected"?: ((path: string) => any) | undefined;
|
|
233
233
|
"onUpdate:step"?: ((step: number) => any) | undefined;
|
|
234
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
234
235
|
"onUpdate:example"?: ((id: string) => any) | undefined;
|
|
235
|
-
"onUpdate:selected"?: ((path: string) => any) | undefined;
|
|
236
236
|
}>, {
|
|
237
237
|
name: string;
|
|
238
238
|
label: string;
|
|
@@ -2,7 +2,7 @@ import { useCopy } from "../components/copy-button.js";
|
|
|
2
2
|
import { Status } from "../components/status.js";
|
|
3
3
|
import { t as uiErrorDiagnostics } from "../../error-diagnostics-BlgA9rI2.js";
|
|
4
4
|
import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
|
|
5
|
-
import { t as ring } from "../../ring-
|
|
5
|
+
import { t as ring } from "../../ring-GaJsg32c.js";
|
|
6
6
|
import { decodePlaygroundLink, encodePlaygroundLink, playgroundLinkLimit, playgroundUrl, readPlaygroundHash } from "../playground/share.js";
|
|
7
7
|
import { downloadZip } from "../playground/zip.js";
|
|
8
8
|
import { BrowserSupportNotice } from "./browser-support-notice.js";
|
|
@@ -134,23 +134,35 @@ const duration = 720;
|
|
|
134
134
|
const peak = .3;
|
|
135
135
|
const color = "var(--ui-border-accented, currentColor)";
|
|
136
136
|
const rings = /* @__PURE__ */ new WeakMap();
|
|
137
|
+
const corners = [
|
|
138
|
+
"border-top-left-radius",
|
|
139
|
+
"border-top-right-radius",
|
|
140
|
+
"border-bottom-right-radius",
|
|
141
|
+
"border-bottom-left-radius"
|
|
142
|
+
];
|
|
137
143
|
/**
|
|
138
144
|
* Rings `element` once, as rule 7 of docs/design/motion.md asks for a finished action such as saved, published, or
|
|
139
145
|
* copied: a 5px ring in the border color grows around it and fades. A second call starts the ring again. There is no
|
|
140
|
-
* ring under reduced motion or inside `data-motion="none"`.
|
|
146
|
+
* ring under reduced motion or inside `data-motion="none"`. A control joined to others in a field group, such as
|
|
147
|
+
* Nuxt UI's `UFieldGroup`, rings the whole group, with the rounded corners of the joined controls.
|
|
141
148
|
*/
|
|
142
149
|
function ring(element) {
|
|
143
|
-
const
|
|
150
|
+
const group = joinedGroup(element);
|
|
151
|
+
const target = group ?? element;
|
|
152
|
+
const skipped = motionSkipped(element);
|
|
153
|
+
if (skipped && group && !motionSkipped(group)) return;
|
|
154
|
+
const running = rings.get(target);
|
|
144
155
|
running?.tween.stop();
|
|
145
|
-
const own = running?.own ??
|
|
146
|
-
if (
|
|
156
|
+
const own = running?.own ?? target.style.boxShadow;
|
|
157
|
+
if (skipped || reduced()) {
|
|
147
158
|
if (running) {
|
|
148
|
-
rings.delete(
|
|
149
|
-
|
|
159
|
+
rings.delete(target);
|
|
160
|
+
restore(target, own, running.restoreRadius);
|
|
150
161
|
}
|
|
151
162
|
return;
|
|
152
163
|
}
|
|
153
|
-
const
|
|
164
|
+
const restoreRadius = running ? running.restoreRadius : group && roundGroup(group);
|
|
165
|
+
const base = running ? void 0 : getComputedStyle(target).boxShadow;
|
|
154
166
|
const under = running?.under ?? (base && base !== "none" ? `, ${base}` : "");
|
|
155
167
|
const handle = tween(0, 1, {
|
|
156
168
|
duration,
|
|
@@ -158,16 +170,55 @@ function ring(element) {
|
|
|
158
170
|
}, (progress) => {
|
|
159
171
|
const spread = progress < peak ? 5 * (progress / peak) : 5 + 2 * ((progress - peak) / .7);
|
|
160
172
|
const alpha = progress < peak ? 1 : 1 - (progress - peak) / .7;
|
|
161
|
-
|
|
173
|
+
target.style.boxShadow = `0 0 0 ${spread.toFixed(2)}px color-mix(in oklab, ${color} ${(alpha * 100).toFixed(1)}%, transparent)${under}`;
|
|
162
174
|
}, () => {
|
|
163
|
-
rings.delete(
|
|
164
|
-
|
|
165
|
-
if (!element.getAttribute("style")) element.removeAttribute("style");
|
|
175
|
+
rings.delete(target);
|
|
176
|
+
restore(target, own, restoreRadius);
|
|
166
177
|
});
|
|
167
|
-
rings.set(
|
|
178
|
+
rings.set(target, {
|
|
168
179
|
tween: handle,
|
|
169
180
|
own,
|
|
181
|
+
restoreRadius,
|
|
170
182
|
under
|
|
171
183
|
});
|
|
172
184
|
}
|
|
185
|
+
function restore(target, own, restoreRadius) {
|
|
186
|
+
target.style.boxShadow = own;
|
|
187
|
+
restoreRadius?.();
|
|
188
|
+
if (!target.getAttribute("style")) target.removeAttribute("style");
|
|
189
|
+
}
|
|
190
|
+
function joinedGroup(element) {
|
|
191
|
+
const group = element.parentElement;
|
|
192
|
+
const orientation = group?.getAttribute("data-orientation");
|
|
193
|
+
if (!group || orientation !== "horizontal" && orientation !== "vertical" || group.childElementCount < 2) return void 0;
|
|
194
|
+
const box = element.getBoundingClientRect();
|
|
195
|
+
const vertical = orientation === "vertical";
|
|
196
|
+
return Array.from(group.children).some((child) => {
|
|
197
|
+
if (child === element) return false;
|
|
198
|
+
const other = child.getBoundingClientRect();
|
|
199
|
+
if (!box.width || !box.height || !other.width || !other.height) return false;
|
|
200
|
+
const gap = vertical ? Math.max(box.top - other.bottom, other.top - box.bottom) : Math.max(box.left - other.right, other.left - box.right);
|
|
201
|
+
return (vertical ? Math.min(box.right, other.right) - Math.max(box.left, other.left) : Math.min(box.bottom, other.bottom) - Math.max(box.top, other.top)) > 0 && gap >= -1 && gap <= 0;
|
|
202
|
+
}) ? group : void 0;
|
|
203
|
+
}
|
|
204
|
+
function roundGroup(group) {
|
|
205
|
+
if (cornerRadius(group) > 0) return void 0;
|
|
206
|
+
const radius = Math.max(...Array.from(group.children, cornerRadius));
|
|
207
|
+
if (!radius) return void 0;
|
|
208
|
+
const { style } = group;
|
|
209
|
+
const original = (style.getPropertyValue("border-radius") ? ["border-radius"] : corners).map((property) => ({
|
|
210
|
+
property,
|
|
211
|
+
value: style.getPropertyValue(property),
|
|
212
|
+
priority: style.getPropertyPriority(property)
|
|
213
|
+
}));
|
|
214
|
+
style.setProperty("border-radius", `${radius}px`);
|
|
215
|
+
return () => {
|
|
216
|
+
style.removeProperty("border-radius");
|
|
217
|
+
for (const { property, value, priority } of original) if (value) style.setProperty(property, value, priority);
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
function cornerRadius(element) {
|
|
221
|
+
const style = getComputedStyle(element);
|
|
222
|
+
return Math.max(...corners.map((radius) => Number.parseFloat(style.getPropertyValue(radius)) || 0));
|
|
223
|
+
}
|
|
173
224
|
export { isOwnNode as a, own as c, glyphNode as i, reduced as l, frameOf as n, motionSkipped as o, glyphMotionSkipped as r, openFrame as s, ring as t, setText as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as provideRelativeNow, r as startRelativeClock } from "../relative-time-DJnw45tr.js";
|
|
2
|
-
import { n as createViteHubUI } from "../config-
|
|
2
|
+
import { n as createViteHubUI } from "../config-LRonN53j.js";
|
|
3
3
|
import { defineAsyncComponent } from "vue";
|
|
4
4
|
import { defineNuxtPlugin, useAppConfig, useRuntimeConfig, useState } from "#app";
|
|
5
5
|
// src/runtime/nuxt-plugin.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __commonJSMin } from "./rolldown-runtime-CahUhzF3.js";
|
|
2
|
-
import { n as SERIES, t as INK } from "./colors-BghReA9C-
|
|
3
|
-
import { PADDING, boxes, format, render } from "./draw-DzSmD7uo-
|
|
2
|
+
import { n as SERIES, t as INK } from "./colors-BghReA9C-A4M9YE0s.js";
|
|
3
|
+
import { PADDING, boxes, format, render } from "./draw-DzSmD7uo-BvtKi0oE.js";
|
|
4
4
|
// ../../node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/dist/d3-array.js
|
|
5
5
|
var require_d3_array = /* @__PURE__ */ __commonJSMin(((exports, module, this$4) => {
|
|
6
6
|
(function(global, factory) {
|
|
@@ -2393,7 +2393,7 @@ var require_d3_shape = /* @__PURE__ */ __commonJSMin(((exports, module, this$2)
|
|
|
2393
2393
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2394
2394
|
});
|
|
2395
2395
|
}));
|
|
2396
|
-
// ../../node_modules/.pnpm/comark-charts@0.
|
|
2396
|
+
// ../../node_modules/.pnpm/comark-charts@0.14.3_@comark+html@0.9.2_katex@0.19.1_shiki@4.6.0__comark@0.9.2_katex@0._3dc1623b66c2ddc50c7ba6cd35e1abd0/node_modules/comark-charts/dist/sankey-CAYwt82B.mjs
|
|
2397
2397
|
var import_d3_sankey = (/* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
|
|
2398
2398
|
(function(global, factory) {
|
|
2399
2399
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require_d3_array(), require_d3_shape()) : typeof define === "function" && define.amd ? define([
|
package/dist/styles.css
CHANGED
|
@@ -1910,9 +1910,11 @@
|
|
|
1910
1910
|
pointer-events: auto;
|
|
1911
1911
|
}
|
|
1912
1912
|
|
|
1913
|
-
/* The pin's look is Drop's, in comment-marks.css. Here its bottom-left corner sits on the spot.
|
|
1913
|
+
/* The pin's look is Drop's, in comment-marks.css. Here its bottom-left corner sits on the spot. It moves with
|
|
1914
|
+
`translate`, so the zoom and the active size of comment-marks.css, which are its `transform`, still apply, and a
|
|
1915
|
+
page that places its pins another way sets its own `translate`. */
|
|
1914
1916
|
[data-slot="comment-pin"] {
|
|
1915
|
-
|
|
1917
|
+
translate: 0 -100%;
|
|
1916
1918
|
}
|
|
1917
1919
|
|
|
1918
1920
|
[data-slot="comment-pin"] [data-slot="avatar-stack"] {
|
|
@@ -2148,6 +2150,9 @@
|
|
|
2148
2150
|
--vh-bubble-radius: 1.4375rem;
|
|
2149
2151
|
border: 0;
|
|
2150
2152
|
border-radius: 0.375rem var(--vh-bubble-radius) var(--vh-bubble-radius);
|
|
2153
|
+
/* The layer measures the bubble and sets its left edge, on either side of the pin, so it stays on screen. */
|
|
2154
|
+
left: var(--vh-comment-draft-left, 0.5rem);
|
|
2155
|
+
right: auto;
|
|
2151
2156
|
box-shadow:
|
|
2152
2157
|
0 0 0 1px var(--vh-bubble-edge),
|
|
2153
2158
|
0 2px 4px color-mix(in oklab, var(--vh-comment-shadow) calc(100% / 3), transparent),
|
|
@@ -2817,6 +2822,7 @@
|
|
|
2817
2822
|
align-items: center;
|
|
2818
2823
|
border-block-end: 1px solid var(--vh-border);
|
|
2819
2824
|
display: flex;
|
|
2825
|
+
flex-wrap: wrap;
|
|
2820
2826
|
gap: 0.5rem;
|
|
2821
2827
|
justify-content: space-between;
|
|
2822
2828
|
padding: 0.5rem 0.5rem 0.5rem 0.75rem;
|
|
@@ -2832,16 +2838,22 @@
|
|
|
2832
2838
|
[data-slot="comment-panel-filters"] {
|
|
2833
2839
|
display: flex;
|
|
2834
2840
|
flex: 1;
|
|
2841
|
+
flex-wrap: wrap;
|
|
2835
2842
|
gap: 0.25rem;
|
|
2836
2843
|
}
|
|
2837
2844
|
|
|
2838
2845
|
[data-slot="comment-panel-actions"] {
|
|
2839
2846
|
align-items: center;
|
|
2840
2847
|
display: flex;
|
|
2848
|
+
flex-wrap: wrap;
|
|
2841
2849
|
gap: 0.25rem;
|
|
2842
2850
|
margin-block: -0.25rem;
|
|
2843
2851
|
}
|
|
2844
2852
|
|
|
2853
|
+
[data-slot="comment-panel-actions"]:empty {
|
|
2854
|
+
display: none;
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2845
2857
|
[data-slot="comment-panel-items"] {
|
|
2846
2858
|
flex: 1;
|
|
2847
2859
|
list-style: none;
|
|
@@ -4313,6 +4325,12 @@
|
|
|
4313
4325
|
padding: 0.25rem 0 0.25rem 1rem;
|
|
4314
4326
|
white-space: pre-wrap;
|
|
4315
4327
|
}
|
|
4328
|
+
.vh-agent-session__work-detail-custom {
|
|
4329
|
+
border-inline-start: 1px solid var(--vh-agent-hairline);
|
|
4330
|
+
margin: 0.125rem 0 0.375rem 0.75rem;
|
|
4331
|
+
min-width: 0;
|
|
4332
|
+
padding: 0.25rem 0 0.25rem 1rem;
|
|
4333
|
+
}
|
|
4316
4334
|
|
|
4317
4335
|
.vh-agent-session__resizer {
|
|
4318
4336
|
cursor: col-resize;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as getMotionSlowFactor } from "./opt-out-D66l60sg.js";
|
|
2
2
|
import { u as writeMotionStyle } from "./registry-DAIjCjWd.js";
|
|
3
|
-
import { c as own, i as glyphNode, l as reduced, n as frameOf, o as motionSkipped, r as glyphMotionSkipped, s as openFrame, u as setText } from "./ring-
|
|
3
|
+
import { c as own, i as glyphNode, l as reduced, n as frameOf, o as motionSkipped, r as glyphMotionSkipped, s as openFrame, u as setText } from "./ring-GaJsg32c.js";
|
|
4
4
|
import { a as tween, n as easeIn, r as easeOut, t as cubicBezier } from "./tween-Dv3IIIQG.js";
|
|
5
5
|
// src/motion/effects/icon-shape.ts
|
|
6
6
|
const svgNamespace = "http://www.w3.org/2000/svg";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as onReducedMotionChange, r as createSpring, s as springs } from "./opt-out-D66l60sg.js";
|
|
2
2
|
import { u as writeMotionStyle } from "./registry-DAIjCjWd.js";
|
|
3
|
-
import { l as reduced, o as motionSkipped } from "./ring-
|
|
3
|
+
import { l as reduced, o as motionSkipped } from "./ring-GaJsg32c.js";
|
|
4
4
|
import { i as playTween, t as cubicBezier } from "./tween-Dv3IIIQG.js";
|
|
5
5
|
// src/motion/helpers/shake.ts
|
|
6
6
|
const duration = .4;
|