ERP-admin/build/admin/assets/element-plus.bccb9376.js

21 lines
447 KiB
JavaScript
Raw Normal View History

2024-05-25 15:55:50 +08:00
import{m as xe,p as We,q as pt,v as Tu,x as tr,y as zt,z as Iu,N as st,A as nt,B as tn,b as y,f as Fe,w as ae,u as l,i as Ke,k as mn,C as gt,D as ye,r as T,j as cn,E as Pu,e as Mu,s as jt,F as ca,G as Ue,d as J,H as oe,o as k,c as B,I as ut,J as Jt,K as ee,L as U,M as Re,a as Y,O as S,P as je,Q as X,R as Qe,S as ve,T as Ie,U as j,V as Ge,W as Ht,X as it,Y as Ao,Z as dt,_ as fn,$ as co,n as Se,a0 as Oe,a1 as nr,a2 as Un,a3 as Te,a4 as Ou,a5 as or,a6 as lr,a7 as yl,l as ar,a8 as Ru,a9 as Xe,aa as tt,ab as To,ac as Ga,t as il,ad as ul,ae as sr,h as we,af as Me,ag as Au,ah as xl,ai as rr,aj as Lu,ak as Du,al as Bu,am as Xa,an as Fu,ao as Ml,ap as fa,aq as Mn,ar as Ja,as as _u,at as Vu,au as zu}from"./@vue.18505fe0.js";import{g as rn,s as Ku,f as dl,c as cl,a as Za,i as St,b as ir,d as wn,e as Ut,p as Io,h as Hu,j as fl,k as xu,t as wo,l as Wu,m as ju,n as Uu}from"./lodash-es.bdeecbdb.js";import{S as Yu}from"./async-validator.fb49d0f5.js";import{i as Ye,t as qu,u as Dt,a as Nt,r as Gu,b as ur,o as pa,c as Xu,d as no,e as Ju,f as Zu,g as Qu,h as ed,j as Qa,k as td}from"./@vueuse.fbc6a400.js";import{l as Bn,c as va,a as fo,s as dr,w as ha,b as cr,i as fr,d as bn,v as nd,h as od,e as ld,f as ad,g as ma,j as Fn,k as Cl,m as dn,n as oo,o as lo,p as ao,q as sd,r as rd,z as id,t as pr,u as ud,x as dd,y as cd,A as vr,B as fd,C as pd,D as es,E as vd,F as hd,G as md}from"./@element-plus.edbd5a83.js";import{d as Be,l as gd,a as bd,c as yd,w as Cd,b as kd,e as wd,i as Sd,f as Ed}from"./dayjs.a6528143.js";import{T as hr}from"./@ctrl.b082b0c1.js";import{Y as $d}from"./normalize-wheel-es.8aeb3683.js";import{y as Nd,E as mr}from"./@popperjs.36402333.js";const Td='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',Id=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,ts=e=>Array.from(e.querySelectorAll(Td)).filter(t=>Pd(t)&&Id(t)),Pd=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Uo=function(e,t,...n){let o;t.includes("mouse")||t.includes("click")?o="MouseEvents":t.includes("key")?o="KeyboardEvent":o="HTMLEvents";const a=document.createEvent(o);return a.initEvent(t,...n),e.dispatchEvent(a),e},gr=e=>!e.getAttribute("aria-owns"),br=(e,t,n)=>{const{parentNode:o}=e;if(!o)return null;const a=o.querySelectorAll(n),s=Array.prototype.indexOf.call(a,e);return a[s+t]||null},Yo=e=>{!e||(e.focus(),!gr(e)&&e.click())},mt=(e,t,{checkForDefaultPrevented:n=!0}={})=>a=>{const s=e==null?void 0:e(a);if(n===!1||!s)return t==null?void 0:t(a)},ns=e=>t=>t.pointerType==="mouse"?e(t):void 0,Md=()=>Ye&&/firefox/i.test(window.navigator.userAgent),Od=(e,t)=>{if(!Ye||!e||!t)return!1;const n=e.getBoundingClientRect();let o;return t instanceof Element?o=t.getBoundingClientRect():o={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.top<o.bottom&&n.bottom>o.top&&n.right>o.left&&n.left<o.right},os=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},Rd=(e,t)=>Math.abs(os(e)-os(t)),ga=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},Vt=e=>e===void 0,Pt=e=>typeof e=="boolean",_e=e=>typeof e=="number",Po=e=>!e&&e!==0||We(e)&&e.length===0||pt(e)&&!Object.keys(e).length,nn=e=>typeof Element>"u"?!1:e instanceof Element,Ad=e=>xe(e)?!Number.isNaN(Number(e)):!1,yr=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),vn=e=>Tu(e),pl=e=>Object.keys(e),Ld=e=>Object.entries(e),qo=(e,t,n)=>({get value(){return rn(e,t,n)},set value(o){Ku(e,t,o)}});class Dd extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Et(e,t){throw new Dd(`[${e}] ${t}`)}const Cr=(e="")=>e.split(" ").filte
2024-05-15 09:12:16 +08:00
height:0 !important;
visibility:hidden !important;
2024-05-25 15:55:50 +08:00
${Md()?"":"overflow:hidden !important;"}
2024-05-15 09:12:16 +08:00
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
2024-05-25 15:55:50 +08:00
`,Kc=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Hc(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),a=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:Kc.map(r=>`${r}:${t.getPropertyValue(r)}`).join(";"),paddingSize:o,borderSize:a,boxSizing:n}}function cs(e,t=1,n){var o;an||(an=document.createElement("textarea"),document.body.appendChild(an));const{paddingSize:a,borderSize:s,boxSizing:r,contextStyle:u}=Hc(e);an.setAttribute("style",`${u};${zc}`),an.value=e.value||e.placeholder||"";let i=an.scrollHeight;const d={};r==="border-box"?i=i+s:r==="content-box"&&(i=i-a),an.value="";const p=an.scrollHeight-a;if(_e(t)){let c=p*t;r==="border-box"&&(c=c+a+s),i=Math.max(c,i),d.minHeight=`${c}px`}if(_e(n)){let c=p*n;r==="border-box"&&(c=c+a+s),i=Math.min(c,i)}return d.height=`${i}px`,(o=an.parentNode)==null||o.removeChild(an),an=void 0,d}const xc=me({id:{type:String,default:void 0},size:Gt,disabled:Boolean,modelValue:{type:ne([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:ne([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:lt},prefixIcon:{type:lt},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:ne([Object,Array,String]),default:()=>Tt({})},autofocus:{type:Boolean,default:!1}}),Wc={[He]:e=>xe(e),input:e=>xe(e),change:e=>xe(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},jc=["role"],Uc=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],Yc=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],qc=J({name:"ElInput",inheritAttrs:!1}),Gc=J({...qc,props:xc,emits:Wc,setup(e,{expose:t,emit:n}){const o=e,a=Un(),s=Jt(),r=y(()=>{const ce={};return o.containerRole==="combobox"&&(ce["aria-haspopup"]=a["aria-haspopup"],ce["aria-owns"]=a["aria-owns"],ce["aria-expanded"]=a["aria-expanded"]),ce}),u=y(()=>[o.type==="textarea"?g.b():m.b(),m.m(f.value),m.is("disabled",h.value),m.is("exceed",pe.value),{[m.b("group")]:s.prepend||s.append,[m.bm("group","append")]:s.append,[m.bm("group","prepend")]:s.prepend,[m.m("prefix")]:s.prefix||o.prefixIcon,[m.m("suffix")]:s.suffix||o.suffixIcon||o.clearable||o.showPassword,[m.bm("suffix","password-clear")]:R.value&&_.value},a.class]),i=y(()=>[m.e("wrapper"),m.is("focus",K.value)]),d=ka({excludeKeys:y(()=>Object.keys(r.value))}),{form:p,formItem:c}=ln(),{inputId:v}=Yn(o,{formItemContext:c}),f=Ot(),h=Zt(),m=se("input"),g=se("textarea"),C=jt(),E=jt(),w=T(!1),b=T(!1),P=T(!1),I=T(),$=jt(o.inputStyle),M=y(()=>C.value||E.value),{wrapperRef:A,isFocused:K,handleFocus:x,handleBlur:V}=Ea(M,{afterBlur(){var ce;o.validateEvent&&((ce=c==null?void 0:c.validate)==null||ce.call(c,"blur").catch(Ve=>void 0))}}),Z=y(()=>{var ce;return(ce=p==null?void 0:p.statusIcon)!=null?ce:!1}),D=y(()=>(c==null?void 0:c.validateState)||""),W=y(()
2024-05-15 09:12:16 +08:00
Add an empty element to avoid render label,
do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
2024-05-25 15:55:50 +08:00
`),lh]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):e.isLeaf&&e.node.checked?(k(),ee(d,{key:2,class:S(e.ns.e("prefix"))},{default:U(()=>[j(i)]),_:1},8,["class"])):X("v-if",!0),X(" content "),j(p),X(" postfix "),e.isLeaf?X("v-if",!0):(k(),B(Ie,{key:3},[e.node.loading?(k(),ee(d,{key:0,class:S([e.ns.is("loading"),e.ns.e("postfix")])},{default:U(()=>[j(c)]),_:1},8,["class"])):(k(),ee(d,{key:1,class:S(["arrow-right",e.ns.e("postfix")])},{default:U(()=>[j(v)]),_:1},8,["class"]))],64))],42,oh)}var sh=fe(nh,[["render",ah],["__file","node.vue"]]);const rh=J({name:"ElCascaderMenu",components:{Loading:Bn,ElIcon:be,ElScrollbar:Vn,ElCascaderNode:sh},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=Fe(),n=se("cascader-menu"),{t:o}=Ze(),a=qt();let s=null,r=null;const u=ye(Pa),i=T(null),d=y(()=>!e.nodes.length),p=y(()=>!u.initialLoaded),c=y(()=>`${a.value}-${e.index}`),v=g=>{s=g.target},f=g=>{if(!(!u.isHoverMenu||!s||!i.value))if(s.contains(g.target)){h();const C=t.vnode.el,{left:E}=C.getBoundingClientRect(),{offsetWidth:w,offsetHeight:b}=C,P=g.clientX-E,I=s.offsetTop,$=I+s.offsetHeight;i.value.innerHTML=`
2024-05-15 09:12:16 +08:00
<path style="pointer-events: auto;" fill="transparent" d="M${P} ${I} L${w} 0 V${I} Z" />
<path style="pointer-events: auto;" fill="transparent" d="M${P} ${$} L${w} ${b} V${$} Z" />
2024-05-25 15:55:50 +08:00
`}else r||(r=window.setTimeout(m,u.config.hoverThreshold))},h=()=>{!r||(clearTimeout(r),r=null)},m=()=>{!i.value||(i.value.innerHTML="",h())};return{ns:n,panel:u,hoverZone:i,isEmpty:d,isLoading:p,menuId:c,t:o,handleExpand:v,handleMouseMove:f,clearHoverZone:m}}});function ih(e,t,n,o,a,s){const r=Me("el-cascader-node"),u=Me("loading"),i=Me("el-icon"),d=Me("el-scrollbar");return k(),ee(d,{key:e.menuId,tag:"ul",role:"menu",class:S(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:U(()=>{var p;return[(k(!0),B(Ie,null,Xe(e.nodes,c=>(k(),ee(r,{key:c.uid,node:c,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(k(),B("div",{key:0,class:S(e.ns.e("empty-text"))},[j(i,{size:"14",class:S(e.ns.is("loading"))},{default:U(()=>[j(u)]),_:1},8,["class"]),Qe(" "+ve(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(k(),B("div",{key:1,class:S(e.ns.e("empty-text"))},ve(e.t("el.cascader.noData")),3)):(p=e.panel)!=null&&p.isHoverMenu?(k(),B("svg",{key:2,ref:"hoverZone",class:S(e.ns.e("hover-zone"))},null,2)):X("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var uh=fe(rh,[["render",ih],["__file","menu.vue"]]);let dh=0;const ch=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};class so{constructor(t,n,o,a=!1){this.data=t,this.config=n,this.parent=o,this.root=a,this.uid=dh++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:s,label:r,children:u}=n,i=t[u],d=ch(this);this.level=a?0:o?o.level+1:1,this.value=t[s],this.label=t[r],this.pathNodes=d,this.pathValues=d.map(p=>p.value),this.pathLabels=d.map(p=>p.label),this.childrenData=i,this.children=(i||[]).map(p=>new so(p,n,this)),this.loaded=!n.lazy||this.isLeaf||!Po(i)}get isDisabled(){const{data:t,parent:n,config:o}=this,{disabled:a,checkStrictly:s}=o;return(nt(a)?a(t,this):!!t[a])||!s&&(n==null?void 0:n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:o,loaded:a}=this,{lazy:s,leaf:r}=n,u=nt(r)?r(t,this):t[r];return Vt(u)?s&&!a?!1:!(Array.isArray(o)&&o.length):!!u}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:o}=this,a=new so(t,this.config,this);return Array.isArray(n)?n.push(t):this.childrenData=[t],o.push(a),a}calcText(t,n){const o=t?this.pathLabels.join(n):this.label;return this.text=o,o}broadcast(t,...n){const o=`onParent${vn(t)}`;this.children.forEach(a=>{a&&(a.broadcast(t,...n),a[o]&&a[o](...n))})}emit(t,...n){const{parent:o}=this,a=`onChild${vn(t)}`;o&&(o[a]&&o[a](...n),o.emit(t,...n))}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(a=>!a.isDisabled),o=n.length?n.every(a=>a.checked):!1;this.setCheckState(o)}setCheckState(t){const n=this.children.length,o=this.children.reduce((a,s)=>{const r=s.checked?1:s.indeterminate?.5:0;return a+r},0);this.checked=this.loaded&&this.children.filter(a=>!a.isDisabled).every(a=>a.loaded&&a.checked)&&t,this.indeterminate=this.loaded&&o!==n&&o>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:o}=this.config;n||!o?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check"))}}const ql=(e,t)=>e.reduce((n,o)=>(o.isLeaf?n.push(o):(!t&&n.push(o),n=n.concat(ql(o.children,t))),n),[]);class Ms{constructor(t,n){this.config=n;const o=(t||[]).map(a=>new so(a,this.config));this.nodes=o,this.allNodes=ql(o,!1),this.leafNodes=ql(o,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const o=n?n.appendChild(t):new so(t,this.config);n||this.nodes.push(o),this.allNodes.push(o),o.isLeaf&&this.leafNodes.push(o)}appendNodes(t,n){t.forEach(o=>this.appendNode(o,n))}getNodeByValue(t,n=!1){return!t&&t!==0?null:this.getFlattedNodes(n).find(a=>Ut(a.value,t)||Ut(a.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:o,level:a})=>Ut(t.value,o)&&t.level===a)||null}}const yi=me({mode
2024-05-15 09:12:16 +08:00
M 50 50
m 0 ${b?"":"-"}${w}
a ${w} ${w} 0 1 1 0 ${b?"-":""}${w*2}
a ${w} ${w} 0 1 1 0 ${b?"":"-"}${w*2}
2024-05-25 15:55:50 +08:00
`}),i=y(()=>2*Math.PI*r.value),d=y(()=>t.type==="dashboard"?.75:1),p=y(()=>`${-1*i.value*(1-d.value)/2}px`),c=y(()=>({strokeDasharray:`${i.value*d.value}px, ${i.value}px`,strokeDashoffset:p.value})),v=y(()=>({strokeDasharray:`${i.value*d.value*(t.percentage/100)}px, ${i.value}px`,strokeDashoffset:p.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),f=y(()=>{let w;return t.color?w=E(t.percentage):w=n[t.status]||n.default,w}),h=y(()=>t.status==="warning"?ha:t.type==="line"?t.status==="success"?va:fo:t.status==="success"?Cl:bn),m=y(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),g=y(()=>t.format(t.percentage));function C(w){const b=100/w.length;return w.map((I,$)=>xe(I)?{color:I,percentage:($+1)*b}:I).sort((I,$)=>I.percentage-$.percentage)}const E=w=>{var b;const{color:P}=t;if(nt(P))return P(w);if(xe(P))return P;{const I=C(P);for(const $ of I)if($.percentage>w)return $.color;return(b=I[I.length-1])==null?void 0:b.color}};return(w,b)=>(k(),B("div",{class:S([l(o).b(),l(o).m(w.type),l(o).is(w.status),{[l(o).m("without-text")]:!w.showText,[l(o).m("text-inside")]:w.textInside}]),role:"progressbar","aria-valuenow":w.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[w.type==="line"?(k(),B("div",{key:0,class:S(l(o).b("bar"))},[Y("div",{class:S(l(o).be("bar","outer")),style:Oe({height:`${w.strokeWidth}px`})},[Y("div",{class:S([l(o).be("bar","inner"),{[l(o).bem("bar","inner","indeterminate")]:w.indeterminate},{[l(o).bem("bar","inner","striped")]:w.striped},{[l(o).bem("bar","inner","striped-flow")]:w.stripedFlow}]),style:Oe(l(a))},[(w.showText||w.$slots.default)&&w.textInside?(k(),B("div",{key:0,class:S(l(o).be("bar","innerText"))},[oe(w.$slots,"default",{percentage:w.percentage},()=>[Y("span",null,ve(l(g)),1)])],2)):X("v-if",!0)],6)],6)],2)):(k(),B("div",{key:1,class:S(l(o).b("circle")),style:Oe({height:`${w.width}px`,width:`${w.width}px`})},[(k(),B("svg",hC,[Y("path",{class:S(l(o).be("circle","track")),d:l(u),stroke:`var(${l(o).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":w.strokeLinecap,"stroke-width":l(s),fill:"none",style:Oe(l(c))},null,14,mC),Y("path",{class:S(l(o).be("circle","path")),d:l(u),stroke:l(f),fill:"none",opacity:w.percentage?1:0,"stroke-linecap":w.strokeLinecap,"stroke-width":l(s),style:Oe(l(v))},null,14,gC)]))],6)),(w.showText||w.$slots.default)&&!w.textInside?(k(),B("div",{key:2,class:S(l(o).e("text")),style:Oe({fontSize:`${l(m)}px`})},[oe(w.$slots,"default",{percentage:w.percentage},()=>[w.status?(k(),ee(l(be),{key:1},{default:U(()=>[(k(),ee(je(l(h))))]),_:1})):(k(),B("span",bC,ve(l(g)),1))])],6)):X("v-if",!0)],10,vC))}});var kC=fe(CC,[["__file","progress.vue"]]);const wC=qe(kC),SC=me({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:Tr},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},inactiveActionIcon:{type:lt},activeActionIcon:{type:lt},activeIcon:{type:lt},inactiveIcon:{type:lt},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:ne(Function)},id:String,tabindex:{type:[String,Number]},value:{type:[Boolean,String,Number],default:!1},label:{type:String,default:void 0}}),EC={[He]:e=>Pt(e)||xe(e)||_e(e),[Kt]:e=>Pt(e)||xe(e)||_e(e),[gn]:e=>Pt(e)||xe(e)||_e(e)},$C=["onClick"],NC=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],TC=["aria-hidden"],IC=["aria-hidden"],PC=["aria-hidden"],ta="ElSwitch",MC=J({name:ta}),OC=J({...MC,props:SC,emits:EC,setup(e,{expose:t,emit:n}){const o=e,a=Fe(),{formItem:s}=ln(),r=Ot(),u=se("switch");(M=>{M.forEach(A=>{Rn({from:A[0],replacement:A[1],scope:ta,version:"2.3.0",ref:"https://e