vue-data-ui 2.11.2 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-OttzfahM.js → Arrow-DDRsdhZn.js} +1 -1
- package/dist/{BaseIcon-CpIcYACc.js → BaseIcon-CPSasvwJ.js} +1 -1
- package/dist/{ColorPicker-BnsG9Qeu.js → ColorPicker-Bu3ocoLc.js} +3 -3
- package/dist/{DataTable-CJOtzfgn.js → DataTable-64MQdfSC.js} +2 -2
- package/dist/{Legend-DKQ4psNY.js → Legend-DQGaC-7K.js} +2 -2
- package/dist/{PackageVersion-D-aPPO0L.js → PackageVersion-BZmn5l24.js} +1 -1
- package/dist/{PenAndPaper-D9g_r8-6.js → PenAndPaper-BGTby4ih.js} +3 -3
- package/dist/{Shape-DLjaeo5U.js → Shape-CrvsxzqI.js} +1 -1
- package/dist/{Slicer-DuqI_UVS.js → Slicer-Jxw9aXXo.js} +2 -2
- package/dist/{Title-DIYoufYR.js → Title-CbtqUCDq.js} +1 -1
- package/dist/{Tooltip-BFz2yelJ.js → Tooltip-BW22mERF.js} +1 -1
- package/dist/{dom-to-png-BB-m1MuD.js → dom-to-png-mqrqFtQK.js} +1 -1
- package/dist/{img-Cyr1eIO7.js → img-Y8EW2l65.js} +1 -1
- package/dist/{index-d3erwTWB.js → index-k-TENgkl.js} +1 -1
- package/dist/{pdf-BQRTRQlZ.js → pdf-z0T-YjDO.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BqKuhIvF.js → useNestedProp-BQzXvt0H.js} +1 -1
- package/dist/{usePrinter-CHrKIDM7.js → usePrinter-B3U6P71r.js} +3 -3
- package/dist/{vue-data-ui-BRKcN5_z.js → vue-data-ui-BwwD2u_u.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BIw7nTYA.js → vue-ui-3d-bar-Bx_MIxW7.js} +9 -9
- package/dist/{vue-ui-accordion-BJyaBDyF.js → vue-ui-accordion-BvG2cZf1.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Dn_061NF.js → vue-ui-age-pyramid-CDKy2P9O.js} +10 -10
- package/dist/{vue-ui-annotator-Y65oZVga.js → vue-ui-annotator-BAJTr6FD.js} +2 -2
- package/dist/{vue-ui-bullet-B5mjXy0q.js → vue-ui-bullet-Dje2wg8I.js} +8 -8
- package/dist/{vue-ui-candlestick-BIC2-GAV.js → vue-ui-candlestick-fX576D5A.js} +11 -11
- package/dist/{vue-ui-carousel-table-CnvQ0CeQ.js → vue-ui-carousel-table-CmObt9aO.js} +4 -4
- package/dist/{vue-ui-chestnut-IsRTDol2.js → vue-ui-chestnut-PBM9zTQ-.js} +8 -8
- package/dist/{vue-ui-chord-iSsr3a59.js → vue-ui-chord-B-0byToI.js} +14 -14
- package/dist/{vue-ui-circle-pack-CS2l9IXg.js → vue-ui-circle-pack-rbvrpRAc.js} +9 -9
- package/dist/{vue-ui-cursor-Cq9lPDB7.js → vue-ui-cursor-TKh5iDDp.js} +2 -2
- package/dist/{vue-ui-dashboard-7Cm-15oc.js → vue-ui-dashboard-C82YUwLA.js} +62 -62
- package/dist/{vue-ui-digits-BecNI-j7.js → vue-ui-digits-CvBJi0Tq.js} +2 -2
- package/dist/{vue-ui-donut-D_bFxovZ.js → vue-ui-donut-C4j70CI7.js} +12 -12
- package/dist/{vue-ui-donut-evolution-C8dlmVur.js → vue-ui-donut-evolution-DMqXUt12.js} +11 -11
- package/dist/{vue-ui-dumbbell-Ds41wAQh.js → vue-ui-dumbbell-DpO9YGBE.js} +10 -10
- package/dist/{vue-ui-flow-CqdSvk4_.js → vue-ui-flow-CUfqW31t.js} +11 -11
- package/dist/{vue-ui-funnel-CNDgAWjp.js → vue-ui-funnel-BfduqCYK.js} +9 -9
- package/dist/{vue-ui-galaxy-DzUAHZ4G.js → vue-ui-galaxy-DPar-E51.js} +11 -11
- package/dist/{vue-ui-gauge-Cj-4ZhyL.js → vue-ui-gauge-CcjDaq63.js} +7 -7
- package/dist/{vue-ui-gizmo-CCS3u0qr.js → vue-ui-gizmo-B_ym3int.js} +3 -3
- package/dist/{vue-ui-heatmap-CBRd8kvj.js → vue-ui-heatmap-DI-_vOk9.js} +10 -10
- package/dist/{vue-ui-history-plot-4XT22zB_.js → vue-ui-history-plot-BsArezyK.js} +11 -11
- package/dist/{vue-ui-kpi-B-lBgRvZ.js → vue-ui-kpi-BpWcYF6b.js} +3 -3
- package/dist/{vue-ui-mini-loader-_ksyazrb.js → vue-ui-mini-loader-BGa_4ML-.js} +2 -2
- package/dist/{vue-ui-molecule-Db_QmLY6.js → vue-ui-molecule-DX2iIPZk.js} +11 -11
- package/dist/{vue-ui-mood-radar-Y_CGEC1L.js → vue-ui-mood-radar-Cg5i5Gja.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DosW9Sfg.js → vue-ui-nested-donuts-DYU9w0VR.js} +11 -11
- package/dist/{vue-ui-onion-CQwIVcfN.js → vue-ui-onion-MVnP5IPP.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-Cdu0SvMZ.js → vue-ui-parallel-coordinate-plot-BUO5USbO.js} +12 -12
- package/dist/{vue-ui-quadrant-B8H5sBMi.js → vue-ui-quadrant-DvCdsNT3.js} +12 -12
- package/dist/{vue-ui-quick-chart-ClB6jwSV.js → vue-ui-quick-chart-Coq_TT4K.js} +9 -9
- package/dist/{vue-ui-radar-BTluZs04.js → vue-ui-radar-ksmA1eNa.js} +12 -12
- package/dist/{vue-ui-rating-CTNYeoXO.js → vue-ui-rating-BjNei1jK.js} +2 -2
- package/dist/{vue-ui-relation-circle-CdHhoGcO.js → vue-ui-relation-circle-Dz27DBjO.js} +7 -7
- package/dist/{vue-ui-ridgeline-Dr6UOfwb.js → vue-ui-ridgeline-DvACw7ca.js} +12 -12
- package/dist/{vue-ui-rings-N2mHKtLh.js → vue-ui-rings-3U2BWSD-.js} +12 -12
- package/dist/{vue-ui-scatter-BcJRyqbE.js → vue-ui-scatter-CzCxAM-H.js} +12 -12
- package/dist/{vue-ui-skeleton-BOtCpAcY.js → vue-ui-skeleton-LOBxYAj5.js} +3 -3
- package/dist/{vue-ui-smiley-BPqpTUTh.js → vue-ui-smiley-B5x0f6IE.js} +2 -2
- package/dist/{vue-ui-spark-trend-BXo8mbxJ.js → vue-ui-spark-trend-BJL392y-.js} +5 -5
- package/dist/{vue-ui-sparkbar-DEsL52nJ.js → vue-ui-sparkbar-CYTCFFZ4.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DkawMq8d.js → vue-ui-sparkgauge-CtgQ7eqo.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-D8ZCXl7m.js → vue-ui-sparkhistogram-Drd-nNZL.js} +5 -5
- package/dist/{vue-ui-sparkline-D8LYPXpr.js → vue-ui-sparkline-RMyEJzSC.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DzeVCG0H.js → vue-ui-sparkstackbar-xwahpmeL.js} +5 -5
- package/dist/{vue-ui-stackbar-DQ9CcKUd.js → vue-ui-stackbar-BOhzD5_W.js} +13 -13
- package/dist/{vue-ui-strip-plot-C6gcQLMI.js → vue-ui-strip-plot-jus4xcWs.js} +11 -11
- package/dist/{vue-ui-table-D7azsjo3.js → vue-ui-table-BCArkzoU.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DINNMAyX.js → vue-ui-table-heatmap-sT80xAnB.js} +4 -4
- package/dist/{vue-ui-table-sparkline-BrYh6fVq.js → vue-ui-table-sparkline-B9G42V97.js} +5 -5
- package/dist/{vue-ui-thermometer-J0A6MZy_.js → vue-ui-thermometer-CMqRiRxw.js} +7 -7
- package/dist/{vue-ui-timer-CI8zPXh3.js → vue-ui-timer-DLXveBI_.js} +5 -5
- package/dist/{vue-ui-tiremarks-BuNik_Pf.js → vue-ui-tiremarks-BP2_KcUJ.js} +7 -7
- package/dist/{vue-ui-treemap-oUtdOGWu.js → vue-ui-treemap-CNHi1E6G.js} +12 -12
- package/dist/{vue-ui-vertical-bar-2bHPN2lr.js → vue-ui-vertical-bar-kpSssDOU.js} +12 -12
- package/dist/{vue-ui-waffle-BuISvHw-.js → vue-ui-waffle-Br8t4XKd.js} +12 -12
- package/dist/{vue-ui-wheel-CSy7_x22.js → vue-ui-wheel-D80M81Bf.js} +7 -7
- package/dist/{vue-ui-word-cloud-DEpoSRMP.js → vue-ui-word-cloud-w4Qq_dqB.js} +10 -10
- package/dist/{vue-ui-world-Cy1VBlK3.js → vue-ui-world-CDSH4faH.js} +11 -11
- package/dist/{vue-ui-xy-PaM6vcjk.js → vue-ui-xy-CCHnnV7y.js} +16 -16
- package/dist/{vue-ui-xy-canvas-CSyX_xLO.js → vue-ui-xy-canvas-TJ6MbOBd.js} +12 -12
- package/package.json +1 -2
- package/dist/Arrow-CogAJvGp.cjs +0 -1
- package/dist/BaseIcon-DY-33nfj.cjs +0 -1
- package/dist/ColorPicker-CrMLe8x_.cjs +0 -1
- package/dist/DataTable-CNCnRrD-.cjs +0 -1
- package/dist/Legend-ieOu_fKK.cjs +0 -1
- package/dist/PackageVersion-BxSGdh6L.cjs +0 -1
- package/dist/PenAndPaper-ByAFuR-l.cjs +0 -1
- package/dist/Shape-BQIcurpe.cjs +0 -1
- package/dist/Slicer-FXxFjXOP.cjs +0 -1
- package/dist/Title-D62pPwLz.cjs +0 -1
- package/dist/Tooltip-C_H6-uAa.cjs +0 -9
- package/dist/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
- package/dist/dom-to-png-B3SeX1JP.cjs +0 -3
- package/dist/img-Bl4Pt1QH.cjs +0 -1
- package/dist/index-Cn2tUOoX.cjs +0 -9
- package/dist/pdf-BQABl7QG.cjs +0 -1
- package/dist/useChartAccessibility-Cm7nkzTG.cjs +0 -1
- package/dist/useNestedProp-C8955nsn.cjs +0 -1
- package/dist/usePanZoom-PXRi2Rwx.cjs +0 -1
- package/dist/usePrinter-BrH80VBz.cjs +0 -1
- package/dist/useResponsive-BBkmXXaa.cjs +0 -1
- package/dist/useUserOptionState-BgepsfED.cjs +0 -1
- package/dist/vue-data-ui-BbzW2_-6.cjs +0 -9
- package/dist/vue-data-ui.cjs +0 -1
- package/dist/vue-ui-3d-bar-WFymJ4EL.cjs +0 -19
- package/dist/vue-ui-accordion-7GoAZx3k.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DGpLdvsL.cjs +0 -1
- package/dist/vue-ui-annotator-ypStRKCB.cjs +0 -371
- package/dist/vue-ui-bullet-C_Ppz5nn.cjs +0 -34
- package/dist/vue-ui-candlestick-BrDk_pc_.cjs +0 -2
- package/dist/vue-ui-carousel-table-BTxtBHvb.cjs +0 -1
- package/dist/vue-ui-chestnut-D_NZDyDN.cjs +0 -6
- package/dist/vue-ui-chord-CZ66gJ7w.cjs +0 -16
- package/dist/vue-ui-circle-pack-lGkj98rL.cjs +0 -1
- package/dist/vue-ui-cursor-YZyc0ARl.cjs +0 -1
- package/dist/vue-ui-dashboard-jP2U4qtK.cjs +0 -1
- package/dist/vue-ui-digits-C5PfeED6.cjs +0 -1
- package/dist/vue-ui-donut-BM9i2XHJ.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Oga32kTV.cjs +0 -1
- package/dist/vue-ui-dumbbell-ClzXgan7.cjs +0 -9
- package/dist/vue-ui-flow-Bp1oqzTj.cjs +0 -3
- package/dist/vue-ui-funnel-y3hN7BGU.cjs +0 -1
- package/dist/vue-ui-galaxy-D5vKPiFH.cjs +0 -1
- package/dist/vue-ui-gauge-57ahTSbZ.cjs +0 -1
- package/dist/vue-ui-gizmo-D5_kCO9e.cjs +0 -1
- package/dist/vue-ui-heatmap-B8sfOhVF.cjs +0 -1
- package/dist/vue-ui-history-plot-DQVpKlp1.cjs +0 -1
- package/dist/vue-ui-kpi-DjI1yXtc.cjs +0 -1
- package/dist/vue-ui-mini-loader-BpAnNEHG.cjs +0 -1
- package/dist/vue-ui-molecule-BqpYPmrd.cjs +0 -1
- package/dist/vue-ui-mood-radar-DI_FioVr.cjs +0 -1
- package/dist/vue-ui-nested-donuts-B0rJlEH0.cjs +0 -17
- package/dist/vue-ui-onion-CEHc9oKt.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-C1sxm3Nr.cjs +0 -8
- package/dist/vue-ui-pattern-CT3p_iOg.cjs +0 -1
- package/dist/vue-ui-quadrant-DM3Afg_i.cjs +0 -1
- package/dist/vue-ui-quick-chart-ClJi48bc.cjs +0 -15
- package/dist/vue-ui-radar-f0QY_Mal.cjs +0 -1
- package/dist/vue-ui-rating-B71_TxmN.cjs +0 -1
- package/dist/vue-ui-relation-circle-DHOG2jKh.cjs +0 -1
- package/dist/vue-ui-ridgeline-CxhklaLX.cjs +0 -1
- package/dist/vue-ui-rings-DoGxh2qe.cjs +0 -2
- package/dist/vue-ui-scatter-BnRkkP5Z.cjs +0 -1
- package/dist/vue-ui-skeleton-Mcoev-5q.cjs +0 -41
- package/dist/vue-ui-smiley-Ch9trBZA.cjs +0 -2
- package/dist/vue-ui-spark-trend-PqEN-rL8.cjs +0 -1
- package/dist/vue-ui-sparkbar-DnRQFo63.cjs +0 -1
- package/dist/vue-ui-sparkgauge-C0E5Sojk.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-Bqtsbb3w.cjs +0 -1
- package/dist/vue-ui-sparkline-BTruGe7A.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-DeXUgBIH.cjs +0 -1
- package/dist/vue-ui-stackbar-CaFp42Tn.cjs +0 -6
- package/dist/vue-ui-strip-plot-DzNU6VRW.cjs +0 -1
- package/dist/vue-ui-table-DP2ZaGWa.cjs +0 -14
- package/dist/vue-ui-table-heatmap-B2gZkAqm.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CgN2nMYT.cjs +0 -1
- package/dist/vue-ui-thermometer-DgZfQbR2.cjs +0 -1
- package/dist/vue-ui-timer-ClM5FpoU.cjs +0 -64
- package/dist/vue-ui-tiremarks-19Krsd1f.cjs +0 -1
- package/dist/vue-ui-treemap-DvmJ1MOU.cjs +0 -1
- package/dist/vue-ui-vertical-bar-RT-SM-us.cjs +0 -4
- package/dist/vue-ui-waffle-BSKRUJbJ.cjs +0 -1
- package/dist/vue-ui-wheel-DfBVkT9x.cjs +0 -1
- package/dist/vue-ui-word-cloud-BlfCmzD-.cjs +0 -1
- package/dist/vue-ui-world-EgFhVXSY.cjs +0 -19
- package/dist/vue-ui-xy-aQEDcKbT.cjs +0 -3
- package/dist/vue-ui-xy-canvas-C6-sYgU_.cjs +0 -9
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-Cn2tUOoX.cjs"),oe=require("./useResponsive-BBkmXXaa.cjs"),Ce=require("./Title-D62pPwLz.cjs"),ae=require("./usePrinter-BrH80VBz.cjs"),we=require("./Tooltip-C_H6-uAa.cjs"),$e=require("./DataTable-CNCnRrD-.cjs"),Ne=require("./Legend-ieOu_fKK.cjs"),Te=require("./vue-ui-skeleton-Mcoev-5q.cjs"),xe=require("./vue-ui-accordion-7GoAZx3k.cjs"),re=require("./useNestedProp-C8955nsn.cjs"),Se=require("./PackageVersion-BxSGdh6L.cjs"),Be=require("./PenAndPaper-ByAFuR-l.cjs"),_e=require("./useUserOptionState-BgepsfED.cjs"),Pe=require("./Shape-BQIcurpe.cjs"),Ve=require("./useChartAccessibility-Cm7nkzTG.cjs"),Le=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Oe=["id"],Ee=["xmlns","viewBox"],Ie=["width","height"],Ae=["id"],ze=["stop-color"],Fe=["stop-color"],Re={key:1},qe=["stroke","cx","cy","r","fill"],Me=["stroke","stroke-width","cx","cy","r","fill"],Ue=["stroke","stroke-width","cx","cy","r","fill"],De=["cx","cy","r","onMouseenter"],We={key:5,class:"vue-data-ui-watermark"},He=["onClick"],Ge={key:0},je={key:1},Xe=["innerHTML"],Ye={__name:"vue-ui-rings",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(ne,{expose:se,emit:ue}){const{vue_ui_rings:ie}=n.useConfig(),ce=e.useSlots(),p=ne,b=e.ref(!1),$=e.computed(()=>!!p.dataset&&p.dataset.length),g=e.ref(n.createUid()),de=e.ref(null),N=e.ref(!1),_=e.ref(""),m=e.ref(null),E=e.ref(0),C=e.ref(null),I=e.ref(null),A=e.ref(null),z=e.ref(null),F=e.ref(null),R=e.ref(0),q=e.ref(0),M=e.ref(0),t=e.computed({get:()=>H(),set:l=>l}),{userOptionsVisible:P,setUserOptionsVisibility:U,keepUserOptionState:D}=_e.useUserOptionState({config:t.value}),{svgRef:W}=Ve.useChartAccessibility({config:t.value.style.chart.title});function H(){const l=re.useNestedProp({userConfig:p.config,defaultConfig:ie});return l.theme?{...re.useNestedProp({userConfig:n.themes.vue_ui_rings[l.theme]||p.config,defaultConfig:l}),customPalette:n.themePalettes[l.theme]||n.palette}:l}e.watch(()=>p.config,l=>{t.value=H(),P.value=!t.value.userOptions.showOnChartHover,G(),R.value+=1,q.value+=1,M.value+=1,h.value.showTable=t.value.table.show,h.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const T=e.ref(null);e.onMounted(()=>{G()});function G(){if(n.objectIsEmpty(p.dataset)?n.error({componentName:"VueUiRings",type:"dataset"}):p.dataset.forEach((l,a)=>{l.values.length||n.error({componentName:"VueUiRings",type:"dataset"}),n.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(o=>{n.error({componentName:"VueUiRings",type:"datasetSerieAttribute",property:o,index:a})})}),t.value.responsive){const l=oe.throttle(()=>{const{width:a,height:o}=oe.useResponsive({chart:C.value,title:t.value.style.chart.title.text?I.value:null,legend:t.value.style.chart.legend.show?A.value:null,source:z.value,noTitle:F.value});requestAnimationFrame(()=>{s.value.width=a,s.value.height=o})});T.value=new ResizeObserver(l),T.value.observe(C.value.parentNode)}setTimeout(()=>{b.value=!0},600)}e.onBeforeUnmount(()=>{T.value&&T.value.disconnect()});const{isPrinting:j,isImaging:X,generatePdf:Y,generateImage:J}=ae.usePrinter({elementId:`rings_${g.value}`,fileName:t.value.style.chart.title.text||"vue-ui-rings",options:t.value.userOptions.print}),ve=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),K=e.computed(()=>n.convertCustomPalette(t.value.customPalette)),h=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),s=e.ref({height:360,width:360}),pe=e.computed(()=>Math.min(s.value.height,s.value.width)),he=ue,d=e.ref([]);function V(l){d.value.includes(l)?d.value=d.value.filter(a=>a!==l):d.value.push(l),he("selectLegend",c.value.map(a=>({name:a.name,color:a.color,value:a.value})))}const fe=e.computed(()=>Math.max(...x.value.filter(l=>!d.value.includes(l.uid)).map(({value:l})=>l)));function Q(l){return l/fe.value}const x=e.computed(()=>p.dataset.map(({values:l,name:a,color:o=null},r)=>{const u=n.sanitizeArray(l).reduce((v,w)=>v+w,0);return{name:a,color:o||n.convertColorToHex(o)||K.value[r]||n.palette[r]||n.palette[r%n.palette.length],value:u,proportion:u/p.dataset.map(v=>(v.values||[]).reduce((w,ke)=>w+ke,0)).reduce((v,w)=>v+w,0),uid:n.createUid(),absoluteIndex:r}})),Z=e.computed(()=>x.value.map(l=>({...l,shape:"circle",opacity:d.value.includes(l.uid)?.5:1,segregate:()=>V(l.uid),isSegregated:d.value.includes(l.uid)})).toSorted((l,a)=>a.value-l.value)),ge=e.computed(()=>({cy:"rings-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),f=e.computed(()=>x.value.filter(l=>!d.value.includes(l.uid)).map(({value:l})=>l).reduce((l,a)=>l+a,0)),c=e.computed(()=>x.value.filter(l=>!d.value.includes(l.uid)).map(({name:l,value:a,color:o=null,uid:r,absoluteIndex:u},v)=>({absoluteIndex:u,uid:r,name:l,color:o||n.convertColorToHex(o)||K.value[v]||n.palette[v]||n.palette[v%n.palette.length],value:a,proportion:Q(a),percentage:a/f.value*100,strokeWidth:t.value.style.chart.layout.rings.strokeWidth*Q(a)})).toSorted((l,a)=>a.value-l.value));function me(){return c.value.map(({name:l,color:a,value:o,absoluteValues:r,percentage:u})=>({name:l,color:a,value:o,absoluteValues:r,percentage:u}))}const i=e.computed(()=>pe.value-t.value.style.chart.layout.rings.strokeWidth*2),L=e.ref(null);function ye(l,a){if(d.value.length===p.dataset.length)return;L.value={datapoint:a,seriesIndex:l,series:c.value,config:t.value},m.value=l;const o=c.value[l],r=t.value.style.chart.tooltip.customFormat;if(n.isFunction(r)&&n.functionReturnsString(()=>r({seriesIndex:l,datapoint:a,series:c.value,config:t.value})))_.value=r({seriesIndex:l,datapoint:a,series:c.value,config:t.value});else{let u="";u+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`,u+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${o.color}" />${ce.pattern?`<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${g.value}_${a.absoluteIndex})" />`:""}</svg>`,t.value.style.chart.tooltip.showValue&&(u+=`<b>${n.applyDataLabel(t.value.style.chart.layout.labels.dataLabels.formatter,o.value,n.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:o.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.tooltip.roundingValue}),{datapoint:a,seriesIndex:l})}
|
|
2
|
-
</b>`),t.value.style.chart.tooltip.showPercentage&&(t.value.style.chart.tooltip.showValue?u+=`<span>(${n.dataLabel({v:o.value/f.value*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})})</span></div>`:u+=`<b>${n.dataLabel({v:o.value/f.value*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})}</b></div>`),_.value=u}N.value=!0}const y=e.computed(()=>{const l=c.value.map(o=>({name:o.name,color:o.color})),a=c.value.map(o=>o.value);return{head:l,body:a}}),S=e.computed(()=>{const l=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',n.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:f.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],a=y.value.head.map((u,v)=>[{color:u.color,name:u.name},n.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:y.value.body[v],s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),isNaN(y.value.body[v]/f.value)?"-":(y.value.body[v]/f.value*100).toFixed(t.value.table.td.roundingPercentage)+"%"]),o={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},r=[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage];return{head:l,body:a,config:o,colNames:r}});function ee(){e.nextTick(()=>{const l=y.value.head.map((r,u)=>[[r.name],[y.value.body[u]],[isNaN(y.value.body[u]/f.value)?"-":y.value.body[u]/f.value*100]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(l),o=n.createCsvContent(a);n.downloadCsv({csvContent:o,title:t.value.style.chart.title.text||"vue-ui-rings"})})}const k=e.ref(!1);function be(l){k.value=l,E.value+=1}function te(){h.value.showTable=!h.value.showTable}function le(){h.value.showTooltip=!h.value.showTooltip}const B=e.ref(!1);function O(){B.value=!B.value}return se({getData:me,generatePdf:Y,generateCsv:ee,generateImage:J,toggleTable:te,toggleTooltip:le,toggleAnnotator:O}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ringsChart",ref:C,class:e.normalizeClass(`vue-ui-rings ${k.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};text-align:center;width:100%;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height: 100%":""}`),id:`rings_${g.value}`,onMouseleave:a[3]||(a[3]=o=>{m.value=null,N.value=!1,e.unref(U)(!1)}),onMouseenter:a[4]||(a[4]=()=>e.unref(U)(!0))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Be._sfc_main,{key:0,svgRef:e.unref(W),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:B.value,onClose:O},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),ve.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:F,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:I,style:"width:100%;background:transparent"},[(e.openBlock(),e.createBlock(Ce._sfc_main,{key:`title_${R.value}`,config:{title:{cy:"rings-div-title",...t.value.style.chart.title},subtitle:{cy:"rings-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&$.value&&(e.unref(D)||e.unref(P))?(e.openBlock(),e.createBlock(ae.UserOptions,{ref_key:"details",ref:de,key:`user_options_${E.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(j),isImaging:e.unref(X),uid:g.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isTooltip:h.value.showTooltip,isFullscreen:k.value,titles:{...t.value.userOptions.buttonTitles},chartElement:C.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:B.value,onToggleFullscreen:be,onGeneratePdf:e.unref(Y),onGenerateCsv:ee,onGenerateImage:e.unref(J),onToggleTable:te,onToggleTooltip:le,onToggleAnnotator:O,style:e.normalizeStyle({visibility:e.unref(D)?e.unref(P)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:o,color:r})=>[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:o,color:r})),void 0,!0)]),key:"0"}:void 0,l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:r})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:r})),void 0,!0)]),key:"6"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:r})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:r})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),$.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:W,xmlns:e.unref(n.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":k.value,"vue-data-ui-fulscreen--off":!k.value}),viewBox:`0 0 ${s.value.width<=0?10:s.value.width} ${s.value.height<=0?10:s.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Se._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:s.value.width<=0?10:s.value.width,height:s.value.height<=0?10:s.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,Ie)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(o,r)=>(e.openBlock(),e.createElementBlock("radialGradient",{cx:"50%",cy:"30%",r:"50%",fx:"50%",fy:"50%",id:`gradient_${g.value}_${r}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(n.setOpacity)(e.unref(n.shiftHue)(o.color,.05),100-t.value.style.chart.layout.rings.gradient.intensity)},null,8,ze),e.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,Fe)],8,Ae))),256))]),l.$slots.pattern?(e.openBlock(),e.createElementBlock("g",Re,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,o=>(e.openBlock(),e.createElementBlock("defs",null,[e.renderSlot(l.$slots,"pattern",e.mergeProps({ref_for:!0},{seriesIndex:o.absoluteIndex,patternId:`pattern_${g.value}_${o.absoluteIndex}`}),void 0,!0)]))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(o,r)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":b.value&&t.value.useCssAnimation,"vue-rings-item-onload":!b.value&&t.value.useCssAnimation,"vue-ui-rings-opacity":m.value!==null&&m.value!==r}),style:e.normalizeStyle(`animation-delay:${r*100}ms`),stroke:t.value.style.chart.layout.rings.stroke,cx:s.value.width/2,cy:r===0?s.value.height/2:s.value.height/2+i.value*c.value[0].proportion/2-i.value*o.proportion/2-2*(r+1),r:e.unref(n.checkNaN)(i.value*o.proportion/2*.9<=0?1e-4:i.value*o.proportion/2*.9),fill:t.value.style.chart.layout.rings.gradient.underlayerColor},null,14,qe),e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":b.value&&t.value.useCssAnimation,"vue-rings-item-onload":!b.value&&t.value.useCssAnimation,"vue-ui-rings-shadow":t.value.style.chart.layout.rings.useShadow,"vue-ui-rings-blur":m.value!==null&&m.value!==r}),style:e.normalizeStyle(`animation-delay:${r*100}ms`),stroke:t.value.style.chart.layout.rings.stroke,"stroke-width":o.strokeWidth<.5?.5:o.strokeWidth,cx:s.value.width/2,cy:r===0?s.value.height/2:s.value.height/2+i.value*c.value[0].proportion/2-i.value*o.proportion/2-2*(r+1),r:e.unref(n.checkNaN)(i.value*o.proportion/2*.9<=0?1e-4:i.value*o.proportion/2*.9),fill:t.value.style.chart.layout.rings.gradient.show?`url(#gradient_${g.value}_${r})`:o.color},null,14,Me),l.$slots.pattern?(e.openBlock(),e.createElementBlock("circle",{key:0,class:e.normalizeClass({"vue-ui-rings-item":b.value&&t.value.useCssAnimation,"vue-rings-item-onload":!b.value&&t.value.useCssAnimation,"vue-ui-rings-shadow":t.value.style.chart.layout.rings.useShadow,"vue-ui-rings-blur":m.value!==null&&m.value!==r}),style:e.normalizeStyle(`animation-delay:${r*100}ms`),stroke:t.value.style.chart.layout.rings.stroke,"stroke-width":o.strokeWidth<.5?.5:o.strokeWidth,cx:s.value.width/2,cy:r===0?s.value.height/2:s.value.height/2+i.value*c.value[0].proportion/2-i.value*o.proportion/2-2*(r+1),r:e.unref(n.checkNaN)(i.value*o.proportion/2*.9<=0?1e-4:i.value*o.proportion/2*.9),fill:`url(#pattern_${g.value}_${o.absoluteIndex})`},null,14,Ue)):e.createCommentVNode("",!0),e.createElementVNode("circle",{stroke:"none",cx:s.value.width/2,cy:r===0?s.value.height/2:s.value.height/2+i.value*c.value[0].proportion/2-i.value*o.proportion/2-2*(r+1),r:e.unref(n.checkNaN)(i.value*o.proportion/2*.9<=0?1e-4:i.value*o.proportion/2*.9),fill:"transparent",onMouseenter:u=>ye(r,o),onMouseleave:a[0]||(a[0]=u=>{m.value=null,N.value=!1})},null,40,De)]))),256)),e.renderSlot(l.$slots,"svg",{svg:s.value},void 0,!0)],14,Ee)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",We,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(j)||e.unref(X)})),void 0,!0)])):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Te.default,{key:6,config:{type:"rings",style:{backgroundColor:t.value.style.chart.backgroundColor,rings:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:A},[t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Ne.Legend,{key:`legend_${M.value}`,legendSet:Z.value,config:ge.value,onClickMarker:a[1]||(a[1]=({legend:o})=>V(o.uid))},e.createSlots({item:e.withCtx(({legend:o,index:r})=>[e.createElementVNode("div",{onClick:u=>V(o.uid),style:e.normalizeStyle(`opacity:${d.value.includes(o.uid)?.5:1}`)},[e.createTextVNode(e.toDisplayString(o.name)+": "+e.toDisplayString(e.unref(n.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,o.value,e.unref(n.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:o.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:o,seriesIndex:r}))+" ",1),d.value.includes(o.uid)?(e.openBlock(),e.createElementBlock("span",je," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",Ge," ("+e.toDisplayString(isNaN(o.value/f.value)?"-":e.unref(n.dataLabel)({v:o.value/f.value*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1))],12,He)]),_:2},[l.$slots.pattern?{name:"legend-pattern",fn:e.withCtx(({legend:o,index:r})=>[e.createVNode(Pe._sfc_main,{shape:o.shape,radius:30,stroke:"none",plot:{x:30,y:30},fill:`url(#pattern_${g.value}_${r})`},null,8,["shape","fill"])]),key:"0"}:void 0]),1032,["legendSet","config"])):e.renderSlot(l.$slots,"legend",{key:1,legend:Z.value},void 0,!0)],512),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:z,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(we._sfc_main,{show:h.value.showTooltip&&N.value&&d.value.length<p.dataset.length,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,fontSize:t.value.style.chart.tooltip.fontSize,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:C.value,content:_.value,isFullscreen:k.value,isCustom:t.value.style.chart.tooltip.customFormat&&typeof t.value.style.chart.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...L.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...L.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),$.value?(e.openBlock(),e.createBlock(xe.default,{key:8,hideDetails:"",config:{open:h.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock($e.DataTable,{key:`table_${q.value}`,colNames:S.value.colNames,head:S.value.head,body:S.value.body,config:S.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[2]||(a[2]=o=>h.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createElementVNode("div",{innerHTML:o,style:{display:"flex","align-items":"center"}},null,8,Xe)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o.name||o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Oe))}},Je=Le._export_sfc(Ye,[["__scopeId","data-v-be9fc972"]]);exports.default=Je;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-Cn2tUOoX.cjs"),Be=require("./useResponsive-BBkmXXaa.cjs"),Pe=require("./Title-D62pPwLz.cjs"),_e=require("./usePrinter-BrH80VBz.cjs"),Oe=require("./Tooltip-C_H6-uAa.cjs"),De=require("./Legend-ieOu_fKK.cjs"),Ce=require("./Shape-BQIcurpe.cjs"),Fe=require("./DataTable-CNCnRrD-.cjs"),We=require("./vue-ui-skeleton-Mcoev-5q.cjs"),qe=require("./vue-ui-accordion-7GoAZx3k.cjs"),Ne=require("./useNestedProp-C8955nsn.cjs"),Ie=require("./PackageVersion-BxSGdh6L.cjs"),Xe=require("./PenAndPaper-ByAFuR-l.cjs"),Re=require("./useUserOptionState-BgepsfED.cjs"),Ye=require("./useChartAccessibility-Cm7nkzTG.cjs"),je=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ue=["id"],Ge=["xmlns","viewBox"],He=["width","height"],Je={key:1},Ke=["x1","x2","y1","y2","stroke","stroke-width"],Qe=["x1","x2","y1","y2","stroke","stroke-width"],Ze={key:2},et=["points","fill","stroke-width","stroke-dasharray","stroke"],tt={key:0},lt=["cx","cy","r","fill","stroke","stroke-width","onMouseover"],at={key:1},ot={key:3},st=["id"],rt=["stop-color"],nt=["stop-color"],ut=["id"],it=["stop-color"],ct=["stop-color"],vt=["x","y","width","height","fill","stroke","stroke-width","rx"],yt=["x","y","height","width","fill","stroke","stroke-width","rx"],dt={key:0},pt=["d","stroke","stroke-width"],ht=["d","stroke","stroke-width"],ft=["d","stroke","stroke-width"],mt=["d","stroke","stroke-width"],gt={key:4,style:{"pointer-events":"none !important"}},kt=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],xt=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],bt=["x","y","font-size","fill","font-weight","text-anchor"],wt=["x","y","font-size","fill","font-weight"],Bt=["cx","cy","r","fill","stroke","stroke-width"],_t=["cx","cy","r","fill","stroke","stroke-width"],Ct=["x","y","font-size","fill","font-weight","text-anchor"],Nt={key:5},St=["x","y","font-size","fill"],Mt=["x","y","font-size","fill"],$t=["id","transform","font-size","font-weight","fill"],Et={key:6},zt=["x","y","font-size","fill"],Lt=["x","y","font-size","fill"],Vt=["font-size","font-weight","fill","x","y"],At=["id"],Tt=["x","y","width","height"],Pt={key:7},Ot=["x1","x2","y1","y2","stroke-dasharray","stroke","stroke-width","clip-path"],Dt=["x","y","fill","font-size","font-weight"],Ft={key:5,class:"vue-data-ui-watermark"},Wt=["onClick"],qt={key:0,style:{width:"100%",display:"flex","align-items":"center","justify-content":"center"}},It={viewBox:"0 0 20 20",height:"20",width:"20",style:{overflow:"hidden",background:"transparent"}},Xt={key:0},Rt=["innerHTML"],Yt={__name:"vue-ui-scatter",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(Se,{expose:Me}){const{vue_ui_scatter:$e}=s.useConfig(),N=Se,P=e.computed(()=>!!N.dataset&&N.dataset.length),k=e.ref(s.createUid()),Ee=e.ref(null),I=e.ref(!1),X=e.ref(""),K=e.ref(0),T=e.ref(null),Q=e.ref(null),Z=e.ref(null),ee=e.ref(null),te=e.ref(null),le=e.ref(0),ae=e.ref(0),oe=e.ref(0),t=e.computed({get:()=>ue(),set:l=>l}),{userOptionsVisible:R,setUserOptionsVisibility:se,keepUserOptionState:re}=Re.useUserOptionState({config:t.value}),{svgRef:ne}=Ye.useChartAccessibility({config:t.value.style.title});function ue(){const l=Ne.useNestedProp({userConfig:N.config,defaultConfig:$e});return l.theme?{...Ne.useNestedProp({userConfig:s.themes.vue_ui_scatter[l.theme]||N.config,defaultConfig:l}),customPalette:s.themePalettes[l.theme]||s.palette}:l}e.watch(()=>N.config,l=>{t.value=ue(),R.value=!t.value.userOptions.showOnChartHover,ie(),le.value+=1,ae.value+=1,oe.value+=1,B.value.showTable=t.value.table.show,B.value.showTooltip=t.value.style.tooltip.show},{deep:!0});const O=e.ref(null);e.onMounted(()=>{ie()});function ie(){if(s.objectIsEmpty(N.dataset)&&s.error({componentName:"VueUiScatter",type:"dataset"}),t.value.responsive){const l=Be.throttle(()=>{const{width:n,height:a}=Be.useResponsive({chart:T.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});requestAnimationFrame(()=>{h.value.width=n,h.value.height=a})});O.value=new ResizeObserver(l),O.value.observe(T.value.parentNode)}}e.onBeforeUnmount(()=>{O.value&&O.value.disconnect()});const{isPrinting:ce,isImaging:ve,generatePdf:ye,generateImage:de}=_e.usePrinter({elementId:`vue-ui-scatter_${k.value}`,fileName:t.value.style.title.text||"vue-ui-scatter",options:t.value.userOptions.print}),ze=e.computed(()=>t.value.userOptions.show&&!t.value.style.title.text),pe=e.computed(()=>s.convertCustomPalette(t.value.customPalette)),B=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}),D=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+D.value,right:h.value.width-t.value.style.layout.padding.right-D.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-D.value,width:h.value.width-t.value.style.layout.padding.left-t.value.style.layout.padding.right-D.value})),v=e.computed(()=>{N.dataset.forEach((o,i)=>{s.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["values"]}).forEach(f=>{s.error({componentName:"VueUiScatter",type:"datasetSerieAttribute",property:f,index:i})}),o.values&&o.values.forEach((f,E)=>{s.getMissingDatasetAttributes({datasetObject:f,requiredAttributes:["x","y"]}).forEach(A=>{s.error({componentName:"VueUiScatter",type:"datasetSerieAttribute",property:`values.${A}`,index:`${i} - ${E}`})})})});const l=Math.min(...$.value.filter(o=>!p.value.includes(o.id)).flatMap(o=>o.values.map(i=>i.x))),n=Math.max(...$.value.filter(o=>!p.value.includes(o.id)).flatMap(o=>o.values.map(i=>i.x))),a=Math.min(...$.value.filter(o=>!p.value.includes(o.id)).flatMap(o=>o.values.map(i=>i.y))),r=Math.max(...$.value.filter(o=>!p.value.includes(o.id)).flatMap(o=>o.values.map(i=>i.y)));return{xMin:l>=0?0:l,xMax:n,yMin:a>=0?0:a,yMax:r}}),y=e.computed(()=>({x:u.value.left+Math.abs(v.value.xMin)/(v.value.xMax+Math.abs(v.value.xMin))*u.value.width,y:u.value.bottom-Math.abs(v.value.yMin)/(v.value.yMax+Math.abs(v.value.yMin))*u.value.height})),$=e.computed(()=>N.dataset.map((l,n)=>{const a=`cluster_${k.value}_${n}`;return{...l,values:s.largestTriangleThreeBuckets({data:l.values,threshold:t.value.downsample.threshold}),id:a,color:l.color?l.color:pe.value[n]||s.palette[n]||s.palette[n%s.palette.length],opacity:p.value.includes(a)?.5:1,shape:l.shape??"circle",segregate:()=>ke(a),isSegregated:p.value.includes(a)}})),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":""})),Y=e.computed(()=>$.value.map((l,n)=>({...l,plots:l.values.map(a=>({x:u.value.left+(a.x+Math.abs(v.value.xMin))/(v.value.xMax+Math.abs(v.value.xMin))*u.value.width,y:u.value.bottom-(a.y+Math.abs(v.value.yMin))/(v.value.yMax+Math.abs(v.value.yMin))*u.value.height,v:{...a,name:a.name||""},clusterName:l.name,color:l.color?l.color:pe.value[n]||s.palette[n]||s.palette[n%s.palette.length],id:`plot_${k.value}_${Math.random()}`,weight:a.weight??t.value.style.layout.plots.radius}))})).filter(l=>!p.value.includes(l.id))),x=e.computed(()=>Y.value.map(l=>{const n=l.plots.reduce((d,z)=>d+z.x,0)/l.plots.length,a=l.plots.reduce((d,z)=>d+z.y,0)/l.plots.length;let r=0,o=0,i=0;for(const d of l.plots)r+=(d.x-n)*(d.y-a),o+=(d.x-n)**2,i+=(d.y-a)**2;const f=r/Math.sqrt(o*i),E=f*(Math.sqrt(i)/Math.sqrt(o)),A=a-E*n,C={x1:u.value.left,x2:u.value.right,y1:E*u.value.left+A,y2:E*u.value.right+A,coefficient:f},g=(C.y2-C.y1)/(C.x2-C.x1),w=C.y1-g*C.x1,S=Math.min(h.value.width-t.value.style.layout.padding.right,Math.max(t.value.style.layout.padding.left,(u.value.top-w)/g)),q={x:S,y:g*S+w<=t.value.style.layout.padding.top?u.value.top:g*S+w};return{...l,correlation:C,label:q,plots:l.plots.map(d=>{const z=(d.x+g*d.y-g*w)/(1+Math.pow(g,2)),G=(g*d.x+Math.pow(g,2)*d.y+w)/(1+Math.pow(g,2)),m=Math.sqrt(Math.pow(d.x-z,2)+Math.pow(d.y-G,2));return{...d,deviation:m,shape:l.shape,color:l.color}})}})),he=e.computed(()=>Math.max(...x.value.flatMap(l=>l.plots.map(n=>Math.abs(n.deviation)))));function Ve(){return x.value}function fe(l,n){const a=Array.isArray(l)?l.flatMap(m=>m.plots.map(L=>({x:L.x,y:L.y}))):l.plots.map(m=>({x:m.x,y:m.y}));let r=1/0,o=-1/0,i=1/0,f=-1/0;a.forEach(({x:m,y:L})=>{r=Math.min(r,m),o=Math.max(o,m),i=Math.min(i,L),f=Math.max(f,L)});const E=o-r,A=f-i,C=E/n,g=A/n,w=Array(n).fill(0),S=Array(n).fill(0);a.forEach(({x:m,y:L})=>{const H=Math.floor((m-r)/C),J=Math.floor((L-i)/g);w[H]||(w[H]=0),S[J]||(S[J]=0),w[H]+=1,S[J]+=1});const q=[],d=[];for(let m=0;m<n;m+=1)q.push(r+(m+.5)*C),d.push(i+(m+.5)*g);const z=Math.max(...w),G=Math.max(...S);return{x:w,y:S,avgX:q,avgY:d,maxX:z,maxY:G}}const M=e.computed(()=>t.value.style.layout.marginalBars.tranches),b=e.computed(()=>fe(Y.value,M.value)),Ae=e.computed(()=>{const l=u.value.top-t.value.style.layout.marginalBars.offset,n=u.value.right+t.value.style.layout.marginalBars.offset;return Y.value.map(a=>{const r=fe(a,M.value);return{coords:r,dX:s.createSmoothPath(r.avgX.map((o,i)=>({x:o,y:l-r.x[i]/r.maxX*t.value.style.layout.marginalBars.size}))),dY:s.createSmoothPathVertical(r.avgY.map((o,i)=>({y:o,x:n+t.value.style.layout.marginalBars.size*r.y[i]/r.maxY}))),color:a.color,id:a.id}})}),_=e.ref(void 0),c=e.ref(null),j=e.ref(null);function me(l,n){_.value=l.id,c.value=l;let a="";j.value={datapoint:l,seriesIndex:n,series:x.value,config:t.value};const r=t.value.style.tooltip.customFormat;s.isFunction(r)&&s.functionReturnsString(()=>r({datapoint:l,seriesIndex:n,series:x.value,config:t.value}))?X.value=r({datapoint:l,seriesIndex:n,series:x.value,config:t.value}):(l.clusterName&&(a+=`<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`),l.v.name&&(a+=`<div>${l.v.name}</div>`),a+=`<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}">`,a+=`<div>${t.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x)?"-":s.applyDataLabel(t.value.style.layout.plots.selectors.labels.x.formatter,l.v.x,s.dataLabel({p:t.value.style.tooltip.prefix,v:l.v.x,s:t.value.style.tooltip.suffix,r:t.value.style.tooltip.roundingValue}),{datapoint:l,seriesIndex:n})}</b></div>`,a+=`<div>${t.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y)?"-":s.applyDataLabel(t.value.style.layout.plots.selectors.labels.y.formatter,l.v.y,s.dataLabel({p:t.value.style.tooltip.prefix,v:l.v.y,s:t.value.style.tooltip.suffix,r:t.value.style.tooltip.roundingValue}),{datapoint:l,seriesIndex:n})}</b></div>`,a+=`${t.value.style.layout.plots.deviation.translation}: <b>${s.dataLabel({v:l.deviation,r:t.value.style.layout.plots.deviation.roundingValue})}</b>`,a+="</div>",X.value=`<div>${a}</div>`),I.value=!0}function ge(){I.value=!1,_.value=void 0,c.value=null}const p=e.ref([]);function ke(l){p.value.includes(l)?p.value=p.value.filter(n=>n!==l):p.value.length<N.dataset.length-1&&p.value.push(l)}function xe(){e.nextTick(()=>{const l=["",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}`],n=x.value.map(o=>[o.name,o.correlation.coefficient,o.plots.length,o.plots.map(i=>i.v.x).reduce((i,f)=>i+f,0)/o.plots.length,o.plots.map(i=>i.v.y).reduce((i,f)=>i+f,0)/o.plots.length]),a=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([l]).concat(n),r=s.createCsvContent(a);s.downloadCsv({csvContent:r,title:t.value.style.title.text||"vue-ui-heatmap"})})}const F=e.computed(()=>{const l=[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}`],n=x.value.map(r=>[{shape:r.shape,content:r.name,color:r.color},Number((r.correlation.coefficient??0).toFixed(t.value.table.td.roundingValue)).toLocaleString(),r.plots.length.toLocaleString(),Number((r.plots.map(o=>o.v.x??0).reduce((o,i)=>o+i,0)/r.plots.length).toFixed(t.value.table.td.roundingAverage)).toLocaleString(),Number((r.plots.map(o=>o.v.y??0).reduce((o,i)=>o+i,0)/r.plots.length).toFixed(t.value.table.td.roundingAverage)).toLocaleString()]),a={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:l,body:n,config:a,colNames:l}}),V=e.ref(!1);function Te(l){V.value=l,K.value+=1}function be(){B.value.showTable=!B.value.showTable}function we(){B.value.showTooltip=!B.value.showTooltip}const W=e.ref(!1);function U(){W.value=!W.value}return Me({getData:Ve,generatePdf:ye,generateCsv:xe,generateImage:de,toggleTable:be,toggleTooltip:we,toggleAnnotator:U}),(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-scatter ${V.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),ref_key:"scatterChart",ref:T,id:`vue-ui-scatter_${k.value}`,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.backgroundColor};${t.value.responsive?"height: 100%":""}`),onMouseenter:n[2]||(n[2]=()=>e.unref(se)(!0)),onMouseleave:n[3]||(n[3]=()=>e.unref(se)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Xe._sfc_main,{key:0,svgRef:e.unref(ne),backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,active:W.value,onClose:U},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),ze.value?(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),t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:Q,style:"width:100%;background:transparent"},[(e.openBlock(),e.createBlock(Pe._sfc_main,{key:`title_${le.value}`,config:{title:{cy:"scatter-div-title",...t.value.style.title},subtitle:{cy:"scatter-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&P.value&&(e.unref(re)||e.unref(R))?(e.openBlock(),e.createBlock(_e.UserOptions,{ref_key:"details",ref:Ee,key:`user_options_${K.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isImaging:e.unref(ve),isPrinting:e.unref(ce),uid:k.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isTooltip:B.value.showTooltip,isFullscreen:V.value,titles:{...t.value.userOptions.buttonTitles},chartElement:T.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:W.value,onToggleFullscreen:Te,onGeneratePdf:e.unref(ye),onGenerateCsv:xe,onGenerateImage:e.unref(de),onToggleTable:be,onToggleTooltip:we,onToggleAnnotator:U,style:e.normalizeStyle({visibility:e.unref(re)?e.unref(R)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:a,color:r})=>[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:a,color:r})),void 0,!0)]),key:"0"}:void 0,l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:r})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:r})),void 0,!0)]),key:"6"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:r})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:r})),void 0,!0)]),key:"7"}: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),P.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:ne,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":V.value,"vue-data-ui-fulscreen--off":!V.value}),viewBox:`0 0 ${h.value.width<=0?10:h.value.width} ${h.value.height<=0?10:h.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.color}`)},[e.createVNode(Ie._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:h.value.width<=0?10:h.value.width,height:h.value.height<=0?10:h.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,He)):e.createCommentVNode("",!0),t.value.style.layout.axis.show?(e.openBlock(),e.createElementBlock("g",Je,[e.createElementVNode("line",{x1:y.value.x,x2:y.value.x,y1:u.value.top,y2:u.value.bottom,stroke:t.value.style.layout.axis.stroke,"stroke-width":t.value.style.layout.axis.strokeWidth,"stroke-linecap":"round"},null,8,Ke),e.createElementVNode("line",{x1:u.value.left,x2:u.value.right,y1:y.value.y,y2:y.value.y,stroke:t.value.style.layout.axis.stroke,"stroke-width":t.value.style.layout.axis.strokeWidth,"stroke-linecap":"round"},null,8,Qe)])):e.createCommentVNode("",!0),t.value.style.layout.plots.giftWrap.show?(e.openBlock(),e.createElementBlock("g",Ze,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[a.plots.length>2?(e.openBlock(),e.createElementBlock("polygon",{key:0,points:e.unref(s.giftWrap)({series:a.plots}),fill:e.unref(s.setOpacity)(a.color,t.value.style.layout.plots.giftWrap.fillOpacity*100),"stroke-width":t.value.style.layout.plots.giftWrap.strokeWidth,"stroke-dasharray":t.value.style.layout.plots.giftWrap.strokeDasharray,stroke:a.color,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,et)):e.createCommentVNode("",!0)]))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[!a.shape||a.shape==="circle"?(e.openBlock(),e.createElementBlock("g",tt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.plots,(o,i)=>(e.openBlock(),e.createElementBlock("circle",{cx:o.x,cy:o.y,r:_.value&&_.value===o.id?o.weight*2:o.weight,fill:e.unref(s.setOpacity)(a.color,t.value.style.layout.plots.opacity*100),stroke:t.value.style.layout.plots.stroke,"stroke-width":t.value.style.layout.plots.strokeWidth,onMouseover:f=>me(o,r),onMouseleave:ge,style:e.normalizeStyle(`opacity:${_.value&&_.value===o.id?1:t.value.style.layout.plots.significance.useDistanceOpacity?1-Math.abs(o.deviation)/he.value:t.value.style.layout.plots.significance.show&&Math.abs(o.deviation)>t.value.style.layout.plots.significance.deviationThreshold?t.value.style.layout.plots.significance.opacity:1}`)},null,44,lt))),256))])):(e.openBlock(),e.createElementBlock("g",at,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.plots,(o,i)=>(e.openBlock(),e.createBlock(Ce._sfc_main,{plot:{x:o.x,y:o.y},radius:_.value&&_.value===o.id?o.weight*2:o.weight,shape:a.shape,color:e.unref(s.setOpacity)(a.color,t.value.style.layout.plots.opacity*100),stroke:t.value.style.layout.plots.stroke,strokeWidth:t.value.style.layout.plots.strokeWidth,onMouseover:f=>me(o,r),onMouseleave:ge,style:e.normalizeStyle(`opacity:${_.value&&_.value===o.id?1:t.value.style.layout.plots.significance.useDistanceOpacity?1-Math.abs(o.deviation)/he.value:t.value.style.layout.plots.significance.show&&Math.abs(o.deviation)>t.value.style.layout.plots.significance.deviationThreshold?t.value.style.layout.plots.significance.opacity:1}`)},null,8,["plot","radius","shape","color","stroke","strokeWidth","onMouseover","style"]))),256))]))]))),256)),t.value.style.layout.marginalBars.show?(e.openBlock(),e.createElementBlock("g",ot,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`marginal_x_${k.value}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.marginalBars.fill},null,8,rt),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.backgroundColor},null,8,nt)],8,st),e.createElementVNode("linearGradient",{id:`marginal_y_${k.value}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.backgroundColor},null,8,it),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.marginalBars.fill},null,8,ct)],8,ut)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.x,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[a&&b.value.avgX[r]?(e.openBlock(),e.createElementBlock("rect",{key:0,x:b.value.avgX[r]-u.value.width/M.value/2,y:u.value.top-t.value.style.layout.marginalBars.offset-a/b.value.maxX*t.value.style.layout.marginalBars.size,width:u.value.width/M.value<=0?1e-4:u.value.width/M.value,height:a/b.value.maxX*t.value.style.layout.marginalBars.size<=0?1e-4:a/b.value.maxX*t.value.style.layout.marginalBars.size,fill:t.value.style.layout.marginalBars.useGradient?`url(#marginal_x_${k.value})`:t.value.style.layout.marginalBars.fill,style:e.normalizeStyle(`opacity:${t.value.style.layout.marginalBars.opacity}`),stroke:t.value.style.backgroundColor,"stroke-width":t.value.style.layout.marginalBars.strokeWidth,rx:t.value.style.layout.marginalBars.borderRadius},null,12,vt)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.y,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[a&&b.value.avgY[r]?(e.openBlock(),e.createElementBlock("rect",{key:0,x:u.value.right+t.value.style.layout.marginalBars.offset,y:b.value.avgY[r]-u.value.height/M.value/2,height:u.value.height/M.value<=0?1e-4:u.value.height/M.value,width:a/b.value.maxY*t.value.style.layout.marginalBars.size<=0?1e-4:a/b.value.maxY*t.value.style.layout.marginalBars.size,fill:t.value.style.layout.marginalBars.useGradient?`url(#marginal_y_${k.value})`:t.value.style.layout.marginalBars.fill,style:e.normalizeStyle(`opacity:${t.value.style.layout.marginalBars.opacity}`),stroke:t.value.style.backgroundColor,"stroke-width":t.value.style.layout.marginalBars.strokeWidth,rx:t.value.style.layout.marginalBars.borderRadius},null,12,yt)):e.createCommentVNode("",!0)]))),256)),t.value.style.layout.marginalBars.showLines?(e.openBlock(),e.createElementBlock("g",dt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ae.value,a=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[p.value.includes(a.id)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("path",{key:0,d:`M ${a.dX}`,stroke:t.value.style.backgroundColor,"stroke-width":t.value.style.layout.marginalBars.linesStrokeWidth+1,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,pt)),p.value.includes(a.id)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("path",{key:1,d:`M ${a.dX}`,stroke:a.color,"stroke-width":t.value.style.layout.marginalBars.linesStrokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,ht)),p.value.includes(a.id)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("path",{key:2,d:`M ${a.dY}`,stroke:t.value.style.backgroundColor,"stroke-width":t.value.style.layout.marginalBars.linesStrokeWidth+1,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,ft)),p.value.includes(a.id)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("path",{key:3,d:`M ${a.dY}`,stroke:a.color,"stroke-width":t.value.style.layout.marginalBars.linesStrokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,mt))],64))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),c.value&&t.value.style.layout.plots.selectors.show?(e.openBlock(),e.createElementBlock("g",gt,[e.createElementVNode("line",{x1:y.value.x,x2:c.value.x,y1:c.value.y,y2:c.value.y,stroke:t.value.style.layout.plots.selectors.stroke,"stroke-width":t.value.style.layout.plots.selectors.strokeWidth,"stroke-dasharray":t.value.style.layout.plots.selectors.strokeDasharray,"stroke-linecap":"round",class:"line-pointer"},null,8,kt),e.createElementVNode("line",{x1:c.value.x,x2:c.value.x,y1:y.value.y,y2:c.value.y,stroke:t.value.style.layout.plots.selectors.stroke,"stroke-width":t.value.style.layout.plots.selectors.strokeWidth,"stroke-dasharray":t.value.style.layout.plots.selectors.strokeDasharray,"stroke-linecap":"round",class:"line-pointer"},null,8,xt),e.createElementVNode("text",{x:y.value.x+(c.value.x>y.value.x?-6:6),y:c.value.y+t.value.style.layout.plots.selectors.labels.fontSize/3,"font-size":t.value.style.layout.plots.selectors.labels.fontSize,fill:t.value.style.layout.plots.selectors.labels.color,"font-weight":t.value.style.layout.plots.selectors.labels.bold?"bold":"normal","text-anchor":c.value.x>y.value.x?"end":"start"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.plots.selectors.labels.y.formatter,e.unref(s.checkNaN)(c.value.v.y),e.unref(s.dataLabel)({p:t.value.style.layout.plots.selectors.labels.prefix,v:e.unref(s.checkNaN)(c.value.v.y),s:t.value.style.layout.plots.selectors.labels.suffix,r:t.value.style.layout.plots.selectors.labels.rounding}),{datapoint:c.value})),9,bt),e.createElementVNode("text",{x:c.value.x,y:y.value.y+(c.value.y>y.value.y?-6:t.value.style.layout.plots.selectors.labels.fontSize+6),"font-size":t.value.style.layout.plots.selectors.labels.fontSize,fill:t.value.style.layout.plots.selectors.labels.color,"font-weight":t.value.style.layout.plots.selectors.labels.bold?"bold":"normal","text-anchor":"middle"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.plots.selectors.labels.y.formatter,e.unref(s.checkNaN)(c.value.v.x),e.unref(s.dataLabel)({p:t.value.style.layout.plots.selectors.labels.prefix,v:e.unref(s.checkNaN)(c.value.v.x),s:t.value.style.layout.plots.selectors.labels.suffix,r:t.value.style.layout.plots.selectors.labels.rounding}),{datapoint:c.value})),9,wt),e.createElementVNode("circle",{cx:y.value.x,cy:c.value.y,r:t.value.style.layout.plots.selectors.markers.radius,fill:t.value.style.layout.plots.selectors.markers.fill,stroke:t.value.style.layout.plots.selectors.markers.stroke,"stroke-width":t.value.style.layout.plots.selectors.markers.strokeWidth,class:"line-pointer"},null,8,Bt),e.createElementVNode("circle",{cx:c.value.x,cy:y.value.y,r:t.value.style.layout.plots.selectors.markers.radius,fill:t.value.style.layout.plots.selectors.markers.fill,stroke:t.value.style.layout.plots.selectors.markers.stroke,"stroke-width":t.value.style.layout.plots.selectors.markers.strokeWidth,class:"line-pointer"},null,8,_t),t.value.style.layout.plots.selectors.labels.showName?(e.openBlock(),e.createElementBlock("text",{key:0,x:c.value.x,y:c.value.y+(c.value.y<y.value.y?-t.value.style.layout.plots.selectors.labels.fontSize/2:t.value.style.layout.plots.selectors.labels.fontSize),"font-size":t.value.style.layout.plots.selectors.labels.fontSize,fill:t.value.style.layout.plots.selectors.labels.color,"font-weight":t.value.style.layout.plots.selectors.labels.bold?"bold":"normal","text-anchor":c.value.x<u.value.left+100?"start":c.value.x>u.value.right-100?"end":c.value.x>y.value.x?"start":"end"},e.toDisplayString(c.value.v.name),9,Ct)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",Nt,[e.createElementVNode("text",{x:u.value.left-5,y:y.value.y+t.value.style.layout.dataLabels.xAxis.fontSize/3,"text-anchor":"end","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.plots.selectors.labels.x.formatter,e.unref(s.checkNaN)(v.value.xMin),e.unref(s.dataLabel)({p:t.value.style.layout.plots.selectors.labels.prefix,v:e.unref(s.checkNaN)(v.value.xMin),s:t.value.style.layout.plots.selectors.labels.suffix,r:t.value.style.layout.dataLabels.xAxis.rounding}))),9,St),e.createElementVNode("text",{x:u.value.right+3,y:y.value.y+t.value.style.layout.dataLabels.xAxis.fontSize/3,"text-anchor":"start","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.plots.selectors.labels.x.formatter,e.unref(s.checkNaN)(v.value.xMax),e.unref(s.dataLabel)({p:t.value.style.layout.plots.selectors.labels.prefix,v:e.unref(s.checkNaN)(v.value.xMax),s:t.value.style.layout.plots.selectors.labels.suffix,r:t.value.style.layout.dataLabels.xAxis.rounding}))),9,Mt),e.createElementVNode("text",{id:`vue-ui-scatter-xAxis-label-${k.value}`,transform:`translate(${t.value.style.layout.dataLabels.xAxis.fontSize*2}, ${u.value.top+u.value.height/2}), rotate(-90)`,"text-anchor":"middle","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,"font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal",fill:t.value.style.layout.dataLabels.xAxis.color},e.toDisplayString(t.value.style.layout.dataLabels.xAxis.name),9,$t)])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",Et,[e.createElementVNode("text",{x:y.value.x,y:u.value.bottom+t.value.style.layout.dataLabels.yAxis.fontSize+3,"text-anchor":"middle","font-size":t.value.style.layout.dataLabels.yAxis.fontSize,fill:t.value.style.layout.dataLabels.yAxis.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.plots.selectors.labels.y.formatter,e.unref(s.checkNaN)(v.value.yMin),e.unref(s.dataLabel)({p:t.value.style.layout.plots.selectors.labels.prefix,v:e.unref(s.checkNaN)(v.value.yMin),s:t.value.style.layout.plots.selectors.labels.suffix,r:t.value.style.layout.dataLabels.yAxis.rounding}))),9,zt),e.createElementVNode("text",{x:y.value.x,y:u.value.top-t.value.style.layout.dataLabels.yAxis.fontSize/2,"text-anchor":"middle","font-size":t.value.style.layout.dataLabels.yAxis.fontSize,fill:t.value.style.layout.dataLabels.yAxis.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.plots.selectors.labels.y.formatter,e.unref(s.checkNaN)(v.value.yMax),e.unref(s.dataLabel)({p:t.value.style.layout.plots.selectors.labels.prefix,v:e.unref(s.checkNaN)(v.value.yMax),s:t.value.style.layout.plots.selectors.labels.suffix,r:t.value.style.layout.dataLabels.yAxis.rounding}))),9,Lt),e.createElementVNode("text",{"text-anchor":"middle","font-size":t.value.style.layout.dataLabels.yAxis.fontSize,"font-weight":t.value.style.layout.dataLabels.yAxis.bold?"bold":"normal",fill:t.value.style.layout.dataLabels.yAxis.color,x:u.value.left+u.value.width/2,y:u.value.bottom+8+t.value.style.layout.dataLabels.yAxis.fontSize*2},e.toDisplayString(t.value.style.layout.dataLabels.yAxis.name),9,Vt)])):e.createCommentVNode("",!0),e.createElementVNode("clipPath",{id:`clip_path_${k.value}`},[e.createElementVNode("rect",{x:u.value.left,y:u.value.top,width:u.value.width<=0?1e-4:u.value.width,height:u.value.height<=0?1e-4:u.value.height},null,8,Tt)],8,At),t.value.style.layout.correlation.show?(e.openBlock(),e.createElementBlock("g",Pt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:a.correlation.x1,x2:a.correlation.x2,y1:a.correlation.y1,y2:a.correlation.y2,"stroke-dasharray":t.value.style.layout.correlation.strokeDasharray,stroke:a.color,"stroke-width":t.value.style.layout.correlation.strokeWidth,"clip-path":`url(#clip_path_${k.value})`},null,8,Ot))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,(a,r)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.correlation.label.show?(e.openBlock(),e.createElementBlock("text",{key:0,x:a.label.x,y:a.label.y,fill:t.value.style.layout.correlation.label.useSerieColor?a.color:t.value.style.layout.correlation.label.color,"font-size":t.value.style.layout.correlation.label.fontSize,"font-weight":t.value.style.layout.correlation.label.bold?"bold":"normal"},e.toDisplayString(e.unref(s.dataLabel)({v:e.unref(s.checkNaN)(a.correlation.coefficient),r:t.value.style.layout.correlation.label.roundingValue})),9,Dt)):e.createCommentVNode("",!0)]))),256))])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"svg",{svg:h.value},void 0,!0)],14,Ge)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ft,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(ce)||e.unref(ve)})),void 0,!0)])):e.createCommentVNode("",!0),P.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(We.default,{key:6,config:{type:"quadrant",style:{backgroundColor:t.value.style.backgroundColor,quadrant:{grid:{color:t.value.style.layout.axis.stroke},plots:{color:t.value.style.layout.axis.stroke,radius:1}}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:Z},[t.value.style.legend.show?(e.openBlock(),e.createBlock(De.Legend,{key:`legend_${oe.value}`,legendSet:$.value,config:Le.value,onClickMarker:n[0]||(n[0]=({legend:a})=>ke(a.id))},{item:e.withCtx(({legend:a})=>[e.createElementVNode("div",{onClick:r=>a.segregate(),style:e.normalizeStyle(`opacity:${p.value.includes(a.id)?.5:1}`)},e.toDisplayString(a.name),13,Wt)]),_:1},8,["legendSet","config"])):e.renderSlot(l.$slots,"legend",{key:1,legend:$.value},void 0,!0)],512),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:ee,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(Oe._sfc_main,{show:B.value.showTooltip&&I.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,fontSize:t.value.style.tooltip.fontSize,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,offsetY:t.value.style.tooltip.offsetY,parent:T.value,content:X.value,isFullscreen:V.value,isCustom:t.value.style.tooltip.customFormat&&typeof t.value.style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...j.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...j.value})),void 0,!0)]),default:e.withCtx(()=>[t.value.style.tooltip.showShape?(e.openBlock(),e.createElementBlock("div",qt,[(e.openBlock(),e.createElementBlock("svg",It,[e.createVNode(Ce._sfc_main,{shape:c.value.shape,color:c.value.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"]),P.value?(e.openBlock(),e.createBlock(qe.default,{key:8,hideDetails:"",config:{open:B.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color},head:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Fe.DataTable,{key:`table_${ae.value}`,colNames:F.value.colNames,head:F.value.head,body:F.value.body,config:F.value.config,title:`${t.value.style.title.text}${t.value.style.title.subtitle.text?` : ${t.value.style.title.subtitle.text}`:""}`,onClose:n[1]||(n[1]=a=>B.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),td:e.withCtx(({td:a})=>[a.shape?(e.openBlock(),e.createElementBlock("div",Xt,[e.createElementVNode("span",null,e.toDisplayString(a.content),1)])):(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:a},null,8,Rt))]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Ue))}},jt=je._export_sfc(Yt,[["__scopeId","data-v-e97afbcb"]]);exports.default=jt;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-Cn2tUOoX.cjs"),M=require("./useNestedProp-C8955nsn.cjs"),s=require("./PackageVersion-BxSGdh6L.cjs"),b=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=["id"],S=["xmlns"],A={transform:"translate(300, 300)"},z=["d","fill","stroke"],$=["xmlns"],P=["id"],X=["stop-color"],W=["stop-color"],j=["stop-color"],F=["stop-color"],O=["fill","stroke"],q=["fill","stroke"],H=["fill","stroke"],Z=["fill","stroke"],Q=["fill","stroke"],I=["xmlns"],G=["stroke"],T=["stroke"],R=["stroke"],Y=["fill","stroke"],D=["fill"],U=["fill","stroke"],J=["fill"],K=["fill","stroke"],ee=["fill"],te=["fill","stroke"],le=["fill"],oe=["fill","stroke"],re=["fill"],ne=["fill","stroke"],se=["fill"],ae=["xmlns"],ce=["stroke"],ie=["stroke"],de=["stroke"],ue=["stroke"],ke=["stroke"],ye=["stroke"],he=["stroke"],me=["stroke"],ve=["stroke"],_e=["xmlns"],pe=["stroke","fill"],xe=["xmlns"],fe=["stroke","fill"],ge=["xmlns"],Ne=["fill"],we=["fill"],Ee=["fill"],Ve=["fill"],Ce=["xmlns"],Be=["stroke"],Me=["fill"],be=["stroke","fill"],Le=["stroke","fill"],Se=["fill"],Ae=["stroke","fill"],ze=["stroke","fill"],$e=["fill"],Pe=["stroke","fill"],Xe=["stroke","fill"],We=["fill"],je=["stroke","fill"],Fe=["stroke","fill"],Oe=["fill"],qe=["stroke","fill"],He=["stroke","fill"],Ze=["xmlns"],Qe=["stroke"],Ie=["stroke"],Ge=["stroke","fill"],Te=["stroke","fill"],Re=["stroke","fill"],Ye=["stroke","fill"],De=["stroke","fill"],Ue=["stroke","fill"],Je=["stroke","fill"],Ke=["stroke","fill"],et=["stroke","fill"],tt=["stroke","fill"],lt=["stroke","fill"],ot=["stroke","fill"],rt=["stroke","fill"],nt=["stroke","fill"],st=["stroke","fill"],at=["stroke","fill"],ct=["stroke","fill"],it=["stroke","fill"],dt=["stroke","fill"],ut=["stroke","fill"],kt=["stroke","fill"],yt=["stroke","fill"],ht=["stroke","fill"],mt=["xmlns"],vt=["stroke"],_t=["xmlns"],pt=["stroke"],xt=["xmlns"],ft=["stroke"],gt=["xmlns"],Nt=["fill"],wt=["fill"],Et=["fill"],Vt=["fill"],Ct=["fill"],Bt=["fill"],Mt=["fill"],bt=["fill"],Lt=["fill"],St=["fill"],At=["fill"],zt=["fill"],$t=["xmlns"],Pt=["stroke"],Xt=["stroke"],Wt=["stroke"],jt=["stroke"],Ft=["stroke"],Ot=["stroke"],qt=["xmlns"],Ht=["stroke"],Zt=["stroke"],Qt=["stroke"],It=["stroke"],Gt=["stroke"],Tt=["stroke"],Rt=["stroke"],Yt=["stroke"],Dt=["stroke"],Ut=["xmlns"],Jt=["stroke"],Kt=["xmlns"],el=["stroke"],tl=["stroke"],ll=["stroke"],ol=["stroke"],rl=["stroke"],nl=["stroke"],sl=["stroke"],al=["stroke"],cl=["stroke"],il=["xmlns"],dl=["x1","x2","stroke"],ul=["xmlns"],kl=["x","y","width","height","fill"],yl=["y","width","height","fill"],hl=["xmlns"],ml=["fill"],vl=["fill"],_l=["fill"],pl=["xmlns"],xl=["x1","x2","y1","y2","stroke"],fl=["stroke"],gl=["fill"],Nl=["xmlns"],wl=["fill"],El=["fill"],Vl=["x1","y1","x2","y2","stroke-width","stroke"],Cl=["xmlns"],Bl={key:0},Ml=["stroke","stroke-width"],bl=["stroke","stroke-width"],Ll=["x1","x2","y1","y2","stroke","stroke-width"],Sl=["x1","x2","y1","y2","stroke","stroke-width"],Al=["x1","x2","y1","y2","stroke","stroke-width"],zl=["x","y","height","width","fill"],$l=["xmlns","viewBox"],Pl=["x","y","stroke","fill"],Xl=["xmlns"],Wl=["d","stroke"],jl=["cx","cy","r","fill","stroke"],Fl=["cx","cy","r","fill","stroke"],Ol=["x","y","width","fill"],ql=["cx","cy","fill"],Hl=["cx","cy","fill"],Zl=["stroke"],Ql=["xmlns"],Il=["stroke","stroke-width"],Gl=["stroke","stroke-width"],Tl=["stroke","stroke-width"],Rl=["fill"],Yl=["fill"],Dl=["fill"],Ul=["fill"],Jl=["fill"],Kl=["fill"],eo=["xmlns"],to={key:0},lo=["stroke","stroke-width"],oo=["stroke","stroke-width"],ro=["stroke","stroke-width"],no={key:1},so=["r","fill"],ao=["r","fill"],co=["xmlns"],io={key:0},uo=["stroke","stroke-width"],ko=["stroke","stroke-width"],yo=["fill","rx","x","y","width","height"],ho=["xmlns"],mo=["stroke-width","stroke"],vo=["stroke-width","stroke"],_o=["stroke-width","stroke"],po=["xmlns"],xo=["stroke"],fo=["stroke"],go=["stroke"],No=["stroke"],wo=["fill"],Eo=["stroke"],Vo=["xmlns"],Co=["stroke","stroke-width"],Bo=["stroke","stroke-width"],Mo=["fill","r"],bo=["fill","r"],Lo=["fill","r"],So=["fill","r"],Ao=["fill","r"],zo=["fill","r"],$o=["fill","r"],Po=["fill","r"],Xo=["fill","r"],Wo=["xmlns"],jo=["d","stroke","stroke-width"],Fo=["d","stroke","stroke-width"],Oo=["d","stroke","stroke-width"],qo=["d","stroke","stroke-width"],Ho=["stroke","stroke-width"],Zo=["stroke","stroke-width"],Qo=["stroke","stroke-width"],Io=["fill"],Go=["fill"],To=["xmlns"],Ro=["x","y","fill"],Yo=["x","y","fill"],Do=["x","y","fill"],Uo=["xmlns"],Jo=["fill"],Ko=["fill"],e1=["y1","y2","stroke","stroke-width"],t1=["x1","x2","stroke","stroke-width"],l1=["xmlns","stroke"],o1=["fill"],r1=["xmlns","stroke"],n1=["xmlns","stroke"],s1=["fill"],a1=["xmlns","stroke"],c1=["xmlns","stroke"],i1=["fill"],d1=["xmlns","stroke"],u1=["xmlns","stroke"],k1=["fill"],y1=["xmlns","stroke"],h1=["xmlns","stroke"],m1=["fill"],v1=["xmlns","stroke"],_1=["xmlns"],p1=["points","fill","stroke","stroke-width"],x1=["xmlns"],f1={key:0},g1=["stroke","stroke-width"],N1=["y","width","fill","rx"],w1={__name:"vue-ui-skeleton",props:{config:{type:Object,default(){return{}}}},setup(_){const{vue_ui_skeleton:p}=l.useConfig(),x=_,d=e.ref(`vue-ui-skeleton-${Math.random()}`),t=e.computed(()=>M.useNestedProp({userConfig:x.config,defaultConfig:p})),f=e.computed(()=>t.value.style.animated),n=e.computed(()=>t.value.type),g=e.ref([60,50,55,36,40,25,26,12]),N=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:40,sides:6}).path),w=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:30,sides:6}).path),E=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:20,sides:6}).path),V=e.computed(()=>l.createPolygonPath({plot:{x:50,y:50},radius:10,sides:6}).path),y=e.ref([{root:{x:70,y:77,r:44,opacity:100},bars:[{x:200,y:37,opacity:100,width:240},{x:200,y:118,opacity:100,width:180},{x:200,y:253,opacity:100,width:80}]},{root:{x:70,y:177,r:32,opacity:70},bars:[{x:200,y:145,opacity:70,width:160},{x:200,y:172,opacity:70,width:140},{x:200,y:199,opacity:70,width:120}]},{root:{x:70,y:257,r:24,opacity:40},bars:[{x:200,y:64,opacity:40,width:220},{x:200,y:91,opacity:40,width:200},{x:200,y:226,opacity:40,width:100}]}]),c=e.ref([{y:200,height:100,bar:50},{y:180,height:100,bar:40},{y:150,height:100,bar:30},{y:120,height:80,bar:50},{y:110,height:60,bar:30},{y:80,height:80,bar:10},{y:50,height:80,bar:40},{y:24,height:40,bar:24},{y:44,height:20,bar:13},{y:32,height:45,bar:19}]),k=e.ref([[3,2.5],[4,3.1],[8,6],[9.5,6.5],[12,11],[16,15],[18,18.2],[25,24],[24,26],[32,32],[33,32],[32,31],[38,37],[37,38],[42,41],[40,41],[44,45],[38,35],[31,32]]),h=e.ref([{x:40,y:30},{x:45,y:28},{x:50,y:25},{x:55,y:20},{x:60,y:27},{x:65,y:14},{x:70,y:23},{x:75,y:16},{x:80,y:25},{x:85,y:10},{x:90,y:18},{x:95,y:7},{x:100,y:12},{x:105,y:10},{x:110,y:20},{x:115,y:7},{x:120,y:14},{x:125,y:10},{x:130,y:19},{x:135,y:3},{x:140,y:10},{x:145,y:2},{x:150,y:1}]);function m(u,a=1){return{x:200+160*Math.cos(29.85+u*Math.PI/180)*a,y:200+160*Math.sin(29.85+u*Math.PI/180)*a}}const C=e.computed(()=>{const u=[];for(let o=0;o<100;o+=1)u.push({x1:m(360/100*o).x,y1:m(360/100*o).y,x2:m(360/100*o,.9).x,y2:m(360/100*o,.9).y,color:t.value.style.wheel.color});return u}),B=e.ref(["M1.7373367220238844,203.9926019764303 A204.00000000000003,204.00000000000003 0 0 1 -131.29456850765732,-156.13371282457896 L-115.84814868322702,-137.76504072756964 A180,180 0 0 0 1.5329441664916625,179.99347233214436 Z","M-123.32705122334838,-162.50057980374598 A204.00000000000003,204.00000000000003 0 0 1 -10.195750531218382,-203.74505312057315 L-8.996250468722101,-179.77504687109393 A180,180 0 0 0 -108.81798637354268,-143.382864532717 Z","M1.2491397351303004e-14,-204.00000000000003 A204.00000000000003,204.00000000000003 0 0 1 198.55086769611978,46.83538125304364 L175.19194208481156,41.32533639974439 A180,180 0 0 0 1.1021821192326179e-14,-180 Z","M195.9619373656435,56.7002566475993 A204.00000000000003,204.00000000000003 0 0 1 11.930546287661176,203.65083369649628 L10.52695260675986,179.69191208514374 A180,180 0 0 0 172.90759179321483,50.02963821846996 Z","M-166.86833637580506,-67.49043128600653A180,180 0 0 1 -115.84814868322714,-137.76504072756956Q0,0 119.8300231855595,-134.31591693968468A180,180 0 0 1 171.96279754157493,-53.1864292999193Q0,0 -166.86833637580506,-67.49043128600653Z","M-29.992438727439374,-177.4836714156567A180,180 0 0 1 -19.255831667995757,-178.96707224172218Q0,0 112.88946799894526,140.199743276923A180,180 0 0 1 53.62560948591857,171.8263484081058Q0,0 -29.992438727439374,-177.4836714156567Z","M179.7057615540709,10.287821162491808A180,180 0 0 1 175.19194208481153,41.32533639974442Q0,0 -40.86560737697651,-175.29974938290928A180,180 0 0 1 -29.992438727439374,-177.4836714156567Q0,0 179.7057615540709,10.287821162491808Z","M-19.255831667995757,-178.96707224172218A180,180 0 0 1 -8.996250468722259,-179.7750468710939Q0,0 -179.00766444768982,18.87474685878697A180,180 0 0 1 -166.86833637580506,-67.49043128600653Q0,0 -19.255831667995757,-178.96707224172218Z","M-108.81798637354268,-143.382864532717A180,180 0 0 1 -40.86560737697651,-175.29974938290928Q0,0 -108.81798637354268,-143.382864532717A180,180 0 0 1 -40.86560737697651,-175.29974938290928Q0,0 -108.81798637354268,-143.382864532717Z","M1.1021821192326179e-14,-180A180,180 0 0 1 119.8300231855595,-134.31591693968468Q0,0 1.1021821192326179e-14,-180A180,180 0 0 1 119.8300231855595,-134.31591693968468Q0,0 1.1021821192326179e-14,-180Z","M-148.8461772161856,101.21667613653332A180,180 0 0 1 -179.00766444768982,18.87474685878697Q0,0 -148.8461772161856,101.21667613653332A180,180 0 0 1 -179.00766444768982,18.87474685878697Q0,0 -148.8461772161856,101.21667613653332Z","M1.5329441664916625,179.99347233214436A180,180 0 0 1 -148.8461772161856,101.21667613653332Q0,0 53.62560948591857,171.8263484081058A180,180 0 0 1 31.72923485708112,177.1814201754354Q0,0 1.5329441664916625,179.99347233214436Z","M31.72923485708112,177.1814201754354A180,180 0 0 1 10.52695260675986,179.69191208514374Q0,0 171.96279754157493,-53.1864292999193A180,180 0 0 1 179.7057615540709,10.287821162491808Q0,0 31.72923485708112,177.1814201754354Z","M172.90759179321483,50.02963821846996A180,180 0 0 1 112.88946799894526,140.199743276923Q0,0 172.90759179321483,50.02963821846996A180,180 0 0 1 112.88946799894526,140.199743276923Q0,0 172.90759179321483,50.02963821846996Z"]);return(u,a)=>(e.openBlock(),e.createElementBlock("div",{id:d.value,class:e.normalizeClass({"vue-ui-skeleton":!0,"vue-ui-skeleton-animated":f.value}),style:e.normalizeStyle(`background:${t.value.style.backgroundColor};color:${t.value.style.color};display:flex;align-items:center;justify-content:center;`)},[n.value==="chord"?(e.openBlock(),e.createElementBlock("svg",{key:0,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 600 600",style:e.normalizeStyle({background:t.value.style.backgroundColor})},[e.createVNode(s._sfc_main),e.createElementVNode("g",A,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,(o,r)=>(e.openBlock(),e.createElementBlock("path",{key:o,d:o,fill:t.value.style.chord.color,stroke:t.value.style.backgroundColor,"stroke-width":"2",style:e.normalizeStyle({opacity:r>3?.6:1})},null,12,z))),128))])],12,S)):e.createCommentVNode("",!0),n.value==="ridgeline"?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"20 0 512 200",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`ridgeline-gradient-${d.value}`,x1:"50%",y1:"0%",x2:"50%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.ridgeline.color,"stop-opacity":"1"},null,8,X),e.createElementVNode("stop",{offset:"30%","stop-color":t.value.style.ridgeline.color,"stop-opacity":"0.7"},null,8,W),e.createElementVNode("stop",{offset:"70%","stop-color":t.value.style.ridgeline.color,"stop-opacity":"0.3"},null,8,j),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.ridgeline.color,"stop-opacity":"0.1"},null,8,F)],8,P)]),e.createElementVNode("path",{fill:`url(#ridgeline-gradient-${d.value})`,stroke:t.value.style.ridgeline.color,"stroke-width":"1",d:"M66.6953125,60 L66.6953125,60 C72.88009982638889,59.403611453288086 79.06488715277779,58.89368232203086 85.24967447916667,58.21083435986425 C91.43446180555556,57.52798639769764 97.61924913194446,55.827101525061806 103.80403645833334,55.81495611628739 C109.98882378472223,55.802810707512975 116.17361111111111,55.808794600725854 122.3583984375,55.79659841225535 C128.54318576388889,55.784402223784845 134.7279730902778,50.50120257180663 140.91276041666669,50.50120257180663 C147.09754774305557,50.50120257180663 153.28233506944446,55.449371402529025 159.46712239583334,55.449371402529025 C165.65190972222223,55.449371402529025 171.83669704861111,52.6726852661858 178.021484375,52.6726852661858 C184.20627170138889,52.6726852661858 190.3910590277778,53.68748523105861 196.57584635416669,54.588107791627955 C202.76063368055557,55.4887303521973 208.94542100694446,59.17209535382662 215.13020833333334,59.17209535382662 C221.31499565972223,59.17209535382662 227.49978298611111,52.45924262596313 233.6845703125,52.45924262596313 C239.86935763888889,52.45924262596313 246.0541449652778,53.35394069624585 252.23893229166669,53.35394069624585 C258.4237196180556,53.35394069624585 264.60850694444446,48.87053557137407 270.79329427083337,48.87053557137407 C276.97808159722223,48.87053557137407 283.16286892361114,53.66236486164665 289.34765625,53.66236486164665 C295.5324435763889,53.66236486164665 301.71723090277777,27.591473273183208 307.9020182291667,27.591473273183208 C314.0868055555556,27.591473273183208 320.27159288194446,36.89852761880239 326.45638020833337,41.437518391010784 C332.64116753472223,45.97650916321916 338.82595486111114,54.832874234480315 345.0107421875,54.832874234480315 C351.1955295138889,54.832874234480315 357.38031684027777,18.691201442289355 363.5651041666667,18.691201442289355 C369.7498914930556,18.691201442289355 375.93467881944446,57.13764103396694 382.11946614583337,57.13764103396694 C388.30425347222223,57.13764103396694 394.48904079861114,45.68426316642005 400.673828125,40.20394349296662 C406.8586154513889,34.72362381951317 413.04340277777777,24.227858288281524 419.2281901041667,24.227858288281524 C425.4129774305556,24.227858288281524 431.59776475694446,40.62757421574731 437.78255208333337,40.62757421574731 C443.96733940972223,40.62757421574731 450.15212673611114,40.51108265240213 456.3369140625,40.28423459323992 C462.5217013888889,40.057386534077715 468.70648871527777,2.1986259303168354 474.8912760416667,2.1986259303168354 C481.0760633680556,2.1986259303168354 487.26085069444446,26.26823707335967 493.44563802083337,38.30304264488109 L493.44563802083337,60 ","stroke-linecap":"round","stroke-linejoin":"round"},null,8,O),e.createElementVNode("path",{fill:`url(#ridgeline-gradient-${d.value})`,stroke:t.value.style.ridgeline.color,"stroke-width":"1",d:"M66.6953125,90 L66.6953125,90 C72.88009982638889,89.77691866194493 79.06488715277779,89.6480674216807 85.24967447916667,89.3307559858348 C91.43446180555556,89.0134445499889 97.61924913194446,87.68266335878263 103.80403645833334,87.68266335878263 C109.98882378472223,87.68266335878263 116.17361111111111,89.33939506404997 122.3583984375,89.33939506404997 C128.54318576388889,89.33939506404997 134.7279730902778,80.57818692301632 140.91276041666669,80.57818692301632 C147.09754774305557,80.57818692301632 153.28233506944446,84.72929899595943 159.46712239583334,84.72929899595943 C165.65190972222223,84.72929899595943 171.83669704861111,76.29369461861882 178.021484375,76.29369461861882 C184.20627170138889,76.29369461861882 190.3910590277778,87.15511944847793 196.57584635416669,87.15511944847793 C202.76063368055557,87.15511944847793 208.94542100694446,77.94863017425682 215.13020833333334,74.99584997381157 C221.31499565972223,72.04306977336633 227.49978298611111,68.02886623624688 233.6845703125,68.02886623624688 C239.86935763888889,68.02886623624688 246.0541449652778,77.62348634322068 252.23893229166669,80.79968178070098 C258.4237196180556,83.97587721818128 264.60850694444446,88.39897472556459 270.79329427083337,88.39897472556459 C276.97808159722223,88.39897472556459 283.16286892361114,63.96493991037978 289.34765625,63.96493991037978 C295.5324435763889,63.96493991037978 301.71723090277777,80.9314320263608 307.9020182291667,80.9314320263608 C314.0868055555556,80.9314320263608 320.27159288194446,60.30690675691305 326.45638020833337,60.30690675691305 C332.64116753472223,60.30690675691305 338.82595486111114,80.67911579309319 345.0107421875,80.67911579309319 C351.1955295138889,80.67911579309319 357.38031684027777,67.55382714087668 363.5651041666667,67.55382714087668 C369.7498914930556,67.55382714087668 375.93467881944446,81.05597396275368 382.11946614583337,81.05597396275368 C388.30425347222223,81.05597396275368 394.48904079861114,54.64612249628824 400.673828125,54.64612249628824 C406.8586154513889,54.64612249628824 413.04340277777777,55.13964865957763 419.2281901041667,55.91372079887162 C425.4129774305556,56.687792938165614 431.59776475694446,69.73490119628686 437.78255208333337,69.73490119628686 C443.96733940972223,69.73490119628686 450.15212673611114,64.42569974333888 456.3369140625,61.42720502984072 C462.5217013888889,58.42871031634255 468.70648871527777,51.619770711423186 474.8912760416667,51.619770711423186 C481.0760633680556,51.619770711423186 487.26085069444446,71.43616197640954 493.44563802083337,81.34435760890271 L493.44563802083337,90 ","stroke-linecap":"round","stroke-linejoin":"round"},null,8,q),e.createElementVNode("path",{fill:`url(#ridgeline-gradient-${d.value})`,stroke:t.value.style.ridgeline.color,"stroke-width":"1",d:"M66.6953125,120 L66.6953125,120 C72.88009982638889,119.66196806626975 79.06488715277779,119.44533270180851 85.24967447916667,118.98590419880924 C91.43446180555556,118.52647569580996 97.61924913194446,117.81773649883283 103.80403645833334,116.83526495762351 C109.98882378472223,115.85279341641419 116.17361111111111,113.13699308912776 122.3583984375,112.1532391330314 C128.54318576388889,111.16948517693505 134.7279730902778,109.99850075011585 140.91276041666669,109.99850075011585 C147.09754774305557,109.99850075011585 153.28233506944446,110.52302856658399 159.46712239583334,111.20320255966007 C165.65190972222223,111.88337655273615 171.83669704861111,117.86718432281516 178.021484375,117.86718432281516 C184.20627170138889,117.86718432281516 190.3910590277778,105.7185696258208 196.57584635416669,105.7185696258208 C202.76063368055557,105.7185696258208 208.94542100694446,110.31751295094999 215.13020833333334,110.31751295094999 C221.31499565972223,110.31751295094999 227.49978298611111,99.70404230342633 233.6845703125,98.99064382512827 C239.86935763888889,98.27724534683021 246.0541449652778,97.80890189925606 252.23893229166669,97.80890189925606 C258.4237196180556,97.80890189925606 264.60850694444446,115.55764695626283 270.79329427083337,116.03253869768785 C276.97808159722223,116.50743043911288 283.16286892361114,116.77385330737809 289.34765625,116.77385330737809 C295.5324435763889,116.77385330737809 301.71723090277777,99.67826782033458 307.9020182291667,99.67826782033458 C314.0868055555556,99.67826782033458 320.27159288194446,112.3566918690216 326.45638020833337,112.3566918690216 C332.64116753472223,112.3566918690216 338.82595486111114,112.02516373585607 345.0107421875,111.68929597325065 C351.1955295138889,111.35342821064523 357.38031684027777,110.90183216475394 363.5651041666667,109.63399668493035 C369.7498914930556,108.36616120510676 375.93467881944446,84.17797508108582 382.11946614583337,84.17797508108582 C388.30425347222223,84.17797508108582 394.48904079861114,94.53076076341709 400.673828125,94.53076076341709 C406.8586154513889,94.53076076341709 413.04340277777777,73.4620627222233 419.2281901041667,73.4620627222233 C425.4129774305556,73.4620627222233 431.59776475694446,106.73221498100051 437.78255208333337,106.73221498100051 C443.96733940972223,106.73221498100051 450.15212673611114,79.76344757126915 456.3369140625,79.76344757126915 C462.5217013888889,79.76344757126915 468.70648871527777,106.72764789963081 474.8912760416667,107.12246048541942 C481.0760633680556,107.51727307120804 487.26085069444446,107.52600835218848 493.44563802083337,107.72778228557301 L493.44563802083337,120 ","stroke-linecap":"round","stroke-linejoin":"round"},null,8,H),e.createElementVNode("path",{fill:`url(#ridgeline-gradient-${d.value})`,stroke:t.value.style.ridgeline.color,"stroke-width":"1",d:"M66.6953125,150 L66.6953125,150 C72.88009982638889,149.47795029840844 79.06488715277779,148.4338508952253 85.24967447916667,148.4338508952253 C91.43446180555556,148.4338508952253 97.61924913194446,149.78862806087534 103.80403645833334,149.78862806087534 C109.98882378472223,149.78862806087534 116.17361111111111,148.04072353168746 122.3583984375,146.60906937938194 C128.54318576388889,145.1774152270764 134.7279730902778,139.99324557351443 140.91276041666669,139.99324557351443 C147.09754774305557,139.99324557351443 153.28233506944446,149.97273754861985 159.46712239583334,149.97273754861985 C165.65190972222223,149.97273754861985 171.83669704861111,145.03376687065332 178.021484375,144.32772797689168 C184.20627170138889,143.62168908313004 190.3910590277778,143.8107253736048 196.57584635416669,143.02409560735822 C202.76063368055557,142.23746584111163 208.94542100694446,130.58782434985233 215.13020833333334,130.58782434985233 C221.31499565972223,130.58782434985233 227.49978298611111,149.11182283334733 233.6845703125,149.11182283334733 C239.86935763888889,149.11182283334733 246.0541449652778,146.61934000905183 252.23893229166669,146.61934000905183 C258.4237196180556,146.61934000905183 264.60850694444446,149.63856103727883 270.79329427083337,149.63856103727883 C276.97808159722223,149.63856103727883 283.16286892361114,120.24508280084818 289.34765625,120.24508280084818 C295.5324435763889,120.24508280084818 301.71723090277777,125.8060617486636 307.9020182291667,128.6125576296939 C314.0868055555556,131.4190535107242 320.27159288194446,133.74644461824312 326.45638020833337,137.08470876232406 C332.64116753472223,140.422972906405 338.82595486111114,149.32898535510793 345.0107421875,149.32898535510793 C351.1955295138889,149.32898535510793 357.38031684027777,145.03425137258355 363.5651041666667,140.55008414046353 C369.7498914930556,136.0659169083435 375.93467881944446,111.78284121111767 382.11946614583337,111.78284121111767 C388.30425347222223,111.78284121111767 394.48904079861114,113.0713199708892 400.673828125,114.79772539893028 C406.8586154513889,116.52413082697136 413.04340277777777,133.15608044416945 419.2281901041667,133.15608044416945 C425.4129774305556,133.15608044416945 431.59776475694446,125.48444339686912 437.78255208333337,120.24326995443076 C443.96733940972223,115.0020965119924 450.15212673611114,101.73324574781462 456.3369140625,100.14499087277113 C462.5217013888889,98.55673599772764 468.70648871527777,97.44223271035757 474.8912760416667,97.44223271035757 C481.0760633680556,97.44223271035757 487.26085069444446,132.1334233728692 493.44563802083337,149.479018704125 L493.44563802083337,150 ","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Z),e.createElementVNode("path",{fill:`url(#ridgeline-gradient-${d.value})`,stroke:t.value.style.ridgeline.color,"stroke-width":"1",d:"M66.6953125,180 L66.6953125,180 C72.88009982638889,179.39605101103442 79.06488715277779,178.92730785819862 85.24967447916667,178.18815303310322 C91.43446180555556,177.44899820800782 97.61924913194446,175.33107571940982 103.80403645833334,175.33107571940982 C109.98882378472223,175.33107571940982 116.17361111111111,177.47366730075544 122.3583984375,177.47366730075544 C128.54318576388889,177.47366730075544 134.7279730902778,170.38775880855806 140.91276041666669,170.38775880855806 C147.09754774305557,170.38775880855806 153.28233506944446,171.4694838366037 159.46712239583334,172.41798939562977 C165.65190972222223,173.36649495465585 171.83669704861111,177.1729843832873 178.021484375,177.1729843832873 C184.20627170138889,177.1729843832873 190.3910590277778,174.7215709705521 196.57584635416669,172.5530222705251 C202.76063368055557,170.3844735704981 208.94542100694446,161.56078332389657 215.13020833333334,161.56078332389657 C221.31499565972223,161.56078332389657 227.49978298611111,171.1370681840353 233.6845703125,171.1370681840353 C239.86935763888889,171.1370681840353 246.0541449652778,170.88725102137704 252.23893229166669,170.45309201950832 C258.4237196180556,170.0189330176396 264.60850694444446,156.84700075078612 270.79329427083337,156.84700075078612 C276.97808159722223,156.84700075078612 283.16286892361114,174.0829766419065 289.34765625,174.0829766419065 C295.5324435763889,174.0829766419065 301.71723090277777,171.5781917260595 307.9020182291667,168.8920253992975 C314.0868055555556,166.2058590725355 320.27159288194446,153.43891051012255 326.45638020833337,150.88771611488693 C332.64116753472223,148.3365217196513 338.82595486111114,146.02799801023272 345.0107421875,146.02799801023272 C351.1955295138889,146.02799801023272 357.38031684027777,164.6350120745111 363.5651041666667,164.6350120745111 C369.7498914930556,164.6350120745111 375.93467881944446,140.42043513396675 382.11946614583337,137.9765300293455 C388.30425347222223,135.53262492472425 394.48904079861114,133.72620179898215 400.673828125,133.72620179898215 C406.8586154513889,133.72620179898215 413.04340277777777,141.64613191592866 419.2281901041667,141.64613191592866 C425.4129774305556,141.64613191592866 431.59776475694446,139.69953612312747 437.78255208333337,139.69953612312747 C443.96733940972223,139.69953612312747 450.15212673611114,169.39176477225985 456.3369140625,169.39176477225985 C462.5217013888889,169.39176477225985 468.70648871527777,166.8370171970348 474.8912760416667,163.2533085704992 C481.0760633680556,159.6695999439636 487.26085069444446,134.41776952349974 493.44563802083337,120 L493.44563802083337,180 ","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Q)],12,$)):e.createCommentVNode("",!0),n.value==="historyPlot"?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 612 512",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"12",x2:"12",y1:"12",y2:"500",stroke:t.value.style.historyPlot.color,"stroke-width":"3","stroke-linecap":"round"},null,8,G),e.createElementVNode("line",{x1:"12",x2:"600",y1:"500",y2:"500",stroke:t.value.style.historyPlot.color,"stroke-width":"3","stroke-linecap":"round"},null,8,T),e.createElementVNode("path",{d:"M 80,100 300,200 400,150 560,230 360,420 230,320",fill:"none",stroke:t.value.style.historyPlot.color,"stroke-width":"3"},null,8,R),e.createElementVNode("circle",{cx:"80",cy:"100",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,Y),e.createElementVNode("text",{x:"80",y:"108",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"1",8,D),e.createElementVNode("circle",{cx:"300",cy:"200",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,U),e.createElementVNode("text",{x:"300",y:"208",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"2",8,J),e.createElementVNode("circle",{cx:"400",cy:"150",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,K),e.createElementVNode("text",{x:"400",y:"158",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"3",8,ee),e.createElementVNode("circle",{cx:"560",cy:"230",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,te),e.createElementVNode("text",{x:"560",y:"238",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"4",8,le),e.createElementVNode("circle",{cx:"360",cy:"420",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,oe),e.createElementVNode("text",{x:"360",y:"428",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"5",8,re),e.createElementVNode("circle",{cx:"230",cy:"320",r:"24",fill:t.value.style.historyPlot.color,stroke:t.value.style.backgroundColor,"stroke-width":"3"},null,8,ne),e.createElementVNode("text",{x:"230",y:"328",fill:t.value.style.backgroundColor,"font-size":"24","text-anchor":"middle"},"6",8,se)],12,I)):e.createCommentVNode("",!0),n.value==="circlePack"?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createElementVNode("circle",{cx:50,cy:50,r:20,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ce),e.createElementVNode("circle",{cx:80,cy:50,r:10,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ie),e.createElementVNode("circle",{cx:28,cy:30,r:10,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,de),e.createElementVNode("circle",{cx:25,cy:76,r:16,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ue),e.createElementVNode("circle",{cx:60,cy:78.5,r:10,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ke),e.createElementVNode("circle",{cx:64,cy:20,r:13,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ye),e.createElementVNode("circle",{cx:72,cy:37,r:5,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,he),e.createElementVNode("circle",{cx:25,cy:45,r:5,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,me),e.createElementVNode("circle",{cx:70,cy:66,r:5,stroke:t.value.style.circlePack.color,"stroke-width":1,fill:"none"},null,8,ve)],12,ae)):e.createCommentVNode("",!0),n.value==="flow"?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 8 L 28 12 L 52 9 L 75 8 L 75 12 L 52 12 L 28 21 L 5 29 Z M 5 34 L 28 35 L 52 24 L 75 21 L 75 27 L 52 30 L 28 44 L 52 39 L 75 41 L 75 47 L 52 45 L 28 52 L 5 52 Z",stroke:t.value.style.flow.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:t.value.style.flow.color},null,8,pe)],12,_e)):e.createCommentVNode("",!0),n.value==="parallelCoordinatePlot"?(e.openBlock(),e.createElementBlock("svg",{key:5,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 80 60",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:"M 5 5 L 5 55 M 75 5 L 75 55 M 28 5 L 28 55 M 52 5 L 52 55 M 5 10 A 1 1 0 0 0 5 12 A 1 1 0 0 0 5 10 M 28 15 A 1 1 0 0 0 28 17 A 1 1 0 0 0 28 15 M 52 8 A 1 1 0 0 0 52 10 A 1 1 0 0 0 52 8 M 75 11 A 1 1 0 0 0 75 13 A 1 1 0 0 0 75 11 M 6 11 L 27 16 M 29 16 L 51 9 M 53 9 L 74 12 M 5 50 A 1 1 0 0 0 5 48 A 1 1 0 0 0 5 50 M 28 39 A 1 1 0 0 0 28 41 A 1 1 0 0 0 28 39 M 52 45 A 1 1 0 0 0 52 47 A 1 1 0 0 0 52 45 M 75 45 A 1 1 0 0 0 75 47 A 1 1 0 0 0 75 45 M 6 49 L 27 40 M 29 40 L 51 46 M 53 46 L 74 46 M 5 25 A 1 1 0 0 0 5 27 A 1 1 0 0 0 5 25 M 28 31 A 1 1 0 0 0 28 33 A 1 1 0 0 0 28 31 M 52 23 A 1 1 0 0 0 52 25 A 1 1 0 0 0 52 23 M 75 21 A 1 1 0 0 0 75 23 A 1 1 0 0 0 75 21 M 6 26 L 27 32 M 29 32 L 51 24 M 53 24 L 74 22",stroke:t.value.style.parallelCoordinatePlot.color,"stroke-width":.8,"stroke-linecap":"round","stroke-linejoin":"round",fill:t.value.style.parallelCoordinatePlot.color},null,8,fe)],12,xe)):e.createCommentVNode("",!0),n.value==="bullet"?(e.openBlock(),e.createElementBlock("svg",{key:6,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 600 96",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:24,y:12,width:300,height:72,style:{opacity:"0.8"}},null,8,Ne),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:324,y:12,width:150,height:72,style:{opacity:"0.6"}},null,8,we),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:474,y:12,width:102,height:72,style:{opacity:"0.3"}},null,8,Ee),e.createElementVNode("rect",{fill:t.value.style.bullet.color,x:24,y:36,width:490,height:24,style:{opacity:"1"}},null,8,Ve)],12,ge)):e.createCommentVNode("",!0),n.value==="dumbbell"?(e.openBlock(),e.createElementBlock("svg",{key:7,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 55",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:t.value.style.dumbbell.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Be),e.createElementVNode("path",{d:`
|
|
2
|
-
M 30,11
|
|
3
|
-
C 39,10 39,10
|
|
4
|
-
45,11
|
|
5
|
-
L 45,9
|
|
6
|
-
C 39,10 39,10
|
|
7
|
-
30,9 Z
|
|
8
|
-
`,fill:t.value.style.dumbbell.color},null,8,Me),e.createElementVNode("circle",{cx:"30",cy:"10",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,be),e.createElementVNode("circle",{cx:"46",cy:"10",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,Le),e.createElementVNode("path",{d:`
|
|
9
|
-
M 10,21
|
|
10
|
-
C 23,20 23,20
|
|
11
|
-
36,21
|
|
12
|
-
L 36,19
|
|
13
|
-
C 23,20 23,20
|
|
14
|
-
10,19 Z
|
|
15
|
-
`,fill:t.value.style.dumbbell.color},null,8,Se),e.createElementVNode("circle",{cx:"10",cy:"20",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,Ae),e.createElementVNode("circle",{cx:"36",cy:"20",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,ze),e.createElementVNode("path",{d:`
|
|
16
|
-
M 30,31
|
|
17
|
-
C 45,30 45,30
|
|
18
|
-
60,31
|
|
19
|
-
L 60,29
|
|
20
|
-
C 45,30 45,30
|
|
21
|
-
30,29 Z
|
|
22
|
-
`,fill:t.value.style.dumbbell.color},null,8,$e),e.createElementVNode("circle",{cx:"30",cy:"30",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,Pe),e.createElementVNode("circle",{cx:"60",cy:"30",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,Xe),e.createElementVNode("path",{d:`
|
|
23
|
-
M 50,41
|
|
24
|
-
C 65,40 65,40
|
|
25
|
-
80,41
|
|
26
|
-
L 80,39
|
|
27
|
-
C 65,40 65,40
|
|
28
|
-
50,39 Z
|
|
29
|
-
`,fill:t.value.style.dumbbell.color},null,8,We),e.createElementVNode("circle",{cx:"50",cy:"40",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,je),e.createElementVNode("circle",{cx:"80",cy:"40",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,Fe),e.createElementVNode("path",{d:`
|
|
30
|
-
M 40,51
|
|
31
|
-
C 65,50 65,50
|
|
32
|
-
90,51
|
|
33
|
-
L 90,49
|
|
34
|
-
C 65,50 65,50
|
|
35
|
-
40,49 Z
|
|
36
|
-
`,fill:t.value.style.dumbbell.color},null,8,Oe),e.createElementVNode("circle",{cx:"40",cy:"50",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,qe),e.createElementVNode("circle",{cx:"90",cy:"50",r:"2",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.dumbbell.color},null,8,He)],12,Ce)):e.createCommentVNode("",!0),n.value==="stripPlot"?(e.openBlock(),e.createElementBlock("svg",{key:8,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"97",stroke:t.value.style.stripPlot.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Qe),e.createElementVNode("line",{x1:"3",x2:"97",y1:"97",y2:"97",stroke:t.value.style.stripPlot.color,"stroke-width":.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ie),e.createElementVNode("circle",{cx:"12",cy:"8",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Ge),e.createElementVNode("circle",{cx:"12",cy:"40",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Te),e.createElementVNode("circle",{cx:"12",cy:"60",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Re),e.createElementVNode("circle",{cx:"12",cy:"70",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Ye),e.createElementVNode("circle",{cx:"32",cy:"25",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,De),e.createElementVNode("circle",{cx:"32",cy:"38",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Ue),e.createElementVNode("circle",{cx:"32",cy:"44",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Je),e.createElementVNode("circle",{cx:"32",cy:"55",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,Ke),e.createElementVNode("circle",{cx:"52",cy:"30",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,et),e.createElementVNode("circle",{cx:"52",cy:"33",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,tt),e.createElementVNode("circle",{cx:"52",cy:"43",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,lt),e.createElementVNode("circle",{cx:"52",cy:"63",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,ot),e.createElementVNode("circle",{cx:"52",cy:"78",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,rt),e.createElementVNode("circle",{cx:"72",cy:"58",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,nt),e.createElementVNode("circle",{cx:"72",cy:"70",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,st),e.createElementVNode("circle",{cx:"72",cy:"78",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,at),e.createElementVNode("circle",{cx:"72",cy:"88",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,ct),e.createElementVNode("circle",{cx:"92",cy:"66",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,it),e.createElementVNode("circle",{cx:"92",cy:"77",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,dt),e.createElementVNode("circle",{cx:"92",cy:"85",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,ut),e.createElementVNode("circle",{cx:"92",cy:"88",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,kt),e.createElementVNode("circle",{cx:"92",cy:"90",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,yt),e.createElementVNode("circle",{cx:"92",cy:"92",r:"4",stroke:t.value.style.backgroundColor,"stroke-width":.3,fill:t.value.style.stripPlot.color,style:{opacity:"0.5"}},null,8,ht)],12,Ze)):e.createCommentVNode("",!0),n.value==="treemap"?(e.openBlock(),e.createElementBlock("svg",{key:9,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 30 21",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{fill:"none",stroke:t.value.style.treemap.color,"stroke-width":"0.3","stroke-linecap":"round","stroke-linejoin":"round",d:"M 1 1 L 29 1 L 29 20 L 1 20 Z M 10 1 L 10 20 M 1 13 L 10 13 M 22 11 L 22 20 M 10 11 L 22 11 M 22 11 L 29 11 M 7 13 L 7 20 M 17 11 L 17 20 M 22 15 L 29 15 M 26 15 L 26 20 M 20 1 L 20 11"},null,8,vt)],12,mt)):e.createCommentVNode("",!0),n.value==="galaxy"?(e.openBlock(),e.createElementBlock("svg",{key:10,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0.5 0 20 20",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{fill:"none",stroke:t.value.style.galaxy.color,"stroke-width":"2","stroke-linecap":"round",d:"M 7 11 A 1 1 0 0 0 11 11 M 14 11 A 1 1 0 0 0 7 11 M 3 11 A 1 1 0 0 0 14 11 M 18 11 A 1 1 0 0 0 3 11 M 16.4 16 C 17 15 18 13 18 11"},null,8,pt)],12,_t)):e.createCommentVNode("",!0),n.value==="bar3d"?(e.openBlock(),e.createElementBlock("svg",{key:11,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"2 0 16 20",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{fill:"none",stroke:t.value.style.bar3d.color,"stroke-width":"0.2",d:"M10 1 6 3 6 17 10 19 14 17 14 3 10 1M6 3 10 5 14 3M10 5 10 19","stroke-linecap":"round","stroke-linejoin":"round"},null,8,ft)],12,xt)):e.createCommentVNode("",!0),n.value==="sparkHistogram"?(e.openBlock(),e.createElementBlock("svg",{key:12,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 20",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("rect",{x:"3",y:"8",height:"4",width:"6",rx:"1.5",fill:t.value.style.sparkHistogram.color},null,8,Nt),e.createElementVNode("rect",{x:"11",y:"6",height:"8",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,wt),e.createElementVNode("rect",{x:"19",y:"7",height:"6",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,Et),e.createElementVNode("rect",{x:"27",y:"6",height:"8",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,Vt),e.createElementVNode("rect",{x:"35",y:"8",height:"4",width:"6",rx:"1.5",fill:t.value.style.sparkHistogram.color},null,8,Ct),e.createElementVNode("rect",{x:"43",y:"7",height:"6",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,Bt),e.createElementVNode("rect",{x:"51",y:"8.5",height:"3",width:"6",rx:"1.5",fill:t.value.style.sparkHistogram.color},null,8,Mt),e.createElementVNode("rect",{x:"59",y:"7",height:"6",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,bt),e.createElementVNode("rect",{x:"67",y:"6",height:"8",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,Lt),e.createElementVNode("rect",{x:"75",y:"7",height:"6",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,St),e.createElementVNode("rect",{x:"83",y:"7",height:"6",width:"6",rx:"2",fill:t.value.style.sparkHistogram.color},null,8,At),e.createElementVNode("rect",{x:"91",y:"8",height:"4",width:"6",rx:"1.5",fill:t.value.style.sparkHistogram.color},null,8,zt)],12,gt)):e.createCommentVNode("",!0),n.value==="sparkbar"?(e.openBlock(),e.createElementBlock("svg",{key:13,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 500 200",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"12",x2:"488",y1:"50",y2:"50","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"0.5"},null,8,Pt),e.createElementVNode("line",{x1:"12",x2:"400",y1:"50",y2:"50","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"1"},null,8,Xt),e.createElementVNode("line",{x1:"12",x2:"488",y1:"100",y2:"100","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"0.5"},null,8,Wt),e.createElementVNode("line",{x1:"12",x2:"350",y1:"100",y2:"100","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"1"},null,8,jt),e.createElementVNode("line",{x1:"12",x2:"488",y1:"150",y2:"150","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"0.5"},null,8,Ft),e.createElementVNode("line",{x1:"12",x2:"235",y1:"150",y2:"150","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkbar.color,opacity:"1"},null,8,Ot)],12,$t)):e.createCommentVNode("",!0),n.value==="sparkStackbar"?(e.openBlock(),e.createElementBlock("svg",{key:14,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 500 64",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"12",x2:"488",y1:"32",y2:"32","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkStackbar.color,opacity:"0.5"},null,8,Ht),e.createElementVNode("line",{x1:"12",x2:"380",y1:"32",y2:"32","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkStackbar.color,opacity:"0.6"},null,8,Zt),e.createElementVNode("line",{x1:"12",x2:"200",y1:"32",y2:"32","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkStackbar.color,opacity:"0.8"},null,8,Qt),e.createElementVNode("line",{x1:"12",x2:"120",y1:"32",y2:"32","stroke-width":"16","stroke-linecap":"round",stroke:t.value.style.sparkStackbar.color,opacity:"1"},null,8,It)],12,qt)):e.createCommentVNode("",!0),n.value==="thermometer"?(e.openBlock(),e.createElementBlock("svg",{key:15,width:"100%",viewBox:"0 0 20 20",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{fill:"none",stroke:t.value.style.thermometer.color,"stroke-width":"0.2","stroke-linecap":"round",d:"M 13 4 A 1 1 0 0 0 7 4 L 7 16 A 1 1 0 0 0 13 16 L 13 4 M 7 15 L 8 15 M 7 12 L 8 12 M 7 9 L 8 9 M 7 6 L 8 6 M 12 15 L 13 15 M 12 12 L 13 12 M 12 9 L 13 9 M 12 6 L 13 6 "},null,8,Gt),e.createElementVNode("path",{stroke:t.value.style.thermometer.color,"stroke-width":"1",style:{opacity:"0.6"},d:"M 10 17 L 10 12 ","stroke-linecap":"round"},null,8,Tt),e.createElementVNode("path",{"stroke-linecap":"round",stroke:t.value.style.thermometer.color,"stroke-width":"1",opacity:"M 10 17 L 10 9"},null,8,Rt),e.createElementVNode("path",{"stroke-linecap":"round",stroke:t.value.style.thermometer.color,"stroke-width":"1",opacity:"0.3",d:"M 10 17 L 10 6"},null,8,Yt),e.createElementVNode("path",{"stroke-linecap":"round",stroke:t.value.style.thermometer.color,"stroke-width":"1",style:{opacity:"0.1"},d:"M 10 17 L 10 3"},null,8,Dt)],4)):e.createCommentVNode("",!0),n.value==="relationCircle"?(e.openBlock(),e.createElementBlock("svg",{key:16,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 20 20",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{fill:"none",stroke:t.value.style.relationCircle.color,"stroke-width":"0.2","stroke-linecap":"round",d:"M1 10A1 1 0 0019 10 1 1 0 001 10M1 10C7 11 9 13 10 19M10 19C10 11 8 7 6 2M10 19C10 11 12 7 14 2M10 19C11 13 12 11 19 10"},null,8,Jt)],12,Ut)):e.createCommentVNode("",!0),n.value==="molecule"?(e.openBlock(),e.createElementBlock("svg",{key:17,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("circle",{cx:"50",cy:"50",r:"6","stroke-width":"2",fill:"none",stroke:t.value.style.molecule.color},null,8,el),e.createElementVNode("circle",{cx:"20",cy:"50",r:"3","stroke-width":"1.6",fill:"none",stroke:t.value.style.molecule.color},null,8,tl),e.createElementVNode("circle",{cx:"80",cy:"50",r:"3","stroke-width":"1.6",fill:"none",stroke:t.value.style.molecule.color},null,8,ll),e.createElementVNode("circle",{cx:"50",cy:"20",r:"3","stroke-width":"1.6",fill:"none",stroke:t.value.style.molecule.color},null,8,ol),e.createElementVNode("circle",{cx:"50",cy:"80",r:"3","stroke-width":"1.6",fill:"none",stroke:t.value.style.molecule.color},null,8,rl),e.createElementVNode("line",{x1:"50",x2:"50",y1:"23",y2:"45","stroke-width":"1",stroke:t.value.style.molecule.color},null,8,nl),e.createElementVNode("line",{x1:"50",x2:"50",y1:"77",y2:"55","stroke-width":"1",stroke:t.value.style.molecule.color},null,8,sl),e.createElementVNode("line",{x1:"23",x2:"45",y1:"50",y2:"50","stroke-width":"1",stroke:t.value.style.molecule.color},null,8,al),e.createElementVNode("line",{x1:"77",x2:"55",y1:"50",y2:"50","stroke-width":"1",stroke:t.value.style.molecule.color},null,8,cl)],12,Kt)):e.createCommentVNode("",!0),n.value==="tiremarks"?(e.openBlock(),e.createElementBlock("svg",{key:18,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 312 56",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(100,o=>e.createElementVNode("g",null,[e.createElementVNode("line",{x1:10+o*2.9,y1:6,x2:10+o*2.9,y2:50,stroke:t.value.style.tiremarks.color,style:e.normalizeStyle(o>80?"opacity: 0.5":""),"stroke-linecap":"round"},null,12,dl)])),64))],12,il)):e.createCommentVNode("",!0),n.value==="pyramid"?(e.openBlock(),e.createElementBlock("svg",{key:19,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 105 80",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,(o,r)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:50-o[0],y:r*(80/k.value.length),width:o[0],height:80/k.value.length*.95,fill:t.value.style.pyramid.color},null,8,kl),e.createElementVNode("rect",{x:55,y:r*(80/k.value.length),width:o[1],height:80/k.value.length*.95,fill:t.value.style.pyramid.color},null,8,yl)]))),256))],12,ul)):e.createCommentVNode("",!0),n.value==="rings"?(e.openBlock(),e.createElementBlock("svg",{key:20,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 400 400",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("circle",{cx:200,cy:200,r:180,fill:e.unref(l.setOpacity)(t.value.style.rings.color,40)},null,8,ml),e.createElementVNode("circle",{cx:200,cy:250,r:130,fill:e.unref(l.setOpacity)(t.value.style.rings.color,60)},null,8,vl),e.createElementVNode("circle",{cx:200,cy:290,r:90,fill:e.unref(l.setOpacity)(t.value.style.rings.color,100)},null,8,_l)],12,hl)):e.createCommentVNode("",!0),n.value==="wheel"?(e.openBlock(),e.createElementBlock("svg",{key:21,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 400 400",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(o,r)=>(e.openBlock(),e.createElementBlock("line",{x1:o.x1,x2:o.x2,y1:o.y1,y2:o.y2,stroke:r<66?o.color:e.unref(l.setOpacity)(o.color,50),"stroke-width":5,"stroke-linecap":"round"},null,8,xl))),256)),e.createElementVNode("circle",{cx:200,cy:200,r:130,"stroke-width":3,stroke:e.unref(l.setOpacity)(t.value.style.wheel.color,50),fill:"none"},null,8,fl),e.createElementVNode("rect",{fill:e.unref(l.setOpacity)(t.value.style.wheel.color,50),rx:12,x:160,y:170,height:60,width:80,stroke:"none"},null,8,gl)],12,pl)):e.createCommentVNode("",!0),n.value==="sparkline"?(e.openBlock(),e.createElementBlock("svg",{key:22,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 150 32",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("g",null,[e.createElementVNode("rect",{x:"2",y:"2",height:"6",width:"24",fill:t.value.style.sparkline.color,rx:"3"},null,8,wl),e.createElementVNode("rect",{x:"2",y:"12",height:"16",width:"16",fill:t.value.style.sparkline.color,rx:"3"},null,8,El)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(o,r)=>(e.openBlock(),e.createElementBlock("g",null,[r<h.value.length-1?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,y1:o.y,x2:h.value[r+1].x,y2:h.value[r+1].y,"stroke-width":t.value.style.sparkline.strokeWidth,stroke:t.value.style.sparkline.color,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Vl)):e.createCommentVNode("",!0)]))),256))],12,Nl)):e.createCommentVNode("",!0),n.value==="candlesticks"?(e.openBlock(),e.createElementBlock("svg",{key:23,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 512 316",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),t.value.style.candlesticks.axis.show?(e.openBlock(),e.createElementBlock("g",Bl,[e.createElementVNode("line",{x1:2,x2:2,y1:2,y2:314,stroke:t.value.style.candlesticks.axis.color,"stroke-width":t.value.style.candlesticks.axis.strokeWidth,"stroke-linecap":"round"},null,8,Ml),e.createElementVNode("line",{x1:2,x2:510,y1:314,y2:314,stroke:t.value.style.candlesticks.axis.color,"stroke-width":t.value.style.candlesticks.axis.strokeWidth,"stroke-linecap":"round"},null,8,bl)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(o,r)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("line",{x1:24+464*r/(c.value.length-1)-464/(c.value.length-1)/8,x2:24+464*r/(c.value.length-1)+464/(c.value.length-1)/8,y1:o.y,y2:o.y,stroke:t.value.style.candlesticks.candle.color,"stroke-width":t.value.style.candlesticks.candle.strokeWidth,"stroke-linecap":"round"},null,8,Ll),e.createElementVNode("line",{x1:24+464*r/(c.value.length-1)-464/(c.value.length-1)/8,x2:24+464*r/(c.value.length-1)+464/(c.value.length-1)/8,y1:o.y+o.height,y2:o.y+o.height,stroke:t.value.style.candlesticks.candle.color,"stroke-width":t.value.style.candlesticks.candle.strokeWidth,"stroke-linecap":"round"},null,8,Sl),e.createElementVNode("line",{x1:24+464*r/(c.value.length-1),x2:24+464*r/(c.value.length-1),y1:o.y,y2:o.y+o.height,stroke:t.value.style.candlesticks.candle.color,"stroke-width":t.value.style.candlesticks.candle.strokeWidth,"stroke-linecap":"round"},null,8,Al),e.createElementVNode("rect",{x:24+464*r/(c.value.length-1)-464/(c.value.length-1)/8,y:o.y+(o.height-o.bar*1.5),height:o.bar,width:464/(c.value.length-1)/4,fill:t.value.style.candlesticks.candle.color,rx:"1"},null,8,zl)]))),256))],12,Cl)):e.createCommentVNode("",!0),n.value==="heatmap"?(e.openBlock(),e.createElementBlock("svg",{key:24,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:`0 0 ${10*t.value.style.heatmap.cellsX} ${10*t.value.style.heatmap.cellsY}`,style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.style.heatmap.cellsY,(o,r)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value.style.heatmap.cellsX,(v,i)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:i*10,y:r*10,height:10,width:10,stroke:t.value.style.backgroundColor,"stroke-width":1,fill:e.unref(l.setOpacity)(t.value.style.heatmap.color,Math.round(Math.random()*100))},null,8,Pl)]))),256))]))),256))],12,$l)):e.createCommentVNode("",!0),n.value==="chestnut"?(e.openBlock(),e.createElementBlock("svg",{key:25,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 512 316",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,o=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.bars,r=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(22,(v,i)=>e.createElementVNode("path",{d:`M
|
|
37
|
-
${r.x},${r.y+i}
|
|
38
|
-
C${r.x-20},${r.y+i}
|
|
39
|
-
${r.x-80},${r.y+i}
|
|
40
|
-
${o.root.x+o.root.r/2}, ${o.root.y}
|
|
41
|
-
`,stroke:e.unref(l.setOpacity)(t.value.style.chestnut.color,r.opacity*.2),fill:"none","stroke-width":"2","shape-rendering":"cirspEdges"},null,8,Wl)),64))]))),256))]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,o=>(e.openBlock(),e.createElementBlock("circle",{cx:o.root.x,cy:o.root.y,r:o.root.r,fill:`${t.value.style.backgroundColor}`,stroke:t.value.backgroundColor,"stroke-width":3},null,8,jl))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,o=>(e.openBlock(),e.createElementBlock("circle",{cx:o.root.x,cy:o.root.y,r:o.root.r,fill:e.unref(l.setOpacity)(t.value.style.chestnut.color,o.root.opacity),stroke:t.value.style.backgroundColor,"stroke-width":3},null,8,Fl))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,o=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.bars,r=>(e.openBlock(),e.createElementBlock("rect",{rx:"2",x:r.x,y:r.y,width:r.width,height:22,fill:e.unref(l.setOpacity)(t.value.style.chestnut.color,r.opacity)},null,8,Ol))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.bars,r=>(e.openBlock(),e.createElementBlock("circle",{cx:r.x+r.width+32,cy:r.y+11,r:11,fill:e.unref(l.setOpacity)(t.value.style.chestnut.color,r.opacity)},null,8,ql))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.bars,r=>(e.openBlock(),e.createElementBlock("circle",{cx:r.x+r.width+32,cy:r.y+11,r:5,fill:t.value.style.backgroundColor},null,8,Hl))),256))]))),256)),e.createElementVNode("line",{x1:200,x2:200,y1:10,y2:300,stroke:t.value.style.backgroundColor,"stroke-width":3},null,8,Zl)],12,Xl)):e.createCommentVNode("",!0),n.value==="donutEvolution"?(e.openBlock(),e.createElementBlock("svg",{key:26,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 108 70",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),t.value.style.line.axis.show?(e.openBlock(),e.createElementBlock("path",{key:0,d:"M3 3 3 67 105 67",stroke:t.value.style.donutEvolution.axis.color,"stroke-width":t.value.style.donutEvolution.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,Il)):e.createCommentVNode("",!0),e.createElementVNode("path",{fill:"none",d:"M10 55A1 1 0 0020 55 1 1 0 0010 55M12 55A1 1 0 0018 55 1 1 0 0012 55M10 55 12 55M15 52 15 50M27 45A1 1 0 0037 45 1 1 0 0027 45M29 45A1 1 0 0035 45 1 1 0 0029 45M32 48 32 50M35 45 37 45M44 50A1 1 0 0054 50 1 1 0 0044 50M46 50A1 1 0 0052 50 1 1 0 0046 50M49 45 49 47M49 53 49 55M61 35A1 1 0 0071 35 1 1 0 0061 35M63 35A1 1 0 0069 35 1 1 0 0063 35M66 30 66 32M61 35 63 35M78 41A1 1 0 0088 41 1 1 0 0078 41M80 41A1 1 0 0086 41 1 1 0 0080 41M78 41 80 41M86 41 88 41M95 14A1 1 0 00105 14 1 1 0 0095 14M97 14A1 1 0 00103 14 1 1 0 0097 14M95 14 97 14M100 17 100 19",stroke:t.value.style.donutEvolution.donuts.color,"stroke-width":t.value.style.donutEvolution.donuts.strokeWidth},null,8,Gl),e.createElementVNode("path",{fill:"none",d:"M19 52 27 45M37 45 44 49M52 46 62 38M71 36 78 40M86 37 97 18",stroke:t.value.style.donutEvolution.axis.color,"stroke-width":t.value.style.donutEvolution.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Tl),e.createElementVNode("path",{d:"M10 55 12 55C12 53 14 52 15 52L15 50C13 50 10 52 10 55",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Rl),e.createElementVNode("path",{d:"M32 48 32 50C35 50 37 47 37 45L35 45C35 47 33 48 32 48",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Yl),e.createElementVNode("path",{d:"M49 53 49 55A1 1 0 0049 45L49 47C53 47 53 53 49 53",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Dl),e.createElementVNode("path",{d:"M63 35C63 33 65 32 66 32L66 30C63 30 61 33 61 35L63 35",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Ul),e.createElementVNode("path",{d:"M78 41A1 1 0 0088 41L86 41C86 45 80 45 80 41L78 41",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Jl),e.createElementVNode("path",{d:"M95 14C95 17 98 19 100 19L100 17C99 17 97 16 97 14L95 14",fill:t.value.style.donutEvolution.donuts.color,stroke:"none",style:{opacity:"0.3"}},null,8,Kl)],12,Ql)):e.createCommentVNode("",!0),n.value==="line"?(e.openBlock(),e.createElementBlock("svg",{key:27,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 70",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),t.value.style.line.axis.show?(e.openBlock(),e.createElementBlock("g",to,[e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:t.value.style.line.axis.color,"stroke-width":t.value.style.line.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,lo),e.createElementVNode("line",{x1:"3",x2:"97",y1:"67",y2:"67",stroke:t.value.style.line.axis.color,"stroke-width":t.value.style.line.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,oo)])):e.createCommentVNode("",!0),e.createElementVNode("path",{d:"M 9,60 22,50 35,55 48,36 61,40 74,25 87,26 90,12",fill:"none","stroke-linecap":"round","stroke-linejoin":"round",stroke:t.value.style.line.path.color,"stroke-width":t.value.style.line.path.strokeWidth},null,8,ro),t.value.style.line.path.showPlots?(e.openBlock(),e.createElementBlock("g",no,[e.createElementVNode("circle",{cx:"9",cy:"60",r:t.value.style.line.path.strokeWidth,fill:t.value.style.line.path.color},null,8,so),e.createElementVNode("circle",{cx:"90",cy:"12",r:t.value.style.line.path.strokeWidth,fill:t.value.style.line.path.color},null,8,ao)])):e.createCommentVNode("",!0)],12,eo)):e.createCommentVNode("",!0),n.value==="bar"?(e.openBlock(),e.createElementBlock("svg",{key:28,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 70",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),t.value.style.bar.axis.show?(e.openBlock(),e.createElementBlock("g",io,[e.createElementVNode("line",{x1:"3",x2:"3",y1:"3",y2:"67",stroke:t.value.style.bar.axis.color,"stroke-width":t.value.style.bar.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,uo),e.createElementVNode("line",{x1:"3",x2:"97",y1:"67",y2:"67",stroke:t.value.style.bar.axis.color,"stroke-width":t.value.style.bar.axis.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,ko)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(o,r)=>(e.openBlock(),e.createElementBlock("rect",{fill:t.value.style.bar.color,rx:t.value.style.bar.borderRadius,x:6+11.2*r,y:o,width:t.value.style.bar.barWidth,height:67-o},null,8,yo))),256))],12,co)):e.createCommentVNode("",!0),n.value==="donut"?(e.openBlock(),e.createElementBlock("svg",{key:29,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 400 400",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:" M 300 200 A 100 100 0 0 1 113 250",fill:"none","stroke-width":t.value.style.donut.strokeWidth,stroke:t.value.style.donut.color},null,8,mo),e.createElementVNode("path",{d:" M 113 250 A 100 100 0 0 1 250 113",fill:"none","stroke-width":t.value.style.donut.strokeWidth,stroke:e.unref(l.setOpacity)(t.value.style.donut.color,60)},null,8,vo),e.createElementVNode("path",{d:" M 250 113 A 100 100 0 0 1 300 200",fill:"none","stroke-width":t.value.style.donut.strokeWidth,stroke:e.unref(l.setOpacity)(t.value.style.donut.color,30)},null,8,_o)],12,ho)):e.createCommentVNode("",!0),n.value==="onion"?(e.openBlock(),e.createElementBlock("svg",{key:30,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 400 400",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:" M 200 60 A 140 140 0 1 1 60 200",stroke:t.value.style.onion.color,"stroke-linecap":"round","stroke-width":"20",fill:"none"},null,8,xo),e.createElementVNode("path",{d:" M 200 100 A 100 100 0 1 1 100 200",stroke:e.unref(l.setOpacity)(t.value.style.onion.color,60),"stroke-linecap":"round","stroke-width":"20",fill:"none"},null,8,fo),e.createElementVNode("path",{d:" M 200 140 A 60 60 0 1 1 140 200",fill:"none",stroke:e.unref(l.setOpacity)(t.value.style.onion.color,40),"stroke-linecap":"round","stroke-width":"20"},null,8,go)],12,po)):e.createCommentVNode("",!0),n.value==="gauge"?(e.openBlock(),e.createElementBlock("svg",{key:31,width:"100%",viewBox:"0 0 400 400",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:" M 82 255 A 120 120 0 1 1 318 255",fill:"none",stroke:t.value.style.gauge.color,"stroke-linecap":"round","stroke-width":"20"},null,8,No),e.createElementVNode("circle",{cx:"200",cy:"256",r:"12",fill:t.value.style.gauge.color},null,8,wo),e.createElementVNode("line",{x1:"200",y1:"256",x2:"250",y2:"160","stroke-width":"8",stroke:t.value.style.gauge.color,"stroke-linecap":"round"},null,8,Eo)],4)):e.createCommentVNode("",!0),n.value==="quadrant"?(e.openBlock(),e.createElementBlock("svg",{key:32,xmlns:e.unref(l.XMLNS),viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("line",{x1:"50",x2:"50",y1:"3",y2:"97",stroke:t.value.style.quadrant.grid.color,"stroke-width":t.value.style.quadrant.grid.strokeWidth},null,8,Co),e.createElementVNode("line",{x1:"3",x2:"97",y1:"50",y2:"50",stroke:t.value.style.quadrant.grid.color,"stroke-width":t.value.style.quadrant.grid.strokeWidth},null,8,Bo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"20",cy:"20"},null,8,Mo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"80",cy:"60"},null,8,bo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"65",cy:"55"},null,8,Lo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"36",cy:"67"},null,8,So),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"15",cy:"75"},null,8,Ao),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"40",cy:"55"},null,8,zo),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"76",cy:"32"},null,8,$o),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"85",cy:"26"},null,8,Po),e.createElementVNode("circle",{fill:t.value.style.quadrant.plots.color,r:t.value.style.quadrant.plots.radius,cx:"55",cy:"46"},null,8,Xo)],12,Vo)):e.createCommentVNode("",!0),n.value==="radar"?(e.openBlock(),e.createElementBlock("svg",{key:33,xmlns:e.unref(l.XMLNS),viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("path",{d:N.value,fill:"none",stroke:t.value.style.radar.grid.color,"stroke-width":t.value.style.radar.grid.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,jo),e.createElementVNode("path",{d:w.value,fill:"none",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,70),"stroke-width":t.value.style.radar.grid.strokeWidth/2,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Fo),e.createElementVNode("path",{d:E.value,fill:"none",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,70),"stroke-width":t.value.style.radar.grid.strokeWidth/2,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,Oo),e.createElementVNode("path",{d:V.value,fill:"none",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,70),"stroke-width":t.value.style.radar.grid.strokeWidth/2.5,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,qo),e.createElementVNode("path",{d:"M 9,50 91,50",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,50),"stroke-width":t.value.style.radar.grid.strokeWidth/2},null,8,Ho),e.createElementVNode("path",{d:"M 29.5,14.5 70.5 85.5",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,50),"stroke-width":t.value.style.radar.grid.strokeWidth/2},null,8,Zo),e.createElementVNode("path",{d:"M 29.5,85.5 70.5 14.5",stroke:e.unref(l.setOpacity)(t.value.style.radar.grid.color,50),"stroke-width":t.value.style.radar.grid.strokeWidth/2},null,8,Qo),e.createElementVNode("path",{d:"M 34,23 68.5,18, 70,50 61.5,70 35,75.5 10,50 Z",stroke:"none","stroke-linejoin":"round",fill:e.unref(l.setOpacity)(t.value.style.radar.shapes.color,30)},null,8,Io),e.createElementVNode("path",{d:"M 43.5,40 64.5,25, 84,50 55.5,60 29.5,85.5 25,50 Z",stroke:"none","stroke-linejoin":"round",fill:e.unref(l.setOpacity)(t.value.style.radar.shapes.color,50)},null,8,Go)],12,Wo)):e.createCommentVNode("",!0),n.value==="waffle"?(e.openBlock(),e.createElementBlock("svg",{key:34,xmlns:e.unref(l.XMLNS),viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(o,r)=>e.createElementVNode("g",null,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(v,i)=>e.createElementVNode("g",null,[e.createElementVNode("rect",{x:3+i*9.5,y:3+r*9.5,height:9,width:9,fill:e.unref(l.setOpacity)(t.value.style.waffle.color,20),rx:"1"},null,8,Ro)])),64))])),64)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(o,r)=>e.createElementVNode("g",null,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(v,i)=>e.createElementVNode("g",null,[r>2?(e.openBlock(),e.createElementBlock("rect",{key:0,x:3+i*9.5,y:3+r*9.5,height:9,width:9,fill:e.unref(l.setOpacity)(t.value.style.waffle.color,30),rx:"1"},null,8,Yo)):e.createCommentVNode("",!0)])),64))])),64)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(o,r)=>e.createElementVNode("g",null,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(10,(v,i)=>e.createElementVNode("g",null,[r>6?(e.openBlock(),e.createElementBlock("rect",{key:0,x:3+i*9.5,y:3+r*9.5,height:9,width:9,fill:e.unref(l.setOpacity)(t.value.style.waffle.color,50),rx:"1"},null,8,Do)):e.createCommentVNode("",!0)])),64))])),64))],12,To)):e.createCommentVNode("",!0),n.value==="table"?(e.openBlock(),e.createElementBlock("svg",{key:35,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 70",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),e.createElementVNode("rect",{fill:e.unref(l.setOpacity)(t.value.style.table.th.color,50),x:3.5,y:5,height:"10",width:"93"},null,8,Jo),e.createElementVNode("rect",{fill:e.unref(l.setOpacity)(t.value.style.table.th.color,50),x:3.5,y:15,height:"50",width:"23.25"},null,8,Ko),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(7,(o,r)=>e.createElementVNode("line",{x1:"3.7",x2:"96.3",y1:5+r*10,y2:5+r*10,stroke:t.value.style.table.td.color,"stroke-width":t.value.style.table.td.strokeWidth,"stroke-linecap":"round"},null,8,e1)),64)),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,(o,r)=>e.createElementVNode("line",{x1:3.5+r*23.25,x2:3.5+r*23.25,y1:"5",y2:"65",stroke:t.value.style.table.td.color,"stroke-width":t.value.style.table.td.strokeWidth,"stroke-linecap":"round"},null,8,t1)),64))],12,Uo)):e.createCommentVNode("",!0),n.value==="rating"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:36},[t.value.style.rating.useSmiley?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`display:flex;flex-direction:row;align-items:center;justify-content:center;width:${t.value.style.rating.maxWidth}px`)},[t.value.style.rating.filled?(e.openBlock(),e.createElementBlock("svg",{key:0,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},[e.createVNode(s._sfc_main),a[0]||(a[0]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.rating.color},null,8,o1)],12,l1)):(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},a[1]||(a[1]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-62578896></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-62578896></path><path d="M9 10l.01 0" data-v-62578896></path><path d="M15 10l.01 0" data-v-62578896></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-62578896></path>',5)]),12,r1)),t.value.style.rating.filled?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},[a[2]||(a[2]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.rating.color},null,8,s1)],12,n1)):(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},a[3]||(a[3]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-62578896></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-62578896></path><path d="M9 10l.01 0" data-v-62578896></path><path d="M15 10l.01 0" data-v-62578896></path><path d="M9 15l6 0" data-v-62578896></path>',5)]),12,a1)),t.value.style.rating.filled?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},[a[4]||(a[4]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.rating.color},null,8,i1)],12,c1)):(e.openBlock(),e.createElementBlock("svg",{key:5,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},a[5]||(a[5]=[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1),e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1),e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)]),12,d1)),t.value.style.rating.filled?(e.openBlock(),e.createElementBlock("svg",{key:6,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},[a[6]||(a[6]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:t.value.style.rating.color},null,8,k1)],12,u1)):(e.openBlock(),e.createElementBlock("svg",{key:7,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},a[7]||(a[7]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-62578896></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-62578896></path><path d="M9 10l.01 0" data-v-62578896></path><path d="M15 10l.01 0" data-v-62578896></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-62578896></path>',5)]),12,y1)),t.value.style.rating.filled?(e.openBlock(),e.createElementBlock("svg",{key:8,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},[a[8]||(a[8]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:t.value.style.rating.color},null,8,m1)],12,h1)):(e.openBlock(),e.createElementBlock("svg",{key:9,xmlns:e.unref(l.XMLNS),style:e.normalizeStyle(`width:${t.value.style.rating.maxWidth/5}px;aspect-ratio: 1 / 1`),viewBox:"0 0 24 24","stroke-width":"1.5",stroke:t.value.style.rating.color,"stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},a[9]||(a[9]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-62578896></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-62578896></path><path d="M9 9l.01 0" data-v-62578896></path><path d="M15 9l.01 0" data-v-62578896></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-62578896></path>',5)]),12,v1))],4)):(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 30",style:e.normalizeStyle(`background:${t.value.style.backgroundColor};max-width:${t.value.style.rating.maxWidth}px`)},[e.createVNode(s._sfc_main),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,(o,r)=>e.createElementVNode("polygon",{points:e.unref(l.createStar)({plot:{x:10+r*20,y:15},radius:6}),fill:t.value.style.rating.filled?t.value.style.rating.color:"none",stroke:t.value.style.rating.color,"stroke-width":t.value.style.rating.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,8,p1)),64))],12,_1))],64)):e.createCommentVNode("",!0),n.value==="verticalBar"?(e.openBlock(),e.createElementBlock("svg",{key:37,xmlns:e.unref(l.XMLNS),width:"100%",viewBox:"0 0 100 100",style:e.normalizeStyle(`background:${t.value.style.backgroundColor}`)},[e.createVNode(s._sfc_main),t.value.style.verticalBar.axis.show?(e.openBlock(),e.createElementBlock("g",f1,[e.createElementVNode("line",{x1:3,x2:3,y1:3,y2:97,stroke:t.value.style.verticalBar.axis.color,"stroke-width":t.value.style.verticalBar.axis.strokeWidth},null,8,g1)])):e.createCommentVNode("",!0),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(6,(o,r)=>e.createElementVNode("rect",{x:3,y:5+r*15.6,height:"12",width:94-94*r/6,fill:t.value.style.verticalBar.color,rx:t.value.style.verticalBar.borderRadius},null,8,N1)),64))],12,x1)):e.createCommentVNode("",!0)],14,L))}},E1=b._export_sfc(w1,[["__scopeId","data-v-62578896"]]);exports.default=E1;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-Cn2tUOoX.cjs"),B=require("./useNestedProp-C8955nsn.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={key:0,class:"vue-ui-rating-title",style:{width:"100%"}},R=["xmlns","stroke"],L={id:"vueUiSmiley0"},H=["stop-color"],X=["stop-color"],j=["fill"],D=["stroke"],U=["xmlns","viewBox","stroke"],G={id:"vueUiSmiley0"},A=["stop-color"],Y=["stop-color"],K=["fill"],T=["viewBox","stroke"],O=["xmlns","stroke"],F={id:"vueUiSmiley1"},I=["stop-color"],q=["stop-color"],P=["fill"],J=["xmlns","stroke"],Q=["xmlns","viewBox","stroke"],W={id:"vueUiSmiley1"},Z=["stop-color"],ee=["stop-color"],te=["fill"],le=["viewBox","stroke"],oe=["xmlns","stroke"],ae={id:"vueUiSmiley2"},ne=["stop-color"],ie=["stop-color"],se=["fill"],re=["xmlns","stroke"],de=["xmlns","viewBox","stroke"],ue={id:"vueUiSmiley2"},pe=["stop-color"],ve=["stop-color"],ye=["fill"],ce=["xmlns","viewBox","stroke"],fe=["xmlns","stroke"],me={id:"vueUiSmiley3"},he=["stop-color"],ke=["stop-color"],ge=["fill"],be=["xmlns","stroke"],xe=["xmlns","viewBox","stroke"],Ne={id:"vueUiSmiley3"},Ve=["stop-color"],ze=["stop-color"],Ee=["fill"],$e=["xmlns","viewBox","stroke"],Se=["xmlns","stroke"],we={id:"vueUiSmiley4"},Me=["stop-color"],Be=["stop-color"],Ce=["fill"],_e=["xmlns","stroke"],Re=["xmlns","viewBox","stroke"],Le={id:"vueUiSmiley4"},He=["stop-color"],Xe=["stop-color"],je=["fill"],De=["xmlns","viewBox","stroke"],Ue={__name:"vue-ui-smiley",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["rate"],setup(g,{expose:b,emit:x}){const{vue_ui_smiley:N}=o.useConfig(),i=g,V=e.useSlots();e.onMounted(()=>{V["chart-background"]&&console.warn("VueUiSmiley does not support the #chart-background slot.")}),e.onMounted(()=>{c()});function c(){(!Object.hasOwn(i.dataset,"rating")||o.objectIsEmpty(i.dataset))&&o.error({componentName:"VueUiSmiley",type:"datasetAttribute",property:"rating"})}const f=e.ref(!1),s=e.ref(void 0),z=x,t=e.computed({get:()=>m(),set:n=>n});function m(){return B.useNestedProp({userConfig:i.config,defaultConfig:N})}e.watch(()=>i.config,n=>{t.value=m(),c()},{deep:!0});const E=e.computed(()=>typeof i.dataset.rating=="object"&&!Array.isArray(i.dataset.rating)?$(i.dataset.rating):i.dataset.rating||null),y=e.computed(()=>typeof i.dataset.rating=="object"&&!Array.isArray(i.dataset.rating)),r=e.ref(E.value),d=e.computed(()=>t.value.readonly);function $(n){if(n===null)return null;let l=0,a=0;for(const h in n){const M=parseInt(h),k=n[h];l+=M*k,a+=k}return a===0?0:l/a}function p(n){const l=r.value-n,a=24;switch(!0){case l<0:return 0;case l>1:return 1*a;default:return l*a}}function v(n){d.value||(r.value=n,z("rate",n))}function S(){return r.value}function w(n=!0){d.value=n}b({getData:S,toggleReadonly:w});function u(n){return t.value.readonly?t.value.style.colors.inactive[n]:r.value===n+1?t.value.style.icons.useGradient&&t.value.style.icons.filled?`url(#vueUiSmiley${n})`:t.value.style.colors.active[n]:s.value!==void 0&&s.value===n?t.value.style.icons.useGradient&&t.value.style.icons.filled?`url(#vueUiSmiley${n})`:t.value.style.colors.active[n]:t.value.style.colors.inactive[n]}return(n,l)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-smiley",style:e.normalizeStyle(`background:${t.value.style.backgroundColor};font-family:${t.value.style.fontFamily};width:100%;`),onMouseover:l[20]||(l[20]=a=>f.value=!0),onMouseleave:l[21]||(l[21]=a=>{f.value=!1,s.value=void 0})},[t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",_,[e.createElementVNode("div",{style:e.normalizeStyle(`color:${t.value.style.title.color};font-weight:${t.value.style.title.bold?"bold":"normal"};text-align:${t.value.style.title.textAlign};margin-bottom:${t.value.style.title.offsetY}px;font-size:${t.value.style.title.fontSize}px`)},e.toDisplayString(t.value.style.title.text),5),t.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`color:${t.value.style.title.subtitle.color};font-size:${t.value.style.title.subtitle.fontSize}px;text-align:${t.value.style.title.textAlign};margin-bottom:${t.value.style.title.subtitle.offsetY}px;font-weight:${t.value.style.title.subtitle.bold?"bold":"normal"}`)},e.toDisplayString(t.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.style.rating.show&&t.value.style.rating.position==="top"?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width:100%;text-align:center;margin-bottom:${t.value.style.rating.offsetY}px;font-size:${t.value.style.rating.fontSize}px;font-weight:${t.value.style.rating.bold?"bold":"normal"};margin-left:${t.value.style.rating.offsetX}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.rating.formatter,r.value,e.unref(o.dataLabel)({v:r.value,r:t.value.style.rating.roundingValue}),t.value)),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"vue-ui-smiley-wrapper",style:e.normalizeStyle(`overflow:visible;height:${t.value.style.itemSize}px;width:fit-content;margin:0 auto;display:flex;align-items:center;justify-content:center;`)},[t.value.style.rating.show&&t.value.style.rating.position==="left"?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width:fit-content;text-align:center;margin-bottom:${t.value.style.rating.offsetY}px;font-size:${t.value.style.rating.fontSize}px;font-weight:${t.value.style.rating.bold?"bold":"normal"};padding-right:${t.value.style.rating.offsetX}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.rating.formatter,r.value,e.unref(o.dataLabel)({v:r.value,r:t.value.style.rating.roundingValue}),t.value)),5)):e.createCommentVNode("",!0),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!t.value.readonly&&r.value===1}),style:e.normalizeStyle(`cursor:${t.value.readonly?"default":"pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;
|
|
2
|
-
position:relative`),onMouseenter:l[0]||(l[0]=a=>s.value=0),onMouseleave:l[1]||(l[1]=a=>s.value=void 0),onClick:l[2]||(l[2]=a=>v(1)),onKeyup:l[3]||(l[3]=e.withKeys(a=>v(1),["enter"]))},[t.value.style.tooltip.show&&y.value&&d.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${t.value.style.tooltip.borderColor};position:absolute;top:${-48+t.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${t.value.style.tooltip.backgroundColor};display:${s.value===0?"block":"none"};padding:2px 12px;border-radius:${t.value.style.tooltip.borderRadius}px;box-shadow:${t.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${t.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.style.tooltip.fontSize}px`)},"1:",4),l[22]||(l[22]=e.createTextVNode()),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${t.value.style.tooltip.bold?"bold":"normal"};font-size:${t.value.style.tooltip.fontSize}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.tooltip.formatter,i.dataset.rating[1],e.unref(o.dataLabel)({v:i.dataset.rating[1],r:t.value.style.tooltip.roundingValue}),t.value)),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${t.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),t.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(o.XMLNS),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:u(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",L,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.active[0],.05)},null,8,H),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.active[0]},null,8,X)])]),l[23]||(l[23]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u(0)},null,8,j)],8,R)):(e.openBlock(),e.createElementBlock("svg",{key:2,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:u(0),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},l[24]||(l[24]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-dabd0325></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-dabd0325></path><path d="M9 10l.01 0" data-v-dabd0325></path><path d="M15 10l.01 0" data-v-dabd0325></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-dabd0325></path>',5)]),8,D)),t.value.style.icons.filled&&d.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(o.XMLNS),style:{transition:"all 0.1s ease-in-out",position:"absolute",top:"0",left:"0"},height:"100%",viewBox:`0 0 ${p(0)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",G,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[0],.05)},null,8,A),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[0]},null,8,Y)])]),l[25]||(l[25]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 9.86a4.5 4.5 0 0 0 -3.214 1.35a1 1 0 1 0 1.428 1.4a2.5 2.5 0 0 1 3.572 0a1 1 0 0 0 1.428 -1.4a4.5 4.5 0 0 0 -3.214 -1.35zm-2.99 -4.2l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.icons.useGradient?"url(#vueUiSmiley0)":t.value.style.colors.activeReadonly[0]},null,8,K)],8,U)):e.createCommentVNode("",!0),!t.value.style.icons.filled&&d.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(0)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[0],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},l[26]||(l[26]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-dabd0325></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-dabd0325></path><path d="M9 10l.01 0" data-v-dabd0325></path><path d="M15 10l.01 0" data-v-dabd0325></path><path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" data-v-dabd0325></path>',5)]),8,T)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!t.value.readonly&&r.value===2}),style:e.normalizeStyle(`cursor:${t.value.readonly?"default":"pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:l[4]||(l[4]=a=>s.value=1),onMouseleave:l[5]||(l[5]=a=>s.value=void 0),onClick:l[6]||(l[6]=a=>v(2)),onKeyup:l[7]||(l[7]=e.withKeys(a=>v(2),["enter"]))},[t.value.style.tooltip.show&&y.value&&d.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${t.value.style.tooltip.borderColor};position:absolute;top:${-48+t.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${t.value.style.tooltip.backgroundColor};display:${s.value===1?"block":"none"};padding:2px 12px;border-radius:${t.value.style.tooltip.borderRadius}px;box-shadow:${t.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${t.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.style.tooltip.fontSize}px`)},"2:",4),l[27]||(l[27]=e.createTextVNode()),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${t.value.style.tooltip.bold?"bold":"normal"};font-size:${t.value.style.tooltip.fontSize}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.tooltip.formatter,i.dataset.rating[2],e.unref(o.dataLabel)({v:i.dataset.rating[2],r:t.value.style.tooltip.roundingValue}),t.value)),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${t.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),t.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:u(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",F,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.active[1],.05)},null,8,I),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.active[1]},null,8,q)])]),l[28]||(l[28]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u(1)},null,8,P)],8,O)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:u(1),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},l[29]||(l[29]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-dabd0325></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-dabd0325></path><path d="M9 10l.01 0" data-v-dabd0325></path><path d="M15 10l.01 0" data-v-dabd0325></path><path d="M9 15l6 0" data-v-dabd0325></path>',5)]),8,J)),t.value.style.icons.filled&&d.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(1)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",W,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[1],.05)},null,8,Z),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[1]},null,8,ee)])]),l[30]||(l[30]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 10.66h-6l-.117 .007a1 1 0 0 0 0 1.986l.117 .007h6l.117 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-5.99 -5l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.icons.useGradient?"url(#vueUiSmiley1)":t.value.style.colors.activeReadonly[1]},null,8,te)],8,Q)):e.createCommentVNode("",!0),!t.value.style.icons.filled&&d.value?(e.openBlock(),e.createElementBlock("svg",{key:4,style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(1)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[1],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},l[31]||(l[31]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-dabd0325></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-dabd0325></path><path d="M9 10l.01 0" data-v-dabd0325></path><path d="M15 10l.01 0" data-v-dabd0325></path><path d="M9 15l6 0" data-v-dabd0325></path>',5)]),8,le)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!t.value.readonly&&r.value===3}),style:e.normalizeStyle(`cursor:${t.value.readonly?"default":"pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:l[8]||(l[8]=a=>s.value=2),onMouseleave:l[9]||(l[9]=a=>s.value=void 0),onClick:l[10]||(l[10]=a=>v(3)),onKeyup:l[11]||(l[11]=e.withKeys(a=>v(3),["enter"]))},[t.value.style.tooltip.show&&y.value&&d.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${t.value.style.tooltip.borderColor};position:absolute;top:${-48+t.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${t.value.style.tooltip.backgroundColor};display:${s.value===2?"block":"none"};padding:2px 12px;border-radius:${t.value.style.tooltip.borderRadius}px;box-shadow:${t.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${t.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.style.tooltip.fontSize}px`)},"3:",4),l[32]||(l[32]=e.createTextVNode()),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${t.value.style.tooltip.bold?"bold":"normal"};font-size:${t.value.style.tooltip.fontSize}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.tooltip.formatter,i.dataset.rating[3],e.unref(o.dataLabel)({v:i.dataset.rating[3],r:t.value.style.tooltip.roundingValue}),t.value)),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${t.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),t.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:u(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",ae,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[2],.05)},null,8,ne),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[2]},null,8,ie)])]),l[33]||(l[33]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:u(2)},null,8,se)],8,oe)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:u(2),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},l[34]||(l[34]=[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1),e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1),e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)]),8,re)),t.value.style.icons.filled&&d.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(2)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[l[35]||(l[35]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",ue,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[2],.05)},null,8,pe),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[2]},null,8,ve)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-7.99 5.66l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm6 0l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z","stroke-width":"0",fill:t.value.style.icons.useGradient?"url(#vueUiSmiley2)":t.value.style.colors.activeReadonly[2]},null,8,ye)],8,de)):e.createCommentVNode("",!0),!t.value.style.icons.filled&&d.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(2)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[2],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},l[36]||(l[36]=[e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),e.createElementVNode("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"},null,-1),e.createElementVNode("path",{d:"M9 10l.01 0"},null,-1),e.createElementVNode("path",{d:"M15 10l.01 0"},null,-1)]),8,ce)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!t.value.readonly&&r.value===4}),style:e.normalizeStyle(`cursor:${t.value.readonly?"default":"pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:l[12]||(l[12]=a=>s.value=3),onMouseleave:l[13]||(l[13]=a=>s.value=void 0),onClick:l[14]||(l[14]=a=>v(4)),onKeyup:l[15]||(l[15]=e.withKeys(a=>v(4),["enter"]))},[t.value.style.tooltip.show&&y.value&&d.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${t.value.style.tooltip.borderColor};position:absolute;top:${-48+t.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${t.value.style.tooltip.backgroundColor};display:${s.value===3?"block":"none"};padding:2px 12px;border-radius:${t.value.style.tooltip.borderRadius}px;box-shadow:${t.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${t.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.style.tooltip.fontSize}px`)},"4:",4),l[37]||(l[37]=e.createTextVNode()),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${t.value.style.tooltip.bold?"bold":"normal"};font-size:${t.value.style.tooltip.fontSize}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.tooltip.formatter,i.dataset.rating[4],e.unref(o.dataLabel)({v:i.dataset.rating[4],r:t.value.style.tooltip.roundingValue}),t.value)),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${t.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),t.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:u(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",me,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[3],.95)},null,8,he),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[3]},null,8,ke)])]),l[38]||(l[38]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:u(3)},null,8,ge)],8,fe)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:u(3),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},l[39]||(l[39]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-dabd0325></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-dabd0325></path><path d="M9 10l.01 0" data-v-dabd0325></path><path d="M15 10l.01 0" data-v-dabd0325></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-dabd0325></path>',5)]),8,be)),t.value.style.icons.filled&&d.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(3)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[l[40]||(l[40]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",Ne,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[3],.95)},null,8,Ve),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[3]},null,8,ze)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.8 10.946a1 1 0 0 0 -1.414 .014a2.5 2.5 0 0 1 -3.572 0a1 1 0 0 0 -1.428 1.4a4.5 4.5 0 0 0 6.428 0a1 1 0 0 0 -.014 -1.414zm-6.19 -5.286l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:t.value.style.icons.useGradient?"url(#vueUiSmiley3)":t.value.style.colors.activeReadonly[3]},null,8,Ee)],8,xe)):e.createCommentVNode("",!0),!t.value.style.icons.filled&&d.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(3)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[3],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},l[41]||(l[41]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-dabd0325></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-dabd0325></path><path d="M9 10l.01 0" data-v-dabd0325></path><path d="M15 10l.01 0" data-v-dabd0325></path><path d="M9.5 15a3.5 3.5 0 0 0 5 0" data-v-dabd0325></path>',5)]),8,$e)):e.createCommentVNode("",!0)],38),e.createElementVNode("div",{tabindex:"0",class:e.normalizeClass({"vue-ui-smiley-rated":!t.value.readonly&&r.value===5}),style:e.normalizeStyle(`cursor:${t.value.readonly?"default":"pointer"};height:${t.value.style.itemSize}px;aspect-ratio:1/1;position:relative`),onMouseenter:l[16]||(l[16]=a=>s.value=4),onMouseleave:l[17]||(l[17]=a=>s.value=void 0),onClick:l[18]||(l[18]=a=>v(5)),onKeyup:l[19]||(l[19]=e.withKeys(a=>v(5),["enter"]))},[t.value.style.tooltip.show&&y.value&&d.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-rating-tooltip",style:e.normalizeStyle(`border:1px solid ${t.value.style.tooltip.borderColor};position:absolute;top:${-48+t.value.style.tooltip.offsetY}px;left:50%;transform:translateX(-50%);width:fit-content;text-align:center;background:${t.value.style.tooltip.backgroundColor};display:${s.value===4?"block":"none"};padding:2px 12px;border-radius:${t.value.style.tooltip.borderRadius}px;box-shadow:${t.value.style.tooltip.boxShadow}`)},[e.createElementVNode("div",{style:e.normalizeStyle(`width:100%;display:flex;flex-direction:row;gap:6px;position:relative;text-align:center;color:${t.value.style.tooltip.color}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`font-size:${t.value.style.tooltip.fontSize}px`)},"5:",4),l[42]||(l[42]=e.createTextVNode()),e.createElementVNode("span",{style:e.normalizeStyle(`font-weight:${t.value.style.tooltip.bold?"bold":"normal"};font-size:${t.value.style.tooltip.fontSize}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.tooltip.formatter,i.dataset.rating[5],e.unref(o.dataLabel)({v:i.dataset.rating[5],r:t.value.style.tooltip.roundingValue}),t.value)),5),e.createElementVNode("div",{style:e.normalizeStyle(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${t.value.style.tooltip.borderColor}`)}," ▼ ",4)],4)],4)):e.createCommentVNode("",!0),t.value.style.icons.filled?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:u(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",we,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[4],.9)},null,8,Me),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[4]},null,8,Be)])]),l[43]||(l[43]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:u(4)},null,8,Ce)],8,Se)):(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:u(4),fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},l[44]||(l[44]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-dabd0325></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-dabd0325></path><path d="M9 9l.01 0" data-v-dabd0325></path><path d="M15 9l.01 0" data-v-dabd0325></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-dabd0325></path>',5)]),8,_e)),t.value.style.icons.filled&&d.value?(e.openBlock(),e.createElementBlock("svg",{key:3,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(4)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[l[45]||(l[45]=e.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1)),e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",Le,[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.shiftHue)(t.value.style.colors.activeReadonly[4],.9)},null,8,He),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.colors.activeReadonly[4]},null,8,Xe)])]),e.createElementVNode("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 9.66h-6a1 1 0 0 0 -1 1v.05a3.975 3.975 0 0 0 3.777 3.97l.227 .005a4.026 4.026 0 0 0 3.99 -3.79l.006 -.206a1 1 0 0 0 -1 -1.029zm-5.99 -5l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993zm6 0l-.127 .007a1 1 0 0 0 .117 1.993l.127 -.007a1 1 0 0 0 -.117 -1.993z","stroke-width":"0",fill:t.value.style.icons.useGradient?"url(#vueUiSmiley4)":t.value.style.colors.activeReadonly[4]},null,8,je)],8,Re)):e.createCommentVNode("",!0),!t.value.style.icons.filled&&d.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(o.XMLNS),style:{position:"absolute",top:"0",left:"0",transition:"all 0.1s ease-in-out"},height:"100%",viewBox:`0 0 ${p(4)} 24`,"stroke-width":"1.5",stroke:t.value.style.colors.activeReadonly[4],fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},l[46]||(l[46]=[e.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-dabd0325></path><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" data-v-dabd0325></path><path d="M9 9l.01 0" data-v-dabd0325></path><path d="M15 9l.01 0" data-v-dabd0325></path><path d="M8 13a4 4 0 1 0 8 0h-8" data-v-dabd0325></path>',5)]),8,De)):e.createCommentVNode("",!0)],38),t.value.style.rating.show&&t.value.style.rating.position==="right"?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width:fit-content;text-align:center;margin-bottom:${t.value.style.rating.offsetY}px;font-size:${t.value.style.rating.fontSize}px;font-weight:${t.value.style.rating.bold?"bold":"normal"};padding-left:${t.value.style.rating.offsetX}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.rating.formatter,r.value,e.unref(o.dataLabel)({v:r.value,r:t.value.style.rating.roundingValue}),t.value)),5)):e.createCommentVNode("",!0)],4),t.value.style.rating.show&&t.value.style.rating.position==="bottom"?(e.openBlock(),e.createElementBlock("div",{key:2,style:e.normalizeStyle(`width:100%;text-align:center;margin-top:${t.value.style.rating.offsetY}px;font-size:${t.value.style.rating.fontSize}px;font-weight:${t.value.style.rating.bold?"bold":"normal"};margin-left:${t.value.style.rating.offsetX}px`)},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.rating.formatter,r.value,e.unref(o.dataLabel)({v:r.value,r:t.value.style.rating.roundingValue}),t.value)),5)):e.createCommentVNode("",!0)],36))}},Ge=C._export_sfc(Ue,[["__scopeId","data-v-dabd0325"]]);exports.default=Ge;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-Cn2tUOoX.cjs"),T=require("./useNestedProp-C8955nsn.cjs"),w=require("./BaseIcon-DY-33nfj.cjs"),A=require("./vue-ui-skeleton-Mcoev-5q.cjs"),F=require("./PackageVersion-BxSGdh6L.cjs"),q=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),O=["id"],D=["xmlns","viewBox"],P=["width","height"],G=["id"],U=["stop-color"],W=["stop-color"],Z={key:1},H=["d","fill"],R=["d","fill"],X=["d","stroke","stroke-width","stroke-linecap","stroke-linejoin"],J=["d","stroke","stroke-width","stroke-linecap","stroke-linejoin"],K=["height","width","x"],Q={style:{width:"100%"}},Y=["x","y","fill","font-size","font-weight"],ee=["stroke","cx","cy","fill"],te=["x","y","font-size","fill","font-weight"],le={key:2,ref:"source",dir:"auto"},ae={__name:"vue-ui-spark-trend",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(E){const{vue_ui_spark_trend:$}=a.useConfig(),u=E,S=e.computed(()=>!!u.dataset&&u.dataset.length),y=e.ref(a.createUid()),t=e.computed({get:()=>x(),set:l=>l});function x(){const l=T.useNestedProp({userConfig:u.config,defaultConfig:$});return l.theme?{...T.useNestedProp({userConfig:a.themes.vue_ui_spark_trend[l.theme]||u.config,defaultConfig:l})}:l}const c=e.computed(()=>a.largestTriangleThreeBucketsArray({data:u.dataset,threshold:t.value.downsample.threshold}));e.watch(()=>u.config,l=>{t.value=x(),C()},{deep:!0}),e.watch(()=>u.dataset,l=>{h.value=a.largestTriangleThreeBucketsArray({data:u.dataset,threshold:t.value.downsample.threshold}).map(r=>[void 0,1/0,-1/0,null,NaN].includes(r)?null:r)},{deep:!0});function g(l){return l.map(r=>a.checkNaN(r))}const h=e.ref(a.largestTriangleThreeBucketsArray({data:u.dataset,threshold:t.value.downsample.threshold}).map(l=>t.value.style.animation.show||[void 0,1/0,-1/0,null,NaN].includes(l)?null:l)),p=e.ref(!1),_=e.ref(null);e.onMounted(()=>{C();let r=1e3/t.value.style.animation.animationFrames,i=performance.now();if(t.value.style.animation.show&&t.value.style.animation.animationFrames&&u.dataset.length>1){let N=function(){p.value=!0;let L=performance.now(),V=L-i;V>r?(i=L-V%r,v<c.value.length?(h.value.push(c.value[v]),v+=1,_.value=requestAnimationFrame(N)):(cancelAnimationFrame(_.value),h.value=g(c.value),p.value=!1)):_.value=requestAnimationFrame(N)};h.value=[];let v=0;N()}});function C(){a.objectIsEmpty(u.dataset)&&a.error({componentName:"VueUiSparkTrend",type:"dataset"})}const n=e.ref({height:80,width:300}),d=e.computed(()=>({top:t.value.style.padding.top,left:t.value.style.padding.left,right:n.value.width-t.value.style.padding.right,bottom:n.value.height-t.value.style.padding.bottom,height:n.value.height-(t.value.style.padding.top+t.value.style.padding.bottom)-(t.value.style.dataLabel.show?t.value.style.dataLabel.fontSize:0),width:n.value.width-(t.value.style.padding.left+t.value.style.padding.right)})),b=e.computed(()=>{const l=g(c.value);return{max:Math.max(...l.map(r=>a.checkNaN(r))),min:Math.min(...l.map(r=>a.checkNaN(r)))}}),m=e.computed(()=>{const l=b.value.min>=0?0:b.value.min;return Math.abs(l)}),z=e.computed(()=>b.value.max+m.value);function B(l){return l/z.value}const M=e.computed(()=>c.value.length),o=e.computed(()=>h.value.map((l,r)=>{const i=isNaN(l)||[void 0,null,"NaN",NaN,1/0,-1/0].includes(l)?0:l||0;return{value:a.checkNaN(l),absoluteValue:a.checkNaN(i),plotValue:a.checkNaN(i+m.value),toMax:B(i+m.value),x:d.value.left+a.checkNaN(r*(d.value.width/(M.value-1)))-t.value.style.padding.right,y:d.value.bottom-a.checkNaN(d.value.height*B(i+m.value))}})),f=e.computed(()=>{const l=g(c.value);return t.value.style.trendLabel.trendType==="global"?a.calcTrend(l):t.value.style.trendLabel.trendType==="n-1"&&l.length>1?(l.at(-1)/l.at(-2)-1)*100:t.value.style.trendLabel.trendType==="lastToFirst"?(l.at(-1)/l[0]-1)*100:0}),k=e.computed(()=>p.value||f.value===0?"neutral":f.value>0?"positive":"negative"),s=e.computed(()=>t.value.style.arrow.colors[k.value]),I=e.computed(()=>{const l={x:o.value[0].x,y:n.value.height-6},r={x:o.value[o.value.length-1].x,y:n.value.height-6},i=[];return o.value.forEach(v=>{i.push(`${v.x},${v.y} `)}),[l.x,l.y,...i,r.x,r.y].toString()}),j=e.computed(()=>{let l=[];return o.value.forEach(r=>{l.push(`${r.x},${r.y} `)}),`M ${l.toString()}`});return(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-spark-trend",id:y.value,style:e.normalizeStyle(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor}`)},[S.value?(e.openBlock(),e.createElementBlock("svg",{key:1,xmlns:e.unref(a.XMLNS),viewBox:`0 0 ${n.value.width} ${n.value.height}`,style:"width:100%;background:transparent;overflow:visible"},[e.createVNode(F._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:n.value.width<=0?10:n.value.width,height:n.value.height<=0?10:n.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,P)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{x1:"0%",y1:"0%",x2:"0%",y2:"100%",id:`pill_gradient_${y.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(a.setOpacity)(t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,t.value.style.area.opacity)},null,8,U),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.backgroundColor},null,8,W)],8,G)]),t.value.style.area.show&&o.value[0]?(e.openBlock(),e.createElementBlock("g",Z,[t.value.style.line.smooth?(e.openBlock(),e.createElementBlock("path",{key:0,d:`M ${o.value[0].x},${d.value.bottom} ${e.unref(a.createSmoothPath)(o.value)} L ${o.value.at(-1).x},${d.value.bottom} Z`,fill:t.value.style.area.useGradient?`url(#pill_gradient_${y.value})`:e.unref(a.setOpacity)(t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,t.value.style.area.opacity),stroke:"none"},null,8,H)):(e.openBlock(),e.createElementBlock("path",{key:1,d:`M${I.value}Z`,fill:t.value.style.area.useGradient?`url(#pill_gradient_${y.value})`:e.unref(a.setOpacity)(t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,t.value.style.area.opacity),stroke:"none"},null,8,R))])):e.createCommentVNode("",!0),t.value.style.line.smooth&&o.value.length?(e.openBlock(),e.createElementBlock("path",{key:2,d:`M ${e.unref(a.createSmoothPath)(o.value)}`,stroke:t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,fill:"none","stroke-width":t.value.style.line.strokeWidth,"stroke-linecap":t.value.style.line.strokeLinecap,"stroke-linejoin":t.value.style.line.strokeLinejoin},null,8,X)):e.createCommentVNode("",!0),!t.value.style.line.smooth&&o.value.length?(e.openBlock(),e.createElementBlock("path",{key:3,d:j.value,stroke:t.value.style.line.useColorTrend?s.value:t.value.style.line.stroke,fill:"none","stroke-width":t.value.style.line.strokeWidth,"stroke-linecap":t.value.style.line.strokeLinecap,"stroke-linejoin":t.value.style.line.strokeLinejoin},null,8,J)):e.createCommentVNode("",!0),p.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("foreignObject",{key:4,height:n.value.height/2,width:n.value.height/2,x:n.value.height/5,y:8},[e.createElementVNode("div",Q,[k.value==="positive"?(e.openBlock(),e.createBlock(w.default,{key:0,stroke:s.value,name:"arrowTop",size:n.value.height/2},null,8,["stroke","size"])):e.createCommentVNode("",!0),k.value==="negative"?(e.openBlock(),e.createBlock(w.default,{key:1,stroke:s.value,name:"arrowBottom",size:n.value.height/2},null,8,["stroke","size"])):e.createCommentVNode("",!0),k.value==="neutral"?(e.openBlock(),e.createBlock(w.default,{key:2,stroke:s.value,name:"arrowRight",size:n.value.height/2},null,8,["stroke","size"])):e.createCommentVNode("",!0)])],8,K)),p.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("text",{key:5,x:n.value.height/2-n.value.height/20,y:d.value.bottom,"text-anchor":"middle",fill:t.value.style.trendLabel.useColorTrend?s.value:t.value.style.trendLabel.color,"font-size":t.value.style.trendLabel.fontSize,"font-weight":t.value.style.trendLabel.bold?"bold":"normal"},e.toDisplayString(e.unref(a.dataLabel)({p:f.value>0?"+":"",v:f.value,s:"%",r:t.value.style.trendLabel.rounding})),9,Y)),o.value.length&&o.value.at(-1).x!==void 0?(e.openBlock(),e.createElementBlock("circle",{key:6,stroke:t.value.style.backgroundColor,"stroke-width":2,cx:o.value.at(-1).x,cy:o.value.at(-1).y,r:4,fill:s.value},null,8,ee)):e.createCommentVNode("",!0),o.value.length&&o.value.at(-1).x!==void 0&&t.value.style.dataLabel.show?(e.openBlock(),e.createElementBlock("text",{key:7,"text-anchor":"middle",x:o.value.at(-1).x,y:o.value.at(-1).y-t.value.style.dataLabel.fontSize/1.5,"font-size":t.value.style.dataLabel.fontSize,fill:t.value.style.dataLabel.useColorTrend?s.value:t.value.style.dataLabel.color,"font-weight":t.value.style.dataLabel.bold?"bold":"normal"},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.style.dataLabel.formatter,o.value.at(-1).value,e.unref(a.dataLabel)({p:t.value.style.dataLabel.prefix,v:o.value.at(-1).value,s:t.value.style.dataLabel.suffix,r:t.value.style.dataLabel.rounding}),{datapoint:o.value.at(-1)})),9,te)):e.createCommentVNode("",!0)],8,D)):(e.openBlock(),e.createBlock(A.default,{key:0,config:{type:"sparkline",style:{backgroundColor:t.value.style.backgroundColor,sparkline:{color:"#CCCCCC"}}}},null,8,["config"])),l.$slots.source?(e.openBlock(),e.createElementBlock("div",le,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],12,O))}},oe=q._export_sfc(ae,[["__scopeId","data-v-38d02804"]]);exports.default=oe;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-Cn2tUOoX.cjs"),b=require("./useNestedProp-C8955nsn.cjs"),$=require("./vue-ui-skeleton-Mcoev-5q.cjs"),z=require("./PackageVersion-BxSGdh6L.cjs"),L=["onClick"],P={key:1},A=["xmlns","viewBox"],F=["id"],O=["stop-color"],I=["stop-color"],T=["height","width","fill","rx"],q=["height","width","fill","rx"],M=["height","width","fill","rx"],U={key:2,ref:"source",dir:"auto"},j={__name:"vue-ui-sparkbar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}},backgroundOpacity:{type:Number,default:null}},emits:["selectDatapoint"],setup(p,{emit:C}){const{vue_ui_sparkbar:S}=o.useConfig(),n=p,w=e.useSlots();e.onMounted(()=>{w["chart-background"]&&console.warn("VueUiSparkbar does not support the #chart-background slot.")});const v=e.computed(()=>!!n.dataset&&n.dataset.length),y=e.ref(o.createUid()),t=e.computed({get:()=>f(),set:l=>l});function f(){const l=b.useNestedProp({userConfig:n.config,defaultConfig:S});return l.theme?{...b.useNestedProp({userConfig:o.themes.vue_ui_sparkbar[l.theme]||n.config,defaultConfig:l}),customPalette:o.themePalettes[l.theme]||o.palette}:l}e.watch(()=>n.config,l=>{t.value=f()},{deep:!0});const _=e.computed(()=>o.convertCustomPalette(t.value.customPalette)),c=e.ref(n.dataset.map(l=>({...l,value:t.value.style.animation.show?0:l.value||0,formatter:l.formatter||null}))),g=e.ref(null);e.onMounted(async()=>{o.objectIsEmpty(n.dataset)&&o.error({componentName:"VueUiSparkbar",type:"dataset"}),h()});function h(){if(t.value.style.animation.show){let x=function(){i+=a/l,i<a?(c.value=c.value.map((u,m)=>({...u,value:u.value+=r[m]})),g.value=requestAnimationFrame(x)):c.value=n.dataset.map(u=>({...u,value:u.value||0,formatter:u.formatter||null}))};const l=t.value.style.animation.animationFrames,r=n.dataset.map((u,m)=>u.value/l),a=n.dataset.map(u=>u.value||0).reduce((u,m)=>u+m,0);let i=0;x()}}e.watch(()=>n.dataset,async l=>{cancelAnimationFrame(g.value),c.value=n.dataset.map(r=>({...r,value:t.value.style.animation.show?0:r.value||0,formatter:r.formatter||null})),e.nextTick(h)},{deep:!0});const s=e.ref({width:500,height:16}),N=e.computed(()=>Math.max(...n.dataset.map(l=>l.value))),B=e.computed(()=>(n.dataset.forEach((l,r)=>{o.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","value"]}).forEach(a=>{o.error({componentName:"VueUiSparkbar",type:"datasetSerieAttribute",property:a,index:r})})}),c.value.map((l,r)=>({...l,value:l.value||0,color:o.convertColorToHex(l.color)||_.value[r]||o.palette[r]||o.palette[r%o.palette.length]}))));function V(l){return l/N.value}function k(l){return t.value.style.layout.independant?l.target?l.value/l.target:t.value.style.layout.percentage?l.value>100?1:l.value/100:t.value.style.layout.target===0?1:l.value/t.value.style.layout.target:V(l.value)}function d(l){return t.value.style.layout.independant&&l.target||t.value.style.layout.target}const E=C;function D(l,r){E("selectDatapoint",{datapoint:l,index:r})}return(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-sparkbar",style:e.normalizeStyle({width:"100%",fontFamily:t.value.style.fontFamily,background:n.backgroundOpacity!==null?e.unref(o.setOpacity)(t.value.style.backgroundColor,n.backgroundOpacity):t.value.style.backgroundColor})},[l.$slots.title?e.renderSlot(l.$slots,"title",e.normalizeProps(e.mergeProps({key:0},{title:{...l.title,title:t.value.style.title.text,subtitle:t.value.style.title.subtitle.text}}))):e.createCommentVNode("",!0),!l.$slots.title&&t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:1,class:"vue-ui-sparkbar-title-container",style:e.normalizeStyle({background:t.value.style.title.backgroundColor,margin:t.value.style.title.margin,textAlign:t.value.style.title.textAlign})},[e.createElementVNode("div",{class:"vue-ui-sparkbar-title",style:e.normalizeStyle({fontSize:t.value.style.title.fontSize+"px",color:t.value.style.title.color,fontWeight:t.value.style.title.bold?"bold":"normal"})},e.toDisplayString(t.value.style.title.text),5),t.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-sparkbar-subtitle",style:e.normalizeStyle({fontSize:t.value.style.title.subtitle.fontSize+"px",color:t.value.style.title.subtitle.color,fontWeight:t.value.style.title.subtitle.bold?"bold":"normal"})},e.toDisplayString(t.value.style.title.subtitle.text),5)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,(a,i)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[v.value?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`display:flex !important;${["left","right"].includes(t.value.style.labels.name.position)?`flex-direction: ${t.value.style.labels.name.position==="right"?"row-reverse":"row"} !important`:"flex-direction:column !important"};gap:${t.value.style.gap}px !important;align-items:center;${p.dataset.length>0&&i!==p.dataset.length-1?"margin-bottom:6px":""}`),onClick:()=>D(a,i)},[e.renderSlot(l.$slots,"data-label",e.mergeProps({ref_for:!0},{bar:{...a,target:d(a),valueLabel:e.unref(o.applyDataLabel)(a.formatter,a.value,e.unref(o.dataLabel)({p:a.prefix||"",v:a.value,s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i}),targetLabel:e.unref(o.applyDataLabel)(a.formatter,d(a),e.unref(o.dataLabel)({p:a.prefix||"",v:d(a),s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i})}})),l.$slots["data-label"]?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({width:t.value.style.labels.name.width,color:t.value.style.labels.name.color,fontSize:t.value.style.labels.fontSize+"px",fontWeight:t.value.style.labels.name.bold?"bold":"normal",textAlign:["left","right"].includes(t.value.style.labels.name.position)||["top","top-left"].includes(t.value.style.labels.name.position)?"left":t.value.style.labels.name.position==="top-center"?"center":"right"})},[e.createElementVNode("span",null,e.toDisplayString(a.name),1),t.value.style.labels.value.show?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(`font-weight:${t.value.style.labels.value.bold?"bold":"normal"}`)},": "+e.toDisplayString(e.unref(o.applyDataLabel)(a.formatter,a.value,e.unref(o.dataLabel)({p:a.prefix||"",v:a.value,s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i})),5)):e.createCommentVNode("",!0),t.value.style.layout.showTargetValue?(e.openBlock(),e.createElementBlock("span",P,e.toDisplayString(" "+t.value.style.layout.targetValueText)+" "+e.toDisplayString(e.unref(o.applyDataLabel)(a.formatter,d(a),e.unref(o.dataLabel)({p:a.prefix||"",v:d(a),s:a.suffix||"",r:a.rounding||0}),{datapoint:a,seriesIndex:i})),1)):e.createCommentVNode("",!0)],4)),(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(o.XMLNS),viewBox:`0 0 ${s.value.width} ${s.value.height}`,width:"100%"},[e.createVNode(z._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{x1:"0%",y1:"0%",x2:"100%",y2:"0%",id:`sparkbar_gradient_${i}_${y.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(o.setOpacity)(e.unref(o.shiftHue)(a.color,.03),100-t.value.style.bar.gradient.intensity)},null,8,O),e.createElementVNode("stop",{offset:"100%","stop-color":a.color},null,8,I)],8,F)]),e.createElementVNode("rect",{height:s.value.height,width:s.value.width,x:0,y:0,fill:e.unref(o.setOpacity)(t.value.style.gutter.backgroundColor,t.value.style.gutter.opacity),rx:s.value.height/2},null,8,T),e.createElementVNode("rect",{height:s.value.height,width:s.value.width*k(a),x:0,y:0,fill:t.value.style.bar.gradient.underlayerColor,rx:s.value.height/2},null,8,q),e.createElementVNode("rect",{height:s.value.height,width:s.value.width*k(a),x:0,y:0,fill:t.value.style.bar.gradient.show?`url(#sparkbar_gradient_${i}_${y.value})`:a.color,rx:s.value.height/2},null,8,M)],8,A))],12,L)):e.createCommentVNode("",!0)],64))),256)),l.$slots.source?(e.openBlock(),e.createElementBlock("div",U,[e.renderSlot(l.$slots,"source")],512)):e.createCommentVNode("",!0),v.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock($.default,{key:3,config:{type:"sparkbar",style:{backgroundColor:t.value.style.backgroundColor,sparkbar:{color:"#CCCCCC"}}}},null,8,["config"]))],4))}};exports.default=j;
|