import{C as d,o as h,_ as x,a3 as w,$ as C,P as v,N as $,w as m}from"./index-B_2CoVdl.js";import{d as y,e as i,a2 as u,a3 as S,k as a,ac as b,u as p,a6 as f,F as A,an as T,ai as k,ad as I,V as z}from"./vue-vendor-CxLCUzY4.js";import{aP as N,T as g}from"./antd-vue-vendor-CDWW6V_M.js";const P=y({__name:"BasicArrow",props:{expand:{type:Boolean},up:{type:Boolean},down:{type:Boolean},inset:{type:Boolean}},setup(e){const o=e,{prefixCls:t}=d("basic-arrow"),r=i(()=>{const{expand:s,up:l,down:n,inset:c}=o;return[t,{[`${t}--active`]:s,up:l,inset:c,down:n}]});return(s,l)=>(u(),S("span",{class:f(r.value)},[a(p(h),{icon:"ion:chevron-forward",style:b(s.$attrs.iconStyle)},null,8,["style"])],2))}}),M=x(P,[["__scopeId","data-v-8c0e6343"]]),O={maxWidth:{type:String,default:"600px"},showIndex:{type:Boolean},color:{type:String,default:"#ffffff"},fontSize:{type:String,default:"14px"},placement:{type:String,default:"right"},text:{type:[Array,String]}},_=y({name:"BasicHelp",components:{Tooltip:g},props:O,setup(e,{slots:o}){const{prefixCls:t}=d("basic-help"),r=i(()=>({color:e.color,fontSize:e.fontSize})),s=i(()=>({maxWidth:e.maxWidth}));function l(){const n=e.text;return v(n)?a("p",null,[n]):$(n)?n.map((c,B)=>a("p",{key:c},[a(A,null,[e.showIndex?`${B+1}. `:"",c])])):null}return()=>a(g,{overlayClassName:`${t}__wrap`,title:a("div",{style:p(r)},[l()]),autoAdjustOverflow:!0,overlayStyle:p(s),placement:e.placement,getPopupContainer:()=>C()},{default:()=>[a("span",{class:t},[w(o)||a(N,null,null)])]})}}),V=y({__name:"BasicTitle",props:{helpMessage:{type:[String,Array],default:""},span:{type:Boolean},normal:{type:Boolean}},setup(e){const o=e,{prefixCls:t}=d("basic-title"),r=T(),s=i(()=>[t,{[`${t}-show-span`]:o.span&&r.default},{[`${t}-normal`]:o.normal}]);return(l,n)=>(u(),S("span",{class:f(s.value)},[k(l.$slots,"default",{},void 0,!0),e.helpMessage?(u(),I(_,{key:0,class:f(`${p(t)}-help`),text:e.helpMessage},null,8,["class","text"])):z("",!0)],2))}}),W=x(V,[["__scopeId","data-v-45bbc668"]]),D=m(M),E=m(W),L=m(_);export{E as B,_,L as a,D as b};
