@toimc/vue 0.0.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/dist/ChatWindow.test.d.ts +2 -0
- package/dist/ChatWindow.test.d.ts.map +1 -0
- package/dist/ChatWindow.vue.d.ts +19 -0
- package/dist/ChatWindow.vue.d.ts.map +1 -0
- package/dist/InputArea.i18n.test.d.ts +2 -0
- package/dist/InputArea.i18n.test.d.ts.map +1 -0
- package/dist/InputArea.test.d.ts +2 -0
- package/dist/InputArea.test.d.ts.map +1 -0
- package/dist/InputArea.vue.d.ts +24 -0
- package/dist/InputArea.vue.d.ts.map +1 -0
- package/dist/MessageBubble.test.d.ts +2 -0
- package/dist/MessageBubble.test.d.ts.map +1 -0
- package/dist/MessageBubble.vue.d.ts +22 -0
- package/dist/MessageBubble.vue.d.ts.map +1 -0
- package/dist/MessageList.test.d.ts +2 -0
- package/dist/MessageList.test.d.ts.map +1 -0
- package/dist/MessageList.vue.d.ts +20 -0
- package/dist/MessageList.vue.d.ts.map +1 -0
- package/dist/attachment/Attachment.test.d.ts +2 -0
- package/dist/attachment/Attachment.test.d.ts.map +1 -0
- package/dist/attachment/Attachment.vue.d.ts +18 -0
- package/dist/attachment/Attachment.vue.d.ts.map +1 -0
- package/dist/attachment/AttachmentEmpty.vue.d.ts +14 -0
- package/dist/attachment/AttachmentEmpty.vue.d.ts.map +1 -0
- package/dist/attachment/AttachmentInfo.vue.d.ts +4 -0
- package/dist/attachment/AttachmentInfo.vue.d.ts.map +1 -0
- package/dist/attachment/AttachmentPreview.test.d.ts +2 -0
- package/dist/attachment/AttachmentPreview.test.d.ts.map +1 -0
- package/dist/attachment/AttachmentPreview.vue.d.ts +8 -0
- package/dist/attachment/AttachmentPreview.vue.d.ts.map +1 -0
- package/dist/attachment/AttachmentRemove.vue.d.ts +8 -0
- package/dist/attachment/AttachmentRemove.vue.d.ts.map +1 -0
- package/dist/attachment/Attachments.test.d.ts +2 -0
- package/dist/attachment/Attachments.test.d.ts.map +1 -0
- package/dist/attachment/Attachments.vue.d.ts +19 -0
- package/dist/attachment/Attachments.vue.d.ts.map +1 -0
- package/dist/attachment/index.d.ts +7 -0
- package/dist/attachment/index.d.ts.map +1 -0
- package/dist/comparison/ComparisonMessage.i18n.test.d.ts +2 -0
- package/dist/comparison/ComparisonMessage.i18n.test.d.ts.map +1 -0
- package/dist/comparison/ComparisonMessage.test.d.ts +2 -0
- package/dist/comparison/ComparisonMessage.test.d.ts.map +1 -0
- package/dist/comparison/ComparisonMessage.vue.d.ts +51 -0
- package/dist/comparison/ComparisonMessage.vue.d.ts.map +1 -0
- package/dist/comparison/index.d.ts +2 -0
- package/dist/comparison/index.d.ts.map +1 -0
- package/dist/composables/layout-types.d.ts +11 -0
- package/dist/composables/layout-types.d.ts.map +1 -0
- package/dist/composables/useLayoutConfig.d.ts +33 -0
- package/dist/composables/useLayoutConfig.d.ts.map +1 -0
- package/dist/composables/useLayoutConfig.test.d.ts +2 -0
- package/dist/composables/useLayoutConfig.test.d.ts.map +1 -0
- package/dist/composables/useMarkdownRenderer.d.ts +6 -0
- package/dist/composables/useMarkdownRenderer.d.ts.map +1 -0
- package/dist/composables/useMarkdownRenderer.test.d.ts +2 -0
- package/dist/composables/useMarkdownRenderer.test.d.ts.map +1 -0
- package/dist/composables/usePendingFiles.d.ts +63 -0
- package/dist/composables/usePendingFiles.d.ts.map +1 -0
- package/dist/composables/usePendingFiles.test.d.ts +2 -0
- package/dist/composables/usePendingFiles.test.d.ts.map +1 -0
- package/dist/composables/useScrollAnchor.d.ts +8 -0
- package/dist/composables/useScrollAnchor.d.ts.map +1 -0
- package/dist/composables/useScrollAnchor.test.d.ts +2 -0
- package/dist/composables/useScrollAnchor.test.d.ts.map +1 -0
- package/dist/composables/useTheme.d.ts +18 -0
- package/dist/composables/useTheme.d.ts.map +1 -0
- package/dist/composables/useTheme.test.d.ts +2 -0
- package/dist/composables/useTheme.test.d.ts.map +1 -0
- package/dist/composables/useThemePreset.d.ts +4 -0
- package/dist/composables/useThemePreset.d.ts.map +1 -0
- package/dist/composables/useThemePreset.test.d.ts +2 -0
- package/dist/composables/useThemePreset.test.d.ts.map +1 -0
- package/dist/conversation/Conversation.test.d.ts +2 -0
- package/dist/conversation/Conversation.test.d.ts.map +1 -0
- package/dist/conversation/Conversation.vue.d.ts +29 -0
- package/dist/conversation/Conversation.vue.d.ts.map +1 -0
- package/dist/conversation/ConversationContent.test.d.ts +2 -0
- package/dist/conversation/ConversationContent.test.d.ts.map +1 -0
- package/dist/conversation/ConversationContent.vue.d.ts +14 -0
- package/dist/conversation/ConversationContent.vue.d.ts.map +1 -0
- package/dist/conversation/ConversationEmpty.test.d.ts +2 -0
- package/dist/conversation/ConversationEmpty.test.d.ts.map +1 -0
- package/dist/conversation/ConversationEmpty.vue.d.ts +24 -0
- package/dist/conversation/ConversationEmpty.vue.d.ts.map +1 -0
- package/dist/conversation/ConversationScrollBtn.test.d.ts +2 -0
- package/dist/conversation/ConversationScrollBtn.test.d.ts.map +1 -0
- package/dist/conversation/ConversationScrollBtn.vue.d.ts +4 -0
- package/dist/conversation/ConversationScrollBtn.vue.d.ts.map +1 -0
- package/dist/conversation/index.d.ts +5 -0
- package/dist/conversation/index.d.ts.map +1 -0
- package/dist/index.cjs +5 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +5324 -0
- package/dist/integration/chat-flow.test.d.ts +1 -0
- package/dist/integration/chat-flow.test.d.ts.map +1 -0
- package/dist/locales/en-US.d.ts +59 -0
- package/dist/locales/en-US.d.ts.map +1 -0
- package/dist/locales/index.d.ts +253 -0
- package/dist/locales/index.d.ts.map +1 -0
- package/dist/locales/locales.test.d.ts +2 -0
- package/dist/locales/locales.test.d.ts.map +1 -0
- package/dist/locales/zh-CN.d.ts +60 -0
- package/dist/locales/zh-CN.d.ts.map +1 -0
- package/dist/message/Message.test.d.ts +2 -0
- package/dist/message/Message.test.d.ts.map +1 -0
- package/dist/message/Message.vue.d.ts +25 -0
- package/dist/message/Message.vue.d.ts.map +1 -0
- package/dist/message/MessageAction.test.d.ts +2 -0
- package/dist/message/MessageAction.test.d.ts.map +1 -0
- package/dist/message/MessageAction.vue.d.ts +23 -0
- package/dist/message/MessageAction.vue.d.ts.map +1 -0
- package/dist/message/MessageActions.vue.d.ts +14 -0
- package/dist/message/MessageActions.vue.d.ts.map +1 -0
- package/dist/message/MessageAttachments.vue.d.ts +14 -0
- package/dist/message/MessageAttachments.vue.d.ts.map +1 -0
- package/dist/message/MessageContent.test.d.ts +2 -0
- package/dist/message/MessageContent.test.d.ts.map +1 -0
- package/dist/message/MessageContent.vue.d.ts +20 -0
- package/dist/message/MessageContent.vue.d.ts.map +1 -0
- package/dist/message/index.d.ts +7 -0
- package/dist/message/index.d.ts.map +1 -0
- package/dist/preview/ImageLightbox.test.d.ts +2 -0
- package/dist/preview/ImageLightbox.test.d.ts.map +1 -0
- package/dist/preview/ImageLightbox.vue.d.ts +15 -0
- package/dist/preview/ImageLightbox.vue.d.ts.map +1 -0
- package/dist/preview/index.d.ts +2 -0
- package/dist/preview/index.d.ts.map +1 -0
- package/dist/prompt-input/PromptInput.i18n.test.d.ts +2 -0
- package/dist/prompt-input/PromptInput.i18n.test.d.ts.map +1 -0
- package/dist/prompt-input/PromptInput.test.d.ts +2 -0
- package/dist/prompt-input/PromptInput.test.d.ts.map +1 -0
- package/dist/prompt-input/PromptInput.vue.d.ts +61 -0
- package/dist/prompt-input/PromptInput.vue.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputAttachments.test.d.ts +2 -0
- package/dist/prompt-input/PromptInputAttachments.test.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputAttachments.vue.d.ts +15 -0
- package/dist/prompt-input/PromptInputAttachments.vue.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputBody.vue.d.ts +14 -0
- package/dist/prompt-input/PromptInputBody.vue.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputButton.test.d.ts +2 -0
- package/dist/prompt-input/PromptInputButton.test.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputButton.vue.d.ts +27 -0
- package/dist/prompt-input/PromptInputButton.vue.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputFooter.test.d.ts +2 -0
- package/dist/prompt-input/PromptInputFooter.test.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputFooter.vue.d.ts +16 -0
- package/dist/prompt-input/PromptInputFooter.vue.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputHeader.vue.d.ts +14 -0
- package/dist/prompt-input/PromptInputHeader.vue.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputSubmit.test.d.ts +2 -0
- package/dist/prompt-input/PromptInputSubmit.test.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputSubmit.vue.d.ts +14 -0
- package/dist/prompt-input/PromptInputSubmit.vue.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputTextarea.test.d.ts +2 -0
- package/dist/prompt-input/PromptInputTextarea.test.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputTextarea.vue.d.ts +4 -0
- package/dist/prompt-input/PromptInputTextarea.vue.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputTools.vue.d.ts +14 -0
- package/dist/prompt-input/PromptInputTools.vue.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputUploadButton.test.d.ts +2 -0
- package/dist/prompt-input/PromptInputUploadButton.test.d.ts.map +1 -0
- package/dist/prompt-input/PromptInputUploadButton.vue.d.ts +19 -0
- package/dist/prompt-input/PromptInputUploadButton.vue.d.ts.map +1 -0
- package/dist/prompt-input/context.d.ts +19 -0
- package/dist/prompt-input/context.d.ts.map +1 -0
- package/dist/prompt-input/index.d.ts +11 -0
- package/dist/prompt-input/index.d.ts.map +1 -0
- package/dist/shared/Button.test.d.ts +2 -0
- package/dist/shared/Button.test.d.ts.map +1 -0
- package/dist/shared/Button.vue.d.ts +23 -0
- package/dist/shared/Button.vue.d.ts.map +1 -0
- package/dist/shared/LanguageToggle.test.d.ts +2 -0
- package/dist/shared/LanguageToggle.test.d.ts.map +1 -0
- package/dist/shared/LanguageToggle.vue.d.ts +20 -0
- package/dist/shared/LanguageToggle.vue.d.ts.map +1 -0
- package/dist/shared/Shimmer.test.d.ts +2 -0
- package/dist/shared/Shimmer.test.d.ts.map +1 -0
- package/dist/shared/Shimmer.vue.d.ts +21 -0
- package/dist/shared/Shimmer.vue.d.ts.map +1 -0
- package/dist/shared/StreamText.test.d.ts +2 -0
- package/dist/shared/StreamText.test.d.ts.map +1 -0
- package/dist/shared/StreamText.vue.d.ts +7 -0
- package/dist/shared/StreamText.vue.d.ts.map +1 -0
- package/dist/shared/Toast.test.d.ts +2 -0
- package/dist/shared/Toast.test.d.ts.map +1 -0
- package/dist/shared/Toast.vue.d.ts +20 -0
- package/dist/shared/Toast.vue.d.ts.map +1 -0
- package/dist/theme/presets.d.ts +8 -0
- package/dist/theme/presets.d.ts.map +1 -0
- package/dist/theme/tokens-meta.d.ts +27 -0
- package/dist/theme/tokens-meta.d.ts.map +1 -0
- package/dist/theme/tokens-meta.test.d.ts +2 -0
- package/dist/theme/tokens-meta.test.d.ts.map +1 -0
- package/dist/thinking/ThinkingBlock.test.d.ts +2 -0
- package/dist/thinking/ThinkingBlock.test.d.ts.map +1 -0
- package/dist/thinking/ThinkingBlock.vue.d.ts +23 -0
- package/dist/thinking/ThinkingBlock.vue.d.ts.map +1 -0
- package/dist/tool-call/ToolCall.test.d.ts +2 -0
- package/dist/tool-call/ToolCall.test.d.ts.map +1 -0
- package/dist/tool-call/ToolCall.vue.d.ts +25 -0
- package/dist/tool-call/ToolCall.vue.d.ts.map +1 -0
- package/dist/tool-call/ToolCallContent.vue.d.ts +4 -0
- package/dist/tool-call/ToolCallContent.vue.d.ts.map +1 -0
- package/dist/tool-call/ToolCallHeader.vue.d.ts +4 -0
- package/dist/tool-call/ToolCallHeader.vue.d.ts.map +1 -0
- package/dist/tool-call/ToolCallInput.vue.d.ts +4 -0
- package/dist/tool-call/ToolCallInput.vue.d.ts.map +1 -0
- package/dist/tool-call/ToolCallOutput.vue.d.ts +4 -0
- package/dist/tool-call/ToolCallOutput.vue.d.ts.map +1 -0
- package/dist/tool-call/index.d.ts +6 -0
- package/dist/tool-call/index.d.ts.map +1 -0
- package/dist/utils/format.d.ts +3 -0
- package/dist/utils/format.d.ts.map +1 -0
- package/dist/utils/format.test.d.ts +2 -0
- package/dist/utils/format.test.d.ts.map +1 -0
- package/dist/utils/media.d.ts +4 -0
- package/dist/utils/media.d.ts.map +1 -0
- package/dist/utils/media.test.d.ts +2 -0
- package/dist/utils/media.test.d.ts.map +1 -0
- package/dist/vue.css +2 -0
- package/package.json +44 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatWindow.test.d.ts","sourceRoot":"","sources":["../src/ChatWindow.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
height?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
} & {
|
|
8
|
+
footer?: (props: typeof __VLS_3) => any;
|
|
9
|
+
};
|
|
10
|
+
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>;
|
|
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
|
+
};
|
|
19
|
+
//# sourceMappingURL=ChatWindow.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatWindow.vue.d.ts","sourceRoot":"","sources":["../src/ChatWindow.vue"],"names":[],"mappings":"AAoDA,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;AAuCF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputArea.i18n.test.d.ts","sourceRoot":"","sources":["../src/InputArea.i18n.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputArea.test.d.ts","sourceRoot":"","sources":["../src/InputArea.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
prepend?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
send: (content: string) => any;
|
|
11
|
+
abort: () => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onSend?: ((content: string) => any) | undefined;
|
|
14
|
+
onAbort?: (() => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=InputArea.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputArea.vue.d.ts","sourceRoot":"","sources":["../src/InputArea.vue"],"names":[],"mappings":"AA8HA,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;AAkFF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageBubble.test.d.ts","sourceRoot":"","sources":["../src/MessageBubble.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Message } from '@toimc/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
message: Message;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
avatar?: (props: typeof __VLS_1) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_3) => any;
|
|
10
|
+
} & {
|
|
11
|
+
actions?: (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
|
+
};
|
|
22
|
+
//# sourceMappingURL=MessageBubble.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageBubble.vue.d.ts","sourceRoot":"","sources":["../src/MessageBubble.vue"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAC;AAwCF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageList.test.d.ts","sourceRoot":"","sources":["../src/MessageList.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Message } from '@toimc/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
messages: Message[];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {
|
|
6
|
+
message: Message;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
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>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=MessageList.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageList.vue.d.ts","sourceRoot":"","sources":["../src/MessageList.vue"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,OAAO,EAAE,CAAA;CACpB,CAAC;AAiCF,QAAA,IAAI,OAAO;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachment.test.d.ts","sourceRoot":"","sources":["../../src/attachment/Attachment.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Attachment } from '@toimc/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
data: Attachment;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => 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
|
+
};
|
|
18
|
+
//# sourceMappingURL=Attachment.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachment.vue.d.ts","sourceRoot":"","sources":["../../src/attachment/Attachment.vue"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAE7C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,UAAU,CAAA;CACjB,CAAC;AAyBF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=AttachmentEmpty.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentEmpty.vue.d.ts","sourceRoot":"","sources":["../../src/attachment/AttachmentEmpty.vue"],"names":[],"mappings":"AAkDA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
//# sourceMappingURL=AttachmentInfo.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentInfo.vue.d.ts","sourceRoot":"","sources":["../../src/attachment/AttachmentInfo.vue"],"names":[],"mappings":"AAwFA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentPreview.test.d.ts","sourceRoot":"","sources":["../../src/attachment/AttachmentPreview.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
preview: () => any;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
onPreview?: (() => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=AttachmentPreview.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentPreview.vue.d.ts","sourceRoot":"","sources":["../../src/attachment/AttachmentPreview.vue"],"names":[],"mappings":"AA6HA,QAAA,MAAM,YAAY;;;;iFAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
remove: () => any;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
onRemove?: (() => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=AttachmentRemove.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentRemove.vue.d.ts","sourceRoot":"","sources":["../../src/attachment/AttachmentRemove.vue"],"names":[],"mappings":"AA0GA,QAAA,MAAM,YAAY;;;;iFAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachments.test.d.ts","sourceRoot":"","sources":["../../src/attachment/Attachments.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
variant?: 'grid' | 'inline' | 'list';
|
|
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
|
+
variant: "grid" | "inline" | "list";
|
|
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
|
+
};
|
|
19
|
+
//# sourceMappingURL=Attachments.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachments.vue.d.ts","sourceRoot":"","sources":["../../src/attachment/Attachments.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;CACrC,CAAC;AA4BJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;aApCF,MAAM,GAAG,QAAQ,GAAG,MAAM;6EAuCtC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as Attachments } from './Attachments.vue';
|
|
2
|
+
export { default as Attachment } from './Attachment.vue';
|
|
3
|
+
export { default as AttachmentPreview } from './AttachmentPreview.vue';
|
|
4
|
+
export { default as AttachmentInfo } from './AttachmentInfo.vue';
|
|
5
|
+
export { default as AttachmentRemove } from './AttachmentRemove.vue';
|
|
6
|
+
export { default as AttachmentEmpty } from './AttachmentEmpty.vue';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/attachment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComparisonMessage.i18n.test.d.ts","sourceRoot":"","sources":["../../src/comparison/ComparisonMessage.i18n.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComparisonMessage.test.d.ts","sourceRoot":"","sources":["../../src/comparison/ComparisonMessage.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
type Side = 'A' | 'B';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
left: string;
|
|
4
|
+
right: string;
|
|
5
|
+
leftLabel?: string;
|
|
6
|
+
rightLabel?: string;
|
|
7
|
+
chosen?: Side | null;
|
|
8
|
+
buttonLabel?: string;
|
|
9
|
+
stackOnMobile?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_1: {
|
|
13
|
+
label: string;
|
|
14
|
+
}, __VLS_8: {}, __VLS_10: {
|
|
15
|
+
label: string;
|
|
16
|
+
}, __VLS_17: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
left?: (props: typeof __VLS_1) => any;
|
|
19
|
+
} & {
|
|
20
|
+
'action-left'?: (props: typeof __VLS_8) => any;
|
|
21
|
+
} & {
|
|
22
|
+
right?: (props: typeof __VLS_10) => any;
|
|
23
|
+
} & {
|
|
24
|
+
'action-right'?: (props: typeof __VLS_17) => any;
|
|
25
|
+
};
|
|
26
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
prefer: (args_0: {
|
|
28
|
+
chosen: Side;
|
|
29
|
+
left: string;
|
|
30
|
+
right: string;
|
|
31
|
+
}) => any;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
|
+
onPrefer?: ((args_0: {
|
|
34
|
+
chosen: Side;
|
|
35
|
+
left: string;
|
|
36
|
+
right: string;
|
|
37
|
+
}) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
chosen: Side | null;
|
|
41
|
+
stackOnMobile: boolean;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
|
+
declare const _default: typeof __VLS_export;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=ComparisonMessage.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComparisonMessage.vue.d.ts","sourceRoot":"","sources":["../../src/comparison/ComparisonMessage.vue"],"names":[],"mappings":"AAiMA,KAAK,IAAI,GAAG,GAAG,GAAG,GAAG,CAAA;AAErB,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAwKJ,QAAA,IAAI,OAAO;;CAAU,EAAE,OAAO,IAAU,EAAE,QAAQ;;CAAU,EAAE,QAAQ,IAAY,CAAE;AACpF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAClD;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKvD,QAAA,MAAM,UAAU;;gBAhKK,IAAI;cAAQ,MAAM;eAAS,MAAM;;;;gBAAjC,IAAI;cAAQ,MAAM;eAAS,MAAM;;;cAnBvC,OAAO;YAHT,IAAI,GAAG,IAAI;mBAEJ,OAAO;6EAwLzB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/comparison/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
export type MessageLayout = 'stacked' | 'im';
|
|
3
|
+
export type MessageAlign = 'left' | 'right';
|
|
4
|
+
export interface MessageLayoutContext {
|
|
5
|
+
layout: MessageLayout;
|
|
6
|
+
messageAlign: MessageAlign;
|
|
7
|
+
}
|
|
8
|
+
export declare const messageLayoutKey: InjectionKey<ComputedRef<MessageLayoutContext>>;
|
|
9
|
+
/** 读取 Conversation 下发的布局上下文;未注入时返回 undefined(回退现状) */
|
|
10
|
+
export declare function useMessageLayout(): ComputedRef<MessageLayoutContext> | undefined;
|
|
11
|
+
//# sourceMappingURL=layout-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-types.d.ts","sourceRoot":"","sources":["../../src/composables/layout-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,KAAK,CAAA;AAEjE,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,IAAI,CAAA;AAC5C,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,CAAA;AAE3C,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,aAAa,CAAA;IACrB,YAAY,EAAE,YAAY,CAAA;CAC3B;AAED,eAAO,MAAM,gBAAgB,EAAE,YAAY,CAAC,WAAW,CAAC,oBAAoB,CAAC,CACpD,CAAA;AAEzB,sDAAsD;AACtD,wBAAgB,gBAAgB,IAC9B,WAAW,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAE9C"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ComputedRef, MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { MessageLayout, MessageAlign } from './layout-types';
|
|
3
|
+
export interface LayoutConfig {
|
|
4
|
+
contentMaxWidth?: number;
|
|
5
|
+
contentMaxWidthWide?: number;
|
|
6
|
+
messageMaxWidth?: number;
|
|
7
|
+
inputMaxHeight?: number;
|
|
8
|
+
inputMaxHeightMobile?: number;
|
|
9
|
+
breakpointSm?: number;
|
|
10
|
+
breakpointMd?: number;
|
|
11
|
+
breakpointLg?: number;
|
|
12
|
+
breakpointXl?: number;
|
|
13
|
+
layout?: MessageLayout;
|
|
14
|
+
messageAlign?: MessageAlign;
|
|
15
|
+
}
|
|
16
|
+
export interface LayoutConfigResult {
|
|
17
|
+
/** 尺寸类配置 → CSS 变量字典,喂给 Conversation.customTheme */
|
|
18
|
+
vars: ComputedRef<Record<string, string>>;
|
|
19
|
+
/** 结构类配置,透传给 Conversation.layout / messageAlign */
|
|
20
|
+
layoutProps: ComputedRef<{
|
|
21
|
+
layout?: MessageLayout;
|
|
22
|
+
messageAlign?: MessageAlign;
|
|
23
|
+
}>;
|
|
24
|
+
/** 当前生效配置 */
|
|
25
|
+
state: ComputedRef<LayoutConfig>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* 结构化布局配置 → CSS 变量字典 + layoutProps。
|
|
29
|
+
* hook 本身不写 DOM:vars 由宿主传入 Conversation.customTheme,
|
|
30
|
+
* 经 useThemePreset 单点写入容器(全组件唯一 inline-style 写入点)。
|
|
31
|
+
*/
|
|
32
|
+
export declare function useLayoutConfig(config: MaybeRefOrGetter<LayoutConfig>): LayoutConfigResult;
|
|
33
|
+
//# sourceMappingURL=useLayoutConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLayoutConfig.d.ts","sourceRoot":"","sources":["../../src/composables/useLayoutConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAChF,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAEjE,MAAM,WAAW,YAAY;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B;AAED,MAAM,WAAW,kBAAkB;IACjC,mDAAmD;IACnD,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACzC,mDAAmD;IACnD,WAAW,EAAE,WAAW,CAAC;QACvB,MAAM,CAAC,EAAE,aAAa,CAAA;QACtB,YAAY,CAAC,EAAE,YAAY,CAAA;KAC5B,CAAC,CAAA;IACF,aAAa;IACb,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC,CAAA;CACjC;AAcD;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,gBAAgB,CAAC,YAAY,CAAC,GACrC,kBAAkB,CAmBpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLayoutConfig.test.d.ts","sourceRoot":"","sources":["../../src/composables/useLayoutConfig.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Component, InjectionKey } from 'vue';
|
|
2
|
+
export declare const markdownRendererKey: InjectionKey<Component>;
|
|
3
|
+
/** 用户在应用入口(或 VitePress enhanceApp 的 app.provide)注入 MarkdownRenderer,MessageContent 即自动启用 */
|
|
4
|
+
export declare function provideMarkdownRenderer(renderer: Component): void;
|
|
5
|
+
export declare function useMarkdownRenderer(): Component | null;
|
|
6
|
+
//# sourceMappingURL=useMarkdownRenderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMarkdownRenderer.d.ts","sourceRoot":"","sources":["../../src/composables/useMarkdownRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,KAAK,CAAA;AAExE,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,SAAS,CAEvD,CAAA;AAED,4FAA4F;AAC5F,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,SAAS,QAE1D;AAED,wBAAgB,mBAAmB,IAAI,SAAS,GAAG,IAAI,CAEtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMarkdownRenderer.test.d.ts","sourceRoot":"","sources":["../../src/composables/useMarkdownRenderer.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export interface PendingFile {
|
|
2
|
+
id: string;
|
|
3
|
+
file: File;
|
|
4
|
+
/** 图片的 objectURL 预览;非图片为空串(走图标) */
|
|
5
|
+
previewUrl: string;
|
|
6
|
+
status: 'ready' | 'uploading' | 'error';
|
|
7
|
+
error?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface RejectedFile {
|
|
10
|
+
file: File;
|
|
11
|
+
reason: string;
|
|
12
|
+
}
|
|
13
|
+
export interface UsePendingFilesOptions {
|
|
14
|
+
accept?: string;
|
|
15
|
+
maxFiles?: number;
|
|
16
|
+
/** 单文件字节上限,缺省不限 */
|
|
17
|
+
maxSize?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare function usePendingFiles(options?: UsePendingFilesOptions): {
|
|
20
|
+
pendingFiles: import('vue').Ref<{
|
|
21
|
+
id: string;
|
|
22
|
+
file: {
|
|
23
|
+
readonly lastModified: number;
|
|
24
|
+
readonly name: string;
|
|
25
|
+
readonly webkitRelativePath: string;
|
|
26
|
+
readonly size: number;
|
|
27
|
+
readonly type: string;
|
|
28
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
29
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
30
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
31
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
32
|
+
text: () => Promise<string>;
|
|
33
|
+
};
|
|
34
|
+
previewUrl: string;
|
|
35
|
+
status: "ready" | "uploading" | "error";
|
|
36
|
+
error?: string | undefined;
|
|
37
|
+
}[], PendingFile[] | {
|
|
38
|
+
id: string;
|
|
39
|
+
file: {
|
|
40
|
+
readonly lastModified: number;
|
|
41
|
+
readonly name: string;
|
|
42
|
+
readonly webkitRelativePath: string;
|
|
43
|
+
readonly size: number;
|
|
44
|
+
readonly type: string;
|
|
45
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
46
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
47
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
48
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
49
|
+
text: () => Promise<string>;
|
|
50
|
+
};
|
|
51
|
+
previewUrl: string;
|
|
52
|
+
status: "ready" | "uploading" | "error";
|
|
53
|
+
error?: string | undefined;
|
|
54
|
+
}[]>;
|
|
55
|
+
addFiles: (files: File[] | FileList) => {
|
|
56
|
+
accepted: PendingFile[];
|
|
57
|
+
rejected: RejectedFile[];
|
|
58
|
+
};
|
|
59
|
+
remove: (id: string) => void;
|
|
60
|
+
clear: () => void;
|
|
61
|
+
setStatus: (id: string, status: PendingFile["status"], error?: string) => void;
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=usePendingFiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePendingFiles.d.ts","sourceRoot":"","sources":["../../src/composables/usePendingFiles.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,IAAI,CAAA;IACV,mCAAmC;IACnC,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,OAAO,GAAG,WAAW,GAAG,OAAO,CAAA;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,mBAAmB;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAaD,wBAAgB,eAAe,CAAC,OAAO,GAAE,sBAA2B;;YA/B9D,MAAM;;;;;;;;;;;;;oBAGE,MAAM;gBACV,OAAO,GAAG,WAAW,GAAG,OAAO;gBAC/B,MAAM;;YALV,MAAM;;;;;;;;;;;;;oBAGE,MAAM;gBACV,OAAO,GAAG,WAAW,GAAG,OAAO;gBAC/B,MAAM;;sBA8BW,IAAI,EAAE,GAAG,QAAQ;;;;iBAyCtB,MAAM;;oBAapB,MAAM,UACF,WAAW,CAAC,QAAQ,CAAC,UACrB,MAAM;EAcjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePendingFiles.test.d.ts","sourceRoot":"","sources":["../../src/composables/usePendingFiles.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export interface ScrollAnchorContext {
|
|
3
|
+
isAtBottom: Ref<boolean>;
|
|
4
|
+
scrollToBottom: () => void;
|
|
5
|
+
bindContainer: (el: HTMLElement | null) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function useScrollAnchor(threshold?: number): ScrollAnchorContext;
|
|
8
|
+
//# sourceMappingURL=useScrollAnchor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScrollAnchor.d.ts","sourceRoot":"","sources":["../../src/composables/useScrollAnchor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAEnC,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxB,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,aAAa,EAAE,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;CAChD;AAED,wBAAgB,eAAe,CAAC,SAAS,SAAK,GAAG,mBAAmB,CAqCnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScrollAnchor.test.d.ts","sourceRoot":"","sources":["../../src/composables/useScrollAnchor.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type ThemeMode = 'light' | 'dark' | 'system';
|
|
2
|
+
export type ResolvedTheme = 'light' | 'dark';
|
|
3
|
+
export type ThemeTarget = 'html' | 'component';
|
|
4
|
+
export interface UseThemeOptions {
|
|
5
|
+
/** data-theme 写入位置:html(宿主根)或 component(组件根元素),默认 'html' */
|
|
6
|
+
target?: ThemeTarget;
|
|
7
|
+
/** 是否读写 localStorage,默认 true */
|
|
8
|
+
persist?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const resolvedTheme: import('vue').ComputedRef<ResolvedTheme>;
|
|
11
|
+
export declare const componentTheme: import('vue').ComputedRef<ResolvedTheme | undefined>;
|
|
12
|
+
export declare function useTheme(opts?: UseThemeOptions): {
|
|
13
|
+
theme: import('vue').Ref<ThemeMode, ThemeMode>;
|
|
14
|
+
resolvedTheme: import('vue').ComputedRef<ResolvedTheme>;
|
|
15
|
+
setTheme: (t: ThemeMode) => void;
|
|
16
|
+
toggleTheme: () => void;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=useTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/composables/useTheme.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAA;AACnD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,CAAA;AAC5C,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,WAAW,CAAA;AAE9C,MAAM,WAAW,eAAe;IAC9B,4DAA4D;IAC5D,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAoBD,eAAO,MAAM,aAAa,0CAAsD,CAAA;AAGhF,eAAO,MAAM,cAAc,sDAE1B,CAAA;AAsCD,wBAAgB,QAAQ,CAAC,IAAI,CAAC,EAAE,eAAe;;;kBAOxB,SAAS;;EAO/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.test.d.ts","sourceRoot":"","sources":["../../src/composables/useTheme.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { PresetKey } from '../theme/presets';
|
|
3
|
+
export declare function useThemePreset(containerRef: Ref<HTMLElement | undefined>, preset: Ref<PresetKey | undefined>, customVars: Ref<Record<string, string> | undefined>): void;
|
|
4
|
+
//# sourceMappingURL=useThemePreset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useThemePreset.d.ts","sourceRoot":"","sources":["../../src/composables/useThemePreset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAChD,OAAO,EAAW,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAE1D,wBAAgB,cAAc,CAC5B,YAAY,EAAE,GAAG,CAAC,WAAW,GAAG,SAAS,CAAC,EAC1C,MAAM,EAAE,GAAG,CAAC,SAAS,GAAG,SAAS,CAAC,EAClC,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC,QAqBpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useThemePreset.test.d.ts","sourceRoot":"","sources":["../../src/composables/useThemePreset.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Conversation.test.d.ts","sourceRoot":"","sources":["../../src/conversation/Conversation.test.ts"],"names":[],"mappings":""}
|