text: import{aQ as h,v as g,k as r,V as x}from"./index.b229d964.js";import{l as y,c as C,f as l,s as d}from"./vue.c50f9232.js";var m={prefixCls:String,type:{type:String,default:"horizontal"},dashed:{type:Boolean,default:!1},orientation:{type:String,default:"center"},plain:{type:Boolean,default:!1}},P=y({name:"ADivider",props:m,setup:function(t,s){var o=s.slots,c=C("configProvider",g),i=l(function(){return c.getPrefixCls("divider",t.prefixCls)}),v=l(function(){var e,a=t.type,u=t.dashed,p=t.plain,n=i.value;return e={},r(e,n,!0),r(e,"".concat(n,"-").concat(a),!0),r(e,"".concat(n,"-dashed"),!!u),r(e,"".concat(n,"-plain"),!!p),r(e,"".concat(n,"-rtl"),c.direction==="rtl"),e}),f=l(function(){return t.orientation.length>0?"-"+t.orientation:t.orientation});return function(){var e,a=x((e=o.default)===null||e===void 0?void 0:e.call(o));return d("div",{class:[v.value,a.length?"".concat(i.value,"-with-text ").concat(i.value,"-with-text").concat(f.value):""],role:"separator"},[a.length?d("span",{class:"".concat(i.value,"-inner-text")},[a]):null])}}}),w=h(P);export{w as D};
  