import{c as v,bq as n,f4 as m,fB as y,fC as _,fD as w,m as x}from"./BV6JFWy-.js";const S={props:{caption:{type:String,default:""},responsive:{type:String,default:"scroll"},headLine:{type:String,required:!0},rows:{type:Array,required:!0}},setup(a){const r=v(()=>a.rows||[]),o=Number(a.headLine)||0;function d(){const{remains:t,extracted:e}=y(a.caption,/{(.*?)}/g),i=_(e[0]);return n("figcaption",i,t)}function f(){const t=[];return r.value&&(o>=0&&t.push(h()),o{if(s.children!=null){const g=w(s),b=s.tag,u=[];e&&a.responsive==="label"&&s&&r.value.length>0&&r.value[0].children.length>c&&u.push(n("span",{class:"h-label has-text-label-mini"},r.value[0].children[c].meta.rendered)),u.push(s.meta.rendered),i.push(n(b,g,u))}}),i}return()=>{const t=a.caption?d():null,e=f();return n(m,{class:"cms-table md-b responsive-"+a.responsive},{default:()=>e,figcaption:()=>t})}}},q=x(S,[["__scopeId","data-v-4b5e651a"]]);export{q as default};

AltStyle によって変換されたページ (->オリジナル) /