langgraph-vue3-chatbot 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/README.md +146 -0
  2. package/dist-lib/assets/index-CX1UtZzJ.css +1 -0
  3. package/dist-lib/chunks/__vite-optional-peer-dep_stream-markdown_markstream-vue-DYxpcVy9.js +5 -0
  4. package/dist-lib/chunks/__vite-optional-peer-dep_stream-markdown_markstream-vue-DYxpcVy9.js.map +1 -0
  5. package/dist-lib/chunks/__vite-optional-peer-dep_stream-monaco_markstream-vue-DYxpcVy9.js +5 -0
  6. package/dist-lib/chunks/__vite-optional-peer-dep_stream-monaco_markstream-vue-DYxpcVy9.js.map +1 -0
  7. package/dist-lib/chunks/__vite-optional-peer-dep_vue-i18n_markstream-vue-DYxpcVy9.js +5 -0
  8. package/dist-lib/chunks/__vite-optional-peer-dep_vue-i18n_markstream-vue-DYxpcVy9.js.map +1 -0
  9. package/dist-lib/chunks/_basePickBy-CW66PkAm.js +152 -0
  10. package/dist-lib/chunks/_basePickBy-CW66PkAm.js.map +1 -0
  11. package/dist-lib/chunks/_baseUniq-kZ8qh66z.js +615 -0
  12. package/dist-lib/chunks/_baseUniq-kZ8qh66z.js.map +1 -0
  13. package/dist-lib/chunks/arc-YPpteDR0.js +84 -0
  14. package/dist-lib/chunks/arc-YPpteDR0.js.map +1 -0
  15. package/dist-lib/chunks/architecture-7HQA4BMR-D9tgy59a.js +7 -0
  16. package/dist-lib/chunks/architecture-7HQA4BMR-D9tgy59a.js.map +1 -0
  17. package/dist-lib/chunks/architectureDiagram-VXUJARFQ-DxlahZGO.js +4667 -0
  18. package/dist-lib/chunks/architectureDiagram-VXUJARFQ-DxlahZGO.js.map +1 -0
  19. package/dist-lib/chunks/blockDiagram-VD42YOAC-D8bzGblL.js +2266 -0
  20. package/dist-lib/chunks/blockDiagram-VD42YOAC-D8bzGblL.js.map +1 -0
  21. package/dist-lib/chunks/c4Diagram-YG6GDRKO-D5AugQZD.js +1582 -0
  22. package/dist-lib/chunks/c4Diagram-YG6GDRKO-D5AugQZD.js.map +1 -0
  23. package/dist-lib/chunks/channel-BZVSXMdI.js +6 -0
  24. package/dist-lib/chunks/channel-BZVSXMdI.js.map +1 -0
  25. package/dist-lib/chunks/chunk-4BX2VUAB-DmDiFaYQ.js +10 -0
  26. package/dist-lib/chunks/chunk-4BX2VUAB-DmDiFaYQ.js.map +1 -0
  27. package/dist-lib/chunks/chunk-55IACEB6-Bixz-4ri.js +9 -0
  28. package/dist-lib/chunks/chunk-55IACEB6-Bixz-4ri.js.map +1 -0
  29. package/dist-lib/chunks/chunk-B4BG7PRW-roOoJ-H5.js +1377 -0
  30. package/dist-lib/chunks/chunk-B4BG7PRW-roOoJ-H5.js.map +1 -0
  31. package/dist-lib/chunks/chunk-DI55MBZ5-BKgq73Yz.js +1383 -0
  32. package/dist-lib/chunks/chunk-DI55MBZ5-BKgq73Yz.js.map +1 -0
  33. package/dist-lib/chunks/chunk-FMBD7UC4-0NCLBOZ4.js +20 -0
  34. package/dist-lib/chunks/chunk-FMBD7UC4-0NCLBOZ4.js.map +1 -0
  35. package/dist-lib/chunks/chunk-QN33PNHL-SdmLXfvj.js +21 -0
  36. package/dist-lib/chunks/chunk-QN33PNHL-SdmLXfvj.js.map +1 -0
  37. package/dist-lib/chunks/chunk-QZHKN3VN-BJRRsz_0.js +16 -0
  38. package/dist-lib/chunks/chunk-QZHKN3VN-BJRRsz_0.js.map +1 -0
  39. package/dist-lib/chunks/chunk-TZMSLE5B-BHz9sY22.js +65 -0
  40. package/dist-lib/chunks/chunk-TZMSLE5B-BHz9sY22.js.map +1 -0
  41. package/dist-lib/chunks/classDiagram-2ON5EDUG-D9YAjz9U.js +17 -0
  42. package/dist-lib/chunks/classDiagram-2ON5EDUG-D9YAjz9U.js.map +1 -0
  43. package/dist-lib/chunks/classDiagram-v2-WZHVMYZB-D9YAjz9U.js +17 -0
  44. package/dist-lib/chunks/classDiagram-v2-WZHVMYZB-D9YAjz9U.js.map +1 -0
  45. package/dist-lib/chunks/clone-Cr8OkUI6.js +9 -0
  46. package/dist-lib/chunks/clone-Cr8OkUI6.js.map +1 -0
  47. package/dist-lib/chunks/cose-bilkent-S5V4N54A-Dup1Il7f.js +2607 -0
  48. package/dist-lib/chunks/cose-bilkent-S5V4N54A-Dup1Il7f.js.map +1 -0
  49. package/dist-lib/chunks/cytoscape.esm-ZmItrg9y.js +18732 -0
  50. package/dist-lib/chunks/cytoscape.esm-ZmItrg9y.js.map +1 -0
  51. package/dist-lib/chunks/d2_markstream-vue-DjWw6Iqb.js +5 -0
  52. package/dist-lib/chunks/d2_markstream-vue-DjWw6Iqb.js.map +1 -0
  53. package/dist-lib/chunks/dagre-6UL2VRFP-BN-tqdJt.js +448 -0
  54. package/dist-lib/chunks/dagre-6UL2VRFP-BN-tqdJt.js.map +1 -0
  55. package/dist-lib/chunks/defaultLocale-BgPVtth8.js +172 -0
  56. package/dist-lib/chunks/defaultLocale-BgPVtth8.js.map +1 -0
  57. package/dist-lib/chunks/diagram-PSM6KHXK-q1AJt2KR.js +535 -0
  58. package/dist-lib/chunks/diagram-PSM6KHXK-q1AJt2KR.js.map +1 -0
  59. package/dist-lib/chunks/diagram-QEK2KX5R-DvWZHdbC.js +222 -0
  60. package/dist-lib/chunks/diagram-QEK2KX5R-DvWZHdbC.js.map +1 -0
  61. package/dist-lib/chunks/diagram-S2PKOQOG-Bh2eYDqp.js +144 -0
  62. package/dist-lib/chunks/diagram-S2PKOQOG-Bh2eYDqp.js.map +1 -0
  63. package/dist-lib/chunks/erDiagram-Q2GNP2WA-duuiZhAe.js +843 -0
  64. package/dist-lib/chunks/erDiagram-Q2GNP2WA-duuiZhAe.js.map +1 -0
  65. package/dist-lib/chunks/flowDiagram-NV44I4VS-2bX7uP_Y.js +1628 -0
  66. package/dist-lib/chunks/flowDiagram-NV44I4VS-2bX7uP_Y.js.map +1 -0
  67. package/dist-lib/chunks/ganttDiagram-JELNMOA3-DeLxp-TU.js +2664 -0
  68. package/dist-lib/chunks/ganttDiagram-JELNMOA3-DeLxp-TU.js.map +1 -0
  69. package/dist-lib/chunks/gitGraph-G5XIXVHT-DPDyQFCQ.js +7 -0
  70. package/dist-lib/chunks/gitGraph-G5XIXVHT-DPDyQFCQ.js.map +1 -0
  71. package/dist-lib/chunks/gitGraphDiagram-V2S2FVAM-C4N7S6Sn.js +713 -0
  72. package/dist-lib/chunks/gitGraphDiagram-V2S2FVAM-C4N7S6Sn.js.map +1 -0
  73. package/dist-lib/chunks/graph-CpqhRkc9.js +248 -0
  74. package/dist-lib/chunks/graph-CpqhRkc9.js.map +1 -0
  75. package/dist-lib/chunks/index-C6AmdgXa.js +29103 -0
  76. package/dist-lib/chunks/index-C6AmdgXa.js.map +1 -0
  77. package/dist-lib/chunks/index2-h2xJzRF5.js +71 -0
  78. package/dist-lib/chunks/index2-h2xJzRF5.js.map +1 -0
  79. package/dist-lib/chunks/index3-D85ShV5u.js +71 -0
  80. package/dist-lib/chunks/index3-D85ShV5u.js.map +1 -0
  81. package/dist-lib/chunks/index4-BZ3LQ3Gs.js +625 -0
  82. package/dist-lib/chunks/index4-BZ3LQ3Gs.js.map +1 -0
  83. package/dist-lib/chunks/index5-V5z7JyjJ.js +593 -0
  84. package/dist-lib/chunks/index5-V5z7JyjJ.js.map +1 -0
  85. package/dist-lib/chunks/index6-NgOhDjHq.js +197 -0
  86. package/dist-lib/chunks/index6-NgOhDjHq.js.map +1 -0
  87. package/dist-lib/chunks/index7-DbtRL8R1.js +218 -0
  88. package/dist-lib/chunks/index7-DbtRL8R1.js.map +1 -0
  89. package/dist-lib/chunks/info-VBDWY6EO-DmNdFwBm.js +7 -0
  90. package/dist-lib/chunks/info-VBDWY6EO-DmNdFwBm.js.map +1 -0
  91. package/dist-lib/chunks/infoDiagram-HS3SLOUP-C4KOQ4z8.js +25 -0
  92. package/dist-lib/chunks/infoDiagram-HS3SLOUP-C4KOQ4z8.js.map +1 -0
  93. package/dist-lib/chunks/infographic_markstream-vue-DjWw6Iqb.js +5 -0
  94. package/dist-lib/chunks/infographic_markstream-vue-DjWw6Iqb.js.map +1 -0
  95. package/dist-lib/chunks/init-DjUOC4st.js +17 -0
  96. package/dist-lib/chunks/init-DjUOC4st.js.map +1 -0
  97. package/dist-lib/chunks/journeyDiagram-XKPGCS4Q-BdwiHNvc.js +837 -0
  98. package/dist-lib/chunks/journeyDiagram-XKPGCS4Q-BdwiHNvc.js.map +1 -0
  99. package/dist-lib/chunks/kanban-definition-3W4ZIXB7-DEdDjhZy.js +721 -0
  100. package/dist-lib/chunks/kanban-definition-3W4ZIXB7-DEdDjhZy.js.map +1 -0
  101. package/dist-lib/chunks/katex-BpkHWDoa.js +11604 -0
  102. package/dist-lib/chunks/katex-BpkHWDoa.js.map +1 -0
  103. package/dist-lib/chunks/languageIconExtended-OLNeqZ3A.js +120 -0
  104. package/dist-lib/chunks/languageIconExtended-OLNeqZ3A.js.map +1 -0
  105. package/dist-lib/chunks/layout-BsfUazBi.js +1336 -0
  106. package/dist-lib/chunks/layout-BsfUazBi.js.map +1 -0
  107. package/dist-lib/chunks/linear-733vJvdS.js +260 -0
  108. package/dist-lib/chunks/linear-733vJvdS.js.map +1 -0
  109. package/dist-lib/chunks/mermaid-parser.core-BjQ4GviQ.js +17831 -0
  110. package/dist-lib/chunks/mermaid-parser.core-BjQ4GviQ.js.map +1 -0
  111. package/dist-lib/chunks/mermaid.core-CfwBoKEG.js +15318 -0
  112. package/dist-lib/chunks/mermaid.core-CfwBoKEG.js.map +1 -0
  113. package/dist-lib/chunks/mhchem-TJ3MgtXi.js +2307 -0
  114. package/dist-lib/chunks/mhchem-TJ3MgtXi.js.map +1 -0
  115. package/dist-lib/chunks/mindmap-definition-VGOIOE7T-DWXCpr2L.js +787 -0
  116. package/dist-lib/chunks/mindmap-definition-VGOIOE7T-DWXCpr2L.js.map +1 -0
  117. package/dist-lib/chunks/ordinal-DfAQgscy.js +62 -0
  118. package/dist-lib/chunks/ordinal-DfAQgscy.js.map +1 -0
  119. package/dist-lib/chunks/packet-DYOGHKS2-LKfYfvMi.js +7 -0
  120. package/dist-lib/chunks/packet-DYOGHKS2-LKfYfvMi.js.map +1 -0
  121. package/dist-lib/chunks/pie-VRWISCQL-CCCGK1h8.js +7 -0
  122. package/dist-lib/chunks/pie-VRWISCQL-CCCGK1h8.js.map +1 -0
  123. package/dist-lib/chunks/pieDiagram-ADFJNKIX-HEACu4aq.js +162 -0
  124. package/dist-lib/chunks/pieDiagram-ADFJNKIX-HEACu4aq.js.map +1 -0
  125. package/dist-lib/chunks/quadrantDiagram-AYHSOK5B-P2mJBm9J.js +1025 -0
  126. package/dist-lib/chunks/quadrantDiagram-AYHSOK5B-P2mJBm9J.js.map +1 -0
  127. package/dist-lib/chunks/radar-ZZBFDIW7-B1WQ7hOI.js +7 -0
  128. package/dist-lib/chunks/radar-ZZBFDIW7-B1WQ7hOI.js.map +1 -0
  129. package/dist-lib/chunks/requirementDiagram-UZGBJVZJ-BTSc_5mV.js +853 -0
  130. package/dist-lib/chunks/requirementDiagram-UZGBJVZJ-BTSc_5mV.js.map +1 -0
  131. package/dist-lib/chunks/safeRaf-BfLvr4ec.js +23 -0
  132. package/dist-lib/chunks/safeRaf-BfLvr4ec.js.map +1 -0
  133. package/dist-lib/chunks/sankeyDiagram-TZEHDZUN-DCpV3VxC.js +811 -0
  134. package/dist-lib/chunks/sankeyDiagram-TZEHDZUN-DCpV3VxC.js.map +1 -0
  135. package/dist-lib/chunks/sequenceDiagram-WL72ISMW-hw66SVMK.js +2519 -0
  136. package/dist-lib/chunks/sequenceDiagram-WL72ISMW-hw66SVMK.js.map +1 -0
  137. package/dist-lib/chunks/stateDiagram-FKZM4ZOC-0TmJOl3D.js +264 -0
  138. package/dist-lib/chunks/stateDiagram-FKZM4ZOC-0TmJOl3D.js.map +1 -0
  139. package/dist-lib/chunks/stateDiagram-v2-4FDKWEC3-B-LCArfl.js +17 -0
  140. package/dist-lib/chunks/stateDiagram-v2-4FDKWEC3-B-LCArfl.js.map +1 -0
  141. package/dist-lib/chunks/timeline-definition-IT6M3QCI-DG4YKjjA.js +802 -0
  142. package/dist-lib/chunks/timeline-definition-IT6M3QCI-DG4YKjjA.js.map +1 -0
  143. package/dist-lib/chunks/treemap-GDKQZRPO-BUNvhTR0.js +7 -0
  144. package/dist-lib/chunks/treemap-GDKQZRPO-BUNvhTR0.js.map +1 -0
  145. package/dist-lib/chunks/xychartDiagram-PRI3JC2R-Tw2Icm50.js +1341 -0
  146. package/dist-lib/chunks/xychartDiagram-PRI3JC2R-Tw2Icm50.js.map +1 -0
  147. package/dist-lib/components/ai-bot/AskAiBot.vue.d.ts +41 -0
  148. package/dist-lib/components/ai-bot/AskAiBot.vue.d.ts.map +1 -0
  149. package/dist-lib/components/ai-bot/ChatBot.vue.d.ts +47 -0
  150. package/dist-lib/components/ai-bot/ChatBot.vue.d.ts.map +1 -0
  151. package/dist-lib/components/ai-bot/ChatHeader.vue.d.ts +16 -0
  152. package/dist-lib/components/ai-bot/ChatHeader.vue.d.ts.map +1 -0
  153. package/dist-lib/components/ai-bot/ChatInput.vue.d.ts +46 -0
  154. package/dist-lib/components/ai-bot/ChatInput.vue.d.ts.map +1 -0
  155. package/dist-lib/components/ai-bot/ChatMessages.vue.d.ts +23 -0
  156. package/dist-lib/components/ai-bot/ChatMessages.vue.d.ts.map +1 -0
  157. package/dist-lib/components/ai-bot/ChatSuggestions.vue.d.ts +10 -0
  158. package/dist-lib/components/ai-bot/ChatSuggestions.vue.d.ts.map +1 -0
  159. package/dist-lib/components/ai-bot/FloatButton.vue.d.ts +10 -0
  160. package/dist-lib/components/ai-bot/FloatButton.vue.d.ts.map +1 -0
  161. package/dist-lib/components/ai-bot/GeneratedFiles.vue.d.ts +9 -0
  162. package/dist-lib/components/ai-bot/GeneratedFiles.vue.d.ts.map +1 -0
  163. package/dist-lib/components/ai-bot/InputAttachmentsDisplay.vue.d.ts +3 -0
  164. package/dist-lib/components/ai-bot/InputAttachmentsDisplay.vue.d.ts.map +1 -0
  165. package/dist-lib/components/ai-bot/TodoList.vue.d.ts +28 -0
  166. package/dist-lib/components/ai-bot/TodoList.vue.d.ts.map +1 -0
  167. package/dist-lib/components/ai-bot/ToolCall.vue.d.ts +7 -0
  168. package/dist-lib/components/ai-bot/ToolCall.vue.d.ts.map +1 -0
  169. package/dist-lib/components/ai-bot/ai-elements/attachments/Attachment.vue.d.ts +23 -0
  170. package/dist-lib/components/ai-bot/ai-elements/attachments/Attachment.vue.d.ts.map +1 -0
  171. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentEmpty.vue.d.ts +17 -0
  172. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentEmpty.vue.d.ts.map +1 -0
  173. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentHoverCard.vue.d.ts +22 -0
  174. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentHoverCard.vue.d.ts.map +1 -0
  175. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentHoverCardContent.vue.d.ts +21 -0
  176. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentHoverCardContent.vue.d.ts.map +1 -0
  177. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentHoverCardTrigger.vue.d.ts +17 -0
  178. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentHoverCardTrigger.vue.d.ts.map +1 -0
  179. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentInfo.vue.d.ts +10 -0
  180. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentInfo.vue.d.ts.map +1 -0
  181. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentPreview.vue.d.ts +8 -0
  182. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentPreview.vue.d.ts.map +1 -0
  183. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentRemove.vue.d.ts +22 -0
  184. package/dist-lib/components/ai-bot/ai-elements/attachments/AttachmentRemove.vue.d.ts.map +1 -0
  185. package/dist-lib/components/ai-bot/ai-elements/attachments/Attachments.vue.d.ts +21 -0
  186. package/dist-lib/components/ai-bot/ai-elements/attachments/Attachments.vue.d.ts.map +1 -0
  187. package/dist-lib/components/ai-bot/ai-elements/attachments/context.d.ts +16 -0
  188. package/dist-lib/components/ai-bot/ai-elements/attachments/context.d.ts.map +1 -0
  189. package/dist-lib/components/ai-bot/ai-elements/attachments/index.d.ts +13 -0
  190. package/dist-lib/components/ai-bot/ai-elements/attachments/index.d.ts.map +1 -0
  191. package/dist-lib/components/ai-bot/ai-elements/attachments/types.d.ts +9 -0
  192. package/dist-lib/components/ai-bot/ai-elements/attachments/types.d.ts.map +1 -0
  193. package/dist-lib/components/ai-bot/ai-elements/attachments/utils.d.ts +4 -0
  194. package/dist-lib/components/ai-bot/ai-elements/attachments/utils.d.ts.map +1 -0
  195. package/dist-lib/components/ai-bot/ai-elements/conversation/Conversation.vue.d.ts +39 -0
  196. package/dist-lib/components/ai-bot/ai-elements/conversation/Conversation.vue.d.ts.map +1 -0
  197. package/dist-lib/components/ai-bot/ai-elements/conversation/ConversationContent.vue.d.ts +17 -0
  198. package/dist-lib/components/ai-bot/ai-elements/conversation/ConversationContent.vue.d.ts.map +1 -0
  199. package/dist-lib/components/ai-bot/ai-elements/conversation/ConversationEmptyState.vue.d.ts +24 -0
  200. package/dist-lib/components/ai-bot/ai-elements/conversation/ConversationEmptyState.vue.d.ts.map +1 -0
  201. package/dist-lib/components/ai-bot/ai-elements/conversation/ConversationScrollButton.vue.d.ts +7 -0
  202. package/dist-lib/components/ai-bot/ai-elements/conversation/ConversationScrollButton.vue.d.ts.map +1 -0
  203. package/dist-lib/components/ai-bot/ai-elements/conversation/index.d.ts +5 -0
  204. package/dist-lib/components/ai-bot/ai-elements/conversation/index.d.ts.map +1 -0
  205. package/dist-lib/components/ai-bot/ai-elements/loader/Loader.vue.d.ts +10 -0
  206. package/dist-lib/components/ai-bot/ai-elements/loader/Loader.vue.d.ts.map +1 -0
  207. package/dist-lib/components/ai-bot/ai-elements/loader/LoaderIcon.vue.d.ts +8 -0
  208. package/dist-lib/components/ai-bot/ai-elements/loader/LoaderIcon.vue.d.ts.map +1 -0
  209. package/dist-lib/components/ai-bot/ai-elements/loader/index.d.ts +3 -0
  210. package/dist-lib/components/ai-bot/ai-elements/loader/index.d.ts.map +1 -0
  211. package/dist-lib/components/ai-bot/ai-elements/message/Message.vue.d.ts +19 -0
  212. package/dist-lib/components/ai-bot/ai-elements/message/Message.vue.d.ts.map +1 -0
  213. package/dist-lib/components/ai-bot/ai-elements/message/MessageAction.vue.d.ts +25 -0
  214. package/dist-lib/components/ai-bot/ai-elements/message/MessageAction.vue.d.ts.map +1 -0
  215. package/dist-lib/components/ai-bot/ai-elements/message/MessageActions.vue.d.ts +17 -0
  216. package/dist-lib/components/ai-bot/ai-elements/message/MessageActions.vue.d.ts.map +1 -0
  217. package/dist-lib/components/ai-bot/ai-elements/message/MessageAvatar.vue.d.ts +9 -0
  218. package/dist-lib/components/ai-bot/ai-elements/message/MessageAvatar.vue.d.ts.map +1 -0
  219. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranch.vue.d.ts +24 -0
  220. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranch.vue.d.ts.map +1 -0
  221. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranchContent.vue.d.ts +7 -0
  222. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranchContent.vue.d.ts.map +1 -0
  223. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranchNext.vue.d.ts +13 -0
  224. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranchNext.vue.d.ts.map +1 -0
  225. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranchPage.vue.d.ts +7 -0
  226. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranchPage.vue.d.ts.map +1 -0
  227. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranchPrevious.vue.d.ts +13 -0
  228. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranchPrevious.vue.d.ts.map +1 -0
  229. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranchSelector.vue.d.ts +17 -0
  230. package/dist-lib/components/ai-bot/ai-elements/message/MessageBranchSelector.vue.d.ts.map +1 -0
  231. package/dist-lib/components/ai-bot/ai-elements/message/MessageContent.vue.d.ts +17 -0
  232. package/dist-lib/components/ai-bot/ai-elements/message/MessageContent.vue.d.ts.map +1 -0
  233. package/dist-lib/components/ai-bot/ai-elements/message/MessageResponse.vue.d.ts +9 -0
  234. package/dist-lib/components/ai-bot/ai-elements/message/MessageResponse.vue.d.ts.map +1 -0
  235. package/dist-lib/components/ai-bot/ai-elements/message/MessageToolbar.vue.d.ts +17 -0
  236. package/dist-lib/components/ai-bot/ai-elements/message/MessageToolbar.vue.d.ts.map +1 -0
  237. package/dist-lib/components/ai-bot/ai-elements/message/context.d.ts +12 -0
  238. package/dist-lib/components/ai-bot/ai-elements/message/context.d.ts.map +1 -0
  239. package/dist-lib/components/ai-bot/ai-elements/message/index.d.ts +14 -0
  240. package/dist-lib/components/ai-bot/ai-elements/message/index.d.ts.map +1 -0
  241. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelector.vue.d.ts +13 -0
  242. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelector.vue.d.ts.map +1 -0
  243. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorContent.vue.d.ts +20 -0
  244. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorContent.vue.d.ts.map +1 -0
  245. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorDialog.vue.d.ts +13 -0
  246. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorDialog.vue.d.ts.map +1 -0
  247. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorEmpty.vue.d.ts +13 -0
  248. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorEmpty.vue.d.ts.map +1 -0
  249. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorGroup.vue.d.ts +13 -0
  250. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorGroup.vue.d.ts.map +1 -0
  251. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorInput.vue.d.ts +7 -0
  252. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorInput.vue.d.ts.map +1 -0
  253. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorItem.vue.d.ts +16 -0
  254. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorItem.vue.d.ts.map +1 -0
  255. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorList.vue.d.ts +13 -0
  256. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorList.vue.d.ts.map +1 -0
  257. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorLogo.vue.d.ts +8 -0
  258. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorLogo.vue.d.ts.map +1 -0
  259. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorLogoGroup.vue.d.ts +17 -0
  260. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorLogoGroup.vue.d.ts.map +1 -0
  261. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorName.vue.d.ts +17 -0
  262. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorName.vue.d.ts.map +1 -0
  263. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorSeparator.vue.d.ts +3 -0
  264. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorSeparator.vue.d.ts.map +1 -0
  265. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorShortcut.vue.d.ts +13 -0
  266. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorShortcut.vue.d.ts.map +1 -0
  267. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorTrigger.vue.d.ts +13 -0
  268. package/dist-lib/components/ai-bot/ai-elements/model-selector/ModelSelectorTrigger.vue.d.ts.map +1 -0
  269. package/dist-lib/components/ai-bot/ai-elements/model-selector/index.d.ts +15 -0
  270. package/dist-lib/components/ai-bot/ai-elements/model-selector/index.d.ts.map +1 -0
  271. package/dist-lib/components/ai-bot/ai-elements/queue/Queue.vue.d.ts +17 -0
  272. package/dist-lib/components/ai-bot/ai-elements/queue/Queue.vue.d.ts.map +1 -0
  273. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItem.vue.d.ts +17 -0
  274. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItem.vue.d.ts.map +1 -0
  275. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemAction.vue.d.ts +17 -0
  276. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemAction.vue.d.ts.map +1 -0
  277. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemActions.vue.d.ts +17 -0
  278. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemActions.vue.d.ts.map +1 -0
  279. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemAttachment.vue.d.ts +17 -0
  280. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemAttachment.vue.d.ts.map +1 -0
  281. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemContent.vue.d.ts +20 -0
  282. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemContent.vue.d.ts.map +1 -0
  283. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemDescription.vue.d.ts +20 -0
  284. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemDescription.vue.d.ts.map +1 -0
  285. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemFile.vue.d.ts +17 -0
  286. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemFile.vue.d.ts.map +1 -0
  287. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemImage.vue.d.ts +7 -0
  288. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemImage.vue.d.ts.map +1 -0
  289. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemIndicator.vue.d.ts +10 -0
  290. package/dist-lib/components/ai-bot/ai-elements/queue/QueueItemIndicator.vue.d.ts.map +1 -0
  291. package/dist-lib/components/ai-bot/ai-elements/queue/QueueList.vue.d.ts +17 -0
  292. package/dist-lib/components/ai-bot/ai-elements/queue/QueueList.vue.d.ts.map +1 -0
  293. package/dist-lib/components/ai-bot/ai-elements/queue/QueueSection.vue.d.ts +20 -0
  294. package/dist-lib/components/ai-bot/ai-elements/queue/QueueSection.vue.d.ts.map +1 -0
  295. package/dist-lib/components/ai-bot/ai-elements/queue/QueueSectionContent.vue.d.ts +17 -0
  296. package/dist-lib/components/ai-bot/ai-elements/queue/QueueSectionContent.vue.d.ts.map +1 -0
  297. package/dist-lib/components/ai-bot/ai-elements/queue/QueueSectionLabel.vue.d.ts +19 -0
  298. package/dist-lib/components/ai-bot/ai-elements/queue/QueueSectionLabel.vue.d.ts.map +1 -0
  299. package/dist-lib/components/ai-bot/ai-elements/queue/QueueSectionTrigger.vue.d.ts +17 -0
  300. package/dist-lib/components/ai-bot/ai-elements/queue/QueueSectionTrigger.vue.d.ts.map +1 -0
  301. package/dist-lib/components/ai-bot/ai-elements/queue/index.d.ts +16 -0
  302. package/dist-lib/components/ai-bot/ai-elements/queue/index.d.ts.map +1 -0
  303. package/dist-lib/components/ai-bot/ai-elements/shimmer/Shimmer.vue.d.ts +24 -0
  304. package/dist-lib/components/ai-bot/ai-elements/shimmer/Shimmer.vue.d.ts.map +1 -0
  305. package/dist-lib/components/ai-bot/ai-elements/shimmer/index.d.ts +2 -0
  306. package/dist-lib/components/ai-bot/ai-elements/shimmer/index.d.ts.map +1 -0
  307. package/dist-lib/components/ai-bot/ai-elements/suggestion/Suggestion.vue.d.ts +27 -0
  308. package/dist-lib/components/ai-bot/ai-elements/suggestion/Suggestion.vue.d.ts.map +1 -0
  309. package/dist-lib/components/ai-bot/ai-elements/suggestion/Suggestions.vue.d.ts +17 -0
  310. package/dist-lib/components/ai-bot/ai-elements/suggestion/Suggestions.vue.d.ts.map +1 -0
  311. package/dist-lib/components/ai-bot/ai-elements/suggestion/index.d.ts +3 -0
  312. package/dist-lib/components/ai-bot/ai-elements/suggestion/index.d.ts.map +1 -0
  313. package/dist-lib/components/ai-bot/index.d.ts +8 -0
  314. package/dist-lib/components/ai-bot/index.d.ts.map +1 -0
  315. package/dist-lib/components/ai-bot/lib/input-types.d.ts +54 -0
  316. package/dist-lib/components/ai-bot/lib/input-types.d.ts.map +1 -0
  317. package/dist-lib/components/ai-bot/lib/message-types.d.ts +33 -0
  318. package/dist-lib/components/ai-bot/lib/message-types.d.ts.map +1 -0
  319. package/dist-lib/components/ai-bot/lib/models.d.ts +10 -0
  320. package/dist-lib/components/ai-bot/lib/models.d.ts.map +1 -0
  321. package/dist-lib/components/ai-bot/lib/prompt-input.d.ts +5 -0
  322. package/dist-lib/components/ai-bot/lib/prompt-input.d.ts.map +1 -0
  323. package/dist-lib/components/ai-bot/lib/thread.d.ts +5 -0
  324. package/dist-lib/components/ai-bot/lib/thread.d.ts.map +1 -0
  325. package/dist-lib/components/ai-bot/lib/tool-events.d.ts +11 -0
  326. package/dist-lib/components/ai-bot/lib/tool-events.d.ts.map +1 -0
  327. package/dist-lib/components/ai-bot/lib/utils.d.ts +3 -0
  328. package/dist-lib/components/ai-bot/lib/utils.d.ts.map +1 -0
  329. package/dist-lib/components/ai-bot/ui/avatar/Avatar.vue.d.ts +17 -0
  330. package/dist-lib/components/ai-bot/ui/avatar/Avatar.vue.d.ts.map +1 -0
  331. package/dist-lib/components/ai-bot/ui/avatar/AvatarFallback.vue.d.ts +18 -0
  332. package/dist-lib/components/ai-bot/ui/avatar/AvatarFallback.vue.d.ts.map +1 -0
  333. package/dist-lib/components/ai-bot/ui/avatar/AvatarImage.vue.d.ts +14 -0
  334. package/dist-lib/components/ai-bot/ui/avatar/AvatarImage.vue.d.ts.map +1 -0
  335. package/dist-lib/components/ai-bot/ui/avatar/index.d.ts +4 -0
  336. package/dist-lib/components/ai-bot/ui/avatar/index.d.ts.map +1 -0
  337. package/dist-lib/components/ai-bot/ui/badge/Badge.vue.d.ts +20 -0
  338. package/dist-lib/components/ai-bot/ui/badge/Badge.vue.d.ts.map +1 -0
  339. package/dist-lib/components/ai-bot/ui/badge/index.d.ts +7 -0
  340. package/dist-lib/components/ai-bot/ui/badge/index.d.ts.map +1 -0
  341. package/dist-lib/components/ai-bot/ui/button/Button.vue.d.ts +23 -0
  342. package/dist-lib/components/ai-bot/ui/button/Button.vue.d.ts.map +1 -0
  343. package/dist-lib/components/ai-bot/ui/button/index.d.ts +8 -0
  344. package/dist-lib/components/ai-bot/ui/button/index.d.ts.map +1 -0
  345. package/dist-lib/components/ai-bot/ui/button-group/ButtonGroup.vue.d.ts +19 -0
  346. package/dist-lib/components/ai-bot/ui/button-group/ButtonGroup.vue.d.ts.map +1 -0
  347. package/dist-lib/components/ai-bot/ui/button-group/ButtonGroupSeparator.vue.d.ts +10 -0
  348. package/dist-lib/components/ai-bot/ui/button-group/ButtonGroupSeparator.vue.d.ts.map +1 -0
  349. package/dist-lib/components/ai-bot/ui/button-group/ButtonGroupText.vue.d.ts +22 -0
  350. package/dist-lib/components/ai-bot/ui/button-group/ButtonGroupText.vue.d.ts.map +1 -0
  351. package/dist-lib/components/ai-bot/ui/button-group/index.d.ts +9 -0
  352. package/dist-lib/components/ai-bot/ui/button-group/index.d.ts.map +1 -0
  353. package/dist-lib/components/ai-bot/ui/collapsible/Collapsible.vue.d.ts +20 -0
  354. package/dist-lib/components/ai-bot/ui/collapsible/Collapsible.vue.d.ts.map +1 -0
  355. package/dist-lib/components/ai-bot/ui/collapsible/CollapsibleContent.vue.d.ts +14 -0
  356. package/dist-lib/components/ai-bot/ui/collapsible/CollapsibleContent.vue.d.ts.map +1 -0
  357. package/dist-lib/components/ai-bot/ui/collapsible/CollapsibleTrigger.vue.d.ts +14 -0
  358. package/dist-lib/components/ai-bot/ui/collapsible/CollapsibleTrigger.vue.d.ts.map +1 -0
  359. package/dist-lib/components/ai-bot/ui/collapsible/index.d.ts +4 -0
  360. package/dist-lib/components/ai-bot/ui/collapsible/index.d.ts.map +1 -0
  361. package/dist-lib/components/ai-bot/ui/command/Command.vue.d.ts +36 -0
  362. package/dist-lib/components/ai-bot/ui/command/Command.vue.d.ts.map +1 -0
  363. package/dist-lib/components/ai-bot/ui/command/CommandDialog.vue.d.ts +28 -0
  364. package/dist-lib/components/ai-bot/ui/command/CommandDialog.vue.d.ts.map +1 -0
  365. package/dist-lib/components/ai-bot/ui/command/CommandEmpty.vue.d.ts +18 -0
  366. package/dist-lib/components/ai-bot/ui/command/CommandEmpty.vue.d.ts.map +1 -0
  367. package/dist-lib/components/ai-bot/ui/command/CommandGroup.vue.d.ts +19 -0
  368. package/dist-lib/components/ai-bot/ui/command/CommandGroup.vue.d.ts.map +1 -0
  369. package/dist-lib/components/ai-bot/ui/command/CommandInput.vue.d.ts +8 -0
  370. package/dist-lib/components/ai-bot/ui/command/CommandInput.vue.d.ts.map +1 -0
  371. package/dist-lib/components/ai-bot/ui/command/CommandItem.vue.d.ts +22 -0
  372. package/dist-lib/components/ai-bot/ui/command/CommandItem.vue.d.ts.map +1 -0
  373. package/dist-lib/components/ai-bot/ui/command/CommandList.vue.d.ts +18 -0
  374. package/dist-lib/components/ai-bot/ui/command/CommandList.vue.d.ts.map +1 -0
  375. package/dist-lib/components/ai-bot/ui/command/CommandSeparator.vue.d.ts +18 -0
  376. package/dist-lib/components/ai-bot/ui/command/CommandSeparator.vue.d.ts.map +1 -0
  377. package/dist-lib/components/ai-bot/ui/command/CommandShortcut.vue.d.ts +17 -0
  378. package/dist-lib/components/ai-bot/ui/command/CommandShortcut.vue.d.ts.map +1 -0
  379. package/dist-lib/components/ai-bot/ui/command/index.d.ts +91 -0
  380. package/dist-lib/components/ai-bot/ui/command/index.d.ts.map +1 -0
  381. package/dist-lib/components/ai-bot/ui/dialog/Dialog.vue.d.ts +21 -0
  382. package/dist-lib/components/ai-bot/ui/dialog/Dialog.vue.d.ts.map +1 -0
  383. package/dist-lib/components/ai-bot/ui/dialog/DialogClose.vue.d.ts +14 -0
  384. package/dist-lib/components/ai-bot/ui/dialog/DialogClose.vue.d.ts.map +1 -0
  385. package/dist-lib/components/ai-bot/ui/dialog/DialogContent.vue.d.ts +35 -0
  386. package/dist-lib/components/ai-bot/ui/dialog/DialogContent.vue.d.ts.map +1 -0
  387. package/dist-lib/components/ai-bot/ui/dialog/DialogDescription.vue.d.ts +18 -0
  388. package/dist-lib/components/ai-bot/ui/dialog/DialogDescription.vue.d.ts.map +1 -0
  389. package/dist-lib/components/ai-bot/ui/dialog/DialogFooter.vue.d.ts +20 -0
  390. package/dist-lib/components/ai-bot/ui/dialog/DialogFooter.vue.d.ts.map +1 -0
  391. package/dist-lib/components/ai-bot/ui/dialog/DialogHeader.vue.d.ts +17 -0
  392. package/dist-lib/components/ai-bot/ui/dialog/DialogHeader.vue.d.ts.map +1 -0
  393. package/dist-lib/components/ai-bot/ui/dialog/DialogOverlay.vue.d.ts +18 -0
  394. package/dist-lib/components/ai-bot/ui/dialog/DialogOverlay.vue.d.ts.map +1 -0
  395. package/dist-lib/components/ai-bot/ui/dialog/DialogScrollContent.vue.d.ts +32 -0
  396. package/dist-lib/components/ai-bot/ui/dialog/DialogScrollContent.vue.d.ts.map +1 -0
  397. package/dist-lib/components/ai-bot/ui/dialog/DialogTitle.vue.d.ts +18 -0
  398. package/dist-lib/components/ai-bot/ui/dialog/DialogTitle.vue.d.ts.map +1 -0
  399. package/dist-lib/components/ai-bot/ui/dialog/DialogTrigger.vue.d.ts +14 -0
  400. package/dist-lib/components/ai-bot/ui/dialog/DialogTrigger.vue.d.ts.map +1 -0
  401. package/dist-lib/components/ai-bot/ui/dialog/index.d.ts +11 -0
  402. package/dist-lib/components/ai-bot/ui/dialog/index.d.ts.map +1 -0
  403. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenu.vue.d.ts +20 -0
  404. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenu.vue.d.ts.map +1 -0
  405. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +26 -0
  406. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts.map +1 -0
  407. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +32 -0
  408. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuContent.vue.d.ts.map +1 -0
  409. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +14 -0
  410. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts.map +1 -0
  411. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +22 -0
  412. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuItem.vue.d.ts.map +1 -0
  413. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +19 -0
  414. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts.map +1 -0
  415. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +18 -0
  416. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts.map +1 -0
  417. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +24 -0
  418. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts.map +1 -0
  419. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +8 -0
  420. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts.map +1 -0
  421. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +17 -0
  422. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts.map +1 -0
  423. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +20 -0
  424. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuSub.vue.d.ts.map +1 -0
  425. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +34 -0
  426. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts.map +1 -0
  427. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +19 -0
  428. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts.map +1 -0
  429. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +14 -0
  430. package/dist-lib/components/ai-bot/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts.map +1 -0
  431. package/dist-lib/components/ai-bot/ui/dropdown-menu/index.d.ts +16 -0
  432. package/dist-lib/components/ai-bot/ui/dropdown-menu/index.d.ts.map +1 -0
  433. package/dist-lib/components/ai-bot/ui/hover-card/HoverCard.vue.d.ts +20 -0
  434. package/dist-lib/components/ai-bot/ui/hover-card/HoverCard.vue.d.ts.map +1 -0
  435. package/dist-lib/components/ai-bot/ui/hover-card/HoverCardContent.vue.d.ts +20 -0
  436. package/dist-lib/components/ai-bot/ui/hover-card/HoverCardContent.vue.d.ts.map +1 -0
  437. package/dist-lib/components/ai-bot/ui/hover-card/HoverCardTrigger.vue.d.ts +14 -0
  438. package/dist-lib/components/ai-bot/ui/hover-card/HoverCardTrigger.vue.d.ts.map +1 -0
  439. package/dist-lib/components/ai-bot/ui/hover-card/index.d.ts +4 -0
  440. package/dist-lib/components/ai-bot/ui/hover-card/index.d.ts.map +1 -0
  441. package/dist-lib/components/ai-bot/ui/input/Input.vue.d.ts +13 -0
  442. package/dist-lib/components/ai-bot/ui/input/Input.vue.d.ts.map +1 -0
  443. package/dist-lib/components/ai-bot/ui/input/index.d.ts +2 -0
  444. package/dist-lib/components/ai-bot/ui/input/index.d.ts.map +1 -0
  445. package/dist-lib/components/ai-bot/ui/input-group/InputGroup.vue.d.ts +17 -0
  446. package/dist-lib/components/ai-bot/ui/input-group/InputGroup.vue.d.ts.map +1 -0
  447. package/dist-lib/components/ai-bot/ui/input-group/InputGroupAddon.vue.d.ts +21 -0
  448. package/dist-lib/components/ai-bot/ui/input-group/InputGroupAddon.vue.d.ts.map +1 -0
  449. package/dist-lib/components/ai-bot/ui/input-group/InputGroupButton.vue.d.ts +24 -0
  450. package/dist-lib/components/ai-bot/ui/input-group/InputGroupButton.vue.d.ts.map +1 -0
  451. package/dist-lib/components/ai-bot/ui/input-group/InputGroupInput.vue.d.ts +7 -0
  452. package/dist-lib/components/ai-bot/ui/input-group/InputGroupInput.vue.d.ts.map +1 -0
  453. package/dist-lib/components/ai-bot/ui/input-group/InputGroupText.vue.d.ts +17 -0
  454. package/dist-lib/components/ai-bot/ui/input-group/InputGroupText.vue.d.ts.map +1 -0
  455. package/dist-lib/components/ai-bot/ui/input-group/InputGroupTextarea.vue.d.ts +7 -0
  456. package/dist-lib/components/ai-bot/ui/input-group/InputGroupTextarea.vue.d.ts.map +1 -0
  457. package/dist-lib/components/ai-bot/ui/input-group/index.d.ts +16 -0
  458. package/dist-lib/components/ai-bot/ui/input-group/index.d.ts.map +1 -0
  459. package/dist-lib/components/ai-bot/ui/scroll-area/ScrollArea.vue.d.ts +18 -0
  460. package/dist-lib/components/ai-bot/ui/scroll-area/ScrollArea.vue.d.ts.map +1 -0
  461. package/dist-lib/components/ai-bot/ui/scroll-area/ScrollBar.vue.d.ts +10 -0
  462. package/dist-lib/components/ai-bot/ui/scroll-area/ScrollBar.vue.d.ts.map +1 -0
  463. package/dist-lib/components/ai-bot/ui/scroll-area/index.d.ts +3 -0
  464. package/dist-lib/components/ai-bot/ui/scroll-area/index.d.ts.map +1 -0
  465. package/dist-lib/components/ai-bot/ui/select/Select.vue.d.ts +24 -0
  466. package/dist-lib/components/ai-bot/ui/select/Select.vue.d.ts.map +1 -0
  467. package/dist-lib/components/ai-bot/ui/select/SelectContent.vue.d.ts +28 -0
  468. package/dist-lib/components/ai-bot/ui/select/SelectContent.vue.d.ts.map +1 -0
  469. package/dist-lib/components/ai-bot/ui/select/SelectGroup.vue.d.ts +14 -0
  470. package/dist-lib/components/ai-bot/ui/select/SelectGroup.vue.d.ts.map +1 -0
  471. package/dist-lib/components/ai-bot/ui/select/SelectItem.vue.d.ts +20 -0
  472. package/dist-lib/components/ai-bot/ui/select/SelectItem.vue.d.ts.map +1 -0
  473. package/dist-lib/components/ai-bot/ui/select/SelectItemText.vue.d.ts +14 -0
  474. package/dist-lib/components/ai-bot/ui/select/SelectItemText.vue.d.ts.map +1 -0
  475. package/dist-lib/components/ai-bot/ui/select/SelectLabel.vue.d.ts +18 -0
  476. package/dist-lib/components/ai-bot/ui/select/SelectLabel.vue.d.ts.map +1 -0
  477. package/dist-lib/components/ai-bot/ui/select/SelectScrollDownButton.vue.d.ts +18 -0
  478. package/dist-lib/components/ai-bot/ui/select/SelectScrollDownButton.vue.d.ts.map +1 -0
  479. package/dist-lib/components/ai-bot/ui/select/SelectScrollUpButton.vue.d.ts +18 -0
  480. package/dist-lib/components/ai-bot/ui/select/SelectScrollUpButton.vue.d.ts.map +1 -0
  481. package/dist-lib/components/ai-bot/ui/select/SelectSeparator.vue.d.ts +8 -0
  482. package/dist-lib/components/ai-bot/ui/select/SelectSeparator.vue.d.ts.map +1 -0
  483. package/dist-lib/components/ai-bot/ui/select/SelectTrigger.vue.d.ts +21 -0
  484. package/dist-lib/components/ai-bot/ui/select/SelectTrigger.vue.d.ts.map +1 -0
  485. package/dist-lib/components/ai-bot/ui/select/SelectValue.vue.d.ts +14 -0
  486. package/dist-lib/components/ai-bot/ui/select/SelectValue.vue.d.ts.map +1 -0
  487. package/dist-lib/components/ai-bot/ui/select/index.d.ts +12 -0
  488. package/dist-lib/components/ai-bot/ui/select/index.d.ts.map +1 -0
  489. package/dist-lib/components/ai-bot/ui/separator/Separator.vue.d.ts +11 -0
  490. package/dist-lib/components/ai-bot/ui/separator/Separator.vue.d.ts.map +1 -0
  491. package/dist-lib/components/ai-bot/ui/separator/index.d.ts +2 -0
  492. package/dist-lib/components/ai-bot/ui/separator/index.d.ts.map +1 -0
  493. package/dist-lib/components/ai-bot/ui/tabs/Tabs.vue.d.ts +24 -0
  494. package/dist-lib/components/ai-bot/ui/tabs/Tabs.vue.d.ts.map +1 -0
  495. package/dist-lib/components/ai-bot/ui/tabs/TabsContent.vue.d.ts +18 -0
  496. package/dist-lib/components/ai-bot/ui/tabs/TabsContent.vue.d.ts.map +1 -0
  497. package/dist-lib/components/ai-bot/ui/tabs/TabsList.vue.d.ts +18 -0
  498. package/dist-lib/components/ai-bot/ui/tabs/TabsList.vue.d.ts.map +1 -0
  499. package/dist-lib/components/ai-bot/ui/tabs/TabsTrigger.vue.d.ts +18 -0
  500. package/dist-lib/components/ai-bot/ui/tabs/TabsTrigger.vue.d.ts.map +1 -0
  501. package/dist-lib/components/ai-bot/ui/tabs/index.d.ts +5 -0
  502. package/dist-lib/components/ai-bot/ui/tabs/index.d.ts.map +1 -0
  503. package/dist-lib/components/ai-bot/ui/textarea/Textarea.vue.d.ts +13 -0
  504. package/dist-lib/components/ai-bot/ui/textarea/Textarea.vue.d.ts.map +1 -0
  505. package/dist-lib/components/ai-bot/ui/textarea/index.d.ts +2 -0
  506. package/dist-lib/components/ai-bot/ui/textarea/index.d.ts.map +1 -0
  507. package/dist-lib/components/ai-bot/ui/tooltip/Tooltip.vue.d.ts +20 -0
  508. package/dist-lib/components/ai-bot/ui/tooltip/Tooltip.vue.d.ts.map +1 -0
  509. package/dist-lib/components/ai-bot/ui/tooltip/TooltipContent.vue.d.ts +26 -0
  510. package/dist-lib/components/ai-bot/ui/tooltip/TooltipContent.vue.d.ts.map +1 -0
  511. package/dist-lib/components/ai-bot/ui/tooltip/TooltipProvider.vue.d.ts +16 -0
  512. package/dist-lib/components/ai-bot/ui/tooltip/TooltipProvider.vue.d.ts.map +1 -0
  513. package/dist-lib/components/ai-bot/ui/tooltip/TooltipTrigger.vue.d.ts +14 -0
  514. package/dist-lib/components/ai-bot/ui/tooltip/TooltipTrigger.vue.d.ts.map +1 -0
  515. package/dist-lib/components/ai-bot/ui/tooltip/index.d.ts +5 -0
  516. package/dist-lib/components/ai-bot/ui/tooltip/index.d.ts.map +1 -0
  517. package/dist-lib/index.d.ts +3 -0
  518. package/dist-lib/index.d.ts.map +1 -0
  519. package/dist-lib/index.js +6 -0
  520. package/dist-lib/index.js.map +1 -0
  521. package/package.json +60 -0
@@ -0,0 +1,593 @@
1
+ import { defineComponent as Lt, ref as d, computed as Q, watch as V, onBeforeUnmount as At, onMounted as Ft, onUnmounted as Rt, openBlock as g, createElementBlock as w, normalizeClass as y, renderSlot as Je, createElementVNode as n, unref as h, toDisplayString as xe, createCommentVNode as ee, normalizeStyle as xt, withDirectives as Ht, mergeProps as kt, toHandlers as bt, createBlock as Nt, Teleport as _t, createVNode as Xt, Transition as Yt, withCtx as Vt, withModifiers as Zt, vShow as qt, nextTick as A } from "vue";
2
+ import { l as It, u as Ut, m as Wt, r as Mt, b as Gt, W as Kt, R as Jt, Y as Qt } from "./index-C6AmdgXa.js";
3
+ import { i as el } from "./safeRaf-BfLvr4ec.js";
4
+ var tl = Object.defineProperty, ll = Object.defineProperties, rl = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, nl = Object.prototype.hasOwnProperty, ol = Object.prototype.propertyIsEnumerable, Ct = (L, j, M) => j in L ? tl(L, j, { enumerable: !0, configurable: !0, writable: !0, value: M }) : L[j] = M, Qe = (L, j) => {
5
+ for (var M in j || (j = {})) nl.call(j, M) && Ct(L, M, j[M]);
6
+ if (Tt) for (var M of Tt(j)) ol.call(j, M) && Ct(L, M, j[M]);
7
+ return L;
8
+ }, D = (L, j, M) => new Promise((ke, o) => {
9
+ var re = (F) => {
10
+ try {
11
+ P(M.next(F));
12
+ } catch (ne) {
13
+ o(ne);
14
+ }
15
+ }, be = (F) => {
16
+ try {
17
+ P(M.throw(F));
18
+ } catch (ne) {
19
+ o(ne);
20
+ }
21
+ }, P = (F) => F.done ? ke(F.value) : Promise.resolve(F.value).then(re, be);
22
+ P((M = M.apply(L, j)).next());
23
+ });
24
+ const al = { key: 0 }, il = { key: 1, class: "flex items-center gap-x-2 overflow-hidden" }, ul = ["src"], sl = { key: 2 }, cl = { class: "flex items-center gap-x-1" }, dl = { class: "flex items-center gap-x-1" }, vl = { key: 4 }, ml = { key: 5, class: "flex items-center gap-x-1" }, fl = ["aria-pressed"], hl = { key: 0, xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "1em", height: "1em", viewBox: "0 0 24 24", class: "w-3 h-3" }, gl = { key: 1, xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "1em", height: "1em", viewBox: "0 0 24 24", class: "w-3 h-3" }, pl = ["disabled"], wl = ["disabled"], yl = { key: 0, xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "0.75rem", height: "0.75rem", viewBox: "0 0 24 24" }, xl = { key: 1, xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "0.75rem", height: "0.75rem", viewBox: "0 0 24 24" }, kl = { key: 1, class: "relative" }, bl = { key: 0, class: "absolute top-2 right-2 z-10 rounded-lg" }, Ml = { class: "flex items-center gap-2 backdrop-blur rounded-lg" }, Tl = { class: "markstream-vue" }, Cl = { class: "absolute top-6 right-6 z-50 flex items-center gap-2" }, et = /* @__PURE__ */ It(/* @__PURE__ */ Lt({ __name: "MermaidBlockNode", props: { node: {}, maxHeight: { default: "500px" }, loading: { type: Boolean, default: !0 }, isDark: { type: Boolean }, workerTimeoutMs: { default: 1400 }, parseTimeoutMs: { default: 1800 }, renderTimeoutMs: { default: 2500 }, fullRenderTimeoutMs: { default: 4e3 }, showHeader: { type: Boolean, default: !0 }, showModeToggle: { type: Boolean, default: !0 }, showCopyButton: { type: Boolean, default: !0 }, showExportButton: { type: Boolean, default: !0 }, showFullscreenButton: { type: Boolean, default: !0 }, showCollapseButton: { type: Boolean, default: !0 }, showZoomControls: { type: Boolean, default: !0 }, enableWheelZoom: { type: Boolean, default: !1 }, isStrict: { type: Boolean, default: !1 } }, emits: ["copy", "export", "openModal", "toggleMode"], setup(L, { emit: j }) {
25
+ var M, ke;
26
+ const o = L, re = j, be = { USE_PROFILES: { svg: !0 }, FORBID_TAGS: ["script"], FORBID_ATTR: [/^on/i], ADD_TAGS: ["style"], ADD_ATTR: ["style"], SAFE_FOR_TEMPLATES: !0 }, P = d(!1), F = Q(() => o.isStrict ? "strict" : "loose"), ne = Q(() => ({ startOnLoad: !1, securityLevel: F.value, dompurifyConfig: F.value === "strict" ? be : void 0, flowchart: F.value === "strict" ? { htmlLabels: !1 } : void 0 })), Dt = [/javascript:/i, /expression\s*\(/i, /url\s*\(\s*javascript:/i, /@import/i], Bt = /^(?:https?:|mailto:|tel:|#|\/|data:image\/(?:png|gif|jpe?g|webp);)/i;
27
+ function Et(t) {
28
+ if (!t) return "";
29
+ const e = t.trim();
30
+ return Bt.test(e) ? e : "";
31
+ }
32
+ function Me(t) {
33
+ if (t) try {
34
+ t.replaceChildren();
35
+ } catch {
36
+ t.innerHTML = "";
37
+ }
38
+ }
39
+ function oe(t, e) {
40
+ if (!t) return "";
41
+ if (F.value === "strict") return function(l, r) {
42
+ if (!l) return "";
43
+ try {
44
+ l.replaceChildren();
45
+ } catch {
46
+ l.innerHTML = "";
47
+ }
48
+ const c = function(a) {
49
+ if (typeof window > "u" || typeof DOMParser > "u" || !a) return null;
50
+ const s = a.replace(/["']\s*javascript:/gi, "#").replace(/\bjavascript:/gi, "#").replace(/["']\s*vbscript:/gi, "#").replace(/\bvbscript:/gi, "#").replace(/\bdata:text\/html/gi, "#"), i = new DOMParser().parseFromString(s, "image/svg+xml").documentElement;
51
+ if (!i || i.nodeName.toLowerCase() !== "svg") return null;
52
+ const m = i;
53
+ return function(v) {
54
+ const p = /* @__PURE__ */ new Set(["script"]), z = [v, ...Array.from(v.querySelectorAll("*"))];
55
+ for (const C of z) {
56
+ if (p.has(C.tagName.toLowerCase())) {
57
+ C.remove();
58
+ continue;
59
+ }
60
+ const Y = Array.from(C.attributes);
61
+ for (const N of Y) {
62
+ const b = N.name;
63
+ if (/^on/i.test(b)) C.removeAttribute(b);
64
+ else {
65
+ if (b === "style" && N.value) {
66
+ const k = N.value;
67
+ if (Dt.some((Ye) => Ye.test(k))) {
68
+ C.removeAttribute(b);
69
+ continue;
70
+ }
71
+ }
72
+ if ((b === "href" || b === "xlink:href") && N.value) {
73
+ const k = Et(N.value);
74
+ if (!k) {
75
+ C.removeAttribute(b);
76
+ continue;
77
+ }
78
+ k !== N.value && C.setAttribute(b, k);
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }(m), m;
84
+ }(r);
85
+ return c ? (l.appendChild(c), l.innerHTML) : "";
86
+ }(t, e);
87
+ try {
88
+ t.replaceChildren();
89
+ } catch {
90
+ t.innerHTML = "";
91
+ }
92
+ if (e) try {
93
+ t.insertAdjacentHTML("afterbegin", e);
94
+ } catch {
95
+ t.innerHTML = e;
96
+ }
97
+ return t.innerHTML;
98
+ }
99
+ const { t: f } = Ut();
100
+ function Te() {
101
+ return D(this, null, function* () {
102
+ try {
103
+ const t = yield Qt();
104
+ return P.value = !!t, t;
105
+ } catch (t) {
106
+ throw P.value = !1, t;
107
+ }
108
+ });
109
+ }
110
+ typeof window < "u" && D(null, null, function* () {
111
+ var t;
112
+ try {
113
+ const e = yield Te();
114
+ if (!e) return;
115
+ (t = e == null ? void 0 : e.initialize) == null || t.call(e, Qe({}, ne.value));
116
+ } catch (e) {
117
+ P.value = !1, console.warn("[markstream-vue] Failed to initialize mermaid renderer. Call enableMermaid() to configure a loader.", e);
118
+ }
119
+ });
120
+ const Ce = d(!1), Z = d(!1), q = d(), u = d(), ae = d(), De = d(null), St = Wt(), me = d(null), ie = d(typeof window > "u"), tt = d(), H = Q(() => o.node.code.replace(/\]::([^:])/g, "]:::$1").replace(/:::subgraphNode$/gm, "::subgraphNode")), x = d(1), O = d(0), $ = d(0), Be = d(!1), Ee = d({ x: 0, y: 0 }), E = d(!1), Se = d(!1), W = d(!1), je = d(null), Pe = d(0), Ve = d(!1);
121
+ let fe = null, he = null, ge = 0;
122
+ const lt = (M = globalThis.requestIdleCallback) != null ? M : (t, e) => setTimeout(() => t({ didTimeout: !0 }), 16), ue = /* @__PURE__ */ function() {
123
+ let t = null;
124
+ return (...e) => {
125
+ t && clearTimeout(t), t = setTimeout(() => (() => {
126
+ lt(() => {
127
+ wt();
128
+ }, { timeout: 500 });
129
+ })(...e), 300);
130
+ };
131
+ }();
132
+ function pe() {
133
+ he != null && (globalThis.clearTimeout(he), he = null);
134
+ }
135
+ function rt(t = 600) {
136
+ if (typeof globalThis > "u") return;
137
+ const e = Math.max(0, t);
138
+ pe(), he = globalThis.setTimeout(() => {
139
+ he = null, o.loading || W.value || !ie.value ? rt(Math.min(1200, Math.max(300, 1.2 * e))) : ue();
140
+ }, e);
141
+ }
142
+ const G = d("360px");
143
+ let se = null;
144
+ const B = d(!1), te = d(!1), K = d({}), nt = d(null), we = d(""), Ze = d(0);
145
+ let R = null;
146
+ const I = d(!1), le = d({ zoom: 1, translateX: 0, translateY: 0, containerHeight: "360px" }), ot = Q(() => o.enableWheelZoom ? { wheel: Pt } : {}), U = Q(() => {
147
+ var t, e, l, r;
148
+ return { worker: (t = o.workerTimeoutMs) != null ? t : 1400, parse: (e = o.parseTimeoutMs) != null ? e : 1800, render: (l = o.renderTimeoutMs) != null ? l : 2500, fullRender: (r = o.fullRenderTimeoutMs) != null ? r : 4e3 };
149
+ }), jt = (ke = globalThis.cancelIdleCallback) != null ? ke : (t) => clearTimeout(t);
150
+ let ce = null, Oe = null, de = !1, ye = 800, _ = null, $e = 0, qe = !0, ze = 0;
151
+ function Le(t, e) {
152
+ const l = e == null ? void 0 : e.timeoutMs, r = e == null ? void 0 : e.signal;
153
+ if (r != null && r.aborted) return Promise.reject(new DOMException("Aborted", "AbortError"));
154
+ let c = null, a = !1, s = null;
155
+ return new Promise((i, m) => {
156
+ const v = () => {
157
+ c != null && clearTimeout(c), s && r && r.removeEventListener("abort", s);
158
+ };
159
+ l && l > 0 && (c = globalThis.setTimeout(() => {
160
+ a || (a = !0, v(), m(new Error("Operation timed out")));
161
+ }, l)), r && (s = () => {
162
+ a || (a = !0, v(), m(new DOMException("Aborted", "AbortError")));
163
+ }, r.addEventListener("abort", s)), t().then((p) => {
164
+ a || (a = !0, v(), i(p));
165
+ }).catch((p) => {
166
+ a || (a = !0, v(), m(p));
167
+ });
168
+ });
169
+ }
170
+ function at(t) {
171
+ if (typeof document > "u" || !u.value) return;
172
+ const e = document.createElement("div");
173
+ e.className = "text-red-500 p-4", e.textContent = "Failed to render diagram: ";
174
+ const l = document.createElement("span");
175
+ l.textContent = t instanceof Error ? t.message : "Unknown error", e.appendChild(l), Me(u.value), u.value.appendChild(e), G.value = "360px", I.value = !0, X();
176
+ }
177
+ function it(t) {
178
+ return !t || t.disabled;
179
+ }
180
+ function S(t, e, l = "top") {
181
+ if (it(t.currentTarget)) return;
182
+ const r = t, c = (r == null ? void 0 : r.clientX) != null && (r == null ? void 0 : r.clientY) != null ? { x: r.clientX, y: r.clientY } : void 0;
183
+ Mt(t.currentTarget, e, l, !1, c, o.isDark);
184
+ }
185
+ function T() {
186
+ Gt();
187
+ }
188
+ function ut(t) {
189
+ if (it(t.currentTarget)) return;
190
+ const e = Ce.value ? f("common.copied") || "Copied" : f("common.copy") || "Copy", l = t, r = (l == null ? void 0 : l.clientX) != null && (l == null ? void 0 : l.clientY) != null ? { x: l.clientX, y: l.clientY } : void 0;
191
+ Mt(t.currentTarget, e, "top", !1, r, o.isDark);
192
+ }
193
+ function st(t, e) {
194
+ const l = `%%{init: {"theme": "${e === "dark" ? "dark" : "default"}"}}%%
195
+ `;
196
+ return t.trimStart().startsWith("%%{") ? t : l + t;
197
+ }
198
+ function ct() {
199
+ return qe && !E.value && !B.value && !I.value;
200
+ }
201
+ function dt(t) {
202
+ const e = t.split(/\r?\n/);
203
+ for (; e.length > 0; ) {
204
+ const l = e[e.length - 1].trimEnd();
205
+ if (l !== "") {
206
+ if (!(/^[-=~>|<\s]+$/.test(l.trim()) || /(?:--|==|~~|->|<-|-\||-\)|-x|o-|\|-|\.-)\s*$/.test(l) || /[-|><]$/.test(l) || /(?:graph|flowchart|sequenceDiagram|classDiagram|stateDiagram|erDiagram|gantt)\s*$/i.test(l))) break;
207
+ e.pop();
208
+ } else e.pop();
209
+ }
210
+ return e.join(`
211
+ `);
212
+ }
213
+ function Ae(t, e, l) {
214
+ return D(this, null, function* () {
215
+ var r;
216
+ try {
217
+ return yield Jt(t, e, (r = l == null ? void 0 : l.timeoutMs) != null ? r : U.value.worker);
218
+ } catch {
219
+ return yield function(a, s, i) {
220
+ return D(this, null, function* () {
221
+ var m, v;
222
+ const p = yield Te();
223
+ if (!p) return;
224
+ const z = p, C = st(a, s);
225
+ if (typeof z.parse == "function") return yield Le(() => z.parse(C), { timeoutMs: (m = i == null ? void 0 : i.timeoutMs) != null ? m : U.value.parse, signal: i == null ? void 0 : i.signal }), !0;
226
+ const Y = `mermaid-parse-${Math.random().toString(36).slice(2, 9)}`;
227
+ return yield Le(() => p.render(Y, C), { timeoutMs: (v = i == null ? void 0 : i.timeoutMs) != null ? v : U.value.render, signal: i == null ? void 0 : i.signal }), !0;
228
+ });
229
+ }(t, e, l);
230
+ }
231
+ });
232
+ }
233
+ typeof window < "u" && V(() => q.value, (t) => {
234
+ var e;
235
+ if ((e = me.value) == null || e.destroy(), me.value = null, !t) return void (ie.value = !1);
236
+ const l = St(t, { rootMargin: "400px" });
237
+ me.value = l, ie.value = l.isVisible.value, l.whenVisible.then(() => {
238
+ ie.value = !0;
239
+ });
240
+ }, { immediate: !0 }), At(() => {
241
+ var t;
242
+ (t = me.value) == null || t.destroy(), me.value = null;
243
+ });
244
+ const Fe = Q(() => E.value || W.value || Z.value);
245
+ function Ie(t) {
246
+ if (!q.value || !u.value) return;
247
+ const e = u.value.querySelector("svg");
248
+ if (!e) return;
249
+ let l = 0, r = 0;
250
+ const c = e.getAttribute("viewBox"), a = e.getAttribute("width"), s = e.getAttribute("height");
251
+ if (c) {
252
+ const i = c.split(" ");
253
+ i.length === 4 && (l = Number.parseFloat(i[2]), r = Number.parseFloat(i[3]));
254
+ }
255
+ if (l && r || a && s && (l = Number.parseFloat(a), r = Number.parseFloat(s)), Number.isNaN(l) || Number.isNaN(r) || l <= 0 || r <= 0) try {
256
+ const i = e.getBBox();
257
+ i && i.width > 0 && i.height > 0 && (l = i.width, r = i.height);
258
+ } catch (i) {
259
+ return void console.error("Failed to get SVG BBox:", i);
260
+ }
261
+ if (l > 0 && r > 0) {
262
+ const i = r / l;
263
+ let m = (t ?? q.value.clientWidth) * i;
264
+ m > r && (m = r), G.value = `${m}px`;
265
+ }
266
+ }
267
+ const J = d(!1), Ue = Q(() => ({ transform: `translate(${O.value}px, ${$.value}px) scale(${x.value})` }));
268
+ function vt(t) {
269
+ t.key === "Escape" && J.value && We();
270
+ }
271
+ function We() {
272
+ if (J.value = !1, ae.value && Me(ae.value), De.value = null, typeof document < "u") try {
273
+ document.body.style.overflow = "";
274
+ } catch {
275
+ }
276
+ if (typeof window < "u") try {
277
+ window.removeEventListener("keydown", vt);
278
+ } catch {
279
+ }
280
+ }
281
+ function mt() {
282
+ x.value < 3 && (x.value += 0.1);
283
+ }
284
+ function ft() {
285
+ x.value > 0.5 && (x.value -= 0.1);
286
+ }
287
+ function ht() {
288
+ x.value = 1, O.value = 0, $.value = 0;
289
+ }
290
+ function Re(t) {
291
+ Be.value = !0, t instanceof MouseEvent ? Ee.value = { x: t.clientX - O.value, y: t.clientY - $.value } : Ee.value = { x: t.touches[0].clientX - O.value, y: t.touches[0].clientY - $.value };
292
+ }
293
+ function He(t) {
294
+ if (!Be.value) return;
295
+ let e, l;
296
+ t instanceof MouseEvent ? (e = t.clientX, l = t.clientY) : (e = t.touches[0].clientX, l = t.touches[0].clientY), O.value = e - Ee.value.x, $.value = l - Ee.value.y;
297
+ }
298
+ function ve() {
299
+ Be.value = !1;
300
+ }
301
+ function Pt(t) {
302
+ if (o.enableWheelZoom && (t.ctrlKey || t.metaKey)) {
303
+ if (t.preventDefault(), !q.value) return;
304
+ const e = q.value.getBoundingClientRect(), l = t.clientX - e.left, r = t.clientY - e.top, c = l - e.width / 2, a = r - e.height / 2, s = (c - O.value) / x.value, i = (a - $.value) / x.value, m = 0.01, v = -t.deltaY * m, p = Math.min(Math.max(x.value + v, 0.5), 3);
305
+ p !== x.value && (O.value = c - s * p, $.value = a - i * p, x.value = p);
306
+ }
307
+ }
308
+ function Ot() {
309
+ return D(this, null, function* () {
310
+ try {
311
+ const t = H.value, e = { payload: { type: "copy", text: t }, defaultPrevented: !1, preventDefault() {
312
+ this.defaultPrevented = !0;
313
+ } };
314
+ if (re("copy", e), e.defaultPrevented) return;
315
+ typeof navigator < "u" && navigator.clipboard && typeof navigator.clipboard.writeText == "function" && (yield navigator.clipboard.writeText(t)), Ce.value = !0, setTimeout(() => {
316
+ Ce.value = !1;
317
+ }, 1e3);
318
+ } catch (t) {
319
+ console.error("Failed to copy:", t);
320
+ }
321
+ });
322
+ }
323
+ function $t() {
324
+ var t;
325
+ const e = (t = u.value) == null ? void 0 : t.querySelector("svg");
326
+ if (!e) return void console.error("SVG element not found");
327
+ const l = new XMLSerializer().serializeToString(e), r = { payload: { type: "export" }, defaultPrevented: !1, preventDefault() {
328
+ this.defaultPrevented = !0;
329
+ }, svgElement: e, svgString: l };
330
+ re("export", r), r.defaultPrevented || function(c, a = null) {
331
+ D(this, null, function* () {
332
+ try {
333
+ const s = a ?? new XMLSerializer().serializeToString(c), i = new Blob([s], { type: "image/svg+xml;charset=utf-8" }), m = URL.createObjectURL(i);
334
+ if (typeof document < "u") {
335
+ const v = document.createElement("a");
336
+ v.href = m, v.download = `mermaid-diagram-${Date.now()}.svg`;
337
+ try {
338
+ document.body.appendChild(v), v.click(), document.body.removeChild(v);
339
+ } catch {
340
+ }
341
+ URL.revokeObjectURL(m);
342
+ }
343
+ } catch (s) {
344
+ console.error("Failed to export SVG:", s);
345
+ }
346
+ });
347
+ }(e, l);
348
+ }
349
+ function zt() {
350
+ var t, e;
351
+ const l = (e = (t = u.value) == null ? void 0 : t.querySelector("svg")) != null ? e : null, r = l ? new XMLSerializer().serializeToString(l) : null, c = { payload: { type: "open-modal" }, defaultPrevented: !1, preventDefault() {
352
+ this.defaultPrevented = !0;
353
+ }, svgElement: l, svgString: r };
354
+ re("openModal", c), c.defaultPrevented || function() {
355
+ if (J.value = !0, typeof document < "u") try {
356
+ document.body.style.overflow = "hidden";
357
+ } catch {
358
+ }
359
+ if (typeof window < "u") try {
360
+ window.addEventListener("keydown", vt);
361
+ } catch {
362
+ }
363
+ A(() => {
364
+ if (q.value && ae.value) {
365
+ const a = q.value.cloneNode(!0);
366
+ a.classList.add("fullscreen");
367
+ const s = a.querySelector("[data-mermaid-wrapper]");
368
+ s && (De.value = s, s.style.transform = Ue.value.transform), Me(ae.value), ae.value.appendChild(a);
369
+ }
370
+ });
371
+ }();
372
+ }
373
+ function gt(t) {
374
+ const e = { payload: { type: "toggle-mode", target: t }, defaultPrevented: !1, preventDefault() {
375
+ this.defaultPrevented = !0;
376
+ } };
377
+ re("toggleMode", t, e), e.defaultPrevented || pt(t);
378
+ }
379
+ function pt(t) {
380
+ return D(this, null, function* () {
381
+ const e = tt.value;
382
+ if (!e) return Se.value = !0, void (E.value = t === "source");
383
+ const l = e.getBoundingClientRect().height;
384
+ e.style.height = `${l}px`, e.style.overflow = "hidden", Se.value = !0, E.value = t === "source", yield A();
385
+ const r = e.scrollHeight;
386
+ e.style.transition = "height 180ms ease", e.offsetHeight, e.style.height = `${r}px`;
387
+ const c = () => {
388
+ e.style.transition = "", e.style.height = "", e.style.overflow = "", e.removeEventListener("transitionend", a);
389
+ };
390
+ function a() {
391
+ c();
392
+ }
393
+ e.addEventListener("transitionend", a), setTimeout(() => c(), 220);
394
+ });
395
+ }
396
+ function Ne() {
397
+ return D(this, null, function* () {
398
+ return W.value ? je.value : u.value || (yield A(), u.value) ? (W.value = !0, je.value = D(null, null, function* () {
399
+ var t, e, l;
400
+ u.value && (u.value.style.opacity = "0");
401
+ try {
402
+ const r = yield Te();
403
+ if (!r) return;
404
+ const c = `mermaid-${Date.now()}-${Math.random().toString(36).substring(2, 11)}`;
405
+ B.value || te.value || (t = r.initialize) == null || t.call(r, (e = Qe({}, ne.value), l = { dompurifyConfig: Qe({}, be) }, ll(e, rl(l))));
406
+ const a = function(m, v = H.value) {
407
+ const p = v, z = `%%{init: {"theme": "${m === "dark" ? "dark" : "default"}"}}%%
408
+ `;
409
+ return p.trim().startsWith("%%{") ? p : z + p;
410
+ }(o.isDark ? "dark" : "light"), s = yield Le(() => r.render(c, a), { timeoutMs: U.value.fullRender }), i = s == null ? void 0 : s.svg;
411
+ if (u.value) {
412
+ const m = oe(u.value, i);
413
+ B.value || te.value || (Ie(), B.value = !0, le.value = { zoom: x.value, translateX: O.value, translateY: $.value, containerHeight: G.value });
414
+ const v = o.isDark ? "dark" : "light";
415
+ m && (K.value[v] = m), te.value && (te.value = !1), I.value = !1, ge = 0, pe();
416
+ }
417
+ } catch (r) {
418
+ const c = function(s) {
419
+ const i = typeof s == "string" ? s : typeof (s == null ? void 0 : s.message) == "string" ? s.message : "";
420
+ return typeof i == "string" && /timed out/i.test(i);
421
+ }(r), a = ge + 1;
422
+ c && a <= 3 ? (ge = a, rt(Math.min(1200, 600 * a))) : (ge = 0, pe(), console.error("Failed to render mermaid diagram:", r), o.loading === !1 && at(r));
423
+ } finally {
424
+ yield A(), u.value && (u.value.style.opacity = "1"), W.value = !1, je.value = null;
425
+ }
426
+ }), je.value) : void console.warn("Mermaid container not ready");
427
+ });
428
+ }
429
+ function wt() {
430
+ return D(this, null, function* () {
431
+ var t, e;
432
+ const l = Date.now(), r = ++Ze.value;
433
+ R && R.abort(), R = new AbortController();
434
+ const c = R.signal, a = o.isDark ? "dark" : "light", s = H.value, i = s.replace(/\s+/g, "");
435
+ if (!s.trim()) return u.value && Me(u.value), nt.value = null, we.value = "", void (I.value = !1);
436
+ if (i === we.value) return;
437
+ try {
438
+ const v = yield function(z, C, Y) {
439
+ return D(this, null, function* () {
440
+ var N;
441
+ try {
442
+ if (yield Ae(z, C, Y)) return { fullOk: !0, prefixOk: !1 };
443
+ } catch (k) {
444
+ if ((k == null ? void 0 : k.name) === "AbortError") throw k;
445
+ }
446
+ let b = dt(z);
447
+ if (b && b.trim() && b !== z) try {
448
+ try {
449
+ const k = yield Kt(z, C, (N = Y == null ? void 0 : Y.timeoutMs) != null ? N : U.value.worker);
450
+ k && k.trim() && (b = k);
451
+ } catch {
452
+ }
453
+ if (yield Ae(b, C, Y)) return { fullOk: !1, prefixOk: !0, prefix: b };
454
+ } catch (k) {
455
+ if ((k == null ? void 0 : k.name) === "AbortError") throw k;
456
+ }
457
+ return { fullOk: !1, prefixOk: !1 };
458
+ });
459
+ }(s, a, { signal: c, timeoutMs: U.value.worker });
460
+ if (v.fullOk) return yield Ne(), void (Ze.value === r && (nt.value = (e = (t = u.value) == null ? void 0 : t.innerHTML) != null ? e : null, we.value = i, I.value = !1));
461
+ const p = $e && l <= $e;
462
+ if (v.prefixOk && v.prefix && ct() && !p) return void (yield function(z) {
463
+ return D(this, null, function* () {
464
+ if (ct() && (u.value || (yield A(), u.value)) && !W.value) {
465
+ W.value = !0;
466
+ try {
467
+ const C = yield Te();
468
+ if (!C) return;
469
+ const Y = `mermaid-partial-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`, N = o.isDark ? "dark" : "light", b = dt(z), k = st(b && b.trim() ? b : z, N);
470
+ u.value && (u.value.style.opacity = "0");
471
+ const Ye = yield Le(() => C.render(Y, k), { timeoutMs: U.value.render }), yt = Ye == null ? void 0 : Ye.svg;
472
+ u.value && yt && (oe(u.value, yt), Ie());
473
+ } catch {
474
+ } finally {
475
+ yield A(), u.value && (u.value.style.opacity = "1"), W.value = !1;
476
+ }
477
+ }
478
+ });
479
+ }(v.prefix));
480
+ } catch (v) {
481
+ if ((v == null ? void 0 : v.name) === "AbortError") return;
482
+ }
483
+ if (Ze.value !== r || I.value) return;
484
+ const m = K.value[a];
485
+ m && u.value && oe(u.value, m);
486
+ });
487
+ }
488
+ function X() {
489
+ de && (de = !1, ye = 800, qe = !1, _ && (_.abort(), _ = null), ce && (globalThis.clearTimeout(ce), ce = null), Oe && (jt(Oe), Oe = null), $e = Date.now());
490
+ }
491
+ function _e() {
492
+ if (X(), R) {
493
+ try {
494
+ R.abort();
495
+ } catch {
496
+ }
497
+ R = null;
498
+ }
499
+ if (_) {
500
+ try {
501
+ _.abort();
502
+ } catch {
503
+ }
504
+ _ = null;
505
+ }
506
+ pe(), ge = 0;
507
+ }
508
+ function Ge(t = 800) {
509
+ de && (ze >= 12 ? X() : (ce && globalThis.clearTimeout(ce), ce = globalThis.setTimeout(() => {
510
+ Oe = lt(() => D(null, null, function* () {
511
+ if (!de) return;
512
+ if (E.value || B.value) return void X();
513
+ const e = o.isDark ? "dark" : "light", l = H.value;
514
+ if (!l.trim()) return o.loading === !1 ? void X() : void Ge(ye);
515
+ if (ze++, ze > 12) X();
516
+ else {
517
+ _ && _.abort(), _ = new AbortController();
518
+ try {
519
+ if ((yield Ae(l, e, { signal: _.signal, timeoutMs: U.value.worker })) && (yield Ne(), B.value)) return void X();
520
+ } catch {
521
+ }
522
+ ye = Math.min(Math.floor(1.5 * ye), 4e3), Ge(ye);
523
+ }
524
+ }), { timeout: 500 });
525
+ }, t)));
526
+ }
527
+ function Ke() {
528
+ de || E.value || B.value || (de = !0, $e = 0, qe = !0, ze = 0, Ge(500));
529
+ }
530
+ V(Ue, (t) => {
531
+ J.value && De.value && (De.value.style.transform = t.transform);
532
+ }, { immediate: !0 }), V(() => H.value, () => {
533
+ B.value = !1, K.value = {}, ue(), !E.value && P.value && Ke(), function() {
534
+ if (!E.value || !P.value) return;
535
+ const t = H.value.length;
536
+ t !== Pe.value && (Ve.value = !0, Pe.value = t, fe && clearTimeout(fe), fe = setTimeout(() => {
537
+ Ve.value && E.value && H.value.trim() && (Ve.value = !1, pt("preview"));
538
+ }, 500));
539
+ }();
540
+ }), V(() => o.isDark, () => D(null, null, function* () {
541
+ if (!B.value || I.value) return;
542
+ const t = o.isDark ? "dark" : "light", e = K.value[t];
543
+ if (e) return void (u.value && oe(u.value, e));
544
+ const l = { zoom: x.value, translateX: O.value, translateY: $.value, containerHeight: G.value }, r = x.value !== 1 || O.value !== 0 || $.value !== 0;
545
+ te.value = !0, r && (x.value = 1, O.value = 0, $.value = 0, yield A()), yield Ne(), r && (yield A(), x.value = l.zoom, O.value = l.translateX, $.value = l.translateY, G.value = l.containerHeight, le.value = l);
546
+ })), V(() => E.value, (t) => D(null, null, function* () {
547
+ if (t) X(), B.value && (le.value = { zoom: x.value, translateX: O.value, translateY: $.value, containerHeight: G.value });
548
+ else {
549
+ if (I.value) return;
550
+ const e = o.isDark ? "dark" : "light";
551
+ if (B.value && K.value[e]) return yield A(), u.value && oe(u.value, K.value[e]), x.value = le.value.zoom, O.value = le.value.translateX, $.value = le.value.translateY, void (G.value = le.value.containerHeight);
552
+ if (yield A(), !P.value) return;
553
+ yield wt(), Ke();
554
+ }
555
+ })), V(() => o.loading, (t, e) => D(null, null, function* () {
556
+ if (e === !0 && t === !1) {
557
+ const l = H.value.trim();
558
+ if (!l) return _e();
559
+ const r = o.isDark ? "dark" : "light", c = l.replace(/\s+/g, "");
560
+ if (B.value && c === we.value) return yield A(), u.value && !u.value.querySelector("svg") && K.value[r] && oe(u.value, K.value[r]), void _e();
561
+ try {
562
+ yield Ae(l, r, { timeoutMs: U.value.worker }), yield Ne(), we.value = c, I.value = !1, _e();
563
+ } catch (a) {
564
+ _e(), at(a);
565
+ }
566
+ }
567
+ })), V(q, (t) => {
568
+ se && se.disconnect(), !t || B.value || te.value || (se = new ResizeObserver((e) => {
569
+ e && e.length > 0 && !B.value && !te.value && el(() => {
570
+ Ie(e[0].contentRect.width);
571
+ });
572
+ }), se.observe(t));
573
+ }, { immediate: !0 }), Ft(() => D(null, null, function* () {
574
+ yield A(), Se.value || (E.value = !P.value), ie.value && (ue(), Pe.value = H.value.length);
575
+ })), V(() => P.value, (t) => {
576
+ Se.value || (E.value = !t);
577
+ }), V(() => ie.value, (t) => {
578
+ t && (B.value || (ue(), Pe.value = H.value.length), o.loading || B.value || ue());
579
+ }, { immediate: !1 }), Rt(() => {
580
+ fe && clearTimeout(fe), se && se.disconnect(), R && (R.abort(), R = null), X(), pe();
581
+ }), V(() => Z.value, (t) => D(null, null, function* () {
582
+ t ? (X(), R && R.abort()) : B.value || (yield A(), ue(), E.value || Ke());
583
+ }), { immediate: !1 });
584
+ const Xe = Q(() => o.isDark ? "mermaid-action-btn p-2 text-xs rounded text-gray-400 hover:bg-gray-700 hover:text-gray-200" : "mermaid-action-btn p-2 text-xs rounded text-gray-600 hover:bg-gray-200 hover:text-gray-700");
585
+ return (t, e) => (g(), w("div", { class: y(["my-4 rounded-lg border overflow-hidden shadow-sm", [o.isDark ? "border-gray-700/30" : "border-gray-200", { "is-rendering": o.loading }]]) }, [o.showHeader ? (g(), w("div", { key: 0, class: y(["mermaid-block-header flex justify-between items-center px-4 py-2.5 border-b", o.isDark ? "bg-gray-800 border-gray-700/30" : "bg-gray-50 border-gray-200"]) }, [t.$slots["header-left"] ? (g(), w("div", al, [Je(t.$slots, "header-left", {}, void 0, !0)])) : (g(), w("div", il, [n("img", { src: h("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%20width='16'%20height='16'%3e%3cpath%20fill='none'%20stroke='%23ca9ee6'%20stroke-linecap='round'%20stroke-linejoin='round'%20d='M1.5%202.5c0%206%202.25%205.75%204%207%20.83.67%201.17%202%201%204h3c-.17-2%20.17-3.33%201-4%201.75-1.25%204-1%204-7C12%202.5%2010%203%208%207%206%203%204%202.5%201.5%202.5'%20/%3e%3c/svg%3e"), class: "w-4 h-4 my-0", alt: "Mermaid" }, null, 8, ul), n("span", { class: y(["text-sm font-medium font-mono truncate", o.isDark ? "text-gray-400" : "text-gray-600"]) }, "Mermaid", 2)])), t.$slots["header-center"] ? (g(), w("div", sl, [Je(t.$slots, "header-center", {}, void 0, !0)])) : o.showModeToggle && P.value ? (g(), w("div", { key: 3, class: y(["flex items-center gap-x-1 rounded-md p-0.5", o.isDark ? "bg-gray-700" : "bg-gray-100"]) }, [n("button", { class: y(["px-2.5 py-1 text-xs rounded transition-colors", [E.value ? o.isDark ? "text-gray-400 hover:text-gray-200" : "text-gray-500 hover:text-gray-700" : o.isDark ? "bg-gray-600 text-gray-200 shadow-sm" : "bg-white text-gray-700 shadow-sm"]]), onClick: e[0] || (e[0] = () => gt("preview")), onMouseenter: e[1] || (e[1] = (l) => S(l, h(f)("common.preview") || "Preview")), onFocus: e[2] || (e[2] = (l) => S(l, h(f)("common.preview") || "Preview")), onMouseleave: T, onBlur: T }, [n("div", cl, [e[21] || (e[21] = n("svg", { xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "1em", height: "1em", viewBox: "0 0 24 24", class: "w-3 h-3" }, [n("g", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2" }, [n("path", { d: "M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0" }), n("circle", { cx: "12", cy: "12", r: "3" })])], -1)), n("span", null, xe(h(f)("common.preview") || "Preview"), 1)])], 34), n("button", { class: y(["px-2.5 py-1 text-xs rounded transition-colors", [E.value ? o.isDark ? "bg-gray-600 text-gray-200 shadow-sm" : "bg-white text-gray-700 shadow-sm" : o.isDark ? "text-gray-400 hover:text-gray-200" : "text-gray-500 hover:text-gray-700"]]), onClick: e[3] || (e[3] = () => gt("source")), onMouseenter: e[4] || (e[4] = (l) => S(l, h(f)("common.source") || "Source")), onFocus: e[5] || (e[5] = (l) => S(l, h(f)("common.source") || "Source")), onMouseleave: T, onBlur: T }, [n("div", dl, [e[22] || (e[22] = n("svg", { xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "1em", height: "1em", viewBox: "0 0 24 24", class: "w-3 h-3" }, [n("path", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "m16 18l6-6l-6-6M8 6l-6 6l6 6" })], -1)), n("span", null, xe(h(f)("common.source") || "Source"), 1)])], 34)], 2)) : ee("", !0), t.$slots["header-right"] ? (g(), w("div", vl, [Je(t.$slots, "header-right", {}, void 0, !0)])) : (g(), w("div", ml, [o.showCollapseButton ? (g(), w("button", { key: 0, class: y(Xe.value), "aria-pressed": Z.value, onClick: e[6] || (e[6] = (l) => Z.value = !Z.value), onMouseenter: e[7] || (e[7] = (l) => S(l, Z.value ? h(f)("common.expand") || "Expand" : h(f)("common.collapse") || "Collapse")), onFocus: e[8] || (e[8] = (l) => S(l, Z.value ? h(f)("common.expand") || "Expand" : h(f)("common.collapse") || "Collapse")), onMouseleave: T, onBlur: T }, [(g(), w("svg", { style: xt({ rotate: Z.value ? "0deg" : "90deg" }), xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "1em", height: "1em", viewBox: "0 0 24 24", class: "w-3 h-3" }, [...e[23] || (e[23] = [n("path", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "m9 18l6-6l-6-6" }, null, -1)])], 4))], 42, fl)) : ee("", !0), o.showCopyButton ? (g(), w("button", { key: 1, class: y(Xe.value), onClick: Ot, onMouseenter: e[9] || (e[9] = (l) => ut(l)), onFocus: e[10] || (e[10] = (l) => ut(l)), onMouseleave: T, onBlur: T }, [Ce.value ? (g(), w("svg", gl, [...e[25] || (e[25] = [n("path", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M20 6L9 17l-5-5" }, null, -1)])])) : (g(), w("svg", hl, [...e[24] || (e[24] = [n("g", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2" }, [n("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }), n("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })], -1)])]))], 34)) : ee("", !0), o.showExportButton && P.value ? (g(), w("button", { key: 2, class: y(`${Xe.value} ${Fe.value ? "opacity-50 cursor-not-allowed" : ""}`), disabled: Fe.value, onClick: $t, onMouseenter: e[11] || (e[11] = (l) => S(l, h(f)("common.export") || "Export")), onFocus: e[12] || (e[12] = (l) => S(l, h(f)("common.export") || "Export")), onMouseleave: T, onBlur: T }, [...e[26] || (e[26] = [n("svg", { xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "1em", height: "1em", viewBox: "0 0 24 24", class: "w-3 h-3" }, [n("g", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2" }, [n("path", { d: "M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }), n("path", { d: "m7 10l5 5l5-5" })])], -1)])], 42, pl)) : ee("", !0), o.showFullscreenButton && P.value ? (g(), w("button", { key: 3, class: y(`${Xe.value} ${Fe.value ? "opacity-50 cursor-not-allowed" : ""}`), disabled: Fe.value, onClick: zt, onMouseenter: e[13] || (e[13] = (l) => S(l, J.value ? h(f)("common.minimize") || "Minimize" : h(f)("common.open") || "Open")), onFocus: e[14] || (e[14] = (l) => S(l, J.value ? h(f)("common.minimize") || "Minimize" : h(f)("common.open") || "Open")), onMouseleave: T, onBlur: T }, [J.value ? (g(), w("svg", xl, [...e[28] || (e[28] = [n("path", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "m14 10l7-7m-1 7h-6V4M3 21l7-7m-6 0h6v6" }, null, -1)])])) : (g(), w("svg", yl, [...e[27] || (e[27] = [n("path", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M15 3h6v6m0-6l-7 7M3 21l7-7m-1 7H3v-6" }, null, -1)])]))], 42, wl)) : ee("", !0)]))], 2)) : ee("", !0), Ht(n("div", { ref_key: "modeContainerRef", ref: tt }, [E.value ? (g(), w("div", { key: 0, class: y(["p-4", o.isDark ? "bg-gray-900" : "bg-gray-50"]) }, [n("pre", { class: y(["text-sm font-mono whitespace-pre-wrap", o.isDark ? "text-gray-300" : "text-gray-700"]) }, xe(H.value), 3)], 2)) : (g(), w("div", kl, [o.showZoomControls ? (g(), w("div", bl, [n("div", Ml, [n("button", { class: y(["p-2 text-xs rounded transition-colors", [o.isDark ? "text-gray-400 hover:bg-gray-700" : "text-gray-600 hover:bg-gray-200"]]), onClick: mt, onMouseenter: e[15] || (e[15] = (l) => S(l, h(f)("common.zoomIn") || "Zoom in")), onFocus: e[16] || (e[16] = (l) => S(l, h(f)("common.zoomIn") || "Zoom in")), onMouseleave: T, onBlur: T }, [...e[29] || (e[29] = [n("svg", { xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "1em", height: "1em", viewBox: "0 0 24 24", class: "w-3 h-3" }, [n("g", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2" }, [n("circle", { cx: "11", cy: "11", r: "8" }), n("path", { d: "m21 21l-4.35-4.35M11 8v6m-3-3h6" })])], -1)])], 34), n("button", { class: y(["p-2 text-xs rounded transition-colors", [o.isDark ? "text-gray-400 hover:bg-gray-700" : "text-gray-600 hover:bg-gray-200"]]), onClick: ft, onMouseenter: e[17] || (e[17] = (l) => S(l, h(f)("common.zoomOut") || "Zoom out")), onFocus: e[18] || (e[18] = (l) => S(l, h(f)("common.zoomOut") || "Zoom out")), onMouseleave: T, onBlur: T }, [...e[30] || (e[30] = [n("svg", { xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "1em", height: "1em", viewBox: "0 0 24 24", class: "w-3 h-3" }, [n("g", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2" }, [n("circle", { cx: "11", cy: "11", r: "8" }), n("path", { d: "m21 21l-4.35-4.35M8 11h6" })])], -1)])], 34), n("button", { class: y(["p-2 text-xs rounded transition-colors", [o.isDark ? "text-gray-400 hover:bg-gray-700" : "text-gray-600 hover:bg-gray-200"]]), onClick: ht, onMouseenter: e[19] || (e[19] = (l) => S(l, h(f)("common.resetZoom") || "Reset zoom")), onFocus: e[20] || (e[20] = (l) => S(l, h(f)("common.resetZoom") || "Reset zoom")), onMouseleave: T, onBlur: T }, xe(Math.round(100 * x.value)) + "% ", 35)])])) : ee("", !0), n("div", kt({ ref_key: "mermaidContainer", ref: q, class: ["min-h-[360px] relative transition-all duration-100 overflow-hidden block", o.isDark ? "bg-gray-900" : "bg-gray-50"], style: { height: G.value } }, bt(ot.value, !0), { onMousedown: Re, onMousemove: He, onMouseup: ve, onMouseleave: ve, onTouchstartPassive: Re, onTouchmovePassive: He, onTouchendPassive: ve }), [n("div", { "data-mermaid-wrapper": "", class: y(["absolute inset-0 cursor-grab", { "cursor-grabbing": Be.value }]), style: xt(Ue.value) }, [n("div", { ref_key: "mermaidContent", ref: u, class: "_mermaid w-full text-center flex items-center justify-center min-h-full" }, null, 512)], 6)], 16), (g(), Nt(_t, { to: "body" }, [n("div", Tl, [Xt(Yt, { name: "mermaid-dialog", appear: "" }, { default: Vt(() => [J.value ? (g(), w("div", { key: 0, class: "fixed inset-0 z-50 flex items-center justify-center bg-black/70 p-4", onClick: Zt(We, ["self"]) }, [n("div", { class: y(["dialog-panel relative w-full h-full max-w-full max-h-full rounded shadow-lg overflow-hidden", o.isDark ? "bg-gray-900" : "bg-white"]) }, [n("div", Cl, [n("button", { class: y(["p-2 text-xs rounded transition-colors", [o.isDark ? "text-gray-400 hover:bg-gray-700" : "text-gray-600 hover:bg-gray-200"]]), onClick: mt }, [...e[31] || (e[31] = [n("svg", { xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "1em", height: "1em", viewBox: "0 0 24 24", class: "w-3 h-3" }, [n("g", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2" }, [n("circle", { cx: "11", cy: "11", r: "8" }), n("path", { d: "m21 21l-4.35-4.35M11 8v6m-3-3h6" })])], -1)])], 2), n("button", { class: y(["p-2 text-xs rounded transition-colors", [o.isDark ? "text-gray-400 hover:bg-gray-700" : "text-gray-600 hover:bg-gray-200"]]), onClick: ft }, [...e[32] || (e[32] = [n("svg", { xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "1em", height: "1em", viewBox: "0 0 24 24", class: "w-3 h-3" }, [n("g", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2" }, [n("circle", { cx: "11", cy: "11", r: "8" }), n("path", { d: "m21 21l-4.35-4.35M8 11h6" })])], -1)])], 2), n("button", { class: y(["p-2 text-xs rounded transition-colors", [o.isDark ? "text-gray-400 hover:bg-gray-700" : "text-gray-600 hover:bg-gray-200"]]), onClick: ht }, xe(Math.round(100 * x.value)) + "% ", 3), n("button", { class: y(["inline-flex items-center justify-center p-2 rounded transition-colors", [o.isDark ? "text-gray-400 hover:bg-gray-700" : "text-gray-600 hover:bg-gray-200"]]), onClick: We }, [...e[33] || (e[33] = [n("svg", { xmlns: "http://www.w3.org/2000/svg", "xmlns:xlink": "http://www.w3.org/1999/xlink", "aria-hidden": "true", role: "img", width: "1em", height: "1em", viewBox: "0 0 24 24", class: "w-3 h-3" }, [n("path", { fill: "none", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M18 6L6 18M6 6l12 12" })], -1)])], 2)]), n("div", kt({ ref_key: "modalContent", ref: ae, class: "w-full h-full flex items-center justify-center p-4 overflow-hidden" }, bt(ot.value, !0), { onMousedown: Re, onMousemove: He, onMouseup: ve, onMouseleave: ve, onTouchstartPassive: Re, onTouchmovePassive: He, onTouchendPassive: ve }), null, 16)], 2)])) : ee("", !0)]), _: 1 })])]))]))], 512), [[qt, !Z.value]])], 2));
586
+ } }), [["__scopeId", "data-v-2ff46cc8"]]);
587
+ et.install = (L) => {
588
+ L.component(et.__name, et);
589
+ };
590
+ export {
591
+ et as default
592
+ };
593
+ //# sourceMappingURL=index5-V5z7JyjJ.js.map