Docs
✨ 介绍
Docs 是 fighting design 官方文档目录,使用 VitePress 进行开发。
vitePress
是一个 Vite
和 Vue
支持的静态站点生成器,使用 MarkDown 进行编写。如果你还不了解 MarkDown
,可以通过这里进行学习。
如果你也想编写自己的 blog
,可以在 VitePress 官方进行学习使用。vitepress-template 是我已经配置好的一个项目,也可以拿来开箱即用。
🐳 线上地址
- 官方文档:Fighting Design
- 仓库地址:Docs
🚧 编写规范
首先需要在 docs/components 目录下,新建一个以组件小写名,去掉首字母 F
的 *.md
文件。如:button
,而不是 FButton
。
*.md
内,只允许出现一个一级标题#
,后面全部使用二级标题##
,禁止出现二级标题以下的标题- 一级标题为
组件的名称 + 中文描述
,中间要带有空格。如:Button 按钮
、Icon 图标
。这里的组件名要以大写开头 - 接下来每个二级标题用于描述配置信息,配置信息下面要写入简单的描述。如下,取自 button.md:
## 基本使用
+ Skip to content On this pageDocs
✨ 介绍
Docs 是 fighting design 官方文档目录,使用 VitePress 进行开发。
vitePress
是一个 Vite
和 Vue
支持的静态站点生成器,使用 MarkDown 进行编写。如果你还不了解 MarkDown
,可以通过这里进行学习。
如果你也想编写自己的 blog
,可以在 VitePress 官方进行学习使用。vitepress-template 是我已经配置好的一个项目,也可以拿来开箱即用。
🐳 线上地址
- 官方文档:Fighting Design
- 仓库地址:Docs
🚧 编写规范
首先需要在 docs/components 目录下,新建一个以组件小写名,去掉首字母 F
的 *.md
文件。如:button
,而不是 FButton
。
*.md
内,只允许出现一个一级标题 #
,后面全部使用二级标题 ##
,禁止出现二级标题以下的标题- 一级标题为
组件的名称 + 中文描述
,中间要带有空格。如:Button 按钮
、Icon 图标
。这里的组件名要以大写开头 - 接下来每个二级标题用于描述配置信息,配置信息下面要写入简单的描述。如下,取自 button.md:
## 基本使用
`type` 属性可以配置不同的按钮类型,展示不同的颜色状态
- 并不是组件的所有配置项都要带有演示用例,突出主要即可
- 英文名要用反引号包裹,左右两边要带有空格。如:
type
配置按钮的类型 - 描述信息之后要带有具体的配置例子
- 需要提供演效果的代码段,代码段使用已经封装好的
::: demo
语法来展示 demo 和下拉菜单内容,详情配置可参考 plugins.ts 。例:
::: demo
@@ -56,8 +56,8 @@
<f-avatar round src="" />
</a>
例如我的:
html<a href="https://github.com/Tyh2001" target="_blank">
<f-avatar round src="https://avatars.githubusercontent.com/u/73180970?v=4" />
-</a>
💬 写在最后
规范可能随时会增加或者修改,在编写文档前请认真阅读规范指南。
-
diff --git a/assets/README.md.a0674b76.js b/assets/README.md.3fdbf429.js
similarity index 99%
rename from assets/README.md.a0674b76.js
rename to assets/README.md.3fdbf429.js
index 41b4e6cb5..c48661175 100644
--- a/assets/README.md.a0674b76.js
+++ b/assets/README.md.3fdbf429.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,M as t}from"./chunks/framework.f50263fa.js";const y=JSON.parse('{"title":"Docs","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":1716512774000}'),n={name:"README.md"},o=t(`Docs
✨ 介绍
Docs 是 fighting design 官方文档目录,使用 VitePress 进行开发。
vitePress
是一个 Vite
和 Vue
支持的静态站点生成器,使用 MarkDown 进行编写。如果你还不了解 MarkDown
,可以通过这里进行学习。
如果你也想编写自己的 blog
,可以在 VitePress 官方进行学习使用。vitepress-template 是我已经配置好的一个项目,也可以拿来开箱即用。
🐳 线上地址
- 官方文档:Fighting Design
- 仓库地址:Docs
🚧 编写规范
首先需要在 docs/components 目录下,新建一个以组件小写名,去掉首字母 F
的 *.md
文件。如:button
,而不是 FButton
。
*.md
内,只允许出现一个一级标题 #
,后面全部使用二级标题 ##
,禁止出现二级标题以下的标题- 一级标题为
组件的名称 + 中文描述
,中间要带有空格。如:Button 按钮
、Icon 图标
。这里的组件名要以大写开头 - 接下来每个二级标题用于描述配置信息,配置信息下面要写入简单的描述。如下,取自 button.md:
## 基本使用
+import{_ as s,c as a,o as e,M as t}from"./chunks/framework.f50263fa.js";const y=JSON.parse('{"title":"Docs","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":1718072164000}'),n={name:"README.md"},o=t(`Docs
✨ 介绍
Docs 是 fighting design 官方文档目录,使用 VitePress 进行开发。
vitePress
是一个 Vite
和 Vue
支持的静态站点生成器,使用 MarkDown 进行编写。如果你还不了解 MarkDown
,可以通过这里进行学习。
如果你也想编写自己的 blog
,可以在 VitePress 官方进行学习使用。vitepress-template 是我已经配置好的一个项目,也可以拿来开箱即用。
🐳 线上地址
- 官方文档:Fighting Design
- 仓库地址:Docs
🚧 编写规范
首先需要在 docs/components 目录下,新建一个以组件小写名,去掉首字母 F
的 *.md
文件。如:button
,而不是 FButton
。
*.md
内,只允许出现一个一级标题 #
,后面全部使用二级标题 ##
,禁止出现二级标题以下的标题- 一级标题为
组件的名称 + 中文描述
,中间要带有空格。如:Button 按钮
、Icon 图标
。这里的组件名要以大写开头 - 接下来每个二级标题用于描述配置信息,配置信息下面要写入简单的描述。如下,取自 button.md:
## 基本使用
\`type\` 属性可以配置不同的按钮类型,展示不同的颜色状态
- 并不是组件的所有配置项都要带有演示用例,突出主要即可
- 英文名要用反引号包裹,左右两边要带有空格。如:
type
配置按钮的类型 - 描述信息之后要带有具体的配置例子
- 需要提供演效果的代码段,代码段使用已经封装好的
::: demo
语法来展示 demo 和下拉菜单内容,详情配置可参考 plugins.ts 。例:
::: demo
diff --git a/assets/README.md.a0674b76.lean.js b/assets/README.md.3fdbf429.lean.js
similarity index 83%
rename from assets/README.md.a0674b76.lean.js
rename to assets/README.md.3fdbf429.lean.js
index 7c9198d75..d6ce2e5ec 100644
--- a/assets/README.md.a0674b76.lean.js
+++ b/assets/README.md.3fdbf429.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,M as t}from"./chunks/framework.f50263fa.js";const y=JSON.parse('{"title":"Docs","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":1716512774000}'),n={name:"README.md"},o=t("",39),l=[o];function p(c,r,d,i,h,b){return e(),a("div",null,l)}const u=s(n,[["render",p]]);export{y as __pageData,u as default};
+import{_ as s,c as a,o as e,M as t}from"./chunks/framework.f50263fa.js";const y=JSON.parse('{"title":"Docs","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":1718072164000}'),n={name:"README.md"},o=t("",39),l=[o];function p(c,r,d,i,h,b){return e(),a("div",null,l)}const u=s(n,[["render",p]]);export{y as __pageData,u as default};
diff --git a/assets/app.ed2e021c.js b/assets/app.bab419e5.js
similarity index 99%
rename from assets/app.ed2e021c.js
rename to assets/app.bab419e5.js
index 7ef7c2c80..910812e88 100644
--- a/assets/app.ed2e021c.js
+++ b/assets/app.bab419e5.js
@@ -1,2 +1,2 @@
-import{f as B,j as ie,w as pe,_ as te,o as u,c as p,v as $,d as L,C as V,y as A,r as F,b as o,t as H,z as w,n as T,D,ab as rn,s as Ge,h as M,i as tt,ac as $t,ad as an,ae as cn,a1 as ne,$ as Le,x as N,a as X,F as U,J as K,T as ce,Q as le,a9 as _e,a2 as re,Z as de,a4 as be,R as ue,k as je,af as Q,ag as J,ah as un,X as dn,a8 as Ue,a5 as Fe,O as Ne,ai as fn,aj as Ct,E as Te,ak as pn,A as wt,a0 as St,a6 as Me,al as bn,V as mn,B as hn,am as _n,a3 as pt,an as vn,u as Ft,H as Je,ao as gn,ap as yn,aq as kn,ar as $n,as as Cn,at as wn,au as Sn,av as Fn,aw as zn,ax as Ln,ay as In,az as Pn,aA as En,aB as Tn}from"./chunks/framework.f50263fa.js";import{t as bt}from"./chunks/theme.ac1019f2.js";import{o as fe,r as Ie,t as Vn,j,p as xe,v as Mn,a as g,s as h,c as Z,e as x,u as G,w as nt,x as Bn,i as me,h as ee,F as ke,m as z,y as ve,b as O,d as P,f as $e,l as E,z as ot,k as ae,A as zt,B as st,C as An,D as lt,q as Nn,n as Xe,E as oe,G as Dn,H as Rn}from"./chunks/index.ccb77e9b.js";import{a as Lt,u as he,P as On,b as It,B as Hn,F as se,c as Gn,d as jn}from"./chunks/index.e9f855f3.js";import{w as ye,e as Ve}from"./chunks/index.a460f002.js";import{F as Pt}from"./chunks/index.661bf63c.js";import{F as Et}from"./chunks/index.c8ccc1ab.js";import{F as Un,a as xn}from"./chunks/index.c6df67b5.js";import"./chunks/index.f96b7fa5.js";const Tt=(t,e)=>{let n=[];return fe(t)&&t.length&&t.forEach(a=>{const r=Ie(a.type)&&a.type.name;if(r===e&&n.push(a),r!==e&&a.children&&fe(a.children)){const f=Tt(a.children,e);n=n.concat(f)}}),n},qn=t=>{if(typeof t!="object"||t===null)return ye("objectEntries","Parameter is not an object type."),[];if(Object.entries&&Object.entries!==void 0)return Object.entries(t);const e=[];for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push([n,t[n]]);return e},Yn=()=>{const t=B(1),e=B(0),n=()=>{Vn(t.value,1)>=.2&&(t.value-=.2)},a=()=>{t.value<=10&&(t.value+=.2)};return{scale:t,rotate:e,smaller:n,bigger:a,scrollZoom:c=>{c.preventDefault(),c.deltaY>1?n():a()},recovery:()=>{t.value=1,e.value=0},rotateClockwise:()=>{e.value+=90},rotateCounterClock:()=>{e.value-=90}}},Kn=t=>{const e=eo(),n=(i,l)=>{const c=[31,28,31,30,31,30,31,31,30,31,30,31];return l-1===-1&&(l=12),l===2&&r(i)?29:c[l-1]},a=(i,l)=>new Date(i,l-1,1).getDay(),r=i=>i%4===0&&i%100!==0||i%400===0;return{generateCalendar:(i,l)=>{const c=[],s=a(i,l),d=n(i,l-1);for(let _=s-1;_>=0;_--){const b=l-1===0?12:l-1,v=d-_,C=t.lunar?e(i,b,v):{};c.push({year:i,month:b,day:v,target:"prev",...C})}let m=1;for(;m<=n(i,l);){const _=t.lunar?e(i,l,m):{};c.push({year:i,month:l,day:m,target:"current",..._}),m++}let y=1;for(;c.length%7!==0;){const _=l+1===13?1:l+1,b=t.lunar?e(i,_,y):{};c.push({year:i,month:_,day:y,target:"next",...b}),y++}return c}}},Vt=(t,e)=>{const{run:n}=j();return{handleInput:i=>{n(t.onInput,e.value,i)},handleChange:i=>{n(t.onChange,e.value,i)},handleClear:()=>{t.disabled||(e.value="")}}},Mt=(t,e,n)=>{const{run:a}=j(),r=B(!0),f=B(!1);let i=!1;const l=(b,v,C)=>{b.src=C,r.value=!0,f.value=!0,a(e.onLoad,v)},c=b=>{r.value=!1,a(e.onError,b)},s=(b,v)=>{const C=new Image;new Promise((k,I)=>{C.src=v||e.src,C.addEventListener("load",S=>{k(S)}),C.addEventListener("error",S=>{I(S)})}).then(k=>{k&&l(b,k,C.src)}).catch(k=>{if(!i&&e.errSrc){s(b,e.errSrc),i=!0;return}c(k)})},d=b=>{const v=new IntersectionObserver(C=>{C[0].isIntersecting&&(s(b),v.unobserve(b))},{rootMargin:xe(e.rootMargin)});return v},m=b=>{const v=()=>{const C=window.innerHeight||document.documentElement.clientHeight,k=document.documentElement.scrollTop||document.body.scrollTop,I=b.offsetParent.offsetTop,S=C+k-I;Math.abs(S){if(t.value){if(e.lazy){IntersectionObserver?d(t.value).observe(t.value):m(t.value);return}s(t.value)}},_=()=>{if(n){if(n())y();else return;return}y()};return ie(_),pe(()=>e.src,()=>{_()}),{isSuccess:r,isShowNode:f}},Bt="data-index",At="f-toolbar-item",qe="f-pagination",ge=`${qe}__item`,Nt=`${qe}__prev`,Dt=`${qe}__next`,mt=25,Rt="f-trigger",Ot="f-trigger__content-box",Zn=t=>{(()=>{const c=t.children[0].cloneNode(!0);t.appendChild(c)})();const n=24;let a=0;const r=t.children.length,f=()=>{let l=a*n;a++;const c=a*n,s=500,d=15,m=s/d,y=(c-l)/m,_=setInterval(()=>{if(l+=y,l>=c&&(clearInterval(_),a===r-1)){t.scrollTop=0,a=0;return}t.scrollTop=l},d)};return(l=2e3)=>{setInterval(f,l)}},Ht=(t,e,n)=>{const{run:a}=j(),r=i=>{e.value=!1,a(n,i)};return{closeVisible:r,maskClose:()=>{t.maskClose&&r()}}},Be=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,92821,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,37600,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],ht={"1-1":{title:"元旦"},"2-2":{title:"湿地日"},"2-14":{title:"情人节"},"3-8":{title:"妇女节"},"3-12":{title:"植树节"},"4-1":{title:"愚人节"},"5-1":{title:"劳动节"},"5-4":{title:"青年节"},"5-12":{title:"护士节"},"6-1":{title:"儿童节"},"7-1":{title:"建党节"},"8-1":{title:"建军节"},"9-10":{title:"教师节"},"10-1":{title:"国庆节"},"12-24":{title:"平安夜"},"12-25":{title:"圣诞节"}},_t={"1-1":{title:"春节"},"1-15":{title:"元宵节"},"2-2":{title:"龙抬头"},"5-5":{title:"端午节"},"7-7":{title:"七夕节"},"7-15":{title:"中元节"},"8-15":{title:"中秋节"},"9-9":{title:"重阳节"},"10-1":{title:"寒衣节"},"10-15":{title:"下元节"},"12-8":{title:"腊八节"},"12-23":{title:"北小年"},"12-24":{title:"南小年"},"12-30":{title:"除夕"}},Wn=["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],Xn=["日","一","二","三","四","五","六","七","八","九","十"],Jn=["初","十","廿","卅"],Qn=["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],eo=()=>{const t=c=>{let s,d=348;for(s=32768;s>8;s>>=1)d+=Be[c-1900]&s?1:0;return d+n(c)},e=c=>Be[c-1900]&15,n=c=>e(c)?Be[c-1900]&65536?30:29:0,a=(c,s)=>s>12||s<1?-1:Be[c-1900]&65536>>s?30:29,r=(c,s)=>{const d="魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯",m=[20,19,21,21,21,22,23,23,23,23,22,22];return d.substr(c*2-(s{if(c<1900||c>2100||s<1||s>24)return-1;const d=Qn[c-1900],m=[];for(let y=0;y{let s;switch(c){case 10:s="初十";break;case 20:s="二十";break;case 30:s="三十";break;default:s=Jn[Math.floor(c/10)],s+=Xn[c%10]}return s};return(c,s,d)=>{let m=parseInt(c.toString()),y=parseInt(s.toString()),_=parseInt(d.toString());if(m<1900||m>2100||m===1900&&y===1&&_<31)return-1;let b;m?b=new Date(m,parseInt(y.toString())-1,_):b=new Date;let v,C=0,k=0;m=b.getFullYear(),y=b.getMonth()+1,_=b.getDate();let I=(Date.UTC(b.getFullYear(),b.getMonth(),b.getDate())-Date.UTC(1900,0,31))/864e5;for(v=1900;v<2101&&I>0;v++)k=t(v),I-=k;I<0&&(I+=k,v--),b.getDay();const S=v;C=e(v);let R=!1;for(v=1;v<13&&I>0;v++)C>0&&v===C+1&&R===!1?(--v,R=!0,k=n(S)):k=a(S,v),R===!0&&v===C+1&&(R=!1),I-=k;I===0&&C>0&&v===C+1&&(R?R=!1:(R=!0,--v)),I<0&&(I+=k,--v);const q=v,W=I+1,Y=f(m,y*2);let Ce="";Y===_&&(Ce=Wn[y*2-1]);const dt=r(y,_),ft=y+"-"+_;let We=q+"-"+W;return q===12&&W===29&&a(S,q)===29&&(We="12-30"),{festival:ht[ft]?ht[ft].title:"",lunarFestival:_t[We]?_t[We].title:"",lunar:i(W),term:Ce,constellation:dt}}},to=(t,e,n)=>{const a=i=>{n(i.clientX-e.value)},r=()=>{document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",r)},f=()=>{document.addEventListener("mousemove",a,{passive:!1}),document.addEventListener("mouseup",r,{passive:!1})};t.addEventListener("mousedown",f,{passive:!1})},no={visible:g(),text:h(),color:h(),fullscreen:g(),background:h(),icon:Z()},oo={},so={width:"1em",height:"1em",viewBox:"0 0 16 16"},lo=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m7.25 3.75l-4.5 4.5l4.5 4.5m6-4.5H2.75"},null,-1),ro=[lo];function ao(t,e){return u(),p("svg",so,ro)}const io=te(oo,[["render",ao]]),co={},uo={width:"1em",height:"1em",viewBox:"0 0 16 16"},fo=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M10.25 3.75L5.75 8l4.5 4.25"},null,-1),po=[fo];function bo(t,e){return u(),p("svg",uo,po)}const Ye=te(co,[["render",bo]]),mo={},ho={width:"1em",height:"1em",viewBox:"0 0 16 16"},_o=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M5.75 12.25L10.25 8l-4.5-4.25"},null,-1),vo=[_o];function go(t,e){return u(),p("svg",ho,vo)}const Pe=te(mo,[["render",go]]),yo={},ko={width:"1em",height:"1em",viewBox:"0 0 16 16"},$o=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M1.75 2.75h12.5v10.5H1.75zM2 8h12"},null,-1),Co=[$o];function wo(t,e){return u(),p("svg",ko,Co)}const So=te(yo,[["render",wo]]),Fo={},zo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Lo=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M4.75 5.25h-3m0 3.5c0 2.5 2.798 5.5 6.25 5.5a6.25 6.25 0 1 0 0-12.5c-3.75 0-6.25 3.5-6.25 3.5v-3.5"},null,-1),Io=[Lo];function Po(t,e){return u(),p("svg",zo,Io)}const Eo=te(Fo,[["render",Po]]),To={},Vo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Mo=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M11.25 5.25h3m0 3.5c0 2.5-2.798 5.5-6.25 5.5a6.25 6.25 0 1 1 0-12.5c3.75 0 6.25 3.5 6.25 3.5v-3.5"},null,-1),Bo=[Mo];function Ao(t,e){return u(),p("svg",Vo,Bo)}const No=te(To,[["render",Ao]]),Do={},Ro={width:"32",height:"32",viewBox:"0 0 24 24"},Oo=$("path",{fill:"currentColor",d:"m12 18.275l-4.15 2.5q-.275.175-.575.15q-.3-.025-.525-.2q-.225-.175-.35-.437q-.125-.263-.05-.588l1.1-4.725L3.775 11.8q-.25-.225-.312-.513Q3.4 11 3.5 10.725q.1-.275.3-.45q.2-.175.55-.225l4.85-.425l1.875-4.45q.125-.3.388-.45q.262-.15.537-.15t.538.15q.262.15.387.45l1.875 4.45l4.85.425q.35.05.55.225q.2.175.3.45q.1.275.038.562q-.063.288-.313.513l-3.675 3.175l1.1 4.725q.075.325-.05.588q-.125.262-.35.437q-.225.175-.525.2q-.3.025-.575-.15Z"},null,-1),Ho=[Oo];function Go(t,e){return u(),p("svg",Ro,Ho)}const jo=te(Do,[["render",Go]]),Uo={},xo={width:"1em",height:"1em",viewBox:"0 0 16 16"},qo=$("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[$("circle",{cx:"7.5",cy:"7.5",r:"4.75"}),$("path",{d:"M9.25 7.5h-3.5M7.5 5.75v3.5m3.75 2l3 3"})],-1),Yo=[qo];function Ko(t,e){return u(),p("svg",xo,Yo)}const Zo=te(Uo,[["render",Ko]]),Wo={},Xo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Jo=$("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[$("circle",{cx:"7.5",cy:"7.5",r:"4.75"}),$("path",{d:"M9.25 7.5h-3.5m5.5 3.75l3 3"})],-1),Qo=[Jo];function es(t,e){return u(),p("svg",Xo,Qo)}const ts=te(Wo,[["render",es]]),ns={},os={width:"32",height:"32",viewBox:"0 0 24 24"},ss=$("path",{fill:"currentColor",d:"M2 5.27L3.28 4L20 20.72L18.73 22l-3.08-3.08c-1.15.38-2.37.58-3.65.58c-5 0-9.27-3.11-11-7.5c.69-1.76 1.79-3.31 3.19-4.54L2 5.27M12 9a3 3 0 0 1 3 3a3 3 0 0 1-.17 1L11 9.17A3 3 0 0 1 12 9m0-4.5c5 0 9.27 3.11 11 7.5a11.79 11.79 0 0 1-4 5.19l-1.42-1.43A9.862 9.862 0 0 0 20.82 12A9.821 9.821 0 0 0 12 6.5c-1.09 0-2.16.18-3.16.5L7.3 5.47c1.44-.62 3.03-.97 4.7-.97M3.18 12A9.821 9.821 0 0 0 12 17.5c.69 0 1.37-.07 2-.21L11.72 15A3.064 3.064 0 0 1 9 12.28L5.6 8.87c-.99.85-1.82 1.91-2.42 3.13Z"},null,-1),ls=[ss];function rs(t,e){return u(),p("svg",os,ls)}const as=te(ns,[["render",rs]]),is={},cs={width:"32",height:"32",viewBox:"0 0 24 24"},us=$("path",{fill:"currentColor",d:"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0Z"},null,-1),ds=[us];function fs(t,e){return u(),p("svg",cs,ds)}const ps=te(is,[["render",fs]]),bs={},ms={width:"1em",height:"1em",viewBox:"0 0 16 16"},hs=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M2.75 1.75h10.5v12.5H2.75zm3 6h4.5m-4.5 3h2.5m-2.5-6h4.5"},null,-1),_s=[hs];function vs(t,e){return u(),p("svg",ms,_s)}const gs=te(bs,[["render",vs]]),ys={},ks={width:"1em",height:"1em",viewBox:"0 0 16 16"},$s=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12.75 7.75h-10m5-5v10"},null,-1),Cs=[$s];function ws(t,e){return u(),p("svg",ks,Cs)}const Ss=te(ys,[["render",ws]]),Fs={},zs={width:"32",height:"32",viewBox:"0 0 512 512"},Ls=$("path",{fill:"currentColor",d:"M128 128h256v38H128zm-16 64h288v38H112z"},null,-1),Is=$("path",{fill:"currentColor",d:"M448 64H64L32 256v192h448V256Zm-12 192H320a64 64 0 0 1-128 0H76l22-150h316Z"},null,-1),Ps=[Ls,Is];function Es(t,e){return u(),p("svg",zs,Ps)}const Ts=te(Fs,[["render",Es]]),Vs={},Ms={width:"32",height:"32",viewBox:"0 0 24 24"},Bs=$("path",{fill:"currentColor",d:"M12 20c4.4 0 8-3.6 8-8s-3.6-8-8-8s-8 3.6-8 8s3.6 8 8 8m0-18c5.5 0 10 4.5 10 10s-4.5 10-10 10S2 17.5 2 12S6.5 2 12 2m5 9.5V13h-6V7h1.5v4.5H17Z"},null,-1),As=[Bs];function Ns(t,e){return u(),p("svg",Ms,As)}const Ds=te(Vs,[["render",Ns]]),Rs={},Os={width:"1em",height:"1em",viewBox:"0 0 16 16"},Hs=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12.25 10.25L8 5.75l-4.25 4.5"},null,-1),Gs=[Hs];function js(t,e){return u(),p("svg",Os,Gs)}const Us=te(Rs,[["render",js]]),xs={},qs={width:"1em",height:"1em",viewBox:"0 0 16 16"},Ys=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M3.75 5.75L8 10.25l4.25-4.5"},null,-1),Ks=[Ys];function Zs(t,e){return u(),p("svg",qs,Ks)}const De=te(xs,[["render",Zs]]),Ws={},Xs={width:"1em",height:"1em",viewBox:"0 0 16 16"},Js=$("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[$("circle",{cx:"2.5",cy:"8",r:".75"}),$("circle",{cx:"8",cy:"8",r:".75"}),$("circle",{cx:"13.5",cy:"8",r:".75"})],-1),Qs=[Js];function el(t,e){return u(),p("svg",Xs,Qs)}const vt=te(Ws,[["render",el]]),tl={},nl={width:"1em",height:"1em",viewBox:"0 0 16 16"},ol=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M1.75 3.75h12.5v10.5H1.75zm9.5-2v1.5m-6.5-1.5v1.5m-2.5 4h11.5"},null,-1),sl=[ol];function ll(t,e){return u(),p("svg",nl,sl)}const rl=te(tl,[["render",ll]]),al={key:0,class:"f-loading__title"},il=L({name:"FLoading",__name:"loading",props:no,setup(t){const e=t,{styles:n,classes:a}=G(e,"loading"),r=n(["background","color"]),f=a(["fullscreen"],"f-loading");return(i,l)=>i.visible?(u(),p("div",{key:0,class:T(o(f)),style:D(o(r))},[V(o(x),{size:20,class:"f-loading__animation",icon:i.icon},{default:A(()=>[F(i.$slots,"icon",{},()=>[V(o(Lt))])]),_:3},8,["icon"]),i.text?(u(),p("span",al,H(i.text),1)):w("",!0)],6)):w("",!0)}}),cl=()=>{const t=(r,f)=>{const i=c=>f.value[c],l=c=>i(c)||r.getAttribute(`f-loading-${c}`)||"";return{visible:!!f.value,fullscreen:f.modifiers.fullscreen,text:l("text"),color:l("color"),background:l("background")}},e=(r,f)=>{r.originalPosition!=="absolute"&&r.originalPosition!=="fixed"&&(r.style.position="relative");const i=t(r,f),l=rn(il,i),c=l.mount(document.createElement("div"));r.vm=c,r.loadingInstance=l,r.appendChild(c.$el)},n=r=>{r.loadingInstance&&(r.style.position=r.originalPosition,r.removeChild(r.vm.$el),r.loadingInstance.unmount(),r.loadingInstance=null)};return{mounted:(r,f)=>{const i=getComputedStyle(r).position||"static";r.originalPosition=i,f.value&&e(r,f)},updated:(r,f)=>{f.value!==f.oldValue&&(f.value?e(r,f):n(r))}}},ul=(t,e,n)=>{const a=B(0),r=c=>{let s=c.offsetLeft,d=c.offsetParent;for(;d!==null;)s+=d.offsetLeft,d=d.offsetParent;return s},f=()=>{t.value&&(a.value=r(t.value))};ie(()=>{f(),window&&window.addEventListener("resize",f)}),Ge(()=>{window&&window.removeEventListener("resize",f)});const i=B(0);return{offset:i,offsetLeft:a,setPosition:c=>{c<0?c=0:c>100&&(c=100);const d=Math.round(c/e.step)*e.step;i.value=d,n.value=d}}},dl=(t,e)=>{const{run:n}=j(),a=M(()=>{const c=Math.floor(t.total/t.pageSize);return t.total%t.pageSize===0?c:c+1}),r=M(()=>{const c=Number(t.pagerCount),s=Number(t.current),d=(c-1)/2;let m=!1,y=!1;const _=[];if(a.value>c)t.current>c-d&&(m=!0),t.current{if(t.disabled)return;let s;n({next:()=>{const m=t.current===a.value?a.value:t.current+1;e.currentModelValue.value=m,n(t.onNext,m,t.pageSize),n(t.onChange,m,t.pageSize)},prev:()=>{s=t.current===1?1:t.current-1,e.currentModelValue.value=s,n(t.onPrev,s,t.pageSize),n(t.onChange,s,t.pageSize)}}[c])},i=B(!1),l=B(!1);return tt(()=>{const c=Number(t.pagerCount),s=(c-1)/2;i.value=!1,l.value=!1,a.value>c&&(t.current>c-s&&(i.value=!0),t.current{const{run:r}=j(),f=d=>{const m=Math.ceil(t.total/Number(d));t.current>m&&(e.currentModelValue.value=m),e.pageSizeModelValue.value=Number(d)},i=(d,m)=>{t.disabled||(e.currentModelValue.value=d,r(t.onChange,d,t.pageSize,m))},l=B("1");return{jumpCurrent:l,selectChange:f,handelChange:i,handleInput:()=>{t.disabled||(Number(l.value)>n.value.length&&(l.value=String(n.value.length)),e.currentModelValue.value=Number(l.value))},handelClick:d=>{if(t.disabled)return;const m=d.target;if(m.className.includes(ge)){let y=Number(m.textContent);const _=t.pagerCount,b=t.current,v=_-2;m.className.includes(Nt)&&(y=b-v),m.className.includes(Dt)&&(y=b+v),Number.isNaN(y)||(y<1&&(y=1),y>a.value&&(y=a.value)),y!==b&&(e.currentModelValue.value=y,r(t.onChange,y,t.pageSize,d))}}}},gt=t=>nt?window.requestAnimationFrame(t):-1,pl=t=>{nt&&window.cancelAnimationFrame(t)},Re=1e3,Qe=60*Re,et=60*Qe,yt=24*et,bl=t=>{const e=Math.floor(t/yt),n=Math.floor(t%yt/et),a=Math.floor(t%et/Qe),r=Math.floor(t%Qe/Re),f=Math.floor(t%Re);return{total:t,days:e,hours:n,minutes:a,seconds:r,milliseconds:f}},ml=(t,e,n=Re)=>Math.floor(t/n)===Math.floor(e/n),hl=t=>{let e,n,a,r;const f=B(t.time),i=M(()=>bl(f.value)),l=()=>Math.max(n-performance.now(),0),c=v=>{var C;f.value=v,v===0&&(y(),(C=t.onFinish)==null||C.call(t))},s=()=>{nt&&(t.millisecond?_():b())},d=()=>{a||(n=performance.now()+f.value,a=!0,s())},m=(v=t.time)=>{y(),f.value=v},y=()=>{a=!1,pl(e)},_=()=>{e=gt(()=>{a&&(c(l()),f.value>0&&_())})},b=()=>{e=gt(()=>{if(a){const v=l();(!ml(v,f.value,t.interval)||v===0)&&c(v),f.value>0&&b()}})};return $t(y),an(()=>{r&&(a=!0,r=!1,s())}),cn(()=>{a&&(y(),r=!0)}),{start:d,pause:y,reset:m,current:i}},_l=(t,e)=>{const{run:n}=j(),a=ne({x:"",y:""}),r=M(()=>{const{spacing:v,enterDuration:C,leaveDuration:k}=t;return{"--trigger-content-x":a.x,"--trigger-content-y":a.y,"--trigger-spacing-size":xe(v),"--trigger-enter-duration":C&&C+"s","--trigger-leave-duration":k&&k+"s"}}),f=()=>{const v=e.value;if(!v)return;const{left:C,top:k,height:I}=v.getBoundingClientRect(),S=C+window.scrollX,R=k+window.scrollY+I;a.x=S+"px",a.y=R+"px"},i=B(!1);let l=!1;const c=v=>{if(!t.disabled){if(i.value){l=!0;return}f(),i.value=!0,l=!0,n(t.onOpen,i.value,v),n(t.onChange,i.value,v)}},s=v=>{if(t.disabled)return;l=!1;const C=()=>{i.value=!1,n(t.onClose,i.value,v),n(t.onChange,i.value,v)};if(t.trigger==="click"){C();return}setTimeout(()=>{l||C()},300)},d=()=>{l=!0},m=()=>{e.value&&(t.trigger==="hover"&&(e.value.addEventListener("mouseenter",c),e.value.addEventListener("mouseleave",s)),t.trigger==="click"&&e.value.addEventListener("click",c))};ie(m),pe(()=>t.trigger,m);const y=v=>{const C=v.target;C.closest("."+Ot)||C.closest("."+Rt)||(s(v),window.removeEventListener("click",y,!0),window.removeEventListener("resize",f))};return{visible:i,styleList:r,close:s,onBeforeEnter:v=>{if(t.trigger==="hover"){const C=v;C.addEventListener("mouseenter",d),C.addEventListener("mouseleave",s)}window.addEventListener("resize",f),window.addEventListener("click",y,!0)},onAfterLeave:v=>{if(t.trigger==="hover"){const C=v;C.removeEventListener("mouseenter",d),C.removeEventListener("mouseleave",s)}}}},vl=t=>{const e=ne({}),n=Le(),a=M(()=>{if(!n.default)return[];const i=Tt(n.default(),"FFormItem");return i.forEach(l=>{l.props&&l.props.name&&l.props.rules&&(e[l.props.name]=!1)}),i}),r=(i,l)=>{const c=s=>{if((s.max||s.min)&&!ee(i)&&!me(i))return ye("f-form-item","Wrong parameter type to be detected"),!1;const d=(i+"").length;return!(s.required&&!i||s.max&&d>s.max||s.min&&d{a.value.forEach(l=>{const c=l.props&&l.props.rules,s=l.props&&l.props.name;if(l.props&&c&&s&&t.model)if(s.includes(".")){const d=Bn(s,".");let m=t.model;if(d&&d.length){for(const _ of d)if(m=m[_],!m){ye("f-form-item",`${s} is not a valid \`name\` parameter`);break}const y=r(m,c);e[s]=y}}else if(s in t.model){const d=t.model[s],m=r(d,c);e[s]=m}else ye("f-form-item",`${s} is not a valid \`name\` parameter`)});const i=Object.values(e);return i.length?i.every(l=>!!l&&!me(l)):!0}}},{run:Ae}=j(),Gt=t=>({handleOpen:f=>{document.body.style.overflow="hidden",Ae(t.onOpen,f)},handleOpenEnd:f=>{Ae(t.onOpenEnd,f)},handleClose:f=>{document.body.style.overflow="",Ae(t.onClose,f)},handleCloseEnd:f=>{Ae(t.onCloseEnd,f)}}),gl=t=>{const{run:e}=j(),n=M(()=>ee(t.animationTime)?`${t.animationTime}s all ease-in-out`:"0.747s all ease-in-out");return{onBeforeEnter:s=>{const d=s;d.style.transition=n.value,t.widthAnimation&&(d.style.width="0"),t.heightAnimation&&(d.style.height="0"),e(t.onOpen,s)},onEnter:s=>{const d=s;if(d.style.overflow="hidden",t.heightAnimation?d.style.height=d.scrollHeight+"px":d.style.height="auto",t.widthAnimation){d.style.width="auto";const m=d.getBoundingClientRect().width;d.style.width="0",d.offsetWidth,d.style.width=m+"px"}else d.style.width="auto"},onAfterEnter:s=>{const d=s;d.style.transition="",d.style.height="",d.style.width="",e(t.onOpenEnd,s)},onBeforeLeave:s=>{const d=s;if(d.style.transition=n.value,t.heightAnimation&&(d.style.height=d.scrollHeight+"px"),t.widthAnimation){const m=d.getBoundingClientRect().width;d.style.width=m+"px"}e(t.onClose,s)},onLeave:s=>{const d=s;d.style.overflow="hidden",t.heightAnimation&&(d.style.height="0"),t.widthAnimation&&(d.style.width="0")},onAfterLeave:s=>{const d=s;d.style.transition="",d.style.height="",d.style.width="",e(t.onCloseEnd,s)}}},yl=t=>M(()=>{const e=document.createElement("canvas"),n=window.devicePixelRatio||1,r=t.fontSize*n+"px serif",f=e.getContext("2d");if(f){const{width:i}=f.measureText(t.content),l=Math.max(100,i)*n+t.gap;return e.width=l,e.height=l,f.translate(e.width/2,e.height/2),f.rotate(Math.PI/190*-45),f.fillStyle=t.fontColor,f.font=r,f.textAlign="center",f.textBaseline="middle",f.fillText(t.content,0,0),{base64:e.toDataURL(),size:l/n}}return{base64:"",size:0}}),kl={type:h(void 0,t=>ke.includes(t)),fontSize:z(),titleSize:z(),bold:g(),center:g(),close:g(),simple:g(),title:h(),round:g(),background:h(),color:h(),titleColor:h(),fixed:g(),closeIcon:Z(),beforeIcon:Z(),alertList:ve([]),duration:O(),onClose:P()},$l={class:"f-alert__content"},Cl={key:0,class:"f-alert__title"},wl={key:1,class:"f-alert__sub-title"},Sl=L({name:"FAlert",__name:"alert",props:kl,setup(t){const e=t,{getProp:n}=he(e),{run:a}=j(),{styles:r,classes:f}=G(n(["type"]),"alert"),i=B(!0),l=B(),c=f(["type","bold","simple","center","round","fixed"],"f-alert"),s=r(["fontSize","color","background","titleSize","titleColor"]),d=m=>{i.value=!1,a(e.onClose,m)};return ie(()=>{e.alertList&&e.alertList.length&&l.value&&Zn(l.value)(ee(e.duration)?e.duration:2e3)}),(m,y)=>(u(),N(ce,{name:"f-alert"},{default:A(()=>[i.value?(u(),p("div",{key:0,role:"alert",class:T(o(c)),style:D(o(s))},[m.$slots.beforeIcon||m.beforeIcon?(u(),N(o(x),{key:0,icon:m.beforeIcon},{default:A(()=>[F(m.$slots,"beforeIcon")]),_:3},8,["icon"])):w("",!0),$("div",$l,[m.$slots.title||m.title?(u(),p("div",Cl,[F(m.$slots,"title",{},()=>[X(H(m.title),1)])])):w("",!0),m.$slots.default?(u(),p("div",wl,[F(m.$slots,"default")])):w("",!0),m.alertList&&m.alertList.length?(u(),p("div",{key:2,ref_key:"alertListEl",ref:l,class:"f-alert__list"},[(u(!0),p(U,null,K(m.alertList,(_,b)=>(u(),p("div",{key:b,class:"f-alert__list-item"},H(_),1))),128))],512)):w("",!0)]),m.close?(u(),N(o($e),{key:1,round:"",color:m.type==="default"?"#333":"#fff",size:16,icon:m.closeIcon,"on-click":d},{default:A(()=>[F(m.$slots,"closeIcon")]),_:3},8,["color","icon"])):w("",!0)],6)):w("",!0)]),_:3}))}}),Fl=E(Sl),zl={width:z(),padding:z(),background:h()},Ll=L({name:"FAside",__name:"aside",props:zl,setup(t){const e=t,{styles:n}=G(e,"aside"),a=n(["width","padding","background"]);return(r,f)=>(u(),p("aside",{class:"f-aside",style:D(o(a))},[F(r.$slots,"default")],4))}}),Il=E(Ll),Pl={src:h(),errSrc:h(),icon:Z(),alt:h(),round:g(),lazy:g(),fit:h(void 0,t=>ot.includes(t)),size:{type:[String,Number],default:()=>"middle",validator:t=>me(t)?ae.includes(t):ee(t)?t>=1:!1},background:h(),fontSize:z(),fontColor:h(),text:h(),rootMargin:z("100px"),onLoad:P(),onError:P()},El={positionSize:z(),round:g(!0),size:{type:[String,Number],default:()=>"middle",validator:t=>me(t)?ae.includes(t):ee(t)?t>=1:!1},lazy:g(),fit:h(void 0,t=>ot.includes(t))},jt=Symbol("avatar-group-props-key"),Tl={key:1,class:"f-avatar__text"},Vl=["alt"],Ml={class:"f-avatar__error-text"},Bl=L({name:"FAvatar",__name:"avatar",props:Pl,setup(t){const e=t,n=Le(),a=B(),r=le(jt,void 0),{isSuccess:f,isShowNode:i}=Mt(a,e,()=>!n.icon&&!e.icon&&!e.text&&a.value),l=ne({..._e(e),..._e(ne(r||{}))}),{styles:c,classes:s}=G(l,"avatar"),d=s(["round","fit",{key:"size",callback:()=>me(l.size)}],"f-avatar"),m=c(["background","fontColor","fontSize","zIndex",{key:"size",callback:()=>ee(l.size)}],"zIndex");return(y,_)=>o(f)?(u(),p("div",{key:0,role:"img",class:T(o(d)),style:D(o(m))},[y.$slots.icon||y.icon?(u(),N(o(x),{key:0,size:y.fontSize||15,color:y.fontColor,icon:y.icon},{default:A(()=>[F(y.$slots,"icon")]),_:3},8,["size","color","icon"])):y.text?(u(),p("span",Tl,H(y.text),1)):(u(),p("img",{key:2,ref_key:"avatarRef",ref:a,class:"f-avatar__img",src:"",style:D(o(i)?"":"visibility: hidden"),alt:y.alt},null,12,Vl))],6)):(u(),p("div",{key:1,class:"f-avatar__error",style:D(o(m))},[F(y.$slots,"error",{},()=>[$("span",Ml,H(y.alt||"加载失败"),1)])],4))}}),Al=E(Bl),Nl={round:g(),behavior:h("smooth",t=>["smooth","auto"].includes(t)),visibleHeight:O(200),right:z(),bottom:z(),zIndex:O(),top:O(0),listenEl:h(),background:h(),color:h()},Dl=L({name:"FBackTop",__name:"back-top",props:Nl,setup(t){const e=t,{styles:n,classes:a}=G(e,"back-top"),r=B(!1),f=d=>zt(()=>{const m=(d||document.documentElement).scrollTop,y=ee(e.visibleHeight)?e.visibleHeight:200;r.value=m>y},200),i=f(),l=()=>{const{top:d,behavior:m,listenEl:y}=_e(e);if(me(e.listenEl)){const _=document.querySelector(y.value);if(!_){Ve("f-back-top","`listen-el` is not a element");return}_&&_.scrollTo({top:d.value,behavior:m.value});return}else Ve("f-back-top","`listen-el` attributes is not a string");window&&window.scrollTo({top:d.value,behavior:m.value})};ie(()=>{if(e.listenEl){if(!me(e.listenEl)){Ve("f-back-top","`listen-el` attributes is not a string"),document.addEventListener("scroll",f());return}const d=document.querySelector(e.listenEl);if(!d){Ve("f-back-top","`listen-el` is not a element");return}d&&d.addEventListener("scroll",f(d))}else document.addEventListener("scroll",i)}),Ge(()=>{document.removeEventListener("scroll",i)});const c=n(["right","bottom","background","color","zIndex"],"zIndex"),s=a(["round"],"f-back-top");return(d,m)=>(u(),N(ce,{name:"f-back-top"},{default:A(()=>[re($("div",{class:T(o(s)),style:D(o(c)),onClick:de(l,["stop"])},[F(d.$slots,"default")],6),[[be,r.value]])]),_:3}))}}),Rl=E(Dl),Ol={value:z(),max:O(99),dot:g(),show:g(!0),type:h("danger",t=>ke.includes(t)),background:h(),color:h()},Hl={key:0,class:"f-badge__content"},Gl=L({name:"FBadge",__name:"badge",props:Ol,setup(t){const e=t,{classes:n,styles:a}=G(e,"badge"),r=n(["type","dot"],"f-badge"),f=a(["background","color"]),i=M(()=>{const{dot:c,max:s,value:d}=e;return c?"":ee(s)&&ee(d)&&d>s?s+"+":d}),l=M(()=>{const{value:c,show:s}=e;return!ee(c)&&s?!0:s&&ee(c)&&c>0});return(c,s)=>(u(),p("div",{class:T(o(r)),style:D(o(f))},[F(c.$slots,"default"),V(ce,{name:"f-badge"},{default:A(()=>[l.value?(u(),p("sup",Hl,H(i.value),1)):w("",!0)]),_:1})],6))}}),jl=E(Gl),Ul={separator:Z(),fontColor:h(),iconColor:h(),fontSize:z()},Ut=Symbol("breadcrumb-props-key"),xl={key:0,class:"f-breadcrumb"},ql=L({name:"FBreadcrumb",__name:"breadcrumb",props:Ul,setup(t){return ue(Ut,t),(n,a)=>n.$slots.default?(u(),p("div",xl,[F(n.$slots,"default")])):w("",!0)}}),Yl=E(ql),Kl={fontColor:h(),iconColor:h(),separator:Z(),to:{type:[String,Object],default:()=>null}},Zl={class:"f-breadcrumb-item__text"},Wl=L({name:"FBreadcrumbItem",__name:"breadcrumb-item",props:Kl,setup(t){const e=t,n=le(Ut,null),{styles:a}=G(ne({iconColor:e.iconColor||n&&n.iconColor,fontColor:e.fontColor||n&&n.fontColor,fontSize:n&&n.fontSize}),"breadcrumb-item"),r=je(),f=M(()=>e.separator?e.separator:n&&n.separator?n.separator:Pe),i=a(["fontColor","iconColor","fontSize"]),l=()=>{const c=r.appContext.config.globalProperties.$router;if(c&&e.to)try{c.push(e.to)}catch(s){console.warn(s)}};return(c,s)=>(u(),p("div",{class:"f-breadcrumb-item",style:D(o(i)),onClick:l},[$("span",Zl,[F(c.$slots,"default")]),V(o(x),{icon:f.value,size:16},null,8,["icon"])],4))}}),Xl=E(Wl),Jl=L({name:"FButtonGroup",__name:"button-group",props:On,setup(t){const e=t,{classes:n}=G(e,"button-group"),a=le(It,null),r=M(()=>e.size||a&&a.size||"middle");ue(Hn,r.value);const f=n(["direction","size"],"f-button-group");return(i,l)=>(u(),p("div",{role:"group",class:T(o(f))},[F(i.$slots,"default")],2))}}),Ql=E(Jl),er={date:{type:Date,default:()=>new Date,required:!0},lunar:g(),showHeader:g(!0),border:g(),borderColor:h(),dayCellHeight:z(),weekCellHeight:z(),onChange:P(),onChangeDate:P(),onChangeMonth:P()},tr={value:z(),label:z(),disabled:g()},nr={spacing:z(),disabled:g(),trigger:h("hover",t=>["hover","click"].includes(t)),width:{type:[Number,String],default:()=>null},arrow:g(),enterDuration:O(),leaveDuration:O(),onChange:P(),onOpen:P(),onClose:P()},rt=Symbol("trigger-close-key"),or={modelValue:{type:[String,Number,Boolean],default:()=>null,required:!0},width:{type:[Number,String],default:()=>190},name:h("f-select"),size:h("middle",t=>ae.includes(t)),placeholder:h(),clear:g(),filter:g(),disabled:g(),onChange:P(),onBeforeChange:P()},xt=Symbol("f-select-props-key"),sr=L({name:"FOption",__name:"option",props:tr,setup(t){const e=t,n=Le(),{run:a}=j(),r=le(xt,null),f=le(rt,null),i=M(()=>{if(!n.default)return"";const v=n.default()[0].children;return me(v)?v:(ye("f-option","slot content is not a string"),"")}),l=M(()=>r?r.filter&&r.isFiltering&&s?s.toString().includes(r.inputValue):!0:!1),c=(...v)=>{if(!v||!v.length)return"";const C=v.find(k=>k==null||Number.isNaN(k)?!1:fe(k)||Ie(k)?Object.keys(k).length>0:k===0?!0:!!k);return C!==void 0?C:v[v.length-1]},s=c(i.value,e.label,e.value),d=c(e.value,e.label,i.value),m=M(()=>r?d===r.modelValue:!1),y=async v=>{if(!(!r||e.disabled)){if(r.onBeforeChange&&!await r.onBeforeChange(d,s)){f&&a(f.close);return}a(r.setValue,d,s,v),f&&a(f.close)}},_=()=>{r&&d===r.modelValue&&r&&a(r.setValue,d,s)},b=()=>{r&&pe(()=>r.modelValue,_,{once:!0})};return _(),b(),(v,C)=>v.$slots.default||v.label||v.value?re((u(),p("div",{key:0,class:T(["f-option",{"f-option__disabled":v.disabled,"f-option__active":m.value}]),onClick:y},[v.$slots.default?F(v.$slots,"default",{key:0}):(u(),p(U,{key:1},[X(H(v.label||v.value),1)],64))],2)),[[be,l.value]]):w("",!0)}}),Oe=E(sr),lr={modelValue:z(),type:h("text",t=>["text","password","number"].includes(t)),size:h(void 0,t=>ae.includes(t)),disabled:g(),max:O(),min:O(),maxLength:O(),fontSize:z(),autofocus:g(),name:h("f-input"),placeholder:h(),placeholderColor:h(),clear:g(),width:z(),height:z(),search:g(),textColor:h(),readonly:g(),showPassword:g(),enterSearch:g(),icon:Z(),afterIcon:Z(),autocomplete:h("off"),onSearch:P(),onChange:P(),onInput:P(),onBlur:P(),onFocus:P(),onEnter:P()},rr={modelValue:{...g(),require:!0},size:z(40),type:h(void 0,t=>["sound","swap"].includes(t)),iconOn:Z(),iconOff:Z(),onChange:P()},ar=L({name:"FSwap",__name:"swap",props:Q(rr,{modelValue:{type:Boolean,default:!1,type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{classes:r}=G(e,"swap"),f=l=>{n.value=!n.value,a(e.onChange,!e.modelValue,l)},i=r(["type","modelValue"],"f-swap");return(l,c)=>(u(),p("div",{role:"switch",class:T(o(i)),onClick:f},[V(o(x),{icon:n.value?l.iconOn:l.iconOff,size:l.size},null,8,["icon","size"])],2))}}),qt=E(ar),ir={class:"f-input__wrapper"},cr=["type","max","min","disabled","readonly","autofocus","name","autocomplete","placeholder","maxlength"],ur=L({name:"FInput",__name:"input",props:Q(lr,{modelValue:{default:"",type:[String,Number]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{getLang:r,getProp:f}=he(e),{styles:i,classes:l}=G(f(["size"]),"input"),{handleInput:c,handleClear:s,handleChange:d}=Vt(e,n),m=B(!1),y=B(e.type);tt(()=>{y.value=e.type});const _=M(()=>r("input").value.search),b=S=>{a(e.onSearch,n.value,S)},v=S=>{const{search:R,enterSearch:q,onEnter:W}=_e(e);R.value&&q.value&&b(S),a(W.value,n.value,S)},C=()=>{if(m.value){y.value="text",m.value=!0;return}y.value="password",m.value=!1},k=i(["placeholderColor","textColor","width","height","fontSize"]),I=l(["size","disabled","search"],"f-input");return(S,R)=>(u(),p("div",{role:"input",class:T(o(I)),style:D(o(k))},[$("div",ir,[F(S.$slots,"before"),S.icon?(u(),N(o(x),{key:0,class:"f-input__icon",icon:S.icon,size:13},null,8,["icon"])):w("",!0),re($("input",{"onUpdate:modelValue":R[0]||(R[0]=q=>n.value=q),class:"f-input__input",type:y.value,max:S.max,min:S.min,disabled:S.disabled,readonly:S.readonly,autofocus:S.autofocus,name:S.name,autocomplete:S.autocomplete,placeholder:S.placeholder,maxlength:S.maxLength,onInput:R[1]||(R[1]=(...q)=>o(c)&&o(c)(...q)),onChange:R[2]||(R[2]=(...q)=>o(d)&&o(d)(...q)),onKeyup:dn(v,["enter"]),onBlur:R[3]||(R[3]=(...q)=>S.onBlur&&S.onBlur(...q)),onFocus:R[4]||(R[4]=(...q)=>S.onFocus&&S.onFocus(...q))},null,40,cr),[[un,n.value]]),S.clear?(u(),N(o(x),{key:1,class:"f-input__clear-btn",icon:o(st),size:14,"on-click":o(s)},null,8,["icon","on-click"])):w("",!0),S.afterIcon?(u(),N(o(x),{key:2,icon:S.afterIcon,size:14},null,8,["icon"])):w("",!0),S.showPassword?(u(),N(o(qt),{key:3,modelValue:m.value,"onUpdate:modelValue":R[5]||(R[5]=q=>m.value=q),class:"f-input__show-password",type:"swap","icon-on":o(ps),"icon-off":o(as),size:14,"on-change":C},null,8,["modelValue","icon-on","icon-off"])):w("",!0),F(S.$slots,"after")]),S.search?(u(),p("div",{key:0,class:"f-input__search",onClick:b},[F(S.$slots,"searchBtn",{},()=>[V(o(se),{type:"primary",size:S.size},{default:A(()=>[X(H(_.value),1)]),_:1},8,["size"])])])):w("",!0)],6))}}),Ee=E(ur),dr={spacing:z(),disabled:g(),width:{type:[Number,String],default:()=>null},trigger:h("hover",t=>["hover","click"].includes(t)),arrow:g(),enterDuration:O(),leaveDuration:O(),onChange:P(),onOpen:P(),onClose:P()},fr={class:"f-trigger__content"},pr=L({name:"FTrigger",__name:"trigger",props:nr,setup(t,{expose:e}){const n=t,a=B(),{classes:r,styles:f}=G(n,"trigger"),{visible:i,styleList:l,close:c,onBeforeEnter:s,onAfterLeave:d}=_l(n,a),m=r(["arrow"],Ot),y=f(["width"]);return ue(rt,{close:c}),e({close:c}),(_,b)=>(u(),p("div",{class:T(o(Rt))},[$("div",{ref_key:"triggerRef",ref:a,class:"f-trigger__trigger"},[F(_.$slots,"default")],512),(u(),N(Ue,{to:"body"},[V(ce,{name:"f-trigger",onBeforeEnter:o(s),onAfterLeave:o(d)},{default:A(()=>[re($("div",{class:T(o(m)),style:D([o(l),o(y)])},[$("div",fr,[F(_.$slots,"content")])],6),[[be,o(i)]])]),_:3},8,["onBeforeEnter","onAfterLeave"])]))],2))}}),Ke=E(pr),br={class:"f-dropdown"},mr=L({name:"FDropdown",__name:"dropdown",props:dr,setup(t){return(e,n)=>(u(),p("div",br,[V(o(Ke),{trigger:e.trigger,disabled:e.disabled,spacing:e.spacing,arrow:e.arrow,width:e.width,"enter-duration":e.enterDuration,"leave-duration":e.leaveDuration,"on-change":e.onChange,"on-open":e.onOpen,"on-close":e.onClose},{content:A(()=>[F(e.$slots,"content")]),default:A(()=>[F(e.$slots,"default")]),_:3},8,["trigger","disabled","spacing","arrow","width","enter-duration","leave-duration","on-change","on-open","on-close"])]))}}),at=E(mr),hr={content:h(),contentSize:z(),contentColor:h(),imageSrc:h(),imageSize:z(),background:h(),iconSize:z(30)},_r={src:h(),alt:h(),draggable:g(!0),lazy:g(),rootMargin:z("100px"),width:z(),height:z(),block:g(),fit:h(void 0,t=>ot.includes(t)),select:g(),referrerPolicy:h(),round:z(),errSrc:h(),title:h(),onLoad:P(),onError:P()},vr=["referrer-policy","draggable","alt","title"],gr={key:1,class:"f-image__error"},yr={class:"f-image__error-text"},kr=L({name:"FImage",__name:"image",props:_r,setup(t){const e=t,n=B(),{classes:a,styles:r}=G(e,"image"),{isSuccess:f,isShowNode:i}=Mt(n,e),l=a(["fit","select","block"],"f-image"),c=r(["width","height","round"]);return(s,d)=>o(f)?(u(),p("div",{key:0,role:"img",class:T(o(l)),style:D(o(c))},[$("img",{ref_key:"imageEl",ref:n,class:"f-image__img",src:"",style:D(o(i)?"":"visibility: hidden"),"referrer-policy":s.referrerPolicy,draggable:s.draggable,alt:s.alt,title:s.title},null,12,vr)],6)):(u(),p("div",gr,[F(s.$slots,"error",{},()=>[$("div",yr,H(s.alt||"加载失败"),1)])]))}}),Yt=E(kr),$r={class:"f-empty__wrapper"},Cr={class:"f-empty__content"},wr={key:0,class:"f-empty__footer"},Sr=L({name:"FEmpty",__name:"empty",props:hr,setup(t){const e=t,{styles:n}=G(e,"empty"),{getLang:a}=he(),r=M(()=>e.content||a("empty").value.content),f=n(["contentColor","contentSize","background"]);return(i,l)=>(u(),p("div",{class:"f-empty",style:D(o(f))},[$("div",$r,[i.$slots.default?F(i.$slots,"default",{key:0}):(u(),p(U,{key:1},[i.imageSrc?(u(),N(o(Yt),{key:0,src:i.imageSrc,width:i.imageSize},null,8,["src","width"])):(u(),N(o(x),{key:1,icon:o(Ts),size:i.iconSize},null,8,["icon","size"]))],64))]),$("span",Cr,H(r.value),1),i.$slots.footer?(u(),p("div",wr,[F(i.$slots,"footer")])):w("",!0)],4))}}),it=E(Sr),Fr=L({name:"FSelect",__name:"select",props:Q(or,{modelValue:{default:"",type:[String,Number]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{styles:r}=G(e,"select"),f=r(["width"]),i=B(!1),l=B(),c=B(!0),s=B(""),d=B(!1),m=async(C,k,I)=>{await Ne(),k!==e.modelValue&&I&&a(e.onChange,C,k,I),n.value=C,s.value=k==null?void 0:k.toString(),d.value=!1},y=async()=>{var k;await Ne();const C=(k=l.value)==null?void 0:k.querySelector(".f-option.f-option__active");C&&C instanceof Node&&C.scrollIntoView({block:"end"})},_=()=>{i.value=!1,c.value||(s.value="")},b=()=>{i.value=!0},v=()=>{d.value=!0};return ue(xt,ne({setValue:m,inputValue:s,isFiltering:d,onBeforeChange:e.onBeforeChange,modelValue:Fe(e,"modelValue"),filter:Fe(e,"filter")})),(C,k)=>(u(),p("div",{class:"f-select",style:D(o(f))},[V(o(at),{trigger:"click",disabled:C.disabled,width:C.width,"on-open":y},{content:A(()=>[$("div",{ref_key:"selectContentRef",ref:l,class:"f-select__content"},[c.value?F(C.$slots,"default",{key:0}):(u(),N(o(it),{key:1,content:"暂无数据"}))],512)]),default:A(()=>[V(o(Ee),{modelValue:s.value,"onUpdate:modelValue":k[0]||(k[0]=I=>s.value=I),readonly:!C.filter,name:C.name,size:C.size,disabled:C.disabled,width:C.width,placeholder:C.placeholder,clear:C.clear,"on-focus":b,"on-blur":_,"on-input":C.filter?v:void 0},{after:A(()=>[V(o(x),{color:"#bababa",class:T(["f-select__arrow",{"f-select__arrow-active":i.value}]),size:13,icon:o(De)},null,8,["class","icon"])]),_:1},8,["modelValue","readonly","name","size","disabled","width","placeholder","clear","on-input"])]),_:3},8,["disabled","width"])],4))}}),He=E(Fr),zr={key:0,class:"f-calendar__header"},Lr={class:"f-calendar__option"},Ir={class:"f-calendar__week"},Pr={class:"f-calendar__day"},Er=["onClick"],Tr={class:"f-calendar__solar"},Vr={key:0,class:"f-calendar__lunar"},Mr=L({name:"FCalendar",__name:"calendar",props:er,setup(t){const e=t,{getLang:n}=he(),{run:a}=j(),{styles:r,classes:f}=G(e,"calendar"),{generateCalendar:i}=Kn(e),l=M(()=>An(e.date)?e.date:new Date),c=ne({year:l.value.getFullYear(),month:l.value.getMonth()+1,date:l.value.getDate()}),s=M(()=>i(c.year,c.month)),d=M(()=>n("calendar").value.weekList),_={prev:()=>{c.month===1?(c.year-=1,c.month=12):c.month-=1},next:()=>{c.month===12?(c.year+=1,c.month=1):c.month+=1},current:()=>{c.year=e.date.getFullYear(),c.month=e.date.getMonth()+1,c.date=e.date.getDate()}},b=q=>{_[q]&&_[q]()},v=q=>{const{target:W,day:Y}=q;W==="prev"&&_[W](),W==="next"&&_[W](),W==="current"&&(c.date=Y,a(e.onChangeDate,c.year,c.month,c.date))},C=pe(()=>c.month,q=>{a(e.onChangeMonth,c.year,q,c.date)}),k=pe(()=>c,()=>{a(e.onChange,c.year,c.month,c.date)},{deep:!0}),I=(q,W)=>W===c.date&&q===c.month?"f-calendar__day-today":"";Ge(()=>{k(),C()});const S=r(["borderColor","dayCellHeight","weekCellHeight"]),R=f(["border"],"f-calendar");return(q,W)=>(u(),p("div",{class:T(o(R)),style:D(o(S))},[q.showHeader?(u(),p("header",zr,[V(o(x),{icon:o(Ye),onClick:W[0]||(W[0]=Y=>b("prev"))},null,8,["icon"]),$("div",Lr,[V(o(He),{modelValue:c.year,"onUpdate:modelValue":W[1]||(W[1]=Y=>c.year=Y),width:116},{default:A(()=>[(u(),p(U,null,K(200,Y=>V(o(Oe),{key:Y,value:1900+Y},{default:A(()=>[X(H(1900+Y),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"]),V(o(He),{modelValue:c.month,"onUpdate:modelValue":W[2]||(W[2]=Y=>c.month=Y),width:116},{default:A(()=>[(u(),p(U,null,K(12,Y=>V(o(Oe),{key:Y,value:Y},{default:A(()=>[X(H(Y),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"]),V(o(se),{type:"default",onClick:W[3]||(W[3]=Y=>b("current"))},{default:A(()=>[X("今天")]),_:1})]),V(o(x),{icon:o(Pe),onClick:W[4]||(W[4]=Y=>b("next"))},null,8,["icon"])])):w("",!0),$("div",Ir,[(u(!0),p(U,null,K(d.value,(Y,Ce)=>(u(),p("div",{key:Ce,class:"f-calendar__week-item"},H(Y),1))),128))]),$("div",Pr,[(u(!0),p(U,null,K(s.value,(Y,Ce)=>(u(),p("div",{key:Ce,class:T(["f-calendar__day-item",{"f-calendar__day-current":Y.target==="current",[I(Y.month,Y.day)]:Y.target==="current"}]),onClick:dt=>v(Y)},[$("span",Tr,H(Y.day),1),q.lunar?(u(),p("span",Vr,H(Y.lunarFestival||Y.festival||Y.term||Y.lunar),1)):w("",!0)],10,Er))),128))])],6))}}),Kt=E(Mr),Br={title:h(),round:g(),padding:z(),shadow:h(void 0,t=>["hover","always"].includes(t)),borderColor:h(),background:h(),titleColor:h(),titleBold:g(),close:g(),onClose:P()},Ar={key:0,role:"heading",class:"f-card__header"},Nr={role:"none",class:"f-card__body"},Dr=L({name:"FCard",__name:"card",props:Br,setup(t){const e=t,n=B(!0),{run:a}=j(),{classes:r,styles:f}=G(e,"card"),i=r(["round","shadow"],"f-card"),l=f(["padding","borderColor","background","titleColor"]),c=()=>{n.value=!1,a(e.onClose,n.value)};return(s,d)=>(u(),N(ce,{name:"f-card"},{default:A(()=>[n.value?(u(),p("div",{key:0,class:T(o(i)),style:D(o(l))},[s.$slots.header||s.title?(u(),p("header",Ar,[$("span",{class:T(["f-card__title",{"f-card__title-bold":s.titleBold}])},[F(s.$slots,"header",{},()=>[X(H(s.title),1)])],2),s.close?(u(),N(o($e),{key:0,"on-click":c})):w("",!0)])):w("",!0),$("main",Nr,[F(s.$slots,"default")])],6)):w("",!0)]),_:3}))}}),Rr=E(Dr),Or={modelValue:{type:Boolean,default:()=>!1},label:{type:[String,Number,Boolean],default:()=>null},disabled:g(),border:g(),showLabel:g(!0),onChange:P()},Hr={modelValue:ve([]),disabled:g(),vertical:g(),label:h(),background:g(),size:h("middle",t=>ae.includes(t)),columnGap:z(),rowGap:z(),onChange:P()},Zt=Symbol("f-checkbox-group-props-key"),Gr=["value","disabled"],jr={key:0,class:"f-checkbox__box"},Ur={class:"f-checkbox__text"},xr=L({name:"FCheckbox",__name:"checkbox",props:Q(Or,{modelValue:{type:[Boolean,String,Array],default:!1,type:[Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),r=M({get:()=>f&&f.modelValue||e.modelValue,set:m=>{if(!f){n.value=m,a(e.onChange,m);return}f.setChange(m)}}),f=le(Zt,null),i=M(()=>{const m=r.value;return fe(m)?m.includes(e.label):lt(m)?m:m===e.label}),l=M(()=>!!(f&&f.disabled)),c=M(()=>e.disabled||l.value),{classes:s}=G(ne({checked:i,disabled:c}),"checkbox"),d=s(["checked","disabled"],"f-checkbox");return(m,y)=>(u(),p("label",{role:"checkbox","aria-checked":"false",tabindex:"0","aria-labelledby":"chk1-label",class:T(o(d))},[re($("input",{"onUpdate:modelValue":y[0]||(y[0]=_=>r.value=_),type:"checkbox",class:"f-checkbox__input",hidden:"",value:m.label,disabled:m.disabled||!!o(f)&&o(f).disabled},null,8,Gr),[[fn,r.value]]),o(f)&&o(f).background?w("",!0):(u(),p("span",jr)),$("span",Ur,[F(m.$slots,"default"),!m.$slots.default&&m.showLabel?(u(),p(U,{key:0},[X(H(m.label),1)],64)):w("",!0)])],2))}}),Se=E(xr),qr=L({name:"FCheckboxGroup",__name:"checkbox-group",props:Q(Hr,{modelValue:{type:[Array,String,Number,Boolean],default:[],type:[Boolean,Array,String,Number]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{classes:r,styles:f}=G(e,"checkbox-group"),i=s=>{n.value=s,a(e.onChange,s)};ue(Zt,ne({..._e(e),setChange:i}));const l=f(["columnGap","rowGap"]),c=r(["background","vertical","size"],"f-checkbox-group");return(s,d)=>(u(),p("div",{role:"group","aria-label":"checkbox-group",class:T(o(c)),style:D(o(l))},[F(s.$slots,"default")],6))}}),Wt=E(qr),Yr={visible:{...g(),required:!0},title:h(),appendToBody:g(),width:z(),fullscreen:g(),showMask:g(!0),maskClose:g(!0),maskOpacity:O(),maskBackground:h(),showHeader:g(!0),maskBlur:g(),showCloseIcon:g(!0),closeIcon:Z(),zIndex:O(),onOpen:P(),onOpenEnd:P(),onClose:P(),onCloseEnd:P()},Kr={key:0,class:"f-dialog__mask"},Zr={class:"f-dialog__container"},Wr={key:0,class:"f-dialog__header"},Xr={class:"f-dialog__header-before"},Jr={class:"f-dialog__header-center"},Qr={class:"f-dialog__header-after"},ea={key:1,class:"f-dialog__body"},ta={key:2,class:"f-dialog__footer"},na=L({name:"FDialog",__name:"dialog",props:Q(Yr,{visible:{type:Boolean,default:!1,type:Boolean},visibleModifiers:{}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{styles:a,classes:r}=G(e,"dialog"),{closeVisible:f,maskClose:i}=Ht(e,n),{handleOpen:l,handleOpenEnd:c,handleClose:s,handleCloseEnd:d}=Gt(e),m=a(["width","zIndex","maskBackground","maskOpacity"],["maskOpacity","zIndex"]),y=r(["fullscreen","maskBlur"],"f-dialog");return(_,b)=>(u(),N(Ue,{to:"body",disabled:!_.appendToBody},[V(ce,{name:"f-dialog__trans",onBeforeEnter:o(l),onAfterEnter:o(c),onBeforeLeave:o(s),onAfterLeave:o(d)},{default:A(()=>[re($("div",{role:"dialog","aria-modal":"true",tabindex:"-1",class:T(o(y)),style:D(o(m))},[_.showMask?(u(),p("div",Kr)):w("",!0),$("div",{class:"f-dialog__wrapper",onClick:b[0]||(b[0]=de((...v)=>o(i)&&o(i)(...v),["self"]))},[V(ce,{name:"f-dialog__container-trans"},{default:A(()=>[re($("div",Zr,[_.showHeader?(u(),p("header",Wr,[$("div",Xr,[F(_.$slots,"headerBefore")]),$("div",Jr,H(_.title),1),$("div",Qr,[F(_.$slots,"headerAfter",{},()=>[_.showCloseIcon?(u(),N(o($e),{key:0,round:"",color:"#3c4043",size:30,icon:_.closeIcon,"on-click":o(f)},{default:A(()=>[F(_.$slots,"closeIcon")]),_:3},8,["icon","on-click"])):w("",!0)])])])):w("",!0),_.$slots.default?(u(),p("section",ea,[F(_.$slots,"default")])):w("",!0),_.$slots.footer?(u(),p("footer",ta,[F(_.$slots,"footer")])):w("",!0)],512),[[be,n.value]])]),_:3})])],6),[[be,n.value]])]),_:3},8,["onBeforeEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])],8,["disabled"]))}}),oa=E(na),sa={position:h("center",t=>["left","center","right"].includes(t)),vertical:g(),color:h(),fontColor:h(),margin:z(),height:z(),background:h(),type:h("solid",t=>["dashed","dotted","double","solid"].includes(t))},la={key:0,class:"f-divider__text"},ra=L({name:"FDivider",__name:"divider",props:sa,setup(t){const e=t,{classes:n,styles:a}=G(e,"divider"),r=n(["vertical","position"],"f-divider"),f=a(["color","margin","background","fontColor","height","type"]);return(i,l)=>(u(),p("div",{role:"separator",class:T(o(r)),style:D(o(f))},[!i.vertical||!i.$slots.default?(u(),p("span",la,[F(i.$slots,"default")])):w("",!0)],6))}}),aa=E(ra),ia={visible:g(),appendToBody:g(),direction:h("right",t=>["left","top","right","bottom"].includes(t)),title:h(),showMask:g(!0),showHeader:g(!0),maskClose:g(!0),maskBlur:g(),maskOpacity:O(),maskBackground:h(),showCloseIcon:g(!0),closeIcon:Z(),zIndex:O(),onOpen:P(),onOpenEnd:P(),onClose:P(),onCloseEnd:P()},ca={key:0,class:"f-drawer__mask"},ua={class:"f-drawer__container"},da={key:0,class:"f-drawer__header"},fa={class:"f-drawer__header-title"},pa={key:1,class:"f-drawer__body"},ba={key:2,class:"f-drawer__footer"},ma=L({name:"FDrawer",__name:"drawer",props:Q(ia,{visible:{type:Boolean,default:!1,type:Boolean},visibleModifiers:{}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{styles:a,classes:r}=G(e,"drawer"),{closeVisible:f,maskClose:i}=Ht(e,n),{handleOpen:l,handleOpenEnd:c,handleClose:s,handleCloseEnd:d}=Gt(e),m=a(["width","zIndex","maskBackground","maskOpacity"],["zIndex","maskOpacity"]),y=r(["fullscreen","maskBlur","direction"],"f-drawer");return(_,b)=>(u(),N(Ue,{to:"body",disabled:!_.appendToBody},[V(ce,{name:"f-drawer__trans",onBeforeEnter:o(l),onAfterEnter:o(c),onBeforeLeave:o(s),onAfterLeave:o(d)},{default:A(()=>[re($("div",{role:"dialog","aria-modal":"true",tabindex:"-1",class:T(o(y)),style:D(o(m))},[_.showMask?(u(),p("div",ca)):w("",!0),$("div",{class:"f-drawer__wrapper",onClick:b[0]||(b[0]=de((...v)=>o(i)&&o(i)(...v),["self"]))},[V(ce,{name:"f-drawer__container-trans"},{default:A(()=>[re($("div",ua,[_.showHeader?(u(),p("header",da,[F(_.$slots,"header",{},()=>[$("span",fa,H(_.title),1),_.showCloseIcon?(u(),N(o($e),{key:0,icon:_.closeIcon,"on-click":o(f)},{default:A(()=>[F(_.$slots,"closeIcon")]),_:3},8,["icon","on-click"])):w("",!0)])])):w("",!0),_.$slots.default?(u(),p("section",pa,[F(_.$slots,"default")])):w("",!0),_.$slots.footer?(u(),p("footer",ba,[F(_.$slots,"footer")])):w("",!0)],512),[[be,n.value]])]),_:3})])],6),[[be,n.value]])]),_:3},8,["onBeforeEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])],8,["disabled"]))}}),ha=E(ma),_a={imageList:ve([]),round:g(),expandIndex:O(0),color:h(),vertical:g(),width:z(),height:z(),onChange:P()},va=["onClick"],ga={key:0,class:"f-expand-card__title"},ya=L({name:"FExpandCard",__name:"expand-card",props:_a,setup(t){const e=t,{classes:n,styles:a}=G(e,"expand-card"),{run:r}=j(),f=B(e.expandIndex),i=(d,m,y)=>{f.value=m,r(e.onChange,d,m,y)},l=M(()=>{const{imageList:d}=e;return fe(d)?d.map(m=>me(m)?{url:m}:Ie(m)&&m.url?m:{url:""}):(ye("f-expand-card","`image-list` is not a array."),[])}),c=n(["round","vertical"],"f-expand-card"),s=a(["width","height","color"]);return(d,m)=>l.value.length?(u(),p("div",{key:0,class:T(o(c)),style:D(o(s))},[(u(!0),p(U,null,K(l.value,(y,_)=>(u(),p("div",{key:_,class:T(["f-expand-card__item",{"f-expand-card__active":_===f.value}]),style:D({backgroundImage:`url(${y.url})`}),onClick:b=>i(b,_,y)},[y.text?(u(),p("div",ga,H(y.text),1)):w("",!0)],14,va))),128))],6)):w("",!0)}}),ka=E(ya),$a={height:z(),padding:z()},Ca=L({name:"FFooter",__name:"footer",props:$a,setup(t){const e=t,{styles:n}=G(e,"footer"),a=n(["height","padding"]);return(r,f)=>(u(),p("footer",{class:"f-footer",style:D(o(a))},[F(r.$slots,"default")],4))}}),wa=E(Ca),Sa={height:z(),padding:z()},Fa=L({name:"FHeader",__name:"header",props:Sa,setup(t){const e=t,{styles:n}=G(e,"header"),a=n(["height","padding"]);return(r,f)=>(u(),p("header",{role:"banner",class:"f-header",style:D(o(a))},[F(r.$slots,"default")],4))}}),za=E(Fa),La={visible:g(),imgList:ve([]),modalClose:g(!0),appendToBody:g(),isCloseBtn:g(!0),showIndex:O(0),zIndex:O(),isOption:g(!0),round:h(),onClose:P()},Ia={round:g(),size:h("middle",t=>ae.includes(t)),background:h(),textColor:h(),fixed:g(),width:z(),height:z(),onClick:P()},Pa=L({name:"FToolbar",__name:"toolbar",props:Ia,setup(t){const e=t,n=Le(),{run:a}=j(),{classes:r,styles:f}=G(e,"toolbar"),i=s=>{if(!n.default)return;const d=s.target;if(d.className===At){const m=d.getAttribute(Bt);a(e.onClick,m,s)}},l=r(["size","round","fixed"],"f-toolbar"),c=f(["textColor","background","width","height"]);return(s,d)=>(u(),p("div",{role:"toolbar",class:T(o(l)),style:D(o(c)),onClick:i},[F(s.$slots,"default")],6))}}),Xt=E(Pa),Ea={color:h(),icon:Z(),iconSize:z(16),index:z(),onClick:P()},Ta=L({name:"FToolbarItem",__name:"toolbar-item",props:Ea,setup(t){const e=t,{run:n}=j(),{styles:a}=G(e,"toolbar-item"),r=l=>{n(e.onClick,l)},f=a(["color"]),i=Bt;return(l,c)=>(u(),p("span",Ct({class:o(At),[o(i)||""]:l.index,style:o(f),onClick:r}),[l.icon?(u(),N(o(x),{key:0,size:l.iconSize,icon:l.icon},null,8,["size","icon"])):w("",!0),F(l.$slots,"default")],16))}}),we=E(Ta),Va=$("div",{class:"f-image-preview__mask"},null,-1),Ma={class:"f-image-preview__wrapper"},Ba=["src"],Aa=L({name:"FImagePreview",__name:"image-preview",props:Q(La,{visible:{type:Boolean,default:!1,type:Boolean},visibleModifiers:{}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{run:a}=j(),{scale:r,rotate:f,smaller:i,bigger:l,scrollZoom:c,recovery:s,rotateClockwise:d,rotateCounterClock:m}=Yn(),y=B(e.showIndex>e.imgList.length-1?0:e.showIndex),_=()=>{fe(e.imgList)&&e.imgList.forEach(S=>{const R=new Image;R.src=S})},b={next:()=>{if(y.value{if(y.value>0){y.value--;return}y.value=e.imgList.length-1}},v=S=>{s(),a(b[S])},C={1:i,2:l,3:s,4:d,5:m},k=S=>{S&&a(C[S])},I=S=>{n.value=!1,a(e.onClose,S)};return(S,R)=>(u(),N(Ue,{to:"body",disabled:!S.appendToBody},[V(ce,{name:"f-image-preview__transition",onBeforeEnter:_},{default:A(()=>[re($("div",{class:"f-image-preview",style:D({zIndex:S.zIndex}),onMousewheel:R[0]||(R[0]=(...q)=>o(c)&&o(c)(...q))},[Va,$("div",{class:"f-image-preview__container",onClick:de(I,["self"])},[V(ce,{name:"f-image-preview__wrapper-transition"},{default:A(()=>[re($("div",Ma,[$("img",{class:"f-image-preview__node",draggable:"false",src:S.imgList[y.value],style:D({transform:`scale(${o(r)}) rotate(${o(f)}deg)`,borderRadius:S.round})},null,12,Ba)],512),[[be,n.value]])]),_:1}),S.isOption?(u(),N(o(Xt),{key:0,class:"f-image-preview__option",round:"","on-click":k},{default:A(()=>[V(o(we),{icon:o(ts),index:1},null,8,["icon"]),V(o(we),{icon:o(Zo),index:2},null,8,["icon"]),V(o(we),{icon:o(So),index:3},null,8,["icon"]),V(o(we),{icon:o(No),index:4},null,8,["icon"]),V(o(we),{icon:o(Eo),index:5},null,8,["icon"])]),_:1})):w("",!0),S.imgList.length>1?(u(),p(U,{key:1},[V(o(se),{class:"f-image-preview__next",circle:"","before-icon":o(Pe),"on-click":()=>v("next")},null,8,["before-icon","on-click"]),V(o(se),{class:"f-image-preview__prev",circle:"","before-icon":o(Ye),"on-click":()=>v("prev")},null,8,["before-icon","on-click"])],64)):w("",!0),V(o(se),{class:"f-image-preview__close",circle:"","before-icon":o(st),"on-click":I},null,8,["before-icon"])])],36),[[be,n.value]])]),_:1})],8,["disabled"]))}}),Na=E(Aa),Da={direction:h(void 0,t=>["horizontal","vertical"].includes(t))},Ra=L({name:"FLayout",__name:"layout",props:Da,setup(t){const e=t,n=Le(),a=M(()=>e.direction==="vertical"?!0:e.direction==="horizontal"?!1:n&&n.default?n.default().some(f=>{const i=f.type.name;return i==="FHeader"||i==="FFooter"}):!1);return(r,f)=>(u(),p("section",{class:T(["f-layout",{"f-layout__vertical":a.value}])},[F(r.$slots,"default")],2))}}),Oa=E(Ra),Ha={type:h(void 0,t=>ke.includes(t)),href:h(),size:z(),state:h(void 0,t=>["line","background"].includes(t)),disabled:g(),target:h("_self",t=>Nn.includes(t)),color:h(),hoverColor:h(),noCopy:g(),noLink:g(),beforeIcon:Z(),afterIcon:Z(),onClick:P()},Ga=["href","target"],ja=L({name:"FLink",__name:"link",props:Ha,setup(t){const e=t,{getProp:n}=he(e),{run:a}=j(),{classes:r,styles:f}=G(n(["type"],["primary"]),"link"),i=s=>{if(e.disabled||e.noLink){s.preventDefault();return}a(e.onClick,s)},l=r(["type","state","disabled","noCopy"],"f-link"),c=f(["size","color","hoverColor"]);return(s,d)=>(u(),p("div",{role:"link",class:T(o(l)),style:D(o(c))},[$("a",{class:"f-link__a",href:s.href,target:s.target,onClick:de(i,["stop"])},[s.beforeIcon?(u(),N(o(x),{key:0,icon:s.beforeIcon,size:s.size},null,8,["icon","size"])):w("",!0),F(s.$slots,"default"),s.afterIcon?(u(),N(o(x),{key:1,icon:s.afterIcon,size:s.size},null,8,["icon","size"])):w("",!0)],8,Ga)],6))}}),Ua=E(ja),xa={zebra:g(),center:g(),textColor:h(),borderColor:h(),size:h("middle",t=>ae.includes(t)),maxHeight:z(),zebraColor:h()},Jt=Symbol("list-props-key"),qa={key:0,class:"f-list__header"},Ya={key:1,class:"f-list__footer"},Ka=L({name:"FList",__name:"list",props:xa,setup(t){const e=t;ue(Jt,e);const{classes:n,styles:a}=G(e,"list"),r=a(["borderColor","maxHeight","zebraColor"]),f=n(["zebra","center","size"],"f-list");return(i,l)=>(u(),p("ul",{role:"list",class:T(o(f)),style:D(o(r))},[i.$slots.header?(u(),p("header",qa,[F(i.$slots,"header")])):w("",!0),F(i.$slots,"default"),i.$slots.footer?(u(),p("footer",Ya,[F(i.$slots,"footer")])):w("",!0)],6))}}),Za=E(Ka),Wa={background:h(),color:h()},Xa=L({name:"FListItem",__name:"list-item",props:Wa,setup(t){const e=t,n=le(Jt,null),{styles:a}=G(ne({borderColor:n&&n.borderColor,textColor:e.color||n&&n.textColor,background:e.background}),"list-item"),r=a(["textColor","borderColor","background"]);return(f,i)=>(u(),p("li",{role:"listitem",class:"f-list-item",style:D(o(r))},[F(f.$slots,"default")],4))}}),Ja=E(Xa),Qa={padding:z()},ei=L({name:"FMain",__name:"main",props:Qa,setup(t){const e=t,{styles:n}=G(e,"main"),a=n(["padding"]);return(r,f)=>(u(),p("main",{role:"main",class:"f-main",style:D(o(a))},[F(r.$slots,"default")],4))}}),ti=E(ei),ni={icon:Z(),iconSize:z("16px"),backText:h(),title:h(),titleBold:g(),titleColor:h(),titleCenter:g(),subtitle:h(),onBack:P()},oi={class:"f-page-header"},si={class:"f-page-header__text"},li={key:0,class:"f-page-header__main-subtitle"},ri=L({name:"FPageHeader",__name:"page-header",props:ni,setup(t){const e=t,{run:n}=j(),{getLang:a}=he(),r=M(()=>a("pageHeader").value.backText),f=i=>{n(e.onBack,i)};return(i,l)=>(u(),p("header",oi,[$("div",{class:"f-page-header__left",onClick:f},[V(o(x),{size:i.iconSize},{default:A(()=>[F(i.$slots,"icon",{},()=>[(u(),N(Te(i.icon||o(io))))])]),_:3},8,["size"]),$("div",si,H(r.value),1)]),$("div",{class:T(["f-page-header__main",{"f-page-header__main-center":i.titleCenter}])},[$("div",{style:D({color:i.titleColor}),class:T(["f-page-header__main-title",{"f-page-header__main-title-bold":i.titleBold}])},[F(i.$slots,"title",{},()=>[X(H(i.title),1)])],6),i.subtitle||i.$slots.subtitle?(u(),p("div",li,[F(i.$slots,"subtitle",{},()=>[X(H(i.subtitle),1)])])):w("",!0)],2)]))}}),ai=E(ri),ii={percentage:O(0),state:h("line",t=>["line","circle"].includes(t)),type:h("primary",t=>ke.includes(t)),height:z(),showText:g(!0),diameter:O(400),outsideText:g(),textColor:h(),color:h(),background:h(),stripe:g()},ct=Symbol("progress-props-key"),ci=["width","height","aria-value"],ui=["cx","cy","r"],di=["x","y"],fi=L({name:"FProgressCircle",__name:"index",setup(t){const e=le(ct),{classes:n}=G(e,"progress"),a=n(["type","state"],"f-progress"),r=M(()=>ee(e.diameter)?e.diameter/2:100),f=M(()=>(r.value-mt)*2*Math.PI),i=M(()=>{const c=f.value-f.value*(e.percentage/100);return c<=0?0:c>f.value?f.value:c}),l=M(()=>({"--progress-stroke-dasharray":f.value,"--progress-stroke-dashoffset":i.value}));return(c,s)=>(u(),p("svg",{role:"progressbar",class:T(o(a)),width:o(e).diameter,height:o(e).diameter,style:D(l.value),"aria-value":o(e).percent,"aria-valuemin":0,"aria-valuemax":100},[$("circle",{class:"f-progress__girth",fill:"transparent","stroke-width":"12",stroke:"green",cx:r.value,cy:r.value,r:r.value-o(mt)},null,8,ui),o(e).showText?(u(),p("text",{key:0,"font-size":"24",fill:"grey","text-anchor":"middle","alignment-baseline":"middle",x:r.value,y:r.value},H(o(e).percent)+"% ",9,di)):w("",!0)],14,ci))}}),pi=["aria-value"],bi={class:"f-progress__bar"},mi={class:"f-progress__fill"},hi={key:0,class:"f-progress__percentage"},_i={key:0,class:"f-progress__text"},vi=L({name:"FProgressLine",__name:"index",setup(t){const e=le(ct),{classes:n,styles:a}=G(e,"progress"),r=n(["type","stripe","state"],"f-progress"),f=a(["height","color","textColor","background"]),i=M(()=>({"--progress-width":`${e.percent}%`}));return(l,c)=>(u(),p("div",{role:"progressbar",class:T(o(r)),style:D([o(f),i.value]),"aria-value":o(e).percent,"aria-valuemin":0,"aria-valuemax":100},[$("div",bi,[$("div",mi,[!o(e).outsideText&&o(e).showText?(u(),p("div",hi,H(o(e).percent)+"% ",1)):w("",!0)])]),o(e).outsideText&&o(e).showText?(u(),p("div",_i,H(o(e).percent)+"% ",1)):w("",!0)],14,pi))}}),gi=L({name:"FProgress",__name:"progress",props:ii,setup(t){const e=t,n=M(()=>{const{percentage:a}=e;return ee(a)?e.percentage>=100?100:e.percentage<=0?0:e.percentage:(Ve("f-progress","`percentage` is not a number"),0)});return ue(ct,ne({..._e(e),percent:n})),(a,r)=>a.state==="circle"?(u(),N(o(fi),{key:0})):(u(),N(o(vi),{key:1}))}}),yi=E(gi),ki={modelValue:{type:[String,Number,Boolean],default:()=>null},disabled:g(),name:h("f-radio"),label:{type:[String,Number,Boolean],default:()=>null},onChange:P()},$i={modelValue:{type:[String,Number,Boolean],default:()=>null},disabled:g(),vertical:g(),columnGap:z(),rowGap:z(),background:g(),size:h("middle",t=>ae.includes(t)),onChange:P()},Qt=Symbol("radio-group-props-key"),Ci=["value","disabled","name"],wi={key:0,class:"f-radio__circle"},Si={class:"f-radio__text"},Fi=L({name:"FRadio",__name:"radio",props:Q(ki,{modelValue:{type:[String,Number,Boolean],default:null,type:[String,Number,Boolean]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),r=M({get:()=>f&&f.modelValue||e.modelValue,set:m=>{if(f&&!l.value){a(f.changeEvent,m);return}c.value||(n.value=m,a(e.onChange,m))}}),f=le(Qt,null),i=M(()=>r.value===e.label),l=M(()=>!!(f&&f.disabled)),c=M(()=>e.disabled||l.value),{classes:s}=G(ne({checked:i,disabled:c}),"radio"),d=s(["checked","disabled"],"f-radio");return(m,y)=>{var _;return u(),p("label",{role:"radio","aria-checked":"false",tabindex:"0",class:T(o(d))},[re($("input",{"onUpdate:modelValue":y[0]||(y[0]=b=>r.value=b),hidden:"",type:"radio",value:m.label,disabled:m.disabled,name:m.name},null,8,Ci),[[pn,r.value]]),(_=o(f))!=null&&_.background?w("",!0):(u(),p("span",wi)),$("span",Si,[F(m.$slots,"default",{},()=>[X(H(m.label),1)])])],2)}}}),zi=E(Fi),Li=L({name:"FRadioGroup",__name:"radio-group",props:Q($i,{modelValue:{type:[String,Number,Boolean],default:"",type:[String,Number,Boolean]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{styles:r,classes:f}=G(e,"radio-group"),i=s=>{n.value=s,a(e.onChange,s)},l=f(["vertical","background","size"],"f-radio-group"),c=r(["columnGap","rowGap"]);return ue(Qt,ne({..._e(e),changeEvent:i})),(s,d)=>(u(),p("div",{role:"radiogroup",class:T(o(l)),style:D(o(c))},[F(s.$slots,"default")],6))}}),Ii=E(Li),Pi={modelValue:O(0),max:O(5),effectColor:h("#fcc202"),invalidColor:h("#eef"),readonly:g(),icon:Z(),size:z(25),textShow:g(),textColor:h(),textArr:ve(["极差","失望","一般","不错","很棒"]),textSize:z(),onChange:P()},Ei={type:h(void 0,t=>ke.includes(t)),size:z(),color:h(),background:h(),block:g(),spacing:z(),lineHeight:z(),indent:z(),bold:g(),decoration:h(void 0,t=>["overline","line-through","underline"].includes(t)),padding:z(),width:z(),ellipsis:g(),center:g()},Ti=L({name:"FText",__name:"text",props:Ei,setup(t){const e=t,{getProp:n}=he(e),{classes:a,styles:r}=G(n(["type"]),"text"),f=a(["type","block","bold","ellipsis","center"],"f-text"),i=r(["color","background","decoration","width","size","padding","spacing","lineHeight","indent"]);return(l,c)=>(u(),p("p",{class:T(o(f)),style:D(o(i))},[F(l.$slots,"default")],6))}}),en=E(Ti),Vi={class:"f-rate",role:"slider"},Mi={class:"f-rate__list"},Bi=["onMouseover","onClick"],Ai=L({name:"FRate",__name:"rate",props:Q(Pi,{modelValue:{default:0,type:Number},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),r=B(e.modelValue),f=d=>{e.readonly||(r.value=d)},i=()=>{e.readonly||(r.value=e.modelValue)},l=d=>{e.readonly||(r.value=d,n.value=d,a(e.onChange,d))};pe(()=>e.modelValue,()=>{r.value=e.modelValue});const c=M(()=>e.textArr[o(r)-1]),s=M(()=>ee(e.max)?e.max:5);return(d,m)=>(u(),p("div",Vi,[$("div",Mi,[(u(!0),p(U,null,K(s.value,(y,_)=>(u(),p("div",{key:_,class:T(["f-rate__star",{"f-rate__star-readonly":d.readonly}]),onMouseout:i,onMouseover:b=>f(_+1),onClick:b=>l(_+1)},[V(o(x),{size:d.size,icon:d.icon||o(jo),color:r.value>_?d.effectColor:d.invalidColor},null,8,["size","icon","color"])],42,Bi))),128))]),d.textShow?(u(),N(o(en),{key:0,size:d.textSize,color:d.textColor},{default:A(()=>[X(H(c.value),1)]),_:1},8,["size","color"])):w("",!0)]))}}),Ni=E(Ai),Di={ripplesColor:h(),duration:O(400),type:h(void 0,t=>ke.includes(t)),disabled:g(),startOpacity:O(),endOpacity:O()},Ri=L({name:"FRipple",__name:"ripple",props:Di,setup(t){const e=t,{getType:n,getProp:a}=he(e),{styles:r}=G(a(["type"],["default"]),"ripple"),f=B(),i=r(["startOpacity","endOpacity"],!1),l=c=>{if(e.disabled)return;const{ripplesColor:s,duration:d}=_e(e),m=ne({duration:d.value,component:"f-ripple",className:"f-ripple__animation",type:n(),ripplesColor:s.value});if(f.value){const{runRipples:y}=Gn(c,f.value,m);y()}};return(c,s)=>(u(),p("div",{ref_key:"rippleRef",ref:f,class:"f-ripple",style:D(o(i)),onClick:l},[F(c.$slots,"default")],4))}}),Oi=E(Ri),Hi={round:g(),difference:g(),animated:g(),rows:O(1),loading:g(),rowGap:z(),size:h("middle",t=>ae.includes(t))},Gi=L({name:"FSkeleton",__name:"skeleton",props:Hi,setup(t){const e=t,{classes:n,styles:a}=G(e,"skeleton"),r=n(["round","animated","size",{key:"difference",callback:()=>e.difference&&ee(e.rows)&&e.rows>=3}],"f-skeleton"),f=a(["rowGap"]),i=M(()=>Le().default?e.loading===!0:!0);return(l,c)=>i.value?(u(),p("div",{key:0,role:"section",class:T(o(r)),style:D(o(f))},[(u(!0),p(U,null,K(l.rows,s=>(u(),p("div",{key:s,class:"f-skeleton__item"}))),128))],6)):F(l.$slots,"default",{key:1})}}),ji=E(Gi),Ui={open:g(),openText:h(),closeText:h(),borderColor:h(),onOpen:P(),onClose:P()},xi={opened:g(),disabled:g(),heightAnimation:g(!0),widthAnimation:g(),animationTime:O(),onOpen:P(),onClose:P(),onOpenEnd:P(),onCloseEnd:P()},qi={class:"f-collapse-animation"},Yi=L({name:"FCollapseAnimation",__name:"collapse-animation",props:xi,setup(t){const e=t,{onBeforeEnter:n,onEnter:a,onAfterEnter:r,onBeforeLeave:f,onLeave:i,onAfterLeave:l}=gl(e),c=e.opened,s=M(()=>e.disabled?c:e.opened);return(d,m)=>(u(),N(ce,{onBeforeEnter:o(n),onEnter:o(a),onAfterEnter:o(r),onBeforeLeave:o(f),onLeave:o(i),onAfterLeave:o(l)},{default:A(()=>[re($("div",qi,[F(d.$slots,"default")],512),[[be,s.value]])]),_:3},8,["onBeforeEnter","onEnter","onAfterEnter","onBeforeLeave","onLeave","onAfterLeave"]))}}),Ze=E(Yi),Ki={key:0,class:"f-sticky-card__source"},Zi={class:"f-sticky-card__box"},Wi={class:"f-sticky-card__option-text"},Xi=L({name:"FStickyCard",__name:"sticky-card",props:Ui,setup(t){const e=t,{getLang:n}=he(),{run:a}=j(),{styles:r}=G(e,"sticky-card"),f=B(e.open),i=()=>{f.value=!f.value,a(f.value?e.onClose:e.onOpen,f.value)},l=M(()=>{const{openText:s,closeText:d}=e,m=n("stickyCard").value;return o(f)?s||m.openText:d||m.closeText}),c=r(["borderColor"]);return(s,d)=>(u(),p("div",{class:"f-sticky-card",style:D(o(c))},[s.$slots.source?(u(),p("div",Ki,[F(s.$slots,"source")])):w("",!0),$("div",Zi,[V(o(Ze),{opened:f.value},{default:A(()=>[F(s.$slots,"default")]),_:3},8,["opened"])]),$("div",{class:T(["f-sticky-card__option",{"f-sticky-card__option-open":f.value}]),onClick:i},[$("span",Wi,H(l.value),1)],2)],4))}}),tn=E(Xi),Ji={modelValue:{...g(),required:!0},size:h(void 0,t=>ae.includes(t)),disabled:g(),loading:g(),icon:Z(),closeColor:h(),activeColor:h(),activeText:h(),closeText:h(),square:g(),iconSize:z(),onChange:P()},Qi=L({name:"FSwitch",__name:"switch",props:Q(Ji,{modelValue:{type:Boolean,default:!1,type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{getProp:r}=he(e),{styles:f,classes:i}=G(r(["size"]),"switch"),l=()=>{e.disabled||e.loading||(n.value=!n.value,a(e.onChange,!e.modelValue))},c=f(["closeColor","activeColor"]),s=i(["size","square"],"f-switch__input");return(d,m)=>(u(),p("div",{role:"switch",class:T(["f-switch",{"f-switch__disabled":d.disabled||d.loading}]),style:D(o(c))},[d.closeText?(u(),p("span",{key:0,class:T(["f-switch__right-text",{"f-switch__text-active":!n.value}])},H(d.closeText),3)):w("",!0),$("div",{class:T([o(s),{"f-switch__active":n.value}]),onClick:de(l,["stop"])},[$("span",{class:T(["f-switch__roll",{"f-switch__roll-active":n.value}])},[d.icon&&!d.loading?(u(),N(o(x),{key:0,icon:d.icon,size:d.iconSize},null,8,["icon","size"])):w("",!0),d.loading?(u(),N(o(x),{key:1,class:"f-switch__loading-animation",icon:o(Lt),size:d.iconSize},null,8,["icon","size"])):w("",!0)],2)],2),d.activeText?(u(),p("span",{key:1,class:T(["f-switch__left-text",{"f-switch__text-active":n.value}])},H(d.activeText),3)):w("",!0)],6))}}),ec=E(Qi),tc={type:h(void 0,t=>ke.includes(t)),close:g(),round:g(),background:h(),color:h(),beforeIcon:Z(),afterIcon:Z(),size:h(void 0,t=>ae.includes(t)),simple:g(),block:g(),line:g(),onClose:P(),onClick:P()},nc=L({name:"FTag",__name:"tag",props:tc,setup(t){const e=t,{getProp:n}=he(e),{run:a}=j(),{classes:r,styles:f}=G(n(["size","type"]),"tag"),i=r(["simple","type","size","block","round","line"],"f-tag"),l=f(["color","background"]),c=s=>{a(e.onClose,s)};return(s,d)=>(u(),N(ce,{name:"f-tag",appear:""},{default:A(()=>[$("div",{class:T(o(i)),style:D(o(l)),onClick:d[0]||(d[0]=(...m)=>s.onClick&&s.onClick(...m))},[s.beforeIcon?(u(),N(o(x),{key:0,icon:s.beforeIcon},null,8,["icon"])):w("",!0),F(s.$slots,"default"),s.afterIcon?(u(),N(o(x),{key:1,icon:s.afterIcon},null,8,["icon"])):w("",!0),s.close?(u(),N(o($e),{key:2,size:14,"on-click":c})):w("",!0)],6)]),_:3}))}}),oc=E(nc),sc={content:z(),position:h("bottom",t=>["top","bottom","right","left"].includes(t)),disabled:g(),state:h("hover",t=>["hover","active","always"].includes(t)),noArrow:g(),bold:g(),bright:g(),background:h(),fontColor:h()},lc=["f-content"],rc=L({name:"FTooltip",__name:"tooltip",props:sc,setup(t){const e=t,{classes:n,styles:a}=G(e,"tooltip"),r=n(["position","state","disabled","bold","noArrow","bright"],"f-tooltip"),f=a(["background","fontColor"]);return(i,l)=>i.$slots.default?(u(),p("div",{key:0,role:"tooltip","f-content":i.content,class:T(o(r)),style:D(o(f))},[F(i.$slots,"default")],14,lc)):w("",!0)}}),ac=E(rc),ic={modelValue:ve(),data:{type:[Object,Array],default:()=>[]},isCheck:g(),offset:O(40),onClickLabel:P()},nn=Symbol("tree-props-key"),cc={model:Z()},uc={class:"f-tree-item"},dc={class:"f-tree-item__label-prefix"},fc={class:"f-tree-item__text"},pc={key:0,class:"f-tree-item__label-option"},bc={key:0,class:"f-tree-item__children"},kt=L({name:"FTreeItem",__name:"index",props:cc,setup(t){const e=t,{run:n}=j(),a=le(nn,null),r=B(!1),f=M(()=>!!(e.model.children&&e.model.children.length)),i=(s,d)=>{d.disabled||(r.value=!r.value,a&&n(a.onClickLabel,s,d,r.value,a.tree))},l=M(()=>a&&ee(a.offset)&&a.offset>1?a.offset:40),c=M(()=>{const{__level:s}=e.model;return s?{"--tree-item-level-padding":`${s*l.value}px`}:{}});return(s,d)=>{var y;const m=wt("f-tree-item");return u(),p("div",uc,[$("div",{class:T(["f-tree-item__label",{"f-tree-item__label-disabled":s.model.disabled}]),style:D(c.value),onClick:d[0]||(d[0]=_=>i(_,s.model))},[$("div",dc,[(y=o(a))!=null&&y.isCheck?(u(),N(o(Se),{key:0,label:s.model.value||s.model.label,disabled:s.model.disabled,"show-label":!1},null,8,["label","disabled"])):w("",!0),f.value?(u(),N(o(x),{key:1,class:T({"f-tree-item__icon-animation":r.value}),size:15,icon:o(Pe)},null,8,["class","icon"])):w("",!0),s.model.icon?(u(),N(o(x),{key:2,size:15,icon:s.model.icon},null,8,["icon"])):w("",!0),$("div",fc,H(s.model.label),1)]),s.$slots.options?(u(),p("div",pc,[F(s.$slots,"options")])):w("",!0)],6),V(o(Ze),{opened:r.value,"animation-time":.3},{default:A(()=>[f.value?(u(),p("div",bc,[(u(!0),p(U,null,K(s.model.children,(_,b)=>(u(),N(m,{key:b,model:_},{options:A(()=>[F(s.$slots,"options")]),_:2},1032,["model"]))),128))])):w("",!0)]),_:3},8,["opened"])])}}}),mc={role:"tree",class:"f-tree"},hc=L({name:"FTree",__name:"tree",props:Q(ic,{check:{type:Array,default:[]},checkModifiers:{}}),emits:["update:check"],setup(t){const e=t,n=J(t,"check"),a=(l,c=0)=>{Ie(l)&&(l=[l]);const s=[];if(fe(l))for(const d of l){const m={...d,__level:c};d.children&&(m.children=a(d.children,c+1)),s.push(m)}return s},r=M(()=>a(e.data)),f=B([]),i=l=>{n.value=l};return ue(nn,ne({onClickLabel:Fe(e,"onClickLabel"),isCheck:Fe(e,"isCheck"),offset:Fe(e,"offset"),tree:r})),(l,c)=>(u(),p("div",mc,[l.isCheck?(u(),N(o(Wt),{key:0,modelValue:f.value,"onUpdate:modelValue":c[0]||(c[0]=s=>f.value=s),style:{display:"block"},"on-change":i},{default:A(()=>[(u(!0),p(U,null,K(r.value,(s,d)=>(u(),N(kt,{key:d,model:s},{options:A(()=>[F(l.$slots,"options")]),_:2},1032,["model"]))),128))]),_:3},8,["modelValue"])):(u(!0),p(U,{key:1},K(r.value,(s,d)=>(u(),N(kt,{key:d,model:s},{options:A(()=>[F(l.$slots,"options")]),_:2},1032,["model"]))),128))]))}}),_c=E(hc),vc={content:h(),fontSize:O(40),gap:O(40),fontColor:h("#111"),zIndex:z(9999)},gc=L({name:"FWatermark",__name:"watermark",props:vc,setup(t){const e=t,n=yl(e),a=B();let r;const f=()=>{if(!a.value)return;r&&r.remove();const{base64:l,size:c}=n.value;r=document.createElement("div"),r.style.position="absolute",r.style.backgroundImage=`url(${l})`,r.style.backgroundSize=`${c}px ${c}px`,r.style.zIndex=e.zIndex.toString(),r.style.inset="0",a.value.appendChild(r)},i=new MutationObserver(l=>{for(const c of l){if(c.removedNodes&&c.removedNodes.length){const s=Array.from(c.removedNodes);for(const d of s)if(d===r){f();return}}if(c.target===r){f();return}}});return ie(()=>{a.value&&i.observe(a.value,{childList:!0,subtree:!0,attributes:!0})}),ie(f),Ge(i.disconnect),(l,c)=>(u(),p("div",{ref_key:"watermarkRef",ref:a,class:"f-watermark"},[F(l.$slots,"default")],512))}}),yc=E(gc),kc={files:ve(),accept:h(),name:h(),drag:g(),isRemove:g(!0),showList:g(!1),multiple:g(),maxSize:O(),maxLength:O(),disabled:g(),onLoad:P(),onChange:P()},$c={class:"f-up-load"},Cc=["name","disabled","accept","multiple"],wc={key:0,class:"f-up-load__file-list"},Sc={class:"f-up-load__file-name"},Fc=L({name:"FUpLoad",__name:"up-load",props:Q(kc,{files:{default:[],type:Array},filesModifiers:{}}),emits:["update:files"],setup(t){const e=t,n=J(t,"files"),{run:a}=j(),r=B(!1),f=B(),i=()=>{f.value&&f.value.click()},l=b=>{n.value=[...n.value,...b],a(e.onLoad,b)},c=b=>{const{maxSize:v,maxLength:C}=_e(e);let k=[...b];return v.value&&(k=k.filter(I=>I.size{const v=b.target.files;v&&l(c(v))},d=b=>{n.value.splice(b,1)},m=b=>{b.preventDefault(),r.value=!0},y=b=>{r.value=!1;const v=b.dataTransfer.files;v&&l(c(v))},_=()=>{pe(()=>e.files,()=>{a(e.onChange,n.value)},{deep:!0})};return e.onChange&&_(),(b,v)=>(u(),p(U,null,[$("div",$c,[b.drag?(u(),p("div",{key:0,class:"f-up-load__drag",onClick:i,onDrop:de(y,["prevent"]),onDragover:de(m,["prevent"])},[F(b.$slots,"default",{},()=>[V(o(x),{icon:o(Ss)},null,8,["icon"])])],32)):(u(),p("div",{key:1,class:"f-up-load__content",onClick:i},[F(b.$slots,"default",{},()=>[V(o(se),null,{default:A(()=>[X("选择文件")]),_:1})])])),$("input",{ref_key:"inputRef",ref:f,type:"file",hidden:"",name:b.name,disabled:b.disabled,accept:b.accept,multiple:b.multiple,onChange:s},null,40,Cc)]),b.showList?(u(),p(U,{key:0},[n.value&&n.value.length?(u(),p("div",wc,[(u(!0),p(U,null,K(n.value,(C,k)=>(u(),p("div",{key:k,class:"f-up-load__file-list-item"},[$("div",Sc,[V(o(x),{icon:o(gs)},null,8,["icon"]),X(" "+H(C.name),1)]),b.isRemove?(u(),N(o($e),{key:0,size:14,onClick:I=>d(k)},null,8,["onClick"])):w("",!0)]))),128))])):w("",!0)],64)):w("",!0)],64))}}),zc=E(Fc),Lc={current:{...O(1),require:!0},total:{...O(0),require:!0},pageSize:O(10),pageSelect:ve(),pagerCount:O(7),background:g(),round:g(),prevIcon:Z(),nextIcon:Z(),disabled:g(),jumpSearch:g(),onPrev:P(),onNext:P(),pageSizeChange:P(),onChange:P()},Ic=["disabled"],Pc=["onClick"],Ec=["disabled"],Tc=L({name:"FPagination",__name:"pagination",props:Q(Lc,{current:{default:1,type:Number},currentModifiers:{},pageSize:{default:10,type:Number},pageSizeModifiers:{}}),emits:["update:current","update:pageSize"],setup(t){const e=t,n=J(t,"current"),a=J(t,"pageSize"),{pages:r,showNextMore:f,showPrevMore:i,maxCount:l,handelTurnPages:c}=dl(e,{currentModelValue:n,pageSizeModelValue:a}),{jumpCurrent:s,selectChange:d,handelChange:m,handleInput:y,handelClick:_}=fl(e,{currentModelValue:n,pageSizeModelValue:a},r,l),{classes:b}=G(e,"pagination"),v=B(10),C=b(["background","round","disabled"],qe);return(k,I)=>(u(),p("div",{class:T(o(C))},[k.pageSelect&&k.pageSelect.length?(u(),N(o(He),{key:0,modelValue:v.value,"onUpdate:modelValue":I[0]||(I[0]=S=>v.value=S),width:120,disabled:k.disabled,"on-change":o(d)},{default:A(()=>[(u(!0),p(U,null,K(k.pageSelect,S=>(u(),N(o(Oe),{key:S,value:S,label:S+"/页"},null,8,["value","label"]))),128))]),_:1},8,["modelValue","disabled","on-change"])):w("",!0),$("button",{class:"f-pagination__button",disabled:k.disabled,onClick:I[1]||(I[1]=S=>o(c)("prev"))},[V(o(x),{size:14,icon:k.prevIcon||o(Ye)},null,8,["icon"])],8,Ic),k.total>0?(u(),p("div",{key:1,class:"f-pagination__pages",onClick:I[2]||(I[2]=S=>o(_)(S))},[$("div",{class:T([o(ge),{[`${o(ge)}-active`]:t.current===1}])}," 1 ",2),o(i)?(u(),p("div",{key:0,class:T([o(ge),o(Nt)])},[V(o(x),{size:15,icon:o(vt)},null,8,["icon"])],2)):w("",!0),(u(!0),p(U,null,K(o(r),S=>(u(),p("div",{key:S,class:T([o(ge),{[`${o(ge)}-active`]:t.current===S}]),onClick:R=>o(m)(S,R)},H(S),11,Pc))),128)),o(f)?(u(),p("div",{key:1,class:T([o(ge),o(Dt)])},[V(o(x),{size:15,icon:o(vt)},null,8,["icon"])],2)):w("",!0),k.total>1&&k.total>Number(t.pageSize)?(u(),p("div",{key:2,class:T([o(ge),{[`${o(ge)}-active`]:t.current===o(l)}])},H(o(l)),3)):w("",!0)])):w("",!0),$("button",{class:"f-pagination__button",disabled:k.disabled,onClick:I[3]||(I[3]=S=>o(c)("next"))},[V(o(x),{size:14,icon:k.nextIcon||o(Pe)},null,8,["icon"])],8,Ec),k.jumpSearch?(u(),N(o(Ee),{key:2,modelValue:o(s),"onUpdate:modelValue":I[4]||(I[4]=S=>St(s)?s.value=S:null),placeholder:"输入跳转的页数",class:"f-pagination__jump",style:{width:"80px"},disabled:k.disabled,"on-blur":o(y),"on-enter":o(y)},null,8,["modelValue","disabled","on-blur","on-enter"])):w("",!0)],2))}}),Vc=E(Tc),Mc={data:ve(),columns:ve(),align:h("left",t=>["left","center","right"].includes(t)),border:g(),select:g(),num:g(),zebra:g(),zebraColor:h(),height:z(),width:z(),bgColor:h(),headBgColor:h(),showHead:g(!0),onSelect:P()},Bc={class:"f-table__container"},Ac={key:0,class:"f-table__header"},Nc={class:"f-table__table"},Dc={key:0,width:50,span:1},Rc={key:1,width:50,span:1},Oc=["width"],Hc=["align"],Gc={key:0},jc={key:1},Uc={class:"f-table__body"},xc={key:0,class:"f-table__table"},qc={key:0,width:50,span:1},Yc={key:1,width:50,span:1},Kc=["width"],Zc=["align"],Wc={key:0},Xc={key:1},Jc=["align"],Qc={key:0},eu={key:1},tu={key:1},nu={class:"f-table__table"},ou={key:0,width:50,span:1},su={key:1},lu=["width"],ru=["align"],au={key:0},iu={key:1},cu={class:"table__no-data"},uu={key:1},du=L({name:"FTable",__name:"table",props:Mc,setup(t){const e=t,{run:n}=j(),{styles:a,classes:r}=G(e,"table"),f=(b,v,C,k)=>b(Me,v,C,k),i=(b,v,C)=>b(Me,v,C),l=a(["zebraColor","bgColor","headBgColor","height","width"]),c=r(["border","zebra"],"f-table"),s=M(()=>!!(e.height&&e.showHead)),d=B([]),m=M({get:()=>d.value.length?(d.value||[]).every(b=>b._select):!1,set:b=>{const v=(d.value||[]).map(C=>(C._select=b,C));return d.value=v,_(),b}});pe(()=>e.data,()=>{if(fe(e.data)||(d.value=[]),e.select){const b=e.data.map(v=>({...v,_select:!1}));d.value=b;return}d.value=e.data},{immediate:!0});const _=()=>{const b=(d.value||[]).filter(v=>v._select);n(e.onSelect,b)};return(b,v)=>(u(),p("div",{role:"table",class:T(o(c)),style:D(o(l))},[$("div",Bc,[b.columns||d.value?(u(),p(U,{key:0},[s.value?(u(),p("div",Ac,[$("table",Nc,[$("colgroup",null,[b.select?(u(),p("col",Dc)):w("",!0),b.num?(u(),p("col",Rc)):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("col",{key:k,width:C.width},null,8,Oc))),128))]),$("thead",{align:b.align},[$("tr",null,[b.select?(u(),p("th",Gc,[V(o(Se),{modelValue:m.value,"onUpdate:modelValue":v[0]||(v[0]=C=>m.value=C),disabled:!d.value.length},null,8,["modelValue","disabled"])])):w("",!0),b.num?(u(),p("th",jc,"#")):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("th",{key:k},[o(Xe)(C.title)?(u(),N(Te(i(C.title,C,k)),{key:0})):(u(),p(U,{key:1},[X(H(C.title),1)],64))]))),128))])],8,Hc)])])):w("",!0),$("div",Uc,[d.value&&d.value.length?(u(),p("table",xc,[$("colgroup",null,[b.select?(u(),p("col",qc)):w("",!0),b.num?(u(),p("col",Yc)):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("col",{key:k,span:1,width:C.width},null,8,Kc))),128))]),s.value?w("",!0):(u(),p("thead",{key:0,align:b.align},[$("tr",null,[b.select?(u(),p("th",Wc,[V(o(Se),{modelValue:m.value,"onUpdate:modelValue":v[1]||(v[1]=C=>m.value=C),disabled:!d.value.length},null,8,["modelValue","disabled"])])):w("",!0),b.num?(u(),p("th",Xc,"#")):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("th",{key:k},[o(Xe)(C.title)?(u(),N(Te(i(C.title,C,k)),{key:0})):(u(),p(U,{key:1},[X(H(C.title),1)],64))]))),128))])],8,Zc)),$("tbody",{align:b.align},[(u(!0),p(U,null,K(d.value,(C,k)=>(u(),p("tr",{key:k},[b.select?(u(),p("td",Qc,[V(o(Se),{modelValue:C._select,"onUpdate:modelValue":I=>C._select=I,"on-change":_},null,8,["modelValue","onUpdate:modelValue"])])):w("",!0),b.num?(u(),p("td",eu,H(k+1),1)):w("",!0),(u(!0),p(U,null,K(b.columns,(I,S)=>(u(),p("td",{key:S},[I.render?(u(),N(Te(f(I.render,C,I,k)),{key:0})):(u(),p(U,{key:1},[I.key?(u(),p(U,{key:0},[X(H(C[I.key]),1)],64)):w("",!0)],64))]))),128))]))),128))],8,Jc),b.$slots.tfoot?(u(),p("tfoot",tu,[F(b.$slots,"tfoot")])):w("",!0)])):(u(),p(U,{key:1},[$("table",nu,[$("colgroup",null,[b.select?(u(),p("col",ou)):w("",!0),b.num?(u(),p("col",su)):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("col",{key:k,span:1,width:C.width},null,8,lu))),128))]),s.value?w("",!0):(u(),p("thead",{key:0,align:b.align},[$("tr",null,[b.select?(u(),p("th",au,[V(o(Se),{modelValue:m.value,"onUpdate:modelValue":v[2]||(v[2]=C=>m.value=C),disabled:!d.value.length},null,8,["modelValue","disabled"])])):w("",!0),b.num?(u(),p("th",iu,"#")):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("th",{key:k},[o(Xe)(C.title)?(u(),N(Te(i(C.title,C,k)),{key:0})):(u(),p(U,{key:1},[X(H(C.title),1)],64))]))),128))])],8,ru))]),$("div",cu,[F(b.$slots,"noData",{},()=>[V(o(it),{content:"暂无数据"})])])],64))])],64)):(u(),p("table",uu,[F(b.$slots,"default")]))])],6))}}),fu=E(du),pu={disabled:g(),onClick:P()},bu=L({name:"FDropdownItem",__name:"dropdown-item",props:pu,setup(t){const e=t,{run:n}=j(),a=le(rt,null),r=f=>{e.disabled||(n(a&&a.close),n(e.onClick,f))};return(f,i)=>(u(),p("div",{class:T(["f-dropdown-item",{"f-dropdown-item__disabled":f.disabled}]),onClick:r},[F(f.$slots,"default")],2))}}),mu=E(bu),hu={modelValue:{...z(),required:!0},rows:z(),disabled:g(),autoHeight:g(),maxLength:O(),autofocus:g(),name:h("f-textarea"),placeholder:h(),readonly:g(),fontSize:z(),onInput:P(),resize:h(void 0,t=>["none","both","horizontal","vertical"].includes(t)),clear:g(),onChange:P(),onBlur:P(),onFocus:P(),onEnter:P()},_u=["rows","disabled","readonly","autofocus","placeholder","name"],vu=L({name:"FTextarea",__name:"textarea",props:Q(hu,{modelValue:{default:"",type:[Number,String]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{handleInput:a,handleClear:r,handleChange:f}=Vt(e,n),{classes:i,styles:l}=G(e,"textarea"),{run:c}=j(),s=B(),d=i(["disabled","autoHeight"],"f-textarea"),m=l(["resize","fontSize"]),y=async()=>{await Ne(),s.value&&(s.value.style.height="auto",s.value.style.height=s.value.scrollHeight+"px")},_=k=>{a(k),e.autoHeight&&y()},b=()=>{const k=pe(()=>[e.modelValue,e.rows,e.autoHeight],()=>{y(),e.autoHeight||(k(),s.value&&(s.value.style.height="auto"))},{immediate:!0})},v=zt(y,500);ie(()=>{e.autoHeight&&(b(),window.addEventListener("resize",v))}),$t(()=>{window.removeEventListener("resize",v)});const C=k=>{if(k.key==="Enter"&&k.ctrlKey){n.value+=`
+import{f as B,j as ie,w as pe,_ as te,o as u,c as p,v as $,d as L,C as V,y as A,r as F,b as o,t as H,z as w,n as T,D,ab as rn,s as Ge,h as M,i as tt,ac as $t,ad as an,ae as cn,a1 as ne,$ as Le,x as N,a as X,F as U,J as K,T as ce,Q as le,a9 as _e,a2 as re,Z as de,a4 as be,R as ue,k as je,af as Q,ag as J,ah as un,X as dn,a8 as Ue,a5 as Fe,O as Ne,ai as fn,aj as Ct,E as Te,ak as pn,A as wt,a0 as St,a6 as Me,al as bn,V as mn,B as hn,am as _n,a3 as pt,an as vn,u as Ft,H as Je,ao as gn,ap as yn,aq as kn,ar as $n,as as Cn,at as wn,au as Sn,av as Fn,aw as zn,ax as Ln,ay as In,az as Pn,aA as En,aB as Tn}from"./chunks/framework.f50263fa.js";import{t as bt}from"./chunks/theme.f83571e3.js";import{o as fe,r as Ie,t as Vn,j,p as xe,v as Mn,a as g,s as h,c as Z,e as x,u as G,w as nt,x as Bn,i as me,h as ee,F as ke,m as z,y as ve,b as O,d as P,f as $e,l as E,z as ot,k as ae,A as zt,B as st,C as An,D as lt,q as Nn,n as Xe,E as oe,G as Dn,H as Rn}from"./chunks/index.ccb77e9b.js";import{a as Lt,u as he,P as On,b as It,B as Hn,F as se,c as Gn,d as jn}from"./chunks/index.e9f855f3.js";import{w as ye,e as Ve}from"./chunks/index.a460f002.js";import{F as Pt}from"./chunks/index.661bf63c.js";import{F as Et}from"./chunks/index.c8ccc1ab.js";import{F as Un,a as xn}from"./chunks/index.c6df67b5.js";import"./chunks/index.f96b7fa5.js";const Tt=(t,e)=>{let n=[];return fe(t)&&t.length&&t.forEach(a=>{const r=Ie(a.type)&&a.type.name;if(r===e&&n.push(a),r!==e&&a.children&&fe(a.children)){const f=Tt(a.children,e);n=n.concat(f)}}),n},qn=t=>{if(typeof t!="object"||t===null)return ye("objectEntries","Parameter is not an object type."),[];if(Object.entries&&Object.entries!==void 0)return Object.entries(t);const e=[];for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push([n,t[n]]);return e},Yn=()=>{const t=B(1),e=B(0),n=()=>{Vn(t.value,1)>=.2&&(t.value-=.2)},a=()=>{t.value<=10&&(t.value+=.2)};return{scale:t,rotate:e,smaller:n,bigger:a,scrollZoom:c=>{c.preventDefault(),c.deltaY>1?n():a()},recovery:()=>{t.value=1,e.value=0},rotateClockwise:()=>{e.value+=90},rotateCounterClock:()=>{e.value-=90}}},Kn=t=>{const e=eo(),n=(i,l)=>{const c=[31,28,31,30,31,30,31,31,30,31,30,31];return l-1===-1&&(l=12),l===2&&r(i)?29:c[l-1]},a=(i,l)=>new Date(i,l-1,1).getDay(),r=i=>i%4===0&&i%100!==0||i%400===0;return{generateCalendar:(i,l)=>{const c=[],s=a(i,l),d=n(i,l-1);for(let _=s-1;_>=0;_--){const b=l-1===0?12:l-1,v=d-_,C=t.lunar?e(i,b,v):{};c.push({year:i,month:b,day:v,target:"prev",...C})}let m=1;for(;m<=n(i,l);){const _=t.lunar?e(i,l,m):{};c.push({year:i,month:l,day:m,target:"current",..._}),m++}let y=1;for(;c.length%7!==0;){const _=l+1===13?1:l+1,b=t.lunar?e(i,_,y):{};c.push({year:i,month:_,day:y,target:"next",...b}),y++}return c}}},Vt=(t,e)=>{const{run:n}=j();return{handleInput:i=>{n(t.onInput,e.value,i)},handleChange:i=>{n(t.onChange,e.value,i)},handleClear:()=>{t.disabled||(e.value="")}}},Mt=(t,e,n)=>{const{run:a}=j(),r=B(!0),f=B(!1);let i=!1;const l=(b,v,C)=>{b.src=C,r.value=!0,f.value=!0,a(e.onLoad,v)},c=b=>{r.value=!1,a(e.onError,b)},s=(b,v)=>{const C=new Image;new Promise((k,I)=>{C.src=v||e.src,C.addEventListener("load",S=>{k(S)}),C.addEventListener("error",S=>{I(S)})}).then(k=>{k&&l(b,k,C.src)}).catch(k=>{if(!i&&e.errSrc){s(b,e.errSrc),i=!0;return}c(k)})},d=b=>{const v=new IntersectionObserver(C=>{C[0].isIntersecting&&(s(b),v.unobserve(b))},{rootMargin:xe(e.rootMargin)});return v},m=b=>{const v=()=>{const C=window.innerHeight||document.documentElement.clientHeight,k=document.documentElement.scrollTop||document.body.scrollTop,I=b.offsetParent.offsetTop,S=C+k-I;Math.abs(S){if(t.value){if(e.lazy){IntersectionObserver?d(t.value).observe(t.value):m(t.value);return}s(t.value)}},_=()=>{if(n){if(n())y();else return;return}y()};return ie(_),pe(()=>e.src,()=>{_()}),{isSuccess:r,isShowNode:f}},Bt="data-index",At="f-toolbar-item",qe="f-pagination",ge=`${qe}__item`,Nt=`${qe}__prev`,Dt=`${qe}__next`,mt=25,Rt="f-trigger",Ot="f-trigger__content-box",Zn=t=>{(()=>{const c=t.children[0].cloneNode(!0);t.appendChild(c)})();const n=24;let a=0;const r=t.children.length,f=()=>{let l=a*n;a++;const c=a*n,s=500,d=15,m=s/d,y=(c-l)/m,_=setInterval(()=>{if(l+=y,l>=c&&(clearInterval(_),a===r-1)){t.scrollTop=0,a=0;return}t.scrollTop=l},d)};return(l=2e3)=>{setInterval(f,l)}},Ht=(t,e,n)=>{const{run:a}=j(),r=i=>{e.value=!1,a(n,i)};return{closeVisible:r,maskClose:()=>{t.maskClose&&r()}}},Be=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,92821,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,37600,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],ht={"1-1":{title:"元旦"},"2-2":{title:"湿地日"},"2-14":{title:"情人节"},"3-8":{title:"妇女节"},"3-12":{title:"植树节"},"4-1":{title:"愚人节"},"5-1":{title:"劳动节"},"5-4":{title:"青年节"},"5-12":{title:"护士节"},"6-1":{title:"儿童节"},"7-1":{title:"建党节"},"8-1":{title:"建军节"},"9-10":{title:"教师节"},"10-1":{title:"国庆节"},"12-24":{title:"平安夜"},"12-25":{title:"圣诞节"}},_t={"1-1":{title:"春节"},"1-15":{title:"元宵节"},"2-2":{title:"龙抬头"},"5-5":{title:"端午节"},"7-7":{title:"七夕节"},"7-15":{title:"中元节"},"8-15":{title:"中秋节"},"9-9":{title:"重阳节"},"10-1":{title:"寒衣节"},"10-15":{title:"下元节"},"12-8":{title:"腊八节"},"12-23":{title:"北小年"},"12-24":{title:"南小年"},"12-30":{title:"除夕"}},Wn=["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],Xn=["日","一","二","三","四","五","六","七","八","九","十"],Jn=["初","十","廿","卅"],Qn=["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],eo=()=>{const t=c=>{let s,d=348;for(s=32768;s>8;s>>=1)d+=Be[c-1900]&s?1:0;return d+n(c)},e=c=>Be[c-1900]&15,n=c=>e(c)?Be[c-1900]&65536?30:29:0,a=(c,s)=>s>12||s<1?-1:Be[c-1900]&65536>>s?30:29,r=(c,s)=>{const d="魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯",m=[20,19,21,21,21,22,23,23,23,23,22,22];return d.substr(c*2-(s{if(c<1900||c>2100||s<1||s>24)return-1;const d=Qn[c-1900],m=[];for(let y=0;y{let s;switch(c){case 10:s="初十";break;case 20:s="二十";break;case 30:s="三十";break;default:s=Jn[Math.floor(c/10)],s+=Xn[c%10]}return s};return(c,s,d)=>{let m=parseInt(c.toString()),y=parseInt(s.toString()),_=parseInt(d.toString());if(m<1900||m>2100||m===1900&&y===1&&_<31)return-1;let b;m?b=new Date(m,parseInt(y.toString())-1,_):b=new Date;let v,C=0,k=0;m=b.getFullYear(),y=b.getMonth()+1,_=b.getDate();let I=(Date.UTC(b.getFullYear(),b.getMonth(),b.getDate())-Date.UTC(1900,0,31))/864e5;for(v=1900;v<2101&&I>0;v++)k=t(v),I-=k;I<0&&(I+=k,v--),b.getDay();const S=v;C=e(v);let R=!1;for(v=1;v<13&&I>0;v++)C>0&&v===C+1&&R===!1?(--v,R=!0,k=n(S)):k=a(S,v),R===!0&&v===C+1&&(R=!1),I-=k;I===0&&C>0&&v===C+1&&(R?R=!1:(R=!0,--v)),I<0&&(I+=k,--v);const q=v,W=I+1,Y=f(m,y*2);let Ce="";Y===_&&(Ce=Wn[y*2-1]);const dt=r(y,_),ft=y+"-"+_;let We=q+"-"+W;return q===12&&W===29&&a(S,q)===29&&(We="12-30"),{festival:ht[ft]?ht[ft].title:"",lunarFestival:_t[We]?_t[We].title:"",lunar:i(W),term:Ce,constellation:dt}}},to=(t,e,n)=>{const a=i=>{n(i.clientX-e.value)},r=()=>{document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",r)},f=()=>{document.addEventListener("mousemove",a,{passive:!1}),document.addEventListener("mouseup",r,{passive:!1})};t.addEventListener("mousedown",f,{passive:!1})},no={visible:g(),text:h(),color:h(),fullscreen:g(),background:h(),icon:Z()},oo={},so={width:"1em",height:"1em",viewBox:"0 0 16 16"},lo=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m7.25 3.75l-4.5 4.5l4.5 4.5m6-4.5H2.75"},null,-1),ro=[lo];function ao(t,e){return u(),p("svg",so,ro)}const io=te(oo,[["render",ao]]),co={},uo={width:"1em",height:"1em",viewBox:"0 0 16 16"},fo=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M10.25 3.75L5.75 8l4.5 4.25"},null,-1),po=[fo];function bo(t,e){return u(),p("svg",uo,po)}const Ye=te(co,[["render",bo]]),mo={},ho={width:"1em",height:"1em",viewBox:"0 0 16 16"},_o=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M5.75 12.25L10.25 8l-4.5-4.25"},null,-1),vo=[_o];function go(t,e){return u(),p("svg",ho,vo)}const Pe=te(mo,[["render",go]]),yo={},ko={width:"1em",height:"1em",viewBox:"0 0 16 16"},$o=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M1.75 2.75h12.5v10.5H1.75zM2 8h12"},null,-1),Co=[$o];function wo(t,e){return u(),p("svg",ko,Co)}const So=te(yo,[["render",wo]]),Fo={},zo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Lo=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M4.75 5.25h-3m0 3.5c0 2.5 2.798 5.5 6.25 5.5a6.25 6.25 0 1 0 0-12.5c-3.75 0-6.25 3.5-6.25 3.5v-3.5"},null,-1),Io=[Lo];function Po(t,e){return u(),p("svg",zo,Io)}const Eo=te(Fo,[["render",Po]]),To={},Vo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Mo=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M11.25 5.25h3m0 3.5c0 2.5-2.798 5.5-6.25 5.5a6.25 6.25 0 1 1 0-12.5c3.75 0 6.25 3.5 6.25 3.5v-3.5"},null,-1),Bo=[Mo];function Ao(t,e){return u(),p("svg",Vo,Bo)}const No=te(To,[["render",Ao]]),Do={},Ro={width:"32",height:"32",viewBox:"0 0 24 24"},Oo=$("path",{fill:"currentColor",d:"m12 18.275l-4.15 2.5q-.275.175-.575.15q-.3-.025-.525-.2q-.225-.175-.35-.437q-.125-.263-.05-.588l1.1-4.725L3.775 11.8q-.25-.225-.312-.513Q3.4 11 3.5 10.725q.1-.275.3-.45q.2-.175.55-.225l4.85-.425l1.875-4.45q.125-.3.388-.45q.262-.15.537-.15t.538.15q.262.15.387.45l1.875 4.45l4.85.425q.35.05.55.225q.2.175.3.45q.1.275.038.562q-.063.288-.313.513l-3.675 3.175l1.1 4.725q.075.325-.05.588q-.125.262-.35.437q-.225.175-.525.2q-.3.025-.575-.15Z"},null,-1),Ho=[Oo];function Go(t,e){return u(),p("svg",Ro,Ho)}const jo=te(Do,[["render",Go]]),Uo={},xo={width:"1em",height:"1em",viewBox:"0 0 16 16"},qo=$("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[$("circle",{cx:"7.5",cy:"7.5",r:"4.75"}),$("path",{d:"M9.25 7.5h-3.5M7.5 5.75v3.5m3.75 2l3 3"})],-1),Yo=[qo];function Ko(t,e){return u(),p("svg",xo,Yo)}const Zo=te(Uo,[["render",Ko]]),Wo={},Xo={width:"1em",height:"1em",viewBox:"0 0 16 16"},Jo=$("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[$("circle",{cx:"7.5",cy:"7.5",r:"4.75"}),$("path",{d:"M9.25 7.5h-3.5m5.5 3.75l3 3"})],-1),Qo=[Jo];function es(t,e){return u(),p("svg",Xo,Qo)}const ts=te(Wo,[["render",es]]),ns={},os={width:"32",height:"32",viewBox:"0 0 24 24"},ss=$("path",{fill:"currentColor",d:"M2 5.27L3.28 4L20 20.72L18.73 22l-3.08-3.08c-1.15.38-2.37.58-3.65.58c-5 0-9.27-3.11-11-7.5c.69-1.76 1.79-3.31 3.19-4.54L2 5.27M12 9a3 3 0 0 1 3 3a3 3 0 0 1-.17 1L11 9.17A3 3 0 0 1 12 9m0-4.5c5 0 9.27 3.11 11 7.5a11.79 11.79 0 0 1-4 5.19l-1.42-1.43A9.862 9.862 0 0 0 20.82 12A9.821 9.821 0 0 0 12 6.5c-1.09 0-2.16.18-3.16.5L7.3 5.47c1.44-.62 3.03-.97 4.7-.97M3.18 12A9.821 9.821 0 0 0 12 17.5c.69 0 1.37-.07 2-.21L11.72 15A3.064 3.064 0 0 1 9 12.28L5.6 8.87c-.99.85-1.82 1.91-2.42 3.13Z"},null,-1),ls=[ss];function rs(t,e){return u(),p("svg",os,ls)}const as=te(ns,[["render",rs]]),is={},cs={width:"32",height:"32",viewBox:"0 0 24 24"},us=$("path",{fill:"currentColor",d:"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0Z"},null,-1),ds=[us];function fs(t,e){return u(),p("svg",cs,ds)}const ps=te(is,[["render",fs]]),bs={},ms={width:"1em",height:"1em",viewBox:"0 0 16 16"},hs=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M2.75 1.75h10.5v12.5H2.75zm3 6h4.5m-4.5 3h2.5m-2.5-6h4.5"},null,-1),_s=[hs];function vs(t,e){return u(),p("svg",ms,_s)}const gs=te(bs,[["render",vs]]),ys={},ks={width:"1em",height:"1em",viewBox:"0 0 16 16"},$s=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12.75 7.75h-10m5-5v10"},null,-1),Cs=[$s];function ws(t,e){return u(),p("svg",ks,Cs)}const Ss=te(ys,[["render",ws]]),Fs={},zs={width:"32",height:"32",viewBox:"0 0 512 512"},Ls=$("path",{fill:"currentColor",d:"M128 128h256v38H128zm-16 64h288v38H112z"},null,-1),Is=$("path",{fill:"currentColor",d:"M448 64H64L32 256v192h448V256Zm-12 192H320a64 64 0 0 1-128 0H76l22-150h316Z"},null,-1),Ps=[Ls,Is];function Es(t,e){return u(),p("svg",zs,Ps)}const Ts=te(Fs,[["render",Es]]),Vs={},Ms={width:"32",height:"32",viewBox:"0 0 24 24"},Bs=$("path",{fill:"currentColor",d:"M12 20c4.4 0 8-3.6 8-8s-3.6-8-8-8s-8 3.6-8 8s3.6 8 8 8m0-18c5.5 0 10 4.5 10 10s-4.5 10-10 10S2 17.5 2 12S6.5 2 12 2m5 9.5V13h-6V7h1.5v4.5H17Z"},null,-1),As=[Bs];function Ns(t,e){return u(),p("svg",Ms,As)}const Ds=te(Vs,[["render",Ns]]),Rs={},Os={width:"1em",height:"1em",viewBox:"0 0 16 16"},Hs=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12.25 10.25L8 5.75l-4.25 4.5"},null,-1),Gs=[Hs];function js(t,e){return u(),p("svg",Os,Gs)}const Us=te(Rs,[["render",js]]),xs={},qs={width:"1em",height:"1em",viewBox:"0 0 16 16"},Ys=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M3.75 5.75L8 10.25l4.25-4.5"},null,-1),Ks=[Ys];function Zs(t,e){return u(),p("svg",qs,Ks)}const De=te(xs,[["render",Zs]]),Ws={},Xs={width:"1em",height:"1em",viewBox:"0 0 16 16"},Js=$("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[$("circle",{cx:"2.5",cy:"8",r:".75"}),$("circle",{cx:"8",cy:"8",r:".75"}),$("circle",{cx:"13.5",cy:"8",r:".75"})],-1),Qs=[Js];function el(t,e){return u(),p("svg",Xs,Qs)}const vt=te(Ws,[["render",el]]),tl={},nl={width:"1em",height:"1em",viewBox:"0 0 16 16"},ol=$("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M1.75 3.75h12.5v10.5H1.75zm9.5-2v1.5m-6.5-1.5v1.5m-2.5 4h11.5"},null,-1),sl=[ol];function ll(t,e){return u(),p("svg",nl,sl)}const rl=te(tl,[["render",ll]]),al={key:0,class:"f-loading__title"},il=L({name:"FLoading",__name:"loading",props:no,setup(t){const e=t,{styles:n,classes:a}=G(e,"loading"),r=n(["background","color"]),f=a(["fullscreen"],"f-loading");return(i,l)=>i.visible?(u(),p("div",{key:0,class:T(o(f)),style:D(o(r))},[V(o(x),{size:20,class:"f-loading__animation",icon:i.icon},{default:A(()=>[F(i.$slots,"icon",{},()=>[V(o(Lt))])]),_:3},8,["icon"]),i.text?(u(),p("span",al,H(i.text),1)):w("",!0)],6)):w("",!0)}}),cl=()=>{const t=(r,f)=>{const i=c=>f.value[c],l=c=>i(c)||r.getAttribute(`f-loading-${c}`)||"";return{visible:!!f.value,fullscreen:f.modifiers.fullscreen,text:l("text"),color:l("color"),background:l("background")}},e=(r,f)=>{r.originalPosition!=="absolute"&&r.originalPosition!=="fixed"&&(r.style.position="relative");const i=t(r,f),l=rn(il,i),c=l.mount(document.createElement("div"));r.vm=c,r.loadingInstance=l,r.appendChild(c.$el)},n=r=>{r.loadingInstance&&(r.style.position=r.originalPosition,r.removeChild(r.vm.$el),r.loadingInstance.unmount(),r.loadingInstance=null)};return{mounted:(r,f)=>{const i=getComputedStyle(r).position||"static";r.originalPosition=i,f.value&&e(r,f)},updated:(r,f)=>{f.value!==f.oldValue&&(f.value?e(r,f):n(r))}}},ul=(t,e,n)=>{const a=B(0),r=c=>{let s=c.offsetLeft,d=c.offsetParent;for(;d!==null;)s+=d.offsetLeft,d=d.offsetParent;return s},f=()=>{t.value&&(a.value=r(t.value))};ie(()=>{f(),window&&window.addEventListener("resize",f)}),Ge(()=>{window&&window.removeEventListener("resize",f)});const i=B(0);return{offset:i,offsetLeft:a,setPosition:c=>{c<0?c=0:c>100&&(c=100);const d=Math.round(c/e.step)*e.step;i.value=d,n.value=d}}},dl=(t,e)=>{const{run:n}=j(),a=M(()=>{const c=Math.floor(t.total/t.pageSize);return t.total%t.pageSize===0?c:c+1}),r=M(()=>{const c=Number(t.pagerCount),s=Number(t.current),d=(c-1)/2;let m=!1,y=!1;const _=[];if(a.value>c)t.current>c-d&&(m=!0),t.current{if(t.disabled)return;let s;n({next:()=>{const m=t.current===a.value?a.value:t.current+1;e.currentModelValue.value=m,n(t.onNext,m,t.pageSize),n(t.onChange,m,t.pageSize)},prev:()=>{s=t.current===1?1:t.current-1,e.currentModelValue.value=s,n(t.onPrev,s,t.pageSize),n(t.onChange,s,t.pageSize)}}[c])},i=B(!1),l=B(!1);return tt(()=>{const c=Number(t.pagerCount),s=(c-1)/2;i.value=!1,l.value=!1,a.value>c&&(t.current>c-s&&(i.value=!0),t.current{const{run:r}=j(),f=d=>{const m=Math.ceil(t.total/Number(d));t.current>m&&(e.currentModelValue.value=m),e.pageSizeModelValue.value=Number(d)},i=(d,m)=>{t.disabled||(e.currentModelValue.value=d,r(t.onChange,d,t.pageSize,m))},l=B("1");return{jumpCurrent:l,selectChange:f,handelChange:i,handleInput:()=>{t.disabled||(Number(l.value)>n.value.length&&(l.value=String(n.value.length)),e.currentModelValue.value=Number(l.value))},handelClick:d=>{if(t.disabled)return;const m=d.target;if(m.className.includes(ge)){let y=Number(m.textContent);const _=t.pagerCount,b=t.current,v=_-2;m.className.includes(Nt)&&(y=b-v),m.className.includes(Dt)&&(y=b+v),Number.isNaN(y)||(y<1&&(y=1),y>a.value&&(y=a.value)),y!==b&&(e.currentModelValue.value=y,r(t.onChange,y,t.pageSize,d))}}}},gt=t=>nt?window.requestAnimationFrame(t):-1,pl=t=>{nt&&window.cancelAnimationFrame(t)},Re=1e3,Qe=60*Re,et=60*Qe,yt=24*et,bl=t=>{const e=Math.floor(t/yt),n=Math.floor(t%yt/et),a=Math.floor(t%et/Qe),r=Math.floor(t%Qe/Re),f=Math.floor(t%Re);return{total:t,days:e,hours:n,minutes:a,seconds:r,milliseconds:f}},ml=(t,e,n=Re)=>Math.floor(t/n)===Math.floor(e/n),hl=t=>{let e,n,a,r;const f=B(t.time),i=M(()=>bl(f.value)),l=()=>Math.max(n-performance.now(),0),c=v=>{var C;f.value=v,v===0&&(y(),(C=t.onFinish)==null||C.call(t))},s=()=>{nt&&(t.millisecond?_():b())},d=()=>{a||(n=performance.now()+f.value,a=!0,s())},m=(v=t.time)=>{y(),f.value=v},y=()=>{a=!1,pl(e)},_=()=>{e=gt(()=>{a&&(c(l()),f.value>0&&_())})},b=()=>{e=gt(()=>{if(a){const v=l();(!ml(v,f.value,t.interval)||v===0)&&c(v),f.value>0&&b()}})};return $t(y),an(()=>{r&&(a=!0,r=!1,s())}),cn(()=>{a&&(y(),r=!0)}),{start:d,pause:y,reset:m,current:i}},_l=(t,e)=>{const{run:n}=j(),a=ne({x:"",y:""}),r=M(()=>{const{spacing:v,enterDuration:C,leaveDuration:k}=t;return{"--trigger-content-x":a.x,"--trigger-content-y":a.y,"--trigger-spacing-size":xe(v),"--trigger-enter-duration":C&&C+"s","--trigger-leave-duration":k&&k+"s"}}),f=()=>{const v=e.value;if(!v)return;const{left:C,top:k,height:I}=v.getBoundingClientRect(),S=C+window.scrollX,R=k+window.scrollY+I;a.x=S+"px",a.y=R+"px"},i=B(!1);let l=!1;const c=v=>{if(!t.disabled){if(i.value){l=!0;return}f(),i.value=!0,l=!0,n(t.onOpen,i.value,v),n(t.onChange,i.value,v)}},s=v=>{if(t.disabled)return;l=!1;const C=()=>{i.value=!1,n(t.onClose,i.value,v),n(t.onChange,i.value,v)};if(t.trigger==="click"){C();return}setTimeout(()=>{l||C()},300)},d=()=>{l=!0},m=()=>{e.value&&(t.trigger==="hover"&&(e.value.addEventListener("mouseenter",c),e.value.addEventListener("mouseleave",s)),t.trigger==="click"&&e.value.addEventListener("click",c))};ie(m),pe(()=>t.trigger,m);const y=v=>{const C=v.target;C.closest("."+Ot)||C.closest("."+Rt)||(s(v),window.removeEventListener("click",y,!0),window.removeEventListener("resize",f))};return{visible:i,styleList:r,close:s,onBeforeEnter:v=>{if(t.trigger==="hover"){const C=v;C.addEventListener("mouseenter",d),C.addEventListener("mouseleave",s)}window.addEventListener("resize",f),window.addEventListener("click",y,!0)},onAfterLeave:v=>{if(t.trigger==="hover"){const C=v;C.removeEventListener("mouseenter",d),C.removeEventListener("mouseleave",s)}}}},vl=t=>{const e=ne({}),n=Le(),a=M(()=>{if(!n.default)return[];const i=Tt(n.default(),"FFormItem");return i.forEach(l=>{l.props&&l.props.name&&l.props.rules&&(e[l.props.name]=!1)}),i}),r=(i,l)=>{const c=s=>{if((s.max||s.min)&&!ee(i)&&!me(i))return ye("f-form-item","Wrong parameter type to be detected"),!1;const d=(i+"").length;return!(s.required&&!i||s.max&&d>s.max||s.min&&d{a.value.forEach(l=>{const c=l.props&&l.props.rules,s=l.props&&l.props.name;if(l.props&&c&&s&&t.model)if(s.includes(".")){const d=Bn(s,".");let m=t.model;if(d&&d.length){for(const _ of d)if(m=m[_],!m){ye("f-form-item",`${s} is not a valid \`name\` parameter`);break}const y=r(m,c);e[s]=y}}else if(s in t.model){const d=t.model[s],m=r(d,c);e[s]=m}else ye("f-form-item",`${s} is not a valid \`name\` parameter`)});const i=Object.values(e);return i.length?i.every(l=>!!l&&!me(l)):!0}}},{run:Ae}=j(),Gt=t=>({handleOpen:f=>{document.body.style.overflow="hidden",Ae(t.onOpen,f)},handleOpenEnd:f=>{Ae(t.onOpenEnd,f)},handleClose:f=>{document.body.style.overflow="",Ae(t.onClose,f)},handleCloseEnd:f=>{Ae(t.onCloseEnd,f)}}),gl=t=>{const{run:e}=j(),n=M(()=>ee(t.animationTime)?`${t.animationTime}s all ease-in-out`:"0.747s all ease-in-out");return{onBeforeEnter:s=>{const d=s;d.style.transition=n.value,t.widthAnimation&&(d.style.width="0"),t.heightAnimation&&(d.style.height="0"),e(t.onOpen,s)},onEnter:s=>{const d=s;if(d.style.overflow="hidden",t.heightAnimation?d.style.height=d.scrollHeight+"px":d.style.height="auto",t.widthAnimation){d.style.width="auto";const m=d.getBoundingClientRect().width;d.style.width="0",d.offsetWidth,d.style.width=m+"px"}else d.style.width="auto"},onAfterEnter:s=>{const d=s;d.style.transition="",d.style.height="",d.style.width="",e(t.onOpenEnd,s)},onBeforeLeave:s=>{const d=s;if(d.style.transition=n.value,t.heightAnimation&&(d.style.height=d.scrollHeight+"px"),t.widthAnimation){const m=d.getBoundingClientRect().width;d.style.width=m+"px"}e(t.onClose,s)},onLeave:s=>{const d=s;d.style.overflow="hidden",t.heightAnimation&&(d.style.height="0"),t.widthAnimation&&(d.style.width="0")},onAfterLeave:s=>{const d=s;d.style.transition="",d.style.height="",d.style.width="",e(t.onCloseEnd,s)}}},yl=t=>M(()=>{const e=document.createElement("canvas"),n=window.devicePixelRatio||1,r=t.fontSize*n+"px serif",f=e.getContext("2d");if(f){const{width:i}=f.measureText(t.content),l=Math.max(100,i)*n+t.gap;return e.width=l,e.height=l,f.translate(e.width/2,e.height/2),f.rotate(Math.PI/190*-45),f.fillStyle=t.fontColor,f.font=r,f.textAlign="center",f.textBaseline="middle",f.fillText(t.content,0,0),{base64:e.toDataURL(),size:l/n}}return{base64:"",size:0}}),kl={type:h(void 0,t=>ke.includes(t)),fontSize:z(),titleSize:z(),bold:g(),center:g(),close:g(),simple:g(),title:h(),round:g(),background:h(),color:h(),titleColor:h(),fixed:g(),closeIcon:Z(),beforeIcon:Z(),alertList:ve([]),duration:O(),onClose:P()},$l={class:"f-alert__content"},Cl={key:0,class:"f-alert__title"},wl={key:1,class:"f-alert__sub-title"},Sl=L({name:"FAlert",__name:"alert",props:kl,setup(t){const e=t,{getProp:n}=he(e),{run:a}=j(),{styles:r,classes:f}=G(n(["type"]),"alert"),i=B(!0),l=B(),c=f(["type","bold","simple","center","round","fixed"],"f-alert"),s=r(["fontSize","color","background","titleSize","titleColor"]),d=m=>{i.value=!1,a(e.onClose,m)};return ie(()=>{e.alertList&&e.alertList.length&&l.value&&Zn(l.value)(ee(e.duration)?e.duration:2e3)}),(m,y)=>(u(),N(ce,{name:"f-alert"},{default:A(()=>[i.value?(u(),p("div",{key:0,role:"alert",class:T(o(c)),style:D(o(s))},[m.$slots.beforeIcon||m.beforeIcon?(u(),N(o(x),{key:0,icon:m.beforeIcon},{default:A(()=>[F(m.$slots,"beforeIcon")]),_:3},8,["icon"])):w("",!0),$("div",$l,[m.$slots.title||m.title?(u(),p("div",Cl,[F(m.$slots,"title",{},()=>[X(H(m.title),1)])])):w("",!0),m.$slots.default?(u(),p("div",wl,[F(m.$slots,"default")])):w("",!0),m.alertList&&m.alertList.length?(u(),p("div",{key:2,ref_key:"alertListEl",ref:l,class:"f-alert__list"},[(u(!0),p(U,null,K(m.alertList,(_,b)=>(u(),p("div",{key:b,class:"f-alert__list-item"},H(_),1))),128))],512)):w("",!0)]),m.close?(u(),N(o($e),{key:1,round:"",color:m.type==="default"?"#333":"#fff",size:16,icon:m.closeIcon,"on-click":d},{default:A(()=>[F(m.$slots,"closeIcon")]),_:3},8,["color","icon"])):w("",!0)],6)):w("",!0)]),_:3}))}}),Fl=E(Sl),zl={width:z(),padding:z(),background:h()},Ll=L({name:"FAside",__name:"aside",props:zl,setup(t){const e=t,{styles:n}=G(e,"aside"),a=n(["width","padding","background"]);return(r,f)=>(u(),p("aside",{class:"f-aside",style:D(o(a))},[F(r.$slots,"default")],4))}}),Il=E(Ll),Pl={src:h(),errSrc:h(),icon:Z(),alt:h(),round:g(),lazy:g(),fit:h(void 0,t=>ot.includes(t)),size:{type:[String,Number],default:()=>"middle",validator:t=>me(t)?ae.includes(t):ee(t)?t>=1:!1},background:h(),fontSize:z(),fontColor:h(),text:h(),rootMargin:z("100px"),onLoad:P(),onError:P()},El={positionSize:z(),round:g(!0),size:{type:[String,Number],default:()=>"middle",validator:t=>me(t)?ae.includes(t):ee(t)?t>=1:!1},lazy:g(),fit:h(void 0,t=>ot.includes(t))},jt=Symbol("avatar-group-props-key"),Tl={key:1,class:"f-avatar__text"},Vl=["alt"],Ml={class:"f-avatar__error-text"},Bl=L({name:"FAvatar",__name:"avatar",props:Pl,setup(t){const e=t,n=Le(),a=B(),r=le(jt,void 0),{isSuccess:f,isShowNode:i}=Mt(a,e,()=>!n.icon&&!e.icon&&!e.text&&a.value),l=ne({..._e(e),..._e(ne(r||{}))}),{styles:c,classes:s}=G(l,"avatar"),d=s(["round","fit",{key:"size",callback:()=>me(l.size)}],"f-avatar"),m=c(["background","fontColor","fontSize","zIndex",{key:"size",callback:()=>ee(l.size)}],"zIndex");return(y,_)=>o(f)?(u(),p("div",{key:0,role:"img",class:T(o(d)),style:D(o(m))},[y.$slots.icon||y.icon?(u(),N(o(x),{key:0,size:y.fontSize||15,color:y.fontColor,icon:y.icon},{default:A(()=>[F(y.$slots,"icon")]),_:3},8,["size","color","icon"])):y.text?(u(),p("span",Tl,H(y.text),1)):(u(),p("img",{key:2,ref_key:"avatarRef",ref:a,class:"f-avatar__img",src:"",style:D(o(i)?"":"visibility: hidden"),alt:y.alt},null,12,Vl))],6)):(u(),p("div",{key:1,class:"f-avatar__error",style:D(o(m))},[F(y.$slots,"error",{},()=>[$("span",Ml,H(y.alt||"加载失败"),1)])],4))}}),Al=E(Bl),Nl={round:g(),behavior:h("smooth",t=>["smooth","auto"].includes(t)),visibleHeight:O(200),right:z(),bottom:z(),zIndex:O(),top:O(0),listenEl:h(),background:h(),color:h()},Dl=L({name:"FBackTop",__name:"back-top",props:Nl,setup(t){const e=t,{styles:n,classes:a}=G(e,"back-top"),r=B(!1),f=d=>zt(()=>{const m=(d||document.documentElement).scrollTop,y=ee(e.visibleHeight)?e.visibleHeight:200;r.value=m>y},200),i=f(),l=()=>{const{top:d,behavior:m,listenEl:y}=_e(e);if(me(e.listenEl)){const _=document.querySelector(y.value);if(!_){Ve("f-back-top","`listen-el` is not a element");return}_&&_.scrollTo({top:d.value,behavior:m.value});return}else Ve("f-back-top","`listen-el` attributes is not a string");window&&window.scrollTo({top:d.value,behavior:m.value})};ie(()=>{if(e.listenEl){if(!me(e.listenEl)){Ve("f-back-top","`listen-el` attributes is not a string"),document.addEventListener("scroll",f());return}const d=document.querySelector(e.listenEl);if(!d){Ve("f-back-top","`listen-el` is not a element");return}d&&d.addEventListener("scroll",f(d))}else document.addEventListener("scroll",i)}),Ge(()=>{document.removeEventListener("scroll",i)});const c=n(["right","bottom","background","color","zIndex"],"zIndex"),s=a(["round"],"f-back-top");return(d,m)=>(u(),N(ce,{name:"f-back-top"},{default:A(()=>[re($("div",{class:T(o(s)),style:D(o(c)),onClick:de(l,["stop"])},[F(d.$slots,"default")],6),[[be,r.value]])]),_:3}))}}),Rl=E(Dl),Ol={value:z(),max:O(99),dot:g(),show:g(!0),type:h("danger",t=>ke.includes(t)),background:h(),color:h()},Hl={key:0,class:"f-badge__content"},Gl=L({name:"FBadge",__name:"badge",props:Ol,setup(t){const e=t,{classes:n,styles:a}=G(e,"badge"),r=n(["type","dot"],"f-badge"),f=a(["background","color"]),i=M(()=>{const{dot:c,max:s,value:d}=e;return c?"":ee(s)&&ee(d)&&d>s?s+"+":d}),l=M(()=>{const{value:c,show:s}=e;return!ee(c)&&s?!0:s&&ee(c)&&c>0});return(c,s)=>(u(),p("div",{class:T(o(r)),style:D(o(f))},[F(c.$slots,"default"),V(ce,{name:"f-badge"},{default:A(()=>[l.value?(u(),p("sup",Hl,H(i.value),1)):w("",!0)]),_:1})],6))}}),jl=E(Gl),Ul={separator:Z(),fontColor:h(),iconColor:h(),fontSize:z()},Ut=Symbol("breadcrumb-props-key"),xl={key:0,class:"f-breadcrumb"},ql=L({name:"FBreadcrumb",__name:"breadcrumb",props:Ul,setup(t){return ue(Ut,t),(n,a)=>n.$slots.default?(u(),p("div",xl,[F(n.$slots,"default")])):w("",!0)}}),Yl=E(ql),Kl={fontColor:h(),iconColor:h(),separator:Z(),to:{type:[String,Object],default:()=>null}},Zl={class:"f-breadcrumb-item__text"},Wl=L({name:"FBreadcrumbItem",__name:"breadcrumb-item",props:Kl,setup(t){const e=t,n=le(Ut,null),{styles:a}=G(ne({iconColor:e.iconColor||n&&n.iconColor,fontColor:e.fontColor||n&&n.fontColor,fontSize:n&&n.fontSize}),"breadcrumb-item"),r=je(),f=M(()=>e.separator?e.separator:n&&n.separator?n.separator:Pe),i=a(["fontColor","iconColor","fontSize"]),l=()=>{const c=r.appContext.config.globalProperties.$router;if(c&&e.to)try{c.push(e.to)}catch(s){console.warn(s)}};return(c,s)=>(u(),p("div",{class:"f-breadcrumb-item",style:D(o(i)),onClick:l},[$("span",Zl,[F(c.$slots,"default")]),V(o(x),{icon:f.value,size:16},null,8,["icon"])],4))}}),Xl=E(Wl),Jl=L({name:"FButtonGroup",__name:"button-group",props:On,setup(t){const e=t,{classes:n}=G(e,"button-group"),a=le(It,null),r=M(()=>e.size||a&&a.size||"middle");ue(Hn,r.value);const f=n(["direction","size"],"f-button-group");return(i,l)=>(u(),p("div",{role:"group",class:T(o(f))},[F(i.$slots,"default")],2))}}),Ql=E(Jl),er={date:{type:Date,default:()=>new Date,required:!0},lunar:g(),showHeader:g(!0),border:g(),borderColor:h(),dayCellHeight:z(),weekCellHeight:z(),onChange:P(),onChangeDate:P(),onChangeMonth:P()},tr={value:z(),label:z(),disabled:g()},nr={spacing:z(),disabled:g(),trigger:h("hover",t=>["hover","click"].includes(t)),width:{type:[Number,String],default:()=>null},arrow:g(),enterDuration:O(),leaveDuration:O(),onChange:P(),onOpen:P(),onClose:P()},rt=Symbol("trigger-close-key"),or={modelValue:{type:[String,Number,Boolean],default:()=>null,required:!0},width:{type:[Number,String],default:()=>190},name:h("f-select"),size:h("middle",t=>ae.includes(t)),placeholder:h(),clear:g(),filter:g(),disabled:g(),onChange:P(),onBeforeChange:P()},xt=Symbol("f-select-props-key"),sr=L({name:"FOption",__name:"option",props:tr,setup(t){const e=t,n=Le(),{run:a}=j(),r=le(xt,null),f=le(rt,null),i=M(()=>{if(!n.default)return"";const v=n.default()[0].children;return me(v)?v:(ye("f-option","slot content is not a string"),"")}),l=M(()=>r?r.filter&&r.isFiltering&&s?s.toString().includes(r.inputValue):!0:!1),c=(...v)=>{if(!v||!v.length)return"";const C=v.find(k=>k==null||Number.isNaN(k)?!1:fe(k)||Ie(k)?Object.keys(k).length>0:k===0?!0:!!k);return C!==void 0?C:v[v.length-1]},s=c(i.value,e.label,e.value),d=c(e.value,e.label,i.value),m=M(()=>r?d===r.modelValue:!1),y=async v=>{if(!(!r||e.disabled)){if(r.onBeforeChange&&!await r.onBeforeChange(d,s)){f&&a(f.close);return}a(r.setValue,d,s,v),f&&a(f.close)}},_=()=>{r&&d===r.modelValue&&r&&a(r.setValue,d,s)},b=()=>{r&&pe(()=>r.modelValue,_,{once:!0})};return _(),b(),(v,C)=>v.$slots.default||v.label||v.value?re((u(),p("div",{key:0,class:T(["f-option",{"f-option__disabled":v.disabled,"f-option__active":m.value}]),onClick:y},[v.$slots.default?F(v.$slots,"default",{key:0}):(u(),p(U,{key:1},[X(H(v.label||v.value),1)],64))],2)),[[be,l.value]]):w("",!0)}}),Oe=E(sr),lr={modelValue:z(),type:h("text",t=>["text","password","number"].includes(t)),size:h(void 0,t=>ae.includes(t)),disabled:g(),max:O(),min:O(),maxLength:O(),fontSize:z(),autofocus:g(),name:h("f-input"),placeholder:h(),placeholderColor:h(),clear:g(),width:z(),height:z(),search:g(),textColor:h(),readonly:g(),showPassword:g(),enterSearch:g(),icon:Z(),afterIcon:Z(),autocomplete:h("off"),onSearch:P(),onChange:P(),onInput:P(),onBlur:P(),onFocus:P(),onEnter:P()},rr={modelValue:{...g(),require:!0},size:z(40),type:h(void 0,t=>["sound","swap"].includes(t)),iconOn:Z(),iconOff:Z(),onChange:P()},ar=L({name:"FSwap",__name:"swap",props:Q(rr,{modelValue:{type:Boolean,default:!1,type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{classes:r}=G(e,"swap"),f=l=>{n.value=!n.value,a(e.onChange,!e.modelValue,l)},i=r(["type","modelValue"],"f-swap");return(l,c)=>(u(),p("div",{role:"switch",class:T(o(i)),onClick:f},[V(o(x),{icon:n.value?l.iconOn:l.iconOff,size:l.size},null,8,["icon","size"])],2))}}),qt=E(ar),ir={class:"f-input__wrapper"},cr=["type","max","min","disabled","readonly","autofocus","name","autocomplete","placeholder","maxlength"],ur=L({name:"FInput",__name:"input",props:Q(lr,{modelValue:{default:"",type:[String,Number]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{getLang:r,getProp:f}=he(e),{styles:i,classes:l}=G(f(["size"]),"input"),{handleInput:c,handleClear:s,handleChange:d}=Vt(e,n),m=B(!1),y=B(e.type);tt(()=>{y.value=e.type});const _=M(()=>r("input").value.search),b=S=>{a(e.onSearch,n.value,S)},v=S=>{const{search:R,enterSearch:q,onEnter:W}=_e(e);R.value&&q.value&&b(S),a(W.value,n.value,S)},C=()=>{if(m.value){y.value="text",m.value=!0;return}y.value="password",m.value=!1},k=i(["placeholderColor","textColor","width","height","fontSize"]),I=l(["size","disabled","search"],"f-input");return(S,R)=>(u(),p("div",{role:"input",class:T(o(I)),style:D(o(k))},[$("div",ir,[F(S.$slots,"before"),S.icon?(u(),N(o(x),{key:0,class:"f-input__icon",icon:S.icon,size:13},null,8,["icon"])):w("",!0),re($("input",{"onUpdate:modelValue":R[0]||(R[0]=q=>n.value=q),class:"f-input__input",type:y.value,max:S.max,min:S.min,disabled:S.disabled,readonly:S.readonly,autofocus:S.autofocus,name:S.name,autocomplete:S.autocomplete,placeholder:S.placeholder,maxlength:S.maxLength,onInput:R[1]||(R[1]=(...q)=>o(c)&&o(c)(...q)),onChange:R[2]||(R[2]=(...q)=>o(d)&&o(d)(...q)),onKeyup:dn(v,["enter"]),onBlur:R[3]||(R[3]=(...q)=>S.onBlur&&S.onBlur(...q)),onFocus:R[4]||(R[4]=(...q)=>S.onFocus&&S.onFocus(...q))},null,40,cr),[[un,n.value]]),S.clear?(u(),N(o(x),{key:1,class:"f-input__clear-btn",icon:o(st),size:14,"on-click":o(s)},null,8,["icon","on-click"])):w("",!0),S.afterIcon?(u(),N(o(x),{key:2,icon:S.afterIcon,size:14},null,8,["icon"])):w("",!0),S.showPassword?(u(),N(o(qt),{key:3,modelValue:m.value,"onUpdate:modelValue":R[5]||(R[5]=q=>m.value=q),class:"f-input__show-password",type:"swap","icon-on":o(ps),"icon-off":o(as),size:14,"on-change":C},null,8,["modelValue","icon-on","icon-off"])):w("",!0),F(S.$slots,"after")]),S.search?(u(),p("div",{key:0,class:"f-input__search",onClick:b},[F(S.$slots,"searchBtn",{},()=>[V(o(se),{type:"primary",size:S.size},{default:A(()=>[X(H(_.value),1)]),_:1},8,["size"])])])):w("",!0)],6))}}),Ee=E(ur),dr={spacing:z(),disabled:g(),width:{type:[Number,String],default:()=>null},trigger:h("hover",t=>["hover","click"].includes(t)),arrow:g(),enterDuration:O(),leaveDuration:O(),onChange:P(),onOpen:P(),onClose:P()},fr={class:"f-trigger__content"},pr=L({name:"FTrigger",__name:"trigger",props:nr,setup(t,{expose:e}){const n=t,a=B(),{classes:r,styles:f}=G(n,"trigger"),{visible:i,styleList:l,close:c,onBeforeEnter:s,onAfterLeave:d}=_l(n,a),m=r(["arrow"],Ot),y=f(["width"]);return ue(rt,{close:c}),e({close:c}),(_,b)=>(u(),p("div",{class:T(o(Rt))},[$("div",{ref_key:"triggerRef",ref:a,class:"f-trigger__trigger"},[F(_.$slots,"default")],512),(u(),N(Ue,{to:"body"},[V(ce,{name:"f-trigger",onBeforeEnter:o(s),onAfterLeave:o(d)},{default:A(()=>[re($("div",{class:T(o(m)),style:D([o(l),o(y)])},[$("div",fr,[F(_.$slots,"content")])],6),[[be,o(i)]])]),_:3},8,["onBeforeEnter","onAfterLeave"])]))],2))}}),Ke=E(pr),br={class:"f-dropdown"},mr=L({name:"FDropdown",__name:"dropdown",props:dr,setup(t){return(e,n)=>(u(),p("div",br,[V(o(Ke),{trigger:e.trigger,disabled:e.disabled,spacing:e.spacing,arrow:e.arrow,width:e.width,"enter-duration":e.enterDuration,"leave-duration":e.leaveDuration,"on-change":e.onChange,"on-open":e.onOpen,"on-close":e.onClose},{content:A(()=>[F(e.$slots,"content")]),default:A(()=>[F(e.$slots,"default")]),_:3},8,["trigger","disabled","spacing","arrow","width","enter-duration","leave-duration","on-change","on-open","on-close"])]))}}),at=E(mr),hr={content:h(),contentSize:z(),contentColor:h(),imageSrc:h(),imageSize:z(),background:h(),iconSize:z(30)},_r={src:h(),alt:h(),draggable:g(!0),lazy:g(),rootMargin:z("100px"),width:z(),height:z(),block:g(),fit:h(void 0,t=>ot.includes(t)),select:g(),referrerPolicy:h(),round:z(),errSrc:h(),title:h(),onLoad:P(),onError:P()},vr=["referrer-policy","draggable","alt","title"],gr={key:1,class:"f-image__error"},yr={class:"f-image__error-text"},kr=L({name:"FImage",__name:"image",props:_r,setup(t){const e=t,n=B(),{classes:a,styles:r}=G(e,"image"),{isSuccess:f,isShowNode:i}=Mt(n,e),l=a(["fit","select","block"],"f-image"),c=r(["width","height","round"]);return(s,d)=>o(f)?(u(),p("div",{key:0,role:"img",class:T(o(l)),style:D(o(c))},[$("img",{ref_key:"imageEl",ref:n,class:"f-image__img",src:"",style:D(o(i)?"":"visibility: hidden"),"referrer-policy":s.referrerPolicy,draggable:s.draggable,alt:s.alt,title:s.title},null,12,vr)],6)):(u(),p("div",gr,[F(s.$slots,"error",{},()=>[$("div",yr,H(s.alt||"加载失败"),1)])]))}}),Yt=E(kr),$r={class:"f-empty__wrapper"},Cr={class:"f-empty__content"},wr={key:0,class:"f-empty__footer"},Sr=L({name:"FEmpty",__name:"empty",props:hr,setup(t){const e=t,{styles:n}=G(e,"empty"),{getLang:a}=he(),r=M(()=>e.content||a("empty").value.content),f=n(["contentColor","contentSize","background"]);return(i,l)=>(u(),p("div",{class:"f-empty",style:D(o(f))},[$("div",$r,[i.$slots.default?F(i.$slots,"default",{key:0}):(u(),p(U,{key:1},[i.imageSrc?(u(),N(o(Yt),{key:0,src:i.imageSrc,width:i.imageSize},null,8,["src","width"])):(u(),N(o(x),{key:1,icon:o(Ts),size:i.iconSize},null,8,["icon","size"]))],64))]),$("span",Cr,H(r.value),1),i.$slots.footer?(u(),p("div",wr,[F(i.$slots,"footer")])):w("",!0)],4))}}),it=E(Sr),Fr=L({name:"FSelect",__name:"select",props:Q(or,{modelValue:{default:"",type:[String,Number]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{styles:r}=G(e,"select"),f=r(["width"]),i=B(!1),l=B(),c=B(!0),s=B(""),d=B(!1),m=async(C,k,I)=>{await Ne(),k!==e.modelValue&&I&&a(e.onChange,C,k,I),n.value=C,s.value=k==null?void 0:k.toString(),d.value=!1},y=async()=>{var k;await Ne();const C=(k=l.value)==null?void 0:k.querySelector(".f-option.f-option__active");C&&C instanceof Node&&C.scrollIntoView({block:"end"})},_=()=>{i.value=!1,c.value||(s.value="")},b=()=>{i.value=!0},v=()=>{d.value=!0};return ue(xt,ne({setValue:m,inputValue:s,isFiltering:d,onBeforeChange:e.onBeforeChange,modelValue:Fe(e,"modelValue"),filter:Fe(e,"filter")})),(C,k)=>(u(),p("div",{class:"f-select",style:D(o(f))},[V(o(at),{trigger:"click",disabled:C.disabled,width:C.width,"on-open":y},{content:A(()=>[$("div",{ref_key:"selectContentRef",ref:l,class:"f-select__content"},[c.value?F(C.$slots,"default",{key:0}):(u(),N(o(it),{key:1,content:"暂无数据"}))],512)]),default:A(()=>[V(o(Ee),{modelValue:s.value,"onUpdate:modelValue":k[0]||(k[0]=I=>s.value=I),readonly:!C.filter,name:C.name,size:C.size,disabled:C.disabled,width:C.width,placeholder:C.placeholder,clear:C.clear,"on-focus":b,"on-blur":_,"on-input":C.filter?v:void 0},{after:A(()=>[V(o(x),{color:"#bababa",class:T(["f-select__arrow",{"f-select__arrow-active":i.value}]),size:13,icon:o(De)},null,8,["class","icon"])]),_:1},8,["modelValue","readonly","name","size","disabled","width","placeholder","clear","on-input"])]),_:3},8,["disabled","width"])],4))}}),He=E(Fr),zr={key:0,class:"f-calendar__header"},Lr={class:"f-calendar__option"},Ir={class:"f-calendar__week"},Pr={class:"f-calendar__day"},Er=["onClick"],Tr={class:"f-calendar__solar"},Vr={key:0,class:"f-calendar__lunar"},Mr=L({name:"FCalendar",__name:"calendar",props:er,setup(t){const e=t,{getLang:n}=he(),{run:a}=j(),{styles:r,classes:f}=G(e,"calendar"),{generateCalendar:i}=Kn(e),l=M(()=>An(e.date)?e.date:new Date),c=ne({year:l.value.getFullYear(),month:l.value.getMonth()+1,date:l.value.getDate()}),s=M(()=>i(c.year,c.month)),d=M(()=>n("calendar").value.weekList),_={prev:()=>{c.month===1?(c.year-=1,c.month=12):c.month-=1},next:()=>{c.month===12?(c.year+=1,c.month=1):c.month+=1},current:()=>{c.year=e.date.getFullYear(),c.month=e.date.getMonth()+1,c.date=e.date.getDate()}},b=q=>{_[q]&&_[q]()},v=q=>{const{target:W,day:Y}=q;W==="prev"&&_[W](),W==="next"&&_[W](),W==="current"&&(c.date=Y,a(e.onChangeDate,c.year,c.month,c.date))},C=pe(()=>c.month,q=>{a(e.onChangeMonth,c.year,q,c.date)}),k=pe(()=>c,()=>{a(e.onChange,c.year,c.month,c.date)},{deep:!0}),I=(q,W)=>W===c.date&&q===c.month?"f-calendar__day-today":"";Ge(()=>{k(),C()});const S=r(["borderColor","dayCellHeight","weekCellHeight"]),R=f(["border"],"f-calendar");return(q,W)=>(u(),p("div",{class:T(o(R)),style:D(o(S))},[q.showHeader?(u(),p("header",zr,[V(o(x),{icon:o(Ye),onClick:W[0]||(W[0]=Y=>b("prev"))},null,8,["icon"]),$("div",Lr,[V(o(He),{modelValue:c.year,"onUpdate:modelValue":W[1]||(W[1]=Y=>c.year=Y),width:116},{default:A(()=>[(u(),p(U,null,K(200,Y=>V(o(Oe),{key:Y,value:1900+Y},{default:A(()=>[X(H(1900+Y),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"]),V(o(He),{modelValue:c.month,"onUpdate:modelValue":W[2]||(W[2]=Y=>c.month=Y),width:116},{default:A(()=>[(u(),p(U,null,K(12,Y=>V(o(Oe),{key:Y,value:Y},{default:A(()=>[X(H(Y),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"]),V(o(se),{type:"default",onClick:W[3]||(W[3]=Y=>b("current"))},{default:A(()=>[X("今天")]),_:1})]),V(o(x),{icon:o(Pe),onClick:W[4]||(W[4]=Y=>b("next"))},null,8,["icon"])])):w("",!0),$("div",Ir,[(u(!0),p(U,null,K(d.value,(Y,Ce)=>(u(),p("div",{key:Ce,class:"f-calendar__week-item"},H(Y),1))),128))]),$("div",Pr,[(u(!0),p(U,null,K(s.value,(Y,Ce)=>(u(),p("div",{key:Ce,class:T(["f-calendar__day-item",{"f-calendar__day-current":Y.target==="current",[I(Y.month,Y.day)]:Y.target==="current"}]),onClick:dt=>v(Y)},[$("span",Tr,H(Y.day),1),q.lunar?(u(),p("span",Vr,H(Y.lunarFestival||Y.festival||Y.term||Y.lunar),1)):w("",!0)],10,Er))),128))])],6))}}),Kt=E(Mr),Br={title:h(),round:g(),padding:z(),shadow:h(void 0,t=>["hover","always"].includes(t)),borderColor:h(),background:h(),titleColor:h(),titleBold:g(),close:g(),onClose:P()},Ar={key:0,role:"heading",class:"f-card__header"},Nr={role:"none",class:"f-card__body"},Dr=L({name:"FCard",__name:"card",props:Br,setup(t){const e=t,n=B(!0),{run:a}=j(),{classes:r,styles:f}=G(e,"card"),i=r(["round","shadow"],"f-card"),l=f(["padding","borderColor","background","titleColor"]),c=()=>{n.value=!1,a(e.onClose,n.value)};return(s,d)=>(u(),N(ce,{name:"f-card"},{default:A(()=>[n.value?(u(),p("div",{key:0,class:T(o(i)),style:D(o(l))},[s.$slots.header||s.title?(u(),p("header",Ar,[$("span",{class:T(["f-card__title",{"f-card__title-bold":s.titleBold}])},[F(s.$slots,"header",{},()=>[X(H(s.title),1)])],2),s.close?(u(),N(o($e),{key:0,"on-click":c})):w("",!0)])):w("",!0),$("main",Nr,[F(s.$slots,"default")])],6)):w("",!0)]),_:3}))}}),Rr=E(Dr),Or={modelValue:{type:Boolean,default:()=>!1},label:{type:[String,Number,Boolean],default:()=>null},disabled:g(),border:g(),showLabel:g(!0),onChange:P()},Hr={modelValue:ve([]),disabled:g(),vertical:g(),label:h(),background:g(),size:h("middle",t=>ae.includes(t)),columnGap:z(),rowGap:z(),onChange:P()},Zt=Symbol("f-checkbox-group-props-key"),Gr=["value","disabled"],jr={key:0,class:"f-checkbox__box"},Ur={class:"f-checkbox__text"},xr=L({name:"FCheckbox",__name:"checkbox",props:Q(Or,{modelValue:{type:[Boolean,String,Array],default:!1,type:[Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),r=M({get:()=>f&&f.modelValue||e.modelValue,set:m=>{if(!f){n.value=m,a(e.onChange,m);return}f.setChange(m)}}),f=le(Zt,null),i=M(()=>{const m=r.value;return fe(m)?m.includes(e.label):lt(m)?m:m===e.label}),l=M(()=>!!(f&&f.disabled)),c=M(()=>e.disabled||l.value),{classes:s}=G(ne({checked:i,disabled:c}),"checkbox"),d=s(["checked","disabled"],"f-checkbox");return(m,y)=>(u(),p("label",{role:"checkbox","aria-checked":"false",tabindex:"0","aria-labelledby":"chk1-label",class:T(o(d))},[re($("input",{"onUpdate:modelValue":y[0]||(y[0]=_=>r.value=_),type:"checkbox",class:"f-checkbox__input",hidden:"",value:m.label,disabled:m.disabled||!!o(f)&&o(f).disabled},null,8,Gr),[[fn,r.value]]),o(f)&&o(f).background?w("",!0):(u(),p("span",jr)),$("span",Ur,[F(m.$slots,"default"),!m.$slots.default&&m.showLabel?(u(),p(U,{key:0},[X(H(m.label),1)],64)):w("",!0)])],2))}}),Se=E(xr),qr=L({name:"FCheckboxGroup",__name:"checkbox-group",props:Q(Hr,{modelValue:{type:[Array,String,Number,Boolean],default:[],type:[Boolean,Array,String,Number]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{classes:r,styles:f}=G(e,"checkbox-group"),i=s=>{n.value=s,a(e.onChange,s)};ue(Zt,ne({..._e(e),setChange:i}));const l=f(["columnGap","rowGap"]),c=r(["background","vertical","size"],"f-checkbox-group");return(s,d)=>(u(),p("div",{role:"group","aria-label":"checkbox-group",class:T(o(c)),style:D(o(l))},[F(s.$slots,"default")],6))}}),Wt=E(qr),Yr={visible:{...g(),required:!0},title:h(),appendToBody:g(),width:z(),fullscreen:g(),showMask:g(!0),maskClose:g(!0),maskOpacity:O(),maskBackground:h(),showHeader:g(!0),maskBlur:g(),showCloseIcon:g(!0),closeIcon:Z(),zIndex:O(),onOpen:P(),onOpenEnd:P(),onClose:P(),onCloseEnd:P()},Kr={key:0,class:"f-dialog__mask"},Zr={class:"f-dialog__container"},Wr={key:0,class:"f-dialog__header"},Xr={class:"f-dialog__header-before"},Jr={class:"f-dialog__header-center"},Qr={class:"f-dialog__header-after"},ea={key:1,class:"f-dialog__body"},ta={key:2,class:"f-dialog__footer"},na=L({name:"FDialog",__name:"dialog",props:Q(Yr,{visible:{type:Boolean,default:!1,type:Boolean},visibleModifiers:{}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{styles:a,classes:r}=G(e,"dialog"),{closeVisible:f,maskClose:i}=Ht(e,n),{handleOpen:l,handleOpenEnd:c,handleClose:s,handleCloseEnd:d}=Gt(e),m=a(["width","zIndex","maskBackground","maskOpacity"],["maskOpacity","zIndex"]),y=r(["fullscreen","maskBlur"],"f-dialog");return(_,b)=>(u(),N(Ue,{to:"body",disabled:!_.appendToBody},[V(ce,{name:"f-dialog__trans",onBeforeEnter:o(l),onAfterEnter:o(c),onBeforeLeave:o(s),onAfterLeave:o(d)},{default:A(()=>[re($("div",{role:"dialog","aria-modal":"true",tabindex:"-1",class:T(o(y)),style:D(o(m))},[_.showMask?(u(),p("div",Kr)):w("",!0),$("div",{class:"f-dialog__wrapper",onClick:b[0]||(b[0]=de((...v)=>o(i)&&o(i)(...v),["self"]))},[V(ce,{name:"f-dialog__container-trans"},{default:A(()=>[re($("div",Zr,[_.showHeader?(u(),p("header",Wr,[$("div",Xr,[F(_.$slots,"headerBefore")]),$("div",Jr,H(_.title),1),$("div",Qr,[F(_.$slots,"headerAfter",{},()=>[_.showCloseIcon?(u(),N(o($e),{key:0,round:"",color:"#3c4043",size:30,icon:_.closeIcon,"on-click":o(f)},{default:A(()=>[F(_.$slots,"closeIcon")]),_:3},8,["icon","on-click"])):w("",!0)])])])):w("",!0),_.$slots.default?(u(),p("section",ea,[F(_.$slots,"default")])):w("",!0),_.$slots.footer?(u(),p("footer",ta,[F(_.$slots,"footer")])):w("",!0)],512),[[be,n.value]])]),_:3})])],6),[[be,n.value]])]),_:3},8,["onBeforeEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])],8,["disabled"]))}}),oa=E(na),sa={position:h("center",t=>["left","center","right"].includes(t)),vertical:g(),color:h(),fontColor:h(),margin:z(),height:z(),background:h(),type:h("solid",t=>["dashed","dotted","double","solid"].includes(t))},la={key:0,class:"f-divider__text"},ra=L({name:"FDivider",__name:"divider",props:sa,setup(t){const e=t,{classes:n,styles:a}=G(e,"divider"),r=n(["vertical","position"],"f-divider"),f=a(["color","margin","background","fontColor","height","type"]);return(i,l)=>(u(),p("div",{role:"separator",class:T(o(r)),style:D(o(f))},[!i.vertical||!i.$slots.default?(u(),p("span",la,[F(i.$slots,"default")])):w("",!0)],6))}}),aa=E(ra),ia={visible:g(),appendToBody:g(),direction:h("right",t=>["left","top","right","bottom"].includes(t)),title:h(),showMask:g(!0),showHeader:g(!0),maskClose:g(!0),maskBlur:g(),maskOpacity:O(),maskBackground:h(),showCloseIcon:g(!0),closeIcon:Z(),zIndex:O(),onOpen:P(),onOpenEnd:P(),onClose:P(),onCloseEnd:P()},ca={key:0,class:"f-drawer__mask"},ua={class:"f-drawer__container"},da={key:0,class:"f-drawer__header"},fa={class:"f-drawer__header-title"},pa={key:1,class:"f-drawer__body"},ba={key:2,class:"f-drawer__footer"},ma=L({name:"FDrawer",__name:"drawer",props:Q(ia,{visible:{type:Boolean,default:!1,type:Boolean},visibleModifiers:{}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{styles:a,classes:r}=G(e,"drawer"),{closeVisible:f,maskClose:i}=Ht(e,n),{handleOpen:l,handleOpenEnd:c,handleClose:s,handleCloseEnd:d}=Gt(e),m=a(["width","zIndex","maskBackground","maskOpacity"],["zIndex","maskOpacity"]),y=r(["fullscreen","maskBlur","direction"],"f-drawer");return(_,b)=>(u(),N(Ue,{to:"body",disabled:!_.appendToBody},[V(ce,{name:"f-drawer__trans",onBeforeEnter:o(l),onAfterEnter:o(c),onBeforeLeave:o(s),onAfterLeave:o(d)},{default:A(()=>[re($("div",{role:"dialog","aria-modal":"true",tabindex:"-1",class:T(o(y)),style:D(o(m))},[_.showMask?(u(),p("div",ca)):w("",!0),$("div",{class:"f-drawer__wrapper",onClick:b[0]||(b[0]=de((...v)=>o(i)&&o(i)(...v),["self"]))},[V(ce,{name:"f-drawer__container-trans"},{default:A(()=>[re($("div",ua,[_.showHeader?(u(),p("header",da,[F(_.$slots,"header",{},()=>[$("span",fa,H(_.title),1),_.showCloseIcon?(u(),N(o($e),{key:0,icon:_.closeIcon,"on-click":o(f)},{default:A(()=>[F(_.$slots,"closeIcon")]),_:3},8,["icon","on-click"])):w("",!0)])])):w("",!0),_.$slots.default?(u(),p("section",pa,[F(_.$slots,"default")])):w("",!0),_.$slots.footer?(u(),p("footer",ba,[F(_.$slots,"footer")])):w("",!0)],512),[[be,n.value]])]),_:3})])],6),[[be,n.value]])]),_:3},8,["onBeforeEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])],8,["disabled"]))}}),ha=E(ma),_a={imageList:ve([]),round:g(),expandIndex:O(0),color:h(),vertical:g(),width:z(),height:z(),onChange:P()},va=["onClick"],ga={key:0,class:"f-expand-card__title"},ya=L({name:"FExpandCard",__name:"expand-card",props:_a,setup(t){const e=t,{classes:n,styles:a}=G(e,"expand-card"),{run:r}=j(),f=B(e.expandIndex),i=(d,m,y)=>{f.value=m,r(e.onChange,d,m,y)},l=M(()=>{const{imageList:d}=e;return fe(d)?d.map(m=>me(m)?{url:m}:Ie(m)&&m.url?m:{url:""}):(ye("f-expand-card","`image-list` is not a array."),[])}),c=n(["round","vertical"],"f-expand-card"),s=a(["width","height","color"]);return(d,m)=>l.value.length?(u(),p("div",{key:0,class:T(o(c)),style:D(o(s))},[(u(!0),p(U,null,K(l.value,(y,_)=>(u(),p("div",{key:_,class:T(["f-expand-card__item",{"f-expand-card__active":_===f.value}]),style:D({backgroundImage:`url(${y.url})`}),onClick:b=>i(b,_,y)},[y.text?(u(),p("div",ga,H(y.text),1)):w("",!0)],14,va))),128))],6)):w("",!0)}}),ka=E(ya),$a={height:z(),padding:z()},Ca=L({name:"FFooter",__name:"footer",props:$a,setup(t){const e=t,{styles:n}=G(e,"footer"),a=n(["height","padding"]);return(r,f)=>(u(),p("footer",{class:"f-footer",style:D(o(a))},[F(r.$slots,"default")],4))}}),wa=E(Ca),Sa={height:z(),padding:z()},Fa=L({name:"FHeader",__name:"header",props:Sa,setup(t){const e=t,{styles:n}=G(e,"header"),a=n(["height","padding"]);return(r,f)=>(u(),p("header",{role:"banner",class:"f-header",style:D(o(a))},[F(r.$slots,"default")],4))}}),za=E(Fa),La={visible:g(),imgList:ve([]),modalClose:g(!0),appendToBody:g(),isCloseBtn:g(!0),showIndex:O(0),zIndex:O(),isOption:g(!0),round:h(),onClose:P()},Ia={round:g(),size:h("middle",t=>ae.includes(t)),background:h(),textColor:h(),fixed:g(),width:z(),height:z(),onClick:P()},Pa=L({name:"FToolbar",__name:"toolbar",props:Ia,setup(t){const e=t,n=Le(),{run:a}=j(),{classes:r,styles:f}=G(e,"toolbar"),i=s=>{if(!n.default)return;const d=s.target;if(d.className===At){const m=d.getAttribute(Bt);a(e.onClick,m,s)}},l=r(["size","round","fixed"],"f-toolbar"),c=f(["textColor","background","width","height"]);return(s,d)=>(u(),p("div",{role:"toolbar",class:T(o(l)),style:D(o(c)),onClick:i},[F(s.$slots,"default")],6))}}),Xt=E(Pa),Ea={color:h(),icon:Z(),iconSize:z(16),index:z(),onClick:P()},Ta=L({name:"FToolbarItem",__name:"toolbar-item",props:Ea,setup(t){const e=t,{run:n}=j(),{styles:a}=G(e,"toolbar-item"),r=l=>{n(e.onClick,l)},f=a(["color"]),i=Bt;return(l,c)=>(u(),p("span",Ct({class:o(At),[o(i)||""]:l.index,style:o(f),onClick:r}),[l.icon?(u(),N(o(x),{key:0,size:l.iconSize,icon:l.icon},null,8,["size","icon"])):w("",!0),F(l.$slots,"default")],16))}}),we=E(Ta),Va=$("div",{class:"f-image-preview__mask"},null,-1),Ma={class:"f-image-preview__wrapper"},Ba=["src"],Aa=L({name:"FImagePreview",__name:"image-preview",props:Q(La,{visible:{type:Boolean,default:!1,type:Boolean},visibleModifiers:{}}),emits:["update:visible"],setup(t){const e=t,n=J(t,"visible"),{run:a}=j(),{scale:r,rotate:f,smaller:i,bigger:l,scrollZoom:c,recovery:s,rotateClockwise:d,rotateCounterClock:m}=Yn(),y=B(e.showIndex>e.imgList.length-1?0:e.showIndex),_=()=>{fe(e.imgList)&&e.imgList.forEach(S=>{const R=new Image;R.src=S})},b={next:()=>{if(y.value{if(y.value>0){y.value--;return}y.value=e.imgList.length-1}},v=S=>{s(),a(b[S])},C={1:i,2:l,3:s,4:d,5:m},k=S=>{S&&a(C[S])},I=S=>{n.value=!1,a(e.onClose,S)};return(S,R)=>(u(),N(Ue,{to:"body",disabled:!S.appendToBody},[V(ce,{name:"f-image-preview__transition",onBeforeEnter:_},{default:A(()=>[re($("div",{class:"f-image-preview",style:D({zIndex:S.zIndex}),onMousewheel:R[0]||(R[0]=(...q)=>o(c)&&o(c)(...q))},[Va,$("div",{class:"f-image-preview__container",onClick:de(I,["self"])},[V(ce,{name:"f-image-preview__wrapper-transition"},{default:A(()=>[re($("div",Ma,[$("img",{class:"f-image-preview__node",draggable:"false",src:S.imgList[y.value],style:D({transform:`scale(${o(r)}) rotate(${o(f)}deg)`,borderRadius:S.round})},null,12,Ba)],512),[[be,n.value]])]),_:1}),S.isOption?(u(),N(o(Xt),{key:0,class:"f-image-preview__option",round:"","on-click":k},{default:A(()=>[V(o(we),{icon:o(ts),index:1},null,8,["icon"]),V(o(we),{icon:o(Zo),index:2},null,8,["icon"]),V(o(we),{icon:o(So),index:3},null,8,["icon"]),V(o(we),{icon:o(No),index:4},null,8,["icon"]),V(o(we),{icon:o(Eo),index:5},null,8,["icon"])]),_:1})):w("",!0),S.imgList.length>1?(u(),p(U,{key:1},[V(o(se),{class:"f-image-preview__next",circle:"","before-icon":o(Pe),"on-click":()=>v("next")},null,8,["before-icon","on-click"]),V(o(se),{class:"f-image-preview__prev",circle:"","before-icon":o(Ye),"on-click":()=>v("prev")},null,8,["before-icon","on-click"])],64)):w("",!0),V(o(se),{class:"f-image-preview__close",circle:"","before-icon":o(st),"on-click":I},null,8,["before-icon"])])],36),[[be,n.value]])]),_:1})],8,["disabled"]))}}),Na=E(Aa),Da={direction:h(void 0,t=>["horizontal","vertical"].includes(t))},Ra=L({name:"FLayout",__name:"layout",props:Da,setup(t){const e=t,n=Le(),a=M(()=>e.direction==="vertical"?!0:e.direction==="horizontal"?!1:n&&n.default?n.default().some(f=>{const i=f.type.name;return i==="FHeader"||i==="FFooter"}):!1);return(r,f)=>(u(),p("section",{class:T(["f-layout",{"f-layout__vertical":a.value}])},[F(r.$slots,"default")],2))}}),Oa=E(Ra),Ha={type:h(void 0,t=>ke.includes(t)),href:h(),size:z(),state:h(void 0,t=>["line","background"].includes(t)),disabled:g(),target:h("_self",t=>Nn.includes(t)),color:h(),hoverColor:h(),noCopy:g(),noLink:g(),beforeIcon:Z(),afterIcon:Z(),onClick:P()},Ga=["href","target"],ja=L({name:"FLink",__name:"link",props:Ha,setup(t){const e=t,{getProp:n}=he(e),{run:a}=j(),{classes:r,styles:f}=G(n(["type"],["primary"]),"link"),i=s=>{if(e.disabled||e.noLink){s.preventDefault();return}a(e.onClick,s)},l=r(["type","state","disabled","noCopy"],"f-link"),c=f(["size","color","hoverColor"]);return(s,d)=>(u(),p("div",{role:"link",class:T(o(l)),style:D(o(c))},[$("a",{class:"f-link__a",href:s.href,target:s.target,onClick:de(i,["stop"])},[s.beforeIcon?(u(),N(o(x),{key:0,icon:s.beforeIcon,size:s.size},null,8,["icon","size"])):w("",!0),F(s.$slots,"default"),s.afterIcon?(u(),N(o(x),{key:1,icon:s.afterIcon,size:s.size},null,8,["icon","size"])):w("",!0)],8,Ga)],6))}}),Ua=E(ja),xa={zebra:g(),center:g(),textColor:h(),borderColor:h(),size:h("middle",t=>ae.includes(t)),maxHeight:z(),zebraColor:h()},Jt=Symbol("list-props-key"),qa={key:0,class:"f-list__header"},Ya={key:1,class:"f-list__footer"},Ka=L({name:"FList",__name:"list",props:xa,setup(t){const e=t;ue(Jt,e);const{classes:n,styles:a}=G(e,"list"),r=a(["borderColor","maxHeight","zebraColor"]),f=n(["zebra","center","size"],"f-list");return(i,l)=>(u(),p("ul",{role:"list",class:T(o(f)),style:D(o(r))},[i.$slots.header?(u(),p("header",qa,[F(i.$slots,"header")])):w("",!0),F(i.$slots,"default"),i.$slots.footer?(u(),p("footer",Ya,[F(i.$slots,"footer")])):w("",!0)],6))}}),Za=E(Ka),Wa={background:h(),color:h()},Xa=L({name:"FListItem",__name:"list-item",props:Wa,setup(t){const e=t,n=le(Jt,null),{styles:a}=G(ne({borderColor:n&&n.borderColor,textColor:e.color||n&&n.textColor,background:e.background}),"list-item"),r=a(["textColor","borderColor","background"]);return(f,i)=>(u(),p("li",{role:"listitem",class:"f-list-item",style:D(o(r))},[F(f.$slots,"default")],4))}}),Ja=E(Xa),Qa={padding:z()},ei=L({name:"FMain",__name:"main",props:Qa,setup(t){const e=t,{styles:n}=G(e,"main"),a=n(["padding"]);return(r,f)=>(u(),p("main",{role:"main",class:"f-main",style:D(o(a))},[F(r.$slots,"default")],4))}}),ti=E(ei),ni={icon:Z(),iconSize:z("16px"),backText:h(),title:h(),titleBold:g(),titleColor:h(),titleCenter:g(),subtitle:h(),onBack:P()},oi={class:"f-page-header"},si={class:"f-page-header__text"},li={key:0,class:"f-page-header__main-subtitle"},ri=L({name:"FPageHeader",__name:"page-header",props:ni,setup(t){const e=t,{run:n}=j(),{getLang:a}=he(),r=M(()=>a("pageHeader").value.backText),f=i=>{n(e.onBack,i)};return(i,l)=>(u(),p("header",oi,[$("div",{class:"f-page-header__left",onClick:f},[V(o(x),{size:i.iconSize},{default:A(()=>[F(i.$slots,"icon",{},()=>[(u(),N(Te(i.icon||o(io))))])]),_:3},8,["size"]),$("div",si,H(r.value),1)]),$("div",{class:T(["f-page-header__main",{"f-page-header__main-center":i.titleCenter}])},[$("div",{style:D({color:i.titleColor}),class:T(["f-page-header__main-title",{"f-page-header__main-title-bold":i.titleBold}])},[F(i.$slots,"title",{},()=>[X(H(i.title),1)])],6),i.subtitle||i.$slots.subtitle?(u(),p("div",li,[F(i.$slots,"subtitle",{},()=>[X(H(i.subtitle),1)])])):w("",!0)],2)]))}}),ai=E(ri),ii={percentage:O(0),state:h("line",t=>["line","circle"].includes(t)),type:h("primary",t=>ke.includes(t)),height:z(),showText:g(!0),diameter:O(400),outsideText:g(),textColor:h(),color:h(),background:h(),stripe:g()},ct=Symbol("progress-props-key"),ci=["width","height","aria-value"],ui=["cx","cy","r"],di=["x","y"],fi=L({name:"FProgressCircle",__name:"index",setup(t){const e=le(ct),{classes:n}=G(e,"progress"),a=n(["type","state"],"f-progress"),r=M(()=>ee(e.diameter)?e.diameter/2:100),f=M(()=>(r.value-mt)*2*Math.PI),i=M(()=>{const c=f.value-f.value*(e.percentage/100);return c<=0?0:c>f.value?f.value:c}),l=M(()=>({"--progress-stroke-dasharray":f.value,"--progress-stroke-dashoffset":i.value}));return(c,s)=>(u(),p("svg",{role:"progressbar",class:T(o(a)),width:o(e).diameter,height:o(e).diameter,style:D(l.value),"aria-value":o(e).percent,"aria-valuemin":0,"aria-valuemax":100},[$("circle",{class:"f-progress__girth",fill:"transparent","stroke-width":"12",stroke:"green",cx:r.value,cy:r.value,r:r.value-o(mt)},null,8,ui),o(e).showText?(u(),p("text",{key:0,"font-size":"24",fill:"grey","text-anchor":"middle","alignment-baseline":"middle",x:r.value,y:r.value},H(o(e).percent)+"% ",9,di)):w("",!0)],14,ci))}}),pi=["aria-value"],bi={class:"f-progress__bar"},mi={class:"f-progress__fill"},hi={key:0,class:"f-progress__percentage"},_i={key:0,class:"f-progress__text"},vi=L({name:"FProgressLine",__name:"index",setup(t){const e=le(ct),{classes:n,styles:a}=G(e,"progress"),r=n(["type","stripe","state"],"f-progress"),f=a(["height","color","textColor","background"]),i=M(()=>({"--progress-width":`${e.percent}%`}));return(l,c)=>(u(),p("div",{role:"progressbar",class:T(o(r)),style:D([o(f),i.value]),"aria-value":o(e).percent,"aria-valuemin":0,"aria-valuemax":100},[$("div",bi,[$("div",mi,[!o(e).outsideText&&o(e).showText?(u(),p("div",hi,H(o(e).percent)+"% ",1)):w("",!0)])]),o(e).outsideText&&o(e).showText?(u(),p("div",_i,H(o(e).percent)+"% ",1)):w("",!0)],14,pi))}}),gi=L({name:"FProgress",__name:"progress",props:ii,setup(t){const e=t,n=M(()=>{const{percentage:a}=e;return ee(a)?e.percentage>=100?100:e.percentage<=0?0:e.percentage:(Ve("f-progress","`percentage` is not a number"),0)});return ue(ct,ne({..._e(e),percent:n})),(a,r)=>a.state==="circle"?(u(),N(o(fi),{key:0})):(u(),N(o(vi),{key:1}))}}),yi=E(gi),ki={modelValue:{type:[String,Number,Boolean],default:()=>null},disabled:g(),name:h("f-radio"),label:{type:[String,Number,Boolean],default:()=>null},onChange:P()},$i={modelValue:{type:[String,Number,Boolean],default:()=>null},disabled:g(),vertical:g(),columnGap:z(),rowGap:z(),background:g(),size:h("middle",t=>ae.includes(t)),onChange:P()},Qt=Symbol("radio-group-props-key"),Ci=["value","disabled","name"],wi={key:0,class:"f-radio__circle"},Si={class:"f-radio__text"},Fi=L({name:"FRadio",__name:"radio",props:Q(ki,{modelValue:{type:[String,Number,Boolean],default:null,type:[String,Number,Boolean]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),r=M({get:()=>f&&f.modelValue||e.modelValue,set:m=>{if(f&&!l.value){a(f.changeEvent,m);return}c.value||(n.value=m,a(e.onChange,m))}}),f=le(Qt,null),i=M(()=>r.value===e.label),l=M(()=>!!(f&&f.disabled)),c=M(()=>e.disabled||l.value),{classes:s}=G(ne({checked:i,disabled:c}),"radio"),d=s(["checked","disabled"],"f-radio");return(m,y)=>{var _;return u(),p("label",{role:"radio","aria-checked":"false",tabindex:"0",class:T(o(d))},[re($("input",{"onUpdate:modelValue":y[0]||(y[0]=b=>r.value=b),hidden:"",type:"radio",value:m.label,disabled:m.disabled,name:m.name},null,8,Ci),[[pn,r.value]]),(_=o(f))!=null&&_.background?w("",!0):(u(),p("span",wi)),$("span",Si,[F(m.$slots,"default",{},()=>[X(H(m.label),1)])])],2)}}}),zi=E(Fi),Li=L({name:"FRadioGroup",__name:"radio-group",props:Q($i,{modelValue:{type:[String,Number,Boolean],default:"",type:[String,Number,Boolean]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{styles:r,classes:f}=G(e,"radio-group"),i=s=>{n.value=s,a(e.onChange,s)},l=f(["vertical","background","size"],"f-radio-group"),c=r(["columnGap","rowGap"]);return ue(Qt,ne({..._e(e),changeEvent:i})),(s,d)=>(u(),p("div",{role:"radiogroup",class:T(o(l)),style:D(o(c))},[F(s.$slots,"default")],6))}}),Ii=E(Li),Pi={modelValue:O(0),max:O(5),effectColor:h("#fcc202"),invalidColor:h("#eef"),readonly:g(),icon:Z(),size:z(25),textShow:g(),textColor:h(),textArr:ve(["极差","失望","一般","不错","很棒"]),textSize:z(),onChange:P()},Ei={type:h(void 0,t=>ke.includes(t)),size:z(),color:h(),background:h(),block:g(),spacing:z(),lineHeight:z(),indent:z(),bold:g(),decoration:h(void 0,t=>["overline","line-through","underline"].includes(t)),padding:z(),width:z(),ellipsis:g(),center:g()},Ti=L({name:"FText",__name:"text",props:Ei,setup(t){const e=t,{getProp:n}=he(e),{classes:a,styles:r}=G(n(["type"]),"text"),f=a(["type","block","bold","ellipsis","center"],"f-text"),i=r(["color","background","decoration","width","size","padding","spacing","lineHeight","indent"]);return(l,c)=>(u(),p("p",{class:T(o(f)),style:D(o(i))},[F(l.$slots,"default")],6))}}),en=E(Ti),Vi={class:"f-rate",role:"slider"},Mi={class:"f-rate__list"},Bi=["onMouseover","onClick"],Ai=L({name:"FRate",__name:"rate",props:Q(Pi,{modelValue:{default:0,type:Number},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),r=B(e.modelValue),f=d=>{e.readonly||(r.value=d)},i=()=>{e.readonly||(r.value=e.modelValue)},l=d=>{e.readonly||(r.value=d,n.value=d,a(e.onChange,d))};pe(()=>e.modelValue,()=>{r.value=e.modelValue});const c=M(()=>e.textArr[o(r)-1]),s=M(()=>ee(e.max)?e.max:5);return(d,m)=>(u(),p("div",Vi,[$("div",Mi,[(u(!0),p(U,null,K(s.value,(y,_)=>(u(),p("div",{key:_,class:T(["f-rate__star",{"f-rate__star-readonly":d.readonly}]),onMouseout:i,onMouseover:b=>f(_+1),onClick:b=>l(_+1)},[V(o(x),{size:d.size,icon:d.icon||o(jo),color:r.value>_?d.effectColor:d.invalidColor},null,8,["size","icon","color"])],42,Bi))),128))]),d.textShow?(u(),N(o(en),{key:0,size:d.textSize,color:d.textColor},{default:A(()=>[X(H(c.value),1)]),_:1},8,["size","color"])):w("",!0)]))}}),Ni=E(Ai),Di={ripplesColor:h(),duration:O(400),type:h(void 0,t=>ke.includes(t)),disabled:g(),startOpacity:O(),endOpacity:O()},Ri=L({name:"FRipple",__name:"ripple",props:Di,setup(t){const e=t,{getType:n,getProp:a}=he(e),{styles:r}=G(a(["type"],["default"]),"ripple"),f=B(),i=r(["startOpacity","endOpacity"],!1),l=c=>{if(e.disabled)return;const{ripplesColor:s,duration:d}=_e(e),m=ne({duration:d.value,component:"f-ripple",className:"f-ripple__animation",type:n(),ripplesColor:s.value});if(f.value){const{runRipples:y}=Gn(c,f.value,m);y()}};return(c,s)=>(u(),p("div",{ref_key:"rippleRef",ref:f,class:"f-ripple",style:D(o(i)),onClick:l},[F(c.$slots,"default")],4))}}),Oi=E(Ri),Hi={round:g(),difference:g(),animated:g(),rows:O(1),loading:g(),rowGap:z(),size:h("middle",t=>ae.includes(t))},Gi=L({name:"FSkeleton",__name:"skeleton",props:Hi,setup(t){const e=t,{classes:n,styles:a}=G(e,"skeleton"),r=n(["round","animated","size",{key:"difference",callback:()=>e.difference&&ee(e.rows)&&e.rows>=3}],"f-skeleton"),f=a(["rowGap"]),i=M(()=>Le().default?e.loading===!0:!0);return(l,c)=>i.value?(u(),p("div",{key:0,role:"section",class:T(o(r)),style:D(o(f))},[(u(!0),p(U,null,K(l.rows,s=>(u(),p("div",{key:s,class:"f-skeleton__item"}))),128))],6)):F(l.$slots,"default",{key:1})}}),ji=E(Gi),Ui={open:g(),openText:h(),closeText:h(),borderColor:h(),onOpen:P(),onClose:P()},xi={opened:g(),disabled:g(),heightAnimation:g(!0),widthAnimation:g(),animationTime:O(),onOpen:P(),onClose:P(),onOpenEnd:P(),onCloseEnd:P()},qi={class:"f-collapse-animation"},Yi=L({name:"FCollapseAnimation",__name:"collapse-animation",props:xi,setup(t){const e=t,{onBeforeEnter:n,onEnter:a,onAfterEnter:r,onBeforeLeave:f,onLeave:i,onAfterLeave:l}=gl(e),c=e.opened,s=M(()=>e.disabled?c:e.opened);return(d,m)=>(u(),N(ce,{onBeforeEnter:o(n),onEnter:o(a),onAfterEnter:o(r),onBeforeLeave:o(f),onLeave:o(i),onAfterLeave:o(l)},{default:A(()=>[re($("div",qi,[F(d.$slots,"default")],512),[[be,s.value]])]),_:3},8,["onBeforeEnter","onEnter","onAfterEnter","onBeforeLeave","onLeave","onAfterLeave"]))}}),Ze=E(Yi),Ki={key:0,class:"f-sticky-card__source"},Zi={class:"f-sticky-card__box"},Wi={class:"f-sticky-card__option-text"},Xi=L({name:"FStickyCard",__name:"sticky-card",props:Ui,setup(t){const e=t,{getLang:n}=he(),{run:a}=j(),{styles:r}=G(e,"sticky-card"),f=B(e.open),i=()=>{f.value=!f.value,a(f.value?e.onClose:e.onOpen,f.value)},l=M(()=>{const{openText:s,closeText:d}=e,m=n("stickyCard").value;return o(f)?s||m.openText:d||m.closeText}),c=r(["borderColor"]);return(s,d)=>(u(),p("div",{class:"f-sticky-card",style:D(o(c))},[s.$slots.source?(u(),p("div",Ki,[F(s.$slots,"source")])):w("",!0),$("div",Zi,[V(o(Ze),{opened:f.value},{default:A(()=>[F(s.$slots,"default")]),_:3},8,["opened"])]),$("div",{class:T(["f-sticky-card__option",{"f-sticky-card__option-open":f.value}]),onClick:i},[$("span",Wi,H(l.value),1)],2)],4))}}),tn=E(Xi),Ji={modelValue:{...g(),required:!0},size:h(void 0,t=>ae.includes(t)),disabled:g(),loading:g(),icon:Z(),closeColor:h(),activeColor:h(),activeText:h(),closeText:h(),square:g(),iconSize:z(),onChange:P()},Qi=L({name:"FSwitch",__name:"switch",props:Q(Ji,{modelValue:{type:Boolean,default:!1,type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),{getProp:r}=he(e),{styles:f,classes:i}=G(r(["size"]),"switch"),l=()=>{e.disabled||e.loading||(n.value=!n.value,a(e.onChange,!e.modelValue))},c=f(["closeColor","activeColor"]),s=i(["size","square"],"f-switch__input");return(d,m)=>(u(),p("div",{role:"switch",class:T(["f-switch",{"f-switch__disabled":d.disabled||d.loading}]),style:D(o(c))},[d.closeText?(u(),p("span",{key:0,class:T(["f-switch__right-text",{"f-switch__text-active":!n.value}])},H(d.closeText),3)):w("",!0),$("div",{class:T([o(s),{"f-switch__active":n.value}]),onClick:de(l,["stop"])},[$("span",{class:T(["f-switch__roll",{"f-switch__roll-active":n.value}])},[d.icon&&!d.loading?(u(),N(o(x),{key:0,icon:d.icon,size:d.iconSize},null,8,["icon","size"])):w("",!0),d.loading?(u(),N(o(x),{key:1,class:"f-switch__loading-animation",icon:o(Lt),size:d.iconSize},null,8,["icon","size"])):w("",!0)],2)],2),d.activeText?(u(),p("span",{key:1,class:T(["f-switch__left-text",{"f-switch__text-active":n.value}])},H(d.activeText),3)):w("",!0)],6))}}),ec=E(Qi),tc={type:h(void 0,t=>ke.includes(t)),close:g(),round:g(),background:h(),color:h(),beforeIcon:Z(),afterIcon:Z(),size:h(void 0,t=>ae.includes(t)),simple:g(),block:g(),line:g(),onClose:P(),onClick:P()},nc=L({name:"FTag",__name:"tag",props:tc,setup(t){const e=t,{getProp:n}=he(e),{run:a}=j(),{classes:r,styles:f}=G(n(["size","type"]),"tag"),i=r(["simple","type","size","block","round","line"],"f-tag"),l=f(["color","background"]),c=s=>{a(e.onClose,s)};return(s,d)=>(u(),N(ce,{name:"f-tag",appear:""},{default:A(()=>[$("div",{class:T(o(i)),style:D(o(l)),onClick:d[0]||(d[0]=(...m)=>s.onClick&&s.onClick(...m))},[s.beforeIcon?(u(),N(o(x),{key:0,icon:s.beforeIcon},null,8,["icon"])):w("",!0),F(s.$slots,"default"),s.afterIcon?(u(),N(o(x),{key:1,icon:s.afterIcon},null,8,["icon"])):w("",!0),s.close?(u(),N(o($e),{key:2,size:14,"on-click":c})):w("",!0)],6)]),_:3}))}}),oc=E(nc),sc={content:z(),position:h("bottom",t=>["top","bottom","right","left"].includes(t)),disabled:g(),state:h("hover",t=>["hover","active","always"].includes(t)),noArrow:g(),bold:g(),bright:g(),background:h(),fontColor:h()},lc=["f-content"],rc=L({name:"FTooltip",__name:"tooltip",props:sc,setup(t){const e=t,{classes:n,styles:a}=G(e,"tooltip"),r=n(["position","state","disabled","bold","noArrow","bright"],"f-tooltip"),f=a(["background","fontColor"]);return(i,l)=>i.$slots.default?(u(),p("div",{key:0,role:"tooltip","f-content":i.content,class:T(o(r)),style:D(o(f))},[F(i.$slots,"default")],14,lc)):w("",!0)}}),ac=E(rc),ic={modelValue:ve(),data:{type:[Object,Array],default:()=>[]},isCheck:g(),offset:O(40),onClickLabel:P()},nn=Symbol("tree-props-key"),cc={model:Z()},uc={class:"f-tree-item"},dc={class:"f-tree-item__label-prefix"},fc={class:"f-tree-item__text"},pc={key:0,class:"f-tree-item__label-option"},bc={key:0,class:"f-tree-item__children"},kt=L({name:"FTreeItem",__name:"index",props:cc,setup(t){const e=t,{run:n}=j(),a=le(nn,null),r=B(!1),f=M(()=>!!(e.model.children&&e.model.children.length)),i=(s,d)=>{d.disabled||(r.value=!r.value,a&&n(a.onClickLabel,s,d,r.value,a.tree))},l=M(()=>a&&ee(a.offset)&&a.offset>1?a.offset:40),c=M(()=>{const{__level:s}=e.model;return s?{"--tree-item-level-padding":`${s*l.value}px`}:{}});return(s,d)=>{var y;const m=wt("f-tree-item");return u(),p("div",uc,[$("div",{class:T(["f-tree-item__label",{"f-tree-item__label-disabled":s.model.disabled}]),style:D(c.value),onClick:d[0]||(d[0]=_=>i(_,s.model))},[$("div",dc,[(y=o(a))!=null&&y.isCheck?(u(),N(o(Se),{key:0,label:s.model.value||s.model.label,disabled:s.model.disabled,"show-label":!1},null,8,["label","disabled"])):w("",!0),f.value?(u(),N(o(x),{key:1,class:T({"f-tree-item__icon-animation":r.value}),size:15,icon:o(Pe)},null,8,["class","icon"])):w("",!0),s.model.icon?(u(),N(o(x),{key:2,size:15,icon:s.model.icon},null,8,["icon"])):w("",!0),$("div",fc,H(s.model.label),1)]),s.$slots.options?(u(),p("div",pc,[F(s.$slots,"options")])):w("",!0)],6),V(o(Ze),{opened:r.value,"animation-time":.3},{default:A(()=>[f.value?(u(),p("div",bc,[(u(!0),p(U,null,K(s.model.children,(_,b)=>(u(),N(m,{key:b,model:_},{options:A(()=>[F(s.$slots,"options")]),_:2},1032,["model"]))),128))])):w("",!0)]),_:3},8,["opened"])])}}}),mc={role:"tree",class:"f-tree"},hc=L({name:"FTree",__name:"tree",props:Q(ic,{check:{type:Array,default:[]},checkModifiers:{}}),emits:["update:check"],setup(t){const e=t,n=J(t,"check"),a=(l,c=0)=>{Ie(l)&&(l=[l]);const s=[];if(fe(l))for(const d of l){const m={...d,__level:c};d.children&&(m.children=a(d.children,c+1)),s.push(m)}return s},r=M(()=>a(e.data)),f=B([]),i=l=>{n.value=l};return ue(nn,ne({onClickLabel:Fe(e,"onClickLabel"),isCheck:Fe(e,"isCheck"),offset:Fe(e,"offset"),tree:r})),(l,c)=>(u(),p("div",mc,[l.isCheck?(u(),N(o(Wt),{key:0,modelValue:f.value,"onUpdate:modelValue":c[0]||(c[0]=s=>f.value=s),style:{display:"block"},"on-change":i},{default:A(()=>[(u(!0),p(U,null,K(r.value,(s,d)=>(u(),N(kt,{key:d,model:s},{options:A(()=>[F(l.$slots,"options")]),_:2},1032,["model"]))),128))]),_:3},8,["modelValue"])):(u(!0),p(U,{key:1},K(r.value,(s,d)=>(u(),N(kt,{key:d,model:s},{options:A(()=>[F(l.$slots,"options")]),_:2},1032,["model"]))),128))]))}}),_c=E(hc),vc={content:h(),fontSize:O(40),gap:O(40),fontColor:h("#111"),zIndex:z(9999)},gc=L({name:"FWatermark",__name:"watermark",props:vc,setup(t){const e=t,n=yl(e),a=B();let r;const f=()=>{if(!a.value)return;r&&r.remove();const{base64:l,size:c}=n.value;r=document.createElement("div"),r.style.position="absolute",r.style.backgroundImage=`url(${l})`,r.style.backgroundSize=`${c}px ${c}px`,r.style.zIndex=e.zIndex.toString(),r.style.inset="0",a.value.appendChild(r)},i=new MutationObserver(l=>{for(const c of l){if(c.removedNodes&&c.removedNodes.length){const s=Array.from(c.removedNodes);for(const d of s)if(d===r){f();return}}if(c.target===r){f();return}}});return ie(()=>{a.value&&i.observe(a.value,{childList:!0,subtree:!0,attributes:!0})}),ie(f),Ge(i.disconnect),(l,c)=>(u(),p("div",{ref_key:"watermarkRef",ref:a,class:"f-watermark"},[F(l.$slots,"default")],512))}}),yc=E(gc),kc={files:ve(),accept:h(),name:h(),drag:g(),isRemove:g(!0),showList:g(!1),multiple:g(),maxSize:O(),maxLength:O(),disabled:g(),onLoad:P(),onChange:P()},$c={class:"f-up-load"},Cc=["name","disabled","accept","multiple"],wc={key:0,class:"f-up-load__file-list"},Sc={class:"f-up-load__file-name"},Fc=L({name:"FUpLoad",__name:"up-load",props:Q(kc,{files:{default:[],type:Array},filesModifiers:{}}),emits:["update:files"],setup(t){const e=t,n=J(t,"files"),{run:a}=j(),r=B(!1),f=B(),i=()=>{f.value&&f.value.click()},l=b=>{n.value=[...n.value,...b],a(e.onLoad,b)},c=b=>{const{maxSize:v,maxLength:C}=_e(e);let k=[...b];return v.value&&(k=k.filter(I=>I.size{const v=b.target.files;v&&l(c(v))},d=b=>{n.value.splice(b,1)},m=b=>{b.preventDefault(),r.value=!0},y=b=>{r.value=!1;const v=b.dataTransfer.files;v&&l(c(v))},_=()=>{pe(()=>e.files,()=>{a(e.onChange,n.value)},{deep:!0})};return e.onChange&&_(),(b,v)=>(u(),p(U,null,[$("div",$c,[b.drag?(u(),p("div",{key:0,class:"f-up-load__drag",onClick:i,onDrop:de(y,["prevent"]),onDragover:de(m,["prevent"])},[F(b.$slots,"default",{},()=>[V(o(x),{icon:o(Ss)},null,8,["icon"])])],32)):(u(),p("div",{key:1,class:"f-up-load__content",onClick:i},[F(b.$slots,"default",{},()=>[V(o(se),null,{default:A(()=>[X("选择文件")]),_:1})])])),$("input",{ref_key:"inputRef",ref:f,type:"file",hidden:"",name:b.name,disabled:b.disabled,accept:b.accept,multiple:b.multiple,onChange:s},null,40,Cc)]),b.showList?(u(),p(U,{key:0},[n.value&&n.value.length?(u(),p("div",wc,[(u(!0),p(U,null,K(n.value,(C,k)=>(u(),p("div",{key:k,class:"f-up-load__file-list-item"},[$("div",Sc,[V(o(x),{icon:o(gs)},null,8,["icon"]),X(" "+H(C.name),1)]),b.isRemove?(u(),N(o($e),{key:0,size:14,onClick:I=>d(k)},null,8,["onClick"])):w("",!0)]))),128))])):w("",!0)],64)):w("",!0)],64))}}),zc=E(Fc),Lc={current:{...O(1),require:!0},total:{...O(0),require:!0},pageSize:O(10),pageSelect:ve(),pagerCount:O(7),background:g(),round:g(),prevIcon:Z(),nextIcon:Z(),disabled:g(),jumpSearch:g(),onPrev:P(),onNext:P(),pageSizeChange:P(),onChange:P()},Ic=["disabled"],Pc=["onClick"],Ec=["disabled"],Tc=L({name:"FPagination",__name:"pagination",props:Q(Lc,{current:{default:1,type:Number},currentModifiers:{},pageSize:{default:10,type:Number},pageSizeModifiers:{}}),emits:["update:current","update:pageSize"],setup(t){const e=t,n=J(t,"current"),a=J(t,"pageSize"),{pages:r,showNextMore:f,showPrevMore:i,maxCount:l,handelTurnPages:c}=dl(e,{currentModelValue:n,pageSizeModelValue:a}),{jumpCurrent:s,selectChange:d,handelChange:m,handleInput:y,handelClick:_}=fl(e,{currentModelValue:n,pageSizeModelValue:a},r,l),{classes:b}=G(e,"pagination"),v=B(10),C=b(["background","round","disabled"],qe);return(k,I)=>(u(),p("div",{class:T(o(C))},[k.pageSelect&&k.pageSelect.length?(u(),N(o(He),{key:0,modelValue:v.value,"onUpdate:modelValue":I[0]||(I[0]=S=>v.value=S),width:120,disabled:k.disabled,"on-change":o(d)},{default:A(()=>[(u(!0),p(U,null,K(k.pageSelect,S=>(u(),N(o(Oe),{key:S,value:S,label:S+"/页"},null,8,["value","label"]))),128))]),_:1},8,["modelValue","disabled","on-change"])):w("",!0),$("button",{class:"f-pagination__button",disabled:k.disabled,onClick:I[1]||(I[1]=S=>o(c)("prev"))},[V(o(x),{size:14,icon:k.prevIcon||o(Ye)},null,8,["icon"])],8,Ic),k.total>0?(u(),p("div",{key:1,class:"f-pagination__pages",onClick:I[2]||(I[2]=S=>o(_)(S))},[$("div",{class:T([o(ge),{[`${o(ge)}-active`]:t.current===1}])}," 1 ",2),o(i)?(u(),p("div",{key:0,class:T([o(ge),o(Nt)])},[V(o(x),{size:15,icon:o(vt)},null,8,["icon"])],2)):w("",!0),(u(!0),p(U,null,K(o(r),S=>(u(),p("div",{key:S,class:T([o(ge),{[`${o(ge)}-active`]:t.current===S}]),onClick:R=>o(m)(S,R)},H(S),11,Pc))),128)),o(f)?(u(),p("div",{key:1,class:T([o(ge),o(Dt)])},[V(o(x),{size:15,icon:o(vt)},null,8,["icon"])],2)):w("",!0),k.total>1&&k.total>Number(t.pageSize)?(u(),p("div",{key:2,class:T([o(ge),{[`${o(ge)}-active`]:t.current===o(l)}])},H(o(l)),3)):w("",!0)])):w("",!0),$("button",{class:"f-pagination__button",disabled:k.disabled,onClick:I[3]||(I[3]=S=>o(c)("next"))},[V(o(x),{size:14,icon:k.nextIcon||o(Pe)},null,8,["icon"])],8,Ec),k.jumpSearch?(u(),N(o(Ee),{key:2,modelValue:o(s),"onUpdate:modelValue":I[4]||(I[4]=S=>St(s)?s.value=S:null),placeholder:"输入跳转的页数",class:"f-pagination__jump",style:{width:"80px"},disabled:k.disabled,"on-blur":o(y),"on-enter":o(y)},null,8,["modelValue","disabled","on-blur","on-enter"])):w("",!0)],2))}}),Vc=E(Tc),Mc={data:ve(),columns:ve(),align:h("left",t=>["left","center","right"].includes(t)),border:g(),select:g(),num:g(),zebra:g(),zebraColor:h(),height:z(),width:z(),bgColor:h(),headBgColor:h(),showHead:g(!0),onSelect:P()},Bc={class:"f-table__container"},Ac={key:0,class:"f-table__header"},Nc={class:"f-table__table"},Dc={key:0,width:50,span:1},Rc={key:1,width:50,span:1},Oc=["width"],Hc=["align"],Gc={key:0},jc={key:1},Uc={class:"f-table__body"},xc={key:0,class:"f-table__table"},qc={key:0,width:50,span:1},Yc={key:1,width:50,span:1},Kc=["width"],Zc=["align"],Wc={key:0},Xc={key:1},Jc=["align"],Qc={key:0},eu={key:1},tu={key:1},nu={class:"f-table__table"},ou={key:0,width:50,span:1},su={key:1},lu=["width"],ru=["align"],au={key:0},iu={key:1},cu={class:"table__no-data"},uu={key:1},du=L({name:"FTable",__name:"table",props:Mc,setup(t){const e=t,{run:n}=j(),{styles:a,classes:r}=G(e,"table"),f=(b,v,C,k)=>b(Me,v,C,k),i=(b,v,C)=>b(Me,v,C),l=a(["zebraColor","bgColor","headBgColor","height","width"]),c=r(["border","zebra"],"f-table"),s=M(()=>!!(e.height&&e.showHead)),d=B([]),m=M({get:()=>d.value.length?(d.value||[]).every(b=>b._select):!1,set:b=>{const v=(d.value||[]).map(C=>(C._select=b,C));return d.value=v,_(),b}});pe(()=>e.data,()=>{if(fe(e.data)||(d.value=[]),e.select){const b=e.data.map(v=>({...v,_select:!1}));d.value=b;return}d.value=e.data},{immediate:!0});const _=()=>{const b=(d.value||[]).filter(v=>v._select);n(e.onSelect,b)};return(b,v)=>(u(),p("div",{role:"table",class:T(o(c)),style:D(o(l))},[$("div",Bc,[b.columns||d.value?(u(),p(U,{key:0},[s.value?(u(),p("div",Ac,[$("table",Nc,[$("colgroup",null,[b.select?(u(),p("col",Dc)):w("",!0),b.num?(u(),p("col",Rc)):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("col",{key:k,width:C.width},null,8,Oc))),128))]),$("thead",{align:b.align},[$("tr",null,[b.select?(u(),p("th",Gc,[V(o(Se),{modelValue:m.value,"onUpdate:modelValue":v[0]||(v[0]=C=>m.value=C),disabled:!d.value.length},null,8,["modelValue","disabled"])])):w("",!0),b.num?(u(),p("th",jc,"#")):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("th",{key:k},[o(Xe)(C.title)?(u(),N(Te(i(C.title,C,k)),{key:0})):(u(),p(U,{key:1},[X(H(C.title),1)],64))]))),128))])],8,Hc)])])):w("",!0),$("div",Uc,[d.value&&d.value.length?(u(),p("table",xc,[$("colgroup",null,[b.select?(u(),p("col",qc)):w("",!0),b.num?(u(),p("col",Yc)):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("col",{key:k,span:1,width:C.width},null,8,Kc))),128))]),s.value?w("",!0):(u(),p("thead",{key:0,align:b.align},[$("tr",null,[b.select?(u(),p("th",Wc,[V(o(Se),{modelValue:m.value,"onUpdate:modelValue":v[1]||(v[1]=C=>m.value=C),disabled:!d.value.length},null,8,["modelValue","disabled"])])):w("",!0),b.num?(u(),p("th",Xc,"#")):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("th",{key:k},[o(Xe)(C.title)?(u(),N(Te(i(C.title,C,k)),{key:0})):(u(),p(U,{key:1},[X(H(C.title),1)],64))]))),128))])],8,Zc)),$("tbody",{align:b.align},[(u(!0),p(U,null,K(d.value,(C,k)=>(u(),p("tr",{key:k},[b.select?(u(),p("td",Qc,[V(o(Se),{modelValue:C._select,"onUpdate:modelValue":I=>C._select=I,"on-change":_},null,8,["modelValue","onUpdate:modelValue"])])):w("",!0),b.num?(u(),p("td",eu,H(k+1),1)):w("",!0),(u(!0),p(U,null,K(b.columns,(I,S)=>(u(),p("td",{key:S},[I.render?(u(),N(Te(f(I.render,C,I,k)),{key:0})):(u(),p(U,{key:1},[I.key?(u(),p(U,{key:0},[X(H(C[I.key]),1)],64)):w("",!0)],64))]))),128))]))),128))],8,Jc),b.$slots.tfoot?(u(),p("tfoot",tu,[F(b.$slots,"tfoot")])):w("",!0)])):(u(),p(U,{key:1},[$("table",nu,[$("colgroup",null,[b.select?(u(),p("col",ou)):w("",!0),b.num?(u(),p("col",su)):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("col",{key:k,span:1,width:C.width},null,8,lu))),128))]),s.value?w("",!0):(u(),p("thead",{key:0,align:b.align},[$("tr",null,[b.select?(u(),p("th",au,[V(o(Se),{modelValue:m.value,"onUpdate:modelValue":v[2]||(v[2]=C=>m.value=C),disabled:!d.value.length},null,8,["modelValue","disabled"])])):w("",!0),b.num?(u(),p("th",iu,"#")):w("",!0),(u(!0),p(U,null,K(b.columns,(C,k)=>(u(),p("th",{key:k},[o(Xe)(C.title)?(u(),N(Te(i(C.title,C,k)),{key:0})):(u(),p(U,{key:1},[X(H(C.title),1)],64))]))),128))])],8,ru))]),$("div",cu,[F(b.$slots,"noData",{},()=>[V(o(it),{content:"暂无数据"})])])],64))])],64)):(u(),p("table",uu,[F(b.$slots,"default")]))])],6))}}),fu=E(du),pu={disabled:g(),onClick:P()},bu=L({name:"FDropdownItem",__name:"dropdown-item",props:pu,setup(t){const e=t,{run:n}=j(),a=le(rt,null),r=f=>{e.disabled||(n(a&&a.close),n(e.onClick,f))};return(f,i)=>(u(),p("div",{class:T(["f-dropdown-item",{"f-dropdown-item__disabled":f.disabled}]),onClick:r},[F(f.$slots,"default")],2))}}),mu=E(bu),hu={modelValue:{...z(),required:!0},rows:z(),disabled:g(),autoHeight:g(),maxLength:O(),autofocus:g(),name:h("f-textarea"),placeholder:h(),readonly:g(),fontSize:z(),onInput:P(),resize:h(void 0,t=>["none","both","horizontal","vertical"].includes(t)),clear:g(),onChange:P(),onBlur:P(),onFocus:P(),onEnter:P()},_u=["rows","disabled","readonly","autofocus","placeholder","name"],vu=L({name:"FTextarea",__name:"textarea",props:Q(hu,{modelValue:{default:"",type:[Number,String]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{handleInput:a,handleClear:r,handleChange:f}=Vt(e,n),{classes:i,styles:l}=G(e,"textarea"),{run:c}=j(),s=B(),d=i(["disabled","autoHeight"],"f-textarea"),m=l(["resize","fontSize"]),y=async()=>{await Ne(),s.value&&(s.value.style.height="auto",s.value.style.height=s.value.scrollHeight+"px")},_=k=>{a(k),e.autoHeight&&y()},b=()=>{const k=pe(()=>[e.modelValue,e.rows,e.autoHeight],()=>{y(),e.autoHeight||(k(),s.value&&(s.value.style.height="auto"))},{immediate:!0})},v=zt(y,500);ie(()=>{e.autoHeight&&(b(),window.addEventListener("resize",v))}),$t(()=>{window.removeEventListener("resize",v)});const C=k=>{if(k.key==="Enter"&&k.ctrlKey){n.value+=`
`,e.autoHeight&&y();return}k.key==="Enter"&&(k.preventDefault(),c(e.onEnter,n.value,k))};return(k,I)=>(u(),p("div",{class:T(o(d)),style:D(o(m))},[re($("textarea",{ref_key:"textareaRef",ref:s,"onUpdate:modelValue":I[0]||(I[0]=S=>n.value=S),class:"f-textarea__textarea",rows:k.rows,disabled:k.disabled,readonly:k.readonly,autofocus:k.autofocus,placeholder:k.placeholder,name:k.name,onInput:_,onChange:I[1]||(I[1]=(...S)=>o(f)&&o(f)(...S)),onBlur:I[2]||(I[2]=(...S)=>k.onBlur&&k.onBlur(...S)),onFocus:I[3]||(I[3]=(...S)=>k.onFocus&&k.onFocus(...S)),onKeydown:C},null,40,_u),[[bn,n.value]]),k.clear?(u(),N(o(x),{key:0,class:"f-textarea__clear-btn",icon:o(st),size:14,"on-click":o(r)},null,8,["icon","on-click"])):w("",!0)],6))}}),gu=E(vu),yu={modelValue:O(0),model:h("default",t=>["default","button","switch"].includes(t)),precision:O(0),buttonType:h(void 0,t=>ke.includes(t)),step:O(1),size:h("middle",t=>ae.includes(t)),disabled:g(),max:O(),min:O(),maxLength:O(),autofocus:g(),name:h("f-input-number"),placeholder:h(),clear:g(),readonly:g(),onChange:P(),onBlur:P(),onFocus:P(),onInput:P()},ku={class:"f-input-number__wrapper"},$u=L({name:"FInputNumber",__name:"input-number",props:Q(yu,{modelValue:{default:0,type:Number},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{run:a}=j(),r=M(()=>{const{step:l,min:c}=e;return!c&&!ee(c)?!1:n.value-Math.abs(l){const{step:l,max:c}=e;return!c&&!ee(c)?!1:n.value+Math.abs(l)>c}),i=l=>{const{disabled:c,readonly:s,step:d}=e;if(c||s)return;a({minus:()=>{n.value-=d},plus:()=>{n.value+=d}}[l]),a(e.onChange,n.value)};return(l,c)=>(u(),p("div",{role:"input",class:T(["f-input-number",{"f-input-number__button":l.model==="button"}])},[l.model==="button"?(u(),N(o(se),{key:0,class:"f-input-number__minus",type:l.buttonType||"primary",size:l.size,disabled:l.disabled||r.value,"before-icon":o(Ye),"on-click":()=>i("minus")},null,8,["type","size","disabled","before-icon","on-click"])):w("",!0),$("div",ku,[V(o(Ee),{modelValue:n.value,"onUpdate:modelValue":c[0]||(c[0]=s=>n.value=s),type:"number",max:l.max,min:l.min,disabled:l.disabled,readonly:l.readonly,autofocus:l.autofocus,name:l.name,size:l.size,clear:l.clear,placeholder:l.placeholder,"on-blur":l.onBlur,"on-focus":l.onFocus,"on-input":l.onInput,"on-change":l.onChange},{after:A(()=>[l.model==="switch"?(u(),p("div",{key:0,class:T(["f-input-number__switch",`f-input-number__switch-${l.size}`])},[V(o(se),{disabled:l.disabled||f.value,size:l.size,type:l.buttonType||"default","before-icon":o(Us),onclick:()=>i("plus")},null,8,["disabled","size","type","before-icon","onclick"]),V(o(se),{disabled:l.disabled||r.value,size:l.size,type:l.buttonType||"default","before-icon":o(De),"on-click":()=>i("minus")},null,8,["disabled","size","type","before-icon","on-click"])],2)):w("",!0)]),_:1},8,["modelValue","max","min","disabled","readonly","autofocus","name","size","clear","placeholder","on-blur","on-focus","on-input","on-change"])]),l.model==="button"?(u(),N(o(se),{key:1,class:"f-input-number__plus",type:l.buttonType||"primary",size:l.size,disabled:l.disabled||f.value,"before-icon":o(Pe),"on-click":()=>i("plus")},null,8,["type","size","disabled","before-icon","on-click"])):w("",!0)],2))}}),Cu=E($u),wu={modelValue:z(),position:h("top",t=>["left","right","top","bottom"].includes(t)),type:h("line",t=>["line","card","segment"].includes(t)),justifyContent:h(void 0,t=>["flex-start","center","flex-end","space-between","space-around","space-evenly"].includes(t)),trigger:h("click",t=>["click","hover"].includes(t)),onSwitch:P()},on=Symbol("tabs-props-key"),Su={class:"f-tabs__head"},Fu={key:0,class:"f-tabs__prefix"},zu={class:"f-tabs__navs"},Lu={key:1,class:"f-tabs__suffix"},Iu={class:"f-tabs__body"},Pu="FTabsItem",Eu=L({name:"FTabs",__name:"tabs",props:Q(wu,{modelValue:{default:null,type:[Number,String]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{classes:a,styles:r}=G(e,"tabs"),f=B(0),i=new Map,l=mn(),c=k=>{const I=fe(k)?k:[k],S=[];return I.forEach(R=>{fe(R)?S.push(...c(R)):pt(R)&&fe(R.children)?S.push(...c(R.children)):pt(R)&&R.component&&S.push(R)}),S},s=(k,I)=>k.subTree?c(k.subTree.children).filter(R=>Ie(R.type)&&R.type.name===I):[],d=je(),m=k=>{i.set(k.uid,k);const S=s(d,Pu).map(R=>R.component?R.component.uid:null).filter(Boolean);if(l.value=S.map(R=>i.get(R)).filter(Boolean),n.value){f.value=n.value;return}l.value&&l.value.length&&l.value[0].activeName&&(f.value=l.value[0].activeName)},y=M(()=>l.value&&l.value.map((k,I)=>(k.activeName=k.activeName||I,{name:k.activeName,label:k.label})));ue(on,{activeName:f,registerChild:m});const _=async k=>{let I=!0;e.onSwitch&&(I=await e.onSwitch(k)),!(lt(I)&&!I)&&(f.value=k,n.value=k)},b=a(["position","type"],"f-tabs"),v=r(["justifyContent"]),C=M(()=>e.trigger==="hover"?"mouseenter":"click");return(k,I)=>(u(),p("div",{role:"tab",class:T(o(b)),style:D(o(v))},[$("div",Su,[k.$slots.prefix?(u(),p("div",Fu,[F(k.$slots,"prefix")])):w("",!0),$("div",zu,[(u(!0),p(U,null,K(y.value,(S,R)=>(u(),p("div",hn({key:R,class:["f-tabs__nav-item",{"f-tabs__nav-active":S.name===f.value}]},{[_n(C.value)]:q=>_(S.name)}),H(S.label),17))),128))]),k.$slots.suffix?(u(),p("div",Lu,[F(k.$slots,"suffix")])):w("",!0)]),$("div",Iu,[F(k.$slots,"default")])],6))}}),Tu=E(Eu),Vu={date:h(),disabled:g(),clear:g(),size:h("middle",t=>ae.includes(t)),format:h("YYYY/MM/DD"),placeholder:h(),addZero:g()},Mu={class:"f-date-picker"},Bu={class:"f-date-picker__content"},Au={class:"f-date-picker__option"},Nu=L({name:"FDatePicker",__name:"date-picker",props:Q(Vu,{date:{default:"",type:String},dateModifiers:{}}),emits:["update:date"],setup(t){const e=t,n=J(t,"date"),a=new Date,r=RegExp(/([Y]{4})|([M]{2})|([D]{2})/),f=B(),i=a.getFullYear(),l=a.getMonth()+1,c=a.getDate(),s={YYYY:i+"",MM:e.addZero?oe(l):l+"",DD:e.addZero?oe(c):c+""},d=()=>{let _=e.format;r.test(_)||(ye("f-date-picker","`format` is not a standard format, default format will be used"),_="YYYY/MM/DD");for(const b in s)_=_.replace(b,s[b].toString());n.value=_},m=(_,b,v)=>{s.YYYY=_+"",s.MM=e.addZero?oe(b):b+"",s.DD=e.addZero?oe(v):v+""},y=(_,b)=>{f.value.close(_),b&&d()};return(_,b)=>(u(),p("div",Mu,[V(o(Ke),{ref_key:"triggerInstance",ref:f,trigger:"click",disabled:_.disabled},{content:A(()=>[$("div",Bu,[V(o(Kt),{date:o(a),"onUpdate:date":b[1]||(b[1]=v=>St(a)?a.value=v:null),"day-cell-height":42,"week-cell-height":42,"on-change":m},null,8,["date"]),$("div",Au,[V(o(se),{size:"mini",onClick:b[2]||(b[2]=v=>y(v,!1))},{default:A(()=>[X("取消")]),_:1}),V(o(se),{type:"primary",size:"mini",onClick:b[3]||(b[3]=v=>y(v,!0))},{default:A(()=>[X(" 确定 ")]),_:1})])])]),default:A(()=>[V(o(Ee),{modelValue:n.value,"onUpdate:modelValue":b[0]||(b[0]=v=>n.value=v),autocomplete:"off",readonly:"",disabled:_.disabled,placeholder:_.placeholder||"请选择日期",clear:_.clear,size:_.size,"after-icon":o(rl)},null,8,["modelValue","disabled","placeholder","clear","size","after-icon"])]),_:1},8,["disabled"])]))}}),Du=E(Nu),Ru={time:h(),disabled:g(),clear:g(),placeholder:h(),size:h("middle",t=>ae.includes(t))},Ou={class:"f-time-picker"},Hu={class:"f-time-picker__content"},Gu=["onClick"],ju=["onClick"],Uu=["onClick"],xu={class:"f-time-picker__option"},qu=L({name:"FTimePicker",__name:"time-picker",props:Q(Ru,{time:{default:"",type:String},timeModifiers:{}}),emits:["update:time"],setup(t){const e=J(t,"time"),n=new Date,a=ne({hour:oe(n.getHours()),minute:oe(n.getMinutes()),second:oe(n.getSeconds())}),r=B(),f=(y,_=!0)=>{if(_&&!me(_)&&(e.value=`${a.hour}:${a.minute}:${a.second}`),_==="now"){const b=new Date;a.hour=oe(b.getHours()),a.minute=oe(b.getMinutes()),a.second=oe(b.getSeconds())}lt(_)&&r.value.close(y)},i=B(),l=B(),c=B(),s=(y,_)=>{y.scrollTo({top:_,behavior:"smooth"})},d=async()=>{if(await Ne(),i.value&&l.value&&c.value){const y=c.value.querySelector(".f-time-picker__second-item").offsetHeight;s(i.value,(Number(a.hour)===0?24:Number(a.hour)-2)*y),s(l.value,(Number(a.minute)-2)*y),s(c.value,(Number(a.second)-2)*y)}},m=(y,_)=>{a[_]=oe(y)};return pe(()=>a,d,{deep:!0}),(y,_)=>(u(),p("div",Ou,[V(o(Ke),{ref_key:"triggerInstance",ref:r,trigger:"click",disabled:y.disabled,"on-open":d},{content:A(()=>[$("div",Hu,[$("div",{ref_key:"hoverRef",ref:i,class:"f-time-picker__hour"},[(u(),p(U,null,K(24,b=>$("div",{key:b,class:T(["f-time-picker__hour-item",{"f-time-picker__hour-active":o(oe)(b===24?0:b).toString()===a.hour}]),onClick:de(v=>m(b===24?0:b,"hour"),["stop"])},H(o(oe)(b===24?0:b)),11,Gu)),64))],512),$("div",{ref_key:"minuteRef",ref:l,class:"f-time-picker__minute"},[(u(),p(U,null,K(59,b=>$("div",{key:b,class:T(["f-time-picker__minute-item",{"f-time-picker__minute-active":o(oe)(b).toString()===a.minute}]),onClick:de(v=>m(b,"minute"),["stop"])},H(o(oe)(b)),11,ju)),64))],512),$("div",{ref_key:"secondRef",ref:c,class:"f-time-picker__second"},[(u(),p(U,null,K(59,b=>$("div",{key:b,class:T(["f-time-picker__second-item",{"f-time-picker__second-active":o(oe)(b).toString()===a.second}]),onClick:de(v=>m(b,"second"),["stop"])},H(o(oe)(b)),11,Uu)),64))],512)]),$("div",xu,[V(o(se),{size:"mini",onClick:_[1]||(_[1]=b=>f(b,"now"))},{default:A(()=>[X("当前")]),_:1}),V(o(se),{size:"mini",onClick:_[2]||(_[2]=b=>f(b,!1))},{default:A(()=>[X("取消")]),_:1}),V(o(se),{type:"primary",size:"mini",onClick:_[3]||(_[3]=b=>f(b,!0))},{default:A(()=>[X(" 确定 ")]),_:1})])]),default:A(()=>[V(o(Ee),{modelValue:e.value,"onUpdate:modelValue":_[0]||(_[0]=b=>e.value=b),autocomplete:"off",type:"text",placeholder:y.placeholder||"请选择时间",disabled:y.disabled,size:y.size,clear:y.clear,"after-icon":o(Ds)},null,8,["modelValue","placeholder","disabled","size","clear","after-icon"])]),_:1},8,["disabled"])]))}}),Yu=E(qu),Ku={mode:h("horizontal",t=>["horizontal","vertical","inline"].includes(t)),activeName:z(),onMenuItemClick:P(),onSubmenuClick:P()},ut=Symbol("menu-provide-key"),Zu={key:0,class:"f-menu__before"},Wu={class:"f-menu__content"},Xu={key:1,class:"f-menu__after"},Ju=L({name:"FMenu",__name:"menu",props:Ku,setup(t){const e=t,{classes:n}=G(e,"menu"),a=B(e.activeName),r=M(()=>a.value),f=l=>{a.value=l};ue(ut,{mode:Fe(e,"mode"),defaultActive:r,setActiveName:f,onMenuItemClick:e.onMenuItemClick,onSubmenuClick:e.onSubmenuClick});const i=n(["mode"],"f-menu");return(l,c)=>(u(),p("div",{role:"menu",class:T(o(i))},[l.$slots.before?(u(),p("div",Zu,[F(l.$slots,"before")])):w("",!0),$("div",Wu,[F(l.$slots,"default")]),l.$slots.after?(u(),p("div",Xu,[F(l.$slots,"after")])):w("",!0)],2))}}),Qu=E(Ju),ed={icon:Z(),fontSize:z(),color:h(),to:h(),name:z(),disabled:g()},td={class:"f-menu-item__text"},nd=L({name:"FMenuItem",__name:"menu-item",props:ed,setup(t){const e=t,{run:n}=j(),{styles:a}=G(e,"menu-item"),r=le(ut,null),f=je(),i=s=>{if(e.disabled)return;r&&(n(r.onMenuItemClick,e.name,s),n(r.setActiveName,e.name));const d=f.appContext.config.globalProperties.$router;if(d&&e.to)try{d.push(e.to)}catch(m){ye("f-menu-item",m)}},l=M(()=>!r||!r.defaultActive?!1:e.name===r.defaultActive.value),c=a(["fontSize","color"]);return(s,d)=>(u(),p("div",{role:"menuitem",class:T(["f-menu-item",{"f-menu-item__active":l.value,"f-menu-item__disabled":s.disabled}]),style:D(o(c)),onClick:i},[s.icon?(u(),N(o(x),{key:0,icon:s.icon},null,8,["icon"])):w("",!0),$("span",td,[F(s.$slots,"default")])],6))}}),od=E(nd),sd={disabled:g(),opened:g()},ld={class:"f-submenu__title"},rd={class:"f-submenu__title-text"},ad={key:1,role:"none",class:"f-submenu__inline"},id={role:"none",class:"f-submenu__title-text"},cd={role:"none",class:"f-submenu__content"},ud=L({name:"FSubmenu",__name:"submenu",props:sd,setup(t){const e=t,{run:n}=j(),a=le(ut,null),r=B(e.opened),f=i=>{e.disabled||(r.value=!r.value,a&&n(a.onSubmenuClick,r.value,i))};return(i,l)=>(u(),p("div",{role:"menuitem",class:T(["f-submenu",{[`f-submenu__${o(a)&&o(a).mode.value}`]:o(a)&&o(a).mode.value,"f-submenu__disabled":i.disabled}])},[o(a)&&o(a).mode.value!=="inline"?(u(),N(o(at),{key:0,trigger:"click",spacing:5},{content:A(()=>[F(i.$slots,"default")]),default:A(()=>[$("div",ld,[$("div",rd,[i.$slots.title?F(i.$slots,"title",{key:0}):w("",!0)]),V(o(x),{icon:o(De)},null,8,["icon"])])]),_:3})):(u(),p("div",ad,[$("div",{role:"none",class:"f-submenu__title",onClick:f},[$("div",id,[F(i.$slots,"title")]),V(o(x),{class:T(["f-submenu__arrow-icon",{"f-submenu__arrow-icon-animation":r.value}]),icon:o(De)},null,8,["class","icon"])]),$("div",cd,[V(o(Ze),{opened:r.value,"animation-time":.27},{default:A(()=>[F(i.$slots,"default")]),_:3},8,["opened"])])]))],2))}}),dd=E(ud),fd={title:h()},pd={class:"f-menu-item-group"},bd={class:"f-menu-item-group__title"},md={class:"f-menu-item-group__list"},hd=L({name:"FMenuItemGroup",__name:"menu-item-group",props:fd,setup(t){return(e,n)=>(u(),p("div",pd,[$("div",bd,H(e.title),1),$("div",md,[F(e.$slots,"default")])]))}}),_d=E(hd),vd={modelValue:O(0),step:O(1),min:O(0),max:O(100),disabled:g(),background:h(),activeColor:h(),width:z()},gd={class:"f-slider__road"},yd=L({name:"FSlider",__name:"slider",props:Q(vd,{modelValue:{default:0,type:Number},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=J(t,"modelValue"),{styles:a,classes:r}=G(e,"slider"),f=B(),i=B(),{offset:l,offsetLeft:c,setPosition:s}=ul(f,e,n);ie(()=>{i.value&&(to(i.value,c,y=>{if(e.disabled)return;const _=y*100/f.value.clientWidth;s(_)}),s((e.modelValue-e.min)*100/(e.max-e.min)))});const d=r(["disabled"],"f-slider"),m=a(["background","activeColor","width"]);return(y,_)=>(u(),p("div",{ref_key:"sliderEl",ref:f,role:"slider",class:T(o(d)),style:D(o(m))},[$("div",gd,[$("div",{class:"f-slider__selected",style:D(`width: ${o(l)}%`)},null,4),$("div",{ref_key:"circleEl",ref:i,class:"f-slider__icon",style:D(`left: ${o(l)}%`)},null,4)])],6))}}),kd=E(yd),$d=L({name:"FFightingGlobal",__name:"fighting-global",props:jn,setup(t){const e=t,{interceptors:n}=Dn(e),a=M(()=>n("type",()=>ke.includes(e.type),"default")),r=M(()=>n("size",()=>ae.includes(e.size),"middle")),f=M(()=>n("lang",()=>["en-US","zh-CN"].includes(e.lang),"zh-CN"));return ue(It,ne({type:a.value,size:r.value,lang:f.value})),(i,l)=>F(i.$slots,"default")}}),Cd=E($d),wd={model:Z(),labelWidth:z(),labelPosition:h("left",t=>["left","top"].includes(t)),onSubmit:P()},sn=Symbol("form-provide-key"),Sd=L({name:"FForm",__name:"form",props:wd,setup(t,{expose:e}){const n=t,{run:a}=j(),{childrenCheckResult:r,validate:f}=vl(n),i=l=>{l.preventDefault();const c=n.model?f():!0;a(n.onSubmit,c,n.model,r,l)};return ue(sn,ne({..._e(n),childrenCheckResult:r})),e({submit:i,validate:f}),(l,c)=>l.$slots.default?(u(),p("form",{key:0,role:"form",class:"f-form",onsubmit:i},[F(l.$slots,"default")])):w("",!0)}}),Fd=E(Sd),zd={label:h(),name:h(),rules:{type:[Array,Object],default:()=>null}},Ld={key:0,class:"f-form-item__label"},Id={class:"f-form-item__content"},Pd={key:0,class:"f-form-item__error"},Ed=L({name:"FFormItem",__name:"form-item",props:zd,setup(t){const e=t,n=le(sn,null),a=M(()=>{const i=n&&n.childrenCheckResult[e.name];return me(i)?i:!1}),r=M(()=>({"--form-item-label-width":n&&xe(n.labelWidth)})),f=M(()=>["f-form-item",{[`f-form-item__label-${n==null?void 0:n.labelPosition}`]:n==null?void 0:n.labelPosition}]);return(i,l)=>(u(),p("div",{class:T(f.value),style:D(r.value)},[i.label?(u(),p("label",Ld,H(i.label),1)):w("",!0),$("div",Id,[F(i.$slots,"default"),V(ce,{name:"f-form-item__err-transition"},{default:A(()=>[a.value?(u(),p("div",Pd,H(a.value),1)):w("",!0)]),_:1})])],6))}}),Td=E(Ed),Vd={role:h(),padding:z(),width:z(),height:z(),background:h(),display:h()},Md=["role"],Bd=L({name:"FBox",__name:"box",props:Vd,setup(t){const e=t,{styles:n}=G(e,"box"),a=n(["padding","width","height","background","display"]);return(r,f)=>(u(),p("div",{class:"f-box",role:r.role||"none",style:D(o(a))},[F(r.$slots,"default")],12,Md))}}),Ad=E(Bd),Nd={distance:z(0),onScrollEnd:P()},Dd={class:"f-infinite-scrolling"},Rd=L({name:"FInfiniteScrolling",__name:"infinite-scrolling",props:Nd,setup(t){const e=t,{run:n}=j(),a=B(),r=()=>new IntersectionObserver(f=>{f[0].isIntersecting&&n(e.onScrollEnd)},{rootMargin:xe(e.distance)});return ie(()=>{a.value&&r().observe(a.value)}),(f,i)=>(u(),p("div",Dd,[F(f.$slots,"default"),$("div",{ref_key:"loadingRef",ref:a,class:"f-infinite-scrolling__loading"},"加载中...",512)]))}}),Od=E(Rd),Hd={from:O(0),to:O(),approximateTime:O(2e3),localeString:g(),styles:Z(),automatic:g(!0),onAnimationEnd:P()},Gd=L({name:"FNumberAnimate",__name:"number-animate",props:Hd,setup(t,{expose:e}){const n=t,{run:a}=j(),r=B(n.from),f=B(!1),i=d=>{f.value&&(r.value=n.from,f.value=!1);const m=Number(n.to);if(!ee(Number(r.value))||!ee(m)){ye("f-number-animate","Expected value is not a number");return}if(r.value+=m/n.approximateTime*20,r.value>=m){r.value=m,a(n.onAnimationEnd,d);return}window&&window.requestAnimationFrame(i)},l=M(()=>n.localeString?r.value.toLocaleString():r.value),c=(d=!0)=>{f.value=d,window&&window.requestAnimationFrame(i)};return ie(()=>{n.automatic&&c(!1)}),e({run:()=>{c()}}),(d,m)=>(u(),p("div",{class:"f-number-animate",style:D(d.styles)},H(l.value),5))}}),jd=E(Gd),Ud={time:z(0),interval:z(1e3),format:h("HH:mm:ss"),autoStart:g(!0),millisecond:g(!1),onFinish:P()},xd={class:"f-count-down"},qd={key:0,class:"f-count-down__text"},Yd=L({name:"FCountDown",__name:"count-down",props:Ud,setup(t,{expose:e}){const n=t,{run:a}=j(),{start:r,pause:f,reset:i,current:l}=hl({time:+n.time,millisecond:n.millisecond,interval:+n.interval,onFinish:()=>{a(n.onFinish)}}),c=(d,m)=>{const{days:y}=m;let{hours:_,minutes:b,seconds:v,milliseconds:C}=m;const k=(I,S=2)=>(I+"").padStart(S,"0");if(d.includes("DD")?d=d.replace("DD",k(y)):_+=y*24,d.includes("HH")?d=d.replace("HH",k(_)):b+=_*60,d.includes("mm")?d=d.replace("mm",k(b)):v+=b*60,d.includes("ss")?d=d.replace("ss",k(v)):C+=v*1e3,d.includes("S")){const I=k(C,3);d.includes("SSS")?d=d.replace("SSS",I):d.includes("SS")?d=d.replace("SS",I.slice(0,2)):d=d.replace("S",I.charAt(0))}return d},s=M(()=>c(n.format,l.value));return pe(()=>n.time,()=>{i(+n.time),n.autoStart&&r()},{immediate:!0}),e({current:l,start:r,pause:f,reset:i}),(d,m)=>(u(),p("div",xd,[d.$slots.default?w("",!0):(u(),p("span",qd,H(s.value),1)),F(d.$slots,"default",Ct(vn(o(l))))]))}}),Kd=E(Yd),Zd=L({name:"FAvatarGroup",__name:"avatar-group",props:El,setup(t){const e=t,{styles:n}=G(e,"avatar-group");ue(jt,e);const a=B();ie(()=>{if(a.value){const i=a.value.querySelectorAll(".f-avatar");i&&i.length&&i.forEach((l,c)=>{l.style.zIndex=(i.length-c).toString()})}});const f=n(["positionSize"]);return(i,l)=>(u(),p("div",{ref_key:"avatarGroupRef",ref:a,role:"group",class:"f-avatar-group",style:D(o(f))},[F(i.$slots,"default")],4))}}),Wd=E(Zd),Xd={name:z(),label:h(),lazy:g()},Jd=L({name:"FTabsItem",__name:"tabs-item",props:Xd,setup(t){const e=t,n=je(),a=B(e.name),r=le(on,null),f=ne({activeName:a,uid:n.uid,label:e.label}),i=M(()=>r?r.activeName.value===a.value?!0:!e.lazy:!1),l=M(()=>r?r.activeName.value===f.activeName:!1);return ie(()=>{r&&r.registerChild(f)}),(c,s)=>i.value?re((u(),p("div",{key:0,class:T(["f-tabs-item",{"f-tabs-item__active":l.value}]),role:"tabpanel"},[F(c.$slots,"default")],2)),[[be,l.value]]):w("",!0)}}),Qd=E(Jd),ef=Object.freeze(Object.defineProperty({__proto__:null,FAlert:Fl,FAside:Il,FAvatar:Al,FAvatarGroup:Wd,FBackTop:Rl,FBadge:jl,FBox:Ad,FBreadcrumb:Yl,FBreadcrumbItem:Xl,FButton:se,FButtonGroup:Ql,FCalendar:Kt,FCard:Rr,FCheckbox:Se,FCheckboxGroup:Wt,FCloseBtn:$e,FCollapseAnimation:Ze,FConfirmBox:Un,FCountDown:Kd,FDatePicker:Du,FDialog:oa,FDivider:aa,FDrawer:ha,FDropdown:at,FDropdownItem:mu,FEmpty:it,FExpandCard:ka,FFightingGlobal:Cd,FFooter:wa,FForm:Fd,FFormItem:Td,FHeader:za,FImage:Yt,FImagePreview:Na,FInfiniteScrolling:Od,FInput:Ee,FInputNumber:Cu,FLayout:Oa,FLink:Ua,FList:Za,FListItem:Ja,FMain:ti,FMenu:Qu,FMenuItem:od,FMenuItemGroup:_d,FMessage:Pt,FNotification:Et,FNumberAnimate:jd,FOption:Oe,FPageHeader:ai,FPagination:Vc,FProgress:yi,FRadio:zi,FRadioGroup:Ii,FRate:Ni,FRipple:Oi,FSelect:He,FSkeleton:ji,FSlider:kd,FSpace:xn,FStickyCard:tn,FSubmenu:dd,FSvgIcon:x,FSwap:qt,FSwitch:ec,FTable:fu,FTabs:Tu,FTabsItem:Qd,FTag:oc,FText:en,FTextarea:gu,FTimePicker:Yu,FToolbar:Xt,FToolbarItem:we,FTooltip:ac,FTree:_c,FTrigger:Ke,FUpLoad:zc,FWatermark:yc},Symbol.toStringTag,{value:"Module"})),tf="1.0.0-alpha.7",nf=E({directive:Rn(cl(),"loading")}),of=t=>(qn(ef).forEach(([e,n])=>{t.component(e,n)}),t.config.globalProperties.FMessage=Pt,t.config.globalProperties.FNotification=Et,t.directive("loading",nf.directive),t),sf={version:tf,install:of};const lf=[{title:"安装",rule:"安装",url:"docs/install"},{title:"快速上手",rule:"快速上手完整引入自动导入按需引入",url:"docs/import"},{title:"介绍",rule:"介绍",url:"docs/introduce"},{title:"贡献指南",rule:"贡献指南",url:"docs/contributing"},{title:"加入我们",rule:"加入我们",url:"docs/join"},{title:"更新日志",rule:"更新日志changelogCONTRIBUTING",url:"docs/changelog"},{title:"里程碑",rule:"里程碑",url:"docs/milepost"},{title:"Button 按钮",rule:"buttonButton按钮第一个组件",url:"components/button"},{title:"Svg Icon 图标",rule:"svg-iconSvgIcon图标icon",url:"components/svg-icon"},{title:"Link 链接",rule:"linkLink链接超链接",url:"components/link"},{title:"Text 文字",rule:"textText文字文本段落",url:"components/text"},{title:"Layout 布局",rule:"layoutLayout布局容器",url:"components/layout"},{title:"Space 间距",rule:"spaceSpace间距",url:"components/space"},{title:"Color 色彩",rule:"colorColor色彩",url:"components/color"},{title:"Badge 角标",rule:"badgeBadge角标",url:"components/badge"},{title:"Image 图片",rule:"imageImage图片",url:"components/image"},{title:"Image Preview 图片预览",rule:"image-previewImagePreview图片预览",url:"components/image-preview"},{title:"Card 卡片",rule:"cardCard卡片",url:"components/card"},{title:"Tag 标签",rule:"tagTag标签",url:"components/tag"},{title:"Switch 开关",rule:"switchSwitch开关游戏机",url:"components/switch"},{title:"Avatar 头像",rule:"avatarAvatar头像",url:"components/avatar"},{title:"Progress 进度条",rule:"progressProgress进度条",url:"components/progress"},{title:"Empty 空状态",rule:"emptyEmpty空状态",url:"components/empty"},{title:"List 列表",rule:"listList列表",url:"components/list"},{title:"Radio 单选框",rule:"radioRadio单选框",url:"components/radio"},{title:"Checkbox 复选框",rule:"checkboxCheckbox复选框多选框",url:"components/checkbox"},{title:"ExpandCard 折叠动效",rule:"expand-cardExpandCard折叠动效",url:"components/expand-card"},{title:"Tree 树",rule:"treeTree树形控件",url:"components/tree"},{title:"StickyCard 粘性卡片",rule:"sticky-cardStickyCard粘性卡片",url:"components/sticky-card"},{title:"Rate 评分",rule:"rateRate评分星星",url:"components/rate"},{title:"Input 输入框",rule:"inputInput输入框文本框",url:"components/input"},{title:"Up Load 文件上传",rule:"up-loadUpLoad文件上传upload",url:"components/up-load"},{title:"Table 表格",rule:"tableTable表格",url:"components/table"},{title:"Breadcrumb 面包屑",rule:"breadcrumbBreadcrumb面包屑",url:"components/breadcrumb"},{title:"Page Header 页头",rule:"page-headerPageHeader页头",url:"components/page-header"},{title:"Close Btn 关闭按钮",rule:"close-btnCloseBtn关闭按钮",url:"components/close-btn"},{title:"Dropdown 下拉菜单",rule:"dropdownDropdown下拉菜单",url:"components/dropdown"},{title:"Alert 警告",rule:"alertAlert警告提示信息",url:"components/alert"},{title:"Loading 加载",rule:"loadingLoading加载转圈圈",url:"components/loading"},{title:"Message 消息提示",rule:"messageMessage消息提示",url:"components/message"},{title:"Notification 通知",rule:"notificationNotification通知",url:"components/notification"},{title:"Skeleton 骨架屏",rule:"skeletonSkeleton骨架屏",url:"components/skeleton"},{title:"BackTop 返回顶部",rule:"back-topBackTop返回顶部",url:"components/back-top"},{title:"Dialog 对话框",rule:"dialogDialog对话框",url:"components/dialog"},{title:"Drawer 抽屉",rule:"drawerDrawer抽屉",url:"components/drawer"},{title:"Tooltip 消息提示",rule:"tooltipTooltip消息提示",url:"components/tooltip"},{title:"Swap 切换",rule:"swapSwap 切换",url:"components/swap"},{title:"Toolbar 工具栏",rule:"toolbarToolbar工具栏",url:"components/toolbar"},{title:"Divider 分隔线",rule:"dividerDivider分隔线分割线",url:"components/divider"},{title:"Watermark 水印",rule:"watermarkWatermark水印",url:"components/watermark"},{title:"Ripple 涟漪",rule:"rippleRipple涟漪",url:"components/ripple"},{title:"Calendar 日历",rule:"calendarCalendar日历",url:"components/calendar"},{title:"Select 选择器",rule:"selectSelect选择器",url:"components/select"},{title:"Tabs 标签页",rule:"tabsTabs标签页",url:"components/tabs"},{title:"Textarea 文本域",rule:"textareaTextarea文本域",url:"components/textarea"},{title:"Pagination 分页器",rule:"paginationPagination分页器",url:"components/pagination"},{title:"Time Picker 时间选择器",rule:"time-pickerTimePicker时间选择器",url:"components/time-picker"},{title:"Date Picker 日期选择器",rule:"date-pickerDatePicker日期选择器",url:"components/date-picker"},{title:"Input Number 数字输入框",rule:"input-numberInputNumber数字输入框",url:"components/input-number"},{title:"Trigger 触发器",rule:"triggerTrigger触发器",url:"components/trigger"},{title:"Menu 导航菜单",rule:"menuMenu导航菜单导航栏菜单栏",url:"components/menu"},{title:"CollapseAnimation 折叠动画",rule:"collapse-animationCollapseAnimation折叠动画",url:"components/collapse-animation"},{title:"Slider 滑动输入条",rule:"sliderSlider滑动输入条",url:"components/slider"},{title:"Fighting Global 全局配置",rule:"fighting-globalFightingGlobal全局配置",url:"components/fighting-global"},{title:"Interface 接口类型",rule:"interfaceInterface接口类型type",url:"components/interface"},{title:"Form 表单",rule:"formForm表单",url:"components/form"},{title:"Box 盒子",rule:"boxBox盒子div",url:"components/box"},{title:"Infinite Scrolling 无限滚动",rule:"infinite-scrollingInfiniteScrolling无限滚动",url:"components/infinite-scrolling"},{title:"Number Animate 数字动画",rule:"number-animateNumberAnimate数字动画",url:"components/number-animate"},{title:"Count Down 倒计时",rule:"count-downCountDown倒计时",url:"components/count-down"},{title:"Avatar Group 头像组",rule:"avatar-groupAvatarGroup头像组",url:"components/avatar-group"},{title:"Confirm Box 确认框",rule:"confirm-boxConfirmBox确认框",url:"components/confirm-box"}],rf={class:"vp-search"},af=["href"],cf=L({name:"VpSearch",__name:"vp-search",setup(t){const{isDark:e}=Ft(),n=B(""),a=B(!1),r=B(),f=()=>{n.value&&(r.value=lf.filter(c=>c.rule.includes(n.value)),r.value&&r.value.length&&(a.value=!0,setTimeout(()=>{const c=document.querySelectorAll(".vp-search__link");c.length===1&&c[0].click()},200)))},i=()=>{a.value=!1,n.value=""},l=()=>{setTimeout(()=>{a.value=!1},800)};return(c,s)=>{const d=wt("f-input");return u(),p("div",rf,[V(d,{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=m=>n.value=m),type:"text",autocomplete:"off",placeholder:"搜索组件","on-enter":f,"on-blur":l,class:T({dark:o(e)})},null,8,["modelValue","class"]),a.value&&r.value&&r.value.length?(u(),p("div",{key:0,class:T(["vp-search__result",{dark:o(e)}]),onClick:de(i,["stop"])},[(u(!0),p(U,null,K(r.value,(m,y)=>(u(),p("a",{class:T(["vp-search__link",{dark:o(e)}]),key:y,href:`/${m.url}.html`},H(m.title),11,af))),128))],2)):w("",!0)])}}});const uf=te(cf,[["__scopeId","data-v-6bdea009"]]),df={...bt,Layout(){return Me(bt.Layout,null,{"nav-bar-content-before":()=>Me(uf)})},enhanceApp({app:t}){t.use(sf),t.component("vp-demo",tn)}};function ln(t){if(t.extends){const e=ln(t.extends);return{...e,...t,async enhanceApp(n){e.enhanceApp&&await e.enhanceApp(n),t.enhanceApp&&await t.enhanceApp(n)}}}return t}const ze=ln(df),ff=L({name:"VitePressApp",setup(){const{site:t}=Ft();return ie(()=>{tt(()=>{document.documentElement.lang=t.value.lang,document.documentElement.dir=t.value.dir})}),Pn(),En(),Tn(),ze.setup&&ze.setup(),()=>Me(ze.Layout)}});async function pf(){const t=mf(),e=bf();e.provide(yn,t);const n=kn(t.route);return e.provide($n,n),e.component("Content",Cn),e.component("ClientOnly",wn),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get(){return n.frontmatter.value}},$params:{get(){return n.page.value.params}}}),ze.enhanceApp&&await ze.enhanceApp({app:e,router:t,siteData:Sn}),{app:e,router:t,data:n}}function bf(){return Fn(ff)}function mf(){let t=Je,e;return zn(n=>{let a=Ln(n);return t&&(e=a),(t||e===a)&&(a=a.replace(/\.js$/,".lean.js")),Je&&(t=!1),In(()=>import(a),[])},ze.NotFound)}Je&&pf().then(({app:t,router:e,data:n})=>{e.go().then(()=>{gn(e.route,n.site),t.mount("#app")})});export{pf as createApp};
diff --git a/assets/chunks/theme.ac1019f2.js b/assets/chunks/theme.f83571e3.js
similarity index 94%
rename from assets/chunks/theme.ac1019f2.js
rename to assets/chunks/theme.f83571e3.js
index fb542f3e0..6d087d240 100644
--- a/assets/chunks/theme.ac1019f2.js
+++ b/assets/chunks/theme.f83571e3.js
@@ -1,7 +1,7 @@
-import{d as g,o as a,c as l,r as u,n as B,a as N,t as V,_ as m,u as Ee,b as i,g as et,e as tt,f as L,h as b,w as W,i as J,j as O,k as nt,l as st,P as ot,m as pe,p as Y,q as te,s as he,v as d,F as C,x as y,y as v,z as f,T as fe,A as j,B as se,C as h,D as ze,E as U,G as De,H as Fe,I as at,J as A,K as E,L as z,M as rt,N as xe,O as Oe,Q as me,R as oe,S as it,U as Z,V as ge,W as lt,X as ct,Y as ut,Z as dt,$ as _t}from"./framework.f50263fa.js";const vt=g({__name:"VPBadge",props:{text:{},type:{}},setup(n){return(e,t)=>(a(),l("span",{class:B(["VPBadge",e.type??"tip"])},[u(e.$slots,"default",{},()=>[N(V(e.text),1)],!0)],2))}});const pt=m(vt,[["__scopeId","data-v-f9440a71"]]),S=Ee;function Ge(n){return et()?(tt(n),!0):!1}function ye(n){return typeof n=="function"?n():i(n)}const ht=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ft=Object.prototype.toString,mt=n=>ft.call(n)==="[object Object]",gt=()=>{};function yt(n){var e;const t=ye(n);return(e=t==null?void 0:t.$el)!=null?e:t}const be=ht?window:void 0;function bt(...n){let e,t,o,s;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,o,s]=n,e=be):[e,t,o,s]=n,!e)return gt;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],c=()=>{r.forEach(M=>M()),r.length=0},p=(M,T,I,k)=>(M.addEventListener(T,I,k),()=>M.removeEventListener(T,I,k)),_=W(()=>[yt(e),ye(s)],([M,T])=>{if(c(),!M)return;const I=mt(T)?{...T}:T;r.push(...t.flatMap(k=>o.map(P=>p(M,k,P,I))))},{immediate:!0,flush:"post"}),$=()=>{_(),c()};return Ge($),$}function $t(){const n=L(!1),e=nt();return e&&O(()=>{n.value=!0},e),n}function kt(n){const e=$t();return b(()=>(e.value,!!n()))}function de(n,e={}){const{window:t=be}=e,o=kt(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=L(!1),c=$=>{r.value=$.matches},p=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",c):s.removeListener(c))},_=J(()=>{o.value&&(p(),s=t.matchMedia(ye(n)),"addEventListener"in s?s.addEventListener("change",c):s.addListener(c),r.value=s.matches)});return Ge(()=>{_(),p(),s=void 0}),r}function Re(n={}){const{window:e=be,behavior:t="auto"}=n;if(!e)return{x:L(0),y:L(0)};const o=L(e.scrollX),s=L(e.scrollY),r=b({get(){return o.value},set(p){scrollTo({left:p,behavior:t})}}),c=b({get(){return s.value},set(p){scrollTo({top:p,behavior:t})}});return bt(e,"scroll",()=>{o.value=e.scrollX,s.value=e.scrollY},{capture:!1,passive:!0}),{x:r,y:c}}function Pt(n,e){let t,o=!1;return()=>{t&&clearTimeout(t),o?t=setTimeout(n,e):(n(),o=!0,setTimeout(()=>{o=!1},e))}}function _e(n){return/^\//.test(n)?n:`/${n}`}function ee(n){if(st(n))return n.replace(ot,"");const{site:e}=S(),{pathname:t,search:o,hash:s}=new URL(n,"http://example.com"),r=t.endsWith("/")||t.endsWith(".html")?n:n.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,e.value.cleanUrls?"":".html")}${o}${s}`);return pe(r)}function je(n,e){if(Array.isArray(n))return n;if(n==null)return[];e=_e(e);const t=Object.keys(n).sort((o,s)=>s.split("/").length-o.split("/").length).find(o=>e.startsWith(_e(o)));return t?n[t]:[]}function Vt(n){const e=[];let t=0;for(const o in n){const s=n[o];if(s.items){t=e.push(s);continue}e[t]||e.push({items:[]}),e[t].items.push(s)}return e}function wt(n){const e=[];function t(o){for(const s of o)s.text&&s.link&&e.push({text:s.text,link:s.link}),s.items&&t(s.items)}return t(n),e}function ve(n,e){return Array.isArray(e)?e.some(t=>ve(n,t)):Y(n,e.link)?!0:e.items?ve(n,e.items):!1}function D(){const n=te(),{theme:e,frontmatter:t}=S(),o=de("(min-width: 960px)"),s=L(!1),r=b(()=>{const P=e.value.sidebar,x=n.data.relativePath;return P?je(P,x):[]}),c=b(()=>t.value.sidebar!==!1&&r.value.length>0&&t.value.layout!=="home"),p=b(()=>_?t.value.aside==null?e.value.aside==="left":t.value.aside==="left":!1),_=b(()=>t.value.layout==="home"?!1:t.value.aside!=null?!!t.value.aside:e.value.aside!==!1),$=b(()=>c.value&&o.value),M=b(()=>c.value?Vt(r.value):[]);function T(){s.value=!0}function I(){s.value=!1}function k(){s.value?I():T()}return{isOpen:s,sidebar:r,sidebarGroups:M,hasSidebar:c,hasAside:_,leftAside:p,isSidebarEnabled:$,open:T,close:I,toggle:k}}function St(n,e){let t;J(()=>{t=n.value?document.activeElement:void 0}),O(()=>{window.addEventListener("keyup",o)}),he(()=>{window.removeEventListener("keyup",o)});function o(s){s.key==="Escape"&&n.value&&(e(),t==null||t.focus())}}function Lt(n){const{page:e}=S(),t=L(!1),o=b(()=>n.value.collapsed!=null),s=b(()=>!!n.value.link),r=b(()=>Y(e.value.relativePath,n.value.link)),c=b(()=>r.value?!0:n.value.items?ve(e.value.relativePath,n.value.items):!1),p=b(()=>!!(n.value.items&&n.value.items.length));J(()=>{t.value=!!(o.value&&n.value.collapsed)}),J(()=>{(r.value||c.value)&&(t.value=!1)});function _(){o.value&&(t.value=!t.value)}return{collapsed:t,collapsible:o,isLink:s,isActiveLink:r,hasActiveLink:c,hasChildren:p,toggle:_}}const Mt=g({__name:"VPSkipLink",setup(n){const e=te(),t=L();W(()=>e.path,()=>t.value.focus());function o({target:s}){const r=document.querySelector(decodeURIComponent(s.hash));if(r){const c=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",c)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",c),r.focus(),window.scrollTo(0,0)}}return(s,r)=>(a(),l(C,null,[d("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),d("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:o}," Skip to content ")],64))}});const Ct=m(Mt,[["__scopeId","data-v-7fd7909c"]]),Bt={key:0,class:"VPBackdrop"},Tt=g({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(n){return(e,t)=>(a(),y(fe,{name:"fade"},{default:v(()=>[e.show?(a(),l("div",Bt)):f("",!0)]),_:1}))}});const It=m(Tt,[["__scopeId","data-v-2fb353ae"]]);function xt(){const n=L(!1);function e(){n.value=!0,window.addEventListener("resize",s)}function t(){n.value=!1,window.removeEventListener("resize",s)}function o(){n.value?t():e()}function s(){window.outerWidth>=768&&t()}const r=te();return W(()=>r.path,t),{isScreenOpen:n,openScreen:e,closeScreen:t,toggleScreen:o}}function ne({removeCurrent:n=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:o,page:s,theme:r}=S(),c=b(()=>{var _,$;return{label:(_=t.value.locales[o.value])==null?void 0:_.label,link:(($=t.value.locales[o.value])==null?void 0:$.link)||(o.value==="root"?"/":`/${o.value}/`)}});return{localeLinks:b(()=>Object.entries(t.value.locales).flatMap(([_,$])=>n&&c.value.label===$.label?[]:{text:$.label,link:Nt($.link||(_==="root"?"/":`/${_}/`),r.value.i18nRouting!==!1&&e,s.value.relativePath.slice(c.value.link.length-1),!t.value.cleanUrls)})),currentLang:c}}function Nt(n,e,t,o){return e?n.replace(/\/$/,"")+_e(t.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,o?".html":"")):n}const At=["src","alt"],Ht={inheritAttrs:!1},Et=g({...Ht,__name:"VPImage",props:{image:{},alt:{}},setup(n){return(e,t)=>{const o=j("VPImage",!0);return e.image?(a(),l(C,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),l("img",se({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(pe)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,At)):(a(),l(C,{key:1},[h(o,se({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),h(o,se({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}});const $e=m(Et,[["__scopeId","data-v-8e9127ff"]]),zt=["href"],Dt=g({__name:"VPNavBarTitle",setup(n){const{site:e,theme:t}=S(),{hasSidebar:o}=D(),{currentLang:s}=ne();return(r,c)=>(a(),l("div",{class:B(["VPNavBarTitle",{"has-sidebar":i(o)}])},[d("a",{class:"title",href:i(ee)(i(s).link)},[u(r.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),y($e,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):f("",!0),i(t).siteTitle?(a(),l(C,{key:1},[N(V(i(t).siteTitle),1)],64)):i(t).siteTitle===void 0?(a(),l(C,{key:2},[N(V(i(e).title),1)],64)):f("",!0),u(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,zt)],2))}});const Ft=m(Dt,[["__scopeId","data-v-2e31bd6a"]]);const Ot={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},Gt={class:"DocSearch-Button-Container"},Rt=d("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[d("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),jt={class:"DocSearch-Button-Placeholder"},Ut=d("span",{class:"DocSearch-Button-Keys"},[d("kbd",{class:"DocSearch-Button-Key"}),d("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ne=g({__name:"VPNavBarSearchButton",props:{placeholder:{}},setup(n){return(e,t)=>(a(),l("button",Ot,[d("span",Gt,[Rt,d("span",jt,V(e.placeholder),1)]),Ut]))}});const qt={id:"local-search"},Wt={key:1,id:"docsearch"},Yt=g({__name:"VPNavBarSearch",setup(n){const e=()=>null,t=()=>null,{theme:o,localeIndex:s}=S(),r=L(!1),c=L(!1),p=b(()=>{var P,x,w,H,K,F,Ie;const k=((P=o.value.search)==null?void 0:P.options)??o.value.algolia;return((K=(H=(w=(x=k==null?void 0:k.locales)==null?void 0:x[s.value])==null?void 0:w.translations)==null?void 0:H.button)==null?void 0:K.buttonText)||((Ie=(F=k==null?void 0:k.translations)==null?void 0:F.button)==null?void 0:Ie.buttonText)||"Search"});O(()=>{});function _(){r.value||(r.value=!0,setTimeout($,16))}function $(){const k=new Event("keydown");k.key="k",k.metaKey=!0,window.dispatchEvent(k),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||$()},16)}const M=L(!1),T=L("'Meta'");O(()=>{T.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"'⌘'":"'Ctrl'"});const I="";return(k,P)=>{var x;return a(),l("div",{class:"VPNavBarSearch",style:ze({"--vp-meta-key":T.value})},[i(I)==="local"?(a(),l(C,{key:0},[M.value?(a(),y(i(e),{key:0,placeholder:p.value,onClose:P[0]||(P[0]=w=>M.value=!1)},null,8,["placeholder"])):f("",!0),d("div",qt,[h(Ne,{placeholder:p.value,onClick:P[1]||(P[1]=w=>M.value=!0)},null,8,["placeholder"])])],64)):i(I)==="algolia"?(a(),l(C,{key:1},[r.value?(a(),y(i(t),{key:0,algolia:((x=i(o).search)==null?void 0:x.options)??i(o).algolia,onVnodeBeforeMount:P[2]||(P[2]=w=>c.value=!0)},null,8,["algolia"])):f("",!0),c.value?f("",!0):(a(),l("div",Wt,[h(Ne,{placeholder:p.value,onClick:_},null,8,["placeholder"])]))],64)):f("",!0)],4)}}});const Kt={},Xt={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},Qt=d("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),Jt=d("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),Zt=[Qt,Jt];function en(n,e){return a(),l("svg",Xt,Zt)}const tn=m(Kt,[["render",en]]),nn=g({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(n){const e=n,t=b(()=>e.tag??e.href?"a":"span"),o=b(()=>e.href&&De.test(e.href));return(s,r)=>(a(),y(U(t.value),{class:B(["VPLink",{link:s.href}]),href:s.href?i(ee)(s.href):void 0,target:s.target||(o.value?"_blank":void 0),rel:s.rel||(o.value?"noreferrer":void 0)},{default:v(()=>[u(s.$slots,"default",{},void 0,!0),o.value&&!s.noIcon?(a(),y(tn,{key:0,class:"icon"})):f("",!0)]),_:3},8,["class","href","target","rel"]))}});const G=m(nn,[["__scopeId","data-v-a7de9a88"]]),sn=g({__name:"VPNavBarMenuLink",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),y(G,{class:B({VPNavBarMenuLink:!0,active:i(Y)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["class","href","target","rel"]))}});const on=m(sn,[["__scopeId","data-v-fe38a054"]]),ke=L();let Ue=!1,ue=0;function an(n){const e=L(!1);if(Fe){!Ue&&rn(),ue++;const t=W(ke,o=>{var s,r,c;o===n.el.value||(s=n.el.value)!=null&&s.contains(o)?(e.value=!0,(r=n.onFocus)==null||r.call(n)):(e.value=!1,(c=n.onBlur)==null||c.call(n))});he(()=>{t(),ue--,ue||ln()})}return at(e)}function rn(){document.addEventListener("focusin",qe),Ue=!0,ke.value=document.activeElement}function ln(){document.removeEventListener("focusin",qe)}function qe(){ke.value=document.activeElement}const cn={},un={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},dn=d("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),_n=[dn];function vn(n,e){return a(),l("svg",un,_n)}const We=m(cn,[["render",vn]]),pn={},hn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},fn=d("circle",{cx:"12",cy:"12",r:"2"},null,-1),mn=d("circle",{cx:"19",cy:"12",r:"2"},null,-1),gn=d("circle",{cx:"5",cy:"12",r:"2"},null,-1),yn=[fn,mn,gn];function bn(n,e){return a(),l("svg",hn,yn)}const $n=m(pn,[["render",bn]]),kn={class:"VPMenuLink"},Pn=g({__name:"VPMenuLink",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),l("div",kn,[h(G,{class:B({active:i(Y)(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:v(()=>[N(V(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const le=m(Pn,[["__scopeId","data-v-e451c01c"]]),Vn={class:"VPMenuGroup"},wn={key:0,class:"title"},Sn=g({__name:"VPMenuGroup",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),l("div",Vn,[e.text?(a(),l("p",wn,V(e.text),1)):f("",!0),(a(!0),l(C,null,A(e.items,o=>(a(),l(C,null,["link"in o?(a(),y(le,{key:0,item:o},null,8,["item"])):f("",!0)],64))),256))]))}});const Ln=m(Sn,[["__scopeId","data-v-6170b0ef"]]),Mn={class:"VPMenu"},Cn={key:0,class:"items"},Bn=g({__name:"VPMenu",props:{items:{}},setup(n){return(e,t)=>(a(),l("div",Mn,[e.items?(a(),l("div",Cn,[(a(!0),l(C,null,A(e.items,o=>(a(),l(C,{key:o.text},["link"in o?(a(),y(le,{key:0,item:o},null,8,["item"])):(a(),y(Ln,{key:1,text:o.text,items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0),u(e.$slots,"default",{},void 0,!0)]))}});const Tn=m(Bn,[["__scopeId","data-v-d04f4b61"]]),In=["aria-expanded","aria-label"],xn={key:0,class:"text"},Nn={class:"menu"},An=g({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(n){const e=L(!1),t=L();an({el:t,onBlur:o});function o(){e.value=!1}return(s,r)=>(a(),l("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=c=>e.value=!0),onMouseleave:r[2]||(r[2]=c=>e.value=!1)},[d("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":s.label,onClick:r[0]||(r[0]=c=>e.value=!e.value)},[s.button||s.icon?(a(),l("span",xn,[s.icon?(a(),y(U(s.icon),{key:0,class:"option-icon"})):f("",!0),N(" "+V(s.button)+" ",1),h(We,{class:"text-icon"})])):(a(),y($n,{key:1,class:"icon"}))],8,In),d("div",Nn,[h(Tn,{items:s.items},{default:v(()=>[u(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const Pe=m(An,[["__scopeId","data-v-a7aec226"]]),Hn=g({__name:"VPNavBarMenuGroup",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),y(Pe,{class:B({VPNavBarMenuGroup:!0,active:i(Y)(i(e).relativePath,t.item.activeMatch,!!t.item.activeMatch)}),button:t.item.text,items:t.item.items},null,8,["class","button","items"]))}}),En=n=>(E("data-v-571df516"),n=n(),z(),n),zn={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Dn=En(()=>d("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Fn=g({__name:"VPNavBarMenu",setup(n){const{theme:e}=S();return(t,o)=>i(e).nav?(a(),l("nav",zn,[Dn,(a(!0),l(C,null,A(i(e).nav,s=>(a(),l(C,{key:s.text},["link"in s?(a(),y(on,{key:0,item:s},null,8,["item"])):(a(),y(Hn,{key:1,item:s},null,8,["item"]))],64))),128))])):f("",!0)}});const On=m(Fn,[["__scopeId","data-v-571df516"]]),Gn={},Rn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},jn=d("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Un=d("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),qn=[jn,Un];function Wn(n,e){return a(),l("svg",Rn,qn)}const Ye=m(Gn,[["render",Wn]]),Yn={class:"items"},Kn={class:"title"},Xn=g({__name:"VPNavBarTranslations",setup(n){const{theme:e}=S(),{localeLinks:t,currentLang:o}=ne({correspondingLink:!0});return(s,r)=>i(t).length&&i(o).label?(a(),y(Pe,{key:0,class:"VPNavBarTranslations",icon:Ye,label:i(e).langMenuLabel||"Change language"},{default:v(()=>[d("div",Yn,[d("p",Kn,V(i(o).label),1),(a(!0),l(C,null,A(i(t),c=>(a(),y(le,{key:c.link,item:c},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}});const Qn=m(Xn,[["__scopeId","data-v-e50068a6"]]);const Jn={},Zn={class:"VPSwitch",type:"button",role:"switch"},es={class:"check"},ts={key:0,class:"icon"};function ns(n,e){return a(),l("button",Zn,[d("span",es,[n.$slots.default?(a(),l("span",ts,[u(n.$slots,"default",{},void 0,!0)])):f("",!0)])])}const ss=m(Jn,[["render",ns],["__scopeId","data-v-906c6540"]]),os={},as={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},rs=rt(' ',9),is=[rs];function ls(n,e){return a(),l("svg",as,is)}const cs=m(os,[["render",ls]]),us={},ds={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_s=d("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),vs=[_s];function ps(n,e){return a(),l("svg",ds,vs)}const hs=m(us,[["render",ps]]),fs=g({__name:"vp-theme-apperence",setup(n){const{site:e,isDark:t}=Ee(),o=L(!1),s=Fe?r():()=>{};O(()=>{o.value=document.documentElement.classList.contains("dark")});function r(){const c=window.matchMedia("(prefers-color-scheme: dark)"),p=document.documentElement.classList;let _=localStorage.getItem(xe),$=e.value.appearance==="dark"&&_==null||(_==="auto"||_==null?c.matches:_==="dark");c.onchange=k=>{_==="auto"&&I($=k.matches)};function M(){I($=!$),_=$?c.matches?"auto":"dark":c.matches?"light":"auto",localStorage.setItem(xe,_)}function T(k){if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches)||!k){M();return}const x=k.clientX,w=k.clientY,H=Math.hypot(Math.max(x,innerWidth-x),Math.max(w,innerHeight-w));document.startViewTransition(async()=>{M(),await Oe()}).ready.then(()=>{const F=[`circle(0px at ${x}px ${w}px)`,`circle(${H}px at ${x}px ${w}px)`];document.documentElement.animate({clipPath:$?[...F].reverse():F},{duration:400,easing:"ease-out",pseudoElement:$?"::view-transition-old(root)":"::view-transition-new(root)"})})}function I(k){const P=document.createElement("style");P.type="text/css",P.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) {
+import{d as g,o as a,c as l,r as u,n as B,a as N,t as V,_ as m,u as Ee,b as i,g as et,e as tt,f as L,h as b,w as W,i as J,j as O,k as nt,l as st,P as ot,m as pe,p as Y,q as te,s as he,v as d,F as C,x as y,y as v,z as f,T as fe,A as j,B as se,C as h,D as ze,E as U,G as De,H as Fe,I as at,J as A,K as E,L as z,M as rt,N as xe,O as Oe,Q as me,R as oe,S as it,U as Z,V as ge,W as lt,X as ct,Y as ut,Z as dt,$ as _t}from"./framework.f50263fa.js";const vt=g({__name:"VPBadge",props:{text:{},type:{}},setup(n){return(e,t)=>(a(),l("span",{class:B(["VPBadge",e.type??"tip"])},[u(e.$slots,"default",{},()=>[N(V(e.text),1)],!0)],2))}});const pt=m(vt,[["__scopeId","data-v-d8ebe787"]]),S=Ee;function Ge(n){return et()?(tt(n),!0):!1}function ye(n){return typeof n=="function"?n():i(n)}const ht=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ft=Object.prototype.toString,mt=n=>ft.call(n)==="[object Object]",gt=()=>{};function yt(n){var e;const t=ye(n);return(e=t==null?void 0:t.$el)!=null?e:t}const be=ht?window:void 0;function bt(...n){let e,t,o,s;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,o,s]=n,e=be):[e,t,o,s]=n,!e)return gt;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],c=()=>{r.forEach(M=>M()),r.length=0},p=(M,T,I,k)=>(M.addEventListener(T,I,k),()=>M.removeEventListener(T,I,k)),_=W(()=>[yt(e),ye(s)],([M,T])=>{if(c(),!M)return;const I=mt(T)?{...T}:T;r.push(...t.flatMap(k=>o.map(P=>p(M,k,P,I))))},{immediate:!0,flush:"post"}),$=()=>{_(),c()};return Ge($),$}function $t(){const n=L(!1),e=nt();return e&&O(()=>{n.value=!0},e),n}function kt(n){const e=$t();return b(()=>(e.value,!!n()))}function de(n,e={}){const{window:t=be}=e,o=kt(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=L(!1),c=$=>{r.value=$.matches},p=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",c):s.removeListener(c))},_=J(()=>{o.value&&(p(),s=t.matchMedia(ye(n)),"addEventListener"in s?s.addEventListener("change",c):s.addListener(c),r.value=s.matches)});return Ge(()=>{_(),p(),s=void 0}),r}function Re(n={}){const{window:e=be,behavior:t="auto"}=n;if(!e)return{x:L(0),y:L(0)};const o=L(e.scrollX),s=L(e.scrollY),r=b({get(){return o.value},set(p){scrollTo({left:p,behavior:t})}}),c=b({get(){return s.value},set(p){scrollTo({top:p,behavior:t})}});return bt(e,"scroll",()=>{o.value=e.scrollX,s.value=e.scrollY},{capture:!1,passive:!0}),{x:r,y:c}}function Pt(n,e){let t,o=!1;return()=>{t&&clearTimeout(t),o?t=setTimeout(n,e):(n(),o=!0,setTimeout(()=>{o=!1},e))}}function _e(n){return/^\//.test(n)?n:`/${n}`}function ee(n){if(st(n))return n.replace(ot,"");const{site:e}=S(),{pathname:t,search:o,hash:s}=new URL(n,"http://example.com"),r=t.endsWith("/")||t.endsWith(".html")?n:n.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,e.value.cleanUrls?"":".html")}${o}${s}`);return pe(r)}function je(n,e){if(Array.isArray(n))return n;if(n==null)return[];e=_e(e);const t=Object.keys(n).sort((o,s)=>s.split("/").length-o.split("/").length).find(o=>e.startsWith(_e(o)));return t?n[t]:[]}function Vt(n){const e=[];let t=0;for(const o in n){const s=n[o];if(s.items){t=e.push(s);continue}e[t]||e.push({items:[]}),e[t].items.push(s)}return e}function wt(n){const e=[];function t(o){for(const s of o)s.text&&s.link&&e.push({text:s.text,link:s.link}),s.items&&t(s.items)}return t(n),e}function ve(n,e){return Array.isArray(e)?e.some(t=>ve(n,t)):Y(n,e.link)?!0:e.items?ve(n,e.items):!1}function D(){const n=te(),{theme:e,frontmatter:t}=S(),o=de("(min-width: 960px)"),s=L(!1),r=b(()=>{const P=e.value.sidebar,x=n.data.relativePath;return P?je(P,x):[]}),c=b(()=>t.value.sidebar!==!1&&r.value.length>0&&t.value.layout!=="home"),p=b(()=>_?t.value.aside==null?e.value.aside==="left":t.value.aside==="left":!1),_=b(()=>t.value.layout==="home"?!1:t.value.aside!=null?!!t.value.aside:e.value.aside!==!1),$=b(()=>c.value&&o.value),M=b(()=>c.value?Vt(r.value):[]);function T(){s.value=!0}function I(){s.value=!1}function k(){s.value?I():T()}return{isOpen:s,sidebar:r,sidebarGroups:M,hasSidebar:c,hasAside:_,leftAside:p,isSidebarEnabled:$,open:T,close:I,toggle:k}}function St(n,e){let t;J(()=>{t=n.value?document.activeElement:void 0}),O(()=>{window.addEventListener("keyup",o)}),he(()=>{window.removeEventListener("keyup",o)});function o(s){s.key==="Escape"&&n.value&&(e(),t==null||t.focus())}}function Lt(n){const{page:e}=S(),t=L(!1),o=b(()=>n.value.collapsed!=null),s=b(()=>!!n.value.link),r=b(()=>Y(e.value.relativePath,n.value.link)),c=b(()=>r.value?!0:n.value.items?ve(e.value.relativePath,n.value.items):!1),p=b(()=>!!(n.value.items&&n.value.items.length));J(()=>{t.value=!!(o.value&&n.value.collapsed)}),J(()=>{(r.value||c.value)&&(t.value=!1)});function _(){o.value&&(t.value=!t.value)}return{collapsed:t,collapsible:o,isLink:s,isActiveLink:r,hasActiveLink:c,hasChildren:p,toggle:_}}const Mt=g({__name:"VPSkipLink",setup(n){const e=te(),t=L();W(()=>e.path,()=>t.value.focus());function o({target:s}){const r=document.querySelector(decodeURIComponent(s.hash));if(r){const c=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",c)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",c),r.focus(),window.scrollTo(0,0)}}return(s,r)=>(a(),l(C,null,[d("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),d("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:o}," Skip to content ")],64))}});const Ct=m(Mt,[["__scopeId","data-v-0c37ef85"]]),Bt={key:0,class:"VPBackdrop"},Tt=g({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(n){return(e,t)=>(a(),y(fe,{name:"fade"},{default:v(()=>[e.show?(a(),l("div",Bt)):f("",!0)]),_:1}))}});const It=m(Tt,[["__scopeId","data-v-18776a65"]]);function xt(){const n=L(!1);function e(){n.value=!0,window.addEventListener("resize",s)}function t(){n.value=!1,window.removeEventListener("resize",s)}function o(){n.value?t():e()}function s(){window.outerWidth>=768&&t()}const r=te();return W(()=>r.path,t),{isScreenOpen:n,openScreen:e,closeScreen:t,toggleScreen:o}}function ne({removeCurrent:n=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:o,page:s,theme:r}=S(),c=b(()=>{var _,$;return{label:(_=t.value.locales[o.value])==null?void 0:_.label,link:(($=t.value.locales[o.value])==null?void 0:$.link)||(o.value==="root"?"/":`/${o.value}/`)}});return{localeLinks:b(()=>Object.entries(t.value.locales).flatMap(([_,$])=>n&&c.value.label===$.label?[]:{text:$.label,link:Nt($.link||(_==="root"?"/":`/${_}/`),r.value.i18nRouting!==!1&&e,s.value.relativePath.slice(c.value.link.length-1),!t.value.cleanUrls)})),currentLang:c}}function Nt(n,e,t,o){return e?n.replace(/\/$/,"")+_e(t.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,o?".html":"")):n}const At=["src","alt"],Ht={inheritAttrs:!1},Et=g({...Ht,__name:"VPImage",props:{image:{},alt:{}},setup(n){return(e,t)=>{const o=j("VPImage",!0);return e.image?(a(),l(C,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),l("img",se({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(pe)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,At)):(a(),l(C,{key:1},[h(o,se({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),h(o,se({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}});const $e=m(Et,[["__scopeId","data-v-8cde58b2"]]),zt=["href"],Dt=g({__name:"VPNavBarTitle",setup(n){const{site:e,theme:t}=S(),{hasSidebar:o}=D(),{currentLang:s}=ne();return(r,c)=>(a(),l("div",{class:B(["VPNavBarTitle",{"has-sidebar":i(o)}])},[d("a",{class:"title",href:i(ee)(i(s).link)},[u(r.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),y($e,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):f("",!0),i(t).siteTitle?(a(),l(C,{key:1},[N(V(i(t).siteTitle),1)],64)):i(t).siteTitle===void 0?(a(),l(C,{key:2},[N(V(i(e).title),1)],64)):f("",!0),u(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,zt)],2))}});const Ft=m(Dt,[["__scopeId","data-v-2f66d40e"]]);const Ot={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},Gt={class:"DocSearch-Button-Container"},Rt=d("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[d("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),jt={class:"DocSearch-Button-Placeholder"},Ut=d("span",{class:"DocSearch-Button-Keys"},[d("kbd",{class:"DocSearch-Button-Key"}),d("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ne=g({__name:"VPNavBarSearchButton",props:{placeholder:{}},setup(n){return(e,t)=>(a(),l("button",Ot,[d("span",Gt,[Rt,d("span",jt,V(e.placeholder),1)]),Ut]))}});const qt={id:"local-search"},Wt={key:1,id:"docsearch"},Yt=g({__name:"VPNavBarSearch",setup(n){const e=()=>null,t=()=>null,{theme:o,localeIndex:s}=S(),r=L(!1),c=L(!1),p=b(()=>{var P,x,w,H,K,F,Ie;const k=((P=o.value.search)==null?void 0:P.options)??o.value.algolia;return((K=(H=(w=(x=k==null?void 0:k.locales)==null?void 0:x[s.value])==null?void 0:w.translations)==null?void 0:H.button)==null?void 0:K.buttonText)||((Ie=(F=k==null?void 0:k.translations)==null?void 0:F.button)==null?void 0:Ie.buttonText)||"Search"});O(()=>{});function _(){r.value||(r.value=!0,setTimeout($,16))}function $(){const k=new Event("keydown");k.key="k",k.metaKey=!0,window.dispatchEvent(k),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||$()},16)}const M=L(!1),T=L("'Meta'");O(()=>{T.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"'⌘'":"'Ctrl'"});const I="";return(k,P)=>{var x;return a(),l("div",{class:"VPNavBarSearch",style:ze({"--vp-meta-key":T.value})},[i(I)==="local"?(a(),l(C,{key:0},[M.value?(a(),y(i(e),{key:0,placeholder:p.value,onClose:P[0]||(P[0]=w=>M.value=!1)},null,8,["placeholder"])):f("",!0),d("div",qt,[h(Ne,{placeholder:p.value,onClick:P[1]||(P[1]=w=>M.value=!0)},null,8,["placeholder"])])],64)):i(I)==="algolia"?(a(),l(C,{key:1},[r.value?(a(),y(i(t),{key:0,algolia:((x=i(o).search)==null?void 0:x.options)??i(o).algolia,onVnodeBeforeMount:P[2]||(P[2]=w=>c.value=!0)},null,8,["algolia"])):f("",!0),c.value?f("",!0):(a(),l("div",Wt,[h(Ne,{placeholder:p.value,onClick:_},null,8,["placeholder"])]))],64)):f("",!0)],4)}}});const Kt={},Xt={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},Qt=d("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),Jt=d("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),Zt=[Qt,Jt];function en(n,e){return a(),l("svg",Xt,Zt)}const tn=m(Kt,[["render",en]]),nn=g({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(n){const e=n,t=b(()=>e.tag??e.href?"a":"span"),o=b(()=>e.href&&De.test(e.href));return(s,r)=>(a(),y(U(t.value),{class:B(["VPLink",{link:s.href}]),href:s.href?i(ee)(s.href):void 0,target:s.target||(o.value?"_blank":void 0),rel:s.rel||(o.value?"noreferrer":void 0)},{default:v(()=>[u(s.$slots,"default",{},void 0,!0),o.value&&!s.noIcon?(a(),y(tn,{key:0,class:"icon"})):f("",!0)]),_:3},8,["class","href","target","rel"]))}});const G=m(nn,[["__scopeId","data-v-a4df5646"]]),sn=g({__name:"VPNavBarMenuLink",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),y(G,{class:B({VPNavBarMenuLink:!0,active:i(Y)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["class","href","target","rel"]))}});const on=m(sn,[["__scopeId","data-v-acb29869"]]),ke=L();let Ue=!1,ue=0;function an(n){const e=L(!1);if(Fe){!Ue&&rn(),ue++;const t=W(ke,o=>{var s,r,c;o===n.el.value||(s=n.el.value)!=null&&s.contains(o)?(e.value=!0,(r=n.onFocus)==null||r.call(n)):(e.value=!1,(c=n.onBlur)==null||c.call(n))});he(()=>{t(),ue--,ue||ln()})}return at(e)}function rn(){document.addEventListener("focusin",qe),Ue=!0,ke.value=document.activeElement}function ln(){document.removeEventListener("focusin",qe)}function qe(){ke.value=document.activeElement}const cn={},un={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},dn=d("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),_n=[dn];function vn(n,e){return a(),l("svg",un,_n)}const We=m(cn,[["render",vn]]),pn={},hn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},fn=d("circle",{cx:"12",cy:"12",r:"2"},null,-1),mn=d("circle",{cx:"19",cy:"12",r:"2"},null,-1),gn=d("circle",{cx:"5",cy:"12",r:"2"},null,-1),yn=[fn,mn,gn];function bn(n,e){return a(),l("svg",hn,yn)}const $n=m(pn,[["render",bn]]),kn={class:"VPMenuLink"},Pn=g({__name:"VPMenuLink",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),l("div",kn,[h(G,{class:B({active:i(Y)(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:v(()=>[N(V(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const le=m(Pn,[["__scopeId","data-v-93f4e6b8"]]),Vn={class:"VPMenuGroup"},wn={key:0,class:"title"},Sn=g({__name:"VPMenuGroup",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),l("div",Vn,[e.text?(a(),l("p",wn,V(e.text),1)):f("",!0),(a(!0),l(C,null,A(e.items,o=>(a(),l(C,null,["link"in o?(a(),y(le,{key:0,item:o},null,8,["item"])):f("",!0)],64))),256))]))}});const Ln=m(Sn,[["__scopeId","data-v-a80d3f49"]]),Mn={class:"VPMenu"},Cn={key:0,class:"items"},Bn=g({__name:"VPMenu",props:{items:{}},setup(n){return(e,t)=>(a(),l("div",Mn,[e.items?(a(),l("div",Cn,[(a(!0),l(C,null,A(e.items,o=>(a(),l(C,{key:o.text},["link"in o?(a(),y(le,{key:0,item:o},null,8,["item"])):(a(),y(Ln,{key:1,text:o.text,items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0),u(e.$slots,"default",{},void 0,!0)]))}});const Tn=m(Bn,[["__scopeId","data-v-2d44538a"]]),In=["aria-expanded","aria-label"],xn={key:0,class:"text"},Nn={class:"menu"},An=g({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(n){const e=L(!1),t=L();an({el:t,onBlur:o});function o(){e.value=!1}return(s,r)=>(a(),l("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=c=>e.value=!0),onMouseleave:r[2]||(r[2]=c=>e.value=!1)},[d("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":s.label,onClick:r[0]||(r[0]=c=>e.value=!e.value)},[s.button||s.icon?(a(),l("span",xn,[s.icon?(a(),y(U(s.icon),{key:0,class:"option-icon"})):f("",!0),N(" "+V(s.button)+" ",1),h(We,{class:"text-icon"})])):(a(),y($n,{key:1,class:"icon"}))],8,In),d("div",Nn,[h(Tn,{items:s.items},{default:v(()=>[u(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const Pe=m(An,[["__scopeId","data-v-c27a0dcb"]]),Hn=g({__name:"VPNavBarMenuGroup",props:{item:{}},setup(n){const{page:e}=S();return(t,o)=>(a(),y(Pe,{class:B({VPNavBarMenuGroup:!0,active:i(Y)(i(e).relativePath,t.item.activeMatch,!!t.item.activeMatch)}),button:t.item.text,items:t.item.items},null,8,["class","button","items"]))}}),En=n=>(E("data-v-0ea668b6"),n=n(),z(),n),zn={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Dn=En(()=>d("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Fn=g({__name:"VPNavBarMenu",setup(n){const{theme:e}=S();return(t,o)=>i(e).nav?(a(),l("nav",zn,[Dn,(a(!0),l(C,null,A(i(e).nav,s=>(a(),l(C,{key:s.text},["link"in s?(a(),y(on,{key:0,item:s},null,8,["item"])):(a(),y(Hn,{key:1,item:s},null,8,["item"]))],64))),128))])):f("",!0)}});const On=m(Fn,[["__scopeId","data-v-0ea668b6"]]),Gn={},Rn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},jn=d("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Un=d("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),qn=[jn,Un];function Wn(n,e){return a(),l("svg",Rn,qn)}const Ye=m(Gn,[["render",Wn]]),Yn={class:"items"},Kn={class:"title"},Xn=g({__name:"VPNavBarTranslations",setup(n){const{theme:e}=S(),{localeLinks:t,currentLang:o}=ne({correspondingLink:!0});return(s,r)=>i(t).length&&i(o).label?(a(),y(Pe,{key:0,class:"VPNavBarTranslations",icon:Ye,label:i(e).langMenuLabel||"Change language"},{default:v(()=>[d("div",Yn,[d("p",Kn,V(i(o).label),1),(a(!0),l(C,null,A(i(t),c=>(a(),y(le,{key:c.link,item:c},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}});const Qn=m(Xn,[["__scopeId","data-v-8522b2e4"]]);const Jn={},Zn={class:"VPSwitch",type:"button",role:"switch"},es={class:"check"},ts={key:0,class:"icon"};function ns(n,e){return a(),l("button",Zn,[d("span",es,[n.$slots.default?(a(),l("span",ts,[u(n.$slots,"default",{},void 0,!0)])):f("",!0)])])}const ss=m(Jn,[["render",ns],["__scopeId","data-v-c7f120e0"]]),os={},as={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},rs=rt(' ',9),is=[rs];function ls(n,e){return a(),l("svg",as,is)}const cs=m(os,[["render",ls]]),us={},ds={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_s=d("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),vs=[_s];function ps(n,e){return a(),l("svg",ds,vs)}const hs=m(us,[["render",ps]]),fs=g({__name:"vp-theme-apperence",setup(n){const{site:e,isDark:t}=Ee(),o=L(!1),s=Fe?r():()=>{};O(()=>{o.value=document.documentElement.classList.contains("dark")});function r(){const c=window.matchMedia("(prefers-color-scheme: dark)"),p=document.documentElement.classList;let _=localStorage.getItem(xe),$=e.value.appearance==="dark"&&_==null||(_==="auto"||_==null?c.matches:_==="dark");c.onchange=k=>{_==="auto"&&I($=k.matches)};function M(){I($=!$),_=$?c.matches?"auto":"dark":c.matches?"light":"auto",localStorage.setItem(xe,_)}function T(k){if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches)||!k){M();return}const x=k.clientX,w=k.clientY,H=Math.hypot(Math.max(x,innerWidth-x),Math.max(w,innerHeight-w));document.startViewTransition(async()=>{M(),await Oe()}).ready.then(()=>{const F=[`circle(0px at ${x}px ${w}px)`,`circle(${H}px at ${x}px ${w}px)`];document.documentElement.animate({clipPath:$?[...F].reverse():F},{duration:400,easing:"ease-out",pseudoElement:$?"::view-transition-old(root)":"::view-transition-new(root)"})})}function I(k){const P=document.createElement("style");P.type="text/css",P.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) {
-webkit-transition: none !important;
-moz-transition: none !important;
-o-transition: none !important;
-ms-transition: none !important;
transition: none !important;
- }`)),document.head.appendChild(P),o.value=k,p[k?"add":"remove"]("dark"),window.getComputedStyle(P).opacity,document.head.removeChild(P)}return T}return W(o,c=>{t.value=c}),(c,p)=>(a(),y(ss,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":o.value,onClick:i(s)},{default:v(()=>[h(cs,{class:"sun"}),h(hs,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const Ve=m(fs,[["__scopeId","data-v-fddcca66"]]),ms={key:0,class:"VPNavBarAppearance"},gs=g({__name:"VPNavBarAppearance",setup(n){const{site:e}=S();return(t,o)=>i(e).appearance?(a(),l("div",ms,[h(Ve)])):f("",!0)}});const ys=m(gs,[["__scopeId","data-v-11a9981d"]]),bs={discord:'',facebook:'',github:'',instagram:'',linkedin:'',mastodon:'',slack:'',twitter:'',youtube:''},$s=["href","aria-label","innerHTML"],ks=g({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(n){const e=n,t=b(()=>typeof e.icon=="object"?e.icon.svg:bs[e.icon]);return(o,s)=>(a(),l("a",{class:"VPSocialLink",href:o.link,"aria-label":o.ariaLabel??(typeof o.icon=="string"?o.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,$s))}});const Ps=m(ks,[["__scopeId","data-v-111d9860"]]),Vs={class:"VPSocialLinks"},ws=g({__name:"VPSocialLinks",props:{links:{}},setup(n){return(e,t)=>(a(),l("div",Vs,[(a(!0),l(C,null,A(e.links,({link:o,icon:s,ariaLabel:r})=>(a(),y(Ps,{key:o,icon:s,link:o,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}});const we=m(ws,[["__scopeId","data-v-a89f6289"]]),Ss=g({__name:"VPNavBarSocialLinks",setup(n){const{theme:e}=S();return(t,o)=>i(e).socialLinks?(a(),y(we,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}});const Ls=m(Ss,[["__scopeId","data-v-41cf8c5b"]]),Ms={key:0,class:"group translations"},Cs={class:"trans-title"},Bs={key:1,class:"group"},Ts={class:"item appearance"},Is={class:"label"},xs={class:"appearance-action"},Ns={key:2,class:"group"},As={class:"item social-links"},Hs=g({__name:"VPNavBarExtra",setup(n){const{site:e,theme:t}=S(),{localeLinks:o,currentLang:s}=ne({correspondingLink:!0}),r=b(()=>o.value.length&&s.value.label||e.value.appearance||t.value.socialLinks);return(c,p)=>r.value?(a(),y(Pe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[i(o).length&&i(s).label?(a(),l("div",Ms,[d("p",Cs,V(i(s).label),1),(a(!0),l(C,null,A(i(o),_=>(a(),y(le,{key:_.link,item:_},null,8,["item"]))),128))])):f("",!0),i(e).appearance?(a(),l("div",Bs,[d("div",Ts,[d("p",Is,V(i(t).darkModeSwitchLabel||"Appearance"),1),d("div",xs,[h(Ve)])])])):f("",!0),i(t).socialLinks?(a(),l("div",Ns,[d("div",As,[h(we,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}});const Es=m(Hs,[["__scopeId","data-v-ae063b1c"]]),zs=n=>(E("data-v-fff321c7"),n=n(),z(),n),Ds=["aria-expanded"],Fs=zs(()=>d("span",{class:"container"},[d("span",{class:"top"}),d("span",{class:"middle"}),d("span",{class:"bottom"})],-1)),Os=[Fs],Gs=g({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(n){return(e,t)=>(a(),l("button",{type:"button",class:B(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=o=>e.$emit("click"))},Os,10,Ds))}});const Rs=m(Gs,[["__scopeId","data-v-fff321c7"]]),js=n=>(E("data-v-0362c6a0"),n=n(),z(),n),Us={class:"container"},qs={class:"title"},Ws={class:"content"},Ys=js(()=>d("div",{class:"curtain"},null,-1)),Ks={class:"content-body"},Xs=g({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(n){const{y:e}=Re(),{hasSidebar:t}=D(),o=b(()=>({"has-sidebar":t.value,fill:e.value>0}));return(s,r)=>(a(),l("div",{class:B(["VPNavBar",o.value])},[d("div",Us,[d("div",qs,[h(Ft,null,{"nav-bar-title-before":v(()=>[u(s.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(s.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),d("div",Ws,[Ys,d("div",Ks,[u(s.$slots,"nav-bar-content-before",{},void 0,!0),h(Yt,{class:"search"}),h(On,{class:"menu"}),h(Qn,{class:"translations"}),h(ys,{class:"appearance"}),h(Ls,{class:"social-links"}),h(Es,{class:"extra"}),u(s.$slots,"nav-bar-content-after",{},void 0,!0),h(Rs,{class:"hamburger",active:s.isScreenOpen,onClick:r[0]||(r[0]=c=>s.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const Qs=m(Xs,[["__scopeId","data-v-0362c6a0"]]);function Js(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e1),q=[],re=!1,Le=-1,X=void 0,R=void 0,Q=void 0,Ke=function(e){return q.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},ie=function(e){var t=e||window.event;return Ke(t.target)||t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)},Zs=function(e){if(Q===void 0){var t=!!e&&e.reserveScrollBarGap===!0,o=window.innerWidth-document.documentElement.clientWidth;if(t&&o>0){var s=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);Q=document.body.style.paddingRight,document.body.style.paddingRight=s+o+"px"}}X===void 0&&(X=document.body.style.overflow,document.body.style.overflow="hidden")},eo=function(){Q!==void 0&&(document.body.style.paddingRight=Q,Q=void 0),X!==void 0&&(document.body.style.overflow=X,X=void 0)},to=function(){return window.requestAnimationFrame(function(){if(R===void 0){R={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,t=e.scrollY,o=e.scrollX,s=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-o,setTimeout(function(){return window.requestAnimationFrame(function(){var r=s-window.innerHeight;r&&t>=s&&(document.body.style.top=-(t+r))})},300)}})},no=function(){if(R!==void 0){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=R.position,document.body.style.top=R.top,document.body.style.left=R.left,window.scrollTo(t,e),R=void 0}},so=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},oo=function(e,t){var o=e.targetTouches[0].clientY-Le;return Ke(e.target)?!1:t&&t.scrollTop===0&&o>0||so(t)&&o<0?ie(e):(e.stopPropagation(),!0)},Xe=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!q.some(function(s){return s.targetElement===e})){var o={targetElement:e,options:t||{}};q=[].concat(Js(q),[o]),ae?to():Zs(t),ae&&(e.ontouchstart=function(s){s.targetTouches.length===1&&(Le=s.targetTouches[0].clientY)},e.ontouchmove=function(s){s.targetTouches.length===1&&oo(s,e)},re||(document.addEventListener("touchmove",ie,Se?{passive:!1}:void 0),re=!0))}},Qe=function(){ae&&(q.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),re&&(document.removeEventListener("touchmove",ie,Se?{passive:!1}:void 0),re=!1),Le=-1),ae?no():eo(),q=[]};const ao=g({__name:"VPNavScreenMenuLink",props:{item:{}},setup(n){const e=me("close-screen");return(t,o)=>(a(),y(G,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const ro=m(ao,[["__scopeId","data-v-5f35fe99"]]),io={},lo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},co=d("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),uo=[co];function _o(n,e){return a(),l("svg",lo,uo)}const vo=m(io,[["render",_o]]),po=g({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(n){const e=me("close-screen");return(t,o)=>(a(),y(G,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const Je=m(po,[["__scopeId","data-v-f4072db8"]]),ho={class:"VPNavScreenMenuGroupSection"},fo={key:0,class:"title"},mo=g({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),l("div",ho,[e.text?(a(),l("p",fo,V(e.text),1)):f("",!0),(a(!0),l(C,null,A(e.items,o=>(a(),y(Je,{key:o.text,item:o},null,8,["item"]))),128))]))}});const go=m(mo,[["__scopeId","data-v-5ff172dd"]]),yo=["aria-controls","aria-expanded"],bo={class:"button-text"},$o=["id"],ko={key:1,class:"group"},Po=g({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(n){const e=n,t=L(!1),o=b(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function s(){t.value=!t.value}return(r,c)=>(a(),l("div",{class:B(["VPNavScreenMenuGroup",{open:t.value}])},[d("button",{class:"button","aria-controls":o.value,"aria-expanded":t.value,onClick:s},[d("span",bo,V(r.text),1),h(vo,{class:"button-icon"})],8,yo),d("div",{id:o.value,class:"items"},[(a(!0),l(C,null,A(r.items,p=>(a(),l(C,{key:p.text},["link"in p?(a(),l("div",{key:p.text,class:"item"},[h(Je,{item:p},null,8,["item"])])):(a(),l("div",ko,[h(go,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,$o)],2))}});const Vo=m(Po,[["__scopeId","data-v-1b9cf6d0"]]),wo={key:0,class:"VPNavScreenMenu"},So=g({__name:"VPNavScreenMenu",setup(n){const{theme:e}=S();return(t,o)=>i(e).nav?(a(),l("nav",wo,[(a(!0),l(C,null,A(i(e).nav,s=>(a(),l(C,{key:s.text},["link"in s?(a(),y(ro,{key:0,item:s},null,8,["item"])):(a(),y(Vo,{key:1,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Lo={key:0,class:"VPNavScreenAppearance"},Mo={class:"text"},Co=g({__name:"VPNavScreenAppearance",setup(n){const{site:e,theme:t}=S();return(o,s)=>i(e).appearance?(a(),l("div",Lo,[d("p",Mo,V(i(t).darkModeSwitchLabel||"Appearance"),1),h(Ve)])):f("",!0)}});const Bo=m(Co,[["__scopeId","data-v-b953819f"]]),To={class:"list"},Io=g({__name:"VPNavScreenTranslations",setup(n){const{localeLinks:e,currentLang:t}=ne({correspondingLink:!0}),o=L(!1);function s(){o.value=!o.value}return(r,c)=>i(e).length&&i(t).label?(a(),l("div",{key:0,class:B(["VPNavScreenTranslations",{open:o.value}])},[d("button",{class:"title",onClick:s},[h(Ye,{class:"icon lang"}),N(" "+V(i(t).label)+" ",1),h(We,{class:"icon chevron"})]),d("ul",To,[(a(!0),l(C,null,A(i(e),p=>(a(),l("li",{key:p.link,class:"item"},[h(G,{class:"link",href:p.link},{default:v(()=>[N(V(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}});const xo=m(Io,[["__scopeId","data-v-03f474c5"]]),No=g({__name:"VPNavScreenSocialLinks",setup(n){const{theme:e}=S();return(t,o)=>i(e).socialLinks?(a(),y(we,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),Ao={class:"container"},Ho=g({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(n){const e=L(null);function t(){Xe(e.value,{reserveScrollBarGap:!0})}function o(){Qe()}return(s,r)=>(a(),y(fe,{name:"fade",onEnter:t,onAfterLeave:o},{default:v(()=>[s.open?(a(),l("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e},[d("div",Ao,[u(s.$slots,"nav-screen-content-before",{},void 0,!0),h(So,{class:"menu"}),h(xo,{class:"translations"}),h(Bo,{class:"appearance"}),h(No,{class:"social-links"}),u(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}});const Eo=m(Ho,[["__scopeId","data-v-b079476e"]]),zo={class:"VPNav"},Do=g({__name:"VPNav",setup(n){const{isScreenOpen:e,closeScreen:t,toggleScreen:o}=xt();return oe("close-screen",t),(s,r)=>(a(),l("header",zo,[h(Qs,{"is-screen-open":i(e),onToggleScreen:i(o)},{"nav-bar-title-before":v(()=>[u(s.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(s.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(s.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(s.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),h(Eo,{open:i(e)},{"nav-screen-content-before":v(()=>[u(s.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(s.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const Fo=m(Do,[["__scopeId","data-v-61a6c5b0"]]);function Oo(){const{hasSidebar:n}=D(),e=de("(min-width: 960px)"),t=de("(min-width: 1280px)");return{isAsideEnabled:b(()=>!t.value&&!e.value?!1:n.value?t.value:e.value)}}const Go=71;function Me(n){return typeof n.outline=="object"&&!Array.isArray(n.outline)&&n.outline.label||n.outlineTitle||"On this page"}function Ce(n){const e=[...document.querySelectorAll(".VPDoc h2,h3,h4,h5,h6")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const o=Number(t.tagName[1]);return{title:Ro(t),link:"#"+t.id,level:o}});return jo(e,n)}function Ro(n){let e="";for(const t of n.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function jo(n,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[o,s]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;n=n.filter(c=>c.level>=o&&c.level<=s);const r=[];e:for(let c=0;c=0;_--){const $=n[_];if($.level{requestAnimationFrame(r),window.addEventListener("scroll",o)}),it(()=>{c(location.hash)}),he(()=>{window.removeEventListener("scroll",o)});function r(){if(!t.value)return;const p=[].slice.call(n.value.querySelectorAll(".outline-link")),_=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(k=>p.some(P=>P.hash===k.hash&&k.offsetParent!==null)),$=window.scrollY,M=window.innerHeight,T=document.body.offsetHeight,I=Math.abs($+M-T)<1;if(_.length&&I){c(_[_.length-1].hash);return}for(let k=0;k<_.length;k++){const P=_[k],x=_[k+1],[w,H]=qo(k,P,x);if(w){c(H);return}}}function c(p){s&&s.classList.remove("active"),p!==null&&(s=n.value.querySelector(`a[href="${decodeURIComponent(p)}"]`));const _=s;_?(_.classList.add("active"),e.value.style.top=_.offsetTop+33+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function He(n){return n.parentElement.offsetTop-Go}function qo(n,e,t){const o=window.scrollY;return n===0&&o===0?[!0,null]:o{const s=j("VPDocOutlineItem",!0);return a(),l("ul",{class:B(t.root?"root":"nested")},[(a(!0),l(C,null,A(t.headers,({children:r,link:c,title:p})=>(a(),l("li",null,[d("a",{class:"outline-link",href:c,onClick:e,title:p},V(p),9,Wo),r!=null&&r.length?(a(),y(s,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}});const Be=m(Yo,[["__scopeId","data-v-259f3b57"]]),Ko={},Xo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Qo=d("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),Jo=[Qo];function Zo(n,e){return a(),l("svg",Xo,Jo)}const Te=m(Ko,[["render",Zo]]),ea=g({__name:"VPLocalNavOutlineDropdown",props:{headers:{}},setup(n){const{theme:e}=S(),t=L(!1),o=L(0),s=L();Z(()=>{t.value=!1});function r(){t.value=!t.value,o.value=window.innerHeight+Math.min(window.scrollY-64,0)}function c(_){_.target.classList.contains("outline-link")&&(s.value&&(s.value.style.transition="none"),Oe(()=>{t.value=!1}))}function p(){t.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(_,$)=>(a(),l("div",{class:"VPLocalNavOutlineDropdown",style:ze({"--vp-vh":o.value+"px"})},[_.headers.length>0?(a(),l("button",{key:0,onClick:r,class:B({open:t.value})},[N(V(i(Me)(i(e)))+" ",1),h(Te,{class:"icon"})],2)):(a(),l("button",{key:1,onClick:p},V(i(e).returnToTopLabel||"Return to top"),1)),h(fe,{name:"flyout"},{default:v(()=>[t.value?(a(),l("div",{key:0,ref_key:"items",ref:s,class:"items",onClick:c},[d("a",{class:"top-link",href:"#",onClick:p},V(i(e).returnToTopLabel||"Return to top"),1),h(Be,{headers:_.headers},null,8,["headers"])],512)):f("",!0)]),_:1})],4))}});const ta=m(ea,[["__scopeId","data-v-ec7ac417"]]),na={},sa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},oa=d("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),aa=d("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),ra=d("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),ia=d("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),la=[oa,aa,ra,ia];function ca(n,e){return a(),l("svg",sa,la)}const ua=m(na,[["render",ca]]),da=["aria-expanded"],_a={class:"menu-text"},va=g({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(n){const{theme:e,frontmatter:t}=S(),{hasSidebar:o}=D(),{y:s}=Re(),r=ge([]);Z(()=>{r.value=Ce(t.value.outline??e.value.outline)});const c=b(()=>r.value.length===0&&!o.value),p=b(()=>({VPLocalNav:!0,fixed:c.value,"reached-top":s.value>=64}));return(_,$)=>i(t).layout!=="home"&&(!c.value||i(s)>=64)?(a(),l("div",{key:0,class:B(p.value)},[i(o)?(a(),l("button",{key:0,class:"menu","aria-expanded":_.open,"aria-controls":"VPSidebarNav",onClick:$[0]||($[0]=M=>_.$emit("open-menu"))},[h(ua,{class:"menu-icon"}),d("span",_a,V(i(e).sidebarMenuLabel||"Menu"),1)],8,da)):f("",!0),h(ta,{headers:r.value},null,8,["headers"])],2)):f("",!0)}});const pa=m(va,[["__scopeId","data-v-990ee114"]]),ha=n=>(E("data-v-679015a8"),n=n(),z(),n),fa=["role","tabindex"],ma=ha(()=>d("div",{class:"indicator"},null,-1)),ga={key:1,class:"items"},ya=g({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(n){const e=n,{collapsed:t,collapsible:o,isLink:s,isActiveLink:r,hasActiveLink:c,hasChildren:p,toggle:_}=Lt(b(()=>e.item)),$=b(()=>p.value?"section":"div"),M=b(()=>s.value?"a":"div"),T=b(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),I=b(()=>s.value?void 0:"button"),k=b(()=>[[`level-${e.depth}`],{collapsible:o.value},{collapsed:t.value},{"is-link":s.value},{"is-active":r.value},{"has-active":c.value}]);function P(w){"key"in w&&w.key!=="Enter"||!e.item.link&&_()}function x(){e.item.link&&_()}return(w,H)=>{const K=j("VPSidebarItem",!0);return a(),y(U($.value),{class:B(["VPSidebarItem",k.value])},{default:v(()=>[w.item.text?(a(),l("div",se({key:0,class:"item",role:I.value},lt(w.item.items?{click:P,keydown:P}:{},!0),{tabindex:w.item.items&&0}),[ma,w.item.link?(a(),y(G,{key:0,tag:M.value,class:"link",href:w.item.link},{default:v(()=>[(a(),y(U(T.value),{class:"text",innerHTML:w.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"])):(a(),y(U(T.value),{key:1,class:"text",innerHTML:w.item.text},null,8,["innerHTML"])),w.item.collapsed!=null?(a(),l("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:x,onKeydown:ct(x,["enter"]),tabindex:"0"},[h(Te,{class:"caret-icon"})],32)):f("",!0)],16,fa)):f("",!0),w.item.items&&w.item.items.length?(a(),l("div",ga,[w.depth<5?(a(!0),l(C,{key:0},A(w.item.items,F=>(a(),y(K,{key:F.text,item:F,depth:w.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}});const ba=m(ya,[["__scopeId","data-v-679015a8"]]),Ze=n=>(E("data-v-288f0c15"),n=n(),z(),n),$a=Ze(()=>d("div",{class:"curtain"},null,-1)),ka={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Pa=Ze(()=>d("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Va=g({__name:"VPSidebar",props:{open:{type:Boolean}},setup(n){const{sidebarGroups:e,hasSidebar:t}=D(),o=n;let s=L(null);function r(){Xe(s.value,{reserveScrollBarGap:!0})}function c(){Qe()}return ut(async()=>{var p;o.open?(r(),(p=s.value)==null||p.focus()):c()}),(p,_)=>i(t)?(a(),l("aside",{key:0,class:B(["VPSidebar",{open:p.open}]),ref_key:"navEl",ref:s,onClick:_[0]||(_[0]=dt(()=>{},["stop"]))},[$a,d("nav",ka,[Pa,u(p.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),l(C,null,A(i(e),$=>(a(),l("div",{key:$.text,class:"group"},[h(ba,{item:$,depth:0},null,8,["item"])]))),128)),u(p.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}});const wa=m(Va,[["__scopeId","data-v-288f0c15"]]),Sa={},La={class:"VPPage"};function Ma(n,e){const t=j("Content");return a(),l("div",La,[u(n.$slots,"page-top"),h(t),u(n.$slots,"page-bottom")])}const Ca=m(Sa,[["render",Ma]]),Ba=g({__name:"VPButton",props:{tag:{},size:{},theme:{},text:{},href:{}},setup(n){const e=n,t=b(()=>[e.size??"medium",e.theme??"brand"]),o=b(()=>e.href&&De.test(e.href)),s=b(()=>e.tag?e.tag:e.href?"a":"button");return(r,c)=>(a(),y(U(s.value),{class:B(["VPButton",t.value]),href:r.href?i(ee)(r.href):void 0,target:o.value?"_blank":void 0,rel:o.value?"noreferrer":void 0},{default:v(()=>[N(V(r.text),1)]),_:1},8,["class","href","target","rel"]))}});const Ta=m(Ba,[["__scopeId","data-v-1490a11b"]]),Ia=n=>(E("data-v-955629bd"),n=n(),z(),n),xa={class:"container"},Na={class:"main"},Aa={key:0,class:"name"},Ha={class:"clip"},Ea={key:1,class:"text"},za={key:2,class:"tagline"},Da={key:0,class:"actions"},Fa={key:0,class:"image"},Oa={class:"image-container"},Ga=Ia(()=>d("div",{class:"image-bg"},null,-1)),Ra=g({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(n){const e=me("hero-image-slot-exists");return(t,o)=>(a(),l("div",{class:B(["VPHero",{"has-image":t.image||i(e)}])},[d("div",xa,[d("div",Na,[u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),l("h1",Aa,[d("span",Ha,V(t.name),1)])):f("",!0),t.text?(a(),l("p",Ea,V(t.text),1)):f("",!0),t.tagline?(a(),l("p",za,V(t.tagline),1)):f("",!0)],!0),t.actions?(a(),l("div",Da,[(a(!0),l(C,null,A(t.actions,s=>(a(),l("div",{key:s.link,class:"action"},[h(Ta,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||i(e)?(a(),l("div",Fa,[d("div",Oa,[Ga,u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),y($e,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}});const ja=m(Ra,[["__scopeId","data-v-955629bd"]]),Ua=g({__name:"VPHomeHero",setup(n){const{frontmatter:e}=S();return(t,o)=>i(e).hero?(a(),y(ja,{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":v(()=>[u(t.$slots,"home-hero-info")]),"home-hero-image":v(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),qa={},Wa={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ya=d("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),Ka=[Ya];function Xa(n,e){return a(),l("svg",Wa,Ka)}const Qa=m(qa,[["render",Xa]]),Ja={class:"box"},Za=["innerHTML"],er=["innerHTML"],tr=["innerHTML"],nr={key:3,class:"link-text"},sr={class:"link-text-value"},or=g({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{}},setup(n){return(e,t)=>(a(),y(G,{class:"VPFeature",href:e.link,"no-icon":!0},{default:v(()=>[d("article",Ja,[typeof e.icon=="object"?(a(),y($e,{key:0,image:e.icon,alt:e.icon.alt,height:e.icon.height,width:e.icon.width},null,8,["image","alt","height","width"])):e.icon?(a(),l("div",{key:1,class:"icon",innerHTML:e.icon},null,8,Za)):f("",!0),d("h2",{class:"title",innerHTML:e.title},null,8,er),e.details?(a(),l("p",{key:2,class:"details",innerHTML:e.details},null,8,tr)):f("",!0),e.linkText?(a(),l("div",nr,[d("p",sr,[N(V(e.linkText)+" ",1),h(Qa,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href"]))}});const ar=m(or,[["__scopeId","data-v-81547d2f"]]),rr={key:0,class:"VPFeatures"},ir={class:"container"},lr={class:"items"},cr=g({__name:"VPFeatures",props:{features:{}},setup(n){const e=n,t=b(()=>{const o=e.features.length;if(o){if(o===2)return"grid-2";if(o===3)return"grid-3";if(o%3===0)return"grid-6";if(o>3)return"grid-4"}else return});return(o,s)=>o.features?(a(),l("div",rr,[d("div",ir,[d("div",lr,[(a(!0),l(C,null,A(o.features,r=>(a(),l("div",{key:r.title,class:B(["item",[t.value]])},[h(ar,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):f("",!0)}});const ur=m(cr,[["__scopeId","data-v-1f00835e"]]),dr=g({__name:"VPHomeFeatures",setup(n){const{frontmatter:e}=S();return(t,o)=>i(e).features?(a(),y(ur,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):f("",!0)}}),_r={class:"VPHome"},vr=g({__name:"VPHome",setup(n){return(e,t)=>{const o=j("Content");return a(),l("div",_r,[u(e.$slots,"home-hero-before",{},void 0,!0),h(Ua,null,{"home-hero-info":v(()=>[u(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(e.$slots,"home-hero-after",{},void 0,!0),u(e.$slots,"home-features-before",{},void 0,!0),h(dr),u(e.$slots,"home-features-after",{},void 0,!0),h(o)])}}});const pr=m(vr,[["__scopeId","data-v-18a3a0d8"]]),hr=n=>(E("data-v-9478531e"),n=n(),z(),n),fr={class:"content"},mr={class:"outline-title"},gr={"aria-labelledby":"doc-outline-aria-label"},yr=hr(()=>d("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),br=g({__name:"VPDocAsideOutline",setup(n){const{frontmatter:e,theme:t}=S(),o=ge([]);Z(()=>{o.value=Ce(e.value.outline??t.value.outline)});const s=L(),r=L();return Uo(s,r),(c,p)=>(a(),l("div",{class:B(["VPDocAsideOutline",{"has-outline":o.value.length>0}]),ref_key:"container",ref:s},[d("div",fr,[d("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),d("div",mr,V(i(Me)(i(t))),1),d("nav",gr,[yr,h(Be,{headers:o.value,root:!0},null,8,["headers"])])])],2))}});const $r=m(br,[["__scopeId","data-v-9478531e"]]),kr={class:"VPDocAsideCarbonAds"},Pr=g({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(n){const e=()=>null;return(t,o)=>(a(),l("div",kr,[h(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Vr=n=>(E("data-v-ae51f012"),n=n(),z(),n),wr={class:"VPDocAside"},Sr=Vr(()=>d("div",{class:"spacer"},null,-1)),Lr=g({__name:"VPDocAside",setup(n){const{theme:e}=S();return(t,o)=>(a(),l("div",wr,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),h($r),u(t.$slots,"aside-outline-after",{},void 0,!0),Sr,u(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),y(Pr,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):f("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}});const Mr=m(Lr,[["__scopeId","data-v-ae51f012"]]);function Cr(){const{theme:n,page:e}=S();return b(()=>{const{text:t="Edit this page",pattern:o=""}=n.value.editLink||{};let s;return typeof o=="function"?s=o(e.value):s=o.replace(/:path/g,e.value.filePath),{url:s,text:t}})}function Br(){const{page:n,theme:e,frontmatter:t}=S();return b(()=>{var _,$,M,T,I,k;const o=je(e.value.sidebar,n.value.relativePath),s=wt(o),r=s.findIndex(P=>Y(n.value.relativePath,P.link)),c=((_=e.value.docFooter)==null?void 0:_.prev)===!1&&!t.value.prev||t.value.prev===!1,p=(($=e.value.docFooter)==null?void 0:$.next)===!1&&!t.value.next||t.value.next===!1;return{prev:c?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((M=s[r-1])==null?void 0:M.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((T=s[r-1])==null?void 0:T.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((I=s[r+1])==null?void 0:I.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((k=s[r+1])==null?void 0:k.link)}}})}const Tr={},Ir={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},xr=d("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),Nr=d("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Ar=[xr,Nr];function Hr(n,e){return a(),l("svg",Ir,Ar)}const Er=m(Tr,[["render",Hr]]),zr={class:"VPLastUpdated"},Dr=["datetime"],Fr=g({__name:"VPDocFooterLastUpdated",setup(n){const{theme:e,page:t,lang:o}=S(),s=b(()=>new Date(t.value.lastUpdated)),r=b(()=>s.value.toISOString()),c=L("");return O(()=>{J(()=>{c.value=s.value.toLocaleString(o.value)})}),(p,_)=>(a(),l("p",zr,[N(V(i(e).lastUpdatedText||"Last updated")+": ",1),d("time",{datetime:r.value},V(c.value),9,Dr)]))}});const Or=m(Fr,[["__scopeId","data-v-a51f4ba9"]]),Gr={key:0,class:"VPDocFooter"},Rr={key:0,class:"edit-info"},jr={key:0,class:"edit-link"},Ur={key:1,class:"last-updated"},qr={key:1,class:"prev-next"},Wr={class:"pager"},Yr=["href"],Kr=["innerHTML"],Xr=["innerHTML"],Qr=["href"],Jr=["innerHTML"],Zr=["innerHTML"],ei=g({__name:"VPDocFooter",setup(n){const{theme:e,page:t,frontmatter:o}=S(),s=Cr(),r=Br(),c=b(()=>e.value.editLink&&o.value.editLink!==!1),p=b(()=>t.value.lastUpdated&&o.value.lastUpdated!==!1),_=b(()=>c.value||p.value||r.value.prev||r.value.next);return($,M)=>{var T,I,k,P,x,w,H;return _.value?(a(),l("footer",Gr,[u($.$slots,"doc-footer-before",{},void 0,!0),c.value||p.value?(a(),l("div",Rr,[c.value?(a(),l("div",jr,[h(G,{class:"edit-link-button",href:i(s).url,"no-icon":!0},{default:v(()=>[h(Er,{class:"edit-link-icon","aria-label":"edit icon"}),N(" "+V(i(s).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),l("div",Ur,[h(Or)])):f("",!0)])):f("",!0),(T=i(r).prev)!=null&&T.link||(I=i(r).next)!=null&&I.link?(a(),l("div",qr,[d("div",Wr,[(k=i(r).prev)!=null&&k.link?(a(),l("a",{key:0,class:"pager-link prev",href:i(ee)(i(r).prev.link)},[d("span",{class:"desc",innerHTML:((P=i(e).docFooter)==null?void 0:P.prev)||"Previous page"},null,8,Kr),d("span",{class:"title",innerHTML:i(r).prev.text},null,8,Xr)],8,Yr)):f("",!0)]),d("div",{class:B(["pager",{"has-prev":(x=i(r).prev)==null?void 0:x.link}])},[(w=i(r).next)!=null&&w.link?(a(),l("a",{key:0,class:"pager-link next",href:i(ee)(i(r).next.link)},[d("span",{class:"desc",innerHTML:((H=i(e).docFooter)==null?void 0:H.next)||"Next page"},null,8,Jr),d("span",{class:"title",innerHTML:i(r).next.text},null,8,Zr)],8,Qr)):f("",!0)],2)])):f("",!0)])):f("",!0)}}});const ti=m(ei,[["__scopeId","data-v-8acf20fd"]]),ni={key:0,class:"VPDocOutlineDropdown"},si={key:0,class:"items"},oi=g({__name:"VPDocOutlineDropdown",setup(n){const{frontmatter:e,theme:t}=S(),o=L(!1);Z(()=>{o.value=!1});const s=ge([]);return Z(()=>{s.value=Ce(e.value.outline??t.value.outline)}),(r,c)=>s.value.length>0?(a(),l("div",ni,[d("button",{onClick:c[0]||(c[0]=p=>o.value=!o.value),class:B({open:o.value})},[N(V(i(Me)(i(t)))+" ",1),h(Te,{class:"icon"})],2),o.value?(a(),l("div",si,[h(Be,{headers:s.value},null,8,["headers"])])):f("",!0)])):f("",!0)}});const ai=m(oi,[["__scopeId","data-v-bbb90a77"]]),ri=n=>(E("data-v-2685e80c"),n=n(),z(),n),ii={class:"container"},li=ri(()=>d("div",{class:"aside-curtain"},null,-1)),ci={class:"aside-container"},ui={class:"aside-content"},di={class:"content"},_i={class:"content-container"},vi={class:"main"},pi=g({__name:"VPDoc",setup(n){const e=te(),{hasSidebar:t,hasAside:o,leftAside:s}=D(),r=b(()=>e.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(c,p)=>{const _=j("Content");return a(),l("div",{class:B(["VPDoc",{"has-sidebar":i(t),"has-aside":i(o)}])},[u(c.$slots,"doc-top",{},void 0,!0),d("div",ii,[i(o)?(a(),l("div",{key:0,class:B(["aside",{"left-aside":i(s)}])},[li,d("div",ci,[d("div",ui,[h(Mr,null,{"aside-top":v(()=>[u(c.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(c.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(c.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(c.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(c.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(c.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),d("div",di,[d("div",_i,[u(c.$slots,"doc-before",{},void 0,!0),h(ai),d("main",vi,[h(_,{class:B(["vp-doc",r.value])},null,8,["class"])]),h(ti,null,{"doc-footer-before":v(()=>[u(c.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(c.$slots,"doc-after",{},void 0,!0)])])]),u(c.$slots,"doc-bottom",{},void 0,!0)],2)}}});const hi=m(pi,[["__scopeId","data-v-2685e80c"]]),ce=n=>(E("data-v-c527ef30"),n=n(),z(),n),fi={class:"NotFound"},mi=ce(()=>d("p",{class:"code"},"404",-1)),gi=ce(()=>d("h1",{class:"title"},"PAGE NOT FOUND",-1)),yi=ce(()=>d("div",{class:"divider"},null,-1)),bi=ce(()=>d("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),$i={class:"action"},ki=["href"],Pi=g({__name:"NotFound",setup(n){const{site:e}=S(),{localeLinks:t}=ne({removeCurrent:!1}),o=L("/");return O(()=>{var r;const s=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");t.value.length&&(o.value=((r=t.value.find(({link:c})=>c.startsWith(s)))==null?void 0:r.link)||t.value[0].link)}),(s,r)=>(a(),l("div",fi,[mi,gi,yi,bi,d("div",$i,[d("a",{class:"link",href:i(pe)(o.value),"aria-label":"go to home"}," Take me home ",8,ki)])]))}});const Vi=m(Pi,[["__scopeId","data-v-c527ef30"]]),wi=g({__name:"VPContent",setup(n){const{page:e,frontmatter:t}=S(),{hasSidebar:o}=D();return(s,r)=>(a(),l("div",{class:B(["VPContent",{"has-sidebar":i(o),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?u(s.$slots,"not-found",{key:0},()=>[h(Vi)],!0):i(t).layout==="page"?(a(),y(Ca,{key:1},{"page-top":v(()=>[u(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),y(pr,{key:2},{"home-hero-before":v(()=>[u(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):(a(),y(hi,{key:3},{"doc-top":v(()=>[u(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[u(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[u(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[u(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[u(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Si=m(wi,[["__scopeId","data-v-ffe6c138"]]),Li={class:"container"},Mi=["innerHTML"],Ci=["innerHTML"],Bi=g({__name:"VPFooter",setup(n){const{theme:e}=S(),{hasSidebar:t}=D();return(o,s)=>i(e).footer?(a(),l("footer",{key:0,class:B(["VPFooter",{"has-sidebar":i(t)}])},[d("div",Li,[i(e).footer.message?(a(),l("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,Mi)):f("",!0),i(e).footer.copyright?(a(),l("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Ci)):f("",!0)])],2)):f("",!0)}});const Ti=m(Bi,[["__scopeId","data-v-cfa04f93"]]),Ii={key:0,class:"Layout"},xi=g({__name:"Layout",setup(n){const{isOpen:e,open:t,close:o}=D(),s=te();W(()=>s.path,o),St(e,o),oe("close-sidebar",o),oe("is-sidebar-open",e);const{frontmatter:r}=S(),c=_t(),p=b(()=>!!c["home-hero-image"]);return oe("hero-image-slot-exists",p),(_,$)=>{const M=j("Content");return i(r).layout!==!1?(a(),l("div",Ii,[u(_.$slots,"layout-top",{},void 0,!0),h(Ct),h(It,{class:"backdrop",show:i(e),onClick:i(o)},null,8,["show","onClick"]),h(Fo,null,{"nav-bar-title-before":v(()=>[u(_.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(_.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(_.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(_.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[u(_.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(_.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),h(pa,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),h(wa,{open:i(e)},{"sidebar-nav-before":v(()=>[u(_.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[u(_.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),h(Si,null,{"page-top":v(()=>[u(_.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(_.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[u(_.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[u(_.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(_.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(_.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(_.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(_.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(_.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[u(_.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(_.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(_.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[u(_.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(_.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[u(_.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(_.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(_.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(_.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(_.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(_.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),h(Ti),u(_.$slots,"layout-bottom",{},void 0,!0)])):(a(),y(M,{key:1}))}}});const Ni=m(xi,[["__scopeId","data-v-6544220e"]]);const Hi={Layout:Ni,enhanceApp:({app:n})=>{n.component("Badge",pt)}};export{Hi as t};
+ }`)),document.head.appendChild(P),o.value=k,p[k?"add":"remove"]("dark"),window.getComputedStyle(P).opacity,document.head.removeChild(P)}return T}return W(o,c=>{t.value=c}),(c,p)=>(a(),y(ss,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":o.value,onClick:i(s)},{default:v(()=>[h(cs,{class:"sun"}),h(hs,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const Ve=m(fs,[["__scopeId","data-v-fddcca66"]]),ms={key:0,class:"VPNavBarAppearance"},gs=g({__name:"VPNavBarAppearance",setup(n){const{site:e}=S();return(t,o)=>i(e).appearance?(a(),l("div",ms,[h(Ve)])):f("",!0)}});const ys=m(gs,[["__scopeId","data-v-e19e564a"]]),bs={discord:'',facebook:'',github:'',instagram:'',linkedin:'',mastodon:'',slack:'',twitter:'',youtube:''},$s=["href","aria-label","innerHTML"],ks=g({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(n){const e=n,t=b(()=>typeof e.icon=="object"?e.icon.svg:bs[e.icon]);return(o,s)=>(a(),l("a",{class:"VPSocialLink",href:o.link,"aria-label":o.ariaLabel??(typeof o.icon=="string"?o.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,$s))}});const Ps=m(ks,[["__scopeId","data-v-c4bf0301"]]),Vs={class:"VPSocialLinks"},ws=g({__name:"VPSocialLinks",props:{links:{}},setup(n){return(e,t)=>(a(),l("div",Vs,[(a(!0),l(C,null,A(e.links,({link:o,icon:s,ariaLabel:r})=>(a(),y(Ps,{key:o,icon:s,link:o,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}});const we=m(ws,[["__scopeId","data-v-0cc0ec93"]]),Ss=g({__name:"VPNavBarSocialLinks",setup(n){const{theme:e}=S();return(t,o)=>i(e).socialLinks?(a(),y(we,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}});const Ls=m(Ss,[["__scopeId","data-v-b6678a82"]]),Ms={key:0,class:"group translations"},Cs={class:"trans-title"},Bs={key:1,class:"group"},Ts={class:"item appearance"},Is={class:"label"},xs={class:"appearance-action"},Ns={key:2,class:"group"},As={class:"item social-links"},Hs=g({__name:"VPNavBarExtra",setup(n){const{site:e,theme:t}=S(),{localeLinks:o,currentLang:s}=ne({correspondingLink:!0}),r=b(()=>o.value.length&&s.value.label||e.value.appearance||t.value.socialLinks);return(c,p)=>r.value?(a(),y(Pe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[i(o).length&&i(s).label?(a(),l("div",Ms,[d("p",Cs,V(i(s).label),1),(a(!0),l(C,null,A(i(o),_=>(a(),y(le,{key:_.link,item:_},null,8,["item"]))),128))])):f("",!0),i(e).appearance?(a(),l("div",Bs,[d("div",Ts,[d("p",Is,V(i(t).darkModeSwitchLabel||"Appearance"),1),d("div",xs,[h(Ve)])])])):f("",!0),i(t).socialLinks?(a(),l("div",Ns,[d("div",As,[h(we,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}});const Es=m(Hs,[["__scopeId","data-v-1ce4f02d"]]),zs=n=>(E("data-v-aa4b404e"),n=n(),z(),n),Ds=["aria-expanded"],Fs=zs(()=>d("span",{class:"container"},[d("span",{class:"top"}),d("span",{class:"middle"}),d("span",{class:"bottom"})],-1)),Os=[Fs],Gs=g({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(n){return(e,t)=>(a(),l("button",{type:"button",class:B(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=o=>e.$emit("click"))},Os,10,Ds))}});const Rs=m(Gs,[["__scopeId","data-v-aa4b404e"]]),js=n=>(E("data-v-265bcee5"),n=n(),z(),n),Us={class:"container"},qs={class:"title"},Ws={class:"content"},Ys=js(()=>d("div",{class:"curtain"},null,-1)),Ks={class:"content-body"},Xs=g({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(n){const{y:e}=Re(),{hasSidebar:t}=D(),o=b(()=>({"has-sidebar":t.value,fill:e.value>0}));return(s,r)=>(a(),l("div",{class:B(["VPNavBar",o.value])},[d("div",Us,[d("div",qs,[h(Ft,null,{"nav-bar-title-before":v(()=>[u(s.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(s.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),d("div",Ws,[Ys,d("div",Ks,[u(s.$slots,"nav-bar-content-before",{},void 0,!0),h(Yt,{class:"search"}),h(On,{class:"menu"}),h(Qn,{class:"translations"}),h(ys,{class:"appearance"}),h(Ls,{class:"social-links"}),h(Es,{class:"extra"}),u(s.$slots,"nav-bar-content-after",{},void 0,!0),h(Rs,{class:"hamburger",active:s.isScreenOpen,onClick:r[0]||(r[0]=c=>s.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const Qs=m(Xs,[["__scopeId","data-v-265bcee5"]]);function Js(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e1),q=[],re=!1,Le=-1,X=void 0,R=void 0,Q=void 0,Ke=function(e){return q.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},ie=function(e){var t=e||window.event;return Ke(t.target)||t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)},Zs=function(e){if(Q===void 0){var t=!!e&&e.reserveScrollBarGap===!0,o=window.innerWidth-document.documentElement.clientWidth;if(t&&o>0){var s=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);Q=document.body.style.paddingRight,document.body.style.paddingRight=s+o+"px"}}X===void 0&&(X=document.body.style.overflow,document.body.style.overflow="hidden")},eo=function(){Q!==void 0&&(document.body.style.paddingRight=Q,Q=void 0),X!==void 0&&(document.body.style.overflow=X,X=void 0)},to=function(){return window.requestAnimationFrame(function(){if(R===void 0){R={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,t=e.scrollY,o=e.scrollX,s=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-o,setTimeout(function(){return window.requestAnimationFrame(function(){var r=s-window.innerHeight;r&&t>=s&&(document.body.style.top=-(t+r))})},300)}})},no=function(){if(R!==void 0){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=R.position,document.body.style.top=R.top,document.body.style.left=R.left,window.scrollTo(t,e),R=void 0}},so=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},oo=function(e,t){var o=e.targetTouches[0].clientY-Le;return Ke(e.target)?!1:t&&t.scrollTop===0&&o>0||so(t)&&o<0?ie(e):(e.stopPropagation(),!0)},Xe=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!q.some(function(s){return s.targetElement===e})){var o={targetElement:e,options:t||{}};q=[].concat(Js(q),[o]),ae?to():Zs(t),ae&&(e.ontouchstart=function(s){s.targetTouches.length===1&&(Le=s.targetTouches[0].clientY)},e.ontouchmove=function(s){s.targetTouches.length===1&&oo(s,e)},re||(document.addEventListener("touchmove",ie,Se?{passive:!1}:void 0),re=!0))}},Qe=function(){ae&&(q.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),re&&(document.removeEventListener("touchmove",ie,Se?{passive:!1}:void 0),re=!1),Le=-1),ae?no():eo(),q=[]};const ao=g({__name:"VPNavScreenMenuLink",props:{item:{}},setup(n){const e=me("close-screen");return(t,o)=>(a(),y(G,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const ro=m(ao,[["__scopeId","data-v-99946c6e"]]),io={},lo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},co=d("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),uo=[co];function _o(n,e){return a(),l("svg",lo,uo)}const vo=m(io,[["render",_o]]),po=g({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(n){const e=me("close-screen");return(t,o)=>(a(),y(G,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:v(()=>[N(V(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const Je=m(po,[["__scopeId","data-v-3430aa67"]]),ho={class:"VPNavScreenMenuGroupSection"},fo={key:0,class:"title"},mo=g({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),l("div",ho,[e.text?(a(),l("p",fo,V(e.text),1)):f("",!0),(a(!0),l(C,null,A(e.items,o=>(a(),y(Je,{key:o.text,item:o},null,8,["item"]))),128))]))}});const go=m(mo,[["__scopeId","data-v-49aac80a"]]),yo=["aria-controls","aria-expanded"],bo={class:"button-text"},$o=["id"],ko={key:1,class:"group"},Po=g({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(n){const e=n,t=L(!1),o=b(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function s(){t.value=!t.value}return(r,c)=>(a(),l("div",{class:B(["VPNavScreenMenuGroup",{open:t.value}])},[d("button",{class:"button","aria-controls":o.value,"aria-expanded":t.value,onClick:s},[d("span",bo,V(r.text),1),h(vo,{class:"button-icon"})],8,yo),d("div",{id:o.value,class:"items"},[(a(!0),l(C,null,A(r.items,p=>(a(),l(C,{key:p.text},["link"in p?(a(),l("div",{key:p.text,class:"item"},[h(Je,{item:p},null,8,["item"])])):(a(),l("div",ko,[h(go,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,$o)],2))}});const Vo=m(Po,[["__scopeId","data-v-03d2d304"]]),wo={key:0,class:"VPNavScreenMenu"},So=g({__name:"VPNavScreenMenu",setup(n){const{theme:e}=S();return(t,o)=>i(e).nav?(a(),l("nav",wo,[(a(!0),l(C,null,A(i(e).nav,s=>(a(),l(C,{key:s.text},["link"in s?(a(),y(ro,{key:0,item:s},null,8,["item"])):(a(),y(Vo,{key:1,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Lo={key:0,class:"VPNavScreenAppearance"},Mo={class:"text"},Co=g({__name:"VPNavScreenAppearance",setup(n){const{site:e,theme:t}=S();return(o,s)=>i(e).appearance?(a(),l("div",Lo,[d("p",Mo,V(i(t).darkModeSwitchLabel||"Appearance"),1),h(Ve)])):f("",!0)}});const Bo=m(Co,[["__scopeId","data-v-f6e1de6e"]]),To={class:"list"},Io=g({__name:"VPNavScreenTranslations",setup(n){const{localeLinks:e,currentLang:t}=ne({correspondingLink:!0}),o=L(!1);function s(){o.value=!o.value}return(r,c)=>i(e).length&&i(t).label?(a(),l("div",{key:0,class:B(["VPNavScreenTranslations",{open:o.value}])},[d("button",{class:"title",onClick:s},[h(Ye,{class:"icon lang"}),N(" "+V(i(t).label)+" ",1),h(We,{class:"icon chevron"})]),d("ul",To,[(a(!0),l(C,null,A(i(e),p=>(a(),l("li",{key:p.link,class:"item"},[h(G,{class:"link",href:p.link},{default:v(()=>[N(V(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}});const xo=m(Io,[["__scopeId","data-v-79f0e79f"]]),No=g({__name:"VPNavScreenSocialLinks",setup(n){const{theme:e}=S();return(t,o)=>i(e).socialLinks?(a(),y(we,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),Ao={class:"container"},Ho=g({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(n){const e=L(null);function t(){Xe(e.value,{reserveScrollBarGap:!0})}function o(){Qe()}return(s,r)=>(a(),y(fe,{name:"fade",onEnter:t,onAfterLeave:o},{default:v(()=>[s.open?(a(),l("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e},[d("div",Ao,[u(s.$slots,"nav-screen-content-before",{},void 0,!0),h(So,{class:"menu"}),h(xo,{class:"translations"}),h(Bo,{class:"appearance"}),h(No,{class:"social-links"}),u(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}});const Eo=m(Ho,[["__scopeId","data-v-eabf6c71"]]),zo={class:"VPNav"},Do=g({__name:"VPNav",setup(n){const{isScreenOpen:e,closeScreen:t,toggleScreen:o}=xt();return oe("close-screen",t),(s,r)=>(a(),l("header",zo,[h(Qs,{"is-screen-open":i(e),onToggleScreen:i(o)},{"nav-bar-title-before":v(()=>[u(s.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(s.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(s.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(s.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),h(Eo,{open:i(e)},{"nav-screen-content-before":v(()=>[u(s.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(s.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const Fo=m(Do,[["__scopeId","data-v-c1773d58"]]);function Oo(){const{hasSidebar:n}=D(),e=de("(min-width: 960px)"),t=de("(min-width: 1280px)");return{isAsideEnabled:b(()=>!t.value&&!e.value?!1:n.value?t.value:e.value)}}const Go=71;function Me(n){return typeof n.outline=="object"&&!Array.isArray(n.outline)&&n.outline.label||n.outlineTitle||"On this page"}function Ce(n){const e=[...document.querySelectorAll(".VPDoc h2,h3,h4,h5,h6")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const o=Number(t.tagName[1]);return{title:Ro(t),link:"#"+t.id,level:o}});return jo(e,n)}function Ro(n){let e="";for(const t of n.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function jo(n,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[o,s]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;n=n.filter(c=>c.level>=o&&c.level<=s);const r=[];e:for(let c=0;c=0;_--){const $=n[_];if($.level{requestAnimationFrame(r),window.addEventListener("scroll",o)}),it(()=>{c(location.hash)}),he(()=>{window.removeEventListener("scroll",o)});function r(){if(!t.value)return;const p=[].slice.call(n.value.querySelectorAll(".outline-link")),_=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(k=>p.some(P=>P.hash===k.hash&&k.offsetParent!==null)),$=window.scrollY,M=window.innerHeight,T=document.body.offsetHeight,I=Math.abs($+M-T)<1;if(_.length&&I){c(_[_.length-1].hash);return}for(let k=0;k<_.length;k++){const P=_[k],x=_[k+1],[w,H]=qo(k,P,x);if(w){c(H);return}}}function c(p){s&&s.classList.remove("active"),p!==null&&(s=n.value.querySelector(`a[href="${decodeURIComponent(p)}"]`));const _=s;_?(_.classList.add("active"),e.value.style.top=_.offsetTop+33+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function He(n){return n.parentElement.offsetTop-Go}function qo(n,e,t){const o=window.scrollY;return n===0&&o===0?[!0,null]:o{const s=j("VPDocOutlineItem",!0);return a(),l("ul",{class:B(t.root?"root":"nested")},[(a(!0),l(C,null,A(t.headers,({children:r,link:c,title:p})=>(a(),l("li",null,[d("a",{class:"outline-link",href:c,onClick:e,title:p},V(p),9,Wo),r!=null&&r.length?(a(),y(s,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}});const Be=m(Yo,[["__scopeId","data-v-52bf15e0"]]),Ko={},Xo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Qo=d("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),Jo=[Qo];function Zo(n,e){return a(),l("svg",Xo,Jo)}const Te=m(Ko,[["render",Zo]]),ea=g({__name:"VPLocalNavOutlineDropdown",props:{headers:{}},setup(n){const{theme:e}=S(),t=L(!1),o=L(0),s=L();Z(()=>{t.value=!1});function r(){t.value=!t.value,o.value=window.innerHeight+Math.min(window.scrollY-64,0)}function c(_){_.target.classList.contains("outline-link")&&(s.value&&(s.value.style.transition="none"),Oe(()=>{t.value=!1}))}function p(){t.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(_,$)=>(a(),l("div",{class:"VPLocalNavOutlineDropdown",style:ze({"--vp-vh":o.value+"px"})},[_.headers.length>0?(a(),l("button",{key:0,onClick:r,class:B({open:t.value})},[N(V(i(Me)(i(e)))+" ",1),h(Te,{class:"icon"})],2)):(a(),l("button",{key:1,onClick:p},V(i(e).returnToTopLabel||"Return to top"),1)),h(fe,{name:"flyout"},{default:v(()=>[t.value?(a(),l("div",{key:0,ref_key:"items",ref:s,class:"items",onClick:c},[d("a",{class:"top-link",href:"#",onClick:p},V(i(e).returnToTopLabel||"Return to top"),1),h(Be,{headers:_.headers},null,8,["headers"])],512)):f("",!0)]),_:1})],4))}});const ta=m(ea,[["__scopeId","data-v-76dd2621"]]),na={},sa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},oa=d("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),aa=d("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),ra=d("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),ia=d("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),la=[oa,aa,ra,ia];function ca(n,e){return a(),l("svg",sa,la)}const ua=m(na,[["render",ca]]),da=["aria-expanded"],_a={class:"menu-text"},va=g({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(n){const{theme:e,frontmatter:t}=S(),{hasSidebar:o}=D(),{y:s}=Re(),r=ge([]);Z(()=>{r.value=Ce(t.value.outline??e.value.outline)});const c=b(()=>r.value.length===0&&!o.value),p=b(()=>({VPLocalNav:!0,fixed:c.value,"reached-top":s.value>=64}));return(_,$)=>i(t).layout!=="home"&&(!c.value||i(s)>=64)?(a(),l("div",{key:0,class:B(p.value)},[i(o)?(a(),l("button",{key:0,class:"menu","aria-expanded":_.open,"aria-controls":"VPSidebarNav",onClick:$[0]||($[0]=M=>_.$emit("open-menu"))},[h(ua,{class:"menu-icon"}),d("span",_a,V(i(e).sidebarMenuLabel||"Menu"),1)],8,da)):f("",!0),h(ta,{headers:r.value},null,8,["headers"])],2)):f("",!0)}});const pa=m(va,[["__scopeId","data-v-42ac1d5f"]]),ha=n=>(E("data-v-af8d9790"),n=n(),z(),n),fa=["role","tabindex"],ma=ha(()=>d("div",{class:"indicator"},null,-1)),ga={key:1,class:"items"},ya=g({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(n){const e=n,{collapsed:t,collapsible:o,isLink:s,isActiveLink:r,hasActiveLink:c,hasChildren:p,toggle:_}=Lt(b(()=>e.item)),$=b(()=>p.value?"section":"div"),M=b(()=>s.value?"a":"div"),T=b(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),I=b(()=>s.value?void 0:"button"),k=b(()=>[[`level-${e.depth}`],{collapsible:o.value},{collapsed:t.value},{"is-link":s.value},{"is-active":r.value},{"has-active":c.value}]);function P(w){"key"in w&&w.key!=="Enter"||!e.item.link&&_()}function x(){e.item.link&&_()}return(w,H)=>{const K=j("VPSidebarItem",!0);return a(),y(U($.value),{class:B(["VPSidebarItem",k.value])},{default:v(()=>[w.item.text?(a(),l("div",se({key:0,class:"item",role:I.value},lt(w.item.items?{click:P,keydown:P}:{},!0),{tabindex:w.item.items&&0}),[ma,w.item.link?(a(),y(G,{key:0,tag:M.value,class:"link",href:w.item.link},{default:v(()=>[(a(),y(U(T.value),{class:"text",innerHTML:w.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"])):(a(),y(U(T.value),{key:1,class:"text",innerHTML:w.item.text},null,8,["innerHTML"])),w.item.collapsed!=null?(a(),l("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:x,onKeydown:ct(x,["enter"]),tabindex:"0"},[h(Te,{class:"caret-icon"})],32)):f("",!0)],16,fa)):f("",!0),w.item.items&&w.item.items.length?(a(),l("div",ga,[w.depth<5?(a(!0),l(C,{key:0},A(w.item.items,F=>(a(),y(K,{key:F.text,item:F,depth:w.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}});const ba=m(ya,[["__scopeId","data-v-af8d9790"]]),Ze=n=>(E("data-v-582a1996"),n=n(),z(),n),$a=Ze(()=>d("div",{class:"curtain"},null,-1)),ka={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Pa=Ze(()=>d("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Va=g({__name:"VPSidebar",props:{open:{type:Boolean}},setup(n){const{sidebarGroups:e,hasSidebar:t}=D(),o=n;let s=L(null);function r(){Xe(s.value,{reserveScrollBarGap:!0})}function c(){Qe()}return ut(async()=>{var p;o.open?(r(),(p=s.value)==null||p.focus()):c()}),(p,_)=>i(t)?(a(),l("aside",{key:0,class:B(["VPSidebar",{open:p.open}]),ref_key:"navEl",ref:s,onClick:_[0]||(_[0]=dt(()=>{},["stop"]))},[$a,d("nav",ka,[Pa,u(p.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),l(C,null,A(i(e),$=>(a(),l("div",{key:$.text,class:"group"},[h(ba,{item:$,depth:0},null,8,["item"])]))),128)),u(p.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}});const wa=m(Va,[["__scopeId","data-v-582a1996"]]),Sa={},La={class:"VPPage"};function Ma(n,e){const t=j("Content");return a(),l("div",La,[u(n.$slots,"page-top"),h(t),u(n.$slots,"page-bottom")])}const Ca=m(Sa,[["render",Ma]]),Ba=g({__name:"VPButton",props:{tag:{},size:{},theme:{},text:{},href:{}},setup(n){const e=n,t=b(()=>[e.size??"medium",e.theme??"brand"]),o=b(()=>e.href&&De.test(e.href)),s=b(()=>e.tag?e.tag:e.href?"a":"button");return(r,c)=>(a(),y(U(s.value),{class:B(["VPButton",t.value]),href:r.href?i(ee)(r.href):void 0,target:o.value?"_blank":void 0,rel:o.value?"noreferrer":void 0},{default:v(()=>[N(V(r.text),1)]),_:1},8,["class","href","target","rel"]))}});const Ta=m(Ba,[["__scopeId","data-v-cbc5736f"]]),Ia=n=>(E("data-v-13fe8a98"),n=n(),z(),n),xa={class:"container"},Na={class:"main"},Aa={key:0,class:"name"},Ha={class:"clip"},Ea={key:1,class:"text"},za={key:2,class:"tagline"},Da={key:0,class:"actions"},Fa={key:0,class:"image"},Oa={class:"image-container"},Ga=Ia(()=>d("div",{class:"image-bg"},null,-1)),Ra=g({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(n){const e=me("hero-image-slot-exists");return(t,o)=>(a(),l("div",{class:B(["VPHero",{"has-image":t.image||i(e)}])},[d("div",xa,[d("div",Na,[u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),l("h1",Aa,[d("span",Ha,V(t.name),1)])):f("",!0),t.text?(a(),l("p",Ea,V(t.text),1)):f("",!0),t.tagline?(a(),l("p",za,V(t.tagline),1)):f("",!0)],!0),t.actions?(a(),l("div",Da,[(a(!0),l(C,null,A(t.actions,s=>(a(),l("div",{key:s.link,class:"action"},[h(Ta,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||i(e)?(a(),l("div",Fa,[d("div",Oa,[Ga,u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),y($e,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}});const ja=m(Ra,[["__scopeId","data-v-13fe8a98"]]),Ua=g({__name:"VPHomeHero",setup(n){const{frontmatter:e}=S();return(t,o)=>i(e).hero?(a(),y(ja,{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":v(()=>[u(t.$slots,"home-hero-info")]),"home-hero-image":v(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),qa={},Wa={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ya=d("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),Ka=[Ya];function Xa(n,e){return a(),l("svg",Wa,Ka)}const Qa=m(qa,[["render",Xa]]),Ja={class:"box"},Za=["innerHTML"],er=["innerHTML"],tr=["innerHTML"],nr={key:3,class:"link-text"},sr={class:"link-text-value"},or=g({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{}},setup(n){return(e,t)=>(a(),y(G,{class:"VPFeature",href:e.link,"no-icon":!0},{default:v(()=>[d("article",Ja,[typeof e.icon=="object"?(a(),y($e,{key:0,image:e.icon,alt:e.icon.alt,height:e.icon.height,width:e.icon.width},null,8,["image","alt","height","width"])):e.icon?(a(),l("div",{key:1,class:"icon",innerHTML:e.icon},null,8,Za)):f("",!0),d("h2",{class:"title",innerHTML:e.title},null,8,er),e.details?(a(),l("p",{key:2,class:"details",innerHTML:e.details},null,8,tr)):f("",!0),e.linkText?(a(),l("div",nr,[d("p",sr,[N(V(e.linkText)+" ",1),h(Qa,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href"]))}});const ar=m(or,[["__scopeId","data-v-90df4af1"]]),rr={key:0,class:"VPFeatures"},ir={class:"container"},lr={class:"items"},cr=g({__name:"VPFeatures",props:{features:{}},setup(n){const e=n,t=b(()=>{const o=e.features.length;if(o){if(o===2)return"grid-2";if(o===3)return"grid-3";if(o%3===0)return"grid-6";if(o>3)return"grid-4"}else return});return(o,s)=>o.features?(a(),l("div",rr,[d("div",ir,[d("div",lr,[(a(!0),l(C,null,A(o.features,r=>(a(),l("div",{key:r.title,class:B(["item",[t.value]])},[h(ar,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):f("",!0)}});const ur=m(cr,[["__scopeId","data-v-32c2950a"]]),dr=g({__name:"VPHomeFeatures",setup(n){const{frontmatter:e}=S();return(t,o)=>i(e).features?(a(),y(ur,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):f("",!0)}}),_r={class:"VPHome"},vr=g({__name:"VPHome",setup(n){return(e,t)=>{const o=j("Content");return a(),l("div",_r,[u(e.$slots,"home-hero-before",{},void 0,!0),h(Ua,null,{"home-hero-info":v(()=>[u(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(e.$slots,"home-hero-after",{},void 0,!0),u(e.$slots,"home-features-before",{},void 0,!0),h(dr),u(e.$slots,"home-features-after",{},void 0,!0),h(o)])}}});const pr=m(vr,[["__scopeId","data-v-a5eb78d4"]]),hr=n=>(E("data-v-487501be"),n=n(),z(),n),fr={class:"content"},mr={class:"outline-title"},gr={"aria-labelledby":"doc-outline-aria-label"},yr=hr(()=>d("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),br=g({__name:"VPDocAsideOutline",setup(n){const{frontmatter:e,theme:t}=S(),o=ge([]);Z(()=>{o.value=Ce(e.value.outline??t.value.outline)});const s=L(),r=L();return Uo(s,r),(c,p)=>(a(),l("div",{class:B(["VPDocAsideOutline",{"has-outline":o.value.length>0}]),ref_key:"container",ref:s},[d("div",fr,[d("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),d("div",mr,V(i(Me)(i(t))),1),d("nav",gr,[yr,h(Be,{headers:o.value,root:!0},null,8,["headers"])])])],2))}});const $r=m(br,[["__scopeId","data-v-487501be"]]),kr={class:"VPDocAsideCarbonAds"},Pr=g({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(n){const e=()=>null;return(t,o)=>(a(),l("div",kr,[h(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Vr=n=>(E("data-v-08a33b8d"),n=n(),z(),n),wr={class:"VPDocAside"},Sr=Vr(()=>d("div",{class:"spacer"},null,-1)),Lr=g({__name:"VPDocAside",setup(n){const{theme:e}=S();return(t,o)=>(a(),l("div",wr,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),h($r),u(t.$slots,"aside-outline-after",{},void 0,!0),Sr,u(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),y(Pr,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):f("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}});const Mr=m(Lr,[["__scopeId","data-v-08a33b8d"]]);function Cr(){const{theme:n,page:e}=S();return b(()=>{const{text:t="Edit this page",pattern:o=""}=n.value.editLink||{};let s;return typeof o=="function"?s=o(e.value):s=o.replace(/:path/g,e.value.filePath),{url:s,text:t}})}function Br(){const{page:n,theme:e,frontmatter:t}=S();return b(()=>{var _,$,M,T,I,k;const o=je(e.value.sidebar,n.value.relativePath),s=wt(o),r=s.findIndex(P=>Y(n.value.relativePath,P.link)),c=((_=e.value.docFooter)==null?void 0:_.prev)===!1&&!t.value.prev||t.value.prev===!1,p=(($=e.value.docFooter)==null?void 0:$.next)===!1&&!t.value.next||t.value.next===!1;return{prev:c?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((M=s[r-1])==null?void 0:M.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((T=s[r-1])==null?void 0:T.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((I=s[r+1])==null?void 0:I.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((k=s[r+1])==null?void 0:k.link)}}})}const Tr={},Ir={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},xr=d("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),Nr=d("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Ar=[xr,Nr];function Hr(n,e){return a(),l("svg",Ir,Ar)}const Er=m(Tr,[["render",Hr]]),zr={class:"VPLastUpdated"},Dr=["datetime"],Fr=g({__name:"VPDocFooterLastUpdated",setup(n){const{theme:e,page:t,lang:o}=S(),s=b(()=>new Date(t.value.lastUpdated)),r=b(()=>s.value.toISOString()),c=L("");return O(()=>{J(()=>{c.value=s.value.toLocaleString(o.value)})}),(p,_)=>(a(),l("p",zr,[N(V(i(e).lastUpdatedText||"Last updated")+": ",1),d("time",{datetime:r.value},V(c.value),9,Dr)]))}});const Or=m(Fr,[["__scopeId","data-v-47312c26"]]),Gr={key:0,class:"VPDocFooter"},Rr={key:0,class:"edit-info"},jr={key:0,class:"edit-link"},Ur={key:1,class:"last-updated"},qr={key:1,class:"prev-next"},Wr={class:"pager"},Yr=["href"],Kr=["innerHTML"],Xr=["innerHTML"],Qr=["href"],Jr=["innerHTML"],Zr=["innerHTML"],ei=g({__name:"VPDocFooter",setup(n){const{theme:e,page:t,frontmatter:o}=S(),s=Cr(),r=Br(),c=b(()=>e.value.editLink&&o.value.editLink!==!1),p=b(()=>t.value.lastUpdated&&o.value.lastUpdated!==!1),_=b(()=>c.value||p.value||r.value.prev||r.value.next);return($,M)=>{var T,I,k,P,x,w,H;return _.value?(a(),l("footer",Gr,[u($.$slots,"doc-footer-before",{},void 0,!0),c.value||p.value?(a(),l("div",Rr,[c.value?(a(),l("div",jr,[h(G,{class:"edit-link-button",href:i(s).url,"no-icon":!0},{default:v(()=>[h(Er,{class:"edit-link-icon","aria-label":"edit icon"}),N(" "+V(i(s).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),l("div",Ur,[h(Or)])):f("",!0)])):f("",!0),(T=i(r).prev)!=null&&T.link||(I=i(r).next)!=null&&I.link?(a(),l("div",qr,[d("div",Wr,[(k=i(r).prev)!=null&&k.link?(a(),l("a",{key:0,class:"pager-link prev",href:i(ee)(i(r).prev.link)},[d("span",{class:"desc",innerHTML:((P=i(e).docFooter)==null?void 0:P.prev)||"Previous page"},null,8,Kr),d("span",{class:"title",innerHTML:i(r).prev.text},null,8,Xr)],8,Yr)):f("",!0)]),d("div",{class:B(["pager",{"has-prev":(x=i(r).prev)==null?void 0:x.link}])},[(w=i(r).next)!=null&&w.link?(a(),l("a",{key:0,class:"pager-link next",href:i(ee)(i(r).next.link)},[d("span",{class:"desc",innerHTML:((H=i(e).docFooter)==null?void 0:H.next)||"Next page"},null,8,Jr),d("span",{class:"title",innerHTML:i(r).next.text},null,8,Zr)],8,Qr)):f("",!0)],2)])):f("",!0)])):f("",!0)}}});const ti=m(ei,[["__scopeId","data-v-259db062"]]),ni={key:0,class:"VPDocOutlineDropdown"},si={key:0,class:"items"},oi=g({__name:"VPDocOutlineDropdown",setup(n){const{frontmatter:e,theme:t}=S(),o=L(!1);Z(()=>{o.value=!1});const s=ge([]);return Z(()=>{s.value=Ce(e.value.outline??t.value.outline)}),(r,c)=>s.value.length>0?(a(),l("div",ni,[d("button",{onClick:c[0]||(c[0]=p=>o.value=!o.value),class:B({open:o.value})},[N(V(i(Me)(i(t)))+" ",1),h(Te,{class:"icon"})],2),o.value?(a(),l("div",si,[h(Be,{headers:s.value},null,8,["headers"])])):f("",!0)])):f("",!0)}});const ai=m(oi,[["__scopeId","data-v-115273b7"]]),ri=n=>(E("data-v-101ab53e"),n=n(),z(),n),ii={class:"container"},li=ri(()=>d("div",{class:"aside-curtain"},null,-1)),ci={class:"aside-container"},ui={class:"aside-content"},di={class:"content"},_i={class:"content-container"},vi={class:"main"},pi=g({__name:"VPDoc",setup(n){const e=te(),{hasSidebar:t,hasAside:o,leftAside:s}=D(),r=b(()=>e.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(c,p)=>{const _=j("Content");return a(),l("div",{class:B(["VPDoc",{"has-sidebar":i(t),"has-aside":i(o)}])},[u(c.$slots,"doc-top",{},void 0,!0),d("div",ii,[i(o)?(a(),l("div",{key:0,class:B(["aside",{"left-aside":i(s)}])},[li,d("div",ci,[d("div",ui,[h(Mr,null,{"aside-top":v(()=>[u(c.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(c.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(c.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(c.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(c.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(c.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),d("div",di,[d("div",_i,[u(c.$slots,"doc-before",{},void 0,!0),h(ai),d("main",vi,[h(_,{class:B(["vp-doc",r.value])},null,8,["class"])]),h(ti,null,{"doc-footer-before":v(()=>[u(c.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(c.$slots,"doc-after",{},void 0,!0)])])]),u(c.$slots,"doc-bottom",{},void 0,!0)],2)}}});const hi=m(pi,[["__scopeId","data-v-101ab53e"]]),ce=n=>(E("data-v-cbd5067b"),n=n(),z(),n),fi={class:"NotFound"},mi=ce(()=>d("p",{class:"code"},"404",-1)),gi=ce(()=>d("h1",{class:"title"},"PAGE NOT FOUND",-1)),yi=ce(()=>d("div",{class:"divider"},null,-1)),bi=ce(()=>d("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),$i={class:"action"},ki=["href"],Pi=g({__name:"NotFound",setup(n){const{site:e}=S(),{localeLinks:t}=ne({removeCurrent:!1}),o=L("/");return O(()=>{var r;const s=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");t.value.length&&(o.value=((r=t.value.find(({link:c})=>c.startsWith(s)))==null?void 0:r.link)||t.value[0].link)}),(s,r)=>(a(),l("div",fi,[mi,gi,yi,bi,d("div",$i,[d("a",{class:"link",href:i(pe)(o.value),"aria-label":"go to home"}," Take me home ",8,ki)])]))}});const Vi=m(Pi,[["__scopeId","data-v-cbd5067b"]]),wi=g({__name:"VPContent",setup(n){const{page:e,frontmatter:t}=S(),{hasSidebar:o}=D();return(s,r)=>(a(),l("div",{class:B(["VPContent",{"has-sidebar":i(o),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?u(s.$slots,"not-found",{key:0},()=>[h(Vi)],!0):i(t).layout==="page"?(a(),y(Ca,{key:1},{"page-top":v(()=>[u(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),y(pr,{key:2},{"home-hero-before":v(()=>[u(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):(a(),y(hi,{key:3},{"doc-top":v(()=>[u(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[u(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[u(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[u(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[u(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Si=m(wi,[["__scopeId","data-v-acd8c4ed"]]),Li={class:"container"},Mi=["innerHTML"],Ci=["innerHTML"],Bi=g({__name:"VPFooter",setup(n){const{theme:e}=S(),{hasSidebar:t}=D();return(o,s)=>i(e).footer?(a(),l("footer",{key:0,class:B(["VPFooter",{"has-sidebar":i(t)}])},[d("div",Li,[i(e).footer.message?(a(),l("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,Mi)):f("",!0),i(e).footer.copyright?(a(),l("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Ci)):f("",!0)])],2)):f("",!0)}});const Ti=m(Bi,[["__scopeId","data-v-7061414f"]]),Ii={key:0,class:"Layout"},xi=g({__name:"Layout",setup(n){const{isOpen:e,open:t,close:o}=D(),s=te();W(()=>s.path,o),St(e,o),oe("close-sidebar",o),oe("is-sidebar-open",e);const{frontmatter:r}=S(),c=_t(),p=b(()=>!!c["home-hero-image"]);return oe("hero-image-slot-exists",p),(_,$)=>{const M=j("Content");return i(r).layout!==!1?(a(),l("div",Ii,[u(_.$slots,"layout-top",{},void 0,!0),h(Ct),h(It,{class:"backdrop",show:i(e),onClick:i(o)},null,8,["show","onClick"]),h(Fo,null,{"nav-bar-title-before":v(()=>[u(_.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(_.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(_.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(_.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[u(_.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(_.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),h(pa,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),h(wa,{open:i(e)},{"sidebar-nav-before":v(()=>[u(_.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[u(_.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),h(Si,null,{"page-top":v(()=>[u(_.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(_.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[u(_.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[u(_.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(_.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(_.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(_.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(_.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(_.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[u(_.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(_.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(_.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[u(_.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(_.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[u(_.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(_.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(_.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(_.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(_.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(_.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),h(Ti),u(_.$slots,"layout-bottom",{},void 0,!0)])):(a(),y(M,{key:1}))}}});const Ni=m(xi,[["__scopeId","data-v-e907f473"]]);const Hi={Layout:Ni,enhanceApp:({app:n})=>{n.component("Badge",pt)}};export{Hi as t};
diff --git a/assets/components_alert.md.0d858266.js b/assets/components_alert.md.ed799fa1.js
similarity index 80%
rename from assets/components_alert.md.0d858266.js
rename to assets/components_alert.md.ed799fa1.js
index 2a8e2414e..2cb34098d 100644
--- a/assets/components_alert.md.0d858266.js
+++ b/assets/components_alert.md.ed799fa1.js
@@ -1,14 +1,14 @@
-import{d as i,c as v,C as t,y as o,v as l,M as F,A as D,o as f,a as s,b as d,K as u,L as h,_ as E}from"./chunks/framework.f50263fa.js";import{F as p}from"./chunks/index.d4485e61.js";const e=r=>(u("data-v-4dc0d698"),r=r(),h(),r),C=F('Alert 警告
用于页面中展示重要的提示信息
基本使用
type
属性可以配置不同的主题类型,展示不同的颜色状态
',5),_=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
+import{d as i,c as b,C as t,y as o,v as l,M as y,A as F,o as v,a as s,b as p,K as f,L as u,_ as h}from"./chunks/framework.f50263fa.js";import{F as D}from"./chunks/index.d4485e61.js";const e=r=>(f("data-v-c73c713b"),r=r(),u(),r),E=y('Alert 警告
用于页面中展示重要的提示信息
基本使用
type
属性可以配置不同的主题类型,展示不同的颜色状态
',5),C=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"primary"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"主要提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"success"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"成功提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"danger"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"危险提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"warning"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"警告提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
-`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"info"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"信息提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),m=e(()=>l("h2",{id:"不同文字大小",tabindex:"-1"},[s("不同文字大小 "),l("a",{class:"header-anchor",href:"#不同文字大小","aria-label":'Permalink to "不同文字大小"'},"")],-1)),A=e(()=>l("p",null,[l("code",null,"font-size"),s(" 属性可以配置不同大小的 "),l("code",null,"alert")],-1)),g=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},":font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"12"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
+`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"info"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"信息提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),_=e(()=>l("h2",{id:"不同文字大小",tabindex:"-1"},[s("不同文字大小 "),l("a",{class:"header-anchor",href:"#不同文字大小","aria-label":'Permalink to "不同文字大小"'},"")],-1)),m=e(()=>l("p",null,[l("code",null,"font-size"),s(" 属性可以配置不同大小的 "),l("code",null,"alert")],-1)),A=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},":font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"12"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},":font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"14"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"primary"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"主要提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},":font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"16"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"success"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"成功提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"20px"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"danger"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"危险提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"24px"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"warning"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"警告提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
-`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"27px"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"info"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"信息提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),b=e(()=>l("h2",{id:"是否加粗",tabindex:"-1"},[s("是否加粗 "),l("a",{class:"header-anchor",href:"#是否加粗","aria-label":'Permalink to "是否加粗"'},"")],-1)),B=e(()=>l("p",null,[s("使用 "),l("code",null,"bold"),s(" 属性可将文字设置为粗体显示")],-1)),k=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"未加粗的默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
+`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"27px"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"info"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"信息提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),g=e(()=>l("h2",{id:"是否加粗",tabindex:"-1"},[s("是否加粗 "),l("a",{class:"header-anchor",href:"#是否加粗","aria-label":'Permalink to "是否加粗"'},"")],-1)),B=e(()=>l("p",null,[s("使用 "),l("code",null,"bold"),s(" 属性可将文字设置为粗体显示")],-1)),k=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"未加粗的默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"primary"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"bold"),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"加粗的主要提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"success"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"bold"),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"加粗的成功提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"danger"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"bold"),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"加粗的危险提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),x=e(()=>l("h2",{id:"是否居中",tabindex:"-1"},[s("是否居中 "),l("a",{class:"header-anchor",href:"#是否居中","aria-label":'Permalink to "是否居中"'},"")],-1)),P=e(()=>l("p",null,[s("使用 "),l("code",null,"center"),s(" 属性可将文本显示中间")],-1)),I=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"未居中的默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
@@ -46,4 +46,4 @@ import{d as i,c as v,C as t,y as o,v as l,M as F,A as D,o as f,a as s,b as d,K a
`),l("span",{class:"line"}),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"script"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"lang"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"ts"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"setup"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF"}},"{"),l("span",{style:{color:"#F07178"}}," "),l("span",{style:{color:"#BABED8"}},"FIconFaceSmile"),l("span",{style:{color:"#F07178"}}," "),l("span",{style:{color:"#89DDFF"}},"}"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF","font-style":"italic"}},"from"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF"}},"'"),l("span",{style:{color:"#C3E88D"}},"@fighting-design/fighting-icon"),l("span",{style:{color:"#89DDFF"}},"'")]),s(`
-`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"script"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),Y=F('Attributes
参数 说明 类型 可选值 默认值 type
类型 FightingType default
primary
success
danger
warning
info
default font-size
副标题文字大小 string / number —— —— title-size
主标题文字大小 string / number —— —— bold
文字是否以粗体显示 boolean —— false center
是否居中 boolean —— false close
可关闭 boolean —— false simple
简约模式 boolean —— false title
标题 string —— —— round
显示为圆角 boolean —— false background
背景颜色 string —— —— color
副标题字体颜色 string —— —— title-color
主标题字体颜色 string —— —— fixed
是否固定定位 boolean —— false alert-list
滚动列表 array (string[]) —— —— duration
滚动列表滚动时间间隔 number —— —— before-icon
自定义前缀 icon FightingIcon —— —— close-icon
自定义关闭 icon FightingIcon —— —— on-close
点击关闭之后执行的回调 HandleMouse —— ——
Slots
名称 说明 default
自定义副标题的内容 title
自定义主标题的内容 closeIcon
自定义关闭 icon beforeIcon
自定义前缀 icon
Interface
组件导出以下类型定义:
tsimport type { AlertInstance, AlertProps } from 'fighting-design'
样式变量
组件提供了下列 CSS 变量,可用于自定义样式
名称 描述 --alert-border-radius
圆角大小 --alert-color
文字颜色 --alert-background
背景色
Contributors
',11),Z={href:"https://github.com/Tyh2001",target:"_blank"},$={href:"https://github.com/jardeng",target:"_blank"},ll={href:"https://github.com/HeHasGun",target:"_blank"},sl={href:"https://github.com/long-life233",target:"_blank"},ol={href:"https://github.com/w2xi",target:"_blank"},dl=JSON.parse('{"title":"Alert 警告","description":"","frontmatter":{},"headers":[],"relativePath":"components/alert.md","filePath":"components/alert.md","lastUpdated":1716512774000}'),tl={name:"components/alert.md"},al=i({...tl,setup(r){const y=["把大象放进冰箱需要几步?","第一步:打开冰箱门","第二步:把大象装进去","第三步:关好冰箱门"];return(el,cl)=>{const a=D("f-alert"),c=D("vp-demo"),n=D("f-avatar");return f(),v("div",null,[C,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[_]),_:1}),m,A,t(c,{source:""},{source:o(()=>[t(a,{"font-size":12,type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{"font-size":14,type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{"font-size":16,type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{"font-size":"20px",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{"font-size":"24px",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{"font-size":"27px",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[g]),_:1}),b,B,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未加粗的默认提示信息")]),_:1}),t(a,{type:"primary",bold:""},{default:o(()=>[s("加粗的主要提示信息")]),_:1}),t(a,{type:"success",bold:""},{default:o(()=>[s("加粗的成功提示信息")]),_:1}),t(a,{type:"danger",bold:""},{default:o(()=>[s("加粗的危险提示信息")]),_:1})]),default:o(()=>[k]),_:1}),x,P,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未居中的默认提示信息")]),_:1}),t(a,{type:"primary",center:""},{default:o(()=>[s("居中的主要提示信息")]),_:1}),t(a,{type:"success",center:""},{default:o(()=>[s("居中的成功提示信息")]),_:1}),t(a,{type:"danger",center:""},{default:o(()=>[s("居中的危险提示信息")]),_:1})]),default:o(()=>[I]),_:1}),z,S,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",close:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",close:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",close:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[q]),_:1}),w,H,t(c,{source:""},{source:o(()=>[t(a,{simple:"",type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{simple:"",type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{simple:"",type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{simple:"",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{simple:"",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{simple:"",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[N]),_:1}),L,V,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",round:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",round:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",round:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[T]),_:1}),M,j,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",background:"#58c8de"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",background:"#e372ff"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",background:"#e49b33"},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[G]),_:1}),J,K,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",title:"Hello~"},{default:o(()=>[s("今天代码写的很愉快!")]),_:1}),t(a,{type:"success",title:"标题"},{default:o(()=>[s("心情很不错")]),_:1})]),default:o(()=>[O]),_:1}),U,Q,t(c,{source:""},{source:o(()=>[t(a,{"alert-list":y,title:"你知道吗?",type:"primary"})]),default:o(()=>[R]),_:1}),W,t(c,{source:""},{source:o(()=>[t(a,{type:"default","before-icon":d(p)},{default:o(()=>[s("默认提示信息")]),_:1},8,["before-icon"]),t(a,{type:"primary","before-icon":d(p)},{default:o(()=>[s("主要提示信息")]),_:1},8,["before-icon"]),t(a,{type:"success","before-icon":d(p)},{default:o(()=>[s("成功提示信息")]),_:1},8,["before-icon"]),t(a,{type:"danger","before-icon":d(p)},{default:o(()=>[s("危险提示信息")]),_:1},8,["before-icon"])]),default:o(()=>[X]),_:1}),Y,l("a",Z,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),l("a",$,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/19302222?v=4"})]),l("a",ll,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/66313154?v=4"})]),l("a",sl,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/77321887?v=4"})]),l("a",ol,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/57785259?v=4"})])])}}});const pl=E(al,[["__scopeId","data-v-4dc0d698"]]);export{dl as __pageData,pl as default};
+`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"script"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),Y=y('Attributes
参数 说明 类型 可选值 默认值 type
类型 FightingType default
primary
success
danger
warning
info
default font-size
副标题文字大小 string / number —— —— title-size
主标题文字大小 string / number —— —— bold
文字是否以粗体显示 boolean —— false center
是否居中 boolean —— false close
可关闭 boolean —— false simple
简约模式 boolean —— false title
标题 string —— —— round
显示为圆角 boolean —— false background
背景颜色 string —— —— color
副标题字体颜色 string —— —— title-color
主标题字体颜色 string —— —— fixed
是否固定定位 boolean —— false alert-list
滚动列表 array (string[]) —— —— duration
滚动列表滚动时间间隔 number —— —— before-icon
自定义前缀 icon FightingIcon —— —— close-icon
自定义关闭 icon FightingIcon —— —— on-close
点击关闭之后执行的回调 HandleMouse —— ——
Slots
名称 说明 default
自定义副标题的内容 title
自定义主标题的内容 closeIcon
自定义关闭 icon beforeIcon
自定义前缀 icon
Interface
组件导出以下类型定义:
tsimport type { AlertInstance, AlertProps } from 'fighting-design'
样式变量
组件提供了下列 CSS 变量,可用于自定义样式
名称 描述 --alert-border-radius
圆角大小 --alert-color
文字颜色 --alert-background
背景色
Contributors
',11),Z={href:"https://github.com/Tyh2001",target:"_blank"},$={href:"https://github.com/jardeng",target:"_blank"},ll={href:"https://github.com/HeHasGun",target:"_blank"},sl={href:"https://github.com/long-life233",target:"_blank"},ol={href:"https://github.com/w2xi",target:"_blank"},pl=JSON.parse('{"title":"Alert 警告","description":"","frontmatter":{},"headers":[],"relativePath":"components/alert.md","filePath":"components/alert.md","lastUpdated":1718072164000}'),tl={name:"components/alert.md"},al=i({...tl,setup(r){const d=["把大象放进冰箱需要几步?","第一步:打开冰箱门","第二步:把大象装进去","第三步:关好冰箱门"];return(el,cl)=>{const a=F("f-alert"),c=F("vp-demo"),n=F("f-avatar");return v(),b("div",null,[E,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[C]),_:1}),_,m,t(c,{source:""},{source:o(()=>[t(a,{"font-size":12,type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{"font-size":14,type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{"font-size":16,type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{"font-size":"20px",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{"font-size":"24px",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{"font-size":"27px",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[A]),_:1}),g,B,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未加粗的默认提示信息")]),_:1}),t(a,{type:"primary",bold:""},{default:o(()=>[s("加粗的主要提示信息")]),_:1}),t(a,{type:"success",bold:""},{default:o(()=>[s("加粗的成功提示信息")]),_:1}),t(a,{type:"danger",bold:""},{default:o(()=>[s("加粗的危险提示信息")]),_:1})]),default:o(()=>[k]),_:1}),x,P,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未居中的默认提示信息")]),_:1}),t(a,{type:"primary",center:""},{default:o(()=>[s("居中的主要提示信息")]),_:1}),t(a,{type:"success",center:""},{default:o(()=>[s("居中的成功提示信息")]),_:1}),t(a,{type:"danger",center:""},{default:o(()=>[s("居中的危险提示信息")]),_:1})]),default:o(()=>[I]),_:1}),z,S,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",close:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",close:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",close:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[q]),_:1}),w,H,t(c,{source:""},{source:o(()=>[t(a,{simple:"",type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{simple:"",type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{simple:"",type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{simple:"",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{simple:"",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{simple:"",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[N]),_:1}),L,V,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",round:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",round:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",round:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[T]),_:1}),M,j,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",background:"#58c8de"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",background:"#e372ff"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",background:"#e49b33"},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[G]),_:1}),J,K,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",title:"Hello~"},{default:o(()=>[s("今天代码写的很愉快!")]),_:1}),t(a,{type:"success",title:"标题"},{default:o(()=>[s("心情很不错")]),_:1})]),default:o(()=>[O]),_:1}),U,Q,t(c,{source:""},{source:o(()=>[t(a,{"alert-list":d,title:"你知道吗?",type:"primary"})]),default:o(()=>[R]),_:1}),W,t(c,{source:""},{source:o(()=>[t(a,{type:"default","before-icon":p(D)},{default:o(()=>[s("默认提示信息")]),_:1},8,["before-icon"]),t(a,{type:"primary","before-icon":p(D)},{default:o(()=>[s("主要提示信息")]),_:1},8,["before-icon"]),t(a,{type:"success","before-icon":p(D)},{default:o(()=>[s("成功提示信息")]),_:1},8,["before-icon"]),t(a,{type:"danger","before-icon":p(D)},{default:o(()=>[s("危险提示信息")]),_:1},8,["before-icon"])]),default:o(()=>[X]),_:1}),Y,l("a",Z,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),l("a",$,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/19302222?v=4"})]),l("a",ll,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/66313154?v=4"})]),l("a",sl,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/77321887?v=4"})]),l("a",ol,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/57785259?v=4"})])])}}});const Dl=h(al,[["__scopeId","data-v-c73c713b"]]);export{pl as __pageData,Dl as default};
diff --git a/assets/components_alert.md.0d858266.lean.js b/assets/components_alert.md.ed799fa1.lean.js
similarity index 80%
rename from assets/components_alert.md.0d858266.lean.js
rename to assets/components_alert.md.ed799fa1.lean.js
index 2a8e2414e..2cb34098d 100644
--- a/assets/components_alert.md.0d858266.lean.js
+++ b/assets/components_alert.md.ed799fa1.lean.js
@@ -1,14 +1,14 @@
-import{d as i,c as v,C as t,y as o,v as l,M as F,A as D,o as f,a as s,b as d,K as u,L as h,_ as E}from"./chunks/framework.f50263fa.js";import{F as p}from"./chunks/index.d4485e61.js";const e=r=>(u("data-v-4dc0d698"),r=r(),h(),r),C=F('Alert 警告
用于页面中展示重要的提示信息
基本使用
type
属性可以配置不同的主题类型,展示不同的颜色状态
',5),_=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
+import{d as i,c as b,C as t,y as o,v as l,M as y,A as F,o as v,a as s,b as p,K as f,L as u,_ as h}from"./chunks/framework.f50263fa.js";import{F as D}from"./chunks/index.d4485e61.js";const e=r=>(f("data-v-c73c713b"),r=r(),u(),r),E=y('Alert 警告
用于页面中展示重要的提示信息
基本使用
type
属性可以配置不同的主题类型,展示不同的颜色状态
',5),C=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"primary"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"主要提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"success"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"成功提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"danger"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"危险提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"warning"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"警告提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
-`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"info"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"信息提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),m=e(()=>l("h2",{id:"不同文字大小",tabindex:"-1"},[s("不同文字大小 "),l("a",{class:"header-anchor",href:"#不同文字大小","aria-label":'Permalink to "不同文字大小"'},"")],-1)),A=e(()=>l("p",null,[l("code",null,"font-size"),s(" 属性可以配置不同大小的 "),l("code",null,"alert")],-1)),g=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},":font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"12"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
+`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"info"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"信息提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),_=e(()=>l("h2",{id:"不同文字大小",tabindex:"-1"},[s("不同文字大小 "),l("a",{class:"header-anchor",href:"#不同文字大小","aria-label":'Permalink to "不同文字大小"'},"")],-1)),m=e(()=>l("p",null,[l("code",null,"font-size"),s(" 属性可以配置不同大小的 "),l("code",null,"alert")],-1)),A=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},":font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"12"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},":font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"14"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"primary"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"主要提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},":font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"16"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"success"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"成功提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"20px"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"danger"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"危险提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"24px"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"warning"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"警告提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
-`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"27px"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"info"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"信息提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),b=e(()=>l("h2",{id:"是否加粗",tabindex:"-1"},[s("是否加粗 "),l("a",{class:"header-anchor",href:"#是否加粗","aria-label":'Permalink to "是否加粗"'},"")],-1)),B=e(()=>l("p",null,[s("使用 "),l("code",null,"bold"),s(" 属性可将文字设置为粗体显示")],-1)),k=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"未加粗的默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
+`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"font-size"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"27px"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"info"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"信息提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),g=e(()=>l("h2",{id:"是否加粗",tabindex:"-1"},[s("是否加粗 "),l("a",{class:"header-anchor",href:"#是否加粗","aria-label":'Permalink to "是否加粗"'},"")],-1)),B=e(()=>l("p",null,[s("使用 "),l("code",null,"bold"),s(" 属性可将文字设置为粗体显示")],-1)),k=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"未加粗的默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"primary"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"bold"),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"加粗的主要提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"success"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"bold"),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"加粗的成功提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"danger"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"bold"),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"加粗的危险提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),x=e(()=>l("h2",{id:"是否居中",tabindex:"-1"},[s("是否居中 "),l("a",{class:"header-anchor",href:"#是否居中","aria-label":'Permalink to "是否居中"'},"")],-1)),P=e(()=>l("p",null,[s("使用 "),l("code",null,"center"),s(" 属性可将文本显示中间")],-1)),I=e(()=>l("div",{class:"language-html"},[l("button",{title:"Copy Code",class:"copy"}),l("span",{class:"lang"},"html"),l("pre",{class:"shiki material-theme-palenight"},[l("code",null,[l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"type"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"default"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}},">"),l("span",{style:{color:"#BABED8"}},"未居中的默认提示信息"),l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"f-alert"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
@@ -46,4 +46,4 @@ import{d as i,c as v,C as t,y as o,v as l,M as F,A as D,o as f,a as s,b as d,K a
`),l("span",{class:"line"}),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},"<"),l("span",{style:{color:"#F07178"}},"script"),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"lang"),l("span",{style:{color:"#89DDFF"}},"="),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#C3E88D"}},"ts"),l("span",{style:{color:"#89DDFF"}},'"'),l("span",{style:{color:"#89DDFF"}}," "),l("span",{style:{color:"#C792EA"}},"setup"),l("span",{style:{color:"#89DDFF"}},">")]),s(`
`),l("span",{class:"line"},[l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF"}},"{"),l("span",{style:{color:"#F07178"}}," "),l("span",{style:{color:"#BABED8"}},"FIconFaceSmile"),l("span",{style:{color:"#F07178"}}," "),l("span",{style:{color:"#89DDFF"}},"}"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF","font-style":"italic"}},"from"),l("span",{style:{color:"#BABED8"}}," "),l("span",{style:{color:"#89DDFF"}},"'"),l("span",{style:{color:"#C3E88D"}},"@fighting-design/fighting-icon"),l("span",{style:{color:"#89DDFF"}},"'")]),s(`
-`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"script"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),Y=F('Attributes
参数 说明 类型 可选值 默认值 type
类型 FightingType default
primary
success
danger
warning
info
default font-size
副标题文字大小 string / number —— —— title-size
主标题文字大小 string / number —— —— bold
文字是否以粗体显示 boolean —— false center
是否居中 boolean —— false close
可关闭 boolean —— false simple
简约模式 boolean —— false title
标题 string —— —— round
显示为圆角 boolean —— false background
背景颜色 string —— —— color
副标题字体颜色 string —— —— title-color
主标题字体颜色 string —— —— fixed
是否固定定位 boolean —— false alert-list
滚动列表 array (string[]) —— —— duration
滚动列表滚动时间间隔 number —— —— before-icon
自定义前缀 icon FightingIcon —— —— close-icon
自定义关闭 icon FightingIcon —— —— on-close
点击关闭之后执行的回调 HandleMouse —— ——
Slots
名称 说明 default
自定义副标题的内容 title
自定义主标题的内容 closeIcon
自定义关闭 icon beforeIcon
自定义前缀 icon
Interface
组件导出以下类型定义:
tsimport type { AlertInstance, AlertProps } from 'fighting-design'
样式变量
组件提供了下列 CSS 变量,可用于自定义样式
名称 描述 --alert-border-radius
圆角大小 --alert-color
文字颜色 --alert-background
背景色
Contributors
',11),Z={href:"https://github.com/Tyh2001",target:"_blank"},$={href:"https://github.com/jardeng",target:"_blank"},ll={href:"https://github.com/HeHasGun",target:"_blank"},sl={href:"https://github.com/long-life233",target:"_blank"},ol={href:"https://github.com/w2xi",target:"_blank"},dl=JSON.parse('{"title":"Alert 警告","description":"","frontmatter":{},"headers":[],"relativePath":"components/alert.md","filePath":"components/alert.md","lastUpdated":1716512774000}'),tl={name:"components/alert.md"},al=i({...tl,setup(r){const y=["把大象放进冰箱需要几步?","第一步:打开冰箱门","第二步:把大象装进去","第三步:关好冰箱门"];return(el,cl)=>{const a=D("f-alert"),c=D("vp-demo"),n=D("f-avatar");return f(),v("div",null,[C,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[_]),_:1}),m,A,t(c,{source:""},{source:o(()=>[t(a,{"font-size":12,type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{"font-size":14,type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{"font-size":16,type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{"font-size":"20px",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{"font-size":"24px",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{"font-size":"27px",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[g]),_:1}),b,B,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未加粗的默认提示信息")]),_:1}),t(a,{type:"primary",bold:""},{default:o(()=>[s("加粗的主要提示信息")]),_:1}),t(a,{type:"success",bold:""},{default:o(()=>[s("加粗的成功提示信息")]),_:1}),t(a,{type:"danger",bold:""},{default:o(()=>[s("加粗的危险提示信息")]),_:1})]),default:o(()=>[k]),_:1}),x,P,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未居中的默认提示信息")]),_:1}),t(a,{type:"primary",center:""},{default:o(()=>[s("居中的主要提示信息")]),_:1}),t(a,{type:"success",center:""},{default:o(()=>[s("居中的成功提示信息")]),_:1}),t(a,{type:"danger",center:""},{default:o(()=>[s("居中的危险提示信息")]),_:1})]),default:o(()=>[I]),_:1}),z,S,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",close:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",close:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",close:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[q]),_:1}),w,H,t(c,{source:""},{source:o(()=>[t(a,{simple:"",type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{simple:"",type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{simple:"",type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{simple:"",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{simple:"",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{simple:"",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[N]),_:1}),L,V,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",round:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",round:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",round:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[T]),_:1}),M,j,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",background:"#58c8de"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",background:"#e372ff"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",background:"#e49b33"},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[G]),_:1}),J,K,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",title:"Hello~"},{default:o(()=>[s("今天代码写的很愉快!")]),_:1}),t(a,{type:"success",title:"标题"},{default:o(()=>[s("心情很不错")]),_:1})]),default:o(()=>[O]),_:1}),U,Q,t(c,{source:""},{source:o(()=>[t(a,{"alert-list":y,title:"你知道吗?",type:"primary"})]),default:o(()=>[R]),_:1}),W,t(c,{source:""},{source:o(()=>[t(a,{type:"default","before-icon":d(p)},{default:o(()=>[s("默认提示信息")]),_:1},8,["before-icon"]),t(a,{type:"primary","before-icon":d(p)},{default:o(()=>[s("主要提示信息")]),_:1},8,["before-icon"]),t(a,{type:"success","before-icon":d(p)},{default:o(()=>[s("成功提示信息")]),_:1},8,["before-icon"]),t(a,{type:"danger","before-icon":d(p)},{default:o(()=>[s("危险提示信息")]),_:1},8,["before-icon"])]),default:o(()=>[X]),_:1}),Y,l("a",Z,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),l("a",$,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/19302222?v=4"})]),l("a",ll,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/66313154?v=4"})]),l("a",sl,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/77321887?v=4"})]),l("a",ol,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/57785259?v=4"})])])}}});const pl=E(al,[["__scopeId","data-v-4dc0d698"]]);export{dl as __pageData,pl as default};
+`),l("span",{class:"line"},[l("span",{style:{color:"#89DDFF"}},""),l("span",{style:{color:"#F07178"}},"script"),l("span",{style:{color:"#89DDFF"}},">")])])])],-1)),Y=y('Attributes
参数 说明 类型 可选值 默认值 type
类型 FightingType default
primary
success
danger
warning
info
default font-size
副标题文字大小 string / number —— —— title-size
主标题文字大小 string / number —— —— bold
文字是否以粗体显示 boolean —— false center
是否居中 boolean —— false close
可关闭 boolean —— false simple
简约模式 boolean —— false title
标题 string —— —— round
显示为圆角 boolean —— false background
背景颜色 string —— —— color
副标题字体颜色 string —— —— title-color
主标题字体颜色 string —— —— fixed
是否固定定位 boolean —— false alert-list
滚动列表 array (string[]) —— —— duration
滚动列表滚动时间间隔 number —— —— before-icon
自定义前缀 icon FightingIcon —— —— close-icon
自定义关闭 icon FightingIcon —— —— on-close
点击关闭之后执行的回调 HandleMouse —— ——
Slots
名称 说明 default
自定义副标题的内容 title
自定义主标题的内容 closeIcon
自定义关闭 icon beforeIcon
自定义前缀 icon
Interface
组件导出以下类型定义:
tsimport type { AlertInstance, AlertProps } from 'fighting-design'
样式变量
组件提供了下列 CSS 变量,可用于自定义样式
名称 描述 --alert-border-radius
圆角大小 --alert-color
文字颜色 --alert-background
背景色
Contributors
',11),Z={href:"https://github.com/Tyh2001",target:"_blank"},$={href:"https://github.com/jardeng",target:"_blank"},ll={href:"https://github.com/HeHasGun",target:"_blank"},sl={href:"https://github.com/long-life233",target:"_blank"},ol={href:"https://github.com/w2xi",target:"_blank"},pl=JSON.parse('{"title":"Alert 警告","description":"","frontmatter":{},"headers":[],"relativePath":"components/alert.md","filePath":"components/alert.md","lastUpdated":1718072164000}'),tl={name:"components/alert.md"},al=i({...tl,setup(r){const d=["把大象放进冰箱需要几步?","第一步:打开冰箱门","第二步:把大象装进去","第三步:关好冰箱门"];return(el,cl)=>{const a=F("f-alert"),c=F("vp-demo"),n=F("f-avatar");return v(),b("div",null,[E,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[C]),_:1}),_,m,t(c,{source:""},{source:o(()=>[t(a,{"font-size":12,type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{"font-size":14,type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{"font-size":16,type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{"font-size":"20px",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{"font-size":"24px",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{"font-size":"27px",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[A]),_:1}),g,B,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未加粗的默认提示信息")]),_:1}),t(a,{type:"primary",bold:""},{default:o(()=>[s("加粗的主要提示信息")]),_:1}),t(a,{type:"success",bold:""},{default:o(()=>[s("加粗的成功提示信息")]),_:1}),t(a,{type:"danger",bold:""},{default:o(()=>[s("加粗的危险提示信息")]),_:1})]),default:o(()=>[k]),_:1}),x,P,t(c,{source:""},{source:o(()=>[t(a,{type:"default"},{default:o(()=>[s("未居中的默认提示信息")]),_:1}),t(a,{type:"primary",center:""},{default:o(()=>[s("居中的主要提示信息")]),_:1}),t(a,{type:"success",center:""},{default:o(()=>[s("居中的成功提示信息")]),_:1}),t(a,{type:"danger",center:""},{default:o(()=>[s("居中的危险提示信息")]),_:1})]),default:o(()=>[I]),_:1}),z,S,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",close:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",close:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",close:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[q]),_:1}),w,H,t(c,{source:""},{source:o(()=>[t(a,{simple:"",type:"default"},{default:o(()=>[s("默认提示信息")]),_:1}),t(a,{simple:"",type:"primary"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{simple:"",type:"success"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{simple:"",type:"danger"},{default:o(()=>[s("危险提示信息")]),_:1}),t(a,{simple:"",type:"warning"},{default:o(()=>[s("警告提示信息")]),_:1}),t(a,{simple:"",type:"info"},{default:o(()=>[s("信息提示信息")]),_:1})]),default:o(()=>[N]),_:1}),L,V,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",round:""},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",round:""},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",round:""},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[T]),_:1}),M,j,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",background:"#58c8de"},{default:o(()=>[s("主要提示信息")]),_:1}),t(a,{type:"success",background:"#e372ff"},{default:o(()=>[s("成功提示信息")]),_:1}),t(a,{type:"danger",background:"#e49b33"},{default:o(()=>[s("危险提示信息")]),_:1})]),default:o(()=>[G]),_:1}),J,K,t(c,{source:""},{source:o(()=>[t(a,{type:"primary",title:"Hello~"},{default:o(()=>[s("今天代码写的很愉快!")]),_:1}),t(a,{type:"success",title:"标题"},{default:o(()=>[s("心情很不错")]),_:1})]),default:o(()=>[O]),_:1}),U,Q,t(c,{source:""},{source:o(()=>[t(a,{"alert-list":d,title:"你知道吗?",type:"primary"})]),default:o(()=>[R]),_:1}),W,t(c,{source:""},{source:o(()=>[t(a,{type:"default","before-icon":p(D)},{default:o(()=>[s("默认提示信息")]),_:1},8,["before-icon"]),t(a,{type:"primary","before-icon":p(D)},{default:o(()=>[s("主要提示信息")]),_:1},8,["before-icon"]),t(a,{type:"success","before-icon":p(D)},{default:o(()=>[s("成功提示信息")]),_:1},8,["before-icon"]),t(a,{type:"danger","before-icon":p(D)},{default:o(()=>[s("危险提示信息")]),_:1},8,["before-icon"])]),default:o(()=>[X]),_:1}),Y,l("a",Z,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),l("a",$,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/19302222?v=4"})]),l("a",ll,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/66313154?v=4"})]),l("a",sl,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/77321887?v=4"})]),l("a",ol,[t(n,{round:"",src:"https://avatars.githubusercontent.com/u/57785259?v=4"})])])}}});const Dl=h(al,[["__scopeId","data-v-c73c713b"]]);export{pl as __pageData,Dl as default};
diff --git a/assets/components_avatar-group.md.9ad7cfff.js b/assets/components_avatar-group.md.8493510a.js
similarity index 99%
rename from assets/components_avatar-group.md.9ad7cfff.js
rename to assets/components_avatar-group.md.8493510a.js
index 9054fa411..f39266768 100644
--- a/assets/components_avatar-group.md.9ad7cfff.js
+++ b/assets/components_avatar-group.md.8493510a.js
@@ -1,4 +1,4 @@
-import{_ as p,c as D,C as t,y as l,v as o,M as c,a as s,A as e,o as F}from"./chunks/framework.f50263fa.js";const x=JSON.parse('{"title":"Avatar Group 头像组","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar-group.md","filePath":"components/avatar-group.md","lastUpdated":1716512774000}'),y={name:"components/avatar-group.md"},d=c('Avatar Group 头像组
多个头像的集合
基本使用
在 <f-avatar-group>
组件内部插入 <f-avatar>
组件
',5),i=o("div",{class:"language-html"},[o("button",{title:"Copy Code",class:"copy"}),o("span",{class:"lang"},"html"),o("pre",{class:"shiki material-theme-palenight"},[o("code",null,[o("span",{class:"line"},[o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar-group"),o("span",{style:{color:"#89DDFF"}},">")]),s(`
+import{_ as p,c as D,C as t,y as l,v as o,M as c,a as s,A as e,o as F}from"./chunks/framework.f50263fa.js";const x=JSON.parse('{"title":"Avatar Group 头像组","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar-group.md","filePath":"components/avatar-group.md","lastUpdated":1718072164000}'),y={name:"components/avatar-group.md"},d=c('Avatar Group 头像组
多个头像的集合
基本使用
在 <f-avatar-group>
组件内部插入 <f-avatar>
组件
',5),i=o("div",{class:"language-html"},[o("button",{title:"Copy Code",class:"copy"}),o("span",{class:"lang"},"html"),o("pre",{class:"shiki material-theme-palenight"},[o("code",null,[o("span",{class:"line"},[o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar-group"),o("span",{style:{color:"#89DDFF"}},">")]),s(`
`),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"1"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"orange"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(`
`),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"2"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"blue"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(`
`),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"3"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"skyblue"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(`
diff --git a/assets/components_avatar-group.md.9ad7cfff.lean.js b/assets/components_avatar-group.md.8493510a.lean.js
similarity index 99%
rename from assets/components_avatar-group.md.9ad7cfff.lean.js
rename to assets/components_avatar-group.md.8493510a.lean.js
index d297d0624..287b0449a 100644
--- a/assets/components_avatar-group.md.9ad7cfff.lean.js
+++ b/assets/components_avatar-group.md.8493510a.lean.js
@@ -1,4 +1,4 @@
-import{_ as p,c as D,C as t,y as l,v as o,M as c,a as s,A as e,o as F}from"./chunks/framework.f50263fa.js";const x=JSON.parse('{"title":"Avatar Group 头像组","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar-group.md","filePath":"components/avatar-group.md","lastUpdated":1716512774000}'),y={name:"components/avatar-group.md"},d=c("",5),i=o("div",{class:"language-html"},[o("button",{title:"Copy Code",class:"copy"}),o("span",{class:"lang"},"html"),o("pre",{class:"shiki material-theme-palenight"},[o("code",null,[o("span",{class:"line"},[o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar-group"),o("span",{style:{color:"#89DDFF"}},">")]),s(`
+import{_ as p,c as D,C as t,y as l,v as o,M as c,a as s,A as e,o as F}from"./chunks/framework.f50263fa.js";const x=JSON.parse('{"title":"Avatar Group 头像组","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar-group.md","filePath":"components/avatar-group.md","lastUpdated":1718072164000}'),y={name:"components/avatar-group.md"},d=c("",5),i=o("div",{class:"language-html"},[o("button",{title:"Copy Code",class:"copy"}),o("span",{class:"lang"},"html"),o("pre",{class:"shiki material-theme-palenight"},[o("code",null,[o("span",{class:"line"},[o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar-group"),o("span",{style:{color:"#89DDFF"}},">")]),s(`
`),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"1"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"orange"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(`
`),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"2"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"blue"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(`
`),o("span",{class:"line"},[o("span",{style:{color:"#BABED8"}}," "),o("span",{style:{color:"#89DDFF"}},"<"),o("span",{style:{color:"#F07178"}},"f-avatar"),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"text"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"3"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"font-color"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"#fff"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," "),o("span",{style:{color:"#C792EA"}},"background"),o("span",{style:{color:"#89DDFF"}},"="),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#C3E88D"}},"skyblue"),o("span",{style:{color:"#89DDFF"}},'"'),o("span",{style:{color:"#89DDFF"}}," />")]),s(`
diff --git a/assets/components_avatar.md.c05e6e11.lean.js b/assets/components_avatar.md.275976ea.js
similarity index 66%
rename from assets/components_avatar.md.c05e6e11.lean.js
rename to assets/components_avatar.md.275976ea.js
index 60f9f32a5..a62b1a448 100644
--- a/assets/components_avatar.md.c05e6e11.lean.js
+++ b/assets/components_avatar.md.275976ea.js
@@ -1,30 +1,30 @@
-import{_ as v,A as r,o as b,x as g,y as o,v as a,C as s,K as h,L as u,d as _,c as E,M as F,b as D,a as t}from"./chunks/framework.f50263fa.js";import{F as C}from"./chunks/index.70f684d9.js";import{F as A}from"./chunks/index.d4485e61.js";const B={},p=c=>(h("data-v-57a98fd4"),c=c(),u(),c),k={class:"avatar-block"},x=p(()=>a("code",null,"fill",-1)),z={class:"avatar-block"},S=p(()=>a("code",null,"contain",-1)),q={class:"avatar-block"},I=p(()=>a("code",null,"cover",-1)),P={class:"avatar-block"},w=p(()=>a("code",null,"none",-1)),j={class:"avatar-block"},N=p(()=>a("code",null,"scale-down",-1));function $(c,y){const d=r("f-avatar"),i=r("f-space");return b(),g(i,{spacing:"mini"},{default:o(()=>[a("div",k,[x,s(d,{fit:"fill",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",z,[S,s(d,{fit:"contain",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",q,[I,s(d,{fit:"cover",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",P,[w,s(d,{fit:"none",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",j,[N,s(d,{fit:"scale-down",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])]),_:1})}const U=v(B,[["render",$],["__scopeId","data-v-57a98fd4"]]),e=c=>(h("data-v-1deba8c1"),c=c(),u(),c),L=F('Avatar 头像
用户的头像展示
基本使用
使用 src
属性设置图片的路径
round
属性可以配置圆角头像
',6),V=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"round"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),T=e(()=>a("h2",{id:"使用本地图片",tabindex:"-1"},[t("使用本地图片 "),a("a",{class:"header-anchor",href:"#使用本地图片","aria-label":'Permalink to "使用本地图片"'},"")],-1)),H=e(()=>a("p",null,[t("如需要使用本地图片,需要使用 "),a("a",{href:"https://cn.vitejs.dev/guide/assets.html#new-url-url-import-meta-url",target:"_blank",rel:"noreferrer"},[t("new URL(url, i"),a("wbr"),t("mport.meta.url)")]),t(" 手动导入图片资源使用:")],-1)),R=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
+import{_ as v,A as d,o as b,x as g,y as o,v as a,C as s,K as h,L as u,d as _,c as E,M as F,b as D,a as t}from"./chunks/framework.f50263fa.js";import{F as C}from"./chunks/index.70f684d9.js";import{F as A}from"./chunks/index.d4485e61.js";const B={},p=c=>(h("data-v-57a98fd4"),c=c(),u(),c),k={class:"avatar-block"},x=p(()=>a("code",null,"fill",-1)),z={class:"avatar-block"},S=p(()=>a("code",null,"contain",-1)),q={class:"avatar-block"},I=p(()=>a("code",null,"cover",-1)),P={class:"avatar-block"},w=p(()=>a("code",null,"none",-1)),j={class:"avatar-block"},N=p(()=>a("code",null,"scale-down",-1));function $(c,y){const r=d("f-avatar"),i=d("f-space");return b(),g(i,{spacing:"mini"},{default:o(()=>[a("div",k,[x,s(r,{fit:"fill",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",z,[S,s(r,{fit:"contain",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",q,[I,s(r,{fit:"cover",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",P,[w,s(r,{fit:"none",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",j,[N,s(r,{fit:"scale-down",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])]),_:1})}const U=v(B,[["render",$],["__scopeId","data-v-57a98fd4"]]),l=c=>(h("data-v-a51cba02"),c=c(),u(),c),L=F('Avatar 头像
用户的头像展示
基本使用
使用 src
属性设置图片的路径
round
属性可以配置圆角头像
',6),V=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"round"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),T=l(()=>a("h2",{id:"使用本地图片",tabindex:"-1"},[t("使用本地图片 "),a("a",{class:"header-anchor",href:"#使用本地图片","aria-label":'Permalink to "使用本地图片"'},"")],-1)),H=l(()=>a("p",null,[t("如需要使用本地图片,需要使用 "),a("a",{href:"https://cn.vitejs.dev/guide/assets.html#new-url-url-import-meta-url",target:"_blank",rel:"noreferrer"},[t("new URL(url, i"),a("wbr"),t("mport.meta.url)")]),t(" 手动导入图片资源使用:")],-1)),R=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"url"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"}),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lang"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"ts"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"setup"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#C792EA"}},"const"),a("span",{style:{color:"#BABED8"}}," url "),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"new"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#82AAFF"}},"URL"),a("span",{style:{color:"#BABED8"}},"("),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#C3E88D"}},"./image/1.jpg"),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#89DDFF"}},","),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"meta"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"url)"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"href")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),W=e(()=>a("h2",{id:"适应容器的方式",tabindex:"-1"},[t("适应容器的方式 "),a("a",{class:"header-anchor",href:"#适应容器的方式","aria-label":'Permalink to "适应容器的方式"'},"")],-1)),M=e(()=>a("p",null,[a("code",null,"fit"),t(" 属性可以配置头像不同适应容器的方式,详见原生 "),a("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit#try_it",target:"_blank",rel:"noreferrer"},"object-fit"),t(" 属性")],-1)),J=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"fill"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),W=l(()=>a("h2",{id:"适应容器的方式",tabindex:"-1"},[t("适应容器的方式 "),a("a",{class:"header-anchor",href:"#适应容器的方式","aria-label":'Permalink to "适应容器的方式"'},"")],-1)),M=l(()=>a("p",null,[a("code",null,"fit"),t(" 属性可以配置头像不同适应容器的方式,详见原生 "),a("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit#try_it",target:"_blank",rel:"noreferrer"},"object-fit"),t(" 属性")],-1)),J=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"fill"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"contain"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"cover"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"none"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"scale-down"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),K=e(()=>a("h2",{id:"不同大小",tabindex:"-1"},[t("不同大小 "),a("a",{class:"header-anchor",href:"#不同大小","aria-label":'Permalink to "不同大小"'},"")],-1)),O=e(()=>a("p",null,[a("code",null,"size"),t(" 属性可以配置不同大小的头像,也可以传入指定的数字,会自动转换为 "),a("code",null,"px")],-1)),G=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"85"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"scale-down"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),K=l(()=>a("h2",{id:"不同大小",tabindex:"-1"},[t("不同大小 "),a("a",{class:"header-anchor",href:"#不同大小","aria-label":'Permalink to "不同大小"'},"")],-1)),O=l(()=>a("p",null,[a("code",null,"size"),t(" 属性可以配置不同大小的头像,也可以传入指定的数字,会自动转换为 "),a("code",null,"px")],-1)),G=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"85"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"large"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"middle"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"small"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"mini"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),Q=F('图标头像
icon
属性可以配置带有 icon
的图标头像
background
属性可以配置背景色,font-color
属性可以自定义图标颜色
font-size
可以配置图标大小,后面必须要加入单位
',4),X=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"mini"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),Q=F('图标头像
icon
属性可以配置带有 icon
的图标头像
background
属性可以配置背景色,font-color
属性可以自定义图标颜色
font-size
可以配置图标大小,后面必须要加入单位
',4),X=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":icon"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"FIconFaceSmile"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":font-size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"30"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"background"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"skyblue"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"background"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"orange"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"font-color"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"#fff"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":icon"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"FIconBug"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":font-size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"30"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"}),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lang"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"ts"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"setup"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"{"),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#BABED8"}},"FIconFaceSmile"),a("span",{style:{color:"#89DDFF"}},","),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#BABED8"}},"FIconBug"),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#89DDFF"}},"}"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"from"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#C3E88D"}},"@fighting-design/fighting-icon"),a("span",{style:{color:"#89DDFF"}},"'")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),Y=e(()=>a("h2",{id:"懒加载",tabindex:"-1"},[t("懒加载 "),a("a",{class:"header-anchor",href:"#懒加载","aria-label":'Permalink to "懒加载"'},"")],-1)),Z=e(()=>a("p",null,[a("code",null,"lazy"),t(" 属性可以设置图片懒加载,详情可参考 "),a("code",null,"DevTools"),t(" 的 "),a("code",null,"Network")],-1)),aa=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),Y=l(()=>a("h2",{id:"懒加载",tabindex:"-1"},[t("懒加载 "),a("a",{class:"header-anchor",href:"#懒加载","aria-label":'Permalink to "懒加载"'},"")],-1)),Z=l(()=>a("p",null,[a("code",null,"lazy"),t(" 属性可以设置图片懒加载,详情可参考 "),a("code",null,"DevTools"),t(" 的 "),a("code",null,"Network")],-1)),aa=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"width"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"200px"),a("span",{style:{color:"#89DDFF"}},'"')]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lazy")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"),a("span",{style:{color:"#89DDFF"}},'"')]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"/>")])])])],-1)),ta=e(()=>a("h2",{id:"加载失败",tabindex:"-1"},[t("加载失败 "),a("a",{class:"header-anchor",href:"#加载失败","aria-label":'Permalink to "加载失败"'},"")],-1)),sa=e(()=>a("p",null,[t("默认加载失败会显示 "),a("code",null,"加载失败"),t(",当然你也可以使用 "),a("code",null,"alt"),t(" 属性自定义加载失败的提示文字")],-1)),oa=e(()=>a("p",null,[t("或者使用 "),a("code",null,"error"),t(" 插槽展示")],-1)),ea=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"/>")])])])],-1)),ta=l(()=>a("h2",{id:"加载失败",tabindex:"-1"},[t("加载失败 "),a("a",{class:"header-anchor",href:"#加载失败","aria-label":'Permalink to "加载失败"'},"")],-1)),sa=l(()=>a("p",null,[t("默认加载失败会显示 "),a("code",null,"加载失败"),t(",当然你也可以使用 "),a("code",null,"alt"),t(" 属性自定义加载失败的提示文字")],-1)),oa=l(()=>a("p",null,[t("或者使用 "),a("code",null,"error"),t(" 插槽展示")],-1)),la=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"}),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"alt"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"Err"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"}),t(`
@@ -32,4 +32,4 @@ import{_ as v,A as r,o as b,x as g,y as o,v as a,C as s,K as h,L as u,d as _,c a
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"v-slot:error"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-text"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"type"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"danger"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bold"),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"失败了"),a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-text"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),la=F('Attributes
参数 说明 类型 可选值 默认值 src
图片路径 string —— —— err-src
加载失败时要显示的地址 string —— —— alt
原生 alt 属性 string —— 加载失败 round
是否为圆角 boolean —— false lazy
是否懒加载头像 boolean —— false fit
如何适应容器,原生 object-fit 属性 FightingFit fill
contain
cover
none
scale-down
—— size
图片大小 FightingSize / number large
middle
small
mini
middle background
背景色 string —— —— icon
图标头像 FightingIcon —— —— font-size
字体大小 string —— —— font-color
字体的颜色 string —— —— text
文字头像 string —— —— root-margin
触发懒加载的距离 string / number —— 100px on-load
图片加载成功触发的回调 HandleEvent —— —— on-error
图片加载失败触发的回调 HandleEvent —— ——
Slots
插槽名称 说明说明 error
自定义加载失败提示 icon
自定义 icon 头像
Interface
组件导出以下类型定义:
tsimport type { AvatarInstance, AvatarProps } from 'fighting-design'
样式变量
组件提供了下列 CSS 变量,可用于自定义样式
名称 描述 --avatar-size
尺寸
Contributors
',11),ca={href:"https://github.com/Tyh2001",target:"_blank"},Fa=JSON.parse('{"title":"Avatar 头像","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar.md","filePath":"components/avatar.md","lastUpdated":1716512774000}'),na={name:"components/avatar.md"},da=_({...na,setup(c){const y=new URL("/assets/1.aa9c3858.jpg",self.location).href;return(d,i)=>{const l=r("f-avatar"),n=r("vp-demo"),m=r("f-text"),f=r("f-space");return b(),E("div",null,[L,s(n,{source:""},{source:o(()=>[s(l,{src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[V]),_:1}),T,H,s(n,{source:""},{source:o(()=>[s(l,{src:D(y)},null,8,["src"])]),default:o(()=>[R]),_:1}),W,M,s(n,{source:""},{source:o(()=>[s(U)]),default:o(()=>[J]),_:1}),K,O,s(n,{source:""},{source:o(()=>[s(l,{size:85,src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"large",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"middle",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"small",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"mini",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[G]),_:1}),Q,s(n,{source:""},{source:o(()=>[s(l,{icon:D(A),background:"skyblue","font-size":30},null,8,["icon"]),s(l,{icon:D(C),background:"orange","font-color":"#fff","font-size":30},null,8,["icon"])]),default:o(()=>[X]),_:1}),Y,Z,s(n,{source:""},{source:o(()=>[s(l,{width:"200px",lazy:"",src:"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"})]),default:o(()=>[aa]),_:1}),ta,sa,oa,s(n,{source:""},{source:o(()=>[s(f,null,{default:o(()=>[s(l,{src:"https://123.cn/images/auto/my.jpg"}),s(l,{src:"https://123.cn/images/auto/my.jpg",alt:"Err"}),s(l,{src:"https://123.cn/images/auto/my.jpg"},{error:o(()=>[s(m,{type:"danger",bold:""},{default:o(()=>[t("失败了")]),_:1})]),_:1})]),_:1})]),default:o(()=>[ea]),_:1}),la,a("a",ca,[s(l,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])])}}});const ya=v(da,[["__scopeId","data-v-1deba8c1"]]);export{Fa as __pageData,ya as default};
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),ea=F('Attributes
参数 说明 类型 可选值 默认值 src
图片路径 string —— —— err-src
加载失败时要显示的地址 string —— —— alt
原生 alt 属性 string —— 加载失败 round
是否为圆角 boolean —— false lazy
是否懒加载头像 boolean —— false fit
如何适应容器,原生 object-fit 属性 FightingFit fill
contain
cover
none
scale-down
—— size
图片大小 FightingSize / number large
middle
small
mini
middle background
背景色 string —— —— icon
图标头像 FightingIcon —— —— font-size
字体大小 string —— —— font-color
字体的颜色 string —— —— text
文字头像 string —— —— root-margin
触发懒加载的距离 string / number —— 100px on-load
图片加载成功触发的回调 HandleEvent —— —— on-error
图片加载失败触发的回调 HandleEvent —— ——
Slots
插槽名称 说明说明 error
自定义加载失败提示 icon
自定义 icon 头像
Interface
组件导出以下类型定义:
tsimport type { AvatarInstance, AvatarProps } from 'fighting-design'
样式变量
组件提供了下列 CSS 变量,可用于自定义样式
名称 描述 --avatar-size
尺寸
Contributors
',11),ca={href:"https://github.com/Tyh2001",target:"_blank"},Fa=JSON.parse('{"title":"Avatar 头像","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar.md","filePath":"components/avatar.md","lastUpdated":1718072164000}'),na={name:"components/avatar.md"},ra=_({...na,setup(c){const y=new URL("/assets/1.aa9c3858.jpg",self.location).href;return(r,i)=>{const e=d("f-avatar"),n=d("vp-demo"),m=d("f-text"),f=d("f-space");return b(),E("div",null,[L,s(n,{source:""},{source:o(()=>[s(e,{src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[V]),_:1}),T,H,s(n,{source:""},{source:o(()=>[s(e,{src:D(y)},null,8,["src"])]),default:o(()=>[R]),_:1}),W,M,s(n,{source:""},{source:o(()=>[s(U)]),default:o(()=>[J]),_:1}),K,O,s(n,{source:""},{source:o(()=>[s(e,{size:85,src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"large",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"middle",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"small",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"mini",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[G]),_:1}),Q,s(n,{source:""},{source:o(()=>[s(e,{icon:D(A),background:"skyblue","font-size":30},null,8,["icon"]),s(e,{icon:D(C),background:"orange","font-color":"#fff","font-size":30},null,8,["icon"])]),default:o(()=>[X]),_:1}),Y,Z,s(n,{source:""},{source:o(()=>[s(e,{width:"200px",lazy:"",src:"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"})]),default:o(()=>[aa]),_:1}),ta,sa,oa,s(n,{source:""},{source:o(()=>[s(f,null,{default:o(()=>[s(e,{src:"https://123.cn/images/auto/my.jpg"}),s(e,{src:"https://123.cn/images/auto/my.jpg",alt:"Err"}),s(e,{src:"https://123.cn/images/auto/my.jpg"},{error:o(()=>[s(m,{type:"danger",bold:""},{default:o(()=>[t("失败了")]),_:1})]),_:1})]),_:1})]),default:o(()=>[la]),_:1}),ea,a("a",ca,[s(e,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])])}}});const ya=v(ra,[["__scopeId","data-v-a51cba02"]]);export{Fa as __pageData,ya as default};
diff --git a/assets/components_avatar.md.c05e6e11.js b/assets/components_avatar.md.275976ea.lean.js
similarity index 66%
rename from assets/components_avatar.md.c05e6e11.js
rename to assets/components_avatar.md.275976ea.lean.js
index 60f9f32a5..a62b1a448 100644
--- a/assets/components_avatar.md.c05e6e11.js
+++ b/assets/components_avatar.md.275976ea.lean.js
@@ -1,30 +1,30 @@
-import{_ as v,A as r,o as b,x as g,y as o,v as a,C as s,K as h,L as u,d as _,c as E,M as F,b as D,a as t}from"./chunks/framework.f50263fa.js";import{F as C}from"./chunks/index.70f684d9.js";import{F as A}from"./chunks/index.d4485e61.js";const B={},p=c=>(h("data-v-57a98fd4"),c=c(),u(),c),k={class:"avatar-block"},x=p(()=>a("code",null,"fill",-1)),z={class:"avatar-block"},S=p(()=>a("code",null,"contain",-1)),q={class:"avatar-block"},I=p(()=>a("code",null,"cover",-1)),P={class:"avatar-block"},w=p(()=>a("code",null,"none",-1)),j={class:"avatar-block"},N=p(()=>a("code",null,"scale-down",-1));function $(c,y){const d=r("f-avatar"),i=r("f-space");return b(),g(i,{spacing:"mini"},{default:o(()=>[a("div",k,[x,s(d,{fit:"fill",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",z,[S,s(d,{fit:"contain",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",q,[I,s(d,{fit:"cover",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",P,[w,s(d,{fit:"none",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",j,[N,s(d,{fit:"scale-down",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])]),_:1})}const U=v(B,[["render",$],["__scopeId","data-v-57a98fd4"]]),e=c=>(h("data-v-1deba8c1"),c=c(),u(),c),L=F('Avatar 头像
用户的头像展示
基本使用
使用 src
属性设置图片的路径
round
属性可以配置圆角头像
',6),V=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"round"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),T=e(()=>a("h2",{id:"使用本地图片",tabindex:"-1"},[t("使用本地图片 "),a("a",{class:"header-anchor",href:"#使用本地图片","aria-label":'Permalink to "使用本地图片"'},"")],-1)),H=e(()=>a("p",null,[t("如需要使用本地图片,需要使用 "),a("a",{href:"https://cn.vitejs.dev/guide/assets.html#new-url-url-import-meta-url",target:"_blank",rel:"noreferrer"},[t("new URL(url, i"),a("wbr"),t("mport.meta.url)")]),t(" 手动导入图片资源使用:")],-1)),R=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
+import{_ as v,A as d,o as b,x as g,y as o,v as a,C as s,K as h,L as u,d as _,c as E,M as F,b as D,a as t}from"./chunks/framework.f50263fa.js";import{F as C}from"./chunks/index.70f684d9.js";import{F as A}from"./chunks/index.d4485e61.js";const B={},p=c=>(h("data-v-57a98fd4"),c=c(),u(),c),k={class:"avatar-block"},x=p(()=>a("code",null,"fill",-1)),z={class:"avatar-block"},S=p(()=>a("code",null,"contain",-1)),q={class:"avatar-block"},I=p(()=>a("code",null,"cover",-1)),P={class:"avatar-block"},w=p(()=>a("code",null,"none",-1)),j={class:"avatar-block"},N=p(()=>a("code",null,"scale-down",-1));function $(c,y){const r=d("f-avatar"),i=d("f-space");return b(),g(i,{spacing:"mini"},{default:o(()=>[a("div",k,[x,s(r,{fit:"fill",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",z,[S,s(r,{fit:"contain",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",q,[I,s(r,{fit:"cover",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",P,[w,s(r,{fit:"none",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),a("div",j,[N,s(r,{fit:"scale-down",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])]),_:1})}const U=v(B,[["render",$],["__scopeId","data-v-57a98fd4"]]),l=c=>(h("data-v-a51cba02"),c=c(),u(),c),L=F('Avatar 头像
用户的头像展示
基本使用
使用 src
属性设置图片的路径
round
属性可以配置圆角头像
',6),V=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"round"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),T=l(()=>a("h2",{id:"使用本地图片",tabindex:"-1"},[t("使用本地图片 "),a("a",{class:"header-anchor",href:"#使用本地图片","aria-label":'Permalink to "使用本地图片"'},"")],-1)),H=l(()=>a("p",null,[t("如需要使用本地图片,需要使用 "),a("a",{href:"https://cn.vitejs.dev/guide/assets.html#new-url-url-import-meta-url",target:"_blank",rel:"noreferrer"},[t("new URL(url, i"),a("wbr"),t("mport.meta.url)")]),t(" 手动导入图片资源使用:")],-1)),R=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"url"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"}),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lang"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"ts"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"setup"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#C792EA"}},"const"),a("span",{style:{color:"#BABED8"}}," url "),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"new"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#82AAFF"}},"URL"),a("span",{style:{color:"#BABED8"}},"("),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#C3E88D"}},"./image/1.jpg"),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#89DDFF"}},","),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"meta"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"url)"),a("span",{style:{color:"#89DDFF"}},"."),a("span",{style:{color:"#BABED8"}},"href")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),W=e(()=>a("h2",{id:"适应容器的方式",tabindex:"-1"},[t("适应容器的方式 "),a("a",{class:"header-anchor",href:"#适应容器的方式","aria-label":'Permalink to "适应容器的方式"'},"")],-1)),M=e(()=>a("p",null,[a("code",null,"fit"),t(" 属性可以配置头像不同适应容器的方式,详见原生 "),a("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit#try_it",target:"_blank",rel:"noreferrer"},"object-fit"),t(" 属性")],-1)),J=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"fill"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),W=l(()=>a("h2",{id:"适应容器的方式",tabindex:"-1"},[t("适应容器的方式 "),a("a",{class:"header-anchor",href:"#适应容器的方式","aria-label":'Permalink to "适应容器的方式"'},"")],-1)),M=l(()=>a("p",null,[a("code",null,"fit"),t(" 属性可以配置头像不同适应容器的方式,详见原生 "),a("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit#try_it",target:"_blank",rel:"noreferrer"},"object-fit"),t(" 属性")],-1)),J=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"fill"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"contain"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"cover"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"none"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"scale-down"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),K=e(()=>a("h2",{id:"不同大小",tabindex:"-1"},[t("不同大小 "),a("a",{class:"header-anchor",href:"#不同大小","aria-label":'Permalink to "不同大小"'},"")],-1)),O=e(()=>a("p",null,[a("code",null,"size"),t(" 属性可以配置不同大小的头像,也可以传入指定的数字,会自动转换为 "),a("code",null,"px")],-1)),G=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"85"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"fit"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"scale-down"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),K=l(()=>a("h2",{id:"不同大小",tabindex:"-1"},[t("不同大小 "),a("a",{class:"header-anchor",href:"#不同大小","aria-label":'Permalink to "不同大小"'},"")],-1)),O=l(()=>a("p",null,[a("code",null,"size"),t(" 属性可以配置不同大小的头像,也可以传入指定的数字,会自动转换为 "),a("code",null,"px")],-1)),G=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"85"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"large"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"middle"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"small"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"mini"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),Q=F('图标头像
icon
属性可以配置带有 icon
的图标头像
background
属性可以配置背景色,font-color
属性可以自定义图标颜色
font-size
可以配置图标大小,后面必须要加入单位
',4),X=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"mini"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://avatars.githubusercontent.com/u/73180970?v=4"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")])])])],-1)),Q=F('图标头像
icon
属性可以配置带有 icon
的图标头像
background
属性可以配置背景色,font-color
属性可以自定义图标颜色
font-size
可以配置图标大小,后面必须要加入单位
',4),X=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":icon"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"FIconFaceSmile"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":font-size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"30"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"background"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"skyblue"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"background"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"orange"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"font-color"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"#fff"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":icon"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"FIconBug"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":font-size"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"30"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"}),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lang"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"ts"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"setup"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"import"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"{"),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#BABED8"}},"FIconFaceSmile"),a("span",{style:{color:"#89DDFF"}},","),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#BABED8"}},"FIconBug"),a("span",{style:{color:"#F07178"}}," "),a("span",{style:{color:"#89DDFF"}},"}"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF","font-style":"italic"}},"from"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"'"),a("span",{style:{color:"#C3E88D"}},"@fighting-design/fighting-icon"),a("span",{style:{color:"#89DDFF"}},"'")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),Y=e(()=>a("h2",{id:"懒加载",tabindex:"-1"},[t("懒加载 "),a("a",{class:"header-anchor",href:"#懒加载","aria-label":'Permalink to "懒加载"'},"")],-1)),Z=e(()=>a("p",null,[a("code",null,"lazy"),t(" 属性可以设置图片懒加载,详情可参考 "),a("code",null,"DevTools"),t(" 的 "),a("code",null,"Network")],-1)),aa=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"script"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),Y=l(()=>a("h2",{id:"懒加载",tabindex:"-1"},[t("懒加载 "),a("a",{class:"header-anchor",href:"#懒加载","aria-label":'Permalink to "懒加载"'},"")],-1)),Z=l(()=>a("p",null,[a("code",null,"lazy"),t(" 属性可以设置图片懒加载,详情可参考 "),a("code",null,"DevTools"),t(" 的 "),a("code",null,"Network")],-1)),aa=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"width"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"200px"),a("span",{style:{color:"#89DDFF"}},'"')]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"lazy")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"),a("span",{style:{color:"#89DDFF"}},'"')]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"/>")])])])],-1)),ta=e(()=>a("h2",{id:"加载失败",tabindex:"-1"},[t("加载失败 "),a("a",{class:"header-anchor",href:"#加载失败","aria-label":'Permalink to "加载失败"'},"")],-1)),sa=e(()=>a("p",null,[t("默认加载失败会显示 "),a("code",null,"加载失败"),t(",当然你也可以使用 "),a("code",null,"alt"),t(" 属性自定义加载失败的提示文字")],-1)),oa=e(()=>a("p",null,[t("或者使用 "),a("code",null,"error"),t(" 插槽展示")],-1)),ea=e(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"/>")])])])],-1)),ta=l(()=>a("h2",{id:"加载失败",tabindex:"-1"},[t("加载失败 "),a("a",{class:"header-anchor",href:"#加载失败","aria-label":'Permalink to "加载失败"'},"")],-1)),sa=l(()=>a("p",null,[t("默认加载失败会显示 "),a("code",null,"加载失败"),t(",当然你也可以使用 "),a("code",null,"alt"),t(" 属性自定义加载失败的提示文字")],-1)),oa=l(()=>a("p",null,[t("或者使用 "),a("code",null,"error"),t(" 插槽展示")],-1)),la=l(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"}),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"src"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"https://123.cn/images/auto/my.jpg"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"alt"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"Err"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"}),t(`
@@ -32,4 +32,4 @@ import{_ as v,A as r,o as b,x as g,y as o,v as a,C as s,K as h,L as u,d as _,c a
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"v-slot:error"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-text"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"type"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"danger"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bold"),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"失败了"),a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-text"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"template"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),la=F('Attributes
参数 说明 类型 可选值 默认值 src
图片路径 string —— —— err-src
加载失败时要显示的地址 string —— —— alt
原生 alt 属性 string —— 加载失败 round
是否为圆角 boolean —— false lazy
是否懒加载头像 boolean —— false fit
如何适应容器,原生 object-fit 属性 FightingFit fill
contain
cover
none
scale-down
—— size
图片大小 FightingSize / number large
middle
small
mini
middle background
背景色 string —— —— icon
图标头像 FightingIcon —— —— font-size
字体大小 string —— —— font-color
字体的颜色 string —— —— text
文字头像 string —— —— root-margin
触发懒加载的距离 string / number —— 100px on-load
图片加载成功触发的回调 HandleEvent —— —— on-error
图片加载失败触发的回调 HandleEvent —— ——
Slots
插槽名称 说明说明 error
自定义加载失败提示 icon
自定义 icon 头像
Interface
组件导出以下类型定义:
tsimport type { AvatarInstance, AvatarProps } from 'fighting-design'
样式变量
组件提供了下列 CSS 变量,可用于自定义样式
名称 描述 --avatar-size
尺寸
Contributors
',11),ca={href:"https://github.com/Tyh2001",target:"_blank"},Fa=JSON.parse('{"title":"Avatar 头像","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar.md","filePath":"components/avatar.md","lastUpdated":1716512774000}'),na={name:"components/avatar.md"},da=_({...na,setup(c){const y=new URL("/assets/1.aa9c3858.jpg",self.location).href;return(d,i)=>{const l=r("f-avatar"),n=r("vp-demo"),m=r("f-text"),f=r("f-space");return b(),E("div",null,[L,s(n,{source:""},{source:o(()=>[s(l,{src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[V]),_:1}),T,H,s(n,{source:""},{source:o(()=>[s(l,{src:D(y)},null,8,["src"])]),default:o(()=>[R]),_:1}),W,M,s(n,{source:""},{source:o(()=>[s(U)]),default:o(()=>[J]),_:1}),K,O,s(n,{source:""},{source:o(()=>[s(l,{size:85,src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"large",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"middle",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"small",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(l,{size:"mini",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[G]),_:1}),Q,s(n,{source:""},{source:o(()=>[s(l,{icon:D(A),background:"skyblue","font-size":30},null,8,["icon"]),s(l,{icon:D(C),background:"orange","font-color":"#fff","font-size":30},null,8,["icon"])]),default:o(()=>[X]),_:1}),Y,Z,s(n,{source:""},{source:o(()=>[s(l,{width:"200px",lazy:"",src:"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"})]),default:o(()=>[aa]),_:1}),ta,sa,oa,s(n,{source:""},{source:o(()=>[s(f,null,{default:o(()=>[s(l,{src:"https://123.cn/images/auto/my.jpg"}),s(l,{src:"https://123.cn/images/auto/my.jpg",alt:"Err"}),s(l,{src:"https://123.cn/images/auto/my.jpg"},{error:o(()=>[s(m,{type:"danger",bold:""},{default:o(()=>[t("失败了")]),_:1})]),_:1})]),_:1})]),default:o(()=>[ea]),_:1}),la,a("a",ca,[s(l,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])])}}});const ya=v(da,[["__scopeId","data-v-1deba8c1"]]);export{Fa as __pageData,ya as default};
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-avatar"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),ea=F('Attributes
参数 说明 类型 可选值 默认值 src
图片路径 string —— —— err-src
加载失败时要显示的地址 string —— —— alt
原生 alt 属性 string —— 加载失败 round
是否为圆角 boolean —— false lazy
是否懒加载头像 boolean —— false fit
如何适应容器,原生 object-fit 属性 FightingFit fill
contain
cover
none
scale-down
—— size
图片大小 FightingSize / number large
middle
small
mini
middle background
背景色 string —— —— icon
图标头像 FightingIcon —— —— font-size
字体大小 string —— —— font-color
字体的颜色 string —— —— text
文字头像 string —— —— root-margin
触发懒加载的距离 string / number —— 100px on-load
图片加载成功触发的回调 HandleEvent —— —— on-error
图片加载失败触发的回调 HandleEvent —— ——
Slots
插槽名称 说明说明 error
自定义加载失败提示 icon
自定义 icon 头像
Interface
组件导出以下类型定义:
tsimport type { AvatarInstance, AvatarProps } from 'fighting-design'
样式变量
组件提供了下列 CSS 变量,可用于自定义样式
名称 描述 --avatar-size
尺寸
Contributors
',11),ca={href:"https://github.com/Tyh2001",target:"_blank"},Fa=JSON.parse('{"title":"Avatar 头像","description":"","frontmatter":{},"headers":[],"relativePath":"components/avatar.md","filePath":"components/avatar.md","lastUpdated":1718072164000}'),na={name:"components/avatar.md"},ra=_({...na,setup(c){const y=new URL("/assets/1.aa9c3858.jpg",self.location).href;return(r,i)=>{const e=d("f-avatar"),n=d("vp-demo"),m=d("f-text"),f=d("f-space");return b(),E("div",null,[L,s(n,{source:""},{source:o(()=>[s(e,{src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[V]),_:1}),T,H,s(n,{source:""},{source:o(()=>[s(e,{src:D(y)},null,8,["src"])]),default:o(()=>[R]),_:1}),W,M,s(n,{source:""},{source:o(()=>[s(U)]),default:o(()=>[J]),_:1}),K,O,s(n,{source:""},{source:o(()=>[s(e,{size:85,src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"large",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"middle",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"small",src:"https://avatars.githubusercontent.com/u/73180970?v=4"}),s(e,{size:"mini",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})]),default:o(()=>[G]),_:1}),Q,s(n,{source:""},{source:o(()=>[s(e,{icon:D(A),background:"skyblue","font-size":30},null,8,["icon"]),s(e,{icon:D(C),background:"orange","font-color":"#fff","font-size":30},null,8,["icon"])]),default:o(()=>[X]),_:1}),Y,Z,s(n,{source:""},{source:o(()=>[s(e,{width:"200px",lazy:"",src:"https://github.githubassets.com/images/modules/profile/achievements/yolo-default.png"})]),default:o(()=>[aa]),_:1}),ta,sa,oa,s(n,{source:""},{source:o(()=>[s(f,null,{default:o(()=>[s(e,{src:"https://123.cn/images/auto/my.jpg"}),s(e,{src:"https://123.cn/images/auto/my.jpg",alt:"Err"}),s(e,{src:"https://123.cn/images/auto/my.jpg"},{error:o(()=>[s(m,{type:"danger",bold:""},{default:o(()=>[t("失败了")]),_:1})]),_:1})]),_:1})]),default:o(()=>[la]),_:1}),ea,a("a",ca,[s(e,{round:"",src:"https://avatars.githubusercontent.com/u/73180970?v=4"})])])}}});const ya=v(ra,[["__scopeId","data-v-a51cba02"]]);export{Fa as __pageData,ya as default};
diff --git a/assets/components_back-top.md.45376121.js b/assets/components_back-top.md.e7f30ca4.js
similarity index 54%
rename from assets/components_back-top.md.45376121.js
rename to assets/components_back-top.md.e7f30ca4.js
index 6cb08ce25..5c4727f2c 100644
--- a/assets/components_back-top.md.45376121.js
+++ b/assets/components_back-top.md.e7f30ca4.js
@@ -1,4 +1,4 @@
-import{F as f}from"./chunks/index.25127cd1.js";import{F as v}from"./chunks/index.691dfeff.js";import{d as h,c as d,C as o,y as l,v as a,M as y,A as c,o as D,a as t,b as F,F as u,J as B,K as m,L as g,t as _,_ as k}from"./chunks/framework.f50263fa.js";const s=n=>(m("data-v-20fbbb88"),n=n(),g(),n),E=y('BackTop 返回顶部
可返回网页的顶部
基本使用
BackTop
的基本使用
',5),C=s(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"返回顶部"),a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),A=s(()=>a("h2",{id:"不同滚动模式",tabindex:"-1"},[t("不同滚动模式 "),a("a",{class:"header-anchor",href:"#不同滚动模式","aria-label":'Permalink to "不同滚动模式"'},"")],-1)),x=s(()=>a("p",null,[a("code",null,"behavior"),t(" 属性可以配置不同的滚动模式")],-1)),I=s(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bottom"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"90px"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"behavior"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"auto"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"auto 模式"),a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
+import{F as v}from"./chunks/index.25127cd1.js";import{F as h}from"./chunks/index.691dfeff.js";import{d as u,c as D,C as o,y as l,v as a,M as y,A as n,o as F,a as t,b,F as B,J as m,K as f,L as g,t as _,_ as k}from"./chunks/framework.f50263fa.js";const s=d=>(f("data-v-711d11cb"),d=d(),g(),d),E=y('BackTop 返回顶部
可返回网页的顶部
基本使用
BackTop
的基本使用
',5),C=s(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"返回顶部"),a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),A=s(()=>a("h2",{id:"不同滚动模式",tabindex:"-1"},[t("不同滚动模式 "),a("a",{class:"header-anchor",href:"#不同滚动模式","aria-label":'Permalink to "不同滚动模式"'},"")],-1)),x=s(()=>a("p",null,[a("code",null,"behavior"),t(" 属性可以配置不同的滚动模式")],-1)),I=s(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bottom"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"90px"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"behavior"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"auto"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"auto 模式"),a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bottom"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"140px"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"behavior"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"smooth"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}},">"),a("span",{style:{color:"#BABED8"}},"smooth 模式"),a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),S=s(()=>a("h2",{id:"圆形的",tabindex:"-1"},[t("圆形的 "),a("a",{class:"header-anchor",href:"#圆形的","aria-label":'Permalink to "圆形的"'},"")],-1)),q=s(()=>a("p",null,[a("code",null,"round"),t(" 属性可以配置圆形的样式")],-1)),P=s(()=>a("div",{class:"language-html"},[a("button",{title:"Copy Code",class:"copy"}),a("span",{class:"lang"},"html"),a("pre",{class:"shiki material-theme-palenight"},[a("code",null,[a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"bottom"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"190px"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},"round"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"<"),a("span",{style:{color:"#F07178"}},"f-svg-icon"),a("span",{style:{color:"#89DDFF"}}," "),a("span",{style:{color:"#C792EA"}},":icon"),a("span",{style:{color:"#89DDFF"}},"="),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#C3E88D"}},"FIconSnowflake"),a("span",{style:{color:"#89DDFF"}},'"'),a("span",{style:{color:"#89DDFF"}}," />")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"f-back-top"),a("span",{style:{color:"#89DDFF"}},">")]),t(`
@@ -25,21 +25,21 @@ import{F as f}from"./chunks/index.25127cd1.js";import{F as v}from"./chunks/index
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#B2CCD6"}},"border"),a("span",{style:{color:"#89DDFF"}},":"),a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#F78C6C"}},"4px"),a("span",{style:{color:"#BABED8"}}," solid skyblue"),a("span",{style:{color:"#89DDFF"}},";")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#B2CCD6"}},"overflow"),a("span",{style:{color:"#89DDFF"}},":"),a("span",{style:{color:"#BABED8"}}," auto"),a("span",{style:{color:"#89DDFF"}},";")]),t(`
`),a("span",{class:"line"},[a("span",{style:{color:"#BABED8"}}," "),a("span",{style:{color:"#89DDFF"}},"}")]),t(`
-`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"style"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),J=y('Attractive
参数 说明 类型 可选值 默认值 round
是否为圆角 boolean —— false behavior
滚动模式 BackTopBehavior smooth
auto
smooth visible-height
滚动超出多少距离展示 number —— 200 right
距离右侧的距离 string —— 40 bottom
距离底部的距离 string —— 40 z-index
原生 z-index number —— 200 top
点击返回距离顶部的距离 number —— 0 listen-el
监视指定元素,需要传入指定的 class 或 id,如:.box #app string —— —— background
背景色 string —— —— color
文字颜色 string —— ——
Slots
名称 说明 default
默认内容
Interface
组件导出以下类型定义:
tsimport type { BackTopInstance, BackTopProps, BackTopBehavior } from 'fighting-design'
BackTopBehavior
tstype BackTopBehavior = 'smooth' | 'auto'
样式变量
组件提供了下列 CSS 变量,可用于自定义样式
名称 描述 --back-top-right
距离右侧距离 --back-top-bottom
距离底部距离 --back-top-z-index
层级 --back-top-color
文字颜色 --back-top-background
背景颜色
Contributors
',13),K={href:"https://github.com/Tyh2001",target:"_blank"},M={href:"https://github.com/XiaoLi-sach",target:"_blank"},R=JSON.parse('{"title":"BackTop 返回顶部","description":"","frontmatter":{},"headers":[],"relativePath":"components/back-top.md","filePath":"components/back-top.md","lastUpdated":1716512774000}'),O={name:"components/back-top.md"},W=h({...O,setup(n){return(X,j)=>{const e=c("f-back-top"),b=c("vp-demo"),p=c("f-svg-icon"),r=c("f-avatar");return D(),d("div",null,[E,o(e,null,{default:l(()=>[t("返回顶部")]),_:1}),o(b,{source:`返回顶部
-`},{default:l(()=>[C]),_:1}),A,x,o(e,{bottom:"90px",behavior:"auto"},{default:l(()=>[t("auto 模式")]),_:1}),o(e,{bottom:"140px",behavior:"smooth"},{default:l(()=>[t("smooth 模式")]),_:1}),o(b,{source:`auto 模式
+`),a("span",{class:"line"},[a("span",{style:{color:"#89DDFF"}},""),a("span",{style:{color:"#F07178"}},"style"),a("span",{style:{color:"#89DDFF"}},">")])])])],-1)),J=y('Attractive
参数 说明 类型 可选值 默认值 round
是否为圆角 boolean —— false behavior
滚动模式 BackTopBehavior smooth
auto
smooth visible-height
滚动超出多少距离展示 number —— 200 right
距离右侧的距离 string —— 40 bottom
距离底部的距离 string —— 40 z-index
原生 z-index number —— 200 top
点击返回距离顶部的距离 number —— 0 listen-el
监视指定元素,需要传入指定的 class 或 id,如:.box #app string —— —— background
背景色 string —— —— color
文字颜色 string —— ——
Slots
名称 说明 default
默认内容
Interface
组件导出以下类型定义:
tsimport type { BackTopInstance, BackTopProps, BackTopBehavior } from 'fighting-design'
BackTopBehavior
tstype BackTopBehavior = 'smooth' | 'auto'
样式变量
组件提供了下列 CSS 变量,可用于自定义样式
名称 描述 --back-top-right
距离右侧距离 --back-top-bottom
距离底部距离 --back-top-z-index
层级 --back-top-color
文字颜色 --back-top-background
背景颜色
Contributors
',13),K={href:"https://github.com/Tyh2001",target:"_blank"},M={href:"https://github.com/XiaoLi-sach",target:"_blank"},R=JSON.parse('{"title":"BackTop 返回顶部","description":"","frontmatter":{},"headers":[],"relativePath":"components/back-top.md","filePath":"components/back-top.md","lastUpdated":1718072164000}'),O={name:"components/back-top.md"},W=u({...O,setup(d){return(X,j)=>{const c=n("f-back-top"),e=n("vp-demo"),p=n("f-svg-icon"),r=n("f-avatar");return F(),D("div",null,[E,o(c,null,{default:l(()=>[t("返回顶部")]),_:1}),o(e,{source:`返回顶部
+`},{default:l(()=>[C]),_:1}),A,x,o(c,{bottom:"90px",behavior:"auto"},{default:l(()=>[t("auto 模式")]),_:1}),o(c,{bottom:"140px",behavior:"smooth"},{default:l(()=>[t("smooth 模式")]),_:1}),o(e,{source:`auto 模式
smooth 模式
-`},{default:l(()=>[I]),_:1}),S,q,o(e,{bottom:"190px",round:""},{default:l(()=>[o(p,{icon:F(f)},null,8,["icon"])]),_:1}),o(b,{source:`
+`},{default:l(()=>[I]),_:1}),S,q,o(c,{bottom:"190px",round:""},{default:l(()=>[o(p,{icon:b(v)},null,8,["icon"])]),_:1}),o(e,{source:`
+
+
-
+
@@ -18,7 +18,7 @@
-
+
@@ -31,56 +31,56 @@
-
-
diff --git a/components/avatar-group.html b/components/avatar-group.html
index 3c233bb0a..8af77f8f7 100644
--- a/components/avatar-group.html
+++ b/components/avatar-group.html
@@ -5,11 +5,11 @@
Avatar Group 头像组 | Fighting Design
-
-
+
+
-
+
@@ -17,7 +17,7 @@
-
+
@@ -30,7 +30,7 @@
-