@vunk/plus 1.10.1 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/WebGLRenderer.mjs +1 -1
- package/components/WebGPURenderer.mjs +1 -1
- package/components/agent-chat-provider/index.mjs +1 -1
- package/components/avatar/index.mjs +1 -1
- package/components/broadcasting-markdown/index.mjs +16 -13
- package/components/broadcasting-markdown/src/index.vue.d.ts +1 -75
- package/components/browserAll.mjs +1 -1
- package/components/bubble-list/index.css +0 -22
- package/components/bubble-list/index.mjs +413 -9
- package/components/bubble-templates/index.mjs +1 -1
- package/components/chat-independent/index.mjs +1 -1
- package/components/drawer/index.css +92 -92
- package/components/drawer/index.mjs +2 -2
- package/components/index2.mjs +90 -11
- package/components/index3.mjs +20 -79450
- package/components/lottie-animation/index.mjs +1 -1
- package/components/metahuman-broadcasting/index.d.ts +0 -1
- package/components/metahuman-broadcasting/index.mjs +3092 -68
- package/components/metahuman-broadcasting/src/index.vue.d.ts +75 -191
- package/components/monaco-editor/index.mjs +1 -1
- package/components/monaco-environment/index.mjs +1 -1
- package/components/pixi-frame/index.d.ts +4 -1
- package/components/pixi-frame/index.mjs +2 -2
- package/components/pixi-frame/src/bitmap-generator.vue.d.ts +146 -0
- package/components/recorder-button/index.mjs +1 -1
- package/components/routes-menu-content/index.mjs +3 -3
- package/components/scrollbar/index.mjs +3 -3
- package/components/sender/index.mjs +2 -2
- package/components/speech-button/index.mjs +3 -3
- package/components/table-columns/index.mjs +1 -1
- package/components/tables-v1/index.mjs +1 -1
- package/components/tables-v1-checkbox/index.mjs +1 -1
- package/components/text/index.mjs +1 -1
- package/components/typing-markdown/index.mjs +1 -1
- package/components/vditor/index.mjs +3 -3
- package/components/webworkerAll.mjs +1 -1
- package/components/xgplayer/index.mjs +4 -16359
- package/icons/end/index.mjs +1 -1
- package/icons/keyboard/index.mjs +1 -1
- package/icons/start/index.mjs +1 -1
- package/icons/voice/index.mjs +1 -1
- package/index.css +92 -114
- package/package.json +4 -20
- package/shared/data/blobToAudioBuffer.d.ts +1 -0
- package/shared/data/imgUrlToBitmap.d.ts +1 -0
- package/shared/data/index.d.ts +2 -0
- package/shared/data/index.mjs +25 -0
- package/components/_baseUniq-BXtq6_NW.mjs +0 -239
- package/components/abap-B7h4dtBh.mjs +0 -6
- package/components/actionscript-3-Bmm7RA3Y.mjs +0 -6
- package/components/ada-BZS802Se.mjs +0 -6
- package/components/andromeeda-CrngpmZk.mjs +0 -3
- package/components/apache-D4roVlsU.mjs +0 -6
- package/components/apex-D6mfw0H5.mjs +0 -6
- package/components/apl-DDK-VObo.mjs +0 -18
- package/components/applescript-C43Knf0G.mjs +0 -6
- package/components/ara-DRBH84ND.mjs +0 -6
- package/components/arc-Js_tyW10.mjs +0 -131
- package/components/architecture-O4VJ6CD3-ZoZ2IAk2.mjs +0 -15
- package/components/architectureDiagram-SUXI7LT5-kyYGGrHN.mjs +0 -8678
- package/components/asm-3tg4MVib.mjs +0 -6
- package/components/astro-v4FYbRud.mjs +0 -19
- package/components/aurora-x-wJ4-eM2h.mjs +0 -3
- package/components/awk-ChreaG-G.mjs +0 -6
- package/components/ayu-dark-BEKp3oqs.mjs +0 -3
- package/components/ballerina-B0yt0TYU.mjs +0 -6
- package/components/batch-Ce_EX3Sx.mjs +0 -14
- package/components/beancount-BRIsdQEB.mjs +0 -6
- package/components/berry-Brv4WWdL.mjs +0 -14
- package/components/bibtex-BLeFwAes.mjs +0 -6
- package/components/bicep-BVrgfErX.mjs +0 -6
- package/components/blade-By3Sw_Ex.mjs +0 -22
- package/components/blockDiagram-6J76NXCF-IAr4zDV3.mjs +0 -3610
- package/components/c-C4VtT7JA.mjs +0 -6
- package/components/c4Diagram-6F6E4RAY-Dv27rXcJ.mjs +0 -2492
- package/components/catppuccin-frappe-zLMNRRUx.mjs +0 -3
- package/components/catppuccin-latte-CdF5jC3c.mjs +0 -3
- package/components/catppuccin-macchiato-DyjXeyRt.mjs +0 -3
- package/components/catppuccin-mocha-66IdYxR8.mjs +0 -3
- package/components/cdc-30ktANo3.mjs +0 -14
- package/components/channel-BBZy6zOT.mjs +0 -7
- package/components/chunk-353BL4L5-Dn_Y_Yna.mjs +0 -17
- package/components/chunk-67H74DCK-Br5U8bfD.mjs +0 -102
- package/components/chunk-AACKK3MU-DH_MKxca.mjs +0 -17
- package/components/chunk-BFAMUDN2-DHLCoYMN.mjs +0 -13
- package/components/chunk-E2GYISFI-DQPHyyga.mjs +0 -19
- package/components/chunk-OW32GOEJ-CQOSE6Bn.mjs +0 -1924
- package/components/chunk-SKB7J2MH-BlwHRDiW.mjs +0 -25
- package/components/chunk-SZ463SBG-DEp8buKJ.mjs +0 -1823
- package/components/clarity-6uBl6Vpb.mjs +0 -6
- package/components/classDiagram-M3E45YP4-D0ySDe-v.mjs +0 -32
- package/components/classDiagram-v2-YAWTLIQI-D0ySDe-v.mjs +0 -32
- package/components/clojure-COBRmwo8.mjs +0 -14
- package/components/clone-CEJtuQzg.mjs +0 -8
- package/components/cmake-CDfQILeU.mjs +0 -6
- package/components/cobol-BOOIiISO.mjs +0 -13
- package/components/coffee-DO_RGoZp.mjs +0 -9
- package/components/cpp-DAK8ktHO.mjs +0 -25
- package/components/crystal-CBGbbyVp.mjs +0 -19
- package/components/cs-h3ksD6-P.mjs +0 -14
- package/components/css-BtVcDqlU.mjs +0 -6
- package/components/cue-BFSVLV6N.mjs +0 -6
- package/components/cypher-Dl2CXoXF.mjs +0 -14
- package/components/cytoscape.esm-BojS1z60.mjs +0 -30216
- package/components/d-9qSZPw74.mjs +0 -6
- package/components/dagre-JOIXM2OF-5zx0JY2T.mjs +0 -707
- package/components/dark-plus-DmZ1Dzd4.mjs +0 -3
- package/components/dart-CCSsOg9l.mjs +0 -6
- package/components/dax-CvsmLV-B.mjs +0 -6
- package/components/defaultLocale-DVr69WTU.mjs +0 -202
- package/components/diagram-5UYTHUR4-C19nyAKc.mjs +0 -215
- package/components/diagram-VMROVX33-DkGwo-hj.mjs +0 -861
- package/components/diagram-ZTM2IBQH-CBgHCu9L.mjs +0 -317
- package/components/diff-BEdzuHlE.mjs +0 -6
- package/components/dockerfile-B3DP334t.mjs +0 -14
- package/components/dracula-B8-AVrwI.mjs +0 -3
- package/components/dracula-soft-BHeefow7.mjs +0 -3
- package/components/dream-maker-CNLQpoF-.mjs +0 -6
- package/components/elixir-0rTCSSfp.mjs +0 -11
- package/components/elm-BhwiZPvf.mjs +0 -10
- package/components/erDiagram-3M52JZNH-cttdAJXW.mjs +0 -1169
- package/components/erb-Lra8TlYM.mjs +0 -27
- package/components/erlang-D2NNgvtR.mjs +0 -17
- package/components/everforest-dark-Cg1xdODP.mjs +0 -3
- package/components/everforest-light-BmTD3bxe.mjs +0 -3
- package/components/fish-BU5HSdZy.mjs +0 -6
- package/components/flowDiagram-KYDEHFYC-9HpsqDdB.mjs +0 -2345
- package/components/fs-CdBSddpF.mjs +0 -17
- package/components/ganttDiagram-EK5VF46D-8QB3ofs6.mjs +0 -3497
- package/components/gdresource-CAbkn6H_.mjs +0 -11
- package/components/gdscript-Be_cubqt.mjs +0 -6
- package/components/gdshader-BEzE4j_3.mjs +0 -6
- package/components/gherkin-xCNF9gh8.mjs +0 -6
- package/components/git-commit-PP9xCApN.mjs +0 -9
- package/components/git-rebase-DqdGofLo.mjs +0 -9
- package/components/gitGraph-ZV4HHKMB-BSmtVGRu.mjs +0 -15
- package/components/gitGraphDiagram-GW3U2K7C-DNzc0Vx_.mjs +0 -1227
- package/components/github-dark-O22yVQaY.mjs +0 -3
- package/components/github-dark-default-DB2Hkvqn.mjs +0 -3
- package/components/github-dark-dimmed-CMZ_OfqC.mjs +0 -3
- package/components/github-dark-high-contrast-DmxWVmCU.mjs +0 -3
- package/components/github-light-BTbR9xVK.mjs +0 -3
- package/components/github-light-default-DWEonwFe.mjs +0 -3
- package/components/github-light-high-contrast-WJ_cPDts.mjs +0 -3
- package/components/glimmer-js-BkPYTyD4.mjs +0 -23
- package/components/glsl-CGsiYPcu.mjs +0 -9
- package/components/gnuplot-tV8vezdE.mjs +0 -6
- package/components/go-CBmVHZBz.mjs +0 -6
- package/components/graph-3zJxsO-i.mjs +0 -425
- package/components/graphql-D4pgneW3.mjs +0 -15
- package/components/groovy-Bn4MhXgW.mjs +0 -6
- package/components/gruvbox-dark-hard-C89wZ4s3.mjs +0 -3
- package/components/gruvbox-dark-medium-swz85q_b.mjs +0 -3
- package/components/gruvbox-dark-soft-BYHBHQJW.mjs +0 -3
- package/components/gruvbox-light-hard-DEF_ZxYZ.mjs +0 -3
- package/components/gruvbox-light-medium-ziUMnHJx.mjs +0 -3
- package/components/gruvbox-light-soft-Cuwp0tsB.mjs +0 -3
- package/components/gts-d3WsqAZM.mjs +0 -23
- package/components/hack-CwaBuF5l.mjs +0 -13
- package/components/haml-gLijj4rW.mjs +0 -11
- package/components/hbs-CFi5SpI3.mjs +0 -23
- package/components/hcl-axoq0Ycu.mjs +0 -6
- package/components/hjson-I7LcauIB.mjs +0 -6
- package/components/hlsl-TRzjajlb.mjs +0 -6
- package/components/houston-CF_ws8Cq.mjs +0 -3
- package/components/hs-DXSGqUFF.mjs +0 -14
- package/components/html-CLq-n30c.mjs +0 -11
- package/components/html-derivative-C8POX8SL.mjs +0 -9
- package/components/http-BYUKZ6kX.mjs +0 -20
- package/components/imba-C4923lSV.mjs +0 -6
- package/components/index4.mjs +0 -78
- package/components/info-63CPKGFF-C8sYWczU.mjs +0 -15
- package/components/infoDiagram-LHK5PUON-C-vFFPTf.mjs +0 -44
- package/components/init-ZxktEp_H.mjs +0 -15
- package/components/java-BfXh-0uJ.mjs +0 -6
- package/components/jinja-html-BmW4v_vu.mjs +0 -11
- package/components/jison-C9kAT_Oj.mjs +0 -9
- package/components/journeyDiagram-EWQZEKCU-BJrw4-AG.mjs +0 -1264
- package/components/js-CN_xSsjU.mjs +0 -14
- package/components/json-TjWBGEk1.mjs +0 -6
- package/components/json5-DCGCKrmX.mjs +0 -6
- package/components/jsonc-DLVLp8id.mjs +0 -6
- package/components/jsonl-B-R_pDGg.mjs +0 -6
- package/components/jsonnet-Cs8BnnC6.mjs +0 -6
- package/components/jssm-D_YBQ_cM.mjs +0 -14
- package/components/jsx-BPmvoin2.mjs +0 -6
- package/components/julia-C-JjBobP.mjs +0 -19
- package/components/kanagawa-dragon-DU8n2NNT.mjs +0 -3
- package/components/kanagawa-lotus-Byd0CDet.mjs +0 -3
- package/components/kanagawa-wave-DExoagcR.mjs +0 -3
- package/components/kanban-definition-ZSS6B67P-BptAnqU-.mjs +0 -1059
- package/components/kotlin-BM2ZNTMh.mjs +0 -6
- package/components/kusto-D9MF7CZf.mjs +0 -14
- package/components/laserwave-DF03wMlf.mjs +0 -3
- package/components/latex-BsqkLZB_.mjs +0 -10
- package/components/layout-sGZIJplX.mjs +0 -2043
- package/components/less-BAzLMJNR.mjs +0 -6
- package/components/light-plus-DS08Xg5J.mjs +0 -3
- package/components/linear-DqgVh5FN.mjs +0 -336
- package/components/liquid-f2VHt0dg.mjs +0 -15
- package/components/lisp-DAq1kaby.mjs +0 -6
- package/components/logo-D9l7oEJ8.mjs +0 -6
- package/components/lua-CH3ttzl_.mjs +0 -9
- package/components/makefile-D2qLe7q0.mjs +0 -14
- package/components/marko-DwRyI_--.mjs +0 -15
- package/components/material-theme-B8B2U48Q.mjs +0 -3
- package/components/material-theme-darker-BV0iY_T3.mjs +0 -3
- package/components/material-theme-lighter-DrzybSTF.mjs +0 -3
- package/components/material-theme-ocean-BRPLVReX.mjs +0 -3
- package/components/material-theme-palenight-DSJwsR_D.mjs +0 -3
- package/components/matlab-7XHduepk.mjs +0 -6
- package/components/md-BIvDPr-W.mjs +0 -14
- package/components/mdc-Rx6hWSHn.mjs +0 -16
- package/components/mdx-D5wExp-O.mjs +0 -6
- package/components/mermaid-CUjtoYEe.mjs +0 -6
- package/components/mermaid-parser.core-CH9ryA1K.mjs +0 -16987
- package/components/mermaid.core-CAqkCmS1.mjs +0 -20977
- package/components/min-BngCxx8g.mjs +0 -109
- package/components/min-dark-BNaN9fWk.mjs +0 -3
- package/components/min-light-CMrjentn.mjs +0 -3
- package/components/mindmap-definition-6CBA2TL7-Cp_EeEsh.mjs +0 -5856
- package/components/mojo-CrbF881p.mjs +0 -6
- package/components/monokai-DelygWXa.mjs +0 -3
- package/components/narrat-DOwkIbBe.mjs +0 -14
- package/components/nf-DHfvJ2gH.mjs +0 -14
- package/components/nginx-B_jWsywZ.mjs +0 -10
- package/components/night-owl-DSS199ra.mjs +0 -3
- package/components/nim-yzbnZKJd.mjs +0 -22
- package/components/nix--3K2gyjg.mjs +0 -6
- package/components/nord-CvDbBq5M.mjs +0 -3
- package/components/objective-c-DkOBZg1J.mjs +0 -14
- package/components/objective-cpp-DEoN9Fe5.mjs +0 -6
- package/components/ocaml-B1kfGk9Y.mjs +0 -6
- package/components/one-dark-pro-CsMf0BoJ.mjs +0 -3
- package/components/one-light-BwwAsfsj.mjs +0 -3
- package/components/ordinal-DSZU4PqD.mjs +0 -76
- package/components/packet-HUATNLJX-bfFWFja0.mjs +0 -15
- package/components/pascal-CU8Kjkr_.mjs +0 -6
- package/components/perl-FH6su6vZ.mjs +0 -18
- package/components/php-Dnl1TfYH.mjs +0 -20
- package/components/pie-WTHONI2E-QPrWs3SR.mjs +0 -15
- package/components/pieDiagram-NIOCPIFQ-C46Y_4C6.mjs +0 -250
- package/components/plastic-BjwMpBc0.mjs +0 -3
- package/components/plsql-B3Na24V4.mjs +0 -6
- package/components/poimandres-ChWyhPrn.mjs +0 -3
- package/components/postcss-kj1IbjVd.mjs +0 -6
- package/components/powerquery-B-e1fO-k.mjs +0 -6
- package/components/prisma-bmxcSDxq.mjs +0 -6
- package/components/prolog-BT9GCzqD.mjs +0 -6
- package/components/properties-D6yKO1eW.mjs +0 -14
- package/components/proto-BIXM0k1a.mjs +0 -6
- package/components/ps1-aFyNx8UH.mjs +0 -18
- package/components/pug-BrOx0bSt.mjs +0 -21
- package/components/puppet-N15G4Usj.mjs +0 -6
- package/components/purescript-DrwsEYNH.mjs +0 -6
- package/components/python-D2s92fRP.mjs +0 -14
- package/components/ql-DTm-NCRo.mjs +0 -14
- package/components/quadrantDiagram-2OG54O6I-Dgf6d6F_.mjs +0 -1349
- package/components/r-oprfD2-9.mjs +0 -6
- package/components/radar-NJJJXTRR-BnUCJhQL.mjs +0 -15
- package/components/raku-xArQd_rF.mjs +0 -14
- package/components/razor-BoXCAbWQ.mjs +0 -13
- package/components/red-DByOl5N0.mjs +0 -3
- package/components/reg-CULnG2WX.mjs +0 -6
- package/components/rel-CHRwzjd4.mjs +0 -6
- package/components/requirementDiagram-QOLK2EJ7-CSF6N7HA.mjs +0 -1173
- package/components/riscv-BNQ9cVpw.mjs +0 -6
- package/components/rose-pine-LL9gXmP2.mjs +0 -3
- package/components/rose-pine-dawn-CH9zdisO.mjs +0 -3
- package/components/rose-pine-moon-B1oKSfEJ.mjs +0 -3
- package/components/rst-bEtD1v7N.mjs +0 -36
- package/components/ruby-BmfBy6EV.mjs +0 -44
- package/components/rust-Bf_fdNdL.mjs +0 -14
- package/components/sankeyDiagram-4UZDY2LN-BAHB7dMS.mjs +0 -1201
- package/components/sas-BLBgC3TA.mjs +0 -9
- package/components/sass-BheygBdF.mjs +0 -6
- package/components/scala-B-_7vFVn.mjs +0 -6
- package/components/scheme-BSHdPinv.mjs +0 -6
- package/components/scss-Dq-LbI_c.mjs +0 -9
- package/components/sequenceDiagram-SKLFT4DO-10gLJ50N.mjs +0 -3424
- package/components/shaderlab-BOQRTiQi.mjs +0 -17
- package/components/shellsession-Cu3c0QAc.mjs +0 -17
- package/components/slack-dark-BEe10hxO.mjs +0 -3
- package/components/slack-ochin-BKmu9pBc.mjs +0 -3
- package/components/smalltalk-qxcGy4fT.mjs +0 -6
- package/components/snazzy-light-Dcvd-ZyI.mjs +0 -3
- package/components/solarized-dark-BBl5y5sR.mjs +0 -3
- package/components/solarized-light-DW9b_AY8.mjs +0 -3
- package/components/solidity-CewKZgp-.mjs +0 -6
- package/components/sparql-DswowMAp.mjs +0 -9
- package/components/splunk-gK6Iw_P9.mjs +0 -14
- package/components/sql-DzUuSofg.mjs +0 -6
- package/components/ssh-config-Bk_I5wDR.mjs +0 -6
- package/components/stata-Dl7wDdBE.mjs +0 -9
- package/components/stateDiagram-MI5ZYTHO-D6p6nCaj.mjs +0 -461
- package/components/stateDiagram-v2-5AN5P6BG-DaN5hC-t.mjs +0 -31
- package/components/stylus-qRNkxrFU.mjs +0 -14
- package/components/svelte-B9qv3vkS.mjs +0 -15
- package/components/swift-BRQRsam8.mjs +0 -6
- package/components/synthwave-84-CoUef9sh.mjs +0 -3
- package/components/system-verilog-BcESSvRn.mjs +0 -6
- package/components/tasl-DfOr2qHi.mjs +0 -6
- package/components/tcl-CTsc4-t7.mjs +0 -6
- package/components/tex-CumJx1zu.mjs +0 -9
- package/components/timeline-definition-MYPXXCX6-gLqnWxDu.mjs +0 -1236
- package/components/tokyo-night-DjtLpAEY.mjs +0 -3
- package/components/toml-vHPzWDj6.mjs +0 -6
- package/components/treemap-75Q7IDZK-B2atdfMH.mjs +0 -15
- package/components/tsx-CmGGo4Hm.mjs +0 -6
- package/components/turtle-BnC7StHY.mjs +0 -6
- package/components/twig-0XKNpXN1.mjs +0 -35
- package/components/typescript-CgxwwAuC.mjs +0 -14
- package/components/v-Bmdjo9cy.mjs +0 -6
- package/components/vb-DuF6ZenW.mjs +0 -14
- package/components/verilog-CCb_iTfF.mjs +0 -6
- package/components/vesper-4Q1cEwPL.mjs +0 -3
- package/components/vhdl-DMqk4T2s.mjs +0 -6
- package/components/vimscript-aKp9YbYm.mjs +0 -18
- package/components/vitesse-black-BqNLki8b.mjs +0 -3
- package/components/vitesse-dark-jJ32WhwH.mjs +0 -3
- package/components/vitesse-light-476zM4e6.mjs +0 -3
- package/components/vue-DVNNTw2l.mjs +0 -40
- package/components/vue-html-Cr5wciIP.mjs +0 -16
- package/components/vyper-DYedWgAE.mjs +0 -14
- package/components/wasm-BBh6f151.mjs +0 -6
- package/components/wasm-DDgzZJey.mjs +0 -7
- package/components/wenyan-BdqozpMZ.mjs +0 -6
- package/components/wgsl-Vo-hHVWH.mjs +0 -6
- package/components/wolfram-CRmjUoI4.mjs +0 -6
- package/components/xml-BMzZeaqs.mjs +0 -9
- package/components/xsl-CAhvzxWv.mjs +0 -10
- package/components/xychartDiagram-H2YORKM3-Whqa4ezL.mjs +0 -1895
- package/components/yml-BhSrWWMS.mjs +0 -14
- package/components/zenscript-DFINJL6j.mjs +0 -6
- package/components/zig-CS4FMAZp.mjs +0 -6
- package/components/zsh-hcK4TBd7.mjs +0 -26
- package/shared/StreamingInferenceService.mjs +0 -204
- package/shared/audioToFrames/index.d.ts +0 -19
- package/shared/audioToFrames/index.mjs +0 -44
- package/shared/audioToFrames/src/assets/mask.d.ts +0 -2
- package/shared/audioToFrames/src/audio/StreamingFeatureExtractorService.d.ts +0 -125
- package/shared/audioToFrames/src/audio/index.d.ts +0 -5
- package/shared/audioToFrames/src/audio/index.mjs +0 -375
- package/shared/audioToFrames/src/config.d.ts +0 -4
- package/shared/audioToFrames/src/core/constants.d.ts +0 -17
- package/shared/audioToFrames/src/core/index.d.ts +0 -6
- package/shared/audioToFrames/src/core/index.mjs +0 -24
- package/shared/audioToFrames/src/core/utils.d.ts +0 -26
- package/shared/audioToFrames/src/inference/StreamingInferenceService.d.ts +0 -189
- package/shared/audioToFrames/src/inference/index.d.ts +0 -5
- package/shared/audioToFrames/src/inference/index.mjs +0 -3
- package/shared/audioToFrames/src/media/DataLoaderService.d.ts +0 -59
- package/shared/audioToFrames/src/media/PredictiveFrameLoader.d.ts +0 -81
- package/shared/audioToFrames/src/media/index.d.ts +0 -6
- package/shared/audioToFrames/src/media/index.mjs +0 -236
- package/shared/config.mjs +0 -5
- package/shared/constants.mjs +0 -7
|
@@ -1,10 +1,414 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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',"D:\\labCode\\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", "D:\\labCode\\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", "D:\\labCode\\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 };
|
|
@@ -48,7 +48,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
48
48
|
/* STABLE */
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
|
-
var VkBubbleTemplates = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
51
|
+
var VkBubbleTemplates = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\bubble-templates\\src\\index.vue"]]);
|
|
52
52
|
|
|
53
53
|
var types = /*#__PURE__*/Object.freeze({
|
|
54
54
|
__proto__: null
|
|
@@ -237,7 +237,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
237
237
|
])
|
|
238
238
|
]);
|
|
239
239
|
}
|
|
240
|
-
var VkChatIndependent = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
240
|
+
var VkChatIndependent = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\chat-independent\\src\\index.vue"]]);
|
|
241
241
|
|
|
242
242
|
var types = /*#__PURE__*/Object.freeze({
|
|
243
243
|
__proto__: null
|
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
.vk-drawer-modal.is-closed {
|
|
2
|
-
display: block!important; /* 保持抽屉关闭时,toggle 仍然可见 */
|
|
1
|
+
.vk-drawer-modal.is-closed {
|
|
2
|
+
display: block!important; /* 保持抽屉关闭时,toggle 仍然可见 */
|
|
3
3
|
visibility: hidden; /* 抽屉本体不可见 */
|
|
4
4
|
}
|
|
5
|
-
.vk-drawer-modal.is-closed .el-drawer.rtl {
|
|
5
|
+
.vk-drawer-modal.is-closed .el-drawer.rtl {
|
|
6
6
|
transform: translateX(100%); /* 抽屉本体移出可视区域 */
|
|
7
7
|
}
|
|
8
|
-
.vk-drawer-modal.is-closed .el-drawer.ltr {
|
|
8
|
+
.vk-drawer-modal.is-closed .el-drawer.ltr {
|
|
9
9
|
transform: translateX(-100%); /* 抽屉本体移出可视区域 */
|
|
10
10
|
}
|
|
11
|
-
.vk-drawer-modal.is-closed .el-drawer.ttb {
|
|
11
|
+
.vk-drawer-modal.is-closed .el-drawer.ttb {
|
|
12
12
|
transform: translateY(-100%); /* 抽屉本体移出可视区域 */
|
|
13
13
|
}
|
|
14
|
-
.vk-drawer-modal.is-closed .el-drawer.btt {
|
|
14
|
+
.vk-drawer-modal.is-closed .el-drawer.btt {
|
|
15
15
|
transform: translateY(100%); /* 抽屉本体移出可视区域 */
|
|
16
16
|
}
|
|
17
|
-
.vk-drawer-modal .vk-drawer-toggle {
|
|
17
|
+
.vk-drawer-modal .vk-drawer-toggle {
|
|
18
18
|
visibility: visible; /* 保持 toggle 可见 */
|
|
19
19
|
}
|
|
20
|
-
.vk-drawer-modal.is-absolute{
|
|
20
|
+
.vk-drawer-modal.is-absolute{
|
|
21
21
|
position: absolute!important;
|
|
22
22
|
}
|
|
23
|
-
.vk-drawer-modal.is-absolute.no-modal {
|
|
23
|
+
.vk-drawer-modal.is-absolute.no-modal {
|
|
24
24
|
pointer-events: none;
|
|
25
25
|
}
|
|
26
|
-
.vk-drawer-modal.is-absolute.no-modal .el-drawer {
|
|
26
|
+
.vk-drawer-modal.is-absolute.no-modal .el-drawer {
|
|
27
27
|
pointer-events: initial;
|
|
28
28
|
}
|
|
29
|
-
.vk-drawer-toggle {
|
|
30
|
-
position: absolute;
|
|
31
|
-
z-index: 2;
|
|
32
|
-
|
|
33
|
-
/* 尺寸 */
|
|
34
|
-
width: 40px;
|
|
35
|
-
height: 80px;
|
|
36
|
-
|
|
37
|
-
/* 布局 */
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
justify-content: center;
|
|
41
|
-
|
|
42
|
-
/* 交互 */
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
user-select: none;
|
|
45
|
-
|
|
46
|
-
/* 文字样式 */
|
|
29
|
+
.vk-drawer-toggle {
|
|
30
|
+
position: absolute;
|
|
31
|
+
z-index: 2;
|
|
32
|
+
|
|
33
|
+
/* 尺寸 */
|
|
34
|
+
width: 40px;
|
|
35
|
+
height: 80px;
|
|
36
|
+
|
|
37
|
+
/* 布局 */
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
|
|
42
|
+
/* 交互 */
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
user-select: none;
|
|
45
|
+
|
|
46
|
+
/* 文字样式 */
|
|
47
47
|
color: var(--el-text-color-primary);
|
|
48
48
|
}
|
|
49
|
-
.vk-drawer-toggle.is-rtl {
|
|
50
|
-
|
|
51
|
-
/* 位置 */
|
|
52
|
-
top: 25%;
|
|
53
|
-
left: 0;
|
|
54
|
-
transform: translate(-100%, 0);
|
|
55
|
-
|
|
56
|
-
/* 外观 */
|
|
57
|
-
background-color: var(--el-bg-color);
|
|
58
|
-
border: 1px solid var(--el-border-color);
|
|
59
|
-
border-right: none; /* 右侧不要边框,因为贴着 drawer */
|
|
60
|
-
|
|
61
|
-
/* 圆角 */
|
|
62
|
-
border-top-left-radius: var(--el-border-radius-base);
|
|
63
|
-
border-bottom-left-radius: var(--el-border-radius-base);
|
|
64
|
-
|
|
65
|
-
/* 文字排列 */
|
|
49
|
+
.vk-drawer-toggle.is-rtl {
|
|
50
|
+
|
|
51
|
+
/* 位置 */
|
|
52
|
+
top: 25%;
|
|
53
|
+
left: 0;
|
|
54
|
+
transform: translate(-100%, 0);
|
|
55
|
+
|
|
56
|
+
/* 外观 */
|
|
57
|
+
background-color: var(--el-bg-color);
|
|
58
|
+
border: 1px solid var(--el-border-color);
|
|
59
|
+
border-right: none; /* 右侧不要边框,因为贴着 drawer */
|
|
60
|
+
|
|
61
|
+
/* 圆角 */
|
|
62
|
+
border-top-left-radius: var(--el-border-radius-base);
|
|
63
|
+
border-bottom-left-radius: var(--el-border-radius-base);
|
|
64
|
+
|
|
65
|
+
/* 文字排列 */
|
|
66
66
|
writing-mode: vertical-rl; /* 竖向文字 */
|
|
67
67
|
}
|
|
68
|
-
.vk-drawer-toggle.is-ltr {
|
|
69
|
-
|
|
70
|
-
/* 位置 */
|
|
71
|
-
top: 25%;
|
|
72
|
-
right: 0;
|
|
73
|
-
transform: translate(100%, 0);
|
|
74
|
-
|
|
75
|
-
/* 外观 */
|
|
76
|
-
background-color: var(--el-bg-color);
|
|
77
|
-
border: 1px solid var(--el-border-color);
|
|
78
|
-
border-left: none; /* 左侧不要边框,因为贴着 drawer */
|
|
79
|
-
|
|
80
|
-
/* 圆角 */
|
|
81
|
-
border-top-right-radius: var(--el-border-radius-base);
|
|
82
|
-
border-bottom-right-radius: var(--el-border-radius-base);
|
|
83
|
-
|
|
84
|
-
/* 文字排列 */
|
|
68
|
+
.vk-drawer-toggle.is-ltr {
|
|
69
|
+
|
|
70
|
+
/* 位置 */
|
|
71
|
+
top: 25%;
|
|
72
|
+
right: 0;
|
|
73
|
+
transform: translate(100%, 0);
|
|
74
|
+
|
|
75
|
+
/* 外观 */
|
|
76
|
+
background-color: var(--el-bg-color);
|
|
77
|
+
border: 1px solid var(--el-border-color);
|
|
78
|
+
border-left: none; /* 左侧不要边框,因为贴着 drawer */
|
|
79
|
+
|
|
80
|
+
/* 圆角 */
|
|
81
|
+
border-top-right-radius: var(--el-border-radius-base);
|
|
82
|
+
border-bottom-right-radius: var(--el-border-radius-base);
|
|
83
|
+
|
|
84
|
+
/* 文字排列 */
|
|
85
85
|
writing-mode: vertical-rl; /* 竖向文字 */
|
|
86
86
|
}
|
|
87
|
-
.vk-drawer-toggle.is-ttb {
|
|
88
|
-
|
|
89
|
-
/* 位置 */
|
|
90
|
-
bottom: 0;
|
|
91
|
-
left: 25%;
|
|
92
|
-
transform: translate(0, 100%);
|
|
93
|
-
|
|
94
|
-
/* 外观 */
|
|
95
|
-
background-color: var(--el-bg-color);
|
|
96
|
-
border: 1px solid var(--el-border-color);
|
|
97
|
-
border-top: none; /* 上侧不要边框,因为贴着 drawer */
|
|
98
|
-
|
|
99
|
-
/* 圆角 */
|
|
100
|
-
border-bottom-left-radius: var(--el-border-radius-base);
|
|
87
|
+
.vk-drawer-toggle.is-ttb {
|
|
88
|
+
|
|
89
|
+
/* 位置 */
|
|
90
|
+
bottom: 0;
|
|
91
|
+
left: 25%;
|
|
92
|
+
transform: translate(0, 100%);
|
|
93
|
+
|
|
94
|
+
/* 外观 */
|
|
95
|
+
background-color: var(--el-bg-color);
|
|
96
|
+
border: 1px solid var(--el-border-color);
|
|
97
|
+
border-top: none; /* 上侧不要边框,因为贴着 drawer */
|
|
98
|
+
|
|
99
|
+
/* 圆角 */
|
|
100
|
+
border-bottom-left-radius: var(--el-border-radius-base);
|
|
101
101
|
border-bottom-right-radius: var(--el-border-radius-base);
|
|
102
102
|
}
|
|
103
|
-
.vk-drawer-toggle.is-btt {
|
|
104
|
-
|
|
105
|
-
/* 位置 */
|
|
106
|
-
top: 0;
|
|
107
|
-
left: 25%;
|
|
108
|
-
transform: translate(0, -100%);
|
|
109
|
-
|
|
110
|
-
/* 外观 */
|
|
111
|
-
background-color: var(--el-bg-color);
|
|
112
|
-
border: 1px solid var(--el-border-color);
|
|
113
|
-
border-bottom: none; /* 下侧不要边框,因为贴着 drawer */
|
|
114
|
-
|
|
115
|
-
/* 圆角 */
|
|
116
|
-
border-top-left-radius: var(--el-border-radius-base);
|
|
103
|
+
.vk-drawer-toggle.is-btt {
|
|
104
|
+
|
|
105
|
+
/* 位置 */
|
|
106
|
+
top: 0;
|
|
107
|
+
left: 25%;
|
|
108
|
+
transform: translate(0, -100%);
|
|
109
|
+
|
|
110
|
+
/* 外观 */
|
|
111
|
+
background-color: var(--el-bg-color);
|
|
112
|
+
border: 1px solid var(--el-border-color);
|
|
113
|
+
border-bottom: none; /* 下侧不要边框,因为贴着 drawer */
|
|
114
|
+
|
|
115
|
+
/* 圆角 */
|
|
116
|
+
border-top-left-radius: var(--el-border-radius-base);
|
|
117
117
|
border-top-right-radius: var(--el-border-radius-base);
|
|
118
118
|
}
|
|
119
|
-
.vk-drawer-toggle:hover {
|
|
119
|
+
.vk-drawer-toggle:hover {
|
|
120
120
|
background-color: var(--el-fill-color-light);
|
|
121
121
|
}
|
|
122
|
-
.vk-drawer-toggle:active {
|
|
122
|
+
.vk-drawer-toggle:active {
|
|
123
123
|
background-color: var(--el-fill-color);
|
|
124
124
|
}
|
|
@@ -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 '../
|
|
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';
|
|
@@ -103,7 +103,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
103
103
|
/* FORWARDED */
|
|
104
104
|
}, 16, ["modal-class"]);
|
|
105
105
|
}
|
|
106
|
-
var VkDrawer = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
106
|
+
var VkDrawer = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\labCode\\vunk-plus\\packages\\components\\drawer\\src\\index.vue"]]);
|
|
107
107
|
|
|
108
108
|
VkDrawer.install = (app) => {
|
|
109
109
|
app.component(VkDrawer.name || "VkDrawer", VkDrawer);
|