@pubinfo-pr/core 0.171.2 → 0.171.4
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/dist/AppSetting-Dl8pVkN4.js +105 -0
- package/dist/HButton-CzYSwI6a.js +30 -0
- package/dist/HCheckList-CHR-lWIq.js +33 -0
- package/dist/HDivider-CXS9rl4C.js +11 -0
- package/dist/HInput-CSVwTg1Q.js +34 -0
- package/dist/HSlideover-Bc6OHPHe.js +1695 -0
- package/dist/HToggle-C_iVIpxv.js +30 -0
- package/dist/HTooltip-BHBHfrCD.js +16 -0
- package/dist/HeaderFullMenu-BRhGliRJ.js +6 -0
- package/dist/HeaderFullMenu-DCF-gTCZ.js +249 -0
- package/dist/HeaderThinMenu-B_7vLcQX.js +6 -0
- package/dist/HeaderThinMenu-PA12XAvb.js +437 -0
- package/dist/PreferencesContent-cll4nwwl.js +695 -0
- package/dist/SettingBreadcrumb-BvSc7VUo.js +45 -0
- package/dist/SettingCopyright-DcWLKM5d.js +45 -0
- package/dist/SettingEnableTransition-BBH52KKl.js +68 -0
- package/dist/SettingHome-Cd43oJmB.js +31 -0
- package/dist/SettingMenu-CJsN4F1l.js +111 -0
- package/dist/SettingMode-BwhhUYlz.js +60 -0
- package/dist/SettingNavSearch-BhHUWem3.js +31 -0
- package/dist/SettingOther-CDY0jSVT.js +48 -0
- package/dist/SettingPage-B0WNvUlj.js +22 -0
- package/dist/SettingTabbar-DuqQVRnz.js +142 -0
- package/dist/SettingThemes-Doo6Ax3u.js +121 -0
- package/dist/SettingToolbar-CHV_dVJ9.js +50 -0
- package/dist/SettingTopbar-CF1K_XIt.js +49 -0
- package/dist/SettingWidthMode-VaN0CrBa.js +56 -0
- package/dist/_plugin-vue_export-helper-DaPiLSxE.js +6 -0
- package/dist/auth-CPSkJwBz.js +3968 -0
- package/dist/built-in/layout-component/composables/useGetComputedStyle.d.ts +2 -1
- package/dist/{index-BRjgatUZ.js → change-organization-OjxZhWST.js} +108 -139
- package/dist/change-password-B6kO54-d.js +186 -0
- package/dist/chunk-EsrJ1IKw.js +18 -0
- package/dist/components-DVIyiEVI.js +5238 -0
- package/dist/core-Bg2PEcZK.js +4884 -0
- package/dist/dist-DAb-7mqe.js +468 -0
- package/dist/engine-oniguruma-CUfGsBrF.js +243 -0
- package/dist/form-EQ9eL9hv.js +2288 -0
- package/dist/index.js +9670 -69
- package/dist/json-S7wVLDnW.js +2 -0
- package/dist/modal-CSWipFvB.js +44104 -0
- package/dist/not-found-DBe-djEg.js +42 -0
- package/dist/not-permission-DQzWCpOK.js +39 -0
- package/dist/overlayscrollbars-vue-BOGU2FK-.js +1436 -0
- package/dist/pick-C42gkI1h.js +10 -0
- package/dist/profile-DJ3gpjsS.js +19206 -0
- package/dist/question-line-BKVlJGUb.js +17 -0
- package/dist/reload-DAR8dVYw.js +12 -0
- package/dist/right-VKgVtqD5.js +34 -0
- package/dist/style.css +2 -9
- package/dist/tree-select-CTjWj5WT.js +12178 -0
- package/dist/useContext-D6pJCZez.js +9 -0
- package/dist/utils/shikiHighlighter.d.ts +24 -0
- package/dist/vitesse-dark-BsnBIHGG.js +2 -0
- package/dist/vitesse-light-Cs_6DF7j.js +2 -0
- package/dist/wasm-EvDQvzqp.js +2 -0
- package/dist/watchDiff-C4eGkl9e.js +397 -0
- package/package.json +20 -20
- package/src/built-in/layout-component/Layout.vue +1 -1
- package/src/built-in/layout-component/composables/useGetComputedStyle.ts +15 -4
- package/src/built-in/layout-component/composables/useLayoutVisible.ts +7 -2
- package/src/features/components/PartyLogin/steps/One.vue +7 -20
- package/src/features/stores/modules/route.ts +5 -4
- package/src/features/stores/utils/routerHelper.ts +2 -2
- package/src/utils/shikiHighlighter.ts +80 -0
- package/types/settings.d.ts +1 -1
- package/dist/AppSetting-D5eSdPuB.js +0 -123
- package/dist/HCheckList.vue_vue_type_script_setup_true_lang-DgeRhutB.js +0 -39
- package/dist/HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js +0 -20
- package/dist/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +0 -33
- package/dist/HToggle-BajvSdEE.js +0 -34
- package/dist/HeaderThinMenu-ouAiyBjb.js +0 -4
- package/dist/PreferencesContent-mr3zgq9x.js +0 -923
- package/dist/SettingBreadcrumb-Chx1c5oE.js +0 -50
- package/dist/SettingCopyright-BgIL_X3d.js +0 -62
- package/dist/SettingEnableTransition-16PeKbCJ.js +0 -77
- package/dist/SettingHome-DuLT9846.js +0 -46
- package/dist/SettingMenu-DDOmRqGo.js +0 -120
- package/dist/SettingMode-B6OwuuHR.js +0 -68
- package/dist/SettingNavSearch-BzmXK8I0.js +0 -46
- package/dist/SettingOther-DcDn9I3J.js +0 -81
- package/dist/SettingPage-DmfsDzGF.js +0 -29
- package/dist/SettingTabbar-BxxzDY5f.js +0 -154
- package/dist/SettingThemes-DoTkccTu.js +0 -143
- package/dist/SettingToolbar-ogjoj5NI.js +0 -78
- package/dist/SettingTopbar-BRZEIJZt.js +0 -52
- package/dist/SettingWidthMode-DQmewGT6.js +0 -67
- package/dist/abap-Y8Dl9g_6.js +0 -6
- package/dist/actionscript-3-DZzbMeqX.js +0 -6
- package/dist/ada-vP6ak0IW.js +0 -6
- package/dist/andromeeda-BIpZ7gaU.js +0 -4
- package/dist/angular-html-BmadGEgW.js +0 -32
- package/dist/angular-ts-D-QQnnGT.js +0 -21
- package/dist/apache-BUjz-sD2.js +0 -6
- package/dist/apex-D_wPycVx.js +0 -6
- package/dist/apl-sitt7C8I.js +0 -16
- package/dist/applescript-BPx7YFFu.js +0 -6
- package/dist/ara-Z2fSOxSw.js +0 -6
- package/dist/asciidoc-B-pCoB3G.js +0 -6
- package/dist/asm-BTWLY5ym.js +0 -6
- package/dist/astro-DHnp0xIo.js +0 -18
- package/dist/aurora-x-BwoVEUWZ.js +0 -4
- package/dist/awk-Fb0P9dkn.js +0 -6
- package/dist/ayu-dark-CxPZkpb2.js +0 -4
- package/dist/ballerina-oZK-YekG.js +0 -6
- package/dist/bat-0FvbqU9S.js +0 -6
- package/dist/beancount-DEfTbbFX.js +0 -6
- package/dist/berry-PwsHPR_K.js +0 -6
- package/dist/bibtex-EULQRLY5.js +0 -6
- package/dist/bicep-DFU2oTl7.js +0 -6
- package/dist/blade-OPzGcV14.js +0 -20
- package/dist/bsl-NkNNwerW.js +0 -8
- package/dist/c-eeMepfLm.js +0 -6
- package/dist/cadence-DMRWHJp4.js +0 -6
- package/dist/cairo-DM6WF2e3.js +0 -8
- package/dist/catppuccin-frappe-5udUqgsX.js +0 -4
- package/dist/catppuccin-latte-ufkS-HWv.js +0 -4
- package/dist/catppuccin-macchiato-DzL2LPek.js +0 -4
- package/dist/catppuccin-mocha-DDDDwkUT.js +0 -4
- package/dist/clarity-BseSxcHx.js +0 -6
- package/dist/clojure-CXJfHrL3.js +0 -6
- package/dist/cmake-BJz8BOTU.js +0 -6
- package/dist/cobol-R4Vn9a46.js +0 -10
- package/dist/codeowners-Bt9yU6NX.js +0 -6
- package/dist/codeql-DHkodjjI.js +0 -6
- package/dist/coffee-Dl27lzbd.js +0 -8
- package/dist/common-lisp-EVqT9Zhp.js +0 -6
- package/dist/coq-B0L9upzn.js +0 -6
- package/dist/cpp-Cj177cuW.js +0 -18
- package/dist/crystal-ymVvJzbZ.js +0 -18
- package/dist/csharp-DmxfTLWR.js +0 -6
- package/dist/css-CECN5uSL.js +0 -6
- package/dist/csv-CmYOceLb.js +0 -6
- package/dist/cue-ZzumE7IT.js +0 -6
- package/dist/cypher-jpdmjtA6.js +0 -6
- package/dist/d-CBagWSwH.js +0 -6
- package/dist/dark-plus-pUHDTVV0.js +0 -4
- package/dist/dart-6ObCrKr9.js +0 -6
- package/dist/dax-CcDT-8dH.js +0 -6
- package/dist/desktop-B93p9R9O.js +0 -6
- package/dist/diff-BxzP2J8R.js +0 -6
- package/dist/docker-CsHqm9tx.js +0 -6
- package/dist/dotenv-BMjVjUL1.js +0 -6
- package/dist/dracula-BtZx2Kac.js +0 -4
- package/dist/dracula-soft-BKa-aqBv.js +0 -4
- package/dist/dream-maker-PAx17jaB.js +0 -6
- package/dist/edge-_LvgTcmu.js +0 -12
- package/dist/elixir-BTCUAmQk.js +0 -8
- package/dist/elm-BtNbw_Cd.js +0 -8
- package/dist/emacs-lisp-Cfxdx5D-.js +0 -6
- package/dist/erb-D0PIpZCP.js +0 -10
- package/dist/erlang-DNcDT8Hi.js +0 -8
- package/dist/everforest-dark-DMCBqXCK.js +0 -4
- package/dist/everforest-light-BbXl82Em.js +0 -4
- package/dist/fennel-N4WcXuKx.js +0 -6
- package/dist/fish-B6QqlqeT.js +0 -6
- package/dist/fluent-BMXUxfv1.js +0 -6
- package/dist/fortran-fixed-form-DUsA-VGo.js +0 -8
- package/dist/fortran-free-form-DPIT_jbP.js +0 -6
- package/dist/fsharp-Pr2u3cIG.js +0 -8
- package/dist/gdresource-BwtMIoBm.js +0 -10
- package/dist/gdscript-BifyeYhI.js +0 -6
- package/dist/gdshader-Bk8fF6yr.js +0 -6
- package/dist/genie-DzUvd7U9.js +0 -6
- package/dist/gherkin-DHRaV0YP.js +0 -6
- package/dist/git-commit-Bd32YZ0K.js +0 -8
- package/dist/git-rebase-ZWUFO_T4.js +0 -8
- package/dist/github-dark-DenFmJkN.js +0 -4
- package/dist/github-dark-default-BJPUVz4H.js +0 -4
- package/dist/github-dark-dimmed-DUshB20C.js +0 -4
- package/dist/github-dark-high-contrast-D3aGCnF8.js +0 -4
- package/dist/github-light-JYsPkUQd.js +0 -4
- package/dist/github-light-default-D99KPAby.js +0 -4
- package/dist/github-light-high-contrast-BbmZE-Mp.js +0 -4
- package/dist/gleam-Bv284lvN.js +0 -6
- package/dist/glimmer-js-CkxRszZZ.js +0 -14
- package/dist/glimmer-ts-Bi6BYQCn.js +0 -14
- package/dist/glsl-CkUcVZNK.js +0 -8
- package/dist/gnuplot-yPG9-sE_.js +0 -6
- package/dist/go-ChxJuLYK.js +0 -6
- package/dist/graphql-BLaPX4fU.js +0 -14
- package/dist/groovy-CJQTphOW.js +0 -6
- package/dist/gruvbox-dark-hard-C2ND4cMr.js +0 -4
- package/dist/gruvbox-dark-medium-C8k4c8au.js +0 -4
- package/dist/gruvbox-dark-soft-xx9Q6FaG.js +0 -4
- package/dist/gruvbox-light-hard-BpUXv5in.js +0 -4
- package/dist/gruvbox-light-medium-D3XFCoU1.js +0 -4
- package/dist/gruvbox-light-soft-u7hpfz6Z.js +0 -4
- package/dist/hack-Bx1jMtBC.js +0 -10
- package/dist/haml-6FagfhCM.js +0 -10
- package/dist/handlebars-Bd5Y4M6I.js +0 -14
- package/dist/haskell-WeIwNIP6.js +0 -6
- package/dist/haxe-TztHsm5T.js +0 -6
- package/dist/hcl-D438OF-I.js +0 -6
- package/dist/hjson-DYBUbqOl.js +0 -6
- package/dist/hlsl-Bk8TCZNL.js +0 -6
- package/dist/houston-BDYrDoDW.js +0 -4
- package/dist/html-7XVNRwN7.js +0 -10
- package/dist/html-derivative-BNxZ5Yf6.js +0 -8
- package/dist/http-WC357zBG.js +0 -14
- package/dist/hxml-GbqSQCLa.js +0 -8
- package/dist/hy-Brt5EZ7-.js +0 -6
- package/dist/imba-CimUv-Uh.js +0 -6
- package/dist/index-73TLLAnx.js +0 -25373
- package/dist/index-B3GOGQYd.js +0 -79648
- package/dist/index-BD2fkZis.js +0 -14
- package/dist/index-BrK3HYDT.js +0 -4
- package/dist/index-CkUIa4JM.js +0 -229
- package/dist/index-D2zvNBbe.js +0 -44
- package/dist/index-DwF3aqst.js +0 -49
- package/dist/index-NOUM2y9h.js +0 -2827
- package/dist/ini-BZIuRIvJ.js +0 -6
- package/dist/java-DY6VlHhP.js +0 -6
- package/dist/javascript-Dp1Jmi5H.js +0 -6
- package/dist/jinja-WEhOU5ES.js +0 -11
- package/dist/jison-c2JI40PB.js +0 -8
- package/dist/json-DxJze_jm.js +0 -6
- package/dist/json5-BT4Fjg39.js +0 -6
- package/dist/jsonc-CHjZD8gR.js +0 -6
- package/dist/jsonl-BGuvDmy9.js +0 -6
- package/dist/jsonnet-Bx2cfsXg.js +0 -6
- package/dist/jssm-BcADi6EI.js +0 -6
- package/dist/jsx-BtKADgXT.js +0 -6
- package/dist/julia-DcoDQokW.js +0 -16
- package/dist/kanagawa-dragon-CiKur4Hl.js +0 -4
- package/dist/kanagawa-lotus-BKu-smKu.js +0 -4
- package/dist/kanagawa-wave-CQwozSzG.js +0 -4
- package/dist/kotlin-ByBMgTeR.js +0 -6
- package/dist/kusto-VWFLl2T0.js +0 -6
- package/dist/laserwave-6a00oqik.js +0 -4
- package/dist/latex-MZCpjnva.js +0 -8
- package/dist/lean-DXqEE_d1.js +0 -6
- package/dist/less-B1GLI2Di.js +0 -6
- package/dist/light-plus-CZuVqSLX.js +0 -4
- package/dist/liquid-3HHuHOZ2.js +0 -14
- package/dist/llvm-6RQLId6G.js +0 -6
- package/dist/log-Al8wyEFV.js +0 -6
- package/dist/logo-DBa4JDzV.js +0 -6
- package/dist/lua-kX5WP_P5.js +0 -8
- package/dist/luau-DtBSxLyz.js +0 -6
- package/dist/make-CsMclxtr.js +0 -6
- package/dist/markdown-CrScaQ96.js +0 -6
- package/dist/marko-DDi9qpQP.js +0 -14
- package/dist/material-theme-D6KBX41T.js +0 -4
- package/dist/material-theme-darker-CkRroheE.js +0 -4
- package/dist/material-theme-lighter-BUBw43Yz.js +0 -4
- package/dist/material-theme-ocean-ClGX14Ja.js +0 -4
- package/dist/material-theme-palenight-C1RVm8K1.js +0 -4
- package/dist/matlab-BOAaUVP0.js +0 -6
- package/dist/mdc-FI2x3BiY.js +0 -12
- package/dist/mdx-BOhZZUJ8.js +0 -6
- package/dist/mermaid-B0ixDHKN.js +0 -6
- package/dist/min-dark-C7ak0t6c.js +0 -4
- package/dist/min-light-CKFxVcPp.js +0 -4
- package/dist/mipsasm-CTx18fBl.js +0 -6
- package/dist/mojo-BD611d7o.js +0 -6
- package/dist/monokai-C1KBYcO0.js +0 -4
- package/dist/move-DSb5dTSj.js +0 -6
- package/dist/narrat-DmhDCBs-.js +0 -6
- package/dist/nextflow-BAAEJxI_.js +0 -6
- package/dist/nginx-5vhPAEw3.js +0 -8
- package/dist/night-owl-Bm2rzalh.js +0 -4
- package/dist/nim-BhS8gg0S.js +0 -20
- package/dist/nix-ceY58Dty.js +0 -6
- package/dist/nord-CC5OiUXg.js +0 -4
- package/dist/nushell-CQi4NV-2.js +0 -6
- package/dist/objective-c-Itk8tzmv.js +0 -6
- package/dist/objective-cpp-DGt5UKRO.js +0 -6
- package/dist/ocaml-eSVK32Eg.js +0 -6
- package/dist/one-dark-pro-DTA3VF0_.js +0 -4
- package/dist/one-light-D9sNaUtq.js +0 -4
- package/dist/pascal-xy8pJNns.js +0 -6
- package/dist/perl-BoEn6HmT.js +0 -16
- package/dist/php-BRU9zhoN.js +0 -18
- package/dist/pick-dLE6MD9A.js +0 -12
- package/dist/plastic-CSTz3KZp.js +0 -4
- package/dist/plsql-pVbGZfOv.js +0 -6
- package/dist/po-BNfHvqmm.js +0 -6
- package/dist/poimandres-C-VADXHD.js +0 -4
- package/dist/polar-CAZahv3u.js +0 -6
- package/dist/postcss-05aHdL-n.js +0 -6
- package/dist/powerquery-DI9HkTvs.js +0 -6
- package/dist/powershell-Clc4ydu-.js +0 -6
- package/dist/prisma-FZjmVtSl.js +0 -6
- package/dist/prolog-C5-yg4TO.js +0 -6
- package/dist/proto-MmCPeFAD.js +0 -6
- package/dist/pug-CJWI-qSo.js +0 -12
- package/dist/puppet-CUJHmnxV.js +0 -6
- package/dist/purescript-rUfGld-4.js +0 -6
- package/dist/python-BFNSHbwJ.js +0 -6
- package/dist/qml-D3ATcgGh.js +0 -8
- package/dist/qmldir-BInDYbpo.js +0 -6
- package/dist/qss-AeJTysr_.js +0 -6
- package/dist/question-line-DCMVyZ3e.js +0 -18
- package/dist/r-Bm0uF0U2.js +0 -6
- package/dist/racket-B83wSAja.js +0 -6
- package/dist/raku-nEQ4ZJJ7.js +0 -6
- package/dist/razor-BPFYEoc9.js +0 -10
- package/dist/red-7y8PH7HH.js +0 -4
- package/dist/reg-m_s_Kiip.js +0 -6
- package/dist/regexp-BazyLpPg.js +0 -6
- package/dist/rel-BcRfyd6Q.js +0 -6
- package/dist/right-aIVrXLnr.js +0 -36
- package/dist/riscv-Ce8MAQLP.js +0 -6
- package/dist/rose-pine-Cr4kwgAY.js +0 -4
- package/dist/rose-pine-dawn-ClRRUdXX.js +0 -4
- package/dist/rose-pine-moon-ucNn3Gm8.js +0 -4
- package/dist/rst-B6mPMsKo.js +0 -22
- package/dist/ruby-DInklMmU.js +0 -30
- package/dist/rust-CLzF9zIN.js +0 -6
- package/dist/sas-fpEvgATw.js +0 -8
- package/dist/sass-DxHp5rTx.js +0 -6
- package/dist/scala-D4grkFkl.js +0 -6
- package/dist/scheme-BCRWuEm4.js +0 -6
- package/dist/scss-B1FaCqwR.js +0 -8
- package/dist/sdbl-B7T8abf4.js +0 -6
- package/dist/shaderlab-Cr62-Wb4.js +0 -8
- package/dist/shellscript-InADTalH.js +0 -6
- package/dist/shellsession-DiDJNQdy.js +0 -8
- package/dist/slack-dark-i7wN4OET.js +0 -4
- package/dist/slack-ochin-ndHf0LoP.js +0 -4
- package/dist/smalltalk-BlI1_OkM.js +0 -6
- package/dist/snazzy-light-BlSJXAu4.js +0 -4
- package/dist/solarized-dark-UTmkh7lw.js +0 -4
- package/dist/solarized-light-BheCkDPT.js +0 -4
- package/dist/solidity-CneOhxmR.js +0 -6
- package/dist/soy-LybuU3Y_.js +0 -8
- package/dist/sparql-B0KWFEri.js +0 -8
- package/dist/splunk-CRXR8A9s.js +0 -6
- package/dist/sql-Cn_v3PB0.js +0 -6
- package/dist/ssh-config-DP-hNVbF.js +0 -6
- package/dist/stata-B8c5fTjX.js +0 -8
- package/dist/stylus-CyKEU1Ej.js +0 -6
- package/dist/svelte-BjDUPxZ1.js +0 -14
- package/dist/swift-9UzSvamq.js +0 -6
- package/dist/synthwave-84-NU3C_KFZ.js +0 -4
- package/dist/system-verilog-BCm7smPJ.js +0 -6
- package/dist/systemd-C-4qm6XH.js +0 -6
- package/dist/talonscript-CFF3LF_O.js +0 -6
- package/dist/tasl-Cg_WBUAe.js +0 -6
- package/dist/tcl-DN7buRTF.js +0 -6
- package/dist/templ-Brj2RH7A.js +0 -12
- package/dist/terraform-DGvcn9zM.js +0 -6
- package/dist/tex-CmrLTxbG.js +0 -8
- package/dist/tokyo-night-DP4TmcQl.js +0 -4
- package/dist/toml-DY62mUL_.js +0 -6
- package/dist/ts-tags-CZMzuZh-.js +0 -41
- package/dist/tsv-BtvSkaG0.js +0 -6
- package/dist/tsx-B8rCNbgL.js +0 -6
- package/dist/turtle-_H59FV7D.js +0 -6
- package/dist/twig-GjIxYqCX.js +0 -18
- package/dist/typescript-mg6ATTE8.js +0 -6
- package/dist/typespec-Djmco60m.js +0 -6
- package/dist/typst-D_1QKWns.js +0 -6
- package/dist/v-BW14IZv7.js +0 -6
- package/dist/vala-uxaPR7d1.js +0 -6
- package/dist/vb-D8_c5-KN.js +0 -6
- package/dist/verilog-B-bybjPF.js +0 -6
- package/dist/vesper-BckBta1U.js +0 -4
- package/dist/vhdl-CUlNa8ac.js +0 -6
- package/dist/viml-DsfA-sWm.js +0 -6
- package/dist/vitesse-black-BoGvW84i.js +0 -4
- package/dist/vitesse-dark-Cym-eLtO.js +0 -4
- package/dist/vitesse-light-CcmG315c.js +0 -4
- package/dist/vue-D-ba2-Rx.js +0 -31
- package/dist/vue-html-Dn2ZoOSz.js +0 -10
- package/dist/vue-vine-Jmfkm6lF.js +0 -20
- package/dist/vyper-CPQuu50u.js +0 -6
- package/dist/wasm-BBXxrAl7.js +0 -6
- package/dist/wasm-DQxwEHae.js +0 -7
- package/dist/wenyan-pbVjoM9_.js +0 -6
- package/dist/wgsl-DY4iK1q1.js +0 -6
- package/dist/wikitext-Z-MoUasO.js +0 -6
- package/dist/wit-CQMQOlTg.js +0 -6
- package/dist/wolfram-Dz4KXISs.js +0 -6
- package/dist/xml-C2J0sS9M.js +0 -8
- package/dist/xsl-BmSZphgC.js +0 -8
- package/dist/yaml-DaO7k5B1.js +0 -6
- package/dist/zenscript-CxBjpf9c.js +0 -6
- package/dist/zig-Vm0PO9wB.js +0 -6
|
@@ -0,0 +1,437 @@
|
|
|
1
|
+
import { n as message_default } from "./modal-CSWipFvB.js";
|
|
2
|
+
import { d as useTimeoutFn } from "./dist-DAb-7mqe.js";
|
|
3
|
+
import { a as PubinfoIcon_default } from "./components-DVIyiEVI.js";
|
|
4
|
+
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-DaPiLSxE.js";
|
|
5
|
+
import { n as useContext } from "./useContext-D6pJCZez.js";
|
|
6
|
+
import { t as P } from "./overlayscrollbars-vue-BOGU2FK-.js";
|
|
7
|
+
import { usePartyLogin } from "./index.js";
|
|
8
|
+
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, shallowRef, toDisplayString, toHandlers, unref, watch, withCtx, withModifiers } from "vue";
|
|
9
|
+
import { useRoute, useRouter } from "vue-router";
|
|
10
|
+
var _hoisted_1$1 = { class: "relative inline-flex" }, _hoisted_2 = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "absolute left-[50%] top-0 z-20 whitespace-nowrap rounded-full bg-ui-primary px-1.5 text-xs text-ui-text ring-1 ring-light -translate-y-[50%] dark:ring-dark"
|
|
13
|
+
}, HBadge_default = /* @__PURE__ */ defineComponent({
|
|
14
|
+
__name: "HBadge",
|
|
15
|
+
props: { value: { type: [
|
|
16
|
+
String,
|
|
17
|
+
Number,
|
|
18
|
+
Boolean
|
|
19
|
+
] } },
|
|
20
|
+
setup(i) {
|
|
21
|
+
let k = i, A = computed(() => {
|
|
22
|
+
switch (typeof k.value) {
|
|
23
|
+
case "string": return k.value.length > 0;
|
|
24
|
+
case "number": return k.value > 0;
|
|
25
|
+
case "boolean": return k.value;
|
|
26
|
+
default: return k.value !== void 0 && k.value !== null;
|
|
27
|
+
}
|
|
28
|
+
}), j = ref({
|
|
29
|
+
enterActiveClass: "ease-in-out duration-500",
|
|
30
|
+
enterFromClass: "opacity-0",
|
|
31
|
+
enterToClass: "opacity-100",
|
|
32
|
+
leaveActiveClass: "ease-in-out duration-500",
|
|
33
|
+
leaveFromClass: "opacity-100",
|
|
34
|
+
leaveToClass: "opacity-0"
|
|
35
|
+
});
|
|
36
|
+
return (k, M) => (openBlock(), createElementBlock("div", _hoisted_1$1, [renderSlot(k.$slots, "default"), createVNode(Transition, normalizeProps(guardReactiveProps(unref(j))), {
|
|
37
|
+
default: withCtx(() => [unref(A) ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(i.value), 1)) : createCommentVNode("", !0)]),
|
|
38
|
+
_: 1
|
|
39
|
+
}, 16)]));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
function createInjectionKey(i) {
|
|
43
|
+
return i;
|
|
44
|
+
}
|
|
45
|
+
const rootMenuInjectionKey = createInjectionKey("rootMenu");
|
|
46
|
+
var _hoisted_1 = ["title"], item_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
47
|
+
name: "MenuItem",
|
|
48
|
+
__name: "item",
|
|
49
|
+
props: {
|
|
50
|
+
uniqueKey: {},
|
|
51
|
+
item: {},
|
|
52
|
+
level: { default: 0 },
|
|
53
|
+
subMenu: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: !1
|
|
56
|
+
},
|
|
57
|
+
expand: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: !1
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
setup(i, { expose: k }) {
|
|
63
|
+
let j = i, N = inject(rootMenuInjectionKey), { generateTitle: F } = useContext(), I = ref(), L = computed(() => j.subMenu ? N.subMenus[j.uniqueKey[j.uniqueKey.length - 1]]?.active : N.activeIndex === j.uniqueKey[j.uniqueKey.length - 1]), z = computed(() => L.value && (!j.subMenu || N.isMenuPopup)), B = computed(() => {
|
|
64
|
+
let i;
|
|
65
|
+
return j.item.meta?.icon && (i = j.item.meta.icon), L.value && (j.item.meta?.activeIcon === "system-point" ? i = "system-point" : j.item.meta?.activeIcon && (i = j.item.meta.activeIcon)), i;
|
|
66
|
+
}), V = computed(() => j.item.meta?.iconOptions), U = computed(() => {
|
|
67
|
+
let i = V.value?.boxType;
|
|
68
|
+
return i && i !== "null" ? i : void 0;
|
|
69
|
+
}), W = computed(() => V.value?.iconColor || void 0), G = computed(() => N.isMenuPopup ? "" : `padding-left: ${32 * (j.level ?? 0)}px`);
|
|
70
|
+
return k({ ref: I }), (k, j) => {
|
|
71
|
+
let M = HBadge_default;
|
|
72
|
+
return openBlock(), createElementBlock("div", {
|
|
73
|
+
ref_key: "itemRef",
|
|
74
|
+
ref: I,
|
|
75
|
+
class: normalizeClass(["menu-item relative transition-all", {
|
|
76
|
+
active: unref(z),
|
|
77
|
+
"px-2 py-1": unref(N).props.rounded,
|
|
78
|
+
"px-1! py-2!": unref(N).props.rounded && unref(N).isMenuPopup && i.level === 0 && unref(N).props.mode === "horizontal"
|
|
79
|
+
}])
|
|
80
|
+
}, [createElementVNode("div", {
|
|
81
|
+
class: normalizeClass(["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 px-5 py-14px text-[var(--g-sub-sidebar-menu-color)] transition-all hover:(bg-[var(--g-sub-sidebar-menu-hover-bg)] text-[var(--g-sub-sidebar-menu-hover-color)])", {
|
|
82
|
+
"text-[var(--g-sub-sidebar-menu-active-color)]! bg-[var(--g-sub-sidebar-menu-active-bg)]!": unref(z),
|
|
83
|
+
"rounded-2": unref(N).props.rounded,
|
|
84
|
+
"px-2!": unref(N).isMenuPopup && i.level === 0,
|
|
85
|
+
"py-3!": unref(N).props.rounded && unref(N).isMenuPopup && i.level !== 0
|
|
86
|
+
}]),
|
|
87
|
+
title: unref(F)(i.item.meta?.title)
|
|
88
|
+
}, [createElementVNode("div", {
|
|
89
|
+
class: normalizeClass(["menu-item-container-layout inline-flex flex-1 items-center justify-center gap-[12px]", {
|
|
90
|
+
"flex-col gap-none": unref(N).isMenuPopup && i.level === 0,
|
|
91
|
+
"flex-col gap-[2px]!": unref(N).isMenuPopup && i.level === 0 && unref(N).props.showCollapseName,
|
|
92
|
+
"w-full": unref(N).isMenuPopup && i.level === 0 && unref(N).props.showCollapseName && unref(N).props.mode === "vertical",
|
|
93
|
+
"w-[50px]": unref(N).isMenuPopup && i.level === 0 && unref(N).props.showCollapseName && unref(N).props.mode === "horizontal"
|
|
94
|
+
}]),
|
|
95
|
+
style: normalizeStyle(unref(G))
|
|
96
|
+
}, [
|
|
97
|
+
unref(B) && unref(B) !== "system-point" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [unref(V) && unref(U) ? (openBlock(), createBlock(unref(PubinfoIcon_default), {
|
|
98
|
+
key: 0,
|
|
99
|
+
small: "",
|
|
100
|
+
name: unref(B),
|
|
101
|
+
box: unref(U),
|
|
102
|
+
size: 20,
|
|
103
|
+
"icon-size": unref(V)?.iconSize,
|
|
104
|
+
angle: unref(V)?.angle,
|
|
105
|
+
background: unref(V)?.background,
|
|
106
|
+
radius: unref(V)?.radius,
|
|
107
|
+
color: (unref(B) || "").startsWith("antd:") ? unref(W) || "#ffffff" : void 0,
|
|
108
|
+
class: "menu-item-container-icon transition-transform group-hover:scale-115"
|
|
109
|
+
}, null, 8, [
|
|
110
|
+
"name",
|
|
111
|
+
"box",
|
|
112
|
+
"icon-size",
|
|
113
|
+
"angle",
|
|
114
|
+
"background",
|
|
115
|
+
"radius",
|
|
116
|
+
"color"
|
|
117
|
+
])) : (openBlock(), createBlock(unref(PubinfoIcon_default), {
|
|
118
|
+
key: 1,
|
|
119
|
+
name: unref(B),
|
|
120
|
+
size: 20,
|
|
121
|
+
color: (unref(B) || "").startsWith("antd:") ? unref(W) : void 0,
|
|
122
|
+
class: "menu-item-container-icon transition-transform group-hover:scale-115"
|
|
123
|
+
}, null, 8, ["name", "color"]))], 64)) : createCommentVNode("", !0),
|
|
124
|
+
unref(N).isMenuPopup && i.level === 0 && !unref(N).props.showCollapseName ? createCommentVNode("", !0) : (openBlock(), createElementBlock("span", {
|
|
125
|
+
key: 1,
|
|
126
|
+
class: normalizeClass(["title w-0 flex-1 truncate text-sm transition-height transition-opacity transition-width", {
|
|
127
|
+
"opacity-0 w-0 h-0": unref(N).isMenuPopup && i.level === 0 && !unref(N).props.showCollapseName,
|
|
128
|
+
"w-full text-center": unref(N).isMenuPopup && i.level === 0 && unref(N).props.showCollapseName,
|
|
129
|
+
"system-point": unref(B) === "system-point" && unref(z)
|
|
130
|
+
}])
|
|
131
|
+
}, toDisplayString(unref(F)(i.item.meta?.title)), 3)),
|
|
132
|
+
i.item.meta?.badge ? (openBlock(), createBlock(M, {
|
|
133
|
+
key: 2,
|
|
134
|
+
value: typeof i.item.meta.badge == "function" ? i.item.meta.badge() : i.item.meta.badge,
|
|
135
|
+
class: normalizeClass(["badge", { "opacity-0": unref(N).isMenuPopup && i.level === 0 }])
|
|
136
|
+
}, null, 8, ["value", "class"])) : createCommentVNode("", !0)
|
|
137
|
+
], 6), i.subMenu && !(unref(N).isMenuPopup && i.level === 0) ? (openBlock(), createElementBlock("i", {
|
|
138
|
+
key: 0,
|
|
139
|
+
class: normalizeClass(["sharp-corner", [
|
|
140
|
+
i.expand ? "before:-rotate-45 before:-translate-x-[2px] after:rotate-45 after:translate-x-[2px]" : "before:rotate-45 before:-translate-x-[2px] after:-rotate-45 after:translate-x-[2px] ",
|
|
141
|
+
unref(N).isMenuPopup && i.level === 0 && "opacity-0",
|
|
142
|
+
unref(N).isMenuPopup && i.level !== 0 && "-rotate-90 -top-[1.5px]"
|
|
143
|
+
]])
|
|
144
|
+
}, null, 2)) : createCommentVNode("", !0)], 10, _hoisted_1)], 2);
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
}), [["__scopeId", "data-v-dd5786b9"]]), sub_default = /* @__PURE__ */ defineComponent({
|
|
148
|
+
name: "SubMenu",
|
|
149
|
+
__name: "sub",
|
|
150
|
+
props: {
|
|
151
|
+
uniqueKey: {},
|
|
152
|
+
menu: {},
|
|
153
|
+
level: { default: 0 }
|
|
154
|
+
},
|
|
155
|
+
setup(i) {
|
|
156
|
+
let A = i, j = A.menu.path ?? JSON.stringify(A.menu), M = shallowRef(), F = shallowRef(), R = inject(rootMenuInjectionKey), B = computed(() => R.openedMenus.includes(A.uniqueKey[A.uniqueKey.length - 1])), V = computed(() => R.isMenuPopup ? {
|
|
157
|
+
enter(i) {
|
|
158
|
+
i.offsetHeight > window.innerHeight && (i.style.height = `${window.innerHeight}px`);
|
|
159
|
+
},
|
|
160
|
+
afterEnter: () => {},
|
|
161
|
+
beforeLeave: (i) => {
|
|
162
|
+
i.style.overflow = "hidden", i.style.maxHeight = `${i.offsetHeight}px`;
|
|
163
|
+
},
|
|
164
|
+
leave: (i) => {
|
|
165
|
+
i.style.maxHeight = "0";
|
|
166
|
+
},
|
|
167
|
+
afterLeave(i) {
|
|
168
|
+
i.style.overflow = "", i.style.maxHeight = "";
|
|
169
|
+
}
|
|
170
|
+
} : {
|
|
171
|
+
enter(i) {
|
|
172
|
+
let k = i.offsetHeight;
|
|
173
|
+
i.style.maxHeight = "0", i.style.overflow = "hidden", i.offsetHeight, i.style.maxHeight = `${k}px`;
|
|
174
|
+
},
|
|
175
|
+
afterEnter(i) {
|
|
176
|
+
i.style.overflow = "", i.style.maxHeight = "";
|
|
177
|
+
},
|
|
178
|
+
beforeLeave(i) {
|
|
179
|
+
i.style.overflow = "hidden", i.style.maxHeight = `${i.offsetHeight}px`;
|
|
180
|
+
},
|
|
181
|
+
leave(i) {
|
|
182
|
+
i.style.maxHeight = "0";
|
|
183
|
+
},
|
|
184
|
+
afterLeave(i) {
|
|
185
|
+
i.style.overflow = "", i.style.maxHeight = "";
|
|
186
|
+
}
|
|
187
|
+
}), G = computed(() => R.isMenuPopup ? {
|
|
188
|
+
enterActiveClass: "ease-in-out duration-300",
|
|
189
|
+
enterFromClass: "opacity-0 translate-x-4",
|
|
190
|
+
enterToClass: "opacity-100",
|
|
191
|
+
leaveActiveClass: "ease-in-out duration-300",
|
|
192
|
+
leaveFromClass: "opacity-100",
|
|
193
|
+
leaveToClass: "opacity-0"
|
|
194
|
+
} : {
|
|
195
|
+
enterActiveClass: "ease-in-out duration-300",
|
|
196
|
+
enterFromClass: "opacity-0",
|
|
197
|
+
enterToClass: "opacity-100",
|
|
198
|
+
leaveActiveClass: "ease-in-out duration-300",
|
|
199
|
+
leaveFromClass: "opacity-100",
|
|
200
|
+
leaveToClass: "opacity-0"
|
|
201
|
+
}), K = computed(() => {
|
|
202
|
+
let i = !0;
|
|
203
|
+
return A.menu.children ? A.menu.children.every((i) => i.meta?.sidebar === !1) && (i = !1) : i = !1, i;
|
|
204
|
+
});
|
|
205
|
+
function q() {
|
|
206
|
+
R.isMenuPopup && K.value || (K.value ? R.handleSubMenuClick(j, A.uniqueKey) : R.handleMenuItemClick(j, A.menu.meta));
|
|
207
|
+
}
|
|
208
|
+
let J;
|
|
209
|
+
function Y() {
|
|
210
|
+
R.isMenuPopup && (R.mouseInMenu = A.uniqueKey, J?.(), {stop: J} = useTimeoutFn(() => {
|
|
211
|
+
if (K.value) R.openMenu(j, A.uniqueKey), nextTick(() => {
|
|
212
|
+
let i = M.value.ref, k = 0, j = 0;
|
|
213
|
+
R.props.mode === "vertical" || A.level !== 0 ? (k = i.getBoundingClientRect().top + i.scrollTop, j = i.getBoundingClientRect().left + i.getBoundingClientRect().width, k + F.value.getElement().offsetHeight > window.innerHeight && (k = window.innerHeight - F.value.getElement().offsetHeight)) : (k = i.getBoundingClientRect().top + i.getBoundingClientRect().height, j = i.getBoundingClientRect().left, k + F.value.getElement().offsetHeight > window.innerHeight && (F.value.getElement().style.height = `${window.innerHeight - k}px`)), F.value.getElement().style.top = `${k}px`, F.value.getElement().style.left = `${j}px`;
|
|
214
|
+
});
|
|
215
|
+
else {
|
|
216
|
+
let i = A.menu.children ? R.subMenus[j].indexPath.at(-1) : R.items[j].indexPath.at(-1);
|
|
217
|
+
R.openMenu(i, R.subMenus[i].indexPath);
|
|
218
|
+
}
|
|
219
|
+
}, 300));
|
|
220
|
+
}
|
|
221
|
+
function X() {
|
|
222
|
+
R.isMenuPopup && (R.mouseInMenu = [], J?.(), {stop: J} = useTimeoutFn(() => {
|
|
223
|
+
R.mouseInMenu.length === 0 ? R.closeMenu(A.uniqueKey) : K.value && (R.mouseInMenu.includes(A.uniqueKey.at(-1)) || R.closeMenu(A.uniqueKey.at(-1)));
|
|
224
|
+
}, 300));
|
|
225
|
+
}
|
|
226
|
+
return (k, A) => {
|
|
227
|
+
let j = resolveComponent("SubMenu");
|
|
228
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(item_default, {
|
|
229
|
+
ref_key: "itemRef",
|
|
230
|
+
ref: M,
|
|
231
|
+
"unique-key": i.uniqueKey,
|
|
232
|
+
item: i.menu,
|
|
233
|
+
level: i.level,
|
|
234
|
+
"sub-menu": unref(K),
|
|
235
|
+
expand: unref(B),
|
|
236
|
+
onClick: q,
|
|
237
|
+
onMouseenter: Y,
|
|
238
|
+
onMouseleave: X
|
|
239
|
+
}, null, 8, [
|
|
240
|
+
"unique-key",
|
|
241
|
+
"item",
|
|
242
|
+
"level",
|
|
243
|
+
"sub-menu",
|
|
244
|
+
"expand"
|
|
245
|
+
]), unref(K) ? (openBlock(), createBlock(Teleport, {
|
|
246
|
+
key: 0,
|
|
247
|
+
to: "body",
|
|
248
|
+
disabled: !unref(R).isMenuPopup
|
|
249
|
+
}, [createVNode(Transition, mergeProps(unref(G), toHandlers(unref(V))), {
|
|
250
|
+
default: withCtx(() => [unref(B) ? (openBlock(), createBlock(unref(P), {
|
|
251
|
+
key: 0,
|
|
252
|
+
ref_key: "subMenuRef",
|
|
253
|
+
ref: F,
|
|
254
|
+
options: { scrollbars: { visibility: "hidden" } },
|
|
255
|
+
defer: "",
|
|
256
|
+
class: normalizeClass(["sub-menu", {
|
|
257
|
+
"bg-[var(--g-sub-sidebar-bg)]": unref(R).isMenuPopup,
|
|
258
|
+
"ring-1 ring-stone-2 dark:ring-stone-8 shadow-xl fixed z-3000 w-[200px]": unref(R).isMenuPopup,
|
|
259
|
+
"mx-2": unref(R).isMenuPopup && (unref(R).props.mode === "vertical" || i.level !== 0),
|
|
260
|
+
"rounded-2 py-1": unref(R).props.rounded && unref(R).isMenuPopup
|
|
261
|
+
}])
|
|
262
|
+
}, {
|
|
263
|
+
default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(i.menu.children, (k) => (openBlock(), createElementBlock(Fragment, { key: k.path ?? JSON.stringify(k) }, [k.meta?.sidebar === !1 ? createCommentVNode("", !0) : (openBlock(), createBlock(j, {
|
|
264
|
+
key: 0,
|
|
265
|
+
"unique-key": [...i.uniqueKey, k.path ?? JSON.stringify(k)],
|
|
266
|
+
menu: k,
|
|
267
|
+
level: i.level + 1
|
|
268
|
+
}, null, 8, [
|
|
269
|
+
"unique-key",
|
|
270
|
+
"menu",
|
|
271
|
+
"level"
|
|
272
|
+
]))], 64))), 128))]),
|
|
273
|
+
_: 1
|
|
274
|
+
}, 8, ["class"])) : createCommentVNode("", !0)]),
|
|
275
|
+
_: 1
|
|
276
|
+
}, 16)], 8, ["disabled"])) : createCommentVNode("", !0)], 64);
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
}), Menu_default = /* @__PURE__ */ defineComponent({
|
|
280
|
+
name: "MainMenu",
|
|
281
|
+
__name: "index",
|
|
282
|
+
props: {
|
|
283
|
+
menu: {},
|
|
284
|
+
value: {},
|
|
285
|
+
accordion: {
|
|
286
|
+
type: Boolean,
|
|
287
|
+
default: !0
|
|
288
|
+
},
|
|
289
|
+
defaultOpeneds: { default: () => [] },
|
|
290
|
+
mode: { default: "vertical" },
|
|
291
|
+
collapse: {
|
|
292
|
+
type: Boolean,
|
|
293
|
+
default: !1
|
|
294
|
+
},
|
|
295
|
+
showCollapseName: {
|
|
296
|
+
type: Boolean,
|
|
297
|
+
default: !1
|
|
298
|
+
},
|
|
299
|
+
rounded: {
|
|
300
|
+
type: Boolean,
|
|
301
|
+
default: !1
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
setup(k) {
|
|
305
|
+
let A = k, j = useRouter(), M = ref(A.value), N = ref({}), I = ref({}), L = ref(A.defaultOpeneds.slice(0)), R = ref([]), z = computed(() => A.mode === "horizontal" || A.mode === "vertical" && A.collapse);
|
|
306
|
+
function B(i = [], k = []) {
|
|
307
|
+
i.forEach((i) => {
|
|
308
|
+
let A = i.path ?? JSON.stringify(i);
|
|
309
|
+
if (i.children && i.children.length > 0) {
|
|
310
|
+
let j = [...k, A];
|
|
311
|
+
I.value[A] = {
|
|
312
|
+
index: A,
|
|
313
|
+
indexPath: j,
|
|
314
|
+
active: !1
|
|
315
|
+
}, B(i.children, j);
|
|
316
|
+
} else N.value[A] = {
|
|
317
|
+
index: A,
|
|
318
|
+
indexPath: k
|
|
319
|
+
};
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
let V = (i, k) => {
|
|
323
|
+
L.value.includes(i) || (A.accordion && (L.value = L.value.filter((i) => k.includes(i))), L.value.push(i));
|
|
324
|
+
}, H = (i) => {
|
|
325
|
+
if (Array.isArray(i)) {
|
|
326
|
+
nextTick(() => {
|
|
327
|
+
H(i.at(-1)), i.length > 1 && H(i.slice(0, -1));
|
|
328
|
+
});
|
|
329
|
+
return;
|
|
330
|
+
}
|
|
331
|
+
Object.keys(I.value).forEach((k) => {
|
|
332
|
+
I.value[k].indexPath.includes(i) && (L.value = L.value.filter((k) => k !== i));
|
|
333
|
+
});
|
|
334
|
+
};
|
|
335
|
+
function U(i) {
|
|
336
|
+
Object.keys(I.value).forEach((i) => {
|
|
337
|
+
I.value[i].active = !1;
|
|
338
|
+
}), N.value[i]?.indexPath.forEach((i) => {
|
|
339
|
+
I.value[i].active = !0;
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
let G = async (k, M) => {
|
|
343
|
+
if (M?.isDev) {
|
|
344
|
+
message_default.info("暂未上线,敬请期待!");
|
|
345
|
+
return;
|
|
346
|
+
}
|
|
347
|
+
if ((A.mode === "horizontal" || A.collapse) && (L.value = []), U(k), M?.link) {
|
|
348
|
+
let i = M?.partyLogin;
|
|
349
|
+
if (i && Array.isArray(i) && i.length > 0) {
|
|
350
|
+
let { url: k } = await usePartyLogin(i, M.link);
|
|
351
|
+
window.open(k.value);
|
|
352
|
+
} else window.open(M.link);
|
|
353
|
+
return;
|
|
354
|
+
}
|
|
355
|
+
j.push(k);
|
|
356
|
+
}, K = (i, k) => {
|
|
357
|
+
L.value.includes(i) ? H(i) : V(i, k);
|
|
358
|
+
};
|
|
359
|
+
function X() {
|
|
360
|
+
let i = M.value && N.value[M.value];
|
|
361
|
+
U(M.value), !(!i || A.collapse) && i.indexPath.forEach((i) => {
|
|
362
|
+
let k = I.value[i];
|
|
363
|
+
k && V(i, k.indexPath);
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
return watch(() => A.menu, (i) => {
|
|
367
|
+
B(i), X();
|
|
368
|
+
}, {
|
|
369
|
+
deep: !0,
|
|
370
|
+
immediate: !0
|
|
371
|
+
}), watch(() => A.value, (i) => {
|
|
372
|
+
N.value[i] || (M.value = "");
|
|
373
|
+
let k = N.value[i] || M.value && N.value[M.value] || N.value[A.value];
|
|
374
|
+
k ? M.value = k.index : M.value = i, X();
|
|
375
|
+
}), watch(() => A.collapse, (i) => {
|
|
376
|
+
i && (L.value = []), X();
|
|
377
|
+
}), provide(rootMenuInjectionKey, reactive({
|
|
378
|
+
props: A,
|
|
379
|
+
items: N,
|
|
380
|
+
subMenus: I,
|
|
381
|
+
activeIndex: M,
|
|
382
|
+
openedMenus: L,
|
|
383
|
+
mouseInMenu: R,
|
|
384
|
+
isMenuPopup: z,
|
|
385
|
+
openMenu: V,
|
|
386
|
+
closeMenu: H,
|
|
387
|
+
handleMenuItemClick: G,
|
|
388
|
+
handleSubMenuClick: K
|
|
389
|
+
})), (i, j) => (openBlock(), createElementBlock("div", { class: normalizeClass(["flex flex-col of-hidden transition-all", {
|
|
390
|
+
"w-[200px]": !unref(z) && A.mode === "vertical",
|
|
391
|
+
"w-[64px]": unref(z) && A.mode === "vertical",
|
|
392
|
+
"h-[80px]": A.mode === "horizontal",
|
|
393
|
+
"flex-row! w-auto": unref(z) && A.mode === "horizontal"
|
|
394
|
+
}]) }, [(openBlock(!0), createElementBlock(Fragment, null, renderList(k.menu, (i, k) => (openBlock(), createElementBlock(Fragment, { key: k }, [i.children?.length && i.meta?.sidebar !== !1 ? (openBlock(), createBlock(sub_default, {
|
|
395
|
+
key: 0,
|
|
396
|
+
menu: i,
|
|
397
|
+
"unique-key": [i.path ?? JSON.stringify(i)]
|
|
398
|
+
}, null, 8, ["menu", "unique-key"])) : i.meta?.sidebar === !1 ? createCommentVNode("", !0) : (openBlock(), createBlock(item_default, {
|
|
399
|
+
key: 1,
|
|
400
|
+
item: i,
|
|
401
|
+
"unique-key": [i.path ?? JSON.stringify(i)],
|
|
402
|
+
onClick: (k) => G(i.path ?? JSON.stringify(i), i.meta)
|
|
403
|
+
}, null, 8, [
|
|
404
|
+
"item",
|
|
405
|
+
"unique-key",
|
|
406
|
+
"onClick"
|
|
407
|
+
]))], 64))), 128))], 2));
|
|
408
|
+
}
|
|
409
|
+
}), HeaderThinMenu_default = /* @__PURE__ */ defineComponent({
|
|
410
|
+
name: "LayoutHeaderThinMenu",
|
|
411
|
+
__name: "HeaderThinMenu",
|
|
412
|
+
setup(i) {
|
|
413
|
+
let k = useRoute(), { settingsStore: A, menuStore: j } = useContext(), N = ref();
|
|
414
|
+
function F(i) {
|
|
415
|
+
N.value.scrollBy({ left: (i.deltaY || i.detail) > 0 ? 50 : -50 });
|
|
416
|
+
}
|
|
417
|
+
return (i, M) => (openBlock(), createElementBlock("div", {
|
|
418
|
+
ref_key: "menuRef",
|
|
419
|
+
ref: N,
|
|
420
|
+
class: "menu-container",
|
|
421
|
+
onWheel: withModifiers(F, ["prevent"])
|
|
422
|
+
}, [createVNode(Menu_default, {
|
|
423
|
+
menu: unref(j).allMenus,
|
|
424
|
+
value: unref(k).meta.activeMenu || unref(k).path,
|
|
425
|
+
mode: "horizontal",
|
|
426
|
+
"show-collapse-name": "",
|
|
427
|
+
rounded: unref(A).settings.menu.isRounded,
|
|
428
|
+
class: normalizeClass(["menu", { [`menu-active-${unref(A).settings.menu.menuActiveStyle}`]: unref(A).settings.menu.menuActiveStyle !== "" }])
|
|
429
|
+
}, null, 8, [
|
|
430
|
+
"menu",
|
|
431
|
+
"value",
|
|
432
|
+
"rounded",
|
|
433
|
+
"class"
|
|
434
|
+
])], 544));
|
|
435
|
+
}
|
|
436
|
+
});
|
|
437
|
+
export { Menu_default as n, HeaderThinMenu_default as t };
|