@blueking/ai-blueking 0.5.3-beta.4 → 0.5.3-beta.5
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/components/ai-cite.vue.d.ts +10 -0
- package/dist/components/ai-header.vue.d.ts +15 -0
- package/dist/components/ai-selected-box.vue.d.ts +11 -0
- package/dist/components/bar-button.vue.d.ts +11 -0
- package/dist/components/chat-input-box.vue.d.ts +20 -0
- package/dist/components/delete-confirm.vue.d.ts +8 -0
- package/dist/components/prompt-list.vue.d.ts +18 -0
- package/dist/components/render-message.vue.d.ts +26 -0
- package/dist/components/render-popup.vue.d.ts +12 -0
- package/dist/components/shortcuts-bar.vue.d.ts +10 -0
- package/dist/components/text-editor.vue.d.ts +26 -0
- package/dist/vue2/{flowchart-elk-definition-170a3958-DLn8YZ9s.mjs → flowchart-elk-definition-170a3958-CNYB1Jg3.mjs} +1 -1
- package/dist/vue2/index.es.min.js +1 -1
- package/dist/vue2/index.iife.min.js +153 -153
- package/dist/vue2/index.umd.min.js +162 -162
- package/dist/{vue3/is_dark-DwvsHNBX.mjs → vue2/is_dark-DVqvK2AQ.mjs} +1 -1
- package/dist/vue2/{mindmap-definition-44684416-DfOp6Sar.mjs → mindmap-definition-44684416-DV_bGL9D.mjs} +2 -2
- package/dist/vue2/style.css +1 -1
- package/dist/vue2/{timeline-definition-8e5a9bc6-B8O9RkiP.mjs → timeline-definition-8e5a9bc6-CdKYpyT3.mjs} +2 -2
- package/dist/vue2/{vue2-D6vElM1l.mjs → vue2-CcZAnq3l.mjs} +6708 -6708
- package/dist/vue3/{flowchart-elk-definition-170a3958-DIRX6bCq.mjs → flowchart-elk-definition-170a3958-W2aDuksh.mjs} +1 -1
- package/dist/vue3/index.es.min.js +1 -1
- package/dist/vue3/index.iife.min.js +4 -4
- package/dist/vue3/index.umd.min.js +101 -101
- package/dist/{vue2/is_dark-CNHZmNLy.mjs → vue3/is_dark-CddmfIxJ.mjs} +1 -1
- package/dist/vue3/{mindmap-definition-44684416-Xb9nqku8.mjs → mindmap-definition-44684416-B8eD3OUp.mjs} +2 -2
- package/dist/vue3/style.css +1 -1
- package/dist/vue3/{timeline-definition-8e5a9bc6-C-i1Wui3.mjs → timeline-definition-8e5a9bc6-DAfyDbj1.mjs} +2 -2
- package/dist/vue3/{vue3-DNwhmF-W.mjs → vue3-BARERM8i.mjs} +44 -44
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
text: string;
|
|
3
|
+
showCloseIcon?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
close: () => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onClose?: (() => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
isCompressionHeight: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
close: () => any;
|
|
7
|
+
toggleCompression: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClose?: (() => any) | undefined;
|
|
10
|
+
onToggleCompression?: (() => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
title: string;
|
|
13
|
+
isCompressionHeight: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ShortCut } from '@blueking/ai-ui-sdk';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
selectedText: string;
|
|
4
|
+
actions: ShortCut[];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
"shortcut-click": (shortcut: ShortCut) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onShortcut-click"?: ((shortcut: ShortCut) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
icon: string;
|
|
3
|
+
color?: string;
|
|
4
|
+
text: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
click: () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClick?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ShortCut } from '@blueking/ai-ui-sdk';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
shortcuts: ShortCut[];
|
|
4
|
+
loading: boolean;
|
|
5
|
+
prompts: string[];
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
send: (value: string) => void;
|
|
9
|
+
"update:modelValue": (value: string) => void;
|
|
10
|
+
stop: () => void;
|
|
11
|
+
"height-change": (height: number) => void;
|
|
12
|
+
"shortcut-click": (shortcut: ShortCut) => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onStop?: (() => any) | undefined;
|
|
15
|
+
"onShortcut-click"?: ((shortcut: ShortCut) => any) | undefined;
|
|
16
|
+
"onHeight-change"?: ((height: number) => any) | undefined;
|
|
17
|
+
onSend?: ((value: string) => any) | undefined;
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
onConfirm: () => void;
|
|
3
|
+
onCancel: () => void;
|
|
4
|
+
title?: string;
|
|
5
|
+
content?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: 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>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
prompts: string[];
|
|
3
|
+
show: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
6
|
+
handleArrowDown: () => void;
|
|
7
|
+
handleArrowUp: () => void;
|
|
8
|
+
handleEnter: () => boolean;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
select: (prompt: string) => any;
|
|
11
|
+
"height-change": (height: number) => any;
|
|
12
|
+
"update:show": (value: boolean) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onSelect?: ((prompt: string) => any) | undefined;
|
|
15
|
+
"onHeight-change"?: ((height: number) => any) | undefined;
|
|
16
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type ISessionContent } from '@blueking/ai-ui-sdk';
|
|
2
|
+
interface Props {
|
|
3
|
+
message: ISessionContent;
|
|
4
|
+
userPhoto?: string;
|
|
5
|
+
showTime?: boolean;
|
|
6
|
+
index: number;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
delete: (index: number) => any;
|
|
10
|
+
regenerate: (index: number) => any;
|
|
11
|
+
resend: (index: number, value: {
|
|
12
|
+
message: string;
|
|
13
|
+
cite: string;
|
|
14
|
+
}) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
16
|
+
onDelete?: ((index: number) => any) | undefined;
|
|
17
|
+
onRegenerate?: ((index: number) => any) | undefined;
|
|
18
|
+
onResend?: ((index: number, value: {
|
|
19
|
+
message: string;
|
|
20
|
+
cite: string;
|
|
21
|
+
}) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
userPhoto: string;
|
|
24
|
+
showTime: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ShortCut } from '@blueking/ai-ui-sdk';
|
|
2
|
+
interface IProps {
|
|
3
|
+
shortcuts: ShortCut[];
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<IProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
click: (...args: any[]) => void;
|
|
7
|
+
"shortcut-click": (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
9
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
"onShortcut-click"?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ShortCut } from '@blueking/ai-ui-sdk';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
shortcuts: ShortCut[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"shortcut-click": (args_0: ShortCut) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onShortcut-click"?: ((args_0: ShortCut) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
autoFocus?: boolean;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
8
|
+
focus: () => void;
|
|
9
|
+
clear: () => void;
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
submit: (value: string) => void;
|
|
12
|
+
"update:modelValue": (value: string) => void;
|
|
13
|
+
stop: () => void;
|
|
14
|
+
cancel: () => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onStop?: (() => any) | undefined;
|
|
17
|
+
onCancel?: (() => any) | undefined;
|
|
18
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
placeholder: string;
|
|
22
|
+
modelValue: string;
|
|
23
|
+
loading: boolean;
|
|
24
|
+
autoFocus: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as wMe, c as Hee, p as gMe, d as pMe, s as bI, l as K1, a as J1n, i as vMe, b as mMe, e as Y1n, f as kMe, h as yMe, j as Uee, k as jMe, m as Q1n, n as $H, o as EMe, q as CMe } from "./vue2-
|
|
1
|
+
import { g as wMe, c as Hee, p as gMe, d as pMe, s as bI, l as K1, a as J1n, i as vMe, b as mMe, e as Y1n, f as kMe, h as yMe, j as Uee, k as jMe, m as Q1n, n as $H, o as EMe, q as CMe } from "./vue2-CcZAnq3l.mjs";
|
|
2
2
|
import "dayjs";
|
|
3
3
|
import "dayjs/plugin/isoWeek.js";
|
|
4
4
|
import "dayjs/plugin/customParseFormat.js";
|