vue-data-ui 2.4.76 → 2.4.77
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-BEL6nGJ5.cjs → Arrow-CfSMP_pf.cjs} +1 -1
- package/dist/{Arrow-SYMRLSHC.js → Arrow-f_Kuk8SY.js} +1 -1
- package/dist/{BaseIcon-Udj2sWh1.cjs → BaseIcon-BnnMILPX.cjs} +1 -1
- package/dist/{BaseIcon-wfQ35Ioa.js → BaseIcon-QuseiwxO.js} +1 -1
- package/dist/{DataTable-CC3rD9iV.js → DataTable--ofk92Yb.js} +2 -2
- package/dist/{DataTable-RY8EUwF3.cjs → DataTable-D0qYxBVZ.cjs} +1 -1
- package/dist/{Legend-BBFx9L7u.js → Legend-BhrGSZRp.js} +2 -2
- package/dist/{Legend-CZrlsh2W.cjs → Legend-DV4QFlV9.cjs} +1 -1
- package/dist/{PackageVersion-Cc8-1SRE.js → PackageVersion-BqwuIW-T.js} +1 -1
- package/dist/{PackageVersion-C1zaH_aJ.cjs → PackageVersion-sBYhtscP.cjs} +1 -1
- package/dist/{PenAndPaper-Bv8oV7l0.cjs → PenAndPaper-CHz_Iy5T.cjs} +1 -1
- package/dist/{PenAndPaper-BKX-8o1h.js → PenAndPaper-LsFeEPDj.js} +3 -3
- package/dist/{Shape-CuDuYYKF.cjs → Shape-BO7Gprqr.cjs} +1 -1
- package/dist/{Shape-CSj0rOyf.js → Shape-Dorp4kyF.js} +1 -1
- package/dist/{Slicer-De-C8OB8.cjs → Slicer-BDdf60jQ.cjs} +1 -1
- package/dist/{Slicer-4vVJHlL9.js → Slicer-CD8VkksI.js} +2 -2
- package/dist/{Title-CmyP_ypC.js → Title-2MaMBji9.js} +1 -1
- package/dist/{Title-m5N0oN0G.cjs → Title-BzcIyo-x.cjs} +1 -1
- package/dist/{Tooltip-Dz6sXvS2.js → Tooltip-C_eI7NfC.js} +1 -1
- package/dist/{Tooltip-Dq7633oz.cjs → Tooltip-DWo9kakv.cjs} +1 -1
- package/dist/{index-CH3YkGpv.cjs → index-CbMyzHGj.cjs} +1 -1
- package/dist/{index-CpNLsWVB.js → index-DMvK32iW.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-C14snYQ3.js → useNestedProp-3oLbIjGJ.js} +1 -1
- package/dist/{useNestedProp-2TBYsJKg.cjs → useNestedProp-DqPx8kFh.cjs} +1 -1
- package/dist/{usePrinter-D76t2otk.js → usePrinter-7L_B-x1F.js} +1 -1
- package/dist/{usePrinter-A1_US3Dh.cjs → usePrinter-BzVsUZ9_.cjs} +1 -1
- package/dist/{vue-data-ui-C3B3pxcE.cjs → vue-data-ui-CFnKc2Ol.cjs} +1 -1
- package/dist/{vue-data-ui-0qqDFsDV.js → vue-data-ui-Cp4r0fLf.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-vXI86Ftg.js → vue-ui-3d-bar-Cf1Q84nf.js} +9 -9
- package/dist/{vue-ui-3d-bar-DsPyvRtf.cjs → vue-ui-3d-bar-DTrJuAnz.cjs} +1 -1
- package/dist/{vue-ui-accordion-7RGF7sa1.js → vue-ui-accordion-D9SRsoRT.js} +3 -3
- package/dist/{vue-ui-accordion-_LFrGkGx.cjs → vue-ui-accordion-Uftgxo97.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CotXvsaD.js → vue-ui-age-pyramid-BpfajTvk.js} +10 -10
- package/dist/{vue-ui-age-pyramid-ac5bW1yE.cjs → vue-ui-age-pyramid-CFWWFo_T.cjs} +1 -1
- package/dist/{vue-ui-annotator-C1RLefPu.js → vue-ui-annotator-BGErHIWg.js} +1 -1
- package/dist/{vue-ui-annotator-LO2QBLr-.cjs → vue-ui-annotator-CI9JxLDD.cjs} +1 -1
- package/dist/{vue-ui-bullet-CngMCn0G.cjs → vue-ui-bullet-CCcAE1gt.cjs} +1 -1
- package/dist/{vue-ui-bullet-DZknfpTt.js → vue-ui-bullet-CerH0yY6.js} +8 -8
- package/dist/{vue-ui-candlestick-BrHsZWBD.cjs → vue-ui-candlestick-B0AfUFwT.cjs} +1 -1
- package/dist/{vue-ui-candlestick-BIhS1XvX.js → vue-ui-candlestick-DaXMRecz.js} +11 -11
- package/dist/{vue-ui-carousel-table-DQOyjYrs.js → vue-ui-carousel-table-Ct8iLKVC.js} +4 -4
- package/dist/{vue-ui-carousel-table-CEYvDVp-.cjs → vue-ui-carousel-table-DU1f-7PI.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DOB6e1ur.js → vue-ui-chestnut-BimMImm7.js} +8 -8
- package/dist/{vue-ui-chestnut-Ck7UKhm3.cjs → vue-ui-chestnut-Bo6vX7Xa.cjs} +1 -1
- package/dist/{vue-ui-cursor-BaFPplLP.js → vue-ui-cursor-BqjV3i9U.js} +2 -2
- package/dist/{vue-ui-cursor-DbR8dGQz.cjs → vue-ui-cursor-O8Y4gIKa.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CU1IswIu.js → vue-ui-dashboard-BGBnagEV.js} +2 -2
- package/dist/{vue-ui-dashboard-BiYrjIXc.cjs → vue-ui-dashboard-DNJUgWJ3.cjs} +1 -1
- package/dist/{vue-ui-digits-LLkWsjVe.cjs → vue-ui-digits-D3pzhtVy.cjs} +1 -1
- package/dist/{vue-ui-digits-Ccu0VX39.js → vue-ui-digits-DUXLRlXF.js} +2 -2
- package/dist/vue-ui-donut-DKME6kEY.cjs +1 -0
- package/dist/{vue-ui-donut-BZbOZXBY.js → vue-ui-donut-eljChQvj.js} +111 -114
- package/dist/{vue-ui-donut-evolution-BDBugP7m.cjs → vue-ui-donut-evolution-DGaEBhHF.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DtgcRiGo.js → vue-ui-donut-evolution-HbunKbYi.js} +11 -11
- package/dist/{vue-ui-dumbbell-CeWOqVMa.js → vue-ui-dumbbell-C7Zv4NgK.js} +10 -10
- package/dist/{vue-ui-dumbbell-Dg6X5Vj5.cjs → vue-ui-dumbbell-CGw-Zwk-.cjs} +1 -1
- package/dist/{vue-ui-flow-CoAgjhdm.cjs → vue-ui-flow-DbWddpZi.cjs} +1 -1
- package/dist/{vue-ui-flow-CjG35xEC.js → vue-ui-flow-DcRyVL45.js} +9 -9
- package/dist/{vue-ui-funnel-hjZrLAhZ.cjs → vue-ui-funnel-ByUFSg1s.cjs} +1 -1
- package/dist/{vue-ui-funnel-D8c4Gp8b.js → vue-ui-funnel-D3G2G4P3.js} +9 -9
- package/dist/{vue-ui-galaxy-2WU_lJvz.js → vue-ui-galaxy-CXssUv3X.js} +11 -11
- package/dist/{vue-ui-galaxy-DfTXwfQR.cjs → vue-ui-galaxy-ad_Bh1lr.cjs} +1 -1
- package/dist/{vue-ui-gauge-C_IgZirr.cjs → vue-ui-gauge-Bss6mlN7.cjs} +1 -1
- package/dist/{vue-ui-gauge-Bj4H5esH.js → vue-ui-gauge-DEROTsyc.js} +7 -7
- package/dist/{vue-ui-gizmo-CFUkIE1e.js → vue-ui-gizmo--6Xw6Dh6.js} +3 -3
- package/dist/{vue-ui-gizmo-Dbsg9oG_.cjs → vue-ui-gizmo-D4CEw0HZ.cjs} +1 -1
- package/dist/{vue-ui-heatmap-DECng1-9.cjs → vue-ui-heatmap-DwCve3RN.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Df4woeNc.js → vue-ui-heatmap-q8JmNnG2.js} +10 -10
- package/dist/{vue-ui-history-plot-C0X1_s96.cjs → vue-ui-history-plot-DaZNgu_Z.cjs} +1 -1
- package/dist/{vue-ui-history-plot-DHUuanXy.js → vue-ui-history-plot-DnT-Ao3t.js} +11 -11
- package/dist/{vue-ui-kpi-CGrN8rrL.cjs → vue-ui-kpi-Dn49_E2W.cjs} +1 -1
- package/dist/{vue-ui-kpi-d5eW2MQ3.js → vue-ui-kpi-IXgBP9oJ.js} +3 -3
- package/dist/{vue-ui-mini-loader-C2-zQHTF.cjs → vue-ui-mini-loader-CiVFd_Pp.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DRUBgzI9.js → vue-ui-mini-loader-Cm88qObv.js} +2 -2
- package/dist/{vue-ui-molecule-CqQBdd27.js → vue-ui-molecule-C27vhrLA.js} +11 -11
- package/dist/{vue-ui-molecule-Bst8lERC.cjs → vue-ui-molecule-Cu92ujex.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-oB1S4QFm.js → vue-ui-mood-radar-DIJ9q9Cc.js} +11 -11
- package/dist/{vue-ui-mood-radar-BM7pbHlc.cjs → vue-ui-mood-radar-DvkK8J8b.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DdgoTSGG.js → vue-ui-nested-donuts-CcqhlN0R.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BUcrd4TR.cjs → vue-ui-nested-donuts-DMaF0m31.cjs} +1 -1
- package/dist/{vue-ui-onion-RimU8400.cjs → vue-ui-onion-D20_PGGT.cjs} +1 -1
- package/dist/{vue-ui-onion-BD4CSF0A.js → vue-ui-onion-DQOu8srN.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-Cj8VtclE.cjs → vue-ui-parallel-coordinate-plot-CDDv5TXW.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CTUm9M3z.js → vue-ui-parallel-coordinate-plot-DEtBAZkv.js} +12 -12
- package/dist/{vue-ui-quadrant-DKrkCfAn.js → vue-ui-quadrant-9nixb7y0.js} +12 -12
- package/dist/{vue-ui-quadrant-DjsY0y5B.cjs → vue-ui-quadrant-CVKT0Mil.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BBCjtI-7.js → vue-ui-quick-chart-BBWe0rII.js} +9 -9
- package/dist/{vue-ui-quick-chart-Dy7EL7ta.cjs → vue-ui-quick-chart-DOqmZQuC.cjs} +1 -1
- package/dist/{vue-ui-radar-D5ufpNKc.js → vue-ui-radar-C_HKZN_s.js} +12 -12
- package/dist/{vue-ui-radar-B3SwUPOg.cjs → vue-ui-radar-crw-BUWI.cjs} +1 -1
- package/dist/{vue-ui-rating-D4G-LFWR.js → vue-ui-rating-Bb5D2NLX.js} +2 -2
- package/dist/{vue-ui-rating-DzjVC24x.cjs → vue-ui-rating-D9C-jHN_.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-1pWCHVnC.cjs → vue-ui-relation-circle-BeinsphZ.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-WkD_rUnu.js → vue-ui-relation-circle-D94QdFpd.js} +7 -7
- package/dist/{vue-ui-rings-CTYnhWv8.cjs → vue-ui-rings-8X_K59uf.cjs} +1 -1
- package/dist/{vue-ui-rings-C8ty4dWD.js → vue-ui-rings-B9WghU7W.js} +12 -12
- package/dist/{vue-ui-scatter-BQVPLg6A.cjs → vue-ui-scatter-BcGcpFFg.cjs} +1 -1
- package/dist/{vue-ui-scatter-DfeNfnMl.js → vue-ui-scatter-DOOY2ZmO.js} +12 -12
- package/dist/{vue-ui-screenshot-D03-LKwV.js → vue-ui-screenshot--dGw9WTO.js} +1 -1
- package/dist/{vue-ui-screenshot-C7lsivHN.cjs → vue-ui-screenshot-kqXcFrbS.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CIp8lMA6.js → vue-ui-skeleton-Bzsl5gab.js} +3 -3
- package/dist/{vue-ui-skeleton-DwmP0u2B.cjs → vue-ui-skeleton-Dm5NZ_MQ.cjs} +1 -1
- package/dist/{vue-ui-smiley-_J08wXf9.js → vue-ui-smiley-CHDBpGz6.js} +2 -2
- package/dist/{vue-ui-smiley-Bp-UbI5r.cjs → vue-ui-smiley-CzUbbfNC.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-UX4dEhft.cjs → vue-ui-spark-trend-CBuzPxBw.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-iXsvKant.js → vue-ui-spark-trend-DDmtsL-M.js} +5 -5
- package/dist/{vue-ui-sparkbar-BJ_rGX_Y.cjs → vue-ui-sparkbar-BOWdoskI.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-JQ4SIcqX.js → vue-ui-sparkbar-clHgL-Jf.js} +4 -4
- package/dist/{vue-ui-sparkgauge-YQBQjjX1.cjs → vue-ui-sparkgauge-BCpab_To.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Ci5Jx-i_.js → vue-ui-sparkgauge-ClpG_Qy_.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-D1VEZIa5.js → vue-ui-sparkhistogram-DtcZvaVe.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-C5UeFik2.cjs → vue-ui-sparkhistogram-_-2qzDRQ.cjs} +1 -1
- package/dist/{vue-ui-sparkline-fF9WenrE.cjs → vue-ui-sparkline-BiPWJRwq.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CRFYizW3.js → vue-ui-sparkline-Hw74DjL2.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-CWa5ELhE.js → vue-ui-sparkstackbar-BvdFMu7C.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CynLB9us.cjs → vue-ui-sparkstackbar-C65Dz1NY.cjs} +1 -1
- package/dist/{vue-ui-stackbar-jQdQH0Pu.cjs → vue-ui-stackbar-CUbWqpvI.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DSammmJH.js → vue-ui-stackbar-DHihhNbH.js} +13 -13
- package/dist/{vue-ui-strip-plot-PxONzaXd.js → vue-ui-strip-plot-BeRtOGC8.js} +11 -11
- package/dist/{vue-ui-strip-plot-yE9w6drR.cjs → vue-ui-strip-plot-CuoQTnRG.cjs} +1 -1
- package/dist/{vue-ui-table-BskwuS44.js → vue-ui-table-00JpIXEn.js} +1 -1
- package/dist/{vue-ui-table-DG5RXhLE.cjs → vue-ui-table-C6jU1DC3.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D9W-4tm9.cjs → vue-ui-table-heatmap-BKwt85XQ.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CzxnV1-0.js → vue-ui-table-heatmap-iRdyUnBz.js} +4 -4
- package/dist/{vue-ui-table-sparkline-BlQy5f88.js → vue-ui-table-sparkline-B4S_DJRU.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DT8VzRHY.cjs → vue-ui-table-sparkline-Z-VfjBcc.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BBvQ4tYx.js → vue-ui-thermometer-BVETzQ_9.js} +7 -7
- package/dist/{vue-ui-thermometer-CkJBESoa.cjs → vue-ui-thermometer-MNfpy-bk.cjs} +1 -1
- package/dist/{vue-ui-timer-DFvFQF6d.js → vue-ui-timer-Dafx7lL2.js} +5 -5
- package/dist/{vue-ui-timer-CNp59qFF.cjs → vue-ui-timer-DzzNUzOv.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-D4_LO9A5.js → vue-ui-tiremarks-DvIZxZFn.js} +7 -7
- package/dist/{vue-ui-tiremarks-Cf1637KV.cjs → vue-ui-tiremarks-VmJ74REn.cjs} +1 -1
- package/dist/{vue-ui-treemap-CWoi0iKf.js → vue-ui-treemap-Bqurrxbn.js} +11 -11
- package/dist/{vue-ui-treemap-Dnq85nnj.cjs → vue-ui-treemap-jtIS1DF3.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-pyVFnVaF.cjs → vue-ui-vertical-bar-B7gHw4NU.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-DgfIA9-H.js → vue-ui-vertical-bar-CAQNpuVV.js} +12 -12
- package/dist/{vue-ui-waffle-DQbEdVDN.js → vue-ui-waffle-BW2oPwaN.js} +12 -12
- package/dist/{vue-ui-waffle-DGeQNIVJ.cjs → vue-ui-waffle-Bx-yIwH9.cjs} +1 -1
- package/dist/{vue-ui-wheel-Bhmjjfqi.cjs → vue-ui-wheel-DdBcwGLj.cjs} +1 -1
- package/dist/{vue-ui-wheel-B0vgQ4Ps.js → vue-ui-wheel-LE-u6_KV.js} +7 -7
- package/dist/{vue-ui-word-cloud-hcJsrwPF.cjs → vue-ui-word-cloud-C1X5oYBt.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-XrUyNMpH.js → vue-ui-word-cloud-CjCNiXGN.js} +10 -10
- package/dist/{vue-ui-xy-B8WkCl69.cjs → vue-ui-xy-Dr_MT-o-.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-mtxLsToQ.js → vue-ui-xy-canvas-BgWkLI4n.js} +11 -11
- package/dist/{vue-ui-xy-canvas-DO3kaKEf.cjs → vue-ui-xy-canvas-CBx1LM4e.cjs} +1 -1
- package/dist/{vue-ui-xy--QLh9NlZ.js → vue-ui-xy-jjjT4XDo.js} +14 -14
- package/package.json +1 -1
- package/dist/vue-ui-donut-DzqE2EQ1.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-CH3YkGpv.cjs"),we=require("./useResponsive-BJ7DTGpm.cjs"),ze=require("./Title-m5N0oN0G.cjs"),Ce=require("./usePrinter-A1_US3Dh.cjs"),Te=require("./DataTable-RY8EUwF3.cjs"),Xe=require("./Tooltip-Dq7633oz.cjs"),De=require("./Legend-CZrlsh2W.cjs"),Me=require("./vue-ui-skeleton-DwmP0u2B.cjs"),Ye=require("./vue-ui-accordion-_LFrGkGx.cjs"),Be=require("./useNestedProp-2TBYsJKg.cjs"),Ae=require("./PackageVersion-C1zaH_aJ.cjs"),Ie=require("./PenAndPaper-Bv8oV7l0.cjs"),qe=require("./useUserOptionState-BgepsfED.cjs"),Re=require("./Shape-CuDuYYKF.cjs"),Ge=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ue=V=>(e.pushScopeId("data-v-bac48d71"),V=V(),e.popScopeId(),V),je=["id"],He=["xmlns","viewBox"],We=["width","height"],Je={key:1},Ke=["id"],Qe=["stop-color"],Ze=["offset","stop-color"],et=["offset","stop-color"],tt=["stop-color"],lt={key:2},ot=["id","cx","cy"],at=["stop-color","stop-opacity"],rt=["stop-color"],nt=["id"],ut=["id"],st=Ue(()=>e.createElementVNode("feColorMatrix",{type:"saturate",values:"0"},null,-1)),it=["id"],ct=["flood-color"],dt=["id"],vt=["flood-color"],ht=["d","stroke","filter"],ft=["x1","y1","x2","y2","stroke","filter"],yt=["cx","cy","r","fill","filter"],pt={key:6},mt=["stroke","d"],kt={key:0},gt=["d","fill","stroke","stroke-width","filter"],bt=["d","fill","stroke","stroke-width","filter"],wt={key:0},Ct=["stroke","d"],Bt={key:0},_t=["d","stroke","stroke-width","filter"],xt={key:1},$t=["d","fill","stroke","stroke-width","filter"],St=["d","fill","stroke","stroke-width","filter"],Et={key:1},Nt=["cx","cy","r","fill","stroke","stroke-width"],Pt=["cx","cy","r","fill","stroke","stroke-width"],Vt=["cx","cy","r","stroke"],Lt=["cx","cy","r","fill"],Ft={key:0},Ot=["d","fill","onMouseenter","onClick"],zt={key:1},Tt=["cx","cy","r","fill"],Xt=["x","y","fill","font-size"],Dt=["x","y","fill","font-size"],Mt=["x","y","fill","font-size"],Yt=["x","y","fill","font-size"],At=["filter"],It={key:0},qt=["x","y"],Rt={key:1},Gt=["cx","cy","fill","stroke","filter","onClick"],Ut=["cx","cy","fill","stroke","filter","onClick"],jt=["text-anchor","x","y","fill","font-size","onClick"],Ht=["text-anchor","x","y","fill","font-size","onClick"],Wt=["text-anchor","x","y","fill","font-size","onClick"],Jt=["text-anchor","x","y","fill","font-size","onClick"],Kt={key:2},Qt=["x","y","width"],Zt=["x","y","width"],el={key:5,class:"vue-data-ui-watermark"},tl=["onClick"],ll={key:0,style:{"font-variant-numeric":"tabular-nums"}},ol={key:1},al=["innerHTML"],rl={__name:"vue-ui-donut",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(V,{expose:_e,emit:G}){const b=V,{vue_ui_donut:xe}=r.useConfig(),$e=e.useSlots(),L=e.computed({get(){return!!b.dataset&&b.dataset.length},set(o){return o}}),E=e.ref(null),U=e.ref(null),j=e.ref(null),z=e.ref(null),H=e.ref(null),W=e.ref(null),J=e.ref(0),K=e.ref(0),Q=e.ref(0);e.onMounted(()=>{Z()}),e.onBeforeUnmount(()=>{z.value&&z.value.disconnect()});function Z(){if(r.objectIsEmpty(b.dataset)?r.error({componentName:"VueUiDonut",type:"dataset"}):b.dataset.forEach((o,u)=>{r.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","values"]}).forEach(l=>{L.value=!1,r.error({componentName:"VueUiDonut",type:"datasetSerieAttribute",property:l,index:u})})}),t.value.responsive){const o=we.throttle(()=>{const{width:u,height:l}=we.useResponsive({chart:E.value,title:t.value.style.chart.title.text?U.value:null,legend:t.value.style.chart.legend.show?j.value:null,source:H.value,noTitle:W.value});n.value.width=u,n.value.height=l});z.value=new ResizeObserver(o),z.value.observe(E.value.parentNode)}}const d=e.ref(r.createUid()),Se=e.ref(null),T=e.ref(!1),M=e.ref(""),p=e.ref(null),ee=e.ref(0);function te(){const o=Be.useNestedProp({userConfig:b.config,defaultConfig:xe});return o.theme?{...Be.useNestedProp({userConfig:r.themes.vue_ui_donut[o.theme]||b.config,defaultConfig:o}),customPalette:r.themePalettes[o.theme]||r.palette}:o}const t=e.computed({get:()=>te(),set:o=>o}),{userOptionsVisible:Y,setUserOptionsVisibility:le,keepUserOptionState:oe}=qe.useUserOptionState({config:t.value});e.watch(()=>b.config,o=>{t.value=te(),Y.value=!t.value.showOnChartHover,Z(),J.value+=1,K.value+=1,Q.value+=1},{deep:!0});const{isPrinting:ae,isImaging:re,generatePdf:ne,generateImage:ue}=Ce.usePrinter({elementId:`donut__${d.value}`,fileName:t.value.style.chart.title.text||"vue-ui-donut"}),Ee=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),se=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),v=e.ref({dataLabels:{show:t.value.style.chart.layout.labels.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),n=e.ref({height:360,width:512}),F=e.computed(()=>{const o=t.value.style.chart.layout.donut.strokeWidth/512,u=n.value.width*o,l=u>y.value?y.value:u;return l<24?24:l}),x=e.computed(()=>b.dataset.map((o,u)=>({name:o.name,color:r.convertColorToHex(o.color)||se.value[u]||r.palette[u]||r.palette[u%r.palette.length],value:o.values.reduce((l,a)=>l+a,0),absoluteValues:o.values,comment:o.comment||"",patternIndex:u}))),k=e.ref(x.value);e.watch(()=>x.value,o=>k.value=o);function Ne(){return x.value.map(o=>({name:o.name,color:o.color,value:o.value}))}const w=e.ref([]),ie=e.ref(null),ce=e.ref(null),$=e.ref(!1);function de(o){const u=x.value.find((s,f)=>f===o),l=k.value.find((s,f)=>f===o);let a=l.value;if(w.value.includes(o)){let f=function(){a>s?(cancelAnimationFrame(ie.value),k.value=k.value.map((h,R)=>o===R?{...h,value:s}:h),$.value=!1):($.value=!0,a+=s*.025,k.value=k.value.map((h,R)=>o===R?{...h,value:a}:h),ie.value=requestAnimationFrame(f))};w.value=w.value.filter(h=>h!==o);const s=u.value;f()}else if(w.value.length<x.value.length-1){let s=function(){a<l.value/100?(cancelAnimationFrame(ce.value),w.value.push(o),k.value=k.value.map((f,h)=>o===h?{...f,value:0}:f),$.value=!1):($.value=!0,a/=1.1,k.value=k.value.map((f,h)=>o===h?{...f,value:a}:f),ce.value=requestAnimationFrame(s))};s()}G("selectLegend",C.value.map(s=>({name:s.name,color:s.color,value:s.value})))}const C=e.computed(()=>(k.value.forEach((o,u)=>{if([null,void 0].includes(o.values))return{...o,values:[]}}),k.value.map((o,u)=>({...o,seriesIndex:u})).filter((o,u)=>!w.value.includes(u)))),ve=e.computed(()=>b.dataset.map((o,u)=>({name:o.name,color:r.convertColorToHex(o.color)||se.value[u]||r.palette[u]||r.palette[u%r.palette.length],value:(o.values||[]).reduce((l,a)=>l+a,0),shape:"circle",patternIndex:u})).map((o,u)=>({...o,proportion:o.value/b.dataset.map(l=>(l.values||[]).reduce((a,s)=>a+s,0)).reduce((l,a)=>l+a,0),opacity:w.value.includes(u)?.5:1,segregate:()=>!$.value&&de(u),isSegregated:w.value.includes(u)}))),Pe=e.computed(()=>({cy:"donut-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":""})),y=e.computed(()=>{const o=Math.min(n.value.width/3,n.value.height/3);return o<55?55:o}),c=e.computed(()=>r.makeDonut({series:C.value},n.value.width/2,n.value.height/2,y.value,y.value,1.99999,2,1,360,105.25,F.value)),i=e.computed(()=>{const o=Math.max(...C.value.map(l=>l.value)),u=C.value.map(l=>l.value/o);return r.createPolarAreas({series:u,center:{x:n.value.width/2,y:n.value.height/2},maxRadius:Math.min(n.value.width,n.value.height)/3})});function N(o){return o.x>n.value.width/2+6?"start":o.x<n.value.width/2-6?"end":"middle"}function Ve(o){return o.middlePoint.y>n.value.height/2?r.offsetFromCenterPoint({initX:o.middlePoint.x,initY:o.middlePoint.y,offset:100,centerX:n.value.width/2,centerY:n.value.height/2}).y:r.offsetFromCenterPoint({initX:o.middlePoint.x,initY:o.middlePoint.y,offset:0,centerX:n.value.width/2,centerY:n.value.height/2}).y-100}function g(o){return o.proportion*100>t.value.style.chart.layout.labels.dataLabels.hideUnderValue}function A(o,u){const l=o.value/Le(u);return isNaN(l)?0:r.applyDataLabel(t.value.style.chart.layout.labels.percentage.formatter,l*100,r.dataLabel({v:l*100,s:"%",r:t.value.style.chart.layout.labels.percentage.rounding}),{datapoint:o})}function Le(o){return[...o].map(u=>u.value).reduce((u,l)=>u+l,0)}const m=e.computed(()=>C.value.map(o=>o.value).reduce((o,u)=>o+u,0)),he=e.computed(()=>m.value/C.value.length),fe=e.computed(()=>o=>$.value?o.proportion*100:o.value/m.value*100),I=e.ref(null),O=e.ref(!1);function ye({datapoint:o,relativeIndex:u,seriesIndex:l,show:a=!1}){I.value={datapoint:o,seriesIndex:l,config:t.value,series:x.value},T.value=a,p.value=u;let s="";const f=t.value.style.chart.tooltip.customFormat;if(O.value=!1,r.isFunction(f))try{const h=f({seriesIndex:l,datapoint:o,series:x.value,config:t.value});typeof h=="string"&&(M.value=h,O.value=!0)}catch{console.warn("Custom format cannot be applied."),O.value=!1}if(!O.value){if(s+=`<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>`,s+=`<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}"/>${$e.pattern?`<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${d.value}_${l})"/>`:""}</svg>`,t.value.style.chart.tooltip.showValue&&(s+=`<b>${r.applyDataLabel(t.value.style.chart.layout.labels.value.formatter,o.value,r.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:o,relativeIndex:u,seriesIndex:l})}</b>`),t.value.style.chart.tooltip.showPercentage){const h=r.applyDataLabel(t.value.style.chart.layout.labels.percentage.formatter,o.proportion*100,r.dataLabel({v:o.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage}),{datapoint:o,relativeIndex:u,seriesIndex:l});t.value.style.chart.tooltip.showValue?s+=`<span>(${h})</span></div>`:s+=`<b>${h}</b></div>`}t.value.style.chart.comments.showInTooltip&&o.comment&&(s+=`<div class="vue-data-ui-tooltip-comment" style="background:${o.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${o.color}">${o.comment}</div>`),M.value=`<div>${s}</div>`}}function S(o){return t.value.useBlurOnHover&&![null,void 0].includes(p.value)&&p.value!==o?`url(#blur_${d.value})`:""}const B=e.computed(()=>{const o=C.value.map(l=>({name:l.name,color:l.color})),u=C.value.map(l=>l.value);return{head:o,body:u}});function pe(){e.nextTick(()=>{const o=B.value.head.map((a,s)=>[[a.name],[B.value.body[s]],[isNaN(B.value.body[s]/m.value)?"-":B.value.body[s]/m.value*100]]),u=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(o),l=r.createCsvContent(u);r.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-donut"})})}const X=e.computed(()=>{const o=[' <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>',r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:m.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],u=B.value.head.map((s,f)=>{const h=r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:B.value.body[f],s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue});return[{color:s.color,name:s.name},h,isNaN(B.value.body[f]/m.value)?"-":(B.value.body[f]/m.value*100).toFixed(t.value.table.td.roundingPercentage)+"%"]}),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage],head:o,body:u,config:l}}),P=e.ref(!1);function Fe(o){P.value=o,ee.value+=1}const me=e.computed(()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent));function Oe(o){return o.toFixed(t.value.style.chart.legend.roundingPercentage).split("").map(u=>"-").join("")}function _(o,u){G("selectDatapoint",{datapoint:o,index:u})}function ke(){v.value.showTable=!v.value.showTable}function ge(){v.value.dataLabels.show=!v.value.dataLabels.show}function be(){v.value.showTooltip=!v.value.showTooltip}const D=e.ref(!1);function q(){D.value=!D.value}return _e({getData:Ne,generatePdf:ne,generateCsv:pe,generateImage:ue,toggleTable:ke,toggleLabels:ge,toggleTooltip:be,toggleAnnotator:q}),(o,u)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"donutChart",ref:E,class:e.normalizeClass(`vue-ui-donut ${P.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; ${t.value.responsive?"height:100%;":""} text-align:center;background:${t.value.style.chart.backgroundColor}`),id:`donut__${d.value}`,onMouseenter:u[6]||(u[6]=()=>e.unref(le)(!0)),onMouseleave:u[7]||(u[7]=()=>e.unref(le)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Ie.PenAndPaper,{key:0,parent:E.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:D.value,onClose:q},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"userConfig",{},void 0,!0),Ee.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:W,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:U,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(ze._sfc_main,{key:`title_${J.value}`,config:{title:{cy:"donut-div-title",...t.value.style.chart.title},subtitle:{cy:"donut-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&L.value&&(e.unref(oe)||e.unref(Y))?(e.openBlock(),e.createBlock(Ce.UserOptions,{ref_key:"details",ref:Se,key:`user_option_${ee.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(ae),isImaging:e.unref(re),uid:d.value,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasLabel:t.value.userOptions.buttons.labels,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:P.value,chartElement:E.value,position:t.value.userOptions.position,isTooltip:v.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:D.value,onToggleFullscreen:Fe,onGeneratePdf:e.unref(ne),onGenerateCsv:pe,onGenerateImage:e.unref(ue),onToggleTable:ke,onToggleLabels:ge,onToggleTooltip:be,onToggleAnnotator:q,style:e.normalizeStyle({visibility:e.unref(oe)?e.unref(Y)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionLabels",{},void 0,!0)]),key:"5"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:a})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:a})),void 0,!0)]),key:"6"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:a})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:a})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasImg","hasXls","hasTable","hasLabel","hasFullscreen","isFullscreen","chartElement","position","isTooltip","titles","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),L.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":P.value,"vue-data-ui-fulscreen--off":!P.value}),viewBox:`0 0 ${n.value.width<=0?10:n.value.width} ${n.value.height<=0?10:n.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Ae._sfc_main),o.$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(o.$slots,"chart-background",{},void 0,!0)],8,We)):e.createCommentVNode("",!0),t.value.type==="classic"?(e.openBlock(),e.createElementBlock("defs",Je,[t.value.style.chart.useGradient?(e.openBlock(),e.createElementBlock("radialGradient",{key:0,id:`gradient_${d.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(t.value.style.chart.backgroundColor,0),"stop-opacity":"0"},null,8,Qe),e.createElementVNode("stop",{offset:`${(1-F.value/y.value)*100}%`,"stop-color":e.unref(r.setOpacity)("#FFFFFF",0),"stop-opacity":"0"},null,8,Ze),e.createElementVNode("stop",{offset:`${(1-F.value/y.value/2)*100}%`,"stop-color":e.unref(r.setOpacity)("#FFFFFF",t.value.style.chart.gradientIntensity)},null,8,et),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(t.value.style.chart.backgroundColor,0),"stop-opacity":"0"},null,8,tt)],8,Ke)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.type==="polar"?(e.openBlock(),e.createElementBlock("defs",lt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(l,a)=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`polar_gradient_${a}_${d.value}`,cx:l.middlePoint.x/n.value.width*100+"%",cy:l.middlePoint.y/n.value.height*100+"%",r:"62%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.shiftHue)(c.value[a].color,.05),"stop-opacity":t.value.style.chart.gradientIntensity/100},null,8,at),e.createElementVNode("stop",{offset:"100%","stop-color":c.value[a].color},null,8,rt)],8,ot))),256))])):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${d.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:2,id:`blur_std_${d.value}`},null,8,ut),st],8,nt),e.createElementVNode("filter",{id:`shadow_${d.value}`,"color-interpolation-filters":"sRGB"},[e.createElementVNode("feDropShadow",{dx:"0",dy:"0",stdDeviation:"10","flood-opacity":"0.5","flood-color":t.value.style.chart.layout.donut.shadowColor},null,8,ct)],8,it),e.createElementVNode("filter",{id:`drop_shadow_${d.value}`,"color-interpolation-filters":"sRGB",x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feDropShadow",{dx:"0",dy:"0",stdDeviation:"3","flood-opacity":"1","flood-color":t.value.style.chart.layout.donut.shadowColor},null,8,vt)],8,dt)]),t.value.type==="classic"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:3},e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("g",null,[g(l)&&v.value.dataLabels.show?(e.openBlock(),e.createElementBlock("path",{key:0,d:e.unref(r.calcNutArrowPath)(l,{x:n.value.width/2,y:n.value.height/2},16,16,!1,!1,F.value),stroke:l.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",filter:S(a)},null,8,ht)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),t.value.type==="polar"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:4},e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("g",null,[g(l)&&v.value.dataLabels.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:e.unref(r.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:24,centerX:n.value.width/2,centerY:n.value.height/2}).x,y1:e.unref(r.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:24,centerX:n.value.width/2,centerY:n.value.height/2}).y,x2:i.value[a].middlePoint.x,y2:i.value[a].middlePoint.y,stroke:l.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",filter:S(a)},null,8,ft)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),t.value.type==="classic"&&t.value.style.chart.layout.donut.useShadow?(e.openBlock(),e.createElementBlock("circle",{key:5,cx:n.value.width/2,cy:n.value.height/2,r:y.value<=0?10:y.value,fill:t.value.style.chart.backgroundColor,filter:`url(#shadow_${d.value})`},null,8,yt)):e.createCommentVNode("",!0),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",pt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("defs",null,[e.renderSlot(o.$slots,"pattern",e.normalizeProps(e.guardReactiveProps({...l,patternId:`pattern_${d.value}_${l.patternIndex}`})),void 0,!0)]))),256))])):e.createCommentVNode("",!0),m.value&&t.value.type==="classic"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:7},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{stroke:t.value.style.chart.backgroundColor,d:l.arcSlice,fill:"#FFFFFF"},null,8,mt))),256)),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",kt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:l.arcSlice,fill:`url(#pattern_${d.value}_${l.patternIndex})`,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth,filter:S(a)},null,8,gt))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:l.arcSlice,fill:e.unref(r.setOpacity)(l.color,80),stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth,filter:S(a)},null,8,bt))),256))],64)):e.createCommentVNode("",!0),m.value&&t.value.type==="polar"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:8},[c.value.length>1?(e.openBlock(),e.createElementBlock("g",wt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{stroke:t.value.style.chart.backgroundColor,d:i.value[a].path,fill:"#FFFFFF"},null,8,Ct))),256)),t.value.style.chart.layout.donut.useShadow?(e.openBlock(),e.createElementBlock("g",Bt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:i.value[a].path,fill:"transparent",stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth,filter:`url(#drop_shadow_${d.value})`},null,8,_t))),256))])):e.createCommentVNode("",!0),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",xt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:i.value[a].path,fill:`url(#pattern_${d.value}_${l.patternIndex})`,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth,filter:S(a)},null,8,$t))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:i.value[a].path,fill:t.value.style.chart.useGradient?`url(#polar_gradient_${a}_${d.value})`:l.color,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth,filter:S(a)},null,8,St))),256))])):(e.openBlock(),e.createElementBlock("g",Et,[o.$slots.pattern?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:n.value.width/2,cy:n.value.height/2,r:y.value,fill:`url(#pattern_${d.value}_${c.value[0].patternIndex})`,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth},null,8,Nt)):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:n.value.width/2,cy:n.value.height/2,r:y.value,fill:t.value.style.chart.useGradient?`url(#polar_gradient_0_${d.value})`:c.value[0].color,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth},null,8,Pt)]))],64)):(e.openBlock(),e.createElementBlock("circle",{key:9,cx:n.value.width/2,cy:n.value.height/2,r:y.value<=0?10:y.value,fill:"transparent",stroke:t.value.style.chart.backgroundColor},null,8,Vt)),t.value.style.chart.useGradient&&t.value.type==="classic"?(e.openBlock(),e.createElementBlock("circle",{key:10,cx:n.value.width/2,cy:n.value.height/2,r:y.value<=0?10:y.value,fill:`url(#gradient_${d.value})`},null,8,Lt)):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:11},[c.value.length>1||t.value.type==="classic"?(e.openBlock(),e.createElementBlock("g",Ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{"data-cy-donut-trap":"",d:t.value.type==="classic"?l.arcSlice:i.value[a].path,fill:p.value===a?"rgba(0,0,0,0.1)":"transparent",onMouseenter:s=>ye({datapoint:l,relativeIndex:a,seriesIndex:l.seriesIndex,show:!0}),onMouseleave:u[0]||(u[0]=s=>{T.value=!1,p.value=null}),onClick:s=>_(l,a)},null,40,Ot))),256))])):(e.openBlock(),e.createElementBlock("g",zt,[e.createElementVNode("circle",{cx:n.value.width/2,cy:n.value.height/2,r:y.value,fill:p.value===o.i?"rgba(0,0,0,0.1)":"transparent","data-cy-donut-trap":"",onMouseenter:u[1]||(u[1]=l=>ye({datapoint:c.value[0],relativeIndex:0,seriesIndex:c.value[0].seriesIndex,show:!0})),onMouseleave:u[2]||(u[2]=l=>{T.value=!1,p.value=null}),onClick:u[3]||(u[3]=l=>_(c.value[0],o.i))},null,40,Tt)]))],64)):e.createCommentVNode("",!0),t.value.type==="classic"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:12},[t.value.style.chart.layout.labels.hollow.total.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":"middle",x:n.value.width/2,y:n.value.height/2-(t.value.style.chart.layout.labels.hollow.average.show?t.value.style.chart.layout.labels.hollow.total.fontSize:0)+t.value.style.chart.layout.labels.hollow.total.offsetY,fill:t.value.style.chart.layout.labels.hollow.total.color,"font-size":t.value.style.chart.layout.labels.hollow.total.fontSize,style:e.normalizeStyle(`font-weight:${t.value.style.chart.layout.labels.hollow.total.bold?"bold":""}`)},e.toDisplayString(t.value.style.chart.layout.labels.hollow.total.text),13,Xt)):e.createCommentVNode("",!0),t.value.style.chart.layout.labels.hollow.total.show?(e.openBlock(),e.createElementBlock("text",{key:1,"text-anchor":"middle",x:n.value.width/2,y:n.value.height/2+t.value.style.chart.layout.labels.hollow.total.fontSize-(t.value.style.chart.layout.labels.hollow.average.show?t.value.style.chart.layout.labels.hollow.total.fontSize:0)+t.value.style.chart.layout.labels.hollow.total.value.offsetY,fill:t.value.style.chart.layout.labels.hollow.total.value.color,"font-size":t.value.style.chart.layout.labels.hollow.total.value.fontSize,style:e.normalizeStyle(`font-weight:${t.value.style.chart.layout.labels.hollow.total.value.bold?"bold":""}`)},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.hollow.total.value.formatter,m.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.hollow.total.value.prefix,v:m.value,s:t.value.style.chart.layout.labels.hollow.total.value.suffix}))),13,Dt)):e.createCommentVNode("",!0),t.value.style.chart.layout.labels.hollow.average.show?(e.openBlock(),e.createElementBlock("text",{key:2,"text-anchor":"middle",x:n.value.width/2,y:n.value.height/2+(t.value.style.chart.layout.labels.hollow.total.show?t.value.style.chart.layout.labels.hollow.average.fontSize:0)+t.value.style.chart.layout.labels.hollow.average.offsetY,fill:t.value.style.chart.layout.labels.hollow.average.color,"font-size":t.value.style.chart.layout.labels.hollow.average.fontSize,style:e.normalizeStyle(`font-weight:${t.value.style.chart.layout.labels.hollow.average.bold?"bold":""}`)},e.toDisplayString(t.value.style.chart.layout.labels.hollow.average.text),13,Mt)):e.createCommentVNode("",!0),t.value.style.chart.layout.labels.hollow.average.show?(e.openBlock(),e.createElementBlock("text",{key:3,"text-anchor":"middle",x:n.value.width/2,y:n.value.height/2+(t.value.style.chart.layout.labels.hollow.total.show?t.value.style.chart.layout.labels.hollow.average.fontSize:0)+t.value.style.chart.layout.labels.hollow.average.fontSize+t.value.style.chart.layout.labels.hollow.average.value.offsetY,fill:t.value.style.chart.layout.labels.hollow.average.value.color,"font-size":t.value.style.chart.layout.labels.hollow.average.value.fontSize,style:e.normalizeStyle(`font-weight:${t.value.style.chart.layout.labels.hollow.average.value.bold?"bold":""}`)},e.toDisplayString($.value?"--":e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.hollow.average.value.formatter,he.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.hollow.average.value.prefix,v:he.value,s:t.value.style.chart.layout.labels.hollow.average.value.suffix,r:t.value.style.chart.layout.labels.hollow.average.value.rounding}))),13,Yt)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(l,a)=>(e.openBlock(),e.createElementBlock("g",{filter:S(a),class:e.normalizeClass({animated:t.value.useCssAnimation})},[t.value.style.chart.layout.labels.dataLabels.useLabelSlots?(e.openBlock(),e.createElementBlock("g",It,[(e.openBlock(),e.createElementBlock("foreignObject",{x:e.unref(r.calcMarkerOffsetX)(l,!0).anchor==="end"?e.unref(r.calcMarkerOffsetX)(l).x-120:e.unref(r.calcMarkerOffsetX)(l,!0).anchor==="middle"?e.unref(r.calcMarkerOffsetX)(l).x-60:e.unref(r.calcMarkerOffsetX)(l).x,y:e.unref(r.calcMarkerOffsetY)(l)-(me.value?20:0),width:"120",height:"60",style:{overflow:"visible"}},[e.createElementVNode("div",null,[e.renderSlot(o.$slots,"dataLabel",e.normalizeProps(e.guardReactiveProps({datapoint:l,isBlur:!t.value.useBlurOnHover||[null,void 0].includes(p.value)||p.value===a,isSafari:me.value,isVisible:g(l)&&v.value.dataLabels.show,textAlign:e.unref(r.calcMarkerOffsetX)(l,!0,16,!0).anchor,flexAlign:e.unref(r.calcMarkerOffsetX)(l,!0,16).anchor,percentage:A(l,c.value)})),void 0,!0)])],8,qt))])):(e.openBlock(),e.createElementBlock("g",Rt,[t.value.type==="classic"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[g(l)&&v.value.dataLabels.show?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:e.unref(r.calcMarkerOffsetX)(l).x,cy:e.unref(r.calcMarkerOffsetY)(l)-3.5,fill:l.color,stroke:t.value.style.chart.backgroundColor,"stroke-width":1,r:3,filter:!t.value.useBlurOnHover||[null,void 0].includes(p.value)||p.value===a?"":`url(#blur_${d.value})`,onClick:s=>_(l,a)},null,8,Gt)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.type==="polar"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[g(l)&&v.value.dataLabels.show?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:e.unref(r.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:24,centerX:n.value.width/2,centerY:n.value.height/2}).x,cy:e.unref(r.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:24,centerX:n.value.width/2,centerY:n.value.height/2}).y,fill:l.color,stroke:t.value.style.chart.backgroundColor,"stroke-width":1,r:3,filter:!t.value.useBlurOnHover||[null,void 0].includes(p.value)||p.value===a?"":`url(#blur_${d.value})`,onClick:s=>_(l,a)},null,8,Ut)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.type==="classic"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[g(l)&&v.value.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":e.unref(r.calcMarkerOffsetX)(l,!0,12).anchor,x:e.unref(r.calcMarkerOffsetX)(l,!0,12).x,y:e.unref(r.calcMarkerOffsetY)(l),fill:t.value.style.chart.layout.labels.percentage.color,"font-size":t.value.style.chart.layout.labels.percentage.fontSize,style:e.normalizeStyle(`font-weight:${t.value.style.chart.layout.labels.percentage.bold?"bold":""}`),onClick:s=>_(l,a)},e.toDisplayString(A(l,c.value))+" "+e.toDisplayString(t.value.style.chart.layout.labels.value.show?`(${e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.value.formatter,l.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.layout.labels.value.rounding}),{datapoint:l})})`:""),13,jt)):e.createCommentVNode("",!0),g(l)&&v.value.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:1,"text-anchor":e.unref(r.calcMarkerOffsetX)(l).anchor,x:e.unref(r.calcMarkerOffsetX)(l,!0,12).x,y:e.unref(r.calcMarkerOffsetY)(l)+t.value.style.chart.layout.labels.percentage.fontSize,fill:t.value.style.chart.layout.labels.name.color,"font-size":t.value.style.chart.layout.labels.name.fontSize,style:e.normalizeStyle(`font-weight:${t.value.style.chart.layout.labels.name.bold?"bold":""}`),onClick:s=>_(l,a)},e.toDisplayString(l.name),13,Ht)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.type==="polar"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[g(l)&&v.value.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":N(i.value[a].middlePoint),x:e.unref(r.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:n.value.width/2,centerY:n.value.height/2}).x,y:e.unref(r.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:n.value.width/2,centerY:n.value.height/2}).y,fill:t.value.style.chart.layout.labels.percentage.color,"font-size":t.value.style.chart.layout.labels.percentage.fontSize,style:e.normalizeStyle(`font-weight:${t.value.style.chart.layout.labels.percentage.bold?"bold":""}`),onClick:s=>_(l,a)},e.toDisplayString(A(l,c.value))+" "+e.toDisplayString(t.value.style.chart.layout.labels.value.show?`(${e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.value.formatter,l.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.layout.labels.value.rounding}),{datapoint:l})})`:""),13,Wt)):e.createCommentVNode("",!0),g(l)&&v.value.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:1,"text-anchor":N(i.value[a].middlePoint),x:e.unref(r.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:n.value.width/2,centerY:n.value.height/2}).x,y:e.unref(r.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:n.value.width/2,centerY:n.value.height/2}).y+t.value.style.chart.layout.labels.percentage.fontSize,fill:t.value.style.chart.layout.labels.name.color,"font-size":t.value.style.chart.layout.labels.name.fontSize,style:e.normalizeStyle(`font-weight:${t.value.style.chart.layout.labels.name.bold?"bold":""}`),onClick:s=>_(l,a)},e.toDisplayString(l.name),13,Jt)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])),v.value.dataLabels.show&&t.value.style.chart.comments.show&&l.comment?(e.openBlock(),e.createElementBlock("g",Kt,[g(l)&&t.value.type==="classic"?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:t.value.style.chart.comments.offsetX+(e.unref(r.calcMarkerOffsetX)(l,!0).anchor==="end"?e.unref(r.calcMarkerOffsetX)(l).x-t.value.style.chart.comments.width:e.unref(r.calcMarkerOffsetX)(l,!0).anchor==="middle"?e.unref(r.calcMarkerOffsetX)(l).x-t.value.style.chart.comments.width/2:e.unref(r.calcMarkerOffsetX)(l).x),y:e.unref(r.calcMarkerOffsetY)(l)+24+t.value.style.chart.comments.offsetY,width:t.value.style.chart.comments.width,height:"200",style:{overflow:"visible","pointer-events":"none"}},[e.createElementVNode("div",null,[e.renderSlot(o.$slots,"plot-comment",{plot:{...l,textAlign:e.unref(r.calcMarkerOffsetX)(l,!0,16,!0).anchor,flexAlign:e.unref(r.calcMarkerOffsetX)(l,!0,16).anchor}},void 0,!0)])],8,Qt)):e.createCommentVNode("",!0),g(l)&&t.value.type==="polar"?(e.openBlock(),e.createElementBlock("foreignObject",{key:1,x:t.value.style.chart.comments.offsetX+(N(i.value[a].middlePoint)==="end"?e.unref(r.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:n.value.width/2,centerY:n.value.height/2}).x-t.value.style.chart.comments.width:N(i.value[a].middlePoint)==="middle"?e.unref(r.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:n.value.width/2,centerY:n.value.height/2}).x-t.value.style.chart.comments.width/2:e.unref(r.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:n.value.width/2,centerY:n.value.height/2}).x),y:Ve(i.value[a])+t.value.style.chart.comments.offsetY,width:t.value.style.chart.comments.width,height:"200",style:{overflow:"visible","pointer-events":"none"}},[e.createElementVNode("div",null,[e.renderSlot(o.$slots,"plot-comment",{plot:{...l,textAlign:N(i.value[a].middlePoint),flexAlign:N(i.value[a].middlePoint)}},void 0,!0)])],8,Zt)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,At))),256)),e.renderSlot(o.$slots,"svg",{svg:n.value},void 0,!0)],14,He)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",el,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(ae)||e.unref(re)})),void 0,!0)])):e.createCommentVNode("",!0),L.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Me.default,{key:6,config:{type:"donut",style:{backgroundColor:t.value.style.chart.backgroundColor,donut:{color:"#CCCCCC",strokeWidth:F.value*.8}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:j},[t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(De.Legend,{key:`legend_${Q.value}`,legendSet:ve.value,config:Pe.value,onClickMarker:u[4]||(u[4]=({i:l})=>de(l))},e.createSlots({item:e.withCtx(({legend:l,index:a})=>[e.createElementVNode("div",{style:e.normalizeStyle(`opacity:${w.value.includes(a)?.5:1}`),onClick:s=>l.segregate()},[e.createTextVNode(e.toDisplayString(l.name)+": "+e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.value.formatter,l.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:l,index:a}))+" ",1),w.value.includes(a)?(e.openBlock(),e.createElementBlock("span",ol," ( "+e.toDisplayString(Oe(l.proportion*100))+" % ) ",1)):(e.openBlock(),e.createElementBlock("span",ll," ("+e.toDisplayString(isNaN(l.value/m.value)?"-":e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.percentage.formatter,fe.value(l),e.unref(r.dataLabel)({v:fe.value(l),s:"%",r:t.value.style.chart.legend.roundingPercentage})))+") ",1))],12,tl)]),_:2},[o.$slots.pattern?{name:"legend-pattern",fn:e.withCtx(({legend:l,index:a})=>[e.createVNode(Re._sfc_main,{shape:l.shape,radius:30,stroke:"none",plot:{x:30,y:30},fill:`url(#pattern_${d.value}_${a})`},null,8,["shape","fill"])]),key:"0"}:void 0]),1032,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"legend",{legend:ve.value},void 0,!0)],512),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:H,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(Xe._sfc_main,{show:v.value.showTooltip&&T.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:E.value,content:M.value,isCustom:O.value,isFullscreen:P.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...I.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...I.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom","isFullscreen"]),L.value?(e.openBlock(),e.createBlock(Ye.default,{key:8,hideDetails:"",config:{open:v.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(Te.DataTable,{key:`table_${K.value}`,colNames:X.value.colNames,head:X.value.head,body:X.value.body,config:X.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:u[5]||(u[5]=l=>v.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,al)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name?l.name:isNaN(Number(l))?l.includes("%")?l:e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.percentage.formatter,l,e.unref(r.dataLabel)({v:l,s:"%",r:t.value.style.chart.layout.labels.percentage.rounding})):e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.value.formatter,l,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.layout.labels.value.rounding}))),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,je))}},nl=Ge._export_sfc(rl,[["__scopeId","data-v-bac48d71"]]);exports.default=nl;
|