diff --git a/404.html b/404.html new file mode 100644 index 00000000..af393928 --- /dev/null +++ b/404.html @@ -0,0 +1,30 @@ + + + + + + 404 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/assets/FiraCode-Bold.DeMYoWdo.woff b/assets/FiraCode-Bold.DeMYoWdo.woff new file mode 100644 index 00000000..74e57c4c Binary files /dev/null and b/assets/FiraCode-Bold.DeMYoWdo.woff differ diff --git a/assets/FiraCode-Bold.DzhvDiv4.woff2 b/assets/FiraCode-Bold.DzhvDiv4.woff2 new file mode 100644 index 00000000..349dc36a Binary files /dev/null and b/assets/FiraCode-Bold.DzhvDiv4.woff2 differ diff --git a/assets/FiraCode-Light.B1hbeU4w.woff b/assets/FiraCode-Light.B1hbeU4w.woff new file mode 100644 index 00000000..1c1ebc68 Binary files /dev/null and b/assets/FiraCode-Light.B1hbeU4w.woff differ diff --git a/assets/FiraCode-Light.fY4l71KA.woff2 b/assets/FiraCode-Light.fY4l71KA.woff2 new file mode 100644 index 00000000..eeaa3036 Binary files /dev/null and b/assets/FiraCode-Light.fY4l71KA.woff2 differ diff --git a/assets/FiraCode-Medium.-YTCSZkP.woff2 b/assets/FiraCode-Medium.-YTCSZkP.woff2 new file mode 100644 index 00000000..7f1d7709 Binary files /dev/null and b/assets/FiraCode-Medium.-YTCSZkP.woff2 differ diff --git a/assets/FiraCode-Medium.B7pixCnj.woff b/assets/FiraCode-Medium.B7pixCnj.woff new file mode 100644 index 00000000..19251b0f Binary files /dev/null and b/assets/FiraCode-Medium.B7pixCnj.woff differ diff --git a/assets/FiraCode-Regular.B8-kG0vS.woff b/assets/FiraCode-Regular.B8-kG0vS.woff new file mode 100644 index 00000000..8816b695 Binary files /dev/null and b/assets/FiraCode-Regular.B8-kG0vS.woff differ diff --git a/assets/FiraCode-Regular.jAL9VymT.woff2 b/assets/FiraCode-Regular.jAL9VymT.woff2 new file mode 100644 index 00000000..f8b63fb0 Binary files /dev/null and b/assets/FiraCode-Regular.jAL9VymT.woff2 differ diff --git a/assets/FiraCode-SemiBold.BiAOBdH0.woff2 b/assets/FiraCode-SemiBold.BiAOBdH0.woff2 new file mode 100644 index 00000000..ccbefc88 Binary files /dev/null and b/assets/FiraCode-SemiBold.BiAOBdH0.woff2 differ diff --git a/assets/FiraCode-SemiBold.C_qsBl7p.woff b/assets/FiraCode-SemiBold.C_qsBl7p.woff new file mode 100644 index 00000000..97857dbc Binary files /dev/null and b/assets/FiraCode-SemiBold.C_qsBl7p.woff differ diff --git a/assets/FiraCode-VF.B-gPkBGS.woff b/assets/FiraCode-VF.B-gPkBGS.woff new file mode 100644 index 00000000..c3407eda Binary files /dev/null and b/assets/FiraCode-VF.B-gPkBGS.woff differ diff --git a/assets/FiraCode-VF.Bc8wnsZt.woff2 b/assets/FiraCode-VF.Bc8wnsZt.woff2 new file mode 100644 index 00000000..e755a9dc Binary files /dev/null and b/assets/FiraCode-VF.Bc8wnsZt.woff2 differ diff --git a/assets/app.BziOSTp2.js b/assets/app.BziOSTp2.js new file mode 100644 index 00000000..1aa64e96 --- /dev/null +++ b/assets/app.BziOSTp2.js @@ -0,0 +1 @@ +import{U as o,aO as p,aP as u,aQ as l,aR as c,aS as f,aT as d,aU as m,aV as h,aW as g,aX as A,d as P,u as v,y,x as R,aY as w,aZ as C,a_ as S,a4 as T}from"./chunks/framework.cw3A9gZ3.js";import{R as _}from"./chunks/theme.RqGUseNW.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(_),b=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return y(()=>{R(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&w(),C(),S(),s.setup&&s.setup(),()=>T(s.Layout)}});async function E(){globalThis.__VITEPRESS__=!0;const e=D(),a=x();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function x(){return h(b)}function D(){let e=o,a;return g(t=>{let n=A(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&E().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{E as createApp}; diff --git a/assets/buy.md.CQ3xtfYi.js b/assets/buy.md.CQ3xtfYi.js new file mode 100644 index 00000000..c893a651 --- /dev/null +++ b/assets/buy.md.CQ3xtfYi.js @@ -0,0 +1 @@ +import{c as r,j as t,k as e,a5 as l,a,o as i,g as n}from"./chunks/framework.cw3A9gZ3.js";const d=l('

购买专业版

专业版超值优惠合集①:One-step-admin + Fantastic-admin

原价:¥999.00 One-step-admin + ¥1199.00 Fantastic-admin = ¥2198.00

合集优惠价:1299.00 (本价格不参与任何限时优惠活动)

请加作者微信进行购买

专业版超值优惠合集②:One-step-admin + Fantastic-mobile

原价:¥999.00 One-step-admin + ¥599.00 Fantastic-mobile = ¥1598.00

合集优惠价:899.00 (本价格不参与任何限时优惠活动)

请加作者微信进行购买

专业版超值优惠合集③:One-step-admin + Fantastic-admin + Fantastic-mobile

原价:¥999.00 One-step-admin + ¥1199.00 Fantastic-admin + ¥599.00 Fantastic-mobile = ¥2797.00

合集优惠价:1499.00 (本价格不参与任何限时优惠活动)

请加作者微信进行购买

购买流程

  1. 请先加作者微信进行在线咨询。
',6),s={align:"center"},c=["src"],o=l('
  1. 通过微信支付宝扫码支付,并在备注里留下手机/微信/QQ/邮箱等任意一种联系方式。
  2. 支付成功后需提供:
  3. 同意邀请后,进入专业版开发者私有组织,获取源码。

支付方式

',2),g={class:"tip custom-block"},h=t("p",{class:"custom-block-title"},"领红包",-1),p=t("p",null,"若你打算使用支付宝进行付款,可以先扫下面这个二维码领取红包。",-1),u=["src"],_={style:{display:"table",margin:"1rem auto"}},m=t("tr",null,[t("th",{colspan:"2",style:{"text-align":"center"}},"One-step-admin 专业版")],-1),b=t("tr",null,[t("td",{colspan:"2",align:"center"},[t("div",null,[a("限时优惠:"),t("b",{style:{color:"#ff4400"}},[a("¥"),t("span",{style:{"font-size":"24px"}},"699"),a(".00")])]),t("b",{style:{color:"#ccc"}},"原价:¥999.00")])],-1),f={align:"center"},y=["src"],x={align:"center"},k=["src"],P=t("tr",null,[t("td",{colspan:"2",align:"center"},[t("p",{style:{margin:"0"}},"产品生命周期内提供长期更新维护")])],-1),T=l('
企业/团队购买

如果你有以下场景需求,推荐购买企业/团队版:

One-step-admin 专业版 (企业/团队版)
限时优惠:2799.00
原价:¥3599.00
⭐服务⭐个人企业/团队
允许加入 Github 组织账号数15
是否允许二开后交付源码
提供独立技术支持微信群
是否可以开发票支持开普票,价格已含税

使用说明

专业版与基础版区别

⭐功能与服务⭐基础版专业版
长期维护更新,提供新特性
定期修复 bug
开发与构建工具Vue 3 / Vite
UI 组件库Element Plus
页面布局3 套5 套
主题风格明亮 1 款 / 暗黑 1 款明亮 6 款 / 暗黑 6 款
导航路由配置项5 个8 个
外链导航
窗口 API支持部分
窗口右键功能
窗口预览模式
窗口专注模式
窗口拖拽排序
收藏夹
全方位权限验证
扩展组件12 个20 个
用户偏好设置
国际化
Mock 数据
错误日志上报
文件自动生成支持部分
业务应用静态页面
团队代码规范
框架版权信息需保留可删除
技术支持查看
演示地址访问访问

什么场景需要 One-step-admin

为什么选择 One-step-admin

',9),S=JSON.parse('{"title":"购买专业版","description":"","frontmatter":{},"headers":[],"relativePath":"buy.md","filePath":"buy.md"}'),q={name:"buy.md"},F=Object.assign(q,{setup(O){return(w,V)=>(i(),r("div",null,[d,t("p",s,[t("img",{src:e(n)("/friend-wechat.png"),width:"300"},null,8,c)]),o,t("div",g,[h,p,t("img",{src:e(n)("/qrcode-alipay-hongbao.jpg"),width:"200"},null,8,u)]),t("table",_,[m,b,t("tr",null,[t("td",f,[t("img",{src:e(n)("/qrcode-wechat-699.png")},null,8,y)]),t("td",x,[t("img",{src:e(n)("/qrcode-alipay-699.png")},null,8,k)])]),P]),T]))}});export{S as __pageData,F as default}; diff --git a/assets/buy.md.CQ3xtfYi.lean.js b/assets/buy.md.CQ3xtfYi.lean.js new file mode 100644 index 00000000..44aa31a7 --- /dev/null +++ b/assets/buy.md.CQ3xtfYi.lean.js @@ -0,0 +1 @@ +import{c as r,j as t,k as e,a5 as l,a,o as i,g as n}from"./chunks/framework.cw3A9gZ3.js";const d=l("",6),s={align:"center"},c=["src"],o=l("",2),g={class:"tip custom-block"},h=t("p",{class:"custom-block-title"},"领红包",-1),p=t("p",null,"若你打算使用支付宝进行付款,可以先扫下面这个二维码领取红包。",-1),u=["src"],_={style:{display:"table",margin:"1rem auto"}},m=t("tr",null,[t("th",{colspan:"2",style:{"text-align":"center"}},"One-step-admin 专业版")],-1),b=t("tr",null,[t("td",{colspan:"2",align:"center"},[t("div",null,[a("限时优惠:"),t("b",{style:{color:"#ff4400"}},[a("¥"),t("span",{style:{"font-size":"24px"}},"699"),a(".00")])]),t("b",{style:{color:"#ccc"}},"原价:¥999.00")])],-1),f={align:"center"},y=["src"],x={align:"center"},k=["src"],P=t("tr",null,[t("td",{colspan:"2",align:"center"},[t("p",{style:{margin:"0"}},"产品生命周期内提供长期更新维护")])],-1),T=l("",9),S=JSON.parse('{"title":"购买专业版","description":"","frontmatter":{},"headers":[],"relativePath":"buy.md","filePath":"buy.md"}'),q={name:"buy.md"},F=Object.assign(q,{setup(O){return(w,V)=>(i(),r("div",null,[d,t("p",s,[t("img",{src:e(n)("/friend-wechat.png"),width:"300"},null,8,c)]),o,t("div",g,[h,p,t("img",{src:e(n)("/qrcode-alipay-hongbao.jpg"),width:"200"},null,8,u)]),t("table",_,[m,b,t("tr",null,[t("td",f,[t("img",{src:e(n)("/qrcode-wechat-699.png")},null,8,y)]),t("td",x,[t("img",{src:e(n)("/qrcode-alipay-699.png")},null,8,k)])]),P]),T]))}});export{S as __pageData,F as default}; diff --git a/assets/chunks/@localSearchIndexroot.pTMoqwch.js b/assets/chunks/@localSearchIndexroot.pTMoqwch.js new file mode 100644 index 00000000..048c7235 --- /dev/null +++ b/assets/chunks/@localSearchIndexroot.pTMoqwch.js @@ -0,0 +1 @@ +const t='{"documentCount":303,"nextId":303,"documentIds":{"0":"/buy.html#购买专业版","1":"/buy.html#购买流程","2":"/buy.html#支付方式","3":"/buy.html#使用说明","4":"/buy.html#专业版与基础版区别","5":"/buy.html#什么场景需要-one-step-admin","6":"/buy.html#为什么选择-one-step-admin","7":"/components/action-container.html#actioncontainer-固定底部操作栏","8":"/components/action-container.html#slot","9":"/components/auth-all.html#authall-鉴权","10":"/components/auth-all.html#props","11":"/components/auth-all.html#slots","12":"/components/auth.html#auth-鉴权","13":"/components/auth.html#props","14":"/components/auth.html#slots","15":"/components/chip.html#chip-纸片","16":"/components/chip.html#props","17":"/components/chip.html#events","18":"/components/colorful-card.html#colorfulcard-多彩渐变卡片","19":"/components/colorful-card.html#props","20":"/components/file-upload.html#fileupload-文件上传","21":"/components/file-upload.html#props","22":"/components/i18n-selector.html#i18nselector-国际化选择器","23":"/components/i18n-selector.html#slots","24":"/components/icon-picker.html#iconpicker-图标选择器","25":"/components/icon-picker.html#props","26":"/components/image-preview.html#imagepreview-图片预览","27":"/components/image-preview.html#props","28":"/components/image-upload.html#imageupload-单图上传","29":"/components/image-upload.html#props","30":"/components/images-upload.html#imagesupload-多图上传","31":"/components/images-upload.html#props","32":"/components/#介绍","33":"/components/#基础组件","34":"/components/#内建组件","35":"/components/#扩展组件","36":"/components/page-header.html#pageheader-页头","37":"/components/page-header.html#props","38":"/components/page-header.html#slots","39":"/components/page-main.html#pagemain-内容块","40":"/components/page-main.html#props","41":"/components/page-main.html#slots","42":"/components/pcas-cascader.html#pcascascader-省市区街道联动","43":"/components/pcas-cascader.html#props","44":"/components/search-bar.html#searchbar-搜索面板","45":"/components/search-bar.html#props","46":"/components/search-bar.html#slots","47":"/components/search-bar.html#events","48":"/components/sparkline.html#sparkline-迷你图","49":"/components/sparkline.html#props","50":"/components/storage-box.html#storagebox-储存箱","51":"/components/storage-box.html#props","52":"/components/storage-box.html#slots","53":"/components/storage-box.html#events","54":"/components/svg-icon.html#svgicon-svg图标","55":"/components/svg-icon.html#props","56":"/components/trend.html#trend-趋势标记","57":"/components/trend.html#props","58":"/guide/api.html#常用-api","59":"/guide/api.html#接口请求","60":"/guide/api.html#鉴权","61":"/guide/api.html#主导航","62":"/guide/api.html#切换","63":"/guide/api.html#窗口","64":"/guide/api.html#新增窗口","65":"/guide/api.html#关闭窗口","66":"/guide/api.html#窗口全屏切换","67":"/guide/api.html#判断窗口是否全屏","68":"/guide/api.html#窗口刷新","69":"/guide/api.html#事件总线","70":"/guide/api.html#日期","71":"/guide/axios.html#与服务端交互","72":"/guide/axios.html#接口请求","73":"/guide/axios.html#设置-baseurl","74":"/guide/axios.html#请求调用","75":"/guide/axios.html#拦截器","76":"/guide/axios.html#模块管理","77":"/guide/axios.html#跨域处理","78":"/guide/axios.html#多数据源","79":"/guide/axios.html#mock","80":"/guide/axios.html#开发环境-mock","81":"/guide/axios.html#生产环境-mock","82":"/guide/build.html#构建与预览","83":"/guide/build.html#构建","84":"/guide/build.html#预览","85":"/guide/build.html#压缩","86":"/guide/build.html#其它设置","87":"/guide/changelog.html#更新日志","88":"/guide/changelog.html#_4-5-0","89":"/guide/changelog.html#_4-4-1","90":"/guide/changelog.html#_4-4-0","91":"/guide/changelog.html#_4-3-0","92":"/guide/changelog.html#_4-2-3","93":"/guide/changelog.html#_4-2-2","94":"/guide/changelog.html#_4-2-1","95":"/guide/changelog.html#_4-2-0","96":"/guide/changelog.html#_4-1-0","97":"/guide/changelog.html#_4-0-1","98":"/guide/changelog.html#_4-0-0","99":"/guide/changelog.html#_3-1-3","100":"/guide/changelog.html#_3-1-2","101":"/guide/changelog.html#_3-1-1","102":"/guide/changelog.html#_3-1-0","103":"/guide/changelog.html#_3-0-0","104":"/guide/changelog.html#_2-3-2","105":"/guide/changelog.html#_2-3-1","106":"/guide/changelog.html#_2-3-0","107":"/guide/changelog.html#_2-2-0","108":"/guide/changelog.html#_2-1-0","109":"/guide/changelog.html#_2-0-0","110":"/guide/changelog.html#v1-0-0","111":"/guide/coding-standard.html#代码规范","112":"/guide/coding-standard.html#ide-配置","113":"/guide/coding-standard.html#eslint-配置","114":"/guide/coding-standard.html#stylelint-配置","115":"/guide/coding-standard.html#simple-git-hooks-和-lint-staged","116":"/guide/coding-standard.html#移除","117":"/guide/components.html#介绍","118":"/guide/components.html#基础组件","119":"/guide/components.html#扩展组件","120":"/guide/configure.html#配置","121":"/guide/configure.html#环境配置","122":"/guide/configure.html#应用配置-框架配置","123":"/guide/copyright.html#版权信息","124":"/guide/copyright.html#使用","125":"/guide/copyright.html#网站运行日期","126":"/guide/copyright.html#公司名称","127":"/guide/copyright.html#网站地址","128":"/guide/copyright.html#备案号","129":"/guide/error-log.html#错误日志","130":"/guide/favorites.html#收藏夹","131":"/guide/favorites.html#处理请求","132":"/guide/font.html#自定义字体","133":"/guide/font.html#找字体","134":"/guide/font.html#生成字体","135":"/guide/font.html#使用","136":"/guide/global-resources.html#全局资源","137":"/guide/global-resources.html#图片","138":"/guide/global-resources.html#样式","139":"/guide/global-resources.html#组件","140":"/guide/global-resources.html#公共组件","141":"/guide/global-resources.html#局部组件","142":"/guide/i18n.html#国际化","143":"/guide/i18n.html#vscode-扩展","144":"/guide/i18n.html#语言选择器","145":"/guide/i18n.html#语言包","146":"/guide/i18n.html#导航设置","147":"/guide/i18n.html#框架设置","148":"/guide/i18n.html#单页组件","149":"/guide/i18n.html#与服务端交互","150":"/guide/i18n.html#关闭国际化","151":"/guide/intro.html#文档说明","152":"/guide/layout.html#布局","153":"/guide/layout.html#导航栏模式","154":"/guide/layout.html#顶部模式","155":"/guide/layout.html#侧边栏模式-含主导航","156":"/guide/layout.html#侧边栏模式-无主导航","157":"/guide/layout.html#侧边栏精简模式","158":"/guide/layout.html#顶部精简模式","159":"/guide/layout.html#侧边栏面板模式","160":"/guide/layout.html#顶部面板模式","161":"/guide/layout.html#变量","162":"/guide/login.html#登录","163":"/guide/menu.html#导航","164":"/guide/menu.html#基本配置","165":"/guide/menu.html#一级导航","166":"/guide/menu.html#多级导航","167":"/guide/menu.html#外链","168":"/guide/menu.html#主导航","169":"/guide/menu.html#导航配置","170":"/guide/menu.html#title","171":"/guide/menu.html#windowname","172":"/guide/menu.html#windowwidth","173":"/guide/menu.html#i18n","174":"/guide/menu.html#notitle","175":"/guide/menu.html#icon","176":"/guide/menu.html#auth","177":"/guide/menu.html#badge","178":"/guide/menu.html#params","179":"/guide/menu.html#后端生成","180":"/guide/permission.html#权限","181":"/guide/permission.html#鉴权组件","182":"/guide/permission.html#鉴权指令","183":"/guide/permission.html#鉴权函数","184":"/guide/plop-module.html#标准模块","185":"/guide/plop-module.html#用法说明","186":"/guide/plop-module.html#特性介绍","187":"/guide/plop.html#代码文件自动生成","188":"/guide/plop.html#page","189":"/guide/plop.html#component","190":"/guide/plop.html#store","191":"/guide/plop.html#mock","192":"/guide/plop.html#module","193":"/guide/preferences.html#用户偏好设置","194":"/guide/preferences.html#开启","195":"/guide/preferences.html#定制偏好设置内容","196":"/guide/preferences.html#处理请求","197":"/guide/q-a.html#常见问题","198":"/guide/q-a.html#安装依赖时有警告","199":"/guide/q-a.html#为什么本地开发环境首次载入很慢","200":"/guide/q-a.html#项目-url-里的-号能不能去掉","201":"/guide/ready.html#准备工作","202":"/guide/ready.html#源码","203":"/guide/ready.html#基础版","204":"/guide/ready.html#专业版","205":"/guide/ready.html#开发环境","206":"/guide/ready.html#技术栈","207":"/guide/replace-to-antd.html#替换为-ant-design-vue","208":"/guide/replace-to-antd.html#安装","209":"/guide/replace-to-antd.html#代码调整","210":"/guide/replace-to-antd.html#修改登录页","211":"/guide/replace-to-antd.html#卸载","212":"/guide/replace-to-antd.html#完成","213":"/guide/replace-to-antd.html#示例","214":"/guide/replace-to-arco.html#替换为-arco-design-vue","215":"/guide/replace-to-arco.html#安装","216":"/guide/replace-to-arco.html#代码调整","217":"/guide/replace-to-arco.html#修改登录页","218":"/guide/replace-to-arco.html#卸载","219":"/guide/replace-to-arco.html#完成","220":"/guide/replace-to-arco.html#示例","221":"/guide/replace-to-idux.html#替换为-idux","222":"/guide/replace-to-idux.html#安装","223":"/guide/replace-to-idux.html#代码调整","224":"/guide/replace-to-idux.html#修改登录页","225":"/guide/replace-to-idux.html#卸载","226":"/guide/replace-to-idux.html#完成","227":"/guide/replace-to-idux.html#示例","228":"/guide/replace-to-naive.html#替换为-naive-ui","229":"/guide/replace-to-naive.html#安装","230":"/guide/replace-to-naive.html#代码调整","231":"/guide/replace-to-naive.html#修改登录页","232":"/guide/replace-to-naive.html#卸载","233":"/guide/replace-to-naive.html#完成","234":"/guide/replace-to-naive.html#示例","235":"/guide/replace-to-tdesign.html#替换为-tdesign","236":"/guide/replace-to-tdesign.html#安装","237":"/guide/replace-to-tdesign.html#代码调整","238":"/guide/replace-to-tdesign.html#修改登录页","239":"/guide/replace-to-tdesign.html#卸载","240":"/guide/replace-to-tdesign.html#完成","241":"/guide/replace-to-tdesign.html#示例","242":"/guide/replace-to-vexip.html#替换为-vexip-ui","243":"/guide/replace-to-vexip.html#安装","244":"/guide/replace-to-vexip.html#代码调整","245":"/guide/replace-to-vexip.html#修改登录页","246":"/guide/replace-to-vexip.html#卸载","247":"/guide/replace-to-vexip.html#完成","248":"/guide/replace-to-vexip.html#示例","249":"/guide/router.html#路由","250":"/guide/router.html#免登录页面","251":"/guide/rtl.html#rtl-模式","252":"/guide/rtl.html#使用","253":"/guide/start.html#开始","254":"/guide/storage.html#私有-storage-数据","255":"/guide/store.html#全局状态管理","256":"/guide/svg-icon.html#图标","257":"/guide/svg-icon.html#自定义图标","258":"/guide/svg-icon.html#iconify-图标","259":"/guide/svg-icon.html#unocss-方案","260":"/guide/svg-icon.html#iconify-原生方案","261":"/guide/svg-icon.html#离线-内网环境使用","262":"/guide/svg-icon.html#图标选择器","263":"/guide/theme.html#主题","264":"/guide/theme.html#框架主题","265":"/guide/theme.html#基础版","266":"/guide/theme.html#专业版","267":"/guide/theme.html#颜色方案","268":"/guide/theme.html#哀悼模式","269":"/guide/theme.html#色弱模式","270":"/guide/theme.html#导航栏风格","271":"/guide/theme.html#风格","272":"/guide/theme.html#圆角","273":"/guide/theme.html#开发注意","274":"/guide/toolbar.html#工具栏","275":"/guide/toolbar.html#窗口预览","276":"/guide/toolbar.html#收藏夹","277":"/guide/toolbar.html#导航搜索","278":"/guide/toolbar.html#通知中心","279":"/guide/toolbar.html#国际化","280":"/guide/toolbar.html#浏览器全屏","281":"/guide/toolbar.html#颜色主题","282":"/guide/toolbar.html#布局","283":"/guide/upgrade.html#框架更新","284":"/guide/vue3-composition-api.html#使用-composition-api-开发","285":"/guide/vue3-composition-api.html#使用","286":"/guide/vue3-composition-api.html#组件-name","287":"/guide/watermark.html#页面水印","288":"/guide/watermark.html#使用","289":"/guide/watermark.html#设置水印内容","290":"/guide/why.html#为什么选择我们","291":"/guide/why.html#长期且稳定","292":"/guide/why.html#高效的交互方式","293":"/guide/why.html#窗口最大化","294":"/guide/why.html#快速定位操作窗口","295":"/guide/why.html#专注模式","296":"/guide/why.html#窗口排序","297":"/guide/why.html#继承自-fantastic-admin","298":"/guide/why.html#为什么不是-fantastic-admin","299":"/guide/window.html#窗口","300":"/support.html#技术支持","301":"/support.html#基础版","302":"/support.html#专业版"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,25],"1":[1,1,23],"2":[1,1,47],"3":[1,1,32],"4":[1,1,57],"5":[4,1,36],"6":[4,1,45],"7":[2,1,1],"8":[1,2,8],"9":[2,1,1],"10":[1,2,16],"11":[1,2,6],"12":[2,1,1],"13":[1,2,16],"14":[1,2,6],"15":[2,1,1],"16":[1,2,17],"17":[1,2,6],"18":[2,1,1],"19":[1,2,29],"20":[2,1,1],"21":[1,2,44],"22":[2,1,1],"23":[1,2,6],"24":[2,1,1],"25":[1,2,14],"26":[2,1,1],"27":[1,2,13],"28":[2,1,1],"29":[1,2,44],"30":[2,1,1],"31":[1,2,47],"32":[1,1,2],"33":[1,1,82],"34":[1,1,17],"35":[1,1,14],"36":[2,1,1],"37":[1,2,11],"38":[1,2,8],"39":[2,1,1],"40":[1,2,19],"41":[1,2,8],"42":[2,1,1],"43":[1,2,28],"44":[2,1,1],"45":[1,2,16],"46":[1,2,9],"47":[1,2,8],"48":[2,1,1],"49":[1,2,40],"50":[2,1,1],"51":[1,2,16],"52":[1,2,6],"53":[1,2,8],"54":[2,1,1],"55":[1,2,30],"56":[2,1,1],"57":[1,2,20],"58":[2,1,1],"59":[1,2,9],"60":[1,2,13],"61":[1,2,1],"62":[1,3,10],"63":[1,2,1],"64":[1,3,11],"65":[1,3,8],"66":[1,3,8],"67":[1,3,10],"68":[1,3,8],"69":[1,2,12],"70":[1,2,8],"71":[1,1,5],"72":[1,1,1],"73":[2,2,24],"74":[1,2,28],"75":[1,2,33],"76":[1,1,7],"77":[1,1,59],"78":[1,1,100],"79":[1,1,18],"80":[2,2,79],"81":[2,2,28],"82":[1,1,1],"83":[1,1,33],"84":[1,1,13],"85":[1,1,21],"86":[1,1,10],"87":[1,1,5],"88":[3,1,40],"89":[2,1,14],"90":[2,1,29],"91":[3,1,33],"92":[3,1,4],"93":[2,1,4],"94":[3,1,14],"95":[3,1,66],"96":[3,1,35],"97":[3,1,14],"98":[2,1,167],"99":[2,1,4],"100":[3,1,4],"101":[2,1,4],"102":[3,1,13],"103":[2,1,61],"104":[2,1,4],"105":[3,1,4],"106":[3,1,29],"107":[2,1,20],"108":[3,1,18],"109":[2,1,13],"110":[2,1,9],"111":[1,1,17],"112":[2,1,4],"113":[2,1,29],"114":[2,1,24],"115":[6,1,72],"116":[1,7,27],"117":[1,1,15],"118":[1,1,63],"119":[1,1,1],"120":[1,1,1],"121":[1,1,86],"122":[3,1,43],"123":[1,1,2],"124":[1,1,10],"125":[1,1,11],"126":[1,1,12],"127":[1,1,17],"128":[1,1,9],"129":[1,1,34],"130":[1,1,4],"131":[1,1,35],"132":[1,1,11],"133":[1,1,7],"134":[1,1,13],"135":[1,1,28],"136":[1,1,1],"137":[1,1,7],"138":[1,1,34],"139":[1,1,1],"140":[1,2,27],"141":[1,2,7],"142":[1,1,6],"143":[2,1,10],"144":[1,1,24],"145":[1,1,68],"146":[1,1,14],"147":[1,1,37],"148":[1,1,15],"149":[1,1,5],"150":[1,1,19],"151":[1,1,22],"152":[1,1,13],"153":[1,1,13],"154":[1,2,14],"155":[3,2,14],"156":[3,2,14],"157":[1,2,15],"158":[1,2,15],"159":[1,2,10],"160":[1,2,10],"161":[1,1,12],"162":[1,1,35],"163":[1,1,12],"164":[1,1,1],"165":[1,2,16],"166":[1,2,14],"167":[1,2,21],"168":[1,2,22],"169":[1,1,1],"170":[1,2,16],"171":[1,2,9],"172":[1,2,11],"173":[1,2,12],"174":[1,2,9],"175":[1,2,21],"176":[1,2,20],"177":[1,2,29],"178":[1,2,14],"179":[1,1,31],"180":[1,1,37],"181":[1,1,34],"182":[1,1,27],"183":[1,1,25],"184":[1,1,16],"185":[1,1,65],"186":[1,1,123],"187":[1,1,46],"188":[1,1,20],"189":[1,1,9],"190":[1,1,6],"191":[1,1,8],"192":[1,1,11],"193":[1,1,4],"194":[1,1,10],"195":[1,1,42],"196":[1,1,36],"197":[1,1,1],"198":[1,1,18],"199":[1,1,10],"200":[4,1,17],"201":[1,1,1],"202":[1,1,11],"203":[1,2,40],"204":[1,2,6],"205":[1,1,79],"206":[1,1,12],"207":[4,1,23],"208":[1,4,15],"209":[1,4,103],"210":[1,4,8],"211":[1,4,9],"212":[1,4,12],"213":[1,4,4],"214":[4,1,23],"215":[1,4,15],"216":[1,4,125],"217":[1,4,8],"218":[1,4,9],"219":[1,4,12],"220":[1,4,4],"221":[2,1,21],"222":[1,2,11],"223":[1,2,108],"224":[1,2,8],"225":[1,2,9],"226":[1,2,10],"227":[1,2,4],"228":[3,1,22],"229":[1,3,12],"230":[1,3,95],"231":[1,3,8],"232":[1,3,9],"233":[1,3,11],"234":[1,3,4],"235":[2,1,21],"236":[1,2,11],"237":[1,2,131],"238":[1,2,8],"239":[1,2,9],"240":[1,2,10],"241":[1,2,4],"242":[3,1,22],"243":[1,3,11],"244":[1,3,92],"245":[1,3,8],"246":[1,3,9],"247":[1,3,11],"248":[1,3,4],"249":[1,1,12],"250":[1,1,40],"251":[2,1,1],"252":[1,2,11],"253":[1,1,72],"254":[3,1,60],"255":[1,1,57],"256":[1,1,3],"257":[1,1,25],"258":[2,1,20],"259":[2,2,58],"260":[2,2,32],"261":[2,2,39],"262":[1,1,11],"263":[1,1,1],"264":[1,1,7],"265":[1,2,51],"266":[1,2,77],"267":[1,1,14],"268":[1,1,10],"269":[1,1,10],"270":[1,1,1],"271":[1,2,21],"272":[1,2,11],"273":[1,1,41],"274":[1,1,2],"275":[1,1,10],"276":[1,1,12],"277":[1,1,10],"278":[1,1,24],"279":[1,1,15],"280":[1,1,10],"281":[1,1,13],"282":[1,1,24],"283":[1,1,57],"284":[4,1,18],"285":[1,4,47],"286":[2,4,26],"287":[1,1,1],"288":[1,1,11],"289":[1,1,34],"290":[2,1,8],"291":[1,2,11],"292":[1,2,4],"293":[1,2,6],"294":[1,2,2],"295":[1,2,3],"296":[1,2,2],"297":[3,2,18],"298":[4,2,33],"299":[1,1,20],"300":[1,1,1],"301":[1,1,10],"302":[1,1,2]},"averageFieldLength":[1.366336633663366,1.5775577557755778,20.620462046204622],"storedFields":{"0":{"title":"购买专业版","titles":[]},"1":{"title":"购买流程","titles":["购买专业版"]},"2":{"title":"支付方式","titles":["购买专业版"]},"3":{"title":"使用说明","titles":["购买专业版"]},"4":{"title":"专业版与基础版区别","titles":["购买专业版"]},"5":{"title":"什么场景需要 One-step-admin","titles":["购买专业版"]},"6":{"title":"为什么选择 One-step-admin","titles":["购买专业版"]},"7":{"title":"ActionContainer 固定底部操作栏","titles":[]},"8":{"title":"Slot","titles":["ActionContainer 固定底部操作栏"]},"9":{"title":"AuthAll 鉴权","titles":[]},"10":{"title":"Props","titles":["AuthAll 鉴权"]},"11":{"title":"Slots","titles":["AuthAll 鉴权"]},"12":{"title":"Auth 鉴权","titles":[]},"13":{"title":"Props","titles":["Auth 鉴权"]},"14":{"title":"Slots","titles":["Auth 鉴权"]},"15":{"title":"Chip 纸片","titles":[]},"16":{"title":"Props","titles":["Chip 纸片"]},"17":{"title":"Events","titles":["Chip 纸片"]},"18":{"title":"ColorfulCard 多彩渐变卡片","titles":[]},"19":{"title":"Props","titles":["ColorfulCard 多彩渐变卡片"]},"20":{"title":"FileUpload 文件上传","titles":[]},"21":{"title":"Props","titles":["FileUpload 文件上传"]},"22":{"title":"I18nSelector 国际化选择器","titles":[]},"23":{"title":"Slots","titles":["I18nSelector 国际化选择器"]},"24":{"title":"IconPicker 图标选择器","titles":[]},"25":{"title":"Props","titles":["IconPicker 图标选择器"]},"26":{"title":"ImagePreview 图片预览","titles":[]},"27":{"title":"Props","titles":["ImagePreview 图片预览"]},"28":{"title":"ImageUpload 单图上传","titles":[]},"29":{"title":"Props","titles":["ImageUpload 单图上传"]},"30":{"title":"ImagesUpload 多图上传","titles":[]},"31":{"title":"Props","titles":["ImagesUpload 多图上传"]},"32":{"title":"介绍","titles":[]},"33":{"title":"基础组件","titles":["介绍"]},"34":{"title":"内建组件","titles":["介绍"]},"35":{"title":"扩展组件","titles":["介绍"]},"36":{"title":"PageHeader 页头","titles":[]},"37":{"title":"Props","titles":["PageHeader 页头"]},"38":{"title":"Slots","titles":["PageHeader 页头"]},"39":{"title":"PageMain 内容块","titles":[]},"40":{"title":"Props","titles":["PageMain 内容块"]},"41":{"title":"Slots","titles":["PageMain 内容块"]},"42":{"title":"PcasCascader 省市区街道联动","titles":[]},"43":{"title":"Props","titles":["PcasCascader 省市区街道联动"]},"44":{"title":"SearchBar 搜索面板","titles":[]},"45":{"title":"Props","titles":["SearchBar 搜索面板"]},"46":{"title":"Slots","titles":["SearchBar 搜索面板"]},"47":{"title":"Events","titles":["SearchBar 搜索面板"]},"48":{"title":"Sparkline 迷你图","titles":[]},"49":{"title":"Props","titles":["Sparkline 迷你图"]},"50":{"title":"StorageBox 储存箱","titles":[]},"51":{"title":"Props","titles":["StorageBox 储存箱"]},"52":{"title":"Slots","titles":["StorageBox 储存箱"]},"53":{"title":"Events","titles":["StorageBox 储存箱"]},"54":{"title":"SvgIcon SVG图标","titles":[]},"55":{"title":"Props","titles":["SvgIcon SVG图标"]},"56":{"title":"Trend 趋势标记","titles":[]},"57":{"title":"Props","titles":["Trend 趋势标记"]},"58":{"title":"常用 API","titles":[]},"59":{"title":"接口请求","titles":["常用 API"]},"60":{"title":"鉴权","titles":["常用 API"]},"61":{"title":"主导航","titles":["常用 API"]},"62":{"title":"切换","titles":["常用 API","主导航"]},"63":{"title":"窗口","titles":["常用 API"]},"64":{"title":"新增窗口","titles":["常用 API","窗口"]},"65":{"title":"关闭窗口","titles":["常用 API","窗口"]},"66":{"title":"窗口全屏切换","titles":["常用 API","窗口"]},"67":{"title":"判断窗口是否全屏","titles":["常用 API","窗口"]},"68":{"title":"窗口刷新","titles":["常用 API","窗口"]},"69":{"title":"事件总线","titles":["常用 API"]},"70":{"title":"日期","titles":["常用 API"]},"71":{"title":"与服务端交互","titles":[]},"72":{"title":"接口请求","titles":["与服务端交互"]},"73":{"title":"设置 baseURL","titles":["与服务端交互","接口请求"]},"74":{"title":"请求调用","titles":["与服务端交互","接口请求"]},"75":{"title":"拦截器","titles":["与服务端交互","接口请求"]},"76":{"title":"模块管理","titles":["与服务端交互"]},"77":{"title":"跨域处理","titles":["与服务端交互"]},"78":{"title":"多数据源","titles":["与服务端交互"]},"79":{"title":"Mock","titles":["与服务端交互"]},"80":{"title":"开发环境 mock","titles":["与服务端交互","Mock"]},"81":{"title":"生产环境 mock","titles":["与服务端交互","Mock"]},"82":{"title":"构建与预览","titles":[]},"83":{"title":"构建","titles":["构建与预览"]},"84":{"title":"预览","titles":["构建与预览"]},"85":{"title":"压缩","titles":["构建与预览"]},"86":{"title":"其它设置","titles":["构建与预览"]},"87":{"title":"更新日志","titles":[]},"88":{"title":"4.5.0","titles":["更新日志"]},"89":{"title":"4.4.1","titles":["更新日志"]},"90":{"title":"4.4.0","titles":["更新日志"]},"91":{"title":"4.3.0","titles":["更新日志"]},"92":{"title":"4.2.3","titles":["更新日志"]},"93":{"title":"4.2.2","titles":["更新日志"]},"94":{"title":"4.2.1","titles":["更新日志"]},"95":{"title":"4.2.0","titles":["更新日志"]},"96":{"title":"4.1.0","titles":["更新日志"]},"97":{"title":"4.0.1","titles":["更新日志"]},"98":{"title":"4.0.0","titles":["更新日志"]},"99":{"title":"3.1.3","titles":["更新日志"]},"100":{"title":"3.1.2","titles":["更新日志"]},"101":{"title":"3.1.1","titles":["更新日志"]},"102":{"title":"3.1.0","titles":["更新日志"]},"103":{"title":"3.0.0","titles":["更新日志"]},"104":{"title":"2.3.2","titles":["更新日志"]},"105":{"title":"2.3.1","titles":["更新日志"]},"106":{"title":"2.3.0","titles":["更新日志"]},"107":{"title":"2.2.0","titles":["更新日志"]},"108":{"title":"2.1.0","titles":["更新日志"]},"109":{"title":"2.0.0","titles":["更新日志"]},"110":{"title":"v1.0.0","titles":["更新日志"]},"111":{"title":"代码规范","titles":[]},"112":{"title":"IDE 配置","titles":["代码规范"]},"113":{"title":"ESLint 配置","titles":["代码规范"]},"114":{"title":"StyleLint 配置","titles":["代码规范"]},"115":{"title":"simple-git-hooks 和 lint-staged","titles":["代码规范"]},"116":{"title":"移除","titles":["代码规范","simple-git-hooks 和 lint-staged"]},"117":{"title":"介绍","titles":[]},"118":{"title":"基础组件","titles":["介绍"]},"119":{"title":"扩展组件","titles":["介绍"]},"120":{"title":"配置","titles":[]},"121":{"title":"环境配置","titles":["配置"]},"122":{"title":"应用配置(框架配置)","titles":["配置"]},"123":{"title":"版权信息","titles":[]},"124":{"title":"使用","titles":["版权信息"]},"125":{"title":"网站运行日期","titles":["版权信息"]},"126":{"title":"公司名称","titles":["版权信息"]},"127":{"title":"网站地址","titles":["版权信息"]},"128":{"title":"备案号","titles":["版权信息"]},"129":{"title":"错误日志","titles":[]},"130":{"title":"收藏夹","titles":[]},"131":{"title":"处理请求","titles":["收藏夹"]},"132":{"title":"自定义字体","titles":[]},"133":{"title":"找字体","titles":["自定义字体"]},"134":{"title":"生成字体","titles":["自定义字体"]},"135":{"title":"使用","titles":["自定义字体"]},"136":{"title":"全局资源","titles":[]},"137":{"title":"图片","titles":["全局资源"]},"138":{"title":"样式","titles":["全局资源"]},"139":{"title":"组件","titles":["全局资源"]},"140":{"title":"公共组件","titles":["全局资源","组件"]},"141":{"title":"局部组件","titles":["全局资源","组件"]},"142":{"title":"国际化","titles":[]},"143":{"title":"vscode 扩展","titles":["国际化"]},"144":{"title":"语言选择器","titles":["国际化"]},"145":{"title":"语言包","titles":["国际化"]},"146":{"title":"导航设置","titles":["国际化"]},"147":{"title":"框架设置","titles":["国际化"]},"148":{"title":"单页组件","titles":["国际化"]},"149":{"title":"与服务端交互","titles":["国际化"]},"150":{"title":"关闭国际化","titles":["国际化"]},"151":{"title":"文档说明","titles":[]},"152":{"title":"布局","titles":[]},"153":{"title":"导航栏模式","titles":["布局"]},"154":{"title":"顶部模式","titles":["布局","导航栏模式"]},"155":{"title":"侧边栏模式(含主导航)","titles":["布局","导航栏模式"]},"156":{"title":"侧边栏模式(无主导航)","titles":["布局","导航栏模式"]},"157":{"title":"侧边栏精简模式","titles":["布局","导航栏模式"]},"158":{"title":"顶部精简模式","titles":["布局","导航栏模式"]},"159":{"title":"侧边栏面板模式","titles":["布局","导航栏模式"]},"160":{"title":"顶部面板模式","titles":["布局","导航栏模式"]},"161":{"title":"变量","titles":["布局"]},"162":{"title":"登录","titles":[]},"163":{"title":"导航","titles":[]},"164":{"title":"基本配置","titles":["导航"]},"165":{"title":"一级导航","titles":["导航","基本配置"]},"166":{"title":"多级导航","titles":["导航","基本配置"]},"167":{"title":"外链","titles":["导航","基本配置"]},"168":{"title":"主导航","titles":["导航","基本配置"]},"169":{"title":"导航配置","titles":["导航"]},"170":{"title":"title","titles":["导航","导航配置"]},"171":{"title":"windowName","titles":["导航","导航配置"]},"172":{"title":"windowWidth","titles":["导航","导航配置"]},"173":{"title":"i18n","titles":["导航","导航配置"]},"174":{"title":"noTitle","titles":["导航","导航配置"]},"175":{"title":"icon","titles":["导航","导航配置"]},"176":{"title":"auth","titles":["导航","导航配置"]},"177":{"title":"badge","titles":["导航","导航配置"]},"178":{"title":"params","titles":["导航","导航配置"]},"179":{"title":"后端生成","titles":["导航"]},"180":{"title":"权限","titles":[]},"181":{"title":"鉴权组件","titles":["权限"]},"182":{"title":"鉴权指令","titles":["权限"]},"183":{"title":"鉴权函数","titles":["权限"]},"184":{"title":"标准模块","titles":[]},"185":{"title":"用法说明","titles":[]},"186":{"title":"特性介绍","titles":["用法说明"]},"187":{"title":"代码文件自动生成","titles":[]},"188":{"title":"page","titles":["代码文件自动生成"]},"189":{"title":"component","titles":["代码文件自动生成"]},"190":{"title":"store","titles":["代码文件自动生成"]},"191":{"title":"mock","titles":["代码文件自动生成"]},"192":{"title":"module","titles":["代码文件自动生成"]},"193":{"title":"用户偏好设置","titles":[]},"194":{"title":"开启","titles":["用户偏好设置"]},"195":{"title":"定制偏好设置内容","titles":["用户偏好设置"]},"196":{"title":"处理请求","titles":["用户偏好设置"]},"197":{"title":"常见问题","titles":[]},"198":{"title":"安装依赖时有警告","titles":["常见问题"]},"199":{"title":"为什么本地开发环境首次载入很慢","titles":["常见问题"]},"200":{"title":"项目 URL 里的 # 号能不能去掉","titles":["常见问题"]},"201":{"title":"准备工作","titles":[]},"202":{"title":"源码","titles":["准备工作"]},"203":{"title":"基础版","titles":["准备工作","源码"]},"204":{"title":"专业版","titles":["准备工作","源码"]},"205":{"title":"开发环境","titles":["准备工作"]},"206":{"title":"技术栈","titles":["准备工作"]},"207":{"title":"替换为 Ant Design Vue","titles":[]},"208":{"title":"安装","titles":["替换为 Ant Design Vue"]},"209":{"title":"代码调整","titles":["替换为 Ant Design Vue"]},"210":{"title":"修改登录页","titles":["替换为 Ant Design Vue"]},"211":{"title":"卸载","titles":["替换为 Ant Design Vue"]},"212":{"title":"完成","titles":["替换为 Ant Design Vue"]},"213":{"title":"示例","titles":["替换为 Ant Design Vue"]},"214":{"title":"替换为 Arco Design Vue","titles":[]},"215":{"title":"安装","titles":["替换为 Arco Design Vue"]},"216":{"title":"代码调整","titles":["替换为 Arco Design Vue"]},"217":{"title":"修改登录页","titles":["替换为 Arco Design Vue"]},"218":{"title":"卸载","titles":["替换为 Arco Design Vue"]},"219":{"title":"完成","titles":["替换为 Arco Design Vue"]},"220":{"title":"示例","titles":["替换为 Arco Design Vue"]},"221":{"title":"替换为 iDux","titles":[]},"222":{"title":"安装","titles":["替换为 iDux"]},"223":{"title":"代码调整","titles":["替换为 iDux"]},"224":{"title":"修改登录页","titles":["替换为 iDux"]},"225":{"title":"卸载","titles":["替换为 iDux"]},"226":{"title":"完成","titles":["替换为 iDux"]},"227":{"title":"示例","titles":["替换为 iDux"]},"228":{"title":"替换为 Naive UI","titles":[]},"229":{"title":"安装","titles":["替换为 Naive UI"]},"230":{"title":"代码调整","titles":["替换为 Naive UI"]},"231":{"title":"修改登录页","titles":["替换为 Naive UI"]},"232":{"title":"卸载","titles":["替换为 Naive UI"]},"233":{"title":"完成","titles":["替换为 Naive UI"]},"234":{"title":"示例","titles":["替换为 Naive UI"]},"235":{"title":"替换为 TDesign","titles":[]},"236":{"title":"安装","titles":["替换为 TDesign"]},"237":{"title":"代码调整","titles":["替换为 TDesign"]},"238":{"title":"修改登录页","titles":["替换为 TDesign"]},"239":{"title":"卸载","titles":["替换为 TDesign"]},"240":{"title":"完成","titles":["替换为 TDesign"]},"241":{"title":"示例","titles":["替换为 TDesign"]},"242":{"title":"替换为 Vexip UI","titles":[]},"243":{"title":"安装","titles":["替换为 Vexip UI"]},"244":{"title":"代码调整","titles":["替换为 Vexip UI"]},"245":{"title":"修改登录页","titles":["替换为 Vexip UI"]},"246":{"title":"卸载","titles":["替换为 Vexip UI"]},"247":{"title":"完成","titles":["替换为 Vexip UI"]},"248":{"title":"示例","titles":["替换为 Vexip UI"]},"249":{"title":"路由","titles":[]},"250":{"title":"免登录页面","titles":["路由"]},"251":{"title":"RTL 模式","titles":[]},"252":{"title":"使用","titles":["RTL 模式"]},"253":{"title":"开始","titles":[]},"254":{"title":"私有 Storage 数据","titles":[]},"255":{"title":"全局状态管理","titles":[]},"256":{"title":"图标","titles":[]},"257":{"title":"自定义图标","titles":["图标"]},"258":{"title":"Iconify 图标","titles":["图标"]},"259":{"title":"Unocss 方案","titles":["图标","Iconify 图标"]},"260":{"title":"Iconify 原生方案","titles":["图标","Iconify 图标"]},"261":{"title":"离线/内网环境使用","titles":["图标","Iconify 图标"]},"262":{"title":"图标选择器","titles":["图标"]},"263":{"title":"主题","titles":[]},"264":{"title":"框架主题","titles":["主题"]},"265":{"title":"基础版","titles":["主题","框架主题"]},"266":{"title":"专业版","titles":["主题","框架主题"]},"267":{"title":"颜色方案","titles":["主题"]},"268":{"title":"哀悼模式","titles":["主题"]},"269":{"title":"色弱模式","titles":["主题"]},"270":{"title":"导航栏风格","titles":["主题"]},"271":{"title":"风格","titles":["主题","导航栏风格"]},"272":{"title":"圆角","titles":["主题","导航栏风格"]},"273":{"title":"开发注意","titles":["主题"]},"274":{"title":"工具栏","titles":[]},"275":{"title":"窗口预览","titles":["工具栏"]},"276":{"title":"收藏夹","titles":["工具栏"]},"277":{"title":"导航搜索","titles":["工具栏"]},"278":{"title":"通知中心","titles":["工具栏"]},"279":{"title":"国际化","titles":["工具栏"]},"280":{"title":"浏览器全屏","titles":["工具栏"]},"281":{"title":"颜色主题","titles":["工具栏"]},"282":{"title":"布局","titles":["工具栏"]},"283":{"title":"框架更新","titles":[]},"284":{"title":"使用 Composition API 开发","titles":[]},"285":{"title":"使用","titles":["使用 Composition API 开发"]},"286":{"title":"组件 name","titles":["使用 Composition API 开发"]},"287":{"title":"页面水印","titles":[]},"288":{"title":"使用","titles":["页面水印"]},"289":{"title":"设置水印内容","titles":["页面水印"]},"290":{"title":"为什么选择我们 ?","titles":[]},"291":{"title":"长期且稳定","titles":["为什么选择我们 ?"]},"292":{"title":"高效的交互方式","titles":["为什么选择我们 ?"]},"293":{"title":"窗口最大化","titles":["为什么选择我们 ?"]},"294":{"title":"快速定位操作窗口","titles":["为什么选择我们 ?"]},"295":{"title":"专注模式","titles":["为什么选择我们 ?"]},"296":{"title":"窗口排序","titles":["为什么选择我们 ?"]},"297":{"title":"继承自 Fantastic-admin","titles":["为什么选择我们 ?"]},"298":{"title":"为什么不是 Fantastic-admin ?","titles":["为什么选择我们 ?"]},"299":{"title":"窗口","titles":[]},"300":{"title":"技术支持","titles":[]},"301":{"title":"基础版","titles":["技术支持"]},"302":{"title":"专业版","titles":["技术支持"]}},"dirtCount":0,"index":[["存放在",{"2":{"299":1}}],["应运而生",{"2":{"298":1}}],["应用商店",{"2":{"205":1}}],["应用配置面板",{"2":{"121":3}}],["应用配置中导航栏填充风格的配置项名称变更",{"2":{"98":1}}],["应用配置新增",{"2":{"96":2}}],["应用配置",{"0":{"122":1},"2":{"96":2}}],["造成空间浪费",{"2":{"298":1}}],["界面上会显示大量的留白",{"2":{"298":1}}],["带鱼屏发展",{"2":{"298":1}}],["代表了市面上几乎所有的传统后台框架",{"2":{"298":1}}],["代码调整",{"0":{"209":1,"216":1,"223":1,"230":1,"237":1,"244":1}}],["代码里可以实时查看对应语言的内容",{"2":{"143":1}}],["代码文件自动生成",{"0":{"187":1},"1":{"188":1,"189":1,"190":1,"191":1,"192":1},"2":{"140":1,"184":1}}],["代码规范",{"0":{"111":1},"1":{"112":1,"113":1,"114":1,"115":1,"116":1},"2":{"98":1}}],["代码很简单",{"2":{"75":1}}],["徽标",{"2":{"297":1}}],["显隐",{"2":{"297":1}}],["显示",{"2":{"150":1}}],["许多优秀的特性",{"2":{"297":1}}],["继承自",{"0":{"297":1}}],["专注于所勾选的窗口进行操作",{"2":{"295":1}}],["专注模式",{"0":{"295":1}}],["专业版默认提供了",{"2":{"266":1}}],["专业版用户也同样",{"2":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["专业版用户会邀请加入到私有组织",{"2":{"204":1}}],["专业版侧重于新特性开发",{"2":{"6":1}}],["专业版与基础版区别",{"0":{"4":1}}],["专业版",{"0":{"204":1,"266":1,"302":1},"2":{"2":2,"4":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"209":1,"216":1,"223":1,"230":1,"237":1,"244":1}}],["专业版源码托管在",{"2":{"1":1}}],["专业版客户的唯一凭证",{"2":{"1":1}}],["专业版超值优惠合集③",{"2":{"0":1}}],["专业版超值优惠合集②",{"2":{"0":1}}],["专业版超值优惠合集①",{"2":{"0":1}}],["摆脱传统后台框架路由跳转的交互",{"2":{"292":1}}],["高效的交互方式",{"0":{"292":1}}],["高亮显示匹配的标签",{"2":{"205":1}}],["天",{"2":{"291":1}}],["截止到今天为止",{"2":{"291":1}}],["正式对外发布",{"2":{"291":1}}],["正式成为",{"2":{"255":1}}],["长期且稳定",{"0":{"291":1}}],["长期维护",{"2":{"6":1}}],["长期维护更新",{"2":{"4":1}}],["恢复到默认设置",{"2":{"289":1}}],["水印同时支持动态更新",{"2":{"289":1}}],["语法糖进行开发",{"2":{"285":1}}],["语言包存放在",{"2":{"145":1}}],["语言包",{"0":{"145":1}}],["语言选择器",{"0":{"144":1}}],["更多设置项请查看",{"2":{"289":1}}],["更灵活且易读",{"2":{"284":1}}],["更新日志",{"0":{"87":1},"1":{"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1}}],["稳定是第一诉求",{"2":{"283":1}}],["由作者全权维护",{"2":{"283":1}}],["由于窗口展示的特殊性",{"2":{"299":1}}],["由于框架采用了全新的交互方式",{"2":{"249":1}}],["由于框架默认使用的是",{"2":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["由于登录页使用了",{"2":{"210":1,"217":1,"224":1,"231":1,"238":1,"245":1}}],["由于开启错误日志监控后",{"2":{"129":1}}],["由于",{"2":{"115":1,"254":2}}],["依赖包",{"2":{"283":1}}],["依旧还是会触发外部网络请求",{"2":{"261":1}}],["依旧还是需要手动导入一个",{"2":{"260":1}}],["依旧请求真实接口",{"2":{"80":1}}],["虽然有小部分框架选择将部分核心源码封装成",{"2":{"283":1}}],["浏览器全屏",{"0":{"280":1}}],["希望帮助你更好地在暗黑模式下开发出优秀的页面",{"2":{"273":1}}],["希望你可以去",{"2":{"151":1}}],["教你巧用ui设计中的暗黑模式",{"2":{"273":1}}],["等有涉及到颜色的属性",{"2":{"273":1}}],["圆点",{"2":{"271":1}}],["圆角",{"0":{"272":1},"2":{"98":1}}],["线条",{"2":{"271":1}}],["箭头",{"2":{"271":1}}],["风格",{"0":{"271":1}}],["色弱模式",{"0":{"269":1}}],["哀悼模式",{"0":{"268":1}}],["表示该主题在明亮或暗黑模式下的配色",{"2":{"266":1}}],["表示该功能仅提供于专业版使用",{"2":{"151":1}}],["工具栏主要是红框处各类功能图标",{"2":{"274":1}}],["工具栏",{"0":{"274":1},"1":{"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1},"2":{"265":2,"266":3}}],["工具栏部分按钮增加交互动效",{"2":{"91":1}}],["次导航",{"2":{"265":2,"266":3}}],["头部",{"2":{"265":2,"266":3}}],["头部标题",{"2":{"19":1}}],["且相对于",{"2":{"261":1}}],["且内容多",{"2":{"186":1}}],["优先推荐在仓库提交",{"2":{"301":1}}],["优先推荐使用",{"2":{"261":1}}],["优化开发体验",{"2":{"95":2}}],["离线",{"0":{"261":1}}],["假设",{"2":{"259":1}}],["假设你已经在",{"2":{"145":1}}],["+",{"2":{"259":1}}],["++",{"2":{"185":4}}],["集合名",{"2":{"259":1,"260":1}}],["格式为",{"2":{"259":1,"260":1}}],["格式的字体文件不是浏览器支持的字体格式",{"2":{"134":1}}],["格式的字体文件",{"2":{"133":1}}],["复制图标名称",{"2":{"259":1}}],["聊聊纯",{"2":{"259":1}}],["去处理图标的展示",{"2":{"259":1}}],["去登录",{"2":{"147":1}}],["又或者是设计师绘制的",{"2":{"257":1}}],["唯一id",{"2":{"255":1}}],["面向未来的",{"2":{"255":1}}],["探索学习",{"2":{"255":1}}],["状态管理工具",{"2":{"255":1}}],["欧耶",{"2":{"255":1}}],["视频的介绍",{"2":{"255":1}}],["我还收集了一些文字",{"2":{"255":1}}],["我们尽量在提交代码时标明每次提交改动的变更记录说明",{"2":{"283":1}}],["我们的建议是",{"2":{"186":1}}],["我们的一个演示模块也就初步创建好了",{"2":{"185":1}}],["我们建议采用就近原则",{"2":{"141":1}}],["我们就可以将其进行忽略",{"2":{"113":1,"114":1}}],["我们已经将大部分工作做好了",{"2":{"33":1}}],["我们不承担任何责任",{"2":{"3":1}}],["我们有权利收回产品授权及更新权限",{"2":{"3":1}}],["我们希望能有一个独立的技术支持微信群",{"2":{"2":1}}],["我们是给客户开发项目的",{"2":{"2":1}}],["我们是公司",{"2":{"2":1}}],["我们会邀请你加入组织",{"2":{"1":1}}],["已持续维护",{"2":{"291":1}}],["已正式成为",{"2":{"255":1}}],["已经使用",{"2":{"115":1}}],["已经稳定应用在电商",{"2":{"6":1}}],["避免出现",{"2":{"254":1}}],["避免不了手动去频繁创建页面",{"2":{"187":1}}],["容量",{"2":{"254":1}}],["意味着两套系统共享",{"2":{"254":1}}],["意味着你可以使用自定义图标",{"2":{"175":1}}],["意味着你可以直接在代码里使用组件",{"2":{"118":1}}],["解决同源",{"2":{"254":1}}],["解决构建后",{"2":{"103":2}}],["类似于全局组件",{"2":{"299":1}}],["类来解决这个问题",{"2":{"254":1}}],["类型定义",{"2":{"289":1}}],["类型",{"2":{"10":1,"13":1,"16":2,"19":1,"21":1,"25":1,"27":1,"29":1,"31":1,"37":1,"40":1,"43":1,"45":1,"49":1,"51":1,"55":1,"57":2,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1}}],["系统",{"2":{"254":1}}],["私有",{"0":{"254":1}}],["非必要情况下",{"2":{"253":1}}],["源",{"2":{"253":1}}],["源码",{"0":{"202":1},"1":{"203":1,"204":1},"2":{"202":1}}],["报错",{"2":{"253":1}}],["运行时提示",{"2":{"253":1}}],["运行成功后",{"2":{"253":1}}],["运行",{"2":{"253":1}}],["必须使用",{"2":{"253":1}}],["必选参数",{"2":{"21":1,"29":1,"31":1}}],["效果如下",{"2":{"252":1,"288":1}}],["免登录白名单",{"2":{"250":1}}],["免登录页面",{"0":{"250":1},"2":{"250":1}}],["固定路由",{"2":{"250":1}}],["固定底部操作栏",{"0":{"7":1},"1":{"8":1}}],["都需要一次完整的回归测试",{"2":{"283":1}}],["都些都是依赖未安装成功导致的",{"2":{"253":1}}],["都必须登录后才能访问",{"2":{"250":1}}],["都是需要在本地项目中编写或修改代码并运行才能呈现的",{"2":{"202":1}}],["另一个是登录成功后的地址",{"2":{"249":1}}],["另外你也可以将",{"2":{"135":1}}],["另外因为框架没有采用",{"2":{"118":1}}],["使得路由在本框架中并非核心功能",{"2":{"249":1}}],["使用文件比较工具",{"2":{"283":1}}],["使用它",{"2":{"259":1}}],["使用方式也极为简单",{"2":{"259":1}}],["使用方法",{"2":{"255":1}}],["使用方法请查阅官方文档",{"2":{"69":1,"70":1}}],["使用本模板前",{"2":{"205":1}}],["使用上对比鉴权组件更方便",{"2":{"182":1}}],["使用基础版的开发者可直接跳过阅读",{"2":{"151":1}}],["使用第三方",{"2":{"95":1}}],["使用",{"0":{"124":1,"135":1,"252":1,"284":1,"285":1,"288":1},"1":{"285":1,"286":1},"2":{"19":1,"80":1,"285":1}}],["使用说明",{"0":{"3":1}}],["示例",{"0":{"213":1,"220":1,"227":1,"234":1,"241":1,"248":1},"2":{"289":1}}],["至此",{"2":{"212":1,"219":1,"226":1,"233":1,"240":1,"247":1}}],["完成",{"0":{"212":1,"219":1,"226":1,"233":1,"240":1,"247":1}}],["完整图标库",{"2":{"98":2}}],["卸载",{"0":{"211":1,"218":1,"225":1,"232":1,"239":1,"246":1},"2":{"211":1,"218":1,"225":1,"232":1,"239":1,"246":1}}],["│",{"2":{"209":1,"216":1,"223":1,"237":1,"244":1}}],["├─",{"2":{"209":10,"216":10,"223":10,"230":4,"237":10,"244":10}}],["二次封装",{"2":{"209":2,"216":2,"223":2,"230":1,"237":2,"244":2}}],["└─",{"2":{"209":7,"216":7,"223":7,"230":3,"237":7,"244":7}}],["删除相关文件",{"2":{"209":2,"216":2,"223":2,"230":1,"237":2,"244":2}}],["及以上",{"2":{"254":1}}],["及之后的版本",{"2":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["及部分源码片段",{"2":{"3":1}}],["之前的版本不支持替换组件库",{"2":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["之前版本为",{"2":{"154":1,"155":1,"156":1,"157":1,"158":1,"271":1}}],["迁移指南",{"2":{"206":1}}],["了解并熟悉框架使用到的技术栈",{"2":{"206":1}}],["了解本地构建或者下载支持",{"2":{"205":1}}],["技术栈",{"0":{"206":1}}],["技术支持",{"0":{"300":1},"1":{"301":1,"302":1},"2":{"4":1}}],["彩虹缩进提示",{"2":{"205":1}}],["右下角会自动提示需要安装的依赖",{"2":{"205":1}}],["右侧区域的",{"2":{"38":1}}],["拉取演示源码",{"2":{"203":2}}],["拉取框架源码",{"2":{"203":2}}],["拉取",{"2":{"203":1}}],["拉取从",{"2":{"203":1}}],["从",{"2":{"203":1}}],["从而无需编写重复代码",{"2":{"186":1}}],["到",{"2":{"203":1}}],["阅读开发文档前",{"2":{"202":1}}],["阅读并学习请查看",{"2":{"33":1,"118":1}}],["服务器也需要做相应的配置调整",{"2":{"200":1}}],["号能不能去掉",{"0":{"200":1}}],["慢",{"2":{"199":1}}],["快速调整窗口的展示顺序",{"2":{"296":1}}],["快速定位操作窗口",{"0":{"294":1}}],["快",{"2":{"199":1}}],["就需要频繁切换路由",{"2":{"298":1}}],["就在使用的开发者",{"2":{"284":1}}],["就不会触发外部网络请求了",{"2":{"261":1}}],["就不会出现该警告了",{"2":{"198":1}}],["就是",{"2":{"257":1}}],["就是在",{"2":{"198":1}}],["就增加了一个",{"2":{"250":1}}],["就分别是请求和响应的拦截代码了",{"2":{"75":1}}],["常见问题",{"0":{"197":1},"1":{"198":1,"199":1,"200":1}}],["常用的",{"2":{"74":1}}],["常用",{"0":{"58":1},"1":{"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1}}],["常用邮箱",{"2":{"1":1}}],["定制偏好设置内容",{"0":{"195":1}}],["定期修复",{"2":{"4":1}}],["预设模板文件存放在",{"2":{"187":1}}],["预览",{"0":{"84":1}}],["现在你可以用更简洁的方式来处理这一切",{"2":{"187":1}}],["现在可以移动到",{"2":{"98":1}}],["实现",{"2":{"187":1}}],["实现高度定制化",{"2":{"5":1}}],["毕竟最终目的都是提高开发效率",{"2":{"186":1}}],["跨窗口的组件调用",{"2":{"186":1}}],["跨域处理",{"0":{"77":1}}],["处理起来都很麻烦",{"2":{"186":1}}],["处理请求",{"0":{"131":1,"196":1}}],["反之也可能是从抽屉改成弹窗的形式",{"2":{"186":1}}],["考虑到需求会变",{"2":{"186":1}}],["让使用人员可以做到跨模块的多线操作",{"2":{"292":1}}],["让用户可以自行设置",{"2":{"193":1}}],["让新窗口进行承载",{"2":{"186":1}}],["让框架自行处理",{"2":{"179":1}}],["保存后效果如下",{"2":{"186":1}}],["保持一致",{"2":{"145":1}}],["列表数据",{"2":{"186":1}}],["批量操作",{"2":{"186":1}}],["搜索",{"2":{"186":1}}],["搜索面板",{"0":{"44":1},"1":{"45":1,"46":1,"47":1}}],["抽屉",{"2":{"186":1}}],["详情页的代码就不多介绍了",{"2":{"186":1}}],["详情",{"2":{"186":1,"192":1}}],["详情展示模式",{"2":{"186":1}}],["详细可查看",{"2":{"140":1}}],["详细可阅读",{"2":{"55":1,"59":1,"60":1,"98":4,"121":1,"170":1,"173":1,"175":1,"176":1,"200":1,"276":1,"279":1}}],["最后分享一篇关于暗黑模式的文章",{"2":{"273":1}}],["最后在应用配置中使用该主题",{"2":{"266":1}}],["最后使用",{"2":{"253":1}}],["最先看到的是这句文件导入代码",{"2":{"186":1}}],["最终解释权归",{"2":{"3":1}}],["先从列表页",{"2":{"186":1}}],["功能部分的介绍主要还是要看代码",{"2":{"186":1}}],["特性介绍",{"0":{"186":1}}],["特点为项目多",{"2":{"5":1}}],["接着在",{"2":{"186":1}}],["接下来需要去配置下导航",{"2":{"185":1}}],["接口文件",{"2":{"81":1}}],["接口的时候",{"2":{"80":1}}],["接口",{"2":{"80":2,"81":1}}],["接口与真实接口共存",{"2":{"80":1}}],["接口请求地址",{"2":{"121":3}}],["接口请求",{"0":{"59":1,"72":1},"1":{"73":1,"74":1,"75":1},"2":{"59":1}}],["√",{"2":{"185":4}}],["yarn",{"2":{"253":2}}],["yaml",{"2":{"121":3,"253":1}}],["yes",{"2":{"185":1}}],["创建标准窗口",{"2":{"185":1}}],["它探索出了一种全新的交互方式",{"2":{"298":1}}],["它们的优势在于理解成本低",{"2":{"298":1}}],["它将提高很多开发上的效率",{"2":{"285":1}}],["它需要展示多套图标集内的所有图标",{"2":{"262":1}}],["它的性能更好",{"2":{"261":1}}],["它不受网络环境限制",{"2":{"261":1}}],["它比",{"2":{"258":1,"284":1}}],["它包含列表页和编辑页",{"2":{"184":1}}],["它能高亮显示",{"2":{"98":1}}],["标签上通过设置",{"2":{"259":1}}],["标准模块模板基于",{"2":{"209":1,"216":1,"223":1,"237":1,"244":1}}],["标准模块提供了",{"2":{"186":1}}],["标准模块",{"0":{"184":1},"2":{"192":1}}],["标题国际化对应的",{"2":{"173":1}}],["标题区的",{"2":{"41":1}}],["标题",{"2":{"37":1,"40":1,"297":1}}],["返回",{"2":{"183":3}}],["才验证通过",{"2":{"181":1,"182":1,"183":1}}],["才允许提交到",{"2":{"115":1}}],["具体可以阅读这篇文章了解",{"2":{"199":1}}],["具体使用如下",{"2":{"181":1}}],["具体配置如下",{"2":{"131":1,"196":1}}],["针对这样的需求",{"2":{"181":1}}],["针对这些问题你需要依次检查以下几点",{"2":{"162":1}}],["第一点里有提到",{"2":{"186":1}}],["第一种是返回全部的导航数据",{"2":{"179":1}}],["第二种是后端直接返回用户具备访问权限的导航数据",{"2":{"179":1}}],["路由",{"0":{"249":1},"1":{"250":1}}],["路由权限",{"2":{"176":1}}],["路径",{"2":{"78":1}}],["根据权限去过滤并动态注册路由",{"2":{"176":1}}],["根据招聘网站统计",{"2":{"5":1}}],["✖️",{"2":{"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1}}],["值",{"2":{"170":1,"173":1}}],["✔️",{"2":{"170":1,"171":1}}],["三个参数",{"2":{"168":1}}],["地址即可",{"2":{"167":1}}],["外链等",{"2":{"297":1}}],["外链",{"0":{"167":1}}],["外链导航",{"2":{"4":1}}],["整体修改",{"2":{"209":4,"216":4,"223":4,"230":4,"237":4,"244":4}}],["整个项目所有导航的",{"2":{"165":1}}],["整站图标改用",{"2":{"95":2}}],["演示源码",{"2":{"203":1}}],["演示页面",{"2":{"166":1}}],["演示",{"2":{"165":1,"166":1,"168":1}}],["演示地址",{"2":{"4":1}}],["一般为",{"2":{"254":1}}],["一键切换源",{"2":{"253":1}}],["一个是登录地址",{"2":{"249":1}}],["一个导航模块包含以下结构",{"2":{"165":1}}],["一起使用",{"2":{"177":1,"286":1}}],["一级导航",{"0":{"165":1}}],["一些全局方法将无法使用",{"2":{"118":1}}],["每个窗口的文件夹内至少保留一个文件名为",{"2":{"299":1}}],["每个页面的功能明确",{"2":{"298":1}}],["每个组件的文件夹内至少保留一个文件名为",{"2":{"140":1}}],["每个组件按文件夹进行区分",{"2":{"140":1}}],["每一次大更新",{"2":{"283":1}}],["每一个",{"2":{"163":1}}],["计算属性",{"2":{"162":1}}],["计数器",{"2":{"33":1,"118":1}}],["按照之前记录的文档可以有个大致的迁移方案",{"2":{"283":1}}],["按照指引选择你需要用到的图标集",{"2":{"261":1}}],["按照特定规则创建文件或者文件夹",{"2":{"187":1}}],["按照实际情况进行调整",{"2":{"162":1}}],["按钮组件",{"2":{"33":1,"118":1}}],["比如",{"2":{"162":1,"195":1}}],["比较大的区别是生产环境里调用",{"2":{"81":1}}],["经常会遇到一些问题",{"2":{"162":1}}],["经历过数十个真实项目的打磨",{"2":{"6":1}}],["涉及到的第一步业务开发就是修改登录功能",{"2":{"162":1}}],["均为",{"2":{"161":1}}],["均提供长期维护",{"2":{"6":1}}],["变成了一个庞大的表单",{"2":{"186":1}}],["变量",{"0":{"161":1},"2":{"161":1}}],["变更为",{"2":{"88":3}}],["顶部面板模式",{"0":{"160":1},"2":{"153":1}}],["顶部精简模式",{"0":{"158":1},"2":{"153":1}}],["顶部模式",{"0":{"154":1},"2":{"153":1}}],["侧边栏面板模式",{"0":{"159":1},"2":{"153":1}}],["侧边栏精简模式",{"0":{"157":1},"2":{"153":1}}],["侧边栏模式",{"0":{"155":1,"156":1},"2":{"153":2}}],["含主导航",{"0":{"155":1},"2":{"153":1}}],["再删除",{"2":{"253":1}}],["再比如",{"2":{"195":1}}],["再往下就是需要你修改或编写业务代码的部分",{"2":{"186":1}}],["再搭配默认提供的",{"2":{"152":1}}],["再加上本框架的加持",{"2":{"5":1}}],["种模式的目录结构进行创建新的模板",{"2":{"187":1}}],["种模式",{"2":{"187":2}}],["种形式共存",{"2":{"186":1}}],["种详情展示模式",{"2":{"186":1}}],["种导航栏模式",{"2":{"153":1}}],["种导航栏模式和",{"2":{"152":1}}],["种布局结构",{"2":{"152":1}}],["种页宽模式的组合搭配",{"2":{"152":1}}],["布局相关的变量存放在",{"2":{"161":1}}],["布局",{"0":{"152":1,"282":1},"1":{"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1}}],["那有没有解决办法么",{"2":{"283":1}}],["那也可以使用下面这种方法",{"2":{"273":1}}],["那没有什么需要注意的",{"2":{"273":1}}],["那么我们建议你在开发的时候",{"2":{"285":1}}],["那么我们建议你阅读",{"2":{"285":1}}],["那么你可以使用",{"2":{"260":1}}],["那么这个配置项就不应该再暴露给用户了",{"2":{"195":1}}],["那么可以使用用户偏好设置功能",{"2":{"193":1}}],["那我们就开始吧~",{"2":{"151":1}}],["那语言包文件就会变得无比庞大且难以维护",{"2":{"148":1}}],["帮我点个",{"2":{"151":1}}],["码云",{"2":{"151":1}}],["相信这篇介绍能帮助你快速了解",{"2":{"290":1}}],["相信你已经准备或正在使用",{"2":{"151":1}}],["相关",{"2":{"285":1}}],["相关文件在",{"2":{"278":1}}],["相关的错误都不会在控制台里显示",{"2":{"129":1}}],["相对独立的页面",{"2":{"250":1}}],["相对比较简单",{"2":{"186":1}}],["发送验证码",{"2":{"147":1}}],["密码",{"2":{"147":1}}],["退出登录",{"2":{"147":1}}],["登录接口请求成功",{"2":{"162":1}}],["登录",{"0":{"162":1},"2":{"147":1}}],["登录页增加扫码登录参考",{"2":{"90":2}}],["确保唯一",{"2":{"171":1,"188":1}}],["确保接口可以请求成功",{"2":{"162":1}}],["确保开发人员尽可能理解整套框架源码的方方面面",{"2":{"5":1}}],["确认",{"2":{"147":1}}],["验证码",{"2":{"147":1}}],["打开",{"2":{"147":1}}],["光设置好中文",{"2":{"146":1}}],["日本語",{"2":{"145":1}}],["日期",{"0":{"70":1}}],["繁體",{"2":{"145":1}}],["key",{"2":{"145":8,"170":1,"173":1,"209":1,"216":1,"223":1,"230":1,"237":1,"244":1,"254":8}}],["kit",{"2":{"34":1}}],["引用",{"2":{"145":1}}],["引入",{"2":{"95":2,"103":2}}],["兜底",{"2":{"144":1}}],["简体",{"2":{"144":1,"145":1,"146":1,"147":1,"150":1}}],["简单封装",{"2":{"69":1,"70":1}}],["留空跟随系统",{"2":{"267":1}}],["留空则会根据浏览器语言自动判断",{"2":{"144":1}}],["留空默认",{"2":{"98":1,"271":1}}],["扩展",{"0":{"143":1},"2":{"205":1}}],["扩展组件为框架封装的组件",{"2":{"35":1}}],["扩展组件",{"0":{"35":1,"119":1},"2":{"4":1}}],["建立一个",{"2":{"141":1}}],["建议使用",{"2":{"255":1}}],["建议不需要时候可以将扩展禁用",{"2":{"205":1}}],["建议后端可以在用户表增加相关字段",{"2":{"131":1,"196":1}}],["建议",{"2":{"111":1,"131":1,"196":1,"205":1}}],["建议按照不同模块区分文件夹",{"2":{"80":1}}],["局部组件则在",{"2":{"189":1}}],["局部组件没有提供专门的存放目录",{"2":{"141":1}}],["局部组件",{"0":{"141":1}}],["公共组件生成目录为",{"2":{"189":1}}],["公共组件存放在",{"2":{"140":1}}],["公共组件在使用时",{"2":{"140":1}}],["公共组件",{"0":{"140":1}}],["公司名称",{"0":{"126":1}}],["资源并不是全局样式",{"2":{"138":1}}],["资源也是全局可调用的",{"2":{"138":1}}],["资源目录",{"2":{"138":1}}],["精灵图目录下生成的",{"2":{"138":1}}],["样式存放目录为",{"2":{"138":1}}],["样式",{"0":{"138":1},"2":{"299":1}}],["名称在",{"2":{"135":1}}],["随后引入文件夹中的",{"2":{"135":1}}],["将每个模块以窗口的形式展示在同一个界面中",{"2":{"292":1}}],["将准备好的",{"2":{"257":1}}],["将无法与官方环境锁定的依赖包版本保持一致",{"2":{"253":1}}],["将其替换为自己的登录接口",{"2":{"162":1}}],["将上一步下载的压缩包解压并放入",{"2":{"135":1}}],["将错误日志记录在",{"2":{"129":1}}],["找字体",{"0":{"133":1}}],["除了可以在",{"2":{"258":1}}],["除了通过",{"2":{"255":1}}],["除了框架提供的",{"2":{"187":1}}],["除了支持",{"2":{"6":1}}],["除此之外",{"2":{"132":1,"205":1}}],["字体的",{"2":{"135":1}}],["字体为例",{"2":{"135":1}}],["字体文件有大有小",{"2":{"132":1}}],["字符串进行存储",{"2":{"131":1,"196":1}}],["记录用户账号",{"2":{"129":1}}],["记录的数据",{"2":{"53":1}}],["错误日志",{"0":{"129":1}}],["错误日志上报",{"2":{"4":1}}],["备案号",{"0":{"128":1}}],["网站",{"2":{"258":1}}],["网站地址",{"0":{"127":1}}],["网站运行日期",{"0":{"125":1}}],["版权信息位于页面底部显示",{"2":{"123":1}}],["版权信息",{"0":{"123":1},"1":{"124":1,"125":1,"126":1,"127":1,"128":1}}],["版本将不再维护",{"2":{"110":2}}],["版本",{"2":{"110":2,"205":1}}],["版本存档",{"2":{"110":2}}],["关于表单具体使用哪种展示模式比较好",{"2":{"186":1}}],["关于配置的类型定义",{"2":{"122":1}}],["关闭国际化",{"0":{"150":1}}],["关闭窗口",{"0":{"65":1}}],["关闭按钮事件回调",{"2":{"17":1}}],["目的是方便开发者在开发阶段调试",{"2":{"121":1}}],["目录是",{"2":{"115":1}}],["目录中",{"2":{"98":1}}],["目录中的图片",{"2":{"98":1}}],["目录为",{"2":{"76":1}}],["目录下生成一个标准",{"2":{"191":1}}],["目录下生成一个空模板",{"2":{"190":1}}],["目录下选择指定的文件夹进行生成",{"2":{"188":1,"189":1}}],["目录下新建一个",{"2":{"185":1}}],["目录下新增并配置好了一个日文语言包",{"2":{"145":1}}],["目录下创建好了一个",{"2":{"185":1}}],["目录下文件名",{"2":{"144":1}}],["目录下找到对应组件进行修改",{"2":{"117":1}}],["目录下找到对应组件自行修改",{"2":{"35":1}}],["目录下分别新建",{"2":{"98":1}}],["目录下",{"2":{"34":1,"135":1,"137":1,"140":1,"145":1,"163":1,"187":1,"255":1,"257":1,"299":1}}],["该依赖会自动导入",{"2":{"285":1}}],["该功能基于",{"2":{"187":1}}],["该方法用于登录成功后获取用户权限",{"2":{"180":1}}],["该属性通常不在导航里直接配置",{"2":{"178":1}}],["该路由访问权限",{"2":{"176":1}}],["该项配置最终会通过",{"2":{"175":1}}],["该设置表示关闭语言选择器",{"2":{"150":1}}],["该特性由",{"2":{"140":1,"142":1}}],["该变量是开启应用配置面板",{"2":{"121":1}}],["该配置即用于代理",{"2":{"77":1,"78":1}}],["章节",{"2":{"121":1}}],["测试模块",{"2":{"185":1}}],["测试",{"2":{"121":1}}],["测试环境和生产环境用于构建使用",{"2":{"121":1}}],["测试环境",{"2":{"121":1}}],["调试工具",{"2":{"121":3}}],["调整应用配置的配置项",{"2":{"103":2}}],["分别为",{"2":{"121":1}}],["消息提示组件",{"2":{"118":1}}],["提交时强制进行代码规范校验",{"2":{"116":1}}],["提供了大量示例代码",{"2":{"203":1}}],["提供了全新的配置方式",{"2":{"98":1}}],["提供的预览界面可以帮助使用人员快速定位到需要操作的窗口",{"2":{"294":1}}],["提供的所有图标",{"2":{"259":1}}],["提供的",{"2":{"178":1}}],["提供的图标",{"2":{"175":1}}],["提供技术支持",{"2":{"142":1}}],["提供支持",{"2":{"140":1}}],["提供开发和生产模拟服务",{"2":{"79":1}}],["提供",{"2":{"33":1,"91":1,"118":1,"258":1}}],["提供最佳实践方案",{"2":{"6":1}}],["提供新特性",{"2":{"4":1}}],["提供独立技术支持微信群",{"2":{"2":1}}],["脚本",{"2":{"115":1}}],["此处选择的图标集也是图标选择器里展示的图标集",{"2":{"261":1}}],["此处的对象属性和",{"2":{"209":1,"216":1,"223":1,"230":1,"237":1,"244":1}}],["此处填写接口地址",{"2":{"78":1}}],["此目录下还有一个特殊目录",{"2":{"138":1}}],["此外",{"2":{"115":1}}],["环境变量和模式",{"2":{"121":1}}],["环境配置",{"0":{"121":1}}],["环境",{"2":{"115":1}}],["环境初始化之后再执行一遍",{"2":{"115":1}}],["环境初始化",{"2":{"115":1}}],["检测",{"2":{"115":1}}],["仓库目录和框架目录并非同一个",{"2":{"115":1}}],["仓库里的代码不会有不规范的代码",{"2":{"115":1}}],["仓库",{"2":{"115":2}}],["只需将必要的一些新特性或",{"2":{"283":1}}],["只需要将",{"2":{"167":1}}],["只是不会在工具栏显示切换颜色主题的图标",{"2":{"281":1}}],["只是不会在工具栏显示切换语言的图标",{"2":{"279":1}}],["只是仓库地址不同",{"2":{"204":1}}],["只能在",{"2":{"188":1}}],["只能对代码的书写规范进行格式化",{"2":{"115":1}}],["只要满足一个",{"2":{"176":1}}],["只记录",{"2":{"87":1}}],["官网的操作更直观",{"2":{"258":1}}],["官网上查找搜需要的图标",{"2":{"258":1}}],["官网学习外",{"2":{"255":1}}],["官网",{"2":{"167":1,"205":1,"259":1}}],["官网规则并在",{"2":{"113":1,"114":1}}],["官方提供的使用方式",{"2":{"260":1}}],["官方提供的调试工具在一定程度上可以提升解决",{"2":{"205":1}}],["官方状态库",{"2":{"255":1}}],["官方的图标使用方式",{"2":{"118":1}}],["官方图标的使用方式",{"2":{"33":2}}],["官方文档了解",{"2":{"285":1}}],["官方文档",{"2":{"33":1,"79":1,"98":1,"118":1,"187":1}}],["通知中心页面",{"2":{"278":1}}],["通知中心下拉预览面板",{"2":{"278":1}}],["通知中心不涉及具体业务",{"2":{"278":1}}],["通知中心",{"0":{"278":1}}],["通常情况下无需做任何修改",{"2":{"112":1}}],["通过执行",{"2":{"262":1}}],["通过打开",{"2":{"249":1}}],["通过配置可一键切换",{"2":{"186":1}}],["通过",{"2":{"152":1,"187":1}}],["通过修改",{"2":{"113":1,"114":1}}],["通过预先跟服务器端约定好的接口",{"2":{"79":1}}],["通过项目积累",{"2":{"6":1}}],["通过微信或支付宝扫码支付",{"2":{"1":1}}],["准备工作",{"0":{"201":1},"1":{"202":1,"203":1,"204":1,"205":1,"206":1},"2":{"111":1}}],["写法",{"2":{"106":2}}],["改为",{"2":{"106":2}}],["统一管理接口请求模块",{"2":{"103":2}}],["修改时请确保提供的所有值都存在",{"2":{"282":1}}],["修改登录页",{"0":{"210":1,"217":1,"224":1,"231":1,"238":1,"245":1}}],["修改为",{"2":{"200":1}}],["修改它会直接影响代码的调整",{"2":{"195":1}}],["修改完成后",{"2":{"145":1}}],["修改后重新执行一下",{"2":{"115":1}}],["修改",{"2":{"98":1,"209":2,"216":2,"223":2,"230":2,"237":2,"244":2}}],["修复同步到原有项目中即可",{"2":{"283":1}}],["修复无法打开修改密码窗口的问题",{"2":{"108":1}}],["修复类型报错",{"2":{"108":2}}],["修复主导航国际化配置不生效",{"2":{"107":1}}],["修复次导航收起时图标不居中",{"2":{"107":2}}],["修复切换国际化语言时",{"2":{"106":1}}],["修复顶部主导航国际化配置不生效",{"2":{"106":1}}],["修复顶部导航数量过多",{"2":{"90":2}}],["修复顶部导航鼠标滚动回弹",{"2":{"90":2}}],["修复收藏夹默认存储位置错误",{"2":{"98":1}}],["修复登录页",{"2":{"97":2}}],["修复",{"2":{"91":1,"94":1,"103":2,"108":1}}],["修复水印开启报错",{"2":{"90":1}}],["修复有",{"2":{"89":1}}],["修复vscode失效配置",{"2":{"88":2}}],["$message",{"2":{"118":1}}],["$bg",{"2":{"98":1}}],["$colors",{"2":{"98":1}}],["$t",{"2":{"91":1}}],["自",{"2":{"291":1}}],["自定义图标",{"0":{"257":1}}],["自定义块进行语言维护",{"2":{"148":1}}],["自定义字体",{"0":{"132":1},"1":{"133":1,"134":1,"135":1}}],["自定义主题",{"2":{"98":1}}],["自定义主题配置",{"2":{"98":1}}],["自带的组件外",{"2":{"6":1}}],["重置水印",{"2":{"289":1}}],["重命名为",{"2":{"106":2}}],["重名",{"2":{"98":1}}],["重构标准模块",{"2":{"103":1}}],["重构接口请求",{"2":{"103":2}}],["重构框架核心源码",{"2":{"98":2}}],["重构页面水印",{"2":{"95":1}}],["重构用户偏好模块",{"2":{"95":1}}],["启用",{"2":{"98":1}}],["启用新的",{"2":{"98":2}}],["拥抱原子化",{"2":{"98":1}}],["默认支持",{"2":{"285":1}}],["默认地址为",{"2":{"253":1}}],["默认是弹窗的方式",{"2":{"186":1}}],["默认模块",{"2":{"185":1}}],["默认提供了两组权限",{"2":{"180":1}}],["默认提供三套环境配置",{"2":{"121":1}}],["默认尺寸的配置项",{"2":{"98":3}}],["默认值",{"2":{"10":1,"13":1,"16":1,"19":1,"21":1,"25":1,"27":1,"29":1,"31":1,"37":1,"40":1,"43":1,"45":1,"49":1,"51":1,"55":1,"57":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1}}],["属性",{"2":{"96":1}}],["属性将无法使用",{"2":{"33":1,"118":1}}],["zhtwlocale",{"2":{"244":2}}],["zhtw",{"2":{"209":2,"216":2,"230":2,"237":2}}],["zhcnlocale",{"2":{"244":4}}],["zhcn",{"2":{"209":2,"216":4,"223":5,"230":4,"237":4}}],["zh",{"2":{"145":4,"147":1,"150":1,"209":5,"216":5,"223":2,"230":2,"237":5,"244":2}}],["zoomable",{"2":{"95":1}}],["zip",{"2":{"21":1,"121":2}}],["插件",{"2":{"95":1,"98":1,"103":4}}],["插件下正确显示",{"2":{"91":1}}],["指令进行创建",{"2":{"255":1}}],["指令进行组件生成",{"2":{"140":1}}],["指令可以自行选择",{"2":{"187":1}}],["指令",{"2":{"95":1}}],["7regular",{"2":{"135":2}}],["7",{"2":{"132":1,"135":4,"152":1,"153":1}}],["7146d",{"2":{"102":1}}],["7cdc8",{"2":{"95":1}}],["7a554",{"2":{"95":1}}],["759bff",{"2":{"19":1}}],["偏好设置可存放在",{"2":{"95":1}}],["明暗模式设置为跟随系统时",{"2":{"95":2}}],["明亮模式",{"2":{"267":1}}],["明亮和暗黑模式各",{"2":{"266":1}}],["明亮",{"2":{"4":2}}],["方案采用了",{"2":{"259":1}}],["方案",{"0":{"259":1},"2":{"261":1}}],["方法用来判断对象是否存在",{"2":{"254":1}}],["方法",{"2":{"254":1}}],["方式使用",{"2":{"95":2}}],["方便后期维护",{"2":{"186":1}}],["方便复用",{"2":{"186":1}}],["方便统一管理",{"2":{"138":1}}],["方便快速访问",{"2":{"130":1}}],["方便替换成其他第三方",{"2":{"98":1}}],["方便在内网环境使用",{"2":{"95":2}}],["方便业务开发",{"2":{"75":1}}],["方便开发人员直接使用",{"2":{"6":1}}],["方便我们的开发者可以随时咨询框架相关问题",{"2":{"2":1}}],["能让你使用本框架更得心应手",{"2":{"206":1}}],["能做的事比较有限",{"2":{"115":1}}],["能在",{"2":{"91":1}}],["能够让前端开发独立自主",{"2":{"79":1}}],["函数",{"2":{"91":1,"162":1}}],["合理使用",{"2":{"186":1}}],["合并到title配置项内",{"2":{"90":1}}],["合集优惠价",{"2":{"0":3}}],["移除精灵图支持",{"2":{"98":1}}],["移除",{"0":{"116":1},"2":{"98":1,"103":6}}],["移除应用配置中",{"2":{"98":3}}],["移除内置",{"2":{"95":1}}],["移除导航i18n配置项",{"2":{"90":1}}],["移除无用逻辑判断",{"2":{"88":1}}],["9cd44",{"2":{"103":1}}],["9d1d3",{"2":{"103":1}}],["970ef",{"2":{"96":1}}],["97483",{"2":{"91":1}}],["95cf8",{"2":{"95":1}}],["98792",{"2":{"95":1}}],["9ebc8",{"2":{"88":1}}],["9091d",{"2":{"88":1}}],["9000",{"2":{"77":3,"253":1}}],["增加明暗切换过渡动效",{"2":{"103":1}}],["增加表格高度自适应功能",{"2":{"103":1}}],["增加收藏夹",{"2":{"102":1}}],["增加",{"2":{"95":1,"98":2,"103":1}}],["增加图片支持",{"2":{"95":2}}],["增加打包后生成存档文件支持",{"2":{"95":2}}],["增加2种导航栏模式",{"2":{"88":1}}],["增加禁用开发者工具环境变量",{"2":{"88":2}}],["🐞",{"2":{"88":2,"89":1,"90":2,"91":1,"94":1,"95":2,"97":2,"98":1,"103":2,"106":1,"107":2,"108":2}}],["🚀",{"2":{"88":2,"90":2,"91":1,"95":2,"96":1,"98":2,"102":1,"103":2,"107":1}}],["🚨",{"2":{"88":2,"90":1,"95":1,"96":2,"98":2,"103":2,"106":2,"109":2}}],["409eff",{"2":{"266":2}}],["404",{"2":{"253":1}}],["490b1",{"2":{"107":1}}],["44045",{"2":{"103":1}}],["4bccd",{"2":{"95":1}}],["43d09",{"2":{"95":1}}],["4c70b",{"2":{"90":1}}],["4",{"0":{"88":1,"89":2,"90":2,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1},"2":{"152":1,"206":1,"208":1}}],["其次现在的显示器都在往高分屏",{"2":{"298":1}}],["其次在这个目录里的文件",{"2":{"138":1}}],["其实也有",{"2":{"283":1}}],["其实大部分管理系统框架都是如此",{"2":{"283":1}}],["其原理就是通过预设模板",{"2":{"187":1}}],["其它语言包文件里也要同步添加",{"2":{"146":1}}],["其它设置",{"0":{"86":1}}],["其中表单部分单独封装成组件存放在",{"2":{"186":1}}],["其中基础组件为",{"2":{"117":1}}],["其中",{"2":{"80":1,"121":1,"145":1,"168":1,"282":1}}],["其中包含按钮",{"2":{"33":1,"118":1}}],["其中有很大一部分中小型公司标配只有1",{"2":{"5":1}}],["安装",{"0":{"208":1,"215":1,"222":1,"229":1,"236":1,"243":1},"2":{"205":1,"208":1,"215":1,"222":1,"229":1,"236":1,"243":1}}],["安装它们将在一定程度上提升开发效率",{"2":{"205":1}}],["安装该扩展后",{"2":{"143":1}}],["安装命令",{"2":{"115":1}}],["安装指定模块并开启后才会生效",{"2":{"85":1}}],["安装依赖时提示",{"2":{"253":1}}],["安装依赖时有警告",{"0":{"198":1}}],["安装依赖",{"2":{"33":1,"208":1,"215":1,"222":1,"229":1,"236":1,"243":1,"253":3}}],["两者均需要",{"2":{"85":1}}],["两者可以共存",{"2":{"85":1}}],["两个数据源的",{"2":{"78":1}}],["压缩率更高的算法",{"2":{"85":1}}],["压缩",{"0":{"85":1}}],["生成的文件中",{"2":{"188":1}}],["生成其它格式的字体文件",{"2":{"134":1}}],["生成字体",{"0":{"134":1}}],["生成好的",{"2":{"84":1}}],["生产环境下默认关闭",{"2":{"121":1}}],["生产环境一般都是调用真实接口",{"2":{"81":1}}],["生产环境",{"0":{"81":1},"2":{"121":1}}],["生产环境的跨域需要服务端去解决",{"2":{"77":1}}],["否则用户就可以关闭用户偏好设置了",{"2":{"195":1}}],["否则会出现资源引用错误",{"2":{"83":1}}],["否则我们有权利收回产品授权及更新权限",{"2":{"3":1}}],["选择其中一种模式进行业务开发",{"2":{"273":1}}],["选择器尺寸",{"2":{"25":1}}],["选项",{"2":{"145":1}}],["选项为",{"2":{"83":1}}],["对话框",{"2":{"186":1}}],["对于从",{"2":{"284":1}}],["对于单个元素",{"2":{"182":1}}],["对于一些无法自动修复的错误代码",{"2":{"115":1}}],["对应的",{"2":{"170":1}}],["对应会在根目录生成",{"2":{"83":1}}],["对项目进行过",{"2":{"115":1}}],["对本次提交变更的文件进行分别进行",{"2":{"115":1}}],["对象属性一一对应",{"2":{"209":1,"216":1,"223":1,"230":1,"237":1,"244":1}}],["对象里的就是框架部分的语言信息",{"2":{"147":1}}],["对象内属性调整",{"2":{"96":2}}],["对象内参数为",{"2":{"49":1}}],["对象",{"2":{"75":2,"78":1}}],["则",{"2":{"266":1}}],["则直接从缓存中获取并展示",{"2":{"261":1}}],["则验证通过",{"2":{"181":1,"182":1,"183":1}}],["则是存放我们配置的导航模块数据",{"2":{"168":1}}],["则该设置将被忽略",{"2":{"127":1}}],["则在导航栏里看不到",{"2":{"180":1}}],["则在",{"2":{"115":1}}],["则会阻止本次代码提交",{"2":{"115":1}}],["则会将不符合规则的代码自动进行格式化",{"2":{"113":1,"114":1}}],["则需要在",{"2":{"83":1,"115":1}}],["则执行",{"2":{"83":1}}],["则可设置为",{"2":{"73":1}}],["命令预览不同环境构建出的文件夹",{"2":{"84":1}}],["命令",{"2":{"83":1,"262":1}}],["命令进行构建",{"2":{"83":1}}],["命名可随意",{"2":{"78":1}}],["项目就固定在什么版本了",{"2":{"283":1}}],["项目",{"0":{"200":1}}],["项目导航配置存放在",{"2":{"163":1}}],["项目开发完成之后",{"2":{"83":1}}],["项目型公司",{"2":{"5":1}}],["构建打包成功之后",{"2":{"83":1}}],["构建",{"0":{"83":1}}],["构建与预览",{"0":{"82":1},"1":{"83":1,"84":1,"85":1,"86":1}}],["差异不大",{"2":{"81":1}}],["注意事项",{"2":{"165":1}}],["注意看注释",{"2":{"161":1}}],["注意按文件夹区分",{"2":{"135":1}}],["注意",{"2":{"81":1,"115":1,"121":1,"122":1,"205":1,"207":1,"214":1,"221":1,"228":1,"235":1,"242":1,"253":1,"254":1,"299":1}}],["即首次调用会触发一个外部网络请求去获取",{"2":{"261":1}}],["即",{"2":{"138":1}}],["即不管是在开发",{"2":{"121":1}}],["即按需自动导入",{"2":{"118":1}}],["即可进入",{"2":{"176":1}}],["即可实现上百种界面风格",{"2":{"152":1}}],["即可使用",{"2":{"135":1}}],["即可",{"2":{"115":1}}],["即可在构建时生成",{"2":{"85":1}}],["即使开启跨域代理也不影响",{"2":{"80":1}}],["即项目开发中",{"2":{"80":1}}],["会发现这里的配置项并不是框架的完整应用配置",{"2":{"195":1}}],["会根据当前文件目录和文件名自动生成",{"2":{"188":1}}],["会按照你输入的中文名称替换",{"2":{"188":1}}],["会获取用户权限",{"2":{"176":1}}],["会在指定目录下生成模块文件夹",{"2":{"192":1}}],["会在语言选择器里显示",{"2":{"145":1}}],["会在顶栏里显示语言选择器",{"2":{"144":1}}],["会在根目录生成",{"2":{"83":1}}],["会自动访问页面",{"2":{"253":1}}],["会自动下载字体文件",{"2":{"132":1}}],["会自动对当前文件进行代码格式化操作",{"2":{"111":1}}],["会有属性的介绍",{"2":{"122":1}}],["会设置到",{"2":{"121":3}}],["会通过",{"2":{"115":1}}],["会请求本地的",{"2":{"80":1}}],["会长期深挖中后台系统框架",{"2":{"6":1}}],["如下图所示",{"2":{"203":1}}],["如下所示",{"2":{"80":1}}],["如",{"2":{"83":1}}],["如果一时半会没办法立马上手",{"2":{"284":1}}],["如果一同域名下部署两套系统",{"2":{"254":1}}],["如果设置为不启用",{"2":{"279":1,"281":1}}],["如果只在明亮或暗黑模式中",{"2":{"273":1}}],["如果只是几个接口需求从其它数据源请求",{"2":{"78":1}}],["如果主题是暗黑模式下使用的",{"2":{"266":1}}],["如果框架提供的主题风格满足不了你的需求",{"2":{"266":1}}],["如果确实有以上需求",{"2":{"259":1}}],["如果依旧无法运行",{"2":{"253":1}}],["如果对上述的步骤还有不清楚的地方",{"2":{"213":1,"220":1,"227":1,"234":1,"241":1,"248":1}}],["如果对这个问题感兴趣",{"2":{"198":1}}],["如果对这块不熟悉",{"2":{"121":1}}],["如果在大陆地区访问",{"2":{"205":1}}],["如果还没有源码",{"2":{"202":1}}],["如果开启了用户偏好设置",{"2":{"195":1}}],["如果仔细对比",{"2":{"195":1}}],["如果希望增加免登录的页面",{"2":{"250":1}}],["如果希望将框架的部分应用配置项暴露给用户",{"2":{"193":1}}],["如果希望提供用户一些定制化的能力",{"2":{"121":1}}],["如果既不想使用弹窗",{"2":{"186":1}}],["如果标记需要动态更新",{"2":{"177":1}}],["如果每个页面都要做国际化支持",{"2":{"148":1}}],["如果找不到对应的语言则使用",{"2":{"144":1}}],["如果使用的不是",{"2":{"180":1}}],["如果使用",{"2":{"143":1}}],["如果需要对框架进行二次开发",{"2":{"147":1}}],["如果需要新增某个导航的国际化支持",{"2":{"146":1}}],["如果需要将数据存储到服务器",{"2":{"131":1,"196":1}}],["如果需要在开发环境下测试",{"2":{"129":1}}],["如果需要使用",{"2":{"81":1}}],["如果未设置公司名称",{"2":{"127":1}}],["如果文档中提供的配置介绍",{"2":{"122":1}}],["如果不具备该条件",{"2":{"205":1}}],["如果不需要开启则留空",{"2":{"121":3}}],["如果不想开启国际化",{"2":{"150":1}}],["如果不想在",{"2":{"116":1}}],["如果不想让生产环境里的请求走",{"2":{"81":1}}],["如果",{"2":{"115":1}}],["如果有报错",{"2":{"115":1}}],["如果没有改正到就被推送到",{"2":{"115":1}}],["如果规则支持自动修复",{"2":{"113":1,"114":1}}],["如果最终访问地址为域名非根节点",{"2":{"83":1}}],["如果是需要构建测试环境",{"2":{"83":1}}],["如果项目中有涉及到上传功能",{"2":{"81":1}}],["如果项目里需要从多个不同地址的数据源请求数据",{"2":{"78":1}}],["如果项目里的接口很多",{"2":{"76":1}}],["如果第二个数据源也需要开启跨域处理的话",{"2":{"78":1}}],["如果本地开发环境请求接口提示跨域",{"2":{"77":1}}],["如果觉得用着不顺手",{"2":{"35":1,"117":1}}],["如果你正在做后台框架相关的调研或选型",{"2":{"290":1}}],["如果你正在将老版本的业务代码向新版本迁移",{"2":{"98":1}}],["如果你已经熟悉",{"2":{"285":1}}],["如果你还不熟悉",{"2":{"285":1}}],["如果你不习惯使用",{"2":{"273":1}}],["如果你不喜欢",{"2":{"33":1}}],["如果你清楚自己需要使用",{"2":{"261":1}}],["如果你也觉得麻烦的话",{"2":{"260":1}}],["如果你对其中的技术细节感兴趣",{"2":{"259":1}}],["如果你对",{"2":{"255":1}}],["如果你对默认的规则有异议",{"2":{"113":1,"114":1}}],["如果你恰好需要在同一域名下部署两套",{"2":{"254":1}}],["如果你需要使用",{"2":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["如果你想获取专业版源码",{"2":{"204":1}}],["如果你想使用的组件库不在上述方案中",{"2":{"33":1}}],["如果你准备好了",{"2":{"151":1}}],["如果你在安装依赖后再初始化了",{"2":{"115":1}}],["如果你依旧需要全局配置",{"2":{"98":1}}],["如果你依旧需要自定义",{"2":{"98":1}}],["如果你的业务页面代码中定义的",{"2":{"98":1}}],["如果你习惯",{"2":{"33":1}}],["如果你有以下场景需求",{"2":{"2":1}}],["如果传入为",{"2":{"10":1,"13":1}}],["如果能有一套现成的中后台框架系统",{"2":{"5":1}}],["强制修改此次请求的地址",{"2":{"80":1}}],["给",{"2":{"80":1}}],["部分关键位置会被替换掉",{"2":{"188":1}}],["部分请求真实接口",{"2":{"80":1}}],["部分请求",{"2":{"80":1}}],["部分框架的作者由于缺少后端开发经验",{"2":{"6":1}}],["quot",{"2":{"253":4}}],["query",{"2":{"80":1}}],["qq",{"2":{"1":1}}],["下列扩展组件基于",{"2":{"209":2,"216":2,"223":2,"230":1,"237":2,"244":2}}],["下面我就实际操作一遍",{"2":{"184":1}}],["下载",{"2":{"133":1}}],["下",{"2":{"80":1}}],["下拉面板标题",{"2":{"51":1}}],["模块文件夹",{"2":{"186":1}}],["模块",{"2":{"184":1}}],["模块管理",{"0":{"76":1}}],["模拟获取用户权限",{"2":{"180":1}}],["模拟请求数据甚至逻辑",{"2":{"79":1}}],["模式是一个标准模块模板",{"2":{"192":1}}],["模式则会在",{"2":{"190":1,"191":1}}],["模式可以选择生成的是公共组件还是局部组件",{"2":{"189":1}}],["模式下",{"2":{"188":1}}],["模式",{"0":{"251":1},"1":{"252":1},"2":{"91":1,"200":3}}],["模板请求无响应数据",{"2":{"91":1}}],["模板默认已经配置好生产环境",{"2":{"81":1}}],["模板使用",{"2":{"79":1}}],["是",{"2":{"284":1}}],["是异步请求返回的数据",{"2":{"259":1}}],["是不是觉得很麻烦",{"2":{"187":1}}],["是变量",{"2":{"138":1}}],["是比",{"2":{"85":1}}],["是分离前后端开发的关键链路",{"2":{"79":1}}],["是否生成",{"2":{"185":1}}],["是否必须",{"2":{"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1}}],["是否在打包后生成存档",{"2":{"121":2}}],["是否在打包时启用",{"2":{"121":2}}],["是否在打包时生成",{"2":{"86":1}}],["是否开启代理",{"2":{"121":1}}],["是否显示窗口标题栏",{"2":{"174":1}}],["是否显示背景",{"2":{"45":1}}],["是否显示切换按钮",{"2":{"45":1}}],["是否显示关闭按钮",{"2":{"16":1}}],["是否禁用开发者工具",{"2":{"121":3}}],["是否禁用",{"2":{"43":1}}],["是否折叠",{"2":{"40":1,"45":1}}],["是否隐藏提示栏",{"2":{"21":1,"29":1,"31":1}}],["是否可以开发票",{"2":{"2":1}}],["是否允许二开后交付源码",{"2":{"2":1}}],["join",{"2":{"265":4,"266":6}}],["ja",{"2":{"145":3}}],["js",{"2":{"98":1,"110":4,"113":3,"116":2,"118":1,"185":1,"187":1,"205":6,"255":1}}],["json",{"2":{"78":1,"115":3,"116":3,"131":1,"145":1,"147":2,"196":1,"198":2,"209":4,"216":4,"223":4,"230":4,"237":4,"244":4,"253":1}}],["jpg",{"2":{"21":2,"29":1,"31":1}}],["里定义组件的",{"2":{"286":1}}],["里定一个新的",{"2":{"78":1}}],["里无需导入相关",{"2":{"285":1}}],["里增加一句路由完整地址",{"2":{"250":1}}],["里增加一段新的",{"2":{"78":1}}],["里安装好",{"2":{"205":1}}],["里安装好以下扩展",{"2":{"205":1}}],["里打开源码的文件夹",{"2":{"205":1}}],["里的",{"0":{"200":1}}],["里面有给出一个忽略警告的方案",{"2":{"198":1}}],["里面就是构建打包好的文件",{"2":{"83":1}}],["里了",{"2":{"186":1}}],["里存放的是标准模块提供的一些配置项和必要数据参数字段",{"2":{"186":1}}],["里介绍了如何快速生成一个标准模块",{"2":{"184":1}}],["里进行设置",{"2":{"168":1}}],["里修改",{"2":{"162":2}}],["里修改响应拦截器里的代码",{"2":{"162":1}}],["里修改开启的条件判断",{"2":{"129":1}}],["里检查接口请求地址是否正确",{"2":{"162":1}}],["里查看",{"2":{"135":1,"179":1}}],["里",{"2":{"129":1,"131":1,"196":1,"250":1,"298":1}}],["里找到",{"2":{"115":1}}],["里代理部分的设置",{"2":{"77":1}}],["也方便后人查阅",{"2":{"301":1}}],["也就不存在切换路由导致页面数据丢失的场景",{"2":{"298":1}}],["也就是局部更新",{"2":{"283":1}}],["也就是脱离框架本身",{"2":{"250":1}}],["也不是可运行的程序或批处理文件",{"2":{"253":1}}],["也不想使用抽屉",{"2":{"186":1}}],["也不会在侧边栏导航里显示",{"2":{"176":1}}],["也提供了",{"2":{"182":1}}],["也可访问",{"2":{"205":1}}],["也可以通过最大化按钮将窗口最大化展示",{"2":{"293":1}}],["也可以通过这个插件快速识别到并修改",{"2":{"98":1}}],["也可以使用",{"2":{"253":1}}],["也可以根据自己的需求指定一套标准",{"2":{"186":1}}],["也可以直接调用该组件",{"2":{"186":1}}],["也可使用",{"2":{"175":1}}],["也建议关闭",{"2":{"121":1}}],["也只适用于一些简单的示例网站及预览网站",{"2":{"81":1}}],["也替换为",{"2":{"78":1}}],["也有在",{"2":{"35":1}}],["以上面举例的场景",{"2":{"298":1}}],["以上为开发时必备扩展",{"2":{"205":1}}],["以便展示更多信息",{"2":{"293":1}}],["以确保功能正常运行",{"2":{"283":1}}],["以下则是作者推荐安装的扩展",{"2":{"205":1}}],["以下为示例代码",{"2":{"80":1}}],["以中文",{"2":{"147":1}}],["以及与传统后台框架的对比",{"2":{"290":1}}],["以及其他水印相关配置",{"2":{"289":1}}],["以及此链接查看示例网站",{"2":{"213":1,"220":1,"227":1,"234":1,"241":1,"248":1}}],["以及相关局部组件",{"2":{"192":1}}],["以及破坏性更新记录",{"2":{"87":1}}],["以及第三方插件",{"2":{"6":1}}],["以",{"2":{"78":1,"135":1}}],["首先明确一点",{"2":{"283":1}}],["首先需要在应用配置里设置",{"2":{"254":1}}],["首先需要在应用配置里开启权限功能",{"2":{"180":1}}],["首先需要在应用配置里开启错误日志",{"2":{"129":1}}],["首先这个目录里只支持",{"2":{"138":1}}],["首先在",{"2":{"78":1,"185":1,"250":1}}],["首先初始化",{"2":{"75":1}}],["规则要保持一致",{"2":{"78":1}}],["你依旧可以在项目中使用",{"2":{"284":1}}],["你在哪个时间点开始使用",{"2":{"283":1}}],["你只需进入",{"2":{"259":1}}],["你已经将框架中的",{"2":{"212":1,"219":1,"226":1,"233":1,"240":1,"247":1}}],["你需要做的就是将不需要暴露给用户的配置项注释掉即可",{"2":{"195":1}}],["你需要给第二个数据源单独实例化一个",{"2":{"78":1}}],["你还可以自定义新的主题",{"2":{"266":1}}],["你还可以自定义新的模式",{"2":{"187":1}}],["你还可以在",{"2":{"258":1}}],["你还可以使用新窗口的形式进行处理",{"2":{"186":1}}],["你也可以通过以下方法引入你需要的自定义字体",{"2":{"132":1}}],["你可以更详细描述问题产生的操作步骤",{"2":{"301":1}}],["你可以按照以往的开发习惯进行开发",{"2":{"273":1}}],["你可以按照下面的方式处理",{"2":{"250":1}}],["你可以使用",{"2":{"259":1,"286":1}}],["你可以使用覆盖",{"2":{"78":1}}],["你可以去阿里巴巴矢量图标库",{"2":{"257":1}}],["你可以根据自己的使用需求自行选择",{"2":{"256":1}}],["你可以参考现有",{"2":{"187":1}}],["你可以沿用",{"2":{"186":1}}],["你可以修改",{"2":{"186":1}}],["你可以在文件里进一步定制用户偏好设置里的内容",{"2":{"195":1}}],["你可以在",{"2":{"179":1,"180":1,"200":1}}],["你可以在每个模块的文件夹下",{"2":{"141":1}}],["你可以打开",{"2":{"122":1}}],["你可以通过运行",{"2":{"113":1,"114":1}}],["你有两种方式可以实现",{"2":{"78":1}}],["配置免登录页面的路由",{"2":{"250":1}}],["配置并修改",{"2":{"115":1}}],["配置可忽略无需做代码规范校验的目录或文件",{"2":{"113":1}}],["配置文件为",{"2":{"112":1,"113":1,"114":1}}],["配置文件格式调整",{"2":{"98":1}}],["配置文件",{"2":{"98":2}}],["配置项来实现",{"2":{"131":1,"196":1}}],["配置项",{"2":{"88":3}}],["配置",{"0":{"112":1,"113":1,"114":1,"120":1},"1":{"121":1,"122":1},"2":{"77":1,"78":2,"98":3,"103":2,"107":1,"116":1}}],["中可修改水印展示内容",{"2":{"289":1}}],["中添加",{"2":{"198":1}}],["中的",{"2":{"188":1,"209":1,"216":1,"223":1,"230":1,"237":1,"244":1}}],["中文语言包",{"2":{"205":1}}],["中文",{"2":{"144":1,"145":2}}],["中找到",{"2":{"131":1,"196":1}}],["中移除",{"2":{"116":1}}],["中修改",{"2":{"115":1}}],["中进行修改",{"2":{"98":1}}],["中设置",{"2":{"83":1}}],["中",{"2":{"77":1,"78":1,"113":1,"253":1,"261":1,"289":1}}],["匹配到了",{"2":{"77":1}}],["匹配到其中一项则鉴权通过",{"2":{"13":1}}],["因为模块都以窗口的形式在同一个界面上展示",{"2":{"298":1}}],["因为更新的成本挺高的",{"2":{"283":1}}],["因为大部分项目是无需全局更新到新版的",{"2":{"283":1}}],["因为本质上这类框架其实是一个初始模板",{"2":{"283":1}}],["因为同一个色值是无法顾及到明亮和暗黑两种模式的",{"2":{"273":1}}],["因为文档中提及的内容",{"2":{"202":1}}],["因为依赖已经安装成功了",{"2":{"198":1}}],["因为几乎每个列表页都需要翻页功能",{"2":{"186":1}}],["因为只是覆盖",{"2":{"78":1}}],["因为",{"2":{"77":1,"134":1,"138":1,"145":1,"261":1}}],["因使用本产品所产生的损害及风险",{"2":{"3":1}}],["原始数据",{"2":{"261":1}}],["原生方案",{"0":{"260":1},"2":{"261":2}}],["原生提供的方案",{"2":{"259":1}}],["原生提供的组件",{"2":{"117":1}}],["原有的代码可能会因为规则的变动导致编辑器大量提示错误",{"2":{"113":1,"114":1}}],["原有",{"2":{"98":1}}],["原有请求都会被指向到本地",{"2":{"77":1}}],["原价",{"2":{"0":3,"2":2}}],["推荐",{"2":{"179":1}}],["推荐在每个页面组件里使用",{"2":{"148":1}}],["推荐使用",{"2":{"140":1,"205":1}}],["推荐的使用方式进行引入",{"2":{"118":1}}],["推荐安装",{"2":{"98":1,"143":1}}],["推荐根据模块来统一管理接口",{"2":{"76":1}}],["推荐购买企业",{"2":{"2":1}}],["响应的时候会根据错误信息判断是登录失效还是接口报错",{"2":{"75":1}}],["参考如下",{"2":{"283":1}}],["参考代码里只做了简单的拦截处理",{"2":{"75":1}}],["参数上",{"2":{"121":3}}],["参数统一设置",{"2":{"80":1}}],["参数获取",{"2":{"80":1}}],["参数相同",{"2":{"19":1}}],["参数",{"2":{"10":1,"13":1,"16":1,"19":1,"21":1,"25":1,"27":1,"29":1,"31":1,"37":1,"40":1,"43":1,"45":1,"49":1,"51":1,"55":1,"57":1,"146":1}}],["然后基于业务开展业务代码编写",{"2":{"283":1}}],["然后点击需要使用的图标",{"2":{"259":1}}],["然后删除根目录下",{"2":{"253":1}}],["然后打开",{"2":{"195":1}}],["然后在页面中就可以通过",{"2":{"257":1}}],["然后在需要使用到",{"2":{"254":1}}],["然后在",{"2":{"180":1,"205":1,"250":1}}],["然后你需要到",{"2":{"145":1}}],["然后到",{"2":{"131":1,"185":1,"196":1}}],["然后需要到",{"2":{"129":1}}],["然后手动删除",{"2":{"116":1}}],["然后把",{"2":{"78":1}}],["然后",{"2":{"75":1}}],["然后做一些全局的处理",{"2":{"75":1}}],["拦截器还是用的同一套规则",{"2":{"78":1}}],["拦截器的用处就是拦截每一次的请求和响应",{"2":{"75":1}}],["拦截器",{"0":{"75":1}}],["后期需求一点点增加",{"2":{"186":1}}],["后端生成",{"0":{"179":1}}],["后端可根据这一状态信息做动态数据国际化处理",{"2":{"149":1}}],["后续业务代码",{"2":{"74":2,"80":2}}],["后缀",{"2":{"57":1}}],["和",{"0":{"115":1},"1":{"116":1},"2":{"74":1,"75":2,"78":1,"98":2,"115":2,"121":4,"131":1,"168":1,"181":1,"182":1,"196":1,"205":1,"254":1,"261":1,"285":1}}],["lt",{"2":{"148":1,"175":1,"181":2,"188":1,"285":2,"286":3}}],["lighttheme",{"2":{"265":1,"266":1}}],["light",{"2":{"216":2,"237":2,"265":1,"266":4,"267":1}}],["line",{"2":{"185":1,"271":1}}],["lint",{"0":{"115":1},"1":{"116":1},"2":{"113":1,"114":1,"115":3,"116":2}}],["lib",{"2":{"145":4}}],["list|5",{"2":{"80":1}}],["list",{"2":{"73":1,"74":1,"77":2,"78":3,"80":3}}],["lock",{"2":{"253":1}}],["local",{"2":{"254":5}}],["locale=",{"2":{"209":2,"216":2,"230":4,"244":2}}],["locale",{"2":{"145":4,"209":4,"216":4,"223":2,"237":4}}],["locales",{"2":{"144":1,"145":10,"147":1,"209":5,"216":5,"223":7,"230":6,"237":5,"244":5}}],["localstorage",{"2":{"95":1,"131":1,"196":1,"254":4,"261":1}}],["localhost",{"2":{"77":3,"253":1}}],["lodash",{"2":{"237":2}}],["loading",{"2":{"186":1}}],["loadenv",{"2":{"77":2,"78":4}}],["lonetext",{"2":{"131":1,"196":1}}],["logo",{"2":{"265":4,"266":6}}],["logout",{"2":{"147":1}}],["login",{"2":{"147":1,"162":1,"250":4}}],["log",{"2":{"129":2}}],["labelname",{"2":{"145":5}}],["lang=",{"2":{"209":2,"216":2,"223":2,"230":2,"237":2,"244":2,"285":1,"286":3,"289":1}}],["language",{"2":{"149":1,"205":1}}],["lang",{"2":{"144":1,"145":6,"147":1,"209":1,"216":5,"223":3,"230":2,"237":1,"244":1}}],["layout",{"2":{"96":1,"282":1}}],["layouts",{"2":{"34":1}}],["large",{"2":{"25":1}}],["设置水印",{"2":{"289":1}}],["设置水印内容",{"0":{"289":1}}],["设置不同的类型值",{"2":{"177":1}}],["设置为数字时单位为",{"2":{"172":1}}],["设置为需要跳转的",{"2":{"167":1}}],["设置了拦截器",{"2":{"75":1}}],["设置",{"0":{"73":1},"2":{"81":1}}],["设置上传的请求头部",{"2":{"21":1,"29":1,"31":1}}],["做开发",{"2":{"284":1}}],["做项目开发时尽量避免框架自带模块或组件的改动",{"2":{"283":1}}],["做好准备工作后",{"2":{"253":1}}],["做成了",{"2":{"186":1}}],["做为一个中后台系统框架",{"2":{"283":1}}],["做为基础规范",{"2":{"113":1}}],["做为开发",{"2":{"111":1}}],["做为异步请求工具",{"2":{"71":1}}],["做到开发人员拿来即可使用",{"2":{"6":1}}],["基本是无法更新的",{"2":{"283":1}}],["基本不太可能",{"2":{"253":1}}],["基本配置",{"0":{"164":1},"1":{"165":1,"166":1,"167":1,"168":1}}],["基于传统后台框架的这些痛点",{"2":{"298":1}}],["基于设置的路由规则",{"2":{"250":1}}],["基于",{"2":{"69":1,"70":1}}],["基础组件由",{"2":{"33":1,"118":1}}],["基础组件",{"0":{"33":1,"118":1}}],["基础版和专业版内容略有不同",{"2":{"264":1}}],["基础版专业版",{"2":{"116":1}}],["基础版现在可以使用",{"2":{"98":1}}],["基础版",{"0":{"203":1,"265":1,"301":1},"2":{"4":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"209":1,"216":1,"223":1,"230":1,"237":1,"244":1}}],["事件总线",{"0":{"69":1}}],["事件名称",{"2":{"17":1,"47":1,"53":1}}],["判断窗口是否全屏",{"0":{"67":1}}],["\\tname",{"2":{"64":1}}],["新密码",{"2":{"147":1}}],["新增的任何路由",{"2":{"250":1}}],["新增",{"2":{"103":1}}],["新增用户偏好设置",{"2":{"102":1}}],["新增哀悼模式和色弱模式",{"2":{"88":2}}],["新增窗口",{"0":{"64":1}}],["新闻内容",{"2":{"74":1,"80":1}}],["新闻标题",{"2":{"74":1,"80":1}}],["新状态的值",{"2":{"47":1}}],["切换为国内",{"2":{"253":1}}],["切换到",{"2":{"115":1}}],["切换主导航",{"2":{"62":1}}],["切换",{"0":{"62":1}}],["切换展开",{"2":{"47":1}}],["==",{"2":{"77":1,"78":2}}],["===",{"2":{"77":1,"78":3,"209":2,"216":2,"223":2,"230":2,"237":2}}],["=>",{"2":{"74":2,"77":1,"78":2,"80":3,"177":1,"216":6,"223":2,"237":6,"250":1,"255":1,"285":1}}],["=",{"2":{"60":1,"73":1,"77":1,"78":2,"80":2,"81":1,"85":3,"86":1,"98":1,"118":1,"121":24,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"131":1,"144":2,"145":2,"150":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"165":1,"166":1,"167":1,"168":1,"179":1,"180":1,"183":1,"185":2,"186":2,"194":1,"195":1,"196":1,"209":3,"216":5,"223":4,"230":3,"237":5,"244":2,"250":2,"252":1,"254":1,"255":3,"265":2,"266":1,"267":1,"268":1,"269":1,"271":1,"272":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"285":2,"288":1,"289":1}}],["权限验证",{"2":{"180":2}}],["权限",{"0":{"180":1},"1":{"181":1,"182":1,"183":1},"2":{"60":1,"176":1}}],["权限数据",{"2":{"10":1,"13":1}}],["g",{"2":{"265":50,"266":75}}],["generate",{"2":{"261":1,"262":1}}],["getitem",{"2":{"254":1}}],["getparams",{"2":{"186":1}}],["getpermissions",{"2":{"180":1}}],["getelementlocales",{"2":{"145":1}}],["getcurrentinstance",{"2":{"118":1}}],["get",{"2":{"59":1,"74":3,"77":1,"78":3,"80":3,"254":2}}],["global",{"2":{"209":2,"216":2,"223":2,"230":2,"237":6,"244":2}}],["globalstore",{"2":{"177":1}}],["globals",{"2":{"122":1,"161":1}}],["globalsettings",{"2":{"98":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"131":1,"144":2,"150":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"179":1,"180":1,"194":1,"196":1,"252":1,"254":1,"266":1,"267":1,"268":1,"269":1,"271":1,"272":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"288":1}}],["gologin",{"2":{"147":1}}],["green",{"2":{"98":1,"273":1}}],["gzip",{"2":{"85":4,"121":3}}],["gz",{"2":{"85":1}}],["gt",{"2":{"80":2,"148":1,"175":1,"181":2,"188":1,"282":1,"285":2,"286":3}}],["gitee",{"2":{"151":1,"203":4,"301":1}}],["git",{"0":{"115":1},"1":{"116":1},"2":{"115":14,"116":7,"203":8,"205":1}}],["github",{"2":{"1":3,"2":3,"127":1,"151":1,"167":1,"203":5,"207":1,"214":1,"221":1,"228":1,"235":1,"242":1,"301":1}}],["gif",{"2":{"29":1,"31":1}}],["与基础版不同",{"2":{"266":1}}],["与",{"2":{"98":1}}],["与服务端交互",{"0":{"71":1,"149":1},"1":{"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1},"2":{"59":1}}],["与该组件",{"2":{"19":1}}],["前缀",{"2":{"57":1,"80":1}}],["前端开发人员不足的中小型公司",{"2":{"5":1}}],["趋势标记",{"0":{"56":1},"1":{"57":1}}],["尺寸",{"2":{"55":1}}],["颜色方案",{"0":{"267":1}}],["颜色主题",{"0":{"281":1},"2":{"266":3}}],["颜色反转",{"2":{"57":1}}],["颜色",{"2":{"55":1}}],["0f0f0f",{"2":{"265":14,"266":16}}],["0b8ac",{"2":{"109":1}}],["0b078",{"2":{"98":1}}],["0b03a",{"2":{"97":1}}],["0c353",{"2":{"108":1}}],["02548",{"2":{"106":1}}],["040a5",{"2":{"106":1}}],["0311a",{"2":{"106":1}}],["0a0a0a",{"2":{"98":1,"265":6,"266":6}}],["0",{"0":{"88":1,"90":1,"91":1,"95":1,"96":1,"97":1,"98":2,"102":1,"103":2,"106":1,"107":1,"108":1,"109":2,"110":2},"2":{"55":2,"154":1,"155":1,"156":1,"157":1,"158":1,"177":1,"207":2,"214":2,"221":2,"228":2,"235":2,"242":2,"255":1,"271":1,"285":1}}],["000",{"2":{"273":1}}],["000+",{"2":{"258":1}}],["00",{"2":{"0":13,"2":4}}],["旋转角度",{"2":{"55":1}}],["right",{"2":{"259":2,"260":2}}],["ri",{"2":{"185":1}}],["rollup",{"2":{"198":1}}],["routes",{"2":{"185":1,"250":2}}],["router",{"2":{"185":1,"200":2,"206":1,"249":1,"250":1,"285":1}}],["rotate",{"2":{"55":1}}],["rainbow",{"2":{"205":1}}],["radius",{"2":{"98":1}}],["rar",{"2":{"21":1}}],["rtl",{"0":{"251":1},"1":{"252":1},"2":{"91":1,"252":1}}],["run",{"2":{"83":2,"84":2,"113":1,"114":1,"187":1,"253":1,"261":1,"262":1}}],["red",{"2":{"273":1}}],["registry",{"2":{"253":2}}],["releases",{"2":{"203":1,"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["reload",{"2":{"68":1}}],["ref",{"2":{"186":1,"195":1,"255":1,"285":2}}],["recordraw",{"2":{"165":1,"166":1,"167":1,"185":1}}],["return",{"2":{"80":1,"145":1,"255":1}}],["replace",{"2":{"77":1,"78":2}}],["rewrite",{"2":{"77":1,"78":2}}],["request",{"2":{"75":2,"78":1}}],["reset",{"2":{"209":2}}],["resources",{"2":{"138":1}}],["responsetype",{"2":{"78":1}}],["response",{"2":{"75":2,"78":1,"80":1}}],["res",{"2":{"74":2,"80":2}}],["removeitem",{"2":{"254":1}}],["removeattribute",{"2":{"216":2,"237":2}}],["removeeventlistener",{"2":{"216":2,"237":2}}],["remove",{"2":{"65":1,"211":1,"218":1,"225":1,"232":1,"239":1,"246":1,"254":2}}],["reverse",{"2":{"57":1}}],["垂直以及同时翻转",{"2":{"55":1}}],["翻转方式",{"2":{"55":1}}],["点击下载",{"2":{"134":1}}],["点击下拉面板中某条记录的事件回调",{"2":{"53":1}}],["点击查看详细介绍",{"2":{"33":1}}],["触发下拉面板的",{"2":{"52":1}}],["触发下拉列表的",{"2":{"23":1}}],["储存箱",{"0":{"50":1},"1":{"51":1,"52":1,"53":1},"2":{"51":1}}],["鼠标悬浮到属性上时",{"2":{"122":1}}],["鼠标悬停临时展开",{"2":{"96":1}}],["鼠标",{"2":{"49":3}}],["填充颜色",{"2":{"49":1}}],["折线颜色",{"2":{"49":1}}],["折线宽度",{"2":{"49":1}}],["迷你图数据",{"2":{"49":1}}],["迷你图",{"0":{"48":1},"1":{"49":1}}],["收起状态的事件回调",{"2":{"47":1}}],["收藏夹默认存储在浏览器本地",{"2":{"131":1}}],["收藏夹",{"0":{"130":1,"276":1},"1":{"131":1},"2":{"4":1,"276":1}}],["作用域参数为",{"2":{"46":1}}],["作者认为是得不偿失的",{"2":{"283":1}}],["作者的",{"2":{"259":1}}],["作者拥有10年+的前后端开发经验",{"2":{"6":1}}],["作者还提供一对一的技术支持",{"2":{"5":1}}],["绑定数据的格式化类型",{"2":{"43":1}}],["省市区街道",{"2":{"43":1}}],["省市区街道联动",{"0":{"42":1},"1":{"43":1}}],["省市区",{"2":{"43":1}}],["省市",{"2":{"43":1}}],["联动类型",{"2":{"43":1}}],["联动数据选中项绑定值",{"2":{"43":1}}],["当页面展示内容不多的时候",{"2":{"298":1}}],["当然我们更建议你使用",{"2":{"284":1}}],["当然个人建议是",{"2":{"283":1}}],["当然这么使用并没有很方便",{"2":{"260":1}}],["当然这个扩展开启后",{"2":{"205":1}}],["当然你同样也可以通过",{"2":{"259":1}}],["当然标准模块也只是框架提供的一个标准",{"2":{"186":1}}],["当然它能做的事情也更简单",{"2":{"182":1}}],["当表单与当前列表页关联性较强",{"2":{"186":1}}],["当前用户具备该权限是如何显示",{"2":{"181":1}}],["当值小于等于",{"2":{"177":1}}],["当值为空时隐藏",{"2":{"177":1}}],["当值为",{"2":{"177":1}}],["当都设置好后",{"2":{"146":1}}],["当你对规则进行修改后",{"2":{"113":1,"114":1}}],["当为对象数组时",{"2":{"49":1}}],["当",{"2":{"40":1}}],["页",{"2":{"192":1}}],["页面水印",{"0":{"287":1},"1":{"288":1,"289":1}}],["页面下载框架源码压缩包",{"2":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["页面下载最新版本的压缩包",{"2":{"203":1}}],["页面的",{"2":{"188":1}}],["页面模块文件",{"2":{"187":1}}],["页面文件",{"2":{"187":1}}],["页面",{"2":{"185":1}}],["页面中某个模块",{"2":{"181":1}}],["页面样式建议写在",{"2":{"138":1}}],["页面标题",{"2":{"121":3}}],["页面布局",{"2":{"4":1}}],["页头",{"0":{"36":1},"1":{"37":1,"38":1}}],["有效提高了使用人员的操作效率",{"2":{"298":1}}],["有",{"2":{"258":1}}],["有容量上限",{"2":{"254":1}}],["有人却说",{"2":{"199":1}}],["有全新开发的组件",{"2":{"35":1}}],["有些小型公司没有前端开发人员",{"2":{"5":1}}],["这款工具可以直接对比文件夹",{"2":{"283":1}}],["这种方案也是作者在公司内部项目经常使用的",{"2":{"283":1}}],["这种方式拉取的是最新的代码",{"2":{"203":1}}],["这种方式的前提是",{"2":{"78":1}}],["这也是框架推荐的方式",{"2":{"273":1}}],["这也意味着部分组件的",{"2":{"118":1}}],["这篇文章",{"2":{"259":1}}],["这句脚本",{"2":{"253":1}}],["这句代码放到全局引入",{"2":{"135":1}}],["这块部分详细介绍请阅读",{"2":{"192":1}}],["这部分是有意而为之",{"2":{"186":1}}],["这部分需要根据实际存储的用户信息去判断是否登录",{"2":{"162":1}}],["这里的",{"2":{"298":1}}],["这里需要你设置一个唯一且不重名的前缀",{"2":{"254":1}}],["这里就不继续展开了",{"2":{"186":1}}],["这里我已经通过命令在",{"2":{"185":1}}],["这时候我们建议使用",{"2":{"273":1}}],["这时候开发则需要注意",{"2":{"273":1}}],["这时候由于表单部分已抽象成组件",{"2":{"186":1}}],["这时候就要从弹窗改成抽屉的形式",{"2":{"186":1}}],["这时候就可以通过导航栏访问到我们的窗口了",{"2":{"185":1}}],["这时候你就会需要用到它们",{"2":{"34":1}}],["这将是对我极大的鼓励",{"2":{"151":1}}],["这些东西",{"2":{"138":1}}],["这些组件仅服务于框架自身",{"2":{"34":1}}],["这是一个基于",{"2":{"258":1}}],["这是一个可以无视的警告",{"2":{"198":1}}],["这是因为路由默认使用的是",{"2":{"200":1}}],["这是因为有部分配置项并不适合暴露给用户",{"2":{"195":1}}],["这是全局",{"2":{"138":1}}],["这是基础版演示源码里的自定义配置示例",{"2":{"122":1}}],["这两个函数",{"2":{"131":1,"196":1}}],["这两个依赖来解决这一问题",{"2":{"115":1}}],["这样做可以让更多的人参与讨论",{"2":{"301":1}}],["这样当你需要进行新版本更新时",{"2":{"283":1}}],["这样的处理在一定程度上有解决版本更新的问题",{"2":{"283":1}}],["这样的用意是让表单可以复用",{"2":{"186":1}}],["这样再在框架中使用这些图标",{"2":{"261":1}}],["这样下次再调用的时候",{"2":{"261":1}}],["这样不会生效",{"2":{"259":2}}],["这样操作后",{"2":{"253":1}}],["这样你可以选择性的更新部分新代码到项目中",{"2":{"283":1}}],["这样你下次再安装依赖的时候",{"2":{"198":1}}],["这样你就可以在页面中通过引入不同的文件分别请求两个数据源了",{"2":{"78":1}}],["这样就没有意义了",{"2":{"195":1}}],["这样设计的目的主要有三点",{"2":{"186":1}}],["这样生成出来就是哪种",{"2":{"186":1}}],["这样我们才可以在导航栏里访问到",{"2":{"185":1}}],["这样所有页面就都可以通过设置",{"2":{"135":1}}],["这样可以确保",{"2":{"115":1}}],["这个类封装了",{"2":{"254":1}}],["这个配置项是用来控制导航数据来源的",{"2":{"195":1}}],["这个配置项就是用来控制是否开启用户偏好设置的",{"2":{"195":1}}],["这个标准模块是一个最基础的",{"2":{"184":1}}],["这个函数",{"2":{"179":1}}],["这个扩展",{"2":{"143":1}}],["这个",{"2":{"98":1}}],["这个参数就是配置",{"2":{"73":1}}],["这意味着部分",{"2":{"33":1}}],["内置",{"2":{"265":2,"266":3}}],["内网环境使用",{"0":{"261":1},"2":{"261":1}}],["内建组件存放在",{"2":{"34":1}}],["内建组件",{"0":{"34":1}}],["内容多则使用抽屉",{"2":{"186":1}}],["内容少则使用弹窗",{"2":{"186":1}}],["内容块",{"0":{"39":1},"1":{"40":1,"41":1}}],["内容区域的",{"2":{"38":1,"46":1}}],["内容区的",{"2":{"8":1,"41":1}}],["内容",{"2":{"8":2,"10":1,"11":1,"13":1,"14":1,"23":1,"37":1,"38":2,"41":2,"46":1,"52":1,"57":1}}],["别担心会很复杂",{"2":{"33":1}}],["理解替换的整理思路",{"2":{"33":1}}],["替换真实接口后",{"2":{"162":1}}],["替换",{"2":{"96":2}}],["替换为",{"0":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1},"1":{"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1},"2":{"33":6,"98":6}}],["替换组件库",{"2":{"33":1}}],["但也变相增加了开发人员的开发成本",{"2":{"298":1}}],["但也意味着",{"2":{"118":1}}],["但弊端也很明显",{"2":{"283":1}}],["但如果需要让用户可以自己选择明亮或暗黑模式",{"2":{"273":1}}],["但如果使用选择之外的图标",{"2":{"261":1}}],["但如果你需要对框架进行二次开发",{"2":{"34":1}}],["但需要清楚一点",{"2":{"253":1}}],["但需要注意的是",{"2":{"203":1}}],["但需要注意",{"2":{"200":1}}],["但是无法跳转到后台主页",{"2":{"162":1}}],["但在实践过程中",{"2":{"162":1}}],["但为了保证构建出来的文件能正常运行",{"2":{"84":1}}],["但因为每个公司提供的接口标准不同",{"2":{"75":1}}],["但老项目里使用的组件库并不是",{"2":{"33":1}}],["但通常情况下我们不会随意打扰你",{"2":{"1":1}}],["上查找",{"2":{"258":1,"259":1}}],["上拉取源码",{"2":{"203":1}}],["上",{"2":{"33":1}}],["上传",{"2":{"134":1}}],["上传数量限制",{"2":{"21":1,"31":1}}],["上传文件大小限制",{"2":{"21":1,"29":1,"31":1}}],["上传的文件列表",{"2":{"21":1}}],["上传的文件字段名",{"2":{"21":1,"29":1,"31":1}}],["上传的地址",{"2":{"21":1,"29":1,"31":1}}],["上传时附带的额外参数",{"2":{"21":1,"29":1,"31":1}}],["或其它字体下载网站",{"2":{"133":1}}],["或者提供完整的最小复现",{"2":{"301":1}}],["或者改动地方做一个文档记录",{"2":{"283":1}}],["或者是根据浏览器主题来判断是使用明亮还是暗黑模式",{"2":{"273":1}}],["或者其它支持下载",{"2":{"257":1}}],["或者安装结束后",{"2":{"253":1}}],["或者到",{"2":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["或者也可以参考下方示例中已经修改好的登录页",{"2":{"210":1,"217":1,"224":1,"231":1,"238":1,"245":1}}],["或者也可以从",{"2":{"203":1}}],["或者也可以都开启",{"2":{"85":1}}],["或者",{"2":{"151":1}}],["或者参考下面提供的最佳实践",{"2":{"98":1}}],["或者你想要将老项目迁移到",{"2":{"33":1}}],["或",{"2":{"84":1,"85":1,"121":3,"180":1,"183":3,"253":1}}],["或直接删除",{"2":{"81":1}}],["或简单包装成同类产品",{"2":{"3":1}}],["编辑",{"2":{"33":1,"118":1,"192":1}}],["无法像",{"2":{"283":1}}],["无法正常登录",{"2":{"162":1}}],["无法使用",{"2":{"33":1,"118":2}}],["无主导航",{"0":{"156":1},"2":{"153":1}}],["无需手动",{"2":{"285":1}}],["无需手动引入",{"2":{"140":1}}],["无需在页面上引用即可生效并使用",{"2":{"138":1}}],["无二级的一级导航增加",{"2":{"95":2}}],["无重大变化",{"2":{"89":1,"91":1,"92":2,"93":2,"94":1,"99":2,"100":2,"101":2,"102":1,"104":2,"105":2}}],["无论是免费的基础版",{"2":{"6":1}}],["无论有意或无意",{"2":{"3":1}}],["x",{"2":{"208":1}}],["x26",{"2":{"77":2,"78":6,"115":2,"116":2,"273":1}}],["x3c",{"2":{"33":11,"118":11,"181":27,"182":9,"195":1,"209":14,"216":14,"223":18,"230":20,"237":14,"244":14,"257":2,"259":8,"260":6,"285":2,"286":6,"289":2}}],["xxx",{"2":{"21":3,"49":1}}],["滑块等",{"2":{"33":1,"118":1}}],["级联选择器",{"2":{"33":1,"118":1}}],["输入框",{"2":{"33":1,"118":1}}],["文档中标记",{"2":{"151":1}}],["文档说明",{"0":{"151":1}}],["文字链接",{"2":{"33":1,"118":1}}],["文件后",{"2":{"253":1}}],["文件后缀名错误",{"2":{"108":1}}],["文件会被视为一个导航模块",{"2":{"163":1}}],["文件可以看到框架相关的配置",{"2":{"147":1}}],["文件即可",{"2":{"116":1}}],["文件中",{"2":{"161":1,"264":1}}],["文件中查阅",{"2":{"122":1}}],["文件中设置自定义配置",{"2":{"122":1}}],["文件中进行修改",{"2":{"114":1}}],["文件中进行覆盖",{"2":{"113":1}}],["文件中实现",{"2":{"98":1}}],["文件",{"2":{"85":1,"134":1,"138":1,"184":1,"185":1,"187":1,"195":1,"209":6,"216":6,"223":6,"230":6,"237":6,"244":6,"257":1}}],["文件夹名即为组件名",{"2":{"299":1}}],["文件夹名称即为组件名",{"2":{"140":1}}],["文件夹与",{"2":{"253":1}}],["文件夹并重新安装依赖",{"2":{"253":1}}],["文件夹下还能看到另外一个",{"2":{"186":1}}],["文件夹专门用于存放局部组件",{"2":{"141":1}}],["文件夹一般需要部署至服务器才算部署发布成功",{"2":{"84":1}}],["文件夹",{"2":{"83":2,"185":1}}],["文件新增或修改后会自动更新",{"2":{"80":1}}],["文件存放在",{"2":{"80":1}}],["文件复制一份",{"2":{"78":1}}],["文件里进行引用",{"2":{"187":1}}],["文件里进行引入并放到主导航下",{"2":{"163":1}}],["文件里加上这个路由配置文件的引用",{"2":{"185":1}}],["文件里找到",{"2":{"179":1,"180":1}}],["文件里做以下调整",{"2":{"145":1}}],["文件里编写业务代码",{"2":{"129":1}}],["文件里配置第二个数据源的",{"2":{"78":1}}],["文件里",{"2":{"77":1,"138":1}}],["文件里实例化了",{"2":{"75":1}}],["文件里的",{"2":{"73":1}}],["文件名",{"2":{"55":1}}],["文件上传",{"0":{"20":1},"1":{"21":1}}],["文件自动生成",{"2":{"4":1}}],["介绍",{"0":{"32":1,"117":1},"1":{"33":1,"34":1,"35":1,"118":1,"119":1},"2":{"258":1}}],["多权限验证",{"2":{"181":2,"182":2,"183":2}}],["多级导航",{"0":{"166":1}}],["多数据源",{"0":{"78":1}}],["多选框",{"2":{"33":1,"118":1}}],["多图上传",{"0":{"30":1},"1":{"31":1}}],["多彩渐变卡片",{"0":{"18":1},"1":{"19":1}}],["占位图",{"2":{"29":1,"31":1}}],["单权限验证",{"2":{"181":1,"182":1,"183":1}}],["单页组件",{"0":{"148":1}}],["单独开启",{"2":{"85":2}}],["单选框",{"2":{"33":1,"118":1}}],["单图上传",{"0":{"28":1},"1":{"29":1}}],["单位为mb",{"2":{"21":1,"29":1,"31":1}}],["展示形式为文本",{"2":{"177":2}}],["展示形式为点",{"2":{"177":1}}],["展示效果也会不同",{"2":{"177":1}}],["展示",{"2":{"95":2}}],["展示高度",{"2":{"27":1,"29":1,"31":1,"40":1,"49":1}}],["展示宽度",{"2":{"27":1,"29":1,"31":1,"49":1}}],["white",{"2":{"273":1}}],["web",{"2":{"215":1,"216":8}}],["website",{"2":{"127":1}}],["watermarkstore",{"2":{"289":3}}],["watermark",{"2":{"289":3}}],["watch",{"2":{"216":2,"223":1,"237":2}}],["wave",{"2":{"95":1}}],["waves",{"2":{"95":1}}],["warning",{"2":{"16":1}}],["www",{"2":{"83":1}}],["windows",{"2":{"185":4,"186":1,"278":1,"299":1}}],["window",{"2":{"185":4,"216":2,"237":2}}],["windowwidth",{"0":{"172":1}}],["windowexample",{"2":{"168":1}}],["windowname",{"0":{"171":1},"2":{"64":2,"65":1,"66":1,"67":1,"68":1,"165":2,"166":1,"167":2,"185":1}}],["with",{"2":{"98":2}}],["width",{"2":{"27":1,"29":1,"31":1,"49":2}}],["图片",{"0":{"137":1}}],["图片列表",{"2":{"31":1}}],["图片地址",{"2":{"29":1}}],["图片链接",{"2":{"27":1}}],["图片预览指令",{"2":{"95":1}}],["图片预览",{"0":{"26":1},"1":{"27":1},"2":{"205":1}}],["图标默认是提供在线的服务",{"2":{"261":1}}],["图标字符串不支持异步返回",{"2":{"259":1}}],["图标字符串不支持拼接",{"2":{"259":1}}],["图标时",{"2":{"259":1}}],["图标文件放到",{"2":{"257":1}}],["图标文件的网站",{"2":{"257":1}}],["图标名",{"2":{"55":1,"259":1,"260":1}}],["图标名称",{"2":{"25":1}}],["图标选择器就会自动生效了",{"2":{"262":1}}],["图标选择器是一个特殊的组件",{"2":{"262":1}}],["图标选择器",{"0":{"24":1,"262":1},"1":{"25":1}}],["图标",{"0":{"256":1,"258":1},"1":{"257":1,"258":1,"259":2,"260":2,"261":2,"262":1},"2":{"19":1,"55":1,"98":2,"175":1,"259":1,"297":1}}],["dde1e3",{"2":{"265":3,"266":4}}],["doubled",{"2":{"285":1}}],["dot",{"2":{"271":1}}],["dotenv",{"2":{"205":1}}],["documentelement",{"2":{"237":4}}],["document",{"2":{"216":4,"237":4}}],["down",{"2":{"57":1}}],["drawer",{"2":{"186":2}}],["dropdown",{"2":{"103":1}}],["div",{"2":{"259":1}}],["direction",{"2":{"252":1}}],["dialog",{"2":{"186":2}}],["digital",{"2":{"132":1,"135":6}}],["disable",{"2":{"121":4}}],["disabled",{"2":{"43":1}}],["dist",{"2":{"83":2,"84":1,"98":1,"209":2,"216":2}}],["d",{"2":{"122":1,"215":1,"229":1,"237":4}}],["d2a2d",{"2":{"98":1}}],["d2dda",{"2":{"88":1}}],["dcbcc",{"2":{"98":1}}],["dc2b33",{"2":{"49":3}}],["dfc51",{"2":{"98":1}}],["d5715",{"2":{"95":1}}],["d8039",{"2":{"91":1}}],["dependencies",{"2":{"223":4}}],["department",{"2":{"181":5,"182":5,"183":5}}],["detailform",{"2":{"185":1,"186":1}}],["debug",{"2":{"121":4}}],["defineoptions",{"2":{"286":2}}],["definestore",{"2":{"255":1}}],["definefakeroute",{"2":{"80":2}}],["defaultlang",{"2":{"144":1,"150":1}}],["default",{"2":{"25":1,"80":1,"122":2,"165":1,"166":1,"167":1,"168":1,"185":1,"209":2,"216":2,"223":4,"230":2,"237":2,"244":2,"255":1,"266":2,"286":1}}],["devtools",{"2":{"205":4}}],["devtool",{"2":{"121":4}}],["dev",{"2":{"78":1,"253":1}}],["development",{"2":{"77":1,"121":1,"162":1}}],["design",{"0":{"207":1,"214":1},"1":{"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1},"2":{"33":2,"98":2,"207":1,"208":2,"209":10,"212":2,"214":1,"215":2,"216":8,"219":2}}],["day",{"2":{"291":1}}],["dayjs",{"2":{"70":4}}],["dafont",{"2":{"133":1}}],["datezhtw",{"2":{"230":2}}],["datezhcn",{"2":{"230":4}}],["dateenus",{"2":{"230":2}}],["date",{"2":{"230":6}}],["dates",{"2":{"125":1}}],["datalist",{"2":{"186":1}}],["data",{"2":{"21":1,"29":1,"31":1,"51":1,"80":1,"186":2,"273":1}}],["darktheme",{"2":{"230":4,"265":1,"266":1}}],["darkalgorithm",{"2":{"209":2}}],["dark",{"2":{"98":6,"209":2,"216":6,"223":4,"230":2,"237":6,"244":2,"265":1,"266":3,"267":1,"273":5}}],["danger",{"2":{"16":1}}],["us",{"2":{"209":1,"216":1,"237":1}}],["usewatermarkstore",{"2":{"289":2}}],["usewindow",{"2":{"64":4,"65":3,"66":3,"67":3,"68":3,"178":1}}],["useexamplestore",{"2":{"255":4}}],["useglobalconfig",{"2":{"223":2}}],["useglobalproperties",{"2":{"106":2}}],["usesettingsstore",{"2":{"209":4,"216":4,"223":4,"230":4,"237":4,"244":2}}],["usepagination",{"2":{"186":3}}],["userpreferences",{"2":{"194":1,"195":1,"196":2}}],["user",{"2":{"131":1,"162":2,"180":1,"195":1,"196":1}}],["usecurrentinstance",{"2":{"106":2}}],["use",{"2":{"75":2,"98":3,"209":2,"216":2,"223":5,"230":2,"237":2,"244":2}}],["usemenu",{"2":{"62":3}}],["useauth",{"2":{"60":3,"183":3}}],["util",{"2":{"129":1}}],["utils",{"2":{"60":1,"62":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"129":1,"183":1,"186":2,"254":1,"265":1,"266":2,"289":1}}],["undefined",{"2":{"230":2}}],["unocss",{"0":{"259":1},"2":{"95":2,"98":6,"205":1,"206":1,"259":3,"261":1,"265":1,"266":2,"273":2}}],["unplugin",{"2":{"95":2,"140":1,"285":1}}],["update",{"2":{"289":2}}],["updatetheme",{"2":{"216":8,"237":8}}],["up",{"2":{"57":2}}],["url",{"0":{"200":1},"2":{"21":1,"80":2}}],["ui",{"0":{"228":1,"242":1},"1":{"229":1,"230":1,"231":1,"232":1,"233":1,"234":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1},"2":{"4":1,"33":2,"34":2,"98":3,"209":4,"216":4,"223":4,"228":1,"229":2,"230":14,"233":2,"237":4,"242":1,"243":2,"244":11,"247":2,"265":6,"266":9}}],["例如要在多个模块之间进行操作",{"2":{"298":1}}],["例如同样提供了",{"2":{"297":1}}],["例如新建一个",{"2":{"255":1}}],["例如下面的例子",{"2":{"250":1}}],["例如搭配",{"2":{"177":1}}],["例如什么状态下是请求成功",{"2":{"162":1}}],["例如将增加上报信息",{"2":{"129":1}}],["例如开发环境用于本地开发使用",{"2":{"121":1}}],["例如在项目中导入了一些第三方的插件代码或组件代码",{"2":{"113":1,"114":1}}],["例如就叫",{"2":{"78":1}}],["例如请求的时候会自动带上",{"2":{"75":1}}],["例如接口响应报错",{"2":{"75":1}}],["例如项目的真实接口请求地址为",{"2":{"73":1}}],["例如",{"2":{"21":1,"33":1,"78":1,"115":1,"118":2,"146":1,"188":1,"259":1,"273":2,"283":1}}],["mini",{"2":{"265":1,"266":2}}],["mixin",{"2":{"138":1}}],["mitt",{"2":{"69":1}}],["matchmedia",{"2":{"216":2,"237":2}}],["matching",{"2":{"205":1}}],["main",{"2":{"98":1,"265":14,"266":21}}],["max",{"2":{"21":1,"31":1}}],["merge",{"2":{"237":4}}],["messages",{"2":{"145":1,"209":1,"216":1,"223":1,"230":1,"237":1,"244":1}}],["message",{"2":{"118":1}}],["menulist",{"2":{"179":1}}],["menus",{"2":{"165":2,"166":2,"167":2,"185":2}}],["menufillstyle",{"2":{"98":1}}],["menuactivestyle",{"2":{"88":1,"271":1}}],["menumode",{"2":{"88":2,"154":1,"155":1,"156":1,"157":1,"158":1}}],["menu",{"2":{"88":6,"96":1,"98":1,"122":1,"146":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"163":2,"165":1,"166":1,"167":1,"168":2,"179":1,"185":3,"195":1,"265":30,"266":45,"271":1,"272":1}}],["method",{"2":{"80":1}}],["meta",{"2":{"78":3,"250":1}}],["module",{"0":{"192":1},"2":{"184":1,"185":1,"187":1,"192":1,"209":1,"216":1,"223":1,"237":1,"244":1}}],["modules",{"2":{"76":1,"131":1,"162":2,"163":1,"179":1,"180":1,"185":2,"190":1,"195":1,"196":1,"209":2,"216":2,"223":2,"230":2,"237":4,"244":1,"253":2,"255":2,"289":2}}],["mode",{"2":{"77":2,"78":4,"88":2,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"237":4,"273":1}}],["model",{"2":{"25":1,"29":1,"31":1,"43":1}}],["mockjs",{"2":{"79":1,"80":1}}],["mock",{"0":{"79":1,"80":1,"81":1,"191":1},"1":{"80":1,"81":1},"2":{"4":1,"79":2,"80":12,"81":8,"91":1,"95":2,"96":2,"108":1,"121":4,"179":2,"180":1,"184":1,"185":3,"187":2,"191":3}}],["mobile",{"2":{"0":4,"186":1}}],["i",{"2":{"259":7}}],["icônes",{"2":{"258":1}}],["iconify",{"0":{"258":1,"260":1},"1":{"259":1,"260":1,"261":1},"2":{"55":1,"98":3,"175":1,"258":4,"259":3,"260":2,"261":3}}],["icons",{"2":{"33":1,"257":2,"261":1,"262":1}}],["icon>",{"2":{"33":3,"118":3}}],["icon=",{"2":{"33":1,"118":1,"260":1}}],["iconpicker",{"0":{"24":1},"1":{"25":1},"2":{"94":1,"209":1,"216":1,"223":1,"237":1,"244":1}}],["icon",{"0":{"175":1},"2":{"19":1,"33":3,"95":2,"118":3,"168":2,"175":1,"185":1,"223":6,"260":3}}],["ixmessageprovider>",{"2":{"223":4}}],["ixthemeprovider>",{"2":{"223":2}}],["ixthemeprovider",{"2":{"223":2}}],["if",{"2":{"216":2,"237":2}}],["ignoremissing",{"2":{"198":1}}],["ignores",{"2":{"113":1}}],["io",{"2":{"127":1,"167":1}}],["id",{"2":{"186":1}}],["ide",{"0":{"112":1},"2":{"111":1,"115":1}}],["iduxcomponents",{"2":{"223":4}}],["iduxcdk",{"2":{"223":4}}],["idux",{"0":{"221":1},"1":{"222":1,"223":1,"224":1,"225":1,"226":1,"227":1},"2":{"33":1,"98":1,"221":1,"222":3,"223":16,"226":2}}],["issue",{"2":{"198":1,"301":3}}],["islogin",{"2":{"162":1}}],["isrounded",{"2":{"98":1,"272":1}}],["ismaximize",{"2":{"67":1}}],["i18n",{"0":{"173":1},"2":{"91":2,"107":1,"142":1,"143":1,"146":1,"148":2,"170":1,"279":1,"282":1}}],["i18nselector",{"0":{"22":1},"1":{"23":1}}],["immediate",{"2":{"216":2,"237":2}}],["import",{"2":{"78":4,"80":1,"98":4,"135":2,"145":3,"209":13,"216":11,"223":15,"230":7,"237":13,"244":9,"250":1,"260":1,"285":3,"289":1}}],["image",{"2":{"205":1}}],["images",{"2":{"98":1,"137":1}}],["imagesupload",{"0":{"30":1},"1":{"31":1},"2":{"209":2,"216":2,"223":2,"230":1,"237":2,"244":2}}],["imageupload",{"0":{"28":1},"1":{"29":1},"2":{"209":2,"216":2,"223":2,"230":1,"237":2,"244":2}}],["imagepreview",{"0":{"26":1},"1":{"27":1},"2":{"209":2,"216":2,"223":2,"230":1,"237":2,"244":2}}],["include",{"2":{"237":2}}],["indent",{"2":{"205":1}}],["index2",{"2":{"78":3}}],["index",{"2":{"62":2,"75":1,"78":1,"98":2,"140":1,"145":1,"162":1,"163":1,"168":1,"185":3,"186":3,"200":1,"209":6,"216":6,"223":8,"230":6,"237":8,"244":10,"249":1,"250":1,"264":1,"278":2,"299":1}}],["in",{"2":{"145":1}}],["init",{"2":{"115":1}}],["interceptors",{"2":{"75":2}}],["install",{"2":{"33":1,"115":2,"208":1,"209":4,"215":1,"216":4,"222":1,"223":4,"229":1,"230":4,"236":1,"237":4,"243":1,"244":6,"253":1}}],["info",{"2":{"16":1,"73":1,"142":1,"187":1}}],["底行提示文字",{"2":{"19":1}}],["数字标记",{"2":{"19":1}}],["数据冲突的方式就是增加前缀区分",{"2":{"254":1}}],["数据冲突",{"2":{"254":1}}],["数据会共享",{"2":{"254":1}}],["数据会直接以",{"2":{"131":1,"196":1}}],["数据修复",{"2":{"95":2}}],["数据编写规则请阅读",{"2":{"79":1}}],["数据是前端开发过程中必不可少的一环",{"2":{"79":1}}],["数据存放的命名空间",{"2":{"51":1}}],["数据",{"0":{"254":1},"2":{"4":1,"179":1,"185":1,"191":1}}],["npx",{"2":{"253":1}}],["npmmirror",{"2":{"253":2}}],["npm",{"2":{"253":2,"283":2}}],["nrm",{"2":{"253":1}}],["nglobalstyle",{"2":{"230":2}}],["nginx",{"2":{"85":1}}],["nmessageprovider>",{"2":{"230":4}}],["nconfigprovider>",{"2":{"230":2}}],["nconfigprovider",{"2":{"230":2}}],["next",{"2":{"236":1,"237":10}}],["nexttick",{"2":{"216":2,"237":2}}],["newthemename",{"2":{"266":3}}],["newpassword",{"2":{"147":1}}],["new",{"2":{"78":3,"140":1,"187":1,"255":1}}],["news",{"2":{"73":2,"74":2,"77":4,"80":5}}],["nologinexample",{"2":{"250":1}}],["nologinwhitelist",{"2":{"250":2}}],["node",{"2":{"205":2,"237":2,"253":2}}],["no",{"2":{"181":3,"250":4}}],["notification",{"2":{"278":2,"282":1}}],["notitle",{"0":{"174":1}}],["notip",{"2":{"21":1,"29":1,"31":1}}],["nbsp",{"2":{"88":22,"89":2,"90":16,"91":8,"94":2,"95":32,"96":12,"97":4,"98":22,"102":4,"103":36,"106":12,"107":8,"108":8,"109":4}}],["navsearch",{"2":{"277":1,"282":1}}],["naive",{"0":{"228":1},"1":{"229":1,"230":1,"231":1,"232":1,"233":1,"234":1},"2":{"33":1,"98":1,"228":1,"229":2,"230":10,"233":2}}],["name=",{"2":{"33":1,"118":1,"257":1,"259":3,"260":1}}],["name",{"0":{"286":1},"2":{"8":1,"11":1,"14":1,"19":1,"21":2,"23":1,"29":1,"31":1,"38":1,"41":1,"43":1,"46":1,"51":1,"52":1,"55":1,"186":1,"188":1,"250":1,"257":1,"259":3,"286":4}}],["number",{"2":{"19":1,"21":2,"29":3,"31":4,"49":3,"55":2,"172":1,"177":3}}],["num",{"2":{"19":1}}],["has",{"2":{"254":3}}],["hash",{"2":{"200":1}}],["highlight",{"2":{"205":2}}],["hooks",{"0":{"115":1},"1":{"116":1},"2":{"115":4,"116":6}}],["hooray",{"2":{"88":11,"89":1,"90":8,"91":4,"94":1,"95":16,"96":6,"97":2,"98":11,"102":2,"103":18,"106":6,"107":4,"108":4,"109":2}}],["horizontal",{"2":{"55":1}}],["hover",{"2":{"49":3,"265":12,"266":18}}],["hex2rgba",{"2":{"265":5,"266":8}}],["head",{"2":{"88":1,"154":1,"158":1,"160":1}}],["headers",{"2":{"21":1,"29":1,"31":1}}],["header",{"2":{"19":1,"188":1,"265":14,"266":21}}],["height",{"2":{"27":1,"29":1,"31":1,"40":1,"49":1,"230":2}}],["https",{"2":{"83":1,"127":1,"167":1,"203":4,"253":1}}],["http",{"2":{"21":1,"73":4,"77":3,"78":1,"167":1,"253":1}}],["html5",{"2":{"200":2}}],["html",{"2":{"8":2,"11":1,"14":1,"23":1,"38":2,"41":2,"46":1,"52":1,"103":2,"259":1}}],["终止颜色",{"2":{"19":1}}],["tconfigprovider>",{"2":{"237":2}}],["tconfigprovider",{"2":{"237":2}}],["tw",{"2":{"145":2,"209":2,"216":2,"223":1,"230":1,"237":2,"244":1}}],["ttf",{"2":{"133":1,"134":3}}],["themes",{"2":{"264":1}}],["theme=",{"2":{"209":2,"223":2,"230":2,"273":1}}],["theme",{"2":{"98":5,"195":2,"209":4,"216":4,"237":4}}],["then",{"2":{"74":2,"80":2}}],["turbo",{"2":{"95":2}}],["tag",{"2":{"205":1}}],["tar",{"2":{"121":2}}],["target",{"2":{"77":1,"78":2}}],["take",{"2":{"53":1}}],["tsx",{"2":{"237":2}}],["tsconfig",{"2":{"209":2,"216":2,"223":2,"230":2,"237":2,"244":2}}],["tsconst",{"2":{"78":1,"98":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"131":1,"144":2,"150":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"165":1,"166":1,"167":1,"168":1,"179":1,"180":1,"186":1,"194":1,"196":1,"252":1,"254":1,"255":1,"266":1,"267":1,"268":1,"269":1,"271":1,"272":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"288":1}}],["tscosnt",{"2":{"185":1}}],["tsbadge",{"2":{"177":1}}],["tstitle",{"2":{"146":1}}],["tsserver",{"2":{"77":1,"78":1}}],["ts",{"2":{"75":1,"77":2,"78":5,"83":1,"98":2,"110":2,"122":5,"129":2,"131":1,"145":1,"162":3,"163":2,"168":1,"179":2,"180":1,"185":2,"186":1,"195":2,"196":1,"200":1,"209":5,"216":5,"223":5,"230":5,"237":11,"244":5,"249":1,"250":2,"254":1,"255":1,"264":1,"285":1,"286":3,"289":3}}],["tsimport",{"2":{"59":1,"60":1,"62":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"74":1,"77":1,"78":2,"80":2,"145":1,"183":1,"185":1,"186":1,"209":2,"216":2,"223":2,"230":2,"237":2,"244":2,"254":1,"255":1,"265":1,"266":2}}],["text",{"2":{"265":2,"266":3,"273":2,"289":1}}],["testwindow",{"2":{"185":7}}],["test",{"2":{"73":4,"83":2,"84":1,"121":1,"180":1,"185":4}}],["templates",{"2":{"187":1,"209":1,"216":1,"223":1,"237":1,"244":1}}],["template>",{"2":{"33":1,"118":1,"181":3,"209":4,"216":4,"223":4,"230":4,"237":4,"244":4,"260":2}}],["template",{"2":{"33":2,"118":2,"181":4,"182":1}}],["trend",{"0":{"56":1},"1":{"57":1}}],["true",{"2":{"40":1,"45":2,"67":1,"77":2,"78":3,"86":1,"115":1,"116":2,"121":3,"122":5,"124":1,"129":1,"144":1,"180":1,"183":3,"186":1,"194":1,"216":2,"237":2,"268":1,"269":1,"272":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"288":1}}],["timeout",{"2":{"78":1}}],["title",{"0":{"170":1},"2":{"37":1,"40":1,"41":1,"51":1,"64":1,"74":1,"80":2,"121":4,"146":1,"165":1,"166":2,"167":1,"168":2,"185":2,"188":1,"250":1}}],["tip",{"2":{"19":1,"79":1,"83":1,"113":1,"114":1,"118":1,"255":1,"284":1}}],["tdesign",{"0":{"235":1},"1":{"236":1,"237":1,"238":1,"239":1,"240":1,"241":1},"2":{"33":1,"98":1,"235":1,"236":2,"237":14,"240":2}}],["tools",{"2":{"278":1}}],["tool",{"2":{"121":4}}],["toolbar",{"2":{"96":3,"122":1,"144":1,"150":1,"265":2,"266":3,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1}}],["tooltip",{"2":{"49":2,"95":2}}],["token等数据",{"2":{"129":1}}],["token",{"2":{"75":1}}],["togglemaximize",{"2":{"66":1}}],["toggle",{"2":{"45":1,"46":1,"47":1}}],["to",{"2":{"19":1}}],["types",{"2":{"122":1,"209":2,"216":2,"223":2,"230":2,"237":2,"244":2}}],["typescript",{"2":{"109":2}}],["type",{"2":{"16":1,"43":1,"57":1,"209":2,"216":2,"223":2,"230":2,"237":2,"244":2}}],["开始",{"0":{"253":1},"2":{"170":1,"186":1,"286":1}}],["开始颜色",{"2":{"19":1}}],["开启",{"0":{"194":1},"2":{"200":1}}],["开启抽屉模式",{"2":{"186":1}}],["开启后端生成后",{"2":{"179":1}}],["开启后在",{"2":{"179":1}}],["开启后用户可将常用的导航菜单添加进收藏夹",{"2":{"130":1}}],["开启代理后",{"2":{"77":1}}],["开启代理",{"2":{"77":1}}],["开头即可",{"2":{"78":1}}],["开关",{"2":{"33":1,"118":1}}],["开发人员只需关注模块内的业务实现即可",{"2":{"298":1}}],["开发人员得通过修改源码自行实现业务",{"2":{"6":1}}],["开发注意",{"0":{"273":1}}],["开发",{"0":{"284":1},"1":{"285":1,"286":1},"2":{"209":1,"216":1,"223":1,"237":1,"244":1}}],["开发过程中",{"2":{"187":1}}],["开发者在二次开发上会有明显的局限",{"2":{"283":1}}],["开发者会根据自身需求去修改",{"2":{"283":1}}],["开发者通常在简单熟悉本框架后",{"2":{"162":1}}],["开发者通常希望能在本地先预览一下",{"2":{"84":1}}],["开发者需要根据实际业务情况修改代码",{"2":{"129":1}}],["开发者请在",{"2":{"122":1}}],["开发者可根据实际业务需求进行扩展",{"2":{"121":1}}],["开发环境与生产环境使用",{"2":{"81":1}}],["开发环境",{"0":{"80":1,"205":1},"2":{"111":1,"121":1}}],["开发环境的跨域问题可在本地设置代理解决",{"2":{"77":1}}],["开发与构建工具",{"2":{"4":1}}],["开发完毕后需要将完整源码一起交付给客户",{"2":{"2":1}}],["开发团队有多名开发者",{"2":{"2":1}}],["fff",{"2":{"265":8,"266":20,"273":1}}],["fullscreen",{"2":{"280":1,"282":1}}],["full",{"2":{"223":2}}],["function",{"2":{"138":1,"145":1,"209":2,"216":4,"223":2,"230":2,"237":4,"244":2}}],["f0826",{"2":{"103":1}}],["f2f2f2",{"2":{"265":3,"266":5}}],["f20ca",{"2":{"103":1}}],["f2ef8",{"2":{"88":1}}],["f9c4e",{"2":{"103":1}}],["f644e",{"2":{"95":1}}],["fd2f6",{"2":{"95":1}}],["fcfcfc",{"2":{"265":1,"266":2}}],["fc082",{"2":{"90":1}}],["fce08",{"2":{"88":1}}],["f49b6",{"2":{"90":1}}],["firefox",{"2":{"205":1}}],["fixed",{"2":{"299":1}}],["fixes",{"2":{"88":2,"89":1,"90":2,"91":1,"94":1,"95":2,"97":2,"98":1,"103":2,"106":1,"107":2,"108":2}}],["fix",{"2":{"87":1}}],["fill",{"2":{"49":1}}],["files",{"2":{"21":1}}],["file",{"2":{"21":1,"29":1,"31":1}}],["fileupload",{"0":{"20":1},"1":{"21":1},"2":{"209":2,"216":2,"223":2,"230":1,"237":2,"244":2}}],["feature",{"2":{"148":1}}],["features",{"2":{"88":2,"90":2,"91":1,"95":2,"96":1,"98":2,"102":1,"103":2,"107":1}}],["feat",{"2":{"87":1}}],["flip",{"2":{"55":1}}],["fonts",{"2":{"135":3}}],["font",{"2":{"134":1,"135":3}}],["formmodeprops",{"2":{"186":1}}],["formmode",{"2":{"185":1,"186":3}}],["format",{"2":{"43":1}}],["for",{"2":{"145":1,"205":2}}],["forward",{"2":{"98":2}}],["fold",{"2":{"45":1,"46":1}}],["from",{"2":{"19":1,"59":1,"60":1,"62":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"74":1,"77":1,"78":3,"80":3,"98":1,"145":4,"183":1,"185":1,"186":1,"209":13,"216":11,"223":15,"230":9,"237":13,"244":7,"254":1,"255":1,"260":1,"265":1,"266":2,"285":1,"289":1,"291":1}}],["family",{"2":{"135":3}}],["favoritesedit",{"2":{"131":1}}],["favorites",{"2":{"131":3,"276":1,"282":1}}],["fake",{"2":{"79":1,"80":1,"96":2}}],["false",{"2":{"16":1,"21":1,"29":1,"31":1,"40":1,"43":1,"45":1,"49":1,"57":1,"67":1,"81":1,"98":1,"121":8,"150":1,"174":1,"177":1,"183":3,"186":3}}],["fantastic",{"0":{"297":1,"298":1},"2":{"0":8,"297":1,"298":1}}],["回调参数",{"2":{"17":1,"47":1,"53":1}}],["beyond",{"2":{"283":1}}],["beian",{"2":{"128":1}}],["bg",{"2":{"265":26,"266":39,"273":2}}],["b",{"2":{"203":2}}],["b1f8f",{"2":{"103":1}}],["bdfa4",{"2":{"96":1}}],["by",{"2":{"88":11,"89":1,"90":8,"91":4,"94":1,"95":16,"96":6,"97":2,"98":11,"102":2,"103":18,"106":6,"107":4,"108":4,"109":2}}],["break",{"2":{"145":4,"216":4,"237":4}}],["breaking",{"2":{"88":2,"90":1,"95":1,"96":2,"98":2,"103":2,"106":2,"109":2}}],["brotli",{"2":{"85":4,"121":3}}],["br",{"2":{"85":1}}],["basic",{"2":{"203":4}}],["baseon",{"2":{"179":1,"195":1}}],["base",{"2":{"83":1,"98":1}}],["baseurl",{"0":{"73":1},"2":{"73":3,"77":2,"78":12,"80":2,"81":1,"103":4,"121":7}}],["batch",{"2":{"186":1}}],["batchactionbar",{"2":{"103":2}}],["backend",{"2":{"179":1}}],["background",{"2":{"45":1,"273":1}}],["ba111",{"2":{"102":1}}],["bafaa",{"2":{"90":1}}],["badge",{"0":{"177":1},"2":{"89":1}}],["baidu",{"2":{"78":1}}],["box",{"2":{"273":1}}],["border",{"2":{"265":2,"266":3,"273":1}}],["body",{"2":{"80":1,"216":4}}],["both",{"2":{"43":1,"55":1}}],["boolean",{"2":{"16":1,"21":1,"29":1,"31":1,"40":1,"43":1,"45":3,"49":1,"57":1,"174":1,"177":2}}],["build",{"2":{"81":1,"83":2,"85":4,"86":1,"121":8}}],["button>",{"2":{"33":3,"118":3,"182":3}}],["button",{"2":{"33":2,"118":2,"182":3}}],["bug",{"2":{"4":1,"6":1,"88":2,"89":1,"90":2,"91":1,"94":1,"95":2,"97":2,"98":1,"103":2,"106":1,"107":2,"108":2,"205":1,"283":1}}],["bmp",{"2":{"29":1,"31":1}}],["纸片",{"0":{"15":1},"1":{"16":1,"17":1}}],["currentcolorscheme",{"2":{"209":2,"216":2,"223":2,"230":2,"237":2}}],["curd",{"2":{"184":1,"191":1}}],["cursor",{"2":{"49":1}}],["cn",{"2":{"145":2,"147":1,"150":1,"209":3,"216":3,"223":1,"230":1,"237":3,"244":1}}],["cdk",{"2":{"222":1,"223":2}}],["cd",{"2":{"115":1}}],["cdn",{"2":{"21":1}}],["captcha",{"2":{"147":1}}],["case",{"2":{"145":5,"216":4,"237":4}}],["ca569",{"2":{"103":1}}],["cab92",{"2":{"88":1}}],["ceffd",{"2":{"103":1}}],["css",{"2":{"98":5,"135":4,"161":1,"209":2,"216":2,"223":2,"237":2,"244":8,"259":2}}],["cbb68",{"2":{"98":1}}],["cc87f",{"2":{"96":1}}],["c2915",{"2":{"96":1}}],["c7bcb",{"2":{"95":1}}],["ctitle",{"2":{"80":1}}],["clear",{"2":{"254":3}}],["clone",{"2":{"203":4}}],["close",{"2":{"17":1}}],["closable",{"2":{"16":1}}],["class=",{"2":{"259":2}}],["class",{"2":{"98":2,"259":1}}],["client",{"2":{"80":1}}],["chrome",{"2":{"205":3}}],["chinese",{"2":{"205":1}}],["children",{"2":{"166":1,"168":3,"185":1}}],["chip",{"0":{"15":1},"1":{"16":1,"17":1}}],["check",{"2":{"147":1}}],["chalk",{"2":{"98":5}}],["change",{"2":{"216":4,"237":4}}],["changes",{"2":{"88":2,"90":1,"95":1,"96":2,"98":2,"103":2,"106":2,"109":2}}],["changeorigin",{"2":{"77":1,"78":2}}],["cwd",{"2":{"77":2,"78":4}}],["createglobalconfig",{"2":{"223":2}}],["create",{"2":{"73":1,"74":1,"78":1,"80":2,"181":3,"182":3,"183":3}}],["crm",{"2":{"6":1}}],["count",{"2":{"285":2}}],["copyright",{"2":{"97":2,"124":1,"125":1,"126":1,"127":1,"128":1}}],["console",{"2":{"95":2}}],["const",{"2":{"60":1,"118":1,"122":1,"145":2,"183":1,"185":1,"186":1,"195":1,"209":3,"216":5,"223":4,"230":3,"237":5,"244":2,"250":2,"255":2,"265":2,"285":2,"289":1}}],["config=",{"2":{"237":2}}],["config",{"2":{"77":2,"78":2,"83":1,"98":2,"113":4,"223":2,"253":1}}],["content",{"2":{"37":1,"38":1,"74":1,"80":1}}],["code",{"2":{"43":2,"111":1,"122":1,"205":5}}],["collaspe",{"2":{"40":2}}],["colorscheme",{"2":{"195":2,"216":6,"237":6,"267":1,"281":1,"282":1}}],["color",{"2":{"19":2,"49":4,"55":1,"98":1,"205":1,"216":2,"237":2,"265":26,"266":39,"273":5}}],["colorfulcard",{"0":{"18":1},"1":{"19":1}}],["commit",{"2":{"115":1,"116":3}}],["common",{"2":{"98":1}}],["command",{"2":{"77":1,"78":2}}],["computed",{"2":{"285":2}}],["compare",{"2":{"283":1}}],["company",{"2":{"126":1}}],["compileroptions",{"2":{"209":2,"216":2,"223":2,"230":2,"237":2,"244":2}}],["compress",{"2":{"85":4,"121":2}}],["composition",{"0":{"284":1},"1":{"285":1,"286":1},"2":{"284":3,"285":2}}],["composables",{"2":{"60":1,"62":1,"64":1,"65":1,"66":1,"67":1,"68":1,"183":1,"186":2}}],["componentname",{"2":{"286":2}}],["component",{"0":{"189":1},"2":{"187":1,"189":1,"250":1}}],["components",{"2":{"35":1,"117":1,"140":2,"141":1,"185":2,"186":2,"189":1,"209":2,"216":2,"222":1,"223":12,"230":1,"237":2,"244":2,"278":1}}],["com",{"2":{"21":1,"73":4,"78":1,"83":1,"203":4,"253":1}}],["全新提供的一种语法",{"2":{"284":1}}],["全新的",{"2":{"255":1}}],["全新的主题配色方案",{"2":{"98":1}}],["全局状态管理",{"0":{"255":1}}],["全局状态文件存放在",{"2":{"255":1}}],["全局状态文件",{"2":{"187":1}}],["全局",{"2":{"138":1}}],["全局资源",{"0":{"136":1},"1":{"137":1,"138":1,"139":1,"140":1,"141":1}}],["全局配置",{"2":{"98":1}}],["全局搜索支持拼音",{"2":{"98":1}}],["全部匹配则鉴权通过",{"2":{"10":1}}],["全方位权限验证",{"2":{"4":1}}],["时隐藏",{"2":{"177":2}}],["时是否显示文字提示",{"2":{"49":1}}],["时辅助点颜色",{"2":{"49":1}}],["时辅助线颜色",{"2":{"49":1}}],["时生效",{"2":{"40":1}}],["时",{"2":{"10":1,"13":1}}],["position",{"2":{"299":1}}],["postcss",{"2":{"198":1}}],["postinstall",{"2":{"115":1,"116":3}}],["post",{"2":{"59":1,"74":3,"77":1,"80":2}}],["personalnotification",{"2":{"278":1}}],["peerdependencyrules",{"2":{"198":1}}],["p>你没有该权限",{"2":{"181":3}}],["p>你有该权限",{"2":{"181":3}}],["p>",{"2":{"181":6}}],["px",{"2":{"172":1}}],["pinia",{"2":{"106":2,"177":1,"187":1,"206":1,"255":6,"285":1}}],["pack",{"2":{"205":1}}],["package",{"2":{"115":2,"116":1,"198":1,"253":1}}],["pagination",{"2":{"186":2}}],["pagesexample",{"2":{"185":1}}],["pages",{"2":{"185":1}}],["page",{"0":{"188":1},"2":{"74":1,"80":1,"98":1,"187":1,"188":2}}],["pagemain",{"0":{"39":1},"1":{"40":1,"41":1}}],["pageheader",{"0":{"36":1},"1":{"37":1,"38":1}}],["password",{"2":{"147":1}}],["panel",{"2":{"88":2,"159":1,"160":1}}],["path",{"2":{"77":2,"78":4,"250":1}}],["params",{"0":{"178":1},"2":{"74":1,"80":1}}],["pcas",{"2":{"43":2}}],["pcascascader",{"0":{"42":1},"1":{"43":1},"2":{"209":2,"216":2,"223":2,"230":1,"237":2,"244":2}}],["pca",{"2":{"43":3}}],["pc",{"2":{"43":2}}],["pnpm",{"2":{"33":1,"83":2,"84":2,"113":1,"114":1,"115":3,"116":2,"140":1,"187":1,"198":1,"205":1,"208":2,"211":1,"215":2,"218":1,"222":2,"225":1,"229":2,"232":1,"236":2,"239":1,"243":2,"246":1,"253":6,"255":1,"261":1,"262":1}}],["png",{"2":{"29":1,"31":1}}],["plopfile",{"2":{"187":1}}],["plop",{"2":{"187":3,"209":1,"216":1,"223":1,"237":1,"244":1}}],["plugin",{"2":{"79":1,"80":1,"96":4,"103":2}}],["plus",{"2":{"4":1,"6":1,"33":8,"35":1,"98":21,"117":2,"118":5,"145":8,"207":2,"209":5,"210":1,"211":2,"212":1,"214":2,"216":5,"217":1,"218":2,"219":1,"221":2,"223":5,"224":1,"225":2,"226":1,"228":2,"230":3,"231":1,"232":2,"233":1,"235":2,"237":5,"238":1,"239":2,"240":1,"242":2,"244":5,"245":1,"246":2,"247":1}}],["placeholder",{"2":{"29":1,"31":1}}],["preinstall",{"2":{"253":1}}],["preset",{"2":{"223":2,"265":1,"266":2}}],["preserveunused",{"2":{"115":1,"116":2}}],["previewwindows",{"2":{"275":1,"282":1}}],["preview",{"2":{"205":1}}],["prefers",{"2":{"216":2,"237":2}}],["preferscolorscheme",{"2":{"216":6,"237":6}}],["preferencesedit",{"2":{"196":1}}],["preferences",{"2":{"195":1,"196":1}}],["prefix",{"2":{"57":1,"244":2}}],["prepare",{"2":{"116":2}}],["pre",{"2":{"115":1,"116":3}}],["profile",{"2":{"147":1}}],["production",{"2":{"121":1}}],["project",{"2":{"115":2}}],["provider",{"2":{"98":1,"209":4,"216":4,"223":4,"230":4,"237":4,"244":4}}],["process",{"2":{"77":2,"78":4}}],["proxy2",{"2":{"78":4}}],["proxy",{"2":{"77":10,"78":9,"118":2,"121":1}}],["props",{"0":{"10":1,"13":1,"16":1,"19":1,"21":1,"25":1,"27":1,"29":1,"31":1,"37":1,"40":1,"43":1,"45":1,"49":1,"51":1,"55":1,"57":1}}],["primary",{"2":{"16":1,"98":1,"265":2,"266":3}}],["鉴权指令",{"0":{"182":1},"2":{"182":1}}],["鉴权组件和鉴权指令控制的是页面上的元素",{"2":{"183":1}}],["鉴权组件",{"0":{"181":1}}],["鉴权函数",{"0":{"183":1},"2":{"60":1}}],["鉴权",{"0":{"9":1,"12":1,"60":1},"1":{"10":1,"11":1,"13":1,"14":1}}],["操作区域的",{"2":{"8":1}}],["说明你使用的版本不支持或者配置参数有变动",{"2":{"122":1}}],["说明",{"2":{"8":1,"10":1,"11":1,"13":1,"14":1,"16":1,"17":1,"19":1,"21":1,"23":1,"25":1,"27":1,"29":1,"31":1,"33":1,"37":1,"38":1,"40":1,"41":1,"43":1,"45":1,"46":1,"47":1,"49":1,"51":1,"52":1,"53":1,"55":1,"57":1,"138":1,"140":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"203":1,"259":1,"260":1,"261":1}}],["something",{"2":{"255":3}}],["sourcemap",{"2":{"86":2,"121":4}}],["shadow",{"2":{"273":1}}],["sh",{"2":{"203":2,"208":1,"211":1,"215":1,"218":1,"222":1,"225":1,"229":1,"232":1,"236":1,"239":1,"243":1,"246":1,"253":1}}],["shop",{"2":{"73":1}}],["show",{"2":{"45":1}}],["switch",{"2":{"145":1,"216":2,"237":2}}],["switchto",{"2":{"62":1}}],["squirrel",{"2":{"134":1}}],["scheme",{"2":{"216":2,"237":2,"265":2,"266":3}}],["script>",{"2":{"209":2,"216":2,"223":2,"230":2,"237":2,"244":2,"260":1,"285":1,"286":3,"289":1}}],["script",{"2":{"209":2,"216":2,"223":2,"230":2,"237":2,"244":2,"260":1,"285":3,"286":6,"289":1}}],["scripts",{"2":{"116":4}}],["scssdiv",{"2":{"273":1}}],["scss",{"2":{"98":12,"135":1,"138":4,"161":1}}],["simplified",{"2":{"205":1}}],["simple",{"0":{"115":1},"1":{"116":1},"2":{"115":4,"116":5}}],["single",{"2":{"156":1}}],["sidebar",{"2":{"168":1,"265":28,"266":42}}],["side",{"2":{"88":1,"155":1,"157":1,"159":1}}],["size",{"2":{"21":1,"25":1,"29":1,"31":1,"55":1,"74":1,"80":1}}],["session",{"2":{"254":5}}],["sessionstorage",{"2":{"129":1,"254":2,"261":1}}],["selectiondatalist",{"2":{"186":1}}],["sex",{"2":{"186":1}}],["searchmore",{"2":{"186":1}}],["search",{"2":{"186":1,"259":3}}],["searchbar",{"0":{"44":1},"1":{"45":1,"46":1,"47":1}}],["sendcaptcha",{"2":{"147":1}}],["setitem",{"2":{"254":1}}],["set",{"2":{"253":1,"254":2}}],["setlocale",{"2":{"223":2}}],["setattribute",{"2":{"216":2,"237":2}}],["setting",{"2":{"121":5}}],["settingstype",{"2":{"289":1}}],["settingsstore",{"2":{"209":5,"216":7,"223":7,"230":6,"237":7,"244":2}}],["settingsdefault",{"2":{"195":2}}],["settings",{"2":{"98":1,"122":4,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"131":1,"144":2,"150":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"179":1,"180":1,"194":1,"195":1,"196":1,"209":2,"216":4,"223":2,"230":2,"237":4,"244":1,"252":1,"254":1,"266":1,"267":1,"268":1,"269":1,"271":1,"272":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"288":1}}],["setup>",{"2":{"260":1}}],["setup",{"2":{"106":2,"209":2,"216":2,"223":2,"230":2,"237":2,"244":2,"285":3,"286":4,"289":1}}],["server",{"2":{"79":1,"80":1,"96":2,"131":1,"196":1}}],["serve",{"2":{"77":1,"78":2,"84":2}}],["sub",{"2":{"265":16,"266":24}}],["submenuautocollapse",{"2":{"96":1}}],["suffix",{"2":{"57":1}}],["success",{"2":{"16":1,"118":2}}],["sprites",{"2":{"98":1}}],["spot",{"2":{"49":1}}],["sparkline",{"0":{"48":1},"1":{"49":1}}],["svg图标",{"0":{"54":1},"1":{"55":1}}],["svg",{"2":{"33":1,"55":1,"118":1,"175":2,"257":5,"261":1}}],["svgicon",{"0":{"54":1},"1":{"55":1},"2":{"19":1,"95":1,"140":1,"257":2,"259":4,"260":2}}],["src",{"2":{"27":1,"34":1,"35":1,"75":1,"76":1,"78":3,"80":1,"98":9,"117":1,"122":4,"129":2,"131":1,"135":1,"137":1,"138":2,"140":1,"144":1,"145":3,"147":1,"148":1,"161":1,"162":3,"163":2,"168":1,"179":2,"180":1,"185":7,"186":2,"188":1,"189":2,"190":1,"191":1,"195":1,"196":1,"200":1,"209":7,"216":7,"223":7,"230":6,"237":17,"244":7,"249":1,"250":1,"255":1,"257":2,"278":2,"289":2,"299":1}}],["staged",{"0":{"115":1},"1":{"116":1},"2":{"115":3,"116":2}}],["status",{"2":{"80":1}}],["studio",{"2":{"111":1,"122":1,"205":4}}],["storageprefix",{"2":{"254":1}}],["storage",{"0":{"254":1},"2":{"254":17}}],["storageto",{"2":{"131":2,"196":2}}],["storagebox",{"0":{"50":1},"1":{"51":1,"52":1,"53":1},"2":{"103":1}}],["store",{"0":{"190":1},"2":{"106":2,"162":1,"187":1,"190":2,"195":1,"209":2,"216":2,"223":2,"230":2,"237":2,"244":1,"255":2,"289":2}}],["stylistic",{"2":{"103":2}}],["style=",{"2":{"230":2}}],["stylelintignore",{"2":{"114":1}}],["stylelintrc",{"2":{"114":2}}],["stylelint",{"0":{"114":1},"2":{"103":2,"114":2,"115":1,"205":1}}],["stylesheet",{"2":{"135":4}}],["styles",{"2":{"98":2,"138":2,"161":1}}],["style",{"2":{"88":1,"237":2,"271":1}}],["stroke",{"2":{"49":2}}],["string",{"2":{"10":1,"13":1,"16":1,"19":5,"21":2,"25":2,"27":3,"29":4,"31":3,"37":2,"40":2,"43":2,"49":4,"51":2,"55":4,"57":4,"145":1,"170":1,"171":1,"172":1,"173":1,"175":1,"176":1,"177":2,"209":1,"216":1,"223":1,"230":1,"237":1,"244":1}}],["step",{"0":{"5":1,"6":1},"2":{"0":6,"2":2,"3":1,"33":1,"115":2,"121":3,"126":1,"127":1,"151":1,"167":1,"202":1,"203":4,"283":2,"290":1,"291":1,"298":2}}],["slots",{"0":{"11":1,"14":1,"23":1,"38":1,"41":1,"46":1,"52":1}}],["slot",{"0":{"8":1},"2":{"10":1,"13":1,"209":2,"216":2,"223":2,"230":2,"237":2,"244":2}}],["持续产出可落地的特性或开发规范",{"2":{"6":1}}],["持续更新的业务应用静态页面",{"2":{"6":1}}],["在窗口打开的时候会动态加载组件",{"2":{"299":1}}],["在基于",{"2":{"283":1}}],["在页面中去自定义一些颜色",{"2":{"273":1}}],["在命令行执行",{"2":{"261":1}}],["在使用框架的过程中难免会遇到问题",{"2":{"301":1}}],["在使用",{"2":{"259":1}}],["在任意原生",{"2":{"259":1}}],["在代码中高亮颜色",{"2":{"205":1}}],["在框架源码基础上",{"2":{"203":1}}],["在扩展新的模式前",{"2":{"187":1}}],["在这基础上可以更方便的进行业务扩展",{"2":{"184":1}}],["在这里增加一个",{"2":{"145":1}}],["在演示源码中",{"2":{"180":1}}],["在实际开发中",{"2":{"180":1}}],["在打开非导航窗口时动态传入窗口所需要的参数",{"2":{"178":1}}],["在此之前",{"2":{"151":1}}],["在应用配置里开启",{"2":{"179":1}}],["在应用配置里进行设置",{"2":{"153":1}}],["在应用配置里设置后",{"2":{"144":1}}],["在应用配置中设置",{"2":{"124":1,"125":1,"126":1,"127":1,"128":1,"194":1,"252":1,"267":1,"268":1,"269":1,"271":1,"272":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"288":1}}],["在你本地的开发环境中报错或者无法生效",{"2":{"122":1}}],["在构建时开启压缩",{"2":{"121":2}}],["在构建时生成",{"2":{"121":2}}],["在提交代码时",{"2":{"115":1}}],["在多人协作开发时",{"2":{"115":1}}],["在保存代码时",{"2":{"111":1}}],["在环境配置文件里除了可以设置压缩选项",{"2":{"86":1}}],["在环境配置文件里设置",{"2":{"85":1}}],["在环境配置里设置",{"2":{"81":1}}],["在控制台内看不到接口请求日志",{"2":{"81":1}}],["在",{"2":{"75":1,"98":1,"147":1,"162":4,"168":1,"184":1,"205":1,"285":1,"286":1,"289":1,"298":1}}],["在根目录",{"2":{"73":1}}],["在确保稳定的基础上",{"2":{"6":1}}],["在未经我们许可下",{"2":{"3":1}}],["主体",{"2":{"265":2,"266":3}}],["主要是",{"2":{"199":1}}],["主要在修复",{"2":{"6":1}}],["主题名称",{"2":{"266":1}}],["主题配色存放在",{"2":{"264":1}}],["主题",{"0":{"263":1},"1":{"264":1,"265":1,"266":1,"267":1,"268":1,"269":1,"270":1,"271":1,"272":1,"273":1},"2":{"98":1}}],["主题风格",{"2":{"4":1}}],["主导航只需设置",{"2":{"168":1}}],["主导航会将我们配置好的导航模块进行归类",{"2":{"168":1}}],["主导航激活项被复原到第一个",{"2":{"106":1}}],["主导航",{"0":{"61":1,"168":1},"1":{"62":1},"2":{"265":2,"266":3}}],["区别在于基础版侧重于稳定性维护",{"2":{"6":1}}],["还不熟悉",{"2":{"255":1}}],["还需要准备好开发使用的浏览器",{"2":{"205":1}}],["还是生产环境都需要使用到",{"2":{"121":1}}],["还是付费的专业版",{"2":{"6":1}}],["还有一部分是封装了第三方插件",{"2":{"117":1}}],["还有一些则是封装了第三方的插件",{"2":{"35":1}}],["还可设置",{"2":{"86":1}}],["还省去了产品和设计人员的工作",{"2":{"6":1}}],["极大提升开发效率的同时",{"2":{"6":1}}],["沉淀出数十个业务应用的静态页面",{"2":{"6":1}}],["借助以往的项目经验",{"2":{"6":1}}],["框架更新",{"0":{"283":1}}],["框架保留了",{"2":{"260":1}}],["框架已经帮你做好的所有处理",{"2":{"260":1}}],["框架已经做好了所有配置",{"2":{"259":1}}],["框架已将可提供给用户配置的选项提取出来",{"2":{"195":1}}],["框架大部分核心模块里采用的是这种方式",{"2":{"259":1}}],["框架一共定义了两个路由地址",{"2":{"249":1}}],["框架源码",{"2":{"203":1}}],["框架源码里已提供相关配置文件",{"2":{"111":1}}],["框架默认提供了",{"2":{"187":1}}],["框架默认通过",{"2":{"180":1}}],["框架提供了一份解决方案",{"2":{"261":1}}],["框架提供了一个",{"2":{"254":1}}],["框架提供了三种使用图标的方式",{"2":{"256":1}}],["框架提供了",{"2":{"181":1}}],["框架提供一系列的组件方便快速开发",{"2":{"32":1,"117":1}}],["框架设置",{"0":{"147":1}}],["框架的语言包文件命名需要和",{"2":{"145":1}}],["框架会在你使用时自动引入",{"2":{"140":1}}],["框架用到的图片资源都放在",{"2":{"137":1}}],["框架预设了",{"2":{"132":1}}],["框架为方便演示",{"2":{"129":1}}],["框架配置",{"0":{"122":1}}],["框架严格按照",{"2":{"118":1}}],["框架下次更新将切换到",{"2":{"110":2}}],["框架主题",{"0":{"264":1},"1":{"265":1,"266":1},"2":{"98":1}}],["框架使用",{"2":{"71":1,"113":1}}],["框架内建了一些组件",{"2":{"34":1}}],["框架也提供了组件库替换移方案",{"2":{"33":1}}],["框架没有采用",{"2":{"33":1}}],["框架还扩充了部分业务组件",{"2":{"6":1}}],["框架版权信息",{"2":{"4":1}}],["丰富的组件库",{"2":{"6":1}}],["e5e5e5",{"2":{"265":9,"266":9}}],["e5cfa",{"2":{"88":1}}],["edge",{"2":{"205":1}}],["editorconfig",{"2":{"112":1,"205":1}}],["editor",{"2":{"103":2}}],["edit",{"2":{"33":2,"118":2,"181":2,"182":2,"183":2}}],["enuslocale",{"2":{"244":2}}],["enus",{"2":{"223":2,"230":2}}],["english",{"2":{"145":1}}],["en",{"2":{"145":2,"209":4,"216":4,"223":1,"230":1,"237":4,"244":1}}],["enablewatermark",{"2":{"288":1}}],["enablecoloramblyopiamode",{"2":{"269":1}}],["enablecolorscheme",{"2":{"122":1}}],["enablemournmode",{"2":{"268":1}}],["enablei18n",{"2":{"144":1,"150":1}}],["enableerrorlog",{"2":{"129":1}}],["enable",{"2":{"124":1,"186":1,"194":1,"195":1}}],["enablefullscreen",{"2":{"122":1}}],["enablehotkeys",{"2":{"122":1}}],["enablesubmenucollapsebutton",{"2":{"122":1}}],["enablepermission",{"2":{"122":1,"180":1}}],["env",{"2":{"73":1,"77":1,"78":4,"121":3,"162":1}}],["es",{"2":{"209":4,"216":4,"237":8}}],["esno",{"2":{"116":2}}],["eslint",{"0":{"113":1},"2":{"98":8,"113":6,"115":1,"205":1}}],["e6846",{"2":{"106":1}}],["e2aaf",{"2":{"96":1}}],["eruda",{"2":{"121":3}}],["error",{"2":{"80":1,"129":2}}],["erp等多个不同领域的中后台系统中",{"2":{"6":1}}],["examplestore",{"2":{"255":2}}],["example",{"2":{"83":1,"148":1,"165":1,"166":1,"203":2,"250":4,"255":3,"257":2}}],["export",{"2":{"80":1,"165":1,"166":1,"167":1,"185":1,"209":3,"216":3,"223":2,"230":3,"237":3,"244":3,"255":1,"265":2,"266":2,"286":1}}],["ext",{"2":{"21":1,"29":1,"31":1}}],["emit",{"2":{"69":1}}],["eventbus",{"2":{"69":5}}],["events",{"0":{"17":1,"47":1,"53":1}}],["ep",{"2":{"33":1,"118":1,"259":5,"260":2}}],["else",{"2":{"216":2,"237":2}}],["elmessage",{"2":{"118":1}}],["el",{"2":{"33":7,"118":7}}],["elementlocaleja",{"2":{"145":2}}],["elementlocaleen",{"2":{"145":2}}],["elementlocalezhtw",{"2":{"145":2}}],["elementlocalezhcn",{"2":{"145":2}}],["elementplus",{"2":{"98":1}}],["element",{"2":{"4":1,"6":1,"33":8,"35":1,"98":21,"117":2,"118":5,"145":8,"207":2,"209":5,"210":1,"211":2,"212":1,"214":2,"216":5,"217":1,"218":2,"219":1,"221":2,"223":5,"224":1,"225":2,"226":1,"228":2,"230":3,"231":1,"232":2,"233":1,"235":2,"237":5,"238":1,"239":2,"240":1,"242":2,"244":5,"245":1,"246":2,"247":1}}],["osa",{"2":{"254":1}}],["options",{"2":{"118":2,"284":2}}],["open",{"2":{"77":2,"78":3,"121":1}}],["overlay",{"2":{"98":1}}],["official",{"2":{"205":1}}],["off",{"2":{"69":1}}],["onsortchange",{"2":{"186":1}}],["onsizechange",{"2":{"186":1}}],["oncurrentchange",{"2":{"186":1}}],["only",{"2":{"157":1,"158":1,"253":1}}],["on",{"2":{"69":1}}],["one",{"0":{"5":1,"6":1},"2":{"0":6,"2":2,"3":1,"33":1,"115":2,"121":3,"126":1,"127":1,"151":1,"167":1,"202":1,"203":4,"283":2,"290":1,"291":1,"298":2}}],["out",{"2":{"53":1}}],["object",{"2":{"21":2,"29":2,"31":2,"51":1,"145":4,"178":1}}],["oa",{"2":{"6":1}}],["直到开发者修改完所有错误代码后",{"2":{"115":1}}],["直接点击安装即可",{"2":{"205":1}}],["直接使用了",{"2":{"135":1}}],["直接覆盖",{"2":{"78":1}}],["直接要求后端开发人员来进行开发工作",{"2":{"5":1}}],["直播",{"2":{"6":1}}],["哪怕它提供的演示功能特别华丽",{"2":{"6":1}}],["没用在真实业务场景中使用过的框架都是纸飞机",{"2":{"6":1}}],["没有前端开发人员的小型公司",{"2":{"5":1}}],["业务页面里使用到的颜色将不能写成固定值",{"2":{"273":1}}],["业务场景无法落地",{"2":{"6":1}}],["业务应用静态页面",{"2":{"4":1}}],["导航也提供了各种展示形态的设置",{"2":{"297":1}}],["导航搜索",{"0":{"277":1}}],["导航入口",{"2":{"180":1}}],["导航里切换帐号查看不同权限下的效果",{"2":{"180":1}}],["导航权限有两种做法",{"2":{"179":1}}],["导航标记",{"2":{"177":1}}],["导航中显示的图标",{"2":{"175":1}}],["导航展示的标题",{"2":{"170":1}}],["导航配置",{"0":{"169":1},"1":{"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1}}],["导航",{"0":{"163":1},"1":{"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1}}],["导航栏风格",{"0":{"270":1},"1":{"271":1,"272":1}}],["导航栏模式",{"0":{"153":1},"1":{"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1}}],["导航栏是否圆角",{"2":{"98":1,"272":1}}],["导航设置",{"0":{"146":1}}],["导航菜单收起时",{"2":{"95":2}}],["导航路由配置项",{"2":{"4":1}}],["导致工具栏被遮挡",{"2":{"90":2}}],["导致框架在实际使用中",{"2":{"6":1}}],["很少或者没有考虑后端的实现逻辑",{"2":{"6":1}}],["为分隔符",{"2":{"282":1}}],["为什么不是",{"0":{"298":1}}],["为什么不在生成文件的时候直接让我选择用哪种形式",{"2":{"186":1}}],["为什么有人说",{"2":{"199":1}}],["为什么本地开发环境首次载入很慢",{"0":{"199":1}}],["为什么选择我们",{"0":{"290":1},"1":{"291":1,"292":1,"293":1,"294":1,"295":1,"296":1,"297":1,"298":1}}],["为什么选择",{"0":{"6":1}}],["为例",{"2":{"147":1}}],["为减轻后端处理",{"2":{"131":1,"196":1}}],["为框架的默认配置",{"2":{"122":1}}],["为必要配置",{"2":{"121":1}}],["为保证代码风格统一",{"2":{"111":1}}],["为主导航序列数",{"2":{"62":1}}],["为",{"2":{"40":1,"259":1}}],["为了让",{"2":{"80":1}}],["为了实现",{"2":{"34":1}}],["为了统一图标的使用",{"2":{"33":1}}],["为产品保驾护航",{"2":{"5":1}}],["什么状态下是请求异常",{"2":{"162":1}}],["什么项目都不用担心啦~",{"2":{"5":1}}],["什么场景需要",{"0":{"5":1}}],["手里有一套可高度定制化的中后台框架",{"2":{"5":1}}],["产品型公司最担心的就是产品开发中代码不可控的因素",{"2":{"5":1}}],["产品型公司",{"2":{"5":1}}],["产品生命周期内提供长期更新维护",{"2":{"2":1}}],["并不代表不支持颜色主题切换",{"2":{"281":1}}],["并不代表不支持国际化切换",{"2":{"279":1}}],["并选择使用方式为离线",{"2":{"261":1}}],["并缓存在",{"2":{"261":1}}],["并介绍一下这个标准模块有哪些特性",{"2":{"184":1}}],["并修改这个函数的请求地址",{"2":{"179":1}}],["并修改代码中的使用方式",{"2":{"98":1}}],["并返回外部变量",{"2":{"177":1}}],["并进行错误提示",{"2":{"162":1}}],["并进行了简单的封装",{"2":{"71":1}}],["并以中文",{"2":{"150":1}}],["并按照指引完成操作后",{"2":{"262":1}}],["并按照下面设置后",{"2":{"134":1}}],["并按照官方的使用方式引入图标",{"2":{"33":1}}],["并将字段类型设为",{"2":{"131":1,"196":1}}],["并将应用配置按钮从工具栏删除",{"2":{"103":2}}],["并分别修改这两个函数的请求地址",{"2":{"131":1,"196":1}}],["并写入下面的代码",{"2":{"98":1}}],["并在里面复制以下代码",{"2":{"185":1}}],["并在",{"2":{"98":1,"187":1}}],["并在调用接口的时候",{"2":{"80":1}}],["并在备注里留下手机",{"2":{"1":1}}],["并且主题在运行时共存",{"2":{"266":1}}],["并且想要在离线",{"2":{"261":1}}],["并且可以开始使用",{"2":{"212":1,"219":1,"226":1,"233":1,"240":1,"247":1}}],["并且可自定义扩展主题风格的样式",{"2":{"5":1}}],["并且删除会导致框架无法正常使用",{"2":{"210":1,"217":1,"224":1,"231":1,"238":1,"245":1}}],["并且演示源码中大量示例也使用了",{"2":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["并且在",{"2":{"205":1}}],["并且包含列表页",{"2":{"192":1}}],["并且还要在文件里写一些必要的代码",{"2":{"187":1}}],["并且也生成了",{"2":{"185":1}}],["并且同时也可以生成对应的",{"2":{"184":1}}],["并且将错误日志进行上报",{"2":{"129":1}}],["并且将代码中使用到",{"2":{"78":1}}],["并且如果你使用的是",{"2":{"122":1}}],["并且按照文档说明安装好相关软件及扩展",{"2":{"111":1}}],["并做相应动作",{"2":{"75":1}}],["并对框架部分组件样式进行了重构",{"2":{"98":1}}],["并对",{"2":{"75":1}}],["并配置了使用时自动引入",{"2":{"34":1}}],["并保证视觉上的一致性",{"2":{"34":1}}],["并自行替换",{"2":{"33":1}}],["并显示",{"2":{"10":1,"13":1}}],["而切换路由会导致之前页面上的数据丢失",{"2":{"298":1}}],["而劣势也是因为这种优势导致的",{"2":{"298":1}}],["而业务代码则可以直接拷贝过去",{"2":{"283":1}}],["而不是稳定版本",{"2":{"203":1}}],["而当表单与当前列表页关联性较弱",{"2":{"186":1}}],["而是在生成好的代码文件里再进行配置",{"2":{"186":1}}],["而是通过调用全局",{"2":{"178":1}}],["而鉴权函数则更多是使用在业务流程代码里的权限判断",{"2":{"183":1}}],["而其余配置则在不同环境下有不同用途",{"2":{"121":1}}],["而无需手动注册",{"2":{"118":1}}],["而扩展组件有一部分是在",{"2":{"117":1}}],["而框架目录是",{"2":{"115":1}}],["而",{"2":{"80":1,"122":1}}],["而本框架在作者就职的公司",{"2":{"6":1}}],["而通过专业版提供的布局和主题风格",{"2":{"5":1}}],["而这些公司在开发中后台系统的时候",{"2":{"5":2}}],["甲方对页面布局和主题风格有绝对话语权",{"2":{"5":1}}],["周期短",{"2":{"5":1}}],["222b45",{"2":{"266":3}}],["28",{"2":{"152":1}}],["2fc11",{"2":{"107":1}}],["2655c",{"2":{"107":1}}],["2b5ca",{"2":{"107":1}}],["2bb50",{"2":{"95":1}}],["2ea5f",{"2":{"103":1}}],["215ef",{"2":{"98":1}}],["216ac",{"2":{"90":1}}],["2d642",{"2":{"98":1}}],["2",{"0":{"92":1,"93":2,"94":1,"95":1,"100":1,"104":2,"105":1,"106":1,"107":2,"108":1,"109":1},"2":{"21":1,"29":1,"31":1,"78":5,"186":2,"285":1}}],["2名前端开发人员",{"2":{"5":1}}],["20+",{"2":{"205":1}}],["2022",{"2":{"125":1}}],["2021",{"2":{"125":1}}],["20",{"2":{"4":1}}],["几乎所有公司都缺前端",{"2":{"5":1}}],["的入口文件",{"2":{"299":1}}],["的特点",{"2":{"290":1}}],["的特性",{"2":{"285":1}}],["的插件一样更新",{"2":{"283":1}}],["的在线图标搜索网站",{"2":{"258":1}}],["的一员",{"2":{"255":1}}],["的一级导航在收起时展示和其他导航不一样的问题",{"2":{"89":1}}],["的同源策略",{"2":{"254":1}}],["的免登录页面地址",{"2":{"250":1}}],["的效率",{"2":{"205":1}}],["的原因",{"2":{"199":1}}],["的文件名",{"2":{"257":1}}],["的文件",{"2":{"255":1}}],["的文件夹",{"2":{"186":1}}],["的文件特性",{"2":{"138":1}}],["的方法",{"2":{"180":1}}],["的方式",{"2":{"78":1}}],["的地方引入",{"2":{"254":1}}],["的地方",{"2":{"151":1}}],["的还不行",{"2":{"146":1}}],["的日文语言包",{"2":{"145":1}}],["的语言包文件",{"2":{"145":1}}],["的组件入口",{"2":{"140":1}}],["的两套字体",{"2":{"132":1}}],["的默认尺寸",{"2":{"98":1}}],["的主题",{"2":{"98":1}}],["的代码",{"2":{"98":1}}],["的",{"2":{"73":1,"98":1,"121":3,"191":1,"205":1}}],["的易学习易上手特性",{"2":{"5":1}}],["的应用平台",{"2":{"3":1}}],["所在目录",{"2":{"115":1}}],["所设置的地址",{"2":{"77":1}}],["所以就不存在切换路由",{"2":{"298":1}}],["所以可以这样定义组件",{"2":{"286":1}}],["所以一旦下载开始使用",{"2":{"283":1}}],["所以此处需要开发者自行修改或者重新制作登录页",{"2":{"210":1,"217":1,"224":1,"231":1,"238":1,"245":1}}],["所以请谨慎使用",{"2":{"203":1}}],["所以请勿新增这里的配置项",{"2":{"195":1}}],["所以也是不能暴露给用户的",{"2":{"195":1}}],["所以即便是在新窗口里",{"2":{"186":1}}],["所以方便后期维护",{"2":{"186":1}}],["所以把翻页相关的东西都存放在",{"2":{"186":1}}],["所以没有权限的路由不会被注册",{"2":{"176":1}}],["所以在做国际化支持的时候",{"2":{"145":1}}],["所以在开发环境下即使开启错误日志也不会被启用",{"2":{"129":1}}],["所以该目录只存放全局样式",{"2":{"138":1}}],["所以该文件拦截器部分的代码",{"2":{"75":1}}],["所以需要通过",{"2":{"134":1}}],["所以不建议在同一域名部署太多套系统",{"2":{"254":1}}],["所以不建议在非英文环境中使用",{"2":{"132":1}}],["所以不建议在业务页面内使用",{"2":{"34":1}}],["所以框架集成了",{"2":{"115":1}}],["所以如果两个数据源的请求和响应是完全不同的标准",{"2":{"78":1}}],["所以实际是请求依旧是",{"2":{"77":1}}],["所以借助",{"2":{"5":1}}],["所有配置的导航模块均需要在",{"2":{"163":1}}],["所有配置项将都在一个",{"2":{"98":1}}],["所有的请求均会在请求头里带上",{"2":{"149":1}}],["所有",{"2":{"3":1}}],["据了解",{"2":{"5":1}}],["访问",{"2":{"4":2,"133":1,"134":1}}],["查看示例",{"2":{"148":1}}],["查看当前版本的完整配置作为参考",{"2":{"122":1}}],["查看",{"2":{"4":1}}],["可勾选多个窗口平均分布在页面中",{"2":{"295":1}}],["可自定义摆放位置和顺序",{"2":{"282":1}}],["可自行阅读理解",{"2":{"186":1}}],["可自行新建文件夹分类管理",{"2":{"137":1}}],["可尝试删除根目录下",{"2":{"253":1}}],["可直接用于实际开发",{"2":{"203":1}}],["可直接测试效果",{"2":{"111":1}}],["可能在开发环境操作会有些许卡顿",{"2":{"205":1}}],["可能一开始是一个很简单的表单",{"2":{"186":1}}],["可能有人会有疑问",{"2":{"186":1}}],["可能会出现无法预知的问题",{"2":{"253":1}}],["可能会存在一些问题",{"2":{"203":1}}],["可能会影响到别人的开发体验",{"2":{"115":1}}],["可能会在设计框架的时候",{"2":{"6":1}}],["可实现动态切换",{"2":{"266":1}}],["可实现",{"2":{"152":1,"153":1}}],["可访问",{"2":{"148":1}}],["可点击这里查看",{"2":{"145":1}}],["可选设置的值参考",{"2":{"144":1}}],["可选值",{"2":{"10":1,"13":1,"16":1,"19":1,"21":1,"25":1,"27":1,"29":1,"31":1,"37":1,"40":1,"43":1,"45":1,"49":1,"51":1,"55":1,"57":1,"266":1}}],["可参考以下设置",{"2":{"150":1}}],["可参考",{"2":{"140":1}}],["可在该导航里设置",{"2":{"146":1}}],["可在",{"2":{"129":1}}],["可在接口调用处删除",{"2":{"81":1}}],["可防止被调试",{"2":{"121":3}}],["可设置",{"2":{"121":3}}],["可忽略无需做代码规范校验的文件",{"2":{"114":1}}],["可执行",{"2":{"84":1}}],["可应对绝大部分甲方需求",{"2":{"5":1}}],["可以和普通的",{"2":{"286":1}}],["可以协助升级工作开展",{"2":{"283":1}}],["可以清晰的列出文件夹内所有文件的差异",{"2":{"283":1}}],["可以清楚知道改动了哪些",{"2":{"283":1}}],["可以帮助你快速上手",{"2":{"255":1}}],["可以尝试执行",{"2":{"253":1}}],["可以看到",{"2":{"249":1}}],["可以访问此仓库查看示例源码",{"2":{"213":1,"220":1,"227":1,"234":1,"241":1,"248":1}}],["可以点这里去购买",{"2":{"204":1}}],["可以浏览下这个",{"2":{"198":1}}],["可以通过下面两种方式获取",{"2":{"202":1}}],["可以通过弹窗或抽屉的形式打开详情页",{"2":{"186":1}}],["可以通过",{"2":{"131":1,"196":1}}],["可以通过参考任何一份方案",{"2":{"33":1}}],["可以开启偏好设置",{"2":{"121":1}}],["可以使用新建窗口的形式",{"2":{"186":1}}],["可以使用",{"2":{"118":1}}],["可以使用插槽代替",{"2":{"33":1,"118":1}}],["可以查阅",{"2":{"113":1,"114":1}}],["可以参考",{"2":{"98":1}}],["可以阅读这篇",{"2":{"259":1}}],["可以阅读",{"2":{"98":1}}],["可以执行",{"2":{"83":1}}],["可以在项目中进行调整",{"2":{"293":1}}],["可以在",{"2":{"116":1,"122":1}}],["可以在代码控制台查看日志信息",{"2":{"80":1}}],["可以在拦截器里用统一的报错提示来展示",{"2":{"75":1}}],["可以设置",{"2":{"77":1}}],["可以到",{"2":{"35":1,"117":1}}],["可以让后端开发人员能在短时间内转型成为全栈开发",{"2":{"5":1}}],["可以先扫下面这个二维码领取红包",{"2":{"2":1}}],["可删除",{"2":{"4":1}}],["国际化选择器",{"0":{"22":1},"1":{"23":1}}],["国际化",{"0":{"142":1,"279":1},"1":{"143":1,"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1},"2":{"4":1,"170":1,"173":1,"279":1}}],["auto",{"2":{"285":1}}],["auth=",{"2":{"182":2}}],["auth>",{"2":{"181":5}}],["auth",{"0":{"12":1,"176":1},"1":{"13":1,"14":1},"2":{"60":2,"181":3,"182":3,"183":3}}],["authall>",{"2":{"181":1}}],["authall",{"0":{"9":1},"1":{"10":1,"11":1},"2":{"60":2,"181":2,"183":2}}],["a8a29e",{"2":{"265":3,"266":3}}],["a808f",{"2":{"97":1}}],["algorithm",{"2":{"209":2}}],["allow",{"2":{"253":1}}],["all>",{"2":{"195":1}}],["all=",{"2":{"182":1}}],["all",{"2":{"98":1,"122":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"131":1,"144":2,"150":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"179":1,"180":1,"182":1,"194":1,"196":1,"252":1,"254":1,"266":1,"267":1,"268":1,"269":1,"271":1,"272":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"288":1}}],["ally",{"2":{"91":1,"143":1}}],["active",{"2":{"265":12,"266":18}}],["action",{"2":{"8":1,"21":1,"29":1,"31":1}}],["actioncontainer",{"0":{"7":1},"1":{"8":1}}],["aconfigprovider>",{"2":{"209":2,"216":2}}],["aconfigprovider",{"2":{"209":2,"216":2}}],["accept",{"2":{"149":1}}],["account",{"2":{"147":1,"186":1}}],["any",{"2":{"145":1,"209":1,"216":1,"223":1,"230":1,"237":1,"244":1}}],["antdesignvuelocalezhcn",{"2":{"209":2}}],["antd",{"2":{"209":4}}],["antfu",{"2":{"113":1}}],["ant",{"0":{"207":1},"1":{"208":1,"209":1,"210":1,"211":1,"212":1,"213":1},"2":{"33":1,"98":1,"207":1,"208":2,"209":10,"212":2}}],["abea5",{"2":{"103":1}}],["assign",{"2":{"145":4}}],["assets",{"2":{"98":4,"135":3,"137":1,"138":2,"161":1,"257":2}}],["as",{"2":{"98":3,"244":2}}],["a7505",{"2":{"95":1}}],["app",{"2":{"73":2,"77":2,"78":7,"83":2,"98":1,"121":21,"122":1,"129":1,"144":1,"147":2,"150":1,"179":2,"180":1,"195":3,"209":8,"216":10,"223":8,"230":8,"237":10,"244":8,"252":1,"254":1,"265":2,"266":4,"267":1,"268":1,"269":1,"288":1}}],["api2",{"2":{"78":2}}],["api",{"0":{"58":1,"284":1},"1":{"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"285":1,"286":1},"2":{"4":1,"59":4,"73":6,"74":4,"75":1,"76":1,"77":7,"78":18,"80":4,"121":4,"131":1,"162":2,"178":1,"179":1,"180":1,"196":1,"284":5,"285":4}}],["axios",{"2":{"71":1,"73":1,"75":4,"78":2,"103":2,"121":3}}],["addicondefinitions",{"2":{"223":4}}],["addeventlistener",{"2":{"216":2,"237":2}}],["add",{"2":{"64":2,"77":2,"208":1,"215":1,"222":1,"229":1,"236":1,"243":1}}],["admin",{"0":{"5":1,"6":1,"297":1,"298":1},"2":{"0":10,"2":2,"3":1,"33":1,"115":2,"121":3,"126":1,"127":1,"151":1,"167":1,"180":1,"202":1,"203":4,"283":2,"290":1,"291":1,"297":1,"298":3}}],["arrow",{"2":{"259":2,"260":2,"271":1}}],["array",{"2":{"10":2,"13":2,"21":2,"29":1,"31":2,"43":1,"49":1,"51":1,"176":1}}],["archive",{"2":{"121":2}}],["arcovue",{"2":{"216":4}}],["arco",{"0":{"214":1},"1":{"215":1,"216":1,"217":1,"218":1,"219":1,"220":1},"2":{"33":1,"98":1,"214":1,"215":2,"216":14,"219":2}}],["窗口即组件",{"2":{"299":1}}],["窗口排序",{"0":{"296":1}}],["窗口默认宽度为",{"2":{"293":1}}],["窗口最大化",{"0":{"293":1}}],["窗口预览",{"0":{"275":1}}],["窗口预览模式",{"2":{"4":1}}],["窗口外部传入参数",{"2":{"178":1}}],["窗口宽度",{"2":{"172":1}}],["窗口组件名",{"2":{"171":1}}],["窗口刷新",{"0":{"68":1}}],["窗口全屏切换",{"0":{"66":1}}],["窗口标题",{"2":{"64":1}}],["窗口拖拽排序",{"2":{"4":1}}],["窗口专注模式",{"2":{"4":1}}],["窗口右键功能",{"2":{"4":1}}],["窗口",{"0":{"63":1,"299":1},"1":{"64":1,"65":1,"66":1,"67":1,"68":1},"2":{"4":1}}],["800px",{"2":{"293":1}}],["8bc65",{"2":{"108":1}}],["8aba7",{"2":{"108":1}}],["831ab",{"2":{"103":1}}],["87963",{"2":{"103":1}}],["874e3",{"2":{"98":1}}],["8f597",{"2":{"91":1}}],["843cf6",{"2":{"19":1}}],["8",{"2":{"4":1}}],["个图标可以免费使用",{"2":{"258":1}}],["个数据源",{"2":{"78":1}}],["个组件",{"2":{"33":1,"118":1}}],["个",{"2":{"4":4}}],["个人设置",{"2":{"147":1}}],["个人设置窗口补充",{"2":{"107":1}}],["个人开发者",{"2":{"5":1}}],["个人",{"2":{"2":1}}],["6fff3",{"2":{"103":1}}],["6720a",{"2":{"98":1}}],["66160",{"2":{"98":1}}],["66d9e",{"2":{"95":1}}],["6c92d",{"2":{"91":1}}],["6",{"2":{"4":2,"152":1,"266":1,"297":1}}],["暗黑模式",{"2":{"267":1}}],["暗黑",{"2":{"4":2}}],["款导航栏风格以及",{"2":{"297":1}}],["款导航栏模式",{"2":{"297":1}}],["款主题配色",{"2":{"297":1}}],["款主题",{"2":{"152":1,"266":1}}],["款",{"2":{"4":4,"266":1}}],["套图标集",{"2":{"258":1}}],["套",{"2":{"4":2}}],["组件来展示",{"2":{"260":1}}],["组件使用了",{"2":{"257":1}}],["组件文件",{"2":{"187":1}}],["组件等文件",{"2":{"187":1}}],["组件进行展示",{"2":{"175":1}}],["组件上进行了二次开发",{"2":{"117":1}}],["组件上二次封装的组件",{"2":{"35":1}}],["组件外边框的临时解决方案",{"2":{"103":1}}],["组件未展示",{"2":{"97":2}}],["组件样式错乱",{"2":{"94":1}}],["组件源码完全开放",{"2":{"35":1,"117":1}}],["组件的",{"2":{"33":1}}],["组件",{"0":{"139":1,"286":1},"1":{"140":1,"141":1},"2":{"19":1,"103":5,"140":1,"181":1,"210":1,"217":1,"224":1,"231":1,"238":1,"245":1,"260":1}}],["组件库替换为",{"2":{"212":1,"219":1,"226":1,"233":1,"240":1,"247":1}}],["组件库解耦",{"2":{"98":1}}],["组件库可替换",{"2":{"34":1}}],["组件库",{"2":{"4":1,"98":1,"207":1,"212":1,"214":1,"219":1,"221":1,"226":1,"228":1,"233":1,"235":1,"240":1,"242":1,"247":1}}],["组织账号数",{"2":{"2":1}}],["组织的开发者账号",{"2":{"2":1}}],["组织",{"2":{"2":1}}],["vxpconfigprovider>",{"2":{"244":2}}],["vxpconfigprovider",{"2":{"244":2}}],["vxp",{"2":{"244":2}}],["volar",{"2":{"230":2}}],["v3",{"2":{"206":1}}],["vs",{"2":{"205":1}}],["vscode",{"0":{"143":1},"2":{"91":1,"98":1,"143":1}}],["v4",{"2":{"154":1,"155":1,"156":1,"157":1,"158":1,"207":2,"214":2,"221":2,"228":2,"235":2,"242":2,"271":1}}],["vconsole",{"2":{"121":3}}],["visible",{"2":{"186":1}}],["visual",{"2":{"111":1,"122":1,"205":4}}],["views",{"2":{"148":1,"185":4,"186":1,"188":1,"189":1,"250":1,"278":2,"299":1}}],["vite",{"2":{"4":1,"73":2,"77":6,"78":12,"79":1,"80":1,"81":1,"83":1,"85":4,"86":1,"96":4,"103":2,"121":31,"199":3,"206":1,"253":1}}],["v1",{"0":{"110":1}}],["val",{"2":{"223":1}}],["value=",{"2":{"181":3}}],["value",{"2":{"10":1,"13":1,"49":2,"57":1,"254":2,"285":1}}],["vars",{"2":{"98":2}}],["var",{"2":{"98":2}}],["vertical",{"2":{"55":1}}],["vexipinstall",{"2":{"244":4}}],["vexip",{"0":{"242":1},"1":{"243":1,"244":1,"245":1,"246":1,"247":1,"248":1},"2":{"33":1,"98":1,"242":1,"243":2,"244":7,"247":2}}],["v",{"2":{"25":1,"29":1,"31":1,"43":1,"95":3,"182":5}}],["vue2",{"2":{"284":1}}],["vuex",{"2":{"255":1}}],["vue3",{"2":{"255":1,"284":1,"285":1}}],["vuejs",{"2":{"255":1}}],["vue",{"0":{"207":1,"214":1},"1":{"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1},"2":{"4":1,"5":1,"33":3,"98":3,"129":1,"138":2,"140":2,"142":1,"148":1,"185":3,"186":2,"200":1,"205":6,"206":2,"207":1,"208":2,"209":16,"212":2,"214":1,"215":2,"216":14,"219":2,"223":6,"230":6,"236":1,"237":20,"244":6,"250":1,"255":1,"257":1,"259":4,"260":3,"278":2,"285":4,"286":3,"289":1,"299":1}}],["334067",{"2":{"266":4}}],["33add",{"2":{"90":1}}],["39d56",{"2":{"106":1}}],["3fa26",{"2":{"103":1}}],["38efb",{"2":{"103":1}}],["38e3f",{"2":{"103":1}}],["38039",{"2":{"96":1}}],["3d58e",{"2":{"95":1}}],["3bd3b",{"2":{"94":1}}],["3c299",{"2":{"88":1}}],["360",{"2":{"55":1}}],["301d7",{"2":{"103":1}}],["306f3",{"2":{"88":1}}],["30",{"2":{"49":1}}],["3",{"0":{"91":1,"92":1,"99":2,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1},"2":{"4":2,"21":1,"31":1,"49":1,"206":1,"286":2,"297":1}}],["⭐",{"2":{"151":1}}],["⭐⭐⭐⭐⭐",{"2":{"151":1}}],["⭐功能与服务⭐",{"2":{"4":1}}],["⭐服务⭐",{"2":{"2":1}}],["虚拟物品不支持退货退款",{"2":{"3":1}}],["商业信息丢失或任何其它经济损失",{"2":{"3":1}}],["商业赢利丧失",{"2":{"3":1}}],["贸易中断",{"2":{"3":1}}],["包括但不限于个人损害",{"2":{"3":1}}],["包含全部源码",{"2":{"3":1}}],["进而扩展了页面缓存和标签栏的特性",{"2":{"298":1}}],["进行样式编写",{"2":{"273":1}}],["进行安装依赖",{"2":{"253":1}}],["进行业务开发了",{"2":{"212":1,"219":1,"226":1,"233":1,"240":1,"247":1}}],["进行开发工作了",{"2":{"151":1}}],["进行开发",{"2":{"143":1,"284":1}}],["进行一次格式校验",{"2":{"113":1,"114":1}}],["进行二次转售或发布",{"2":{"3":1}}],["进入专业版开发者私有组织",{"2":{"1":1}}],["不到万不得已不建议频繁更新",{"2":{"283":1}}],["不仅我们的框架如此",{"2":{"283":1}}],["不仅能提高项目开发效率",{"2":{"5":1}}],["不够用的情况",{"2":{"254":1}}],["不可删减",{"2":{"282":1}}],["不可避免会出现",{"2":{"254":1}}],["不可以用于任何形式的开源项目",{"2":{"3":1}}],["不是内部或外部命令",{"2":{"253":1}}],["不过由于安装",{"2":{"205":1}}],["不含示例代码",{"2":{"203":1}}],["不同的历史模式",{"2":{"200":1}}],["不需要的选项可以在这里注释掉",{"2":{"195":1}}],["不需要手动重启",{"2":{"80":1}}],["不会出现每个人做出来的模块风格都不一样",{"2":{"186":1}}],["不会被服务端的开发所阻塞",{"2":{"79":1}}],["不具备该权限又是如何显示",{"2":{"181":1}}],["不能重复",{"2":{"165":1}}],["不生效的问题",{"2":{"103":2}}],["不然线上环境将会报错",{"2":{"81":1}}],["不定期增加新特性",{"2":{"6":1}}],["不得直接对本产品",{"2":{"3":1}}],["不限制域名和项目数量",{"2":{"3":1}}],["本框架继承了",{"2":{"297":1}}],["本框架除了提供完善的开发文档和代码注释外",{"2":{"5":1}}],["本文适用于",{"2":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["本身也有自己的语言包",{"2":{"145":1}}],["本产品的源码",{"2":{"3":1}}],["本产品购买后可用于开发商业项目",{"2":{"3":1}}],["本价格不参与任何限时优惠活动",{"2":{"0":3}}],["禁止用于黄赌毒等危害国家安全与稳定的网站",{"2":{"3":1}}],["符合国家法律法规",{"2":{"3":1}}],["价格已含税",{"2":{"2":1}}],["支持多个权限叠加",{"2":{"176":1}}],["支持设置",{"2":{"170":1}}],["支持使用",{"2":{"98":1}}],["支持工具栏自定义布局",{"2":{"96":1}}],["支持次导航收起时",{"2":{"96":1}}],["支持动态更新",{"2":{"95":1}}],["支持动态切换",{"2":{"95":2}}],["支持",{"2":{"91":1,"109":2,"121":4}}],["支持水平",{"2":{"55":1}}],["支持一维数组和对象数组",{"2":{"49":1}}],["支持的文件类型",{"2":{"21":1,"29":1,"31":1}}],["支持部分",{"2":{"4":2}}],["支持开普票",{"2":{"2":1}}],["支付方式",{"0":{"2":1}}],["支付成功后需提供",{"2":{"1":1}}],["✅",{"2":{"2":2,"4":22}}],["5m",{"2":{"254":2}}],["56855",{"2":{"108":1}}],["5f9f1",{"2":{"98":1}}],["5c9ba",{"2":{"95":1}}],["5e61c",{"2":{"95":1}}],["51e90",{"2":{"88":1}}],["50+",{"2":{"33":1,"118":1}}],["5",{"0":{"88":1},"2":{"2":1,"4":2,"154":1,"155":1,"156":1,"157":1,"158":1,"187":3,"271":1,"297":1}}],["15191e",{"2":{"265":1,"266":1}}],["150",{"2":{"29":2,"31":2}}],["18+",{"2":{"205":1}}],["13b2c",{"2":{"109":1}}],["1cd93",{"2":{"106":1}}],["1d1e1f",{"2":{"98":1}}],["1d900",{"2":{"90":1}}],["141414",{"2":{"98":1,"265":6,"266":6}}],["1441c",{"2":{"89":1}}],["1921b",{"2":{"90":1}}],["10415",{"2":{"88":1}}],["10",{"2":{"74":1,"80":2}}],["100+",{"2":{"258":1}}],["10000",{"2":{"78":1}}],["100",{"2":{"49":1,"230":2,"258":1}}],["12",{"2":{"4":1,"266":1}}],["1",{"0":{"89":1,"94":1,"96":1,"97":1,"99":1,"100":1,"101":2,"102":1,"105":1,"108":1},"2":{"2":1,"4":2,"49":1,"74":1,"80":2}}],["允许加入",{"2":{"2":1}}],[">新增部门",{"2":{"182":3}}],[">编辑",{"2":{"33":1,"118":1}}],[">",{"2":{"2":1,"33":3,"118":3,"181":6,"182":3,"209":6,"216":6,"223":6,"230":8,"237":6,"244":6,"257":2,"259":8,"260":2,"282":1,"285":1,"286":3,"289":1}}],["同一域名下的",{"2":{"254":1}}],["同演示站",{"2":{"203":1}}],["同样你在",{"2":{"186":1}}],["同样",{"2":{"138":1}}],["同时也减轻了开发人员的开发成本",{"2":{"298":1}}],["同时也确保多人协作开发的时候有个统一标准",{"2":{"186":1}}],["同时得益于",{"2":{"285":1}}],["同时请保证文件名和文件内唯一id保持一致",{"2":{"255":1}}],["同时提供了搜索和删除的功能",{"2":{"184":1}}],["同时还增加了一个",{"2":{"254":1}}],["同时还可在应用配置里设置默认语言",{"2":{"144":1}}],["同时还大大减轻前端开发人员工作压力",{"2":{"5":1}}],["同时在",{"2":{"78":1}}],["同时考虑到人员流动",{"2":{"2":1}}],["同意邀请后",{"2":{"1":1}}],["需开发者自行实现",{"2":{"278":1}}],["需在工具栏开启",{"2":{"130":1}}],["需注意",{"2":{"78":1}}],["需执行",{"2":{"33":1}}],["需保留",{"2":{"4":1}}],["需由购买者自行承担",{"2":{"3":1}}],["需要做什么操作就进入不同的页面",{"2":{"298":1}}],["需要做一些额外的配置",{"2":{"261":1}}],["需要注意以下两点",{"2":{"259":1}}],["需要注意一点",{"2":{"81":1}}],["需要删除",{"2":{"209":3,"216":3,"223":3,"230":1,"237":3,"244":3}}],["需要自行准备相关可访问外网的工具",{"2":{"205":1}}],["需要访问",{"2":{"205":1}}],["需要使用",{"2":{"205":1}}],["需要手动进行修改",{"2":{"180":1}}],["需要重新启动项目才会生效",{"2":{"145":1}}],["需要在本地依次安装好",{"2":{"205":1}}],["需要在配置",{"2":{"80":1}}],["需要在",{"2":{"78":1}}],["需要开发者根据实际情况去修改调整",{"2":{"75":1}}],["需要储存的数据",{"2":{"51":1}}],["需要鉴权的",{"2":{"11":1,"14":1}}],["需要可以更换加入到",{"2":{"2":1}}],["需要都能加入到",{"2":{"2":1}}],["需提供你的",{"2":{"1":1}}],["团队代码规范",{"2":{"4":1}}],["团队",{"2":{"2":1}}],["团队版",{"2":{"2":2}}],["团队购买",{"2":{"2":1}}],["企业",{"2":{"2":3}}],["限时优惠",{"2":{"2":2}}],["若你打算使用支付宝进行付款",{"2":{"2":1}}],["领红包",{"2":{"2":1}}],["获取源码的方式和基础版一致",{"2":{"204":1}}],["获取源码",{"2":{"1":1}}],["平台",{"2":{"1":1}}],["用法说明",{"0":{"185":1},"1":{"186":1}}],["用于分隔左右两侧的工具栏",{"2":{"282":1}}],["用于菜单",{"2":{"91":1}}],["用于接收框架相关通知公告的唯一方式",{"2":{"1":1}}],["用户必须具备全部权限",{"2":{"181":1,"182":1,"183":1}}],["用户只要具备其中任何一个权限",{"2":{"181":1,"182":1,"183":1}}],["用户在登录时",{"2":{"176":1}}],["用户访问使用了自定义字体的页面时",{"2":{"132":1}}],["用户偏好设置默认存储在浏览器本地",{"2":{"196":1}}],["用户偏好设置",{"0":{"193":1},"1":{"194":1,"195":1,"196":1},"2":{"4":1,"121":1}}],["用户名登录",{"2":{"180":1}}],["用户名",{"2":{"1":2,"147":1}}],["授权邮箱号",{"2":{"1":1}}],["付款截图凭证",{"2":{"1":1}}],["邮箱等任意一种联系方式",{"2":{"1":1}}],["微信",{"2":{"1":1}}],["请按模块进行区分",{"2":{"255":1}}],["请到专业版仓库下载框架源码",{"2":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["请拉取框架源码分支",{"2":{"207":1,"214":1,"221":1,"228":1,"235":1,"242":1}}],["请勿在窗口组件内使用",{"2":{"299":1}}],["请勿在该文件内修改",{"2":{"122":1}}],["请勿使用该方案",{"2":{"253":1}}],["请勿使用",{"2":{"253":1}}],["请勿新增其他选项",{"2":{"195":1}}],["请先详细阅读",{"2":{"187":1}}],["请先加作者微信进行在线咨询",{"2":{"1":1}}],["请输入模块中文名称",{"2":{"185":1}}],["请输入窗口组件名称",{"2":{"185":1}}],["请选择需要创建的模式",{"2":{"185":1}}],["请设置为箭头函数形式",{"2":{"177":1}}],["请阅读",{"2":{"121":1}}],["请在项目根目录下依次执行以下命令",{"2":{"253":1}}],["请在这里扩展",{"2":{"147":1}}],["请在",{"2":{"115":1}}],["请确保手上已经有",{"2":{"202":1}}],["请确保在安装依赖前",{"2":{"115":1}}],["请确保已阅读",{"2":{"111":1}}],["请使用",{"2":{"111":1}}],["请彻底关闭线上环境",{"2":{"81":1}}],["请求返回的数据就是导航数据",{"2":{"179":1}}],["请求第",{"2":{"78":1}}],["请求默认数据源",{"2":{"78":1}}],["请求",{"2":{"74":2,"77":1,"78":1}}],["请求可使用以下的方法",{"2":{"74":1}}],["请求调用",{"0":{"74":1}}],["请加作者微信进行购买",{"2":{"0":3}}],["购买者需保证不传播产品源码",{"2":{"3":1}}],["购买者可将本产品用于任意",{"2":{"3":1}}],["购买流程",{"0":{"1":1}}],["购买专业版的用户可以加我微信直接和我一对一沟通使用问题",{"2":{"302":1}}],["购买专业版",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1}}],["=",{"2":{"0":3}}],["¥3599",{"2":{"2":1}}],["¥699",{"2":{"2":1}}],["¥2799",{"2":{"2":1}}],["¥2797",{"2":{"0":1}}],["¥2198",{"2":{"0":1}}],["¥899",{"2":{"0":1}}],["¥599",{"2":{"0":2}}],["¥1499",{"2":{"0":1}}],["¥1598",{"2":{"0":1}}],["¥1299",{"2":{"0":1}}],["¥1199",{"2":{"0":2}}],["¥999",{"2":{"0":3,"2":1}}],["+",{"2":{"0":8}}]],"serializationVersion":2}';export{t as default}; diff --git a/assets/chunks/VPLocalSearchBox.BWlrfQOL.js b/assets/chunks/VPLocalSearchBox.BWlrfQOL.js new file mode 100644 index 00000000..858cd866 --- /dev/null +++ b/assets/chunks/VPLocalSearchBox.BWlrfQOL.js @@ -0,0 +1,7 @@ +var Ct=Object.defineProperty;var It=(o,e,t)=>e in o?Ct(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var Oe=(o,e,t)=>(It(o,typeof e!="symbol"?e+"":e,t),t);import{X as Dt,s as oe,v as $e,a$ as kt,b0 as Ot,d as Rt,G as xe,b1 as tt,h as Fe,b2 as _t,b3 as Mt,x as Lt,b4 as Pt,y as Re,R as de,Q as Ee,b5 as zt,b6 as Bt,Y as Vt,U as $t,b7 as Wt,o as ee,b as Kt,j as k,a1 as Jt,k as j,b8 as Ut,b9 as jt,ba as Gt,c as re,n as rt,e as Se,E as at,F as nt,a as ve,t as pe,bb as Qt,p as Ht,l as qt,bc as it,a3 as Yt,aR as Xt,aX as Zt,bd as er,_ as tr}from"./framework.cw3A9gZ3.js";import{u as rr,c as ar}from"./theme.RqGUseNW.js";const nr={root:()=>Dt(()=>import("./@localSearchIndexroot.pTMoqwch.js"),[])};/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var yt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ne=yt.join(","),mt=typeof Element>"u",ue=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ce=!mt&&Element.prototype.getRootNode?function(o){var e;return o==null||(e=o.getRootNode)===null||e===void 0?void 0:e.call(o)}:function(o){return o==null?void 0:o.ownerDocument},Ie=function o(e,t){var r;t===void 0&&(t=!0);var n=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),a=n===""||n==="true",i=a||t&&e&&o(e.parentNode);return i},ir=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},gt=function(e,t,r){if(Ie(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Ne));return t&&ue.call(e,Ne)&&n.unshift(e),n=n.filter(r),n},bt=function o(e,t,r){for(var n=[],a=Array.from(e);a.length;){var i=a.shift();if(!Ie(i,!1))if(i.tagName==="SLOT"){var s=i.assignedElements(),u=s.length?s:i.children,l=o(u,!0,r);r.flatten?n.push.apply(n,l):n.push({scopeParent:i,candidates:l})}else{var h=ue.call(i,Ne);h&&r.filter(i)&&(t||!e.includes(i))&&n.push(i);var d=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),v=!Ie(d,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(d&&v){var y=o(d===!0?i.children:d.children,!0,r);r.flatten?n.push.apply(n,y):n.push({scopeParent:i,candidates:y})}else a.unshift.apply(a,i.children)}}return n},wt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},se=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||ir(e))&&!wt(e)?0:e.tabIndex},or=function(e,t){var r=se(e);return r<0&&t&&!wt(e)?0:r},sr=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},xt=function(e){return e.tagName==="INPUT"},ur=function(e){return xt(e)&&e.type==="hidden"},lr=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},cr=function(e,t){for(var r=0;rsummary:first-of-type"),i=a?e.parentElement:e;if(ue.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof n=="function"){for(var s=e;e;){var u=e.parentElement,l=Ce(e);if(u&&!u.shadowRoot&&n(u)===!0)return ot(e);e.assignedSlot?e=e.assignedSlot:!u&&l!==e.ownerDocument?e=l.host:e=u}e=s}if(vr(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ot(e);return!1},yr=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r=0)},gr=function o(e){var t=[],r=[];return e.forEach(function(n,a){var i=!!n.scopeParent,s=i?n.scopeParent:n,u=or(s,i),l=i?o(n.candidates):s;u===0?i?t.push.apply(t,l):t.push(s):r.push({documentOrder:a,tabIndex:u,item:n,isScope:i,content:l})}),r.sort(sr).reduce(function(n,a){return a.isScope?n.push.apply(n,a.content):n.push(a.content),n},[]).concat(t)},br=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:We.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:mr}):r=gt(e,t.includeContainer,We.bind(null,t)),gr(r)},wr=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:De.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=gt(e,t.includeContainer,De.bind(null,t)),r},le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,Ne)===!1?!1:We(t,e)},xr=yt.concat("iframe").join(","),_e=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,xr)===!1?!1:De(t,e)};/*! +* focus-trap 7.5.4 +* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE +*/function st(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function ut(o){for(var e=1;e0){var r=e[e.length-1];r!==t&&r.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},Ar=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Tr=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ge=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Nr=function(e){return ge(e)&&!e.shiftKey},Cr=function(e){return ge(e)&&e.shiftKey},ct=function(e){return setTimeout(e,0)},ft=function(e,t){var r=-1;return e.every(function(n,a){return t(n)?(r=a,!1):!0}),r},ye=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?p-1:0),I=1;I=0)c=r.activeElement;else{var f=i.tabbableGroups[0],p=f&&f.firstTabbableNode;c=p||h("fallbackFocus")}if(!c)throw new Error("Your focus-trap needs to have at least one focusable element");return c},v=function(){if(i.containerGroups=i.containers.map(function(c){var f=br(c,a.tabbableOptions),p=wr(c,a.tabbableOptions),C=f.length>0?f[0]:void 0,I=f.length>0?f[f.length-1]:void 0,M=p.find(function(m){return le(m)}),P=p.slice().reverse().find(function(m){return le(m)}),z=!!f.find(function(m){return se(m)>0});return{container:c,tabbableNodes:f,focusableNodes:p,posTabIndexesFound:z,firstTabbableNode:C,lastTabbableNode:I,firstDomTabbableNode:M,lastDomTabbableNode:P,nextTabbableNode:function(x){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,K=f.indexOf(x);return K<0?$?p.slice(p.indexOf(x)+1).find(function(Q){return le(Q)}):p.slice(0,p.indexOf(x)).reverse().find(function(Q){return le(Q)}):f[K+($?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(c){return c.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(c){return c.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function w(c){var f=c.activeElement;if(f)return f.shadowRoot&&f.shadowRoot.activeElement!==null?w(f.shadowRoot):f},b=function w(c){if(c!==!1&&c!==y(document)){if(!c||!c.focus){w(d());return}c.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=c,Ar(c)&&c.select()}},E=function(c){var f=h("setReturnFocus",c);return f||(f===!1?!1:c)},g=function(c){var f=c.target,p=c.event,C=c.isBackward,I=C===void 0?!1:C;f=f||Ae(p),v();var M=null;if(i.tabbableGroups.length>0){var P=l(f,p),z=P>=0?i.containerGroups[P]:void 0;if(P<0)I?M=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:M=i.tabbableGroups[0].firstTabbableNode;else if(I){var m=ft(i.tabbableGroups,function(B){var U=B.firstTabbableNode;return f===U});if(m<0&&(z.container===f||_e(f,a.tabbableOptions)&&!le(f,a.tabbableOptions)&&!z.nextTabbableNode(f,!1))&&(m=P),m>=0){var x=m===0?i.tabbableGroups.length-1:m-1,$=i.tabbableGroups[x];M=se(f)>=0?$.lastTabbableNode:$.lastDomTabbableNode}else ge(p)||(M=z.nextTabbableNode(f,!1))}else{var K=ft(i.tabbableGroups,function(B){var U=B.lastTabbableNode;return f===U});if(K<0&&(z.container===f||_e(f,a.tabbableOptions)&&!le(f,a.tabbableOptions)&&!z.nextTabbableNode(f))&&(K=P),K>=0){var Q=K===i.tabbableGroups.length-1?0:K+1,H=i.tabbableGroups[Q];M=se(f)>=0?H.firstTabbableNode:H.firstDomTabbableNode}else ge(p)||(M=z.nextTabbableNode(f))}}else M=h("fallbackFocus");return M},S=function(c){var f=Ae(c);if(!(l(f,c)>=0)){if(ye(a.clickOutsideDeactivates,c)){s.deactivate({returnFocus:a.returnFocusOnDeactivate});return}ye(a.allowOutsideClick,c)||c.preventDefault()}},T=function(c){var f=Ae(c),p=l(f,c)>=0;if(p||f instanceof Document)p&&(i.mostRecentlyFocusedNode=f);else{c.stopImmediatePropagation();var C,I=!0;if(i.mostRecentlyFocusedNode)if(se(i.mostRecentlyFocusedNode)>0){var M=l(i.mostRecentlyFocusedNode),P=i.containerGroups[M].tabbableNodes;if(P.length>0){var z=P.findIndex(function(m){return m===i.mostRecentlyFocusedNode});z>=0&&(a.isKeyForward(i.recentNavEvent)?z+1=0&&(C=P[z-1],I=!1))}}else i.containerGroups.some(function(m){return m.tabbableNodes.some(function(x){return se(x)>0})})||(I=!1);else I=!1;I&&(C=g({target:i.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(i.recentNavEvent)})),b(C||i.mostRecentlyFocusedNode||d())}i.recentNavEvent=void 0},F=function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=c;var p=g({event:c,isBackward:f});p&&(ge(c)&&c.preventDefault(),b(p))},L=function(c){if(Tr(c)&&ye(a.escapeDeactivates,c)!==!1){c.preventDefault(),s.deactivate();return}(a.isKeyForward(c)||a.isKeyBackward(c))&&F(c,a.isKeyBackward(c))},_=function(c){var f=Ae(c);l(f,c)>=0||ye(a.clickOutsideDeactivates,c)||ye(a.allowOutsideClick,c)||(c.preventDefault(),c.stopImmediatePropagation())},V=function(){if(i.active)return lt.activateTrap(n,s),i.delayInitialFocusTimer=a.delayInitialFocus?ct(function(){b(d())}):b(d()),r.addEventListener("focusin",T,!0),r.addEventListener("mousedown",S,{capture:!0,passive:!1}),r.addEventListener("touchstart",S,{capture:!0,passive:!1}),r.addEventListener("click",_,{capture:!0,passive:!1}),r.addEventListener("keydown",L,{capture:!0,passive:!1}),s},N=function(){if(i.active)return r.removeEventListener("focusin",T,!0),r.removeEventListener("mousedown",S,!0),r.removeEventListener("touchstart",S,!0),r.removeEventListener("click",_,!0),r.removeEventListener("keydown",L,!0),s},R=function(c){var f=c.some(function(p){var C=Array.from(p.removedNodes);return C.some(function(I){return I===i.mostRecentlyFocusedNode})});f&&b(d())},A=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(R):void 0,O=function(){A&&(A.disconnect(),i.active&&!i.paused&&i.containers.map(function(c){A.observe(c,{subtree:!0,childList:!0})}))};return s={get active(){return i.active},get paused(){return i.paused},activate:function(c){if(i.active)return this;var f=u(c,"onActivate"),p=u(c,"onPostActivate"),C=u(c,"checkCanFocusTrap");C||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,f==null||f();var I=function(){C&&v(),V(),O(),p==null||p()};return C?(C(i.containers.concat()).then(I,I),this):(I(),this)},deactivate:function(c){if(!i.active)return this;var f=ut({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},c);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,N(),i.active=!1,i.paused=!1,O(),lt.deactivateTrap(n,s);var p=u(f,"onDeactivate"),C=u(f,"onPostDeactivate"),I=u(f,"checkCanReturnFocus"),M=u(f,"returnFocus","returnFocusOnDeactivate");p==null||p();var P=function(){ct(function(){M&&b(E(i.nodeFocusedBeforeActivation)),C==null||C()})};return M&&I?(I(E(i.nodeFocusedBeforeActivation)).then(P,P),this):(P(),this)},pause:function(c){if(i.paused||!i.active)return this;var f=u(c,"onPause"),p=u(c,"onPostPause");return i.paused=!0,f==null||f(),N(),O(),p==null||p(),this},unpause:function(c){if(!i.paused||!i.active)return this;var f=u(c,"onUnpause"),p=u(c,"onPostUnpause");return i.paused=!1,f==null||f(),v(),V(),O(),p==null||p(),this},updateContainerElements:function(c){var f=[].concat(c).filter(Boolean);return i.containers=f.map(function(p){return typeof p=="string"?r.querySelector(p):p}),i.active&&v(),O(),this}},s.updateContainerElements(e),s};function kr(o,e={}){let t;const{immediate:r,...n}=e,a=oe(!1),i=oe(!1),s=d=>t&&t.activate(d),u=d=>t&&t.deactivate(d),l=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)};return $e(()=>kt(o),d=>{d&&(t=Dr(d,{...n,onActivate(){a.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){a.value=!1,e.onDeactivate&&e.onDeactivate()}}),r&&s())},{flush:"post"}),Ot(()=>u()),{hasFocus:a,isPaused:i,activate:s,deactivate:u,pause:l,unpause:h}}class fe{constructor(e,t=!0,r=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=r,this.iframesTimeout=n}static matches(e,t){const r=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return r.every(i=>n.call(e,i)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(r=>{const n=t.filter(a=>a.contains(r)).length>0;t.indexOf(r)===-1&&!n&&t.push(r)}),t}getIframeContents(e,t,r=()=>{}){let n;try{const a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{r()}n&&t(n)}isIframeBlank(e){const t="about:blank",r=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&r!==t&&r}observeIframeLoad(e,t,r){let n=!1,a=null;const i=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,r))}catch{r()}}};e.addEventListener("load",i),a=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,r){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,r):this.getIframeContents(e,t,r):this.observeIframeLoad(e,t,r)}catch{r()}}waitForIframes(e,t){let r=0;this.forEachIframe(e,()=>!0,n=>{r++,this.waitForIframes(n.querySelector("html"),()=>{--r||t()})},n=>{n||t()})}forEachIframe(e,t,r,n=()=>{}){let a=e.querySelectorAll("iframe"),i=a.length,s=0;a=Array.prototype.slice.call(a);const u=()=>{--i<=0&&n(s)};i||u(),a.forEach(l=>{fe.matches(l,this.exclude)?u():this.onIframeReady(l,h=>{t(l)&&(s++,r(h)),u()},u)})}createIterator(e,t,r){return document.createNodeIterator(e,t,r,!1)}createInstanceOnIframe(e){return new fe(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,r){const n=e.compareDocumentPosition(r),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){const i=t.compareDocumentPosition(r),s=Node.DOCUMENT_POSITION_FOLLOWING;if(i&s)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let r;return t===null?r=e.nextNode():r=e.nextNode()&&e.nextNode(),{prevNode:t,node:r}}checkIframeFilter(e,t,r,n){let a=!1,i=!1;return n.forEach((s,u)=>{s.val===r&&(a=u,i=s.handled)}),this.compareNodeIframe(e,t,r)?(a===!1&&!i?n.push({val:r,handled:!0}):a!==!1&&!i&&(n[a].handled=!0),!0):(a===!1&&n.push({val:r,handled:!1}),!1)}handleOpenIframes(e,t,r,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,r,n)})})}iterateThroughNodes(e,t,r,n,a){const i=this.createIterator(t,e,n);let s=[],u=[],l,h,d=()=>({prevNode:h,node:l}=this.getIteratorNode(i),l);for(;d();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,h,v,s),v=>{this.createInstanceOnIframe(v).forEachNode(e,y=>u.push(y),n)}),u.push(l);u.forEach(v=>{r(v)}),this.iframes&&this.handleOpenIframes(s,e,r,n),a()}forEachNode(e,t,r,n=()=>{}){const a=this.getContexts();let i=a.length;i||n(),a.forEach(s=>{const u=()=>{this.iterateThroughNodes(e,s,t,r,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(s,u):u()})}}let Or=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new fe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const r=this.opt.log;this.opt.debug&&typeof r=="object"&&typeof r[t]=="function"&&r[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,r=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){const i=t[a],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);s!==""&&u!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(s)}|${this.escapeStr(u)})`,`gm${r}`),n+`(${this.processSynomyms(s)}|${this.processSynomyms(u)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,r,n)=>{let a=n.charAt(r+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const r=this.opt.ignorePunctuation;return Array.isArray(r)&&r.length&&t.push(this.escapeStr(r.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",r=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(a=>{r.every(i=>{if(i.indexOf(a)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let r=this.opt.accuracy,n=typeof r=="string"?r:r.value,a=typeof r=="string"?[]:r.limiters,i="";switch(a.forEach(s=>{i+=`|${this.escapeStr(s)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(r=>{this.opt.separateWordSearch?r.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):r.trim()&&t.indexOf(r)===-1&&t.push(r)}),{keywords:t.sort((r,n)=>n.length-r.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let r=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:i,valid:s}=this.callNoMatchOnInvalidRanges(n,r);s&&(n.start=a,n.length=i-a,t.push(n),r=i)}),t}callNoMatchOnInvalidRanges(e,t){let r,n,a=!1;return e&&typeof e.start<"u"?(r=parseInt(e.start,10),n=r+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-r>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:r,end:n,valid:a}}checkWhitespaceRanges(e,t,r){let n,a=!0,i=r.length,s=t-i,u=parseInt(e.start,10)-s;return u=u>i?i:u,n=u+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),u<0||n-u<0||u>i||n>i?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):r.substring(u,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:u,end:n,valid:a}}getTextNodes(e){let t="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{r.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:r})})}matchesExclude(e){return fe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,r){const n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),i=a.splitText(r-t);let s=document.createElement(n);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=a.textContent,a.parentNode.replaceChild(s,a),i}wrapRangeInMappedTextNode(e,t,r,n,a){e.nodes.every((i,s)=>{const u=e.nodes[s+1];if(typeof u>"u"||u.start>t){if(!n(i.node))return!1;const l=t-i.start,h=(r>i.end?i.end:r)-i.start,d=e.value.substr(0,i.start),v=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,h),e.value=d+v,e.nodes.forEach((y,b)=>{b>=s&&(e.nodes[b].start>0&&b!==s&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),r-=h,a(i.node.previousSibling,i.start),r>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,r,n,a){const i=t===0?0:t+1;this.getTextNodes(s=>{s.nodes.forEach(u=>{u=u.node;let l;for(;(l=e.exec(u.textContent))!==null&&l[i]!=="";){if(!r(l[i],u))continue;let h=l.index;if(i!==0)for(let d=1;d{let u;for(;(u=e.exec(s.value))!==null&&u[i]!=="";){let l=u.index;if(i!==0)for(let d=1;dr(u[i],d),(d,v)=>{e.lastIndex=v,n(d)})}a()})}wrapRangeFromIndex(e,t,r,n){this.getTextNodes(a=>{const i=a.value.length;e.forEach((s,u)=>{let{start:l,end:h,valid:d}=this.checkWhitespaceRanges(s,i,a.value);d&&this.wrapRangeInMappedTextNode(a,l,h,v=>t(v,s,a.value.substring(l,h),u),v=>{r(v,s)})}),n()})}unwrapMatches(e){const t=e.parentNode;let r=document.createDocumentFragment();for(;e.firstChild;)r.appendChild(e.removeChild(e.firstChild));t.replaceChild(r,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let r=0,n="wrapMatches";const a=i=>{r++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,s)=>this.opt.filter(s,i,r),a,()=>{r===0&&this.opt.noMatch(e),this.opt.done(r)})}mark(e,t){this.opt=t;let r=0,n="wrapMatches";const{keywords:a,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),s=this.opt.caseSensitive?"":"i",u=l=>{let h=new RegExp(this.createRegExp(l),`gm${s}`),d=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(v,y)=>this.opt.filter(y,l,r,d),v=>{d++,r++,this.opt.each(v)},()=>{d===0&&this.opt.noMatch(l),a[i-1]===l?this.opt.done(r):u(a[a.indexOf(l)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(r):u(a[0])}markRanges(e,t){this.opt=t;let r=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,i,s,u)=>this.opt.filter(a,i,s,u),(a,i)=>{r++,this.opt.each(a,i)},()=>{this.opt.done(r)})):this.opt.done(r)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,r=>{this.unwrapMatches(r)},r=>{const n=fe.matches(r,t),a=this.matchesExclude(r);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Rr(o){const e=new Or(o);return this.mark=(t,r)=>(e.mark(t,r),this),this.markRegExp=(t,r)=>(e.markRegExp(t,r),this),this.markRanges=(t,r)=>(e.markRanges(t,r),this),this.unmark=t=>(e.unmark(t),this),this}var W=function(){return W=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=o.length&&(o=void 0),{value:o&&o[r++],done:!o}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function J(o,e){var t=typeof Symbol=="function"&&o[Symbol.iterator];if(!t)return o;var r=t.call(o),n,a=[],i;try{for(;(e===void 0||e-- >0)&&!(n=r.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(i)throw i.error}}return a}var Lr="ENTRIES",Ft="KEYS",Et="VALUES",G="",Me=function(){function o(e,t){var r=e._tree,n=Array.from(r.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:r,keys:n}]:[]}return o.prototype.next=function(){var e=this.dive();return this.backtrack(),e},o.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var e=ce(this._path),t=e.node,r=e.keys;if(ce(r)===G)return{done:!1,value:this.result()};var n=t.get(ce(r));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()},o.prototype.backtrack=function(){if(this._path.length!==0){var e=ce(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}},o.prototype.key=function(){return this.set._prefix+this._path.map(function(e){var t=e.keys;return ce(t)}).filter(function(e){return e!==G}).join("")},o.prototype.value=function(){return ce(this._path).node.get(G)},o.prototype.result=function(){switch(this._type){case Et:return this.value();case Ft:return this.key();default:return[this.key(),this.value()]}},o.prototype[Symbol.iterator]=function(){return this},o}(),ce=function(o){return o[o.length-1]},Pr=function(o,e,t){var r=new Map;if(e===void 0)return r;for(var n=e.length+1,a=n+t,i=new Uint8Array(a*n).fill(t+1),s=0;st)continue e}St(o.get(y),e,t,r,n,E,i,s+y)}}}catch(f){u={error:f}}finally{try{v&&!v.done&&(l=d.return)&&l.call(d)}finally{if(u)throw u.error}}},Le=function(){function o(e,t){e===void 0&&(e=new Map),t===void 0&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return o.prototype.atPrefix=function(e){var t,r;if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");var n=J(ke(this._tree,e.slice(this._prefix.length)),2),a=n[0],i=n[1];if(a===void 0){var s=J(je(i),2),u=s[0],l=s[1];try{for(var h=D(u.keys()),d=h.next();!d.done;d=h.next()){var v=d.value;if(v!==G&&v.startsWith(l)){var y=new Map;return y.set(v.slice(l.length),u.get(v)),new o(y,e)}}}catch(b){t={error:b}}finally{try{d&&!d.done&&(r=h.return)&&r.call(h)}finally{if(t)throw t.error}}}return new o(a,e)},o.prototype.clear=function(){this._size=void 0,this._tree.clear()},o.prototype.delete=function(e){return this._size=void 0,zr(this._tree,e)},o.prototype.entries=function(){return new Me(this,Lr)},o.prototype.forEach=function(e){var t,r;try{for(var n=D(this),a=n.next();!a.done;a=n.next()){var i=J(a.value,2),s=i[0],u=i[1];e(s,u,this)}}catch(l){t={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},o.prototype.fuzzyGet=function(e,t){return Pr(this._tree,e,t)},o.prototype.get=function(e){var t=Ke(this._tree,e);return t!==void 0?t.get(G):void 0},o.prototype.has=function(e){var t=Ke(this._tree,e);return t!==void 0&&t.has(G)},o.prototype.keys=function(){return new Me(this,Ft)},o.prototype.set=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Pe(this._tree,e);return r.set(G,t),this},Object.defineProperty(o.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),o.prototype.update=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Pe(this._tree,e);return r.set(G,t(r.get(G))),this},o.prototype.fetch=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Pe(this._tree,e),n=r.get(G);return n===void 0&&r.set(G,n=t()),n},o.prototype.values=function(){return new Me(this,Et)},o.prototype[Symbol.iterator]=function(){return this.entries()},o.from=function(e){var t,r,n=new o;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=J(i.value,2),u=s[0],l=s[1];n.set(u,l)}}catch(h){t={error:h}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},o.fromObject=function(e){return o.from(Object.entries(e))},o}(),ke=function(o,e,t){var r,n;if(t===void 0&&(t=[]),e.length===0||o==null)return[o,t];try{for(var a=D(o.keys()),i=a.next();!i.done;i=a.next()){var s=i.value;if(s!==G&&e.startsWith(s))return t.push([o,s]),ke(o.get(s),e.slice(s.length),t)}}catch(u){r={error:u}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return t.push([o,e]),ke(void 0,"",t)},Ke=function(o,e){var t,r;if(e.length===0||o==null)return o;try{for(var n=D(o.keys()),a=n.next();!a.done;a=n.next()){var i=a.value;if(i!==G&&e.startsWith(i))return Ke(o.get(i),e.slice(i.length))}}catch(s){t={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},Pe=function(o,e){var t,r,n=e.length;e:for(var a=0;o&&a0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Le,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},o.prototype.discard=function(e){var t=this,r=this._idToShortId.get(e);if(r==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(r),this._storedFields.delete(r),(this._fieldLength.get(r)||[]).forEach(function(n,a){t.removeFieldLength(r,a,t._documentCount,n)}),this._fieldLength.delete(r),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},o.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var e=this._options.autoVacuum,t=e.minDirtFactor,r=e.minDirtCount,n=e.batchSize,a=e.batchWait;this.conditionalVacuum({batchSize:n,batchWait:a},{minDirtCount:r,minDirtFactor:t})}},o.prototype.discardAll=function(e){var t,r,n=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=i.value;this.discard(s)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=n}this.maybeAutoVacuum()},o.prototype.replace=function(e){var t=this._options,r=t.idField,n=t.extractField,a=n(e,r);this.discard(a),this.add(e)},o.prototype.vacuum=function(e){return e===void 0&&(e={}),this.conditionalVacuum(e)},o.prototype.conditionalVacuum=function(e,t){var r=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var n=r._enqueuedVacuumConditions;return r._enqueuedVacuumConditions=Ue,r.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},o.prototype.performVacuuming=function(e,t){return _r(this,void 0,void 0,function(){var r,n,a,i,s,u,l,h,d,v,y,b,E,g,S,T,F,L,_,V,N,R,A,O,w;return Mr(this,function(c){switch(c.label){case 0:if(r=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];n=e.batchSize||Je.batchSize,a=e.batchWait||Je.batchWait,i=1,c.label=1;case 1:c.trys.push([1,7,8,9]),s=D(this._index),u=s.next(),c.label=2;case 2:if(u.done)return[3,6];l=J(u.value,2),h=l[0],d=l[1];try{for(v=(R=void 0,D(d)),y=v.next();!y.done;y=v.next()){b=J(y.value,2),E=b[0],g=b[1];try{for(S=(O=void 0,D(g)),T=S.next();!T.done;T=S.next())F=J(T.value,1),L=F[0],!this._documentIds.has(L)&&(g.size<=1?d.delete(E):g.delete(L))}catch(f){O={error:f}}finally{try{T&&!T.done&&(w=S.return)&&w.call(S)}finally{if(O)throw O.error}}}}catch(f){R={error:f}}finally{try{y&&!y.done&&(A=v.return)&&A.call(v)}finally{if(R)throw R.error}}return this._index.get(h).size===0&&this._index.delete(h),i%n!==0?[3,4]:[4,new Promise(function(f){return setTimeout(f,a)})];case 3:c.sent(),c.label=4;case 4:i+=1,c.label=5;case 5:return u=s.next(),[3,2];case 6:return[3,9];case 7:return _=c.sent(),V={error:_},[3,9];case 8:try{u&&!u.done&&(N=s.return)&&N.call(s)}finally{if(V)throw V.error}return[7];case 9:this._dirtCount-=r,c.label=10;case 10:return[4,null];case 11:return c.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},o.prototype.vacuumConditionsMet=function(e){if(e==null)return!0;var t=e.minDirtCount,r=e.minDirtFactor;return t=t||Ve.minDirtCount,r=r||Ve.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=r},Object.defineProperty(o.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),o.prototype.has=function(e){return this._idToShortId.has(e)},o.prototype.getStoredFields=function(e){var t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)},o.prototype.search=function(e,t){var r,n;t===void 0&&(t={});var a=this.executeQuery(e,t),i=[];try{for(var s=D(a),u=s.next();!u.done;u=s.next()){var l=J(u.value,2),h=l[0],d=l[1],v=d.score,y=d.terms,b=d.match,E=y.length||1,g={id:this._documentIds.get(h),score:v*E,terms:Object.keys(b),queryTerms:y,match:b};Object.assign(g,this._storedFields.get(h)),(t.filter==null||t.filter(g))&&i.push(g)}}catch(S){r={error:S}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return e===o.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||i.sort(vt),i},o.prototype.autoSuggest=function(e,t){var r,n,a,i;t===void 0&&(t={}),t=W(W({},this._options.autoSuggestOptions),t);var s=new Map;try{for(var u=D(this.search(e,t)),l=u.next();!l.done;l=u.next()){var h=l.value,d=h.score,v=h.terms,y=v.join(" "),b=s.get(y);b!=null?(b.score+=d,b.count+=1):s.set(y,{score:d,terms:v,count:1})}}catch(_){r={error:_}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}var E=[];try{for(var g=D(s),S=g.next();!S.done;S=g.next()){var T=J(S.value,2),b=T[0],F=T[1],d=F.score,v=F.terms,L=F.count;E.push({suggestion:b,terms:v,score:d/L})}}catch(_){a={error:_}}finally{try{S&&!S.done&&(i=g.return)&&i.call(g)}finally{if(a)throw a.error}}return E.sort(vt),E},Object.defineProperty(o.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),o.loadJSON=function(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},o.getDefault=function(e){if(Be.hasOwnProperty(e))return ze(Be,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},o.loadJS=function(e,t){var r,n,a,i,s,u,l=e.index,h=e.documentCount,d=e.nextId,v=e.documentIds,y=e.fieldIds,b=e.fieldLength,E=e.averageFieldLength,g=e.storedFields,S=e.dirtCount,T=e.serializationVersion;if(T!==1&&T!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var F=new o(t);F._documentCount=h,F._nextId=d,F._documentIds=Te(v),F._idToShortId=new Map,F._fieldIds=y,F._fieldLength=Te(b),F._avgFieldLength=E,F._storedFields=Te(g),F._dirtCount=S||0,F._index=new Le;try{for(var L=D(F._documentIds),_=L.next();!_.done;_=L.next()){var V=J(_.value,2),N=V[0],R=V[1];F._idToShortId.set(R,N)}}catch(z){r={error:z}}finally{try{_&&!_.done&&(n=L.return)&&n.call(L)}finally{if(r)throw r.error}}try{for(var A=D(l),O=A.next();!O.done;O=A.next()){var w=J(O.value,2),c=w[0],f=w[1],p=new Map;try{for(var C=(s=void 0,D(Object.keys(f))),I=C.next();!I.done;I=C.next()){var M=I.value,P=f[M];T===1&&(P=P.ds),p.set(parseInt(M,10),Te(P))}}catch(z){s={error:z}}finally{try{I&&!I.done&&(u=C.return)&&u.call(C)}finally{if(s)throw s.error}}F._index.set(c,p)}}catch(z){a={error:z}}finally{try{O&&!O.done&&(i=A.return)&&i.call(A)}finally{if(a)throw a.error}}return F},o.prototype.executeQuery=function(e,t){var r=this;if(t===void 0&&(t={}),e===o.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){var n=W(W(W({},t),e),{queries:void 0}),a=e.queries.map(function(g){return r.executeQuery(g,n)});return this.combineResults(a,n.combineWith)}var i=this._options,s=i.tokenize,u=i.processTerm,l=i.searchOptions,h=W(W({tokenize:s,processTerm:u},l),t),d=h.tokenize,v=h.processTerm,y=d(e).flatMap(function(g){return v(g)}).filter(function(g){return!!g}),b=y.map(Jr(h)),E=b.map(function(g){return r.executeQuerySpec(g,h)});return this.combineResults(E,h.combineWith)},o.prototype.executeQuerySpec=function(e,t){var r,n,a,i,s=W(W({},this._options.searchOptions),t),u=(s.fields||this._options.fields).reduce(function(M,P){var z;return W(W({},M),(z={},z[P]=ze(s.boost,P)||1,z))},{}),l=s.boostDocument,h=s.weights,d=s.maxFuzzy,v=s.bm25,y=W(W({},ht.weights),h),b=y.fuzzy,E=y.prefix,g=this._index.get(e.term),S=this.termResults(e.term,e.term,1,g,u,l,v),T,F;if(e.prefix&&(T=this._index.atPrefix(e.term)),e.fuzzy){var L=e.fuzzy===!0?.2:e.fuzzy,_=L<1?Math.min(d,Math.round(e.term.length*L)):L;_&&(F=this._index.fuzzyGet(e.term,_))}if(T)try{for(var V=D(T),N=V.next();!N.done;N=V.next()){var R=J(N.value,2),A=R[0],O=R[1],w=A.length-e.term.length;if(w){F==null||F.delete(A);var c=E*A.length/(A.length+.3*w);this.termResults(e.term,A,c,O,u,l,v,S)}}}catch(M){r={error:M}}finally{try{N&&!N.done&&(n=V.return)&&n.call(V)}finally{if(r)throw r.error}}if(F)try{for(var f=D(F.keys()),p=f.next();!p.done;p=f.next()){var A=p.value,C=J(F.get(A),2),I=C[0],w=C[1];if(w){var c=b*A.length/(A.length+w);this.termResults(e.term,A,c,I,u,l,v,S)}}}catch(M){a={error:M}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(a)throw a.error}}return S},o.prototype.executeWildcardQuery=function(e){var t,r,n=new Map,a=W(W({},this._options.searchOptions),e);try{for(var i=D(this._documentIds),s=i.next();!s.done;s=i.next()){var u=J(s.value,2),l=u[0],h=u[1],d=a.boostDocument?a.boostDocument(h,"",this._storedFields.get(l)):1;n.set(l,{score:d,terms:[],match:{}})}}catch(v){t={error:v}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},o.prototype.combineResults=function(e,t){if(t===void 0&&(t=Ge),e.length===0)return new Map;var r=t.toLowerCase();return e.reduce($r[r])||new Map},o.prototype.toJSON=function(){var e,t,r,n,a=[];try{for(var i=D(this._index),s=i.next();!s.done;s=i.next()){var u=J(s.value,2),l=u[0],h=u[1],d={};try{for(var v=(r=void 0,D(h)),y=v.next();!y.done;y=v.next()){var b=J(y.value,2),E=b[0],g=b[1];d[E]=Object.fromEntries(g)}}catch(S){r={error:S}}finally{try{y&&!y.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}a.push([l,d])}}catch(S){e={error:S}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:a,serializationVersion:2}},o.prototype.termResults=function(e,t,r,n,a,i,s,u){var l,h,d,v,y;if(u===void 0&&(u=new Map),n==null)return u;try{for(var b=D(Object.keys(a)),E=b.next();!E.done;E=b.next()){var g=E.value,S=a[g],T=this._fieldIds[g],F=n.get(T);if(F!=null){var L=F.size,_=this._avgFieldLength[T];try{for(var V=(d=void 0,D(F.keys())),N=V.next();!N.done;N=V.next()){var R=N.value;if(!this._documentIds.has(R)){this.removeTerm(T,R,t),L-=1;continue}var A=i?i(this._documentIds.get(R),t,this._storedFields.get(R)):1;if(A){var O=F.get(R),w=this._fieldLength.get(R)[T],c=Kr(O,L,this._documentCount,w,_,s),f=r*S*A*c,p=u.get(R);if(p){p.score+=f,jr(p.terms,e);var C=ze(p.match,t);C?C.push(g):p.match[t]=[g]}else u.set(R,{score:f,terms:[e],match:(y={},y[t]=[g],y)})}}}catch(I){d={error:I}}finally{try{N&&!N.done&&(v=V.return)&&v.call(V)}finally{if(d)throw d.error}}}}}catch(I){l={error:I}}finally{try{E&&!E.done&&(h=b.return)&&h.call(b)}finally{if(l)throw l.error}}return u},o.prototype.addTerm=function(e,t,r){var n=this._index.fetch(r,pt),a=n.get(e);if(a==null)a=new Map,a.set(t,1),n.set(e,a);else{var i=a.get(t);a.set(t,(i||0)+1)}},o.prototype.removeTerm=function(e,t,r){if(!this._index.has(r)){this.warnDocumentChanged(t,e,r);return}var n=this._index.fetch(r,pt),a=n.get(e);a==null||a.get(t)==null?this.warnDocumentChanged(t,e,r):a.get(t)<=1?a.size<=1?n.delete(e):a.delete(t):a.set(t,a.get(t)-1),this._index.get(r).size===0&&this._index.delete(r)},o.prototype.warnDocumentChanged=function(e,t,r){var n,a;try{for(var i=D(Object.keys(this._fieldIds)),s=i.next();!s.done;s=i.next()){var u=s.value;if(this._fieldIds[u]===t){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(r,'" was not present in field "').concat(u,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(l){n={error:l}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}},o.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},o.prototype.addFields=function(e){for(var t=0;t(Ht("data-v-50b67a39"),o=o(),qt(),o),Hr=["aria-owns"],qr={class:"shell"},Yr=["title"],Xr=Y(()=>k("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)),Zr=[Xr],ea={class:"search-actions before"},ta=["title"],ra=Y(()=>k("span",{class:"vpi-arrow-left local-search-icon"},null,-1)),aa=[ra],na=["placeholder"],ia={class:"search-actions"},oa=["title"],sa=Y(()=>k("span",{class:"vpi-layout-list local-search-icon"},null,-1)),ua=[sa],la=["disabled","title"],ca=Y(()=>k("span",{class:"vpi-delete local-search-icon"},null,-1)),fa=[ca],ha=["id","role","aria-labelledby"],da=["aria-selected"],va=["href","aria-label","onMouseenter","onFocusin"],pa={class:"titles"},ya=Y(()=>k("span",{class:"title-icon"},"#",-1)),ma=["innerHTML"],ga=Y(()=>k("span",{class:"vpi-chevron-right local-search-icon"},null,-1)),ba={class:"title main"},wa=["innerHTML"],xa={key:0,class:"excerpt-wrapper"},Fa={key:0,class:"excerpt",inert:""},Ea=["innerHTML"],Sa=Y(()=>k("div",{class:"excerpt-gradient-bottom"},null,-1)),Aa=Y(()=>k("div",{class:"excerpt-gradient-top"},null,-1)),Ta={key:0,class:"no-results"},Na={class:"search-keyboard-shortcuts"},Ca=["aria-label"],Ia=Y(()=>k("span",{class:"vpi-arrow-up navigate-icon"},null,-1)),Da=[Ia],ka=["aria-label"],Oa=Y(()=>k("span",{class:"vpi-arrow-down navigate-icon"},null,-1)),Ra=[Oa],_a=["aria-label"],Ma=Y(()=>k("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)),La=[Ma],Pa=["aria-label"],za=Rt({__name:"VPLocalSearchBox",emits:["close"],setup(o,{emit:e}){var P,z;const t=e,r=xe(),n=xe(),a=xe(nr),i=rr(),{activate:s}=kr(r,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:u,theme:l}=i,h=tt(async()=>{var m,x,$,K,Q,H,B,U,X;return it(Vr.loadJSON(($=await((x=(m=a.value)[u.value])==null?void 0:x.call(m)))==null?void 0:$.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((K=l.value.search)==null?void 0:K.provider)==="local"&&((H=(Q=l.value.search.options)==null?void 0:Q.miniSearch)==null?void 0:H.searchOptions)},...((B=l.value.search)==null?void 0:B.provider)==="local"&&((X=(U=l.value.search.options)==null?void 0:U.miniSearch)==null?void 0:X.options)}))}),v=Fe(()=>{var m,x;return((m=l.value.search)==null?void 0:m.provider)==="local"&&((x=l.value.search.options)==null?void 0:x.disableQueryPersistence)===!0}).value?oe(""):_t("vitepress:local-search-filter",""),y=Mt("vitepress:local-search-detailed-list",((P=l.value.search)==null?void 0:P.provider)==="local"&&((z=l.value.search.options)==null?void 0:z.detailedView)===!0),b=Fe(()=>{var m,x,$;return((m=l.value.search)==null?void 0:m.provider)==="local"&&(((x=l.value.search.options)==null?void 0:x.disableDetailedView)===!0||(($=l.value.search.options)==null?void 0:$.detailedView)===!1)}),E=Fe(()=>{var x,$,K,Q,H,B,U;const m=((x=l.value.search)==null?void 0:x.options)??l.value.algolia;return((H=(Q=(K=($=m==null?void 0:m.locales)==null?void 0:$[u.value])==null?void 0:K.translations)==null?void 0:Q.button)==null?void 0:H.buttonText)||((U=(B=m==null?void 0:m.translations)==null?void 0:B.button)==null?void 0:U.buttonText)||"Search"});Lt(()=>{b.value&&(y.value=!1)});const g=xe([]),S=oe(!1);$e(v,()=>{S.value=!1});const T=tt(async()=>{if(n.value)return it(new Rr(n.value))},null),F=new Qr(16);Pt(()=>[h.value,v.value,y.value],async([m,x,$],K,Q)=>{var be,Qe,He,qe;(K==null?void 0:K[0])!==m&&F.clear();let H=!1;if(Q(()=>{H=!0}),!m)return;g.value=m.search(x).slice(0,16),S.value=!0;const B=$?await Promise.all(g.value.map(q=>L(q.id))):[];if(H)return;for(const{id:q,mod:ae}of B){const ne=q.slice(0,q.indexOf("#"));let te=F.get(ne);if(te)continue;te=new Map,F.set(ne,te);const Z=ae.default??ae;if(Z!=null&&Z.render||Z!=null&&Z.setup){const ie=Yt(Z);ie.config.warnHandler=()=>{},ie.provide(Xt,i),Object.defineProperties(ie.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const Ye=document.createElement("div");ie.mount(Ye),Ye.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(he=>{var et;const we=(et=he.querySelector("a"))==null?void 0:et.getAttribute("href"),Xe=(we==null?void 0:we.startsWith("#"))&&we.slice(1);if(!Xe)return;let Ze="";for(;(he=he.nextElementSibling)&&!/^h[1-6]$/i.test(he.tagName);)Ze+=he.outerHTML;te.set(Xe,Ze)}),ie.unmount()}if(H)return}const U=new Set;if(g.value=g.value.map(q=>{const[ae,ne]=q.id.split("#"),te=F.get(ae),Z=(te==null?void 0:te.get(ne))??"";for(const ie in q.match)U.add(ie);return{...q,text:Z}}),await de(),H)return;await new Promise(q=>{var ae;(ae=T.value)==null||ae.unmark({done:()=>{var ne;(ne=T.value)==null||ne.markRegExp(M(U),{done:q})}})});const X=((be=r.value)==null?void 0:be.querySelectorAll(".result .excerpt"))??[];for(const q of X)(Qe=q.querySelector('mark[data-markjs="true"]'))==null||Qe.scrollIntoView({block:"center"});(qe=(He=n.value)==null?void 0:He.firstElementChild)==null||qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function L(m){const x=Zt(m.slice(0,m.indexOf("#")));try{if(!x)throw new Error(`Cannot find file for id: ${m}`);return{id:m,mod:await import(x)}}catch($){return console.error($),{id:m,mod:{}}}}const _=oe(),V=Fe(()=>{var m;return((m=v.value)==null?void 0:m.length)<=0});function N(m=!0){var x,$;(x=_.value)==null||x.focus(),m&&(($=_.value)==null||$.select())}Re(()=>{N()});function R(m){m.pointerType==="mouse"&&N()}const A=oe(-1),O=oe(!1);$e(g,m=>{A.value=m.length?0:-1,w()});function w(){de(()=>{const m=document.querySelector(".result.selected");m==null||m.scrollIntoView({block:"nearest"})})}Ee("ArrowUp",m=>{m.preventDefault(),A.value--,A.value<0&&(A.value=g.value.length-1),O.value=!0,w()}),Ee("ArrowDown",m=>{m.preventDefault(),A.value++,A.value>=g.value.length&&(A.value=0),O.value=!0,w()});const c=zt();Ee("Enter",m=>{if(m.isComposing||m.target instanceof HTMLButtonElement&&m.target.type!=="submit")return;const x=g.value[A.value];if(m.target instanceof HTMLInputElement&&!x){m.preventDefault();return}x&&(c.go(x.id),t("close"))}),Ee("Escape",()=>{t("close")});const p=ar({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Re(()=>{window.history.pushState(null,"",null)}),Bt("popstate",m=>{m.preventDefault(),t("close")});const C=Vt($t?document.body:null);Re(()=>{de(()=>{C.value=!0,de().then(()=>s())})}),Wt(()=>{C.value=!1});function I(){v.value="",de().then(()=>N(!1))}function M(m){return new RegExp([...m].sort((x,$)=>$.length-x.length).map(x=>`(${er(x)})`).join("|"),"gi")}return(m,x)=>{var $,K,Q,H;return ee(),Kt(Qt,{to:"body"},[k("div",{ref_key:"el",ref:r,role:"button","aria-owns":($=g.value)!=null&&$.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[k("div",{class:"backdrop",onClick:x[0]||(x[0]=B=>m.$emit("close"))}),k("div",qr,[k("form",{class:"search-bar",onPointerup:x[4]||(x[4]=B=>R(B)),onSubmit:x[5]||(x[5]=Jt(()=>{},["prevent"]))},[k("label",{title:E.value,id:"localsearch-label",for:"localsearch-input"},Zr,8,Yr),k("div",ea,[k("button",{class:"back-button",title:j(p)("modal.backButtonTitle"),onClick:x[1]||(x[1]=B=>m.$emit("close"))},aa,8,ta)]),Ut(k("input",{ref_key:"searchInput",ref:_,"onUpdate:modelValue":x[2]||(x[2]=B=>Gt(v)?v.value=B:null),placeholder:E.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,na),[[jt,j(v)]]),k("div",ia,[b.value?Se("",!0):(ee(),re("button",{key:0,class:rt(["toggle-layout-button",{"detailed-list":j(y)}]),type:"button",title:j(p)("modal.displayDetails"),onClick:x[3]||(x[3]=B=>A.value>-1&&(y.value=!j(y)))},ua,10,oa)),k("button",{class:"clear-button",type:"reset",disabled:V.value,title:j(p)("modal.resetButtonTitle"),onClick:I},fa,8,la)])],32),k("ul",{ref_key:"resultsEl",ref:n,id:(K=g.value)!=null&&K.length?"localsearch-list":void 0,role:(Q=g.value)!=null&&Q.length?"listbox":void 0,"aria-labelledby":(H=g.value)!=null&&H.length?"localsearch-label":void 0,class:"results",onMousemove:x[7]||(x[7]=B=>O.value=!1)},[(ee(!0),re(nt,null,at(g.value,(B,U)=>(ee(),re("li",{key:B.id,role:"option","aria-selected":A.value===U?"true":"false"},[k("a",{href:B.id,class:rt(["result",{selected:A.value===U}]),"aria-label":[...B.titles,B.title].join(" > "),onMouseenter:X=>!O.value&&(A.value=U),onFocusin:X=>A.value=U,onClick:x[6]||(x[6]=X=>m.$emit("close"))},[k("div",null,[k("div",pa,[ya,(ee(!0),re(nt,null,at(B.titles,(X,be)=>(ee(),re("span",{key:be,class:"title"},[k("span",{class:"text",innerHTML:X},null,8,ma),ga]))),128)),k("span",ba,[k("span",{class:"text",innerHTML:B.title},null,8,wa)])]),j(y)?(ee(),re("div",xa,[B.text?(ee(),re("div",Fa,[k("div",{class:"vp-doc",innerHTML:B.text},null,8,Ea)])):Se("",!0),Sa,Aa])):Se("",!0)])],42,va)],8,da))),128)),j(v)&&!g.value.length&&S.value?(ee(),re("li",Ta,[ve(pe(j(p)("modal.noResultsText"))+' "',1),k("strong",null,pe(j(v)),1),ve('" ')])):Se("",!0)],40,ha),k("div",Na,[k("span",null,[k("kbd",{"aria-label":j(p)("modal.footer.navigateUpKeyAriaLabel")},Da,8,Ca),k("kbd",{"aria-label":j(p)("modal.footer.navigateDownKeyAriaLabel")},Ra,8,ka),ve(" "+pe(j(p)("modal.footer.navigateText")),1)]),k("span",null,[k("kbd",{"aria-label":j(p)("modal.footer.selectKeyAriaLabel")},La,8,_a),ve(" "+pe(j(p)("modal.footer.selectText")),1)]),k("span",null,[k("kbd",{"aria-label":j(p)("modal.footer.closeKeyAriaLabel")},"esc",8,Pa),ve(" "+pe(j(p)("modal.footer.closeText")),1)])])])],8,Hr)])}}}),Ja=tr(za,[["__scopeId","data-v-50b67a39"]]);export{Ja as default}; diff --git a/assets/chunks/framework.cw3A9gZ3.js b/assets/chunks/framework.cw3A9gZ3.js new file mode 100644 index 00000000..b2682ca9 --- /dev/null +++ b/assets/chunks/framework.cw3A9gZ3.js @@ -0,0 +1,17 @@ +/** +* @vue/shared v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function ws(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const te={},mt=[],xe=()=>{},Mi=()=>!1,kt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Es=e=>e.startsWith("onUpdate:"),le=Object.assign,Cs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},$i=Object.prototype.hasOwnProperty,z=(e,t)=>$i.call(e,t),k=Array.isArray,_t=e=>Sn(e)==="[object Map]",Jr=e=>Sn(e)==="[object Set]",K=e=>typeof e=="function",oe=e=>typeof e=="string",Ze=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Qr=e=>(Z(e)||K(e))&&K(e.then)&&K(e.catch),Zr=Object.prototype.toString,Sn=e=>Zr.call(e),Pi=e=>Sn(e).slice(8,-1),eo=e=>Sn(e)==="[object Object]",xs=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yt=ws(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ni=/-(\w)/g,Fe=Tn(e=>e.replace(Ni,(t,n)=>n?n.toUpperCase():"")),Fi=/\B([A-Z])/g,ft=Tn(e=>e.replace(Fi,"-$1").toLowerCase()),An=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),un=Tn(e=>e?`on${An(e)}`:""),Je=(e,t)=>!Object.is(e,t),fn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},cs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Hi=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let Qs;const no=()=>Qs||(Qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ss(e){if(k(e)){const t={};for(let n=0;n{if(n){const s=n.split(Vi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ts(e){let t="";if(oe(e))t=e;else if(k(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Ki=e=>oe(e)?e:e==null?"":k(e)||Z(e)&&(e.toString===Zr||!K(e.toString))?ro(e)?Ki(e.value):JSON.stringify(e,oo,2):String(e),oo=(e,t)=>ro(t)?oo(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[kn(s,o)+" =>"]=r,n),{})}:Jr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>kn(n))}:Ze(t)?kn(t):Z(t)&&!k(t)&&!eo(t)?String(t):t,kn=(e,t="")=>{var n;return Ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let we;class Wi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){we=this}off(){we=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),tt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ye,n=ct;try{return Ye=!0,ct=this,this._runnings++,Zs(this),this.fn()}finally{er(this),this._runnings--,ct=n,Ye=t}}stop(){this.active&&(Zs(this),er(this),this.onStop&&this.onStop(),this.active=!1)}}function Xi(e){return e.value}function Zs(e){e._trackId++,e._depsLength=0}function er(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},mn=new WeakMap,at=Symbol(""),fs=Symbol("");function be(e,t,n){if(Ye&&ct){let s=mn.get(e);s||mn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=fo(()=>s.delete(n))),ao(ct,r)}}function De(e,t,n,s,r,o){const i=mn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&k(e)){const c=Number(s);i.forEach((a,f)=>{(f==="length"||!Ze(f)&&f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":k(e)?xs(n)&&l.push(i.get("length")):(l.push(i.get(at)),_t(e)&&l.push(i.get(fs)));break;case"delete":k(e)||(l.push(i.get(at)),_t(e)&&l.push(i.get(fs)));break;case"set":_t(e)&&l.push(i.get(at));break}Rs();for(const c of l)c&&uo(c,4);Os()}function Yi(e,t){const n=mn.get(e);return n&&n.get(t)}const zi=ws("__proto__,__v_isRef,__isVue"),ho=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze)),tr=Ji();function Ji(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=J(this);for(let o=0,i=this.length;o{e[t]=function(...n){et(),Rs();const s=J(this)[t].apply(this,n);return Os(),tt(),s}}),e}function Qi(e){Ze(e)||(e=String(e));const t=J(this);return be(t,"has",e),t.hasOwnProperty(e)}class po{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?fl:yo:o?_o:mo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=k(t);if(!r){if(i&&z(tr,n))return Reflect.get(tr,n,s);if(n==="hasOwnProperty")return Qi}const l=Reflect.get(t,n,s);return(Ze(n)?ho.has(n):zi(n))||(r||be(t,"get",n),o)?l:de(l)?i&&xs(n)?l:l.value:Z(l)?r?Ln(l):On(l):l}}class go extends po{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Ft(o);if(!_n(s)&&!Ft(s)&&(o=J(o),s=J(s)),!k(t)&&de(o)&&!de(s))return c?!1:(o.value=s,!0)}const i=k(t)&&xs(n)?Number(n)e,Rn=e=>Reflect.getPrototypeOf(e);function zt(e,t,n=!1,s=!1){e=e.__v_raw;const r=J(e),o=J(t);n||(Je(t,o)&&be(r,"get",t),be(r,"get",o));const{has:i}=Rn(r),l=s?Ls:n?$s:Ht;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Jt(e,t=!1){const n=this.__v_raw,s=J(n),r=J(e);return t||(Je(e,r)&&be(s,"has",e),be(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Qt(e,t=!1){return e=e.__v_raw,!t&&be(J(e),"iterate",at),Reflect.get(e,"size",e)}function nr(e){e=J(e);const t=J(this);return Rn(t).has.call(t,e)||(t.add(e),De(t,"add",e,e)),this}function sr(e,t){t=J(t);const n=J(this),{has:s,get:r}=Rn(n);let o=s.call(n,e);o||(e=J(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Je(t,i)&&De(n,"set",e,t):De(n,"add",e,t),this}function rr(e){const t=J(this),{has:n,get:s}=Rn(t);let r=n.call(t,e);r||(e=J(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&De(t,"delete",e,void 0),o}function or(){const e=J(this),t=e.size!==0,n=e.clear();return t&&De(e,"clear",void 0,void 0),n}function Zt(e,t){return function(s,r){const o=this,i=o.__v_raw,l=J(i),c=t?Ls:e?$s:Ht;return!e&&be(l,"iterate",at),i.forEach((a,f)=>s.call(r,c(a),c(f),o))}}function en(e,t,n){return function(...s){const r=this.__v_raw,o=J(r),i=_t(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),f=n?Ls:t?$s:Ht;return!t&&be(o,"iterate",c?fs:at),{next(){const{value:h,done:m}=a.next();return m?{value:h,done:m}:{value:l?[f(h[0]),f(h[1])]:f(h),done:m}},[Symbol.iterator](){return this}}}}function Be(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sl(){const e={get(o){return zt(this,o)},get size(){return Qt(this)},has:Jt,add:nr,set:sr,delete:rr,clear:or,forEach:Zt(!1,!1)},t={get(o){return zt(this,o,!1,!0)},get size(){return Qt(this)},has:Jt,add:nr,set:sr,delete:rr,clear:or,forEach:Zt(!1,!0)},n={get(o){return zt(this,o,!0)},get size(){return Qt(this,!0)},has(o){return Jt.call(this,o,!0)},add:Be("add"),set:Be("set"),delete:Be("delete"),clear:Be("clear"),forEach:Zt(!0,!1)},s={get(o){return zt(this,o,!0,!0)},get size(){return Qt(this,!0)},has(o){return Jt.call(this,o,!0)},add:Be("add"),set:Be("set"),delete:Be("delete"),clear:Be("clear"),forEach:Zt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=en(o,!1,!1),n[o]=en(o,!0,!1),t[o]=en(o,!1,!0),s[o]=en(o,!0,!0)}),[e,n,t,s]}const[rl,ol,il,ll]=sl();function Is(e,t){const n=t?e?ll:il:e?ol:rl;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,o)}const cl={get:Is(!1,!1)},al={get:Is(!1,!0)},ul={get:Is(!0,!1)};const mo=new WeakMap,_o=new WeakMap,yo=new WeakMap,fl=new WeakMap;function dl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hl(e){return e.__v_skip||!Object.isExtensible(e)?0:dl(Pi(e))}function On(e){return Ft(e)?e:Ms(e,!1,el,cl,mo)}function pl(e){return Ms(e,!1,nl,al,_o)}function Ln(e){return Ms(e,!0,tl,ul,yo)}function Ms(e,t,n,s,r){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=hl(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Rt(e){return Ft(e)?Rt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ft(e){return!!(e&&e.__v_isReadonly)}function _n(e){return!!(e&&e.__v_isShallow)}function bo(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function dn(e){return Object.isExtensible(e)&&to(e,"__v_skip",!0),e}const Ht=e=>Z(e)?On(e):e,$s=e=>Z(e)?Ln(e):e;class vo{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new As(()=>t(this._value),()=>Ot(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=J(this);return(!t._cacheable||t.effect.dirty)&&Je(t._value,t._value=t.effect.run())&&Ot(t,4),Ps(t),t.effect._dirtyLevel>=2&&Ot(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function gl(e,t,n=!1){let s,r;const o=K(e);return o?(s=e,r=xe):(s=e.get,r=e.set),new vo(s,r,o||!r,n)}function Ps(e){var t;Ye&&ct&&(e=J(e),ao(ct,(t=e.dep)!=null?t:e.dep=fo(()=>e.dep=void 0,e instanceof vo?e:void 0)))}function Ot(e,t=4,n,s){e=J(e);const r=e.dep;r&&uo(r,t)}function de(e){return!!(e&&e.__v_isRef===!0)}function re(e){return wo(e,!1)}function Ns(e){return wo(e,!0)}function wo(e,t){return de(e)?e:new ml(e,t)}class ml{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:Ht(t)}get value(){return Ps(this),this._value}set value(t){const n=this.__v_isShallow||_n(t)||Ft(t);t=n?t:J(t),Je(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Ht(t),Ot(this,4))}}function Eo(e){return de(e)?e.value:e}const _l={get:(e,t,n)=>Eo(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return de(r)&&!de(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Co(e){return Rt(e)?e:new Proxy(e,_l)}class yl{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Ps(this),()=>Ot(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function bl(e){return new yl(e)}function ru(e){const t=k(e)?new Array(e.length):{};for(const n in e)t[n]=xo(e,n);return t}class vl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Yi(J(this._object),this._key)}}class wl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function El(e,t,n){return de(e)?e:K(e)?new wl(e):Z(e)&&arguments.length>1?xo(e,t,n):re(e)}function xo(e,t,n){const s=e[t];return de(s)?s:new vl(e,t,n)}/** +* @vue/runtime-core v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ze(e,t,n,s){try{return s?e(...s):e()}catch(r){Kt(r,t,n)}}function Se(e,t,n,s){if(K(e)){const r=ze(e,t,n,s);return r&&Qr(r)&&r.catch(o=>{Kt(o,t,n)}),r}if(k(e)){const r=[];for(let o=0;o>>1,r=pe[s],o=Vt(r);o$e&&pe.splice(t,1)}function Tl(e){k(e)?bt.push(...e):(!We||!We.includes(e,e.allowRecurse?it+1:it))&&bt.push(e),To()}function ir(e,t,n=jt?$e+1:0){for(;nVt(n)-Vt(s));if(bt.length=0,We){We.push(...t);return}for(We=t,it=0;ite.id==null?1/0:e.id,Al=(e,t)=>{const n=Vt(e)-Vt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ao(e){ds=!1,jt=!0,pe.sort(Al);try{for($e=0;$eoe(y)?y.trim():y)),h&&(r=n.map(cs))}let l,c=s[l=un(t)]||s[l=un(Fe(t))];!c&&o&&(c=s[l=un(ft(t))]),c&&Se(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Se(a,e,6,r)}}function Ro(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=a=>{const f=Ro(a,t,!0);f&&(l=!0,le(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Z(e)&&s.set(e,null),null):(k(o)?o.forEach(c=>i[c]=null):le(i,o),Z(e)&&s.set(e,i),i)}function $n(e,t){return!e||!kt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,ft(t))||z(e,t))}let fe=null,Pn=null;function bn(e){const t=fe;return fe=e,Pn=e&&e.type.__scopeId||null,t}function ou(e){Pn=e}function iu(){Pn=null}function Ol(e,t=fe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Er(-1);const o=bn(t);let i;try{i=e(...r)}finally{bn(o),s._d&&Er(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Kn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:f,props:h,data:m,setupState:y,ctx:C,inheritAttrs:I}=e,H=bn(e);let W,D;try{if(n.shapeFlag&4){const _=r||s,M=_;W=Ae(a.call(M,_,f,h,y,m,C)),D=l}else{const _=t;W=Ae(_.length>1?_(h,{attrs:l,slots:i,emit:c}):_(h,null)),D=t.props?l:Ll(l)}}catch(_){Pt.length=0,Kt(_,e,1),W=ie(me)}let p=W;if(D&&I!==!1){const _=Object.keys(D),{shapeFlag:M}=p;_.length&&M&7&&(o&&_.some(Es)&&(D=Il(D,o)),p=Qe(p,D,!1,!0))}return n.dirs&&(p=Qe(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),W=p,bn(H),W}const Ll=e=>{let t;for(const n in e)(n==="class"||n==="style"||kt(n))&&((t||(t={}))[n]=e[n]);return t},Il=(e,t)=>{const n={};for(const s in e)(!Es(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ml(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?lr(s,i,a):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function Io(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):Tl(e)}function Nn(e,t,n=ue,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{et();const l=qt(n),c=Se(t,n,e,i);return l(),tt(),c});return s?r.unshift(o):r.push(o),o}}const Ue=e=>(t,n=ue)=>{(!Gt||e==="sp")&&Nn(e,(...s)=>t(...s),n)},Nl=Ue("bm"),xt=Ue("m"),Fl=Ue("bu"),Hl=Ue("u"),Mo=Ue("bum"),Fn=Ue("um"),jl=Ue("sp"),Vl=Ue("rtg"),Dl=Ue("rtc");function Ul(e,t=ue){Nn("ec",e,t)}function au(e,t){if(fe===null)return e;const n=Vn(fe),s=e.dirs||(e.dirs=[]);for(let r=0;rt(i,l,void 0,o));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;l!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function fu(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,a,f=0;const h=()=>(f++,c=null,m()),m=()=>{let y;return c||(y=c=t().catch(C=>{if(C=C instanceof Error?C:new Error(String(C)),l)return new Promise((I,H)=>{l(C,()=>I(h()),()=>H(C),f+1)});throw C}).then(C=>y!==c&&c?c:(C&&(C.__esModule||C[Symbol.toStringTag]==="Module")&&(C=C.default),a=C,C)))};return js({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return a},setup(){const y=ue;if(a)return()=>Wn(a,y);const C=D=>{c=null,Kt(D,y,13,!s)};if(i&&y.suspense||Gt)return m().then(D=>()=>Wn(D,y)).catch(D=>(C(D),()=>s?ie(s,{error:D}):null));const I=re(!1),H=re(),W=re(!!r);return r&&setTimeout(()=>{W.value=!1},r),o!=null&&setTimeout(()=>{if(!I.value&&!H.value){const D=new Error(`Async component timed out after ${o}ms.`);C(D),H.value=D}},o),m().then(()=>{I.value=!0,y.parent&&Wt(y.parent.vnode)&&(y.parent.effect.dirty=!0,Mn(y.parent.update))}).catch(D=>{C(D),H.value=D}),()=>{if(I.value&&a)return Wn(a,y);if(H.value&&s)return ie(s,{error:H.value});if(n&&!W.value)return ie(n)}}})}function Wn(e,t){const{ref:n,props:s,children:r,ce:o}=t.vnode,i=ie(e,s,r);return i.ref=n,i.ce=o,delete t.vnode.ce,i}function du(e,t,n={},s,r){if(fe.isCE||fe.parent&&vt(fe.parent)&&fe.parent.isCE)return t!=="default"&&(n.name=t),ie("slot",n,s&&s());let o=e[t];o&&o._c&&(o._d=!1),ei();const i=o&&$o(o(n)),l=ni(ye,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function $o(e){return e.some(t=>Cn(t)?!(t.type===me||t.type===ye&&!$o(t.children)):!0)?e:null}function hu(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:un(s)]=e[s];return n}const hs=e=>e?ii(e)?Vn(e):hs(e.parent):null,Lt=le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>hs(e.parent),$root:e=>hs(e.root),$emit:e=>e.emit,$options:e=>Vs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Mn(e.update)}),$nextTick:e=>e.n||(e.n=In.bind(e.proxy)),$watch:e=>fc.bind(e)}),qn=(e,t)=>e!==te&&!e.__isScriptSetup&&z(e,t),Bl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const y=i[t];if(y!==void 0)switch(y){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(qn(s,t))return i[t]=1,s[t];if(r!==te&&z(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&z(a,t))return i[t]=3,o[t];if(n!==te&&z(n,t))return i[t]=4,n[t];ps&&(i[t]=0)}}const f=Lt[t];let h,m;if(f)return t==="$attrs"&&be(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==te&&z(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,z(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return qn(r,t)?(r[t]=n,!0):s!==te&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==te&&z(e,i)||qn(t,i)||(l=o[0])&&z(l,i)||z(s,i)||z(Lt,i)||z(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function pu(){return kl().slots}function kl(){const e=jn();return e.setupContext||(e.setupContext=ci(e))}function ar(e){return k(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ps=!0;function Kl(e){const t=Vs(e),n=e.proxy,s=e.ctx;ps=!1,t.beforeCreate&&ur(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:m,beforeUpdate:y,updated:C,activated:I,deactivated:H,beforeDestroy:W,beforeUnmount:D,destroyed:p,unmounted:_,render:M,renderTracked:A,renderTriggered:N,errorCaptured:F,serverPrefetch:L,expose:w,inheritAttrs:P,components:T,directives:G,filters:ne}=t;if(a&&Wl(a,s,null),i)for(const Y in i){const V=i[Y];K(V)&&(s[Y]=V.bind(n))}if(r){const Y=r.call(n,n);Z(Y)&&(e.data=On(Y))}if(ps=!0,o)for(const Y in o){const V=o[Y],He=K(V)?V.bind(n,n):K(V.get)?V.get.bind(n,n):xe,Xt=!K(V)&&K(V.set)?V.set.bind(n):xe,nt=se({get:He,set:Xt});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Le=>nt.value=Le})}if(l)for(const Y in l)Po(l[Y],s,n,Y);if(c){const Y=K(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(V=>{Jl(V,Y[V])})}f&&ur(f,e,"c");function U(Y,V){k(V)?V.forEach(He=>Y(He.bind(n))):V&&Y(V.bind(n))}if(U(Nl,h),U(xt,m),U(Fl,y),U(Hl,C),U(dc,I),U(hc,H),U(Ul,F),U(Dl,A),U(Vl,N),U(Mo,D),U(Fn,_),U(jl,L),k(w))if(w.length){const Y=e.exposed||(e.exposed={});w.forEach(V=>{Object.defineProperty(Y,V,{get:()=>n[V],set:He=>n[V]=He})})}else e.exposed||(e.exposed={});M&&e.render===xe&&(e.render=M),P!=null&&(e.inheritAttrs=P),T&&(e.components=T),G&&(e.directives=G)}function Wl(e,t,n=xe){k(e)&&(e=gs(e));for(const s in e){const r=e[s];let o;Z(r)?"default"in r?o=wt(r.from||s,r.default,!0):o=wt(r.from||s):o=wt(r),de(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function ur(e,t,n){Se(k(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Po(e,t,n,s){const r=s.includes(".")?Go(n,s):()=>n[s];if(oe(e)){const o=t[e];K(o)&&Pe(r,o)}else if(K(e))Pe(r,e.bind(n));else if(Z(e))if(k(e))e.forEach(o=>Po(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Pe(r,o,e)}}function Vs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>vn(c,a,i,!0)),vn(c,t,i)),Z(t)&&o.set(t,c),c}function vn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&vn(e,o,n,!0),r&&r.forEach(i=>vn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=ql[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const ql={data:fr,props:dr,emits:dr,methods:At,computed:At,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:At,directives:At,watch:Xl,provide:fr,inject:Gl};function fr(e,t){return t?e?function(){return le(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Gl(e,t){return At(gs(e),gs(t))}function gs(e){if(k(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const Fo={},Ho=()=>Object.create(Fo),jo=e=>Object.getPrototypeOf(e)===Fo;function Ql(e,t,n,s=!1){const r={},o=Ho();e.propsDefaults=Object.create(null),Vo(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:pl(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Zl(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=J(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,y]=Do(h,t,!0);le(i,m),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return Z(e)&&s.set(e,mt),mt;if(k(o))for(let f=0;f-1,y[1]=I<0||C-1||z(y,"default"))&&l.push(h)}}}const a=[i,l];return Z(e)&&s.set(e,a),a}function hr(e){return e[0]!=="$"&&!yt(e)}function pr(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function gr(e,t){return pr(e)===pr(t)}function mr(e,t){return k(t)?t.findIndex(n=>gr(n,e)):K(t)&&gr(t,e)?0:-1}const Uo=e=>e[0]==="_"||e==="$stable",Ds=e=>k(e)?e.map(Ae):[Ae(e)],ec=(e,t,n)=>{if(t._n)return t;const s=Ol((...r)=>Ds(t(...r)),n);return s._c=!1,s},Bo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Uo(r))continue;const o=e[r];if(K(o))t[r]=ec(r,o,s);else if(o!=null){const i=Ds(o);t[r]=()=>i}}},ko=(e,t)=>{const n=Ds(t);e.slots.default=()=>n},tc=(e,t)=>{const n=e.slots=Ho();if(e.vnode.shapeFlag&32){const s=t._;s?(le(n,t),to(n,"_",s,!0)):Bo(t,n)}else t&&ko(e,t)},nc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=te;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(le(r,t),!n&&l===1&&delete r._):(o=!t.$stable,Bo(t,r)),i=t}else t&&(ko(e,t),i={default:1});if(o)for(const l in r)!Uo(l)&&i[l]==null&&delete r[l]};function wn(e,t,n,s,r=!1){if(k(e)){e.forEach((m,y)=>wn(m,t&&(k(t)?t[y]:t),n,s,r));return}if(vt(s)&&!r)return;const o=s.shapeFlag&4?Vn(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,f=l.refs===te?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(oe(a)?(f[a]=null,z(h,a)&&(h[a]=null)):de(a)&&(a.value=null)),K(c))ze(c,l,12,[i,f]);else{const m=oe(c),y=de(c);if(m||y){const C=()=>{if(e.f){const I=m?z(h,c)?h[c]:f[c]:c.value;r?k(I)&&Cs(I,o):k(I)?I.includes(o)||I.push(o):m?(f[c]=[o],z(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else m?(f[c]=i,z(h,c)&&(h[c]=i)):y&&(c.value=i,e.k&&(f[e.k]=i))};i?(C.id=-1,_e(C,n)):C()}}}let _r=!1;const pt=()=>{_r||(console.error("Hydration completed but contains mismatches."),_r=!0)},sc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",rc=e=>e.namespaceURI.includes("MathML"),tn=e=>{if(sc(e))return"svg";if(rc(e))return"mathml"},nn=e=>e.nodeType===8;function oc(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:a}}=e,f=(p,_)=>{if(!_.hasChildNodes()){n(null,p,_),yn(),_._vnode=p;return}h(_.firstChild,p,null,null,null),yn(),_._vnode=p},h=(p,_,M,A,N,F=!1)=>{F=F||!!_.dynamicChildren;const L=nn(p)&&p.data==="[",w=()=>I(p,_,M,A,N,L),{type:P,ref:T,shapeFlag:G,patchFlag:ne}=_;let ce=p.nodeType;_.el=p,ne===-2&&(F=!1,_.dynamicChildren=null);let U=null;switch(P){case Et:ce!==3?_.children===""?(c(_.el=r(""),i(p),p),U=p):U=w():(p.data!==_.children&&(pt(),p.data=_.children),U=o(p));break;case me:D(p)?(U=o(p),W(_.el=p.content.firstChild,p,M)):ce!==8||L?U=w():U=o(p);break;case $t:if(L&&(p=o(p),ce=p.nodeType),ce===1||ce===3){U=p;const Y=!_.children.length;for(let V=0;V<_.staticCount;V++)Y&&(_.children+=U.nodeType===1?U.outerHTML:U.data),V===_.staticCount-1&&(_.anchor=U),U=o(U);return L?o(U):U}else w();break;case ye:L?U=C(p,_,M,A,N,F):U=w();break;default:if(G&1)(ce!==1||_.type.toLowerCase()!==p.tagName.toLowerCase())&&!D(p)?U=w():U=m(p,_,M,A,N,F);else if(G&6){_.slotScopeIds=N;const Y=i(p);if(L?U=H(p):nn(p)&&p.data==="teleport start"?U=H(p,p.data,"teleport end"):U=o(p),t(_,Y,null,M,A,tn(Y),F),vt(_)){let V;L?(V=ie(ye),V.anchor=U?U.previousSibling:Y.lastChild):V=p.nodeType===3?oi(""):ie("div"),V.el=p,_.component.subTree=V}}else G&64?ce!==8?U=w():U=_.type.hydrate(p,_,M,A,N,F,e,y):G&128&&(U=_.type.hydrate(p,_,M,A,tn(i(p)),N,F,e,h))}return T!=null&&wn(T,null,A,_),U},m=(p,_,M,A,N,F)=>{F=F||!!_.dynamicChildren;const{type:L,props:w,patchFlag:P,shapeFlag:T,dirs:G,transition:ne}=_,ce=L==="input"||L==="option";if(ce||P!==-1){G&&Me(_,null,M,"created");let U=!1;if(D(p)){U=Wo(A,ne)&&M&&M.vnode.props&&M.vnode.props.appear;const V=p.content.firstChild;U&&ne.beforeEnter(V),W(V,p,M),_.el=p=V}if(T&16&&!(w&&(w.innerHTML||w.textContent))){let V=y(p.firstChild,_,p,M,A,N,F);for(;V;){pt();const He=V;V=V.nextSibling,l(He)}}else T&8&&p.textContent!==_.children&&(pt(),p.textContent=_.children);if(w)if(ce||!F||P&48)for(const V in w)(ce&&(V.endsWith("value")||V==="indeterminate")||kt(V)&&!yt(V)||V[0]===".")&&s(p,V,null,w[V],void 0,void 0,M);else w.onClick&&s(p,"onClick",null,w.onClick,void 0,void 0,M);let Y;(Y=w&&w.onVnodeBeforeMount)&&Ce(Y,M,_),G&&Me(_,null,M,"beforeMount"),((Y=w&&w.onVnodeMounted)||G||U)&&Io(()=>{Y&&Ce(Y,M,_),U&&ne.enter(p),G&&Me(_,null,M,"mounted")},A)}return p.nextSibling},y=(p,_,M,A,N,F,L)=>{L=L||!!_.dynamicChildren;const w=_.children,P=w.length;for(let T=0;T{const{slotScopeIds:L}=_;L&&(N=N?N.concat(L):L);const w=i(p),P=y(o(p),_,w,M,A,N,F);return P&&nn(P)&&P.data==="]"?o(_.anchor=P):(pt(),c(_.anchor=a("]"),w,P),P)},I=(p,_,M,A,N,F)=>{if(pt(),_.el=null,F){const P=H(p);for(;;){const T=o(p);if(T&&T!==P)l(T);else break}}const L=o(p),w=i(p);return l(p),n(null,_,w,L,M,A,tn(w),N),L},H=(p,_="[",M="]")=>{let A=0;for(;p;)if(p=o(p),p&&nn(p)&&(p.data===_&&A++,p.data===M)){if(A===0)return o(p);A--}return p},W=(p,_,M)=>{const A=_.parentNode;A&&A.replaceChild(p,_);let N=M;for(;N;)N.vnode.el===_&&(N.vnode.el=N.subTree.el=p),N=N.parent},D=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[f,h]}const _e=Io;function ic(e){return Ko(e)}function lc(e){return Ko(e,oc)}function Ko(e,t){const n=no();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:m,setScopeId:y=xe,insertStaticContent:C}=e,I=(u,d,g,b=null,v=null,S=null,O=void 0,x=null,R=!!d.dynamicChildren)=>{if(u===d)return;u&&!lt(u,d)&&(b=Yt(u),Le(u,v,S,!0),u=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:E,ref:$,shapeFlag:B}=d;switch(E){case Et:H(u,d,g,b);break;case me:W(u,d,g,b);break;case $t:u==null&&D(d,g,b,O);break;case ye:T(u,d,g,b,v,S,O,x,R);break;default:B&1?M(u,d,g,b,v,S,O,x,R):B&6?G(u,d,g,b,v,S,O,x,R):(B&64||B&128)&&E.process(u,d,g,b,v,S,O,x,R,dt)}$!=null&&v&&wn($,u&&u.ref,S,d||u,!d)},H=(u,d,g,b)=>{if(u==null)s(d.el=l(d.children),g,b);else{const v=d.el=u.el;d.children!==u.children&&a(v,d.children)}},W=(u,d,g,b)=>{u==null?s(d.el=c(d.children||""),g,b):d.el=u.el},D=(u,d,g,b)=>{[u.el,u.anchor]=C(u.children,d,g,b,u.el,u.anchor)},p=({el:u,anchor:d},g,b)=>{let v;for(;u&&u!==d;)v=m(u),s(u,g,b),u=v;s(d,g,b)},_=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=m(u),r(u),u=g;r(d)},M=(u,d,g,b,v,S,O,x,R)=>{d.type==="svg"?O="svg":d.type==="math"&&(O="mathml"),u==null?A(d,g,b,v,S,O,x,R):L(u,d,v,S,O,x,R)},A=(u,d,g,b,v,S,O,x)=>{let R,E;const{props:$,shapeFlag:B,transition:j,dirs:q}=u;if(R=u.el=i(u.type,S,$&&$.is,$),B&8?f(R,u.children):B&16&&F(u.children,R,null,b,v,Gn(u,S),O,x),q&&Me(u,null,b,"created"),N(R,u,u.scopeId,O,b),$){for(const ee in $)ee!=="value"&&!yt(ee)&&o(R,ee,null,$[ee],S,u.children,b,v,je);"value"in $&&o(R,"value",null,$.value,S),(E=$.onVnodeBeforeMount)&&Ce(E,b,u)}q&&Me(u,null,b,"beforeMount");const X=Wo(v,j);X&&j.beforeEnter(R),s(R,d,g),((E=$&&$.onVnodeMounted)||X||q)&&_e(()=>{E&&Ce(E,b,u),X&&j.enter(R),q&&Me(u,null,b,"mounted")},v)},N=(u,d,g,b,v)=>{if(g&&y(u,g),b)for(let S=0;S{for(let E=R;E{const x=d.el=u.el;let{patchFlag:R,dynamicChildren:E,dirs:$}=d;R|=u.patchFlag&16;const B=u.props||te,j=d.props||te;let q;if(g&&st(g,!1),(q=j.onVnodeBeforeUpdate)&&Ce(q,g,d,u),$&&Me(d,u,g,"beforeUpdate"),g&&st(g,!0),E?w(u.dynamicChildren,E,x,g,b,Gn(d,v),S):O||V(u,d,x,null,g,b,Gn(d,v),S,!1),R>0){if(R&16)P(x,d,B,j,g,b,v);else if(R&2&&B.class!==j.class&&o(x,"class",null,j.class,v),R&4&&o(x,"style",B.style,j.style,v),R&8){const X=d.dynamicProps;for(let ee=0;ee{q&&Ce(q,g,d,u),$&&Me(d,u,g,"updated")},b)},w=(u,d,g,b,v,S,O)=>{for(let x=0;x{if(g!==b){if(g!==te)for(const x in g)!yt(x)&&!(x in b)&&o(u,x,g[x],null,O,d.children,v,S,je);for(const x in b){if(yt(x))continue;const R=b[x],E=g[x];R!==E&&x!=="value"&&o(u,x,E,R,O,d.children,v,S,je)}"value"in b&&o(u,"value",g.value,b.value,O)}},T=(u,d,g,b,v,S,O,x,R)=>{const E=d.el=u?u.el:l(""),$=d.anchor=u?u.anchor:l("");let{patchFlag:B,dynamicChildren:j,slotScopeIds:q}=d;q&&(x=x?x.concat(q):q),u==null?(s(E,g,b),s($,g,b),F(d.children||[],g,$,v,S,O,x,R)):B>0&&B&64&&j&&u.dynamicChildren?(w(u.dynamicChildren,j,g,v,S,O,x),(d.key!=null||v&&d===v.subTree)&&Us(u,d,!0)):V(u,d,g,$,v,S,O,x,R)},G=(u,d,g,b,v,S,O,x,R)=>{d.slotScopeIds=x,u==null?d.shapeFlag&512?v.ctx.activate(d,g,b,O,R):ne(d,g,b,v,S,O,R):ce(u,d,R)},ne=(u,d,g,b,v,S,O)=>{const x=u.component=Ac(u,b,v);if(Wt(u)&&(x.ctx.renderer=dt),Rc(x),x.asyncDep){if(v&&v.registerDep(x,U,O),!u.el){const R=x.subTree=ie(me);W(null,R,d,g)}}else U(x,u,d,g,v,S,O)},ce=(u,d,g)=>{const b=d.component=u.component;if(Ml(u,d,g))if(b.asyncDep&&!b.asyncResolved){Y(b,d,g);return}else b.next=d,Sl(b.update),b.effect.dirty=!0,b.update();else d.el=u.el,b.vnode=d},U=(u,d,g,b,v,S,O)=>{const x=()=>{if(u.isMounted){let{next:$,bu:B,u:j,parent:q,vnode:X}=u;{const ht=qo(u);if(ht){$&&($.el=X.el,Y(u,$,O)),ht.asyncDep.then(()=>{u.isUnmounted||x()});return}}let ee=$,Q;st(u,!1),$?($.el=X.el,Y(u,$,O)):$=X,B&&fn(B),(Q=$.props&&$.props.onVnodeBeforeUpdate)&&Ce(Q,q,$,X),st(u,!0);const ae=Kn(u),Te=u.subTree;u.subTree=ae,I(Te,ae,h(Te.el),Yt(Te),u,v,S),$.el=ae.el,ee===null&&$l(u,ae.el),j&&_e(j,v),(Q=$.props&&$.props.onVnodeUpdated)&&_e(()=>Ce(Q,q,$,X),v)}else{let $;const{el:B,props:j}=d,{bm:q,m:X,parent:ee}=u,Q=vt(d);if(st(u,!1),q&&fn(q),!Q&&($=j&&j.onVnodeBeforeMount)&&Ce($,ee,d),st(u,!0),B&&Bn){const ae=()=>{u.subTree=Kn(u),Bn(B,u.subTree,u,v,null)};Q?d.type.__asyncLoader().then(()=>!u.isUnmounted&&ae()):ae()}else{const ae=u.subTree=Kn(u);I(null,ae,g,b,u,v,S),d.el=ae.el}if(X&&_e(X,v),!Q&&($=j&&j.onVnodeMounted)){const ae=d;_e(()=>Ce($,ee,ae),v)}(d.shapeFlag&256||ee&&vt(ee.vnode)&&ee.vnode.shapeFlag&256)&&u.a&&_e(u.a,v),u.isMounted=!0,d=g=b=null}},R=u.effect=new As(x,xe,()=>Mn(E),u.scope),E=u.update=()=>{R.dirty&&R.run()};E.id=u.uid,st(u,!0),E()},Y=(u,d,g)=>{d.component=u;const b=u.vnode.props;u.vnode=d,u.next=null,Zl(u,d.props,b,g),nc(u,d.children,g),et(),ir(u),tt()},V=(u,d,g,b,v,S,O,x,R=!1)=>{const E=u&&u.children,$=u?u.shapeFlag:0,B=d.children,{patchFlag:j,shapeFlag:q}=d;if(j>0){if(j&128){Xt(E,B,g,b,v,S,O,x,R);return}else if(j&256){He(E,B,g,b,v,S,O,x,R);return}}q&8?($&16&&je(E,v,S),B!==E&&f(g,B)):$&16?q&16?Xt(E,B,g,b,v,S,O,x,R):je(E,v,S,!0):($&8&&f(g,""),q&16&&F(B,g,b,v,S,O,x,R))},He=(u,d,g,b,v,S,O,x,R)=>{u=u||mt,d=d||mt;const E=u.length,$=d.length,B=Math.min(E,$);let j;for(j=0;j$?je(u,v,S,!0,!1,B):F(d,g,b,v,S,O,x,R,B)},Xt=(u,d,g,b,v,S,O,x,R)=>{let E=0;const $=d.length;let B=u.length-1,j=$-1;for(;E<=B&&E<=j;){const q=u[E],X=d[E]=R?Ge(d[E]):Ae(d[E]);if(lt(q,X))I(q,X,g,null,v,S,O,x,R);else break;E++}for(;E<=B&&E<=j;){const q=u[B],X=d[j]=R?Ge(d[j]):Ae(d[j]);if(lt(q,X))I(q,X,g,null,v,S,O,x,R);else break;B--,j--}if(E>B){if(E<=j){const q=j+1,X=q<$?d[q].el:b;for(;E<=j;)I(null,d[E]=R?Ge(d[E]):Ae(d[E]),g,X,v,S,O,x,R),E++}}else if(E>j)for(;E<=B;)Le(u[E],v,S,!0),E++;else{const q=E,X=E,ee=new Map;for(E=X;E<=j;E++){const ve=d[E]=R?Ge(d[E]):Ae(d[E]);ve.key!=null&&ee.set(ve.key,E)}let Q,ae=0;const Te=j-X+1;let ht=!1,Ys=0;const St=new Array(Te);for(E=0;E=Te){Le(ve,v,S,!0);continue}let Ie;if(ve.key!=null)Ie=ee.get(ve.key);else for(Q=X;Q<=j;Q++)if(St[Q-X]===0&<(ve,d[Q])){Ie=Q;break}Ie===void 0?Le(ve,v,S,!0):(St[Ie-X]=E+1,Ie>=Ys?Ys=Ie:ht=!0,I(ve,d[Ie],g,null,v,S,O,x,R),ae++)}const zs=ht?cc(St):mt;for(Q=zs.length-1,E=Te-1;E>=0;E--){const ve=X+E,Ie=d[ve],Js=ve+1<$?d[ve+1].el:b;St[E]===0?I(null,Ie,g,Js,v,S,O,x,R):ht&&(Q<0||E!==zs[Q]?nt(Ie,g,Js,2):Q--)}}},nt=(u,d,g,b,v=null)=>{const{el:S,type:O,transition:x,children:R,shapeFlag:E}=u;if(E&6){nt(u.component.subTree,d,g,b);return}if(E&128){u.suspense.move(d,g,b);return}if(E&64){O.move(u,d,g,dt);return}if(O===ye){s(S,d,g);for(let B=0;Bx.enter(S),v);else{const{leave:B,delayLeave:j,afterLeave:q}=x,X=()=>s(S,d,g),ee=()=>{B(S,()=>{X(),q&&q()})};j?j(S,X,ee):ee()}else s(S,d,g)},Le=(u,d,g,b=!1,v=!1)=>{const{type:S,props:O,ref:x,children:R,dynamicChildren:E,shapeFlag:$,patchFlag:B,dirs:j,memoIndex:q}=u;if(B===-2&&(v=!1),x!=null&&wn(x,null,g,u,!0),q!=null&&(d.renderCache[q]=void 0),$&256){d.ctx.deactivate(u);return}const X=$&1&&j,ee=!vt(u);let Q;if(ee&&(Q=O&&O.onVnodeBeforeUnmount)&&Ce(Q,d,u),$&6)Ii(u.component,g,b);else{if($&128){u.suspense.unmount(g,b);return}X&&Me(u,null,d,"beforeUnmount"),$&64?u.type.remove(u,d,g,dt,b):E&&(S!==ye||B>0&&B&64)?je(E,d,g,!1,!0):(S===ye&&B&384||!v&&$&16)&&je(R,d,g),b&&Gs(u)}(ee&&(Q=O&&O.onVnodeUnmounted)||X)&&_e(()=>{Q&&Ce(Q,d,u),X&&Me(u,null,d,"unmounted")},g)},Gs=u=>{const{type:d,el:g,anchor:b,transition:v}=u;if(d===ye){Li(g,b);return}if(d===$t){_(u);return}const S=()=>{r(g),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(u.shapeFlag&1&&v&&!v.persisted){const{leave:O,delayLeave:x}=v,R=()=>O(g,S);x?x(u.el,S,R):R()}else S()},Li=(u,d)=>{let g;for(;u!==d;)g=m(u),r(u),u=g;r(d)},Ii=(u,d,g)=>{const{bum:b,scope:v,update:S,subTree:O,um:x,m:R,a:E}=u;yr(R),yr(E),b&&fn(b),v.stop(),S&&(S.active=!1,Le(O,u,d,g)),x&&_e(x,d),_e(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},je=(u,d,g,b=!1,v=!1,S=0)=>{for(let O=S;Ou.shapeFlag&6?Yt(u.component.subTree):u.shapeFlag&128?u.suspense.next():m(u.anchor||u.el);let Dn=!1;const Xs=(u,d,g)=>{u==null?d._vnode&&Le(d._vnode,null,null,!0):I(d._vnode||null,u,d,null,null,null,g),Dn||(Dn=!0,ir(),yn(),Dn=!1),d._vnode=u},dt={p:I,um:Le,m:nt,r:Gs,mt:ne,mc:F,pc:V,pbc:w,n:Yt,o:e};let Un,Bn;return t&&([Un,Bn]=t(dt)),{render:Xs,hydrate:Un,createApp:zl(Xs,Un)}}function Gn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function st({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Wo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Us(e,t,n=!1){const s=e.children,r=t.children;if(k(s)&&k(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function qo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:qo(t)}function yr(e){if(e)for(let t=0;twt(ac);function Bs(e,t){return Hn(e,null,t)}function gu(e,t){return Hn(e,null,{flush:"post"})}const sn={};function Pe(e,t,n){return Hn(e,t,n)}function Hn(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:l}=te){if(t&&o){const A=t;t=(...N)=>{A(...N),M()}}const c=ue,a=A=>s===!0?A:Xe(A,s===!1?1:void 0);let f,h=!1,m=!1;if(de(e)?(f=()=>e.value,h=_n(e)):Rt(e)?(f=()=>a(e),h=!0):k(e)?(m=!0,h=e.some(A=>Rt(A)||_n(A)),f=()=>e.map(A=>{if(de(A))return A.value;if(Rt(A))return a(A);if(K(A))return ze(A,c,2)})):K(e)?t?f=()=>ze(e,c,2):f=()=>(y&&y(),Se(e,c,3,[C])):f=xe,t&&s){const A=f;f=()=>Xe(A())}let y,C=A=>{y=p.onStop=()=>{ze(A,c,4),y=p.onStop=void 0}},I;if(Gt)if(C=xe,t?n&&Se(t,c,3,[f(),m?[]:void 0,C]):f(),r==="sync"){const A=uc();I=A.__watcherHandles||(A.__watcherHandles=[])}else return xe;let H=m?new Array(e.length).fill(sn):sn;const W=()=>{if(!(!p.active||!p.dirty))if(t){const A=p.run();(s||h||(m?A.some((N,F)=>Je(N,H[F])):Je(A,H)))&&(y&&y(),Se(t,c,3,[A,H===sn?void 0:m&&H[0]===sn?[]:H,C]),H=A)}else p.run()};W.allowRecurse=!!t;let D;r==="sync"?D=W:r==="post"?D=()=>_e(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),D=()=>Mn(W));const p=new As(f,xe,D),_=io(),M=()=>{p.stop(),_&&Cs(_.effects,p)};return t?n?W():H=p.run():r==="post"?_e(p.run.bind(p),c&&c.suspense):p.run(),I&&I.push(M),M}function fc(e,t,n){const s=this.proxy,r=oe(e)?e.includes(".")?Go(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=qt(this),l=Hn(r,o.bind(s),n);return i(),l}function Go(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{Xe(s,t,n)});else if(eo(e)){for(const s in e)Xe(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Xe(e[s],t,n)}return e}const Wt=e=>e.type.__isKeepAlive;function dc(e,t){Xo(e,"a",t)}function hc(e,t){Xo(e,"da",t)}function Xo(e,t,n=ue){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Nn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Wt(r.parent.vnode)&&pc(s,t,n,r),r=r.parent}}function pc(e,t,n,s){const r=Nn(t,e,s,!0);Fn(()=>{Cs(s[t],r)},n)}const qe=Symbol("_leaveCb"),rn=Symbol("_enterCb");function gc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xt(()=>{e.isMounted=!0}),Mo(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],Yo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},zo=e=>{const t=e.subTree;return t.component?zo(t.component):t},mc={name:"BaseTransition",props:Yo,setup(e,{slots:t}){const n=jn(),s=gc();return()=>{const r=t.default&&Qo(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const m of r)if(m.type!==me){o=m;break}}const i=J(e),{mode:l}=i;if(s.isLeaving)return Xn(o);const c=br(o);if(!c)return Xn(o);let a=_s(c,i,s,n,m=>a=m);En(c,a);const f=n.subTree,h=f&&br(f);if(h&&h.type!==me&&!lt(c,h)&&zo(n).type!==me){const m=_s(h,i,s,n);if(En(h,m),l==="out-in"&&c.type!==me)return s.isLeaving=!0,m.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Xn(o);l==="in-out"&&c.type!==me&&(m.delayLeave=(y,C,I)=>{const H=Jo(s,h);H[String(h.key)]=h,y[qe]=()=>{C(),y[qe]=void 0,delete a.delayedLeave},a.delayedLeave=I})}return o}}},_c=mc;function Jo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function _s(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:a,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:m,onLeave:y,onAfterLeave:C,onLeaveCancelled:I,onBeforeAppear:H,onAppear:W,onAfterAppear:D,onAppearCancelled:p}=t,_=String(e.key),M=Jo(n,e),A=(L,w)=>{L&&Se(L,s,9,w)},N=(L,w)=>{const P=w[1];A(L,w),k(L)?L.every(T=>T.length<=1)&&P():L.length<=1&&P()},F={mode:i,persisted:l,beforeEnter(L){let w=c;if(!n.isMounted)if(o)w=H||c;else return;L[qe]&&L[qe](!0);const P=M[_];P&<(e,P)&&P.el[qe]&&P.el[qe](),A(w,[L])},enter(L){let w=a,P=f,T=h;if(!n.isMounted)if(o)w=W||a,P=D||f,T=p||h;else return;let G=!1;const ne=L[rn]=ce=>{G||(G=!0,ce?A(T,[L]):A(P,[L]),F.delayedLeave&&F.delayedLeave(),L[rn]=void 0)};w?N(w,[L,ne]):ne()},leave(L,w){const P=String(e.key);if(L[rn]&&L[rn](!0),n.isUnmounting)return w();A(m,[L]);let T=!1;const G=L[qe]=ne=>{T||(T=!0,w(),ne?A(I,[L]):A(C,[L]),L[qe]=void 0,M[P]===e&&delete M[P])};M[P]=e,y?N(y,[L,G]):G()},clone(L){const w=_s(L,t,n,s,r);return r&&r(w),w}};return F}function Xn(e){if(Wt(e))return e=Qe(e),e.children=null,e}function br(e){if(!Wt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function En(e,t){e.shapeFlag&6&&e.component?En(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Qo(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;oe.__isTeleport,Mt=e=>e&&(e.disabled||e.disabled===""),vr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,wr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ys=(e,t)=>{const n=e&&e.to;return oe(n)?t?t(n):null:n},bc={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,a){const{mc:f,pc:h,pbc:m,o:{insert:y,querySelector:C,createText:I,createComment:H}}=a,W=Mt(t.props);let{shapeFlag:D,children:p,dynamicChildren:_}=t;if(e==null){const M=t.el=I(""),A=t.anchor=I("");y(M,n,s),y(A,n,s);const N=t.target=ys(t.props,C),F=t.targetAnchor=I("");N&&(y(F,N),i==="svg"||vr(N)?i="svg":(i==="mathml"||wr(N))&&(i="mathml"));const L=(w,P)=>{D&16&&f(p,w,P,r,o,i,l,c)};W?L(n,A):N&&L(N,F)}else{t.el=e.el;const M=t.anchor=e.anchor,A=t.target=e.target,N=t.targetAnchor=e.targetAnchor,F=Mt(e.props),L=F?n:A,w=F?M:N;if(i==="svg"||vr(A)?i="svg":(i==="mathml"||wr(A))&&(i="mathml"),_?(m(e.dynamicChildren,_,L,r,o,i,l),Us(e,t,!0)):c||h(e,t,L,w,r,o,i,l,!1),W)F?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):on(t,n,M,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const P=t.target=ys(t.props,C);P&&on(t,P,null,a,0)}else F&&on(t,A,N,a,1)}Zo(t)},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:c,targetAnchor:a,target:f,props:h}=e;if(f&&r(a),o&&r(c),i&16){const m=o||!Mt(h);for(let y=0;y0?Re||mt:null,wc(),Dt>0&&Re&&Re.push(e),e}function _u(e,t,n,s,r,o){return ti(ri(e,t,n,s,r,o,!0))}function ni(e,t,n,s,r){return ti(ie(e,t,n,s,r,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const si=({key:e})=>e??null,hn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||de(e)||K(e)?{i:fe,r:e,k:t,f:!!n}:e:null);function ri(e,t=null,n=null,s=0,r=null,o=e===ye?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&si(t),ref:t&&hn(t),scopeId:Pn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:fe};return l?(ks(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=oe(n)?8:16),Dt>0&&!i&&Re&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Re.push(c),c}const ie=Ec;function Ec(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Oo)&&(e=me),Cn(e)){const l=Qe(e,t,!0);return n&&ks(l,n),Dt>0&&!o&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag=-2,l}if(Mc(e)&&(e=e.__vccOpts),t){t=Cc(t);let{class:l,style:c}=t;l&&!oe(l)&&(t.class=Ts(l)),Z(c)&&(bo(c)&&!k(c)&&(c=le({},c)),t.style=Ss(c))}const i=oe(e)?1:Pl(e)?128:yc(e)?64:Z(e)?4:K(e)?2:0;return ri(e,t,n,s,r,i,o,!0)}function Cc(e){return e?bo(e)||jo(e)?le({},e):e:null}function Qe(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?xc(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&si(a),ref:t&&t.ref?n&&o?k(o)?o.concat(hn(t)):[o,hn(t)]:hn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qe(e.ssContent),ssFallback:e.ssFallback&&Qe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&En(f,c.clone(f)),f}function oi(e=" ",t=0){return ie(Et,null,e,t)}function yu(e,t){const n=ie($t,null,e);return n.staticCount=t,n}function bu(e="",t=!1){return t?(ei(),ni(me,null,e)):ie(me,null,e)}function Ae(e){return e==null||typeof e=="boolean"?ie(me):k(e)?ie(ye,null,e.slice()):typeof e=="object"?Ge(e):ie(Et,null,String(e))}function Ge(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qe(e)}function ks(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(k(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ks(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!jo(t)?t._ctx=fe:r===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),s&64?(n=16,t=[oi(t)]):n=8);e.children=t,e.shapeFlag|=n}function xc(...e){const t={};for(let n=0;nue||fe;let xn,bs;{const e=no(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};xn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),bs=t("__VUE_SSR_SETTERS__",n=>Gt=n)}const qt=e=>{const t=ue;return xn(e),e.scope.on(),()=>{e.scope.off(),xn(t)}},Cr=()=>{ue&&ue.scope.off(),xn(null)};function ii(e){return e.vnode.shapeFlag&4}let Gt=!1;function Rc(e,t=!1){t&&bs(t);const{props:n,children:s}=e.vnode,r=ii(e);Ql(e,n,r,t),tc(e,s);const o=r?Oc(e,t):void 0;return t&&bs(!1),o}function Oc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Bl);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?ci(e):null,o=qt(e);et();const i=ze(s,e,0,[e.props,r]);if(tt(),o(),Qr(i)){if(i.then(Cr,Cr),t)return i.then(l=>{xr(e,l,t)}).catch(l=>{Kt(l,e,0)});e.asyncDep=i}else xr(e,i,t)}else li(e,t)}function xr(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Co(t)),li(e,n)}let Sr;function li(e,t,n){const s=e.type;if(!e.render){if(!t&&Sr&&!s.render){const r=s.template||Vs(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=le(le({isCustomElement:o,delimiters:l},i),c);s.render=Sr(r,a)}}e.render=s.render||xe}{const r=qt(e);et();try{Kl(e)}finally{tt(),r()}}}const Lc={get(e,t){return be(e,"get",""),e[t]}};function ci(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Lc),slots:e.slots,emit:e.emit,expose:t}}function Vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Co(dn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Lt)return Lt[n](e)},has(t,n){return n in t||n in Lt}})):e.proxy}function Ic(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Mc(e){return K(e)&&"__vccOpts"in e}const se=(e,t)=>gl(e,t,Gt);function vs(e,t,n){const s=arguments.length;return s===2?Z(t)&&!k(t)?Cn(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Cn(n)&&(n=[n]),ie(e,t,n))}const $c="3.4.31";/** +* @vue/runtime-dom v3.4.31 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Pc="http://www.w3.org/2000/svg",Nc="http://www.w3.org/1998/Math/MathML",Ve=typeof document<"u"?document:null,Tr=Ve&&Ve.createElement("template"),Fc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ve.createElementNS(Pc,e):t==="mathml"?Ve.createElementNS(Nc,e):n?Ve.createElement(e,{is:n}):Ve.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ve.createTextNode(e),createComment:e=>Ve.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ve.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Tr.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=Tr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ke="transition",Tt="animation",Ut=Symbol("_vtc"),ai=(e,{slots:t})=>vs(_c,Hc(e),t);ai.displayName="Transition";const ui={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ai.props=le({},Yo,ui);const rt=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ar=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function Hc(e){const t={};for(const T in e)T in ui||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:a=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,C=jc(r),I=C&&C[0],H=C&&C[1],{onBeforeEnter:W,onEnter:D,onEnterCancelled:p,onLeave:_,onLeaveCancelled:M,onBeforeAppear:A=W,onAppear:N=D,onAppearCancelled:F=p}=t,L=(T,G,ne)=>{ot(T,G?f:l),ot(T,G?a:i),ne&&ne()},w=(T,G)=>{T._isLeaving=!1,ot(T,h),ot(T,y),ot(T,m),G&&G()},P=T=>(G,ne)=>{const ce=T?N:D,U=()=>L(G,T,ne);rt(ce,[G,U]),Rr(()=>{ot(G,T?c:o),Ke(G,T?f:l),Ar(ce)||Or(G,s,I,U)})};return le(t,{onBeforeEnter(T){rt(W,[T]),Ke(T,o),Ke(T,i)},onBeforeAppear(T){rt(A,[T]),Ke(T,c),Ke(T,a)},onEnter:P(!1),onAppear:P(!0),onLeave(T,G){T._isLeaving=!0;const ne=()=>w(T,G);Ke(T,h),Ke(T,m),Uc(),Rr(()=>{T._isLeaving&&(ot(T,h),Ke(T,y),Ar(_)||Or(T,s,H,ne))}),rt(_,[T,ne])},onEnterCancelled(T){L(T,!1),rt(p,[T])},onAppearCancelled(T){L(T,!0),rt(F,[T])},onLeaveCancelled(T){w(T),rt(M,[T])}})}function jc(e){if(e==null)return null;if(Z(e))return[Yn(e.enter),Yn(e.leave)];{const t=Yn(e);return[t,t]}}function Yn(e){return Hi(e)}function Ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ut]||(e[Ut]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Ut];n&&(n.delete(t),n.size||(e[Ut]=void 0))}function Rr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Vc=0;function Or(e,t,n,s){const r=e._endId=++Vc,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Dc(e,t);if(!i)return s();const a=i+"end";let f=0;const h=()=>{e.removeEventListener(a,m),o()},m=y=>{y.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[C]||"").split(", "),r=s(`${ke}Delay`),o=s(`${ke}Duration`),i=Lr(r,o),l=s(`${Tt}Delay`),c=s(`${Tt}Duration`),a=Lr(l,c);let f=null,h=0,m=0;t===ke?i>0&&(f=ke,h=i,m=o.length):t===Tt?a>0&&(f=Tt,h=a,m=c.length):(h=Math.max(i,a),f=h>0?i>a?ke:Tt:null,m=f?f===ke?o.length:c.length:0);const y=f===ke&&/\b(transform|all)(,|$)/.test(s(`${ke}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:y}}function Lr(e,t){for(;e.lengthIr(n)+Ir(e[s])))}function Ir(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Uc(){return document.body.offsetHeight}function Bc(e,t,n){const s=e[Ut];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Mr=Symbol("_vod"),kc=Symbol("_vsh"),Kc=Symbol(""),Wc=/(^|;)\s*display\s*:/;function qc(e,t,n){const s=e.style,r=oe(n);let o=!1;if(n&&!r){if(t)if(oe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&pn(s,l,"")}else for(const i in t)n[i]==null&&pn(s,i,"");for(const i in n)i==="display"&&(o=!0),pn(s,i,n[i])}else if(r){if(t!==n){const i=s[Kc];i&&(n+=";"+i),s.cssText=n,o=Wc.test(n)}}else t&&e.removeAttribute("style");Mr in e&&(e[Mr]=o?s.display:"",e[kc]&&(s.display="none"))}const $r=/\s*!important$/;function pn(e,t,n){if(k(n))n.forEach(s=>pn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Gc(e,t);$r.test(n)?e.setProperty(ft(s),n.replace($r,""),"important"):e[s]=n}}const Pr=["Webkit","Moz","ms"],zn={};function Gc(e,t){const n=zn[t];if(n)return n;let s=Fe(t);if(s!=="filter"&&s in e)return zn[t]=s;s=An(s);for(let r=0;rJn||(Qc.then(()=>Jn=0),Jn=Date.now());function ea(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Se(ta(s,n.value),t,5,[s])};return n.value=e,n.attached=Zc(),n}function ta(e,t){if(k(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Vr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,na=(e,t,n,s,r,o,i,l,c)=>{const a=r==="svg";t==="class"?Bc(e,s,a):t==="style"?qc(e,n,s):kt(t)?Es(t)||zc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sa(e,t,s,a))?(Xc(e,t,s,o,i,l,c),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fr(e,t,s,a,i,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Fr(e,t,s,a))};function sa(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Vr(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Vr(t)&&oe(n)?!1:t in e}const Dr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?n=>fn(t,n):t};function ra(e){e.target.composing=!0}function Ur(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qn=Symbol("_assign"),vu={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Qn]=Dr(r);const o=s||r.props&&r.props.type==="number";gt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=cs(l)),e[Qn](l)}),n&>(e,"change",()=>{e.value=e.value.trim()}),t||(gt(e,"compositionstart",ra),gt(e,"compositionend",Ur),gt(e,"change",Ur))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Qn]=Dr(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?cs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},oa=["ctrl","shift","alt","meta"],ia={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>oa.some(n=>e[`${n}Key`]&&!t.includes(n))},wu=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=ft(r.key);if(t.some(i=>i===o||la[i]===o))return e(r)})},fi=le({patchProp:na},Fc);let Nt,Br=!1;function ca(){return Nt||(Nt=ic(fi))}function aa(){return Nt=Br?Nt:lc(fi),Br=!0,Nt}const Cu=(...e)=>{const t=ca().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=hi(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,di(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},xu=(...e)=>{const t=aa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=hi(s);if(r)return n(r,!0,di(r))},t};function di(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function hi(e){return oe(e)?document.querySelector(e):e}const ua=window.__VP_SITE_DATA__;function Ks(e){return io()?(Gi(e),!0):!1}function Ne(e){return typeof e=="function"?e():Eo(e)}const pi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const fa=Object.prototype.toString,da=e=>fa.call(e)==="[object Object]",Bt=()=>{},kr=ha();function ha(){var e,t;return pi&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function pa(e,t){function n(...s){return new Promise((r,o)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(o)})}return n}const gi=e=>e();function ga(e,t={}){let n,s,r=Bt;const o=l=>{clearTimeout(l),r(),r=Bt};return l=>{const c=Ne(e),a=Ne(t.maxWait);return n&&o(n),c<=0||a!==void 0&&a<=0?(s&&(o(s),s=null),Promise.resolve(l())):new Promise((f,h)=>{r=t.rejectOnCancel?h:f,a&&!s&&(s=setTimeout(()=>{n&&o(n),s=null,f(l())},a)),n=setTimeout(()=>{s&&o(s),s=null,f(l())},c)})}}function ma(e=gi){const t=re(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...o)=>{t.value&&e(...o)};return{isActive:Ln(t),pause:n,resume:s,eventFilter:r}}function _a(e){return jn()}function mi(...e){if(e.length!==1)return El(...e);const t=e[0];return typeof t=="function"?Ln(bl(()=>({get:t,set:Bt}))):re(t)}function _i(e,t,n={}){const{eventFilter:s=gi,...r}=n;return Pe(e,pa(s,t),r)}function ya(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=ma(s);return{stop:_i(e,t,{...r,eventFilter:o}),pause:i,resume:l,isActive:c}}function Ws(e,t=!0,n){_a()?xt(e,n):t?e():In(e)}function Su(e,t,n={}){const{debounce:s=0,maxWait:r=void 0,...o}=n;return _i(e,t,{...o,eventFilter:ga(s,{maxWait:r})})}function Tu(e,t,n){let s;de(n)?s={evaluating:n}:s={};const{lazy:r=!1,evaluating:o=void 0,shallow:i=!0,onError:l=Bt}=s,c=re(!r),a=i?Ns(t):re(t);let f=0;return Bs(async h=>{if(!c.value)return;f++;const m=f;let y=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const C=await e(I=>{h(()=>{o&&(o.value=!1),y||I()})});m===f&&(a.value=C)}catch(C){l(C)}finally{o&&m===f&&(o.value=!1),y=!0}}),r?se(()=>(c.value=!0,a.value)):a}function yi(e){var t;const n=Ne(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Oe=pi?window:void 0;function Ct(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Oe):[t,n,s,r]=e,!t)return Bt;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},l=(f,h,m,y)=>(f.addEventListener(h,m,y),()=>f.removeEventListener(h,m,y)),c=Pe(()=>[yi(t),Ne(r)],([f,h])=>{if(i(),!f)return;const m=da(h)?{...h}:h;o.push(...n.flatMap(y=>s.map(C=>l(f,y,C,m))))},{immediate:!0,flush:"post"}),a=()=>{c(),i()};return Ks(a),a}function ba(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Au(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Oe,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=s,c=ba(t);return Ct(r,o,f=>{f.repeat&&Ne(l)||c(f)&&n(f)},i)}function va(){const e=re(!1),t=jn();return t&&xt(()=>{e.value=!0},t),e}function wa(e){const t=va();return se(()=>(t.value,!!e()))}function bi(e,t={}){const{window:n=Oe}=t,s=wa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const o=re(!1),i=a=>{o.value=a.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",i):r.removeListener(i))},c=Bs(()=>{s.value&&(l(),r=n.matchMedia(Ne(e)),"addEventListener"in r?r.addEventListener("change",i):r.addListener(i),o.value=r.matches)});return Ks(()=>{c(),l(),r=void 0}),o}const ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},cn="__vueuse_ssr_handlers__",Ea=Ca();function Ca(){return cn in ln||(ln[cn]=ln[cn]||{}),ln[cn]}function vi(e,t){return Ea[e]||t}function xa(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Sa={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Kr="vueuse-storage";function qs(e,t,n,s={}){var r;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:a=!1,shallow:f,window:h=Oe,eventFilter:m,onError:y=w=>{console.error(w)},initOnMounted:C}=s,I=(f?Ns:re)(typeof t=="function"?t():t);if(!n)try{n=vi("getDefaultStorage",()=>{var w;return(w=Oe)==null?void 0:w.localStorage})()}catch(w){y(w)}if(!n)return I;const H=Ne(t),W=xa(H),D=(r=s.serializer)!=null?r:Sa[W],{pause:p,resume:_}=ya(I,()=>A(I.value),{flush:o,deep:i,eventFilter:m});h&&l&&Ws(()=>{Ct(h,"storage",F),Ct(h,Kr,L),C&&F()}),C||F();function M(w,P){h&&h.dispatchEvent(new CustomEvent(Kr,{detail:{key:e,oldValue:w,newValue:P,storageArea:n}}))}function A(w){try{const P=n.getItem(e);if(w==null)M(P,null),n.removeItem(e);else{const T=D.write(w);P!==T&&(n.setItem(e,T),M(P,T))}}catch(P){y(P)}}function N(w){const P=w?w.newValue:n.getItem(e);if(P==null)return c&&H!=null&&n.setItem(e,D.write(H)),H;if(!w&&a){const T=D.read(P);return typeof a=="function"?a(T,H):W==="object"&&!Array.isArray(T)?{...H,...T}:T}else return typeof P!="string"?P:D.read(P)}function F(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){I.value=H;return}if(!(w&&w.key!==e)){p();try{(w==null?void 0:w.newValue)!==D.write(I.value)&&(I.value=N(w))}catch(P){y(P)}finally{w?In(_):_()}}}}function L(w){F(w.detail)}return I}function wi(e){return bi("(prefers-color-scheme: dark)",e)}function Ta(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Oe,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:a,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=wi({window:r}),y=se(()=>m.value?"dark":"light"),C=c||(i==null?mi(s):qs(i,s,o,{window:r,listenToStorageChanges:l})),I=se(()=>C.value==="auto"?y.value:C.value),H=vi("updateHTMLAttrs",(_,M,A)=>{const N=typeof _=="string"?r==null?void 0:r.document.querySelector(_):yi(_);if(!N)return;let F;if(f&&(F=r.document.createElement("style"),F.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),r.document.head.appendChild(F)),M==="class"){const L=A.split(/\s/g);Object.values(h).flatMap(w=>(w||"").split(/\s/g)).filter(Boolean).forEach(w=>{L.includes(w)?N.classList.add(w):N.classList.remove(w)})}else N.setAttribute(M,A);f&&(r.getComputedStyle(F).opacity,document.head.removeChild(F))});function W(_){var M;H(t,n,(M=h[_])!=null?M:_)}function D(_){e.onChanged?e.onChanged(_,W):W(_)}Pe(I,D,{flush:"post",immediate:!0}),Ws(()=>D(I.value));const p=se({get(){return a?C.value:I.value},set(_){C.value=_}});try{return Object.assign(p,{store:C,system:y,state:I})}catch{return p}}function Aa(e={}){const{valueDark:t="dark",valueLight:n="",window:s=Oe}=e,r=Ta({...e,onChanged:(l,c)=>{var a;e.onChanged?(a=e.onChanged)==null||a.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=se(()=>r.system?r.system.value:wi({window:s}).value?"dark":"light");return se({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?r.value="auto":r.value=c}})}function Zn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Ru(e,t,n={}){const{window:s=Oe}=n;return qs(e,t,s==null?void 0:s.localStorage,n)}function Ei(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const es=new WeakMap;function Ou(e,t=!1){const n=re(t);let s=null,r="";Pe(mi(e),l=>{const c=Zn(Ne(l));if(c){const a=c;if(es.get(a)||es.set(a,a.style.overflow),a.style.overflow!=="hidden"&&(r=a.style.overflow),a.style.overflow==="hidden")return n.value=!0;if(n.value)return a.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=Zn(Ne(e));!l||n.value||(kr&&(s=Ct(l,"touchmove",c=>{Ra(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=Zn(Ne(e));!l||!n.value||(kr&&(s==null||s()),l.style.overflow=r,es.delete(l),n.value=!1)};return Ks(i),se({get(){return n.value},set(l){l?o():i()}})}function Lu(e,t,n={}){const{window:s=Oe}=n;return qs(e,t,s==null?void 0:s.sessionStorage,n)}function Iu(e={}){const{window:t=Oe,behavior:n="auto"}=e;if(!t)return{x:re(0),y:re(0)};const s=re(t.scrollX),r=re(t.scrollY),o=se({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),i=se({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Ct(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function Mu(e={}){const{window:t=Oe,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:o=!0}=e,i=re(n),l=re(s),c=()=>{t&&(o?(i.value=t.innerWidth,l.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Ws(c),Ct("resize",c,{passive:!0}),r){const a=bi("(orientation: portrait)");Pe(a,()=>c())}return{width:i,height:l}}var ts={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},ns={};const Ci=/^(?:[a-z]+:|\/\/)/i,Oa="vitepress-theme-appearance",La=/#.*$/,Ia=/[?#].*$/,Ma=/(?:(^|\/)index)?\.(?:md|html)$/,he=typeof document<"u",xi={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function $a(e,t,n=!1){if(t===void 0)return!1;if(e=Wr(`/${e}`),n)return new RegExp(t).test(e);if(Wr(t)!==e)return!1;const s=t.match(La);return s?(he?location.hash:"")===s[0]:!0}function Wr(e){return decodeURI(e).replace(Ia,"").replace(Ma,"$1")}function Pa(e){return Ci.test(e)}function Na(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Pa(n)&&$a(t,`/${n}/`,!0))||"root"}function Fa(e,t){var s,r,o,i,l,c,a;const n=Na(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ti(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(a=e.locales[n])==null?void 0:a.themeConfig}})}function Si(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=Ha(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function Ha(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function ja(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([o,i])=>o===n&&i[r[0]]===r[1])}function Ti(e,t){return[...e.filter(n=>!ja(t,n)),...t]}const Va=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Da=/^[a-z]:/i;function qr(e){const t=Da.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Va,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ss=new Set;function Ua(e){if(ss.size===0){const n=typeof process=="object"&&(ns==null?void 0:ns.VITE_EXTRA_EXTENSIONS)||(ts==null?void 0:ts.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(s=>ss.add(s))}const t=e.split(".").pop();return t==null||!ss.has(t.toLowerCase())}function $u(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Ba=Symbol(),ut=Ns(ua);function Pu(e){const t=se(()=>Fa(ut.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?re(!0):n?Aa({storageKey:Oa,initialValue:()=>typeof n=="string"?n:"auto",...typeof n=="object"?n:{}}):re(!1),r=re(he?location.hash:"");return he&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Pe(()=>e.data,()=>{r.value=he?location.hash:""}),{site:t,theme:se(()=>t.value.themeConfig),page:se(()=>e.data),frontmatter:se(()=>e.data.frontmatter),params:se(()=>e.data.params),lang:se(()=>t.value.lang),dir:se(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:se(()=>t.value.localeIndex||"root"),title:se(()=>Si(t.value,e.data)),description:se(()=>e.data.description||t.value.description),isDark:s,hash:se(()=>r.value)}}function ka(){const e=wt(Ba);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Ka(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Gr(e){return Ci.test(e)||!e.startsWith("/")?e:Ka(ut.value.base,e)}function Wa(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),he){const n="/";t=qr(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${qr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let gn=[];function Nu(e){gn.push(e),Fn(()=>{gn=gn.filter(t=>t!==e)})}function qa(){let e=ut.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=Xr(e,n);else if(Array.isArray(e))for(const s of e){const r=Xr(s,n);if(r){t=r;break}}return t}function Xr(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const Ga=Symbol(),Ai="http://a.com",Xa=()=>({path:"/",component:null,data:xi});function Fu(e,t){const n=On(Xa()),s={route:n,go:r};async function r(l=he?location.href:"/"){var c,a;l=rs(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(he&&l!==rs(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((a=s.onAfterRouteChanged)==null?void 0:a.call(s,l)))}let o=null;async function i(l,c=0,a=!1){var m;if(await((m=s.onBeforePageLoad)==null?void 0:m.call(s,l))===!1)return;const f=new URL(l,Ai),h=o=f.pathname;try{let y=await e(h);if(!y)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:C,__pageData:I}=y;if(!C)throw new Error(`Invalid route component: ${C}`);n.path=he?h:Gr(h),n.component=dn(C),n.data=dn(I),he&&In(()=>{let H=ut.value.base+I.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ut.value.cleanUrls&&!H.endsWith("/")&&(H+=".html"),H!==f.pathname&&(f.pathname=H,l=H+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(D){console.warn(D)}if(W){Yr(W,f.hash);return}}window.scrollTo(0,c)})}}catch(y){if(!/fetch|Page not found/.test(y.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(y),!a)try{const C=await fetch(ut.value.base+"hashmap.json");window.__VP_HASH_MAP__=await C.json(),await i(l,c,!0);return}catch{}if(o===h){o=null,n.path=he?h:Gr(h),n.component=t?dn(t):null;const C=he?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...xi,relativePath:C}}}}return he&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.target.closest("button"))return;const a=l.target.closest("a");if(a&&!a.closest(".vp-raw")&&(a instanceof SVGElement||!a.download)){const{target:f}=a,{href:h,origin:m,pathname:y,hash:C,search:I}=new URL(a.href instanceof SVGAnimatedString?a.href.animVal:a.href,a.baseURI),H=new URL(location.href);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&!f&&m===H.origin&&Ua(y)&&(l.preventDefault(),y===H.pathname&&I===H.search?(C!==H.hash&&(history.pushState({},"",h),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:H.href,newURL:h}))),C?Yr(a,C,a.classList.contains("header-anchor")):window.scrollTo(0,0)):r(h))}},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await i(rs(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function Ya(){const e=wt(Ga);if(!e)throw new Error("useRouter() is called without provider.");return e}function Ri(){return Ya().route}function Yr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=function(){!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})};const o=parseInt(window.getComputedStyle(s).paddingTop,10),i=window.scrollY+s.getBoundingClientRect().top-qa()+o;requestAnimationFrame(r)}}function rs(e){const t=new URL(e,Ai);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ut.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const os=()=>gn.forEach(e=>e()),Hu=js({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Ri(),{site:n}=ka();return()=>vs(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?vs(t.component,{onVnodeMounted:os,onVnodeUpdated:os,onVnodeUnmounted:os}):"404 Page Not Found"])}}),ju=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Vu="/settings.png",Du="/copyright.png",Uu="/favorites.png",Bu="/font1.png",ku="/font2.png",Ku="/i18n-ally.png",Wu="/menu-mode-head.png",qu="/menu-mode-side.png",Gu="/menu-mode-single.png",Xu="/menu-mode-only-side.png",Yu="/menu-mode-only-head.png",zu="/menu-mode-side-panel.png",Ju="/menu-mode-head-panel.png",Qu="/module1.gif",Zu="/module2.gif",ef="/plop-page.gif",tf="/plop-component.gif",nf="/plop-store.gif",sf="/plop-mock.gif",rf="/plop-module.gif",of="/preferences.png",lf="/qa1.png",cf="/download.png",af="/vscode.png",uf="/ui-antd.png",ff="/ui-arco.png",df="/ui-idux.png",hf="/ui-naive.png",pf="/ui-tdesign.png",gf="/ui-vexip.png",mf="/rtl.png",_f="/icones1.png",yf="/icones2.png",bf="/theme.gif",vf="/menu-style.png",wf="/menu-isrounded.png",Ef="/toolbar.png",Cf="/watermark.png",xf="/intro-1.gif",Sf="/intro-2.gif",Tf="/intro-3.gif",Af="/intro-4.gif",Rf="/intro-5.gif",za="modulepreload",Ja=function(e){return"/"+e},zr={},Of=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.all(n.map(l=>{if(l=Ja(l),l in zr)return;zr[l]=!0;const c=l.endsWith(".css"),a=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${a}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":za,c||(f.as="script",f.crossOrigin=""),f.href=l,i&&f.setAttribute("nonce",i),document.head.appendChild(f),c)return new Promise((h,m)=>{f.addEventListener("load",h),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}return r.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},Lf=js({setup(e,{slots:t}){const n=re(!1);return xt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function If(){he&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const o=s.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(a=>a.classList.contains("active"));if(!i)return;const l=o.children[r];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Mf(){if(he){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,o=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(f=>f.remove());let a=c.textContent||"";i&&(a=a.replace(/^ *(\$|>) /gm,"").trim()),Qa(a).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const f=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,f)})}})}}async function Qa(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function $f(e,t){let n=!0,s=[];const r=o=>{if(n){n=!1,o.forEach(l=>{const c=is(l);for(const a of document.head.children)if(a.isEqualNode(c)){s.push(a);return}});return}const i=o.map(is);s.forEach((l,c)=>{const a=i.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));a!==-1?delete i[a]:(l==null||l.remove(),delete s[c])}),i.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...i].filter(Boolean)};Bs(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],a=Si(i,o);a!==document.title&&(document.title=a);const f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):is(["meta",{name:"description",content:f}]),r(Ti(i.head,eu(c)))})}function is([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&!t.async&&(s.async=!1),s}function Za(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function eu(e){return e.filter(t=>!Za(t))}const ls=new Set,Oi=()=>document.createElement("link"),tu=e=>{const t=Oi();t.rel="prefetch",t.href=e,document.head.appendChild(t)},nu=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let an;const su=he&&(an=Oi())&&an.relList&&an.relList.supports&&an.relList.supports("prefetch")?tu:nu;function Pf(){if(!he||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!ls.has(c)){ls.add(c);const a=Wa(c);a&&su(a)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):ls.add(l))})})};xt(s);const r=Ri();Pe(()=>r.path,s),Fn(()=>{n&&n.disconnect()})}export{Eu as $,gu as A,Hl as B,qa as C,lu as D,uu as E,ye as F,Ns as G,Nu as H,ie as I,cu as J,Ci as K,Ri as L,xc as M,wt as N,Mu as O,Ss as P,Au as Q,In as R,Iu as S,ai as T,he as U,Ln as V,fu as W,Of as X,Ou as Y,Jl as Z,ju as _,oi as a,yi as a$,hu as a0,wu as a1,pu as a2,Cu as a3,vs as a4,yu as a5,ru as a6,Vu as a7,Du as a8,Uu as a9,gf as aA,mf as aB,_f as aC,yf as aD,bf as aE,vf as aF,wf as aG,Ef as aH,Cf as aI,xf as aJ,Sf as aK,Tf as aL,Af as aM,Rf as aN,$f as aO,Ga as aP,Pu as aQ,Ba as aR,Hu as aS,Lf as aT,ut as aU,xu as aV,Fu as aW,Wa as aX,Pf as aY,Mf as aZ,If as a_,Bu as aa,ku as ab,Ku as ac,Wu as ad,qu as ae,Gu as af,Xu as ag,Yu as ah,zu as ai,Ju as aj,Qu as ak,Zu as al,rf as am,ef as an,tf as ao,nf as ap,sf as aq,of as ar,lf as as,cf as at,af as au,uf as av,ff as aw,df as ax,hf as ay,pf as az,ni as b,Ks as b0,Tu as b1,Lu as b2,Ru as b3,Su as b4,Ya as b5,Ct as b6,Mo as b7,au as b8,vu as b9,de as ba,mu as bb,dn as bc,$u as bd,_u as c,js as d,bu as e,Ua as f,Gr as g,se as h,Pa as i,ri as j,Eo as k,iu as l,$a as m,Ts as n,ei as o,ou as p,bi as q,du as r,re as s,Ki as t,ka as u,Pe as v,Ol as w,Bs as x,xt as y,Fn as z}; diff --git a/assets/chunks/giscus-aTimukGI.CKTvSCx2.js b/assets/chunks/giscus-aTimukGI.CKTvSCx2.js new file mode 100644 index 00000000..901e31ab --- /dev/null +++ b/assets/chunks/giscus-aTimukGI.CKTvSCx2.js @@ -0,0 +1,66 @@ +/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const x=globalThis,j=x.ShadowRoot&&(x.ShadyCSS===void 0||x.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,W=Symbol(),q=new WeakMap;let ot=class{constructor(s,t,e){if(this._$cssResult$=!0,e!==W)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=s,this.t=t}get styleSheet(){let s=this.o;const t=this.t;if(j&&s===void 0){const e=t!==void 0&&t.length===1;e&&(s=q.get(t)),s===void 0&&((this.o=s=new CSSStyleSheet).replaceSync(this.cssText),e&&q.set(t,s))}return s}toString(){return this.cssText}};const pt=s=>new ot(typeof s=="string"?s:s+"",void 0,W),_t=(s,...t)=>{const e=s.length===1?s[0]:t.reduce((i,r,o)=>i+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+s[o+1],s[0]);return new ot(e,s,W)},gt=(s,t)=>{if(j)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const i=document.createElement("style"),r=x.litNonce;r!==void 0&&i.setAttribute("nonce",r),i.textContent=e.cssText,s.appendChild(i)}},K=j?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return pt(e)})(s):s;/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const{is:$t,defineProperty:ft,getOwnPropertyDescriptor:mt,getOwnPropertyNames:vt,getOwnPropertySymbols:At,getPrototypeOf:yt}=Object,E=globalThis,Y=E.trustedTypes,St=Y?Y.emptyScript:"",J=E.reactiveElementPolyfillSupport,U=(s,t)=>s,H={toAttribute(s,t){switch(t){case Boolean:s=s?St:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},V=(s,t)=>!$t(s,t),F={attribute:!0,type:String,converter:H,reflect:!1,hasChanged:V};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),E.litPropertyMetadata??(E.litPropertyMetadata=new WeakMap);class S extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=F){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,e);r!==void 0&&ft(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){const{get:r,set:o}=mt(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return r==null?void 0:r.call(this)},set(n){const a=r==null?void 0:r.call(this);o.call(this,n),this.requestUpdate(t,a,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??F}static _$Ei(){if(this.hasOwnProperty(U("elementProperties")))return;const t=yt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(U("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(U("properties"))){const e=this.properties,i=[...vt(e),...At(e)];for(const r of i)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[i,r]of e)this.elementProperties.set(i,r)}this._$Eh=new Map;for(const[e,i]of this.elementProperties){const r=this._$Eu(e,i);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const r of i)e.unshift(K(r))}else t!==void 0&&e.push(K(t));return e}static _$Eu(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$E_??(this._$E_=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$E_)==null||e.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gt(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$E_)==null||t.forEach(e=>{var i;return(i=e.hostConnected)==null?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$E_)==null||t.forEach(e=>{var i;return(i=e.hostDisconnected)==null?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e){var i;const r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(o!==void 0&&r.reflect===!0){const n=(((i=r.converter)==null?void 0:i.toAttribute)!==void 0?r.converter:H).toAttribute(e,r.type);this._$Em=t,n==null?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(t,e){var i;const r=this.constructor,o=r._$Eh.get(t);if(o!==void 0&&this._$Em!==o){const n=r.getPropertyOptions(o),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((i=n.converter)==null?void 0:i.fromAttribute)!==void 0?n.converter:H;this._$Em=o,this[o]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,i,r=!1,o){if(t!==void 0){if(i??(i=this.constructor.getPropertyOptions(t)),!(i.hasChanged??V)(r?o:this[t],e))return;this.C(t,e,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[o,n]of this._$Ep)this[o]=n;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[o,n]of r)n.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.C(o,this[o],n)}let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$E_)==null||t.forEach(r=>{var o;return(o=r.hostUpdate)==null?void 0:o.call(r)}),this.update(i)):this._$ET()}catch(r){throw e=!1,this._$ET(),r}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$E_)==null||e.forEach(i=>{var r;return(r=i.hostUpdated)==null?void 0:r.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EO(e,this[e]))),this._$ET()}updated(t){}firstUpdated(t){}}S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[U("elementProperties")]=new Map,S[U("finalized")]=new Map,J==null||J({ReactiveElement:S}),(E.reactiveElementVersions??(E.reactiveElementVersions=[])).push("2.0.2");/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const L=globalThis,k=L.trustedTypes,Q=k?k.createPolicy("lit-html",{createHTML:s=>s}):void 0,at="$lit$",m=`lit$${(Math.random()+"").slice(9)}$`,ht="?"+m,Et=`<${ht}>`,y=document,O=()=>y.createComment(""),R=s=>s===null||typeof s!="object"&&typeof s!="function",lt=Array.isArray,bt=s=>lt(s)||typeof(s==null?void 0:s[Symbol.iterator])=="function",z=`[ +\f\r]`,w=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Z=/-->/g,X=/>/g,v=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),tt=/'/g,et=/"/g,ct=/^(?:script|style|textarea|title)$/i,Ct=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),wt=Ct(1),b=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),st=new WeakMap,A=y.createTreeWalker(y,129);function dt(s,t){if(!Array.isArray(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Q!==void 0?Q.createHTML(t):t}const Ut=(s,t)=>{const e=s.length-1,i=[];let r,o=t===2?"":"",n=w;for(let a=0;a"?(n=r??w,l=-1):u[1]===void 0?l=-2:(l=n.lastIndex-u[2].length,g=u[1],n=u[3]===void 0?v:u[3]==='"'?et:tt):n===et||n===tt?n=v:n===Z||n===X?n=w:(n=v,r=void 0);const f=n===v&&s[a+1].startsWith("/>")?" ":"";o+=n===w?h+Et:l>=0?(i.push(g),h.slice(0,l)+at+h.slice(l)+m+f):h+m+(l===-2?a:f)}return[dt(s,o+(s[e]||"")+(t===2?"":"")),i]};class N{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,n=0;const a=t.length-1,h=this.parts,[g,u]=Ut(t,e);if(this.el=N.createElement(g,i),A.currentNode=this.el.content,e===2){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(r=A.nextNode())!==null&&h.length0){r.textContent=k?k.emptyScript:"";for(let f=0;f<$;f++)r.append(l[f],O()),A.nextNode(),h.push({type:2,index:++o});r.append(l[$],O())}}}else if(r.nodeType===8)if(r.data===ht)h.push({type:2,index:o});else{let l=-1;for(;(l=r.data.indexOf(m,l+1))!==-1;)h.push({type:7,index:o}),l+=m.length-1}o++}}static createElement(t,e){const i=y.createElement("template");return i.innerHTML=t,i}}function C(s,t,e=s,i){var r,o;if(t===b)return t;let n=i!==void 0?(r=e._$Co)==null?void 0:r[i]:e._$Cl;const a=R(t)?void 0:t._$litDirective$;return(n==null?void 0:n.constructor)!==a&&((o=n==null?void 0:n._$AO)==null||o.call(n,!1),a===void 0?n=void 0:(n=new a(s),n._$AT(s,e,i)),i!==void 0?(e._$Co??(e._$Co=[]))[i]=n:e._$Cl=n),n!==void 0&&(t=C(s,n._$AS(s,t.values),n,i)),t}let Pt=class{constructor(s,t){this._$AV=[],this._$AN=void 0,this._$AD=s,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(s){const{el:{content:t},parts:e}=this._$AD,i=((s==null?void 0:s.creationScope)??y).importNode(t,!0);A.currentNode=i;let r=A.nextNode(),o=0,n=0,a=e[0];for(;a!==void 0;){if(o===a.index){let h;a.type===2?h=new M(r,r.nextSibling,this,s):a.type===1?h=new a.ctor(r,a.name,a.strings,this,s):a.type===6&&(h=new Nt(r,this,s)),this._$AV.push(h),a=e[++n]}o!==(a==null?void 0:a.index)&&(r=A.nextNode(),o++)}return A.currentNode=y,i}p(s){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(s,e,t),t+=e.strings.length-2):e._$AI(s[t])),t++}};class M{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,r){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=(r==null?void 0:r.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=C(this,t,e),R(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==b&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):bt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==c&&R(this._$AH)?this._$AA.nextSibling.data=t:this.$(y.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:r}=t,o=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=N.createElement(dt(r.h,r.h[0]),this.options)),r);if(((e=this._$AH)==null?void 0:e._$AD)===o)this._$AH.p(i);else{const n=new Pt(o,this),a=n.u(this.options);n.p(i),this.$(a),this._$AH=n}}_$AC(t){let e=st.get(t.strings);return e===void 0&&st.set(t.strings,e=new N(t)),e}T(t){lt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new M(this.k(O()),this.k(O()),this,this.options)):i=e[r],i._$AI(o),r++;r2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=c}_$AI(t,e=this,i,r){const o=this.strings;let n=!1;if(o===void 0)t=C(this,t,e,0),n=!R(t)||t!==this._$AH&&t!==b,n&&(this._$AH=t);else{const a=t;let h,g;for(t=o[0],h=0;h{const i=(e==null?void 0:e.renderBefore)??t;let r=i._$litPart$;if(r===void 0){const o=(e==null?void 0:e.renderBefore)??null;i._$litPart$=r=new M(t.insertBefore(O(),o),o,void 0,e??{})}return r._$AI(s),r};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */let P=class extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var s;const t=super.createRenderRoot();return(s=this.renderOptions).renderBefore??(s.renderBefore=t.firstChild),t}update(s){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(s),this._$Do=Mt(t,this.renderRoot,this.renderOptions)}connectedCallback(){var s;super.connectedCallback(),(s=this._$Do)==null||s.setConnected(!0)}disconnectedCallback(){var s;super.disconnectedCallback(),(s=this._$Do)==null||s.setConnected(!1)}render(){return b}};var rt;P._$litElement$=!0,P.finalized=!0,(rt=globalThis.litElementHydrateSupport)==null||rt.call(globalThis,{LitElement:P});const nt=globalThis.litElementPolyfillSupport;nt==null||nt({LitElement:P});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.2");/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const It=s=>(t,e)=>{e!==void 0?e.addInitializer(()=>{customElements.define(s,t)}):customElements.define(s,t)};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const xt={attribute:!0,type:String,converter:H,reflect:!1,hasChanged:V},Ht=(s=xt,t,e)=>{const{kind:i,metadata:r}=e;let o=globalThis.litPropertyMetadata.get(r);if(o===void 0&&globalThis.litPropertyMetadata.set(r,o=new Map),o.set(e.name,s),i==="accessor"){const{name:n}=e;return{set(a){const h=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,h,s)},init(a){return a!==void 0&&this.C(n,void 0,s),a}}}if(i==="setter"){const{name:n}=e;return function(a){const h=this[n];t.call(this,a),this.requestUpdate(n,h,s)}}throw Error("Unsupported decorator location: "+i)};function _(s){return(t,e)=>typeof e=="object"?Ht(s,t,e):((i,r,o)=>{const n=r.hasOwnProperty(o);return r.constructor.createProperty(o,n?{...i,wrapped:!0}:i),n?Object.getOwnPropertyDescriptor(r,o):void 0})(s,t,e)}/** + * @license + * Copyright 2020 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Lt=s=>s.strings===void 0;/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const kt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Gt=s=>(...t)=>({_$litDirective$:s,values:t});let Dt=class{constructor(s){}get _$AU(){return this._$AM._$AU}_$AT(s,t,e){this._$Ct=s,this._$AM=t,this._$Ci=e}_$AS(s,t){return this.update(s,t)}update(s,t){return this.render(...t)}};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const T=(s,t)=>{var e;const i=s._$AN;if(i===void 0)return!1;for(const r of i)(e=r._$AO)==null||e.call(r,t,!1),T(r,t);return!0},G=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while((e==null?void 0:e.size)===0)},ut=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),jt(t)}};function zt(s){this._$AN!==void 0?(G(this),this._$AM=s,ut(this)):this._$AM=s}function Bt(s,t=!1,e=0){const i=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(i))for(let o=e;o{s.type==kt.CHILD&&(s._$AP??(s._$AP=Bt),s._$AQ??(s._$AQ=zt))};class Wt extends Dt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),ut(this),this.isConnected=t._$AU}_$AO(t,e=!0){var i,r;t!==this.isConnected&&(this.isConnected=t,t?(i=this.reconnected)==null||i.call(this):(r=this.disconnected)==null||r.call(this)),e&&(T(this,t),G(this))}setValue(t){if(Lt(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}/** + * @license + * Copyright 2020 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Vt=()=>new qt;class qt{}const B=new WeakMap,Kt=Gt(class extends Wt{render(s){return c}update(s,[t]){var e;const i=t!==this.G;return i&&this.G!==void 0&&this.ot(void 0),(i||this.rt!==this.lt)&&(this.G=t,this.ct=(e=s.options)==null?void 0:e.host,this.ot(this.lt=s.element)),c}ot(s){if(typeof this.G=="function"){const t=this.ct??globalThis;let e=B.get(t);e===void 0&&(e=new WeakMap,B.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ct,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ct,s)}else this.G.value=s}get rt(){var s,t;return typeof this.G=="function"?(s=B.get(this.ct??globalThis))==null?void 0:s.get(this.G):(t=this.G)==null?void 0:t.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});var Yt=Object.defineProperty,Jt=Object.getOwnPropertyDescriptor,p=(s,t,e,i)=>{for(var r=i>1?void 0:i?Jt(t,e):t,o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=(i?n(t,e,r):n(r))||r);return i&&r&&Yt(t,e,r),r};function Ft(s){return customElements.get(s)?t=>t:It(s)}let d=class extends P{constructor(){super(),this.GISCUS_SESSION_KEY="giscus-session",this.GISCUS_DEFAULT_HOST="https://giscus.app",this.ERROR_SUGGESTION="Please consider reporting this error at https://github.com/giscus/giscus/issues/new.",this.__session="",this._iframeRef=Vt(),this.messageEventHandler=this.handleMessageEvent.bind(this),this.hasLoaded=!1,this.host=this.GISCUS_DEFAULT_HOST,this.strict="0",this.reactionsEnabled="1",this.emitMetadata="0",this.inputPosition="bottom",this.theme="light",this.lang="en",this.loading="eager",this.setupSession(),window.addEventListener("message",this.messageEventHandler)}get iframeRef(){var s;return(s=this._iframeRef)==null?void 0:s.value}get _host(){try{return new URL(this.host),this.host}catch{return this.GISCUS_DEFAULT_HOST}}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("message",this.messageEventHandler)}_formatError(s){return`[giscus] An error occurred. Error message: "${s}".`}setupSession(){const s=location.href,t=new URL(s),e=localStorage.getItem(this.GISCUS_SESSION_KEY),i=t.searchParams.get("giscus")??"";if(this.__session="",i){localStorage.setItem(this.GISCUS_SESSION_KEY,JSON.stringify(i)),this.__session=i,t.searchParams.delete("giscus"),t.hash="",history.replaceState(void 0,document.title,t.toString());return}if(e)try{this.__session=JSON.parse(e)}catch(r){localStorage.removeItem(this.GISCUS_SESSION_KEY),console.warn(`${this._formatError(r==null?void 0:r.message)} Session has been cleared.`)}}signOut(){localStorage.removeItem(this.GISCUS_SESSION_KEY),this.__session="",this.update(new Map)}handleMessageEvent(s){if(s.origin!==this._host)return;const{data:t}=s;if(!(typeof t=="object"&&t.giscus))return;if(this.iframeRef&&t.giscus.resizeHeight&&(this.iframeRef.style.height=`${t.giscus.resizeHeight}px`),t.giscus.signOut){console.info("[giscus] User has logged out. Session has been cleared."),this.signOut();return}if(!t.giscus.error)return;const e=t.giscus.error;if(e.includes("Bad credentials")||e.includes("Invalid state value")||e.includes("State has expired")){if(localStorage.getItem(this.GISCUS_SESSION_KEY)!==null){console.warn(`${this._formatError(e)} Session has been cleared.`),this.signOut();return}console.error(`${this._formatError(e)} No session is stored initially. ${this.ERROR_SUGGESTION}`)}if(e.includes("Discussion not found")){console.warn(`[giscus] ${e}. A new discussion will be created if a comment/reaction is submitted.`);return}console.error(`${this._formatError(e)} ${this.ERROR_SUGGESTION}`)}sendMessage(s){var t;!((t=this.iframeRef)!=null&&t.contentWindow)||!this.hasLoaded||this.iframeRef.contentWindow.postMessage({giscus:s},this._host)}updateConfig(){const s={setConfig:{repo:this.repo,repoId:this.repoId,category:this.category,categoryId:this.categoryId,term:this.getTerm(),number:+this.getNumber(),strict:this.strict==="1",reactionsEnabled:this.reactionsEnabled==="1",emitMetadata:this.emitMetadata==="1",inputPosition:this.inputPosition,theme:this.theme,lang:this.lang}};this.sendMessage(s)}firstUpdated(){var s;(s=this.iframeRef)==null||s.addEventListener("load",()=>{var t;(t=this.iframeRef)==null||t.classList.remove("loading"),this.hasLoaded=!0,this.updateConfig()})}requestUpdate(s,t,e){if(!this.hasUpdated||s==="host"){super.requestUpdate(s,t,e);return}this.updateConfig()}getMetaContent(s,t=!1){const e=t?`meta[property='og:${s}'],`:"",i=document.querySelector(e+`meta[name='${s}']`);return i?i.content:""}_getCleanedUrl(){const s=new URL(location.href);return s.searchParams.delete("giscus"),s.hash="",s}getTerm(){switch(this.mapping){case"url":return this._getCleanedUrl().toString();case"title":return document.title;case"og:title":return this.getMetaContent("title",!0);case"specific":return this.term??"";case"number":return"";case"pathname":default:return location.pathname.length<2?"index":location.pathname.substring(1).replace(/\.\w+$/,"")}}getNumber(){return this.mapping==="number"?this.term??"":""}getIframeSrc(){const s=this._getCleanedUrl().toString(),t=`${s}${this.id?"#"+this.id:""}`,e=this.getMetaContent("description",!0),i=this.getMetaContent("giscus:backlink")||s,r={origin:t,session:this.__session,repo:this.repo,repoId:this.repoId??"",category:this.category??"",categoryId:this.categoryId??"",term:this.getTerm(),number:this.getNumber(),strict:this.strict,reactionsEnabled:this.reactionsEnabled,emitMetadata:this.emitMetadata,inputPosition:this.inputPosition,theme:this.theme,description:e,backLink:i},o=this._host,n=this.lang?`/${this.lang}`:"",a=new URLSearchParams(r);return`${o}${n}/widget?${a.toString()}`}render(){return wt` + + `}};d.styles=_t` + :host, + iframe { + width: 100%; + border: none; + min-height: 150px; + color-scheme: light dark; + } + + iframe.loading { + opacity: 0; + } + `;p([_({reflect:!0})],d.prototype,"host",2);p([_({reflect:!0})],d.prototype,"repo",2);p([_({reflect:!0})],d.prototype,"repoId",2);p([_({reflect:!0})],d.prototype,"category",2);p([_({reflect:!0})],d.prototype,"categoryId",2);p([_({reflect:!0})],d.prototype,"mapping",2);p([_({reflect:!0})],d.prototype,"term",2);p([_({reflect:!0})],d.prototype,"strict",2);p([_({reflect:!0})],d.prototype,"reactionsEnabled",2);p([_({reflect:!0})],d.prototype,"emitMetadata",2);p([_({reflect:!0})],d.prototype,"inputPosition",2);p([_({reflect:!0})],d.prototype,"theme",2);p([_({reflect:!0})],d.prototype,"lang",2);p([_({reflect:!0})],d.prototype,"loading",2);d=p([Ft("giscus-widget")],d);export{d as GiscusWidget}; diff --git a/assets/chunks/theme.RqGUseNW.js b/assets/chunks/theme.RqGUseNW.js new file mode 100644 index 00000000..431d4a3c --- /dev/null +++ b/assets/chunks/theme.RqGUseNW.js @@ -0,0 +1,4 @@ +const __vite__fileDeps=["assets/chunks/VPLocalSearchBox.BWlrfQOL.js","assets/chunks/framework.cw3A9gZ3.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{d as g,o as s,c as u,r as c,n as M,a as te,t as z,b as y,w as p,e as f,T as Oe,_ as $,u as tt,i as Mt,f as Bt,g as ye,h as P,j as d,k as i,p as G,l as j,m as ie,q as ze,s as A,v as ee,x as Le,y as Z,z as Fe,A as ot,B as Ot,C as Ft,D as se,F as B,E as W,G as nt,H as Pe,I as _,J as ue,K as at,L as ve,M as ge,N as Se,O as Dt,P as st,Q as Ae,R as De,S as rt,U as Ve,V as Ut,W as Gt,X as it,Y as lt,Z as ct,$ as jt,a0 as qt,a1 as ut,a2 as Rt,a3 as Kt,a4 as me,a5 as Wt,a6 as Yt}from"./framework.cw3A9gZ3.js";const dt=g({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(s(),u("span",{class:M(["VPBadge",e.type])},[c(e.$slots,"default",{},()=>[te(z(e.text),1)])],2))}}),Zt={key:0,class:"VPBackdrop"},Jt=g({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(s(),y(Oe,{name:"fade"},{default:p(()=>[e.show?(s(),u("div",Zt)):f("",!0)]),_:1}))}}),Xt=$(Jt,[["__scopeId","data-v-6fd38c7d"]]),w=tt;function Qt(o,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(o,e):(o(),(n=!0)&&setTimeout(()=>n=!1,e))}}function He(o){return/^\//.test(o)?o:`/${o}`}function Ue(o){const{pathname:e,search:t,hash:n,protocol:a}=new URL(o,"http://a.com");if(Mt(o)||o.startsWith("#")||!a.startsWith("http")||!Bt(e))return o;const{site:r}=w(),l=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return ye(l)}function pe({correspondingLink:o=!1}={}){const{site:e,localeIndex:t,page:n,theme:a,hash:r}=w(),l=P(()=>{var m,k;return{label:(m=e.value.locales[t.value])==null?void 0:m.label,link:((k=e.value.locales[t.value])==null?void 0:k.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:P(()=>Object.entries(e.value.locales).flatMap(([m,k])=>l.value.label===k.label?[]:{text:k.label,link:xt(k.link||(m==="root"?"/":`/${m}/`),a.value.i18nRouting!==!1&&o,n.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+r.value})),currentLang:l}}function xt(o,e,t,n){return e?o.replace(/\/$/,"")+He(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):o}const eo=o=>(G("data-v-baaf7634"),o=o(),j(),o),to={class:"NotFound"},oo={class:"code"},no={class:"title"},ao=eo(()=>d("div",{class:"divider"},null,-1)),so={class:"quote"},ro={class:"action"},io=["href","aria-label"],lo=g({__name:"NotFound",setup(o){const{theme:e}=w(),{currentLang:t}=pe();return(n,a)=>{var r,l,v,m,k;return s(),u("div",to,[d("p",oo,z(((r=i(e).notFound)==null?void 0:r.code)??"404"),1),d("h1",no,z(((l=i(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),ao,d("blockquote",so,z(((v=i(e).notFound)==null?void 0:v.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),d("div",ro,[d("a",{class:"link",href:i(ye)(i(t).link),"aria-label":((m=i(e).notFound)==null?void 0:m.linkLabel)??"go to home"},z(((k=i(e).notFound)==null?void 0:k.linkText)??"Take me home"),9,io)])])}}}),co=$(lo,[["__scopeId","data-v-baaf7634"]]);function mt(o,e){if(Array.isArray(o))return be(o);if(o==null)return[];e=He(e);const t=Object.keys(o).sort((a,r)=>r.split("/").length-a.split("/").length).find(a=>e.startsWith(He(a))),n=t?o[t]:[];return Array.isArray(n)?be(n):be(n.items,n.base)}function uo(o){const e=[];let t=0;for(const n in o){const a=o[n];if(a.items){t=e.push(a);continue}e[t]||e.push({items:[]}),e[t].items.push(a)}return e}function mo(o){const e=[];function t(n){for(const a of n)a.text&&a.link&&e.push({text:a.text,link:a.link,docFooterText:a.docFooterText}),a.items&&t(a.items)}return t(o),e}function Me(o,e){return Array.isArray(e)?e.some(t=>Me(o,t)):ie(o,e.link)?!0:e.items?Me(o,e.items):!1}function be(o,e){return[...o].map(t=>{const n={...t},a=n.base||e;return a&&n.link&&(n.link=a+n.link),n.items&&(n.items=be(n.items,a)),n})}function oe(){const{frontmatter:o,page:e,theme:t}=w(),n=ze("(min-width: 960px)"),a=A(!1),r=P(()=>{const F=t.value.sidebar,C=e.value.relativePath;return F?mt(F,C):[]}),l=A(r.value);ee(r,(F,C)=>{JSON.stringify(F)!==JSON.stringify(C)&&(l.value=r.value)});const v=P(()=>o.value.sidebar!==!1&&l.value.length>0&&o.value.layout!=="home"),m=P(()=>k?o.value.aside==null?t.value.aside==="left":o.value.aside==="left":!1),k=P(()=>o.value.layout==="home"?!1:o.value.aside!=null?!!o.value.aside:t.value.aside!==!1),L=P(()=>v.value&&n.value),b=P(()=>v.value?uo(l.value):[]);function V(){a.value=!0}function N(){a.value=!1}function E(){a.value?N():V()}return{isOpen:a,sidebar:l,sidebarGroups:b,hasSidebar:v,hasAside:k,leftAside:m,isSidebarEnabled:L,open:V,close:N,toggle:E}}function vo(o,e){let t;Le(()=>{t=o.value?document.activeElement:void 0}),Z(()=>{window.addEventListener("keyup",n)}),Fe(()=>{window.removeEventListener("keyup",n)});function n(a){a.key==="Escape"&&o.value&&(e(),t==null||t.focus())}}function po(o){const{page:e,hash:t}=w(),n=A(!1),a=P(()=>o.value.collapsed!=null),r=P(()=>!!o.value.link),l=A(!1),v=()=>{l.value=ie(e.value.relativePath,o.value.link)};ee([e,o,t],v),Z(v);const m=P(()=>l.value?!0:o.value.items?Me(e.value.relativePath,o.value.items):!1),k=P(()=>!!(o.value.items&&o.value.items.length));Le(()=>{n.value=!!(a.value&&o.value.collapsed)}),ot(()=>{(l.value||m.value)&&(n.value=!1)});function L(){a.value&&(n.value=!n.value)}return{collapsed:n,collapsible:a,isLink:r,isActiveLink:l,hasActiveLink:m,hasChildren:k,toggle:L}}function ho(){const{hasSidebar:o}=oe(),e=ze("(min-width: 960px)"),t=ze("(min-width: 1280px)");return{isAsideEnabled:P(()=>!t.value&&!e.value?!1:o.value?t.value:e.value)}}const Be=[];function vt(o){return typeof o.outline=="object"&&!Array.isArray(o.outline)&&o.outline.label||o.outlineTitle||"On this page"}function Ge(o){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:fo(t),link:"#"+t.id,level:n}});return _o(e,o)}function fo(o){let e="";for(const t of o.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function _o(o,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,a]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;o=o.filter(l=>l.level>=n&&l.level<=a),Be.length=0;for(const{element:l,link:v}of o)Be.push({element:l,link:v});const r=[];e:for(let l=0;l=0;m--){const k=o[m];if(k.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),Ot(()=>{l(location.hash)}),Fe(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const v=window.scrollY,m=window.innerHeight,k=document.body.offsetHeight,L=Math.abs(v+m-k)<1,b=Be.map(({element:N,link:E})=>({link:E,top:bo(N)})).filter(({top:N})=>!Number.isNaN(N)).sort((N,E)=>N.top-E.top);if(!b.length){l(null);return}if(v<1){l(null);return}if(L){l(b[b.length-1].link);return}let V=null;for(const{link:N,top:E}of b){if(E>v+Ft()+4)break;V=N}l(V)}function l(v){a&&a.classList.remove("active"),v==null?a=null:a=o.value.querySelector(`a[href="${decodeURIComponent(v)}"]`);const m=a;m?(m.classList.add("active"),e.value.style.top=m.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function bo(o){let e=0;for(;o!==document.body;){if(o===null)return NaN;e+=o.offsetTop,o=o.offsetParent}return e}const ko=["href","title"],$o=g({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(o){function e({target:t}){const n=t.href.split("#")[1],a=document.getElementById(decodeURIComponent(n));a==null||a.focus({preventScroll:!0})}return(t,n)=>{const a=se("VPDocOutlineItem",!0);return s(),u("ul",{class:M(["VPDocOutlineItem",t.root?"root":"nested"])},[(s(!0),u(B,null,W(t.headers,({children:r,link:l,title:v})=>(s(),u("li",null,[d("a",{class:"outline-link",href:l,onClick:e,title:v},z(v),9,ko),r!=null&&r.length?(s(),y(a,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}}),pt=$($o,[["__scopeId","data-v-e416873c"]]),yo={class:"content"},Lo={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Po=g({__name:"VPDocAsideOutline",setup(o){const{frontmatter:e,theme:t}=w(),n=nt([]);Pe(()=>{n.value=Ge(e.value.outline??t.value.outline)});const a=A(),r=A();return go(a,r),(l,v)=>(s(),u("nav",{"aria-labelledby":"doc-outline-aria-label",class:M(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:a},[d("div",yo,[d("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),d("div",Lo,z(i(vt)(i(t))),1),_(pt,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),So=$(Po,[["__scopeId","data-v-173bcab0"]]),Vo={class:"VPDocAsideCarbonAds"},wo=g({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(o){const e=()=>null;return(t,n)=>(s(),u("div",Vo,[_(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),To=o=>(G("data-v-c4496806"),o=o(),j(),o),Io={class:"VPDocAside"},Eo=To(()=>d("div",{class:"spacer"},null,-1)),No=g({__name:"VPDocAside",setup(o){const{theme:e}=w();return(t,n)=>(s(),u("div",Io,[c(t.$slots,"aside-top",{},void 0,!0),c(t.$slots,"aside-outline-before",{},void 0,!0),_(So),c(t.$slots,"aside-outline-after",{},void 0,!0),Eo,c(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(s(),y(wo,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):f("",!0),c(t.$slots,"aside-ads-after",{},void 0,!0),c(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Co=$(No,[["__scopeId","data-v-c4496806"]]);function zo(){const{theme:o,page:e}=w();return P(()=>{const{text:t="Edit this page",pattern:n=""}=o.value.editLink||{};let a;return typeof n=="function"?a=n(e.value):a=n.replace(/:path/g,e.value.filePath),{url:a,text:t}})}function Ao(){const{page:o,theme:e,frontmatter:t}=w();return P(()=>{var k,L,b,V,N,E,F,C;const n=mt(e.value.sidebar,o.value.relativePath),a=mo(n),r=Ho(a,J=>J.link.replace(/[?#].*$/,"")),l=r.findIndex(J=>ie(o.value.relativePath,J.link)),v=((k=e.value.docFooter)==null?void 0:k.prev)===!1&&!t.value.prev||t.value.prev===!1,m=((L=e.value.docFooter)==null?void 0:L.next)===!1&&!t.value.next||t.value.next===!1;return{prev:v?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((b=r[l-1])==null?void 0:b.docFooterText)??((V=r[l-1])==null?void 0:V.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((N=r[l-1])==null?void 0:N.link)},next:m?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((E=r[l+1])==null?void 0:E.docFooterText)??((F=r[l+1])==null?void 0:F.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((C=r[l+1])==null?void 0:C.link)}}})}function Ho(o,e){const t=new Set;return o.filter(n=>{const a=e(n);return t.has(a)?!1:t.add(a)})}const x=g({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(o){const e=o,t=P(()=>e.tag??(e.href?"a":"span")),n=P(()=>e.href&&at.test(e.href)||e.target==="_blank");return(a,r)=>(s(),y(ue(t.value),{class:M(["VPLink",{link:a.href,"vp-external-link-icon":n.value,"no-icon":a.noIcon}]),href:a.href?i(Ue)(a.href):void 0,target:a.target??(n.value?"_blank":void 0),rel:a.rel??(n.value?"noreferrer":void 0)},{default:p(()=>[c(a.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Mo={class:"VPLastUpdated"},Bo=["datetime"],Oo=g({__name:"VPDocFooterLastUpdated",setup(o){const{theme:e,page:t,frontmatter:n,lang:a}=w(),r=P(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),l=P(()=>r.value.toISOString()),v=A("");return Z(()=>{Le(()=>{var m,k,L;v.value=new Intl.DateTimeFormat((k=(m=e.value.lastUpdated)==null?void 0:m.formatOptions)!=null&&k.forceLocale?a.value:void 0,((L=e.value.lastUpdated)==null?void 0:L.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(m,k)=>{var L;return s(),u("p",Mo,[te(z(((L=i(e).lastUpdated)==null?void 0:L.text)||i(e).lastUpdatedText||"Last updated")+": ",1),d("time",{datetime:l.value},z(v.value),9,Bo)])}}}),Fo=$(Oo,[["__scopeId","data-v-b2c3180a"]]),ht=o=>(G("data-v-5e7854d9"),o=o(),j(),o),Do={key:0,class:"VPDocFooter"},Uo={key:0,class:"edit-info"},Go={key:0,class:"edit-link"},jo=ht(()=>d("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),qo={key:1,class:"last-updated"},Ro={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Ko=ht(()=>d("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),Wo={class:"pager"},Yo=["innerHTML"],Zo=["innerHTML"],Jo={class:"pager"},Xo=["innerHTML"],Qo=["innerHTML"],xo=g({__name:"VPDocFooter",setup(o){const{theme:e,page:t,frontmatter:n}=w(),a=zo(),r=Ao(),l=P(()=>e.value.editLink&&n.value.editLink!==!1),v=P(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),m=P(()=>l.value||v.value||r.value.prev||r.value.next);return(k,L)=>{var b,V,N,E;return m.value?(s(),u("footer",Do,[c(k.$slots,"doc-footer-before",{},void 0,!0),l.value||v.value?(s(),u("div",Uo,[l.value?(s(),u("div",Go,[_(x,{class:"edit-link-button",href:i(a).url,"no-icon":!0},{default:p(()=>[jo,te(" "+z(i(a).text),1)]),_:1},8,["href"])])):f("",!0),v.value?(s(),u("div",qo,[_(Fo)])):f("",!0)])):f("",!0),(b=i(r).prev)!=null&&b.link||(V=i(r).next)!=null&&V.link?(s(),u("nav",Ro,[Ko,d("div",Wo,[(N=i(r).prev)!=null&&N.link?(s(),y(x,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:p(()=>{var F;return[d("span",{class:"desc",innerHTML:((F=i(e).docFooter)==null?void 0:F.prev)||"Previous page"},null,8,Yo),d("span",{class:"title",innerHTML:i(r).prev.text},null,8,Zo)]}),_:1},8,["href"])):f("",!0)]),d("div",Jo,[(E=i(r).next)!=null&&E.link?(s(),y(x,{key:0,class:"pager-link next",href:i(r).next.link},{default:p(()=>{var F;return[d("span",{class:"desc",innerHTML:((F=i(e).docFooter)==null?void 0:F.next)||"Next page"},null,8,Xo),d("span",{class:"title",innerHTML:i(r).next.text},null,8,Qo)]}),_:1},8,["href"])):f("",!0)])])):f("",!0)])):f("",!0)}}}),en=$(xo,[["__scopeId","data-v-5e7854d9"]]),tn=o=>(G("data-v-e4c2a608"),o=o(),j(),o),on={class:"container"},nn=tn(()=>d("div",{class:"aside-curtain"},null,-1)),an={class:"aside-container"},sn={class:"aside-content"},rn={class:"content"},ln={class:"content-container"},cn={class:"main"},un=g({__name:"VPDoc",setup(o){const{theme:e}=w(),t=ve(),{hasSidebar:n,hasAside:a,leftAside:r}=oe(),l=P(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(v,m)=>{const k=se("Content");return s(),u("div",{class:M(["VPDoc",{"has-sidebar":i(n),"has-aside":i(a)}])},[c(v.$slots,"doc-top",{},void 0,!0),d("div",on,[i(a)?(s(),u("div",{key:0,class:M(["aside",{"left-aside":i(r)}])},[nn,d("div",an,[d("div",sn,[_(Co,null,{"aside-top":p(()=>[c(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[c(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[c(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[c(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[c(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[c(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),d("div",rn,[d("div",ln,[c(v.$slots,"doc-before",{},void 0,!0),d("main",cn,[_(k,{class:M(["vp-doc",[l.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),_(en,null,{"doc-footer-before":p(()=>[c(v.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),c(v.$slots,"doc-after",{},void 0,!0)])])]),c(v.$slots,"doc-bottom",{},void 0,!0)],2)}}}),dn=$(un,[["__scopeId","data-v-e4c2a608"]]),mn=g({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(o){const e=o,t=P(()=>e.href&&at.test(e.href)),n=P(()=>e.tag||e.href?"a":"button");return(a,r)=>(s(),y(ue(n.value),{class:M(["VPButton",[a.size,a.theme]]),href:a.href?i(Ue)(a.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:p(()=>[te(z(a.text),1)]),_:1},8,["class","href","target","rel"]))}}),vn=$(mn,[["__scopeId","data-v-58a288e4"]]),pn=["src","alt"],hn=g({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(o){return(e,t)=>{const n=se("VPImage",!0);return e.image?(s(),u(B,{key:0},[typeof e.image=="string"||"src"in e.image?(s(),u("img",ge({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(ye)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,pn)):(s(),u(B,{key:1},[_(n,ge({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),_(n,ge({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),$e=$(hn,[["__scopeId","data-v-66129518"]]),fn=o=>(G("data-v-d23dfec6"),o=o(),j(),o),_n={class:"container"},gn={class:"main"},bn={key:0,class:"name"},kn=["innerHTML"],$n=["innerHTML"],yn=["innerHTML"],Ln={key:0,class:"actions"},Pn={key:0,class:"image"},Sn={class:"image-container"},Vn=fn(()=>d("div",{class:"image-bg"},null,-1)),wn=g({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(o){const e=Se("hero-image-slot-exists");return(t,n)=>(s(),u("div",{class:M(["VPHero",{"has-image":t.image||i(e)}])},[d("div",_n,[d("div",gn,[c(t.$slots,"home-hero-info-before",{},void 0,!0),c(t.$slots,"home-hero-info",{},()=>[t.name?(s(),u("h1",bn,[d("span",{innerHTML:t.name,class:"clip"},null,8,kn)])):f("",!0),t.text?(s(),u("p",{key:1,innerHTML:t.text,class:"text"},null,8,$n)):f("",!0),t.tagline?(s(),u("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,yn)):f("",!0)],!0),c(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(s(),u("div",Ln,[(s(!0),u(B,null,W(t.actions,a=>(s(),u("div",{key:a.link,class:"action"},[_(vn,{tag:"a",size:"medium",theme:a.theme,text:a.text,href:a.link,target:a.target,rel:a.rel},null,8,["theme","text","href","target","rel"])]))),128))])):f("",!0),c(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||i(e)?(s(),u("div",Pn,[d("div",Sn,[Vn,c(t.$slots,"home-hero-image",{},()=>[t.image?(s(),y($e,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),Tn=$(wn,[["__scopeId","data-v-d23dfec6"]]),In=g({__name:"VPHomeHero",setup(o){const{frontmatter:e}=w();return(t,n)=>i(e).hero?(s(),y(Tn,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info-before":p(()=>[c(t.$slots,"home-hero-info-before")]),"home-hero-info":p(()=>[c(t.$slots,"home-hero-info")]),"home-hero-info-after":p(()=>[c(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":p(()=>[c(t.$slots,"home-hero-actions-after")]),"home-hero-image":p(()=>[c(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),En=o=>(G("data-v-54a50e5e"),o=o(),j(),o),Nn={class:"box"},Cn={key:0,class:"icon"},zn=["innerHTML"],An=["innerHTML"],Hn=["innerHTML"],Mn={key:4,class:"link-text"},Bn={class:"link-text-value"},On=En(()=>d("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Fn=g({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(o){return(e,t)=>(s(),y(x,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:p(()=>[d("article",Nn,[typeof e.icon=="object"&&e.icon.wrap?(s(),u("div",Cn,[_($e,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(s(),y($e,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(s(),u("div",{key:2,class:"icon",innerHTML:e.icon},null,8,zn)):f("",!0),d("h2",{class:"title",innerHTML:e.title},null,8,An),e.details?(s(),u("p",{key:3,class:"details",innerHTML:e.details},null,8,Hn)):f("",!0),e.linkText?(s(),u("div",Mn,[d("p",Bn,[te(z(e.linkText)+" ",1),On])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Dn=$(Fn,[["__scopeId","data-v-54a50e5e"]]),Un={key:0,class:"VPFeatures"},Gn={class:"container"},jn={class:"items"},qn=g({__name:"VPFeatures",props:{features:{}},setup(o){const e=o,t=P(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,a)=>n.features?(s(),u("div",Un,[d("div",Gn,[d("div",jn,[(s(!0),u(B,null,W(n.features,r=>(s(),u("div",{key:r.title,class:M(["item",[t.value]])},[_(Dn,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),Rn=$(qn,[["__scopeId","data-v-4507f11b"]]),Kn=g({__name:"VPHomeFeatures",setup(o){const{frontmatter:e}=w();return(t,n)=>i(e).features?(s(),y(Rn,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):f("",!0)}}),Wn=g({__name:"VPHomeContent",setup(o){const{width:e}=Dt({initialWidth:0,includeScrollbar:!1});return(t,n)=>(s(),u("div",{class:"vp-doc container",style:st(i(e)?{"--vp-offset":`calc(50% - ${i(e)/2}px)`}:{})},[c(t.$slots,"default",{},void 0,!0)],4))}}),Yn=$(Wn,[["__scopeId","data-v-2f26f998"]]),Zn={class:"VPHome"},Jn=g({__name:"VPHome",setup(o){const{frontmatter:e}=w();return(t,n)=>{const a=se("Content");return s(),u("div",Zn,[c(t.$slots,"home-hero-before",{},void 0,!0),_(In,null,{"home-hero-info-before":p(()=>[c(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[c(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[c(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[c(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[c(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),c(t.$slots,"home-hero-after",{},void 0,!0),c(t.$slots,"home-features-before",{},void 0,!0),_(Kn),c(t.$slots,"home-features-after",{},void 0,!0),i(e).markdownStyles!==!1?(s(),y(Yn,{key:0},{default:p(()=>[_(a)]),_:1})):(s(),y(a,{key:1}))])}}}),Xn=$(Jn,[["__scopeId","data-v-6fa276e3"]]),Qn={},xn={class:"VPPage"};function ea(o,e){const t=se("Content");return s(),u("div",xn,[c(o.$slots,"page-top"),_(t),c(o.$slots,"page-bottom")])}const ta=$(Qn,[["render",ea]]),oa=g({__name:"VPContent",setup(o){const{page:e,frontmatter:t}=w(),{hasSidebar:n}=oe();return(a,r)=>(s(),u("div",{class:M(["VPContent",{"has-sidebar":i(n),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?c(a.$slots,"not-found",{key:0},()=>[_(co)],!0):i(t).layout==="page"?(s(),y(ta,{key:1},{"page-top":p(()=>[c(a.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[c(a.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(s(),y(Xn,{key:2},{"home-hero-before":p(()=>[c(a.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[c(a.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[c(a.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[c(a.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[c(a.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[c(a.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[c(a.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[c(a.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[c(a.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(t).layout&&i(t).layout!=="doc"?(s(),y(ue(i(t).layout),{key:3})):(s(),y(dn,{key:4},{"doc-top":p(()=>[c(a.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[c(a.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":p(()=>[c(a.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[c(a.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[c(a.$slots,"doc-after",{},void 0,!0)]),"aside-top":p(()=>[c(a.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":p(()=>[c(a.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[c(a.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[c(a.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[c(a.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":p(()=>[c(a.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),na=$(oa,[["__scopeId","data-v-e01aebcb"]]),aa={class:"container"},sa=["innerHTML"],ra=["innerHTML"],ia=g({__name:"VPFooter",setup(o){const{theme:e,frontmatter:t}=w(),{hasSidebar:n}=oe();return(a,r)=>i(e).footer&&i(t).footer!==!1?(s(),u("footer",{key:0,class:M(["VPFooter",{"has-sidebar":i(n)}])},[d("div",aa,[i(e).footer.message?(s(),u("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,sa)):f("",!0),i(e).footer.copyright?(s(),u("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,ra)):f("",!0)])],2)):f("",!0)}}),la=$(ia,[["__scopeId","data-v-058c9c44"]]);function ca(){const{theme:o,frontmatter:e}=w(),t=nt([]),n=P(()=>t.value.length>0);return Pe(()=>{t.value=Ge(e.value.outline??o.value.outline)}),{headers:t,hasLocalNav:n}}const ua=o=>(G("data-v-cf9a8269"),o=o(),j(),o),da={class:"menu-text"},ma=ua(()=>d("span",{class:"vpi-chevron-right icon"},null,-1)),va={class:"header"},pa={class:"outline"},ha=g({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(o){const e=o,{theme:t}=w(),n=A(!1),a=A(0),r=A(),l=A();function v(b){var V;(V=r.value)!=null&&V.contains(b.target)||(n.value=!1)}ee(n,b=>{if(b){document.addEventListener("click",v);return}document.removeEventListener("click",v)}),Ae("Escape",()=>{n.value=!1}),Pe(()=>{n.value=!1});function m(){n.value=!n.value,a.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function k(b){b.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),De(()=>{n.value=!1}))}function L(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(b,V)=>(s(),u("div",{class:"VPLocalNavOutlineDropdown",style:st({"--vp-vh":a.value+"px"}),ref_key:"main",ref:r},[b.headers.length>0?(s(),u("button",{key:0,onClick:m,class:M({open:n.value})},[d("span",da,z(i(vt)(i(t))),1),ma],2)):(s(),u("button",{key:1,onClick:L},z(i(t).returnToTopLabel||"Return to top"),1)),_(Oe,{name:"flyout"},{default:p(()=>[n.value?(s(),u("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:k},[d("div",va,[d("a",{class:"top-link",href:"#",onClick:L},z(i(t).returnToTopLabel||"Return to top"),1)]),d("div",pa,[_(pt,{headers:b.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),fa=$(ha,[["__scopeId","data-v-cf9a8269"]]),_a=o=>(G("data-v-ffae9a67"),o=o(),j(),o),ga={class:"container"},ba=["aria-expanded"],ka=_a(()=>d("span",{class:"vpi-align-left menu-icon"},null,-1)),$a={class:"menu-text"},ya=g({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(o){const{theme:e,frontmatter:t}=w(),{hasSidebar:n}=oe(),{headers:a}=ca(),{y:r}=rt(),l=A(0);Z(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Pe(()=>{a.value=Ge(t.value.outline??e.value.outline)});const v=P(()=>a.value.length===0),m=P(()=>v.value&&!n.value),k=P(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:v.value,fixed:m.value}));return(L,b)=>i(t).layout!=="home"&&(!m.value||i(r)>=l.value)?(s(),u("div",{key:0,class:M(k.value)},[d("div",ga,[i(n)?(s(),u("button",{key:0,class:"menu","aria-expanded":L.open,"aria-controls":"VPSidebarNav",onClick:b[0]||(b[0]=V=>L.$emit("open-menu"))},[ka,d("span",$a,z(i(e).sidebarMenuLabel||"Menu"),1)],8,ba)):f("",!0),_(fa,{headers:i(a),navHeight:l.value},null,8,["headers","navHeight"])])],2)):f("",!0)}}),La=$(ya,[["__scopeId","data-v-ffae9a67"]]);function Pa(){const o=A(!1);function e(){o.value=!0,window.addEventListener("resize",a)}function t(){o.value=!1,window.removeEventListener("resize",a)}function n(){o.value?t():e()}function a(){window.outerWidth>=768&&t()}const r=ve();return ee(()=>r.path,t),{isScreenOpen:o,openScreen:e,closeScreen:t,toggleScreen:n}}const Sa={},Va={class:"VPSwitch",type:"button",role:"switch"},wa={class:"check"},Ta={key:0,class:"icon"};function Ia(o,e){return s(),u("button",Va,[d("span",wa,[o.$slots.default?(s(),u("span",Ta,[c(o.$slots,"default",{},void 0,!0)])):f("",!0)])])}const Ea=$(Sa,[["render",Ia],["__scopeId","data-v-4e6eee23"]]),ft=o=>(G("data-v-f4b445d6"),o=o(),j(),o),Na=ft(()=>d("span",{class:"vpi-sun sun"},null,-1)),Ca=ft(()=>d("span",{class:"vpi-moon moon"},null,-1)),za=g({__name:"VPSwitchAppearance",setup(o){const{isDark:e,theme:t}=w(),n=Se("toggle-appearance",()=>{e.value=!e.value}),a=P(()=>e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme");return(r,l)=>(s(),y(Ea,{title:a.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(n)},{default:p(()=>[Na,Ca]),_:1},8,["title","aria-checked","onClick"]))}}),je=$(za,[["__scopeId","data-v-f4b445d6"]]),Aa={key:0,class:"VPNavBarAppearance"},Ha=g({__name:"VPNavBarAppearance",setup(o){const{site:e}=w();return(t,n)=>i(e).appearance&&i(e).appearance!=="force-dark"?(s(),u("div",Aa,[_(je)])):f("",!0)}}),Ma=$(Ha,[["__scopeId","data-v-c8debaca"]]),qe=A();let _t=!1,Ce=0;function Ba(o){const e=A(!1);if(Ve){!_t&&Oa(),Ce++;const t=ee(qe,n=>{var a,r,l;n===o.el.value||(a=o.el.value)!=null&&a.contains(n)?(e.value=!0,(r=o.onFocus)==null||r.call(o)):(e.value=!1,(l=o.onBlur)==null||l.call(o))});Fe(()=>{t(),Ce--,Ce||Fa()})}return Ut(e)}function Oa(){document.addEventListener("focusin",gt),_t=!0,qe.value=document.activeElement}function Fa(){document.removeEventListener("focusin",gt)}function gt(){qe.value=document.activeElement}const Da={class:"VPMenuLink"},Ua=g({__name:"VPMenuLink",props:{item:{}},setup(o){const{page:e}=w();return(t,n)=>(s(),u("div",Da,[_(x,{class:M({active:i(ie)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:p(()=>[te(z(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),we=$(Ua,[["__scopeId","data-v-148ccee4"]]),Ga={class:"VPMenuGroup"},ja={key:0,class:"title"},qa=g({__name:"VPMenuGroup",props:{text:{},items:{}},setup(o){return(e,t)=>(s(),u("div",Ga,[e.text?(s(),u("p",ja,z(e.text),1)):f("",!0),(s(!0),u(B,null,W(e.items,n=>(s(),u(B,null,["link"in n?(s(),y(we,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}}),Ra=$(qa,[["__scopeId","data-v-81836f58"]]),Ka={class:"VPMenu"},Wa={key:0,class:"items"},Ya=g({__name:"VPMenu",props:{items:{}},setup(o){return(e,t)=>(s(),u("div",Ka,[e.items?(s(),u("div",Wa,[(s(!0),u(B,null,W(e.items,n=>(s(),u(B,{key:n.text},["link"in n?(s(),y(we,{key:0,item:n},null,8,["item"])):(s(),y(Ra,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),c(e.$slots,"default",{},void 0,!0)]))}}),Za=$(Ya,[["__scopeId","data-v-b6ca2d55"]]),Ja=o=>(G("data-v-5c7784f0"),o=o(),j(),o),Xa=["aria-expanded","aria-label"],Qa={key:0,class:"text"},xa=["innerHTML"],es=Ja(()=>d("span",{class:"vpi-chevron-down text-icon"},null,-1)),ts={key:1,class:"vpi-more-horizontal icon"},os={class:"menu"},ns=g({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(o){const e=A(!1),t=A();Ba({el:t,onBlur:n});function n(){e.value=!1}return(a,r)=>(s(),u("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=l=>e.value=!0),onMouseleave:r[2]||(r[2]=l=>e.value=!1)},[d("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":a.label,onClick:r[0]||(r[0]=l=>e.value=!e.value)},[a.button||a.icon?(s(),u("span",Qa,[a.icon?(s(),u("span",{key:0,class:M([a.icon,"option-icon"])},null,2)):f("",!0),a.button?(s(),u("span",{key:1,innerHTML:a.button},null,8,xa)):f("",!0),es])):(s(),u("span",ts))],8,Xa),d("div",os,[_(Za,{items:a.items},{default:p(()=>[c(a.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Re=$(ns,[["__scopeId","data-v-5c7784f0"]]),as=["href","aria-label","innerHTML"],ss=g({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(o){const e=o,t=P(()=>typeof e.icon=="object"?e.icon.svg:``);return(n,a)=>(s(),u("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,as))}}),rs=$(ss,[["__scopeId","data-v-0b9403eb"]]),is={class:"VPSocialLinks"},ls=g({__name:"VPSocialLinks",props:{links:{}},setup(o){return(e,t)=>(s(),u("div",is,[(s(!0),u(B,null,W(e.links,({link:n,icon:a,ariaLabel:r})=>(s(),y(rs,{key:n,icon:a,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),Ke=$(ls,[["__scopeId","data-v-e3ff33b4"]]),cs={key:0,class:"group translations"},us={class:"trans-title"},ds={key:1,class:"group"},ms={class:"item appearance"},vs={class:"label"},ps={class:"appearance-action"},hs={key:2,class:"group"},fs={class:"item social-links"},_s=g({__name:"VPNavBarExtra",setup(o){const{site:e,theme:t}=w(),{localeLinks:n,currentLang:a}=pe({correspondingLink:!0}),r=P(()=>n.value.length&&a.value.label||e.value.appearance||t.value.socialLinks);return(l,v)=>r.value?(s(),y(Re,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:p(()=>[i(n).length&&i(a).label?(s(),u("div",cs,[d("p",us,z(i(a).label),1),(s(!0),u(B,null,W(i(n),m=>(s(),y(we,{key:m.link,item:m},null,8,["item"]))),128))])):f("",!0),i(e).appearance&&i(e).appearance!=="force-dark"?(s(),u("div",ds,[d("div",ms,[d("p",vs,z(i(t).darkModeSwitchLabel||"Appearance"),1),d("div",ps,[_(je)])])])):f("",!0),i(t).socialLinks?(s(),u("div",hs,[d("div",fs,[_(Ke,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),gs=$(_s,[["__scopeId","data-v-7aa10c87"]]),bs=o=>(G("data-v-e985d409"),o=o(),j(),o),ks=["aria-expanded"],$s=bs(()=>d("span",{class:"container"},[d("span",{class:"top"}),d("span",{class:"middle"}),d("span",{class:"bottom"})],-1)),ys=[$s],Ls=g({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(o){return(e,t)=>(s(),u("button",{type:"button",class:M(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},ys,10,ks))}}),Ps=$(Ls,[["__scopeId","data-v-e985d409"]]),Ss=["innerHTML"],Vs=g({__name:"VPNavBarMenuLink",props:{item:{}},setup(o){const{page:e}=w();return(t,n)=>(s(),y(x,{class:M({VPNavBarMenuLink:!0,active:i(ie)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:p(()=>[d("span",{innerHTML:t.item.text},null,8,Ss)]),_:1},8,["class","href","noIcon","target","rel"]))}}),ws=$(Vs,[["__scopeId","data-v-f8eda10f"]]),Ts=g({__name:"VPNavBarMenuGroup",props:{item:{}},setup(o){const e=o,{page:t}=w(),n=r=>"link"in r?ie(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),a=P(()=>n(e.item));return(r,l)=>(s(),y(Re,{class:M({VPNavBarMenuGroup:!0,active:i(ie)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||a.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Is=o=>(G("data-v-a160c3e1"),o=o(),j(),o),Es={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ns=Is(()=>d("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Cs=g({__name:"VPNavBarMenu",setup(o){const{theme:e}=w();return(t,n)=>i(e).nav?(s(),u("nav",Es,[Ns,(s(!0),u(B,null,W(i(e).nav,a=>(s(),u(B,{key:a.text},["link"in a?(s(),y(ws,{key:0,item:a},null,8,["item"])):(s(),y(Ts,{key:1,item:a},null,8,["item"]))],64))),128))])):f("",!0)}}),zs=$(Cs,[["__scopeId","data-v-a160c3e1"]]);function As(o){const{localeIndex:e,theme:t}=w();function n(a){var E,F,C;const r=a.split("."),l=(E=t.value.search)==null?void 0:E.options,v=l&&typeof l=="object",m=v&&((C=(F=l.locales)==null?void 0:F[e.value])==null?void 0:C.translations)||null,k=v&&l.translations||null;let L=m,b=k,V=o;const N=r.pop();for(const J of r){let X=null;const D=V==null?void 0:V[J];D&&(X=V=D);const ne=b==null?void 0:b[J];ne&&(X=b=ne);const Q=L==null?void 0:L[J];Q&&(X=L=Q),D||(V=X),ne||(b=X),Q||(L=X)}return(L==null?void 0:L[N])??(b==null?void 0:b[N])??(V==null?void 0:V[N])??""}return n}const Hs=["aria-label"],Ms={class:"DocSearch-Button-Container"},Bs=d("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Os={class:"DocSearch-Button-Placeholder"},Fs=d("span",{class:"DocSearch-Button-Keys"},[d("kbd",{class:"DocSearch-Button-Key"}),d("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ze=g({__name:"VPNavBarSearchButton",setup(o){const t=As({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,a)=>(s(),u("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(t)("button.buttonAriaLabel")},[d("span",Ms,[Bs,d("span",Os,z(i(t)("button.buttonText")),1)]),Fs],8,Hs))}}),Ds={class:"VPNavBarSearch"},Us={id:"local-search"},Gs={key:1,id:"docsearch"},js=g({__name:"VPNavBarSearch",setup(o){const e=Gt(()=>it(()=>import("./VPLocalSearchBox.BWlrfQOL.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=w(),a=A(!1),r=A(!1);Z(()=>{});function l(){a.value||(a.value=!0,setTimeout(v,16))}function v(){const b=new Event("keydown");b.key="k",b.metaKey=!0,window.dispatchEvent(b),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||v()},16)}function m(b){const V=b.target,N=V.tagName;return V.isContentEditable||N==="INPUT"||N==="SELECT"||N==="TEXTAREA"}const k=A(!1);Ae("k",b=>{(b.ctrlKey||b.metaKey)&&(b.preventDefault(),k.value=!0)}),Ae("/",b=>{m(b)||(b.preventDefault(),k.value=!0)});const L="local";return(b,V)=>{var N;return s(),u("div",Ds,[i(L)==="local"?(s(),u(B,{key:0},[k.value?(s(),y(i(e),{key:0,onClose:V[0]||(V[0]=E=>k.value=!1)})):f("",!0),d("div",Us,[_(Ze,{onClick:V[1]||(V[1]=E=>k.value=!0)})])],64)):i(L)==="algolia"?(s(),u(B,{key:1},[a.value?(s(),y(i(t),{key:0,algolia:((N=i(n).search)==null?void 0:N.options)??i(n).algolia,onVnodeBeforeMount:V[2]||(V[2]=E=>r.value=!0)},null,8,["algolia"])):f("",!0),r.value?f("",!0):(s(),u("div",Gs,[_(Ze,{onClick:l})]))],64)):f("",!0)])}}}),qs=g({__name:"VPNavBarSocialLinks",setup(o){const{theme:e}=w();return(t,n)=>i(e).socialLinks?(s(),y(Ke,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),Rs=$(qs,[["__scopeId","data-v-c9c77adc"]]),Ks=["href","rel","target"],Ws={key:1},Ys={key:2},Zs=g({__name:"VPNavBarTitle",setup(o){const{site:e,theme:t}=w(),{hasSidebar:n}=oe(),{currentLang:a}=pe(),r=P(()=>{var m;return typeof t.value.logoLink=="string"?t.value.logoLink:(m=t.value.logoLink)==null?void 0:m.link}),l=P(()=>{var m;return typeof t.value.logoLink=="string"||(m=t.value.logoLink)==null?void 0:m.rel}),v=P(()=>{var m;return typeof t.value.logoLink=="string"||(m=t.value.logoLink)==null?void 0:m.target});return(m,k)=>(s(),u("div",{class:M(["VPNavBarTitle",{"has-sidebar":i(n)}])},[d("a",{class:"title",href:r.value??i(Ue)(i(a).link),rel:l.value,target:v.value},[c(m.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(s(),y($e,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):f("",!0),i(t).siteTitle?(s(),u("span",Ws,z(i(t).siteTitle),1)):i(t).siteTitle===void 0?(s(),u("span",Ys,z(i(e).title),1)):f("",!0),c(m.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ks)],2))}}),Js=$(Zs,[["__scopeId","data-v-13f93eac"]]),Xs={class:"items"},Qs={class:"title"},xs=g({__name:"VPNavBarTranslations",setup(o){const{theme:e}=w(),{localeLinks:t,currentLang:n}=pe({correspondingLink:!0});return(a,r)=>i(t).length&&i(n).label?(s(),y(Re,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:i(e).langMenuLabel||"Change language"},{default:p(()=>[d("div",Xs,[d("p",Qs,z(i(n).label),1),(s(!0),u(B,null,W(i(t),l=>(s(),y(we,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),er=$(xs,[["__scopeId","data-v-976f6f40"]]),tr=o=>(G("data-v-03344f85"),o=o(),j(),o),or={class:"wrapper"},nr={class:"container"},ar={class:"title"},sr={class:"content"},rr={class:"content-body"},ir=tr(()=>d("div",{class:"divider"},[d("div",{class:"divider-line"})],-1)),lr=g({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const{y:e}=rt(),{hasSidebar:t}=oe(),{frontmatter:n}=w(),a=A({});return ot(()=>{a.value={"has-sidebar":t.value,home:n.value.layout==="home",top:e.value===0}}),(r,l)=>(s(),u("div",{class:M(["VPNavBar",a.value])},[d("div",or,[d("div",nr,[d("div",ar,[_(Js,null,{"nav-bar-title-before":p(()=>[c(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[c(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),d("div",sr,[d("div",rr,[c(r.$slots,"nav-bar-content-before",{},void 0,!0),_(js,{class:"search"}),_(zs,{class:"menu"}),_(er,{class:"translations"}),_(Ma,{class:"appearance"}),_(Rs,{class:"social-links"}),_(gs,{class:"extra"}),c(r.$slots,"nav-bar-content-after",{},void 0,!0),_(Ps,{class:"hamburger",active:r.isScreenOpen,onClick:l[0]||(l[0]=v=>r.$emit("toggle-screen"))},null,8,["active"])])])])]),ir],2))}}),cr=$(lr,[["__scopeId","data-v-03344f85"]]),ur={key:0,class:"VPNavScreenAppearance"},dr={class:"text"},mr=g({__name:"VPNavScreenAppearance",setup(o){const{site:e,theme:t}=w();return(n,a)=>i(e).appearance&&i(e).appearance!=="force-dark"?(s(),u("div",ur,[d("p",dr,z(i(t).darkModeSwitchLabel||"Appearance"),1),_(je)])):f("",!0)}}),vr=$(mr,[["__scopeId","data-v-1c473a56"]]),pr=g({__name:"VPNavScreenMenuLink",props:{item:{}},setup(o){const e=Se("close-screen");return(t,n)=>(s(),y(x,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),hr=$(pr,[["__scopeId","data-v-41ce1968"]]),fr=g({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(o){const e=Se("close-screen");return(t,n)=>(s(),y(x,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:p(()=>[te(z(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),bt=$(fr,[["__scopeId","data-v-fa0ae97a"]]),_r={class:"VPNavScreenMenuGroupSection"},gr={key:0,class:"title"},br=g({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(o){return(e,t)=>(s(),u("div",_r,[e.text?(s(),u("p",gr,z(e.text),1)):f("",!0),(s(!0),u(B,null,W(e.items,n=>(s(),y(bt,{key:n.text,item:n},null,8,["item"]))),128))]))}}),kr=$(br,[["__scopeId","data-v-6168904f"]]),$r=o=>(G("data-v-0c1ce2b1"),o=o(),j(),o),yr=["aria-controls","aria-expanded"],Lr=["innerHTML"],Pr=$r(()=>d("span",{class:"vpi-plus button-icon"},null,-1)),Sr=["id"],Vr={key:1,class:"group"},wr=g({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(o){const e=o,t=A(!1),n=P(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function a(){t.value=!t.value}return(r,l)=>(s(),u("div",{class:M(["VPNavScreenMenuGroup",{open:t.value}])},[d("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:a},[d("span",{class:"button-text",innerHTML:r.text},null,8,Lr),Pr],8,yr),d("div",{id:n.value,class:"items"},[(s(!0),u(B,null,W(r.items,v=>(s(),u(B,{key:v.text},["link"in v?(s(),u("div",{key:v.text,class:"item"},[_(bt,{item:v},null,8,["item"])])):(s(),u("div",Vr,[_(kr,{text:v.text,items:v.items},null,8,["text","items"])]))],64))),128))],8,Sr)],2))}}),Tr=$(wr,[["__scopeId","data-v-0c1ce2b1"]]),Ir={key:0,class:"VPNavScreenMenu"},Er=g({__name:"VPNavScreenMenu",setup(o){const{theme:e}=w();return(t,n)=>i(e).nav?(s(),u("nav",Ir,[(s(!0),u(B,null,W(i(e).nav,a=>(s(),u(B,{key:a.text},["link"in a?(s(),y(hr,{key:0,item:a},null,8,["item"])):(s(),y(Tr,{key:1,text:a.text||"",items:a.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Nr=g({__name:"VPNavScreenSocialLinks",setup(o){const{theme:e}=w();return(t,n)=>i(e).socialLinks?(s(),y(Ke,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),kt=o=>(G("data-v-502ed004"),o=o(),j(),o),Cr=kt(()=>d("span",{class:"vpi-languages icon lang"},null,-1)),zr=kt(()=>d("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Ar={class:"list"},Hr=g({__name:"VPNavScreenTranslations",setup(o){const{localeLinks:e,currentLang:t}=pe({correspondingLink:!0}),n=A(!1);function a(){n.value=!n.value}return(r,l)=>i(e).length&&i(t).label?(s(),u("div",{key:0,class:M(["VPNavScreenTranslations",{open:n.value}])},[d("button",{class:"title",onClick:a},[Cr,te(" "+z(i(t).label)+" ",1),zr]),d("ul",Ar,[(s(!0),u(B,null,W(i(e),v=>(s(),u("li",{key:v.link,class:"item"},[_(x,{class:"link",href:v.link},{default:p(()=>[te(z(v.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),Mr=$(Hr,[["__scopeId","data-v-502ed004"]]),Br={class:"container"},Or=g({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(o){const e=A(null),t=lt(Ve?document.body:null);return(n,a)=>(s(),y(Oe,{name:"fade",onEnter:a[0]||(a[0]=r=>t.value=!0),onAfterLeave:a[1]||(a[1]=r=>t.value=!1)},{default:p(()=>[n.open?(s(),u("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[d("div",Br,[c(n.$slots,"nav-screen-content-before",{},void 0,!0),_(Er,{class:"menu"}),_(Mr,{class:"translations"}),_(vr,{class:"appearance"}),_(Nr,{class:"social-links"}),c(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Fr=$(Or,[["__scopeId","data-v-ccef021a"]]),Dr={key:0,class:"VPNav"},Ur=g({__name:"VPNav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Pa(),{frontmatter:a}=w(),r=P(()=>a.value.navbar!==!1);return ct("close-screen",t),Le(()=>{Ve&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,v)=>r.value?(s(),u("header",Dr,[_(cr,{"is-screen-open":i(e),onToggleScreen:i(n)},{"nav-bar-title-before":p(()=>[c(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[c(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[c(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[c(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),_(Fr,{open:i(e)},{"nav-screen-content-before":p(()=>[c(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[c(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),Gr=$(Ur,[["__scopeId","data-v-60c4bcb3"]]),$t=o=>(G("data-v-6820daf2"),o=o(),j(),o),jr=["role","tabindex"],qr=$t(()=>d("div",{class:"indicator"},null,-1)),Rr=$t(()=>d("span",{class:"vpi-chevron-right caret-icon"},null,-1)),Kr=[Rr],Wr={key:1,class:"items"},Yr=g({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(o){const e=o,{collapsed:t,collapsible:n,isLink:a,isActiveLink:r,hasActiveLink:l,hasChildren:v,toggle:m}=po(P(()=>e.item)),k=P(()=>v.value?"section":"div"),L=P(()=>a.value?"a":"div"),b=P(()=>v.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),V=P(()=>a.value?void 0:"button"),N=P(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":a.value},{"is-active":r.value},{"has-active":l.value}]);function E(C){"key"in C&&C.key!=="Enter"||!e.item.link&&m()}function F(){e.item.link&&m()}return(C,J)=>{const X=se("VPSidebarItem",!0);return s(),y(ue(k.value),{class:M(["VPSidebarItem",N.value])},{default:p(()=>[C.item.text?(s(),u("div",ge({key:0,class:"item",role:V.value},qt(C.item.items?{click:E,keydown:E}:{},!0),{tabindex:C.item.items&&0}),[qr,C.item.link?(s(),y(x,{key:0,tag:L.value,class:"link",href:C.item.link,rel:C.item.rel,target:C.item.target},{default:p(()=>[(s(),y(ue(b.value),{class:"text",innerHTML:C.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(s(),y(ue(b.value),{key:1,class:"text",innerHTML:C.item.text},null,8,["innerHTML"])),C.item.collapsed!=null&&C.item.items&&C.item.items.length?(s(),u("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:F,onKeydown:jt(F,["enter"]),tabindex:"0"},Kr,32)):f("",!0)],16,jr)):f("",!0),C.item.items&&C.item.items.length?(s(),u("div",Wr,[C.depth<5?(s(!0),u(B,{key:0},W(C.item.items,D=>(s(),y(X,{key:D.text,item:D,depth:C.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),Zr=$(Yr,[["__scopeId","data-v-6820daf2"]]),yt=o=>(G("data-v-8e6b745e"),o=o(),j(),o),Jr=yt(()=>d("div",{class:"curtain"},null,-1)),Xr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Qr=yt(()=>d("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),xr=g({__name:"VPSidebar",props:{open:{type:Boolean}},setup(o){const{sidebarGroups:e,hasSidebar:t}=oe(),n=o,a=A(null),r=lt(Ve?document.body:null);return ee([n,a],()=>{var l;n.open?(r.value=!0,(l=a.value)==null||l.focus()):r.value=!1},{immediate:!0,flush:"post"}),(l,v)=>i(t)?(s(),u("aside",{key:0,class:M(["VPSidebar",{open:l.open}]),ref_key:"navEl",ref:a,onClick:v[0]||(v[0]=ut(()=>{},["stop"]))},[Jr,d("nav",Xr,[Qr,c(l.$slots,"sidebar-nav-before",{},void 0,!0),(s(!0),u(B,null,W(i(e),m=>(s(),u("div",{key:m.text,class:"group"},[_(Zr,{item:m,depth:0},null,8,["item"])]))),128)),c(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),ei=$(xr,[["__scopeId","data-v-8e6b745e"]]),ti=g({__name:"VPSkipLink",setup(o){const e=ve(),t=A();ee(()=>e.path,()=>t.value.focus());function n({target:a}){const r=document.getElementById(decodeURIComponent(a.hash).slice(1));if(r){const l=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",l)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",l),r.focus(),window.scrollTo(0,0)}}return(a,r)=>(s(),u(B,null,[d("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),d("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),oi=$(ti,[["__scopeId","data-v-8934bb3d"]]),ni=g({__name:"Layout",setup(o){const{isOpen:e,open:t,close:n}=oe(),a=ve();ee(()=>a.path,n),vo(e,n);const{frontmatter:r}=w(),l=Rt(),v=P(()=>!!l["home-hero-image"]);return ct("hero-image-slot-exists",v),(m,k)=>{const L=se("Content");return i(r).layout!==!1?(s(),u("div",{key:0,class:M(["Layout",i(r).pageClass])},[c(m.$slots,"layout-top",{},void 0,!0),_(oi),_(Xt,{class:"backdrop",show:i(e),onClick:i(n)},null,8,["show","onClick"]),_(Gr,null,{"nav-bar-title-before":p(()=>[c(m.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[c(m.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[c(m.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[c(m.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":p(()=>[c(m.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[c(m.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),_(La,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),_(ei,{open:i(e)},{"sidebar-nav-before":p(()=>[c(m.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":p(()=>[c(m.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),_(na,null,{"page-top":p(()=>[c(m.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[c(m.$slots,"page-bottom",{},void 0,!0)]),"not-found":p(()=>[c(m.$slots,"not-found",{},void 0,!0)]),"home-hero-before":p(()=>[c(m.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[c(m.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[c(m.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[c(m.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[c(m.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[c(m.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[c(m.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[c(m.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[c(m.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":p(()=>[c(m.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[c(m.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[c(m.$slots,"doc-after",{},void 0,!0)]),"doc-top":p(()=>[c(m.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[c(m.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":p(()=>[c(m.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[c(m.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[c(m.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[c(m.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[c(m.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[c(m.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),_(la),c(m.$slots,"layout-bottom",{},void 0,!0)],2)):(s(),y(L,{key:1}))}}}),ai=$(ni,[["__scopeId","data-v-839be2d9"]]),Je={Layout:ai,enhanceApp:({app:o})=>{o.component("Badge",dt)}},si=["id","host","repo","repoid","category","categoryid","mapping","term","strict","reactionsenabled","emitmetadata","inputposition","theme","lang","loading"],ri=g({__name:"Giscus",props:{id:{},host:{},repo:{},repoId:{},category:{},categoryId:{},mapping:{},term:{},theme:{},strict:{},reactionsEnabled:{},emitMetadata:{},inputPosition:{},lang:{},loading:{}},setup(o){const e=A(!1);return Z(()=>{e.value=!0,it(()=>import("./giscus-aTimukGI.CKTvSCx2.js"),[])}),(t,n)=>e.value?(s(),u("giscus-widget",{key:0,id:t.id,host:t.host,repo:t.repo,repoid:t.repoId,category:t.category,categoryid:t.categoryId,mapping:t.mapping,term:t.term,strict:t.strict,reactionsenabled:t.reactionsEnabled,emitmetadata:t.emitMetadata,inputposition:t.inputPosition,theme:t.theme,lang:t.lang,loading:t.loading},null,8,si)):f("",!0)}}),Xe=(o,e,t=!0)=>{var k;const n={id:"comment",host:"https://giscus.app",category:"General",mapping:"pathname",term:"Welcome to giscus!",reactionsEnabled:"1",inputPosition:"top",lang:"zh-CN",loading:"lazy",repo:"xxx/xxx",repoId:"",homePageShowComment:!1};if(o.locales){const b=document.querySelector("html").getAttribute("lang");b&&o.locales[b]&&(o.lang=o.locales[b])}const a=o.lightTheme||"light",r=o.darkTheme||"transparent_dark";let l=document.getElementById("giscus");if(l&&l.parentNode.removeChild(l),(e==null?void 0:e.value.comment)!==void 0){if(!(e!=null&&e.value.comment))return}else if(!t)return;if(!o.homePageShowComment&&(!location.pathname||location.pathname==="/"))return;const v=((k=document.querySelector("html"))==null?void 0:k.className.indexOf("dark"))!==-1,m=document.getElementsByClassName("content-container")[0];if(m){const L=document.createElement("div");L.setAttribute("id","giscus"),L.style.height="auto",L.style.marginTop="40px",L.style.borderTop="1px solid var(--vp-c-divider)",L.style.paddingTop="20px",m.append(L),Kt({render:()=>me(ri,{...n,theme:v?r:a,...o})}).mount("#giscus")}},ii=o=>{const e=document.querySelector("html"),t=o.lightTheme||"light",n=o.darkTheme||"transparent_dark";new MutationObserver(r=>{r.forEach(l=>{if(l.type=="attributes"){let v=document.getElementById("comment");v==null||v.setAttribute("theme",e.className.indexOf("dark")!==-1?n:t)}})}).observe(e,{attributeFilter:["class"]})},li=(o,e,t=!0)=>{Z(()=>{Xe(o,e.frontmatter,t),ii(o)}),ee(()=>e.route.path,()=>De(()=>{Xe(o,e.frontmatter,t)}))};/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var re=Object.assign||function(o){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(S){function T(){}S(T,T)},a=function(S){var T=S.target;if(T===he){E();return}D.indexOf(T)!==-1&&F({target:T})},r=function(){if(!(Q||!h.original)){var S=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(We-S)>H.scrollOffset&&setTimeout(E,150)}},l=function(S){var T=S.key||S.keyCode;(T==="Escape"||T==="Esc"||T===27)&&E()},v=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=S;if(S.background&&(he.style.background=S.background),S.container&&S.container instanceof Object&&(T.container=re({},H.container,S.container)),S.template){var O=ke(S.template)?S.template:document.querySelector(S.template);T.template=O}return H=re({},H,T),D.forEach(function(U){U.dispatchEvent(ce("medium-zoom:update",{detail:{zoom:q}}))}),q},m=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return o(re({},H,S))},k=function(){for(var S=arguments.length,T=Array(S),O=0;O0?T.reduce(function(I,K){return[].concat(I,xe(K))},[]):D;return U.forEach(function(I){I.classList.remove("medium-zoom-image"),I.dispatchEvent(ce("medium-zoom:detach",{detail:{zoom:q}}))}),D=D.filter(function(I){return U.indexOf(I)===-1}),q},b=function(S,T){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return D.forEach(function(U){U.addEventListener("medium-zoom:"+S,T,O)}),ne.push({type:"medium-zoom:"+S,listener:T,options:O}),q},V=function(S,T){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return D.forEach(function(U){U.removeEventListener("medium-zoom:"+S,T,O)}),ne=ne.filter(function(U){return!(U.type==="medium-zoom:"+S&&U.listener.toString()===T.toString())}),q},N=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=S.target,O=function(){var I={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},K=void 0,Y=void 0;if(H.container)if(H.container instanceof Object)I=re({},I,H.container),K=I.width-I.left-I.right-H.margin*2,Y=I.height-I.top-I.bottom-H.margin*2;else{var le=ke(H.container)?H.container:document.querySelector(H.container),ae=le.getBoundingClientRect(),Te=ae.width,St=ae.height,Vt=ae.left,wt=ae.top;I=re({},I,{width:Te,height:St,left:Vt,top:wt})}K=K||I.width-H.margin*2,Y=Y||I.height-H.margin*2;var de=h.zoomedHd||h.original,Tt=Qe(de)?K:de.naturalWidth||K,It=Qe(de)?Y:de.naturalHeight||Y,fe=de.getBoundingClientRect(),Et=fe.top,Nt=fe.left,Ie=fe.width,Ee=fe.height,Ct=Math.min(Math.max(Ie,Tt),K)/Ie,zt=Math.min(Math.max(Ee,It),Y)/Ee,Ne=Math.min(Ct,zt),At=(-Nt+(K-Ie)/2+H.margin+I.left)/Ne,Ht=(-Et+(Y-Ee)/2+H.margin+I.top)/Ne,Ye="scale("+Ne+") translate3d("+At+"px, "+Ht+"px, 0)";h.zoomed.style.transform=Ye,h.zoomedHd&&(h.zoomedHd.style.transform=Ye)};return new n(function(U){if(T&&D.indexOf(T)===-1){U(q);return}var I=function Te(){Q=!1,h.zoomed.removeEventListener("transitionend",Te),h.original.dispatchEvent(ce("medium-zoom:opened",{detail:{zoom:q}})),U(q)};if(h.zoomed){U(q);return}if(T)h.original=T;else if(D.length>0){var K=D;h.original=K[0]}else{U(q);return}if(h.original.dispatchEvent(ce("medium-zoom:open",{detail:{zoom:q}})),We=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Q=!0,h.zoomed=di(h.original),document.body.appendChild(he),H.template){var Y=ke(H.template)?H.template:document.querySelector(H.template);h.template=document.createElement("div"),h.template.appendChild(Y.content.cloneNode(!0)),document.body.appendChild(h.template)}if(h.original.parentElement&&h.original.parentElement.tagName==="PICTURE"&&h.original.currentSrc&&(h.zoomed.src=h.original.currentSrc),document.body.appendChild(h.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),h.original.classList.add("medium-zoom-image--hidden"),h.zoomed.classList.add("medium-zoom-image--opened"),h.zoomed.addEventListener("click",E),h.zoomed.addEventListener("transitionend",I),h.original.getAttribute("data-zoom-src")){h.zoomedHd=h.zoomed.cloneNode(),h.zoomedHd.removeAttribute("srcset"),h.zoomedHd.removeAttribute("sizes"),h.zoomedHd.removeAttribute("loading"),h.zoomedHd.src=h.zoomed.getAttribute("data-zoom-src"),h.zoomedHd.onerror=function(){clearInterval(le),console.warn("Unable to reach the zoom image target "+h.zoomedHd.src),h.zoomedHd=null,O()};var le=setInterval(function(){h.zoomedHd.complete&&(clearInterval(le),h.zoomedHd.classList.add("medium-zoom-image--opened"),h.zoomedHd.addEventListener("click",E),document.body.appendChild(h.zoomedHd),O())},10)}else if(h.original.hasAttribute("srcset")){h.zoomedHd=h.zoomed.cloneNode(),h.zoomedHd.removeAttribute("sizes"),h.zoomedHd.removeAttribute("loading");var ae=h.zoomedHd.addEventListener("load",function(){h.zoomedHd.removeEventListener("load",ae),h.zoomedHd.classList.add("medium-zoom-image--opened"),h.zoomedHd.addEventListener("click",E),document.body.appendChild(h.zoomedHd),O()})}else O()})},E=function(){return new n(function(S){if(Q||!h.original){S(q);return}var T=function O(){h.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(h.zoomed),h.zoomedHd&&document.body.removeChild(h.zoomedHd),document.body.removeChild(he),h.zoomed.classList.remove("medium-zoom-image--opened"),h.template&&document.body.removeChild(h.template),Q=!1,h.zoomed.removeEventListener("transitionend",O),h.original.dispatchEvent(ce("medium-zoom:closed",{detail:{zoom:q}})),h.original=null,h.zoomed=null,h.zoomedHd=null,h.template=null,S(q)};Q=!0,document.body.classList.remove("medium-zoom--opened"),h.zoomed.style.transform="",h.zoomedHd&&(h.zoomedHd.style.transform=""),h.template&&(h.template.style.transition="opacity 150ms",h.template.style.opacity=0),h.original.dispatchEvent(ce("medium-zoom:close",{detail:{zoom:q}})),h.zoomed.addEventListener("transitionend",T)})},F=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=S.target;return h.original?E():N({target:T})},C=function(){return H},J=function(){return D},X=function(){return h.original},D=[],ne=[],Q=!1,We=0,H=t,h={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?H=e:(e||typeof e=="string")&&k(e),H=re({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},H);var he=ui(H.background);document.addEventListener("click",a),document.addEventListener("keyup",l),document.addEventListener("scroll",r),window.addEventListener("resize",E);var q={open:N,close:E,toggle:F,update:v,clone:m,attach:k,detach:L,on:b,off:V,getOptions:C,getImages:J,getZoomedImage:X};return q};function mi(o,e){e===void 0&&(e={});var t=e.insertAt;if(!(typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",t==="top"&&n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.styleSheet?a.styleSheet.cssText=o:a.appendChild(document.createTextNode(o))}}var vi=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";mi(vi);const Pt=o=>(G("data-v-88896cd1"),o=o(),j(),o),pi={key:0,class:"banner-wrapper",role:"banner"},hi=Pt(()=>d("div",{class:"content"}," 全新移动端 H5 框架 Fantastic-mobile 正式发布,点击查看详情 ",-1)),fi=Pt(()=>d("span",{class:"close"},"×",-1)),_i=[fi],et="ACTIVITY-FANTASTIC-MOBILE-1",gi=g({__name:"Activity",setup(o){const e=A(!1);function t(){window.location.href="https://fantastic-mobile.github.io/"}function n(){e.value=!1,localStorage.setItem(et,String(!0)),document.documentElement.classList.remove("mirror-site-menu-fixed")}return Z(()=>{e.value=!localStorage.getItem(et),e.value&&document.documentElement.classList.add("mirror-site-menu-fixed")}),(a,r)=>e.value?(s(),u("div",pi,[d("div",{id:"banner",onClick:t},[hi,d("button",{id:"banner-close",onClick:ut(n,["stop"])},_i)])])):f("",!0)}}),bi=$(gi,[["__scopeId","data-v-88896cd1"]]),ki={},$i=Wt('
作者其他作品
',2),yi=[$i];function Li(o,e){return s(),u("div",null,yi)}const Pi=$(ki,[["render",Li],["__scopeId","data-v-ea60bb46"]]),Si={},Vi=o=>(G("data-v-f619d5b7"),o=o(),j(),o),wi={class:"home-preview-block"},Ti={class:"home-preview"},Ii=Vi(()=>d("h2",null,"截图预览",-1)),Ei={class:"items"},Ni={class:"item"},Ci={class:"item"},zi={class:"item"},Ai={class:"item"},Hi={class:"item"},Mi={class:"item"};function Bi(o,e){const t=se("zoom-img");return s(),u("div",wi,[d("div",Ti,[Ii,d("div",Ei,[d("div",Ni,[_(t,{src:"/preview1.png"})]),d("div",Ci,[_(t,{src:"/preview2.png"})]),d("div",zi,[_(t,{src:"/preview3.png"})]),d("div",Ai,[_(t,{src:"/preview4.png"})]),d("div",Hi,[_(t,{src:"/preview5.png"})]),d("div",Mi,[_(t,{src:"/preview6.png"})])])])])}const Oi=$(Si,[["render",Bi],["__scopeId","data-v-f619d5b7"]]),Fi={key:0},Di=["src"],Ui=g({__name:"ZoomImg",props:{src:String},setup(o){const e=A(null);return Z(()=>{e.value&&Lt(e.value,{background:"var(--vp-c-bg)"})}),(t,n)=>o.src?(s(),u("p",Fi,[d("img",{ref_key:"imgRef",ref:e,src:i(ye)(o.src),loading:"lazy"},null,8,Di)])):f("",!0)}}),ji={...Je,Layout(){return me(Je.Layout,null,{"layout-top":()=>me(bi),"home-features-after":()=>me(Oi),"aside-bottom":()=>me(Pi)})},setup(){const o=ve(),e=()=>{Lt("[data-zoomable]",{background:"var(--vp-c-bg)"})};Z(()=>e()),ee(()=>o.path,()=>De(()=>e()));const{frontmatter:t}=Yt(tt());li({repo:"one-step-admin/one-step-admin.github.io",repoId:"R_kgDOJpKIUg",category:"Announcements",categoryId:"DIC_kwDOJpKIUs4CeSdr",mapping:"pathname",inputPosition:"top",lang:"zh-CN",lightTheme:"light",darkTheme:"transparent_dark",loading:!0},{frontmatter:t,route:o},!0)},enhanceApp({app:o}){o.component("Badge",dt),o.component("ZoomImg",Ui)}};export{ji as R,As as c,w as u}; diff --git a/assets/components_action-container.md.DdeQ7zML.js b/assets/components_action-container.md.DdeQ7zML.js new file mode 100644 index 00000000..b034a2f8 --- /dev/null +++ b/assets/components_action-container.md.DdeQ7zML.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as a,a5 as n}from"./chunks/framework.cw3A9gZ3.js";const p=JSON.parse('{"title":"ActionContainer 固定底部操作栏","description":"","frontmatter":{},"headers":[],"relativePath":"components/action-container.md","filePath":"components/action-container.md"}'),o={name:"components/action-container.md"},i=n('

ActionContainer 固定底部操作栏

Slot

name说明
-内容区的 HTML 内容
action操作区域的 HTML 内容
',3),r=[i];function c(l,s,d,_,h,f){return a(),e("div",null,r)}const x=t(o,[["render",c]]);export{p as __pageData,x as default}; diff --git a/assets/components_action-container.md.DdeQ7zML.lean.js b/assets/components_action-container.md.DdeQ7zML.lean.js new file mode 100644 index 00000000..b4336b27 --- /dev/null +++ b/assets/components_action-container.md.DdeQ7zML.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as a,a5 as n}from"./chunks/framework.cw3A9gZ3.js";const p=JSON.parse('{"title":"ActionContainer 固定底部操作栏","description":"","frontmatter":{},"headers":[],"relativePath":"components/action-container.md","filePath":"components/action-container.md"}'),o={name:"components/action-container.md"},i=n("",3),r=[i];function c(l,s,d,_,h,f){return a(),e("div",null,r)}const x=t(o,[["render",c]]);export{p as __pageData,x as default}; diff --git a/assets/components_auth-all.md.Cn9ierS0.js b/assets/components_auth-all.md.Cn9ierS0.js new file mode 100644 index 00000000..8de4d8bc --- /dev/null +++ b/assets/components_auth-all.md.Cn9ierS0.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as a,a5 as l}from"./chunks/framework.cw3A9gZ3.js";const u=JSON.parse('{"title":"AuthAll 鉴权","description":"","frontmatter":{},"headers":[],"relativePath":"components/auth-all.md","filePath":"components/auth-all.md"}'),s={name:"components/auth-all.md"},o=l('

AuthAll 鉴权

Props

参数说明类型可选值默认值
value权限数据,如果传入为 array 时,全部匹配则鉴权通过,并显示 slot 内容array / string--

Slots

name说明
-需要鉴权的 HTML 内容
',5),n=[o];function r(h,d,i,c,_,f){return a(),e("div",null,n)}const p=t(s,[["render",r]]);export{u as __pageData,p as default}; diff --git a/assets/components_auth-all.md.Cn9ierS0.lean.js b/assets/components_auth-all.md.Cn9ierS0.lean.js new file mode 100644 index 00000000..e559abf9 --- /dev/null +++ b/assets/components_auth-all.md.Cn9ierS0.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as a,a5 as l}from"./chunks/framework.cw3A9gZ3.js";const u=JSON.parse('{"title":"AuthAll 鉴权","description":"","frontmatter":{},"headers":[],"relativePath":"components/auth-all.md","filePath":"components/auth-all.md"}'),s={name:"components/auth-all.md"},o=l("",5),n=[o];function r(h,d,i,c,_,f){return a(),e("div",null,n)}const p=t(s,[["render",r]]);export{u as __pageData,p as default}; diff --git a/assets/components_auth.md.CvKTnP4h.js b/assets/components_auth.md.CvKTnP4h.js new file mode 100644 index 00000000..3ebe40d7 --- /dev/null +++ b/assets/components_auth.md.CvKTnP4h.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as a,a5 as l}from"./chunks/framework.cw3A9gZ3.js";const u=JSON.parse('{"title":"Auth 鉴权","description":"","frontmatter":{},"headers":[],"relativePath":"components/auth.md","filePath":"components/auth.md"}'),s={name:"components/auth.md"},o=l('

Auth 鉴权

Props

参数说明类型可选值默认值
value权限数据,如果传入为 array 时,匹配到其中一项则鉴权通过,并显示 slot 内容array / string--

Slots

name说明
-需要鉴权的 HTML 内容
',5),n=[o];function r(h,d,i,c,_,f){return a(),e("div",null,n)}const p=t(s,[["render",r]]);export{u as __pageData,p as default}; diff --git a/assets/components_auth.md.CvKTnP4h.lean.js b/assets/components_auth.md.CvKTnP4h.lean.js new file mode 100644 index 00000000..137a80d2 --- /dev/null +++ b/assets/components_auth.md.CvKTnP4h.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as a,a5 as l}from"./chunks/framework.cw3A9gZ3.js";const u=JSON.parse('{"title":"Auth 鉴权","description":"","frontmatter":{},"headers":[],"relativePath":"components/auth.md","filePath":"components/auth.md"}'),s={name:"components/auth.md"},o=l("",5),n=[o];function r(h,d,i,c,_,f){return a(),e("div",null,n)}const p=t(s,[["render",r]]);export{u as __pageData,p as default}; diff --git a/assets/components_chip.md.CBVmpTUA.js b/assets/components_chip.md.CBVmpTUA.js new file mode 100644 index 00000000..217c26cb --- /dev/null +++ b/assets/components_chip.md.CBVmpTUA.js @@ -0,0 +1 @@ +import{_ as l,D as s,c as n,j as e,a as t,I as d,a5 as o,o as i}from"./chunks/framework.cw3A9gZ3.js";const P=JSON.parse('{"title":"Chip 纸片","description":"","frontmatter":{},"headers":[],"relativePath":"components/chip.md","filePath":"components/chip.md"}'),r={name:"components/chip.md"},h={id:"chip-纸片",tabindex:"-1"},c=e("a",{class:"header-anchor",href:"#chip-纸片","aria-label":'Permalink to "Chip 纸片 "'},"​",-1),p=o('

Props

参数说明类型可选值默认值
type类型stringprimary / success / warning / danger / info-
closable是否显示关闭按钮boolean-false

Events

事件名称说明回调参数
close关闭按钮事件回调-
',4);function f(x,_,y,g,b,m){const a=s("Badge");return i(),n("div",null,[e("h1",h,[t("Chip 纸片 "),d(a,{type:"pro",text:"专业版"}),t(),c]),p])}const v=l(r,[["render",f]]);export{P as __pageData,v as default}; diff --git a/assets/components_chip.md.CBVmpTUA.lean.js b/assets/components_chip.md.CBVmpTUA.lean.js new file mode 100644 index 00000000..ec06a908 --- /dev/null +++ b/assets/components_chip.md.CBVmpTUA.lean.js @@ -0,0 +1 @@ +import{_ as l,D as s,c as n,j as e,a as t,I as d,a5 as o,o as i}from"./chunks/framework.cw3A9gZ3.js";const P=JSON.parse('{"title":"Chip 纸片","description":"","frontmatter":{},"headers":[],"relativePath":"components/chip.md","filePath":"components/chip.md"}'),r={name:"components/chip.md"},h={id:"chip-纸片",tabindex:"-1"},c=e("a",{class:"header-anchor",href:"#chip-纸片","aria-label":'Permalink to "Chip 纸片 "'},"​",-1),p=o("",4);function f(x,_,y,g,b,m){const a=s("Badge");return i(),n("div",null,[e("h1",h,[t("Chip 纸片 "),d(a,{type:"pro",text:"专业版"}),t(),c]),p])}const v=l(r,[["render",f]]);export{P as __pageData,v as default}; diff --git a/assets/components_colorful-card.md.KYA575Kt.js b/assets/components_colorful-card.md.KYA575Kt.js new file mode 100644 index 00000000..a5b20203 --- /dev/null +++ b/assets/components_colorful-card.md.KYA575Kt.js @@ -0,0 +1 @@ +import{_ as a,D as d,c as n,j as e,a as t,I as r,a5 as s,o}from"./chunks/framework.cw3A9gZ3.js";const C=JSON.parse('{"title":"ColorfulCard 多彩渐变卡片","description":"","frontmatter":{},"headers":[],"relativePath":"components/colorful-card.md","filePath":"components/colorful-card.md"}'),i={name:"components/colorful-card.md"},f={id:"colorfulcard-多彩渐变卡片",tabindex:"-1"},c=e("a",{class:"header-anchor",href:"#colorfulcard-多彩渐变卡片","aria-label":'Permalink to "ColorfulCard 多彩渐变卡片 "'},"​",-1),g=s('

Props

参数说明类型可选值默认值
color-from开始颜色string-'#843cf6'
color-to终止颜色string-'#759bff'
header头部标题string--
num数字标记number--
tip底行提示文字string--
icon图标,使用 SvgIcon 组件,与该组件 name 参数相同string--
',2);function x(y,_,h,p,m,u){const l=d("Badge");return o(),n("div",null,[e("h1",f,[t("ColorfulCard 多彩渐变卡片 "),r(l,{type:"pro",text:"专业版"}),t(),c]),g])}const P=a(i,[["render",x]]);export{C as __pageData,P as default}; diff --git a/assets/components_colorful-card.md.KYA575Kt.lean.js b/assets/components_colorful-card.md.KYA575Kt.lean.js new file mode 100644 index 00000000..350bcba8 --- /dev/null +++ b/assets/components_colorful-card.md.KYA575Kt.lean.js @@ -0,0 +1 @@ +import{_ as a,D as d,c as n,j as e,a as t,I as r,a5 as s,o}from"./chunks/framework.cw3A9gZ3.js";const C=JSON.parse('{"title":"ColorfulCard 多彩渐变卡片","description":"","frontmatter":{},"headers":[],"relativePath":"components/colorful-card.md","filePath":"components/colorful-card.md"}'),i={name:"components/colorful-card.md"},f={id:"colorfulcard-多彩渐变卡片",tabindex:"-1"},c=e("a",{class:"header-anchor",href:"#colorfulcard-多彩渐变卡片","aria-label":'Permalink to "ColorfulCard 多彩渐变卡片 "'},"​",-1),g=s("",2);function x(y,_,h,p,m,u){const l=d("Badge");return o(),n("div",null,[e("h1",f,[t("ColorfulCard 多彩渐变卡片 "),r(l,{type:"pro",text:"专业版"}),t(),c]),g])}const P=a(i,[["render",x]]);export{C as __pageData,P as default}; diff --git a/assets/components_file-upload.md.B2cvG68s.js b/assets/components_file-upload.md.B2cvG68s.js new file mode 100644 index 00000000..b874a8cc --- /dev/null +++ b/assets/components_file-upload.md.B2cvG68s.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as d}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"FileUpload 文件上传","description":"","frontmatter":{},"headers":[],"relativePath":"components/file-upload.md","filePath":"components/file-upload.md"}'),a={name:"components/file-upload.md"},n=d('

FileUpload 文件上传

Props

参数说明类型可选值默认值
action必选参数,上传的地址string--
headers设置上传的请求头部object--
data上传时附带的额外参数object--
name上传的文件字段名string-file
size上传文件大小限制,单位为MBnumber-2
max上传数量限制number-3
files上传的文件列表,例如:[{name: 'xxx.jpg', url: 'http://xxx.cdn.com/xxx.jpg'}]array-[]
notip是否隐藏提示栏boolean-false
ext支持的文件类型array-['zip', 'rar']
',3),i=[n];function s(f,x,r,o,g,y){return l(),e("div",null,i)}const h=t(a,[["render",s]]);export{c as __pageData,h as default}; diff --git a/assets/components_file-upload.md.B2cvG68s.lean.js b/assets/components_file-upload.md.B2cvG68s.lean.js new file mode 100644 index 00000000..8a73af02 --- /dev/null +++ b/assets/components_file-upload.md.B2cvG68s.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as d}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"FileUpload 文件上传","description":"","frontmatter":{},"headers":[],"relativePath":"components/file-upload.md","filePath":"components/file-upload.md"}'),a={name:"components/file-upload.md"},n=d("",3),i=[n];function s(f,x,r,o,g,y){return l(),e("div",null,i)}const h=t(a,[["render",s]]);export{c as __pageData,h as default}; diff --git a/assets/components_i18n-selector.md.Dr700vmV.js b/assets/components_i18n-selector.md.Dr700vmV.js new file mode 100644 index 00000000..3cdaa478 --- /dev/null +++ b/assets/components_i18n-selector.md.Dr700vmV.js @@ -0,0 +1 @@ +import{_ as o,D as s,c as n,j as t,a as e,I as r,a5 as l,o as c}from"./chunks/framework.cw3A9gZ3.js";const T=JSON.parse('{"title":"I18nSelector 国际化选择器","description":"","frontmatter":{},"headers":[],"relativePath":"components/i18n-selector.md","filePath":"components/i18n-selector.md"}'),d={name:"components/i18n-selector.md"},i={id:"i18nselector-国际化选择器",tabindex:"-1"},_=t("a",{class:"header-anchor",href:"#i18nselector-国际化选择器","aria-label":'Permalink to "I18nSelector 国际化选择器 "'},"​",-1),h=l('

Slots

name说明
-触发下拉列表的 HTML 内容
',2);function p(m,f,x,S,b,g){const a=s("Badge");return c(),n("div",null,[t("h1",i,[e("I18nSelector 国际化选择器 "),r(a,{type:"pro",text:"专业版"}),e(),_]),h])}const u=o(d,[["render",p]]);export{T as __pageData,u as default}; diff --git a/assets/components_i18n-selector.md.Dr700vmV.lean.js b/assets/components_i18n-selector.md.Dr700vmV.lean.js new file mode 100644 index 00000000..20b3a11c --- /dev/null +++ b/assets/components_i18n-selector.md.Dr700vmV.lean.js @@ -0,0 +1 @@ +import{_ as o,D as s,c as n,j as t,a as e,I as r,a5 as l,o as c}from"./chunks/framework.cw3A9gZ3.js";const T=JSON.parse('{"title":"I18nSelector 国际化选择器","description":"","frontmatter":{},"headers":[],"relativePath":"components/i18n-selector.md","filePath":"components/i18n-selector.md"}'),d={name:"components/i18n-selector.md"},i={id:"i18nselector-国际化选择器",tabindex:"-1"},_=t("a",{class:"header-anchor",href:"#i18nselector-国际化选择器","aria-label":'Permalink to "I18nSelector 国际化选择器 "'},"​",-1),h=l("",2);function p(m,f,x,S,b,g){const a=s("Badge");return c(),n("div",null,[t("h1",i,[e("I18nSelector 国际化选择器 "),r(a,{type:"pro",text:"专业版"}),e(),_]),h])}const u=o(d,[["render",p]]);export{T as __pageData,u as default}; diff --git a/assets/components_icon-picker.md.DpAWhg_4.js b/assets/components_icon-picker.md.DpAWhg_4.js new file mode 100644 index 00000000..0bbb1d68 --- /dev/null +++ b/assets/components_icon-picker.md.DpAWhg_4.js @@ -0,0 +1 @@ +import{_ as l,D as n,c as o,j as e,a as t,I as s,a5 as r,o as i}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"IconPicker 图标选择器","description":"","frontmatter":{},"headers":[],"relativePath":"components/icon-picker.md","filePath":"components/icon-picker.md"}'),d={name:"components/icon-picker.md"},c={id:"iconpicker-图标选择器",tabindex:"-1"},p=e("a",{class:"header-anchor",href:"#iconpicker-图标选择器","aria-label":'Permalink to "IconPicker 图标选择器 "'},"​",-1),_=r('

Props

参数说明类型可选值默认值
v-model图标名称string--
size选择器尺寸string'large''default'
',2);function h(f,x,g,y,m,k){const a=n("Badge");return i(),o("div",null,[e("h1",c,[t("IconPicker 图标选择器 "),s(a,{type:"pro",text:"专业版"}),t(),p]),_])}const u=l(d,[["render",h]]);export{b as __pageData,u as default}; diff --git a/assets/components_icon-picker.md.DpAWhg_4.lean.js b/assets/components_icon-picker.md.DpAWhg_4.lean.js new file mode 100644 index 00000000..cf3048cf --- /dev/null +++ b/assets/components_icon-picker.md.DpAWhg_4.lean.js @@ -0,0 +1 @@ +import{_ as l,D as n,c as o,j as e,a as t,I as s,a5 as r,o as i}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"IconPicker 图标选择器","description":"","frontmatter":{},"headers":[],"relativePath":"components/icon-picker.md","filePath":"components/icon-picker.md"}'),d={name:"components/icon-picker.md"},c={id:"iconpicker-图标选择器",tabindex:"-1"},p=e("a",{class:"header-anchor",href:"#iconpicker-图标选择器","aria-label":'Permalink to "IconPicker 图标选择器 "'},"​",-1),_=r("",2);function h(f,x,g,y,m,k){const a=n("Badge");return i(),o("div",null,[e("h1",c,[t("IconPicker 图标选择器 "),s(a,{type:"pro",text:"专业版"}),t(),p]),_])}const u=l(d,[["render",h]]);export{b as __pageData,u as default}; diff --git a/assets/components_image-preview.md.BjH-LFjN.js b/assets/components_image-preview.md.BjH-LFjN.js new file mode 100644 index 00000000..6f4b32cd --- /dev/null +++ b/assets/components_image-preview.md.BjH-LFjN.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as a}from"./chunks/framework.cw3A9gZ3.js";const x=JSON.parse('{"title":"ImagePreview 图片预览","description":"","frontmatter":{},"headers":[],"relativePath":"components/image-preview.md","filePath":"components/image-preview.md"}'),i={name:"components/image-preview.md"},s=a('

ImagePreview 图片预览

Props

参数说明类型可选值默认值
src图片链接string--
width展示宽度string--
height展示高度string--
',3),d=[s];function n(r,o,g,h,f,c){return l(),e("div",null,d)}const p=t(i,[["render",n]]);export{x as __pageData,p as default}; diff --git a/assets/components_image-preview.md.BjH-LFjN.lean.js b/assets/components_image-preview.md.BjH-LFjN.lean.js new file mode 100644 index 00000000..5d2f412e --- /dev/null +++ b/assets/components_image-preview.md.BjH-LFjN.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as a}from"./chunks/framework.cw3A9gZ3.js";const x=JSON.parse('{"title":"ImagePreview 图片预览","description":"","frontmatter":{},"headers":[],"relativePath":"components/image-preview.md","filePath":"components/image-preview.md"}'),i={name:"components/image-preview.md"},s=a("",3),d=[s];function n(r,o,g,h,f,c){return l(),e("div",null,d)}const p=t(i,[["render",n]]);export{x as __pageData,p as default}; diff --git a/assets/components_image-upload.md.DruKc7eq.js b/assets/components_image-upload.md.DruKc7eq.js new file mode 100644 index 00000000..6abe41f1 --- /dev/null +++ b/assets/components_image-upload.md.DruKc7eq.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as d}from"./chunks/framework.cw3A9gZ3.js";const h=JSON.parse('{"title":"ImageUpload 单图上传","description":"","frontmatter":{},"headers":[],"relativePath":"components/image-upload.md","filePath":"components/image-upload.md"}'),a={name:"components/image-upload.md"},n=d('

ImageUpload 单图上传

Props

参数说明类型可选值默认值
v-model图片地址string--
action必选参数,上传的地址string--
headers设置上传的请求头部object--
data上传时附带的额外参数object--
name上传的文件字段名string-file
size上传文件大小限制,单位为MBnumber-2
width展示宽度number-150
height展示高度number-150
placeholder占位图string--
notip是否隐藏提示栏boolean-false
ext支持的文件类型array-['jpg', 'png', 'gif', 'bmp']
',3),i=[n];function s(g,f,r,x,y,o){return l(),e("div",null,i)}const c=t(a,[["render",s]]);export{h as __pageData,c as default}; diff --git a/assets/components_image-upload.md.DruKc7eq.lean.js b/assets/components_image-upload.md.DruKc7eq.lean.js new file mode 100644 index 00000000..f7f95554 --- /dev/null +++ b/assets/components_image-upload.md.DruKc7eq.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as d}from"./chunks/framework.cw3A9gZ3.js";const h=JSON.parse('{"title":"ImageUpload 单图上传","description":"","frontmatter":{},"headers":[],"relativePath":"components/image-upload.md","filePath":"components/image-upload.md"}'),a={name:"components/image-upload.md"},n=d("",3),i=[n];function s(g,f,r,x,y,o){return l(),e("div",null,i)}const c=t(a,[["render",s]]);export{h as __pageData,c as default}; diff --git a/assets/components_images-upload.md.Cd6zEgR1.js b/assets/components_images-upload.md.Cd6zEgR1.js new file mode 100644 index 00000000..23dca380 --- /dev/null +++ b/assets/components_images-upload.md.Cd6zEgR1.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as d}from"./chunks/framework.cw3A9gZ3.js";const h=JSON.parse('{"title":"ImagesUpload 多图上传","description":"","frontmatter":{},"headers":[],"relativePath":"components/images-upload.md","filePath":"components/images-upload.md"}'),a={name:"components/images-upload.md"},s=d('

ImagesUpload 多图上传

Props

参数说明类型可选值默认值
v-model图片列表array-[]
action必选参数,上传的地址string--
headers设置上传的请求头部object--
data上传时附带的额外参数object--
name上传的文件字段名string-file
max上传数量限制number-3
size上传文件大小限制,单位为MBnumber-2
width展示宽度number-150
height展示高度number-150
placeholder占位图string--
notip是否隐藏提示栏boolean-false
ext支持的文件类型array-['jpg', 'png', 'gif', 'bmp']
',3),n=[s];function i(g,f,x,r,y,o){return l(),e("div",null,n)}const m=t(a,[["render",i]]);export{h as __pageData,m as default}; diff --git a/assets/components_images-upload.md.Cd6zEgR1.lean.js b/assets/components_images-upload.md.Cd6zEgR1.lean.js new file mode 100644 index 00000000..b7982bdc --- /dev/null +++ b/assets/components_images-upload.md.Cd6zEgR1.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as d}from"./chunks/framework.cw3A9gZ3.js";const h=JSON.parse('{"title":"ImagesUpload 多图上传","description":"","frontmatter":{},"headers":[],"relativePath":"components/images-upload.md","filePath":"components/images-upload.md"}'),a={name:"components/images-upload.md"},s=d("",3),n=[s];function i(g,f,x,r,y,o){return l(),e("div",null,n)}const m=t(a,[["render",i]]);export{h as __pageData,m as default}; diff --git a/assets/components_index.md.JHv7Hbv9.js b/assets/components_index.md.JHv7Hbv9.js new file mode 100644 index 00000000..17f5701f --- /dev/null +++ b/assets/components_index.md.JHv7Hbv9.js @@ -0,0 +1,12 @@ +import{_ as s,c as i,o as a,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"components/index.md","filePath":"components/index.md"}'),n={name:"components/index.md"},e=t(`

介绍

框架提供一系列的组件方便快速开发。

基础组件

基础组件由 Element Plus 提供,其中包含按钮文字链接单选框多选框输入框计数器级联选择器开关滑块50+ 个组件。

阅读并学习请查看 Element Plus 官方文档

说明

为了统一图标的使用,框架没有采用 Element Plus 官方图标的使用方式,这意味着部分 Element Plus 组件的 icon 属性将无法使用,例如 Button 按钮组件。

template
<!-- 无法使用 -->
+<el-button icon="el-icon-edit">编辑</el-button>
+
+<!-- 可以使用插槽代替 -->
+<el-button>
+  <template #icon>
+    <el-icon>
+      <svg-icon name="ep:edit" />
+    </el-icon>
+  </template>
+  编辑
+</el-button>

如果你习惯 Element Plus 官方图标的使用方式,需执行 pnpm install @element-plus/icons-vue 安装依赖,并按照官方的使用方式引入图标,点击查看详细介绍。

替换组件库

如果你不喜欢 Element Plus ,或者你想要将老项目迁移到 One-step-admin 上,但老项目里使用的组件库并不是 Element Plus ,框架也提供了组件库替换移方案:

如果你想使用的组件库不在上述方案中,可以通过参考任何一份方案,理解替换的整理思路,并自行替换,别担心会很复杂,我们已经将大部分工作做好了。

内建组件

为了实现 UI 组件库可替换,框架内建了一些组件,这些组件仅服务于框架自身,所以不建议在业务页面内使用。但如果你需要对框架进行二次开发,并保证视觉上的一致性,这时候你就会需要用到它们。

内建组件存放在 /src/layouts/ui-kit/ 目录下,并配置了使用时自动引入。

扩展组件

扩展组件为框架封装的组件,有全新开发的组件,也有在 Element Plus 组件上二次封装的组件,还有一些则是封装了第三方的插件。

组件源码完全开放,如果觉得用着不顺手,可以到 /src/components/ 目录下找到对应组件自行修改。

`,13),l=[e];function p(h,r,k,o,E,d){return a(),i("div",null,l)}const u=s(n,[["render",p]]);export{c as __pageData,u as default}; diff --git a/assets/components_index.md.JHv7Hbv9.lean.js b/assets/components_index.md.JHv7Hbv9.lean.js new file mode 100644 index 00000000..456ea62d --- /dev/null +++ b/assets/components_index.md.JHv7Hbv9.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"components/index.md","filePath":"components/index.md"}'),n={name:"components/index.md"},e=t("",13),l=[e];function p(h,r,k,o,E,d){return a(),i("div",null,l)}const u=s(n,[["render",p]]);export{c as __pageData,u as default}; diff --git a/assets/components_page-header.md.Bd3KKk70.js b/assets/components_page-header.md.Bd3KKk70.js new file mode 100644 index 00000000..c3597e43 --- /dev/null +++ b/assets/components_page-header.md.Bd3KKk70.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as a,a5 as l}from"./chunks/framework.cw3A9gZ3.js";const _=JSON.parse('{"title":"PageHeader 页头","description":"","frontmatter":{},"headers":[],"relativePath":"components/page-header.md","filePath":"components/page-header.md"}'),d={name:"components/page-header.md"},n=l('

PageHeader 页头

Props

参数说明类型可选值默认值
title标题string--
content内容string--

Slots

name说明
-右侧区域的 HTML 内容
content内容区域的 HTML 内容
',5),s=[n];function r(o,i,h,g,f,c){return a(),e("div",null,s)}const p=t(d,[["render",r]]);export{_ as __pageData,p as default}; diff --git a/assets/components_page-header.md.Bd3KKk70.lean.js b/assets/components_page-header.md.Bd3KKk70.lean.js new file mode 100644 index 00000000..057c6c4a --- /dev/null +++ b/assets/components_page-header.md.Bd3KKk70.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as a,a5 as l}from"./chunks/framework.cw3A9gZ3.js";const _=JSON.parse('{"title":"PageHeader 页头","description":"","frontmatter":{},"headers":[],"relativePath":"components/page-header.md","filePath":"components/page-header.md"}'),d={name:"components/page-header.md"},n=l("",5),s=[n];function r(o,i,h,g,f,c){return a(),e("div",null,s)}const p=t(d,[["render",r]]);export{_ as __pageData,p as default}; diff --git a/assets/components_page-main.md.BKLQvb0A.js b/assets/components_page-main.md.BKLQvb0A.js new file mode 100644 index 00000000..73c5d244 --- /dev/null +++ b/assets/components_page-main.md.BKLQvb0A.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as a}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"PageMain 内容块","description":"","frontmatter":{},"headers":[],"relativePath":"components/page-main.md","filePath":"components/page-main.md"}'),n={name:"components/page-main.md"},s=a('

PageMain 内容块

Props

参数说明类型可选值默认值
title标题string--
collaspe是否折叠boolean-false
height展示高度,当 collaspe 为 true 时生效string--

Slots

name说明
-内容区的 HTML 内容
title标题区的 HTML 内容
',5),d=[s];function i(o,r,h,g,f,x){return l(),e("div",null,d)}const p=t(n,[["render",i]]);export{y as __pageData,p as default}; diff --git a/assets/components_page-main.md.BKLQvb0A.lean.js b/assets/components_page-main.md.BKLQvb0A.lean.js new file mode 100644 index 00000000..761656d2 --- /dev/null +++ b/assets/components_page-main.md.BKLQvb0A.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as a}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"PageMain 内容块","description":"","frontmatter":{},"headers":[],"relativePath":"components/page-main.md","filePath":"components/page-main.md"}'),n={name:"components/page-main.md"},s=a("",5),d=[s];function i(o,r,h,g,f,x){return l(),e("div",null,d)}const p=t(n,[["render",i]]);export{y as __pageData,p as default}; diff --git a/assets/components_pcas-cascader.md.apILNq12.js b/assets/components_pcas-cascader.md.apILNq12.js new file mode 100644 index 00000000..6451e9cb --- /dev/null +++ b/assets/components_pcas-cascader.md.apILNq12.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as a,a5 as l}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"PcasCascader 省市区街道联动","description":"","frontmatter":{},"headers":[],"relativePath":"components/pcas-cascader.md","filePath":"components/pcas-cascader.md"}'),d={name:"components/pcas-cascader.md"},s=l('

PcasCascader 省市区街道联动

Props

参数说明类型可选值默认值
v-model联动数据选中项绑定值array-[]
type联动类型,pc 省市、pca 省市区、pcas 省市区街道stringpc / pca / pcaspca
format绑定数据的格式化类型stringcode / name / bothcode
disabled是否禁用boolean-false
',3),c=[s];function n(r,o,i,f,p,x){return a(),e("div",null,c)}const g=t(d,[["render",n]]);export{y as __pageData,g as default}; diff --git a/assets/components_pcas-cascader.md.apILNq12.lean.js b/assets/components_pcas-cascader.md.apILNq12.lean.js new file mode 100644 index 00000000..d5fbc9d4 --- /dev/null +++ b/assets/components_pcas-cascader.md.apILNq12.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as a,a5 as l}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"PcasCascader 省市区街道联动","description":"","frontmatter":{},"headers":[],"relativePath":"components/pcas-cascader.md","filePath":"components/pcas-cascader.md"}'),d={name:"components/pcas-cascader.md"},s=l("",3),c=[s];function n(r,o,i,f,p,x){return a(),e("div",null,c)}const g=t(d,[["render",n]]);export{y as __pageData,g as default}; diff --git a/assets/components_search-bar.md.bWOibWnN.js b/assets/components_search-bar.md.bWOibWnN.js new file mode 100644 index 00000000..b07fc4f2 --- /dev/null +++ b/assets/components_search-bar.md.bWOibWnN.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as a}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"SearchBar 搜索面板","description":"","frontmatter":{},"headers":[],"relativePath":"components/search-bar.md","filePath":"components/search-bar.md"}'),d={name:"components/search-bar.md"},s=a('

SearchBar 搜索面板

Props

参数说明类型可选值默认值
fold是否折叠boolean-true
show-toggle是否显示切换按钮boolean-true
background是否显示背景boolean-false

Slots

name说明
-内容区域的 HTML 内容,作用域参数为 { fold, toggle }

Events

事件名称说明回调参数
toggle切换展开/收起状态的事件回调新状态的值
',7),r=[s];function n(o,h,i,f,c,x){return l(),e("div",null,r)}const b=t(d,[["render",n]]);export{y as __pageData,b as default}; diff --git a/assets/components_search-bar.md.bWOibWnN.lean.js b/assets/components_search-bar.md.bWOibWnN.lean.js new file mode 100644 index 00000000..65dcfe96 --- /dev/null +++ b/assets/components_search-bar.md.bWOibWnN.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as a}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"SearchBar 搜索面板","description":"","frontmatter":{},"headers":[],"relativePath":"components/search-bar.md","filePath":"components/search-bar.md"}'),d={name:"components/search-bar.md"},s=a("",7),r=[s];function n(o,h,i,f,c,x){return l(),e("div",null,r)}const b=t(d,[["render",n]]);export{y as __pageData,b as default}; diff --git a/assets/components_sparkline.md.DR0l8g8E.js b/assets/components_sparkline.md.DR0l8g8E.js new file mode 100644 index 00000000..ecf37fc2 --- /dev/null +++ b/assets/components_sparkline.md.DR0l8g8E.js @@ -0,0 +1 @@ +import{_ as d,D as a,c as s,j as e,a as t,I as n,a5 as i,o as r}from"./chunks/framework.cw3A9gZ3.js";const u=JSON.parse('{"title":"Sparkline 迷你图","description":"","frontmatter":{},"headers":[],"relativePath":"components/sparkline.md","filePath":"components/sparkline.md"}'),o={name:"components/sparkline.md"},f={id:"sparkline-迷你图",tabindex:"-1"},x=e("a",{class:"header-anchor",href:"#sparkline-迷你图","aria-label":'Permalink to "Sparkline 迷你图 "'},"​",-1),g=i('

Props

参数说明类型可选值默认值
value迷你图数据,支持一维数组和对象数组,当为对象数组时,对象内参数为 {tooltip: 'xxx', value: 1}array--
width展示宽度number-100
height展示高度number-30
stroke-width折线宽度number-3
stroke-color折线颜色string-#dc2b33
fill-color填充颜色string--
cursor-color鼠标 hover 时辅助线颜色string-#dc2b33
spot-color鼠标 hover 时辅助点颜色string-#dc2b33
tooltip鼠标 hover 时是否显示文字提示boolean-false
',2);function y(c,p,h,_,m,b){const l=a("Badge");return r(),s("div",null,[e("h1",f,[t("Sparkline 迷你图 "),n(l,{type:"pro",text:"专业版"}),t(),x]),g])}const v=d(o,[["render",y]]);export{u as __pageData,v as default}; diff --git a/assets/components_sparkline.md.DR0l8g8E.lean.js b/assets/components_sparkline.md.DR0l8g8E.lean.js new file mode 100644 index 00000000..3e6576ad --- /dev/null +++ b/assets/components_sparkline.md.DR0l8g8E.lean.js @@ -0,0 +1 @@ +import{_ as d,D as a,c as s,j as e,a as t,I as n,a5 as i,o as r}from"./chunks/framework.cw3A9gZ3.js";const u=JSON.parse('{"title":"Sparkline 迷你图","description":"","frontmatter":{},"headers":[],"relativePath":"components/sparkline.md","filePath":"components/sparkline.md"}'),o={name:"components/sparkline.md"},f={id:"sparkline-迷你图",tabindex:"-1"},x=e("a",{class:"header-anchor",href:"#sparkline-迷你图","aria-label":'Permalink to "Sparkline 迷你图 "'},"​",-1),g=i("",2);function y(c,p,h,_,m,b){const l=a("Badge");return r(),s("div",null,[e("h1",f,[t("Sparkline 迷你图 "),n(l,{type:"pro",text:"专业版"}),t(),x]),g])}const v=d(o,[["render",y]]);export{u as __pageData,v as default}; diff --git a/assets/components_storage-box.md.1-KMrZnk.js b/assets/components_storage-box.md.1-KMrZnk.js new file mode 100644 index 00000000..4c46d6ea --- /dev/null +++ b/assets/components_storage-box.md.1-KMrZnk.js @@ -0,0 +1 @@ +import{_ as l,D as s,c as o,j as e,a as t,I as d,a5 as n,o as r}from"./chunks/framework.cw3A9gZ3.js";const B=JSON.parse('{"title":"StorageBox 储存箱","description":"","frontmatter":{},"headers":[],"relativePath":"components/storage-box.md","filePath":"components/storage-box.md"}'),i={name:"components/storage-box.md"},h={id:"storagebox-储存箱",tabindex:"-1"},x=e("a",{class:"header-anchor",href:"#storagebox-储存箱","aria-label":'Permalink to "StorageBox 储存箱 "'},"​",-1),g=n('

Props

参数说明类型可选值默认值
data需要储存的数据object / array--
name数据存放的命名空间string--
title下拉面板标题string-'储存箱'

Slots

name说明
-触发下拉面板的 HTML 内容

Events

事件名称说明回调参数
take-out点击下拉面板中某条记录的事件回调记录的数据
',6);function f(y,c,_,b,p,m){const a=s("Badge");return r(),o("div",null,[e("h1",h,[t("StorageBox 储存箱 "),d(a,{type:"pro",text:"专业版"}),t(),x]),g])}const P=l(i,[["render",f]]);export{B as __pageData,P as default}; diff --git a/assets/components_storage-box.md.1-KMrZnk.lean.js b/assets/components_storage-box.md.1-KMrZnk.lean.js new file mode 100644 index 00000000..b2c1386c --- /dev/null +++ b/assets/components_storage-box.md.1-KMrZnk.lean.js @@ -0,0 +1 @@ +import{_ as l,D as s,c as o,j as e,a as t,I as d,a5 as n,o as r}from"./chunks/framework.cw3A9gZ3.js";const B=JSON.parse('{"title":"StorageBox 储存箱","description":"","frontmatter":{},"headers":[],"relativePath":"components/storage-box.md","filePath":"components/storage-box.md"}'),i={name:"components/storage-box.md"},h={id:"storagebox-储存箱",tabindex:"-1"},x=e("a",{class:"header-anchor",href:"#storagebox-储存箱","aria-label":'Permalink to "StorageBox 储存箱 "'},"​",-1),g=n("",6);function f(y,c,_,b,p,m){const a=s("Badge");return r(),o("div",null,[e("h1",h,[t("StorageBox 储存箱 "),d(a,{type:"pro",text:"专业版"}),t(),x]),g])}const P=l(i,[["render",f]]);export{B as __pageData,P as default}; diff --git a/assets/components_svg-icon.md.BBek8rXU.js b/assets/components_svg-icon.md.BBek8rXU.js new file mode 100644 index 00000000..36f427d1 --- /dev/null +++ b/assets/components_svg-icon.md.BBek8rXU.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as a}from"./chunks/framework.cw3A9gZ3.js";const h=JSON.parse('{"title":"SvgIcon SVG图标","description":"","frontmatter":{},"headers":[],"relativePath":"components/svg-icon.md","filePath":"components/svg-icon.md"}'),n={name:"components/svg-icon.md"},s=a('

SvgIcon SVG图标

Props

参数说明类型可选值默认值
namesvg 文件名 / Iconify 图标名,详细可阅读《图标string--
flip翻转方式,支持水平、垂直以及同时翻转stringhorizontal / vertical / both-
rotate旋转角度number0 - 3600
color颜色string
size尺寸string / number
',3),d=[s];function i(o,r,g,f,c,x){return l(),e("div",null,d)}const _=t(n,[["render",i]]);export{h as __pageData,_ as default}; diff --git a/assets/components_svg-icon.md.BBek8rXU.lean.js b/assets/components_svg-icon.md.BBek8rXU.lean.js new file mode 100644 index 00000000..17f72694 --- /dev/null +++ b/assets/components_svg-icon.md.BBek8rXU.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as a}from"./chunks/framework.cw3A9gZ3.js";const h=JSON.parse('{"title":"SvgIcon SVG图标","description":"","frontmatter":{},"headers":[],"relativePath":"components/svg-icon.md","filePath":"components/svg-icon.md"}'),n={name:"components/svg-icon.md"},s=a("",3),d=[s];function i(o,r,g,f,c,x){return l(),e("div",null,d)}const _=t(n,[["render",i]]);export{h as __pageData,_ as default}; diff --git a/assets/components_trend.md._IkasUwJ.js b/assets/components_trend.md._IkasUwJ.js new file mode 100644 index 00000000..c34fc60d --- /dev/null +++ b/assets/components_trend.md._IkasUwJ.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as d}from"./chunks/framework.cw3A9gZ3.js";const _=JSON.parse('{"title":"Trend 趋势标记","description":"","frontmatter":{},"headers":[],"relativePath":"components/trend.md","filePath":"components/trend.md"}'),a={name:"components/trend.md"},n=d('

Trend 趋势标记

Props

参数说明类型可选值默认值
value内容string--
type类型stringup / downup
prefix前缀string--
suffix后缀string--
reverse颜色反转boolean-false
',3),s=[n];function r(i,o,f,x,g,y){return l(),e("div",null,s)}const c=t(a,[["render",r]]);export{_ as __pageData,c as default}; diff --git a/assets/components_trend.md._IkasUwJ.lean.js b/assets/components_trend.md._IkasUwJ.lean.js new file mode 100644 index 00000000..7055217e --- /dev/null +++ b/assets/components_trend.md._IkasUwJ.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a5 as d}from"./chunks/framework.cw3A9gZ3.js";const _=JSON.parse('{"title":"Trend 趋势标记","description":"","frontmatter":{},"headers":[],"relativePath":"components/trend.md","filePath":"components/trend.md"}'),a={name:"components/trend.md"},n=d("",3),s=[n];function r(i,o,f,x,g,y){return l(),e("div",null,s)}const c=t(a,[["render",r]]);export{_ as __pageData,c as default}; diff --git a/assets/guide_api.md.DEtFDhYw.js b/assets/guide_api.md.DEtFDhYw.js new file mode 100644 index 00000000..f1cabcd9 --- /dev/null +++ b/assets/guide_api.md.DEtFDhYw.js @@ -0,0 +1,32 @@ +import{_ as e,D as h,c as l,j as i,a as s,I as t,a5 as a,o as p}from"./chunks/framework.cw3A9gZ3.js";const D=JSON.parse('{"title":"常用 API","description":"","frontmatter":{},"headers":[],"relativePath":"guide/api.md","filePath":"guide/api.md"}'),k={name:"guide/api.md"},d=a(`

常用 API

接口请求

详细可阅读《与服务端交互 - 接口请求》。

ts
import api from '@/api'
+
+api.get()
+api.post()

鉴权

详细可阅读《权限 - 鉴权函数》。

ts
import useAuth from '@/utils/composables/useAuth'
+
+const { auth, authAll } = useAuth()
+
+auth()
+authAll()

主导航

切换

切换主导航,index 为主导航序列数。

ts
import useMenu from '@/utils/composables/useMenu'
+
+useMenu().switchTo(index)

窗口

新增窗口

ts
import useWindow from '@/utils/composables/useWindow'
+
+useWindow.add('windowName')
+
+useWindow.add({
+  title: '窗口标题',
+	name: 'windowName'
+})

关闭窗口

ts
import useWindow from '@/utils/composables/useWindow'
+
+useWindow().remove('windowName')
`,16),r={id:"窗口全屏切换",tabindex:"-1"},o=i("a",{class:"header-anchor",href:"#窗口全屏切换","aria-label":'Permalink to "窗口全屏切换 "'},"​",-1),E=a(`
ts
import useWindow from '@/utils/composables/useWindow'
+
+useWindow().toggleMaximize('windowName')
`,1),c={id:"判断窗口是否全屏",tabindex:"-1"},g=i("a",{class:"header-anchor",href:"#判断窗口是否全屏","aria-label":'Permalink to "判断窗口是否全屏 "'},"​",-1),y=a(`
ts
import useWindow from '@/utils/composables/useWindow'
+
+useWindow().isMaximize('windowName')  // true / false

窗口刷新

ts
import useWindow from '@/utils/composables/useWindow'
+
+useWindow().reload('windowName')

事件总线

基于 mitt 简单封装,使用方法请查阅官方文档。

ts
import eventBus from '@/utils/eventBus'
+
+eventBus.on()
+eventBus.emit()
+eventBus.off()
`,6),u={id:"日期",tabindex:"-1"},F=i("a",{class:"header-anchor",href:"#日期","aria-label":'Permalink to "日期 "'},"​",-1),m=a(`

基于 dayjs 简单封装,使用方法请查阅官方文档。

ts
import dayjs from '@/utils/dayjs'
+
+dayjs()
`,2);function b(_,C,v,B,A,f){const n=h("Badge");return p(),l("div",null,[d,i("h3",r,[s("窗口全屏切换 "),t(n,{type:"pro",text:"专业版"}),s(),o]),E,i("h3",c,[s("判断窗口是否全屏 "),t(n,{type:"pro",text:"专业版"}),s(),g]),y,i("h2",u,[s("日期 "),t(n,{type:"pro",text:"专业版"}),s(),F]),m])}const w=e(k,[["render",b]]);export{D as __pageData,w as default}; diff --git a/assets/guide_api.md.DEtFDhYw.lean.js b/assets/guide_api.md.DEtFDhYw.lean.js new file mode 100644 index 00000000..6733bd59 --- /dev/null +++ b/assets/guide_api.md.DEtFDhYw.lean.js @@ -0,0 +1 @@ +import{_ as e,D as h,c as l,j as i,a as s,I as t,a5 as a,o as p}from"./chunks/framework.cw3A9gZ3.js";const D=JSON.parse('{"title":"常用 API","description":"","frontmatter":{},"headers":[],"relativePath":"guide/api.md","filePath":"guide/api.md"}'),k={name:"guide/api.md"},d=a("",16),r={id:"窗口全屏切换",tabindex:"-1"},o=i("a",{class:"header-anchor",href:"#窗口全屏切换","aria-label":'Permalink to "窗口全屏切换 "'},"​",-1),E=a("",1),c={id:"判断窗口是否全屏",tabindex:"-1"},g=i("a",{class:"header-anchor",href:"#判断窗口是否全屏","aria-label":'Permalink to "判断窗口是否全屏 "'},"​",-1),y=a("",6),u={id:"日期",tabindex:"-1"},F=i("a",{class:"header-anchor",href:"#日期","aria-label":'Permalink to "日期 "'},"​",-1),m=a("",2);function b(_,C,v,B,A,f){const n=h("Badge");return p(),l("div",null,[d,i("h3",r,[s("窗口全屏切换 "),t(n,{type:"pro",text:"专业版"}),s(),o]),E,i("h3",c,[s("判断窗口是否全屏 "),t(n,{type:"pro",text:"专业版"}),s(),g]),y,i("h2",u,[s("日期 "),t(n,{type:"pro",text:"专业版"}),s(),F]),m])}const w=e(k,[["render",b]]);export{D as __pageData,w as default}; diff --git a/assets/guide_axios.md.zJjuCLm6.js b/assets/guide_axios.md.zJjuCLm6.js new file mode 100644 index 00000000..dcdf4d91 --- /dev/null +++ b/assets/guide_axios.md.zJjuCLm6.js @@ -0,0 +1,98 @@ +import{_ as s,c as i,o as a,a5 as n}from"./chunks/framework.cw3A9gZ3.js";const o=JSON.parse('{"title":"与服务端交互","description":"","frontmatter":{},"headers":[],"relativePath":"guide/axios.md","filePath":"guide/axios.md"}'),h={name:"guide/axios.md"},p=n(`

与服务端交互

框架使用 Axios 做为异步请求工具,并进行了简单的封装。

接口请求

设置 baseURL

在根目录 .env.* 文件里的 VITE_APP_API_BASEURL 这个参数就是配置 axios 的 baseURL

例如项目的真实接口请求地址为:

  • http://api.test.com/news/list
  • http://api.test.com/news/create
  • http://api.test.com/shop/info

则可设置为 VITE_APP_API_BASEURL = http://api.test.com/

请求调用

常用的 GET 和 POST 请求可使用以下的方法:

ts
import api from '@/api'
+
+// GET 请求
+api.get('news/list', {
+  params: {
+    page: 1,
+    size: 10,
+  },
+}).then((res) => {
+  // 后续业务代码
+})
+
+// POST 请求
+api.post('news/create', {
+  title: '新闻标题',
+  content: '新闻内容',
+}).then((res) => {
+  // 后续业务代码
+})

拦截器

/src/api/index.ts 文件里实例化了 axios 对象,并对 requestresponse 设置了拦截器,拦截器的用处就是拦截每一次的请求和响应,然后做一些全局的处理。例如接口响应报错,可以在拦截器里用统一的报错提示来展示,方便业务开发。但因为每个公司提供的接口标准不同,所以该文件拦截器部分的代码,需要开发者根据实际情况去修改调整。

代码很简单,首先初始化 axios 对象,然后 axios.interceptors.request.use()axios.interceptors.response.use() 就分别是请求和响应的拦截代码了。

参考代码里只做了简单的拦截处理,例如请求的时候会自动带上 token ,响应的时候会根据错误信息判断是登录失效还是接口报错,并做相应动作。

模块管理

如果项目里的接口很多,推荐根据模块来统一管理接口,目录为 /src/api/modules/

跨域处理

生产环境的跨域需要服务端去解决,开发环境的跨域问题可在本地设置代理解决。如果本地开发环境请求接口提示跨域,可以设置 .env.development 文件里 VITE_OPEN_PROXY = true 开启代理。

ts
import api from '@/api'
+
+api.get('news/list') // http://localhost:9000/proxy/news/list
+api.post('news/add') // http://localhost:9000/proxy/news/add

开启代理后,原有请求都会被指向到本地 http://localhost:9000/proxy ,因为 /proxy 匹配到了 vite.config.ts 里代理部分的设置,所以实际是请求依旧是 VITE_APP_API_BASEURL 所设置的地址。

ts
server: {
+  // vite.config.ts 中 proxy 配置,该配置即用于代理 API 请求
+  proxy: {
+    '/proxy': {
+      target: loadEnv(mode, process.cwd()).VITE_APP_API_BASEURL,
+      changeOrigin: command === 'serve' && loadEnv(mode, process.cwd()).VITE_OPEN_PROXY == 'true',
+      rewrite: path => path.replace(/\\/proxy/, ''),
+    },
+  },
+},

多数据源

如果项目里需要从多个不同地址的数据源请求数据,你有两种方式可以实现。

如果只是几个接口需求从其它数据源请求,你可以使用覆盖 baseURL 的方式:

ts
import api from '@/api'
+
+api.get('/new/list', {
+  baseURL: 'http://baidu.com/', // 直接覆盖 baseURL
+})

这种方式的前提是,两个数据源的 requestresponse 规则要保持一致,因为只是覆盖 baseURL ,拦截器还是用的同一套规则。

所以如果两个数据源的请求和响应是完全不同的标准,你需要给第二个数据源单独实例化一个 axios 对象。首先在 .env.* 文件里配置第二个数据源的 baseURL

# 命名可随意,以 VITE_APP_ 开头即可
+VITE_APP_API_BASEURL_2 = 此处填写接口地址

然后把 /src/api/index.ts 文件复制一份,例如就叫 /src/api/index2.ts ,并且将代码中使用到 VITE_APP_API_BASEURL 也替换为 VITE_APP_API_BASEURL_2 ,这样你就可以在页面中通过引入不同的文件分别请求两个数据源了:

ts
import api from '@/api'
+import api2 from '@/api/index2'
+
+// 请求默认数据源
+api.get('/new/list')
+// 请求第 2 个数据源
+api2.get('/new/list')

需注意,如果第二个数据源也需要开启跨域处理的话,需要在 /src/api/index2.ts 里定一个新的 proxy 路径,例如 /proxy2/

ts
const api = axios.create({
+  baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy2/' : import.meta.env.VITE_APP_API_BASEURL_2,
+  timeout: 10000,
+  responseType: 'json',
+})

同时在 vite.config.ts 里增加一段新的 proxy 配置:

ts
server: {
+  // vite.config.ts 中 proxy 配置,该配置即用于代理 API 请求
+  proxy: {
+    '/proxy': {
+      target: loadEnv(mode, process.cwd()).VITE_APP_API_BASEURL,
+      changeOrigin: command === 'serve' && loadEnv(mode, process.cwd()).VITE_OPEN_PROXY == 'true',
+      rewrite: path => path.replace(/\\/proxy/, ''),
+    },
+    '/proxy2': {
+      target: loadEnv(mode, process.cwd()).VITE_APP_API_BASEURL_2,
+      changeOrigin: command === 'serve' && loadEnv(mode, process.cwd()).VITE_OPEN_PROXY == 'true',
+      rewrite: path => path.replace(/\\/proxy2/, ''),
+    },
+  },
+},

Mock

Mock 数据是前端开发过程中必不可少的一环,是分离前后端开发的关键链路。通过预先跟服务器端约定好的接口,模拟请求数据甚至逻辑,能够让前端开发独立自主,不会被服务端的开发所阻塞。

TIP

模板使用 vite-plugin-fake-server 提供开发和生产模拟服务。

Mock 数据编写规则请阅读 Mockjs 官方文档。

开发环境 mock

mock 文件存放在 /src/mock/ 下,建议按照不同模块区分文件夹。文件新增或修改后会自动更新,不需要手动重启,可以在代码控制台查看日志信息。

以下为示例代码:

ts
import { defineFakeRoute } from 'vite-plugin-fake-server/client'
+import Mock from 'mockjs'
+
+export default defineFakeRoute([
+  {
+    url: '/mock/news/list',
+    method: 'get',
+    response: () => {
+      return {
+        error: '',
+        status: 1,
+        data: Mock.mock({
+          'list|5-10': [
+            {
+              title: '@ctitle',
+            },
+          ],
+        }),
+      }
+    },
+  },
+])

参数获取:

  • GET:({ query }) => { }
  • POST:({ body }) => { }

为了让 mock 接口与真实接口共存,即项目开发中,部分请求 mock 接口,部分请求真实接口。需要在配置 mock 接口的时候,给 url 参数统一设置 /mock/ 前缀,并在调用接口的时候,使用 baseURL 强制修改此次请求的地址。

如下所示,其中 news/list 会请求本地的 mock 接口,而 news/create 依旧请求真实接口,即使开启跨域代理也不影响。

ts
import api from '@/api'
+
+api.get('news/list', {
+  baseURL: '/mock/',
+  params: {
+    page: 1,
+    size: 10,
+  },
+}).then((res) => {
+  // 后续业务代码
+})
+
+api.post('news/create', {
+  title: '新闻标题',
+  content: '新闻内容',
+}).then((res) => {
+  // 后续业务代码
+})

生产环境 mock

注意

生产环境一般都是调用真实接口,如果需要使用 mock 也只适用于一些简单的示例网站及预览网站。

模板默认已经配置好生产环境 mock ,如果不想让生产环境里的请求走 mock ,可在接口调用处删除 baseURL 设置,或直接删除 mock 接口文件。

需要注意一点,如果项目中有涉及到上传功能,请彻底关闭线上环境 mock ,在环境配置里设置 VITE_BUILD_MOCK = false ,不然线上环境将会报错。

开发环境与生产环境使用 mock 差异不大,比较大的区别是生产环境里调用 mock 接口,在控制台内看不到接口请求日志。

`,52),k=[p];function l(t,e,E,d,r,g){return a(),i("div",null,k)}const y=s(h,[["render",l]]);export{o as __pageData,y as default}; diff --git a/assets/guide_axios.md.zJjuCLm6.lean.js b/assets/guide_axios.md.zJjuCLm6.lean.js new file mode 100644 index 00000000..9b9757e4 --- /dev/null +++ b/assets/guide_axios.md.zJjuCLm6.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as n}from"./chunks/framework.cw3A9gZ3.js";const o=JSON.parse('{"title":"与服务端交互","description":"","frontmatter":{},"headers":[],"relativePath":"guide/axios.md","filePath":"guide/axios.md"}'),h={name:"guide/axios.md"},p=n("",52),k=[p];function l(t,e,E,d,r,g){return a(),i("div",null,k)}const y=s(h,[["render",l]]);export{o as __pageData,y as default}; diff --git a/assets/guide_build.md.DXDo3brK.js b/assets/guide_build.md.DXDo3brK.js new file mode 100644 index 00000000..fa52318b --- /dev/null +++ b/assets/guide_build.md.DXDo3brK.js @@ -0,0 +1,9 @@ +import{_ as a,c as e,o as s,a5 as n}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"构建与预览","description":"","frontmatter":{},"headers":[],"relativePath":"guide/build.md","filePath":"guide/build.md"}'),p={name:"guide/build.md"},t=n(`

构建与预览

构建

项目开发完成之后,可以执行 pnpm run build 命令进行构建,构建打包成功之后,会在根目录生成 dist 文件夹,里面就是构建打包好的文件。

如果是需要构建测试环境,则执行 pnpm run build:test 命令,对应会在根目录生成 dist-test 文件夹。

TIP

如果最终访问地址为域名非根节点,如 https://www.example.com/app,则需要在 vite.config.ts 中设置 base 选项为 /app/,否则会出现资源引用错误。

预览

生成好的 dist 文件夹一般需要部署至服务器才算部署发布成功,但为了保证构建出来的文件能正常运行,开发者通常希望能在本地先预览一下,可执行 pnpm run servepnpm run serve:test 命令预览不同环境构建出的文件夹。

压缩

在环境配置文件里设置 VITE_BUILD_COMPRESS 即可在构建时生成 .gz.br 文件。

# 单独开启 gzip
+VITE_BUILD_COMPRESS = gzip
+
+# 单独开启 brotli ,brotli 是比 gzip 压缩率更高的算法
+VITE_BUILD_COMPRESS = brotli
+
+# 或者也可以都开启,两者可以共存
+VITE_BUILD_COMPRESS = gzip,brotli

两者均需要 nginx 安装指定模块并开启后才会生效。

其它设置

在环境配置文件里除了可以设置压缩选项,还可设置:

# 是否在打包时生成 sourcemap
+VITE_BUILD_SOURCEMAP = true
`,14),i=[t];function o(c,d,l,r,h,u){return s(),e("div",null,i)}const m=a(p,[["render",o]]);export{b as __pageData,m as default}; diff --git a/assets/guide_build.md.DXDo3brK.lean.js b/assets/guide_build.md.DXDo3brK.lean.js new file mode 100644 index 00000000..2a4e25b8 --- /dev/null +++ b/assets/guide_build.md.DXDo3brK.lean.js @@ -0,0 +1 @@ +import{_ as a,c as e,o as s,a5 as n}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"构建与预览","description":"","frontmatter":{},"headers":[],"relativePath":"guide/build.md","filePath":"guide/build.md"}'),p={name:"guide/build.md"},t=n("",14),i=[t];function o(c,d,l,r,h,u){return s(),e("div",null,i)}const m=a(p,[["render",o]]);export{b as __pageData,m as default}; diff --git a/assets/guide_changelog.md.B4WeWtBt.js b/assets/guide_changelog.md.B4WeWtBt.js new file mode 100644 index 00000000..7f24c0a0 --- /dev/null +++ b/assets/guide_changelog.md.B4WeWtBt.js @@ -0,0 +1,33 @@ +import{_ as t,D as r,c as i,j as e,a as l,I as o,a5 as a,o as p}from"./chunks/framework.cw3A9gZ3.js";const E=JSON.parse('{"title":"更新日志","description":"","frontmatter":{},"headers":[],"relativePath":"guide/changelog.md","filePath":"guide/changelog.md"}'),n={name:"guide/changelog.md"},h=a('

更新日志

只记录 feat/fix 以及破坏性更新记录。

4.5.0

基础版

🚨 Breaking Changes

  • 配置项 menu.menuMode 变更为 menu.mode  -  by @hooray (10415)

🚀 Features

  • 增加禁用开发者工具环境变量  -  by @hooray (306f3)
  • 新增哀悼模式和色弱模式  -  by @hooray (3c299)

🐞 Bug Fixes

  • 修复vscode失效配置  -  by @hooray (e5cfa)

专业版

🚨 Breaking Changes

  • 配置项 menu.menuActiveStyle 变更为 menu.style  -  by @hooray (fce08)
  • 配置项 menu.menuMode 变更为 menu.mode  -  by @hooray (9091d)

🚀 Features

  • 增加2种导航栏模式 side-panel / head-panel  -  by @hooray (cab92)
  • 增加禁用开发者工具环境变量  -  by @hooray (f2ef8)
  • 新增哀悼模式和色弱模式  -  by @hooray (9ebc8)

🐞 Bug Fixes

  • 移除无用逻辑判断  -  by @hooray (51e90)
  • 修复vscode失效配置  -  by @hooray (d2dda):::

4.4.1

基础版

无重大变化

专业版

🐞 Bug Fixes

  • 修复有 badge 的一级导航在收起时展示和其他导航不一样的问题  -  by @hooray (1441c)

4.4.0

基础版

🚀 Features

  • 登录页增加扫码登录参考  -  by @hooray (bafaa)

🐞 Bug Fixes

  • 修复顶部导航鼠标滚动回弹  -  by @hooray (216ac)
  • 修复顶部导航数量过多,导致工具栏被遮挡  -  by @hooray (f49b6)

专业版

🚨 Breaking Changes

  • 移除导航i18n配置项,合并到title配置项内  -  by @hooray (1921b)

🚀 Features

  • 登录页增加扫码登录参考  -  by @hooray (fc082)

🐞 Bug Fixes

  • 修复顶部导航鼠标滚动回弹  -  by @hooray (1d900)
  • 修复顶部导航数量过多,导致工具栏被遮挡  -  by @hooray (4c70b)
  • 修复水印开启报错  -  by @hooray (33add)

4.3.0

基础版

无重大变化

专业版

🚀 Features

  • 提供 $t 函数,用于菜单 i18n 能在 VSCode I18n Ally 插件下正确显示  -  by @hooray (d8039)
  • 工具栏部分按钮增加交互动效  -  by @hooray (8f597)
  • 支持 RTL 模式  -  by @hooray (97483)

🐞 Bug Fixes

  • 修复 mock 模板请求无响应数据  -  by @hooray (6c92d)

4.2.3

基础版

无重大变化

专业版

无重大变化

4.2.2

基础版

无重大变化

专业版

无重大变化

4.2.1

基础版

无重大变化

专业版

🐞 Bug Fixes

  • 修复 IconPicker 组件样式错乱  -  by @hooray (3bd3b)

4.2.0

基础版

🚀 Features

  • 引入 unplugin-turbo-console 优化开发体验  -  by @hooray (43d09)
  • 增加打包后生成存档文件支持  -  by @hooray (66d9e)
  • 增加图片支持,整站图标改用 unocss icon 方式使用,方便在内网环境使用  -  by @hooray (4bccd)
  • 导航菜单收起时,无二级的一级导航增加 tooltip 展示  -  by @hooray (5e61c)
  • 明暗模式设置为跟随系统时,支持动态切换  -  by @hooray (98792)

🐞 Bug Fixes

  • Mock 数据修复  -  by @hooray (fd2f6)

专业版

🚨 Breaking Changes

  • 重构用户偏好模块,偏好设置可存放在 localStorage  -  by @hooray (7a554)
  • 重构页面水印,支持动态更新  -  by @hooray (7cdc8)
  • 移除内置 v-waves 指令,使用第三方 v-wave 插件  -  by @hooray (a7505)

🚀 Features

  • 引入 unplugin-turbo-console 优化开发体验  -  by @hooray (f644e)
  • 增加打包后生成存档文件支持  -  by @hooray (2bb50)
  • SvgIcon 增加图片支持,整站图标改用 unocss icon 方式使用,方便在内网环境使用  -  by @hooray (d5715)
  • 导航菜单收起时,无二级的一级导航增加 tooltip 展示  -  by @hooray (95cf8)
  • 明暗模式设置为跟随系统时,支持动态切换  -  by @hooray (c7bcb)
  • 增加 v-zoomable 图片预览指令  -  by @hooray (3d58e)

🐞 Bug Fixes

  • Mock 数据修复  -  by @hooray (5c9ba)

4.1.0

基础版

🚨 Breaking Changes

  • Vite-plugin-fake-server 替换 vite-plugin-mock  -  by @hooray (38039)
  • 应用配置 toolbar 对象内属性调整  -  by @hooray (e2aaf)

专业版

🚨 Breaking Changes

  • Vite-plugin-fake-server 替换 vite-plugin-mock  -  by @hooray (bdfa4)
  • 应用配置 toolbar 对象内属性调整  -  by @hooray (c2915)

🚀 Features

  • 应用配置新增 menu.subMenuAutoCollapse ,支持次导航收起时,鼠标悬停临时展开  -  by @hooray (970ef)
  • 应用配置新增 toolbar.layout 属性,支持工具栏自定义布局  -  by @hooray (cc87f)

4.0.1

基础版

🐞 Bug Fixes

  • 修复登录页 Copyright 组件未展示  -  by @hooray (0b03a)

专业版

🐞 Bug Fixes

  • 修复登录页 Copyright 组件未展示  -  by @hooray (a808f)

4.0.0

基础版

🚨 Breaking Changes

  • 启用新的 eslint 配置文件  -  by @hooray (5f9f1)
  • 移除应用配置中 Element Plus 默认尺寸的配置项  -  by @hooray (dfc51)

🚀 Features

  • 支持使用 Iconify 完整图标库  -  by @hooray (2d642)
  • 重构框架核心源码  -  by @hooray (874e3)
  • Eslint 增加 unocss 配置  -  by @hooray (dcbcc)

专业版

🚨 Breaking Changes

  • 启用新的 eslint 配置文件  -  by @hooray (66160)
  • 移除应用配置中 Element Plus 默认尺寸的配置项  -  by @hooray (6720a)

🚀 Features

  • 重构框架核心源码  -  by @hooray (215ef)
  • 全局搜索支持拼音  -  by @hooray (cbb68)
  • Eslint 增加 unocss 配置  -  by @hooray (0b078)

🐞 Bug Fixes

  • 修复收藏夹默认存储位置错误  -  by @hooray (d2a2d)
',33),c=a(`
  • 拥抱原子化 CSS ,启用 UnoCSS ,并对框架部分组件样式进行了重构

    如果你正在将老版本的业务代码向新版本迁移,推荐安装 UnoCSS 这个 VSCode 插件,它能高亮显示 UnoCSS 的代码。如果你的业务页面代码中定义的 class 和 UnoCSS 的 class 重名,也可以通过这个插件快速识别到并修改。

  • 与 Element Plus 组件库解耦,方便替换成其他第三方 UI 组件库,详细可阅读:

  • ESLint 配置文件格式调整,详细可阅读《代码规范 - ESLint 配置

    ESLint 提供了全新的配置方式,所有配置项将都在一个 eslint.config.js 文件中实现。

  • 基础版现在可以使用 Iconify 完整图标库,详细可阅读《图标 - Iconify 图标

  • 全新的主题配色方案,详细可阅读《主题 - 框架主题

  • 移除 Element Plus 自定义主题配置

    如果你依旧需要自定义 Element Plus 的主题,可以阅读 Element Plus 官方文档《自定义主题》,或者参考下面提供的最佳实践。

    /src/assets/styles/ 目录下分别新建 element-plus.scsselement-plus.dark.scss 并写入下面的代码:

    scss
    // element-plus.scss
    +@forward "element-plus/theme-chalk/src/common/var.scss" with (
    +  $colors: (
    +    "primary": (
    +      "base": green
    +    )
    +  )
    +);
    +@use "element-plus/theme-chalk/src/index.scss" as *;
    +@use "./element-plus.dark.scss" as *;
    scss
    // element-plus.dark.scss
    +@forward "element-plus/theme-chalk/src/dark/var.scss" with (
    +  $bg-color: (
    +    "page": #0a0a0a,
    +    "": #141414,
    +    "overlay": #1d1e1f,
    +  )
    +);
    +@use "element-plus/theme-chalk/src/dark/css-vars.scss" as *;

    修改 /src/main.ts

    ts
    ...
    +import ElementPlus from 'element-plus'
    +import 'element-plus/dist/index.css'
    +import 'element-plus/theme-chalk/dark/css-vars.css'
    +import '@/assets/styles/element-plus.scss'
    +...
  • 移除应用配置中 Element Plus 默认尺寸的配置项

    如果你依旧需要全局配置 Element Plus 的默认尺寸,可以参考《Config Provider 全局配置》并在 /src/App.vue 中进行修改。

  • 移除精灵图支持

    原有 /src/assets/sprites/ 目录中的图片,现在可以移动到 /src/assets/images/ 目录中,并修改代码中的使用方式。

  • `,8),m=a(`
    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    /**
    +    * 留空默认
    +    * radius 圆角
    +    */
    +    menuFillStyle: '', 
    +    // 导航栏是否圆角
    +    isRounded: false, 
    +  },
    +}
    `,1),b=a('

    3.1.3

    基础版

    无重大变化

    专业版

    无重大变化

    3.1.2

    基础版

    无重大变化

    专业版

    无重大变化

    3.1.1

    基础版

    无重大变化

    专业版

    无重大变化

    3.1.0

    基础版

    无重大变化

    专业版

    🚀 Features

    • 增加收藏夹  -  by @hooray (7146d)
    • 新增用户偏好设置  -  by @hooray (ba111)

    3.0.0

    基础版

    🚨 Breaking Changes

    • 移除 BatchActionBar 组件  -  by @hooray (b1f8f)
    • 移除 Editor 组件  -  by @hooray (2ea5f)
    • 移除 vite-plugin-html 插件  -  by @hooray (9d1d3)
    • 调整应用配置的配置项,并将应用配置按钮从工具栏删除  -  by @hooray (ceffd)
    • 重构接口请求,统一管理接口请求模块  -  by @hooray (301d7)

    🚀 Features

    • 引入 stylelint-stylistic 插件  -  by @hooray (38e3f)

    🐞 Bug Fixes

    • 修复 axios baseURL 配置,解决构建后 baseURL 不生效的问题  -  by @hooray (87963)

    专业版

    🚨 Breaking Changes

    • 移除 BatchActionBar 组件  -  by @hooray (ca569)
    • 移除 Editor 组件  -  by @hooray (6fff3)
    • 移除 vite-plugin-html 插件  -  by @hooray (f9c4e)
    • 调整应用配置的配置项,并将应用配置按钮从工具栏删除  -  by @hooray (abea5)
    • 重构标准模块,增加表格高度自适应功能  -  by @hooray (f20ca)
    • 重构接口请求,统一管理接口请求模块  -  by @hooray (831ab)

    🚀 Features

    • 引入 stylelint-stylistic 插件  -  by @hooray (f0826)
    • 新增 StorageBox 组件  -  by @hooray (38efb)
    • 增加明暗切换过渡动效  -  by @hooray (44045)

    🐞 Bug Fixes

    • 修复 axios baseURL 配置,解决构建后 baseURL 不生效的问题  -  by @hooray (3fa26)
    • 增加 dropdown 组件外边框的临时解决方案  -  by @hooray (9cd44)

    2.3.2

    基础版

    无重大变化

    专业版

    无重大变化

    2.3.1

    基础版

    无重大变化

    专业版

    无重大变化

    2.3.0

    基础版

    🚨 Breaking Changes

    • Pinia store 改为 setup 写法  -  by @hooray (1cd93)
    • UseCurrentInstance() 重命名为 useGlobalProperties()  -  by @hooray (0311a)

    专业版

    🚨 Breaking Changes

    • Pinia store 改为 setup 写法  -  by @hooray (040a5)
    • UseCurrentInstance() 重命名为 useGlobalProperties()  -  by @hooray (39d56)

    🐞 Bug Fixes

    • 修复顶部主导航国际化配置不生效  -  by @hooray (02548)
    • 修复切换国际化语言时,主导航激活项被复原到第一个  -  by @hooray (e6846)

    2.2.0

    基础版

    🐞 Bug Fixes

    • 修复次导航收起时图标不居中  -  by @hooray (2b5ca)

    专业版

    🚀 Features

    • 个人设置窗口补充 i18n 配置  -  by @hooray (2655c)

    🐞 Bug Fixes

    • 修复次导航收起时图标不居中  -  by @hooray (2fc11)
    • 修复主导航国际化配置不生效  -  by @hooray (490b1)

    2.1.0

    基础版

    🐞 Bug Fixes

    • 修复类型报错  -  by @hooray (8aba7)

    专业版

    🐞 Bug Fixes

    • 修复 mock 文件后缀名错误  -  by @hooray (8bc65)
    • 修复无法打开修改密码窗口的问题  -  by @hooray (0c353)
    • 修复类型报错  -  by @hooray (56855)

    2.0.0

    基础版

    🚨 Breaking Changes

    • TypeScript 支持  -  by @hooray (0b8ac)

    专业版

    🚨 Breaking Changes

    • TypeScript 支持  -  by @hooray (13b2c)

    v1.0.0

    基础版

    JS 版本存档,框架下次更新将切换到 TS 版本,JS 版本将不再维护。

    专业版

    JS 版本存档,框架下次更新将切换到 TS 版本,JS 版本将不再维护。

    ',36);function d(k,u,g,f,y,_){const s=r("Badge");return p(),i("div",null,[h,e("ul",null,[c,e("li",null,[e("p",null,[l("应用配置中导航栏填充风格的配置项名称变更 "),o(s,{type:"pro",text:"专业版"})]),m])]),b])}const F=t(n,[["render",d]]);export{E as __pageData,F as default}; diff --git a/assets/guide_changelog.md.B4WeWtBt.lean.js b/assets/guide_changelog.md.B4WeWtBt.lean.js new file mode 100644 index 00000000..798164f2 --- /dev/null +++ b/assets/guide_changelog.md.B4WeWtBt.lean.js @@ -0,0 +1 @@ +import{_ as t,D as r,c as i,j as e,a as l,I as o,a5 as a,o as p}from"./chunks/framework.cw3A9gZ3.js";const E=JSON.parse('{"title":"更新日志","description":"","frontmatter":{},"headers":[],"relativePath":"guide/changelog.md","filePath":"guide/changelog.md"}'),n={name:"guide/changelog.md"},h=a("",33),c=a("",8),m=a("",1),b=a("",36);function d(k,u,g,f,y,_){const s=r("Badge");return p(),i("div",null,[h,e("ul",null,[c,e("li",null,[e("p",null,[l("应用配置中导航栏填充风格的配置项名称变更 "),o(s,{type:"pro",text:"专业版"})]),m])]),b])}const F=t(n,[["render",d]]);export{E as __pageData,F as default}; diff --git a/assets/guide_coding-standard.md.CIF2Eb5S.js b/assets/guide_coding-standard.md.CIF2Eb5S.js new file mode 100644 index 00000000..2448af68 --- /dev/null +++ b/assets/guide_coding-standard.md.CIF2Eb5S.js @@ -0,0 +1,21 @@ +import{_ as s,c as i,o as a,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const E=JSON.parse('{"title":"代码规范","description":"","frontmatter":{},"headers":[],"relativePath":"guide/coding-standard.md","filePath":"guide/coding-standard.md"}'),e={name:"guide/coding-standard.md"},n=t(`

    代码规范

    建议

    请确保已阅读《准备工作 - 开发环境》,并且按照文档说明安装好相关软件及扩展。

    为保证代码风格统一,请使用 Visual Studio Code 做为开发 IDE ,框架源码里已提供相关配置文件,可直接测试效果:在保存代码时,会自动对当前文件进行代码格式化操作。

    IDE 配置

    配置文件为 .editorconfig ,通常情况下无需做任何修改。

    ESLint 配置

    配置文件为 eslint.config.js ,框架使用 antfu/eslint-config 做为基础规范,如果你对默认的规则有异议,可以查阅 ESLint 官网规则并在 eslint.config.js 文件中进行覆盖。

    当你对规则进行修改后,原有的代码可能会因为规则的变动导致编辑器大量提示错误,你可以通过运行 pnpm run lint:eslint 进行一次格式校验,如果规则支持自动修复,则会将不符合规则的代码自动进行格式化。

    TIP

    通过修改 eslint.config.jsignores 配置可忽略无需做代码规范校验的目录或文件,例如在项目中导入了一些第三方的插件代码或组件代码,我们就可以将其进行忽略。

    StyleLint 配置

    配置文件为 .stylelintrc ,如果你对默认的规则有异议,可以查阅 Stylelint 官网规则并在 .stylelintrc 文件中进行修改。

    当你对规则进行修改后,原有的代码可能会因为规则的变动导致编辑器大量提示错误,你可以通过运行 pnpm run lint:stylelint 进行一次格式校验,如果规则支持自动修复,则会将不符合规则的代码自动进行格式化。

    TIP

    通过修改 .stylelintignore 可忽略无需做代码规范校验的文件,例如在项目中导入了一些第三方的插件代码或组件代码,我们就可以将其进行忽略。

    simple-git-hooks 和 lint-staged

    由于 IDE 能做的事比较有限,只能对代码的书写规范进行格式化,对于一些无法自动修复的错误代码,如果没有改正到就被推送到 git 仓库,在多人协作开发时,可能会影响到别人的开发体验。所以框架集成了 simple-git-hookslint-staged 这两个依赖来解决这一问题。

    在提交代码时, simple-git-hooks 会通过 lint-staged 对本次提交变更的文件进行分别进行 eslint 和 stylelint 检测,如果有报错,则会阻止本次代码提交,直到开发者修改完所有错误代码后,才允许提交到 git 仓库,这样可以确保 git 仓库里的代码不会有不规范的代码。

    注意

    请确保在安装依赖前,已经使用 git init 对项目进行过 git 环境初始化,如果你在安装依赖后再初始化了 git 环境,请在 git 环境初始化之后再执行一遍 pnpm install 安装命令。

    此外,如果 git 仓库目录和框架目录并非同一个,则需要在 package.json 中修改 postinstall 脚本,切换到 git 所在目录。例如 git 目录是 project/ ,而框架目录是 project/one-step-admin/ ,则在 package.json 里找到 simple-git-hooks 配置并修改:

    json
    "simple-git-hooks": {
    +  "pre-commit": "cd ./one-step-admin/ && pnpm lint-staged",
    +  "preserveUnused": true
    +}

    修改后重新执行一下 pnpm install 即可。

    移除

    如果不想在 git 提交时强制进行代码规范校验,可以在 package.json 中移除 simple-git-hooks 配置:

    json
    {
    +  "scripts": {
    +    "postinstall": "simple-git-hooks && esno scripts/prepare.js", 
    +    "postinstall": "esno scripts/prepare.js", 
    +  },
    +  "simple-git-hooks": { 
    +    "pre-commit": "pnpm lint-staged", 
    +    "preserveUnused": true
    +  }, 
    +}
    json
    {
    +  "scripts": {
    +    "postinstall": "simple-git-hooks", 
    +  },
    +  "simple-git-hooks": { 
    +    "pre-commit": "pnpm lint-staged", 
    +    "preserveUnused": true
    +  }, 
    +}

    然后手动删除 .git/hooks/pre-commit 文件即可。

    `,21),l=[n];function p(o,h,d,k,r,c){return a(),i("div",null,l)}const u=s(e,[["render",p]]);export{E as __pageData,u as default}; diff --git a/assets/guide_coding-standard.md.CIF2Eb5S.lean.js b/assets/guide_coding-standard.md.CIF2Eb5S.lean.js new file mode 100644 index 00000000..cbf186a6 --- /dev/null +++ b/assets/guide_coding-standard.md.CIF2Eb5S.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const E=JSON.parse('{"title":"代码规范","description":"","frontmatter":{},"headers":[],"relativePath":"guide/coding-standard.md","filePath":"guide/coding-standard.md"}'),e={name:"guide/coding-standard.md"},n=t("",21),l=[n];function p(o,h,d,k,r,c){return a(),i("div",null,l)}const u=s(e,[["render",p]]);export{E as __pageData,u as default}; diff --git a/assets/guide_components.md.BTy5udts.js b/assets/guide_components.md.BTy5udts.js new file mode 100644 index 00000000..0ad45d76 --- /dev/null +++ b/assets/guide_components.md.BTy5udts.js @@ -0,0 +1,17 @@ +import{_ as s,c as i,o as a,a5 as n}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"guide/components.md","filePath":"guide/components.md"}'),t={name:"guide/components.md"},l=n(`

    介绍

    框架提供一系列的组件方便快速开发,其中基础组件Element Plus 原生提供的组件;而扩展组件有一部分是在 Element Plus 组件上进行了二次开发,还有一部分是封装了第三方插件。

    组件源码完全开放,如果觉得用着不顺手,可以到 /src/components/ 目录下找到对应组件进行修改。

    基础组件

    基础组件由 Element Plus 提供,其中包含按钮文字链接单选框多选框输入框计数器级联选择器开关滑块50+ 个组件。

    阅读并学习请查看 Element Plus 官方文档

    TIP

    框架严格按照 Element Plus 推荐的使用方式进行引入,即按需自动导入,意味着你可以直接在代码里使用组件,而无需手动注册。

    但也意味着 Element Plus 一些全局方法将无法使用,例如 Message 消息提示组件。

    js
    // 无法使用
    +const { proxy } = getCurrentInstance()
    +proxy.$message.success(options)
    +
    +// 可以使用
    +ElMessage.success(options)

    另外因为框架没有采用 Element Plus 官方的图标使用方式,这也意味着部分组件的 icon 属性将无法使用,例如 Button 按钮组件。

    template
    <!-- 无法使用 -->
    +<el-button icon="el-icon-edit">编辑</el-button>
    +
    +<!-- 可以使用插槽代替 -->
    +<el-button>
    +    <template #icon>
    +        <el-icon>
    +            <svg-icon name="ep:edit" />
    +        </el-icon>
    +    </template>
    +    编辑
    +</el-button>

    扩展组件

    `,8),e=[l];function p(h,k,r,E,o,g){return a(),i("div",null,e)}const y=s(t,[["render",p]]);export{c as __pageData,y as default}; diff --git a/assets/guide_components.md.BTy5udts.lean.js b/assets/guide_components.md.BTy5udts.lean.js new file mode 100644 index 00000000..4760b865 --- /dev/null +++ b/assets/guide_components.md.BTy5udts.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as n}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"guide/components.md","filePath":"guide/components.md"}'),t={name:"guide/components.md"},l=n("",8),e=[l];function p(h,k,r,E,o,g){return a(),i("div",null,e)}const y=s(t,[["render",p]]);export{c as __pageData,y as default}; diff --git a/assets/guide_configure.md.Bns3GLpw.js b/assets/guide_configure.md.Bns3GLpw.js new file mode 100644 index 00000000..c13c7a48 --- /dev/null +++ b/assets/guide_configure.md.Bns3GLpw.js @@ -0,0 +1,62 @@ +import{_ as s,c as a,o as i,a5 as n,a7 as l}from"./chunks/framework.cw3A9gZ3.js";const _=JSON.parse('{"title":"配置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/configure.md","filePath":"guide/configure.md"}'),p={name:"guide/configure.md"},e=n(`

    配置

    环境配置

    默认提供三套环境配置,分别为:

    yaml
    # 应用配置面板
    +VITE_APP_SETTING = true
    +# 页面标题
    +VITE_APP_TITLE = One-step-admin
    +# 接口请求地址,会设置到 axios 的 baseURL 参数上
    +VITE_APP_API_BASEURL = /
    +# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
    +VITE_APP_DEBUG_TOOL =
    +# 是否禁用开发者工具,可防止被调试
    +VITE_APP_DISABLE_DEVTOOL = false
    +
    +# 是否开启代理
    +VITE_OPEN_PROXY = false
    yaml
    # 应用配置面板
    +VITE_APP_SETTING = false
    +# 页面标题
    +VITE_APP_TITLE = One-step-admin
    +# 接口请求地址,会设置到 axios 的 baseURL 参数上
    +VITE_APP_API_BASEURL = /
    +# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
    +VITE_APP_DEBUG_TOOL =
    +# 是否禁用开发者工具,可防止被调试
    +VITE_APP_DISABLE_DEVTOOL = false
    +
    +# 是否在打包时启用 Mock
    +VITE_BUILD_MOCK = false
    +# 在构建时生成 sourcemap
    +VITE_BUILD_SOURCEMAP = true
    +# 在构建时开启压缩,支持 gzip 和 brotli
    +VITE_BUILD_COMPRESS =
    +# 是否在打包后生成存档,支持 zip 和 tar
    +VITE_BUILD_ARCHIVE =
    yaml
    # 应用配置面板
    +VITE_APP_SETTING = false
    +# 页面标题
    +VITE_APP_TITLE = One-step-admin
    +# 接口请求地址,会设置到 axios 的 baseURL 参数上
    +VITE_APP_API_BASEURL = /
    +# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
    +VITE_APP_DEBUG_TOOL =
    +# 是否禁用开发者工具,可防止被调试
    +VITE_APP_DISABLE_DEVTOOL = false
    +
    +# 是否在打包时启用 Mock
    +VITE_BUILD_MOCK = true
    +# 在构建时生成 sourcemap
    +VITE_BUILD_SOURCEMAP = false
    +# 在构建时开启压缩,支持 gzip 和 brotli
    +VITE_BUILD_COMPRESS = gzip,brotli
    +# 是否在打包后生成存档,支持 zip 和 tar
    +VITE_BUILD_ARCHIVE =

    其中 VITE_APP_SETTING VITE_APP_TITLE VITE_APP_API_BASEURL VITE_APP_DEBUG_TOOL VITE_APP_DISABLE_DEVTOOL 为必要配置,即不管是在开发、测试,还是生产环境都需要使用到。而其余配置则在不同环境下有不同用途,例如开发环境用于本地开发使用,测试环境和生产环境用于构建使用。

    开发者可根据实际业务需求进行扩展,如果对这块不熟悉,请阅读 Vite - 环境变量和模式 章节。

    注意

    VITE_APP_SETTING 该变量是开启应用配置面板,目的是方便开发者在开发阶段调试,生产环境下默认关闭,也建议关闭。

    如果希望提供用户一些定制化的能力,可以开启偏好设置,详细可阅读《用户偏好设置

    应用配置(框架配置)

    开发者请在 /src/settings.ts 文件中设置自定义配置,而 /src/settings.default.ts 为框架的默认配置,请勿在该文件内修改。

    关于配置的类型定义,可以在 /src/types/globals.d.ts 文件中查阅。

    ts
    // 这是基础版演示源码里的自定义配置示例
    +const globalSettings: Settings.all = {
    +  app: {
    +    enablePermission: true,
    +  },
    +  menu: {
    +    enableSubMenuCollapseButton: true,
    +    enableHotkeys: true,
    +  },
    +  toolbar: {
    +    enableFullscreen: true,
    +    enableColorScheme: true,
    +  },
    +}

    注意

    如果文档中提供的配置介绍,在你本地的开发环境中报错或者无法生效,说明你使用的版本不支持或者配置参数有变动,你可以打开 /src/settings.default.ts 查看当前版本的完整配置作为参考。并且如果你使用的是 Visual Studio Code ,鼠标悬浮到属性上时,会有属性的介绍:

    ',12),t=[e];function h(k,d,c,r,E,o){return i(),a("div",null,t)}const y=s(p,[["render",h]]);export{_ as __pageData,y as default}; diff --git a/assets/guide_configure.md.Bns3GLpw.lean.js b/assets/guide_configure.md.Bns3GLpw.lean.js new file mode 100644 index 00000000..249bc27c --- /dev/null +++ b/assets/guide_configure.md.Bns3GLpw.lean.js @@ -0,0 +1 @@ +import{_ as s,c as a,o as i,a5 as n,a7 as l}from"./chunks/framework.cw3A9gZ3.js";const _=JSON.parse('{"title":"配置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/configure.md","filePath":"guide/configure.md"}'),p={name:"guide/configure.md"},e=n("",12),t=[e];function h(k,d,c,r,E,o){return i(),a("div",null,t)}const y=s(p,[["render",h]]);export{_ as __pageData,y as default}; diff --git a/assets/guide_copyright.md.CaeloelK.js b/assets/guide_copyright.md.CaeloelK.js new file mode 100644 index 00000000..208fb83b --- /dev/null +++ b/assets/guide_copyright.md.CaeloelK.js @@ -0,0 +1,21 @@ +import{_ as s,c as i,o as a,a5 as h,a8 as t}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"版权信息","description":"","frontmatter":{},"headers":[],"relativePath":"guide/copyright.md","filePath":"guide/copyright.md"}'),n={name:"guide/copyright.md"},l=h('

    版权信息

    版权信息位于页面底部显示。

    使用

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  copyright: {
    +    enable: true,
    +  },
    +}

    网站运行日期

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  copyright: {
    +    dates: '2021-2022',
    +  },
    +}

    公司名称

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  copyright: {
    +    company: 'One-step-admin',
    +  },
    +}

    网站地址

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  copyright: {
    +    website: 'https://one-step-admin.github.io',
    +  },
    +}

    如果未设置公司名称,则该设置将被忽略。

    备案号

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  copyright: {
    +    beian: '',
    +  },
    +}
    `,19),p=[l];function e(k,d,g,r,E,c){return a(),i("div",null,p)}const F=s(n,[["render",e]]);export{y as __pageData,F as default}; diff --git a/assets/guide_copyright.md.CaeloelK.lean.js b/assets/guide_copyright.md.CaeloelK.lean.js new file mode 100644 index 00000000..01bf1107 --- /dev/null +++ b/assets/guide_copyright.md.CaeloelK.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as h,a8 as t}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"版权信息","description":"","frontmatter":{},"headers":[],"relativePath":"guide/copyright.md","filePath":"guide/copyright.md"}'),n={name:"guide/copyright.md"},l=h("",19),p=[l];function e(k,d,g,r,E,c){return a(),i("div",null,p)}const F=s(n,[["render",e]]);export{y as __pageData,F as default}; diff --git a/assets/guide_error-log.md.HBsD3XmX.js b/assets/guide_error-log.md.HBsD3XmX.js new file mode 100644 index 00000000..44de9dff --- /dev/null +++ b/assets/guide_error-log.md.HBsD3XmX.js @@ -0,0 +1,5 @@ +import{_ as i,D as t,c as n,j as a,a as s,I as l,a5 as p,o as r}from"./chunks/framework.cw3A9gZ3.js";const F=JSON.parse('{"title":"错误日志","description":"","frontmatter":{},"headers":[],"relativePath":"guide/error-log.md","filePath":"guide/error-log.md"}'),o={name:"guide/error-log.md"},h={id:"错误日志",tabindex:"-1"},d=a("a",{class:"header-anchor",href:"#错误日志","aria-label":'Permalink to "错误日志 "'},"​",-1),c=p(`

    首先需要在应用配置里开启错误日志。

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    enableErrorLog: true,
    +  },
    +}

    然后需要到 /src/utils/error.log.ts 文件里编写业务代码,框架为方便演示,将错误日志记录在 sessionStorage 里。

    开发者需要根据实际业务情况修改代码,例如将增加上报信息,记录用户账号、token等数据,并且将错误日志进行上报。

    由于开启错误日志监控后,Vue 相关的错误都不会在控制台里显示,所以在开发环境下即使开启错误日志也不会被启用,如果需要在开发环境下测试,可在 /src/util/error.log.ts 里修改开启的条件判断。

    `,5);function k(g,E,_,y,u,m){const e=t("Badge");return r(),n("div",null,[a("h1",h,[s("错误日志 "),l(e,{type:"pro",text:"专业版"}),s(),d]),c])}const B=i(o,[["render",k]]);export{F as __pageData,B as default}; diff --git a/assets/guide_error-log.md.HBsD3XmX.lean.js b/assets/guide_error-log.md.HBsD3XmX.lean.js new file mode 100644 index 00000000..bbb4670b --- /dev/null +++ b/assets/guide_error-log.md.HBsD3XmX.lean.js @@ -0,0 +1 @@ +import{_ as i,D as t,c as n,j as a,a as s,I as l,a5 as p,o as r}from"./chunks/framework.cw3A9gZ3.js";const F=JSON.parse('{"title":"错误日志","description":"","frontmatter":{},"headers":[],"relativePath":"guide/error-log.md","filePath":"guide/error-log.md"}'),o={name:"guide/error-log.md"},h={id:"错误日志",tabindex:"-1"},d=a("a",{class:"header-anchor",href:"#错误日志","aria-label":'Permalink to "错误日志 "'},"​",-1),c=p("",5);function k(g,E,_,y,u,m){const e=t("Badge");return r(),n("div",null,[a("h1",h,[s("错误日志 "),l(e,{type:"pro",text:"专业版"}),s(),d]),c])}const B=i(o,[["render",k]]);export{F as __pageData,B as default}; diff --git a/assets/guide_favorites.md.ZqxpcKFu.js b/assets/guide_favorites.md.ZqxpcKFu.js new file mode 100644 index 00000000..dd099f25 --- /dev/null +++ b/assets/guide_favorites.md.ZqxpcKFu.js @@ -0,0 +1,5 @@ +import{_ as i,D as t,c as n,j as a,a as s,I as o,a5 as l,o as p,a9 as h}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"收藏夹","description":"","frontmatter":{},"headers":[],"relativePath":"guide/favorites.md","filePath":"guide/favorites.md"}'),d={name:"guide/favorites.md"},r={id:"收藏夹",tabindex:"-1"},c=a("a",{class:"header-anchor",href:"#收藏夹","aria-label":'Permalink to "收藏夹 "'},"​",-1),k=l('

    需在工具栏开启,开启后用户可将常用的导航菜单添加进收藏夹,方便快速访问。

    处理请求

    收藏夹默认存储在浏览器本地 localStorage 里,如果需要将数据存储到服务器,可以通过 favorites.storageTo 配置项来实现,具体配置如下:

    ts
    const globalSettings: Settings.all = {
    +  favorites: {
    +    storageTo: 'server',
    +  },
    +}

    然后到 /src/api/modules/user.ts 中找到 favorites()favoritesEdit() 这两个函数,并分别修改这两个函数的请求地址。

    建议

    为减轻后端处理,数据会直接以 JSON 字符串进行存储,建议后端可以在用户表增加相关字段,并将字段类型设为 lonetext

    `,7);function g(_,E,m,u,v,f){const e=t("Badge");return p(),n("div",null,[a("h1",r,[s("收藏夹 "),o(e,{type:"pro",text:"专业版"}),s(),c]),k])}const F=i(d,[["render",g]]);export{b as __pageData,F as default}; diff --git a/assets/guide_favorites.md.ZqxpcKFu.lean.js b/assets/guide_favorites.md.ZqxpcKFu.lean.js new file mode 100644 index 00000000..1521459f --- /dev/null +++ b/assets/guide_favorites.md.ZqxpcKFu.lean.js @@ -0,0 +1 @@ +import{_ as i,D as t,c as n,j as a,a as s,I as o,a5 as l,o as p,a9 as h}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"收藏夹","description":"","frontmatter":{},"headers":[],"relativePath":"guide/favorites.md","filePath":"guide/favorites.md"}'),d={name:"guide/favorites.md"},r={id:"收藏夹",tabindex:"-1"},c=a("a",{class:"header-anchor",href:"#收藏夹","aria-label":'Permalink to "收藏夹 "'},"​",-1),k=l("",7);function g(_,E,m,u,v,f){const e=t("Badge");return p(),n("div",null,[a("h1",r,[s("收藏夹 "),o(e,{type:"pro",text:"专业版"}),s(),c]),k])}const F=i(d,[["render",g]]);export{b as __pageData,F as default}; diff --git a/assets/guide_font.md.CmIywjQD.js b/assets/guide_font.md.CmIywjQD.js new file mode 100644 index 00000000..58a27c60 --- /dev/null +++ b/assets/guide_font.md.CmIywjQD.js @@ -0,0 +1,4 @@ +import{_ as t,D as i,c as o,j as e,a,I as n,a5 as l,o as r,aa as d,ab as p}from"./chunks/framework.cw3A9gZ3.js";const x=JSON.parse('{"title":"自定义字体","description":"","frontmatter":{},"headers":[],"relativePath":"guide/font.md","filePath":"guide/font.md"}'),c={name:"guide/font.md"},h={id:"自定义字体",tabindex:"-1"},k=e("a",{class:"header-anchor",href:"#自定义字体","aria-label":'Permalink to "自定义字体 "'},"​",-1),g=l('

    用户访问使用了自定义字体的页面时,会自动下载字体文件,字体文件有大有小,所以不建议在非英文环境中使用。

    框架预设了 Digital 7 的两套字体,除此之外,你也可以通过以下方法引入你需要的自定义字体。

    找字体

    访问 DaFont 或其它字体下载网站,下载 .ttf 格式的字体文件。

    生成字体

    因为 .ttf 格式的字体文件不是浏览器支持的字体格式,所以需要通过 .ttf 生成其它格式的字体文件。

    访问 Font Squirrel,上传 .ttf 文件,并按照下面设置后,点击下载。

    使用

    将上一步下载的压缩包解压并放入 /src/assets/fonts/ 目录下,注意按文件夹区分,随后引入文件夹中的 stylesheet.css 即可使用,以 Digital 7 字体为例:

    scss
    @import '../../assets/fonts/digital-7/stylesheet.css';
    +.digital-7 {
    +  font-family: 'digital-7regular';
    +}

    字体的 font-family 名称在 stylesheet.css 里查看。

    另外你也可以将 @import '../../assets/fonts/digital-7/stylesheet.css'; 这句代码放到全局引入,这样所有页面就都可以通过设置 font-family: 'digital-7regular'; 直接使用了。

    `,14);function _(f,m,E,u,y,b){const s=i("Badge");return r(),o("div",null,[e("h1",h,[a("自定义字体 "),n(s,{type:"pro",text:"专业版"}),a(),k]),g])}const B=t(c,[["render",_]]);export{x as __pageData,B as default}; diff --git a/assets/guide_font.md.CmIywjQD.lean.js b/assets/guide_font.md.CmIywjQD.lean.js new file mode 100644 index 00000000..e40bcebe --- /dev/null +++ b/assets/guide_font.md.CmIywjQD.lean.js @@ -0,0 +1 @@ +import{_ as t,D as i,c as o,j as e,a,I as n,a5 as l,o as r,aa as d,ab as p}from"./chunks/framework.cw3A9gZ3.js";const x=JSON.parse('{"title":"自定义字体","description":"","frontmatter":{},"headers":[],"relativePath":"guide/font.md","filePath":"guide/font.md"}'),c={name:"guide/font.md"},h={id:"自定义字体",tabindex:"-1"},k=e("a",{class:"header-anchor",href:"#自定义字体","aria-label":'Permalink to "自定义字体 "'},"​",-1),g=l("",14);function _(f,m,E,u,y,b){const s=i("Badge");return r(),o("div",null,[e("h1",h,[a("自定义字体 "),n(s,{type:"pro",text:"专业版"}),a(),k]),g])}const B=t(c,[["render",_]]);export{x as __pageData,B as default}; diff --git a/assets/guide_global-resources.md.DXjR_EoV.js b/assets/guide_global-resources.md.DXjR_EoV.js new file mode 100644 index 00000000..5887a500 --- /dev/null +++ b/assets/guide_global-resources.md.DXjR_EoV.js @@ -0,0 +1 @@ +import{_ as e,c as a,o,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const _=JSON.parse('{"title":"全局资源","description":"","frontmatter":{},"headers":[],"relativePath":"guide/global-resources.md","filePath":"guide/global-resources.md"}'),s={name:"guide/global-resources.md"},c=t('

    全局资源

    图片

    框架用到的图片资源都放在 /src/assets/images/ 目录下,可自行新建文件夹分类管理。

    样式

    样式存放目录为 /src/assets/styles/ ,因为 Vue 的文件特性,页面样式建议写在 .vue 文件里,所以该目录只存放全局样式,方便统一管理。

    此目录下还有一个特殊目录,即 /src/assets/styles/resources/ ,这是全局 SCSS 资源目录,首先这个目录里只支持 .scss 文件,其次在这个目录里的文件,无需在页面上引用即可生效并使用。

    同样,精灵图目录下生成的 SCSS 资源也是全局可调用的。

    说明

    全局 SCSS 资源并不是全局样式,是变量、@mixin 、@function 这些东西

    组件

    公共组件

    说明

    公共组件在使用时,无需手动引入,框架会在你使用时自动引入,该特性由 unplugin-vue-components 提供支持。

    公共组件存放在 /src/components/ 目录下,每个组件按文件夹进行区分。

    每个组件的文件夹内至少保留一个文件名为 index.vue 的组件入口(可参考 SvgIcon 组件),文件夹名称即为组件名。

    推荐使用 pnpm new 指令进行组件生成,详细可查看《代码文件自动生成》。

    局部组件

    局部组件没有提供专门的存放目录,我们建议采用就近原则,你可以在每个模块的文件夹下,建立一个 components 文件夹专门用于存放局部组件。

    ',16),r=[c];function l(d,n,i,p,u,h){return o(),a("div",null,r)}const b=e(s,[["render",l]]);export{_ as __pageData,b as default}; diff --git a/assets/guide_global-resources.md.DXjR_EoV.lean.js b/assets/guide_global-resources.md.DXjR_EoV.lean.js new file mode 100644 index 00000000..e39ca3ae --- /dev/null +++ b/assets/guide_global-resources.md.DXjR_EoV.lean.js @@ -0,0 +1 @@ +import{_ as e,c as a,o,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const _=JSON.parse('{"title":"全局资源","description":"","frontmatter":{},"headers":[],"relativePath":"guide/global-resources.md","filePath":"guide/global-resources.md"}'),s={name:"guide/global-resources.md"},c=t("",16),r=[c];function l(d,n,i,p,u,h){return o(),a("div",null,r)}const b=e(s,[["render",l]]);export{_ as __pageData,b as default}; diff --git a/assets/guide_i18n.md.Bcn1Za-k.js b/assets/guide_i18n.md.Bcn1Za-k.js new file mode 100644 index 00000000..894d1151 --- /dev/null +++ b/assets/guide_i18n.md.Bcn1Za-k.js @@ -0,0 +1,58 @@ +import{_ as n,D as l,c as h,j as i,a as s,I as t,a5 as e,o as p,ac as k}from"./chunks/framework.cw3A9gZ3.js";const B=JSON.parse('{"title":"国际化","description":"","frontmatter":{},"headers":[],"relativePath":"guide/i18n.md","filePath":"guide/i18n.md"}'),E={name:"guide/i18n.md"},d={id:"国际化",tabindex:"-1"},r=i("a",{class:"header-anchor",href:"#国际化","aria-label":'Permalink to "国际化 "'},"​",-1),g=e('

    INFO

    该特性由 vue-i18n 提供技术支持。

    vscode 扩展

    如果使用 vscode 进行开发,推荐安装 i18n Ally 这个扩展。

    安装该扩展后,代码里可以实时查看对应语言的内容。

    语言选择器

    在应用配置里设置后,会在顶栏里显示语言选择器。

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    enableI18n: true,
    +  },
    +}

    同时还可在应用配置里设置默认语言,可选设置的值参考 /src/locales/lang/ 目录下文件名,留空则会根据浏览器语言自动判断,如果找不到对应的语言则使用 中文(简体) 兜底。

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    defaultLang: '',
    +  },
    +}

    语言包

    语言包存放在 /src/locales/lang/ 目录下,因为 Element Plus 本身也有自己的语言包,所以在做国际化支持的时候,框架的语言包文件命名需要和 Element Plus 保持一致,可点击这里查看 Element Plus 的语言包文件。

    假设你已经在 /src/locales/lang/ 目录下新增并配置好了一个日文语言包 ja.json ,然后你需要到 /src/locales/index.ts 文件里做以下调整。

    ts
    import elementLocaleZhCN from 'element-plus/lib/locale/lang/zh-cn'
    +import elementLocaleZhTW from 'element-plus/lib/locale/lang/zh-tw'
    +import elementLocaleEn from 'element-plus/lib/locale/lang/en'
    +// 引用 Element Plus 的日文语言包
    +import elementLocaleJa from 'element-plus/lib/locale/lang/ja'
    +
    +function getElementLocales() {
    +  const locales: {
    +    [key: string]: any
    +  } = {}
    +  for (const key in messages) {
    +    locales[key] = {}
    +    switch (key) {
    +      case 'zh-cn':
    +        Object.assign(locales[key], elementLocaleZhCN, { labelName: '中文(简体)' })
    +        break
    +      case 'zh-tw':
    +        Object.assign(locales[key], elementLocaleZhTW, { labelName: '中文(繁體)' })
    +        break
    +      case 'en':
    +        Object.assign(locales[key], elementLocaleEn, { labelName: 'English' })
    +        break
    +      // 在这里增加一个 case 选项,其中 labelName 会在语言选择器里显示
    +      case 'ja':
    +        Object.assign(locales[key], elementLocaleJa, { labelName: '日本語' })
    +        break
    +    }
    +  }
    +  return locales
    +}

    修改完成后,需要重新启动项目才会生效。

    导航设置

    如果需要新增某个导航的国际化支持,光设置好中文(简体)的还不行,其它语言包文件里也要同步添加。当都设置好后,可在该导航里设置 title 参数,例如:

    ts
    title: 'menu.i18n',

    框架设置

    以中文(简体)为例,打开 /src/locales/lang/zh-cn.json 文件可以看到框架相关的配置,在 app 对象里的就是框架部分的语言信息,如果需要对框架进行二次开发,请在这里扩展。

    json
    {
    +  "app": {
    +    "account": "用户名",
    +    "captcha": "验证码",
    +    "check": "确认",
    +    "goLogin": "去登录",
    +    "login": "登录",
    +    "logout": "退出登录",
    +    "newPassword": "新密码",
    +    "password": "密码",
    +    "profile": "个人设置",
    +    "sendCaptcha": "发送验证码"
    +  }
    +}

    单页组件

    如果每个页面都要做国际化支持,那语言包文件就会变得无比庞大且难以维护,推荐在每个页面组件里使用 <i18n> 自定义块进行语言维护,可访问 /src/views/feature_example/i18n.vue 查看示例。

    与服务端交互

    所有的请求均会在请求头里带上 Accept-Language ,后端可根据这一状态信息做动态数据国际化处理。

    关闭国际化

    如果不想开启国际化,可参考以下设置,该设置表示关闭语言选择器,并以中文(简体)显示。

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    defaultLang: 'zh-cn',
    +  },
    +  toolbar: {
    +    enableI18n: false,
    +  },
    +}
    `,28);function o(c,y,F,u,C,b){const a=l("Badge");return p(),h("div",null,[i("h1",d,[s("国际化 "),t(a,{type:"pro",text:"专业版"}),s(),r]),g])}const q=n(E,[["render",o]]);export{B as __pageData,q as default}; diff --git a/assets/guide_i18n.md.Bcn1Za-k.lean.js b/assets/guide_i18n.md.Bcn1Za-k.lean.js new file mode 100644 index 00000000..f85ce524 --- /dev/null +++ b/assets/guide_i18n.md.Bcn1Za-k.lean.js @@ -0,0 +1 @@ +import{_ as n,D as l,c as h,j as i,a as s,I as t,a5 as e,o as p,ac as k}from"./chunks/framework.cw3A9gZ3.js";const B=JSON.parse('{"title":"国际化","description":"","frontmatter":{},"headers":[],"relativePath":"guide/i18n.md","filePath":"guide/i18n.md"}'),E={name:"guide/i18n.md"},d={id:"国际化",tabindex:"-1"},r=i("a",{class:"header-anchor",href:"#国际化","aria-label":'Permalink to "国际化 "'},"​",-1),g=e("",28);function o(c,y,F,u,C,b){const a=l("Badge");return p(),h("div",null,[i("h1",d,[s("国际化 "),t(a,{type:"pro",text:"专业版"}),s(),r]),g])}const q=n(E,[["render",o]]);export{B as __pageData,q as default}; diff --git a/assets/guide_intro.md.Ba_V-EtT.js b/assets/guide_intro.md.Ba_V-EtT.js new file mode 100644 index 00000000..df092c5b --- /dev/null +++ b/assets/guide_intro.md.Ba_V-EtT.js @@ -0,0 +1 @@ +import{_ as s,D as r,c as o,j as t,a as e,I as i,a5 as n,o as c}from"./chunks/framework.cw3A9gZ3.js";const T=JSON.parse('{"title":"文档说明","description":"","frontmatter":{},"headers":[],"relativePath":"guide/intro.md","filePath":"guide/intro.md"}'),d={name:"guide/intro.md"},p=n('

    文档说明

    ⭐⭐⭐⭐⭐

    相信你已经准备或正在使用 One-step-admin 进行开发工作了,在此之前,希望你可以去 Github 或者 Gitee(码云) 帮我点个 ⭐ ,这将是对我极大的鼓励。

    star

    star

    ',2),l=t("p",null,[e("如果你准备好了,那我们就"),t("a",{href:"/guide/ready.html"},"开始"),e("吧~")],-1);function _(m,h,g,u,b,f){const a=r("Badge");return c(),o("div",null,[p,t("p",null,[e("文档中标记 "),i(a,{type:"pro",text:"专业版"}),e(" 的地方,表示该功能仅提供于专业版使用,使用基础版的开发者可直接跳过阅读。")]),l])}const v=s(d,[["render",_]]);export{T as __pageData,v as default}; diff --git a/assets/guide_intro.md.Ba_V-EtT.lean.js b/assets/guide_intro.md.Ba_V-EtT.lean.js new file mode 100644 index 00000000..8351a584 --- /dev/null +++ b/assets/guide_intro.md.Ba_V-EtT.lean.js @@ -0,0 +1 @@ +import{_ as s,D as r,c as o,j as t,a as e,I as i,a5 as n,o as c}from"./chunks/framework.cw3A9gZ3.js";const T=JSON.parse('{"title":"文档说明","description":"","frontmatter":{},"headers":[],"relativePath":"guide/intro.md","filePath":"guide/intro.md"}'),d={name:"guide/intro.md"},p=n("",2),l=t("p",null,[e("如果你准备好了,那我们就"),t("a",{href:"/guide/ready.html"},"开始"),e("吧~")],-1);function _(m,h,g,u,b,f){const a=r("Badge");return c(),o("div",null,[p,t("p",null,[e("文档中标记 "),i(a,{type:"pro",text:"专业版"}),e(" 的地方,表示该功能仅提供于专业版使用,使用基础版的开发者可直接跳过阅读。")]),l])}const v=s(d,[["render",_]]);export{T as __pageData,v as default}; diff --git a/assets/guide_layout.md.DcGlITW2.js b/assets/guide_layout.md.DcGlITW2.js new file mode 100644 index 00000000..b66e9eb9 --- /dev/null +++ b/assets/guide_layout.md.DcGlITW2.js @@ -0,0 +1,29 @@ +import{_ as h,D as e,c as l,j as s,a as i,I as t,a5 as n,o as p,ad as k,ae as d,af as g,ag as r,ah as o,ai as E,aj as c}from"./chunks/framework.cw3A9gZ3.js";const H=JSON.parse('{"title":"布局","description":"","frontmatter":{},"headers":[],"relativePath":"guide/layout.md","filePath":"guide/layout.md"}'),y={name:"guide/layout.md"},_=s("h1",{id:"布局",tabindex:"-1"},[i("布局 "),s("a",{class:"header-anchor",href:"#布局","aria-label":'Permalink to "布局"'},"​")],-1),F=s("p",null,[i("通过 7 种导航栏模式和 4 种页宽模式的组合搭配,可实现 28 种布局结构,再搭配默认提供的 6 款主题,"),s("strong",null,"即可实现上百种界面风格"),i("。")],-1),u=s("h2",{id:"导航栏模式",tabindex:"-1"},[i("导航栏模式 "),s("a",{class:"header-anchor",href:"#导航栏模式","aria-label":'Permalink to "导航栏模式"'},"​")],-1),m=s("p",null,"在应用配置里进行设置,可实现 7 种导航栏模式:",-1),b=s("li",null,"顶部模式",-1),C=s("li",null,"侧边栏模式(含主导航)",-1),v=s("li",null,"侧边栏模式(无主导航)",-1),A=n('

    顶部模式

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'head', // v4.5.0 之前版本为 menuMode
    +  },
    +}

    侧边栏模式(含主导航)

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'side', // v4.5.0 之前版本为 menuMode
    +  },
    +}

    侧边栏模式(无主导航)

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'single', // v4.5.0 之前版本为 menuMode
    +  },
    +}
    `,9),x={id:"侧边栏精简模式",tabindex:"-1"},B=s("a",{class:"header-anchor",href:"#侧边栏精简模式","aria-label":'Permalink to "侧边栏精简模式 "'},"​",-1),D=n('

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'only-side', // v4.5.0 之前版本为 menuMode
    +  },
    +}
    `,2),S={id:"顶部精简模式",tabindex:"-1"},T=s("a",{class:"header-anchor",href:"#顶部精简模式","aria-label":'Permalink to "顶部精简模式 "'},"​",-1),P=n('

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'only-head', // v4.5.0 之前版本为 menuMode
    +  },
    +}
    `,2),f={id:"侧边栏面板模式",tabindex:"-1"},V=s("a",{class:"header-anchor",href:"#侧边栏面板模式","aria-label":'Permalink to "侧边栏面板模式 "'},"​",-1),I=n('

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'side-panel',
    +  },
    +}
    `,2),N={id:"顶部面板模式",tabindex:"-1"},q=s("a",{class:"header-anchor",href:"#顶部面板模式","aria-label":'Permalink to "顶部面板模式 "'},"​",-1),z=n('

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'head-panel',
    +  },
    +}

    变量

    布局相关的变量存放在 /src/assets/styles/globals.scss 文件中(注意看注释),均为 CSS 变量。

    `,4);function M(R,$,j,J,O,w){const a=e("Badge");return p(),l("div",null,[_,F,u,m,s("ul",null,[b,C,v,s("li",null,[i("侧边栏精简模式 "),t(a,{type:"pro",text:"专业版"})]),s("li",null,[i("顶部精简模式 "),t(a,{type:"pro",text:"专业版"})]),s("li",null,[i("侧边栏面板模式 "),t(a,{type:"pro",text:"专业版"}),i(),t(a,{type:"tip",text:"v4.5.0 新增"})]),s("li",null,[i("顶部面板模式 "),t(a,{type:"pro",text:"专业版"}),i(),t(a,{type:"tip",text:"v4.5.0 新增"})])]),A,s("h3",x,[i("侧边栏精简模式 "),t(a,{type:"pro",text:"专业版"}),i(),B]),D,s("h3",S,[i("顶部精简模式 "),t(a,{type:"pro",text:"专业版"}),i(),T]),P,s("h3",f,[i("侧边栏面板模式 "),t(a,{type:"pro",text:"专业版"}),i(),t(a,{type:"tip",text:"v4.5.0 新增"}),i(),V]),I,s("h3",N,[i("顶部面板模式 "),t(a,{type:"pro",text:"专业版"}),i(),t(a,{type:"tip",text:"v4.5.0 新增"}),i(),q]),z])}const K=h(y,[["render",M]]);export{H as __pageData,K as default}; diff --git a/assets/guide_layout.md.DcGlITW2.lean.js b/assets/guide_layout.md.DcGlITW2.lean.js new file mode 100644 index 00000000..138bf18d --- /dev/null +++ b/assets/guide_layout.md.DcGlITW2.lean.js @@ -0,0 +1 @@ +import{_ as h,D as e,c as l,j as s,a as i,I as t,a5 as n,o as p,ad as k,ae as d,af as g,ag as r,ah as o,ai as E,aj as c}from"./chunks/framework.cw3A9gZ3.js";const H=JSON.parse('{"title":"布局","description":"","frontmatter":{},"headers":[],"relativePath":"guide/layout.md","filePath":"guide/layout.md"}'),y={name:"guide/layout.md"},_=s("h1",{id:"布局",tabindex:"-1"},[i("布局 "),s("a",{class:"header-anchor",href:"#布局","aria-label":'Permalink to "布局"'},"​")],-1),F=s("p",null,[i("通过 7 种导航栏模式和 4 种页宽模式的组合搭配,可实现 28 种布局结构,再搭配默认提供的 6 款主题,"),s("strong",null,"即可实现上百种界面风格"),i("。")],-1),u=s("h2",{id:"导航栏模式",tabindex:"-1"},[i("导航栏模式 "),s("a",{class:"header-anchor",href:"#导航栏模式","aria-label":'Permalink to "导航栏模式"'},"​")],-1),m=s("p",null,"在应用配置里进行设置,可实现 7 种导航栏模式:",-1),b=s("li",null,"顶部模式",-1),C=s("li",null,"侧边栏模式(含主导航)",-1),v=s("li",null,"侧边栏模式(无主导航)",-1),A=n("",9),x={id:"侧边栏精简模式",tabindex:"-1"},B=s("a",{class:"header-anchor",href:"#侧边栏精简模式","aria-label":'Permalink to "侧边栏精简模式 "'},"​",-1),D=n("",2),S={id:"顶部精简模式",tabindex:"-1"},T=s("a",{class:"header-anchor",href:"#顶部精简模式","aria-label":'Permalink to "顶部精简模式 "'},"​",-1),P=n("",2),f={id:"侧边栏面板模式",tabindex:"-1"},V=s("a",{class:"header-anchor",href:"#侧边栏面板模式","aria-label":'Permalink to "侧边栏面板模式 "'},"​",-1),I=n("",2),N={id:"顶部面板模式",tabindex:"-1"},q=s("a",{class:"header-anchor",href:"#顶部面板模式","aria-label":'Permalink to "顶部面板模式 "'},"​",-1),z=n("",4);function M(R,$,j,J,O,w){const a=e("Badge");return p(),l("div",null,[_,F,u,m,s("ul",null,[b,C,v,s("li",null,[i("侧边栏精简模式 "),t(a,{type:"pro",text:"专业版"})]),s("li",null,[i("顶部精简模式 "),t(a,{type:"pro",text:"专业版"})]),s("li",null,[i("侧边栏面板模式 "),t(a,{type:"pro",text:"专业版"}),i(),t(a,{type:"tip",text:"v4.5.0 新增"})]),s("li",null,[i("顶部面板模式 "),t(a,{type:"pro",text:"专业版"}),i(),t(a,{type:"tip",text:"v4.5.0 新增"})])]),A,s("h3",x,[i("侧边栏精简模式 "),t(a,{type:"pro",text:"专业版"}),i(),B]),D,s("h3",S,[i("顶部精简模式 "),t(a,{type:"pro",text:"专业版"}),i(),T]),P,s("h3",f,[i("侧边栏面板模式 "),t(a,{type:"pro",text:"专业版"}),i(),t(a,{type:"tip",text:"v4.5.0 新增"}),i(),V]),I,s("h3",N,[i("顶部面板模式 "),t(a,{type:"pro",text:"专业版"}),i(),t(a,{type:"tip",text:"v4.5.0 新增"}),i(),q]),z])}const K=h(y,[["render",M]]);export{H as __pageData,K as default}; diff --git a/assets/guide_login.md.CAzvueuF.js b/assets/guide_login.md.CAzvueuF.js new file mode 100644 index 00000000..29859997 --- /dev/null +++ b/assets/guide_login.md.CAzvueuF.js @@ -0,0 +1 @@ +import{_ as e,c as o,o as i,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const h=JSON.parse('{"title":"登录","description":"","frontmatter":{},"headers":[],"relativePath":"guide/login.md","filePath":"guide/login.md"}'),l={name:"guide/login.md"},a=t('

    登录

    开发者通常在简单熟悉本框架后,涉及到的第一步业务开发就是修改登录功能,将其替换为自己的登录接口。

    但在实践过程中,经常会遇到一些问题,比如:

    • 替换真实接口后,无法正常登录
    • 登录接口请求成功,但是无法跳转到后台主页
    • ...

    针对这些问题你需要依次检查以下几点:

    1. .env.development 里检查接口请求地址是否正确。
    2. /src/api/index.ts 里修改响应拦截器里的代码,按照实际情况进行调整。例如什么状态下是请求成功,什么状态下是请求异常,并进行错误提示。
    3. /src/api/modules/user.ts 里修改 login 函数,确保接口可以请求成功。
    4. /src/store/modules/user.ts 里修改 isLogin 计算属性,这部分需要根据实际存储的用户信息去判断是否登录。
    ',6),c=[a];function d(s,n,r,_,p,u){return i(),o("div",null,c)}const g=e(l,[["render",d]]);export{h as __pageData,g as default}; diff --git a/assets/guide_login.md.CAzvueuF.lean.js b/assets/guide_login.md.CAzvueuF.lean.js new file mode 100644 index 00000000..8b975ef8 --- /dev/null +++ b/assets/guide_login.md.CAzvueuF.lean.js @@ -0,0 +1 @@ +import{_ as e,c as o,o as i,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const h=JSON.parse('{"title":"登录","description":"","frontmatter":{},"headers":[],"relativePath":"guide/login.md","filePath":"guide/login.md"}'),l={name:"guide/login.md"},a=t("",6),c=[a];function d(s,n,r,_,p,u){return i(),o("div",null,c)}const g=e(l,[["render",d]]);export{h as __pageData,g as default}; diff --git a/assets/guide_menu.md.DchrfzGQ.js b/assets/guide_menu.md.DchrfzGQ.js new file mode 100644 index 00000000..0dece9c8 --- /dev/null +++ b/assets/guide_menu.md.DchrfzGQ.js @@ -0,0 +1,33 @@ +import{_ as n,D as l,c as h,I as e,a as t,j as s,a5 as i,o as d}from"./chunks/framework.cw3A9gZ3.js";const N=JSON.parse('{"title":"导航","description":"","frontmatter":{},"headers":[],"relativePath":"guide/menu.md","filePath":"guide/menu.md"}'),p={name:"guide/menu.md"},r=i(`

    导航

    项目导航配置存放在 /src/menu/modules/ 目录下,每一个 ts 文件会被视为一个导航模块。

    所有配置的导航模块均需要在 /src/menu/index.ts 文件里进行引入并放到主导航下。

    基本配置

    一级导航

    一个导航模块包含以下结构:

    ts
    const menus: Menu.recordRaw = {
    +  title: '演示',
    +  windowName: 'Example',
    +}
    +
    +export default menus

    注意事项

    整个项目所有导航的 windowName 不能重复

    多级导航

    ts
    const menus: Menu.recordRaw = {
    +  title: '演示',
    +  children: [
    +    {
    +      title: '演示页面',
    +      windowName: 'Example',
    +    },
    +  ],
    +}
    +
    +export default menus

    外链

    只需要将 windowName 设置为需要跳转的 HTTP 地址即可。

    ts
    const menus: Menu.recordRaw = {
    +  title: '官网',
    +  windowName: 'https://one-step-admin.github.io',
    +}
    +
    +export default menus

    主导航

    主导航会将我们配置好的导航模块进行归类,在 /src/menu/index.ts 里进行设置。

    ts
    const menu = [
    +  {
    +    title: '演示',
    +    icon: 'sidebar-default',
    +    children: [
    +      WindowExample,
    +    ],
    +  },
    +]

    主导航只需设置 titleiconchildren 三个参数,其中 children 则是存放我们配置的导航模块数据。

    导航配置

    title

    类型是否必须默认值说明
    string✔️/导航展示的标题
    `,20),k=s("a",{href:"./i18n.html"},"国际化",-1),o=i('

    windowName

    类型是否必须默认值说明
    string✔️/窗口组件名,确保唯一
    ',2),c={id:"windowwidth",tabindex:"-1"},g=s("a",{class:"header-anchor",href:"#windowwidth","aria-label":'Permalink to "windowWidth "'},"​",-1),E=i('
    类型是否必须默认值说明
    string / number✖️/窗口宽度,设置为数字时单位为 px
    ',1),y={id:"i18n",tabindex:"-1"},x=s("s",null,"i18n",-1),b=s("a",{class:"header-anchor",href:"#i18n","aria-label":'Permalink to "~~i18n~~ "'},"​",-1),_=i('
    类型是否必须默认值说明
    string✖️/标题国际化对应的 key 值

    详细可阅读《国际化》。

    ',2),u={id:"notitle",tabindex:"-1"},m=s("a",{class:"header-anchor",href:"#notitle","aria-label":'Permalink to "noTitle "'},"​",-1),F=i('
    类型是否必须默认值说明
    boolean✖️false是否显示窗口标题栏

    icon

    类型是否必须默认值说明
    string✖️/导航中显示的图标

    该项配置最终会通过 <svg-icon /> 组件进行展示,意味着你可以使用自定义图标,也可使用 Iconify 提供的图标,详细可阅读《SVG 图标》。

    auth

    类型是否必须默认值说明
    string / array✖️/该路由访问权限,支持多个权限叠加,只要满足一个,即可进入

    用户在登录时,会获取用户权限,根据权限去过滤并动态注册路由。所以没有权限的路由不会被注册,也不会在侧边栏导航里显示,详细可阅读《权限 - 路由权限》。

    ',7),f={id:"badge",tabindex:"-1"},C=s("a",{class:"header-anchor",href:"#badge","aria-label":'Permalink to "badge "'},"​",-1),v=i(`
    类型是否必须默认值说明
    boolean / number / string✖️/导航标记

    设置不同的类型值,展示效果也会不同。

    • boolean 展示形式为点,当值为 false 时隐藏
    • number 展示形式为文本,当值小于等于 0 时隐藏
    • string 展示形式为文本,当值为空时隐藏

    如果标记需要动态更新,请设置为箭头函数形式,并返回外部变量,例如搭配 pinia 一起使用。

    ts
    badge: () => globalStore.number

    params

    类型是否必须默认值说明
    object✖️/窗口外部传入参数

    该属性通常不在导航里直接配置,而是通过调用全局 useWindow() 提供的 API ,在打开非导航窗口时动态传入窗口所需要的参数。

    后端生成

    在应用配置里开启:

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    baseOn: 'backend'
    +  }
    +}

    开启后在 /src/api/modules/app.ts 文件里找到 menuList() 这个函数,并修改这个函数的请求地址,请求返回的数据就是导航数据,你可以在 /src/mock/app.ts 里查看 mock 数据。

    开启后端生成后,导航权限有两种做法,第一种是返回全部的导航数据,让框架自行处理(推荐),第二种是后端直接返回用户具备访问权限的导航数据。

    `,13);function T(A,w,B,P,D,q){const a=l("Badge");return d(),h("div",null,[r,e(a,{type:"tip",text:"v4.4.0"}),t(" 开始,"),e(a,{type:"pro",text:"专业版"}),t(" 支持设置 i18n 对应的 key 值,详细可阅读《"),k,t("》。"),o,s("h3",c,[t("windowWidth "),e(a,{type:"pro",text:"专业版"}),t(),e(a,{type:"tip",text:"v4.6.0 新增"}),t(),g]),E,s("h3",y,[x,t(),e(a,{type:"pro",text:"专业版"}),t(),e(a,{type:"warning",text:"v4.4.0 移除"}),t(),b]),_,s("h3",u,[t("noTitle "),e(a,{type:"pro",text:"专业版"}),t(),m]),F,s("h3",f,[t("badge "),e(a,{type:"pro",text:"专业版"}),t(),C]),v])}const V=n(p,[["render",T]]);export{N as __pageData,V as default}; diff --git a/assets/guide_menu.md.DchrfzGQ.lean.js b/assets/guide_menu.md.DchrfzGQ.lean.js new file mode 100644 index 00000000..deeb9210 --- /dev/null +++ b/assets/guide_menu.md.DchrfzGQ.lean.js @@ -0,0 +1 @@ +import{_ as n,D as l,c as h,I as e,a as t,j as s,a5 as i,o as d}from"./chunks/framework.cw3A9gZ3.js";const N=JSON.parse('{"title":"导航","description":"","frontmatter":{},"headers":[],"relativePath":"guide/menu.md","filePath":"guide/menu.md"}'),p={name:"guide/menu.md"},r=i("",20),k=s("a",{href:"./i18n.html"},"国际化",-1),o=i("",2),c={id:"windowwidth",tabindex:"-1"},g=s("a",{class:"header-anchor",href:"#windowwidth","aria-label":'Permalink to "windowWidth "'},"​",-1),E=i("",1),y={id:"i18n",tabindex:"-1"},x=s("s",null,"i18n",-1),b=s("a",{class:"header-anchor",href:"#i18n","aria-label":'Permalink to "~~i18n~~ "'},"​",-1),_=i("",2),u={id:"notitle",tabindex:"-1"},m=s("a",{class:"header-anchor",href:"#notitle","aria-label":'Permalink to "noTitle "'},"​",-1),F=i("",7),f={id:"badge",tabindex:"-1"},C=s("a",{class:"header-anchor",href:"#badge","aria-label":'Permalink to "badge "'},"​",-1),v=i("",13);function T(A,w,B,P,D,q){const a=l("Badge");return d(),h("div",null,[r,e(a,{type:"tip",text:"v4.4.0"}),t(" 开始,"),e(a,{type:"pro",text:"专业版"}),t(" 支持设置 i18n 对应的 key 值,详细可阅读《"),k,t("》。"),o,s("h3",c,[t("windowWidth "),e(a,{type:"pro",text:"专业版"}),t(),e(a,{type:"tip",text:"v4.6.0 新增"}),t(),g]),E,s("h3",y,[x,t(),e(a,{type:"pro",text:"专业版"}),t(),e(a,{type:"warning",text:"v4.4.0 移除"}),t(),b]),_,s("h3",u,[t("noTitle "),e(a,{type:"pro",text:"专业版"}),t(),m]),F,s("h3",f,[t("badge "),e(a,{type:"pro",text:"专业版"}),t(),C]),v])}const V=n(p,[["render",T]]);export{N as __pageData,V as default}; diff --git a/assets/guide_permission.md.DaQR2Z9Q.js b/assets/guide_permission.md.DaQR2Z9Q.js new file mode 100644 index 00000000..866743cd --- /dev/null +++ b/assets/guide_permission.md.DaQR2Z9Q.js @@ -0,0 +1,44 @@ +import{_ as s,c as i,o as a,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"权限","description":"","frontmatter":{},"headers":[],"relativePath":"guide/permission.md","filePath":"guide/permission.md"}'),n={name:"guide/permission.md"},h=t(`

    权限

    首先需要在应用配置里开启权限功能。

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    enablePermission: true,
    +  },
    +}

    然后在 /src/api/modules/user.ts 文件里找到 getPermissions 的方法,该方法用于登录成功后获取用户权限。在实际开发中,需要手动进行修改,框架默认通过 mock 模拟获取用户权限。

    在演示源码中,默认提供了两组权限,你可以在“权限验证”导航里切换帐号查看不同权限下的效果。如果使用的不是 admintest 用户名登录,则在导航栏里看不到“权限验证”导航入口。

    鉴权组件

    页面中某个模块,当前用户具备该权限是如何显示,不具备该权限又是如何显示,针对这样的需求,框架提供了 <Auth><AuthAll> 组件,具体使用如下:

    template
    <!-- 单权限验证 -->
    +<Auth :value="'department.create'">
    +  <p>你有该权限</p>
    +  <template #no-auth>
    +    <p>你没有该权限</p>
    +  </template>
    +</Auth>
    +
    +<!-- 多权限验证,用户只要具备其中任何一个权限,则验证通过 -->
    +<Auth :value="['department.create', 'department.edit']">
    +  <p>你有该权限</p>
    +  <template #no-auth>
    +    <p>你没有该权限</p>
    +  </template>
    +</Auth>
    +
    +<!-- 多权限验证,用户必须具备全部权限,才验证通过 -->
    +<AuthAll :value="['department.create', 'department.edit']">
    +  <p>你有该权限</p>
    +  <template #no-auth>
    +    <p>你没有该权限</p>
    +  </template>
    +</AuthAll>

    鉴权指令

    对于单个元素,也提供了 v-authv-auth-all 鉴权指令,使用上对比鉴权组件更方便,当然它能做的事情也更简单。

    template
    <!-- 单权限验证 -->
    +<button v-auth="'department.create'">新增部门</button>
    +
    +<!-- 多权限验证,用户只要具备其中任何一个权限,则验证通过 -->
    +<button v-auth="['department.create', 'department.edit']">新增部门</button>
    +
    +<!-- 多权限验证,用户必须具备全部权限,才验证通过 -->
    +<button v-auth-all="['department.create', 'department.edit']">新增部门</button>

    鉴权函数

    鉴权组件和鉴权指令控制的是页面上的元素,而鉴权函数则更多是使用在业务流程代码里的权限判断。

    ts
    import useAuth from '@/utils/composables/useAuth'
    +const { auth, authAll } = useAuth()
    +
    +// 单权限验证,返回 true 或 false
    +auth('department.create')
    +
    +// 多权限验证,用户只要具备其中任何一个权限,则验证通过,返回 true 或 false
    +auth(['department.create', 'department.edit'])
    +
    +// 多权限验证,用户必须具备全部权限,才验证通过,返回 true 或 false
    +authAll(['department.create', 'department.edit'])
    `,14),l=[h];function k(p,e,E,d,r,g){return a(),i("div",null,l)}const F=s(n,[["render",k]]);export{c as __pageData,F as default}; diff --git a/assets/guide_permission.md.DaQR2Z9Q.lean.js b/assets/guide_permission.md.DaQR2Z9Q.lean.js new file mode 100644 index 00000000..da657f68 --- /dev/null +++ b/assets/guide_permission.md.DaQR2Z9Q.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"权限","description":"","frontmatter":{},"headers":[],"relativePath":"guide/permission.md","filePath":"guide/permission.md"}'),n={name:"guide/permission.md"},h=t("",14),l=[h];function k(p,e,E,d,r,g){return a(),i("div",null,l)}const F=s(n,[["render",k]]);export{c as __pageData,F as default}; diff --git a/assets/guide_plop-module.md.B-6cnJIq.js b/assets/guide_plop-module.md.B-6cnJIq.js new file mode 100644 index 00000000..f00af36f --- /dev/null +++ b/assets/guide_plop-module.md.B-6cnJIq.js @@ -0,0 +1,56 @@ +import{_ as n,D as p,c as l,j as i,a as s,I as e,a5 as t,o as h,ak as k,al as d}from"./chunks/framework.cw3A9gZ3.js";const v=JSON.parse('{"title":"标准模块","description":"","frontmatter":{},"headers":[],"relativePath":"guide/plop-module.md","filePath":"guide/plop-module.md"}'),E={name:"guide/plop-module.md"},r={id:"标准模块",tabindex:"-1"},o=i("a",{class:"header-anchor",href:"#标准模块","aria-label":'Permalink to "标准模块 "'},"​",-1),c=t(`

    在《代码文件自动生成 - module》里介绍了如何快速生成一个标准模块,这个标准模块是一个最基础的 CURD 模块,它包含列表页和编辑页,同时提供了搜索和删除的功能,并且同时也可以生成对应的 mock 文件,在这基础上可以更方便的进行业务扩展。

    下面我就实际操作一遍,并介绍一下这个标准模块有哪些特性。

    用法说明

    ? 请选择需要创建的模式: module - 创建标准窗口
    +? 请输入窗口组件名称 test window
    +? 请输入模块中文名称 默认模块
    +? 是否生成 Mock Yes
    +√  ++ \\src\\views\\windows\\TestWindow\\index.vue
    +√  ++ \\src\\views\\windows\\TestWindow\\components\\DetailForm\\index.vue
    +√  ++ \\src\\views\\windows\\TestWindow\\components\\FormMode\\index.vue
    +√  ++ \\src\\mock\\test-window.js

    这里我已经通过命令在 /src/views/windows/ 目录下创建好了一个 TestWindow 文件夹,并且也生成了 mock 数据。接下来需要去配置下导航,这样我们才可以在导航栏里访问到。

    首先在 /src/menu/modules/ 目录下新建一个 test.window.ts 文件,并在里面复制以下代码:

    ts
    cosnt menus: Menu.recordRaw = {
    +    title: '测试模块',
    +    windowName: 'TestWindow'
    +}
    +
    +export default menus

    然后到 /src/router/routes.ts 文件里加上这个路由配置文件的引用。

    ts
    import TestWindow from './modules/test.window'
    +
    +const menu = [
    +  ...,
    +  {
    +    title: '页面',
    +    icon: 'ri-pages-line',
    +    children: [
    +      ...PagesExample,
    +      TestWindow,
    +    ],
    +  },
    +  ...
    +]

    这时候就可以通过导航栏访问到我们的窗口了,我们的一个演示模块也就初步创建好了。

    特性介绍

    功能部分的介绍主要还是要看代码,先从列表页 index.vue 开始。

    最先看到的是这句文件导入代码,因为几乎每个列表页都需要翻页功能,所以把翻页相关的东西都存放在 /src/utils/composables/pagination/index.ts 方便复用。

    ts
    import usePagination from '@/utils/composables/usePagination'
    +
    +const { pagination, getParams, onSizeChange, onCurrentChange, onSortChange } = usePagination()

    接着在 data 里存放的是标准模块提供的一些配置项和必要数据参数字段。

    ts
    const data = ref({
    +  loading: false,
    +  /**
    +   * 详情展示模式
    +   * dialog 对话框
    +   * drawer 抽屉
    +   */
    +  formMode: 'dialog',
    +  // 详情
    +  formModeProps: {
    +    visible: false,
    +    id: '',
    +  },
    +  // 搜索
    +  search: {
    +    account: '',
    +    name: '',
    +    mobile: '',
    +    sex: '',
    +  },
    +  searchMore: false,
    +  // 批量操作
    +  batch: {
    +    enable: true,
    +    selectionDataList: [],
    +  },
    +  // 列表数据
    +  dataList: [],
    +})

    标准模块提供了 2 种详情展示模式,默认是弹窗的方式,你可以修改 formMode: 'drawer' 开启抽屉模式,保存后效果如下:

    再往下就是需要你修改或编写业务代码的部分,这里就不继续展开了。

    详情页的代码就不多介绍了,相对比较简单,可自行阅读理解。其中表单部分单独封装成组件存放在 /src/views/windows/[模块文件夹]/components/DetailForm/index.vue 里了,同样你在 components/ 文件夹下还能看到另外一个 FormMode 的文件夹,这样的用意是让表单可以复用,可以通过弹窗或抽屉的形式打开详情页

    可能有人会有疑问,为什么不在生成文件的时候直接让我选择用哪种形式,这样生成出来就是哪种,而是在生成好的代码文件里再进行配置?

    这样设计的目的主要有三点:

    1. 合理使用。关于表单具体使用哪种展示模式比较好,我们的建议是,当表单与当前列表页关联性较强,内容少则使用弹窗,内容多则使用抽屉;而当表单与当前列表页关联性较弱,且内容多,可以使用新建窗口的形式,让新窗口进行承载。
    2. 方便后期维护。考虑到需求会变,可能一开始是一个很简单的表单,后期需求一点点增加,变成了一个庞大的表单,这时候就要从弹窗改成抽屉的形式,反之也可能是从抽屉改成弹窗的形式,处理起来都很麻烦。所以方便后期维护,这部分是有意而为之,做成了 2 种形式共存,通过配置可一键切换。
    3. 跨窗口的组件调用。第一点里有提到,如果既不想使用弹窗,也不想使用抽屉,你还可以使用新窗口的形式进行处理,这时候由于表单部分已抽象成组件,所以即便是在新窗口里,也可以直接调用该组件,从而无需编写重复代码。

    当然标准模块也只是框架提供的一个标准,你可以沿用,也可以根据自己的需求指定一套标准,毕竟最终目的都是提高开发效率,同时也确保多人协作开发的时候有个统一标准,不会出现每个人做出来的模块风格都不一样。

    ',26);function g(y,F,m,u,C,D){const a=p("Badge");return h(),l("div",null,[i("h1",r,[s("标准模块 "),e(a,{type:"pro",text:"专业版"}),s(),o]),c])}const A=n(E,[["render",g]]);export{v as __pageData,A as default}; diff --git a/assets/guide_plop-module.md.B-6cnJIq.lean.js b/assets/guide_plop-module.md.B-6cnJIq.lean.js new file mode 100644 index 00000000..a8788c63 --- /dev/null +++ b/assets/guide_plop-module.md.B-6cnJIq.lean.js @@ -0,0 +1 @@ +import{_ as n,D as p,c as l,j as i,a as s,I as e,a5 as t,o as h,ak as k,al as d}from"./chunks/framework.cw3A9gZ3.js";const v=JSON.parse('{"title":"标准模块","description":"","frontmatter":{},"headers":[],"relativePath":"guide/plop-module.md","filePath":"guide/plop-module.md"}'),E={name:"guide/plop-module.md"},r={id:"标准模块",tabindex:"-1"},o=i("a",{class:"header-anchor",href:"#标准模块","aria-label":'Permalink to "标准模块 "'},"​",-1),c=t("",26);function g(y,F,m,u,C,D){const a=p("Badge");return h(),l("div",null,[i("h1",r,[s("标准模块 "),e(a,{type:"pro",text:"专业版"}),s(),o]),c])}const A=n(E,[["render",g]]);export{v as __pageData,A as default}; diff --git a/assets/guide_plop.md.D0EUaBMV.js b/assets/guide_plop.md.D0EUaBMV.js new file mode 100644 index 00000000..b1768270 --- /dev/null +++ b/assets/guide_plop.md.D0EUaBMV.js @@ -0,0 +1 @@ +import{_ as c,D as s,c as p,j as e,a as o,I as t,a5 as l,am as d,o as n,an as r,ao as i,ap as _,aq as m}from"./chunks/framework.cw3A9gZ3.js";const $=JSON.parse('{"title":"代码文件自动生成","description":"","frontmatter":{},"headers":[],"relativePath":"guide/plop.md","filePath":"guide/plop.md"}'),h={name:"guide/plop.md"},u=l('

    代码文件自动生成

    INFO

    该功能基于 plop 实现,在扩展新的模式前,请先详细阅读 plop 官方文档。

    开发过程中,避免不了手动去频繁创建页面、组件等文件,并且还要在文件里写一些必要的代码,是不是觉得很麻烦?现在你可以用更简洁的方式来处理这一切。

    框架默认提供了 5 种模式,通过 pnpm run new 指令可以自行选择。

    ',4),g=e("li",null,[e("code",null,"page"),o(" 页面文件")],-1),k=e("li",null,[e("code",null,"component"),o(" 组件文件")],-1),b=e("li",null,[e("code",null,"store"),o(" pinia 全局状态文件")],-1),f=e("li",null,[e("code",null,"mock"),o(" mock 文件")],-1),x=e("code",null,"module",-1),T=l('

    除了框架提供的 5 种模式,你还可以自定义新的模式,其原理就是通过预设模板,按照特定规则创建文件或者文件夹。

    预设模板文件存放在 /plop-templates/ 目录下,并在 /plopfile.js 文件里进行引用,你可以参考现有 5 种模式的目录结构进行创建新的模板。

    page

    page 模式下,只能在 /src/views/ 目录下选择指定的文件夹进行生成,生成的文件中,部分关键位置会被替换掉,例如 <page-header /> 中的 title 会按照你输入的中文名称替换,页面的 name 会根据当前文件目录和文件名自动生成,确保唯一。

    component

    component 模式可以选择生成的是公共组件还是局部组件,公共组件生成目录为 /src/components/ ,局部组件则在 /src/views/ 目录下选择指定的文件夹进行生成。

    store

    store 模式则会在 /src/store/modules/ 目录下生成一个空模板

    mock

    mock 模式则会在 /src/mock/ 目录下生成一个标准 CURD 的 mock 数据

    ',14),P={id:"module",tabindex:"-1"},q=e("a",{class:"header-anchor",href:"#module","aria-label":'Permalink to "module "'},"​",-1),N=e("p",null,[e("img",{src:d,alt:"","data-zoomable":""})],-1),S=e("p",null,"module 模式是一个标准模块模板,会在指定目录下生成模块文件夹,并且包含列表页、编辑(详情)页,以及相关局部组件。",-1),V=e("p",null,[o("这块部分详细介绍请阅读《"),e("a",{href:"./plop-module.html"},"标准模块"),o("》。")],-1);function v(w,A,B,C,I,z){const a=s("Badge");return n(),p("div",null,[u,e("ul",null,[g,k,b,f,e("li",null,[x,o(" 页面模块文件 "),t(a,{type:"pro",text:"专业版"})])]),T,e("h2",P,[o("module "),t(a,{type:"pro",text:"专业版"}),o(),q]),N,S,V])}const j=c(h,[["render",v]]);export{$ as __pageData,j as default}; diff --git a/assets/guide_plop.md.D0EUaBMV.lean.js b/assets/guide_plop.md.D0EUaBMV.lean.js new file mode 100644 index 00000000..048784e4 --- /dev/null +++ b/assets/guide_plop.md.D0EUaBMV.lean.js @@ -0,0 +1 @@ +import{_ as c,D as s,c as p,j as e,a as o,I as t,a5 as l,am as d,o as n,an as r,ao as i,ap as _,aq as m}from"./chunks/framework.cw3A9gZ3.js";const $=JSON.parse('{"title":"代码文件自动生成","description":"","frontmatter":{},"headers":[],"relativePath":"guide/plop.md","filePath":"guide/plop.md"}'),h={name:"guide/plop.md"},u=l("",4),g=e("li",null,[e("code",null,"page"),o(" 页面文件")],-1),k=e("li",null,[e("code",null,"component"),o(" 组件文件")],-1),b=e("li",null,[e("code",null,"store"),o(" pinia 全局状态文件")],-1),f=e("li",null,[e("code",null,"mock"),o(" mock 文件")],-1),x=e("code",null,"module",-1),T=l("",14),P={id:"module",tabindex:"-1"},q=e("a",{class:"header-anchor",href:"#module","aria-label":'Permalink to "module "'},"​",-1),N=e("p",null,[e("img",{src:d,alt:"","data-zoomable":""})],-1),S=e("p",null,"module 模式是一个标准模块模板,会在指定目录下生成模块文件夹,并且包含列表页、编辑(详情)页,以及相关局部组件。",-1),V=e("p",null,[o("这块部分详细介绍请阅读《"),e("a",{href:"./plop-module.html"},"标准模块"),o("》。")],-1);function v(w,A,B,C,I,z){const a=s("Badge");return n(),p("div",null,[u,e("ul",null,[g,k,b,f,e("li",null,[x,o(" 页面模块文件 "),t(a,{type:"pro",text:"专业版"})])]),T,e("h2",P,[o("module "),t(a,{type:"pro",text:"专业版"}),o(),q]),N,S,V])}const j=c(h,[["render",v]]);export{$ as __pageData,j as default}; diff --git a/assets/guide_preferences.md.GBdiw733.js b/assets/guide_preferences.md.GBdiw733.js new file mode 100644 index 00000000..e1efac3a --- /dev/null +++ b/assets/guide_preferences.md.GBdiw733.js @@ -0,0 +1,16 @@ +import{_ as e,D as t,c as n,j as i,a as s,I as l,a5 as p,o as h,ar as k}from"./chunks/framework.cw3A9gZ3.js";const f=JSON.parse('{"title":"用户偏好设置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/preferences.md","filePath":"guide/preferences.md"}'),r={name:"guide/preferences.md"},d={id:"用户偏好设置",tabindex:"-1"},c=i("a",{class:"header-anchor",href:"#用户偏好设置","aria-label":'Permalink to "用户偏好设置 "'},"​",-1),o=p(`

    如果希望将框架的部分应用配置项暴露给用户,让用户可以自行设置,那么可以使用用户偏好设置功能。

    开启

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  userPreferences: {
    +    enable: true,
    +  },
    +}

    定制偏好设置内容

    然后打开 /src/store/modules/user.ts 文件,你可以在文件里进一步定制用户偏好设置里的内容:

    ts
    // 框架已将可提供给用户配置的选项提取出来,请勿新增其他选项,不需要的选项可以在这里注释掉
    +const preferences = ref<Settings.all>({
    +  app: {
    +    colorScheme: settingsDefault.app.colorScheme,
    +    theme: settingsDefault.app.theme,
    +  },
    +  ...
    +})

    如果仔细对比,会发现这里的配置项并不是框架的完整应用配置,这是因为有部分配置项并不适合暴露给用户,比如 userPreferences.enable 这个配置项就是用来控制是否开启用户偏好设置的,如果开启了用户偏好设置,那么这个配置项就不应该再暴露给用户了,否则用户就可以关闭用户偏好设置了,这样就没有意义了。再比如 menu.baseOn 这个配置项是用来控制导航数据来源的,修改它会直接影响代码的调整,所以也是不能暴露给用户的。

    所以请勿新增这里的配置项,你需要做的就是将不需要暴露给用户的配置项注释掉即可。

    处理请求

    用户偏好设置默认存储在浏览器本地 localStorage 里,如果需要将数据存储到服务器,可以通过 userPreferences.storageTo 配置项来实现,具体配置如下:

    ts
    const globalSettings: Settings.all = {
    +  userPreferences: {
    +    storageTo: 'server',
    +  },
    +}

    然后到 /src/api/modules/user.ts 中找到 preferences()preferencesEdit() 这两个函数,并分别修改这两个函数的请求地址。

    建议

    为减轻后端处理,数据会直接以 JSON 字符串进行存储,建议后端可以在用户表增加相关字段,并将字段类型设为 lonetext

    `,15);function g(E,y,u,F,m,_){const a=t("Badge");return h(),n("div",null,[i("h1",d,[s("用户偏好设置 "),l(a,{type:"pro",text:"专业版"}),s(),c]),o])}const C=e(r,[["render",g]]);export{f as __pageData,C as default}; diff --git a/assets/guide_preferences.md.GBdiw733.lean.js b/assets/guide_preferences.md.GBdiw733.lean.js new file mode 100644 index 00000000..50f9b29f --- /dev/null +++ b/assets/guide_preferences.md.GBdiw733.lean.js @@ -0,0 +1 @@ +import{_ as e,D as t,c as n,j as i,a as s,I as l,a5 as p,o as h,ar as k}from"./chunks/framework.cw3A9gZ3.js";const f=JSON.parse('{"title":"用户偏好设置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/preferences.md","filePath":"guide/preferences.md"}'),r={name:"guide/preferences.md"},d={id:"用户偏好设置",tabindex:"-1"},c=i("a",{class:"header-anchor",href:"#用户偏好设置","aria-label":'Permalink to "用户偏好设置 "'},"​",-1),o=p("",15);function g(E,y,u,F,m,_){const a=t("Badge");return h(),n("div",null,[i("h1",d,[s("用户偏好设置 "),l(a,{type:"pro",text:"专业版"}),s(),c]),o])}const C=e(r,[["render",g]]);export{f as __pageData,C as default}; diff --git a/assets/guide_q-a.md.Dvfs7RPj.js b/assets/guide_q-a.md.Dvfs7RPj.js new file mode 100644 index 00000000..1db66abd --- /dev/null +++ b/assets/guide_q-a.md.Dvfs7RPj.js @@ -0,0 +1,10 @@ +import{_ as s,c as a,o as e,a5 as i,as as t}from"./chunks/framework.cw3A9gZ3.js";const g=JSON.parse('{"title":"常见问题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q-a.md","filePath":"guide/q-a.md"}'),n={name:"guide/q-a.md"},l=i('

    常见问题

    安装依赖时有警告

    这是一个可以无视的警告,因为依赖已经安装成功了。

    如果对这个问题感兴趣,可以浏览下这个 issue ,里面有给出一个忽略警告的方案,就是在 package.json 中添加:

    json
    {
    +  "pnpm": {
    +    "peerDependencyRules": {
    +      "ignoreMissing": [
    +        "postcss",
    +        "rollup"
    +      ]
    +    }
    +  }
    +}

    这样你下次再安装依赖的时候,就不会出现该警告了。

    为什么本地开发环境首次载入很慢

    主要是 Vite 的原因,具体可以阅读这篇文章了解《为什么有人说 vite 快,有人却说 vite 慢?》。

    项目 URL 里的 # 号能不能去掉

    这是因为路由默认使用的是 Hash 模式,你可以在 /src/router/index.ts 修改为 HTML5 模式,但需要注意,开启 HTML5 模式,服务器也需要做相应的配置调整,详细可阅读《Vue-router 不同的历史模式》。

    `,11),p=[l];function r(h,o,d,c,k,u){return e(),a("div",null,p)}const _=s(n,[["render",r]]);export{g as __pageData,_ as default}; diff --git a/assets/guide_q-a.md.Dvfs7RPj.lean.js b/assets/guide_q-a.md.Dvfs7RPj.lean.js new file mode 100644 index 00000000..ed9e5480 --- /dev/null +++ b/assets/guide_q-a.md.Dvfs7RPj.lean.js @@ -0,0 +1 @@ +import{_ as s,c as a,o as e,a5 as i,as as t}from"./chunks/framework.cw3A9gZ3.js";const g=JSON.parse('{"title":"常见问题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/q-a.md","filePath":"guide/q-a.md"}'),n={name:"guide/q-a.md"},l=i("",11),p=[l];function r(h,o,d,c,k,u){return e(),a("div",null,p)}const _=s(n,[["render",r]]);export{g as __pageData,_ as default}; diff --git a/assets/guide_ready.md.K1Eyoez-.js b/assets/guide_ready.md.K1Eyoez-.js new file mode 100644 index 00000000..265dbcd7 --- /dev/null +++ b/assets/guide_ready.md.K1Eyoez-.js @@ -0,0 +1,7 @@ +import{_ as e,c as a,o as t,a5 as i,at as s,au as r}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"准备工作","description":"","frontmatter":{},"headers":[],"relativePath":"guide/ready.md","filePath":"guide/ready.md"}'),l={name:"guide/ready.md"},n=i('

    准备工作

    源码

    阅读开发文档前,请确保手上已经有 One-step-admin 源码,因为文档中提及的内容,都是需要在本地项目中编写或修改代码并运行才能呈现的。如果还没有源码,可以通过下面两种方式获取:

    基础版

    说明

    • 框架源码 不含示例代码,可直接用于实际开发
    • 演示源码 同演示站,在框架源码基础上,提供了大量示例代码

    Github Releases 页面下载最新版本的压缩包,如下图所示:

    或者也可以从 Github/Gitee 上拉取源码,但需要注意的是,这种方式拉取的是最新的代码,而不是稳定版本,可能会存在一些问题,所以请谨慎使用。

    sh
    # 拉取框架源码
    +git clone https://github.com/one-step-admin/basic.git
    +# 拉取演示源码
    +git clone -b example https://github.com/one-step-admin/basic.git
    sh
    # 拉取框架源码
    +git clone https://gitee.com/one-step-admin/basic.git
    +# 拉取演示源码
    +git clone -b example https://gitee.com/one-step-admin/basic.git

    专业版

    专业版用户会邀请加入到私有组织,获取源码的方式和基础版一致,只是仓库地址不同。

    如果你想获取专业版源码,可以点这里去购买。

    开发环境

    使用本模板前,需要在本地依次安装好 Node.js, pnpm, GitVisual Studio Code

    注意

    Node.js 需要使用 18+ / 20+ 版本。

    然后在 Visual Studio Code 里安装好以下扩展:

    在 Visual Studio Code 里打开源码的文件夹,右下角会自动提示需要安装的依赖,直接点击安装即可。

    建议

    以上为开发时必备扩展,以下则是作者推荐安装的扩展,安装它们将在一定程度上提升开发效率。

    除此之外,还需要准备好开发使用的浏览器,推荐使用 Chrome ,并且在 Chrome 里安装好 Vue.js devtools 扩展,安装 Vue 官方提供的调试工具在一定程度上可以提升解决 bug 的效率,当然这个扩展开启后,可能在开发环境操作会有些许卡顿,建议不需要时候可以将扩展禁用。

    不过由于安装 Vue.js devtools 需要访问 Chrome 应用商店,如果在大陆地区访问,需要自行准备相关可访问外网的工具。如果不具备该条件,也可访问 Vue.js devtools 官网 了解本地构建或者下载支持 Edge/Firefox 的 Vue.js devtools 。

    技术栈

    了解并熟悉框架使用到的技术栈,能让你使用本框架更得心应手。

    ',25),o=[n];function h(p,d,c,g,k,m){return t(),a("div",null,o)}const f=e(l,[["render",h]]);export{b as __pageData,f as default}; diff --git a/assets/guide_ready.md.K1Eyoez-.lean.js b/assets/guide_ready.md.K1Eyoez-.lean.js new file mode 100644 index 00000000..24e4986b --- /dev/null +++ b/assets/guide_ready.md.K1Eyoez-.lean.js @@ -0,0 +1 @@ +import{_ as e,c as a,o as t,a5 as i,at as s,au as r}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"准备工作","description":"","frontmatter":{},"headers":[],"relativePath":"guide/ready.md","filePath":"guide/ready.md"}'),l={name:"guide/ready.md"},n=i("",25),o=[n];function h(p,d,c,g,k,m){return t(),a("div",null,o)}const f=e(l,[["render",h]]);export{b as __pageData,f as default}; diff --git a/assets/guide_replace-to-antd.md.BMifkikm.js b/assets/guide_replace-to-antd.md.BMifkikm.js new file mode 100644 index 00000000..38aed4f1 --- /dev/null +++ b/assets/guide_replace-to-antd.md.BMifkikm.js @@ -0,0 +1,93 @@ +import{_ as s,c as i,o as a,a5 as n,av as t}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"替换为 Ant Design Vue","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-antd.md","filePath":"guide/replace-to-antd.md"}'),l={name:"guide/replace-to-antd.md"},p=n(`

    替换为 Ant Design Vue

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 Ant Design Vue,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 Ant Design Vue
    +pnpm add ant-design-vue@4.x

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import Antd from 'ant-design-vue'
    +import 'ant-design-vue/dist/reset.css'
    +
    +function install(app: App) {
    +  app.use(Antd)
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import antDesignVueLocaleZhCN from 'ant-design-vue/es/locale/zh_CN'
    +import { theme } from 'ant-design-vue'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <AConfigProvider :locale="antDesignVueLocaleZhCN" :theme="settingsStore.currentColorScheme === 'dark' ? { algorithm: [theme.darkAlgorithm] } : {}">
    +    <slot />
    +  </AConfigProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import Antd from 'ant-design-vue'
    +import 'ant-design-vue/dist/reset.css'
    +
    +import zhCN from 'ant-design-vue/es/locale/zh_CN'
    +import zhTW from 'ant-design-vue/es/locale/zh_TW'
    +import en from 'ant-design-vue/es/locale/en_US'
    +
    +function install(app: App) {
    +  app.use(Antd)
    +}
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': zhCN,
    +  'zh-tw': zhTW,
    +  'en': en,
    +}
    +
    +export default { install }
    +export { locales }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { theme } from 'ant-design-vue'
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <AConfigProvider :locale="locales[settingsStore.lang]" :theme="settingsStore.currentColorScheme === 'dark' ? { algorithm: [theme.darkAlgorithm] } : {}">
    +    <slot />
    +  </AConfigProvider>
    +</template>

    删除相关文件

    .
    +├─ plop-templates
    +│  └─ module // 标准模块模板基于 Element Plus 开发,需要删除
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ IconPicker
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 Ant Design Vue 组件库,并且可以开始使用 Ant Design Vue 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    ',18),h=[p];function e(k,r,d,E,g,o){return a(),i("div",null,h)}const F=s(l,[["render",e]]);export{y as __pageData,F as default}; diff --git a/assets/guide_replace-to-antd.md.BMifkikm.lean.js b/assets/guide_replace-to-antd.md.BMifkikm.lean.js new file mode 100644 index 00000000..949c71ba --- /dev/null +++ b/assets/guide_replace-to-antd.md.BMifkikm.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as n,av as t}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"替换为 Ant Design Vue","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-antd.md","filePath":"guide/replace-to-antd.md"}'),l={name:"guide/replace-to-antd.md"},p=n("",18),h=[p];function e(k,r,d,E,g,o){return a(),i("div",null,h)}const F=s(l,[["render",e]]);export{y as __pageData,F as default}; diff --git a/assets/guide_replace-to-arco.md.Dx2PnEpB.js b/assets/guide_replace-to-arco.md.Dx2PnEpB.js new file mode 100644 index 00000000..2463d5b1 --- /dev/null +++ b/assets/guide_replace-to-arco.md.Dx2PnEpB.js @@ -0,0 +1,142 @@ +import{_ as s,c as i,o as a,a5 as n,aw as l}from"./chunks/framework.cw3A9gZ3.js";const o=JSON.parse('{"title":"替换为 Arco Design Vue","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-arco.md","filePath":"guide/replace-to-arco.md"}'),p={name:"guide/replace-to-arco.md"},h=n(`

    替换为 Arco Design Vue

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 Arco Design Vue,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 Arco Design Vue
    +pnpm add @arco-design/web-vue -D

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global", 
    +      ...
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import ArcoVue from '@arco-design/web-vue'
    +import '@arco-design/web-vue/dist/arco.css'
    +
    +function install(app: App) {
    +  app.use(ArcoVue)
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import zhCN from '@arco-design/web-vue/es/locale/lang/zh-cn'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +
    +const prefersColorScheme = window.matchMedia('(prefers-color-scheme: dark)')
    +watch(() => settingsStore.settings.app.colorScheme, (colorScheme) => {
    +  if (colorScheme === '') {
    +    prefersColorScheme.addEventListener('change', updateTheme)
    +  }
    +  else {
    +    prefersColorScheme.removeEventListener('change', updateTheme)
    +  }
    +  nextTick(() => {
    +    updateTheme()
    +  })
    +}, {
    +  immediate: true,
    +})
    +function updateTheme() {
    +  switch (settingsStore.currentColorScheme) {
    +    case 'light':
    +      document.body.removeAttribute('arco-theme')
    +      break
    +    case 'dark':
    +      document.body.setAttribute('arco-theme', 'dark')
    +      break
    +  }
    +}
    +</script>
    +
    +<template>
    +  <AConfigProvider :locale="zhCN">
    +    <slot />
    +  </AConfigProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import ArcoVue from '@arco-design/web-vue'
    +import '@arco-design/web-vue/dist/arco.css'
    +
    +import zhCN from '@arco-design/web-vue/es/locale/lang/zh-CN'
    +import zhTW from '@arco-design/web-vue/es/locale/lang/zh-TW'
    +import en from '@arco-design/web-vue/es/locale/lang/en-US'
    +
    +function install(app: App) {
    +  app.use(ArcoVue)
    +}
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': zhCN,
    +  'zh-tw': zhTW,
    +  'en': en,
    +}
    +
    +export default { install }
    +export { locales }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +
    +const prefersColorScheme = window.matchMedia('(prefers-color-scheme: dark)')
    +watch(() => settingsStore.settings.app.colorScheme, (colorScheme) => {
    +  if (colorScheme === '') {
    +    prefersColorScheme.addEventListener('change', updateTheme)
    +  }
    +  else {
    +    prefersColorScheme.removeEventListener('change', updateTheme)
    +  }
    +  nextTick(() => {
    +    updateTheme()
    +  })
    +}, {
    +  immediate: true,
    +})
    +function updateTheme() {
    +  switch (settingsStore.currentColorScheme) {
    +    case 'light':
    +      document.body.removeAttribute('arco-theme')
    +      break
    +    case 'dark':
    +      document.body.setAttribute('arco-theme', 'dark')
    +      break
    +  }
    +}
    +</script>
    +
    +<template>
    +  <AConfigProvider :locale="locales[settingsStore.lang]">
    +    <slot />
    +  </AConfigProvider>
    +</template>

    删除相关文件

    .
    +├─ plop-templates
    +│  └─ module // 标准模块模板基于 Element Plus 开发,需要删除
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ IconPicker
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 Arco Design Vue 组件库,并且可以开始使用 Arco Design Vue 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    ',18),t=[h];function k(e,E,r,d,g,c){return a(),i("div",null,t)}const F=s(p,[["render",k]]);export{o as __pageData,F as default}; diff --git a/assets/guide_replace-to-arco.md.Dx2PnEpB.lean.js b/assets/guide_replace-to-arco.md.Dx2PnEpB.lean.js new file mode 100644 index 00000000..51a76896 --- /dev/null +++ b/assets/guide_replace-to-arco.md.Dx2PnEpB.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as n,aw as l}from"./chunks/framework.cw3A9gZ3.js";const o=JSON.parse('{"title":"替换为 Arco Design Vue","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-arco.md","filePath":"guide/replace-to-arco.md"}'),p={name:"guide/replace-to-arco.md"},h=n("",18),t=[h];function k(e,E,r,d,g,c){return a(),i("div",null,t)}const F=s(p,[["render",k]]);export{o as __pageData,F as default}; diff --git a/assets/guide_replace-to-idux.md.CKOkDsjt.js b/assets/guide_replace-to-idux.md.CKOkDsjt.js new file mode 100644 index 00000000..15091374 --- /dev/null +++ b/assets/guide_replace-to-idux.md.CKOkDsjt.js @@ -0,0 +1,102 @@ +import{_ as s,c as i,o as a,a5 as n,ax as l}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"替换为 iDux","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-idux.md","filePath":"guide/replace-to-idux.md"}'),p={name:"guide/replace-to-idux.md"},t=n(`

    替换为 iDux

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 iDux,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 iDux
    +pnpm add @idux/cdk @idux/components

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import IduxCdk from '@idux/cdk'
    +import IduxComponents from '@idux/components'
    +import { IDUX_ICON_DEPENDENCIES, addIconDefinitions } from '@idux/components/icon'
    +import { createGlobalConfig } from '@idux/components/config'
    +import { zhCN } from '@idux/components/locales'
    +import '@idux/components/index.full.css'
    +
    +function install(app: App) {
    +  addIconDefinitions(IDUX_ICON_DEPENDENCIES)
    +  app.use(IduxCdk).use(IduxComponents).use(createGlobalConfig({ locale: zhCN }))
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <IxThemeProvider :preset-theme="settingsStore.currentColorScheme === 'dark' ? 'dark' : 'default'">
    +    <IxMessageProvider>
    +      <slot />
    +    </IxMessageProvider>
    +  </IxThemeProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import IduxCdk from '@idux/cdk'
    +import IduxComponents from '@idux/components'
    +import { IDUX_ICON_DEPENDENCIES, addIconDefinitions } from '@idux/components/icon'
    +import { enUS, zhCN } from '@idux/components/locales'
    +import '@idux/components/index.full.css'
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': zhCN,
    +  'zh-tw': zhCN,
    +  'en': enUS,
    +}
    +
    +function install(app: App) {
    +  addIconDefinitions(IDUX_ICON_DEPENDENCIES)
    +  app.use(IduxCdk).use(IduxComponents)
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { useGlobalConfig } from '@idux/components/config'
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +
    +const [, setLocale] = useGlobalConfig('locale', locales[settingsStore.lang])
    +watch(() => settingsStore.lang, val => setLocale(locales[settingsStore.lang]))
    +</script>
    +
    +<template>
    +  <IxThemeProvider :preset-theme="settingsStore.currentColorScheme === 'dark' ? 'dark' : 'default'">
    +    <IxMessageProvider>
    +      <slot />
    +    </IxMessageProvider>
    +  </IxThemeProvider>
    +</template>

    删除相关文件

    .
    +├─ plop-templates
    +│  └─ module // 标准模块模板基于 Element Plus 开发,需要删除
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ IconPicker
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 iDux 组件库,并且可以开始使用 iDux 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    ',18),h=[t];function k(e,d,E,r,g,o){return a(),i("div",null,h)}const F=s(p,[["render",k]]);export{y as __pageData,F as default}; diff --git a/assets/guide_replace-to-idux.md.CKOkDsjt.lean.js b/assets/guide_replace-to-idux.md.CKOkDsjt.lean.js new file mode 100644 index 00000000..c5a16e71 --- /dev/null +++ b/assets/guide_replace-to-idux.md.CKOkDsjt.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as n,ax as l}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"替换为 iDux","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-idux.md","filePath":"guide/replace-to-idux.md"}'),p={name:"guide/replace-to-idux.md"},t=n("",18),h=[t];function k(e,d,E,r,g,o){return a(),i("div",null,h)}const F=s(p,[["render",k]]);export{y as __pageData,F as default}; diff --git a/assets/guide_replace-to-naive.md.vnCpv8CN.js b/assets/guide_replace-to-naive.md.vnCpv8CN.js new file mode 100644 index 00000000..d33000f7 --- /dev/null +++ b/assets/guide_replace-to-naive.md.vnCpv8CN.js @@ -0,0 +1,93 @@ +import{_ as s,c as i,o as a,a5 as n,ay as l}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"替换为 Naive UI","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-naive.md","filePath":"guide/replace-to-naive.md"}'),t={name:"guide/replace-to-naive.md"},h=n(`

    替换为 Naive UI

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 Naive UI,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 Naive UI
    +pnpm add naive-ui -D

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +      "naive-ui/volar"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import naive from 'naive-ui'
    +
    +function install(app: App) {
    +  app.use(naive)
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { darkTheme, dateZhCN, zhCN } from 'naive-ui'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <NConfigProvider :locale="zhCN" :date-locale="dateZhCN" :theme="settingsStore.currentColorScheme === 'dark' ? darkTheme : undefined" style="height: 100%;">
    +    <NMessageProvider>
    +      <slot />
    +      <NGlobalStyle />
    +    </NMessageProvider>
    +  </NConfigProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +      "naive-ui/volar"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import naive, { dateEnUS, dateZhCN, dateZhTW, enUS, zhCN, zhTW } from 'naive-ui'
    +
    +function install(app: App) {
    +  app.use(naive)
    +}
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': {
    +    ui: zhCN,
    +    date: dateZhCN,
    +  },
    +  'zh-tw': {
    +    ui: zhTW,
    +    date: dateZhTW,
    +  },
    +  'en': {
    +    ui: enUS,
    +    date: dateEnUS,
    +  },
    +}
    +
    +export default { install }
    +export { locales }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { darkTheme } from 'naive-ui'
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <NConfigProvider :locale="locales[settingsStore.lang].ui" :date-locale="locales[settingsStore.lang].date" :theme="settingsStore.currentColorScheme === 'dark' ? darkTheme : undefined" style="height: 100%;">
    +    <NMessageProvider>
    +      <slot />
    +      <NGlobalStyle />
    +    </NMessageProvider>
    +  </NConfigProvider>
    +</template>

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 Naive UI 组件库,并且可以开始使用 Naive UI 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    ',18),p=[h];function k(e,E,r,d,g,y){return a(),i("div",null,p)}const F=s(t,[["render",k]]);export{c as __pageData,F as default}; diff --git a/assets/guide_replace-to-naive.md.vnCpv8CN.lean.js b/assets/guide_replace-to-naive.md.vnCpv8CN.lean.js new file mode 100644 index 00000000..888739bc --- /dev/null +++ b/assets/guide_replace-to-naive.md.vnCpv8CN.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as n,ay as l}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"替换为 Naive UI","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-naive.md","filePath":"guide/replace-to-naive.md"}'),t={name:"guide/replace-to-naive.md"},h=n("",18),p=[h];function k(e,E,r,d,g,y){return a(),i("div",null,p)}const F=s(t,[["render",k]]);export{c as __pageData,F as default}; diff --git a/assets/guide_replace-to-tdesign.md.HgaSanK9.js b/assets/guide_replace-to-tdesign.md.HgaSanK9.js new file mode 100644 index 00000000..35e4c3c2 --- /dev/null +++ b/assets/guide_replace-to-tdesign.md.HgaSanK9.js @@ -0,0 +1,161 @@ +import{_ as s,c as i,o as a,a5 as n,az as l}from"./chunks/framework.cw3A9gZ3.js";const o=JSON.parse('{"title":"替换为 TDesign","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-tdesign.md","filePath":"guide/replace-to-tdesign.md"}'),p={name:"guide/replace-to-tdesign.md"},t=n(`

    替换为 TDesign

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 TDesign,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 TDesign
    +pnpm add tdesign-vue-next

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  },
    +  ...
    +  "include": [
    +    "src/**/*.ts",
    +    "src/**/*.d.ts",
    +    "src/**/*.tsx",
    +    "src/**/*.vue"
    +    "src/**/*.vue", 
    +    "node_modules/tdesign-vue-next/global.d.ts"
    +  ]
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import TDesign from 'tdesign-vue-next'
    +import 'tdesign-vue-next/es/style/index.css'
    +
    +function install(app: App) {
    +  app.use(TDesign)
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { merge } from 'lodash-es'
    +import zhCN from 'tdesign-vue-next/es/locale/zh_CN'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +
    +const prefersColorScheme = window.matchMedia('(prefers-color-scheme: dark)')
    +watch(() => settingsStore.settings.app.colorScheme, (colorScheme) => {
    +  if (colorScheme === '') {
    +    prefersColorScheme.addEventListener('change', updateTheme)
    +  }
    +  else {
    +    prefersColorScheme.removeEventListener('change', updateTheme)
    +  }
    +  nextTick(() => {
    +    updateTheme()
    +  })
    +}, {
    +  immediate: true,
    +})
    +function updateTheme() {
    +  switch (settingsStore.currentColorScheme) {
    +    case 'light':
    +      document.documentElement.removeAttribute('theme-mode')
    +      break
    +    case 'dark':
    +      document.documentElement.setAttribute('theme-mode', 'dark')
    +      break
    +  }
    +}
    +</script>
    +
    +<template>
    +  <TConfigProvider :global-config="merge(zhCN)">
    +    <slot />
    +  </TConfigProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  },
    +  ...
    +  "include": [
    +    "src/**/*.ts",
    +    "src/**/*.d.ts",
    +    "src/**/*.tsx",
    +    "src/**/*.vue"
    +    "src/**/*.vue", 
    +    "node_modules/tdesign-vue-next/global.d.ts"
    +  ]
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import TDesign from 'tdesign-vue-next'
    +import 'tdesign-vue-next/es/style/index.css'
    +
    +import zhCN from 'tdesign-vue-next/es/locale/zh_CN'
    +import zhTW from 'tdesign-vue-next/es/locale/zh_TW'
    +import en from 'tdesign-vue-next/es/locale/en_US'
    +
    +function install(app: App) {
    +  app.use(TDesign)
    +}
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': zhCN,
    +  'zh-tw': zhTW,
    +  'en': en,
    +}
    +
    +export default { install }
    +export { locales }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { merge } from 'lodash-es'
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +
    +const prefersColorScheme = window.matchMedia('(prefers-color-scheme: dark)')
    +watch(() => settingsStore.settings.app.colorScheme, (colorScheme) => {
    +  if (colorScheme === '') {
    +    prefersColorScheme.addEventListener('change', updateTheme)
    +  }
    +  else {
    +    prefersColorScheme.removeEventListener('change', updateTheme)
    +  }
    +  nextTick(() => {
    +    updateTheme()
    +  })
    +}, {
    +  immediate: true,
    +})
    +function updateTheme() {
    +  switch (settingsStore.currentColorScheme) {
    +    case 'light':
    +      document.documentElement.removeAttribute('theme-mode')
    +      break
    +    case 'dark':
    +      document.documentElement.setAttribute('theme-mode', 'dark')
    +      break
    +  }
    +}
    +</script>
    +
    +<template>
    +  <TConfigProvider :global-config="merge(locales[settingsStore.lang])">
    +    <slot />
    +  </TConfigProvider>
    +</template>

    删除相关文件

    .
    +├─ plop-templates
    +│  └─ module // 标准模块模板基于 Element Plus 开发,需要删除
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ IconPicker
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 TDesign 组件库,并且可以开始使用 TDesign 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    ',18),h=[t];function k(e,E,r,d,g,y){return a(),i("div",null,h)}const F=s(p,[["render",k]]);export{o as __pageData,F as default}; diff --git a/assets/guide_replace-to-tdesign.md.HgaSanK9.lean.js b/assets/guide_replace-to-tdesign.md.HgaSanK9.lean.js new file mode 100644 index 00000000..ddf7732e --- /dev/null +++ b/assets/guide_replace-to-tdesign.md.HgaSanK9.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as n,az as l}from"./chunks/framework.cw3A9gZ3.js";const o=JSON.parse('{"title":"替换为 TDesign","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-tdesign.md","filePath":"guide/replace-to-tdesign.md"}'),p={name:"guide/replace-to-tdesign.md"},t=n("",18),h=[t];function k(e,E,r,d,g,y){return a(),i("div",null,h)}const F=s(p,[["render",k]]);export{o as __pageData,F as default}; diff --git a/assets/guide_replace-to-vexip.md.EiPSAYRa.js b/assets/guide_replace-to-vexip.md.EiPSAYRa.js new file mode 100644 index 00000000..d869bc89 --- /dev/null +++ b/assets/guide_replace-to-vexip.md.EiPSAYRa.js @@ -0,0 +1,90 @@ +import{_ as s,c as i,o as a,a5 as n,aA as l}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"替换为 Vexip UI","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-vexip.md","filePath":"guide/replace-to-vexip.md"}'),p={name:"guide/replace-to-vexip.md"},t=n(`

    替换为 Vexip UI

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 Vexip UI,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 Vexip UI
    +pnpm add vexip-ui

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import { install as vexipInstall } from 'vexip-ui'
    +import 'vexip-ui/css/index.css'
    +import 'vexip-ui/css/dark/index.css'
    +
    +function install(app: App) {
    +  app.use(vexipInstall, {
    +    prefix: 'vxp',
    +  })
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { zhCNLocale } from 'vexip-ui'
    +</script>
    +
    +<template>
    +  <VxpConfigProvider :locale="zhCNLocale()">
    +    <slot />
    +  </VxpConfigProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import { install as vexipInstall, zhCNLocale, zhTWLocale, enUSLocale } from 'vexip-ui'
    +import 'vexip-ui/css/index.css'
    +import 'vexip-ui/css/dark/index.css'
    +
    +function install(app: App) {
    +  app.use(vexipInstall, {
    +    prefix: 'vxp',
    +  })
    +}
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': zhCNLocale(),
    +  'zh-tw': zhTWLocale(),
    +  'en': enUSLocale(),
    +}
    +
    +export default { install }
    +export { locales }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <VxpConfigProvider :locale="locales[settingsStore.lang]">
    +    <slot />
    +  </VxpConfigProvider>
    +</template>

    删除相关文件

    .
    +├─ plop-templates
    +│  └─ module // 标准模块模板基于 Element Plus 开发,需要删除
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ IconPicker
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 Vexip UI 组件库,并且可以开始使用 Vexip UI 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    ',18),h=[t];function e(k,E,r,d,g,c){return a(),i("div",null,h)}const F=s(p,[["render",e]]);export{y as __pageData,F as default}; diff --git a/assets/guide_replace-to-vexip.md.EiPSAYRa.lean.js b/assets/guide_replace-to-vexip.md.EiPSAYRa.lean.js new file mode 100644 index 00000000..8bac32fd --- /dev/null +++ b/assets/guide_replace-to-vexip.md.EiPSAYRa.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as n,aA as l}from"./chunks/framework.cw3A9gZ3.js";const y=JSON.parse('{"title":"替换为 Vexip UI","description":"","frontmatter":{},"headers":[],"relativePath":"guide/replace-to-vexip.md","filePath":"guide/replace-to-vexip.md"}'),p={name:"guide/replace-to-vexip.md"},t=n("",18),h=[t];function e(k,E,r,d,g,c){return a(),i("div",null,h)}const F=s(p,[["render",e]]);export{y as __pageData,F as default}; diff --git a/assets/guide_router.md.BPoleRVM.js b/assets/guide_router.md.BPoleRVM.js new file mode 100644 index 00000000..9f89400c --- /dev/null +++ b/assets/guide_router.md.BPoleRVM.js @@ -0,0 +1,18 @@ +import{_ as n,D as e,c as t,j as s,a as i,I as h,a5 as l,o as p}from"./chunks/framework.cw3A9gZ3.js";const C=JSON.parse('{"title":"路由","description":"","frontmatter":{},"headers":[],"relativePath":"guide/router.md","filePath":"guide/router.md"}'),k={name:"guide/router.md"},d=s("h1",{id:"路由",tabindex:"-1"},[i("路由 "),s("a",{class:"header-anchor",href:"#路由","aria-label":'Permalink to "路由"'},"​")],-1),r=s("p",null,[i("由于框架采用了全新的交互方式,使得路由在本框架中并非核心功能。通过打开 "),s("code",null,"/src/router/index.ts"),i(" 可以看到,框架一共定义了两个路由地址,一个是登录地址,另一个是登录成功后的地址。")],-1),E={id:"免登录页面",tabindex:"-1"},o=s("a",{class:"header-anchor",href:"#免登录页面","aria-label":'Permalink to "免登录页面 "'},"​",-1),g=l(`

    基于设置的路由规则,新增的任何路由,都必须登录后才能访问。如果希望增加免登录的页面,也就是脱离框架本身,相对独立的页面,你可以按照下面的方式处理。

    首先在 /src/router/index.tsroutes 配置免登录页面的路由,然后在 noLoginWhitelist 里增加一句路由完整地址。例如下面的例子,就增加了一个 /no/login/example 的免登录页面地址。

    ts
    // 固定路由
    +const routes = [
    +  ...,
    +  {
    +    path: '/no/login/example',
    +    name: 'noLoginExample',
    +    component: () => import('@/views/no-login-example.vue'),
    +    meta: {
    +      title: '免登录页面',
    +    },
    +  },
    +]
    +
    +// 免登录白名单
    +const noLoginWhitelist = [
    +  ...,
    +  '/no/login/example',
    +]
    `,3);function c(y,_,F,m,u,x){const a=e("Badge");return p(),t("div",null,[d,r,s("h2",E,[i("免登录页面 "),h(a,{type:"pro",text:"专业版"}),i(),o]),g])}const D=n(k,[["render",c]]);export{C as __pageData,D as default}; diff --git a/assets/guide_router.md.BPoleRVM.lean.js b/assets/guide_router.md.BPoleRVM.lean.js new file mode 100644 index 00000000..84813293 --- /dev/null +++ b/assets/guide_router.md.BPoleRVM.lean.js @@ -0,0 +1 @@ +import{_ as n,D as e,c as t,j as s,a as i,I as h,a5 as l,o as p}from"./chunks/framework.cw3A9gZ3.js";const C=JSON.parse('{"title":"路由","description":"","frontmatter":{},"headers":[],"relativePath":"guide/router.md","filePath":"guide/router.md"}'),k={name:"guide/router.md"},d=s("h1",{id:"路由",tabindex:"-1"},[i("路由 "),s("a",{class:"header-anchor",href:"#路由","aria-label":'Permalink to "路由"'},"​")],-1),r=s("p",null,[i("由于框架采用了全新的交互方式,使得路由在本框架中并非核心功能。通过打开 "),s("code",null,"/src/router/index.ts"),i(" 可以看到,框架一共定义了两个路由地址,一个是登录地址,另一个是登录成功后的地址。")],-1),E={id:"免登录页面",tabindex:"-1"},o=s("a",{class:"header-anchor",href:"#免登录页面","aria-label":'Permalink to "免登录页面 "'},"​",-1),g=l("",3);function c(y,_,F,m,u,x){const a=e("Badge");return p(),t("div",null,[d,r,s("h2",E,[i("免登录页面 "),h(a,{type:"pro",text:"专业版"}),i(),o]),g])}const D=n(k,[["render",c]]);export{C as __pageData,D as default}; diff --git a/assets/guide_rtl.md.BZFPUhoa.js b/assets/guide_rtl.md.BZFPUhoa.js new file mode 100644 index 00000000..eaa23844 --- /dev/null +++ b/assets/guide_rtl.md.BZFPUhoa.js @@ -0,0 +1,5 @@ +import{_ as e,D as n,c as l,j as t,a as s,I as i,a5 as p,o as h,aB as r}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"RTL 模式","description":"","frontmatter":{},"headers":[],"relativePath":"guide/rtl.md","filePath":"guide/rtl.md"}'),d={name:"guide/rtl.md"},o={id:"rtl-模式",tabindex:"-1"},k=t("a",{class:"header-anchor",href:"#rtl-模式","aria-label":'Permalink to "RTL 模式 "'},"​",-1),c=p(`

    使用

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    direction: 'rtl',
    +  },
    +}

    效果如下:

    ',5);function g(_,E,y,m,u,B){const a=n("Badge");return h(),l("div",null,[t("h1",o,[s("RTL 模式 "),i(a,{type:"pro",text:"专业版"}),s(),i(a,{type:"tip",text:"v4.3.0 新增"}),s(),k]),c])}const x=e(d,[["render",g]]);export{b as __pageData,x as default}; diff --git a/assets/guide_rtl.md.BZFPUhoa.lean.js b/assets/guide_rtl.md.BZFPUhoa.lean.js new file mode 100644 index 00000000..66ef9f69 --- /dev/null +++ b/assets/guide_rtl.md.BZFPUhoa.lean.js @@ -0,0 +1 @@ +import{_ as e,D as n,c as l,j as t,a as s,I as i,a5 as p,o as h,aB as r}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"RTL 模式","description":"","frontmatter":{},"headers":[],"relativePath":"guide/rtl.md","filePath":"guide/rtl.md"}'),d={name:"guide/rtl.md"},o={id:"rtl-模式",tabindex:"-1"},k=t("a",{class:"header-anchor",href:"#rtl-模式","aria-label":'Permalink to "RTL 模式 "'},"​",-1),c=p("",5);function g(_,E,y,m,u,B){const a=n("Badge");return h(),l("div",null,[t("h1",o,[s("RTL 模式 "),i(a,{type:"pro",text:"专业版"}),s(),i(a,{type:"tip",text:"v4.3.0 新增"}),s(),k]),c])}const x=e(d,[["render",g]]);export{b as __pageData,x as default}; diff --git a/assets/guide_start.md.6exwAAYc.js b/assets/guide_start.md.6exwAAYc.js new file mode 100644 index 00000000..e7600b08 --- /dev/null +++ b/assets/guide_start.md.6exwAAYc.js @@ -0,0 +1,6 @@ +import{_ as s,c as a,o as e,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const _=JSON.parse('{"title":"开始","description":"","frontmatter":{},"headers":[],"relativePath":"guide/start.md","filePath":"guide/start.md"}'),n={name:"guide/start.md"},i=t(`

    开始

    做好准备工作后,请在项目根目录下依次执行以下命令:

    sh
    # 安装依赖
    +# 注意,必须使用 pnpm 安装依赖,请勿使用 npm 或 yarn 安装依赖
    +pnpm install
    +
    +# 运行
    +pnpm run dev

    运行成功后,会自动访问页面,默认地址为 http://localhost:9000

    报错

    安装依赖时提示 404 ,或者安装结束后,运行时提示「 'vite' 不是内部或外部命令,也不是可运行的程序或批处理文件 」,都些都是依赖未安装成功导致的。可以尝试执行 pnpm config set registry https://registry.npmmirror.com/ 切换为国内 npmmirror 源(也可以使用 nrm 一键切换源),然后删除根目录下 /node_modules 文件夹并重新安装依赖。

    如果依旧无法运行(基本不太可能),可尝试删除根目录下 /node_modules 文件夹与 pnpm-lock.yaml 文件后,再删除 package.json"preinstall": "npx only-allow pnpm" 这句脚本,最后使用 npm / yarn 进行安装依赖。但需要清楚一点,这样操作后,将无法与官方环境锁定的依赖包版本保持一致,可能会出现无法预知的问题,非必要情况下,请勿使用该方案。

    `,5),p=[i];function o(l,c,r,d,h,k){return e(),a("div",null,p)}const g=s(n,[["render",o]]);export{_ as __pageData,g as default}; diff --git a/assets/guide_start.md.6exwAAYc.lean.js b/assets/guide_start.md.6exwAAYc.lean.js new file mode 100644 index 00000000..857a640d --- /dev/null +++ b/assets/guide_start.md.6exwAAYc.lean.js @@ -0,0 +1 @@ +import{_ as s,c as a,o as e,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const _=JSON.parse('{"title":"开始","description":"","frontmatter":{},"headers":[],"relativePath":"guide/start.md","filePath":"guide/start.md"}'),n={name:"guide/start.md"},i=t("",5),p=[i];function o(l,c,r,d,h,k){return e(),a("div",null,p)}const g=s(n,[["render",o]]);export{_ as __pageData,g as default}; diff --git a/assets/guide_storage.md.DOvVu3nP.js b/assets/guide_storage.md.DOvVu3nP.js new file mode 100644 index 00000000..275e085e --- /dev/null +++ b/assets/guide_storage.md.DOvVu3nP.js @@ -0,0 +1,17 @@ +import{_ as e,D as t,c as n,j as a,a as s,I as l,a5 as p,o as h}from"./chunks/framework.cw3A9gZ3.js";const v=JSON.parse('{"title":"私有 Storage 数据","description":"","frontmatter":{},"headers":[],"relativePath":"guide/storage.md","filePath":"guide/storage.md"}'),k={name:"guide/storage.md"},o={id:"私有-storage-数据",tabindex:"-1"},r=a("a",{class:"header-anchor",href:"#私有-storage-数据","aria-label":'Permalink to "私有 Storage 数据 "'},"​",-1),g=p(`

    由于 localStorage 和 sessionStorage 的同源策略,同一域名下的 storage 数据会共享。如果你恰好需要在同一域名下部署两套(及以上)系统,不可避免会出现 storage 数据冲突,框架提供了一个 storage 类来解决这个问题。

    解决同源 storage 数据冲突的方式就是增加前缀区分,首先需要在应用配置里设置,这里需要你设置一个唯一且不重名的前缀。

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    storagePrefix: 'osa_',
    +  },
    +}

    然后在需要使用到 storage 的地方引入:

    ts
    import storage from '@/utils/storage'

    这个类封装了 setItem()getItem()removeItem()clear() 方法,同时还增加了一个 has() 方法用来判断对象是否存在:

    ts
    // localStorage
    +storage.local.has(key)
    +storage.local.get(key)
    +storage.local.set(key, value)
    +storage.local.remove(key)
    +storage.local.clear()
    +
    +// sessionStorage
    +storage.session.has(key)
    +storage.session.get(key)
    +storage.session.set(key, value)
    +storage.session.remove(key)
    +storage.session.clear()

    注意

    由于 localStorage 有容量上限,一般为 5M ,如果一同域名下部署两套系统,意味着两套系统共享 5M 容量,所以不建议在同一域名部署太多套系统,避免出现 localStorage 不够用的情况。

    `,8);function d(E,c,y,F,_,m){const i=t("Badge");return h(),n("div",null,[a("h1",o,[s("私有 Storage 数据 "),l(i,{type:"pro",text:"专业版"}),s(),r]),g])}const C=e(k,[["render",d]]);export{v as __pageData,C as default}; diff --git a/assets/guide_storage.md.DOvVu3nP.lean.js b/assets/guide_storage.md.DOvVu3nP.lean.js new file mode 100644 index 00000000..3da91172 --- /dev/null +++ b/assets/guide_storage.md.DOvVu3nP.lean.js @@ -0,0 +1 @@ +import{_ as e,D as t,c as n,j as a,a as s,I as l,a5 as p,o as h}from"./chunks/framework.cw3A9gZ3.js";const v=JSON.parse('{"title":"私有 Storage 数据","description":"","frontmatter":{},"headers":[],"relativePath":"guide/storage.md","filePath":"guide/storage.md"}'),k={name:"guide/storage.md"},o={id:"私有-storage-数据",tabindex:"-1"},r=a("a",{class:"header-anchor",href:"#私有-storage-数据","aria-label":'Permalink to "私有 Storage 数据 "'},"​",-1),g=p("",8);function d(E,c,y,F,_,m){const i=t("Badge");return h(),n("div",null,[a("h1",o,[s("私有 Storage 数据 "),l(i,{type:"pro",text:"专业版"}),s(),r]),g])}const C=e(k,[["render",d]]);export{v as __pageData,C as default}; diff --git a/assets/guide_store.md.KX3ugnIN.js b/assets/guide_store.md.KX3ugnIN.js new file mode 100644 index 00000000..eae674ac --- /dev/null +++ b/assets/guide_store.md.KX3ugnIN.js @@ -0,0 +1,16 @@ +import{_ as s,c as i,o as a,a5 as e}from"./chunks/framework.cw3A9gZ3.js";const g=JSON.parse('{"title":"全局状态管理","description":"","frontmatter":{},"headers":[],"relativePath":"guide/store.md","filePath":"guide/store.md"}'),n={name:"guide/store.md"},t=e(`

    全局状态管理

    TIP

    Pinia 已正式成为 Vue.js 官方状态库,如果你对 Pinia 还不熟悉,除了通过 Pinia 官网学习外,我还收集了一些文字/视频的介绍,可以帮助你快速上手。

    全局状态文件存放在 /src/store/modules/ 目录下,请按模块进行区分。同时请保证文件名和文件内唯一ID保持一致,建议使用 pnpm new 指令进行创建。

    例如新建一个 example.ts 的文件:

    ts
    const useExampleStore = defineStore(
    +  // 唯一ID
    +  'example',
    +  () => {
    +    const someThing = ref(0)
    +
    +    return {
    +      someThing,
    +    }
    +  },
    +)
    +
    +export default useExampleStore

    使用方法:

    ts
    import useExampleStore from '@/store/modules/example'
    +const exampleStore = useExampleStore()
    +
    +exampleStore.someThing
    `,7),l=[t];function p(h,k,r,d,o,c){return a(),i("div",null,l)}const y=s(n,[["render",p]]);export{g as __pageData,y as default}; diff --git a/assets/guide_store.md.KX3ugnIN.lean.js b/assets/guide_store.md.KX3ugnIN.lean.js new file mode 100644 index 00000000..240d9ebc --- /dev/null +++ b/assets/guide_store.md.KX3ugnIN.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as e}from"./chunks/framework.cw3A9gZ3.js";const g=JSON.parse('{"title":"全局状态管理","description":"","frontmatter":{},"headers":[],"relativePath":"guide/store.md","filePath":"guide/store.md"}'),n={name:"guide/store.md"},t=e("",7),l=[t];function p(h,k,r,d,o,c){return a(),i("div",null,l)}const y=s(n,[["render",p]]);export{g as __pageData,y as default}; diff --git a/assets/guide_svg-icon.md.DIDfO4u5.js b/assets/guide_svg-icon.md.DIDfO4u5.js new file mode 100644 index 00000000..9690bbc7 --- /dev/null +++ b/assets/guide_svg-icon.md.DIDfO4u5.js @@ -0,0 +1,12 @@ +import{_ as t,D as n,c as e,j as s,a as i,I as l,a5 as p,o as h,aC as k,aD as o}from"./chunks/framework.cw3A9gZ3.js";const I=JSON.parse('{"title":"图标","description":"","frontmatter":{},"headers":[],"relativePath":"guide/svg-icon.md","filePath":"guide/svg-icon.md"}'),r={name:"guide/svg-icon.md"},c=p(`

    图标

    框架提供了三种使用图标的方式,你可以根据自己的使用需求自行选择。

    自定义图标

    你可以去阿里巴巴矢量图标库,或者其它支持下载 SVG 图标文件的网站,又或者是设计师绘制的 SVG 文件,将准备好的 SVG 图标文件放到 /src/assets/icons/ 目录下,然后在页面中就可以通过 SvgIcon 组件使用了,name 就是 svg 的文件名。

    vue
    <!-- /src/assets/icons/example.svg -->
    +<SvgIcon name="example" />

    Iconify 图标

    介绍

    Iconify 提供 100+ 套图标集,有 100,000+ 个图标可以免费使用。

    除了可以在 Iconify 官网上查找搜需要的图标,你还可以在 Icônes 网站 上查找,这是一个基于 Iconify 的在线图标搜索网站,它比 Iconify 官网的操作更直观。

    Unocss 方案

    说明

    Unocss 方案采用了 CSS 去处理图标的展示,框架大部分核心模块里采用的是这种方式,如果你对其中的技术细节感兴趣,可以阅读这篇 Unocss 作者的《聊聊纯 CSS 图标》这篇文章。

    框架已经做好了所有配置,使用方式也极为简单,你只需进入 Iconify 官网 上查找 Iconify 提供的所有图标,然后点击需要使用的图标,复制图标名称,在任意原生 HTML 标签上通过设置 class ,格式为 i-{集合名}:{图标名},例如:

    vue
    <div class="i-ep:arrow-right" />
    +<i class="i-ep:search" />

    当然你同样也可以通过 SvgIcon 使用它。

    vue
    <SvgIcon name="i-ep:arrow-right" />

    在使用 Unocss 图标时,需要注意以下两点:

    • 图标字符串不支持拼接

      vue
      <!-- 这样不会生效 -->
      +<SvgIcon :name="'i-ep' + ':search'" />
    • 图标字符串不支持异步返回

      vue
      <!-- 这样不会生效 -->
      +<!-- 假设 name 是异步请求返回的数据,name 为 i-ep:search -->
      +<SvgIcon :name="name" />

    如果确实有以上需求,你可以使用 Iconify 原生提供的方案。

    Iconify 原生方案

    说明

    框架保留了 Iconify 官方提供的使用方式,格式为 {集合名}:{图标名}

    vue
    <script setup>
    +import { Icon } from '@iconify/vue'
    +</script>
    +
    +<template>
    +  <Icon icon="ep:arrow-right" />
    +</template>

    当然这么使用并没有很方便,依旧还是需要手动导入一个 Icon 组件。如果你也觉得麻烦的话,那么你可以使用 SvgIcon 组件来展示,框架已经帮你做好的所有处理。

    vue
    <SvgIcon name="ep:arrow-right" />

    离线/内网环境使用

    说明

    优先推荐使用 Unocss 方案,它不受网络环境限制,且相对于 Iconify 原生方案,它的性能更好。

    如果你清楚自己需要使用 Iconify 原生方案,并且想要在离线/内网环境使用,需要做一些额外的配置。因为 Iconify 图标默认是提供在线的服务,即首次调用会触发一个外部网络请求去获取 svg 原始数据,并缓存在 localStorage 和 sessionStorage 中,这样下次再调用的时候,则直接从缓存中获取并展示。

    框架提供了一份解决方案,在命令行执行 pnpm run generate:icons ,按照指引选择你需要用到的图标集(此处选择的图标集也是图标选择器里展示的图标集),并选择使用方式为离线。这样再在框架中使用这些图标,就不会触发外部网络请求了,但如果使用选择之外的图标,依旧还是会触发外部网络请求。

    `,28),d={id:"图标选择器",tabindex:"-1"},g=s("a",{class:"header-anchor",href:"#图标选择器","aria-label":'Permalink to "图标选择器 "'},"​",-1),E=s("p",null,"图标选择器是一个特殊的组件,它需要展示多套图标集内的所有图标。",-1),y=s("p",null,[i("通过执行 "),s("code",null,"pnpm run generate:icons"),i(" 命令,并按照指引完成操作后,图标选择器就会自动生效了。")],-1);function u(v,b,m,F,f,_){const a=n("Badge");return h(),e("div",null,[c,s("h2",d,[i("图标选择器 "),l(a,{type:"pro",text:"专业版"}),i(),g]),E,y])}const q=t(r,[["render",u]]);export{I as __pageData,q as default}; diff --git a/assets/guide_svg-icon.md.DIDfO4u5.lean.js b/assets/guide_svg-icon.md.DIDfO4u5.lean.js new file mode 100644 index 00000000..ea209d35 --- /dev/null +++ b/assets/guide_svg-icon.md.DIDfO4u5.lean.js @@ -0,0 +1 @@ +import{_ as t,D as n,c as e,j as s,a as i,I as l,a5 as p,o as h,aC as k,aD as o}from"./chunks/framework.cw3A9gZ3.js";const I=JSON.parse('{"title":"图标","description":"","frontmatter":{},"headers":[],"relativePath":"guide/svg-icon.md","filePath":"guide/svg-icon.md"}'),r={name:"guide/svg-icon.md"},c=p("",28),d={id:"图标选择器",tabindex:"-1"},g=s("a",{class:"header-anchor",href:"#图标选择器","aria-label":'Permalink to "图标选择器 "'},"​",-1),E=s("p",null,"图标选择器是一个特殊的组件,它需要展示多套图标集内的所有图标。",-1),y=s("p",null,[i("通过执行 "),s("code",null,"pnpm run generate:icons"),i(" 命令,并按照指引完成操作后,图标选择器就会自动生效了。")],-1);function u(v,b,m,F,f,_){const a=n("Badge");return h(),e("div",null,[c,s("h2",d,[i("图标选择器 "),l(a,{type:"pro",text:"专业版"}),i(),g]),E,y])}const q=t(r,[["render",u]]);export{I as __pageData,q as default}; diff --git a/assets/guide_theme.md.BDdWRKkQ.js b/assets/guide_theme.md.BDdWRKkQ.js new file mode 100644 index 00000000..334bb29c --- /dev/null +++ b/assets/guide_theme.md.BDdWRKkQ.js @@ -0,0 +1,237 @@ +import{_ as k,D as l,c as p,j as i,a as s,I as h,a5 as a,o as t,aE as e,aF as E,aG as r}from"./chunks/framework.cw3A9gZ3.js";const P=JSON.parse('{"title":"主题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/theme.md","filePath":"guide/theme.md"}'),g={name:"guide/theme.md"},d=a(`

    主题

    框架主题

    主题配色存放在 /themes/index.ts 文件中,基础版和专业版内容略有不同。

    基础版

    ts
    import { hex2rgba } from '@unocss/preset-mini/utils'
    +
    +export const lightTheme = {
    +  'color-scheme': 'light',
    +  // 内置 UI
    +  '--ui-primary': hex2rgba('#0f0f0f')!.join(' '),
    +  '--ui-text': hex2rgba('#fcfcfc')!.join(' '),
    +  // 主体
    +  '--g-app-bg': '#fff',
    +  '--g-main-bg': '#f2f2f2',
    +  '--g-border-color': '#f2f2f2',
    +  // 头部
    +  '--g-header-bg': '#fff',
    +  '--g-header-color': '#0f0f0f',
    +  '--g-header-menu-color': '#0f0f0f',
    +  '--g-header-menu-hover-bg': '#dde1e3',
    +  '--g-header-menu-hover-color': '#0f0f0f',
    +  '--g-header-menu-active-bg': '#0f0f0f',
    +  '--g-header-menu-active-color': '#fff',
    +  // 主导航
    +  '--g-main-sidebar-bg': '#f2f2f2',
    +  '--g-main-sidebar-menu-color': '#0f0f0f',
    +  '--g-main-sidebar-menu-hover-bg': '#dde1e3',
    +  '--g-main-sidebar-menu-hover-color': '#0f0f0f',
    +  '--g-main-sidebar-menu-active-bg': '#0f0f0f',
    +  '--g-main-sidebar-menu-active-color': '#fff',
    +  // 次导航
    +  '--g-sub-sidebar-bg': '#fff',
    +  '--g-sub-sidebar-logo-bg': '#0f0f0f',
    +  '--g-sub-sidebar-logo-color': '#fff',
    +  '--g-sub-sidebar-menu-color': '#0f0f0f',
    +  '--g-sub-sidebar-menu-hover-bg': '#dde1e3',
    +  '--g-sub-sidebar-menu-hover-color': '#0f0f0f',
    +  '--g-sub-sidebar-menu-active-bg': '#0f0f0f',
    +  '--g-sub-sidebar-menu-active-color': '#fff',
    +  // 工具栏
    +  '--g-toolbar-bg': '#fff',
    +}
    +
    +export const darkTheme = {
    +  'color-scheme': 'dark',
    +  // 内置 UI
    +  '--ui-primary': hex2rgba('#e5e5e5')!.join(' '),
    +  '--ui-text': hex2rgba('#0f0f0f')!.join(' '),
    +  // 主体
    +  '--g-app-bg': '#141414',
    +  '--g-main-bg': '#0a0a0a',
    +  '--g-border-color': '#15191e',
    +  // 头部
    +  '--g-header-bg': '#141414',
    +  '--g-header-color': '#e5e5e5',
    +  '--g-header-menu-color': '#a8a29e',
    +  '--g-header-menu-hover-bg': '#141414',
    +  '--g-header-menu-hover-color': '#e5e5e5',
    +  '--g-header-menu-active-bg': '#e5e5e5',
    +  '--g-header-menu-active-color': '#0a0a0a',
    +  // 主导航
    +  '--g-main-sidebar-bg': '#0a0a0a',
    +  '--g-main-sidebar-menu-color': '#a8a29e',
    +  '--g-main-sidebar-menu-hover-bg': '#141414',
    +  '--g-main-sidebar-menu-hover-color': '#e5e5e5',
    +  '--g-main-sidebar-menu-active-bg': '#e5e5e5',
    +  '--g-main-sidebar-menu-active-color': '#0a0a0a',
    +  // 次导航
    +  '--g-sub-sidebar-bg': '#141414',
    +  '--g-sub-sidebar-logo-bg': '#0f0f0f',
    +  '--g-sub-sidebar-logo-color': '#e5e5e5',
    +  '--g-sub-sidebar-menu-color': '#a8a29e',
    +  '--g-sub-sidebar-menu-hover-bg': '#0a0a0a',
    +  '--g-sub-sidebar-menu-hover-color': '#e5e5e5',
    +  '--g-sub-sidebar-menu-active-bg': '#e5e5e5',
    +  '--g-sub-sidebar-menu-active-color': '#0a0a0a',
    +  // 工具栏
    +  '--g-toolbar-bg': '#141414',
    +}

    专业版

    与基础版不同,专业版默认提供了 12 款主题,明亮和暗黑模式各 6 款,并且主题在运行时共存,可实现动态切换。

    ts
    import { hex2rgba } from '@unocss/preset-mini/utils'
    +
    +export default {
    +  light: {
    +    // 颜色主题
    +    'color-scheme': 'light',
    +    // 内置 UI
    +    '--ui-primary': hex2rgba('#0f0f0f')!.join(' '),
    +    '--ui-text': hex2rgba('#fcfcfc')!.join(' '),
    +    // 主体
    +    '--g-app-bg': '#fff',
    +    '--g-main-bg': '#f2f2f2',
    +    '--g-border-color': '#f2f2f2',
    +    // 头部
    +    '--g-header-bg': '#fff',
    +    '--g-header-color': '#0f0f0f',
    +    '--g-header-menu-color': '#0f0f0f',
    +    '--g-header-menu-hover-bg': '#dde1e3',
    +    '--g-header-menu-hover-color': '#0f0f0f',
    +    '--g-header-menu-active-bg': '#0f0f0f',
    +    '--g-header-menu-active-color': '#fff',
    +    // 主导航
    +    '--g-main-sidebar-bg': '#f2f2f2',
    +    '--g-main-sidebar-menu-color': '#0f0f0f',
    +    '--g-main-sidebar-menu-hover-bg': '#dde1e3',
    +    '--g-main-sidebar-menu-hover-color': '#0f0f0f',
    +    '--g-main-sidebar-menu-active-bg': '#0f0f0f',
    +    '--g-main-sidebar-menu-active-color': '#fff',
    +    // 次导航
    +    '--g-sub-sidebar-bg': '#fff',
    +    '--g-sub-sidebar-logo-bg': '#0f0f0f',
    +    '--g-sub-sidebar-logo-color': '#fff',
    +    '--g-sub-sidebar-menu-color': '#0f0f0f',
    +    '--g-sub-sidebar-menu-hover-bg': '#dde1e3',
    +    '--g-sub-sidebar-menu-hover-color': '#0f0f0f',
    +    '--g-sub-sidebar-menu-active-bg': '#0f0f0f',
    +    '--g-sub-sidebar-menu-active-color': '#fff',
    +    // 工具栏
    +    '--g-toolbar-bg': '#fff',
    +  },
    +  ...
    +  dark: {
    +    // 颜色主题
    +    'color-scheme': 'dark',
    +    // 内置 UI
    +    '--ui-primary': hex2rgba('#e5e5e5')!.join(' '),
    +    '--ui-text': hex2rgba('#0f0f0f')!.join(' '),
    +    // 主体
    +    '--g-app-bg': '#141414',
    +    '--g-main-bg': '#0a0a0a',
    +    '--g-border-color': '#15191e',
    +    // 头部
    +    '--g-header-bg': '#141414',
    +    '--g-header-color': '#e5e5e5',
    +    '--g-header-menu-color': '#a8a29e',
    +    '--g-header-menu-hover-bg': '#141414',
    +    '--g-header-menu-hover-color': '#e5e5e5',
    +    '--g-header-menu-active-bg': '#e5e5e5',
    +    '--g-header-menu-active-color': '#0a0a0a',
    +    // 主导航
    +    '--g-main-sidebar-bg': '#0a0a0a',
    +    '--g-main-sidebar-menu-color': '#a8a29e',
    +    '--g-main-sidebar-menu-hover-bg': '#141414',
    +    '--g-main-sidebar-menu-hover-color': '#e5e5e5',
    +    '--g-main-sidebar-menu-active-bg': '#e5e5e5',
    +    '--g-main-sidebar-menu-active-color': '#0a0a0a',
    +    // 次导航
    +    '--g-sub-sidebar-bg': '#141414',
    +    '--g-sub-sidebar-logo-bg': '#0f0f0f',
    +    '--g-sub-sidebar-logo-color': '#e5e5e5',
    +    '--g-sub-sidebar-menu-color': '#a8a29e',
    +    '--g-sub-sidebar-menu-hover-bg': '#0a0a0a',
    +    '--g-sub-sidebar-menu-hover-color': '#e5e5e5',
    +    '--g-sub-sidebar-menu-active-bg': '#e5e5e5',
    +    '--g-sub-sidebar-menu-active-color': '#0a0a0a',
    +    // 工具栏
    +    '--g-toolbar-bg': '#141414',
    +  },
    +  ...
    +}

    如果框架提供的主题风格满足不了你的需求,你还可以自定义新的主题。

    ts
    import { hex2rgba } from '@unocss/preset-mini/utils'
    +
    +export default {
    +  newThemeName: { // 主题名称
    +    // 颜色主题
    +    'color-scheme': 'light', // 可选值 light/dark ,表示该主题在明亮或暗黑模式下的配色
    +    // 内置 UI
    +    '--ui-primary': hex2rgba('#409eff')!.join(' '),
    +    '--ui-text': hex2rgba('#fcfcfc')!.join(' '),
    +    // 主体
    +    '--g-app-bg': '#fff',
    +    '--g-main-bg': '#f2f2f2',
    +    '--g-border-color': '#f2f2f2',
    +    // 头部
    +    '--g-header-bg': '#222b45',
    +    '--g-header-color': '#fff',
    +    '--g-header-menu-color': '#fff',
    +    '--g-header-menu-hover-bg': '#334067',
    +    '--g-header-menu-hover-color': '#fff',
    +    '--g-header-menu-active-bg': '#334067',
    +    '--g-header-menu-active-color': '#fff',
    +    // 主导航
    +    '--g-main-sidebar-bg': '#222b45',
    +    '--g-main-sidebar-menu-color': '#fff',
    +    '--g-main-sidebar-menu-hover-bg': '#334067',
    +    '--g-main-sidebar-menu-hover-color': '#fff',
    +    '--g-main-sidebar-menu-active-bg': '#334067',
    +    '--g-main-sidebar-menu-active-color': '#fff',
    +    // 次导航
    +    '--g-sub-sidebar-bg': '#fff',
    +    '--g-sub-sidebar-logo-bg': '#222b45',
    +    '--g-sub-sidebar-logo-color': '#fff',
    +    '--g-sub-sidebar-menu-color': '#0f0f0f',
    +    '--g-sub-sidebar-menu-hover-bg': '#dde1e3',
    +    '--g-sub-sidebar-menu-hover-color': '#0f0f0f',
    +    '--g-sub-sidebar-menu-active-bg': '#409eff',
    +    '--g-sub-sidebar-menu-active-color': '#fff',
    +    // 工具栏
    +    '--g-toolbar-bg': '#fff',
    +  },
    +}

    最后在应用配置中使用该主题:

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    // 如果主题是暗黑模式下使用的,则 darkTheme: 'newThemeName'
    +    lightTheme: 'newThemeName',
    +  },
    +}

    颜色方案

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    /**
    +     * 留空跟随系统
    +     * light 明亮模式
    +     * dark 暗黑模式
    +     */
    +    colorScheme: '',
    +  },
    +}
    `,16),F={id:"哀悼模式",tabindex:"-1"},y=i("a",{class:"header-anchor",href:"#哀悼模式","aria-label":'Permalink to "哀悼模式 "'},"​",-1),c=a(`

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    enableMournMode: true,
    +  },
    +}
    `,2),o={id:"色弱模式",tabindex:"-1"},C=i("a",{class:"header-anchor",href:"#色弱模式","aria-label":'Permalink to "色弱模式 "'},"​",-1),B=a(`

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    enableColorAmblyopiaMode: true,
    +  },
    +}
    `,2),b={id:"导航栏风格",tabindex:"-1"},f=i("a",{class:"header-anchor",href:"#导航栏风格","aria-label":'Permalink to "导航栏风格 "'},"​",-1),u=a(`

    风格

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    /**
    +     * 留空默认
    +     * arrow 箭头
    +     * line 线条
    +     * dot 圆点
    +     */
    +    style: '', // v4.5.0 之前版本为 menuActiveStyle
    +  },
    +}

    圆角

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    // 导航栏是否圆角
    +    isRounded: true,
    +  },
    +}

    开发注意

    如果只在明亮或暗黑模式中,选择其中一种模式进行业务开发,那没有什么需要注意的,你可以按照以往的开发习惯进行开发,这也是框架推荐的方式。

    但如果需要让用户可以自己选择明亮或暗黑模式,或者是根据浏览器主题来判断是使用明亮还是暗黑模式。这时候开发则需要注意,业务页面里使用到的颜色将不能写成固定值(例如 color 、background-color 、border-color 、box-shadow 等有涉及到颜色的属性),因为同一个色值是无法顾及到明亮和暗黑两种模式的。

    这时候我们建议使用 UnoCSS 进行样式编写,例如 text-dark dark-text-whitebg-green dark-bg-red 。如果你不习惯使用 UnoCSS ,那也可以使用下面这种方法,在页面中去自定义一些颜色。

    scss
    div {
    +  color: #000;
    +
    +  [data-theme="dark"] & {
    +    color: #fff;
    +  }
    +}

    最后分享一篇关于暗黑模式的文章《教你巧用UI设计中的暗黑模式——Dark Mode》,希望帮助你更好地在暗黑模式下开发出优秀的页面。

    `,14);function m(A,D,v,_,x,S){const n=l("Badge");return t(),p("div",null,[d,i("h2",F,[s("哀悼模式 "),h(n,{type:"tip",text:"v4.5.0 新增"}),s(),y]),c,i("h2",o,[s("色弱模式 "),h(n,{type:"tip",text:"v4.5.0 新增"}),s(),C]),B,i("h2",b,[s("导航栏风格 "),h(n,{type:"pro",text:"专业版"}),s(),f]),u])}const q=k(g,[["render",m]]);export{P as __pageData,q as default}; diff --git a/assets/guide_theme.md.BDdWRKkQ.lean.js b/assets/guide_theme.md.BDdWRKkQ.lean.js new file mode 100644 index 00000000..c1c5eb2e --- /dev/null +++ b/assets/guide_theme.md.BDdWRKkQ.lean.js @@ -0,0 +1 @@ +import{_ as k,D as l,c as p,j as i,a as s,I as h,a5 as a,o as t,aE as e,aF as E,aG as r}from"./chunks/framework.cw3A9gZ3.js";const P=JSON.parse('{"title":"主题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/theme.md","filePath":"guide/theme.md"}'),g={name:"guide/theme.md"},d=a("",16),F={id:"哀悼模式",tabindex:"-1"},y=i("a",{class:"header-anchor",href:"#哀悼模式","aria-label":'Permalink to "哀悼模式 "'},"​",-1),c=a("",2),o={id:"色弱模式",tabindex:"-1"},C=i("a",{class:"header-anchor",href:"#色弱模式","aria-label":'Permalink to "色弱模式 "'},"​",-1),B=a("",2),b={id:"导航栏风格",tabindex:"-1"},f=i("a",{class:"header-anchor",href:"#导航栏风格","aria-label":'Permalink to "导航栏风格 "'},"​",-1),u=a("",14);function m(A,D,v,_,x,S){const n=l("Badge");return t(),p("div",null,[d,i("h2",F,[s("哀悼模式 "),h(n,{type:"tip",text:"v4.5.0 新增"}),s(),y]),c,i("h2",o,[s("色弱模式 "),h(n,{type:"tip",text:"v4.5.0 新增"}),s(),C]),B,i("h2",b,[s("导航栏风格 "),h(n,{type:"pro",text:"专业版"}),s(),f]),u])}const q=k(g,[["render",m]]);export{P as __pageData,q as default}; diff --git a/assets/guide_toolbar.md.CpV-anBK.js b/assets/guide_toolbar.md.CpV-anBK.js new file mode 100644 index 00000000..82fcc2e0 --- /dev/null +++ b/assets/guide_toolbar.md.CpV-anBK.js @@ -0,0 +1,33 @@ +import{_ as n,D as l,c as e,j as i,a as s,I as h,a5 as a,o as p,aH as k}from"./chunks/framework.cw3A9gZ3.js";const V=JSON.parse('{"title":"工具栏","description":"","frontmatter":{},"headers":[],"relativePath":"guide/toolbar.md","filePath":"guide/toolbar.md"}'),d={name:"guide/toolbar.md"},E=a('

    工具栏

    工具栏主要是红框处各类功能图标。

    窗口预览

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    previewWindows: true,
    +  },
    +}
    `,6),r={id:"收藏夹",tabindex:"-1"},g=i("a",{class:"header-anchor",href:"#收藏夹","aria-label":'Permalink to "收藏夹 "'},"​",-1),o=a(`

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    favorites: true,
    +  },
    +}

    详细可阅读《收藏夹》。

    导航搜索

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    navSearch: true,
    +  },
    +}
    `,6),c={id:"通知中心",tabindex:"-1"},y=i("a",{class:"header-anchor",href:"#通知中心","aria-label":'Permalink to "通知中心 "'},"​",-1),F=a(`

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    notification: true,
    +  },
    +}

    通知中心不涉及具体业务,需开发者自行实现,相关文件在:

    • /src/views/components/Tools/Notification/index.vue 通知中心下拉预览面板
    • /src/views/windows/PersonalNotification/index.vue 通知中心页面
    `,4),_={id:"国际化",tabindex:"-1"},C=i("a",{class:"header-anchor",href:"#国际化","aria-label":'Permalink to "国际化 "'},"​",-1),b=a(`

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    i18n: true,
    +  },
    +}

    如果设置为不启用,并不代表不支持国际化切换,只是不会在工具栏显示切换语言的图标,详细可阅读《国际化》。

    浏览器全屏

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    fullscreen: true,
    +  },
    +}

    颜色主题

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    colorScheme: true,
    +  },
    +}

    如果设置为不启用,并不代表不支持颜色主题切换,只是不会在工具栏显示切换颜色主题的图标。

    `,10),u={id:"布局",tabindex:"-1"},v=i("a",{class:"header-anchor",href:"#布局","aria-label":'Permalink to "布局 "'},"​",-1),B=a(`

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    layout: ['previewWindows', 'favorites', '->', 'navSearch', 'notification', 'i18n', 'fullscreen', 'colorScheme'],
    +  },
    +}

    可自定义摆放位置和顺序,其中 -> 为分隔符,用于分隔左右两侧的工具栏。修改时请确保提供的所有值都存在,不可删减。

    `,3);function m(A,S,T,x,D,f){const t=l("Badge");return p(),e("div",null,[E,i("h2",r,[s("收藏夹 "),h(t,{type:"pro",text:"专业版"}),s(),g]),o,i("h2",c,[s("通知中心 "),h(t,{type:"pro",text:"专业版"}),s(),y]),F,i("h2",_,[s("国际化 "),h(t,{type:"pro",text:"专业版"}),s(),C]),b,i("h2",u,[s("布局 "),h(t,{type:"pro",text:"专业版"}),s(),v]),B])}const N=n(d,[["render",m]]);export{V as __pageData,N as default}; diff --git a/assets/guide_toolbar.md.CpV-anBK.lean.js b/assets/guide_toolbar.md.CpV-anBK.lean.js new file mode 100644 index 00000000..e5121fdf --- /dev/null +++ b/assets/guide_toolbar.md.CpV-anBK.lean.js @@ -0,0 +1 @@ +import{_ as n,D as l,c as e,j as i,a as s,I as h,a5 as a,o as p,aH as k}from"./chunks/framework.cw3A9gZ3.js";const V=JSON.parse('{"title":"工具栏","description":"","frontmatter":{},"headers":[],"relativePath":"guide/toolbar.md","filePath":"guide/toolbar.md"}'),d={name:"guide/toolbar.md"},E=a("",6),r={id:"收藏夹",tabindex:"-1"},g=i("a",{class:"header-anchor",href:"#收藏夹","aria-label":'Permalink to "收藏夹 "'},"​",-1),o=a("",6),c={id:"通知中心",tabindex:"-1"},y=i("a",{class:"header-anchor",href:"#通知中心","aria-label":'Permalink to "通知中心 "'},"​",-1),F=a("",4),_={id:"国际化",tabindex:"-1"},C=i("a",{class:"header-anchor",href:"#国际化","aria-label":'Permalink to "国际化 "'},"​",-1),b=a("",10),u={id:"布局",tabindex:"-1"},v=i("a",{class:"header-anchor",href:"#布局","aria-label":'Permalink to "布局 "'},"​",-1),B=a("",3);function m(A,S,T,x,D,f){const t=l("Badge");return p(),e("div",null,[E,i("h2",r,[s("收藏夹 "),h(t,{type:"pro",text:"专业版"}),s(),g]),o,i("h2",c,[s("通知中心 "),h(t,{type:"pro",text:"专业版"}),s(),y]),F,i("h2",_,[s("国际化 "),h(t,{type:"pro",text:"专业版"}),s(),C]),b,i("h2",u,[s("布局 "),h(t,{type:"pro",text:"专业版"}),s(),v]),B])}const N=n(d,[["render",m]]);export{V as __pageData,N as default}; diff --git a/assets/guide_upgrade.md.D5NOrwqF.js b/assets/guide_upgrade.md.D5NOrwqF.js new file mode 100644 index 00000000..0baae459 --- /dev/null +++ b/assets/guide_upgrade.md.D5NOrwqF.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a5 as o}from"./chunks/framework.cw3A9gZ3.js";const g=JSON.parse('{"title":"框架更新","description":"","frontmatter":{},"headers":[],"relativePath":"guide/upgrade.md","filePath":"guide/upgrade.md"}'),p={name:"guide/upgrade.md"},r=o('

    框架更新

    首先明确一点,One-step-admin 无法像 npm 的插件一样更新,不仅我们的框架如此,其实大部分管理系统框架都是如此。

    因为本质上这类框架其实是一个初始模板,开发者会根据自身需求去修改,然后基于业务开展业务代码编写。

    所以一旦下载开始使用,基本是无法更新的,你在哪个时间点开始使用,项目就固定在什么版本了。

    虽然有小部分框架选择将部分核心源码封装成 npm 依赖包,由作者全权维护,这样的处理在一定程度上有解决版本更新的问题,但弊端也很明显,开发者在二次开发上会有明显的局限,作者认为是得不偿失的。

    那有没有解决办法么?其实也有,参考如下:

    1. 在基于 One-step-admin 做项目开发时尽量避免框架自带模块或组件的改动,或者改动地方做一个文档记录,可以清楚知道改动了哪些,这样当你需要进行新版本更新时,按照之前记录的文档可以有个大致的迁移方案,而业务代码则可以直接拷贝过去。
    2. 我们尽量在提交代码时标明每次提交改动的变更记录说明,这样你可以选择性的更新部分新代码到项目中,也就是局部更新。这种方案也是作者在公司内部项目经常使用的,因为大部分项目是无需全局更新到新版的,只需将必要的一些新特性或 bug 修复同步到原有项目中即可。
    3. 使用文件比较工具,例如 Beyond Compare,这款工具可以直接对比文件夹,可以清晰的列出文件夹内所有文件的差异,可以协助升级工作开展。

    当然个人建议是,做为一个中后台系统框架,稳定是第一诉求,不到万不得已不建议频繁更新,因为更新的成本挺高的,每一次大更新,都需要一次完整的回归测试,以确保功能正常运行。

    ',8),n=[r];function i(s,_,d,c,l,u){return a(),t("div",null,n)}const h=e(p,[["render",i]]);export{g as __pageData,h as default}; diff --git a/assets/guide_upgrade.md.D5NOrwqF.lean.js b/assets/guide_upgrade.md.D5NOrwqF.lean.js new file mode 100644 index 00000000..e2a392d4 --- /dev/null +++ b/assets/guide_upgrade.md.D5NOrwqF.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a5 as o}from"./chunks/framework.cw3A9gZ3.js";const g=JSON.parse('{"title":"框架更新","description":"","frontmatter":{},"headers":[],"relativePath":"guide/upgrade.md","filePath":"guide/upgrade.md"}'),p={name:"guide/upgrade.md"},r=o("",8),n=[r];function i(s,_,d,c,l,u){return a(),t("div",null,n)}const h=e(p,[["render",i]]);export{g as __pageData,h as default}; diff --git a/assets/guide_vue3-composition-api.md.DwQchkYK.js b/assets/guide_vue3-composition-api.md.DwQchkYK.js new file mode 100644 index 00000000..20093e1d --- /dev/null +++ b/assets/guide_vue3-composition-api.md.DwQchkYK.js @@ -0,0 +1,19 @@ +import{_ as s,c as i,o as a,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"使用 Composition API 开发","description":"","frontmatter":{},"headers":[],"relativePath":"guide/vue3-composition-api.md","filePath":"guide/vue3-composition-api.md"}'),n={name:"guide/vue3-composition-api.md"},p=t(`

    使用 Composition API 开发

    TIP

    Composition API 是 Vue3 全新提供的一种语法,对于从 Vue2 就在使用的开发者,如果一时半会没办法立马上手 Composition API ,你依旧可以在项目中使用 Options API 做开发。当然我们更建议你使用 Composition API 进行开发,它比 Options API 更灵活且易读。

    使用

    如果你还不熟悉 Composition API ,那么我们建议你阅读 Vue3 官方文档了解;如果你已经熟悉 Composition API ,那么我们建议你在开发的时候,使用 <script setup> 语法糖进行开发,它将提高很多开发上的效率。

    同时得益于 unplugin-auto-import 的特性,在 <script setup> 里无需导入相关 API ,该依赖会自动导入(默认支持 vue,vue-router 和 pinia )。

    vue
    <script setup lang="ts">
    +// 无需手动 import 相关 API
    +import { computed, ref } from 'vue'
    +
    +const count = ref(0)
    +const doubled = computed(() => count.value * 2)
    +</script>

    组件 name

    <script setup> 可以和普通的 <script> 一起使用,所以可以这样定义组件 name:

    vue
    <script lang="ts">
    +export default {
    +  name: 'componentName',
    +}
    +</script>
    +
    +<script setup lang="ts">
    +...
    +</script>

    Vue 3.3 开始,你可以使用 defineOptions<script setup> 里定义组件的 name:

    vue
    <script setup lang="ts">
    +defineOptions({
    +  name: 'ComponentName',
    +})
    +</script>
    `,11),h=[p];function e(l,k,r,o,E,d){return a(),i("div",null,h)}const u=s(n,[["render",e]]);export{c as __pageData,u as default}; diff --git a/assets/guide_vue3-composition-api.md.DwQchkYK.lean.js b/assets/guide_vue3-composition-api.md.DwQchkYK.lean.js new file mode 100644 index 00000000..e9f6a17b --- /dev/null +++ b/assets/guide_vue3-composition-api.md.DwQchkYK.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a5 as t}from"./chunks/framework.cw3A9gZ3.js";const c=JSON.parse('{"title":"使用 Composition API 开发","description":"","frontmatter":{},"headers":[],"relativePath":"guide/vue3-composition-api.md","filePath":"guide/vue3-composition-api.md"}'),n={name:"guide/vue3-composition-api.md"},p=t("",11),h=[p];function e(l,k,r,o,E,d){return a(),i("div",null,h)}const u=s(n,[["render",e]]);export{c as __pageData,u as default}; diff --git a/assets/guide_watermark.md.D1zi5oiQ.js b/assets/guide_watermark.md.D1zi5oiQ.js new file mode 100644 index 00000000..4da0cff9 --- /dev/null +++ b/assets/guide_watermark.md.D1zi5oiQ.js @@ -0,0 +1,17 @@ +import{_ as t,D as n,c as e,j as a,a as s,I as p,a5 as l,o as h,aI as k}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"页面水印","description":"","frontmatter":{},"headers":[],"relativePath":"guide/watermark.md","filePath":"guide/watermark.md"}'),r={name:"guide/watermark.md"},d={id:"页面水印",tabindex:"-1"},E=a("a",{class:"header-anchor",href:"#页面水印","aria-label":'Permalink to "页面水印 "'},"​",-1),o=l(`

    使用

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    enableWatermark: true,
    +  },
    +}

    效果如下:

    设置水印内容

    /src/store/modules/watermark.ts 中可修改水印展示内容,以及其他水印相关配置。

    水印同时支持动态更新,示例:

    vue
    <script setup lang="ts">
    +import useWatermarkStore from '@/store/modules/watermark'
    +
    +const watermarkStore = useWatermarkStore()
    +
    +watermarkStore.update({
    +  text: '设置水印',
    +  // 更多设置项请查看 /src/utils/watermark.ts 中 settingsType 类型定义
    +})
    +
    +// 重置水印,恢复到默认设置
    +watermarkStore.update()
    +</script>
    `,9);function g(c,y,m,F,u,_){const i=n("Badge");return h(),e("div",null,[a("h1",d,[s("页面水印 "),p(i,{type:"pro",text:"专业版"}),s(),E]),o])}const B=t(r,[["render",g]]);export{b as __pageData,B as default}; diff --git a/assets/guide_watermark.md.D1zi5oiQ.lean.js b/assets/guide_watermark.md.D1zi5oiQ.lean.js new file mode 100644 index 00000000..63e7ac38 --- /dev/null +++ b/assets/guide_watermark.md.D1zi5oiQ.lean.js @@ -0,0 +1 @@ +import{_ as t,D as n,c as e,j as a,a as s,I as p,a5 as l,o as h,aI as k}from"./chunks/framework.cw3A9gZ3.js";const b=JSON.parse('{"title":"页面水印","description":"","frontmatter":{},"headers":[],"relativePath":"guide/watermark.md","filePath":"guide/watermark.md"}'),r={name:"guide/watermark.md"},d={id:"页面水印",tabindex:"-1"},E=a("a",{class:"header-anchor",href:"#页面水印","aria-label":'Permalink to "页面水印 "'},"​",-1),o=l("",9);function g(c,y,m,F,u,_){const i=n("Badge");return h(),e("div",null,[a("h1",d,[s("页面水印 "),p(i,{type:"pro",text:"专业版"}),s(),E]),o])}const B=t(r,[["render",g]]);export{b as __pageData,B as default}; diff --git a/assets/guide_why.md.BBaavQ7w.js b/assets/guide_why.md.BBaavQ7w.js new file mode 100644 index 00000000..5224e5e3 --- /dev/null +++ b/assets/guide_why.md.BBaavQ7w.js @@ -0,0 +1 @@ +import{c as r,j as a,a as t,t as i,k as o,a5 as d,o as l,aJ as c,aK as h,aL as p,aM as m,aN as _}from"./chunks/framework.cw3A9gZ3.js";const u=a("h1",{id:"为什么选择我们",tabindex:"-1"},[t("为什么选择我们 ? "),a("a",{class:"header-anchor",href:"#为什么选择我们","aria-label":'Permalink to "为什么选择我们 ?"'},"​")],-1),b=a("p",null,"如果你正在做后台框架相关的调研或选型,相信这篇介绍能帮助你快速了解 One-step-admin 的特点,以及与传统后台框架的对比。",-1),f=a("h2",{id:"长期且稳定",tabindex:"-1"},[t("长期且稳定 "),a("a",{class:"header-anchor",href:"#长期且稳定","aria-label":'Permalink to "长期且稳定"'},"​")],-1),g=d('

    高效的交互方式

    摆脱传统后台框架路由跳转的交互,将每个模块以窗口的形式展示在同一个界面中,让使用人员可以做到跨模块的多线操作。

    窗口最大化

    窗口默认宽度为 800px ,可以在项目中进行调整,也可以通过最大化按钮将窗口最大化展示,以便展示更多信息。

    快速定位操作窗口

    提供的预览界面可以帮助使用人员快速定位到需要操作的窗口。

    专注模式

    可勾选多个窗口平均分布在页面中,专注于所勾选的窗口进行操作。

    窗口排序

    快速调整窗口的展示顺序。

    继承自 Fantastic-admin

    本框架继承了 Fantastic-admin 许多优秀的特性。例如同样提供了 5 款导航栏模式,3 款导航栏风格以及 6 款主题配色,导航也提供了各种展示形态的设置,显隐、标题、图标、徽标、外链等。

    为什么不是 Fantastic-admin ?

    这里的 Fantastic-admin 代表了市面上几乎所有的传统后台框架,它们的优势在于理解成本低,每个页面的功能明确,需要做什么操作就进入不同的页面。

    而劣势也是因为这种优势导致的,例如要在多个模块之间进行操作,就需要频繁切换路由,而切换路由会导致之前页面上的数据丢失,进而扩展了页面缓存和标签栏的特性,但也变相增加了开发人员的开发成本。其次现在的显示器都在往高分屏/带鱼屏发展,当页面展示内容不多的时候,界面上会显示大量的留白,造成空间浪费。

    基于传统后台框架的这些痛点,One-step-admin 应运而生,它探索出了一种全新的交互方式,有效提高了使用人员的操作效率,同时也减轻了开发人员的开发成本

    以上面举例的场景,在 One-step-admin 里,因为模块都以窗口的形式在同一个界面上展示,所以就不存在切换路由,也就不存在切换路由导致页面数据丢失的场景,开发人员只需关注模块内的业务实现即可。

    ',22),F=JSON.parse('{"title":"为什么选择我们 ?","description":"","frontmatter":{},"headers":[],"relativePath":"guide/why.md","filePath":"guide/why.md"}'),q={name:"guide/why.md"},N=Object.assign(q,{setup(x){const e="2021/11/01",n=new Date().getTime()/1e3-new Date(e).getTime()/1e3,s=parseInt(n/60/60/24);return(P,k)=>(l(),r("div",null,[u,b,f,a("p",null,[t("One-step-admin 自 "+i(e)+" 正式对外发布,截止到今天为止,已持续维护 "),a("strong",null,i(o(s)),1),t(" 天。")]),g]))}});export{F as __pageData,N as default}; diff --git a/assets/guide_why.md.BBaavQ7w.lean.js b/assets/guide_why.md.BBaavQ7w.lean.js new file mode 100644 index 00000000..8951b4e1 --- /dev/null +++ b/assets/guide_why.md.BBaavQ7w.lean.js @@ -0,0 +1 @@ +import{c as r,j as a,a as t,t as i,k as o,a5 as d,o as l,aJ as c,aK as h,aL as p,aM as m,aN as _}from"./chunks/framework.cw3A9gZ3.js";const u=a("h1",{id:"为什么选择我们",tabindex:"-1"},[t("为什么选择我们 ? "),a("a",{class:"header-anchor",href:"#为什么选择我们","aria-label":'Permalink to "为什么选择我们 ?"'},"​")],-1),b=a("p",null,"如果你正在做后台框架相关的调研或选型,相信这篇介绍能帮助你快速了解 One-step-admin 的特点,以及与传统后台框架的对比。",-1),f=a("h2",{id:"长期且稳定",tabindex:"-1"},[t("长期且稳定 "),a("a",{class:"header-anchor",href:"#长期且稳定","aria-label":'Permalink to "长期且稳定"'},"​")],-1),g=d("",22),F=JSON.parse('{"title":"为什么选择我们 ?","description":"","frontmatter":{},"headers":[],"relativePath":"guide/why.md","filePath":"guide/why.md"}'),q={name:"guide/why.md"},N=Object.assign(q,{setup(x){const e="2021/11/01",n=new Date().getTime()/1e3-new Date(e).getTime()/1e3,s=parseInt(n/60/60/24);return(P,k)=>(l(),r("div",null,[u,b,f,a("p",null,[t("One-step-admin 自 "+i(e)+" 正式对外发布,截止到今天为止,已持续维护 "),a("strong",null,i(o(s)),1),t(" 天。")]),g]))}});export{F as __pageData,N as default}; diff --git a/assets/guide_window.md.CVVYphVf.js b/assets/guide_window.md.CVVYphVf.js new file mode 100644 index 00000000..247a6eb9 --- /dev/null +++ b/assets/guide_window.md.CVVYphVf.js @@ -0,0 +1 @@ +import{_ as e,c as o,o as t,a5 as a}from"./chunks/framework.cw3A9gZ3.js";const w=JSON.parse('{"title":"窗口","description":"","frontmatter":{},"headers":[],"relativePath":"guide/window.md","filePath":"guide/window.md"}'),c={name:"guide/window.md"},d=a('

    窗口

    窗口即组件,存放在 /src/views/windows/ 目录下,类似于全局组件,文件夹名即为组件名,在窗口打开的时候会动态加载组件。

    每个窗口的文件夹内至少保留一个文件名为 index.vue 的入口文件。

    注意

    由于窗口展示的特殊性,请勿在窗口组件内使用 position: fixed; 样式。

    ',4),i=[d];function s(n,_,r,p,l,u){return t(),o("div",null,i)}const h=e(c,[["render",s]]);export{w as __pageData,h as default}; diff --git a/assets/guide_window.md.CVVYphVf.lean.js b/assets/guide_window.md.CVVYphVf.lean.js new file mode 100644 index 00000000..ad074582 --- /dev/null +++ b/assets/guide_window.md.CVVYphVf.lean.js @@ -0,0 +1 @@ +import{_ as e,c as o,o as t,a5 as a}from"./chunks/framework.cw3A9gZ3.js";const w=JSON.parse('{"title":"窗口","description":"","frontmatter":{},"headers":[],"relativePath":"guide/window.md","filePath":"guide/window.md"}'),c={name:"guide/window.md"},d=a("",4),i=[d];function s(n,_,r,p,l,u){return t(),o("div",null,i)}const h=e(c,[["render",s]]);export{w as __pageData,h as default}; diff --git a/assets/index.md.DT-26Slf.js b/assets/index.md.DT-26Slf.js new file mode 100644 index 00000000..88645951 --- /dev/null +++ b/assets/index.md.DT-26Slf.js @@ -0,0 +1 @@ +import{y as n,c as a,o}from"./chunks/framework.cw3A9gZ3.js";function s(){const e=document.querySelector("div.VPHero.has-image.VPHomeHero > div > div.main > h1.name"),t=document.createElement("sup");t.classList.add("pure-tag"),t.textContent="纯前端框架",e==null||e.appendChild(t)}function l(){return fetch("https://api.github.com/repos/one-step-admin/basic/releases/latest").then(e=>e.json()).then(e=>e.tag_name??"").then(e=>{if(!e)return;const t=document.querySelector("div.VPHero.has-image.VPHomeHero > div > div.main > p.tagline"),i=document.createElement("samp");i.classList.add("github-release-tag"),i.textContent=e,t==null||t.appendChild(i)})}const m=JSON.parse('{"title":"One-step-admin","titleTemplate":"一款 Vue 中后台管理系统框架","description":"","frontmatter":{"layout":"home","title":"One-step-admin","titleTemplate":"一款 Vue 中后台管理系统框架","hero":{"name":"One-step-admin","text":"巧妙的管理系统框架","tagline":"快人一步,给你不一样的使用体验","image":{"src":"/logo.png","alt":"Vite"},"actions":[{"theme":"brand","text":"开始","link":"/guide/intro"},{"theme":"alt","text":"为什么选我们 ?","link":"/guide/why"},{"theme":"alt","text":"更新日志","link":"/guide/changelog"},{"theme":"cta buy","text":"购买合集,优惠更多","link":"/buy"},{"theme":"cta","text":"演示地址:基础版 ↗","link":"https://one-step-admin.github.io/basic-example"},{"theme":"cta","text":"演示地址:专业版 ↗","link":"https://one-step-admin.github.io/pro-example"}]},"features":[{"icon":"💪","title":"先进的技术栈","details":"Vite + Vue3 + Pinia + TypeScript ,采用业内先进的技术栈,使框架始终保持新鲜"},{"icon":"🖥️","title":"高效操作","details":"采用全新交互方式,大幅提升操作效率,更好的利用高分屏/带鱼屏显示器"},{"icon":"🎨","title":"风格百变","details":"通过布局与主题组合搭配,可实现数百种不同风格的界面"},{"icon":"🗺️","title":"多功能导航栏","details":"支持前/后端生成导航栏,轻松实现导航嵌套、外链、标记、权限等功能"},{"icon":"🔑","title":"全场景权限验证","details":"内置鉴权组件、鉴权指令和鉴权函数,真正实现各种场景下的权限验证"},{"icon":"🌐","title":"面向国际","details":"内置业内通用国际化解决方案,通过简单配置实现多国语言切换"},{"icon":"📦","title":"丰富的组件","details":"内置常用组件,提高开发效率;同时提供组件快速生成工具"},{"icon":"📃","title":"丰富的业务页面","details":"通过真实场景及真实需求,沉淀出数十个业务应用的静态页面,方便开发人员直接使用"}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),c={name:"index.md"},p=Object.assign(c,{setup(e){return n(()=>{s(),l()}),(t,i)=>(o(),a("div"))}});export{m as __pageData,p as default}; diff --git a/assets/index.md.DT-26Slf.lean.js b/assets/index.md.DT-26Slf.lean.js new file mode 100644 index 00000000..88645951 --- /dev/null +++ b/assets/index.md.DT-26Slf.lean.js @@ -0,0 +1 @@ +import{y as n,c as a,o}from"./chunks/framework.cw3A9gZ3.js";function s(){const e=document.querySelector("div.VPHero.has-image.VPHomeHero > div > div.main > h1.name"),t=document.createElement("sup");t.classList.add("pure-tag"),t.textContent="纯前端框架",e==null||e.appendChild(t)}function l(){return fetch("https://api.github.com/repos/one-step-admin/basic/releases/latest").then(e=>e.json()).then(e=>e.tag_name??"").then(e=>{if(!e)return;const t=document.querySelector("div.VPHero.has-image.VPHomeHero > div > div.main > p.tagline"),i=document.createElement("samp");i.classList.add("github-release-tag"),i.textContent=e,t==null||t.appendChild(i)})}const m=JSON.parse('{"title":"One-step-admin","titleTemplate":"一款 Vue 中后台管理系统框架","description":"","frontmatter":{"layout":"home","title":"One-step-admin","titleTemplate":"一款 Vue 中后台管理系统框架","hero":{"name":"One-step-admin","text":"巧妙的管理系统框架","tagline":"快人一步,给你不一样的使用体验","image":{"src":"/logo.png","alt":"Vite"},"actions":[{"theme":"brand","text":"开始","link":"/guide/intro"},{"theme":"alt","text":"为什么选我们 ?","link":"/guide/why"},{"theme":"alt","text":"更新日志","link":"/guide/changelog"},{"theme":"cta buy","text":"购买合集,优惠更多","link":"/buy"},{"theme":"cta","text":"演示地址:基础版 ↗","link":"https://one-step-admin.github.io/basic-example"},{"theme":"cta","text":"演示地址:专业版 ↗","link":"https://one-step-admin.github.io/pro-example"}]},"features":[{"icon":"💪","title":"先进的技术栈","details":"Vite + Vue3 + Pinia + TypeScript ,采用业内先进的技术栈,使框架始终保持新鲜"},{"icon":"🖥️","title":"高效操作","details":"采用全新交互方式,大幅提升操作效率,更好的利用高分屏/带鱼屏显示器"},{"icon":"🎨","title":"风格百变","details":"通过布局与主题组合搭配,可实现数百种不同风格的界面"},{"icon":"🗺️","title":"多功能导航栏","details":"支持前/后端生成导航栏,轻松实现导航嵌套、外链、标记、权限等功能"},{"icon":"🔑","title":"全场景权限验证","details":"内置鉴权组件、鉴权指令和鉴权函数,真正实现各种场景下的权限验证"},{"icon":"🌐","title":"面向国际","details":"内置业内通用国际化解决方案,通过简单配置实现多国语言切换"},{"icon":"📦","title":"丰富的组件","details":"内置常用组件,提高开发效率;同时提供组件快速生成工具"},{"icon":"📃","title":"丰富的业务页面","details":"通过真实场景及真实需求,沉淀出数十个业务应用的静态页面,方便开发人员直接使用"}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),c={name:"index.md"},p=Object.assign(c,{setup(e){return n(()=>{s(),l()}),(t,i)=>(o(),a("div"))}});export{m as __pageData,p as default}; diff --git a/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 b/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 new file mode 100644 index 00000000..b6b603d5 Binary files /dev/null and b/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 differ diff --git a/assets/inter-italic-cyrillic.By2_1cv3.woff2 b/assets/inter-italic-cyrillic.By2_1cv3.woff2 new file mode 100644 index 00000000..def40a4f Binary files /dev/null and b/assets/inter-italic-cyrillic.By2_1cv3.woff2 differ diff --git a/assets/inter-italic-greek-ext.1u6EdAuj.woff2 b/assets/inter-italic-greek-ext.1u6EdAuj.woff2 new file mode 100644 index 00000000..e070c3d3 Binary files /dev/null and b/assets/inter-italic-greek-ext.1u6EdAuj.woff2 differ diff --git a/assets/inter-italic-greek.DJ8dCoTZ.woff2 b/assets/inter-italic-greek.DJ8dCoTZ.woff2 new file mode 100644 index 00000000..a3c16ca4 Binary files /dev/null and b/assets/inter-italic-greek.DJ8dCoTZ.woff2 differ diff --git a/assets/inter-italic-latin-ext.CN1xVJS-.woff2 b/assets/inter-italic-latin-ext.CN1xVJS-.woff2 new file mode 100644 index 00000000..2210a899 Binary files /dev/null and b/assets/inter-italic-latin-ext.CN1xVJS-.woff2 differ diff --git a/assets/inter-italic-latin.C2AdPX0b.woff2 b/assets/inter-italic-latin.C2AdPX0b.woff2 new file mode 100644 index 00000000..790d62dc Binary files /dev/null and b/assets/inter-italic-latin.C2AdPX0b.woff2 differ diff --git a/assets/inter-italic-vietnamese.BSbpV94h.woff2 b/assets/inter-italic-vietnamese.BSbpV94h.woff2 new file mode 100644 index 00000000..1eec0775 Binary files /dev/null and b/assets/inter-italic-vietnamese.BSbpV94h.woff2 differ diff --git a/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 b/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 new file mode 100644 index 00000000..2cfe6153 Binary files /dev/null and b/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 differ diff --git a/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 b/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 new file mode 100644 index 00000000..e3886dd1 Binary files /dev/null and b/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 differ diff --git a/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 b/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 new file mode 100644 index 00000000..36d67487 Binary files /dev/null and b/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 differ diff --git a/assets/inter-roman-greek.BBVDIX6e.woff2 b/assets/inter-roman-greek.BBVDIX6e.woff2 new file mode 100644 index 00000000..2bed1e85 Binary files /dev/null and b/assets/inter-roman-greek.BBVDIX6e.woff2 differ diff --git a/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 b/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 new file mode 100644 index 00000000..9a8d1e2b Binary files /dev/null and b/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 differ diff --git a/assets/inter-roman-latin.Di8DUHzh.woff2 b/assets/inter-roman-latin.Di8DUHzh.woff2 new file mode 100644 index 00000000..07d3c53a Binary files /dev/null and b/assets/inter-roman-latin.Di8DUHzh.woff2 differ diff --git a/assets/inter-roman-vietnamese.BjW4sHH5.woff2 b/assets/inter-roman-vietnamese.BjW4sHH5.woff2 new file mode 100644 index 00000000..57bdc22a Binary files /dev/null and b/assets/inter-roman-vietnamese.BjW4sHH5.woff2 differ diff --git a/assets/style._EgklYwe.css b/assets/style._EgklYwe.css new file mode 100644 index 00000000..343f2c9d --- /dev/null +++ b/assets/style._EgklYwe.css @@ -0,0 +1 @@ +@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic.C5lxZ8CY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek-ext.CqjqNYQ-.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek.BBVDIX6e.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-vietnamese.BjW4sHH5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin-ext.4ZJIpNVo.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin.Di8DUHzh.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic-ext.r48I6akx.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic.By2_1cv3.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek-ext.1u6EdAuj.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek.DJ8dCoTZ.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-vietnamese.BSbpV94h.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin-ext.CN1xVJS-.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin.C2AdPX0b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Punctuation SC;font-weight:400;src:local("PingFang SC Regular"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:500;src:local("PingFang SC Medium"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:600;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:700;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-purple-1: #6f42c1;--vp-c-purple-2: #7e4cc9;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-purple-1: #c8abfa;--vp-c-purple-2: #a879e6;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-note-1: var(--vp-c-brand-1);--vp-c-note-2: var(--vp-c-brand-2);--vp-c-note-3: var(--vp-c-brand-3);--vp-c-note-soft: var(--vp-c-brand-soft);--vp-c-success-1: var(--vp-c-green-1);--vp-c-success-2: var(--vp-c-green-2);--vp-c-success-3: var(--vp-c-green-3);--vp-c-success-soft: var(--vp-c-green-soft);--vp-c-important-1: var(--vp-c-purple-1);--vp-c-important-2: var(--vp-c-purple-2);--vp-c-important-3: var(--vp-c-purple-3);--vp-c-important-soft: var(--vp-c-purple-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft);--vp-c-caution-1: var(--vp-c-red-1);--vp-c-caution-2: var(--vp-c-red-2);--vp-c-caution-3: var(--vp-c-red-3);--vp-c-caution-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;font-optical-sizing:auto}:root:where(:lang(zh)){--vp-font-family-base: "Punctuation SC", "Inter", ui-sans-serif, system-ui, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", "DengXian", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-success-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-success-1);--vp-code-line-diff-remove-color: var(--vp-c-danger-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-danger-1);--vp-code-line-warning-color: var(--vp-c-warning-soft);--vp-code-line-error-color: var(--vp-c-danger-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-note-border: transparent;--vp-custom-block-note-text: var(--vp-c-text-1);--vp-custom-block-note-bg: var(--vp-c-default-soft);--vp-custom-block-note-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-tip-soft);--vp-custom-block-tip-code-bg: var(--vp-c-tip-soft);--vp-custom-block-important-border: transparent;--vp-custom-block-important-text: var(--vp-c-text-1);--vp-custom-block-important-bg: var(--vp-c-important-soft);--vp-custom-block-important-code-bg: var(--vp-c-important-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-caution-border: transparent;--vp-custom-block-caution-text: var(--vp-c-text-1);--vp-custom-block-caution-bg: var(--vp-c-caution-soft);--vp-custom-block-caution-code-bg: var(--vp-c-caution-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-default-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-tip-1);--vp-badge-tip-bg: var(--vp-c-tip-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{overflow-x:auto}mjx-container>svg{display:inline-block;margin:auto}[class^=vpi-],[class*=" vpi-"],.vp-icon{width:1em;height:1em}[class^=vpi-].bg,[class*=" vpi-"].bg,.vp-icon.bg{background-size:100% 100%;background-color:transparent}[class^=vpi-]:not(.bg),[class*=" vpi-"]:not(.bg),.vp-icon:not(.bg){-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.vpi-align-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E")}.vpi-arrow-right,.vpi-arrow-down,.vpi-arrow-left,.vpi-arrow-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E")}.vpi-chevron-right,.vpi-chevron-down,.vpi-chevron-left,.vpi-chevron-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.vpi-chevron-down,.vpi-arrow-down{transform:rotate(90deg)}.vpi-chevron-left,.vpi-arrow-left{transform:rotate(180deg)}.vpi-chevron-up,.vpi-arrow-up{transform:rotate(-90deg)}.vpi-square-pen{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E")}.vpi-plus{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")}.vpi-sun{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E")}.vpi-moon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}.vpi-more-horizontal{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}.vpi-languages{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E")}.vpi-heart{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}.vpi-search{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}.vpi-layout-list{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3Cpath d='M14 4h7M14 9h7M14 15h7M14 20h7'/%3E%3C/svg%3E")}.vpi-delete{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 5H9l-7 7 7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2ZM18 9l-6 6M12 9l6 6'/%3E%3C/svg%3E")}.vpi-corner-down-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E")}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}.vpi-social-discord{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'/%3E%3C/svg%3E")}.vpi-social-facebook{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E")}.vpi-social-github{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")}.vpi-social-instagram{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.03.084c-1.277.06-2.149.264-2.91.563a5.874 5.874 0 0 0-2.124 1.388 5.878 5.878 0 0 0-1.38 2.127C.321 4.926.12 5.8.064 7.076.008 8.354-.005 8.764.001 12.023c.007 3.259.021 3.667.083 4.947.061 1.277.264 2.149.563 2.911.308.789.72 1.457 1.388 2.123a5.872 5.872 0 0 0 2.129 1.38c.763.295 1.636.496 2.913.552 1.278.056 1.689.069 4.947.063 3.257-.007 3.668-.021 4.947-.082 1.28-.06 2.147-.265 2.91-.563a5.881 5.881 0 0 0 2.123-1.388 5.881 5.881 0 0 0 1.38-2.129c.295-.763.496-1.636.551-2.912.056-1.28.07-1.69.063-4.948-.006-3.258-.02-3.667-.081-4.947-.06-1.28-.264-2.148-.564-2.911a5.892 5.892 0 0 0-1.387-2.123 5.857 5.857 0 0 0-2.128-1.38C19.074.322 18.202.12 16.924.066 15.647.009 15.236-.006 11.977 0 8.718.008 8.31.021 7.03.084m.14 21.693c-1.17-.05-1.805-.245-2.228-.408a3.736 3.736 0 0 1-1.382-.895 3.695 3.695 0 0 1-.9-1.378c-.165-.423-.363-1.058-.417-2.228-.06-1.264-.072-1.644-.08-4.848-.006-3.204.006-3.583.061-4.848.05-1.169.246-1.805.408-2.228.216-.561.477-.96.895-1.382a3.705 3.705 0 0 1 1.379-.9c.423-.165 1.057-.361 2.227-.417 1.265-.06 1.644-.072 4.848-.08 3.203-.006 3.583.006 4.85.062 1.168.05 1.804.244 2.227.408.56.216.96.475 1.382.895.421.42.681.817.9 1.378.165.422.362 1.056.417 2.227.06 1.265.074 1.645.08 4.848.005 3.203-.006 3.583-.061 4.848-.051 1.17-.245 1.805-.408 2.23-.216.56-.477.96-.896 1.38a3.705 3.705 0 0 1-1.378.9c-.422.165-1.058.362-2.226.418-1.266.06-1.645.072-4.85.079-3.204.007-3.582-.006-4.848-.06m9.783-16.192a1.44 1.44 0 1 0 1.437-1.442 1.44 1.44 0 0 0-1.437 1.442M5.839 12.012a6.161 6.161 0 1 0 12.323-.024 6.162 6.162 0 0 0-12.323.024M8 12.008A4 4 0 1 1 12.008 16 4 4 0 0 1 8 12.008'/%3E%3C/svg%3E")}.vpi-social-linkedin{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E")}.vpi-social-mastodon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E")}.vpi-social-npm{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z'/%3E%3C/svg%3E")}.vpi-social-slack{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zm1.271 0a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zm0 1.271a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zm10.122 2.521a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zm-1.268 0a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zm-2.523 10.122a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zm0-1.268a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z'/%3E%3C/svg%3E")}.vpi-social-twitter,.vpi-social-x{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E")}.vpi-social-youtube{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E")}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover,.custom-block.info a:hover>code{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.note{border-color:var(--vp-custom-block-note-border);color:var(--vp-custom-block-note-text);background-color:var(--vp-custom-block-note-bg)}.custom-block.note a,.custom-block.note code{color:var(--vp-c-brand-1)}.custom-block.note a:hover,.custom-block.note a:hover>code{color:var(--vp-c-brand-2)}.custom-block.note code{background-color:var(--vp-custom-block-note-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-tip-1)}.custom-block.tip a:hover,.custom-block.tip a:hover>code{color:var(--vp-c-tip-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.important{border-color:var(--vp-custom-block-important-border);color:var(--vp-custom-block-important-text);background-color:var(--vp-custom-block-important-bg)}.custom-block.important a,.custom-block.important code{color:var(--vp-c-important-1)}.custom-block.important a:hover,.custom-block.important a:hover>code{color:var(--vp-c-important-2)}.custom-block.important code{background-color:var(--vp-custom-block-important-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover,.custom-block.warning a:hover>code{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover,.custom-block.danger a:hover>code{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.caution{border-color:var(--vp-custom-block-caution-border);color:var(--vp-custom-block-caution-text);background-color:var(--vp-custom-block-caution-bg)}.custom-block.caution a,.custom-block.caution code{color:var(--vp-c-caution-1)}.custom-block.caution a:hover,.custom-block.caution a:hover>code{color:var(--vp-c-caution-2)}.custom-block.caution code{background-color:var(--vp-custom-block-caution-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover,.custom-block.details a:hover>code{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s}.vp-doc blockquote>p{margin:0;font-size:16px;color:var(--vp-c-text-2);transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.external-link-icon-enabled :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin:0 0 4px!important;text-align:center;letter-spacing:1px!important;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-6fd38c7d]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-6fd38c7d],.VPBackdrop.fade-leave-to[data-v-6fd38c7d]{opacity:0}.VPBackdrop.fade-leave-active[data-v-6fd38c7d]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-6fd38c7d]{display:none}}.NotFound[data-v-baaf7634]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-baaf7634]{padding:96px 32px 168px}}.code[data-v-baaf7634]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-baaf7634]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-baaf7634]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-baaf7634]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-baaf7634]{padding-top:20px}.link[data-v-baaf7634]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-baaf7634]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-e416873c]{position:relative;z-index:1}.nested[data-v-e416873c]{padding-right:16px;padding-left:16px}.outline-link[data-v-e416873c]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-e416873c]:hover,.outline-link.active[data-v-e416873c]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-e416873c]{padding-left:13px}.VPDocAsideOutline[data-v-173bcab0]{display:none}.VPDocAsideOutline.has-outline[data-v-173bcab0]{display:block}.content[data-v-173bcab0]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-173bcab0]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-173bcab0]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-c4496806]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-c4496806]{flex-grow:1}.VPDocAside[data-v-c4496806] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-c4496806] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-c4496806] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-b2c3180a]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-b2c3180a]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-5e7854d9]{margin-top:64px}.edit-info[data-v-5e7854d9]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-5e7854d9]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-5e7854d9]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-5e7854d9]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-5e7854d9]{margin-right:8px}.prev-next[data-v-5e7854d9]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-5e7854d9]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-5e7854d9]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-5e7854d9]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-5e7854d9]{margin-left:auto;text-align:right}.desc[data-v-5e7854d9]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-5e7854d9]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-e4c2a608]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-e4c2a608]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-e4c2a608]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-e4c2a608]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-e4c2a608]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-e4c2a608]{display:flex;justify-content:center}.VPDoc .aside[data-v-e4c2a608]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-e4c2a608]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-e4c2a608]{max-width:1104px}}.container[data-v-e4c2a608]{margin:0 auto;width:100%}.aside[data-v-e4c2a608]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-e4c2a608]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-e4c2a608]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-e4c2a608]::-webkit-scrollbar{display:none}.aside-curtain[data-v-e4c2a608]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-e4c2a608]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-e4c2a608]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-e4c2a608]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-e4c2a608]{order:1;margin:0;min-width:640px}}.content-container[data-v-e4c2a608]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-e4c2a608]{max-width:688px}.VPButton[data-v-58a288e4]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-58a288e4]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-58a288e4]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-58a288e4]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-58a288e4]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-58a288e4]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-58a288e4]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-58a288e4]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-58a288e4]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-58a288e4]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-58a288e4]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-58a288e4]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-58a288e4]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-66129518]{display:none}.dark .VPImage.light[data-v-66129518]{display:none}.VPHero[data-v-d23dfec6]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-d23dfec6]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-d23dfec6]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-d23dfec6]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-d23dfec6]{flex-direction:row}}.main[data-v-d23dfec6]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-d23dfec6]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-d23dfec6]{text-align:left}}@media (min-width: 960px){.main[data-v-d23dfec6]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-d23dfec6]{max-width:592px}}.name[data-v-d23dfec6],.text[data-v-d23dfec6]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-d23dfec6],.VPHero.has-image .text[data-v-d23dfec6]{margin:0 auto}.name[data-v-d23dfec6]{color:var(--vp-home-hero-name-color)}.clip[data-v-d23dfec6]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-d23dfec6],.text[data-v-d23dfec6]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-d23dfec6],.text[data-v-d23dfec6]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-d23dfec6],.VPHero.has-image .text[data-v-d23dfec6]{margin:0}}.tagline[data-v-d23dfec6]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-d23dfec6]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-d23dfec6]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-d23dfec6]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-d23dfec6]{margin:0}}.actions[data-v-d23dfec6]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-d23dfec6]{justify-content:center}@media (min-width: 640px){.actions[data-v-d23dfec6]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-d23dfec6]{justify-content:flex-start}}.action[data-v-d23dfec6]{flex-shrink:0;padding:6px}.image[data-v-d23dfec6]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-d23dfec6]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-d23dfec6]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-d23dfec6]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-d23dfec6]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-d23dfec6]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-d23dfec6]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-d23dfec6]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-d23dfec6]{width:320px;height:320px}}[data-v-d23dfec6] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-d23dfec6] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-d23dfec6] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-54a50e5e]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-54a50e5e]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-54a50e5e]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-54a50e5e]>.VPImage{margin-bottom:20px}.icon[data-v-54a50e5e]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-54a50e5e]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-54a50e5e]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-54a50e5e]{padding-top:8px}.link-text-value[data-v-54a50e5e]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-54a50e5e]{margin-left:6px}.VPFeatures[data-v-4507f11b]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-4507f11b]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-4507f11b]{padding:0 64px}}.container[data-v-4507f11b]{margin:0 auto;max-width:1152px}.items[data-v-4507f11b]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-4507f11b]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-4507f11b],.item.grid-4[data-v-4507f11b],.item.grid-6[data-v-4507f11b]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-4507f11b],.item.grid-4[data-v-4507f11b]{width:50%}.item.grid-3[data-v-4507f11b],.item.grid-6[data-v-4507f11b]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-4507f11b]{width:25%}}.container[data-v-2f26f998]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-2f26f998]{padding:0 48px}}@media (min-width: 960px){.container[data-v-2f26f998]{width:100%;padding:0 64px}}.vp-doc[data-v-2f26f998] .VPHomeSponsors,.vp-doc[data-v-2f26f998] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-2f26f998] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-2f26f998] .VPHomeSponsors a,.vp-doc[data-v-2f26f998] .VPTeamPage a{text-decoration:none}.VPHome[data-v-6fa276e3]{margin-bottom:96px}@media (min-width: 768px){.VPHome[data-v-6fa276e3]{margin-bottom:128px}}.VPContent[data-v-e01aebcb]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-e01aebcb]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-e01aebcb]{margin:0}@media (min-width: 960px){.VPContent[data-v-e01aebcb]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-e01aebcb]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-e01aebcb]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-058c9c44]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-058c9c44]{display:none}.VPFooter[data-v-058c9c44] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-058c9c44] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-058c9c44]{padding:32px}}.container[data-v-058c9c44]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-058c9c44],.copyright[data-v-058c9c44]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-cf9a8269]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-cf9a8269]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-cf9a8269]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-cf9a8269]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-cf9a8269]{color:var(--vp-c-text-1)}.icon[data-v-cf9a8269]{display:inline-block;vertical-align:middle;margin-left:2px;font-size:14px;transform:rotate(0);transition:transform .25s}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-cf9a8269]{font-size:14px}.icon[data-v-cf9a8269]{font-size:16px}}.open>.icon[data-v-cf9a8269]{transform:rotate(90deg)}.items[data-v-cf9a8269]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-cf9a8269]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-cf9a8269]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-cf9a8269]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-cf9a8269]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-cf9a8269]{transition:all .2s ease-out}.flyout-leave-active[data-v-cf9a8269]{transition:all .15s ease-in}.flyout-enter-from[data-v-cf9a8269],.flyout-leave-to[data-v-cf9a8269]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-ffae9a67]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-ffae9a67]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-ffae9a67]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-ffae9a67]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-ffae9a67]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-ffae9a67]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-ffae9a67]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-ffae9a67]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-ffae9a67]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-ffae9a67]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-ffae9a67]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-ffae9a67]{display:none}}.menu-icon[data-v-ffae9a67]{margin-right:8px;font-size:14px}.VPOutlineDropdown[data-v-ffae9a67]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-ffae9a67]{padding:12px 32px 11px}}.VPSwitch[data-v-4e6eee23]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-4e6eee23]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-4e6eee23]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-4e6eee23]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-4e6eee23] [class^=vpi-]{position:absolute;top:3px;left:3px;width:12px;height:12px;color:var(--vp-c-text-2)}.dark .icon[data-v-4e6eee23] [class^=vpi-]{color:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-f4b445d6]{opacity:1}.moon[data-v-f4b445d6],.dark .sun[data-v-f4b445d6]{opacity:0}.dark .moon[data-v-f4b445d6]{opacity:1}.dark .VPSwitchAppearance[data-v-f4b445d6] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-c8debaca]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-c8debaca]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-148ccee4]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-148ccee4]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-148ccee4]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-148ccee4]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-81836f58]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-81836f58]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-81836f58]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-81836f58]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-b6ca2d55]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-b6ca2d55] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-b6ca2d55] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-b6ca2d55] .group:last-child{padding-bottom:0}.VPMenu[data-v-b6ca2d55] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-b6ca2d55] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-b6ca2d55] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-b6ca2d55] .action{padding-left:24px}.VPFlyout[data-v-5c7784f0]{position:relative}.VPFlyout[data-v-5c7784f0]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-5c7784f0]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-5c7784f0]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-5c7784f0]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-5c7784f0]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-5c7784f0],.button[aria-expanded=true]+.menu[data-v-5c7784f0]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-5c7784f0]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-5c7784f0]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-5c7784f0]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-5c7784f0]{margin-right:0;font-size:16px}.text-icon[data-v-5c7784f0]{margin-left:4px;font-size:14px}.icon[data-v-5c7784f0]{font-size:20px;transition:fill .25s}.menu[data-v-5c7784f0]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-0b9403eb]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-0b9403eb]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-0b9403eb]>svg,.VPSocialLink[data-v-0b9403eb]>[class^=vpi-social-]{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-e3ff33b4]{display:flex;justify-content:center}.VPNavBarExtra[data-v-7aa10c87]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-7aa10c87]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-7aa10c87]{display:none}}.trans-title[data-v-7aa10c87]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-7aa10c87],.item.social-links[data-v-7aa10c87]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-7aa10c87]{min-width:176px}.appearance-action[data-v-7aa10c87]{margin-right:-2px}.social-links-list[data-v-7aa10c87]{margin:-4px -8px}.VPNavBarHamburger[data-v-e985d409]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-e985d409]{display:none}}.container[data-v-e985d409]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-e985d409]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-e985d409]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-e985d409]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-e985d409]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-e985d409]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-e985d409]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-e985d409],.VPNavBarHamburger.active:hover .middle[data-v-e985d409],.VPNavBarHamburger.active:hover .bottom[data-v-e985d409]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-e985d409],.middle[data-v-e985d409],.bottom[data-v-e985d409]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-e985d409]{top:0;left:0;transform:translate(0)}.middle[data-v-e985d409]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-e985d409]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-f8eda10f]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-f8eda10f],.VPNavBarMenuLink[data-v-f8eda10f]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-a160c3e1]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-a160c3e1]{display:flex}}/*! @docsearch/css 3.6.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button-Key--pressed{transform:none;box-shadow:none}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.DocSearch-Search-Icon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='1.6' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m14.386 14.386 4.088 4.088-4.088-4.088A7.533 7.533 0 1 1 3.733 3.733a7.533 7.533 0 0 1 10.653 10.653z'/%3E%3C/svg%3E")}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-c9c77adc]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-c9c77adc]{display:flex;align-items:center}}.title[data-v-13f93eac]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-13f93eac]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-13f93eac]{border-bottom-color:var(--vp-c-divider)}}[data-v-13f93eac] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-976f6f40]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-976f6f40]{display:flex;align-items:center}}.title[data-v-976f6f40]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-03344f85]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .5s}.VPNavBar[data-v-03344f85]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-03344f85]:not(.home){background-color:transparent}.VPNavBar[data-v-03344f85]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-03344f85]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-03344f85]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-03344f85]{padding:0}}.container[data-v-03344f85]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-03344f85],.container>.content[data-v-03344f85]{pointer-events:none}.container[data-v-03344f85] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-03344f85]{max-width:100%}}.title[data-v-03344f85]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-03344f85]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-03344f85]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-03344f85]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-03344f85]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-03344f85]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-03344f85]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.home.top) .content-body[data-v-03344f85]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-03344f85]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-03344f85]{column-gap:.5rem}}.menu+.translations[data-v-03344f85]:before,.menu+.appearance[data-v-03344f85]:before,.menu+.social-links[data-v-03344f85]:before,.translations+.appearance[data-v-03344f85]:before,.appearance+.social-links[data-v-03344f85]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-03344f85]:before,.translations+.appearance[data-v-03344f85]:before{margin-right:16px}.appearance+.social-links[data-v-03344f85]:before{margin-left:16px}.social-links[data-v-03344f85]{margin-right:-8px}.divider[data-v-03344f85]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-03344f85]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-03344f85]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-03344f85]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-03344f85]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-03344f85]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-03344f85]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-1c473a56]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-1c473a56]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-41ce1968]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-41ce1968]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-fa0ae97a]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-fa0ae97a]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-6168904f]{display:block}.title[data-v-6168904f]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-0c1ce2b1]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-0c1ce2b1]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-0c1ce2b1]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-0c1ce2b1]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-0c1ce2b1]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-0c1ce2b1]{transform:rotate(45deg)}.button[data-v-0c1ce2b1]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-0c1ce2b1]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-0c1ce2b1]{transition:transform .25s}.group[data-v-0c1ce2b1]:first-child{padding-top:0}.group+.group[data-v-0c1ce2b1],.group+.item[data-v-0c1ce2b1]{padding-top:4px}.VPNavScreenTranslations[data-v-502ed004]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-502ed004]{height:auto}.title[data-v-502ed004]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-502ed004]{font-size:16px}.icon.lang[data-v-502ed004]{margin-right:8px}.icon.chevron[data-v-502ed004]{margin-left:4px}.list[data-v-502ed004]{padding:4px 0 0 24px}.link[data-v-502ed004]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-ccef021a]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 1px);right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .5s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-ccef021a],.VPNavScreen.fade-leave-active[data-v-ccef021a]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-ccef021a],.VPNavScreen.fade-leave-active .container[data-v-ccef021a]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-ccef021a],.VPNavScreen.fade-leave-to[data-v-ccef021a]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-ccef021a],.VPNavScreen.fade-leave-to .container[data-v-ccef021a]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-ccef021a]{display:none}}.container[data-v-ccef021a]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-ccef021a],.menu+.appearance[data-v-ccef021a],.translations+.appearance[data-v-ccef021a]{margin-top:24px}.menu+.social-links[data-v-ccef021a]{margin-top:16px}.appearance+.social-links[data-v-ccef021a]{margin-top:16px}.VPNav[data-v-60c4bcb3]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-60c4bcb3]{position:fixed}}.VPSidebarItem.level-0[data-v-6820daf2]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-6820daf2]{padding-bottom:10px}.item[data-v-6820daf2]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-6820daf2]{cursor:pointer}.indicator[data-v-6820daf2]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-6820daf2],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-6820daf2],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-6820daf2],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-6820daf2]{background-color:var(--vp-c-brand-1)}.link[data-v-6820daf2]{display:flex;align-items:center;flex-grow:1}.text[data-v-6820daf2]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-6820daf2]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-6820daf2],.VPSidebarItem.level-2 .text[data-v-6820daf2],.VPSidebarItem.level-3 .text[data-v-6820daf2],.VPSidebarItem.level-4 .text[data-v-6820daf2],.VPSidebarItem.level-5 .text[data-v-6820daf2]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-6820daf2],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-6820daf2],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-6820daf2],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-6820daf2],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-6820daf2],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-6820daf2]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-6820daf2],.VPSidebarItem.level-1.has-active>.item>.text[data-v-6820daf2],.VPSidebarItem.level-2.has-active>.item>.text[data-v-6820daf2],.VPSidebarItem.level-3.has-active>.item>.text[data-v-6820daf2],.VPSidebarItem.level-4.has-active>.item>.text[data-v-6820daf2],.VPSidebarItem.level-5.has-active>.item>.text[data-v-6820daf2],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-6820daf2],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-6820daf2],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-6820daf2],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-6820daf2],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-6820daf2],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-6820daf2]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-6820daf2],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-6820daf2],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-6820daf2],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-6820daf2],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-6820daf2],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-6820daf2]{color:var(--vp-c-brand-1)}.caret[data-v-6820daf2]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-6820daf2]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-6820daf2]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-6820daf2]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-6820daf2]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-6820daf2],.VPSidebarItem.level-2 .items[data-v-6820daf2],.VPSidebarItem.level-3 .items[data-v-6820daf2],.VPSidebarItem.level-4 .items[data-v-6820daf2],.VPSidebarItem.level-5 .items[data-v-6820daf2]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-6820daf2]{display:none}.VPSidebar[data-v-8e6b745e]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-8e6b745e]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-8e6b745e]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-8e6b745e]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-8e6b745e]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-8e6b745e]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-8e6b745e]{outline:0}.group+.group[data-v-8e6b745e]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-8e6b745e]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSkipLink[data-v-8934bb3d]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-8934bb3d]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-8934bb3d]{top:14px;left:16px}}.Layout[data-v-839be2d9]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-0ba66496]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPHomeSponsors[data-v-0ba66496]{margin:96px 0}@media (min-width: 768px){.VPHomeSponsors[data-v-0ba66496]{margin:128px 0}}.VPHomeSponsors[data-v-0ba66496]{padding:0 24px}@media (min-width: 768px){.VPHomeSponsors[data-v-0ba66496]{padding:0 48px}}@media (min-width: 960px){.VPHomeSponsors[data-v-0ba66496]{padding:0 64px}}.container[data-v-0ba66496]{margin:0 auto;max-width:1152px}.love[data-v-0ba66496]{margin:0 auto;width:fit-content;font-size:28px;color:var(--vp-c-text-3)}.icon[data-v-0ba66496]{display:inline-block}.message[data-v-0ba66496]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-0ba66496]{padding-top:32px}.action[data-v-0ba66496]{padding-top:40px;text-align:center}.VPTeamPage[data-v-dcbf514f]{margin:96px 0}@media (min-width: 768px){.VPTeamPage[data-v-dcbf514f]{margin:128px 0}}.VPHome .VPTeamPageTitle[data-v-dcbf514f-s]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPTeamPageSection+.VPTeamPageSection[data-v-dcbf514f-s],.VPTeamMembers+.VPTeamPageSection[data-v-dcbf514f-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-dcbf514f-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-dcbf514f-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-dcbf514f-s],.VPTeamMembers+.VPTeamPageSection[data-v-dcbf514f-s]{margin-top:96px}}.VPTeamMembers[data-v-dcbf514f-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-dcbf514f-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-dcbf514f-s]{padding:0 64px}}.VPTeamPageTitle[data-v-3b50f985]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-3b50f985]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-3b50f985]{padding:80px 64px 48px}}.title[data-v-3b50f985]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-3b50f985]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-3b50f985]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-3b50f985]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-20676b58]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-20676b58]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-20676b58]{padding:0 64px}}.title[data-v-20676b58]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-20676b58]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-20676b58]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-20676b58]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-20676b58]{padding-top:40px}.VPTeamMembersItem[data-v-c2c0cc4a]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-c2c0cc4a]{padding:32px}.VPTeamMembersItem.small .data[data-v-c2c0cc4a]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-c2c0cc4a]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-c2c0cc4a]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-c2c0cc4a]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-c2c0cc4a]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-c2c0cc4a]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-c2c0cc4a]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-c2c0cc4a]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-c2c0cc4a]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-c2c0cc4a]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-c2c0cc4a]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-c2c0cc4a]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-c2c0cc4a]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-c2c0cc4a]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-c2c0cc4a]{text-align:center}.avatar[data-v-c2c0cc4a]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-c2c0cc4a]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-c2c0cc4a]{margin:0;font-weight:600}.affiliation[data-v-c2c0cc4a]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-c2c0cc4a]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-c2c0cc4a]:hover{color:var(--vp-c-brand-1)}.desc[data-v-c2c0cc4a]{margin:0 auto}.desc[data-v-c2c0cc4a] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-c2c0cc4a]{display:flex;justify-content:center;height:56px}.sp-link[data-v-c2c0cc4a]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-c2c0cc4a]:hover,.sp .sp-link.link[data-v-c2c0cc4a]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-c2c0cc4a]{margin-right:8px;font-size:16px}.VPTeamMembers.small .container[data-v-161e45be]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-161e45be]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-161e45be]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-161e45be]{max-width:876px}.VPTeamMembers.medium .container[data-v-161e45be]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-161e45be]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-161e45be]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-161e45be]{max-width:760px}.container[data-v-161e45be]{display:grid;gap:24px;margin:0 auto;max-width:1152px}@font-face{font-family:Fira Code;src:url(/assets/FiraCode-Light.fY4l71KA.woff2) format("woff2"),url(/assets/FiraCode-Light.B1hbeU4w.woff) format("woff");font-weight:300;font-style:normal}@font-face{font-family:Fira Code;src:url(/assets/FiraCode-Regular.jAL9VymT.woff2) format("woff2"),url(/assets/FiraCode-Regular.B8-kG0vS.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Fira Code;src:url(/assets/FiraCode-Medium.-YTCSZkP.woff2) format("woff2"),url(/assets/FiraCode-Medium.B7pixCnj.woff) format("woff");font-weight:500;font-style:normal}@font-face{font-family:Fira Code;src:url(/assets/FiraCode-SemiBold.BiAOBdH0.woff2) format("woff2"),url(/assets/FiraCode-SemiBold.C_qsBl7p.woff) format("woff");font-weight:600;font-style:normal}@font-face{font-family:Fira Code;src:url(/assets/FiraCode-Bold.DzhvDiv4.woff2) format("woff2"),url(/assets/FiraCode-Bold.DeMYoWdo.woff) format("woff");font-weight:700;font-style:normal}@font-face{font-family:Fira Code VF;src:url(/assets/FiraCode-VF.Bc8wnsZt.woff2) format("woff2-variations"),url(/assets/FiraCode-VF.B-gPkBGS.woff) format("woff-variations");font-weight:300 700;font-style:normal}:root{--vp-sidebar-width: 294px}:root{--vp-font-family-mono: ui-monospace, SFMono-Regular, "Fira Code", "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}:root{--vp-home-hero-name-color: transparent;--vp-home-hero-name-background: -webkit-linear-gradient( 120deg, #67c23a 30%, #a2dc85 );--vp-home-hero-image-background-image: linear-gradient( -45deg, #67c23a 50%, #a2dc85 50% );--vp-home-hero-image-filter: blur(40px)}@media (min-width: 640px){:root{--vp-home-hero-image-filter: blur(56px)}}@media (min-width: 960px){:root{--vp-home-hero-image-filter: blur(72px)}}.VPFeature{position:relative}.VPFeature .icon{margin-bottom:8px}.VPFeature .title{position:absolute;top:36px;left:85px;font-size:18px}.custom-block.details summary{cursor:pointer}.github-release-tag{font-size:14px;font-weight:700;padding:4px 6px;margin-left:6px;background:var(--vp-c-brand);color:#fff;border-radius:10px;vertical-align:middle}.pure-tag{position:relative;left:-86px;top:-30px;display:inline-block;line-height:1;background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;font-size:18px;transform-origin:bottom center;animation:swing 2s ease infinite}@media (max-width: 960px){.pure-tag{display:none}}@keyframes swing{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0)}}.medium-zoom-overlay{z-index:30}.medium-zoom-image{z-index:31}.VPBadge.pro{border-color:#daa520;color:#333;background-color:#e7c605}a.cta{text-align:center;border-radius:8px}a.cta:hover{border-color:var(--vp-c-brand);background-color:var(--c-bg-accent)}a.cta.buy{border-color:#daa520}.banner-wrapper[data-v-88896cd1]{position:fixed;top:0;bottom:0;left:0;right:0;z-index:61;width:100%;height:100%;max-height:40px;background:linear-gradient(45deg,#0a2b4e,#835ec2);overflow:hidden;margin:0;transition:background-size .25s cubic-bezier(.39,.575,.565,1)}#banner[data-v-88896cd1]{position:relative;width:100%;height:100%;text-decoration:none;color:#fff;display:flex;justify-content:center;align-items:center;overflow:hidden;cursor:pointer}#banner .content[data-v-88896cd1]{margin:0;padding:0;font-weight:700;font-size:18px;letter-spacing:2px;text-align:center;background:linear-gradient(145deg,#c3ffac,#86ec87);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}#banner-close[data-v-88896cd1]{position:absolute;width:40px;height:100%;top:0;right:0;color:#fff;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center}#banner-close:hover>.close[data-v-88896cd1]{color:#86ec87}#banner-close>.close[data-v-88896cd1]{font-size:20px;font-weight:600}@media screen and (max-width: 767px){#banner .content[data-v-88896cd1]{font-size:14px}}html.mirror-site-menu-fixed{--vp-layout-top-height: 40px}html.mirror-site-menu-fixed .VPNav,html.mirror-site-menu-fixed .VPSidebar{top:40px}html.mirror-site-menu-fixed{scroll-padding-top:104px;overflow:auto}html.mirror-site-menu-fixed{margin-top:42px}@media (max-width: 960px){html.mirror-site-menu-fixed .VPNav,html.mirror-site-menu-fixed .VPSidebar{top:0}}.sponsors-aside-text[data-v-ea60bb46]{color:var(--vp-c-text-3);display:block;margin:3em 0 1em;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.4px}.sponsor-container[data-v-ea60bb46]{--max-width: 100%;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--max-width),1fr));column-gap:4px}.sponsor-item[data-v-ea60bb46]{margin:2px 0;background-color:var(--vp-c-bg-soft);display:flex;justify-content:center;align-items:center;gap:12px;padding-inline:20px;border-radius:2px;transition:background-color .2s ease;height:calc(var(--max-width) / 2 - 6px);font-size:13px}.sponsor-item.action[data-v-ea60bb46]{font-size:11px;color:var(--vt-c-text-3)}.sponsor-item img[data-v-ea60bb46]{max-width:calc(var(--max-width) - 30px);max-height:calc(var(--max-width) / 2 - 20px)}.sponsor-item .info[data-v-ea60bb46]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px}.sponsor-item .info .main[data-v-ea60bb46]{font-weight:700;font-size:14px;line-height:1.5;color:var(--vp-c-text-1)}.sponsor-item .info .sub[data-v-ea60bb46]{font-size:12px;line-height:1.2;color:var(--vp-c-text-3)}.special .sponsor-item[data-v-ea60bb46]{height:160px}.special .sponsor-item img[data-v-ea60bb46]{max-width:300px;max-height:150px}.dark .aside .sponsor-item[data-v-ea60bb46],.dark .landing .sponsor-item[data-v-ea60bb46]{background-color:var(--vp-c-gray-soft)}.aside .sponsor-item img[data-v-ea60bb46],.landing .sponsor-item img[data-v-ea60bb46]{transition:filter .2s ease}.dark .aside .sponsor-item img[data-v-ea60bb46],.dark .landing .sponsor-item img[data-v-ea60bb46]{filter:grayscale(1) invert(1)}.dark .sponsor-item:hover img[data-v-ea60bb46]{filter:none}.sponsor-container.platinum.aside[data-v-ea60bb46]{--max-width: 110px;column-gap:1px}.aside .sponsor-item[data-v-ea60bb46]{margin:1px 0}.aside .special .sponsor-item[data-v-ea60bb46]{width:100%;height:70px}.aside .special .sponsor-item img[data-v-ea60bb46]{max-width:120px;max-height:36px}.home-preview-block[data-v-f619d5b7]{padding:0 24px}.home-preview[data-v-f619d5b7]{max-width:1152px;margin:50px auto 0}.home-preview h2[data-v-f619d5b7]{font-size:24px;font-weight:700;margin-bottom:20px;text-align:center}.home-preview .items[data-v-f619d5b7]{display:flex;flex-wrap:wrap;margin:-8px}.home-preview .items .item[data-v-f619d5b7]{width:100%;padding:8px}.home-preview .items .item p[data-v-f619d5b7]{padding:24px;border-radius:12px;background-color:var(--vp-c-bg-soft)}.home-preview .items .item p[data-v-f619d5b7] img{border:1px solid var(--vp-c-divider)}@media (min-width: 640px){.home-preview-block[data-v-f619d5b7]{padding:0 48px}.home-preview .items .item[data-v-f619d5b7]{width:50%}}@media (min-width: 960px){.home-preview-block[data-v-f619d5b7]{padding:0 64px}.home-preview .items .item[data-v-f619d5b7]{width:calc(100% / 3)}}.VPLocalSearchBox[data-v-50b67a39]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-50b67a39]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-50b67a39]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-50b67a39]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-50b67a39]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-50b67a39]{padding:0 8px}}.search-bar[data-v-50b67a39]:focus-within{border-color:var(--vp-c-brand-1)}.local-search-icon[data-v-50b67a39]{display:block;font-size:18px}.navigate-icon[data-v-50b67a39]{display:block;font-size:14px}.search-icon[data-v-50b67a39]{margin:8px}@media (max-width: 767px){.search-icon[data-v-50b67a39]{display:none}}.search-input[data-v-50b67a39]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-50b67a39]{padding:6px 4px}}.search-actions[data-v-50b67a39]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-50b67a39]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-50b67a39]{display:none}}.search-actions button[data-v-50b67a39]{padding:8px}.search-actions button[data-v-50b67a39]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-50b67a39]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-50b67a39]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-50b67a39]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-50b67a39]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-50b67a39]{display:none}}.search-keyboard-shortcuts kbd[data-v-50b67a39]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-50b67a39]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-50b67a39]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-50b67a39]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-50b67a39]{margin:8px}}.titles[data-v-50b67a39]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-50b67a39]{display:flex;align-items:center;gap:4px}.title.main[data-v-50b67a39]{font-weight:500}.title-icon[data-v-50b67a39]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-50b67a39]{opacity:.5}.result.selected[data-v-50b67a39]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-50b67a39]{position:relative}.excerpt[data-v-50b67a39]{opacity:75%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;opacity:.5;margin-top:4px}.result.selected .excerpt[data-v-50b67a39]{opacity:1}.excerpt[data-v-50b67a39] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-50b67a39] mark,.excerpt[data-v-50b67a39] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-50b67a39] .vp-code-group .tabs{display:none}.excerpt[data-v-50b67a39] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-50b67a39]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-50b67a39]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-50b67a39],.result.selected .title-icon[data-v-50b67a39]{color:var(--vp-c-brand-1)!important}.no-results[data-v-50b67a39]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-50b67a39]{flex:none} diff --git a/assets/support.md.af93Cp5L.js b/assets/support.md.af93Cp5L.js new file mode 100644 index 00000000..72033604 --- /dev/null +++ b/assets/support.md.af93Cp5L.js @@ -0,0 +1 @@ +import{c as a,j as e,k as t,a5 as s,o as r,g as i}from"./chunks/framework.cw3A9gZ3.js";const o=s('

    技术支持

    基础版

    在使用框架的过程中难免会遇到问题,优先推荐在仓库提交 Issue ,你可以更详细描述问题产生的操作步骤,或者提供完整的最小复现,这样做可以让更多的人参与讨论,也方便后人查阅。

    专业版

    购买专业版的用户可以加我微信直接和我一对一沟通使用问题。

    ',6),n={align:"center"},l=["src"],p=JSON.parse('{"title":"技术支持","description":"","frontmatter":{},"headers":[],"relativePath":"support.md","filePath":"support.md"}'),c={name:"support.md"},m=Object.assign(c,{setup(_){return(h,d)=>(r(),a("div",null,[o,e("p",n,[e("img",{src:t(i)("/friend-wechat.png"),width:"300"},null,8,l)])]))}});export{p as __pageData,m as default}; diff --git a/assets/support.md.af93Cp5L.lean.js b/assets/support.md.af93Cp5L.lean.js new file mode 100644 index 00000000..1d1dda58 --- /dev/null +++ b/assets/support.md.af93Cp5L.lean.js @@ -0,0 +1 @@ +import{c as a,j as e,k as t,a5 as s,o as r,g as i}from"./chunks/framework.cw3A9gZ3.js";const o=s("",6),n={align:"center"},l=["src"],p=JSON.parse('{"title":"技术支持","description":"","frontmatter":{},"headers":[],"relativePath":"support.md","filePath":"support.md"}'),c={name:"support.md"},m=Object.assign(c,{setup(_){return(h,d)=>(r(),a("div",null,[o,e("p",n,[e("img",{src:t(i)("/friend-wechat.png"),width:"300"},null,8,l)])]))}});export{p as __pageData,m as default}; diff --git a/buy.html b/buy.html new file mode 100644 index 00000000..f3f8b742 --- /dev/null +++ b/buy.html @@ -0,0 +1,33 @@ + + + + + + 购买专业版 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    购买专业版

    专业版超值优惠合集①:One-step-admin + Fantastic-admin

    原价:¥999.00 One-step-admin + ¥1199.00 Fantastic-admin = ¥2198.00

    合集优惠价:1299.00 (本价格不参与任何限时优惠活动)

    请加作者微信进行购买

    专业版超值优惠合集②:One-step-admin + Fantastic-mobile

    原价:¥999.00 One-step-admin + ¥599.00 Fantastic-mobile = ¥1598.00

    合集优惠价:899.00 (本价格不参与任何限时优惠活动)

    请加作者微信进行购买

    专业版超值优惠合集③:One-step-admin + Fantastic-admin + Fantastic-mobile

    原价:¥999.00 One-step-admin + ¥1199.00 Fantastic-admin + ¥599.00 Fantastic-mobile = ¥2797.00

    合集优惠价:1499.00 (本价格不参与任何限时优惠活动)

    请加作者微信进行购买

    购买流程

    1. 请先加作者微信进行在线咨询。

    1. 通过微信支付宝扫码支付,并在备注里留下手机/微信/QQ/邮箱等任意一种联系方式。
    2. 支付成功后需提供:
      • 付款截图凭证
      • 授权邮箱号(常用邮箱)。专业版客户的唯一凭证,用于接收框架相关通知公告的唯一方式,但通常情况下我们不会随意打扰你。
      • Github 用户名。专业版源码托管在 Github 平台,需提供你的 Github 用户名,我们会邀请你加入组织。
    3. 同意邀请后,进入专业版开发者私有组织,获取源码。

    支付方式

    领红包

    若你打算使用支付宝进行付款,可以先扫下面这个二维码领取红包。

    One-step-admin 专业版
    限时优惠:699.00
    原价:¥999.00

    产品生命周期内提供长期更新维护

    企业/团队购买

    如果你有以下场景需求,推荐购买企业/团队版:

    • 我们是公司,开发团队有多名开发者,需要都能加入到 Github 组织;同时考虑到人员流动,需要可以更换加入到 Github 组织的开发者账号
    • 我们是给客户开发项目的,开发完毕后需要将完整源码一起交付给客户
    • 我们希望能有一个独立的技术支持微信群,方便我们的开发者可以随时咨询框架相关问题
    One-step-admin 专业版 (企业/团队版)
    限时优惠:2799.00
    原价:¥3599.00
    ⭐服务⭐个人企业/团队
    允许加入 Github 组织账号数15
    是否允许二开后交付源码
    提供独立技术支持微信群
    是否可以开发票支持开普票,价格已含税

    使用说明

    • 购买者可将本产品用于任意「符合国家法律法规」的应用平台,禁止用于黄赌毒等危害国家安全与稳定的网站。
    • 本产品购买后可用于开发商业项目,不限制域名和项目数量。
    • 购买者需保证不传播产品源码,不得直接对本产品(或简单包装成同类产品)进行二次转售或发布。无论有意或无意,我们有权利收回产品授权及更新权限。
    • 本产品的源码(包含全部源码,及部分源码片段),在未经我们许可下,不可以用于任何形式的开源项目,否则我们有权利收回产品授权及更新权限。
    • 因使用本产品所产生的损害及风险,包括但不限于个人损害、商业赢利丧失、贸易中断、商业信息丢失或任何其它经济损失,需由购买者自行承担,我们不承担任何责任。
    • 虚拟物品不支持退货退款。
    • 最终解释权归 One-step-admin 所有。

    专业版与基础版区别

    ⭐功能与服务⭐基础版专业版
    长期维护更新,提供新特性
    定期修复 bug
    开发与构建工具Vue 3 / Vite
    UI 组件库Element Plus
    页面布局3 套5 套
    主题风格明亮 1 款 / 暗黑 1 款明亮 6 款 / 暗黑 6 款
    导航路由配置项5 个8 个
    外链导航
    窗口 API支持部分
    窗口右键功能
    窗口预览模式
    窗口专注模式
    窗口拖拽排序
    收藏夹
    全方位权限验证
    扩展组件12 个20 个
    用户偏好设置
    国际化
    Mock 数据
    错误日志上报
    文件自动生成支持部分
    业务应用静态页面
    团队代码规范
    框架版权信息需保留可删除
    技术支持查看
    演示地址访问访问

    什么场景需要 One-step-admin

    • 没有前端开发人员的小型公司。 据了解,有些小型公司没有前端开发人员,而这些公司在开发中后台系统的时候,直接要求后端开发人员来进行开发工作。所以借助 Vue 的易学习易上手特性,再加上本框架的加持,可以让后端开发人员能在短时间内转型成为全栈开发。
    • 前端开发人员不足的中小型公司。 根据招聘网站统计,几乎所有公司都缺前端,其中有很大一部分中小型公司标配只有1-2名前端开发人员,而这些公司在开发中后台系统的时候,如果能有一套现成的中后台框架系统,不仅能提高项目开发效率,同时还大大减轻前端开发人员工作压力。
    • 项目型公司。 特点为项目多,周期短,甲方对页面布局和主题风格有绝对话语权,而通过专业版提供的布局和主题风格,可应对绝大部分甲方需求,并且可自定义扩展主题风格的样式,实现高度定制化。
    • 产品型公司。 产品型公司最担心的就是产品开发中代码不可控的因素,本框架除了提供完善的开发文档和代码注释外,作者还提供一对一的技术支持,确保开发人员尽可能理解整套框架源码的方方面面,为产品保驾护航。
    • 个人开发者。 手里有一套可高度定制化的中后台框架,什么项目都不用担心啦~

    为什么选择 One-step-admin

    • 作者拥有10年+的前后端开发经验。 部分框架的作者由于缺少后端开发经验,可能会在设计框架的时候,很少或者没有考虑后端的实现逻辑,导致框架在实际使用中,业务场景无法落地,开发人员得通过修改源码自行实现业务。
    • 经历过数十个真实项目的打磨。 没用在真实业务场景中使用过的框架都是纸飞机,哪怕它提供的演示功能特别华丽。而本框架在作者就职的公司,已经稳定应用在电商、直播、OA、CRM、ERP等多个不同领域的中后台系统中。
    • 丰富的组件库。 除了支持 Element Plus 自带的组件外,框架还扩充了部分业务组件,以及第三方插件。借助以往的项目经验,提供最佳实践方案,方便开发人员直接使用。
    • 持续更新的业务应用静态页面。 通过项目积累,沉淀出数十个业务应用的静态页面,做到开发人员拿来即可使用,极大提升开发效率的同时,还省去了产品和设计人员的工作。
    • 长期维护。 无论是免费的基础版,还是付费的专业版,均提供长期维护。区别在于基础版侧重于稳定性维护,主要在修复 bug ,不定期增加新特性;专业版侧重于新特性开发,在确保稳定的基础上,会长期深挖中后台系统框架,持续产出可落地的特性或开发规范。
    + + + + \ No newline at end of file diff --git a/components/action-container.html b/components/action-container.html new file mode 100644 index 00000000..d1e9df0c --- /dev/null +++ b/components/action-container.html @@ -0,0 +1,33 @@ + + + + + + ActionContainer 固定底部操作栏 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/auth-all.html b/components/auth-all.html new file mode 100644 index 00000000..ff6728ea --- /dev/null +++ b/components/auth-all.html @@ -0,0 +1,33 @@ + + + + + + AuthAll 鉴权 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/auth.html b/components/auth.html new file mode 100644 index 00000000..4d094d8f --- /dev/null +++ b/components/auth.html @@ -0,0 +1,33 @@ + + + + + + Auth 鉴权 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/chip.html b/components/chip.html new file mode 100644 index 00000000..25cfad73 --- /dev/null +++ b/components/chip.html @@ -0,0 +1,33 @@ + + + + + + Chip 纸片 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/colorful-card.html b/components/colorful-card.html new file mode 100644 index 00000000..683d2fb1 --- /dev/null +++ b/components/colorful-card.html @@ -0,0 +1,33 @@ + + + + + + ColorfulCard 多彩渐变卡片 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    ColorfulCard 多彩渐变卡片 专业版

    Props

    参数说明类型可选值默认值
    color-from开始颜色string-'#843cf6'
    color-to终止颜色string-'#759bff'
    header头部标题string--
    num数字标记number--
    tip底行提示文字string--
    icon图标,使用 SvgIcon 组件,与该组件 name 参数相同string--
    + + + + \ No newline at end of file diff --git a/components/file-upload.html b/components/file-upload.html new file mode 100644 index 00000000..f1f60df8 --- /dev/null +++ b/components/file-upload.html @@ -0,0 +1,33 @@ + + + + + + FileUpload 文件上传 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    FileUpload 文件上传

    Props

    参数说明类型可选值默认值
    action必选参数,上传的地址string--
    headers设置上传的请求头部object--
    data上传时附带的额外参数object--
    name上传的文件字段名string-file
    size上传文件大小限制,单位为MBnumber-2
    max上传数量限制number-3
    files上传的文件列表,例如:[{name: 'xxx.jpg', url: 'http://xxx.cdn.com/xxx.jpg'}]array-[]
    notip是否隐藏提示栏boolean-false
    ext支持的文件类型array-['zip', 'rar']
    + + + + \ No newline at end of file diff --git a/components/i18n-selector.html b/components/i18n-selector.html new file mode 100644 index 00000000..3acc523d --- /dev/null +++ b/components/i18n-selector.html @@ -0,0 +1,33 @@ + + + + + + I18nSelector 国际化选择器 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/icon-picker.html b/components/icon-picker.html new file mode 100644 index 00000000..d744918f --- /dev/null +++ b/components/icon-picker.html @@ -0,0 +1,33 @@ + + + + + + IconPicker 图标选择器 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/image-preview.html b/components/image-preview.html new file mode 100644 index 00000000..c22d7530 --- /dev/null +++ b/components/image-preview.html @@ -0,0 +1,33 @@ + + + + + + ImagePreview 图片预览 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/image-upload.html b/components/image-upload.html new file mode 100644 index 00000000..76e8a251 --- /dev/null +++ b/components/image-upload.html @@ -0,0 +1,33 @@ + + + + + + ImageUpload 单图上传 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    ImageUpload 单图上传

    Props

    参数说明类型可选值默认值
    v-model图片地址string--
    action必选参数,上传的地址string--
    headers设置上传的请求头部object--
    data上传时附带的额外参数object--
    name上传的文件字段名string-file
    size上传文件大小限制,单位为MBnumber-2
    width展示宽度number-150
    height展示高度number-150
    placeholder占位图string--
    notip是否隐藏提示栏boolean-false
    ext支持的文件类型array-['jpg', 'png', 'gif', 'bmp']
    + + + + \ No newline at end of file diff --git a/components/images-upload.html b/components/images-upload.html new file mode 100644 index 00000000..fab6f4f4 --- /dev/null +++ b/components/images-upload.html @@ -0,0 +1,33 @@ + + + + + + ImagesUpload 多图上传 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    ImagesUpload 多图上传

    Props

    参数说明类型可选值默认值
    v-model图片列表array-[]
    action必选参数,上传的地址string--
    headers设置上传的请求头部object--
    data上传时附带的额外参数object--
    name上传的文件字段名string-file
    max上传数量限制number-3
    size上传文件大小限制,单位为MBnumber-2
    width展示宽度number-150
    height展示高度number-150
    placeholder占位图string--
    notip是否隐藏提示栏boolean-false
    ext支持的文件类型array-['jpg', 'png', 'gif', 'bmp']
    + + + + \ No newline at end of file diff --git a/components/index.html b/components/index.html new file mode 100644 index 00000000..700ea144 --- /dev/null +++ b/components/index.html @@ -0,0 +1,44 @@ + + + + + + 介绍 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    介绍

    框架提供一系列的组件方便快速开发。

    基础组件

    基础组件由 Element Plus 提供,其中包含按钮文字链接单选框多选框输入框计数器级联选择器开关滑块50+ 个组件。

    阅读并学习请查看 Element Plus 官方文档

    说明

    为了统一图标的使用,框架没有采用 Element Plus 官方图标的使用方式,这意味着部分 Element Plus 组件的 icon 属性将无法使用,例如 Button 按钮组件。

    template
    <!-- 无法使用 -->
    +<el-button icon="el-icon-edit">编辑</el-button>
    +
    +<!-- 可以使用插槽代替 -->
    +<el-button>
    +  <template #icon>
    +    <el-icon>
    +      <svg-icon name="ep:edit" />
    +    </el-icon>
    +  </template>
    +  编辑
    +</el-button>

    如果你习惯 Element Plus 官方图标的使用方式,需执行 pnpm install @element-plus/icons-vue 安装依赖,并按照官方的使用方式引入图标,点击查看详细介绍。

    替换组件库

    如果你不喜欢 Element Plus ,或者你想要将老项目迁移到 One-step-admin 上,但老项目里使用的组件库并不是 Element Plus ,框架也提供了组件库替换移方案:

    如果你想使用的组件库不在上述方案中,可以通过参考任何一份方案,理解替换的整理思路,并自行替换,别担心会很复杂,我们已经将大部分工作做好了。

    内建组件

    为了实现 UI 组件库可替换,框架内建了一些组件,这些组件仅服务于框架自身,所以不建议在业务页面内使用。但如果你需要对框架进行二次开发,并保证视觉上的一致性,这时候你就会需要用到它们。

    内建组件存放在 /src/layouts/ui-kit/ 目录下,并配置了使用时自动引入。

    扩展组件

    扩展组件为框架封装的组件,有全新开发的组件,也有在 Element Plus 组件上二次封装的组件,还有一些则是封装了第三方的插件。

    组件源码完全开放,如果觉得用着不顺手,可以到 /src/components/ 目录下找到对应组件自行修改。

    + + + + \ No newline at end of file diff --git a/components/page-header.html b/components/page-header.html new file mode 100644 index 00000000..2171ecf7 --- /dev/null +++ b/components/page-header.html @@ -0,0 +1,33 @@ + + + + + + PageHeader 页头 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/page-main.html b/components/page-main.html new file mode 100644 index 00000000..d98a7aef --- /dev/null +++ b/components/page-main.html @@ -0,0 +1,33 @@ + + + + + + PageMain 内容块 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/pcas-cascader.html b/components/pcas-cascader.html new file mode 100644 index 00000000..4601cbf0 --- /dev/null +++ b/components/pcas-cascader.html @@ -0,0 +1,33 @@ + + + + + + PcasCascader 省市区街道联动 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    PcasCascader 省市区街道联动

    Props

    参数说明类型可选值默认值
    v-model联动数据选中项绑定值array-[]
    type联动类型,pc 省市、pca 省市区、pcas 省市区街道stringpc / pca / pcaspca
    format绑定数据的格式化类型stringcode / name / bothcode
    disabled是否禁用boolean-false
    + + + + \ No newline at end of file diff --git a/components/search-bar.html b/components/search-bar.html new file mode 100644 index 00000000..d71fa990 --- /dev/null +++ b/components/search-bar.html @@ -0,0 +1,33 @@ + + + + + + SearchBar 搜索面板 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content
    + + + + \ No newline at end of file diff --git a/components/sparkline.html b/components/sparkline.html new file mode 100644 index 00000000..e89fb94d --- /dev/null +++ b/components/sparkline.html @@ -0,0 +1,33 @@ + + + + + + Sparkline 迷你图 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    Sparkline 迷你图 专业版

    Props

    参数说明类型可选值默认值
    value迷你图数据,支持一维数组和对象数组,当为对象数组时,对象内参数为 {tooltip: 'xxx', value: 1}array--
    width展示宽度number-100
    height展示高度number-30
    stroke-width折线宽度number-3
    stroke-color折线颜色string-#dc2b33
    fill-color填充颜色string--
    cursor-color鼠标 hover 时辅助线颜色string-#dc2b33
    spot-color鼠标 hover 时辅助点颜色string-#dc2b33
    tooltip鼠标 hover 时是否显示文字提示boolean-false
    + + + + \ No newline at end of file diff --git a/components/storage-box.html b/components/storage-box.html new file mode 100644 index 00000000..d4eb9913 --- /dev/null +++ b/components/storage-box.html @@ -0,0 +1,33 @@ + + + + + + StorageBox 储存箱 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    StorageBox 储存箱 专业版

    Props

    参数说明类型可选值默认值
    data需要储存的数据object / array--
    name数据存放的命名空间string--
    title下拉面板标题string-'储存箱'

    Slots

    name说明
    -触发下拉面板的 HTML 内容

    Events

    事件名称说明回调参数
    take-out点击下拉面板中某条记录的事件回调记录的数据
    + + + + \ No newline at end of file diff --git a/components/svg-icon.html b/components/svg-icon.html new file mode 100644 index 00000000..1e144255 --- /dev/null +++ b/components/svg-icon.html @@ -0,0 +1,33 @@ + + + + + + SvgIcon SVG图标 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/components/trend.html b/components/trend.html new file mode 100644 index 00000000..db172c84 --- /dev/null +++ b/components/trend.html @@ -0,0 +1,33 @@ + + + + + + Trend 趋势标记 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/copyright.png b/copyright.png new file mode 100644 index 00000000..c7b9ff53 Binary files /dev/null and b/copyright.png differ diff --git a/download.png b/download.png new file mode 100644 index 00000000..7f532eee Binary files /dev/null and b/download.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 00000000..c30ac95c Binary files /dev/null and b/favicon.ico differ diff --git a/favorites.png b/favorites.png new file mode 100644 index 00000000..f54b3d8b Binary files /dev/null and b/favorites.png differ diff --git a/font1.png b/font1.png new file mode 100644 index 00000000..7a72fdc5 Binary files /dev/null and b/font1.png differ diff --git a/font2.png b/font2.png new file mode 100644 index 00000000..e53aa5bb Binary files /dev/null and b/font2.png differ diff --git a/friend-wechat.png b/friend-wechat.png new file mode 100644 index 00000000..0832dfd6 Binary files /dev/null and b/friend-wechat.png differ diff --git a/guide/api.html b/guide/api.html new file mode 100644 index 00000000..a8712c95 --- /dev/null +++ b/guide/api.html @@ -0,0 +1,64 @@ + + + + + + 常用 API | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    常用 API

    接口请求

    详细可阅读《与服务端交互 - 接口请求》。

    ts
    import api from '@/api'
    +
    +api.get()
    +api.post()

    鉴权

    详细可阅读《权限 - 鉴权函数》。

    ts
    import useAuth from '@/utils/composables/useAuth'
    +
    +const { auth, authAll } = useAuth()
    +
    +auth()
    +authAll()

    主导航

    切换

    切换主导航,index 为主导航序列数。

    ts
    import useMenu from '@/utils/composables/useMenu'
    +
    +useMenu().switchTo(index)

    窗口

    新增窗口

    ts
    import useWindow from '@/utils/composables/useWindow'
    +
    +useWindow.add('windowName')
    +
    +useWindow.add({
    +  title: '窗口标题',
    +	name: 'windowName'
    +})

    关闭窗口

    ts
    import useWindow from '@/utils/composables/useWindow'
    +
    +useWindow().remove('windowName')

    窗口全屏切换 专业版

    ts
    import useWindow from '@/utils/composables/useWindow'
    +
    +useWindow().toggleMaximize('windowName')

    判断窗口是否全屏 专业版

    ts
    import useWindow from '@/utils/composables/useWindow'
    +
    +useWindow().isMaximize('windowName')  // true / false

    窗口刷新

    ts
    import useWindow from '@/utils/composables/useWindow'
    +
    +useWindow().reload('windowName')

    事件总线

    基于 mitt 简单封装,使用方法请查阅官方文档。

    ts
    import eventBus from '@/utils/eventBus'
    +
    +eventBus.on()
    +eventBus.emit()
    +eventBus.off()

    日期 专业版

    基于 dayjs 简单封装,使用方法请查阅官方文档。

    ts
    import dayjs from '@/utils/dayjs'
    +
    +dayjs()
    + + + + \ No newline at end of file diff --git a/guide/axios.html b/guide/axios.html new file mode 100644 index 00000000..767c1cdd --- /dev/null +++ b/guide/axios.html @@ -0,0 +1,130 @@ + + + + + + 与服务端交互 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    与服务端交互

    框架使用 Axios 做为异步请求工具,并进行了简单的封装。

    接口请求

    设置 baseURL

    在根目录 .env.* 文件里的 VITE_APP_API_BASEURL 这个参数就是配置 axios 的 baseURL

    例如项目的真实接口请求地址为:

    • http://api.test.com/news/list
    • http://api.test.com/news/create
    • http://api.test.com/shop/info

    则可设置为 VITE_APP_API_BASEURL = http://api.test.com/

    请求调用

    常用的 GET 和 POST 请求可使用以下的方法:

    ts
    import api from '@/api'
    +
    +// GET 请求
    +api.get('news/list', {
    +  params: {
    +    page: 1,
    +    size: 10,
    +  },
    +}).then((res) => {
    +  // 后续业务代码
    +})
    +
    +// POST 请求
    +api.post('news/create', {
    +  title: '新闻标题',
    +  content: '新闻内容',
    +}).then((res) => {
    +  // 后续业务代码
    +})

    拦截器

    /src/api/index.ts 文件里实例化了 axios 对象,并对 requestresponse 设置了拦截器,拦截器的用处就是拦截每一次的请求和响应,然后做一些全局的处理。例如接口响应报错,可以在拦截器里用统一的报错提示来展示,方便业务开发。但因为每个公司提供的接口标准不同,所以该文件拦截器部分的代码,需要开发者根据实际情况去修改调整。

    代码很简单,首先初始化 axios 对象,然后 axios.interceptors.request.use()axios.interceptors.response.use() 就分别是请求和响应的拦截代码了。

    参考代码里只做了简单的拦截处理,例如请求的时候会自动带上 token ,响应的时候会根据错误信息判断是登录失效还是接口报错,并做相应动作。

    模块管理

    如果项目里的接口很多,推荐根据模块来统一管理接口,目录为 /src/api/modules/

    跨域处理

    生产环境的跨域需要服务端去解决,开发环境的跨域问题可在本地设置代理解决。如果本地开发环境请求接口提示跨域,可以设置 .env.development 文件里 VITE_OPEN_PROXY = true 开启代理。

    ts
    import api from '@/api'
    +
    +api.get('news/list') // http://localhost:9000/proxy/news/list
    +api.post('news/add') // http://localhost:9000/proxy/news/add

    开启代理后,原有请求都会被指向到本地 http://localhost:9000/proxy ,因为 /proxy 匹配到了 vite.config.ts 里代理部分的设置,所以实际是请求依旧是 VITE_APP_API_BASEURL 所设置的地址。

    ts
    server: {
    +  // vite.config.ts 中 proxy 配置,该配置即用于代理 API 请求
    +  proxy: {
    +    '/proxy': {
    +      target: loadEnv(mode, process.cwd()).VITE_APP_API_BASEURL,
    +      changeOrigin: command === 'serve' && loadEnv(mode, process.cwd()).VITE_OPEN_PROXY == 'true',
    +      rewrite: path => path.replace(/\/proxy/, ''),
    +    },
    +  },
    +},

    多数据源

    如果项目里需要从多个不同地址的数据源请求数据,你有两种方式可以实现。

    如果只是几个接口需求从其它数据源请求,你可以使用覆盖 baseURL 的方式:

    ts
    import api from '@/api'
    +
    +api.get('/new/list', {
    +  baseURL: 'http://baidu.com/', // 直接覆盖 baseURL
    +})

    这种方式的前提是,两个数据源的 requestresponse 规则要保持一致,因为只是覆盖 baseURL ,拦截器还是用的同一套规则。

    所以如果两个数据源的请求和响应是完全不同的标准,你需要给第二个数据源单独实例化一个 axios 对象。首先在 .env.* 文件里配置第二个数据源的 baseURL

    # 命名可随意,以 VITE_APP_ 开头即可
    +VITE_APP_API_BASEURL_2 = 此处填写接口地址

    然后把 /src/api/index.ts 文件复制一份,例如就叫 /src/api/index2.ts ,并且将代码中使用到 VITE_APP_API_BASEURL 也替换为 VITE_APP_API_BASEURL_2 ,这样你就可以在页面中通过引入不同的文件分别请求两个数据源了:

    ts
    import api from '@/api'
    +import api2 from '@/api/index2'
    +
    +// 请求默认数据源
    +api.get('/new/list')
    +// 请求第 2 个数据源
    +api2.get('/new/list')

    需注意,如果第二个数据源也需要开启跨域处理的话,需要在 /src/api/index2.ts 里定一个新的 proxy 路径,例如 /proxy2/

    ts
    const api = axios.create({
    +  baseURL: import.meta.env.DEV && import.meta.env.VITE_OPEN_PROXY === 'true' ? '/proxy2/' : import.meta.env.VITE_APP_API_BASEURL_2,
    +  timeout: 10000,
    +  responseType: 'json',
    +})

    同时在 vite.config.ts 里增加一段新的 proxy 配置:

    ts
    server: {
    +  // vite.config.ts 中 proxy 配置,该配置即用于代理 API 请求
    +  proxy: {
    +    '/proxy': {
    +      target: loadEnv(mode, process.cwd()).VITE_APP_API_BASEURL,
    +      changeOrigin: command === 'serve' && loadEnv(mode, process.cwd()).VITE_OPEN_PROXY == 'true',
    +      rewrite: path => path.replace(/\/proxy/, ''),
    +    },
    +    '/proxy2': {
    +      target: loadEnv(mode, process.cwd()).VITE_APP_API_BASEURL_2,
    +      changeOrigin: command === 'serve' && loadEnv(mode, process.cwd()).VITE_OPEN_PROXY == 'true',
    +      rewrite: path => path.replace(/\/proxy2/, ''),
    +    },
    +  },
    +},

    Mock

    Mock 数据是前端开发过程中必不可少的一环,是分离前后端开发的关键链路。通过预先跟服务器端约定好的接口,模拟请求数据甚至逻辑,能够让前端开发独立自主,不会被服务端的开发所阻塞。

    TIP

    模板使用 vite-plugin-fake-server 提供开发和生产模拟服务。

    Mock 数据编写规则请阅读 Mockjs 官方文档。

    开发环境 mock

    mock 文件存放在 /src/mock/ 下,建议按照不同模块区分文件夹。文件新增或修改后会自动更新,不需要手动重启,可以在代码控制台查看日志信息。

    以下为示例代码:

    ts
    import { defineFakeRoute } from 'vite-plugin-fake-server/client'
    +import Mock from 'mockjs'
    +
    +export default defineFakeRoute([
    +  {
    +    url: '/mock/news/list',
    +    method: 'get',
    +    response: () => {
    +      return {
    +        error: '',
    +        status: 1,
    +        data: Mock.mock({
    +          'list|5-10': [
    +            {
    +              title: '@ctitle',
    +            },
    +          ],
    +        }),
    +      }
    +    },
    +  },
    +])

    参数获取:

    • GET:({ query }) => { }
    • POST:({ body }) => { }

    为了让 mock 接口与真实接口共存,即项目开发中,部分请求 mock 接口,部分请求真实接口。需要在配置 mock 接口的时候,给 url 参数统一设置 /mock/ 前缀,并在调用接口的时候,使用 baseURL 强制修改此次请求的地址。

    如下所示,其中 news/list 会请求本地的 mock 接口,而 news/create 依旧请求真实接口,即使开启跨域代理也不影响。

    ts
    import api from '@/api'
    +
    +api.get('news/list', {
    +  baseURL: '/mock/',
    +  params: {
    +    page: 1,
    +    size: 10,
    +  },
    +}).then((res) => {
    +  // 后续业务代码
    +})
    +
    +api.post('news/create', {
    +  title: '新闻标题',
    +  content: '新闻内容',
    +}).then((res) => {
    +  // 后续业务代码
    +})

    生产环境 mock

    注意

    生产环境一般都是调用真实接口,如果需要使用 mock 也只适用于一些简单的示例网站及预览网站。

    模板默认已经配置好生产环境 mock ,如果不想让生产环境里的请求走 mock ,可在接口调用处删除 baseURL 设置,或直接删除 mock 接口文件。

    需要注意一点,如果项目中有涉及到上传功能,请彻底关闭线上环境 mock ,在环境配置里设置 VITE_BUILD_MOCK = false ,不然线上环境将会报错。

    开发环境与生产环境使用 mock 差异不大,比较大的区别是生产环境里调用 mock 接口,在控制台内看不到接口请求日志。

    + + + + \ No newline at end of file diff --git a/guide/build.html b/guide/build.html new file mode 100644 index 00000000..7091cda5 --- /dev/null +++ b/guide/build.html @@ -0,0 +1,41 @@ + + + + + + 构建与预览 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    构建与预览

    构建

    项目开发完成之后,可以执行 pnpm run build 命令进行构建,构建打包成功之后,会在根目录生成 dist 文件夹,里面就是构建打包好的文件。

    如果是需要构建测试环境,则执行 pnpm run build:test 命令,对应会在根目录生成 dist-test 文件夹。

    TIP

    如果最终访问地址为域名非根节点,如 https://www.example.com/app,则需要在 vite.config.ts 中设置 base 选项为 /app/,否则会出现资源引用错误。

    预览

    生成好的 dist 文件夹一般需要部署至服务器才算部署发布成功,但为了保证构建出来的文件能正常运行,开发者通常希望能在本地先预览一下,可执行 pnpm run servepnpm run serve:test 命令预览不同环境构建出的文件夹。

    压缩

    在环境配置文件里设置 VITE_BUILD_COMPRESS 即可在构建时生成 .gz.br 文件。

    # 单独开启 gzip
    +VITE_BUILD_COMPRESS = gzip
    +
    +# 单独开启 brotli ,brotli 是比 gzip 压缩率更高的算法
    +VITE_BUILD_COMPRESS = brotli
    +
    +# 或者也可以都开启,两者可以共存
    +VITE_BUILD_COMPRESS = gzip,brotli

    两者均需要 nginx 安装指定模块并开启后才会生效。

    其它设置

    在环境配置文件里除了可以设置压缩选项,还可设置:

    # 是否在打包时生成 sourcemap
    +VITE_BUILD_SOURCEMAP = true
    + + + + \ No newline at end of file diff --git a/guide/changelog.html b/guide/changelog.html new file mode 100644 index 00000000..43ed4d98 --- /dev/null +++ b/guide/changelog.html @@ -0,0 +1,65 @@ + + + + + + 更新日志 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    更新日志

    只记录 feat/fix 以及破坏性更新记录。

    4.5.0

    基础版

    🚨 Breaking Changes

    • 配置项 menu.menuMode 变更为 menu.mode  -  by @hooray (10415)

    🚀 Features

    • 增加禁用开发者工具环境变量  -  by @hooray (306f3)
    • 新增哀悼模式和色弱模式  -  by @hooray (3c299)

    🐞 Bug Fixes

    • 修复vscode失效配置  -  by @hooray (e5cfa)

    专业版

    🚨 Breaking Changes

    • 配置项 menu.menuActiveStyle 变更为 menu.style  -  by @hooray (fce08)
    • 配置项 menu.menuMode 变更为 menu.mode  -  by @hooray (9091d)

    🚀 Features

    • 增加2种导航栏模式 side-panel / head-panel  -  by @hooray (cab92)
    • 增加禁用开发者工具环境变量  -  by @hooray (f2ef8)
    • 新增哀悼模式和色弱模式  -  by @hooray (9ebc8)

    🐞 Bug Fixes

    • 移除无用逻辑判断  -  by @hooray (51e90)
    • 修复vscode失效配置  -  by @hooray (d2dda):::

    4.4.1

    基础版

    无重大变化

    专业版

    🐞 Bug Fixes

    • 修复有 badge 的一级导航在收起时展示和其他导航不一样的问题  -  by @hooray (1441c)

    4.4.0

    基础版

    🚀 Features

    • 登录页增加扫码登录参考  -  by @hooray (bafaa)

    🐞 Bug Fixes

    • 修复顶部导航鼠标滚动回弹  -  by @hooray (216ac)
    • 修复顶部导航数量过多,导致工具栏被遮挡  -  by @hooray (f49b6)

    专业版

    🚨 Breaking Changes

    • 移除导航i18n配置项,合并到title配置项内  -  by @hooray (1921b)

    🚀 Features

    • 登录页增加扫码登录参考  -  by @hooray (fc082)

    🐞 Bug Fixes

    • 修复顶部导航鼠标滚动回弹  -  by @hooray (1d900)
    • 修复顶部导航数量过多,导致工具栏被遮挡  -  by @hooray (4c70b)
    • 修复水印开启报错  -  by @hooray (33add)

    4.3.0

    基础版

    无重大变化

    专业版

    🚀 Features

    • 提供 $t 函数,用于菜单 i18n 能在 VSCode I18n Ally 插件下正确显示  -  by @hooray (d8039)
    • 工具栏部分按钮增加交互动效  -  by @hooray (8f597)
    • 支持 RTL 模式  -  by @hooray (97483)

    🐞 Bug Fixes

    • 修复 mock 模板请求无响应数据  -  by @hooray (6c92d)

    4.2.3

    基础版

    无重大变化

    专业版

    无重大变化

    4.2.2

    基础版

    无重大变化

    专业版

    无重大变化

    4.2.1

    基础版

    无重大变化

    专业版

    🐞 Bug Fixes

    • 修复 IconPicker 组件样式错乱  -  by @hooray (3bd3b)

    4.2.0

    基础版

    🚀 Features

    • 引入 unplugin-turbo-console 优化开发体验  -  by @hooray (43d09)
    • 增加打包后生成存档文件支持  -  by @hooray (66d9e)
    • 增加图片支持,整站图标改用 unocss icon 方式使用,方便在内网环境使用  -  by @hooray (4bccd)
    • 导航菜单收起时,无二级的一级导航增加 tooltip 展示  -  by @hooray (5e61c)
    • 明暗模式设置为跟随系统时,支持动态切换  -  by @hooray (98792)

    🐞 Bug Fixes

    • Mock 数据修复  -  by @hooray (fd2f6)

    专业版

    🚨 Breaking Changes

    • 重构用户偏好模块,偏好设置可存放在 localStorage  -  by @hooray (7a554)
    • 重构页面水印,支持动态更新  -  by @hooray (7cdc8)
    • 移除内置 v-waves 指令,使用第三方 v-wave 插件  -  by @hooray (a7505)

    🚀 Features

    • 引入 unplugin-turbo-console 优化开发体验  -  by @hooray (f644e)
    • 增加打包后生成存档文件支持  -  by @hooray (2bb50)
    • SvgIcon 增加图片支持,整站图标改用 unocss icon 方式使用,方便在内网环境使用  -  by @hooray (d5715)
    • 导航菜单收起时,无二级的一级导航增加 tooltip 展示  -  by @hooray (95cf8)
    • 明暗模式设置为跟随系统时,支持动态切换  -  by @hooray (c7bcb)
    • 增加 v-zoomable 图片预览指令  -  by @hooray (3d58e)

    🐞 Bug Fixes

    • Mock 数据修复  -  by @hooray (5c9ba)

    4.1.0

    基础版

    🚨 Breaking Changes

    • Vite-plugin-fake-server 替换 vite-plugin-mock  -  by @hooray (38039)
    • 应用配置 toolbar 对象内属性调整  -  by @hooray (e2aaf)

    专业版

    🚨 Breaking Changes

    • Vite-plugin-fake-server 替换 vite-plugin-mock  -  by @hooray (bdfa4)
    • 应用配置 toolbar 对象内属性调整  -  by @hooray (c2915)

    🚀 Features

    • 应用配置新增 menu.subMenuAutoCollapse ,支持次导航收起时,鼠标悬停临时展开  -  by @hooray (970ef)
    • 应用配置新增 toolbar.layout 属性,支持工具栏自定义布局  -  by @hooray (cc87f)

    4.0.1

    基础版

    🐞 Bug Fixes

    • 修复登录页 Copyright 组件未展示  -  by @hooray (0b03a)

    专业版

    🐞 Bug Fixes

    • 修复登录页 Copyright 组件未展示  -  by @hooray (a808f)

    4.0.0

    基础版

    🚨 Breaking Changes

    • 启用新的 eslint 配置文件  -  by @hooray (5f9f1)
    • 移除应用配置中 Element Plus 默认尺寸的配置项  -  by @hooray (dfc51)

    🚀 Features

    • 支持使用 Iconify 完整图标库  -  by @hooray (2d642)
    • 重构框架核心源码  -  by @hooray (874e3)
    • Eslint 增加 unocss 配置  -  by @hooray (dcbcc)

    专业版

    🚨 Breaking Changes

    • 启用新的 eslint 配置文件  -  by @hooray (66160)
    • 移除应用配置中 Element Plus 默认尺寸的配置项  -  by @hooray (6720a)

    🚀 Features

    • 重构框架核心源码  -  by @hooray (215ef)
    • 全局搜索支持拼音  -  by @hooray (cbb68)
    • Eslint 增加 unocss 配置  -  by @hooray (0b078)

    🐞 Bug Fixes

    • 修复收藏夹默认存储位置错误  -  by @hooray (d2a2d)
    • 拥抱原子化 CSS ,启用 UnoCSS ,并对框架部分组件样式进行了重构

      如果你正在将老版本的业务代码向新版本迁移,推荐安装 UnoCSS 这个 VSCode 插件,它能高亮显示 UnoCSS 的代码。如果你的业务页面代码中定义的 class 和 UnoCSS 的 class 重名,也可以通过这个插件快速识别到并修改。

    • 与 Element Plus 组件库解耦,方便替换成其他第三方 UI 组件库,详细可阅读:

    • ESLint 配置文件格式调整,详细可阅读《代码规范 - ESLint 配置

      ESLint 提供了全新的配置方式,所有配置项将都在一个 eslint.config.js 文件中实现。

    • 基础版现在可以使用 Iconify 完整图标库,详细可阅读《图标 - Iconify 图标

    • 全新的主题配色方案,详细可阅读《主题 - 框架主题

    • 移除 Element Plus 自定义主题配置

      如果你依旧需要自定义 Element Plus 的主题,可以阅读 Element Plus 官方文档《自定义主题》,或者参考下面提供的最佳实践。

      /src/assets/styles/ 目录下分别新建 element-plus.scsselement-plus.dark.scss 并写入下面的代码:

      scss
      // element-plus.scss
      +@forward "element-plus/theme-chalk/src/common/var.scss" with (
      +  $colors: (
      +    "primary": (
      +      "base": green
      +    )
      +  )
      +);
      +@use "element-plus/theme-chalk/src/index.scss" as *;
      +@use "./element-plus.dark.scss" as *;
      scss
      // element-plus.dark.scss
      +@forward "element-plus/theme-chalk/src/dark/var.scss" with (
      +  $bg-color: (
      +    "page": #0a0a0a,
      +    "": #141414,
      +    "overlay": #1d1e1f,
      +  )
      +);
      +@use "element-plus/theme-chalk/src/dark/css-vars.scss" as *;

      修改 /src/main.ts

      ts
      ...
      +import ElementPlus from 'element-plus'
      +import 'element-plus/dist/index.css'
      +import 'element-plus/theme-chalk/dark/css-vars.css'
      +import '@/assets/styles/element-plus.scss'
      +...
    • 移除应用配置中 Element Plus 默认尺寸的配置项

      如果你依旧需要全局配置 Element Plus 的默认尺寸,可以参考《Config Provider 全局配置》并在 /src/App.vue 中进行修改。

    • 移除精灵图支持

      原有 /src/assets/sprites/ 目录中的图片,现在可以移动到 /src/assets/images/ 目录中,并修改代码中的使用方式。

    • 应用配置中导航栏填充风格的配置项名称变更 专业版

      ts
      const globalSettings: Settings.all = {
      +  menu: {
      +    /**
      +    * 留空默认
      +    * radius 圆角
      +    */
      +    menuFillStyle: '', 
      +    // 导航栏是否圆角
      +    isRounded: false, 
      +  },
      +}

    3.1.3

    基础版

    无重大变化

    专业版

    无重大变化

    3.1.2

    基础版

    无重大变化

    专业版

    无重大变化

    3.1.1

    基础版

    无重大变化

    专业版

    无重大变化

    3.1.0

    基础版

    无重大变化

    专业版

    🚀 Features

    • 增加收藏夹  -  by @hooray (7146d)
    • 新增用户偏好设置  -  by @hooray (ba111)

    3.0.0

    基础版

    🚨 Breaking Changes

    • 移除 BatchActionBar 组件  -  by @hooray (b1f8f)
    • 移除 Editor 组件  -  by @hooray (2ea5f)
    • 移除 vite-plugin-html 插件  -  by @hooray (9d1d3)
    • 调整应用配置的配置项,并将应用配置按钮从工具栏删除  -  by @hooray (ceffd)
    • 重构接口请求,统一管理接口请求模块  -  by @hooray (301d7)

    🚀 Features

    • 引入 stylelint-stylistic 插件  -  by @hooray (38e3f)

    🐞 Bug Fixes

    • 修复 axios baseURL 配置,解决构建后 baseURL 不生效的问题  -  by @hooray (87963)

    专业版

    🚨 Breaking Changes

    • 移除 BatchActionBar 组件  -  by @hooray (ca569)
    • 移除 Editor 组件  -  by @hooray (6fff3)
    • 移除 vite-plugin-html 插件  -  by @hooray (f9c4e)
    • 调整应用配置的配置项,并将应用配置按钮从工具栏删除  -  by @hooray (abea5)
    • 重构标准模块,增加表格高度自适应功能  -  by @hooray (f20ca)
    • 重构接口请求,统一管理接口请求模块  -  by @hooray (831ab)

    🚀 Features

    • 引入 stylelint-stylistic 插件  -  by @hooray (f0826)
    • 新增 StorageBox 组件  -  by @hooray (38efb)
    • 增加明暗切换过渡动效  -  by @hooray (44045)

    🐞 Bug Fixes

    • 修复 axios baseURL 配置,解决构建后 baseURL 不生效的问题  -  by @hooray (3fa26)
    • 增加 dropdown 组件外边框的临时解决方案  -  by @hooray (9cd44)

    2.3.2

    基础版

    无重大变化

    专业版

    无重大变化

    2.3.1

    基础版

    无重大变化

    专业版

    无重大变化

    2.3.0

    基础版

    🚨 Breaking Changes

    • Pinia store 改为 setup 写法  -  by @hooray (1cd93)
    • UseCurrentInstance() 重命名为 useGlobalProperties()  -  by @hooray (0311a)

    专业版

    🚨 Breaking Changes

    • Pinia store 改为 setup 写法  -  by @hooray (040a5)
    • UseCurrentInstance() 重命名为 useGlobalProperties()  -  by @hooray (39d56)

    🐞 Bug Fixes

    • 修复顶部主导航国际化配置不生效  -  by @hooray (02548)
    • 修复切换国际化语言时,主导航激活项被复原到第一个  -  by @hooray (e6846)

    2.2.0

    基础版

    🐞 Bug Fixes

    • 修复次导航收起时图标不居中  -  by @hooray (2b5ca)

    专业版

    🚀 Features

    • 个人设置窗口补充 i18n 配置  -  by @hooray (2655c)

    🐞 Bug Fixes

    • 修复次导航收起时图标不居中  -  by @hooray (2fc11)
    • 修复主导航国际化配置不生效  -  by @hooray (490b1)

    2.1.0

    基础版

    🐞 Bug Fixes

    • 修复类型报错  -  by @hooray (8aba7)

    专业版

    🐞 Bug Fixes

    • 修复 mock 文件后缀名错误  -  by @hooray (8bc65)
    • 修复无法打开修改密码窗口的问题  -  by @hooray (0c353)
    • 修复类型报错  -  by @hooray (56855)

    2.0.0

    基础版

    🚨 Breaking Changes

    • TypeScript 支持  -  by @hooray (0b8ac)

    专业版

    🚨 Breaking Changes

    • TypeScript 支持  -  by @hooray (13b2c)

    v1.0.0

    基础版

    JS 版本存档,框架下次更新将切换到 TS 版本,JS 版本将不再维护。

    专业版

    JS 版本存档,框架下次更新将切换到 TS 版本,JS 版本将不再维护。

    + + + + \ No newline at end of file diff --git a/guide/coding-standard.html b/guide/coding-standard.html new file mode 100644 index 00000000..2291a2d2 --- /dev/null +++ b/guide/coding-standard.html @@ -0,0 +1,53 @@ + + + + + + 代码规范 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    代码规范

    建议

    请确保已阅读《准备工作 - 开发环境》,并且按照文档说明安装好相关软件及扩展。

    为保证代码风格统一,请使用 Visual Studio Code 做为开发 IDE ,框架源码里已提供相关配置文件,可直接测试效果:在保存代码时,会自动对当前文件进行代码格式化操作。

    IDE 配置

    配置文件为 .editorconfig ,通常情况下无需做任何修改。

    ESLint 配置

    配置文件为 eslint.config.js ,框架使用 antfu/eslint-config 做为基础规范,如果你对默认的规则有异议,可以查阅 ESLint 官网规则并在 eslint.config.js 文件中进行覆盖。

    当你对规则进行修改后,原有的代码可能会因为规则的变动导致编辑器大量提示错误,你可以通过运行 pnpm run lint:eslint 进行一次格式校验,如果规则支持自动修复,则会将不符合规则的代码自动进行格式化。

    TIP

    通过修改 eslint.config.jsignores 配置可忽略无需做代码规范校验的目录或文件,例如在项目中导入了一些第三方的插件代码或组件代码,我们就可以将其进行忽略。

    StyleLint 配置

    配置文件为 .stylelintrc ,如果你对默认的规则有异议,可以查阅 Stylelint 官网规则并在 .stylelintrc 文件中进行修改。

    当你对规则进行修改后,原有的代码可能会因为规则的变动导致编辑器大量提示错误,你可以通过运行 pnpm run lint:stylelint 进行一次格式校验,如果规则支持自动修复,则会将不符合规则的代码自动进行格式化。

    TIP

    通过修改 .stylelintignore 可忽略无需做代码规范校验的文件,例如在项目中导入了一些第三方的插件代码或组件代码,我们就可以将其进行忽略。

    simple-git-hooks 和 lint-staged

    由于 IDE 能做的事比较有限,只能对代码的书写规范进行格式化,对于一些无法自动修复的错误代码,如果没有改正到就被推送到 git 仓库,在多人协作开发时,可能会影响到别人的开发体验。所以框架集成了 simple-git-hookslint-staged 这两个依赖来解决这一问题。

    在提交代码时, simple-git-hooks 会通过 lint-staged 对本次提交变更的文件进行分别进行 eslint 和 stylelint 检测,如果有报错,则会阻止本次代码提交,直到开发者修改完所有错误代码后,才允许提交到 git 仓库,这样可以确保 git 仓库里的代码不会有不规范的代码。

    注意

    请确保在安装依赖前,已经使用 git init 对项目进行过 git 环境初始化,如果你在安装依赖后再初始化了 git 环境,请在 git 环境初始化之后再执行一遍 pnpm install 安装命令。

    此外,如果 git 仓库目录和框架目录并非同一个,则需要在 package.json 中修改 postinstall 脚本,切换到 git 所在目录。例如 git 目录是 project/ ,而框架目录是 project/one-step-admin/ ,则在 package.json 里找到 simple-git-hooks 配置并修改:

    json
    "simple-git-hooks": {
    +  "pre-commit": "cd ./one-step-admin/ && pnpm lint-staged",
    +  "preserveUnused": true
    +}

    修改后重新执行一下 pnpm install 即可。

    移除

    如果不想在 git 提交时强制进行代码规范校验,可以在 package.json 中移除 simple-git-hooks 配置:

    json
    {
    +  "scripts": {
    +    "postinstall": "simple-git-hooks && esno scripts/prepare.js", 
    +    "postinstall": "esno scripts/prepare.js", 
    +  },
    +  "simple-git-hooks": { 
    +    "pre-commit": "pnpm lint-staged", 
    +    "preserveUnused": true
    +  }, 
    +}
    json
    {
    +  "scripts": {
    +    "postinstall": "simple-git-hooks", 
    +  },
    +  "simple-git-hooks": { 
    +    "pre-commit": "pnpm lint-staged", 
    +    "preserveUnused": true
    +  }, 
    +}

    然后手动删除 .git/hooks/pre-commit 文件即可。

    + + + + \ No newline at end of file diff --git a/guide/components.html b/guide/components.html new file mode 100644 index 00000000..e4bb1e24 --- /dev/null +++ b/guide/components.html @@ -0,0 +1,49 @@ + + + + + + 介绍 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    介绍

    框架提供一系列的组件方便快速开发,其中基础组件Element Plus 原生提供的组件;而扩展组件有一部分是在 Element Plus 组件上进行了二次开发,还有一部分是封装了第三方插件。

    组件源码完全开放,如果觉得用着不顺手,可以到 /src/components/ 目录下找到对应组件进行修改。

    基础组件

    基础组件由 Element Plus 提供,其中包含按钮文字链接单选框多选框输入框计数器级联选择器开关滑块50+ 个组件。

    阅读并学习请查看 Element Plus 官方文档

    TIP

    框架严格按照 Element Plus 推荐的使用方式进行引入,即按需自动导入,意味着你可以直接在代码里使用组件,而无需手动注册。

    但也意味着 Element Plus 一些全局方法将无法使用,例如 Message 消息提示组件。

    js
    // 无法使用
    +const { proxy } = getCurrentInstance()
    +proxy.$message.success(options)
    +
    +// 可以使用
    +ElMessage.success(options)

    另外因为框架没有采用 Element Plus 官方的图标使用方式,这也意味着部分组件的 icon 属性将无法使用,例如 Button 按钮组件。

    template
    <!-- 无法使用 -->
    +<el-button icon="el-icon-edit">编辑</el-button>
    +
    +<!-- 可以使用插槽代替 -->
    +<el-button>
    +    <template #icon>
    +        <el-icon>
    +            <svg-icon name="ep:edit" />
    +        </el-icon>
    +    </template>
    +    编辑
    +</el-button>

    扩展组件

    + + + + \ No newline at end of file diff --git a/guide/configure.html b/guide/configure.html new file mode 100644 index 00000000..c3671529 --- /dev/null +++ b/guide/configure.html @@ -0,0 +1,94 @@ + + + + + + 配置 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    配置

    环境配置

    默认提供三套环境配置,分别为:

    yaml
    # 应用配置面板
    +VITE_APP_SETTING = true
    +# 页面标题
    +VITE_APP_TITLE = One-step-admin
    +# 接口请求地址,会设置到 axios 的 baseURL 参数上
    +VITE_APP_API_BASEURL = /
    +# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
    +VITE_APP_DEBUG_TOOL =
    +# 是否禁用开发者工具,可防止被调试
    +VITE_APP_DISABLE_DEVTOOL = false
    +
    +# 是否开启代理
    +VITE_OPEN_PROXY = false
    yaml
    # 应用配置面板
    +VITE_APP_SETTING = false
    +# 页面标题
    +VITE_APP_TITLE = One-step-admin
    +# 接口请求地址,会设置到 axios 的 baseURL 参数上
    +VITE_APP_API_BASEURL = /
    +# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
    +VITE_APP_DEBUG_TOOL =
    +# 是否禁用开发者工具,可防止被调试
    +VITE_APP_DISABLE_DEVTOOL = false
    +
    +# 是否在打包时启用 Mock
    +VITE_BUILD_MOCK = false
    +# 在构建时生成 sourcemap
    +VITE_BUILD_SOURCEMAP = true
    +# 在构建时开启压缩,支持 gzip 和 brotli
    +VITE_BUILD_COMPRESS =
    +# 是否在打包后生成存档,支持 zip 和 tar
    +VITE_BUILD_ARCHIVE =
    yaml
    # 应用配置面板
    +VITE_APP_SETTING = false
    +# 页面标题
    +VITE_APP_TITLE = One-step-admin
    +# 接口请求地址,会设置到 axios 的 baseURL 参数上
    +VITE_APP_API_BASEURL = /
    +# 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空
    +VITE_APP_DEBUG_TOOL =
    +# 是否禁用开发者工具,可防止被调试
    +VITE_APP_DISABLE_DEVTOOL = false
    +
    +# 是否在打包时启用 Mock
    +VITE_BUILD_MOCK = true
    +# 在构建时生成 sourcemap
    +VITE_BUILD_SOURCEMAP = false
    +# 在构建时开启压缩,支持 gzip 和 brotli
    +VITE_BUILD_COMPRESS = gzip,brotli
    +# 是否在打包后生成存档,支持 zip 和 tar
    +VITE_BUILD_ARCHIVE =

    其中 VITE_APP_SETTING VITE_APP_TITLE VITE_APP_API_BASEURL VITE_APP_DEBUG_TOOL VITE_APP_DISABLE_DEVTOOL 为必要配置,即不管是在开发、测试,还是生产环境都需要使用到。而其余配置则在不同环境下有不同用途,例如开发环境用于本地开发使用,测试环境和生产环境用于构建使用。

    开发者可根据实际业务需求进行扩展,如果对这块不熟悉,请阅读 Vite - 环境变量和模式 章节。

    注意

    VITE_APP_SETTING 该变量是开启应用配置面板,目的是方便开发者在开发阶段调试,生产环境下默认关闭,也建议关闭。

    如果希望提供用户一些定制化的能力,可以开启偏好设置,详细可阅读《用户偏好设置

    应用配置(框架配置)

    开发者请在 /src/settings.ts 文件中设置自定义配置,而 /src/settings.default.ts 为框架的默认配置,请勿在该文件内修改。

    关于配置的类型定义,可以在 /src/types/globals.d.ts 文件中查阅。

    ts
    // 这是基础版演示源码里的自定义配置示例
    +const globalSettings: Settings.all = {
    +  app: {
    +    enablePermission: true,
    +  },
    +  menu: {
    +    enableSubMenuCollapseButton: true,
    +    enableHotkeys: true,
    +  },
    +  toolbar: {
    +    enableFullscreen: true,
    +    enableColorScheme: true,
    +  },
    +}

    注意

    如果文档中提供的配置介绍,在你本地的开发环境中报错或者无法生效,说明你使用的版本不支持或者配置参数有变动,你可以打开 /src/settings.default.ts 查看当前版本的完整配置作为参考。并且如果你使用的是 Visual Studio Code ,鼠标悬浮到属性上时,会有属性的介绍:

    + + + + \ No newline at end of file diff --git a/guide/copyright.html b/guide/copyright.html new file mode 100644 index 00000000..0d5d2404 --- /dev/null +++ b/guide/copyright.html @@ -0,0 +1,53 @@ + + + + + + 版权信息 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content
    + + + + \ No newline at end of file diff --git a/guide/error-log.html b/guide/error-log.html new file mode 100644 index 00000000..680dc8d0 --- /dev/null +++ b/guide/error-log.html @@ -0,0 +1,37 @@ + + + + + + 错误日志 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    错误日志 专业版

    首先需要在应用配置里开启错误日志。

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    enableErrorLog: true,
    +  },
    +}

    然后需要到 /src/utils/error.log.ts 文件里编写业务代码,框架为方便演示,将错误日志记录在 sessionStorage 里。

    开发者需要根据实际业务情况修改代码,例如将增加上报信息,记录用户账号、token等数据,并且将错误日志进行上报。

    由于开启错误日志监控后,Vue 相关的错误都不会在控制台里显示,所以在开发环境下即使开启错误日志也不会被启用,如果需要在开发环境下测试,可在 /src/util/error.log.ts 里修改开启的条件判断。

    + + + + \ No newline at end of file diff --git a/guide/favorites.html b/guide/favorites.html new file mode 100644 index 00000000..b816da77 --- /dev/null +++ b/guide/favorites.html @@ -0,0 +1,37 @@ + + + + + + 收藏夹 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    收藏夹 专业版

    需在工具栏开启,开启后用户可将常用的导航菜单添加进收藏夹,方便快速访问。

    处理请求

    收藏夹默认存储在浏览器本地 localStorage 里,如果需要将数据存储到服务器,可以通过 favorites.storageTo 配置项来实现,具体配置如下:

    ts
    const globalSettings: Settings.all = {
    +  favorites: {
    +    storageTo: 'server',
    +  },
    +}

    然后到 /src/api/modules/user.ts 中找到 favorites()favoritesEdit() 这两个函数,并分别修改这两个函数的请求地址。

    建议

    为减轻后端处理,数据会直接以 JSON 字符串进行存储,建议后端可以在用户表增加相关字段,并将字段类型设为 lonetext

    + + + + \ No newline at end of file diff --git a/guide/font.html b/guide/font.html new file mode 100644 index 00000000..307befc7 --- /dev/null +++ b/guide/font.html @@ -0,0 +1,36 @@ + + + + + + 自定义字体 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    自定义字体 专业版

    用户访问使用了自定义字体的页面时,会自动下载字体文件,字体文件有大有小,所以不建议在非英文环境中使用。

    框架预设了 Digital 7 的两套字体,除此之外,你也可以通过以下方法引入你需要的自定义字体。

    找字体

    访问 DaFont 或其它字体下载网站,下载 .ttf 格式的字体文件。

    生成字体

    因为 .ttf 格式的字体文件不是浏览器支持的字体格式,所以需要通过 .ttf 生成其它格式的字体文件。

    访问 Font Squirrel,上传 .ttf 文件,并按照下面设置后,点击下载。

    使用

    将上一步下载的压缩包解压并放入 /src/assets/fonts/ 目录下,注意按文件夹区分,随后引入文件夹中的 stylesheet.css 即可使用,以 Digital 7 字体为例:

    scss
    @import '../../assets/fonts/digital-7/stylesheet.css';
    +.digital-7 {
    +  font-family: 'digital-7regular';
    +}

    字体的 font-family 名称在 stylesheet.css 里查看。

    另外你也可以将 @import '../../assets/fonts/digital-7/stylesheet.css'; 这句代码放到全局引入,这样所有页面就都可以通过设置 font-family: 'digital-7regular'; 直接使用了。

    + + + + \ No newline at end of file diff --git a/guide/global-resources.html b/guide/global-resources.html new file mode 100644 index 00000000..883d02bb --- /dev/null +++ b/guide/global-resources.html @@ -0,0 +1,33 @@ + + + + + + 全局资源 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    全局资源

    图片

    框架用到的图片资源都放在 /src/assets/images/ 目录下,可自行新建文件夹分类管理。

    样式

    样式存放目录为 /src/assets/styles/ ,因为 Vue 的文件特性,页面样式建议写在 .vue 文件里,所以该目录只存放全局样式,方便统一管理。

    此目录下还有一个特殊目录,即 /src/assets/styles/resources/ ,这是全局 SCSS 资源目录,首先这个目录里只支持 .scss 文件,其次在这个目录里的文件,无需在页面上引用即可生效并使用。

    同样,精灵图目录下生成的 SCSS 资源也是全局可调用的。

    说明

    全局 SCSS 资源并不是全局样式,是变量、@mixin 、@function 这些东西

    组件

    公共组件

    说明

    公共组件在使用时,无需手动引入,框架会在你使用时自动引入,该特性由 unplugin-vue-components 提供支持。

    公共组件存放在 /src/components/ 目录下,每个组件按文件夹进行区分。

    每个组件的文件夹内至少保留一个文件名为 index.vue 的组件入口(可参考 SvgIcon 组件),文件夹名称即为组件名。

    推荐使用 pnpm new 指令进行组件生成,详细可查看《代码文件自动生成》。

    局部组件

    局部组件没有提供专门的存放目录,我们建议采用就近原则,你可以在每个模块的文件夹下,建立一个 components 文件夹专门用于存放局部组件。

    + + + + \ No newline at end of file diff --git a/guide/i18n.html b/guide/i18n.html new file mode 100644 index 00000000..e3d48bac --- /dev/null +++ b/guide/i18n.html @@ -0,0 +1,90 @@ + + + + + + 国际化 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    国际化 专业版

    INFO

    该特性由 vue-i18n 提供技术支持。

    vscode 扩展

    如果使用 vscode 进行开发,推荐安装 i18n Ally 这个扩展。

    安装该扩展后,代码里可以实时查看对应语言的内容。

    语言选择器

    在应用配置里设置后,会在顶栏里显示语言选择器。

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    enableI18n: true,
    +  },
    +}

    同时还可在应用配置里设置默认语言,可选设置的值参考 /src/locales/lang/ 目录下文件名,留空则会根据浏览器语言自动判断,如果找不到对应的语言则使用 中文(简体) 兜底。

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    defaultLang: '',
    +  },
    +}

    语言包

    语言包存放在 /src/locales/lang/ 目录下,因为 Element Plus 本身也有自己的语言包,所以在做国际化支持的时候,框架的语言包文件命名需要和 Element Plus 保持一致,可点击这里查看 Element Plus 的语言包文件。

    假设你已经在 /src/locales/lang/ 目录下新增并配置好了一个日文语言包 ja.json ,然后你需要到 /src/locales/index.ts 文件里做以下调整。

    ts
    import elementLocaleZhCN from 'element-plus/lib/locale/lang/zh-cn'
    +import elementLocaleZhTW from 'element-plus/lib/locale/lang/zh-tw'
    +import elementLocaleEn from 'element-plus/lib/locale/lang/en'
    +// 引用 Element Plus 的日文语言包
    +import elementLocaleJa from 'element-plus/lib/locale/lang/ja'
    +
    +function getElementLocales() {
    +  const locales: {
    +    [key: string]: any
    +  } = {}
    +  for (const key in messages) {
    +    locales[key] = {}
    +    switch (key) {
    +      case 'zh-cn':
    +        Object.assign(locales[key], elementLocaleZhCN, { labelName: '中文(简体)' })
    +        break
    +      case 'zh-tw':
    +        Object.assign(locales[key], elementLocaleZhTW, { labelName: '中文(繁體)' })
    +        break
    +      case 'en':
    +        Object.assign(locales[key], elementLocaleEn, { labelName: 'English' })
    +        break
    +      // 在这里增加一个 case 选项,其中 labelName 会在语言选择器里显示
    +      case 'ja':
    +        Object.assign(locales[key], elementLocaleJa, { labelName: '日本語' })
    +        break
    +    }
    +  }
    +  return locales
    +}

    修改完成后,需要重新启动项目才会生效。

    导航设置

    如果需要新增某个导航的国际化支持,光设置好中文(简体)的还不行,其它语言包文件里也要同步添加。当都设置好后,可在该导航里设置 title 参数,例如:

    ts
    title: 'menu.i18n',

    框架设置

    以中文(简体)为例,打开 /src/locales/lang/zh-cn.json 文件可以看到框架相关的配置,在 app 对象里的就是框架部分的语言信息,如果需要对框架进行二次开发,请在这里扩展。

    json
    {
    +  "app": {
    +    "account": "用户名",
    +    "captcha": "验证码",
    +    "check": "确认",
    +    "goLogin": "去登录",
    +    "login": "登录",
    +    "logout": "退出登录",
    +    "newPassword": "新密码",
    +    "password": "密码",
    +    "profile": "个人设置",
    +    "sendCaptcha": "发送验证码"
    +  }
    +}

    单页组件

    如果每个页面都要做国际化支持,那语言包文件就会变得无比庞大且难以维护,推荐在每个页面组件里使用 <i18n> 自定义块进行语言维护,可访问 /src/views/feature_example/i18n.vue 查看示例。

    与服务端交互

    所有的请求均会在请求头里带上 Accept-Language ,后端可根据这一状态信息做动态数据国际化处理。

    关闭国际化

    如果不想开启国际化,可参考以下设置,该设置表示关闭语言选择器,并以中文(简体)显示。

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    defaultLang: 'zh-cn',
    +  },
    +  toolbar: {
    +    enableI18n: false,
    +  },
    +}
    + + + + \ No newline at end of file diff --git a/guide/intro.html b/guide/intro.html new file mode 100644 index 00000000..6120d416 --- /dev/null +++ b/guide/intro.html @@ -0,0 +1,33 @@ + + + + + + 文档说明 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    文档说明

    ⭐⭐⭐⭐⭐

    相信你已经准备或正在使用 One-step-admin 进行开发工作了,在此之前,希望你可以去 Github 或者 Gitee(码云) 帮我点个 ⭐ ,这将是对我极大的鼓励。

    star

    star

    文档中标记 专业版 的地方,表示该功能仅提供于专业版使用,使用基础版的开发者可直接跳过阅读。

    如果你准备好了,那我们就开始吧~

    + + + + \ No newline at end of file diff --git a/guide/layout.html b/guide/layout.html new file mode 100644 index 00000000..f8cab268 --- /dev/null +++ b/guide/layout.html @@ -0,0 +1,61 @@ + + + + + + 布局 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    布局

    通过 7 种导航栏模式和 4 种页宽模式的组合搭配,可实现 28 种布局结构,再搭配默认提供的 6 款主题,即可实现上百种界面风格

    导航栏模式

    在应用配置里进行设置,可实现 7 种导航栏模式:

    • 顶部模式
    • 侧边栏模式(含主导航)
    • 侧边栏模式(无主导航)
    • 侧边栏精简模式 专业版
    • 顶部精简模式 专业版
    • 侧边栏面板模式 专业版 v4.5.0 新增
    • 顶部面板模式 专业版 v4.5.0 新增

    顶部模式

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'head', // v4.5.0 之前版本为 menuMode
    +  },
    +}

    侧边栏模式(含主导航)

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'side', // v4.5.0 之前版本为 menuMode
    +  },
    +}

    侧边栏模式(无主导航)

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'single', // v4.5.0 之前版本为 menuMode
    +  },
    +}

    侧边栏精简模式 专业版

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'only-side', // v4.5.0 之前版本为 menuMode
    +  },
    +}

    顶部精简模式 专业版

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'only-head', // v4.5.0 之前版本为 menuMode
    +  },
    +}

    侧边栏面板模式 专业版 v4.5.0 新增

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'side-panel',
    +  },
    +}

    顶部面板模式 专业版 v4.5.0 新增

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    mode: 'head-panel',
    +  },
    +}

    变量

    布局相关的变量存放在 /src/assets/styles/globals.scss 文件中(注意看注释),均为 CSS 变量。

    + + + + \ No newline at end of file diff --git a/guide/login.html b/guide/login.html new file mode 100644 index 00000000..9a51555b --- /dev/null +++ b/guide/login.html @@ -0,0 +1,33 @@ + + + + + + 登录 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content
    + + + + \ No newline at end of file diff --git a/guide/menu.html b/guide/menu.html new file mode 100644 index 00000000..d7f0b685 --- /dev/null +++ b/guide/menu.html @@ -0,0 +1,65 @@ + + + + + + 导航 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    导航

    项目导航配置存放在 /src/menu/modules/ 目录下,每一个 ts 文件会被视为一个导航模块。

    所有配置的导航模块均需要在 /src/menu/index.ts 文件里进行引入并放到主导航下。

    基本配置

    一级导航

    一个导航模块包含以下结构:

    ts
    const menus: Menu.recordRaw = {
    +  title: '演示',
    +  windowName: 'Example',
    +}
    +
    +export default menus

    注意事项

    整个项目所有导航的 windowName 不能重复

    多级导航

    ts
    const menus: Menu.recordRaw = {
    +  title: '演示',
    +  children: [
    +    {
    +      title: '演示页面',
    +      windowName: 'Example',
    +    },
    +  ],
    +}
    +
    +export default menus

    外链

    只需要将 windowName 设置为需要跳转的 HTTP 地址即可。

    ts
    const menus: Menu.recordRaw = {
    +  title: '官网',
    +  windowName: 'https://one-step-admin.github.io',
    +}
    +
    +export default menus

    主导航

    主导航会将我们配置好的导航模块进行归类,在 /src/menu/index.ts 里进行设置。

    ts
    const menu = [
    +  {
    +    title: '演示',
    +    icon: 'sidebar-default',
    +    children: [
    +      WindowExample,
    +    ],
    +  },
    +]

    主导航只需设置 titleiconchildren 三个参数,其中 children 则是存放我们配置的导航模块数据。

    导航配置

    title

    类型是否必须默认值说明
    string✔️/导航展示的标题
    v4.4.0 开始,专业版 支持设置 i18n 对应的 key 值,详细可阅读《国际化》。

    windowName

    类型是否必须默认值说明
    string✔️/窗口组件名,确保唯一

    windowWidth 专业版 v4.6.0 新增

    类型是否必须默认值说明
    string / number✖️/窗口宽度,设置为数字时单位为 px

    i18n 专业版 v4.4.0 移除

    类型是否必须默认值说明
    string✖️/标题国际化对应的 key 值

    详细可阅读《国际化》。

    noTitle 专业版

    类型是否必须默认值说明
    boolean✖️false是否显示窗口标题栏

    icon

    类型是否必须默认值说明
    string✖️/导航中显示的图标

    该项配置最终会通过 <svg-icon /> 组件进行展示,意味着你可以使用自定义图标,也可使用 Iconify 提供的图标,详细可阅读《SVG 图标》。

    auth

    类型是否必须默认值说明
    string / array✖️/该路由访问权限,支持多个权限叠加,只要满足一个,即可进入

    用户在登录时,会获取用户权限,根据权限去过滤并动态注册路由。所以没有权限的路由不会被注册,也不会在侧边栏导航里显示,详细可阅读《权限 - 路由权限》。

    badge 专业版

    类型是否必须默认值说明
    boolean / number / string✖️/导航标记

    设置不同的类型值,展示效果也会不同。

    • boolean 展示形式为点,当值为 false 时隐藏
    • number 展示形式为文本,当值小于等于 0 时隐藏
    • string 展示形式为文本,当值为空时隐藏

    如果标记需要动态更新,请设置为箭头函数形式,并返回外部变量,例如搭配 pinia 一起使用。

    ts
    badge: () => globalStore.number

    params

    类型是否必须默认值说明
    object✖️/窗口外部传入参数

    该属性通常不在导航里直接配置,而是通过调用全局 useWindow() 提供的 API ,在打开非导航窗口时动态传入窗口所需要的参数。

    后端生成

    在应用配置里开启:

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    baseOn: 'backend'
    +  }
    +}

    开启后在 /src/api/modules/app.ts 文件里找到 menuList() 这个函数,并修改这个函数的请求地址,请求返回的数据就是导航数据,你可以在 /src/mock/app.ts 里查看 mock 数据。

    开启后端生成后,导航权限有两种做法,第一种是返回全部的导航数据,让框架自行处理(推荐),第二种是后端直接返回用户具备访问权限的导航数据。

    + + + + \ No newline at end of file diff --git a/guide/permission.html b/guide/permission.html new file mode 100644 index 00000000..28290bff --- /dev/null +++ b/guide/permission.html @@ -0,0 +1,76 @@ + + + + + + 权限 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    权限

    首先需要在应用配置里开启权限功能。

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    enablePermission: true,
    +  },
    +}

    然后在 /src/api/modules/user.ts 文件里找到 getPermissions 的方法,该方法用于登录成功后获取用户权限。在实际开发中,需要手动进行修改,框架默认通过 mock 模拟获取用户权限。

    在演示源码中,默认提供了两组权限,你可以在“权限验证”导航里切换帐号查看不同权限下的效果。如果使用的不是 admintest 用户名登录,则在导航栏里看不到“权限验证”导航入口。

    鉴权组件

    页面中某个模块,当前用户具备该权限是如何显示,不具备该权限又是如何显示,针对这样的需求,框架提供了 <Auth><AuthAll> 组件,具体使用如下:

    template
    <!-- 单权限验证 -->
    +<Auth :value="'department.create'">
    +  <p>你有该权限</p>
    +  <template #no-auth>
    +    <p>你没有该权限</p>
    +  </template>
    +</Auth>
    +
    +<!-- 多权限验证,用户只要具备其中任何一个权限,则验证通过 -->
    +<Auth :value="['department.create', 'department.edit']">
    +  <p>你有该权限</p>
    +  <template #no-auth>
    +    <p>你没有该权限</p>
    +  </template>
    +</Auth>
    +
    +<!-- 多权限验证,用户必须具备全部权限,才验证通过 -->
    +<AuthAll :value="['department.create', 'department.edit']">
    +  <p>你有该权限</p>
    +  <template #no-auth>
    +    <p>你没有该权限</p>
    +  </template>
    +</AuthAll>

    鉴权指令

    对于单个元素,也提供了 v-authv-auth-all 鉴权指令,使用上对比鉴权组件更方便,当然它能做的事情也更简单。

    template
    <!-- 单权限验证 -->
    +<button v-auth="'department.create'">新增部门</button>
    +
    +<!-- 多权限验证,用户只要具备其中任何一个权限,则验证通过 -->
    +<button v-auth="['department.create', 'department.edit']">新增部门</button>
    +
    +<!-- 多权限验证,用户必须具备全部权限,才验证通过 -->
    +<button v-auth-all="['department.create', 'department.edit']">新增部门</button>

    鉴权函数

    鉴权组件和鉴权指令控制的是页面上的元素,而鉴权函数则更多是使用在业务流程代码里的权限判断。

    ts
    import useAuth from '@/utils/composables/useAuth'
    +const { auth, authAll } = useAuth()
    +
    +// 单权限验证,返回 true 或 false
    +auth('department.create')
    +
    +// 多权限验证,用户只要具备其中任何一个权限,则验证通过,返回 true 或 false
    +auth(['department.create', 'department.edit'])
    +
    +// 多权限验证,用户必须具备全部权限,才验证通过,返回 true 或 false
    +authAll(['department.create', 'department.edit'])
    + + + + \ No newline at end of file diff --git a/guide/plop-module.html b/guide/plop-module.html new file mode 100644 index 00000000..ccd0ff6a --- /dev/null +++ b/guide/plop-module.html @@ -0,0 +1,88 @@ + + + + + + 标准模块 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    标准模块 专业版

    在《代码文件自动生成 - module》里介绍了如何快速生成一个标准模块,这个标准模块是一个最基础的 CURD 模块,它包含列表页和编辑页,同时提供了搜索和删除的功能,并且同时也可以生成对应的 mock 文件,在这基础上可以更方便的进行业务扩展。

    下面我就实际操作一遍,并介绍一下这个标准模块有哪些特性。

    用法说明

    ? 请选择需要创建的模式: module - 创建标准窗口
    +? 请输入窗口组件名称 test window
    +? 请输入模块中文名称 默认模块
    +? 是否生成 Mock Yes
    +√  ++ \src\views\windows\TestWindow\index.vue
    +√  ++ \src\views\windows\TestWindow\components\DetailForm\index.vue
    +√  ++ \src\views\windows\TestWindow\components\FormMode\index.vue
    +√  ++ \src\mock\test-window.js

    这里我已经通过命令在 /src/views/windows/ 目录下创建好了一个 TestWindow 文件夹,并且也生成了 mock 数据。接下来需要去配置下导航,这样我们才可以在导航栏里访问到。

    首先在 /src/menu/modules/ 目录下新建一个 test.window.ts 文件,并在里面复制以下代码:

    ts
    cosnt menus: Menu.recordRaw = {
    +    title: '测试模块',
    +    windowName: 'TestWindow'
    +}
    +
    +export default menus

    然后到 /src/router/routes.ts 文件里加上这个路由配置文件的引用。

    ts
    import TestWindow from './modules/test.window'
    +
    +const menu = [
    +  ...,
    +  {
    +    title: '页面',
    +    icon: 'ri-pages-line',
    +    children: [
    +      ...PagesExample,
    +      TestWindow,
    +    ],
    +  },
    +  ...
    +]

    这时候就可以通过导航栏访问到我们的窗口了,我们的一个演示模块也就初步创建好了。

    特性介绍

    功能部分的介绍主要还是要看代码,先从列表页 index.vue 开始。

    最先看到的是这句文件导入代码,因为几乎每个列表页都需要翻页功能,所以把翻页相关的东西都存放在 /src/utils/composables/pagination/index.ts 方便复用。

    ts
    import usePagination from '@/utils/composables/usePagination'
    +
    +const { pagination, getParams, onSizeChange, onCurrentChange, onSortChange } = usePagination()

    接着在 data 里存放的是标准模块提供的一些配置项和必要数据参数字段。

    ts
    const data = ref({
    +  loading: false,
    +  /**
    +   * 详情展示模式
    +   * dialog 对话框
    +   * drawer 抽屉
    +   */
    +  formMode: 'dialog',
    +  // 详情
    +  formModeProps: {
    +    visible: false,
    +    id: '',
    +  },
    +  // 搜索
    +  search: {
    +    account: '',
    +    name: '',
    +    mobile: '',
    +    sex: '',
    +  },
    +  searchMore: false,
    +  // 批量操作
    +  batch: {
    +    enable: true,
    +    selectionDataList: [],
    +  },
    +  // 列表数据
    +  dataList: [],
    +})

    标准模块提供了 2 种详情展示模式,默认是弹窗的方式,你可以修改 formMode: 'drawer' 开启抽屉模式,保存后效果如下:

    再往下就是需要你修改或编写业务代码的部分,这里就不继续展开了。

    详情页的代码就不多介绍了,相对比较简单,可自行阅读理解。其中表单部分单独封装成组件存放在 /src/views/windows/[模块文件夹]/components/DetailForm/index.vue 里了,同样你在 components/ 文件夹下还能看到另外一个 FormMode 的文件夹,这样的用意是让表单可以复用,可以通过弹窗或抽屉的形式打开详情页

    可能有人会有疑问,为什么不在生成文件的时候直接让我选择用哪种形式,这样生成出来就是哪种,而是在生成好的代码文件里再进行配置?

    这样设计的目的主要有三点:

    1. 合理使用。关于表单具体使用哪种展示模式比较好,我们的建议是,当表单与当前列表页关联性较强,内容少则使用弹窗,内容多则使用抽屉;而当表单与当前列表页关联性较弱,且内容多,可以使用新建窗口的形式,让新窗口进行承载。
    2. 方便后期维护。考虑到需求会变,可能一开始是一个很简单的表单,后期需求一点点增加,变成了一个庞大的表单,这时候就要从弹窗改成抽屉的形式,反之也可能是从抽屉改成弹窗的形式,处理起来都很麻烦。所以方便后期维护,这部分是有意而为之,做成了 2 种形式共存,通过配置可一键切换。
    3. 跨窗口的组件调用。第一点里有提到,如果既不想使用弹窗,也不想使用抽屉,你还可以使用新窗口的形式进行处理,这时候由于表单部分已抽象成组件,所以即便是在新窗口里,也可以直接调用该组件,从而无需编写重复代码。

    当然标准模块也只是框架提供的一个标准,你可以沿用,也可以根据自己的需求指定一套标准,毕竟最终目的都是提高开发效率,同时也确保多人协作开发的时候有个统一标准,不会出现每个人做出来的模块风格都不一样。

    + + + + \ No newline at end of file diff --git a/guide/plop.html b/guide/plop.html new file mode 100644 index 00000000..7b323650 --- /dev/null +++ b/guide/plop.html @@ -0,0 +1,33 @@ + + + + + + 代码文件自动生成 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    代码文件自动生成

    INFO

    该功能基于 plop 实现,在扩展新的模式前,请先详细阅读 plop 官方文档。

    开发过程中,避免不了手动去频繁创建页面、组件等文件,并且还要在文件里写一些必要的代码,是不是觉得很麻烦?现在你可以用更简洁的方式来处理这一切。

    框架默认提供了 5 种模式,通过 pnpm run new 指令可以自行选择。

    • page 页面文件
    • component 组件文件
    • store pinia 全局状态文件
    • mock mock 文件
    • module 页面模块文件 专业版

    除了框架提供的 5 种模式,你还可以自定义新的模式,其原理就是通过预设模板,按照特定规则创建文件或者文件夹。

    预设模板文件存放在 /plop-templates/ 目录下,并在 /plopfile.js 文件里进行引用,你可以参考现有 5 种模式的目录结构进行创建新的模板。

    page

    page 模式下,只能在 /src/views/ 目录下选择指定的文件夹进行生成,生成的文件中,部分关键位置会被替换掉,例如 <page-header /> 中的 title 会按照你输入的中文名称替换,页面的 name 会根据当前文件目录和文件名自动生成,确保唯一。

    component

    component 模式可以选择生成的是公共组件还是局部组件,公共组件生成目录为 /src/components/ ,局部组件则在 /src/views/ 目录下选择指定的文件夹进行生成。

    store

    store 模式则会在 /src/store/modules/ 目录下生成一个空模板

    mock

    mock 模式则会在 /src/mock/ 目录下生成一个标准 CURD 的 mock 数据

    module 专业版

    module 模式是一个标准模块模板,会在指定目录下生成模块文件夹,并且包含列表页、编辑(详情)页,以及相关局部组件。

    这块部分详细介绍请阅读《标准模块》。

    + + + + \ No newline at end of file diff --git a/guide/preferences.html b/guide/preferences.html new file mode 100644 index 00000000..c937e0b4 --- /dev/null +++ b/guide/preferences.html @@ -0,0 +1,48 @@ + + + + + + 用户偏好设置 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    用户偏好设置 专业版

    如果希望将框架的部分应用配置项暴露给用户,让用户可以自行设置,那么可以使用用户偏好设置功能。

    开启

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  userPreferences: {
    +    enable: true,
    +  },
    +}

    定制偏好设置内容

    然后打开 /src/store/modules/user.ts 文件,你可以在文件里进一步定制用户偏好设置里的内容:

    ts
    // 框架已将可提供给用户配置的选项提取出来,请勿新增其他选项,不需要的选项可以在这里注释掉
    +const preferences = ref<Settings.all>({
    +  app: {
    +    colorScheme: settingsDefault.app.colorScheme,
    +    theme: settingsDefault.app.theme,
    +  },
    +  ...
    +})

    如果仔细对比,会发现这里的配置项并不是框架的完整应用配置,这是因为有部分配置项并不适合暴露给用户,比如 userPreferences.enable 这个配置项就是用来控制是否开启用户偏好设置的,如果开启了用户偏好设置,那么这个配置项就不应该再暴露给用户了,否则用户就可以关闭用户偏好设置了,这样就没有意义了。再比如 menu.baseOn 这个配置项是用来控制导航数据来源的,修改它会直接影响代码的调整,所以也是不能暴露给用户的。

    所以请勿新增这里的配置项,你需要做的就是将不需要暴露给用户的配置项注释掉即可。

    处理请求

    用户偏好设置默认存储在浏览器本地 localStorage 里,如果需要将数据存储到服务器,可以通过 userPreferences.storageTo 配置项来实现,具体配置如下:

    ts
    const globalSettings: Settings.all = {
    +  userPreferences: {
    +    storageTo: 'server',
    +  },
    +}

    然后到 /src/api/modules/user.ts 中找到 preferences()preferencesEdit() 这两个函数,并分别修改这两个函数的请求地址。

    建议

    为减轻后端处理,数据会直接以 JSON 字符串进行存储,建议后端可以在用户表增加相关字段,并将字段类型设为 lonetext

    + + + + \ No newline at end of file diff --git a/guide/q-a.html b/guide/q-a.html new file mode 100644 index 00000000..f26fc198 --- /dev/null +++ b/guide/q-a.html @@ -0,0 +1,42 @@ + + + + + + 常见问题 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    常见问题

    安装依赖时有警告

    这是一个可以无视的警告,因为依赖已经安装成功了。

    如果对这个问题感兴趣,可以浏览下这个 issue ,里面有给出一个忽略警告的方案,就是在 package.json 中添加:

    json
    {
    +  "pnpm": {
    +    "peerDependencyRules": {
    +      "ignoreMissing": [
    +        "postcss",
    +        "rollup"
    +      ]
    +    }
    +  }
    +}

    这样你下次再安装依赖的时候,就不会出现该警告了。

    为什么本地开发环境首次载入很慢

    主要是 Vite 的原因,具体可以阅读这篇文章了解《为什么有人说 vite 快,有人却说 vite 慢?》。

    项目 URL 里的 # 号能不能去掉

    这是因为路由默认使用的是 Hash 模式,你可以在 /src/router/index.ts 修改为 HTML5 模式,但需要注意,开启 HTML5 模式,服务器也需要做相应的配置调整,详细可阅读《Vue-router 不同的历史模式》。

    + + + + \ No newline at end of file diff --git a/guide/ready.html b/guide/ready.html new file mode 100644 index 00000000..5fd06cc1 --- /dev/null +++ b/guide/ready.html @@ -0,0 +1,39 @@ + + + + + + 准备工作 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    准备工作

    源码

    阅读开发文档前,请确保手上已经有 One-step-admin 源码,因为文档中提及的内容,都是需要在本地项目中编写或修改代码并运行才能呈现的。如果还没有源码,可以通过下面两种方式获取:

    基础版

    说明

    • 框架源码 不含示例代码,可直接用于实际开发
    • 演示源码 同演示站,在框架源码基础上,提供了大量示例代码

    Github Releases 页面下载最新版本的压缩包,如下图所示:

    或者也可以从 Github/Gitee 上拉取源码,但需要注意的是,这种方式拉取的是最新的代码,而不是稳定版本,可能会存在一些问题,所以请谨慎使用。

    sh
    # 拉取框架源码
    +git clone https://github.com/one-step-admin/basic.git
    +# 拉取演示源码
    +git clone -b example https://github.com/one-step-admin/basic.git
    sh
    # 拉取框架源码
    +git clone https://gitee.com/one-step-admin/basic.git
    +# 拉取演示源码
    +git clone -b example https://gitee.com/one-step-admin/basic.git

    专业版

    专业版用户会邀请加入到私有组织,获取源码的方式和基础版一致,只是仓库地址不同。

    如果你想获取专业版源码,可以点这里去购买。

    开发环境

    使用本模板前,需要在本地依次安装好 Node.js, pnpm, GitVisual Studio Code

    注意

    Node.js 需要使用 18+ / 20+ 版本。

    然后在 Visual Studio Code 里安装好以下扩展:

    在 Visual Studio Code 里打开源码的文件夹,右下角会自动提示需要安装的依赖,直接点击安装即可。

    建议

    以上为开发时必备扩展,以下则是作者推荐安装的扩展,安装它们将在一定程度上提升开发效率。

    除此之外,还需要准备好开发使用的浏览器,推荐使用 Chrome ,并且在 Chrome 里安装好 Vue.js devtools 扩展,安装 Vue 官方提供的调试工具在一定程度上可以提升解决 bug 的效率,当然这个扩展开启后,可能在开发环境操作会有些许卡顿,建议不需要时候可以将扩展禁用。

    不过由于安装 Vue.js devtools 需要访问 Chrome 应用商店,如果在大陆地区访问,需要自行准备相关可访问外网的工具。如果不具备该条件,也可访问 Vue.js devtools 官网 了解本地构建或者下载支持 Edge/Firefox 的 Vue.js devtools 。

    技术栈

    了解并熟悉框架使用到的技术栈,能让你使用本框架更得心应手。

    + + + + \ No newline at end of file diff --git a/guide/replace-to-antd.html b/guide/replace-to-antd.html new file mode 100644 index 00000000..1d16ebfd --- /dev/null +++ b/guide/replace-to-antd.html @@ -0,0 +1,125 @@ + + + + + + 替换为 Ant Design Vue | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    替换为 Ant Design Vue

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 Ant Design Vue,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 Ant Design Vue
    +pnpm add ant-design-vue@4.x

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import Antd from 'ant-design-vue'
    +import 'ant-design-vue/dist/reset.css'
    +
    +function install(app: App) {
    +  app.use(Antd)
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import antDesignVueLocaleZhCN from 'ant-design-vue/es/locale/zh_CN'
    +import { theme } from 'ant-design-vue'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <AConfigProvider :locale="antDesignVueLocaleZhCN" :theme="settingsStore.currentColorScheme === 'dark' ? { algorithm: [theme.darkAlgorithm] } : {}">
    +    <slot />
    +  </AConfigProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import Antd from 'ant-design-vue'
    +import 'ant-design-vue/dist/reset.css'
    +
    +import zhCN from 'ant-design-vue/es/locale/zh_CN'
    +import zhTW from 'ant-design-vue/es/locale/zh_TW'
    +import en from 'ant-design-vue/es/locale/en_US'
    +
    +function install(app: App) {
    +  app.use(Antd)
    +}
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': zhCN,
    +  'zh-tw': zhTW,
    +  'en': en,
    +}
    +
    +export default { install }
    +export { locales }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { theme } from 'ant-design-vue'
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <AConfigProvider :locale="locales[settingsStore.lang]" :theme="settingsStore.currentColorScheme === 'dark' ? { algorithm: [theme.darkAlgorithm] } : {}">
    +    <slot />
    +  </AConfigProvider>
    +</template>

    删除相关文件

    .
    +├─ plop-templates
    +│  └─ module // 标准模块模板基于 Element Plus 开发,需要删除
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ IconPicker
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 Ant Design Vue 组件库,并且可以开始使用 Ant Design Vue 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    + + + + \ No newline at end of file diff --git a/guide/replace-to-arco.html b/guide/replace-to-arco.html new file mode 100644 index 00000000..e8261677 --- /dev/null +++ b/guide/replace-to-arco.html @@ -0,0 +1,174 @@ + + + + + + 替换为 Arco Design Vue | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    替换为 Arco Design Vue

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 Arco Design Vue,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 Arco Design Vue
    +pnpm add @arco-design/web-vue -D

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global", 
    +      ...
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import ArcoVue from '@arco-design/web-vue'
    +import '@arco-design/web-vue/dist/arco.css'
    +
    +function install(app: App) {
    +  app.use(ArcoVue)
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import zhCN from '@arco-design/web-vue/es/locale/lang/zh-cn'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +
    +const prefersColorScheme = window.matchMedia('(prefers-color-scheme: dark)')
    +watch(() => settingsStore.settings.app.colorScheme, (colorScheme) => {
    +  if (colorScheme === '') {
    +    prefersColorScheme.addEventListener('change', updateTheme)
    +  }
    +  else {
    +    prefersColorScheme.removeEventListener('change', updateTheme)
    +  }
    +  nextTick(() => {
    +    updateTheme()
    +  })
    +}, {
    +  immediate: true,
    +})
    +function updateTheme() {
    +  switch (settingsStore.currentColorScheme) {
    +    case 'light':
    +      document.body.removeAttribute('arco-theme')
    +      break
    +    case 'dark':
    +      document.body.setAttribute('arco-theme', 'dark')
    +      break
    +  }
    +}
    +</script>
    +
    +<template>
    +  <AConfigProvider :locale="zhCN">
    +    <slot />
    +  </AConfigProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import ArcoVue from '@arco-design/web-vue'
    +import '@arco-design/web-vue/dist/arco.css'
    +
    +import zhCN from '@arco-design/web-vue/es/locale/lang/zh-CN'
    +import zhTW from '@arco-design/web-vue/es/locale/lang/zh-TW'
    +import en from '@arco-design/web-vue/es/locale/lang/en-US'
    +
    +function install(app: App) {
    +  app.use(ArcoVue)
    +}
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': zhCN,
    +  'zh-tw': zhTW,
    +  'en': en,
    +}
    +
    +export default { install }
    +export { locales }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +
    +const prefersColorScheme = window.matchMedia('(prefers-color-scheme: dark)')
    +watch(() => settingsStore.settings.app.colorScheme, (colorScheme) => {
    +  if (colorScheme === '') {
    +    prefersColorScheme.addEventListener('change', updateTheme)
    +  }
    +  else {
    +    prefersColorScheme.removeEventListener('change', updateTheme)
    +  }
    +  nextTick(() => {
    +    updateTheme()
    +  })
    +}, {
    +  immediate: true,
    +})
    +function updateTheme() {
    +  switch (settingsStore.currentColorScheme) {
    +    case 'light':
    +      document.body.removeAttribute('arco-theme')
    +      break
    +    case 'dark':
    +      document.body.setAttribute('arco-theme', 'dark')
    +      break
    +  }
    +}
    +</script>
    +
    +<template>
    +  <AConfigProvider :locale="locales[settingsStore.lang]">
    +    <slot />
    +  </AConfigProvider>
    +</template>

    删除相关文件

    .
    +├─ plop-templates
    +│  └─ module // 标准模块模板基于 Element Plus 开发,需要删除
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ IconPicker
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 Arco Design Vue 组件库,并且可以开始使用 Arco Design Vue 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    + + + + \ No newline at end of file diff --git a/guide/replace-to-idux.html b/guide/replace-to-idux.html new file mode 100644 index 00000000..571a4b02 --- /dev/null +++ b/guide/replace-to-idux.html @@ -0,0 +1,134 @@ + + + + + + 替换为 iDux | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    替换为 iDux

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 iDux,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 iDux
    +pnpm add @idux/cdk @idux/components

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import IduxCdk from '@idux/cdk'
    +import IduxComponents from '@idux/components'
    +import { IDUX_ICON_DEPENDENCIES, addIconDefinitions } from '@idux/components/icon'
    +import { createGlobalConfig } from '@idux/components/config'
    +import { zhCN } from '@idux/components/locales'
    +import '@idux/components/index.full.css'
    +
    +function install(app: App) {
    +  addIconDefinitions(IDUX_ICON_DEPENDENCIES)
    +  app.use(IduxCdk).use(IduxComponents).use(createGlobalConfig({ locale: zhCN }))
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <IxThemeProvider :preset-theme="settingsStore.currentColorScheme === 'dark' ? 'dark' : 'default'">
    +    <IxMessageProvider>
    +      <slot />
    +    </IxMessageProvider>
    +  </IxThemeProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import IduxCdk from '@idux/cdk'
    +import IduxComponents from '@idux/components'
    +import { IDUX_ICON_DEPENDENCIES, addIconDefinitions } from '@idux/components/icon'
    +import { enUS, zhCN } from '@idux/components/locales'
    +import '@idux/components/index.full.css'
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': zhCN,
    +  'zh-tw': zhCN,
    +  'en': enUS,
    +}
    +
    +function install(app: App) {
    +  addIconDefinitions(IDUX_ICON_DEPENDENCIES)
    +  app.use(IduxCdk).use(IduxComponents)
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { useGlobalConfig } from '@idux/components/config'
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +
    +const [, setLocale] = useGlobalConfig('locale', locales[settingsStore.lang])
    +watch(() => settingsStore.lang, val => setLocale(locales[settingsStore.lang]))
    +</script>
    +
    +<template>
    +  <IxThemeProvider :preset-theme="settingsStore.currentColorScheme === 'dark' ? 'dark' : 'default'">
    +    <IxMessageProvider>
    +      <slot />
    +    </IxMessageProvider>
    +  </IxThemeProvider>
    +</template>

    删除相关文件

    .
    +├─ plop-templates
    +│  └─ module // 标准模块模板基于 Element Plus 开发,需要删除
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ IconPicker
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 iDux 组件库,并且可以开始使用 iDux 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    + + + + \ No newline at end of file diff --git a/guide/replace-to-naive.html b/guide/replace-to-naive.html new file mode 100644 index 00000000..6b219346 --- /dev/null +++ b/guide/replace-to-naive.html @@ -0,0 +1,125 @@ + + + + + + 替换为 Naive UI | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    替换为 Naive UI

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 Naive UI,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 Naive UI
    +pnpm add naive-ui -D

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +      "naive-ui/volar"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import naive from 'naive-ui'
    +
    +function install(app: App) {
    +  app.use(naive)
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { darkTheme, dateZhCN, zhCN } from 'naive-ui'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <NConfigProvider :locale="zhCN" :date-locale="dateZhCN" :theme="settingsStore.currentColorScheme === 'dark' ? darkTheme : undefined" style="height: 100%;">
    +    <NMessageProvider>
    +      <slot />
    +      <NGlobalStyle />
    +    </NMessageProvider>
    +  </NConfigProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +      "naive-ui/volar"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import naive, { dateEnUS, dateZhCN, dateZhTW, enUS, zhCN, zhTW } from 'naive-ui'
    +
    +function install(app: App) {
    +  app.use(naive)
    +}
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': {
    +    ui: zhCN,
    +    date: dateZhCN,
    +  },
    +  'zh-tw': {
    +    ui: zhTW,
    +    date: dateZhTW,
    +  },
    +  'en': {
    +    ui: enUS,
    +    date: dateEnUS,
    +  },
    +}
    +
    +export default { install }
    +export { locales }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { darkTheme } from 'naive-ui'
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <NConfigProvider :locale="locales[settingsStore.lang].ui" :date-locale="locales[settingsStore.lang].date" :theme="settingsStore.currentColorScheme === 'dark' ? darkTheme : undefined" style="height: 100%;">
    +    <NMessageProvider>
    +      <slot />
    +      <NGlobalStyle />
    +    </NMessageProvider>
    +  </NConfigProvider>
    +</template>

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 Naive UI 组件库,并且可以开始使用 Naive UI 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    + + + + \ No newline at end of file diff --git a/guide/replace-to-tdesign.html b/guide/replace-to-tdesign.html new file mode 100644 index 00000000..00afac69 --- /dev/null +++ b/guide/replace-to-tdesign.html @@ -0,0 +1,193 @@ + + + + + + 替换为 TDesign | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    替换为 TDesign

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 TDesign,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 TDesign
    +pnpm add tdesign-vue-next

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  },
    +  ...
    +  "include": [
    +    "src/**/*.ts",
    +    "src/**/*.d.ts",
    +    "src/**/*.tsx",
    +    "src/**/*.vue"
    +    "src/**/*.vue", 
    +    "node_modules/tdesign-vue-next/global.d.ts"
    +  ]
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import TDesign from 'tdesign-vue-next'
    +import 'tdesign-vue-next/es/style/index.css'
    +
    +function install(app: App) {
    +  app.use(TDesign)
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { merge } from 'lodash-es'
    +import zhCN from 'tdesign-vue-next/es/locale/zh_CN'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +
    +const prefersColorScheme = window.matchMedia('(prefers-color-scheme: dark)')
    +watch(() => settingsStore.settings.app.colorScheme, (colorScheme) => {
    +  if (colorScheme === '') {
    +    prefersColorScheme.addEventListener('change', updateTheme)
    +  }
    +  else {
    +    prefersColorScheme.removeEventListener('change', updateTheme)
    +  }
    +  nextTick(() => {
    +    updateTheme()
    +  })
    +}, {
    +  immediate: true,
    +})
    +function updateTheme() {
    +  switch (settingsStore.currentColorScheme) {
    +    case 'light':
    +      document.documentElement.removeAttribute('theme-mode')
    +      break
    +    case 'dark':
    +      document.documentElement.setAttribute('theme-mode', 'dark')
    +      break
    +  }
    +}
    +</script>
    +
    +<template>
    +  <TConfigProvider :global-config="merge(zhCN)">
    +    <slot />
    +  </TConfigProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  },
    +  ...
    +  "include": [
    +    "src/**/*.ts",
    +    "src/**/*.d.ts",
    +    "src/**/*.tsx",
    +    "src/**/*.vue"
    +    "src/**/*.vue", 
    +    "node_modules/tdesign-vue-next/global.d.ts"
    +  ]
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import TDesign from 'tdesign-vue-next'
    +import 'tdesign-vue-next/es/style/index.css'
    +
    +import zhCN from 'tdesign-vue-next/es/locale/zh_CN'
    +import zhTW from 'tdesign-vue-next/es/locale/zh_TW'
    +import en from 'tdesign-vue-next/es/locale/en_US'
    +
    +function install(app: App) {
    +  app.use(TDesign)
    +}
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': zhCN,
    +  'zh-tw': zhTW,
    +  'en': en,
    +}
    +
    +export default { install }
    +export { locales }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { merge } from 'lodash-es'
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +
    +const prefersColorScheme = window.matchMedia('(prefers-color-scheme: dark)')
    +watch(() => settingsStore.settings.app.colorScheme, (colorScheme) => {
    +  if (colorScheme === '') {
    +    prefersColorScheme.addEventListener('change', updateTheme)
    +  }
    +  else {
    +    prefersColorScheme.removeEventListener('change', updateTheme)
    +  }
    +  nextTick(() => {
    +    updateTheme()
    +  })
    +}, {
    +  immediate: true,
    +})
    +function updateTheme() {
    +  switch (settingsStore.currentColorScheme) {
    +    case 'light':
    +      document.documentElement.removeAttribute('theme-mode')
    +      break
    +    case 'dark':
    +      document.documentElement.setAttribute('theme-mode', 'dark')
    +      break
    +  }
    +}
    +</script>
    +
    +<template>
    +  <TConfigProvider :global-config="merge(locales[settingsStore.lang])">
    +    <slot />
    +  </TConfigProvider>
    +</template>

    删除相关文件

    .
    +├─ plop-templates
    +│  └─ module // 标准模块模板基于 Element Plus 开发,需要删除
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ IconPicker
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 TDesign 组件库,并且可以开始使用 TDesign 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    + + + + \ No newline at end of file diff --git a/guide/replace-to-vexip.html b/guide/replace-to-vexip.html new file mode 100644 index 00000000..9cc460a6 --- /dev/null +++ b/guide/replace-to-vexip.html @@ -0,0 +1,122 @@ + + + + + + 替换为 Vexip UI | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    替换为 Vexip UI

    注意

    v4.0 之前的版本不支持替换组件库,本文适用于 v4.0 及之后的版本。

    由于框架默认使用的是 Element Plus 组件库,并且演示源码中大量示例也使用了 Element Plus,如果你需要使用 Vexip UI,请拉取框架源码分支,或者到 Github Releases 页面下载框架源码压缩包。

    专业版用户也同样,请到专业版仓库下载框架源码。

    安装

    sh
    # 安装依赖
    +pnpm install
    +
    +# 安装 Vexip UI
    +pnpm add vexip-ui

    代码调整

    基础版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import { install as vexipInstall } from 'vexip-ui'
    +import 'vexip-ui/css/index.css'
    +import 'vexip-ui/css/dark/index.css'
    +
    +function install(app: App) {
    +  app.use(vexipInstall, {
    +    prefix: 'vxp',
    +  })
    +}
    +
    +export default { install }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { zhCNLocale } from 'vexip-ui'
    +</script>
    +
    +<template>
    +  <VxpConfigProvider :locale="zhCNLocale()">
    +    <slot />
    +  </VxpConfigProvider>
    +</template>

    删除相关文件

    .
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader
    专业版

    修改 /tsconfig.json 文件

    json
    {
    +  "compilerOptions": {
    +    ...
    +    "types": [
    +      ...
    +      "element-plus/global"
    +    ],
    +    ...
    +  }
    +}

    整体修改 /src/ui-provider/index.ts 文件

    ts
    import type { App } from 'vue'
    +import { install as vexipInstall, zhCNLocale, zhTWLocale, enUSLocale } from 'vexip-ui'
    +import 'vexip-ui/css/index.css'
    +import 'vexip-ui/css/dark/index.css'
    +
    +function install(app: App) {
    +  app.use(vexipInstall, {
    +    prefix: 'vxp',
    +  })
    +}
    +
    +// 此处的对象属性和 src/locales/index.ts 中的 messages 对象属性一一对应
    +const locales: { [key: string]: any } = {
    +  'zh-cn': zhCNLocale(),
    +  'zh-tw': zhTWLocale(),
    +  'en': enUSLocale(),
    +}
    +
    +export default { install }
    +export { locales }

    整体修改 /src/ui-provider/index.vue 文件

    vue
    <script setup lang="ts">
    +import { locales } from './index'
    +import useSettingsStore from '@/store/modules/settings'
    +
    +const settingsStore = useSettingsStore()
    +</script>
    +
    +<template>
    +  <VxpConfigProvider :locale="locales[settingsStore.lang]">
    +    <slot />
    +  </VxpConfigProvider>
    +</template>

    删除相关文件

    .
    +├─ plop-templates
    +│  └─ module // 标准模块模板基于 Element Plus 开发,需要删除
    +└─ src
    +   └─ components // 下列扩展组件基于 Element Plus 二次封装,需要删除
    +     ├─ FileUpload
    +     ├─ IconPicker
    +     ├─ ImagePreview
    +     ├─ ImagesUpload
    +     ├─ ImageUpload
    +     └─ PcasCascader

    修改登录页

    由于登录页使用了 Element Plus 组件,并且删除会导致框架无法正常使用,所以此处需要开发者自行修改或者重新制作登录页,或者也可以参考下方示例中已经修改好的登录页。

    卸载

    sh
    # 卸载 Element Plus
    +pnpm remove element-plus

    完成

    至此,你已经将框架中的 Element Plus 组件库替换为 Vexip UI 组件库,并且可以开始使用 Vexip UI 进行业务开发了。

    示例

    如果对上述的步骤还有不清楚的地方,可以访问此仓库查看示例源码,以及此链接查看示例网站。

    + + + + \ No newline at end of file diff --git a/guide/router.html b/guide/router.html new file mode 100644 index 00000000..18cd242c --- /dev/null +++ b/guide/router.html @@ -0,0 +1,50 @@ + + + + + + 路由 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    路由

    由于框架采用了全新的交互方式,使得路由在本框架中并非核心功能。通过打开 /src/router/index.ts 可以看到,框架一共定义了两个路由地址,一个是登录地址,另一个是登录成功后的地址。

    免登录页面 专业版

    基于设置的路由规则,新增的任何路由,都必须登录后才能访问。如果希望增加免登录的页面,也就是脱离框架本身,相对独立的页面,你可以按照下面的方式处理。

    首先在 /src/router/index.tsroutes 配置免登录页面的路由,然后在 noLoginWhitelist 里增加一句路由完整地址。例如下面的例子,就增加了一个 /no/login/example 的免登录页面地址。

    ts
    // 固定路由
    +const routes = [
    +  ...,
    +  {
    +    path: '/no/login/example',
    +    name: 'noLoginExample',
    +    component: () => import('@/views/no-login-example.vue'),
    +    meta: {
    +      title: '免登录页面',
    +    },
    +  },
    +]
    +
    +// 免登录白名单
    +const noLoginWhitelist = [
    +  ...,
    +  '/no/login/example',
    +]
    + + + + \ No newline at end of file diff --git a/guide/rtl.html b/guide/rtl.html new file mode 100644 index 00000000..f68760f0 --- /dev/null +++ b/guide/rtl.html @@ -0,0 +1,37 @@ + + + + + + RTL 模式 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/guide/start.html b/guide/start.html new file mode 100644 index 00000000..46cd1c00 --- /dev/null +++ b/guide/start.html @@ -0,0 +1,38 @@ + + + + + + 开始 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    开始

    做好准备工作后,请在项目根目录下依次执行以下命令:

    sh
    # 安装依赖
    +# 注意,必须使用 pnpm 安装依赖,请勿使用 npm 或 yarn 安装依赖
    +pnpm install
    +
    +# 运行
    +pnpm run dev

    运行成功后,会自动访问页面,默认地址为 http://localhost:9000

    报错

    安装依赖时提示 404 ,或者安装结束后,运行时提示「 'vite' 不是内部或外部命令,也不是可运行的程序或批处理文件 」,都些都是依赖未安装成功导致的。可以尝试执行 pnpm config set registry https://registry.npmmirror.com/ 切换为国内 npmmirror 源(也可以使用 nrm 一键切换源),然后删除根目录下 /node_modules 文件夹并重新安装依赖。

    如果依旧无法运行(基本不太可能),可尝试删除根目录下 /node_modules 文件夹与 pnpm-lock.yaml 文件后,再删除 package.json"preinstall": "npx only-allow pnpm" 这句脚本,最后使用 npm / yarn 进行安装依赖。但需要清楚一点,这样操作后,将无法与官方环境锁定的依赖包版本保持一致,可能会出现无法预知的问题,非必要情况下,请勿使用该方案。

    + + + + \ No newline at end of file diff --git a/guide/storage.html b/guide/storage.html new file mode 100644 index 00000000..5ffc258e --- /dev/null +++ b/guide/storage.html @@ -0,0 +1,49 @@ + + + + + + 私有 Storage 数据 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    私有 Storage 数据 专业版

    由于 localStorage 和 sessionStorage 的同源策略,同一域名下的 storage 数据会共享。如果你恰好需要在同一域名下部署两套(及以上)系统,不可避免会出现 storage 数据冲突,框架提供了一个 storage 类来解决这个问题。

    解决同源 storage 数据冲突的方式就是增加前缀区分,首先需要在应用配置里设置,这里需要你设置一个唯一且不重名的前缀。

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    storagePrefix: 'osa_',
    +  },
    +}

    然后在需要使用到 storage 的地方引入:

    ts
    import storage from '@/utils/storage'

    这个类封装了 setItem()getItem()removeItem()clear() 方法,同时还增加了一个 has() 方法用来判断对象是否存在:

    ts
    // localStorage
    +storage.local.has(key)
    +storage.local.get(key)
    +storage.local.set(key, value)
    +storage.local.remove(key)
    +storage.local.clear()
    +
    +// sessionStorage
    +storage.session.has(key)
    +storage.session.get(key)
    +storage.session.set(key, value)
    +storage.session.remove(key)
    +storage.session.clear()

    注意

    由于 localStorage 有容量上限,一般为 5M ,如果一同域名下部署两套系统,意味着两套系统共享 5M 容量,所以不建议在同一域名部署太多套系统,避免出现 localStorage 不够用的情况。

    + + + + \ No newline at end of file diff --git a/guide/store.html b/guide/store.html new file mode 100644 index 00000000..598fb202 --- /dev/null +++ b/guide/store.html @@ -0,0 +1,48 @@ + + + + + + 全局状态管理 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    全局状态管理

    TIP

    Pinia 已正式成为 Vue.js 官方状态库,如果你对 Pinia 还不熟悉,除了通过 Pinia 官网学习外,我还收集了一些文字/视频的介绍,可以帮助你快速上手。

    全局状态文件存放在 /src/store/modules/ 目录下,请按模块进行区分。同时请保证文件名和文件内唯一ID保持一致,建议使用 pnpm new 指令进行创建。

    例如新建一个 example.ts 的文件:

    ts
    const useExampleStore = defineStore(
    +  // 唯一ID
    +  'example',
    +  () => {
    +    const someThing = ref(0)
    +
    +    return {
    +      someThing,
    +    }
    +  },
    +)
    +
    +export default useExampleStore

    使用方法:

    ts
    import useExampleStore from '@/store/modules/example'
    +const exampleStore = useExampleStore()
    +
    +exampleStore.someThing
    + + + + \ No newline at end of file diff --git a/guide/svg-icon.html b/guide/svg-icon.html new file mode 100644 index 00000000..9573a8d0 --- /dev/null +++ b/guide/svg-icon.html @@ -0,0 +1,44 @@ + + + + + + 图标 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    图标

    框架提供了三种使用图标的方式,你可以根据自己的使用需求自行选择。

    自定义图标

    你可以去阿里巴巴矢量图标库,或者其它支持下载 SVG 图标文件的网站,又或者是设计师绘制的 SVG 文件,将准备好的 SVG 图标文件放到 /src/assets/icons/ 目录下,然后在页面中就可以通过 SvgIcon 组件使用了,name 就是 svg 的文件名。

    vue
    <!-- /src/assets/icons/example.svg -->
    +<SvgIcon name="example" />

    Iconify 图标

    介绍

    Iconify 提供 100+ 套图标集,有 100,000+ 个图标可以免费使用。

    除了可以在 Iconify 官网上查找搜需要的图标,你还可以在 Icônes 网站 上查找,这是一个基于 Iconify 的在线图标搜索网站,它比 Iconify 官网的操作更直观。

    Unocss 方案

    说明

    Unocss 方案采用了 CSS 去处理图标的展示,框架大部分核心模块里采用的是这种方式,如果你对其中的技术细节感兴趣,可以阅读这篇 Unocss 作者的《聊聊纯 CSS 图标》这篇文章。

    框架已经做好了所有配置,使用方式也极为简单,你只需进入 Iconify 官网 上查找 Iconify 提供的所有图标,然后点击需要使用的图标,复制图标名称,在任意原生 HTML 标签上通过设置 class ,格式为 i-{集合名}:{图标名},例如:

    vue
    <div class="i-ep:arrow-right" />
    +<i class="i-ep:search" />

    当然你同样也可以通过 SvgIcon 使用它。

    vue
    <SvgIcon name="i-ep:arrow-right" />

    在使用 Unocss 图标时,需要注意以下两点:

    • 图标字符串不支持拼接

      vue
      <!-- 这样不会生效 -->
      +<SvgIcon :name="'i-ep' + ':search'" />
    • 图标字符串不支持异步返回

      vue
      <!-- 这样不会生效 -->
      +<!-- 假设 name 是异步请求返回的数据,name 为 i-ep:search -->
      +<SvgIcon :name="name" />

    如果确实有以上需求,你可以使用 Iconify 原生提供的方案。

    Iconify 原生方案

    说明

    框架保留了 Iconify 官方提供的使用方式,格式为 {集合名}:{图标名}

    vue
    <script setup>
    +import { Icon } from '@iconify/vue'
    +</script>
    +
    +<template>
    +  <Icon icon="ep:arrow-right" />
    +</template>

    当然这么使用并没有很方便,依旧还是需要手动导入一个 Icon 组件。如果你也觉得麻烦的话,那么你可以使用 SvgIcon 组件来展示,框架已经帮你做好的所有处理。

    vue
    <SvgIcon name="ep:arrow-right" />

    离线/内网环境使用

    说明

    优先推荐使用 Unocss 方案,它不受网络环境限制,且相对于 Iconify 原生方案,它的性能更好。

    如果你清楚自己需要使用 Iconify 原生方案,并且想要在离线/内网环境使用,需要做一些额外的配置。因为 Iconify 图标默认是提供在线的服务,即首次调用会触发一个外部网络请求去获取 svg 原始数据,并缓存在 localStorage 和 sessionStorage 中,这样下次再调用的时候,则直接从缓存中获取并展示。

    框架提供了一份解决方案,在命令行执行 pnpm run generate:icons ,按照指引选择你需要用到的图标集(此处选择的图标集也是图标选择器里展示的图标集),并选择使用方式为离线。这样再在框架中使用这些图标,就不会触发外部网络请求了,但如果使用选择之外的图标,依旧还是会触发外部网络请求。

    图标选择器 专业版

    图标选择器是一个特殊的组件,它需要展示多套图标集内的所有图标。

    通过执行 pnpm run generate:icons 命令,并按照指引完成操作后,图标选择器就会自动生效了。

    + + + + \ No newline at end of file diff --git a/guide/theme.html b/guide/theme.html new file mode 100644 index 00000000..c3f9ba0c --- /dev/null +++ b/guide/theme.html @@ -0,0 +1,269 @@ + + + + + + 主题 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    主题

    框架主题

    主题配色存放在 /themes/index.ts 文件中,基础版和专业版内容略有不同。

    基础版

    ts
    import { hex2rgba } from '@unocss/preset-mini/utils'
    +
    +export const lightTheme = {
    +  'color-scheme': 'light',
    +  // 内置 UI
    +  '--ui-primary': hex2rgba('#0f0f0f')!.join(' '),
    +  '--ui-text': hex2rgba('#fcfcfc')!.join(' '),
    +  // 主体
    +  '--g-app-bg': '#fff',
    +  '--g-main-bg': '#f2f2f2',
    +  '--g-border-color': '#f2f2f2',
    +  // 头部
    +  '--g-header-bg': '#fff',
    +  '--g-header-color': '#0f0f0f',
    +  '--g-header-menu-color': '#0f0f0f',
    +  '--g-header-menu-hover-bg': '#dde1e3',
    +  '--g-header-menu-hover-color': '#0f0f0f',
    +  '--g-header-menu-active-bg': '#0f0f0f',
    +  '--g-header-menu-active-color': '#fff',
    +  // 主导航
    +  '--g-main-sidebar-bg': '#f2f2f2',
    +  '--g-main-sidebar-menu-color': '#0f0f0f',
    +  '--g-main-sidebar-menu-hover-bg': '#dde1e3',
    +  '--g-main-sidebar-menu-hover-color': '#0f0f0f',
    +  '--g-main-sidebar-menu-active-bg': '#0f0f0f',
    +  '--g-main-sidebar-menu-active-color': '#fff',
    +  // 次导航
    +  '--g-sub-sidebar-bg': '#fff',
    +  '--g-sub-sidebar-logo-bg': '#0f0f0f',
    +  '--g-sub-sidebar-logo-color': '#fff',
    +  '--g-sub-sidebar-menu-color': '#0f0f0f',
    +  '--g-sub-sidebar-menu-hover-bg': '#dde1e3',
    +  '--g-sub-sidebar-menu-hover-color': '#0f0f0f',
    +  '--g-sub-sidebar-menu-active-bg': '#0f0f0f',
    +  '--g-sub-sidebar-menu-active-color': '#fff',
    +  // 工具栏
    +  '--g-toolbar-bg': '#fff',
    +}
    +
    +export const darkTheme = {
    +  'color-scheme': 'dark',
    +  // 内置 UI
    +  '--ui-primary': hex2rgba('#e5e5e5')!.join(' '),
    +  '--ui-text': hex2rgba('#0f0f0f')!.join(' '),
    +  // 主体
    +  '--g-app-bg': '#141414',
    +  '--g-main-bg': '#0a0a0a',
    +  '--g-border-color': '#15191e',
    +  // 头部
    +  '--g-header-bg': '#141414',
    +  '--g-header-color': '#e5e5e5',
    +  '--g-header-menu-color': '#a8a29e',
    +  '--g-header-menu-hover-bg': '#141414',
    +  '--g-header-menu-hover-color': '#e5e5e5',
    +  '--g-header-menu-active-bg': '#e5e5e5',
    +  '--g-header-menu-active-color': '#0a0a0a',
    +  // 主导航
    +  '--g-main-sidebar-bg': '#0a0a0a',
    +  '--g-main-sidebar-menu-color': '#a8a29e',
    +  '--g-main-sidebar-menu-hover-bg': '#141414',
    +  '--g-main-sidebar-menu-hover-color': '#e5e5e5',
    +  '--g-main-sidebar-menu-active-bg': '#e5e5e5',
    +  '--g-main-sidebar-menu-active-color': '#0a0a0a',
    +  // 次导航
    +  '--g-sub-sidebar-bg': '#141414',
    +  '--g-sub-sidebar-logo-bg': '#0f0f0f',
    +  '--g-sub-sidebar-logo-color': '#e5e5e5',
    +  '--g-sub-sidebar-menu-color': '#a8a29e',
    +  '--g-sub-sidebar-menu-hover-bg': '#0a0a0a',
    +  '--g-sub-sidebar-menu-hover-color': '#e5e5e5',
    +  '--g-sub-sidebar-menu-active-bg': '#e5e5e5',
    +  '--g-sub-sidebar-menu-active-color': '#0a0a0a',
    +  // 工具栏
    +  '--g-toolbar-bg': '#141414',
    +}

    专业版

    与基础版不同,专业版默认提供了 12 款主题,明亮和暗黑模式各 6 款,并且主题在运行时共存,可实现动态切换。

    ts
    import { hex2rgba } from '@unocss/preset-mini/utils'
    +
    +export default {
    +  light: {
    +    // 颜色主题
    +    'color-scheme': 'light',
    +    // 内置 UI
    +    '--ui-primary': hex2rgba('#0f0f0f')!.join(' '),
    +    '--ui-text': hex2rgba('#fcfcfc')!.join(' '),
    +    // 主体
    +    '--g-app-bg': '#fff',
    +    '--g-main-bg': '#f2f2f2',
    +    '--g-border-color': '#f2f2f2',
    +    // 头部
    +    '--g-header-bg': '#fff',
    +    '--g-header-color': '#0f0f0f',
    +    '--g-header-menu-color': '#0f0f0f',
    +    '--g-header-menu-hover-bg': '#dde1e3',
    +    '--g-header-menu-hover-color': '#0f0f0f',
    +    '--g-header-menu-active-bg': '#0f0f0f',
    +    '--g-header-menu-active-color': '#fff',
    +    // 主导航
    +    '--g-main-sidebar-bg': '#f2f2f2',
    +    '--g-main-sidebar-menu-color': '#0f0f0f',
    +    '--g-main-sidebar-menu-hover-bg': '#dde1e3',
    +    '--g-main-sidebar-menu-hover-color': '#0f0f0f',
    +    '--g-main-sidebar-menu-active-bg': '#0f0f0f',
    +    '--g-main-sidebar-menu-active-color': '#fff',
    +    // 次导航
    +    '--g-sub-sidebar-bg': '#fff',
    +    '--g-sub-sidebar-logo-bg': '#0f0f0f',
    +    '--g-sub-sidebar-logo-color': '#fff',
    +    '--g-sub-sidebar-menu-color': '#0f0f0f',
    +    '--g-sub-sidebar-menu-hover-bg': '#dde1e3',
    +    '--g-sub-sidebar-menu-hover-color': '#0f0f0f',
    +    '--g-sub-sidebar-menu-active-bg': '#0f0f0f',
    +    '--g-sub-sidebar-menu-active-color': '#fff',
    +    // 工具栏
    +    '--g-toolbar-bg': '#fff',
    +  },
    +  ...
    +  dark: {
    +    // 颜色主题
    +    'color-scheme': 'dark',
    +    // 内置 UI
    +    '--ui-primary': hex2rgba('#e5e5e5')!.join(' '),
    +    '--ui-text': hex2rgba('#0f0f0f')!.join(' '),
    +    // 主体
    +    '--g-app-bg': '#141414',
    +    '--g-main-bg': '#0a0a0a',
    +    '--g-border-color': '#15191e',
    +    // 头部
    +    '--g-header-bg': '#141414',
    +    '--g-header-color': '#e5e5e5',
    +    '--g-header-menu-color': '#a8a29e',
    +    '--g-header-menu-hover-bg': '#141414',
    +    '--g-header-menu-hover-color': '#e5e5e5',
    +    '--g-header-menu-active-bg': '#e5e5e5',
    +    '--g-header-menu-active-color': '#0a0a0a',
    +    // 主导航
    +    '--g-main-sidebar-bg': '#0a0a0a',
    +    '--g-main-sidebar-menu-color': '#a8a29e',
    +    '--g-main-sidebar-menu-hover-bg': '#141414',
    +    '--g-main-sidebar-menu-hover-color': '#e5e5e5',
    +    '--g-main-sidebar-menu-active-bg': '#e5e5e5',
    +    '--g-main-sidebar-menu-active-color': '#0a0a0a',
    +    // 次导航
    +    '--g-sub-sidebar-bg': '#141414',
    +    '--g-sub-sidebar-logo-bg': '#0f0f0f',
    +    '--g-sub-sidebar-logo-color': '#e5e5e5',
    +    '--g-sub-sidebar-menu-color': '#a8a29e',
    +    '--g-sub-sidebar-menu-hover-bg': '#0a0a0a',
    +    '--g-sub-sidebar-menu-hover-color': '#e5e5e5',
    +    '--g-sub-sidebar-menu-active-bg': '#e5e5e5',
    +    '--g-sub-sidebar-menu-active-color': '#0a0a0a',
    +    // 工具栏
    +    '--g-toolbar-bg': '#141414',
    +  },
    +  ...
    +}

    如果框架提供的主题风格满足不了你的需求,你还可以自定义新的主题。

    ts
    import { hex2rgba } from '@unocss/preset-mini/utils'
    +
    +export default {
    +  newThemeName: { // 主题名称
    +    // 颜色主题
    +    'color-scheme': 'light', // 可选值 light/dark ,表示该主题在明亮或暗黑模式下的配色
    +    // 内置 UI
    +    '--ui-primary': hex2rgba('#409eff')!.join(' '),
    +    '--ui-text': hex2rgba('#fcfcfc')!.join(' '),
    +    // 主体
    +    '--g-app-bg': '#fff',
    +    '--g-main-bg': '#f2f2f2',
    +    '--g-border-color': '#f2f2f2',
    +    // 头部
    +    '--g-header-bg': '#222b45',
    +    '--g-header-color': '#fff',
    +    '--g-header-menu-color': '#fff',
    +    '--g-header-menu-hover-bg': '#334067',
    +    '--g-header-menu-hover-color': '#fff',
    +    '--g-header-menu-active-bg': '#334067',
    +    '--g-header-menu-active-color': '#fff',
    +    // 主导航
    +    '--g-main-sidebar-bg': '#222b45',
    +    '--g-main-sidebar-menu-color': '#fff',
    +    '--g-main-sidebar-menu-hover-bg': '#334067',
    +    '--g-main-sidebar-menu-hover-color': '#fff',
    +    '--g-main-sidebar-menu-active-bg': '#334067',
    +    '--g-main-sidebar-menu-active-color': '#fff',
    +    // 次导航
    +    '--g-sub-sidebar-bg': '#fff',
    +    '--g-sub-sidebar-logo-bg': '#222b45',
    +    '--g-sub-sidebar-logo-color': '#fff',
    +    '--g-sub-sidebar-menu-color': '#0f0f0f',
    +    '--g-sub-sidebar-menu-hover-bg': '#dde1e3',
    +    '--g-sub-sidebar-menu-hover-color': '#0f0f0f',
    +    '--g-sub-sidebar-menu-active-bg': '#409eff',
    +    '--g-sub-sidebar-menu-active-color': '#fff',
    +    // 工具栏
    +    '--g-toolbar-bg': '#fff',
    +  },
    +}

    最后在应用配置中使用该主题:

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    // 如果主题是暗黑模式下使用的,则 darkTheme: 'newThemeName'
    +    lightTheme: 'newThemeName',
    +  },
    +}

    颜色方案

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    /**
    +     * 留空跟随系统
    +     * light 明亮模式
    +     * dark 暗黑模式
    +     */
    +    colorScheme: '',
    +  },
    +}

    哀悼模式 v4.5.0 新增

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    enableMournMode: true,
    +  },
    +}

    色弱模式 v4.5.0 新增

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    enableColorAmblyopiaMode: true,
    +  },
    +}

    导航栏风格 专业版

    风格

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    /**
    +     * 留空默认
    +     * arrow 箭头
    +     * line 线条
    +     * dot 圆点
    +     */
    +    style: '', // v4.5.0 之前版本为 menuActiveStyle
    +  },
    +}

    圆角

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  menu: {
    +    // 导航栏是否圆角
    +    isRounded: true,
    +  },
    +}

    开发注意

    如果只在明亮或暗黑模式中,选择其中一种模式进行业务开发,那没有什么需要注意的,你可以按照以往的开发习惯进行开发,这也是框架推荐的方式。

    但如果需要让用户可以自己选择明亮或暗黑模式,或者是根据浏览器主题来判断是使用明亮还是暗黑模式。这时候开发则需要注意,业务页面里使用到的颜色将不能写成固定值(例如 color 、background-color 、border-color 、box-shadow 等有涉及到颜色的属性),因为同一个色值是无法顾及到明亮和暗黑两种模式的。

    这时候我们建议使用 UnoCSS 进行样式编写,例如 text-dark dark-text-whitebg-green dark-bg-red 。如果你不习惯使用 UnoCSS ,那也可以使用下面这种方法,在页面中去自定义一些颜色。

    scss
    div {
    +  color: #000;
    +
    +  [data-theme="dark"] & {
    +    color: #fff;
    +  }
    +}

    最后分享一篇关于暗黑模式的文章《教你巧用UI设计中的暗黑模式——Dark Mode》,希望帮助你更好地在暗黑模式下开发出优秀的页面。

    + + + + \ No newline at end of file diff --git a/guide/toolbar.html b/guide/toolbar.html new file mode 100644 index 00000000..fa4e7a87 --- /dev/null +++ b/guide/toolbar.html @@ -0,0 +1,65 @@ + + + + + + 工具栏 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    工具栏

    工具栏主要是红框处各类功能图标。

    窗口预览

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    previewWindows: true,
    +  },
    +}

    收藏夹 专业版

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    favorites: true,
    +  },
    +}

    详细可阅读《收藏夹》。

    导航搜索

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    navSearch: true,
    +  },
    +}

    通知中心 专业版

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    notification: true,
    +  },
    +}

    通知中心不涉及具体业务,需开发者自行实现,相关文件在:

    • /src/views/components/Tools/Notification/index.vue 通知中心下拉预览面板
    • /src/views/windows/PersonalNotification/index.vue 通知中心页面

    国际化 专业版

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    i18n: true,
    +  },
    +}

    如果设置为不启用,并不代表不支持国际化切换,只是不会在工具栏显示切换语言的图标,详细可阅读《国际化》。

    浏览器全屏

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    fullscreen: true,
    +  },
    +}

    颜色主题

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    colorScheme: true,
    +  },
    +}

    如果设置为不启用,并不代表不支持颜色主题切换,只是不会在工具栏显示切换颜色主题的图标。

    布局 专业版

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  toolbar: {
    +    layout: ['previewWindows', 'favorites', '->', 'navSearch', 'notification', 'i18n', 'fullscreen', 'colorScheme'],
    +  },
    +}

    可自定义摆放位置和顺序,其中 -> 为分隔符,用于分隔左右两侧的工具栏。修改时请确保提供的所有值都存在,不可删减。

    + + + + \ No newline at end of file diff --git a/guide/upgrade.html b/guide/upgrade.html new file mode 100644 index 00000000..63e2549e --- /dev/null +++ b/guide/upgrade.html @@ -0,0 +1,33 @@ + + + + + + 框架更新 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    框架更新

    首先明确一点,One-step-admin 无法像 npm 的插件一样更新,不仅我们的框架如此,其实大部分管理系统框架都是如此。

    因为本质上这类框架其实是一个初始模板,开发者会根据自身需求去修改,然后基于业务开展业务代码编写。

    所以一旦下载开始使用,基本是无法更新的,你在哪个时间点开始使用,项目就固定在什么版本了。

    虽然有小部分框架选择将部分核心源码封装成 npm 依赖包,由作者全权维护,这样的处理在一定程度上有解决版本更新的问题,但弊端也很明显,开发者在二次开发上会有明显的局限,作者认为是得不偿失的。

    那有没有解决办法么?其实也有,参考如下:

    1. 在基于 One-step-admin 做项目开发时尽量避免框架自带模块或组件的改动,或者改动地方做一个文档记录,可以清楚知道改动了哪些,这样当你需要进行新版本更新时,按照之前记录的文档可以有个大致的迁移方案,而业务代码则可以直接拷贝过去。
    2. 我们尽量在提交代码时标明每次提交改动的变更记录说明,这样你可以选择性的更新部分新代码到项目中,也就是局部更新。这种方案也是作者在公司内部项目经常使用的,因为大部分项目是无需全局更新到新版的,只需将必要的一些新特性或 bug 修复同步到原有项目中即可。
    3. 使用文件比较工具,例如 Beyond Compare,这款工具可以直接对比文件夹,可以清晰的列出文件夹内所有文件的差异,可以协助升级工作开展。

    当然个人建议是,做为一个中后台系统框架,稳定是第一诉求,不到万不得已不建议频繁更新,因为更新的成本挺高的,每一次大更新,都需要一次完整的回归测试,以确保功能正常运行。

    + + + + \ No newline at end of file diff --git a/guide/vue3-composition-api.html b/guide/vue3-composition-api.html new file mode 100644 index 00000000..7e768148 --- /dev/null +++ b/guide/vue3-composition-api.html @@ -0,0 +1,51 @@ + + + + + + 使用 Composition API 开发 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    使用 Composition API 开发

    TIP

    Composition API 是 Vue3 全新提供的一种语法,对于从 Vue2 就在使用的开发者,如果一时半会没办法立马上手 Composition API ,你依旧可以在项目中使用 Options API 做开发。当然我们更建议你使用 Composition API 进行开发,它比 Options API 更灵活且易读。

    使用

    如果你还不熟悉 Composition API ,那么我们建议你阅读 Vue3 官方文档了解;如果你已经熟悉 Composition API ,那么我们建议你在开发的时候,使用 <script setup> 语法糖进行开发,它将提高很多开发上的效率。

    同时得益于 unplugin-auto-import 的特性,在 <script setup> 里无需导入相关 API ,该依赖会自动导入(默认支持 vue,vue-router 和 pinia )。

    vue
    <script setup lang="ts">
    +// 无需手动 import 相关 API
    +import { computed, ref } from 'vue'
    +
    +const count = ref(0)
    +const doubled = computed(() => count.value * 2)
    +</script>

    组件 name

    <script setup> 可以和普通的 <script> 一起使用,所以可以这样定义组件 name:

    vue
    <script lang="ts">
    +export default {
    +  name: 'componentName',
    +}
    +</script>
    +
    +<script setup lang="ts">
    +...
    +</script>

    Vue 3.3 开始,你可以使用 defineOptions<script setup> 里定义组件的 name:

    vue
    <script setup lang="ts">
    +defineOptions({
    +  name: 'ComponentName',
    +})
    +</script>
    + + + + \ No newline at end of file diff --git a/guide/watermark.html b/guide/watermark.html new file mode 100644 index 00000000..097a1317 --- /dev/null +++ b/guide/watermark.html @@ -0,0 +1,49 @@ + + + + + + 页面水印 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    页面水印 专业版

    使用

    在应用配置中设置:

    ts
    const globalSettings: Settings.all = {
    +  app: {
    +    enableWatermark: true,
    +  },
    +}

    效果如下:

    设置水印内容

    /src/store/modules/watermark.ts 中可修改水印展示内容,以及其他水印相关配置。

    水印同时支持动态更新,示例:

    vue
    <script setup lang="ts">
    +import useWatermarkStore from '@/store/modules/watermark'
    +
    +const watermarkStore = useWatermarkStore()
    +
    +watermarkStore.update({
    +  text: '设置水印',
    +  // 更多设置项请查看 /src/utils/watermark.ts 中 settingsType 类型定义
    +})
    +
    +// 重置水印,恢复到默认设置
    +watermarkStore.update()
    +</script>
    + + + + \ No newline at end of file diff --git a/guide/why.html b/guide/why.html new file mode 100644 index 00000000..0a7d1787 --- /dev/null +++ b/guide/why.html @@ -0,0 +1,33 @@ + + + + + + 为什么选择我们 ? | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    为什么选择我们 ?

    如果你正在做后台框架相关的调研或选型,相信这篇介绍能帮助你快速了解 One-step-admin 的特点,以及与传统后台框架的对比。

    长期且稳定

    One-step-admin 自 2021/11/01 正式对外发布,截止到今天为止,已持续维护 982 天。

    高效的交互方式

    摆脱传统后台框架路由跳转的交互,将每个模块以窗口的形式展示在同一个界面中,让使用人员可以做到跨模块的多线操作。

    窗口最大化

    窗口默认宽度为 800px ,可以在项目中进行调整,也可以通过最大化按钮将窗口最大化展示,以便展示更多信息。

    快速定位操作窗口

    提供的预览界面可以帮助使用人员快速定位到需要操作的窗口。

    专注模式

    可勾选多个窗口平均分布在页面中,专注于所勾选的窗口进行操作。

    窗口排序

    快速调整窗口的展示顺序。

    继承自 Fantastic-admin

    本框架继承了 Fantastic-admin 许多优秀的特性。例如同样提供了 5 款导航栏模式,3 款导航栏风格以及 6 款主题配色,导航也提供了各种展示形态的设置,显隐、标题、图标、徽标、外链等。

    为什么不是 Fantastic-admin ?

    这里的 Fantastic-admin 代表了市面上几乎所有的传统后台框架,它们的优势在于理解成本低,每个页面的功能明确,需要做什么操作就进入不同的页面。

    而劣势也是因为这种优势导致的,例如要在多个模块之间进行操作,就需要频繁切换路由,而切换路由会导致之前页面上的数据丢失,进而扩展了页面缓存和标签栏的特性,但也变相增加了开发人员的开发成本。其次现在的显示器都在往高分屏/带鱼屏发展,当页面展示内容不多的时候,界面上会显示大量的留白,造成空间浪费。

    基于传统后台框架的这些痛点,One-step-admin 应运而生,它探索出了一种全新的交互方式,有效提高了使用人员的操作效率,同时也减轻了开发人员的开发成本

    以上面举例的场景,在 One-step-admin 里,因为模块都以窗口的形式在同一个界面上展示,所以就不存在切换路由,也就不存在切换路由导致页面数据丢失的场景,开发人员只需关注模块内的业务实现即可。

    + + + + \ No newline at end of file diff --git a/guide/window.html b/guide/window.html new file mode 100644 index 00000000..a3e225ee --- /dev/null +++ b/guide/window.html @@ -0,0 +1,33 @@ + + + + + + 窗口 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    窗口

    窗口即组件,存放在 /src/views/windows/ 目录下,类似于全局组件,文件夹名即为组件名,在窗口打开的时候会动态加载组件。

    每个窗口的文件夹内至少保留一个文件名为 index.vue 的入口文件。

    注意

    由于窗口展示的特殊性,请勿在窗口组件内使用 position: fixed; 样式。

    + + + + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json new file mode 100644 index 00000000..4683e1a1 --- /dev/null +++ b/hashmap.json @@ -0,0 +1 @@ +{"components_images-upload.md":"Cd6zEgR1","components_i18n-selector.md":"Dr700vmV","components_action-container.md":"DdeQ7zML","components_image-preview.md":"BjH-LFjN","components_icon-picker.md":"DpAWhg_4","components_colorful-card.md":"KYA575Kt","components_index.md":"JHv7Hbv9","components_chip.md":"CBVmpTUA","components_page-header.md":"Bd3KKk70","components_page-main.md":"BKLQvb0A","components_pcas-cascader.md":"apILNq12","buy.md":"CQ3xtfYi","components_search-bar.md":"bWOibWnN","components_sparkline.md":"DR0l8g8E","components_storage-box.md":"1-KMrZnk","components_svg-icon.md":"BBek8rXU","guide_favorites.md":"ZqxpcKFu","components_file-upload.md":"B2cvG68s","components_image-upload.md":"DruKc7eq","components_auth.md":"CvKTnP4h","components_trend.md":"_IkasUwJ","guide_changelog.md":"B4WeWtBt","guide_global-resources.md":"DXjR_EoV","guide_error-log.md":"HBsD3XmX","guide_api.md":"DEtFDhYw","guide_rtl.md":"BZFPUhoa","components_auth-all.md":"Cn9ierS0","guide_components.md":"BTy5udts","guide_font.md":"CmIywjQD","guide_copyright.md":"CaeloelK","guide_coding-standard.md":"CIF2Eb5S","guide_login.md":"CAzvueuF","guide_store.md":"KX3ugnIN","guide_menu.md":"DchrfzGQ","guide_upgrade.md":"D5NOrwqF","guide_vue3-composition-api.md":"DwQchkYK","guide_watermark.md":"D1zi5oiQ","guide_why.md":"BBaavQ7w","guide_window.md":"CVVYphVf","index.md":"DT-26Slf","support.md":"af93Cp5L","guide_replace-to-vexip.md":"EiPSAYRa","guide_toolbar.md":"CpV-anBK","guide_layout.md":"DcGlITW2","guide_permission.md":"DaQR2Z9Q","guide_plop-module.md":"B-6cnJIq","guide_theme.md":"BDdWRKkQ","guide_plop.md":"D0EUaBMV","guide_q-a.md":"Dvfs7RPj","guide_ready.md":"K1Eyoez-","guide_replace-to-arco.md":"Dx2PnEpB","guide_replace-to-tdesign.md":"HgaSanK9","guide_replace-to-idux.md":"CKOkDsjt","guide_storage.md":"DOvVu3nP","guide_replace-to-naive.md":"vnCpv8CN","guide_start.md":"6exwAAYc","guide_i18n.md":"Bcn1Za-k","guide_svg-icon.md":"DIDfO4u5","guide_build.md":"DXDo3brK","guide_router.md":"BPoleRVM","guide_axios.md":"zJjuCLm6","guide_configure.md":"Bns3GLpw","guide_intro.md":"Ba_V-EtT","guide_replace-to-antd.md":"BMifkikm","guide_preferences.md":"GBdiw733"} diff --git a/i18n-ally.png b/i18n-ally.png new file mode 100644 index 00000000..b46c38c1 Binary files /dev/null and b/i18n-ally.png differ diff --git a/icones1.png b/icones1.png new file mode 100644 index 00000000..8f35bc50 Binary files /dev/null and b/icones1.png differ diff --git a/icones2.png b/icones2.png new file mode 100644 index 00000000..72f13e58 Binary files /dev/null and b/icones2.png differ diff --git a/index.html b/index.html new file mode 100644 index 00000000..5c3e29c2 --- /dev/null +++ b/index.html @@ -0,0 +1,33 @@ + + + + + + One-step-admin | 一款 Vue 中后台管理系统框架 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    One-step-admin

    巧妙的管理系统框架

    快人一步,给你不一样的使用体验

    Vite

    截图预览

    + + + + \ No newline at end of file diff --git a/intro-1.gif b/intro-1.gif new file mode 100644 index 00000000..5825fac0 Binary files /dev/null and b/intro-1.gif differ diff --git a/intro-2.gif b/intro-2.gif new file mode 100644 index 00000000..579e7aaf Binary files /dev/null and b/intro-2.gif differ diff --git a/intro-3.gif b/intro-3.gif new file mode 100644 index 00000000..672e9ac4 Binary files /dev/null and b/intro-3.gif differ diff --git a/intro-4.gif b/intro-4.gif new file mode 100644 index 00000000..44fd17eb Binary files /dev/null and b/intro-4.gif differ diff --git a/intro-5.gif b/intro-5.gif new file mode 100644 index 00000000..1089cac3 Binary files /dev/null and b/intro-5.gif differ diff --git a/logo.png b/logo.png new file mode 100644 index 00000000..7bfa7dbd Binary files /dev/null and b/logo.png differ diff --git a/menu-isrounded.png b/menu-isrounded.png new file mode 100644 index 00000000..4969e495 Binary files /dev/null and b/menu-isrounded.png differ diff --git a/menu-mode-head-panel.png b/menu-mode-head-panel.png new file mode 100644 index 00000000..b66290ea Binary files /dev/null and b/menu-mode-head-panel.png differ diff --git a/menu-mode-head.png b/menu-mode-head.png new file mode 100644 index 00000000..9b6de2d5 Binary files /dev/null and b/menu-mode-head.png differ diff --git a/menu-mode-only-head.png b/menu-mode-only-head.png new file mode 100644 index 00000000..68b2e789 Binary files /dev/null and b/menu-mode-only-head.png differ diff --git a/menu-mode-only-side.png b/menu-mode-only-side.png new file mode 100644 index 00000000..9b3a3b10 Binary files /dev/null and b/menu-mode-only-side.png differ diff --git a/menu-mode-side-panel.png b/menu-mode-side-panel.png new file mode 100644 index 00000000..c76c0488 Binary files /dev/null and b/menu-mode-side-panel.png differ diff --git a/menu-mode-side.png b/menu-mode-side.png new file mode 100644 index 00000000..9e7dd585 Binary files /dev/null and b/menu-mode-side.png differ diff --git a/menu-mode-single.png b/menu-mode-single.png new file mode 100644 index 00000000..5ee5c2b0 Binary files /dev/null and b/menu-mode-single.png differ diff --git a/menu-style.png b/menu-style.png new file mode 100644 index 00000000..4a64ab37 Binary files /dev/null and b/menu-style.png differ diff --git a/module1.gif b/module1.gif new file mode 100644 index 00000000..34d9005d Binary files /dev/null and b/module1.gif differ diff --git a/module2.gif b/module2.gif new file mode 100644 index 00000000..ecdf104e Binary files /dev/null and b/module2.gif differ diff --git a/plop-component.gif b/plop-component.gif new file mode 100644 index 00000000..b3940bac Binary files /dev/null and b/plop-component.gif differ diff --git a/plop-mock.gif b/plop-mock.gif new file mode 100644 index 00000000..ce919aa5 Binary files /dev/null and b/plop-mock.gif differ diff --git a/plop-module.gif b/plop-module.gif new file mode 100644 index 00000000..c633ee30 Binary files /dev/null and b/plop-module.gif differ diff --git a/plop-page.gif b/plop-page.gif new file mode 100644 index 00000000..34c80e9b Binary files /dev/null and b/plop-page.gif differ diff --git a/plop-store.gif b/plop-store.gif new file mode 100644 index 00000000..67604674 Binary files /dev/null and b/plop-store.gif differ diff --git a/preferences.png b/preferences.png new file mode 100644 index 00000000..ce2ebe93 Binary files /dev/null and b/preferences.png differ diff --git a/preview1.png b/preview1.png new file mode 100644 index 00000000..09889d13 Binary files /dev/null and b/preview1.png differ diff --git a/preview2.png b/preview2.png new file mode 100644 index 00000000..839fc75b Binary files /dev/null and b/preview2.png differ diff --git a/preview3.png b/preview3.png new file mode 100644 index 00000000..b585f595 Binary files /dev/null and b/preview3.png differ diff --git a/preview4.png b/preview4.png new file mode 100644 index 00000000..3c31f4b4 Binary files /dev/null and b/preview4.png differ diff --git a/preview5.png b/preview5.png new file mode 100644 index 00000000..a373a161 Binary files /dev/null and b/preview5.png differ diff --git a/preview6.png b/preview6.png new file mode 100644 index 00000000..9a863100 Binary files /dev/null and b/preview6.png differ diff --git a/qa1.png b/qa1.png new file mode 100644 index 00000000..72663512 Binary files /dev/null and b/qa1.png differ diff --git a/qrcode-alipay-699.png b/qrcode-alipay-699.png new file mode 100644 index 00000000..0aa9a550 Binary files /dev/null and b/qrcode-alipay-699.png differ diff --git a/qrcode-alipay-799.png b/qrcode-alipay-799.png new file mode 100644 index 00000000..84fad466 Binary files /dev/null and b/qrcode-alipay-799.png differ diff --git a/qrcode-alipay-all.png b/qrcode-alipay-all.png new file mode 100644 index 00000000..e230c9cc Binary files /dev/null and b/qrcode-alipay-all.png differ diff --git a/qrcode-alipay-hongbao.jpg b/qrcode-alipay-hongbao.jpg new file mode 100644 index 00000000..735045c0 Binary files /dev/null and b/qrcode-alipay-hongbao.jpg differ diff --git a/qrcode-wechat-699.png b/qrcode-wechat-699.png new file mode 100644 index 00000000..91c5ae0f Binary files /dev/null and b/qrcode-wechat-699.png differ diff --git a/qrcode-wechat-799.png b/qrcode-wechat-799.png new file mode 100644 index 00000000..2cb4c260 Binary files /dev/null and b/qrcode-wechat-799.png differ diff --git a/qrcode-wechat-all.png b/qrcode-wechat-all.png new file mode 100644 index 00000000..ec227854 Binary files /dev/null and b/qrcode-wechat-all.png differ diff --git a/rtl.png b/rtl.png new file mode 100644 index 00000000..0201aef0 Binary files /dev/null and b/rtl.png differ diff --git a/settings.png b/settings.png new file mode 100644 index 00000000..16d500b1 Binary files /dev/null and b/settings.png differ diff --git a/support.html b/support.html new file mode 100644 index 00000000..c0c01721 --- /dev/null +++ b/support.html @@ -0,0 +1,33 @@ + + + + + + 技术支持 | One-step-admin 官方文档 + + + + + + + + + + + + + + + + + + + + + + +
    Skip to content

    技术支持

    基础版

    在使用框架的过程中难免会遇到问题,优先推荐在仓库提交 Issue ,你可以更详细描述问题产生的操作步骤,或者提供完整的最小复现,这样做可以让更多的人参与讨论,也方便后人查阅。

    专业版

    购买专业版的用户可以加我微信直接和我一对一沟通使用问题。

    + + + + \ No newline at end of file diff --git a/theme.gif b/theme.gif new file mode 100644 index 00000000..c879b1b0 Binary files /dev/null and b/theme.gif differ diff --git a/toolbar.png b/toolbar.png new file mode 100644 index 00000000..d41e8f1a Binary files /dev/null and b/toolbar.png differ diff --git a/ui-antd.png b/ui-antd.png new file mode 100644 index 00000000..5a7f27f8 Binary files /dev/null and b/ui-antd.png differ diff --git a/ui-arco.png b/ui-arco.png new file mode 100644 index 00000000..ad963d5d Binary files /dev/null and b/ui-arco.png differ diff --git a/ui-idux.png b/ui-idux.png new file mode 100644 index 00000000..2d341ed1 Binary files /dev/null and b/ui-idux.png differ diff --git a/ui-naive.png b/ui-naive.png new file mode 100644 index 00000000..fe0062b3 Binary files /dev/null and b/ui-naive.png differ diff --git a/ui-tdesign.png b/ui-tdesign.png new file mode 100644 index 00000000..bdf07dd3 Binary files /dev/null and b/ui-tdesign.png differ diff --git a/ui-vexip.png b/ui-vexip.png new file mode 100644 index 00000000..b70abab0 Binary files /dev/null and b/ui-vexip.png differ diff --git a/vscode.png b/vscode.png new file mode 100644 index 00000000..d6f68934 Binary files /dev/null and b/vscode.png differ diff --git a/watermark.png b/watermark.png new file mode 100644 index 00000000..36b9996b Binary files /dev/null and b/watermark.png differ