
/**
 * 由 Fantastic-admin 提供技术支持
 * Powered by Fantastic-admin
 * https://fantastic-admin.github.io
 */

import{_ as p}from"./HDialog.vue_vue_type_script_setup_true_lang-BZ2dbV3K.js";import h from"./HKbd-By3ZrrUU.js";import{d as g,r as y,u as b,a as x,af as k,g as i,z as v,w as s,e as o,b as l,h as t,t as _,i as n,c as d,A as u,D as A}from"./index-nGFMSQGw.js";const S={class:"px-4"},V={class:"grid gap-2 sm-grid-cols-2"},H=o("h2",{class:"m-0 text-lg font-bold"}," 全局 ",-1),B={class:"list-none pl-4 text-sm"},N={class:"py-1"},w={key:0,class:"py-1"},C={key:0},D=o("h2",{class:"m-0 text-lg font-bold"}," 主导航 ",-1),I={class:"list-none pl-4 text-sm"},M={class:"py-1"},z={key:1},E=o("h2",{class:"m-0 text-lg font-bold"}," 标签栏 ",-1),K={class:"list-none pl-4 text-sm"},R={class:"py-1"},T={class:"py-1"},U={class:"py-1"},W={class:"py-1"},$={class:"py-1"},L=g({name:"HotkeysIntro",__name:"index",setup(j){const c=y(!1),a=b();return x(()=>{k.on("global-hotkeys-intro-toggle",()=>{c.value=!c.value})}),(q,m)=>{const e=h,r=p;return i(),v(r,{modelValue:n(c),"onUpdate:modelValue":m[0]||(m[0]=f=>A(c)?c.value=f:null),title:"快捷键介绍"},{default:s(()=>[o("div",S,[o("div",V,[o("div",null,[H,o("ul",B,[o("li",N,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("I")]),_:1}),t(" 查看系统信息 ")]),n(a).settings.toolbar.navSearch&&n(a).settings.navSearch.enableHotkeys?(i(),d("li",w,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("S")]),_:1}),t(" 唤起导航搜索 ")])):u("",!0)])]),n(a).settings.menu.enableHotkeys&&["side","head"].includes(n(a).settings.menu.menuMode)?(i(),d("div",C,[D,o("ul",I,[o("li",M,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("`")]),_:1}),t(" 激活下一个主导航 ")])])])):u("",!0),n(a).settings.tabbar.enable&&n(a).settings.tabbar.enableHotkeys?(i(),d("div",z,[E,o("ul",K,[o("li",R,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("←")]),_:1}),t(" 切换到上一个标签页 ")]),o("li",T,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("→")]),_:1}),t(" 切换到下一个标签页 ")]),o("li",U,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("W")]),_:1}),t(" 关闭当前标签页 ")]),o("li",W,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("1~9")]),_:1}),t(" 切换到第 n 个标签页 ")]),o("li",$,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("0")]),_:1}),t(" 切换到最后一个标签页 ")])])])):u("",!0)])])]),_:1},8,["modelValue"])}}});export{L as _};
