Files
qhmes/web-dist/js/index-BzChaRPg.js
2026-06-16 18:19:57 +08:00

2 lines
1.9 KiB
Java

import{bo as d,x as h,au as x,T as g,ag as w,aP as C,gV as v,cE as $,cg as b,y}from"./index-X7Y8jykP.js";import{e as m,C as S,z as u,f as a,T,u as i,J as f,c as p,F as A,V as I,L as z,y as k,H as V}from"./vue-vendor-DNhG1Cve.js";const H=m({__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=p(()=>{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(i(h),{icon:"ion:chevron-forward",style:T(s.$attrs.iconStyle)},null,8,["style"])],2))}}),M=x(H,[["__scopeId","data-v-8c0e6343"]]),N={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]}},B=m({name:"BasicHelp",components:{Tooltip:g},props:N,setup(e,{slots:o}){const{prefixCls:t}=d("basic-help"),r=p(()=>({color:e.color,fontSize:e.fontSize})),s=p(()=>({maxWidth:e.maxWidth}));function l(){const n=e.text;return w(n)?a("p",null,[n]):C(n)?n.map((c,_)=>a("p",{key:c},[a(A,null,[e.showIndex?`${_+1}. `:"",c])])):null}return()=>a(g,{overlayClassName:`${t}__wrap`,title:a("div",{style:i(r)},[l()]),autoAdjustOverflow:!0,overlayStyle:i(s),placement:e.placement,getPopupContainer:()=>v()},{default:()=>[a("span",{class:t},[$(o)||a(b,null,null)])]})}}),O=m({__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=I(),s=p(()=>[t,{[`${t}-show-span`]:o.span&&r.default},{[`${t}-normal`]:o.normal}]);return(l,n)=>(u(),S("span",{class:f(s.value)},[z(l.$slots,"default",{},void 0,!0),e.helpMessage?(u(),k(B,{key:0,class:f(`${i(t)}-help`),text:e.helpMessage},null,8,["class","text"])):V("",!0)],2))}}),P=x(O,[["__scopeId","data-v-45bbc668"]]),F=y(M),L=y(P),j=y(B);export{j as B,B as _,F as a,L as b};