var m=Object.defineProperty,v=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var i=(t,e,s)=>e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,n=(t,e)=>{for(var s in e||(e={}))h.call(e,s)&&i(t,s,e[s]);if(c)for(var s of c(e))y.call(e,s)&&i(t,s,e[s]);return t},l=(t,e)=>v(t,f(e));import{b as C,c as d,m as P,d as S,ap as $,e as u,a4 as g,f as k,o as b,g as w,k as x,J as B,n as j,a2 as z,j as I,q}from"./index-C8qz7c0N.js";const G=l(n({},C),{color:String,contentPosition:P("center"),dashed:Boolean,vertical:d(!1),hairline:d(!0)}),H={name:"wd-divider",options:{virtualHost:!0,addGlobalClass:!0,styleIsolation:"shared"}},J=S(l(n({},H),{props:G,setup(t){const e=t,s=$(),p=u(()=>{const{color:o,customStyle:r}=e,a={};return o&&(a.color=o),`${g(a)}${r}`}),_=u(()=>{const o="wd-divider";return{[o]:!0,"is-dashed":e.dashed,"is-hairline":e.hairline,[`${o}--vertical`]:e.vertical,[`${o}--center`]:!e.vertical&&e.contentPosition==="center"&&!!s.default,[`${o}--left`]:!e.vertical&&e.contentPosition==="left",[`${o}--right`]:!e.vertical&&e.contentPosition==="right",[e.customClass]:!!e.customClass}});return(o,r)=>{const a=I;return b(),k(a,{class:z(_.value),style:j(p.value)},{default:w(()=>[o.vertical?B("",!0):x(o.$slots,"default",{key:0},void 0,!0)]),_:3},8,["class","style"])}}})),V=q(J,[["__scopeId","data-v-386d00c9"]]);export{V as _};
