@vunk/plus 1.10.1 → 1.10.2

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 (296) hide show
  1. package/components/bubble-list/index.css +0 -22
  2. package/components/bubble-list/index.mjs +413 -9
  3. package/components/drawer/index.mjs +1 -1
  4. package/components/index3.mjs +20 -79450
  5. package/components/xgplayer/index.mjs +2 -16357
  6. package/index.css +0 -22
  7. package/package.json +1 -1
  8. package/components/_baseUniq-BXtq6_NW.mjs +0 -239
  9. package/components/abap-B7h4dtBh.mjs +0 -6
  10. package/components/actionscript-3-Bmm7RA3Y.mjs +0 -6
  11. package/components/ada-BZS802Se.mjs +0 -6
  12. package/components/andromeeda-CrngpmZk.mjs +0 -3
  13. package/components/apache-D4roVlsU.mjs +0 -6
  14. package/components/apex-D6mfw0H5.mjs +0 -6
  15. package/components/apl-DDK-VObo.mjs +0 -18
  16. package/components/applescript-C43Knf0G.mjs +0 -6
  17. package/components/ara-DRBH84ND.mjs +0 -6
  18. package/components/arc-Js_tyW10.mjs +0 -131
  19. package/components/architecture-O4VJ6CD3-ZoZ2IAk2.mjs +0 -15
  20. package/components/architectureDiagram-SUXI7LT5-kyYGGrHN.mjs +0 -8678
  21. package/components/asm-3tg4MVib.mjs +0 -6
  22. package/components/astro-v4FYbRud.mjs +0 -19
  23. package/components/aurora-x-wJ4-eM2h.mjs +0 -3
  24. package/components/awk-ChreaG-G.mjs +0 -6
  25. package/components/ayu-dark-BEKp3oqs.mjs +0 -3
  26. package/components/ballerina-B0yt0TYU.mjs +0 -6
  27. package/components/batch-Ce_EX3Sx.mjs +0 -14
  28. package/components/beancount-BRIsdQEB.mjs +0 -6
  29. package/components/berry-Brv4WWdL.mjs +0 -14
  30. package/components/bibtex-BLeFwAes.mjs +0 -6
  31. package/components/bicep-BVrgfErX.mjs +0 -6
  32. package/components/blade-By3Sw_Ex.mjs +0 -22
  33. package/components/blockDiagram-6J76NXCF-IAr4zDV3.mjs +0 -3610
  34. package/components/c-C4VtT7JA.mjs +0 -6
  35. package/components/c4Diagram-6F6E4RAY-Dv27rXcJ.mjs +0 -2492
  36. package/components/catppuccin-frappe-zLMNRRUx.mjs +0 -3
  37. package/components/catppuccin-latte-CdF5jC3c.mjs +0 -3
  38. package/components/catppuccin-macchiato-DyjXeyRt.mjs +0 -3
  39. package/components/catppuccin-mocha-66IdYxR8.mjs +0 -3
  40. package/components/cdc-30ktANo3.mjs +0 -14
  41. package/components/channel-BBZy6zOT.mjs +0 -7
  42. package/components/chunk-353BL4L5-Dn_Y_Yna.mjs +0 -17
  43. package/components/chunk-67H74DCK-Br5U8bfD.mjs +0 -102
  44. package/components/chunk-AACKK3MU-DH_MKxca.mjs +0 -17
  45. package/components/chunk-BFAMUDN2-DHLCoYMN.mjs +0 -13
  46. package/components/chunk-E2GYISFI-DQPHyyga.mjs +0 -19
  47. package/components/chunk-OW32GOEJ-CQOSE6Bn.mjs +0 -1924
  48. package/components/chunk-SKB7J2MH-BlwHRDiW.mjs +0 -25
  49. package/components/chunk-SZ463SBG-DEp8buKJ.mjs +0 -1823
  50. package/components/clarity-6uBl6Vpb.mjs +0 -6
  51. package/components/classDiagram-M3E45YP4-D0ySDe-v.mjs +0 -32
  52. package/components/classDiagram-v2-YAWTLIQI-D0ySDe-v.mjs +0 -32
  53. package/components/clojure-COBRmwo8.mjs +0 -14
  54. package/components/clone-CEJtuQzg.mjs +0 -8
  55. package/components/cmake-CDfQILeU.mjs +0 -6
  56. package/components/cobol-BOOIiISO.mjs +0 -13
  57. package/components/coffee-DO_RGoZp.mjs +0 -9
  58. package/components/cpp-DAK8ktHO.mjs +0 -25
  59. package/components/crystal-CBGbbyVp.mjs +0 -19
  60. package/components/cs-h3ksD6-P.mjs +0 -14
  61. package/components/css-BtVcDqlU.mjs +0 -6
  62. package/components/cue-BFSVLV6N.mjs +0 -6
  63. package/components/cypher-Dl2CXoXF.mjs +0 -14
  64. package/components/cytoscape.esm-BojS1z60.mjs +0 -30216
  65. package/components/d-9qSZPw74.mjs +0 -6
  66. package/components/dagre-JOIXM2OF-5zx0JY2T.mjs +0 -707
  67. package/components/dark-plus-DmZ1Dzd4.mjs +0 -3
  68. package/components/dart-CCSsOg9l.mjs +0 -6
  69. package/components/dax-CvsmLV-B.mjs +0 -6
  70. package/components/defaultLocale-DVr69WTU.mjs +0 -202
  71. package/components/diagram-5UYTHUR4-C19nyAKc.mjs +0 -215
  72. package/components/diagram-VMROVX33-DkGwo-hj.mjs +0 -861
  73. package/components/diagram-ZTM2IBQH-CBgHCu9L.mjs +0 -317
  74. package/components/diff-BEdzuHlE.mjs +0 -6
  75. package/components/dockerfile-B3DP334t.mjs +0 -14
  76. package/components/dracula-B8-AVrwI.mjs +0 -3
  77. package/components/dracula-soft-BHeefow7.mjs +0 -3
  78. package/components/dream-maker-CNLQpoF-.mjs +0 -6
  79. package/components/elixir-0rTCSSfp.mjs +0 -11
  80. package/components/elm-BhwiZPvf.mjs +0 -10
  81. package/components/erDiagram-3M52JZNH-cttdAJXW.mjs +0 -1169
  82. package/components/erb-Lra8TlYM.mjs +0 -27
  83. package/components/erlang-D2NNgvtR.mjs +0 -17
  84. package/components/everforest-dark-Cg1xdODP.mjs +0 -3
  85. package/components/everforest-light-BmTD3bxe.mjs +0 -3
  86. package/components/fish-BU5HSdZy.mjs +0 -6
  87. package/components/flowDiagram-KYDEHFYC-9HpsqDdB.mjs +0 -2345
  88. package/components/fs-CdBSddpF.mjs +0 -17
  89. package/components/ganttDiagram-EK5VF46D-8QB3ofs6.mjs +0 -3497
  90. package/components/gdresource-CAbkn6H_.mjs +0 -11
  91. package/components/gdscript-Be_cubqt.mjs +0 -6
  92. package/components/gdshader-BEzE4j_3.mjs +0 -6
  93. package/components/gherkin-xCNF9gh8.mjs +0 -6
  94. package/components/git-commit-PP9xCApN.mjs +0 -9
  95. package/components/git-rebase-DqdGofLo.mjs +0 -9
  96. package/components/gitGraph-ZV4HHKMB-BSmtVGRu.mjs +0 -15
  97. package/components/gitGraphDiagram-GW3U2K7C-DNzc0Vx_.mjs +0 -1227
  98. package/components/github-dark-O22yVQaY.mjs +0 -3
  99. package/components/github-dark-default-DB2Hkvqn.mjs +0 -3
  100. package/components/github-dark-dimmed-CMZ_OfqC.mjs +0 -3
  101. package/components/github-dark-high-contrast-DmxWVmCU.mjs +0 -3
  102. package/components/github-light-BTbR9xVK.mjs +0 -3
  103. package/components/github-light-default-DWEonwFe.mjs +0 -3
  104. package/components/github-light-high-contrast-WJ_cPDts.mjs +0 -3
  105. package/components/glimmer-js-BkPYTyD4.mjs +0 -23
  106. package/components/glsl-CGsiYPcu.mjs +0 -9
  107. package/components/gnuplot-tV8vezdE.mjs +0 -6
  108. package/components/go-CBmVHZBz.mjs +0 -6
  109. package/components/graph-3zJxsO-i.mjs +0 -425
  110. package/components/graphql-D4pgneW3.mjs +0 -15
  111. package/components/groovy-Bn4MhXgW.mjs +0 -6
  112. package/components/gruvbox-dark-hard-C89wZ4s3.mjs +0 -3
  113. package/components/gruvbox-dark-medium-swz85q_b.mjs +0 -3
  114. package/components/gruvbox-dark-soft-BYHBHQJW.mjs +0 -3
  115. package/components/gruvbox-light-hard-DEF_ZxYZ.mjs +0 -3
  116. package/components/gruvbox-light-medium-ziUMnHJx.mjs +0 -3
  117. package/components/gruvbox-light-soft-Cuwp0tsB.mjs +0 -3
  118. package/components/gts-d3WsqAZM.mjs +0 -23
  119. package/components/hack-CwaBuF5l.mjs +0 -13
  120. package/components/haml-gLijj4rW.mjs +0 -11
  121. package/components/hbs-CFi5SpI3.mjs +0 -23
  122. package/components/hcl-axoq0Ycu.mjs +0 -6
  123. package/components/hjson-I7LcauIB.mjs +0 -6
  124. package/components/hlsl-TRzjajlb.mjs +0 -6
  125. package/components/houston-CF_ws8Cq.mjs +0 -3
  126. package/components/hs-DXSGqUFF.mjs +0 -14
  127. package/components/html-CLq-n30c.mjs +0 -11
  128. package/components/html-derivative-C8POX8SL.mjs +0 -9
  129. package/components/http-BYUKZ6kX.mjs +0 -20
  130. package/components/imba-C4923lSV.mjs +0 -6
  131. package/components/index4.mjs +0 -78
  132. package/components/info-63CPKGFF-C8sYWczU.mjs +0 -15
  133. package/components/infoDiagram-LHK5PUON-C-vFFPTf.mjs +0 -44
  134. package/components/init-ZxktEp_H.mjs +0 -15
  135. package/components/java-BfXh-0uJ.mjs +0 -6
  136. package/components/jinja-html-BmW4v_vu.mjs +0 -11
  137. package/components/jison-C9kAT_Oj.mjs +0 -9
  138. package/components/journeyDiagram-EWQZEKCU-BJrw4-AG.mjs +0 -1264
  139. package/components/js-CN_xSsjU.mjs +0 -14
  140. package/components/json-TjWBGEk1.mjs +0 -6
  141. package/components/json5-DCGCKrmX.mjs +0 -6
  142. package/components/jsonc-DLVLp8id.mjs +0 -6
  143. package/components/jsonl-B-R_pDGg.mjs +0 -6
  144. package/components/jsonnet-Cs8BnnC6.mjs +0 -6
  145. package/components/jssm-D_YBQ_cM.mjs +0 -14
  146. package/components/jsx-BPmvoin2.mjs +0 -6
  147. package/components/julia-C-JjBobP.mjs +0 -19
  148. package/components/kanagawa-dragon-DU8n2NNT.mjs +0 -3
  149. package/components/kanagawa-lotus-Byd0CDet.mjs +0 -3
  150. package/components/kanagawa-wave-DExoagcR.mjs +0 -3
  151. package/components/kanban-definition-ZSS6B67P-BptAnqU-.mjs +0 -1059
  152. package/components/kotlin-BM2ZNTMh.mjs +0 -6
  153. package/components/kusto-D9MF7CZf.mjs +0 -14
  154. package/components/laserwave-DF03wMlf.mjs +0 -3
  155. package/components/latex-BsqkLZB_.mjs +0 -10
  156. package/components/layout-sGZIJplX.mjs +0 -2043
  157. package/components/less-BAzLMJNR.mjs +0 -6
  158. package/components/light-plus-DS08Xg5J.mjs +0 -3
  159. package/components/linear-DqgVh5FN.mjs +0 -336
  160. package/components/liquid-f2VHt0dg.mjs +0 -15
  161. package/components/lisp-DAq1kaby.mjs +0 -6
  162. package/components/logo-D9l7oEJ8.mjs +0 -6
  163. package/components/lua-CH3ttzl_.mjs +0 -9
  164. package/components/makefile-D2qLe7q0.mjs +0 -14
  165. package/components/marko-DwRyI_--.mjs +0 -15
  166. package/components/material-theme-B8B2U48Q.mjs +0 -3
  167. package/components/material-theme-darker-BV0iY_T3.mjs +0 -3
  168. package/components/material-theme-lighter-DrzybSTF.mjs +0 -3
  169. package/components/material-theme-ocean-BRPLVReX.mjs +0 -3
  170. package/components/material-theme-palenight-DSJwsR_D.mjs +0 -3
  171. package/components/matlab-7XHduepk.mjs +0 -6
  172. package/components/md-BIvDPr-W.mjs +0 -14
  173. package/components/mdc-Rx6hWSHn.mjs +0 -16
  174. package/components/mdx-D5wExp-O.mjs +0 -6
  175. package/components/mermaid-CUjtoYEe.mjs +0 -6
  176. package/components/mermaid-parser.core-CH9ryA1K.mjs +0 -16987
  177. package/components/mermaid.core-CAqkCmS1.mjs +0 -20977
  178. package/components/min-BngCxx8g.mjs +0 -109
  179. package/components/min-dark-BNaN9fWk.mjs +0 -3
  180. package/components/min-light-CMrjentn.mjs +0 -3
  181. package/components/mindmap-definition-6CBA2TL7-Cp_EeEsh.mjs +0 -5856
  182. package/components/mojo-CrbF881p.mjs +0 -6
  183. package/components/monokai-DelygWXa.mjs +0 -3
  184. package/components/narrat-DOwkIbBe.mjs +0 -14
  185. package/components/nf-DHfvJ2gH.mjs +0 -14
  186. package/components/nginx-B_jWsywZ.mjs +0 -10
  187. package/components/night-owl-DSS199ra.mjs +0 -3
  188. package/components/nim-yzbnZKJd.mjs +0 -22
  189. package/components/nix--3K2gyjg.mjs +0 -6
  190. package/components/nord-CvDbBq5M.mjs +0 -3
  191. package/components/objective-c-DkOBZg1J.mjs +0 -14
  192. package/components/objective-cpp-DEoN9Fe5.mjs +0 -6
  193. package/components/ocaml-B1kfGk9Y.mjs +0 -6
  194. package/components/one-dark-pro-CsMf0BoJ.mjs +0 -3
  195. package/components/one-light-BwwAsfsj.mjs +0 -3
  196. package/components/ordinal-DSZU4PqD.mjs +0 -76
  197. package/components/packet-HUATNLJX-bfFWFja0.mjs +0 -15
  198. package/components/pascal-CU8Kjkr_.mjs +0 -6
  199. package/components/perl-FH6su6vZ.mjs +0 -18
  200. package/components/php-Dnl1TfYH.mjs +0 -20
  201. package/components/pie-WTHONI2E-QPrWs3SR.mjs +0 -15
  202. package/components/pieDiagram-NIOCPIFQ-C46Y_4C6.mjs +0 -250
  203. package/components/plastic-BjwMpBc0.mjs +0 -3
  204. package/components/plsql-B3Na24V4.mjs +0 -6
  205. package/components/poimandres-ChWyhPrn.mjs +0 -3
  206. package/components/postcss-kj1IbjVd.mjs +0 -6
  207. package/components/powerquery-B-e1fO-k.mjs +0 -6
  208. package/components/prisma-bmxcSDxq.mjs +0 -6
  209. package/components/prolog-BT9GCzqD.mjs +0 -6
  210. package/components/properties-D6yKO1eW.mjs +0 -14
  211. package/components/proto-BIXM0k1a.mjs +0 -6
  212. package/components/ps1-aFyNx8UH.mjs +0 -18
  213. package/components/pug-BrOx0bSt.mjs +0 -21
  214. package/components/puppet-N15G4Usj.mjs +0 -6
  215. package/components/purescript-DrwsEYNH.mjs +0 -6
  216. package/components/python-D2s92fRP.mjs +0 -14
  217. package/components/ql-DTm-NCRo.mjs +0 -14
  218. package/components/quadrantDiagram-2OG54O6I-Dgf6d6F_.mjs +0 -1349
  219. package/components/r-oprfD2-9.mjs +0 -6
  220. package/components/radar-NJJJXTRR-BnUCJhQL.mjs +0 -15
  221. package/components/raku-xArQd_rF.mjs +0 -14
  222. package/components/razor-BoXCAbWQ.mjs +0 -13
  223. package/components/red-DByOl5N0.mjs +0 -3
  224. package/components/reg-CULnG2WX.mjs +0 -6
  225. package/components/rel-CHRwzjd4.mjs +0 -6
  226. package/components/requirementDiagram-QOLK2EJ7-CSF6N7HA.mjs +0 -1173
  227. package/components/riscv-BNQ9cVpw.mjs +0 -6
  228. package/components/rose-pine-LL9gXmP2.mjs +0 -3
  229. package/components/rose-pine-dawn-CH9zdisO.mjs +0 -3
  230. package/components/rose-pine-moon-B1oKSfEJ.mjs +0 -3
  231. package/components/rst-bEtD1v7N.mjs +0 -36
  232. package/components/ruby-BmfBy6EV.mjs +0 -44
  233. package/components/rust-Bf_fdNdL.mjs +0 -14
  234. package/components/sankeyDiagram-4UZDY2LN-BAHB7dMS.mjs +0 -1201
  235. package/components/sas-BLBgC3TA.mjs +0 -9
  236. package/components/sass-BheygBdF.mjs +0 -6
  237. package/components/scala-B-_7vFVn.mjs +0 -6
  238. package/components/scheme-BSHdPinv.mjs +0 -6
  239. package/components/scss-Dq-LbI_c.mjs +0 -9
  240. package/components/sequenceDiagram-SKLFT4DO-10gLJ50N.mjs +0 -3424
  241. package/components/shaderlab-BOQRTiQi.mjs +0 -17
  242. package/components/shellsession-Cu3c0QAc.mjs +0 -17
  243. package/components/slack-dark-BEe10hxO.mjs +0 -3
  244. package/components/slack-ochin-BKmu9pBc.mjs +0 -3
  245. package/components/smalltalk-qxcGy4fT.mjs +0 -6
  246. package/components/snazzy-light-Dcvd-ZyI.mjs +0 -3
  247. package/components/solarized-dark-BBl5y5sR.mjs +0 -3
  248. package/components/solarized-light-DW9b_AY8.mjs +0 -3
  249. package/components/solidity-CewKZgp-.mjs +0 -6
  250. package/components/sparql-DswowMAp.mjs +0 -9
  251. package/components/splunk-gK6Iw_P9.mjs +0 -14
  252. package/components/sql-DzUuSofg.mjs +0 -6
  253. package/components/ssh-config-Bk_I5wDR.mjs +0 -6
  254. package/components/stata-Dl7wDdBE.mjs +0 -9
  255. package/components/stateDiagram-MI5ZYTHO-D6p6nCaj.mjs +0 -461
  256. package/components/stateDiagram-v2-5AN5P6BG-DaN5hC-t.mjs +0 -31
  257. package/components/stylus-qRNkxrFU.mjs +0 -14
  258. package/components/svelte-B9qv3vkS.mjs +0 -15
  259. package/components/swift-BRQRsam8.mjs +0 -6
  260. package/components/synthwave-84-CoUef9sh.mjs +0 -3
  261. package/components/system-verilog-BcESSvRn.mjs +0 -6
  262. package/components/tasl-DfOr2qHi.mjs +0 -6
  263. package/components/tcl-CTsc4-t7.mjs +0 -6
  264. package/components/tex-CumJx1zu.mjs +0 -9
  265. package/components/timeline-definition-MYPXXCX6-gLqnWxDu.mjs +0 -1236
  266. package/components/tokyo-night-DjtLpAEY.mjs +0 -3
  267. package/components/toml-vHPzWDj6.mjs +0 -6
  268. package/components/treemap-75Q7IDZK-B2atdfMH.mjs +0 -15
  269. package/components/tsx-CmGGo4Hm.mjs +0 -6
  270. package/components/turtle-BnC7StHY.mjs +0 -6
  271. package/components/twig-0XKNpXN1.mjs +0 -35
  272. package/components/typescript-CgxwwAuC.mjs +0 -14
  273. package/components/v-Bmdjo9cy.mjs +0 -6
  274. package/components/vb-DuF6ZenW.mjs +0 -14
  275. package/components/verilog-CCb_iTfF.mjs +0 -6
  276. package/components/vesper-4Q1cEwPL.mjs +0 -3
  277. package/components/vhdl-DMqk4T2s.mjs +0 -6
  278. package/components/vimscript-aKp9YbYm.mjs +0 -18
  279. package/components/vitesse-black-BqNLki8b.mjs +0 -3
  280. package/components/vitesse-dark-jJ32WhwH.mjs +0 -3
  281. package/components/vitesse-light-476zM4e6.mjs +0 -3
  282. package/components/vue-DVNNTw2l.mjs +0 -40
  283. package/components/vue-html-Cr5wciIP.mjs +0 -16
  284. package/components/vyper-DYedWgAE.mjs +0 -14
  285. package/components/wasm-BBh6f151.mjs +0 -6
  286. package/components/wasm-DDgzZJey.mjs +0 -7
  287. package/components/wenyan-BdqozpMZ.mjs +0 -6
  288. package/components/wgsl-Vo-hHVWH.mjs +0 -6
  289. package/components/wolfram-CRmjUoI4.mjs +0 -6
  290. package/components/xml-BMzZeaqs.mjs +0 -9
  291. package/components/xsl-CAhvzxWv.mjs +0 -10
  292. package/components/xychartDiagram-H2YORKM3-Whqa4ezL.mjs +0 -1895
  293. package/components/yml-BhSrWWMS.mjs +0 -14
  294. package/components/zenscript-DFINJL6j.mjs +0 -6
  295. package/components/zig-CS4FMAZp.mjs +0 -6
  296. package/components/zsh-hcK4TBd7.mjs +0 -26
@@ -1,10 +1,414 @@
1
- export { a8 as VkBubbleList, a9 as __VkBubbleList, a8 as default } from '../index3.mjs';
1
+ import { openBlock, createElementBlock, createStaticVNode, defineComponent, ref, onMounted, watch, computed, resolveComponent, createVNode, withCtx, Fragment, renderList, createBlock, normalizeClass, createSlots, renderSlot, withDirectives, createElementVNode, normalizeStyle, createCommentVNode, vShow, mergeProps, normalizeProps, guardReactiveProps } from 'vue';
2
+ import { VkBubbleRenderer, VkBubbleRenderTemplates, VkBubbleTemplates } from '@vunk/plus/components/bubble-templates';
3
+ import { ElAutoResizer } from 'element-plus';
4
+ import { a as arrow_down_bold_default } from '../index3.mjs';
5
+ import { useResizeObserver } from '@vueuse/core';
6
+ import { VkScrollbar } from '@vunk/plus/components/scrollbar';
7
+ import { Bubble } from 'vue-element-plus-x';
8
+ import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
9
+ import { noop } from '@vunk/shared/function';
2
10
  export { Role } from '@vunk/plus/components/agent-chat-provider';
3
- import 'vue';
4
- import '@vunk/plus/components/bubble-templates';
5
- import 'element-plus';
6
- import '../index4.mjs';
7
- import '@vueuse/core';
8
- import '@vunk/plus/components/scrollbar';
9
- import '../_plugin-vue_export-helper.mjs';
10
- import '@vunk/shared/function';
11
+
12
+ const _sfc_main$2 = {};
13
+
14
+ const _hoisted_1$1 = {
15
+ xmlns: "http://www.w3.org/2000/svg",
16
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
17
+ version: "1.1",
18
+ width: "704",
19
+ height: "704",
20
+ viewBox: "0 0 704 704"
21
+ };
22
+
23
+ function _sfc_render$2(_ctx, _cache) {
24
+ return (openBlock(), createElementBlock("svg", _hoisted_1$1, _cache[0] || (_cache[0] = [
25
+ createStaticVNode("<defs><filter id=\"master_svg0_62_10054\" filterUnits=\"objectBoundingBox\" color-interpolation-filters=\"sRGB\" x=\"-0.030120481927710843\" y=\"-0.030120481927710843\" width=\"1.0602409638554218\" height=\"1.0602409638554218\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"></feFlood><feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"BackgroundImageFix\" result=\"shape\"></feBlend><feGaussianBlur stdDeviation=\"5\" result=\"effect1_foregroundBlur\"></feGaussianBlur></filter><linearGradient id=\"master_svg1_62_10082\" x1=\"0.5\" y1=\"-0.13192443549633026\" x2=\"0.42319029569625854\" y2=\"1.368432641029358\"><stop offset=\"9.145302325487137%\" stop-color=\"currentColor\" stop-opacity=\"1\"></stop><stop offset=\"13.636428117752075%\" stop-color=\"currentColor\" stop-opacity=\"0.07539999485015869\"></stop><stop offset=\"16.968481242656708%\" stop-color=\"currentColor\" stop-opacity=\"0\"></stop></linearGradient></defs><g transform=\"matrix(0,1,-1,0,704,-664)\" filter=\"url(#master_svg0_62_10054)\"><path d=\"M1016,684C1199.359,684,1348,535.359,1348,352C1348,168.641,1199.359,20,1016,20C832.641,20,684,168.641,684,352C684,535.359,832.641,684,1016,684ZM1016,32C1192.731,32,1336,175.269,1336,352C1336,528.731,1192.731,672,1016,672C839.269,672,696,528.731,696,352C696,175.269,839.269,32,1016,32Z\" fill-rule=\"evenodd\" fill=\"url(#master_svg1_62_10082)\" fill-opacity=\"1\"></path></g>", 2)
26
+ ])))
27
+ }
28
+ var loadingBg = /*#__PURE__*/_export_sfc(_sfc_main$2, [['render',_sfc_render$2],['__file',"/home/runner/work/vunk-plus/vunk-plus/packages/components/bubble-list/src/core/loading.vue"]]);
29
+
30
+ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
31
+ __name: "index",
32
+ props: {
33
+ list: {
34
+ type: Array,
35
+ default: () => []
36
+ },
37
+ autoScroll: {
38
+ type: Boolean,
39
+ default: true
40
+ },
41
+ autoScrollThreshold: {
42
+ type: Number,
43
+ default: 200
44
+ },
45
+ maxHeight: {
46
+ type: String,
47
+ default: ""
48
+ },
49
+ alwaysShowScrollbar: {
50
+ type: Boolean,
51
+ default: false
52
+ },
53
+ backButtonThreshold: {
54
+ type: Number,
55
+ default: 80
56
+ },
57
+ showBackButton: {
58
+ type: Boolean,
59
+ default: true
60
+ },
61
+ backButtonPosition: {
62
+ type: Object,
63
+ default: () => {
64
+ return { bottom: "20px", left: "calc(50% - 19px)" };
65
+ }
66
+ },
67
+ btnLoading: {
68
+ type: Boolean,
69
+ default: true
70
+ },
71
+ btnColor: {
72
+ type: String,
73
+ default: "#409EFF"
74
+ },
75
+ btnIconSize: {
76
+ type: Number,
77
+ default: 24
78
+ },
79
+ scrollbarAppendTo: {
80
+ type: null,
81
+ default: void 0
82
+ }
83
+ },
84
+ emits: {
85
+ complete: null
86
+ },
87
+ setup(__props, { expose: __expose }) {
88
+ const props = __props;
89
+ const scrollbarRef = ref();
90
+ function initStyle() {
91
+ document.documentElement.style.setProperty(
92
+ "--el-bubble-list-max-height",
93
+ props.maxHeight || "100%"
94
+ );
95
+ document.documentElement.style.setProperty(
96
+ "--el-bubble-list-btn-size",
97
+ `${props.btnIconSize}px`
98
+ );
99
+ }
100
+ onMounted(() => {
101
+ initStyle();
102
+ });
103
+ watch(
104
+ () => [props.maxHeight, props.btnIconSize],
105
+ () => {
106
+ initStyle();
107
+ }
108
+ );
109
+ const distanceToBottom = ref();
110
+ const scrollViewEl = computed(() => scrollbarRef.value?.wrapRef?.firstElementChild);
111
+ const btnShow = computed(() => {
112
+ return props.showBackButton && distanceToBottom.value !== void 0 && distanceToBottom.value > props.backButtonThreshold;
113
+ });
114
+ onMounted(() => {
115
+ setTimeout(getDistanceToBottom);
116
+ });
117
+ function getDistanceToBottom() {
118
+ const el = scrollbarRef.value?.$el;
119
+ const wrap = scrollbarRef.value?.wrapRef;
120
+ if (!el || !wrap) {
121
+ return;
122
+ }
123
+ distanceToBottom.value = wrap.scrollHeight - wrap.scrollTop - wrap.clientHeight;
124
+ return distanceToBottom.value;
125
+ }
126
+ function scrollToBottom(...args) {
127
+ scrollbarRef.value?.scrollToBottom(...args);
128
+ }
129
+ function scrollToTop(...args) {
130
+ scrollbarRef.value?.scrollToTop(...args);
131
+ }
132
+ if (props.autoScroll) {
133
+ useResizeObserver(scrollViewEl, () => {
134
+ const distance = getDistanceToBottom();
135
+ if (distance !== void 0 && distance > props.autoScrollThreshold) {
136
+ return;
137
+ }
138
+ scrollToBottom();
139
+ });
140
+ }
141
+ function scrollToBubble(index) {
142
+ const container = scrollbarRef.value?.wrapRef;
143
+ if (!container)
144
+ return;
145
+ const bubbles = container.querySelectorAll(".el-bubble");
146
+ if (index >= bubbles.length)
147
+ return;
148
+ const targetBubble = bubbles[index];
149
+ const containerRect = container.getBoundingClientRect();
150
+ const bubbleRect = targetBubble.getBoundingClientRect();
151
+ const scrollPosition = bubbleRect.top - containerRect.top + container.scrollTop;
152
+ container.scrollTo({
153
+ top: scrollPosition,
154
+ behavior: "smooth"
155
+ });
156
+ }
157
+ __expose({
158
+ scrollToTop,
159
+ scrollToBottom,
160
+ scrollToBubble
161
+ });
162
+ const __returned__ = { props, scrollbarRef, initStyle, distanceToBottom, scrollViewEl, btnShow, getDistanceToBottom, scrollToBottom, scrollToTop, scrollToBubble, get ArrowDownBold() {
163
+ return arrow_down_bold_default;
164
+ }, get VkScrollbar() {
165
+ return VkScrollbar;
166
+ }, get Bubble() {
167
+ return Bubble;
168
+ }, loadingBg };
169
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
170
+ return __returned__;
171
+ }
172
+ });
173
+
174
+ const _hoisted_1 = { class: "vk-bubble-list-wrapper" };
175
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
176
+ const _component_el_icon = resolveComponent("el-icon");
177
+ return openBlock(), createElementBlock("div", _hoisted_1, [
178
+ createVNode($setup["VkScrollbar"], {
179
+ ref: "scrollbarRef",
180
+ class: "vk-bubble-list",
181
+ "append-to": $props.scrollbarAppendTo,
182
+ always: $props.alwaysShowScrollbar,
183
+ onScroll: $setup.getDistanceToBottom
184
+ }, {
185
+ default: withCtx(() => [
186
+ (openBlock(true), createElementBlock(
187
+ Fragment,
188
+ null,
189
+ renderList($props.list, (item, index) => {
190
+ return openBlock(), createBlock($setup["Bubble"], {
191
+ key: item.key || index,
192
+ content: item.content,
193
+ placement: item.placement,
194
+ loading: item.loading,
195
+ shape: item.shape,
196
+ variant: item.variant,
197
+ "is-markdown": item.isMarkdown,
198
+ "is-fog": item.isFog,
199
+ typing: item.typing,
200
+ "max-width": item.maxWidth,
201
+ avatar: item.avatar,
202
+ "avatar-size": item.avatarSize,
203
+ "avatar-gap": item.avatarGap,
204
+ "avatar-shape": item.avatarShape,
205
+ "avatar-src-set": item.avatarSrcSet,
206
+ "avatar-alt": item.avatarAlt,
207
+ "avatar-fit": item.avatarFit,
208
+ "no-style": item.noStyle,
209
+ class: normalizeClass({
210
+ [`is-${item.role}`]: true
211
+ })
212
+ }, createSlots({
213
+ _: 2
214
+ /* DYNAMIC */
215
+ }, [
216
+ _ctx.$slots.avatar ? {
217
+ name: "avatar",
218
+ fn: withCtx(() => [
219
+ renderSlot(_ctx.$slots, "avatar", { item })
220
+ ]),
221
+ key: "0"
222
+ } : void 0,
223
+ _ctx.$slots.header ? {
224
+ name: "header",
225
+ fn: withCtx(() => [
226
+ renderSlot(_ctx.$slots, "header", { item })
227
+ ]),
228
+ key: "1"
229
+ } : void 0,
230
+ _ctx.$slots.content ? {
231
+ name: "content",
232
+ fn: withCtx(() => [
233
+ renderSlot(_ctx.$slots, "content", { item })
234
+ ]),
235
+ key: "2"
236
+ } : void 0,
237
+ _ctx.$slots.footer ? {
238
+ name: "footer",
239
+ fn: withCtx(() => [
240
+ renderSlot(_ctx.$slots, "footer", { item })
241
+ ]),
242
+ key: "3"
243
+ } : void 0,
244
+ _ctx.$slots.loading ? {
245
+ name: "loading",
246
+ fn: withCtx(() => [
247
+ renderSlot(_ctx.$slots, "loading", { item })
248
+ ]),
249
+ key: "4"
250
+ } : void 0
251
+ ]), 1032, ["content", "placement", "loading", "shape", "variant", "is-markdown", "is-fog", "typing", "max-width", "avatar", "avatar-size", "avatar-gap", "avatar-shape", "avatar-src-set", "avatar-alt", "avatar-fit", "no-style", "class"]);
252
+ }),
253
+ 128
254
+ /* KEYED_FRAGMENT */
255
+ ))
256
+ ]),
257
+ _: 3
258
+ /* FORWARDED */
259
+ }, 8, ["append-to", "always"]),
260
+ withDirectives(createElementVNode(
261
+ "div",
262
+ {
263
+ class: normalizeClass(["vk-bubble-list-default-back-button", {
264
+ "vk-bubble-list-back-to-bottom-solt": _ctx.$slots.backToBottom
265
+ }]),
266
+ style: normalizeStyle({
267
+ bottom: $props.backButtonPosition.bottom,
268
+ left: $props.backButtonPosition.left
269
+ }),
270
+ onClick: $setup.scrollToBottom
271
+ },
272
+ [
273
+ renderSlot(_ctx.$slots, "backToBottom", {}, () => [
274
+ createVNode(_component_el_icon, {
275
+ class: "vk-bubble-list-back-to-bottom-icon",
276
+ style: normalizeStyle({ color: $setup.props.btnColor })
277
+ }, {
278
+ default: withCtx(() => [
279
+ createVNode($setup["ArrowDownBold"]),
280
+ $setup.props.btnLoading ? (openBlock(), createBlock($setup["loadingBg"], {
281
+ key: 0,
282
+ class: "back-to-bottom-loading-svg-bg"
283
+ })) : createCommentVNode("v-if", true)
284
+ ]),
285
+ _: 1
286
+ /* STABLE */
287
+ }, 8, ["style"])
288
+ ])
289
+ ],
290
+ 6
291
+ /* CLASS, STYLE */
292
+ ), [
293
+ [vShow, $setup.btnShow]
294
+ ])
295
+ ]);
296
+ }
297
+ var BubbleList = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/bubble-list/src/core/index.vue"]]);
298
+
299
+ const props = {
300
+ items: {
301
+ type: Array,
302
+ default: () => []
303
+ },
304
+ elRef: {
305
+ type: Function,
306
+ default: noop
307
+ },
308
+ scrollbarAppendTo: null,
309
+ autoScrollThreshold: {
310
+ type: Number,
311
+ default: 200
312
+ }
313
+ };
314
+
315
+ var _sfc_main = /* @__PURE__ */ defineComponent({
316
+ ...{
317
+ name: "VkBubbleList",
318
+ inheritAttrs: false
319
+ },
320
+ __name: "index",
321
+ props: props,
322
+ setup(__props, { expose: __expose }) {
323
+ __expose();
324
+ const __returned__ = { get VkBubbleRenderer() {
325
+ return VkBubbleRenderer;
326
+ }, get VkBubbleRenderTemplates() {
327
+ return VkBubbleRenderTemplates;
328
+ }, get VkBubbleTemplates() {
329
+ return VkBubbleTemplates;
330
+ }, get ElAutoResizer() {
331
+ return ElAutoResizer;
332
+ }, BubbleList };
333
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
334
+ return __returned__;
335
+ }
336
+ });
337
+
338
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
339
+ return openBlock(), createBlock($setup["VkBubbleRenderTemplates"], null, {
340
+ placeholder: withCtx(() => [
341
+ createVNode($setup["VkBubbleTemplates"])
342
+ ]),
343
+ default: withCtx(() => [
344
+ renderSlot(_ctx.$slots, "renderer"),
345
+ createVNode($setup["ElAutoResizer"], null, {
346
+ default: withCtx(({ height }) => [
347
+ createVNode($setup["BubbleList"], mergeProps({
348
+ ref: _ctx.elRef,
349
+ "btn-icon-size": 18,
350
+ "max-height": `${height}px`,
351
+ "scrollbar-append-to": _ctx.scrollbarAppendTo,
352
+ "auto-scroll-threshold": _ctx.autoScrollThreshold,
353
+ style: {
354
+ "--el-bubble-list-max-height": `${height}px`
355
+ },
356
+ list: _ctx.items
357
+ }, _ctx.$attrs), createSlots({
358
+ content: withCtx(({ item }) => [
359
+ createVNode($setup["VkBubbleRenderer"], {
360
+ source: [item]
361
+ }, null, 8, ["source"])
362
+ ]),
363
+ _: 2
364
+ /* DYNAMIC */
365
+ }, [
366
+ _ctx.$slots.avatar ? {
367
+ name: "avatar",
368
+ fn: withCtx((e) => [
369
+ renderSlot(_ctx.$slots, "avatar", normalizeProps(guardReactiveProps(e)))
370
+ ]),
371
+ key: "0"
372
+ } : void 0,
373
+ _ctx.$slots.header ? {
374
+ name: "header",
375
+ fn: withCtx((e) => [
376
+ renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps(e)))
377
+ ]),
378
+ key: "1"
379
+ } : void 0,
380
+ _ctx.$slots.loading ? {
381
+ name: "loading",
382
+ fn: withCtx((e) => [
383
+ renderSlot(_ctx.$slots, "loading", normalizeProps(guardReactiveProps(e)))
384
+ ]),
385
+ key: "2"
386
+ } : void 0,
387
+ _ctx.$slots.footer ? {
388
+ name: "footer",
389
+ fn: withCtx((e) => [
390
+ renderSlot(_ctx.$slots, "footer", normalizeProps(guardReactiveProps(e)))
391
+ ]),
392
+ key: "3"
393
+ } : void 0
394
+ ]), 1040, ["max-height", "scrollbar-append-to", "auto-scroll-threshold", "style", "list"])
395
+ ]),
396
+ _: 3
397
+ /* FORWARDED */
398
+ })
399
+ ]),
400
+ _: 3
401
+ /* FORWARDED */
402
+ });
403
+ }
404
+ var VkBubbleList = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/bubble-list/src/index.vue"]]);
405
+
406
+ var types = /*#__PURE__*/Object.freeze({
407
+ __proto__: null
408
+ });
409
+
410
+ VkBubbleList.install = (app) => {
411
+ app.component(VkBubbleList.name || "VkBubbleList", VkBubbleList);
412
+ };
413
+
414
+ export { VkBubbleList, types as __VkBubbleList, VkBubbleList as default };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, ref, watchEffect, openBlock, createBlock, mergeProps, toHandlers, withCtx, renderSlot, createElementBlock, normalizeClass, createVNode, createCommentVNode } from 'vue';
2
- import { a as arrow_down_bold_default, b as arrow_left_bold_default, c as arrow_right_bold_default, d as arrow_up_bold_default } from '../index4.mjs';
2
+ import { a as arrow_down_bold_default, b as arrow_left_bold_default, c as arrow_right_bold_default, d as arrow_up_bold_default } from '../index3.mjs';
3
3
  import { noop } from '@vunk/shared/function';
4
4
  import { drawerProps, drawerEmits, ElDrawer, ElIcon } from 'element-plus';
5
5
  import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';