@meistrari/chat-nuxt 3.15.0 → 3.15.1-rc.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.
package/dist/module.json
CHANGED
|
@@ -39,7 +39,7 @@ import { useWorkspaceSwitchModal } from "../../workspace/composables/workspace-s
|
|
|
39
39
|
const props = defineProps({
|
|
40
40
|
conversationId: { type: [String, null], required: false },
|
|
41
41
|
initialConversationId: { type: [String, null], required: false, default: null },
|
|
42
|
-
hideSidebar: { type: Boolean, required: false, default:
|
|
42
|
+
hideSidebar: { type: Boolean, required: false, default: false },
|
|
43
43
|
sidebar: { type: Object, required: false },
|
|
44
44
|
hideSettings: { type: Boolean, required: false, default: false },
|
|
45
45
|
compact: { type: Boolean, required: false, default: false },
|
|
@@ -48,7 +48,7 @@ export function provideEmbedConfig(input, options = {}) {
|
|
|
48
48
|
conversationCreatorFilter: computed(() => toValue(input.conversationCreatorFilter)),
|
|
49
49
|
telaAgentInputs: computed(() => toValue(input.telaAgentInputs)),
|
|
50
50
|
workspaceSettings: computed(() => toValue(input.workspaceSettings)),
|
|
51
|
-
hideSidebar: computed(() => toValue(input.hideSidebar) ??
|
|
51
|
+
hideSidebar: computed(() => toValue(input.hideSidebar) ?? false),
|
|
52
52
|
hideConversationCreatorFilter: computed(() => toValue(input.hideConversationCreatorFilter) ?? false),
|
|
53
53
|
hideSettings: computed(() => toValue(input.hideSettings) ?? false),
|
|
54
54
|
loadingMessages: computed(() => toValue(input.loadingMessages)),
|
|
@@ -101,7 +101,7 @@ export function useEmbedConfig() {
|
|
|
101
101
|
conversationCreatorFilter: computed(() => globalConfig.conversationCreatorFilter.value),
|
|
102
102
|
telaAgentInputs: computed(() => globalConfig.telaAgentInputs.value),
|
|
103
103
|
workspaceSettings: computed(() => globalConfig.workspaceSettings.value),
|
|
104
|
-
hideSidebar: computed(() => globalConfig.hideSidebar.value ??
|
|
104
|
+
hideSidebar: computed(() => globalConfig.hideSidebar.value ?? false),
|
|
105
105
|
hideConversationCreatorFilter: computed(() => globalConfig.hideConversationCreatorFilter.value ?? false),
|
|
106
106
|
hideSettings: computed(() => globalConfig.hideSettings.value ?? false),
|
|
107
107
|
loadingMessages: computed(() => globalConfig.loadingMessages.value),
|
|
@@ -67,7 +67,7 @@ export type ChatEmbedSharedProps = {
|
|
|
67
67
|
conversationCreatorFilter?: ConversationCreatorFilter;
|
|
68
68
|
/** Hide the conversation creator filter while preserving its active value. */
|
|
69
69
|
hideConversationCreatorFilter?: boolean;
|
|
70
|
-
/** Hide the conversation list and render only the active chat surface. */
|
|
70
|
+
/** Hide the conversation list and render only the active chat surface. Defaults to `false`; widget variants default to `true`. */
|
|
71
71
|
hideSidebar?: boolean;
|
|
72
72
|
/** Layout options for the conversation sidebar (edge and `sidebar-bottom` split). */
|
|
73
73
|
sidebar?: ChatSidebarConfig;
|