@meistrari/chat-nuxt 4.5.0-rc.6 → 4.5.0-rc.7
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/module.json +1 -1
- package/dist/runtime/embed/components/chat-embed.vue +1 -0
- package/dist/runtime/embed/components/meistrari-chat-embed.vue +2 -1
- package/dist/runtime/embed/components/mobile/chat-mobile-shell.d.vue.ts +2 -2
- package/dist/runtime/embed/components/mobile/chat-mobile-shell.vue.d.ts +2 -2
- package/dist/runtime/embed/types.d.ts +6 -0
- package/package.json +2 -2
package/dist/module.json
CHANGED
|
@@ -44,6 +44,7 @@ const props = defineProps({
|
|
|
44
44
|
variant: { type: String, required: false },
|
|
45
45
|
defaultOpen: { type: Boolean, required: false },
|
|
46
46
|
closeOnOutsideClick: { type: Boolean, required: false },
|
|
47
|
+
keepMounted: { type: Boolean, required: false },
|
|
47
48
|
launcherLabel: { type: String, required: false }
|
|
48
49
|
});
|
|
49
50
|
const emit = defineEmits(["update:conversationId", "update:conversationTitle", "update:conversationCreatorFilter", "action", "messageFeedback", "messageTerminal"]);
|
|
@@ -36,6 +36,7 @@ const { hideSidebar = void 0, syncBrowserState = true, closeOnOutsideClick = tru
|
|
|
36
36
|
variant: { type: String, required: false },
|
|
37
37
|
defaultOpen: { type: Boolean, required: false },
|
|
38
38
|
closeOnOutsideClick: { type: Boolean, required: false },
|
|
39
|
+
keepMounted: { type: Boolean, required: false },
|
|
39
40
|
launcherLabel: { type: String, required: false }
|
|
40
41
|
});
|
|
41
42
|
const emit = defineEmits(["update:conversationId", "update:conversationCreatorFilter", "update:open", "action", "messageFeedback", "messageTerminal"]);
|
|
@@ -131,7 +132,7 @@ const widgetEmbedProps = computed(() => ({
|
|
|
131
132
|
|
|
132
133
|
<ClientOnly v-else>
|
|
133
134
|
<!-- Floating: popover anchored to the launcher pill -->
|
|
134
|
-
<TelaChatFloatingWindow v-if="variant === 'floating'" :open="isOpen" :close-on-outside-click="closeOnOutsideClick" @update:open="setOpen">
|
|
135
|
+
<TelaChatFloatingWindow v-if="variant === 'floating'" :open="isOpen" :close-on-outside-click="closeOnOutsideClick" :keep-mounted="props.keepMounted" @update:open="setOpen">
|
|
135
136
|
<template #launcher>
|
|
136
137
|
<TelaChatFloatingWindowTrigger :open="isOpen" :label="props.launcherLabel" />
|
|
137
138
|
</template>
|
|
@@ -67,8 +67,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
67
67
|
copyLink: () => any;
|
|
68
68
|
debug: () => any;
|
|
69
69
|
selectConversation: (id: string) => any;
|
|
70
|
-
settings: () => any;
|
|
71
70
|
send: (content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any;
|
|
71
|
+
settings: () => any;
|
|
72
72
|
tabChange: (tab: TopbarTab) => any;
|
|
73
73
|
newConversation: (groupId?: string | null | undefined) => any;
|
|
74
74
|
switchWorkspace: () => any;
|
|
@@ -88,8 +88,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
88
88
|
onCopyLink?: (() => any) | undefined;
|
|
89
89
|
onDebug?: (() => any) | undefined;
|
|
90
90
|
onSelectConversation?: ((id: string) => any) | undefined;
|
|
91
|
-
onSettings?: (() => any) | undefined;
|
|
92
91
|
onSend?: ((content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any) | undefined;
|
|
92
|
+
onSettings?: (() => any) | undefined;
|
|
93
93
|
"onUpdate:selectedModel"?: ((value: string | null) => any) | undefined;
|
|
94
94
|
"onUpdate:selectedReasoningEffort"?: ((value: any) => any) | undefined;
|
|
95
95
|
onTabChange?: ((tab: TopbarTab) => any) | undefined;
|
|
@@ -67,8 +67,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
67
67
|
copyLink: () => any;
|
|
68
68
|
debug: () => any;
|
|
69
69
|
selectConversation: (id: string) => any;
|
|
70
|
-
settings: () => any;
|
|
71
70
|
send: (content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any;
|
|
71
|
+
settings: () => any;
|
|
72
72
|
tabChange: (tab: TopbarTab) => any;
|
|
73
73
|
newConversation: (groupId?: string | null | undefined) => any;
|
|
74
74
|
switchWorkspace: () => any;
|
|
@@ -88,8 +88,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
88
88
|
onCopyLink?: (() => any) | undefined;
|
|
89
89
|
onDebug?: (() => any) | undefined;
|
|
90
90
|
onSelectConversation?: ((id: string) => any) | undefined;
|
|
91
|
-
onSettings?: (() => any) | undefined;
|
|
92
91
|
onSend?: ((content: string, files: FileUploadInput[], agentInputs?: TelaAgentExecutionInput[] | undefined) => any) | undefined;
|
|
92
|
+
onSettings?: (() => any) | undefined;
|
|
93
93
|
"onUpdate:selectedModel"?: ((value: string | null) => any) | undefined;
|
|
94
94
|
"onUpdate:selectedReasoningEffort"?: ((value: any) => any) | undefined;
|
|
95
95
|
onTabChange?: ((tab: TopbarTab) => any) | undefined;
|
|
@@ -193,6 +193,12 @@ export type ChatEmbedVariantProps = {
|
|
|
193
193
|
defaultOpen?: boolean;
|
|
194
194
|
/** Floating variant only: close on outside clicks. Defaults to true. */
|
|
195
195
|
closeOnOutsideClick?: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Floating variant only: after the first open, hide the window on close instead of
|
|
198
|
+
* unmounting it, so message polling and `messageTerminal` events keep flowing while
|
|
199
|
+
* it is closed. Defaults to false.
|
|
200
|
+
*/
|
|
201
|
+
keepMounted?: boolean;
|
|
196
202
|
/** Floating variant only: label of the launcher pill. Defaults to `'Ask Tela'`. */
|
|
197
203
|
launcherLabel?: string;
|
|
198
204
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meistrari/chat-nuxt",
|
|
3
|
-
"version": "4.5.0-rc.
|
|
3
|
+
"version": "4.5.0-rc.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@iconify/vue": "^5.0.0",
|
|
54
54
|
"@meistrari/auth-nuxt": "3.31.0",
|
|
55
55
|
"@meistrari/logger": "^2.1.3",
|
|
56
|
-
"@meistrari/tela-build": "^1.
|
|
56
|
+
"@meistrari/tela-build": "^1.76.0",
|
|
57
57
|
"@sentry/nuxt": "^10.0.0",
|
|
58
58
|
"@vueuse/components": "^12.8.0",
|
|
59
59
|
"@vueuse/core": "^12.8.0",
|