@n8n/chat 1.38.2 → 1.39.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.
Files changed (99) hide show
  1. package/dist/App.vue.d.ts +3 -0
  2. package/dist/{src/api → api}/message.d.ts +1 -1
  3. package/dist/chat.bundle.es.js +11261 -11250
  4. package/dist/chat.bundle.umd.js +68 -68
  5. package/dist/chat.es.js +14695 -14684
  6. package/dist/chat.umd.js +79 -79
  7. package/dist/{chunk-CzJRh2MK.mjs → chunk-CfuSfYee.mjs} +1 -1
  8. package/dist/components/Button.vue.d.ts +22 -0
  9. package/dist/components/Chat.vue.d.ts +3 -0
  10. package/dist/{src/components → components}/ChatFile.vue.d.ts +3 -2
  11. package/dist/components/ChatWindow.vue.d.ts +3 -0
  12. package/dist/components/GetStarted.vue.d.ts +3 -0
  13. package/dist/components/GetStartedFooter.vue.d.ts +3 -0
  14. package/dist/components/Input.vue.d.ts +26 -0
  15. package/dist/components/Layout.vue.d.ts +17 -0
  16. package/dist/components/MarkdownRenderer.vue.d.ts +6 -0
  17. package/dist/components/Message.vue.d.ts +23 -0
  18. package/dist/components/MessageActions.vue.d.ts +7 -0
  19. package/dist/components/MessageTyping.vue.d.ts +8 -0
  20. package/dist/components/MessageWithButtons.vue.d.ts +11 -0
  21. package/dist/components/MessagesList.vue.d.ts +19 -0
  22. package/dist/components/PoweredBy.vue.d.ts +3 -0
  23. package/dist/{src/composables → composables}/useChat.d.ts +1 -1
  24. package/dist/{src/composables → composables}/useOptions.d.ts +1 -1
  25. package/dist/{src/constants → constants}/defaults.d.ts +1 -1
  26. package/dist/{src/constants → constants}/symbols.d.ts +1 -1
  27. package/dist/{emojiData-zOxnhmb7-C97kuCPz.mjs → emojiData-zOxnhmb7-BiMnajJ0.mjs} +1 -1
  28. package/dist/{emojiData-zOxnhmb7-ChqWj722.mjs → emojiData-zOxnhmb7-Cva46NKj.mjs} +1 -1
  29. package/dist/{en-Ubc0tWnj-BbtrgScn.mjs → en-BQBg3T3M-B_V6rxAT.mjs} +9 -1
  30. package/dist/{en-Ubc0tWnj-Ccd43kzZ.mjs → en-BQBg3T3M-MgWgDoNZ.mjs} +10 -2
  31. package/dist/event-buses/chatEventBus.d.ts +1 -0
  32. package/dist/{src/index.d.ts → index.d.ts} +1 -1
  33. package/dist/{lucideIconData-CKJ1do82-fJdcWW0C.mjs → lucideIconData-CKJ1do82-jhj1Rcg3.mjs} +1 -1
  34. package/dist/{lucideIconData-CKJ1do82-C5whF1bB.mjs → lucideIconData-CKJ1do82-tA2ErCVE.mjs} +1 -1
  35. package/dist/{node-icons-CaKBLFvs-Bd9TKLMg.mjs → node-icons-CaKBLFvs-39eD8B9H.mjs} +1 -1
  36. package/dist/{node-icons-CaKBLFvs-lzoTKC8T.mjs → node-icons-CaKBLFvs-DAsjpdTv.mjs} +2 -2
  37. package/dist/{src/plugins → plugins}/chat.d.ts +1 -1
  38. package/dist/style.css +1 -1
  39. package/dist/{src/types → types}/chat.d.ts +2 -2
  40. package/dist/{src/utils → utils}/credentialStatus.d.ts +1 -1
  41. package/dist/{src/utils → utils}/streaming.d.ts +1 -1
  42. package/dist/{src/utils → utils}/streamingHandlers.d.ts +1 -1
  43. package/dist/{vue.runtime.esm-bundler-C69TZWHJ.mjs → vue.runtime.esm-bundler-DGbwaopa.mjs} +2 -2
  44. package/package.json +5 -2
  45. package/dist/src/App.vue.d.ts +0 -2
  46. package/dist/src/__stories__/App.stories.d.ts +0 -18
  47. package/dist/src/__tests__/Chat.spec.d.ts +0 -1
  48. package/dist/src/__tests__/Input.spec.d.ts +0 -1
  49. package/dist/src/__tests__/MessageActions.spec.d.ts +0 -1
  50. package/dist/src/__tests__/MessageWithButtons.spec.d.ts +0 -1
  51. package/dist/src/__tests__/api/generic.spec.d.ts +0 -1
  52. package/dist/src/__tests__/api/message.spec.d.ts +0 -1
  53. package/dist/src/__tests__/index.spec.d.ts +0 -1
  54. package/dist/src/__tests__/plugins/chat.spec.d.ts +0 -1
  55. package/dist/src/__tests__/plugins/chat.test.d.ts +0 -1
  56. package/dist/src/__tests__/setup.d.ts +0 -0
  57. package/dist/src/__tests__/utils/create.d.ts +0 -5
  58. package/dist/src/__tests__/utils/credentialStatus.spec.d.ts +0 -1
  59. package/dist/src/__tests__/utils/fetch.d.ts +0 -13
  60. package/dist/src/__tests__/utils/index.d.ts +0 -3
  61. package/dist/src/__tests__/utils/selectors.d.ts +0 -12
  62. package/dist/src/__tests__/utils/streaming.spec.d.ts +0 -1
  63. package/dist/src/__tests__/utils/streamingHandlers.spec.d.ts +0 -1
  64. package/dist/src/__tests__/utils/utils.spec.d.ts +0 -1
  65. package/dist/src/components/Button.vue.d.ts +0 -26
  66. package/dist/src/components/Chat.vue.d.ts +0 -2
  67. package/dist/src/components/ChatWindow.vue.d.ts +0 -2
  68. package/dist/src/components/GetStarted.vue.d.ts +0 -2
  69. package/dist/src/components/GetStartedFooter.vue.d.ts +0 -2
  70. package/dist/src/components/Input.vue.d.ts +0 -34
  71. package/dist/src/components/Layout.vue.d.ts +0 -23
  72. package/dist/src/components/MarkdownRenderer.vue.d.ts +0 -5
  73. package/dist/src/components/Message.vue.d.ts +0 -39
  74. package/dist/src/components/MessageActions.vue.d.ts +0 -6
  75. package/dist/src/components/MessageTyping.vue.d.ts +0 -76
  76. package/dist/src/components/MessageWithButtons.vue.d.ts +0 -10
  77. package/dist/src/components/MessagesList.vue.d.ts +0 -164
  78. package/dist/src/components/PoweredBy.vue.d.ts +0 -2
  79. package/dist/src/event-buses/chatEventBus.d.ts +0 -1
  80. /package/dist/{src/api → api}/generic.d.ts +0 -0
  81. /package/dist/{src/api → api}/index.d.ts +0 -0
  82. /package/dist/{src/components → components}/index.d.ts +0 -0
  83. /package/dist/{src/composables → composables}/index.d.ts +0 -0
  84. /package/dist/{src/composables → composables}/useI18n.d.ts +0 -0
  85. /package/dist/{src/constants → constants}/index.d.ts +0 -0
  86. /package/dist/{src/constants → constants}/localStorage.d.ts +0 -0
  87. /package/dist/{src/constants → constants}/messageComponents.d.ts +0 -0
  88. /package/dist/{src/event-buses → event-buses}/index.d.ts +0 -0
  89. /package/dist/{src/plugins → plugins}/index.d.ts +0 -0
  90. /package/dist/{src/types → types}/credentialStatus.d.ts +0 -0
  91. /package/dist/{src/types → types}/index.d.ts +0 -0
  92. /package/dist/{src/types → types}/messages.d.ts +0 -0
  93. /package/dist/{src/types → types}/options.d.ts +0 -0
  94. /package/dist/{src/types → types}/streaming.d.ts +0 -0
  95. /package/dist/{src/types → types}/webhook.d.ts +0 -0
  96. /package/dist/{src/utils → utils}/event-bus.d.ts +0 -0
  97. /package/dist/{src/utils → utils}/index.d.ts +0 -0
  98. /package/dist/{src/utils → utils}/mount.d.ts +0 -0
  99. /package/dist/{src/utils → utils}/utils.d.ts +0 -0
@@ -1,12 +0,0 @@
1
- export declare function getMountingTarget(target?: string): Element | null;
2
- export declare function getChatWindowWrapper(): Element | null;
3
- export declare function getChatWindowToggle(): Element | null;
4
- export declare function getChatWrapper(): Element | null;
5
- export declare function getChatMessages(): NodeListOf<Element>;
6
- export declare function getChatMessage(index: number): Element;
7
- export declare function getChatMessageByText(text: string): HTMLElement | null;
8
- export declare function getChatMessageTyping(): Element | null;
9
- export declare function getGetStartedButton(): Element | null;
10
- export declare function getChatInput(): Element | null;
11
- export declare function getChatInputTextarea(): Element | null;
12
- export declare function getChatInputSendButton(): Element | null;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,26 +0,0 @@
1
- type __VLS_Props = {
2
- type?: 'primary' | 'secondary';
3
- element?: 'button' | 'a';
4
- disabled?: boolean;
5
- };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: any;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
- type: "primary" | "secondary";
17
- element: "button" | "a";
18
- disabled: boolean;
19
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
- export default _default;
22
- type __VLS_WithTemplateSlots<T, S> = T & {
23
- new (): {
24
- $slots: S;
25
- };
26
- };
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1,34 +0,0 @@
1
- export interface ChatInputProps {
2
- placeholder?: string;
3
- }
4
- export interface ArrowKeyDownPayload {
5
- key: 'ArrowUp' | 'ArrowDown';
6
- currentInputValue: string;
7
- }
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- leftPanel?(_: {}): any;
12
- };
13
- refs: {
14
- chatTextArea: HTMLTextAreaElement;
15
- };
16
- rootEl: HTMLDivElement;
17
- };
18
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import('vue').DefineComponent<ChatInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- arrowKeyDown: (value: ArrowKeyDownPayload) => any;
21
- }, string, import('vue').PublicProps, Readonly<ChatInputProps> & Readonly<{
22
- onArrowKeyDown?: ((value: ArrowKeyDownPayload) => any) | undefined;
23
- }>, {
24
- placeholder: string;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
26
- chatTextArea: HTMLTextAreaElement;
27
- }, HTMLDivElement>;
28
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
- export default _default;
30
- type __VLS_WithTemplateSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
@@ -1,23 +0,0 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- header?(_: {}): any;
5
- default?(_: {}): any;
6
- footer?(_: {}): any;
7
- };
8
- refs: {
9
- chatBodyRef: HTMLDivElement;
10
- };
11
- rootEl: HTMLElement;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
15
- chatBodyRef: HTMLDivElement;
16
- }, HTMLElement>;
17
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
- export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };
@@ -1,5 +0,0 @@
1
- type __VLS_Props = {
2
- text: string;
3
- };
4
- 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>;
5
- export default _default;
@@ -1,39 +0,0 @@
1
- import { ChatMessage } from '../../types';
2
- type __VLS_Props = {
3
- message: ChatMessage;
4
- };
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: Readonly<{
8
- beforeMessage(props: {
9
- message: ChatMessage;
10
- }): ChatMessage;
11
- default: {
12
- message: ChatMessage;
13
- };
14
- }> & {
15
- beforeMessage(props: {
16
- message: ChatMessage;
17
- }): ChatMessage;
18
- default: {
19
- message: ChatMessage;
20
- };
21
- };
22
- refs: {
23
- messageContainer: HTMLDivElement;
24
- };
25
- rootEl: HTMLDivElement;
26
- };
27
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
28
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
29
- scrollToView: () => void;
30
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
- messageContainer: HTMLDivElement;
32
- }, HTMLDivElement>;
33
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
- export default _default;
35
- type __VLS_WithTemplateSlots<T, S> = T & {
36
- new (): {
37
- $slots: S;
38
- };
39
- };
@@ -1,6 +0,0 @@
1
- import { ChatMessage } from '../../types';
2
- type __VLS_Props = {
3
- message: ChatMessage;
4
- };
5
- 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>;
6
- export default _default;
@@ -1,76 +0,0 @@
1
- import { ChatMessage } from '../../types';
2
- type __VLS_Props = {
3
- animation?: 'bouncing' | 'scaling';
4
- };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
- animation: "bouncing" | "scaling";
7
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
8
- messageContainer: ({
9
- $: import('vue').ComponentInternalInstance;
10
- $data: {};
11
- $props: {
12
- readonly message: ChatMessage;
13
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
14
- $attrs: {
15
- [x: string]: unknown;
16
- };
17
- $refs: {
18
- [x: string]: unknown;
19
- } & {
20
- messageContainer: HTMLDivElement;
21
- };
22
- $slots: Readonly<{
23
- [name: string]: import('vue').Slot<any> | undefined;
24
- }>;
25
- $root: import('vue').ComponentPublicInstance | null;
26
- $parent: import('vue').ComponentPublicInstance | null;
27
- $host: Element | null;
28
- $emit: (event: string, ...args: any[]) => void;
29
- $el: HTMLDivElement;
30
- $options: import('vue').ComponentOptionsBase<Readonly<{
31
- message: ChatMessage;
32
- }> & Readonly<{}>, {
33
- scrollToView: () => void;
34
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
35
- beforeCreate?: (() => void) | (() => void)[];
36
- created?: (() => void) | (() => void)[];
37
- beforeMount?: (() => void) | (() => void)[];
38
- mounted?: (() => void) | (() => void)[];
39
- beforeUpdate?: (() => void) | (() => void)[];
40
- updated?: (() => void) | (() => void)[];
41
- activated?: (() => void) | (() => void)[];
42
- deactivated?: (() => void) | (() => void)[];
43
- beforeDestroy?: (() => void) | (() => void)[];
44
- beforeUnmount?: (() => void) | (() => void)[];
45
- destroyed?: (() => void) | (() => void)[];
46
- unmounted?: (() => void) | (() => void)[];
47
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
48
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
49
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
50
- };
51
- $forceUpdate: () => void;
52
- $nextTick: typeof import('vue').nextTick;
53
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
54
- } & Readonly<{}> & Omit<Readonly<{
55
- message: ChatMessage;
56
- }> & Readonly<{}>, "scrollToView"> & import('vue').ShallowUnwrapRef<{
57
- scrollToView: () => void;
58
- }> & {} & import('vue').ComponentCustomProperties & {} & {
59
- $slots: Readonly<{
60
- beforeMessage(props: {
61
- message: ChatMessage;
62
- }): ChatMessage;
63
- default: {
64
- message: ChatMessage;
65
- };
66
- }> & {
67
- beforeMessage(props: {
68
- message: ChatMessage;
69
- }): ChatMessage;
70
- default: {
71
- message: ChatMessage;
72
- };
73
- };
74
- }) | null;
75
- }, HTMLDivElement>;
76
- export default _default;
@@ -1,10 +0,0 @@
1
- type __VLS_Props = {
2
- text: string;
3
- buttons: Array<{
4
- text: string;
5
- link: string;
6
- type: 'primary' | 'secondary';
7
- }>;
8
- };
9
- 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, {}, HTMLDivElement>;
10
- export default _default;
@@ -1,164 +0,0 @@
1
- import { ChatMessage } from '../../types';
2
- type __VLS_Props = {
3
- messages: ChatMessage[];
4
- emptyText?: string;
5
- };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: Readonly<{
9
- beforeMessage(props: {
10
- message: ChatMessage;
11
- }): ChatMessage;
12
- }> & {
13
- beforeMessage(props: {
14
- message: ChatMessage;
15
- }): ChatMessage;
16
- };
17
- refs: {
18
- messageComponents: (({
19
- $: import('vue').ComponentInternalInstance;
20
- $data: {};
21
- $props: {
22
- readonly message: ChatMessage;
23
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
24
- $attrs: {
25
- [x: string]: unknown;
26
- };
27
- $refs: {
28
- [x: string]: unknown;
29
- } & {
30
- messageContainer: HTMLDivElement;
31
- };
32
- $slots: Readonly<{
33
- [name: string]: import('vue').Slot<any> | undefined;
34
- }>;
35
- $root: import('vue').ComponentPublicInstance | null;
36
- $parent: import('vue').ComponentPublicInstance | null;
37
- $host: Element | null;
38
- $emit: (event: string, ...args: any[]) => void;
39
- $el: HTMLDivElement;
40
- $options: import('vue').ComponentOptionsBase<Readonly<{
41
- message: ChatMessage;
42
- }> & Readonly<{}>, {
43
- scrollToView: () => void;
44
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
45
- beforeCreate?: (() => void) | (() => void)[];
46
- created?: (() => void) | (() => void)[];
47
- beforeMount?: (() => void) | (() => void)[];
48
- mounted?: (() => void) | (() => void)[];
49
- beforeUpdate?: (() => void) | (() => void)[];
50
- updated?: (() => void) | (() => void)[];
51
- activated?: (() => void) | (() => void)[];
52
- deactivated?: (() => void) | (() => void)[];
53
- beforeDestroy?: (() => void) | (() => void)[];
54
- beforeUnmount?: (() => void) | (() => void)[];
55
- destroyed?: (() => void) | (() => void)[];
56
- unmounted?: (() => void) | (() => void)[];
57
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
58
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
59
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
60
- };
61
- $forceUpdate: () => void;
62
- $nextTick: typeof import('vue').nextTick;
63
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
64
- } & Readonly<{}> & Omit<Readonly<{
65
- message: ChatMessage;
66
- }> & Readonly<{}>, "scrollToView"> & import('vue').ShallowUnwrapRef<{
67
- scrollToView: () => void;
68
- }> & {} & import('vue').ComponentCustomProperties & {} & {
69
- $slots: Readonly<{
70
- beforeMessage(props: {
71
- message: ChatMessage;
72
- }): ChatMessage;
73
- default: {
74
- message: ChatMessage;
75
- };
76
- }> & {
77
- beforeMessage(props: {
78
- message: ChatMessage;
79
- }): ChatMessage;
80
- default: {
81
- message: ChatMessage;
82
- };
83
- };
84
- }) | null)[];
85
- };
86
- rootEl: any;
87
- };
88
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
89
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
90
- messageComponents: (({
91
- $: import('vue').ComponentInternalInstance;
92
- $data: {};
93
- $props: {
94
- readonly message: ChatMessage;
95
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
96
- $attrs: {
97
- [x: string]: unknown;
98
- };
99
- $refs: {
100
- [x: string]: unknown;
101
- } & {
102
- messageContainer: HTMLDivElement;
103
- };
104
- $slots: Readonly<{
105
- [name: string]: import('vue').Slot<any> | undefined;
106
- }>;
107
- $root: import('vue').ComponentPublicInstance | null;
108
- $parent: import('vue').ComponentPublicInstance | null;
109
- $host: Element | null;
110
- $emit: (event: string, ...args: any[]) => void;
111
- $el: HTMLDivElement;
112
- $options: import('vue').ComponentOptionsBase<Readonly<{
113
- message: ChatMessage;
114
- }> & Readonly<{}>, {
115
- scrollToView: () => void;
116
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
117
- beforeCreate?: (() => void) | (() => void)[];
118
- created?: (() => void) | (() => void)[];
119
- beforeMount?: (() => void) | (() => void)[];
120
- mounted?: (() => void) | (() => void)[];
121
- beforeUpdate?: (() => void) | (() => void)[];
122
- updated?: (() => void) | (() => void)[];
123
- activated?: (() => void) | (() => void)[];
124
- deactivated?: (() => void) | (() => void)[];
125
- beforeDestroy?: (() => void) | (() => void)[];
126
- beforeUnmount?: (() => void) | (() => void)[];
127
- destroyed?: (() => void) | (() => void)[];
128
- unmounted?: (() => void) | (() => void)[];
129
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
130
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
131
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
132
- };
133
- $forceUpdate: () => void;
134
- $nextTick: typeof import('vue').nextTick;
135
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
136
- } & Readonly<{}> & Omit<Readonly<{
137
- message: ChatMessage;
138
- }> & Readonly<{}>, "scrollToView"> & import('vue').ShallowUnwrapRef<{
139
- scrollToView: () => void;
140
- }> & {} & import('vue').ComponentCustomProperties & {} & {
141
- $slots: Readonly<{
142
- beforeMessage(props: {
143
- message: ChatMessage;
144
- }): ChatMessage;
145
- default: {
146
- message: ChatMessage;
147
- };
148
- }> & {
149
- beforeMessage(props: {
150
- message: ChatMessage;
151
- }): ChatMessage;
152
- default: {
153
- message: ChatMessage;
154
- };
155
- };
156
- }) | null)[];
157
- }, any>;
158
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
159
- export default _default;
160
- type __VLS_WithTemplateSlots<T, S> = T & {
161
- new (): {
162
- $slots: S;
163
- };
164
- };
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1 +0,0 @@
1
- export declare const chatEventBus: import('../../utils').EventBus;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes