@aleph-alpha/chat-kit 0.5.0 → 0.5.1
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/README.md +2 -2
- package/dist/{ChatInput.vue_vue_type_script_setup_true_lang-Cca7le4i.js → CkInput.vue_vue_type_script_setup_true_lang-O1PJm2kW.js} +63 -55
- package/dist/components/base/{AgentMessage/AgentMessage.stories.d.ts → CkAgentMessage/CkAgentMessage.stories.d.ts} +3 -3
- package/dist/components/base/CkAgentMessage/CkAgentMessage.stories.d.ts.map +1 -0
- package/dist/components/base/{AgentMessage/AgentMessage.vue.d.ts → CkAgentMessage/CkAgentMessage.vue.d.ts} +1 -1
- package/dist/components/base/CkAgentMessage/CkAgentMessage.vue.d.ts.map +1 -0
- package/dist/components/base/CkAgentMessage/index.d.ts +2 -0
- package/dist/components/base/CkAgentMessage/index.d.ts.map +1 -0
- package/dist/components/base/{ChatConversationLayout/ChatConversationLayout.stories.d.ts → CkConversationLayout/CkConversationLayout.stories.d.ts} +3 -3
- package/dist/components/base/CkConversationLayout/CkConversationLayout.stories.d.ts.map +1 -0
- package/dist/components/base/{ChatConversationLayout/ChatConversationLayout.vue.d.ts → CkConversationLayout/CkConversationLayout.vue.d.ts} +1 -1
- package/dist/components/base/CkConversationLayout/CkConversationLayout.vue.d.ts.map +1 -0
- package/dist/components/base/CkConversationLayout/index.d.ts +3 -0
- package/dist/components/base/CkConversationLayout/index.d.ts.map +1 -0
- package/dist/components/base/{ChatConversationLayout → CkConversationLayout}/types.d.ts +2 -2
- package/dist/components/base/CkConversationLayout/types.d.ts.map +1 -0
- package/dist/components/base/{MarkdownRenderer/MarkdownRenderer.stories.d.ts → CkMarkdownRenderer/CkMarkdownRenderer.stories.d.ts} +3 -3
- package/dist/components/base/CkMarkdownRenderer/CkMarkdownRenderer.stories.d.ts.map +1 -0
- package/dist/components/base/{MarkdownRenderer/MarkdownRenderer.vue.d.ts → CkMarkdownRenderer/CkMarkdownRenderer.vue.d.ts} +5 -5
- package/dist/components/base/CkMarkdownRenderer/CkMarkdownRenderer.vue.d.ts.map +1 -0
- package/dist/components/base/CkMarkdownRenderer/defaultMarkdownClasses.d.ts +3 -0
- package/dist/components/base/CkMarkdownRenderer/defaultMarkdownClasses.d.ts.map +1 -0
- package/dist/components/base/CkMarkdownRenderer/index.d.ts +3 -0
- package/dist/components/base/{PromptActionButton → CkMarkdownRenderer}/index.d.ts.map +1 -1
- package/dist/components/base/{MarkdownRenderer → CkMarkdownRenderer}/types.d.ts +3 -3
- package/dist/components/base/CkMarkdownRenderer/types.d.ts.map +1 -0
- package/dist/components/base/{PromptActionButton/PromptActionButton.stories.d.ts → CkPromptActionButton/CkPromptActionButton.stories.d.ts} +3 -3
- package/dist/components/base/CkPromptActionButton/CkPromptActionButton.stories.d.ts.map +1 -0
- package/dist/components/base/{PromptActionButton/PromptActionButton.vue.d.ts → CkPromptActionButton/CkPromptActionButton.vue.d.ts} +1 -1
- package/dist/components/base/CkPromptActionButton/CkPromptActionButton.vue.d.ts.map +1 -0
- package/dist/components/base/CkPromptActionButton/index.d.ts +2 -0
- package/dist/components/base/CkPromptActionButton/index.d.ts.map +1 -0
- package/dist/components/base/{PromptInput/PromptInput.stories.d.ts → CkPromptInput/CkPromptInput.stories.d.ts} +3 -3
- package/dist/components/base/CkPromptInput/CkPromptInput.stories.d.ts.map +1 -0
- package/dist/components/base/{PromptInput/PromptInput.vue.d.ts → CkPromptInput/CkPromptInput.vue.d.ts} +1 -1
- package/dist/components/base/CkPromptInput/CkPromptInput.vue.d.ts.map +1 -0
- package/dist/components/base/CkPromptInput/index.d.ts +2 -0
- package/dist/components/base/CkPromptInput/index.d.ts.map +1 -0
- package/dist/components/base/{PromptInputDisclaimer/PromptInputDisclaimer.stories.d.ts → CkPromptInputDisclaimer/CkPromptInputDisclaimer.stories.d.ts} +3 -3
- package/dist/components/base/CkPromptInputDisclaimer/CkPromptInputDisclaimer.stories.d.ts.map +1 -0
- package/dist/components/base/{PromptInputDisclaimer/PromptInputDisclaimer.vue.d.ts → CkPromptInputDisclaimer/CkPromptInputDisclaimer.vue.d.ts} +1 -1
- package/dist/components/base/CkPromptInputDisclaimer/CkPromptInputDisclaimer.vue.d.ts.map +1 -0
- package/dist/components/base/CkPromptInputDisclaimer/index.d.ts +2 -0
- package/dist/components/base/CkPromptInputDisclaimer/index.d.ts.map +1 -0
- package/dist/components/base/{UserMessage/UserMessage.stories.d.ts → CkUserMessage/CkUserMessage.stories.d.ts} +3 -3
- package/dist/components/base/CkUserMessage/CkUserMessage.stories.d.ts.map +1 -0
- package/dist/components/base/CkUserMessage/CkUserMessage.vue.d.ts +15 -0
- package/dist/components/base/CkUserMessage/CkUserMessage.vue.d.ts.map +1 -0
- package/dist/components/base/CkUserMessage/index.d.ts +3 -0
- package/dist/components/base/CkUserMessage/index.d.ts.map +1 -0
- package/dist/components/base/CkUserMessage/types.d.ts +8 -0
- package/dist/components/base/CkUserMessage/types.d.ts.map +1 -0
- package/dist/components/base/icons/{SendIcon.vue.d.ts → CkSendIcon.vue.d.ts} +1 -1
- package/dist/components/base/icons/CkSendIcon.vue.d.ts.map +1 -0
- package/dist/components/base/icons/index.d.ts +1 -1
- package/dist/components/base/icons/index.d.ts.map +1 -1
- package/dist/components/base/index.d.ts +10 -10
- package/dist/components/base/index.d.ts.map +1 -1
- package/dist/components/composed/{ChatConversation/ChatConversation.stories.d.ts → CkConversation/CkConversation.stories.d.ts} +3 -3
- package/dist/components/composed/CkConversation/CkConversation.stories.d.ts.map +1 -0
- package/dist/components/composed/{ChatConversation/ChatConversation.vue.d.ts → CkConversation/CkConversation.vue.d.ts} +3 -3
- package/dist/components/composed/CkConversation/CkConversation.vue.d.ts.map +1 -0
- package/dist/components/composed/CkConversation/index.d.ts +3 -0
- package/dist/components/composed/CkConversation/index.d.ts.map +1 -0
- package/dist/components/composed/{ChatConversation → CkConversation}/types.d.ts +4 -4
- package/dist/components/composed/CkConversation/types.d.ts.map +1 -0
- package/dist/components/composed/{ChatInput/ChatInput.stories.d.ts → CkInput/CkInput.stories.d.ts} +3 -3
- package/dist/components/composed/CkInput/CkInput.stories.d.ts.map +1 -0
- package/dist/components/composed/{ChatInput/ChatInput.vue.d.ts → CkInput/CkInput.vue.d.ts} +1 -1
- package/dist/components/composed/CkInput/CkInput.vue.d.ts.map +1 -0
- package/dist/components/composed/CkInput/index.d.ts +2 -0
- package/dist/components/composed/CkInput/index.d.ts.map +1 -0
- package/dist/components/composed/index.d.ts +3 -3
- package/dist/components/composed/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +4 -4
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +10 -10
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -10
- package/package.json +1 -1
- package/dist/components/base/AgentMessage/AgentMessage.stories.d.ts.map +0 -1
- package/dist/components/base/AgentMessage/AgentMessage.vue.d.ts.map +0 -1
- package/dist/components/base/AgentMessage/index.d.ts +0 -2
- package/dist/components/base/AgentMessage/index.d.ts.map +0 -1
- package/dist/components/base/ChatConversationLayout/ChatConversationLayout.stories.d.ts.map +0 -1
- package/dist/components/base/ChatConversationLayout/ChatConversationLayout.vue.d.ts.map +0 -1
- package/dist/components/base/ChatConversationLayout/index.d.ts +0 -3
- package/dist/components/base/ChatConversationLayout/index.d.ts.map +0 -1
- package/dist/components/base/ChatConversationLayout/types.d.ts.map +0 -1
- package/dist/components/base/MarkdownRenderer/MarkdownRenderer.stories.d.ts.map +0 -1
- package/dist/components/base/MarkdownRenderer/MarkdownRenderer.vue.d.ts.map +0 -1
- package/dist/components/base/MarkdownRenderer/defaultMarkdownClasses.d.ts +0 -3
- package/dist/components/base/MarkdownRenderer/defaultMarkdownClasses.d.ts.map +0 -1
- package/dist/components/base/MarkdownRenderer/index.d.ts +0 -3
- package/dist/components/base/MarkdownRenderer/index.d.ts.map +0 -1
- package/dist/components/base/MarkdownRenderer/types.d.ts.map +0 -1
- package/dist/components/base/PromptActionButton/PromptActionButton.stories.d.ts.map +0 -1
- package/dist/components/base/PromptActionButton/PromptActionButton.vue.d.ts.map +0 -1
- package/dist/components/base/PromptActionButton/index.d.ts +0 -2
- package/dist/components/base/PromptInput/PromptInput.stories.d.ts.map +0 -1
- package/dist/components/base/PromptInput/PromptInput.vue.d.ts.map +0 -1
- package/dist/components/base/PromptInput/index.d.ts +0 -2
- package/dist/components/base/PromptInput/index.d.ts.map +0 -1
- package/dist/components/base/PromptInputDisclaimer/PromptInputDisclaimer.stories.d.ts.map +0 -1
- package/dist/components/base/PromptInputDisclaimer/PromptInputDisclaimer.vue.d.ts.map +0 -1
- package/dist/components/base/PromptInputDisclaimer/index.d.ts +0 -2
- package/dist/components/base/PromptInputDisclaimer/index.d.ts.map +0 -1
- package/dist/components/base/UserMessage/UserMessage.stories.d.ts.map +0 -1
- package/dist/components/base/UserMessage/UserMessage.vue.d.ts +0 -15
- package/dist/components/base/UserMessage/UserMessage.vue.d.ts.map +0 -1
- package/dist/components/base/UserMessage/index.d.ts +0 -3
- package/dist/components/base/UserMessage/index.d.ts.map +0 -1
- package/dist/components/base/UserMessage/types.d.ts +0 -8
- package/dist/components/base/UserMessage/types.d.ts.map +0 -1
- package/dist/components/base/icons/SendIcon.vue.d.ts.map +0 -1
- package/dist/components/composed/ChatConversation/ChatConversation.stories.d.ts.map +0 -1
- package/dist/components/composed/ChatConversation/ChatConversation.vue.d.ts.map +0 -1
- package/dist/components/composed/ChatConversation/index.d.ts +0 -3
- package/dist/components/composed/ChatConversation/index.d.ts.map +0 -1
- package/dist/components/composed/ChatConversation/types.d.ts.map +0 -1
- package/dist/components/composed/ChatInput/ChatInput.stories.d.ts.map +0 -1
- package/dist/components/composed/ChatInput/ChatInput.vue.d.ts.map +0 -1
- package/dist/components/composed/ChatInput/index.d.ts +0 -2
- package/dist/components/composed/ChatInput/index.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -32,10 +32,10 @@ import { ChatService, type IChatService } from '@aleph-alpha/chat-kit/services';
|
|
|
32
32
|
import { useChat } from '@aleph-alpha/chat-kit/composables';
|
|
33
33
|
|
|
34
34
|
// Components only
|
|
35
|
-
import {
|
|
35
|
+
import { CkConversation } from '@aleph-alpha/chat-kit/components';
|
|
36
36
|
|
|
37
37
|
// Everything
|
|
38
|
-
import { ChatService, useChat,
|
|
38
|
+
import { ChatService, useChat, CkConversation } from '@aleph-alpha/chat-kit';
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
## Development
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, renderSlot, createCommentVNode, createElementVNode,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, renderSlot, createCommentVNode, createElementVNode, ref, onMounted, nextTick, onUnmounted, watch, Fragment, renderList, normalizeStyle, toRefs, computed, h, createBlock, unref, mergeProps, withCtx, useId, useTemplateRef, withModifiers, toDisplayString, createTextVNode, useSlots, createVNode, createSlots, normalizeProps, guardReactiveProps, normalizeClass } from "vue";
|
|
2
2
|
import { a as useMarkdownParser, u as useChatKitLabels } from "./useChatKitLabels-xZXcnxZZ.js";
|
|
3
3
|
import { UiIconButton, UiAvatar, UiAvatarImage, UiSpinner, UiAvatarFallback } from "@aleph-alpha/ui-library";
|
|
4
|
-
const _export_sfc = (sfc, props) => {
|
|
5
|
-
const target = sfc.__vccOpts || sfc;
|
|
6
|
-
for (const [key, val] of props) {
|
|
7
|
-
target[key] = val;
|
|
8
|
-
}
|
|
9
|
-
return target;
|
|
10
|
-
};
|
|
11
|
-
const _sfc_main$9 = {};
|
|
12
4
|
const _hoisted_1$5 = { class: "flex w-full items-start gap-2" };
|
|
13
5
|
const _hoisted_2$3 = {
|
|
14
6
|
key: 0,
|
|
@@ -23,25 +15,30 @@ const _hoisted_5$1 = {
|
|
|
23
15
|
key: 1,
|
|
24
16
|
class: "flex items-center"
|
|
25
17
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
18
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
19
|
+
...{ name: "CkAgentMessage" },
|
|
20
|
+
__name: "CkAgentMessage",
|
|
21
|
+
setup(__props) {
|
|
22
|
+
return (_ctx, _cache) => {
|
|
23
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
24
|
+
_ctx.$slots.icon ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
25
|
+
renderSlot(_ctx.$slots, "icon")
|
|
26
|
+
])) : createCommentVNode("", true),
|
|
27
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
28
|
+
_ctx.$slots.header ? (openBlock(), createElementBlock("span", _hoisted_4$1, [
|
|
29
|
+
renderSlot(_ctx.$slots, "header")
|
|
30
|
+
])) : createCommentVNode("", true),
|
|
31
|
+
createElementVNode("div", null, [
|
|
32
|
+
renderSlot(_ctx.$slots, "default")
|
|
33
|
+
]),
|
|
34
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
35
|
+
renderSlot(_ctx.$slots, "footer")
|
|
36
|
+
])) : createCommentVNode("", true)
|
|
37
|
+
])
|
|
38
|
+
]);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
45
42
|
const _hoisted_1$4 = ["data-message-row"];
|
|
46
43
|
const _hoisted_2$2 = {
|
|
47
44
|
key: 0,
|
|
@@ -52,7 +49,8 @@ const _hoisted_3$1 = {
|
|
|
52
49
|
class: "flex justify-start"
|
|
53
50
|
};
|
|
54
51
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
55
|
-
|
|
52
|
+
...{ name: "CkConversationLayout" },
|
|
53
|
+
__name: "CkConversationLayout",
|
|
56
54
|
props: {
|
|
57
55
|
messages: {}
|
|
58
56
|
},
|
|
@@ -255,7 +253,7 @@ function domToVNode(node, slots, classes) {
|
|
|
255
253
|
return h(tag, attrs, children);
|
|
256
254
|
}
|
|
257
255
|
const _sfc_main$7 = defineComponent({
|
|
258
|
-
name: "
|
|
256
|
+
name: "CkMarkdownRenderer",
|
|
259
257
|
props: {
|
|
260
258
|
content: { type: String, required: true },
|
|
261
259
|
classes: { type: Object, default: () => ({}) },
|
|
@@ -282,7 +280,8 @@ const _sfc_main$7 = defineComponent({
|
|
|
282
280
|
}
|
|
283
281
|
});
|
|
284
282
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
285
|
-
|
|
283
|
+
...{ name: "CkPromptActionButton" },
|
|
284
|
+
__name: "CkPromptActionButton",
|
|
286
285
|
props: {
|
|
287
286
|
ariaLabel: {},
|
|
288
287
|
disabled: { type: Boolean, default: false },
|
|
@@ -313,7 +312,8 @@ const _hoisted_5 = { key: 0 };
|
|
|
313
312
|
const _hoisted_6 = { key: 1 };
|
|
314
313
|
const _hoisted_7 = { class: "ml-auto" };
|
|
315
314
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
316
|
-
|
|
315
|
+
...{ name: "CkPromptInput" },
|
|
316
|
+
__name: "CkPromptInput",
|
|
317
317
|
props: {
|
|
318
318
|
modelValue: { default: "" },
|
|
319
319
|
placeholder: { default: void 0 },
|
|
@@ -408,7 +408,8 @@ const _hoisted_1$2 = {
|
|
|
408
408
|
class: "text-core-content-tertiary text-center text-xs leading-3.5"
|
|
409
409
|
};
|
|
410
410
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
411
|
-
|
|
411
|
+
...{ name: "CkPromptInputDisclaimer" },
|
|
412
|
+
__name: "CkPromptInputDisclaimer",
|
|
412
413
|
props: {
|
|
413
414
|
text: {}
|
|
414
415
|
},
|
|
@@ -425,7 +426,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
425
426
|
const _hoisted_1$1 = { class: "bg-background-surface-primary inline-flex max-w-[600px] flex-col items-end justify-start gap-4 rounded-xl p-6" };
|
|
426
427
|
const _hoisted_2 = { class: "text-content-on-surface-primary justify-start self-stretch text-base leading-6 font-normal" };
|
|
427
428
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
428
|
-
|
|
429
|
+
...{ name: "CkUserMessage" },
|
|
430
|
+
__name: "CkUserMessage",
|
|
429
431
|
props: {
|
|
430
432
|
message: {}
|
|
431
433
|
},
|
|
@@ -442,7 +444,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
442
444
|
}
|
|
443
445
|
});
|
|
444
446
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
445
|
-
|
|
447
|
+
...{ name: "CkConversation" },
|
|
448
|
+
__name: "CkConversation",
|
|
446
449
|
props: {
|
|
447
450
|
messages: {},
|
|
448
451
|
agentAvatarImage: { default: "" },
|
|
@@ -480,7 +483,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
480
483
|
]),
|
|
481
484
|
"agent-message": withCtx(({ message }) => [
|
|
482
485
|
renderSlot(_ctx.$slots, "agent-message", { message }, () => [
|
|
483
|
-
createVNode(
|
|
486
|
+
createVNode(_sfc_main$9, null, createSlots({
|
|
484
487
|
default: withCtx(() => [
|
|
485
488
|
renderSlot(_ctx.$slots, "agent-message-content", { message }, () => [
|
|
486
489
|
createVNode(_sfc_main$7, {
|
|
@@ -568,7 +571,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
568
571
|
};
|
|
569
572
|
}
|
|
570
573
|
});
|
|
571
|
-
const _sfc_main$1 = {};
|
|
572
574
|
const _hoisted_1 = {
|
|
573
575
|
xmlns: "http://www.w3.org/2000/svg",
|
|
574
576
|
width: "16",
|
|
@@ -580,15 +582,21 @@ const _hoisted_1 = {
|
|
|
580
582
|
"stroke-linecap": "round",
|
|
581
583
|
"stroke-linejoin": "round"
|
|
582
584
|
};
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
585
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
586
|
+
...{ name: "CkSendIcon" },
|
|
587
|
+
__name: "CkSendIcon",
|
|
588
|
+
setup(__props) {
|
|
589
|
+
return (_ctx, _cache) => {
|
|
590
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
591
|
+
createElementVNode("path", { d: "M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z" }, null, -1),
|
|
592
|
+
createElementVNode("path", { d: "M6 12h16" }, null, -1)
|
|
593
|
+
])]);
|
|
594
|
+
};
|
|
595
|
+
}
|
|
596
|
+
});
|
|
590
597
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
591
|
-
|
|
598
|
+
...{ name: "CkInput" },
|
|
599
|
+
__name: "CkInput",
|
|
592
600
|
props: {
|
|
593
601
|
modelValue: { default: "" },
|
|
594
602
|
placeholder: { default: "Ask me anything" },
|
|
@@ -638,7 +646,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
638
646
|
}), {
|
|
639
647
|
default: withCtx(() => [
|
|
640
648
|
renderSlot(_ctx.$slots, "send-icon", {}, () => [
|
|
641
|
-
createVNode(
|
|
649
|
+
createVNode(_sfc_main$1)
|
|
642
650
|
])
|
|
643
651
|
]),
|
|
644
652
|
_: 3
|
|
@@ -667,13 +675,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
667
675
|
}
|
|
668
676
|
});
|
|
669
677
|
export {
|
|
670
|
-
|
|
671
|
-
_sfc_main$2 as
|
|
672
|
-
_sfc_main$8 as
|
|
673
|
-
_sfc_main as
|
|
674
|
-
_sfc_main$7 as
|
|
675
|
-
_sfc_main$6 as
|
|
676
|
-
_sfc_main$5 as
|
|
677
|
-
_sfc_main$4 as
|
|
678
|
-
_sfc_main$3 as
|
|
678
|
+
_sfc_main$9 as _,
|
|
679
|
+
_sfc_main$2 as a,
|
|
680
|
+
_sfc_main$8 as b,
|
|
681
|
+
_sfc_main as c,
|
|
682
|
+
_sfc_main$7 as d,
|
|
683
|
+
_sfc_main$6 as e,
|
|
684
|
+
_sfc_main$5 as f,
|
|
685
|
+
_sfc_main$4 as g,
|
|
686
|
+
_sfc_main$3 as h
|
|
679
687
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import CkAgentMessage from './CkAgentMessage.vue';
|
|
2
2
|
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
3
|
-
declare const meta: Meta<typeof
|
|
3
|
+
declare const meta: Meta<typeof CkAgentMessage>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof meta>;
|
|
6
6
|
export declare const Default: Story;
|
|
@@ -8,4 +8,4 @@ export declare const WithFooterActions: Story;
|
|
|
8
8
|
export declare const WithRichContent: Story;
|
|
9
9
|
export declare const WithCustomHeader: Story;
|
|
10
10
|
export declare const WithoutIcon: Story;
|
|
11
|
-
//# sourceMappingURL=
|
|
11
|
+
//# sourceMappingURL=CkAgentMessage.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkAgentMessage.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessage/CkAgentMessage.stories.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAIrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAkB/B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KA8B7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAkB9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KASzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkAgentMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessage/CkAgentMessage.vue"],"names":[],"mappings":"AAqFA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AACjF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkAgentMessage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
2
|
import type { DefineComponent } from 'vue';
|
|
3
|
-
declare const
|
|
4
|
-
declare const meta: Meta<typeof
|
|
3
|
+
declare const CkConversationLayout: DefineComponent;
|
|
4
|
+
declare const meta: Meta<typeof CkConversationLayout>;
|
|
5
5
|
export default meta;
|
|
6
6
|
type Story = StoryObj<typeof meta>;
|
|
7
7
|
export declare const Default: Story;
|
|
8
8
|
export declare const StreamingSimulation: Story;
|
|
9
9
|
export declare const Empty: Story;
|
|
10
|
-
//# sourceMappingURL=
|
|
10
|
+
//# sourceMappingURL=CkConversationLayout.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkConversationLayout.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkConversationLayout/CkConversationLayout.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,KAAK,CAAC;AAI3C,QAAA,MAAM,oBAAoB,EAA+C,eAAe,CAAC;AAoBzF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,oBAAoB,CAU3C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAqBrB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KA+EjC,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAcnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkConversationLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkConversationLayout/CkConversationLayout.vue"],"names":[],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+1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkConversationLayout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,YAAY,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Props for the
|
|
2
|
+
* Props for the CkConversationLayout component
|
|
3
3
|
*
|
|
4
4
|
* @typeParam T - Message type, must have at least a `role` string property
|
|
5
5
|
*/
|
|
6
|
-
export interface
|
|
6
|
+
export interface CkConversationLayoutProps<T extends {
|
|
7
7
|
role: string;
|
|
8
8
|
} = {
|
|
9
9
|
role: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkConversationLayout/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE;IACtF,6DAA6D;IAC7D,QAAQ,EAAE,CAAC,EAAE,CAAC;CACf"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import CkMarkdownRenderer from './CkMarkdownRenderer.vue';
|
|
2
2
|
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
3
|
-
declare const meta: Meta<typeof
|
|
3
|
+
declare const meta: Meta<typeof CkMarkdownRenderer>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof meta>;
|
|
6
6
|
export declare const Default: Story;
|
|
@@ -10,4 +10,4 @@ export declare const ComplexMarkdown: Story;
|
|
|
10
10
|
export declare const WithCustomClasses: Story;
|
|
11
11
|
export declare const GfmFeatures: Story;
|
|
12
12
|
export declare const WithCustomPlugin: Story;
|
|
13
|
-
//# sourceMappingURL=
|
|
13
|
+
//# sourceMappingURL=CkMarkdownRenderer.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkMarkdownRenderer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkMarkdownRenderer/CkMarkdownRenderer.stories.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CAUzC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAqB5B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KA4BrC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAuC7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAyC/B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KA2BzB,CAAC;AAeF,eAAO,MAAM,gBAAgB,EAAE,KAiB9B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PropType, type VNode } from 'vue';
|
|
2
2
|
import type { PluggableList } from 'unified';
|
|
3
|
-
import type {
|
|
3
|
+
import type { CkMarkdownElementClasses } from './types';
|
|
4
4
|
declare const _default: typeof __VLS_export;
|
|
5
5
|
export default _default;
|
|
6
6
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -9,7 +9,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
11
|
classes: {
|
|
12
|
-
type: PropType<
|
|
12
|
+
type: PropType<CkMarkdownElementClasses>;
|
|
13
13
|
default: () => {};
|
|
14
14
|
};
|
|
15
15
|
plugins: {
|
|
@@ -24,7 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
classes: {
|
|
27
|
-
type: PropType<
|
|
27
|
+
type: PropType<CkMarkdownElementClasses>;
|
|
28
28
|
default: () => {};
|
|
29
29
|
};
|
|
30
30
|
plugins: {
|
|
@@ -32,7 +32,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
32
32
|
default: undefined;
|
|
33
33
|
};
|
|
34
34
|
}>> & Readonly<{}>, {
|
|
35
|
-
classes:
|
|
35
|
+
classes: CkMarkdownElementClasses;
|
|
36
36
|
plugins: PluggableList;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
|
-
//# sourceMappingURL=
|
|
38
|
+
//# sourceMappingURL=CkMarkdownRenderer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkMarkdownRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkMarkdownRenderer/CkMarkdownRenderer.vue"],"names":[],"mappings":"AAiFE,OAAO,EAAwC,KAAK,QAAQ,EAAc,KAAK,KAAK,EAAE,MAAM,KAAK,CAAC;AAClG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;wBAyCnC,OAAO,YAAY;AAAxC,wBAAyC;AAQ3C,QAAA,MAAM,YAAY;;;;;;cAIe,QAAQ,CAAC,wBAAwB,CAAC;;;;cACnC,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;;cADtB,QAAQ,CAAC,wBAAwB,CAAC;;;;cACnC,QAAQ,CAAC,aAAa,CAAC;;;;;;4EA0BnD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultMarkdownClasses.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkMarkdownRenderer/defaultMarkdownClasses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,eAAO,MAAM,sBAAsB,EAAE,wBAgBpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkMarkdownRenderer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,YAAY,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PluggableList } from 'unified';
|
|
2
|
-
export interface
|
|
2
|
+
export interface CkMarkdownElementClasses {
|
|
3
3
|
h1?: string;
|
|
4
4
|
h2?: string;
|
|
5
5
|
h3?: string;
|
|
@@ -28,9 +28,9 @@ export interface MarkdownElementClasses {
|
|
|
28
28
|
td?: string;
|
|
29
29
|
input?: string;
|
|
30
30
|
}
|
|
31
|
-
export interface
|
|
31
|
+
export interface CkMarkdownRendererProps {
|
|
32
32
|
content: string;
|
|
33
|
-
classes?:
|
|
33
|
+
classes?: CkMarkdownElementClasses;
|
|
34
34
|
plugins?: PluggableList;
|
|
35
35
|
}
|
|
36
36
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkMarkdownRenderer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,WAAW,wBAAwB;IACvC,EAAE,CAAC,EA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const meta: Meta<typeof
|
|
3
|
+
declare const meta: Meta<typeof CkPromptActionButton>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof meta>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Disabled: Story;
|
|
8
8
|
export declare const Loading: Story;
|
|
9
|
-
//# sourceMappingURL=
|
|
9
|
+
//# sourceMappingURL=CkPromptActionButton.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkPromptActionButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptActionButton/CkPromptActionButton.stories.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,oBAAoB,CAS3C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAYtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkPromptActionButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptActionButton/CkPromptActionButton.vue"],"names":[],"mappings":"AAsCE,KAAK,WAAW,GAAG;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC5B,CAAC;AA8DN,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;UAtEH,QAAQ,GAAG,QAAQ;cAFf,OAAO;aACR,OAAO;6EA0ErB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptActionButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import CkPromptInput from './CkPromptInput.vue';
|
|
2
2
|
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
3
|
-
declare const meta: Meta<typeof
|
|
3
|
+
declare const meta: Meta<typeof CkPromptInput>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof meta>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const WithToolbarSlots: Story;
|
|
8
8
|
export declare const WithFooterSlot: Story;
|
|
9
9
|
export declare const Disabled: Story;
|
|
10
|
-
//# sourceMappingURL=
|
|
10
|
+
//# sourceMappingURL=CkPromptInput.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkPromptInput.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInput/CkPromptInput.stories.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,Q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AAM;iBACL,MAAM;eAER,MAAM;6EAiMtB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import CkPromptInputDisclaimer from './CkPromptInputDisclaimer.vue';
|
|
2
2
|
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
3
|
-
declare const meta: Meta<typeof
|
|
3
|
+
declare const meta: Meta<typeof CkPromptInputDisclaimer>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof meta>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const WithSlot: Story;
|
|
8
8
|
export declare const Empty: Story;
|
|
9
|
-
//# sourceMappingURL=
|
|
9
|
+
//# sourceMappingURL=CkPromptInputDisclaimer.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkPromptInputDisclaimer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInputDisclaimer/CkPromptInputDisclaimer.stories.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,uBAAuB,CAS9C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAYnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkPromptInputDisclaimer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInputDisclaimer/CkPromptInputDisclaimer.vue"],"names":[],"mappings":"AAqBE,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AA6BJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInputDisclaimer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import CkUserMessage from './CkUserMessage.vue';
|
|
2
2
|
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
3
|
-
declare const meta: Meta<typeof
|
|
3
|
+
declare const meta: Meta<typeof CkUserMessage>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof meta>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const LongMessage: Story;
|
|
8
8
|
export declare const MultilineMessage: Story;
|
|
9
9
|
export declare const WithSlotContent: Story;
|
|
10
|
-
//# sourceMappingURL=
|
|
10
|
+
//# sourceMappingURL=CkUserMessage.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkUserMessage.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkUserMessage/CkUserMessage.stories.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAgBpC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAK9B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAS7B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CkUserMessageProps } from './types';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<CkUserMessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CkUserMessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=CkUserMessage.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CkUserMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkUserMessage/CkUserMessage.vue"],"names":[],"mappings":"AAsBE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA6CpD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,gTAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkUserMessage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkUserMessage/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|