UNPKG

vue-data-ui-hq

Version:

A user-empowering data visualization Vue 3 components library for eloquent data storytelling

2 lines (1 loc) 38.3 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-ZfICPrrM.cjs"),we=require("./useResponsive-BJ7DTGpm.cjs"),Te=require("./Title-FbHK83tB.cjs"),Be=require("./usePrinter-B-gh2f22.cjs"),Pe=require("./Tooltip-C7TJODUx.cjs"),De=require("./Legend-HgHPyA_4.cjs"),_e=require("./Shape-C3YtaYr4.cjs"),Oe=require("./DataTable-CC6dPSer.cjs"),Fe=require("./vue-ui-skeleton-Bvmpr51u.cjs"),We=require("./vue-ui-accordion-Dp6uTsJi.cjs"),Ce=require("./useNestedProp-C14rfl0j.cjs"),qe=require("./PackageVersion-D3dK8oA3.cjs"),Ie=require("./PenAndPaper-PL3bp4ud.cjs"),Xe=require("./useUserOptionState-BgepsfED.cjs"),Ye=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),je=["id"],Re=["xmlns","viewBox"],Ue=["width","height"],Ge={key:1},He=["x1","x2","y1","y2","stroke","stroke-width"],Je=["x1","x2","y1","y2","stroke","stroke-width"],Ke={key:2},Qe=["points","fill","stroke-width","stroke-dasharray","stroke"],Ze={key:0},et=["cx","cy","r","fill","stroke","stroke-width","onMouseover"],tt={key:1},ot={key:3},lt=["id"],rt=["stop-color"],nt=["stop-color"],at=["id"],st=["stop-color"],ut=["stop-color"],it=["x","y","width","height","fill","stroke","stroke-width","rx"],ct=["x","y","height","width","fill","stroke","stroke-width","rx"],ft={key:0},yt=["d","stroke","stroke-width"],dt=["d","stroke","stroke-width"],pt=["d","stroke","stroke-width"],ht=["d","stroke","stroke-width"],mt={key:4,style:{"pointer-events":"none !important"}},gt=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],kt=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],vt=["x","y","font-size","fill","font-weight","text-anchor"],xt=["x","y","font-size","fill","font-weight"],bt=["cx","cy","r","fill","stroke","stroke-width"],wt=["cx","cy","r","fill","stroke","stroke-width"],Bt=["x","y","font-size","fill","font-weight","text-anchor"],_t={key:5},Ct=["x","y","font-size","fill"],Nt=["x","y","font-size","fill"],St=["id","transform","font-size","font-weight","fill"],Mt={key:6},$t=["x","y","font-size","fill"],Et=["x","y","font-size","fill"],Lt=["font-size","font-weight","fill","x","y"],zt=["id"],Vt=["x","y","width","height"],At={key:7},Tt=["x1","x2","y1","y2","stroke-dasharray","stroke","stroke-width","clip-path"],Pt=["x","y","fill","font-size","font-weight"],Dt={key:5,class:"vue-data-ui-watermark"},Ot=["onClick"],Ft={key:0,style:{width:"100%",display:"flex","align-items":"center","justify-content":"center"}},Wt={viewBox:"0 0 20 20",height:"20",width:"20",style:{overflow:"hidden",background:"transparent"}},qt={key:0},It=["innerHTML"],Xt={__name:"vue-ui-scatter",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(Ne,{expose:Se}){const{vue_ui_scatter:Me}=n.useConfig(),C=Ne,P=e.computed(()=>!!C.dataset&&C.dataset.length),v=e.ref(n.createUid()),$e=e.ref(null),I=e.ref(!1),X=e.ref(""),K=e.ref(0),V=e.ref(null),Q=e.ref(null),Z=e.ref(null),ee=e.ref(null),te=e.ref(null),oe=e.ref(0),le=e.ref(0),re=e.ref(0),t=e.computed({get:()=>se(),set:o=>o}),{userOptionsVisible:Y,setUserOptionsVisibility:ne,keepUserOptionState:ae}=Xe.useUserOptionState({config:t.value});function se(){const o=Ce.useNestedProp({userConfig:C.config,defaultConfig:Me});return o.theme?{...Ce.useNestedProp({userConfig:n.themes.vue_ui_scatter[o.theme]||C.config,defaultConfig:o}),customPalette:n.themePalettes[o.theme]||n.palette}:o}e.watch(()=>C.config,o=>{t.value=se(),Y.value=!t.value.showOnChartHover,ue(),oe.value+=1,le.value+=1,re.value+=1},{deep:!0});const D=e.ref(null);e.onMounted(()=>{ue()});function ue(){if(n.objectIsEmpty(C.dataset)&&n.error({componentName:"VueUiScatter",type:"dataset"}),t.value.responsive){const o=we.throttle(()=>{const{width:s,height:l}=we.useResponsive({chart:V.value,title:t.value.style.title.text?Q.value:null,legend:t.value.style.legend.show?Z.value:null,source:ee.value,noTitle:te.value});h.value.width=s,h.value.height=l});D.value=new ResizeObserver(o),D.value.observe(V.value.parentNode)}}e.onBeforeUnmount(()=>{D.value&&D.value.disconnect()});const{isPrinting:ie,isImaging:ce,generatePdf:fe,generateImage:ye}=Be.usePrinter({elementId:`vue-ui-scatter_${v.value}`,fileName:t.value.style.title.text||"vue-ui-scatter"}),Ee=e.computed(()=>t.value.userOptions.show&&!t.value.style.title.text),de=e.computed(()=>n.convertCustomPalette(t.value.customPalette)),S=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.tooltip.show}),h=e.ref({height:t.value.style.layout.height,width:t.value.style.layout.width}),O=e.computed(()=>t.value.style.layout.marginalBars.show?t.value.style.layout.marginalBars.size+t.value.style.layout.marginalBars.offset:0),u=e.computed(()=>({top:t.value.style.layout.padding.top+O.value,right:h.value.width-t.value.style.layout.padding.right-O.value,bottom:h.value.height-t.value.style.layout.padding.bottom,left:t.value.style.layout.padding.left,height:h.value.height-t.value.style.layout.padding.top-t.value.style.layout.padding.bottom-O.value,width:h.value.width-t.value.style.layout.padding.left-t.value.style.layout.padding.right-O.value})),f=e.computed(()=>{C.dataset.forEach((r,i)=>{n.getMissingDatasetAttributes({datasetObject:r,requiredAttributes:["values"]}).forEach(m=>{n.error({componentName:"VueUiScatter",type:"datasetSerieAttribute",property:m,index:i})}),r.values&&r.values.forEach((m,E)=>{n.getMissingDatasetAttributes({datasetObject:m,requiredAttributes:["x","y"]}).forEach(T=>{n.error({componentName:"VueUiScatter",type:"datasetSerieAttribute",property:`values.${T}`,index:`${i} - ${E}`})})})});const o=Math.min(...$.value.filter(r=>!p.value.includes(r.id)).flatMap(r=>r.values.map(i=>i.x))),s=Math.max(...$.value.filter(r=>!p.value.includes(r.id)).flatMap(r=>r.values.map(i=>i.x))),l=Math.min(...$.value.filter(r=>!p.value.includes(r.id)).flatMap(r=>r.values.map(i=>i.y))),a=Math.max(...$.value.filter(r=>!p.value.includes(r.id)).flatMap(r=>r.values.map(i=>i.y)));return{xMin:o>=0?0:o,xMax:s,yMin:l>=0?0:l,yMax:a}}),y=e.computed(()=>({x:u.value.left+Math.abs(f.value.xMin)/(f.value.xMax+Math.abs(f.value.xMin))*u.value.width,y:u.value.bottom-Math.abs(f.value.yMin)/(f.value.yMax+Math.abs(f.value.yMin))*u.value.height})),$=e.computed(()=>C.dataset.map((o,s)=>{const l=`cluster_${v.value}_${s}`;return{...o,values:n.largestTriangleThreeBuckets({data:o.values,threshold:t.value.downsample.threshold}),id:l,color:o.color?o.color:de.value[s]||n.palette[s]||n.palette[s%n.palette.length],opacity:p.value.includes(l)?.5:1,shape:o.shape??"circle",segregate:()=>ke(l),isSegregated:p.value.includes(l)}})),Le=e.computed(()=>({cy:"scatter-div-legend",backgroundColor:t.value.style.legend.backgroundColor,color:t.value.style.legend.color,fontSize:t.value.style.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.legend.bold?"bold":""})),j=e.computed(()=>$.value.map((o,s)=>({...o,plots:o.values.map(l=>({x:u.value.left+(l.x+Math.abs(f.value.xMin))/(f.value.xMax+Math.abs(f.value.xMin))*u.value.width,y:u.value.bottom-(l.y+Math.abs(f.value.yMin))/(f.value.yMax+Math.abs(f.value.yMin))*u.value.height,v:{...l,name:l.name||""},clusterName:o.name,color:o.color?o.color:de.value[s]||n.palette[s]||n.palette[s%n.palette.length],id:`plot_${v.value}_${Math.random()}`,weight:l.weight??t.value.style.layout.plots.radius}))})).filter(o=>!p.value.includes(o.id))),x=e.computed(()=>j.value.map(o=>{const s=o.plots.reduce((d,L)=>d+L.x,0)/o.plots.length,l=o.plots.reduce((d,L)=>d+L.y,0)/o.plots.length;let a=0,r=0,i=0;for(const d of o.plots)a+=(d.x-s)*(d.y-l),r+=(d.x-s)**2,i+=(d.y-l)**2;const m=a/Math.sqrt(r*i),E=m*(Math.sqrt(i)/Math.sqrt(r)),T=l-E*s,_={x1:u.value.left,x2:u.value.right,y1:E*u.value.left+T,y2:E*u.value.right+T,coefficient:m},k=(_.y2-_.y1)/(_.x2-_.x1),w=_.y1-k*_.x1,N=Math.min(h.value.width-t.value.style.layout.padding.right,Math.max(t.value.style.layout.padding.left,(u.value.top-w)/k)),q={x:N,y:k*N+w<=t.value.style.layout.padding.top?u.value.top:k*N+w};return{...o,correlation:_,label:q,plots:o.plots.map(d=>{const L=(d.x+k*d.y-k*w)/(1+Math.pow(k,2)),G=(k*d.x+Math.pow(k,2)*d.y+w)/(1+Math.pow(k,2)),g=Math.sqrt(Math.pow(d.x-L,2)+Math.pow(d.y-G,2));return{...d,deviation:g,shape:o.shape,color:o.color}})}})),pe=e.computed(()=>Math.max(...x.value.flatMap(o=>o.plots.map(s=>Math.abs(s.deviation)))));function ze(){return x.value}function he(o,s){const l=Array.isArray(o)?o.flatMap(g=>g.plots.map(z=>({x:z.x,y:z.y}))):o.plots.map(g=>({x:g.x,y:g.y}));let a=1/0,r=-1/0,i=1/0,m=-1/0;l.forEach(({x:g,y:z})=>{a=Math.min(a,g),r=Math.max(r,g),i=Math.min(i,z),m=Math.max(m,z)});const E=r-a,T=m-i,_=E/s,k=T/s,w=Array(s).fill(0),N=Array(s).fill(0);l.forEach(({x:g,y:z})=>{const H=Math.floor((g-a)/_),J=Math.floor((z-i)/k);w[H]||(w[H]=0),N[J]||(N[J]=0),w[H]+=1,N[J]+=1});const q=[],d=[];for(let g=0;g<s;g+=1)q.push(a+(g+.5)*_),d.push(i+(g+.5)*k);const L=Math.max(...w),G=Math.max(...N);return{x:w,y:N,avgX:q,avgY:d,maxX:L,maxY:G}}const M=e.computed(()=>t.value.style.layout.marginalBars.tranches),b=e.computed(()=>he(j.value,M.value)),Ve=e.computed(()=>{const o=u.value.top-t.value.style.layout.marginalBars.offset,s=u.value.right+t.value.style.layout.marginalBars.offset;return j.value.map(l=>{const a=he(l,M.value);return{coords:a,dX:n.createSmoothPath(a.avgX.map((r,i)=>({x:r,y:o-a.x[i]/a.maxX*t.value.style.layout.marginalBars.size}))),dY:n.createSmoothPathVertical(a.avgY.map((r,i)=>({y:r,x:s+t.value.style.layout.marginalBars.size*a.y[i]/a.maxY}))),color:l.color,id:l.id}})}),B=e.ref(void 0),c=e.ref(null),R=e.ref(null);function me(o,s){B.value=o.id,c.value=o;let l="";R.value={datapoint:o,seriesIndex:s,series:x.value,config:t.value};const a=t.value.style.tooltip.customFormat;n.isFunction(a)&&n.functionReturnsString(()=>a({datapoint:o,seriesIndex:s,series:x.value,config:t.value}))?X.value=a({datapoint:o,seriesIndex:s,series:x.value,config:t.value}):(o.clusterName&&(l+=`<div style="display:flex;gap:3px;align-items:center">${o.clusterName}</div>`),o.v.name&&(l+=`<div>${o.v.name}</div>`),l+=`<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}">`,l+=`<div>${t.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(o.v.x)?"-":n.applyDataLabel(t.value.style.layout.plots.selectors.labels.x.formatter,o.v.x,n.dataLabel({p:t.value.style.tooltip.prefix,v:o.v.x,s:t.value.style.tooltip.suffix,r:t.value.style.tooltip.roundingValue}),{datapoint:o,seriesIndex:s})}</b></div>`,l+=`<div>${t.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(o.v.y)?"-":n.applyDataLabel(t.value.style.layout.plots.selectors.labels.y.formatter,o.v.y,n.dataLabel({p:t.value.style.tooltip.prefix,v:o.v.y,s:t.value.style.tooltip.suffix,r:t.value.style.tooltip.roundingValue}),{datapoint:o,seriesIndex:s})}</b></div>`,l+=`${t.value.style.layout.plots.deviation.translation}: <b>${n.dataLabel({v:o.deviation,r:t.value.style.layout.plots.deviation.roundingValue})}</b>`,l+="</div>",X.value=`<div>${l}</div>`),I.value=!0}function ge(){I.value=!1,B.value=void 0,c.value=null}const p=e.ref([]);function ke(o){p.value.includes(o)?p.value=p.value.filter(s=>s!==o):p.value.length<C.dataset.length-1&&p.value.push(o)}function ve(){e.nextTick(()=>{const o=["",t.value.table.translations.correlationCoefficient,t.value.table.translations.nbrPlots,`${t.value.style.layout.dataLabels.xAxis.name} ${t.value.table.translations.average}`,`${t.value.style.layout.dataLabels.yAxis.name} ${t.value.table.translations.average}`],s=x.value.map(r=>[r.name,r.correlation.coefficient,r.plots.length,r.plots.map(i=>i.v.x).reduce((i,m)=>i+m,0)/r.plots.length,r.plots.map(i=>i.v.y).reduce((i,m)=>i+m,0)/r.plots.length]),l=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([o]).concat(s),a=n.createCsvContent(l);n.downloadCsv({csvContent:a,title:t.value.style.title.text||"vue-ui-heatmap"})})}const F=e.computed(()=>{const o=[t.value.table.translations.series,t.value.table.translations.correlationCoefficient,t.value.table.translations.nbrPlots,`${t.value.style.layout.dataLabels.xAxis.name} ${t.value.table.translations.average}`,`${t.value.style.layout.dataLabels.yAxis.name} ${t.value.table.translations.average}`],s=x.value.map(a=>[{shape:a.shape,content:a.name,color:a.color},Number((a.correlation.coefficient??0).toFixed(t.value.table.td.roundingValue)).toLocaleString(),a.plots.length.toLocaleString(),Number((a.plots.map(r=>r.v.x??0).reduce((r,i)=>r+i,0)/a.plots.length).toFixed(t.value.table.td.roundingAverage)).toLocaleString(),Number((a.plots.map(r=>r.v.y??0).reduce((r,i)=>r+i,0)/a.plots.length).toFixed(t.value.table.td.roundingAverage)).toLocaleString()]),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{head:o,body:s,config:l,colNames:o}}),A=e.ref(!1);function Ae(o){A.value=o,K.value+=1}function xe(){S.value.showTable=!S.value.showTable}function be(){S.value.showTooltip=!S.value.showTooltip}const W=e.ref(!1);function U(){W.value=!W.value}return Se({getData:ze,generatePdf:fe,generateCsv:ve,generateImage:ye,toggleTable:xe,toggleTooltip:be,toggleAnnotator:U}),(o,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-scatter ${e.unref(A)?"vue-data-ui-wrapper-fullscreen":""} ${e.unref(t).useCssAnimation?"":"vue-ui-dna"}`),ref_key:"scatterChart",ref:V,id:`vue-ui-scatter_${e.unref(v)}`,style:e.normalizeStyle(`font-family:${e.unref(t).style.fontFamily};width:100%; text-align:center;background:${e.unref(t).style.backgroundColor};${e.unref(t).responsive?"height: 100%":""}`),onMouseenter:s[2]||(s[2]=()=>e.unref(ne)(!0)),onMouseleave:s[3]||(s[3]=()=>e.unref(ne)(!1))},[e.unref(t).userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Ie.PenAndPaper,{key:0,parent:e.unref(V),backgroundColor:e.unref(t).style.backgroundColor,color:e.unref(t).style.color,active:e.unref(W),onClose:U},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),e.unref(Ee)?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:te,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),e.unref(t).style.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:Q,style:"width:100%;background:transparent"},[(e.openBlock(),e.createBlock(Te._sfc_main,{key:`title_${e.unref(oe)}`,config:{title:{cy:"scatter-div-title",...e.unref(t).style.title},subtitle:{cy:"scatter-div-subtitle",...e.unref(t).style.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),e.unref(t).userOptions.show&&e.unref(P)&&(e.unref(ae)||e.unref(Y))?(e.openBlock(),e.createBlock(Be.UserOptions,{ref_key:"details",ref:$e,key:`user_options_${e.unref(K)}`,backgroundColor:e.unref(t).style.backgroundColor,color:e.unref(t).style.color,isImaging:e.unref(ce),isPrinting:e.unref(ie),uid:e.unref(v),hasTooltip:e.unref(t).userOptions.buttons.tooltip&&e.unref(t).style.tooltip.show,hasPdf:e.unref(t).userOptions.buttons.pdf,hasImg:e.unref(t).userOptions.buttons.img,hasXls:e.unref(t).userOptions.buttons.csv,hasTable:e.unref(t).userOptions.buttons.table,hasFullscreen:e.unref(t).userOptions.buttons.fullscreen,isTooltip:e.unref(S).showTooltip,isFullscreen:e.unref(A),titles:{...e.unref(t).userOptions.buttonTitles},chartElement:e.unref(V),position:e.unref(t).userOptions.position,hasAnnotator:e.unref(t).userOptions.buttons.annotator,isAnnotation:e.unref(W),onToggleFullscreen:Ae,onGeneratePdf:e.unref(fe),onGenerateCsv:ve,onGenerateImage:e.unref(ye),onToggleTable:xe,onToggleTooltip:be,onToggleAnnotator:U,style:e.normalizeStyle({visibility:e.unref(ae)?e.unref(Y)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:a})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:a})),void 0,!0)]),key:"5"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:a})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:a})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),e.unref(P)?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(n.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":e.unref(A),"vue-data-ui-fulscreen--off":!e.unref(A)}),viewBox:`0 0 ${e.unref(h).width<=0?10:e.unref(h).width} ${e.unref(h).height<=0?10:e.unref(h).height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${e.unref(t).style.color}`)},[e.createVNode(qe._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:e.unref(h).width<=0?10:e.unref(h).width,height:e.unref(h).height<=0?10:e.unref(h).height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,Ue)):e.createCommentVNode("",!0),e.unref(t).style.layout.axis.show?(e.openBlock(),e.createElementBlock("g",Ge,[e.createElementVNode("line",{x1:e.unref(y).x,x2:e.unref(y).x,y1:e.unref(u).top,y2:e.unref(u).bottom,stroke:e.unref(t).style.layout.axis.stroke,"stroke-width":e.unref(t).style.layout.axis.strokeWidth,"stroke-linecap":"round"},null,8,He),e.createElementVNode("line",{x1:e.unref(u).left,x2:e.unref(u).right,y1:e.unref(y).y,y2:e.unref(y).y,stroke:e.unref(t).style.layout.axis.stroke,"stroke-width":e.unref(t).style.layout.axis.strokeWidth,"stroke-linecap":"round"},null,8,Je)])):e.createCommentVNode("",!0),e.unref(t).style.layout.plots.giftWrap.show?(e.openBlock(),e.createElementBlock("g",Ke,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(x),(l,a)=>(e.openBlock(),e.createElementBlock("g",null,[l.plots.length>2?(e.openBlock(),e.createElementBlock("polygon",{key:0,points:e.unref(n.giftWrap)({series:l.plots}),fill:e.unref(n.setOpacity)(l.color,e.unref(t).style.layout.plots.giftWrap.fillOpacity*100),"stroke-width":e.unref(t).style.layout.plots.giftWrap.strokeWidth,"stroke-dasharray":e.unref(t).style.layout.plots.giftWrap.strokeDasharray,stroke:l.color,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,Qe)):e.createCommentVNode("",!0)]))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(x),(l,a)=>(e.openBlock(),e.createElementBlock("g",null,[!l.shape||l.shape==="circle"?(e.openBlock(),e.createElementBlock("g",Ze,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.plots,(r,i)=>(e.openBlock(),e.createElementBlock("circle",{cx:r.x,cy:r.y,r:e.unref(B)&&e.unref(B)===r.id?r.weight*2:r.weight,fill:e.unref(n.setOpacity)(l.color,e.unref(t).style.layout.plots.opacity*100),stroke:e.unref(t).style.layout.plots.stroke,"stroke-width":e.unref(t).style.layout.plots.strokeWidth,onMouseover:m=>me(r,a),onMouseleave:ge,style:e.normalizeStyle(`opacity:${e.unref(B)&&e.unref(B)===r.id?1:e.unref(t).style.layout.plots.significance.useDistanceOpacity?1-Math.abs(r.deviation)/e.unref(pe):e.unref(t).style.layout.plots.significance.show&&Math.abs(r.deviation)>e.unref(t).style.layout.plots.significance.deviationThreshold?e.unref(t).style.layout.plots.significance.opacity:1}`)},null,44,et))),256))])):(e.openBlock(),e.createElementBlock("g",tt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.plots,(r,i)=>(e.openBlock(),e.createBlock(_e._sfc_main,{plot:{x:r.x,y:r.y},radius:e.unref(B)&&e.unref(B)===r.id?r.weight*2:r.weight,shape:l.shape,color:e.unref(n.setOpacity)(l.color,e.unref(t).style.layout.plots.opacity*100),stroke:e.unref(t).style.layout.plots.stroke,strokeWidth:e.unref(t).style.layout.plots.strokeWidth,onMouseover:m=>me(r,a),onMouseleave:ge,style:e.normalizeStyle(`opacity:${e.unref(B)&&e.unref(B)===r.id?1:e.unref(t).style.layout.plots.significance.useDistanceOpacity?1-Math.abs(r.deviation)/e.unref(pe):e.unref(t).style.layout.plots.significance.show&&Math.abs(r.deviation)>e.unref(t).style.layout.plots.significance.deviationThreshold?e.unref(t).style.layout.plots.significance.opacity:1}`)},null,8,["plot","radius","shape","color","stroke","strokeWidth","onMouseover","style"]))),256))]))]))),256)),e.unref(t).style.layout.marginalBars.show?(e.openBlock(),e.createElementBlock("g",ot,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`marginal_x_${e.unref(v)}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(t).style.layout.marginalBars.fill},null,8,rt),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(t).style.backgroundColor},null,8,nt)],8,lt),e.createElementVNode("linearGradient",{id:`marginal_y_${e.unref(v)}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(t).style.backgroundColor},null,8,st),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(t).style.layout.marginalBars.fill},null,8,ut)],8,at)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(b).x,(l,a)=>(e.openBlock(),e.createElementBlock("g",null,[l&&e.unref(b).avgX[a]?(e.openBlock(),e.createElementBlock("rect",{key:0,x:e.unref(b).avgX[a]-e.unref(u).width/e.unref(M)/2,y:e.unref(u).top-e.unref(t).style.layout.marginalBars.offset-l/e.unref(b).maxX*e.unref(t).style.layout.marginalBars.size,width:e.unref(u).width/e.unref(M)<=0?1e-4:e.unref(u).width/e.unref(M),height:l/e.unref(b).maxX*e.unref(t).style.layout.marginalBars.size<=0?1e-4:l/e.unref(b).maxX*e.unref(t).style.layout.marginalBars.size,fill:e.unref(t).style.layout.marginalBars.useGradient?`url(#marginal_x_${e.unref(v)})`:e.unref(t).style.layout.marginalBars.fill,style:e.normalizeStyle(`opacity:${e.unref(t).style.layout.marginalBars.opacity}`),stroke:e.unref(t).style.backgroundColor,"stroke-width":e.unref(t).style.layout.marginalBars.strokeWidth,rx:e.unref(t).style.layout.marginalBars.borderRadius},null,12,it)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(b).y,(l,a)=>(e.openBlock(),e.createElementBlock("g",null,[l&&e.unref(b).avgY[a]?(e.openBlock(),e.createElementBlock("rect",{key:0,x:e.unref(u).right+e.unref(t).style.layout.marginalBars.offset,y:e.unref(b).avgY[a]-e.unref(u).height/e.unref(M)/2,height:e.unref(u).height/e.unref(M)<=0?1e-4:e.unref(u).height/e.unref(M),width:l/e.unref(b).maxY*e.unref(t).style.layout.marginalBars.size<=0?1e-4:l/e.unref(b).maxY*e.unref(t).style.layout.marginalBars.size,fill:e.unref(t).style.layout.marginalBars.useGradient?`url(#marginal_y_${e.unref(v)})`:e.unref(t).style.layout.marginalBars.fill,style:e.normalizeStyle(`opacity:${e.unref(t).style.layout.marginalBars.opacity}`),stroke:e.unref(t).style.backgroundColor,"stroke-width":e.unref(t).style.layout.marginalBars.strokeWidth,rx:e.unref(t).style.layout.marginalBars.borderRadius},null,12,ct)):e.createCommentVNode("",!0)]))),256)),e.unref(t).style.layout.marginalBars.showLines?(e.openBlock(),e.createElementBlock("g",ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(Ve),l=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(p).includes(l.id)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("path",{key:0,d:`M ${l.dX}`,stroke:e.unref(t).style.backgroundColor,"stroke-width":e.unref(t).style.layout.marginalBars.linesStrokeWidth+1,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,yt)),e.unref(p).includes(l.id)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("path",{key:1,d:`M ${l.dX}`,stroke:l.color,"stroke-width":e.unref(t).style.layout.marginalBars.linesStrokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,dt)),e.unref(p).includes(l.id)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("path",{key:2,d:`M ${l.dY}`,stroke:e.unref(t).style.backgroundColor,"stroke-width":e.unref(t).style.layout.marginalBars.linesStrokeWidth+1,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,pt)),e.unref(p).includes(l.id)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("path",{key:3,d:`M ${l.dY}`,stroke:l.color,"stroke-width":e.unref(t).style.layout.marginalBars.linesStrokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,ht))],64))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.unref(c)&&e.unref(t).style.layout.plots.selectors.show?(e.openBlock(),e.createElementBlock("g",mt,[e.createElementVNode("line",{x1:e.unref(y).x,x2:e.unref(c).x,y1:e.unref(c).y,y2:e.unref(c).y,stroke:e.unref(t).style.layout.plots.selectors.stroke,"stroke-width":e.unref(t).style.layout.plots.selectors.strokeWidth,"stroke-dasharray":e.unref(t).style.layout.plots.selectors.strokeDasharray,"stroke-linecap":"round",class:"line-pointer"},null,8,gt),e.createElementVNode("line",{x1:e.unref(c).x,x2:e.unref(c).x,y1:e.unref(y).y,y2:e.unref(c).y,stroke:e.unref(t).style.layout.plots.selectors.stroke,"stroke-width":e.unref(t).style.layout.plots.selectors.strokeWidth,"stroke-dasharray":e.unref(t).style.layout.plots.selectors.strokeDasharray,"stroke-linecap":"round",class:"line-pointer"},null,8,kt),e.createElementVNode("text",{x:e.unref(y).x+(e.unref(c).x>e.unref(y).x?-6:6),y:e.unref(c).y+e.unref(t).style.layout.plots.selectors.labels.fontSize/3,"font-size":e.unref(t).style.layout.plots.selectors.labels.fontSize,fill:e.unref(t).style.layout.plots.selectors.labels.color,"font-weight":e.unref(t).style.layout.plots.selectors.labels.bold?"bold":"normal","text-anchor":e.unref(c).x>e.unref(y).x?"end":"start"},e.toDisplayString(e.unref(n.applyDataLabel)(e.unref(t).style.layout.plots.selectors.labels.y.formatter,e.unref(n.checkNaN)(e.unref(c).v.y),e.unref(n.dataLabel)({p:e.unref(t).style.layout.plots.selectors.labels.prefix,v:e.unref(n.checkNaN)(e.unref(c).v.y),s:e.unref(t).style.layout.plots.selectors.labels.suffix,r:e.unref(t).style.layout.plots.selectors.labels.rounding}),{datapoint:e.unref(c)})),9,vt),e.createElementVNode("text",{x:e.unref(c).x,y:e.unref(y).y+(e.unref(c).y>e.unref(y).y?-6:e.unref(t).style.layout.plots.selectors.labels.fontSize+6),"font-size":e.unref(t).style.layout.plots.selectors.labels.fontSize,fill:e.unref(t).style.layout.plots.selectors.labels.color,"font-weight":e.unref(t).style.layout.plots.selectors.labels.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(e.unref(n.applyDataLabel)(e.unref(t).style.layout.plots.selectors.labels.y.formatter,e.unref(n.checkNaN)(e.unref(c).v.x),e.unref(n.dataLabel)({p:e.unref(t).style.layout.plots.selectors.labels.prefix,v:e.unref(n.checkNaN)(e.unref(c).v.x),s:e.unref(t).style.layout.plots.selectors.labels.suffix,r:e.unref(t).style.layout.plots.selectors.labels.rounding}),{datapoint:e.unref(c)})),9,xt),e.createElementVNode("circle",{cx:e.unref(y).x,cy:e.unref(c).y,r:e.unref(t).style.layout.plots.selectors.markers.radius,fill:e.unref(t).style.layout.plots.selectors.markers.fill,stroke:e.unref(t).style.layout.plots.selectors.markers.stroke,"stroke-width":e.unref(t).style.layout.plots.selectors.markers.strokeWidth,class:"line-pointer"},null,8,bt),e.createElementVNode("circle",{cx:e.unref(c).x,cy:e.unref(y).y,r:e.unref(t).style.layout.plots.selectors.markers.radius,fill:e.unref(t).style.layout.plots.selectors.markers.fill,stroke:e.unref(t).style.layout.plots.selectors.markers.stroke,"stroke-width":e.unref(t).style.layout.plots.selectors.markers.strokeWidth,class:"line-pointer"},null,8,wt),e.unref(t).style.layout.plots.selectors.labels.showName?(e.openBlock(),e.createElementBlock("text",{key:0,x:e.unref(c).x,y:e.unref(c).y+(e.unref(c).y<e.unref(y).y?-e.unref(t).style.layout.plots.selectors.labels.fontSize/2:e.unref(t).style.layout.plots.selectors.labels.fontSize),"font-size":e.unref(t).style.layout.plots.selectors.labels.fontSize,fill:e.unref(t).style.layout.plots.selectors.labels.color,"font-weight":e.unref(t).style.layout.plots.selectors.labels.bold?"bold":"normal","text-anchor":e.unref(c).x<e.unref(u).left+100?"start":e.unref(c).x>e.unref(u).right-100?"end":e.unref(c).x>e.unref(y).x?"start":"end"},e.toDisplayString(e.unref(c).v.name),9,Bt)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.unref(t).style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",_t,[e.createElementVNode("text",{x:e.unref(u).left-5,y:e.unref(y).y+e.unref(t).style.layout.dataLabels.xAxis.fontSize/3,"text-anchor":"end","font-size":e.unref(t).style.layout.dataLabels.xAxis.fontSize,fill:e.unref(t).style.layout.dataLabels.xAxis.color},e.toDisplayString(e.unref(n.applyDataLabel)(e.unref(t).style.layout.plots.selectors.labels.x.formatter,e.unref(n.checkNaN)(e.unref(f).xMin),e.unref(n.dataLabel)({p:e.unref(t).style.layout.plots.selectors.labels.prefix,v:e.unref(n.checkNaN)(e.unref(f).xMin),s:e.unref(t).style.layout.plots.selectors.labels.suffix,r:e.unref(t).style.layout.dataLabels.xAxis.rounding}))),9,Ct),e.createElementVNode("text",{x:e.unref(u).right+3,y:e.unref(y).y+e.unref(t).style.layout.dataLabels.xAxis.fontSize/3,"text-anchor":"start","font-size":e.unref(t).style.layout.dataLabels.xAxis.fontSize,fill:e.unref(t).style.layout.dataLabels.xAxis.color},e.toDisplayString(e.unref(n.applyDataLabel)(e.unref(t).style.layout.plots.selectors.labels.x.formatter,e.unref(n.checkNaN)(e.unref(f).xMax),e.unref(n.dataLabel)({p:e.unref(t).style.layout.plots.selectors.labels.prefix,v:e.unref(n.checkNaN)(e.unref(f).xMax),s:e.unref(t).style.layout.plots.selectors.labels.suffix,r:e.unref(t).style.layout.dataLabels.xAxis.rounding}))),9,Nt),e.createElementVNode("text",{id:`vue-ui-scatter-xAxis-label-${e.unref(v)}`,transform:`translate(${e.unref(t).style.layout.dataLabels.xAxis.fontSize*2}, ${e.unref(u).top+e.unref(u).height/2}), rotate(-90)`,"text-anchor":"middle","font-size":e.unref(t).style.layout.dataLabels.xAxis.fontSize,"font-weight":e.unref(t).style.layout.dataLabels.xAxis.bold?"bold":"normal",fill:e.unref(t).style.layout.dataLabels.xAxis.color},e.toDisplayString(e.unref(t).style.layout.dataLabels.xAxis.name),9,St)])):e.createCommentVNode("",!0),e.unref(t).style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",Mt,[e.createElementVNode("text",{x:e.unref(y).x,y:e.unref(u).bottom+e.unref(t).style.layout.dataLabels.yAxis.fontSize+3,"text-anchor":"middle","font-size":e.unref(t).style.layout.dataLabels.yAxis.fontSize,fill:e.unref(t).style.layout.dataLabels.yAxis.color},e.toDisplayString(e.unref(n.applyDataLabel)(e.unref(t).style.layout.plots.selectors.labels.y.formatter,e.unref(n.checkNaN)(e.unref(f).yMin),e.unref(n.dataLabel)({p:e.unref(t).style.layout.plots.selectors.labels.prefix,v:e.unref(n.checkNaN)(e.unref(f).yMin),s:e.unref(t).style.layout.plots.selectors.labels.suffix,r:e.unref(t).style.layout.dataLabels.yAxis.rounding}))),9,$t),e.createElementVNode("text",{x:e.unref(y).x,y:e.unref(u).top-e.unref(t).style.layout.dataLabels.yAxis.fontSize/2,"text-anchor":"middle","font-size":e.unref(t).style.layout.dataLabels.yAxis.fontSize,fill:e.unref(t).style.layout.dataLabels.yAxis.color},e.toDisplayString(e.unref(n.applyDataLabel)(e.unref(t).style.layout.plots.selectors.labels.y.formatter,e.unref(n.checkNaN)(e.unref(f).yMax),e.unref(n.dataLabel)({p:e.unref(t).style.layout.plots.selectors.labels.prefix,v:e.unref(n.checkNaN)(e.unref(f).yMax),s:e.unref(t).style.layout.plots.selectors.labels.suffix,r:e.unref(t).style.layout.dataLabels.yAxis.rounding}))),9,Et),e.createElementVNode("text",{"text-anchor":"middle","font-size":e.unref(t).style.layout.dataLabels.yAxis.fontSize,"font-weight":e.unref(t).style.layout.dataLabels.yAxis.bold?"bold":"normal",fill:e.unref(t).style.layout.dataLabels.yAxis.color,x:e.unref(u).left+e.unref(u).width/2,y:e.unref(u).bottom+8+e.unref(t).style.layout.dataLabels.yAxis.fontSize*2},e.toDisplayString(e.unref(t).style.layout.dataLabels.yAxis.name),9,Lt)])):e.createCommentVNode("",!0),e.createElementVNode("clipPath",{id:`clip_path_${e.unref(v)}`},[e.createElementVNode("rect",{x:e.unref(u).left,y:e.unref(u).top,width:e.unref(u).width<=0?1e-4:e.unref(u).width,height:e.unref(u).height<=0?1e-4:e.unref(u).height},null,8,Vt)],8,zt),e.unref(t).style.layout.correlation.show?(e.openBlock(),e.createElementBlock("g",At,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(x),(l,a)=>(e.openBlock(),e.createElementBlock("line",{x1:l.correlation.x1,x2:l.correlation.x2,y1:l.correlation.y1,y2:l.correlation.y2,"stroke-dasharray":e.unref(t).style.layout.correlation.strokeDasharray,stroke:l.color,"stroke-width":e.unref(t).style.layout.correlation.strokeWidth,"clip-path":`url(#clip_path_${e.unref(v)})`},null,8,Tt))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(x),(l,a)=>(e.openBlock(),e.createElementBlock("g",null,[e.unref(t).style.layout.correlation.label.show?(e.openBlock(),e.createElementBlock("text",{key:0,x:l.label.x,y:l.label.y,fill:e.unref(t).style.layout.correlation.label.useSerieColor?l.color:e.unref(t).style.layout.correlation.label.color,"font-size":e.unref(t).style.layout.correlation.label.fontSize,"font-weight":e.unref(t).style.layout.correlation.label.bold?"bold":"normal"},e.toDisplayString(e.unref(n.dataLabel)({v:e.unref(n.checkNaN)(l.correlation.coefficient),r:e.unref(t).style.layout.correlation.label.roundingValue})),9,Pt)):e.createCommentVNode("",!0)]))),256))])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"svg",{svg:e.unref(h)},void 0,!0)],14,Re)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Dt,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(ie)||e.unref(ce)})),void 0,!0)])):e.createCommentVNode("",!0),e.unref(P)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Fe.default,{key:6,config:{type:"quadrant",style:{backgroundColor:e.unref(t).style.backgroundColor,quadrant:{grid:{color:e.unref(t).style.layout.axis.stroke},plots:{color:e.unref(t).style.layout.axis.stroke,radius:1}}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:Z},[e.unref(t).style.legend.show?(e.openBlock(),e.createBlock(De.Legend,{key:`legend_${e.unref(re)}`,legendSet:e.unref($),config:e.unref(Le),onClickMarker:s[0]||(s[0]=({legend:l})=>ke(l.id))},{item:e.withCtx(({legend:l})=>[e.createElementVNode("div",{onClick:a=>l.segregate(),style:e.normalizeStyle(`opacity:${e.unref(p).includes(l.id)?.5:1}`)},e.toDisplayString(l.name),13,Ot)]),_:1},8,["legendSet","config"])):e.renderSlot(o.$slots,"legend",{key:1,legend:e.unref($)},void 0,!0)],512),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:ee,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(Pe._sfc_main,{show:e.unref(S).showTooltip&&e.unref(I),backgroundColor:e.unref(t).style.tooltip.backgroundColor,color:e.unref(t).style.tooltip.color,borderRadius:e.unref(t).style.tooltip.borderRadius,borderColor:e.unref(t).style.tooltip.borderColor,borderWidth:e.unref(t).style.tooltip.borderWidth,fontSize:e.unref(t).style.tooltip.fontSize,backgroundOpacity:e.unref(t).style.tooltip.backgroundOpacity,position:e.unref(t).style.tooltip.position,offsetY:e.unref(t).style.tooltip.offsetY,parent:e.unref(V),content:e.unref(X),isFullscreen:e.unref(A),isCustom:e.unref(t).style.tooltip.customFormat&&typeof e.unref(t).style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...e.unref(R)})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...e.unref(R)})),void 0,!0)]),default:e.withCtx(()=>[e.unref(t).style.tooltip.showShape?(e.openBlock(),e.createElementBlock("div",Ft,[(e.openBlock(),e.createElementBlock("svg",Wt,[e.createVNode(_e._sfc_main,{shape:e.unref(c).shape,color:e.unref(c).color,plot:{x:10,y:10},radius:7},null,8,["shape","color"])]))])):e.createCommentVNode("",!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),e.unref(P)?(e.openBlock(),e.createBlock(We.default,{key:8,hideDetails:"",config:{open:e.unref(S).showTable,maxHeight:1e4,body:{backgroundColor:e.unref(t).style.backgroundColor,color:e.unref(t).style.color},head:{backgroundColor:e.unref(t).style.backgroundColor,color:e.unref(t).style.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Oe.DataTable,{key:`table_${e.unref(le)}`,colNames:e.unref(F).colNames,head:e.unref(F).head,body:e.unref(F).body,config:e.unref(F).config,title:`${e.unref(t).style.title.text}${e.unref(t).style.title.subtitle.text?` : ${e.unref(t).style.title.subtitle.text}`:""}`,onClose:s[1]||(s[1]=l=>e.unref(S).showTable=!1)},{th:e.withCtx(({th:l})=>[e.createTextVNode(e.toDisplayString(l),1)]),td:e.withCtx(({td:l})=>[l.shape?(e.openBlock(),e.createElementBlock("div",qt,[e.createElementVNode("span",null,e.toDisplayString(l.content),1)])):(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:l},null,8,It))]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,je))}},Yt=Ye._export_sfc(Xt,[["__scopeId","data-v-b497363e"]]);exports.default=Yt;