@matechat/core 1.11.1 → 1.12.0-alpha
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 +8 -8
- package/Attachment/attachment-types.d.ts +3 -35
- package/Attachment/index.css +1 -1
- package/Attachment/index.js +43 -45
- package/Bubble/index.css +1 -1
- package/Bubble/index.js +276 -146
- package/Bubble/useBubbleFoundation.d.ts +9 -0
- package/FileList/index.js +1 -1
- package/Header/index.css +1 -1
- package/Header/index.js +11 -11
- package/Input/components/EditableBlock.vue.d.ts +2 -2
- package/Input/index.css +1 -1
- package/Input/index.js +82 -57
- package/Introduction/index.css +1 -1
- package/Introduction/index.js +129 -39
- package/Layout/index.js +6 -6
- package/List/index.js +5 -5
- package/MarkdownCard/MDCardParser.d.ts +0 -10
- package/MarkdownCard/MermaidService-yeLQUW_e.js +142 -0
- package/MarkdownCard/index.css +1 -1
- package/MarkdownCard/index.js +542 -361
- package/MarkdownCard/mdCard.types.d.ts +2 -29
- package/MarkdownCard/mdCard.vue.d.ts +2 -2
- package/MarkdownCard/useMarkdownCardFoundation.d.ts +8 -0
- package/Mention/Mention.vue.d.ts +12 -3
- package/Mention/index.css +1 -1
- package/Mention/index.js +364 -110
- package/Mention/mention-types.d.ts +6 -4
- package/Mention/use-mention.d.ts +7 -0
- package/Prompt/index.js +1 -1
- package/Toolbar/index.css +1 -1
- package/Toolbar/index.d.ts +2 -1
- package/Toolbar/index.js +189 -198
- package/Toolbar/toolbar.types.d.ts +2 -26
- package/index.d.ts +2 -2
- package/mate-chat.js +2 -1
- package/package.json +1 -1
- package/Attachment/uploader.d.ts +0 -11
- package/MarkdownCard/MDCardService.d.ts +0 -14
- package/MarkdownCard/MermaidService-B6BcjbW_.js +0 -127
- package/MarkdownCard/MermaidService.d.ts +0 -22
- package/Mention/const.d.ts +0 -4
package/Mention/use-mention.d.ts
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
import { MentionFoundation } from '@matechat/common/Mention/foundation';
|
|
1
2
|
import type { MentionProps } from './mention-types';
|
|
2
3
|
export declare function useMention(props: MentionProps, emits: (event: string, ...args: any[]) => void): {
|
|
3
4
|
popperTriggerEl: import("vue").Ref<any, any>;
|
|
5
|
+
originEl: import("vue").Ref<any, any>;
|
|
4
6
|
overlayEl: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
5
7
|
overlayStyle: {
|
|
6
8
|
top: string;
|
|
7
9
|
left: string;
|
|
8
10
|
width: string;
|
|
9
11
|
};
|
|
12
|
+
initEvent: () => void;
|
|
13
|
+
mentionFoundation: MentionFoundation;
|
|
14
|
+
resetMention: () => void;
|
|
15
|
+
updateOptions: (options: Partial<MentionProps>) => void;
|
|
16
|
+
updatePosition: () => void;
|
|
10
17
|
};
|
package/Prompt/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./index.css";
|
|
2
|
-
import { defineComponent as a, computed as v, resolveDynamicComponent as b,
|
|
2
|
+
import { defineComponent as a, computed as v, resolveDynamicComponent as b, openBlock as n, createElementBlock as s, createBlock as C, unref as z, normalizeStyle as y, normalizeClass as P, createElementVNode as S, normalizeProps as I, mergeProps as $, createCommentVNode as l, toDisplayString as h, createVNode as k, withCtx as V } from "vue";
|
|
3
3
|
import { ListVariant as N, ListDirection as B, McList as D } from "@matechat/core/List";
|
|
4
4
|
const L = {
|
|
5
5
|
name: {
|
package/Toolbar/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.mc-actions[data-v-
|
|
1
|
+
.mc-actions[data-v-de82714b]{display:inline-flex;align-items:center}.mc-action-item[data-v-de82714b]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-de82714b]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-85a0d662]{display:inline-flex;align-items:center}.mc-action-item[data-v-85a0d662]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-85a0d662]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-d4542e71]{display:inline-flex;align-items:center}.mc-action-item[data-v-d4542e71]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-d4542e71]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-804650d8]{display:inline-flex;align-items:center}.mc-action-item[data-v-804650d8]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-804650d8]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-4a2ea0ec]{display:inline-flex;align-items:center}.mc-action-item[data-v-4a2ea0ec]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-4a2ea0ec]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-558a7278]{display:inline-flex;align-items:center}.mc-action-item[data-v-558a7278]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-558a7278]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.mc-actions[data-v-ad8c9e9b]{display:inline-flex;align-items:center}.mc-action-item[data-v-ad8c9e9b]{cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;color:var(--devui-text, #252b3a)}.mc-action-item[data-v-ad8c9e9b]:hover{background-color:var(--devui-list-item-hover-bg, #f2f2f3)}
|
package/Toolbar/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import McToolbar from './Toolbar.vue.ts';
|
|
2
2
|
import McCopyIcon from './icon/CopyIcon.vue.ts';
|
|
3
3
|
import McDeleteIcon from './icon/DeleteIcon.vue.ts';
|
|
4
|
+
import McDislikeIcon from './icon/DislikeIcon.vue.ts';
|
|
4
5
|
import McLikeIcon from './icon/LikeIcon.vue.ts';
|
|
5
6
|
import McRefreshIcon from './icon/RefreshIcon.vue.ts';
|
|
6
7
|
import McShareIcon from './icon/ShareIcon.vue.ts';
|
|
7
8
|
export * from './toolbar.types';
|
|
8
|
-
export { McToolbar, McCopyIcon, McDeleteIcon, McLikeIcon, McRefreshIcon, McShareIcon, };
|
|
9
|
+
export { McToolbar, McCopyIcon, McDeleteIcon, McLikeIcon, McDislikeIcon, McRefreshIcon, McShareIcon, };
|