langgraph-vue3-chatbot 0.1.19 → 0.1.21
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-lib/components/ai-bot/AskAiBot.vue.d.ts +3 -0
- package/dist-lib/components/ai-bot/AskAiBot.vue.d.ts.map +1 -1
- package/dist-lib/components/ai-bot/ChatBot.vue.d.ts +3 -0
- package/dist-lib/components/ai-bot/ChatBot.vue.d.ts.map +1 -1
- package/dist-lib/components/ai-bot/ChatMessages.vue.d.ts +3 -0
- package/dist-lib/components/ai-bot/ChatMessages.vue.d.ts.map +1 -1
- package/dist-lib/components/ai-bot/ai-elements/conversation/Conversation.vue.d.ts.map +1 -1
- package/dist-lib/components/ai-bot/ai-elements/message/MessageResponse.vue.d.ts +5 -1
- package/dist-lib/components/ai-bot/ai-elements/message/MessageResponse.vue.d.ts.map +1 -1
- package/dist-lib/components/ai-bot/chatbot.css +1 -1
- package/dist-lib/components/ai-bot/index.d.ts +2 -1
- package/dist-lib/components/ai-bot/index.d.ts.map +1 -1
- package/dist-lib/components/ai-bot/lib/theme.d.ts +2 -0
- package/dist-lib/components/ai-bot/lib/theme.d.ts.map +1 -0
- package/dist-lib/components/ai-bot/ui/scroll-area/ScrollBar.vue.d.ts.map +1 -1
- package/dist-lib/index.d.ts +1 -1
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +584 -569
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AttachmentTriggerSlotProps } from './lib/input-types';
|
|
2
2
|
import type { ChatFile, CustomContent } from './lib/message-types';
|
|
3
|
+
import type { AiBotTheme } from './lib/theme';
|
|
3
4
|
interface Props {
|
|
4
5
|
assistantId?: string;
|
|
5
6
|
assistantName?: string;
|
|
@@ -12,6 +13,7 @@ interface Props {
|
|
|
12
13
|
apiKey?: string;
|
|
13
14
|
width?: number | string;
|
|
14
15
|
height?: number | string;
|
|
16
|
+
theme?: AiBotTheme;
|
|
15
17
|
}
|
|
16
18
|
type __VLS_Slots = {
|
|
17
19
|
empty?: (props: {
|
|
@@ -26,6 +28,7 @@ type __VLS_Slots = {
|
|
|
26
28
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
27
29
|
height: number | string;
|
|
28
30
|
width: number | string;
|
|
31
|
+
theme: AiBotTheme;
|
|
29
32
|
suggestions: string[];
|
|
30
33
|
apiUrl: string;
|
|
31
34
|
assistantId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AskAiBot.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ai-bot/AskAiBot.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AskAiBot.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ai-bot/AskAiBot.vue"],"names":[],"mappings":"AA6LA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAI7C,UAAU,KAAK;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,KAAK,CAAC,EAAE,UAAU,CAAA;CACnB;AAiBD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,KAAK,IAAI,CAAA;KAAE,KAAK,GAAG,CAAA;IACtF,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,aAAa,EAAE,aAAa,CAAC;QAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,KAAK,GAAG,CAAA;IAClF,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,KAAK,GAAG,CAAA;CAClE,CAAC;AAiNF,QAAA,MAAM,eAAe;YAxOV,MAAM,GAAG,MAAM;WADhB,MAAM,GAAG,MAAM;WAEf,UAAU;iBALJ,MAAM,EAAE;YACb,MAAM;iBAPD,MAAM;mBACJ,MAAM;kBAEP,MAAM;YAEZ,MAAM;YAGN,MAAM;qBANG,OAAO;4EAuPzB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AttachmentTriggerSlotProps } from './lib/input-types';
|
|
2
2
|
import type { ChatFile, CustomContent } from './lib/message-types';
|
|
3
|
+
import type { AiBotTheme } from './lib/theme';
|
|
3
4
|
interface Props {
|
|
4
5
|
assistantId?: string;
|
|
5
6
|
assistantName?: string;
|
|
@@ -10,6 +11,7 @@ interface Props {
|
|
|
10
11
|
suggestions?: string[];
|
|
11
12
|
apiUrl?: string;
|
|
12
13
|
apiKey?: string;
|
|
14
|
+
theme?: AiBotTheme;
|
|
13
15
|
}
|
|
14
16
|
type __VLS_Slots = {
|
|
15
17
|
empty?: (props: {
|
|
@@ -29,6 +31,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
29
31
|
"onUpdate:isMaximized"?: (value: boolean) => any;
|
|
30
32
|
}>, {
|
|
31
33
|
showHeaderActions: boolean;
|
|
34
|
+
theme: AiBotTheme;
|
|
32
35
|
suggestions: string[];
|
|
33
36
|
apiUrl: string;
|
|
34
37
|
assistantId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatBot.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ai-bot/ChatBot.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatBot.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ai-bot/ChatBot.vue"],"names":[],"mappings":"AA84BA,OAAO,KAAK,EAAE,0BAA0B,EAAsB,MAAM,mBAAmB,CAAA;AACvF,OAAO,KAAK,EAA2B,QAAQ,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC3F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAc7C,UAAU,KAAK;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,UAAU,CAAA;CACnB;AAeD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,QAAQ,EAAE,KAAK,IAAI,CAAA;KAAE,KAAK,GAAG,CAAA;IACtF,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,aAAa,EAAE,aAAa,CAAC;QAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,KAAK,GAAG,CAAA;IAClF,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,KAAK,GAAG,CAAA;CAClE,CAAC;AA08BF,QAAA,MAAM,eAAe;;;;;;;uBAl+BC,OAAO;WAInB,UAAU;iBAHJ,MAAM,EAAE;YACb,MAAM;iBAPD,MAAM;mBACJ,MAAM;kBACP,MAAM;YAEZ,MAAM;YAIN,MAAM;4EAu+Bf,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { ChatMessage, CustomContent } from './lib/message-types';
|
|
2
|
+
import type { AiBotTheme } from './lib/theme';
|
|
2
3
|
import 'markstream-vue/index.css';
|
|
3
4
|
interface Props {
|
|
4
5
|
messages: ChatMessage[];
|
|
5
6
|
isStreaming?: boolean;
|
|
7
|
+
theme?: AiBotTheme;
|
|
6
8
|
}
|
|
7
9
|
declare var __VLS_21: {
|
|
8
10
|
customContent: CustomContent;
|
|
@@ -11,6 +13,7 @@ type __VLS_Slots = {} & {
|
|
|
11
13
|
custom?: (props: typeof __VLS_21) => any;
|
|
12
14
|
};
|
|
13
15
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
|
+
theme: AiBotTheme;
|
|
14
17
|
isStreaming: boolean;
|
|
15
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
19
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMessages.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ai-bot/ChatMessages.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatMessages.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ai-bot/ChatMessages.vue"],"names":[],"mappings":"AA0IA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAY7C,OAAO,0BAA0B,CAAA;AAEjC,UAAU,KAAK;IACb,QAAQ,EAAE,WAAW,EAAE,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,UAAU,CAAA;CACnB;AAyLD,QAAA,IAAI,QAAQ;;CAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA6B/C,QAAA,MAAM,eAAe;WAzNX,UAAU;iBADJ,OAAO;6EAiOrB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Conversation.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ai-bot/ai-elements/conversation/Conversation.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Conversation.vue.d.ts","sourceRoot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} from 'vue';
|
|
2
|
+
import type { AiBotTheme } from '@/components/ai-bot/lib/theme';
|
|
2
3
|
import 'markstream-vue/index.css';
|
|
3
4
|
interface Props {
|
|
4
5
|
content?: string;
|
|
5
6
|
class?: HTMLAttributes['class'];
|
|
7
|
+
theme?: AiBotTheme;
|
|
6
8
|
}
|
|
7
|
-
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
10
|
+
theme: AiBotTheme;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
12
|
export default _default;
|
|
9
13
|
//# sourceMappingURL=MessageResponse.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageResponse.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ai-bot/ai-elements/message/MessageResponse.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageResponse.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ai-bot/ai-elements/message/MessageResponse.vue"],"names":[],"mappings":"AAuDA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AACzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAI/D,OAAO,0BAA0B,CAAA;AAEjC,UAAU,KAAK;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAC/B,KAAK,CAAC,EAAE,UAAU,CAAA;CACnB;;WADS,UAAU;;AA6FpB,wBAOG"}
|