@matechat/core 1.10.0 → 1.11.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Attachment/Attachment.vue.d.ts +121 -0
- package/Attachment/attachment-types.d.ts +103 -0
- package/Attachment/drop-area.vue.d.ts +13 -0
- package/Attachment/index.css +1 -1
- package/Attachment/index.d.ts +2 -0
- package/Attachment/index.js +211 -311
- package/Attachment/uploader.d.ts +11 -0
- package/Attachment/use-upload.d.ts +8 -0
- package/Bubble/Bubble.vue.d.ts +75 -0
- package/Bubble/BubbleLoading.vue.d.ts +3 -0
- package/Bubble/bubble-constants.d.ts +4 -0
- package/Bubble/bubble-types.d.ts +38 -0
- package/Bubble/components/Avatar.vue.d.ts +57 -0
- package/Bubble/components/AvatarBodyIcon.vue.d.ts +24 -0
- package/Bubble/components/AvatarNoBodyIcon.vue.d.ts +24 -0
- package/Bubble/components/avatar-types.d.ts +25 -0
- package/Bubble/index.css +1 -1
- package/Bubble/index.d.ts +2 -0
- package/Bubble/index.js +142 -148
- package/FileList/FileIcon/CodeFile.vue.d.ts +10 -0
- package/FileList/FileIcon/CompressedFile.vue.d.ts +10 -0
- package/FileList/FileIcon/DefaultFileIcon.vue.d.ts +10 -0
- package/FileList/FileIcon/Document.vue.d.ts +10 -0
- package/FileList/FileIcon/DrawingBoard.vue.d.ts +10 -0
- package/FileList/FileIcon/EmailFile.vue.d.ts +10 -0
- package/FileList/FileIcon/Excel.vue.d.ts +10 -0
- package/FileList/FileIcon/FlowChart.vue.d.ts +10 -0
- package/FileList/FileIcon/FolderClosed.vue.d.ts +10 -0
- package/FileList/FileIcon/FolderOpen.vue.d.ts +10 -0
- package/FileList/FileIcon/Image.vue.d.ts +10 -0
- package/FileList/FileIcon/Markdown.vue.d.ts +10 -0
- package/FileList/FileIcon/Mind.vue.d.ts +10 -0
- package/FileList/FileIcon/Mp4.vue.d.ts +10 -0
- package/FileList/FileIcon/MultidimentionalTable.vue.d.ts +10 -0
- package/FileList/FileIcon/Page.vue.d.ts +10 -0
- package/FileList/FileIcon/Pdf.vue.d.ts +10 -0
- package/FileList/FileIcon/Ppt.vue.d.ts +10 -0
- package/FileList/FileIcon/Unknown.vue.d.ts +10 -0
- package/FileList/FileIcon/Wrong.vue.d.ts +10 -0
- package/FileList/FileList.vue.d.ts +36 -0
- package/FileList/fileList-types.d.ts +21 -0
- package/FileList/index.d.ts +2 -0
- package/FileList/index.js +220 -228
- package/Header/Header.vue.d.ts +47 -0
- package/Header/header-types.d.ts +14 -0
- package/Header/index.d.ts +2 -0
- package/Header/index.js +0 -1
- package/Input/Input.vue.d.ts +165 -0
- package/Input/components/EditableBlock.vue.d.ts +101 -0
- package/Input/components/InputTag.vue.d.ts +30 -0
- package/Input/components/LoadingIcon.vue.d.ts +3 -0
- package/Input/components/SendIcon.vue.d.ts +3 -0
- package/Input/components/button.vue.d.ts +3 -0
- package/Input/components/textarea-utils.d.ts +17 -0
- package/Input/components/textarea.vue.d.ts +3 -0
- package/Input/components/use-textarea-autosize.d.ts +12 -0
- package/Input/components/util.d.ts +3 -0
- package/Input/index.css +1 -1
- package/Input/index.d.ts +2 -0
- package/Input/index.js +114 -252
- package/Input/input-types.d.ts +118 -0
- package/Introduction/Introduction.vue.d.ts +88 -0
- package/Introduction/index.css +1 -1
- package/Introduction/index.d.ts +2 -0
- package/Introduction/index.js +8 -9
- package/Introduction/introduction-types.d.ts +37 -0
- package/Layout/Aside.vue.d.ts +13 -0
- package/Layout/Content.vue.d.ts +13 -0
- package/Layout/Header.vue.d.ts +13 -0
- package/Layout/Layout.vue.d.ts +13 -0
- package/Layout/Sender.vue.d.ts +13 -0
- package/Layout/index.d.ts +6 -0
- package/Layout/index.js +0 -1
- package/List/List.vue.d.ts +98 -0
- package/List/const.d.ts +5 -0
- package/List/index.css +1 -1
- package/List/index.d.ts +3 -0
- package/List/index.js +51 -54
- package/List/list-types.d.ts +52 -0
- package/List/use-list.d.ts +13 -0
- package/Locale/i18n.d.ts +21 -0
- package/Locale/index.d.ts +7 -0
- package/Locale/index.js +35 -103
- package/Locale/lang/en-us.d.ts +34 -0
- package/Locale/lang/zh-cn.d.ts +34 -0
- package/MarkdownCard/CodeBlock.vue.d.ts +76 -0
- package/MarkdownCard/MDCardParser.d.ts +12 -0
- package/MarkdownCard/MDCardService.d.ts +14 -0
- package/MarkdownCard/MermaidService.d.ts +22 -0
- package/MarkdownCard/index.css +1 -1
- package/MarkdownCard/index.d.ts +2 -0
- package/MarkdownCard/index.js +205 -559
- package/MarkdownCard/mdCard.types.d.ts +88 -0
- package/MarkdownCard/mdCard.vue.d.ts +29 -0
- package/Mention/Mention.vue.d.ts +51 -0
- package/Mention/const.d.ts +4 -0
- package/Mention/index.d.ts +2 -0
- package/Mention/index.js +0 -1
- package/Mention/mention-types.d.ts +24 -0
- package/Mention/use-mention.d.ts +10 -0
- package/Prompt/Prompt.vue.d.ts +38 -0
- package/Prompt/PromptItem.vue.d.ts +11 -0
- package/Prompt/components/Icon.vue.d.ts +42 -0
- package/Prompt/components/icon-types.d.ts +18 -0
- package/Prompt/index.d.ts +2 -0
- package/Prompt/prompt-types.d.ts +33 -0
- package/README.md +12 -8
- package/Toolbar/Toolbar.vue.d.ts +68 -0
- package/Toolbar/icon/CopyIcon.vue.d.ts +42 -0
- package/Toolbar/icon/DeleteIcon.vue.d.ts +42 -0
- package/Toolbar/icon/DislikeIcon.vue.d.ts +46 -0
- package/Toolbar/icon/LikeIcon.vue.d.ts +46 -0
- package/Toolbar/icon/RefreshIcon.vue.d.ts +42 -0
- package/Toolbar/icon/ShareIcon.vue.d.ts +42 -0
- package/Toolbar/index.css +1 -0
- package/Toolbar/index.d.ts +8 -0
- package/Toolbar/index.js +519 -0
- package/Toolbar/toolbar.types.d.ts +60 -0
- package/mate-chat.js +0 -6
- package/package.json +4 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_7: {}, __VLS_9: {}, __VLS_15: {}, __VLS_17: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
avatar?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
top?: (props: typeof __VLS_7) => any;
|
|
6
|
+
} & {
|
|
7
|
+
loadingTpl?: (props: typeof __VLS_9) => any;
|
|
8
|
+
} & {
|
|
9
|
+
default?: (props: typeof __VLS_15) => any;
|
|
10
|
+
} & {
|
|
11
|
+
bottom?: (props: typeof __VLS_17) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
|
+
content: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
loading: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
align: {
|
|
23
|
+
type: import("vue").PropType<import("./bubble-types").BubbleAlign>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
avatarPosition: {
|
|
27
|
+
type: import("vue").PropType<import("./bubble-types").AvatarPosition>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
variant: {
|
|
31
|
+
type: import("vue").PropType<import("./bubble-types").BubbleVariant>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
avatarConfig: {
|
|
35
|
+
type: import("vue").PropType<import("./bubble-types").BubbleAvatar>;
|
|
36
|
+
};
|
|
37
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
content: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
loading: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
align: {
|
|
47
|
+
type: import("vue").PropType<import("./bubble-types").BubbleAlign>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
avatarPosition: {
|
|
51
|
+
type: import("vue").PropType<import("./bubble-types").AvatarPosition>;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
variant: {
|
|
55
|
+
type: import("vue").PropType<import("./bubble-types").BubbleVariant>;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
avatarConfig: {
|
|
59
|
+
type: import("vue").PropType<import("./bubble-types").BubbleAvatar>;
|
|
60
|
+
};
|
|
61
|
+
}>> & Readonly<{}>, {
|
|
62
|
+
variant: import("./bubble-types").BubbleVariant;
|
|
63
|
+
content: string;
|
|
64
|
+
loading: boolean;
|
|
65
|
+
align: import("./bubble-types").BubbleAlign;
|
|
66
|
+
avatarPosition: import("./bubble-types").AvatarPosition;
|
|
67
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
68
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
69
|
+
declare const _default: typeof __VLS_export;
|
|
70
|
+
export default _default;
|
|
71
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
72
|
+
new (): {
|
|
73
|
+
$slots: S;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
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;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export type BubbleVariant = 'filled' | 'none' | 'bordered';
|
|
3
|
+
export type AvatarPosition = 'top' | 'side';
|
|
4
|
+
export type BubbleAlign = 'left' | 'right';
|
|
5
|
+
export interface BubbleAvatar {
|
|
6
|
+
name?: string;
|
|
7
|
+
gender?: string;
|
|
8
|
+
width?: number;
|
|
9
|
+
height?: number;
|
|
10
|
+
isRound?: boolean;
|
|
11
|
+
imgSrc?: string;
|
|
12
|
+
displayName?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const props: {
|
|
15
|
+
content: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
loading: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
align: {
|
|
24
|
+
type: PropType<BubbleAlign>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
avatarPosition: {
|
|
28
|
+
type: PropType<AvatarPosition>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
variant: {
|
|
32
|
+
type: PropType<BubbleVariant>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
avatarConfig: {
|
|
36
|
+
type: PropType<BubbleAvatar>;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
name: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
gender: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
width: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
height: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
isRound: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
imgSrc: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
name: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
gender: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
};
|
|
33
|
+
width: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
height: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
isRound: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
imgSrc: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
name: string;
|
|
51
|
+
height: number;
|
|
52
|
+
width: number;
|
|
53
|
+
imgSrc: string;
|
|
54
|
+
isRound: boolean;
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
declare const _default: typeof __VLS_export;
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
width: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
height: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
width: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
height: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
height: number;
|
|
21
|
+
width: number;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
width: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
height: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
width: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
height: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
height: number;
|
|
21
|
+
width: number;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const avatarProps: {
|
|
2
|
+
name: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
gender: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
width: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
height: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
isRound: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
imgSrc: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
package/Bubble/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.mc-bubble-loading[data-v-395fc568]{display:flex;align-items:center;gap:8px}.mc-bubble-loading .loading-dot[data-v-395fc568]{width:8px;height:8px;border-radius:5px;background-color:#9880ff}.mc-bubble-loading .loading-dot.dot-start[data-v-395fc568]{animation:dotFlashing-395fc568 1s infinite linear alternate;animation-delay:0s}.mc-bubble-loading .loading-dot.dot-middle[data-v-395fc568]{animation:dotFlashing-395fc568 1s infinite linear alternate;animation-delay:.5s}.mc-bubble-loading .loading-dot.dot-end[data-v-395fc568]{animation:dotFlashing-395fc568 1s infinite linear alternate;animation-delay:1s}@keyframes dotFlashing-395fc568{0%{background-color:#9880ff}to{background-color:#ebe6ff}}.mc-bubble
|
|
1
|
+
.mc-bubble-avatar-wrapper{display:inline-block}.mc-bubble-avatar-wrapper .mc-bubble-avatar-style{display:inline-block;text-align:center;color:var(--devui-light-text, #ffffff)}.mc-bubble-avatar-wrapper .mc-bubble-avatar-background-0{background-color:#ff8b87}.mc-bubble-avatar-wrapper .mc-bubble-avatar-background-1{background-color:#7693f5}.mc-bubble-loading[data-v-395fc568]{display:flex;align-items:center;gap:8px}.mc-bubble-loading .loading-dot[data-v-395fc568]{width:8px;height:8px;border-radius:5px;background-color:#9880ff}.mc-bubble-loading .loading-dot.dot-start[data-v-395fc568]{animation:dotFlashing-395fc568 1s infinite linear alternate;animation-delay:0s}.mc-bubble-loading .loading-dot.dot-middle[data-v-395fc568]{animation:dotFlashing-395fc568 1s infinite linear alternate;animation-delay:.5s}.mc-bubble-loading .loading-dot.dot-end[data-v-395fc568]{animation:dotFlashing-395fc568 1s infinite linear alternate;animation-delay:1s}@keyframes dotFlashing-395fc568{0%{background-color:#9880ff}to{background-color:#ebe6ff}}.mc-bubble[data-v-7e509691]{display:flex;gap:4px}.mc-bubble .mc-bubble-content[data-v-7e509691]{word-wrap:break-word}.mc-bubble .mc-bubble-content.filled[data-v-7e509691],.mc-bubble .mc-bubble-content.bordered[data-v-7e509691]{padding:12px 16px;border-radius:12px}.mc-bubble .mc-bubble-content.filled[data-v-7e509691]{background-color:var(--devui-global-bg, #f6f6f8)}.mc-bubble .mc-bubble-content.bordered[data-v-7e509691]{border:1px solid var(--devui-dividing-line, #f2f2f3)}.mc-bubble .mc-bubble-avatar[data-v-7e509691]{flex-shrink:0;display:flex;gap:4px}.mc-bubble .mc-bubble-avatar .mc-bubble-avatar-name[data-v-7e509691]{font-size:14px}.mc-bubble .mc-bubble-avatar.empty-avatar[data-v-7e509691]{visibility:hidden}.mc-bubble.mc-bubble-avatar-top .mc-bubble-avatar[data-v-7e509691]{align-items:center}.mc-bubble .mc-bubble-content-container[data-v-7e509691]{max-width:100%}.mc-bubble.mc-bubble-avatar-top[data-v-7e509691]{flex-direction:column}.mc-bubble.mc-bubble-loading.mc-bubble-avatar-side[data-v-7e509691]{align-items:center}.mc-bubble.mc-bubble-avatar-side.mc-bubble-right[data-v-7e509691]{flex-direction:row-reverse;justify-content:end}.mc-bubble.mc-bubble-avatar-top .mc-bubble-avatar[data-v-7e509691],.mc-bubble.mc-bubble-avatar-top .mc-bubble-content-container[data-v-7e509691]{display:flex}.mc-bubble.mc-bubble-avatar-top.mc-bubble-right .mc-bubble-avatar[data-v-7e509691],.mc-bubble.mc-bubble-avatar-top.mc-bubble-right .mc-bubble-content-container[data-v-7e509691]{justify-content:end}.mc-bubble.mc-bubble-avatar-top.mc-bubble-right .mc-bubble-avatar[data-v-7e509691]{flex-direction:row-reverse}
|