@aleph-alpha/chat-kit 0.4.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.
Files changed (147) hide show
  1. package/README.md +2 -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
  3. package/dist/components/base/{AgentMessage/AgentMessage.stories.d.ts → CkAgentMessage/CkAgentMessage.stories.d.ts} +3 -3
  4. package/dist/components/base/CkAgentMessage/CkAgentMessage.stories.d.ts.map +1 -0
  5. package/dist/components/base/{AgentMessage/AgentMessage.vue.d.ts → CkAgentMessage/CkAgentMessage.vue.d.ts} +1 -1
  6. package/dist/components/base/CkAgentMessage/CkAgentMessage.vue.d.ts.map +1 -0
  7. package/dist/components/base/CkAgentMessage/index.d.ts +2 -0
  8. package/dist/components/base/CkAgentMessage/index.d.ts.map +1 -0
  9. package/dist/components/base/{ChatConversationLayout/ChatConversationLayout.stories.d.ts → CkConversationLayout/CkConversationLayout.stories.d.ts} +3 -3
  10. package/dist/components/base/CkConversationLayout/CkConversationLayout.stories.d.ts.map +1 -0
  11. package/dist/components/base/{ChatConversationLayout/ChatConversationLayout.vue.d.ts → CkConversationLayout/CkConversationLayout.vue.d.ts} +1 -1
  12. package/dist/components/base/CkConversationLayout/CkConversationLayout.vue.d.ts.map +1 -0
  13. package/dist/components/base/CkConversationLayout/index.d.ts +3 -0
  14. package/dist/components/base/CkConversationLayout/index.d.ts.map +1 -0
  15. package/dist/components/base/{ChatConversationLayout → CkConversationLayout}/types.d.ts +2 -2
  16. package/dist/components/base/CkConversationLayout/types.d.ts.map +1 -0
  17. package/dist/components/base/{MarkdownRenderer/MarkdownRenderer.stories.d.ts → CkMarkdownRenderer/CkMarkdownRenderer.stories.d.ts} +3 -3
  18. package/dist/components/base/CkMarkdownRenderer/CkMarkdownRenderer.stories.d.ts.map +1 -0
  19. package/dist/components/base/{MarkdownRenderer/MarkdownRenderer.vue.d.ts → CkMarkdownRenderer/CkMarkdownRenderer.vue.d.ts} +5 -5
  20. package/dist/components/base/CkMarkdownRenderer/CkMarkdownRenderer.vue.d.ts.map +1 -0
  21. package/dist/components/base/CkMarkdownRenderer/defaultMarkdownClasses.d.ts +3 -0
  22. package/dist/components/base/CkMarkdownRenderer/defaultMarkdownClasses.d.ts.map +1 -0
  23. package/dist/components/base/CkMarkdownRenderer/index.d.ts +3 -0
  24. package/dist/components/base/{PromptActionButton → CkMarkdownRenderer}/index.d.ts.map +1 -1
  25. package/dist/components/base/{MarkdownRenderer → CkMarkdownRenderer}/types.d.ts +3 -3
  26. package/dist/components/base/CkMarkdownRenderer/types.d.ts.map +1 -0
  27. package/dist/components/base/{PromptActionButton/PromptActionButton.stories.d.ts → CkPromptActionButton/CkPromptActionButton.stories.d.ts} +3 -3
  28. package/dist/components/base/CkPromptActionButton/CkPromptActionButton.stories.d.ts.map +1 -0
  29. package/dist/components/base/{PromptActionButton/PromptActionButton.vue.d.ts → CkPromptActionButton/CkPromptActionButton.vue.d.ts} +1 -1
  30. package/dist/components/base/CkPromptActionButton/CkPromptActionButton.vue.d.ts.map +1 -0
  31. package/dist/components/base/CkPromptActionButton/index.d.ts +2 -0
  32. package/dist/components/base/CkPromptActionButton/index.d.ts.map +1 -0
  33. package/dist/components/base/{PromptInput/PromptInput.stories.d.ts → CkPromptInput/CkPromptInput.stories.d.ts} +3 -3
  34. package/dist/components/base/CkPromptInput/CkPromptInput.stories.d.ts.map +1 -0
  35. package/dist/components/base/{PromptInput/PromptInput.vue.d.ts → CkPromptInput/CkPromptInput.vue.d.ts} +1 -1
  36. package/dist/components/base/CkPromptInput/CkPromptInput.vue.d.ts.map +1 -0
  37. package/dist/components/base/CkPromptInput/index.d.ts +2 -0
  38. package/dist/components/base/CkPromptInput/index.d.ts.map +1 -0
  39. package/dist/components/base/{PromptInputDisclaimer/PromptInputDisclaimer.stories.d.ts → CkPromptInputDisclaimer/CkPromptInputDisclaimer.stories.d.ts} +3 -3
  40. package/dist/components/base/CkPromptInputDisclaimer/CkPromptInputDisclaimer.stories.d.ts.map +1 -0
  41. package/dist/components/base/{PromptInputDisclaimer/PromptInputDisclaimer.vue.d.ts → CkPromptInputDisclaimer/CkPromptInputDisclaimer.vue.d.ts} +1 -1
  42. package/dist/components/base/CkPromptInputDisclaimer/CkPromptInputDisclaimer.vue.d.ts.map +1 -0
  43. package/dist/components/base/CkPromptInputDisclaimer/index.d.ts +2 -0
  44. package/dist/components/base/CkPromptInputDisclaimer/index.d.ts.map +1 -0
  45. package/dist/components/base/{UserMessage/UserMessage.stories.d.ts → CkUserMessage/CkUserMessage.stories.d.ts} +3 -3
  46. package/dist/components/base/CkUserMessage/CkUserMessage.stories.d.ts.map +1 -0
  47. package/dist/components/base/CkUserMessage/CkUserMessage.vue.d.ts +15 -0
  48. package/dist/components/base/CkUserMessage/CkUserMessage.vue.d.ts.map +1 -0
  49. package/dist/components/base/CkUserMessage/index.d.ts +3 -0
  50. package/dist/components/base/CkUserMessage/index.d.ts.map +1 -0
  51. package/dist/components/base/CkUserMessage/types.d.ts +8 -0
  52. package/dist/components/base/CkUserMessage/types.d.ts.map +1 -0
  53. package/dist/components/base/icons/{SendIcon.vue.d.ts → CkSendIcon.vue.d.ts} +1 -1
  54. package/dist/components/base/icons/CkSendIcon.vue.d.ts.map +1 -0
  55. package/dist/components/base/icons/index.d.ts +1 -1
  56. package/dist/components/base/icons/index.d.ts.map +1 -1
  57. package/dist/components/base/index.d.ts +10 -10
  58. package/dist/components/base/index.d.ts.map +1 -1
  59. package/dist/components/composed/{ChatConversation/ChatConversation.stories.d.ts → CkConversation/CkConversation.stories.d.ts} +3 -3
  60. package/dist/components/composed/CkConversation/CkConversation.stories.d.ts.map +1 -0
  61. package/dist/components/composed/{ChatConversation/ChatConversation.vue.d.ts → CkConversation/CkConversation.vue.d.ts} +3 -3
  62. package/dist/components/composed/CkConversation/CkConversation.vue.d.ts.map +1 -0
  63. package/dist/components/composed/CkConversation/index.d.ts +3 -0
  64. package/dist/components/composed/CkConversation/index.d.ts.map +1 -0
  65. package/dist/components/composed/{ChatConversation → CkConversation}/types.d.ts +4 -4
  66. package/dist/components/composed/CkConversation/types.d.ts.map +1 -0
  67. package/dist/components/composed/{ChatInput/ChatInput.stories.d.ts → CkInput/CkInput.stories.d.ts} +3 -3
  68. package/dist/components/composed/CkInput/CkInput.stories.d.ts.map +1 -0
  69. package/dist/components/composed/{ChatInput/ChatInput.vue.d.ts → CkInput/CkInput.vue.d.ts} +1 -1
  70. package/dist/components/composed/CkInput/CkInput.vue.d.ts.map +1 -0
  71. package/dist/components/composed/CkInput/index.d.ts +2 -0
  72. package/dist/components/composed/CkInput/index.d.ts.map +1 -0
  73. package/dist/components/composed/index.d.ts +3 -3
  74. package/dist/components/composed/index.d.ts.map +1 -1
  75. package/dist/components/index.d.ts +4 -4
  76. package/dist/components/index.d.ts.map +1 -1
  77. package/dist/components/index.js +10 -10
  78. package/dist/composables/index.d.ts +0 -3
  79. package/dist/composables/index.d.ts.map +1 -1
  80. package/dist/composables/index.js +3 -8
  81. package/dist/handlers/index.d.ts +3 -0
  82. package/dist/handlers/index.d.ts.map +1 -1
  83. package/dist/handlers/index.js +7 -1
  84. package/dist/handlers/useChatKitLabels.d.ts.map +1 -0
  85. package/dist/handlers/useMarkdownParser.d.ts.map +1 -0
  86. package/dist/handlers/useMessageHandler.d.ts.map +1 -1
  87. package/dist/helpers/conversationTree.d.ts.map +1 -0
  88. package/dist/helpers/generateId.d.ts +2 -0
  89. package/dist/helpers/generateId.d.ts.map +1 -0
  90. package/dist/helpers/index.d.ts +2 -1
  91. package/dist/helpers/index.d.ts.map +1 -1
  92. package/dist/index.d.ts +6 -6
  93. package/dist/index.d.ts.map +1 -1
  94. package/dist/index.js +14 -14
  95. package/package.json +2 -2
  96. package/dist/components/base/AgentMessage/AgentMessage.stories.d.ts.map +0 -1
  97. package/dist/components/base/AgentMessage/AgentMessage.vue.d.ts.map +0 -1
  98. package/dist/components/base/AgentMessage/index.d.ts +0 -2
  99. package/dist/components/base/AgentMessage/index.d.ts.map +0 -1
  100. package/dist/components/base/ChatConversationLayout/ChatConversationLayout.stories.d.ts.map +0 -1
  101. package/dist/components/base/ChatConversationLayout/ChatConversationLayout.vue.d.ts.map +0 -1
  102. package/dist/components/base/ChatConversationLayout/index.d.ts +0 -3
  103. package/dist/components/base/ChatConversationLayout/index.d.ts.map +0 -1
  104. package/dist/components/base/ChatConversationLayout/types.d.ts.map +0 -1
  105. package/dist/components/base/MarkdownRenderer/MarkdownRenderer.stories.d.ts.map +0 -1
  106. package/dist/components/base/MarkdownRenderer/MarkdownRenderer.vue.d.ts.map +0 -1
  107. package/dist/components/base/MarkdownRenderer/defaultMarkdownClasses.d.ts +0 -3
  108. package/dist/components/base/MarkdownRenderer/defaultMarkdownClasses.d.ts.map +0 -1
  109. package/dist/components/base/MarkdownRenderer/index.d.ts +0 -3
  110. package/dist/components/base/MarkdownRenderer/index.d.ts.map +0 -1
  111. package/dist/components/base/MarkdownRenderer/types.d.ts.map +0 -1
  112. package/dist/components/base/PromptActionButton/PromptActionButton.stories.d.ts.map +0 -1
  113. package/dist/components/base/PromptActionButton/PromptActionButton.vue.d.ts.map +0 -1
  114. package/dist/components/base/PromptActionButton/index.d.ts +0 -2
  115. package/dist/components/base/PromptInput/PromptInput.stories.d.ts.map +0 -1
  116. package/dist/components/base/PromptInput/PromptInput.vue.d.ts.map +0 -1
  117. package/dist/components/base/PromptInput/index.d.ts +0 -2
  118. package/dist/components/base/PromptInput/index.d.ts.map +0 -1
  119. package/dist/components/base/PromptInputDisclaimer/PromptInputDisclaimer.stories.d.ts.map +0 -1
  120. package/dist/components/base/PromptInputDisclaimer/PromptInputDisclaimer.vue.d.ts.map +0 -1
  121. package/dist/components/base/PromptInputDisclaimer/index.d.ts +0 -2
  122. package/dist/components/base/PromptInputDisclaimer/index.d.ts.map +0 -1
  123. package/dist/components/base/UserMessage/UserMessage.stories.d.ts.map +0 -1
  124. package/dist/components/base/UserMessage/UserMessage.vue.d.ts +0 -15
  125. package/dist/components/base/UserMessage/UserMessage.vue.d.ts.map +0 -1
  126. package/dist/components/base/UserMessage/index.d.ts +0 -3
  127. package/dist/components/base/UserMessage/index.d.ts.map +0 -1
  128. package/dist/components/base/UserMessage/types.d.ts +0 -8
  129. package/dist/components/base/UserMessage/types.d.ts.map +0 -1
  130. package/dist/components/base/icons/SendIcon.vue.d.ts.map +0 -1
  131. package/dist/components/composed/ChatConversation/ChatConversation.stories.d.ts.map +0 -1
  132. package/dist/components/composed/ChatConversation/ChatConversation.vue.d.ts.map +0 -1
  133. package/dist/components/composed/ChatConversation/index.d.ts +0 -3
  134. package/dist/components/composed/ChatConversation/index.d.ts.map +0 -1
  135. package/dist/components/composed/ChatConversation/types.d.ts.map +0 -1
  136. package/dist/components/composed/ChatInput/ChatInput.stories.d.ts.map +0 -1
  137. package/dist/components/composed/ChatInput/ChatInput.vue.d.ts.map +0 -1
  138. package/dist/components/composed/ChatInput/index.d.ts +0 -2
  139. package/dist/components/composed/ChatInput/index.d.ts.map +0 -1
  140. package/dist/composables/useChatKitLabels.d.ts.map +0 -1
  141. package/dist/composables/useMarkdownParser.d.ts.map +0 -1
  142. package/dist/handlers/conversationTree.d.ts.map +0 -1
  143. package/dist/useChat-CtN_iBTc.js +0 -5
  144. package/dist/{composables → handlers}/useChatKitLabels.d.ts +0 -0
  145. package/dist/{composables → handlers}/useMarkdownParser.d.ts +0 -0
  146. package/dist/{handlers → helpers}/conversationTree.d.ts +0 -0
  147. package/dist/{useMessageHandler-DQrXlsoz.js → useMessageHandler-D7OdrrcB.js} +3 -3
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 { ChatConversation } from '@aleph-alpha/chat-kit/components';
35
+ import { CkConversation } from '@aleph-alpha/chat-kit/components';
36
36
 
37
37
  // Everything
38
- import { ChatService, useChat, ChatConversation } from '@aleph-alpha/chat-kit';
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, defineComponent, 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";
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
- function _sfc_render$1(_ctx, _cache) {
27
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
28
- _ctx.$slots.icon ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
29
- renderSlot(_ctx.$slots, "icon")
30
- ])) : createCommentVNode("", true),
31
- createElementVNode("div", _hoisted_3$2, [
32
- _ctx.$slots.header ? (openBlock(), createElementBlock("span", _hoisted_4$1, [
33
- renderSlot(_ctx.$slots, "header")
34
- ])) : createCommentVNode("", true),
35
- createElementVNode("div", null, [
36
- renderSlot(_ctx.$slots, "default")
37
- ]),
38
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
39
- renderSlot(_ctx.$slots, "footer")
40
- ])) : createCommentVNode("", true)
41
- ])
42
- ]);
43
- }
44
- const AgentMessage = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$1]]);
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
- __name: "ChatConversationLayout",
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: "MarkdownRenderer",
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
- __name: "PromptActionButton",
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
- __name: "PromptInput",
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
- __name: "PromptInputDisclaimer",
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
- __name: "UserMessage",
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
- __name: "ChatConversation",
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(AgentMessage, null, createSlots({
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
- function _sfc_render(_ctx, _cache) {
584
- return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
585
- 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),
586
- createElementVNode("path", { d: "M6 12h16" }, null, -1)
587
- ])]);
588
- }
589
- const SendIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render]]);
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
- __name: "ChatInput",
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(SendIcon)
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
- AgentMessage as A,
671
- _sfc_main$2 as _,
672
- _sfc_main$8 as a,
673
- _sfc_main as b,
674
- _sfc_main$7 as c,
675
- _sfc_main$6 as d,
676
- _sfc_main$5 as e,
677
- _sfc_main$4 as f,
678
- _sfc_main$3 as g
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 AgentMessage from './AgentMessage.vue';
1
+ import CkAgentMessage from './CkAgentMessage.vue';
2
2
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
3
- declare const meta: Meta<typeof AgentMessage>;
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=AgentMessage.stories.d.ts.map
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"}
@@ -17,4 +17,4 @@ type __VLS_WithSlots<T, S> = T & {
17
17
  $slots: S;
18
18
  };
19
19
  };
20
- //# sourceMappingURL=AgentMessage.vue.d.ts.map
20
+ //# sourceMappingURL=CkAgentMessage.vue.d.ts.map
@@ -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,2 @@
1
+ export { default as CkAgentMessage } from './CkAgentMessage.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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 ChatConversationLayout: DefineComponent;
4
- declare const meta: Meta<typeof ChatConversationLayout>;
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=ChatConversationLayout.stories.d.ts.map
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"}
@@ -28,4 +28,4 @@ type __VLS_PrettifyLocal<T> = (T extends any ? {
28
28
  } : {
29
29
  [K in keyof T as K]: T[K];
30
30
  }) & {};
31
- //# sourceMappingURL=ChatConversationLayout.vue.d.ts.map
31
+ //# sourceMappingURL=CkConversationLayout.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CkConversationLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkConversationLayout/CkConversationLayout.vue"],"names":[],"mappings":"AA8ME,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAC9D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA+PO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB;kBA3PzC,CAAC,EAAE;MA2PyD,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC1I,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;wBAxPS,CAAC,KAAK,EAAE;YAAE,OAAO,EAAE,CAAC,CAAA;SAAE,KAAK,IAAI;yBAC9B,CAAC,KAAK,EAAE;YAAE,OAAO,EAAE,CAAC,CAAA;SAAE,KAAK,IAAI;;UAyP7C,EAAE;EAEL,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAI,CAAC;wBACvD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as CkConversationLayout } from './CkConversationLayout.vue';
2
+ export type { CkConversationLayoutProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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 ChatConversationLayout component
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 ChatConversationLayoutProps<T extends {
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 MarkdownRenderer from './MarkdownRenderer.vue';
1
+ import CkMarkdownRenderer from './CkMarkdownRenderer.vue';
2
2
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
3
- declare const meta: Meta<typeof MarkdownRenderer>;
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=MarkdownRenderer.stories.d.ts.map
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 { MarkdownElementClasses } from './types';
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<MarkdownElementClasses>;
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<MarkdownElementClasses>;
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: MarkdownElementClasses;
35
+ classes: CkMarkdownElementClasses;
36
36
  plugins: PluggableList;
37
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
- //# sourceMappingURL=MarkdownRenderer.vue.d.ts.map
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,3 @@
1
+ import type { CkMarkdownElementClasses } from './types';
2
+ export declare const defaultMarkdownClasses: CkMarkdownElementClasses;
3
+ //# sourceMappingURL=defaultMarkdownClasses.d.ts.map
@@ -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"}
@@ -0,0 +1,3 @@
1
+ export { default as CkMarkdownRenderer } from './CkMarkdownRenderer.vue';
2
+ export type { CkMarkdownRendererProps, CkMarkdownElementClasses } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/base/PromptActionButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC"}
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 MarkdownElementClasses {
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 MarkdownRendererProps {
31
+ export interface CkMarkdownRendererProps {
32
32
  content: string;
33
- classes?: MarkdownElementClasses;
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,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB"}
@@ -1,9 +1,9 @@
1
- import PromptActionButton from './PromptActionButton.vue';
1
+ import CkPromptActionButton from './CkPromptActionButton.vue';
2
2
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
3
- declare const meta: Meta<typeof PromptActionButton>;
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=PromptActionButton.stories.d.ts.map
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"}
@@ -21,4 +21,4 @@ type __VLS_WithSlots<T, S> = T & {
21
21
  $slots: S;
22
22
  };
23
23
  };
24
- //# sourceMappingURL=PromptActionButton.vue.d.ts.map
24
+ //# sourceMappingURL=CkPromptActionButton.vue.d.ts.map
@@ -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,2 @@
1
+ export { default as CkPromptActionButton } from './CkPromptActionButton.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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 PromptInput from './PromptInput.vue';
1
+ import CkPromptInput from './CkPromptInput.vue';
2
2
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
3
- declare const meta: Meta<typeof PromptInput>;
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=PromptInput.stories.d.ts.map
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,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAG3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CASpC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAerB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAkC9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAqB5B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAgBtB,CAAC"}
@@ -43,4 +43,4 @@ type __VLS_WithSlots<T, S> = T & {
43
43
  $slots: S;
44
44
  };
45
45
  };
46
- //# sourceMappingURL=PromptInput.vue.d.ts.map
46
+ //# sourceMappingURL=CkPromptInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CkPromptInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/base/CkPromptInput/CkPromptInput.vue"],"names":[],"mappings":"AAqHE,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAqCJ,iBAAS,MAAM,IAAI,IAAI,CAKtB;AASD,iBAAS,KAAK,IAAI,IAAI,CAErB;AA0HH,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO;;;;CAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACnD;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO9C,QAAA,MAAM,UAAU;;;;;;;;;;eA3LE,MAAM;cAFP,OAAO;gBAFL,MAAM;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,2 @@
1
+ export { default as CkPromptInput } from './CkPromptInput.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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 PromptInputDisclaimer from './PromptInputDisclaimer.vue';
1
+ import CkPromptInputDisclaimer from './CkPromptInputDisclaimer.vue';
2
2
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
3
- declare const meta: Meta<typeof PromptInputDisclaimer>;
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=PromptInputDisclaimer.stories.d.ts.map
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"}
@@ -14,4 +14,4 @@ type __VLS_WithSlots<T, S> = T & {
14
14
  $slots: S;
15
15
  };
16
16
  };
17
- //# sourceMappingURL=PromptInputDisclaimer.vue.d.ts.map
17
+ //# sourceMappingURL=CkPromptInputDisclaimer.vue.d.ts.map
@@ -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,2 @@
1
+ export { default as CkPromptInputDisclaimer } from './CkPromptInputDisclaimer.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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 UserMessage from './UserMessage.vue';
1
+ import CkUserMessage from './CkUserMessage.vue';
2
2
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
3
- declare const meta: Meta<typeof UserMessage>;
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=UserMessage.stories.d.ts.map
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,3 @@
1
+ export { default as CkUserMessage } from './CkUserMessage.vue';
2
+ export type { CkUserMessageProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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,8 @@
1
+ /**
2
+ * Props for the CkUserMessage component
3
+ */
4
+ export interface CkUserMessageProps {
5
+ /** Text content of the user message */
6
+ message?: string;
7
+ }
8
+ //# sourceMappingURL=types.d.ts.map
@@ -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"}