vue-data-ui 2.10.3-beta.1 → 2.10.3-beta.3
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-B_t3knDx.cjs → Arrow-ClADeuRV.cjs} +1 -1
- package/dist/{Arrow-GVrF9WOj.js → Arrow-CsFRQWgn.js} +1 -1
- package/dist/{BaseIcon-DBgAUX2a.cjs → BaseIcon-BZiTtIp-.cjs} +1 -1
- package/dist/{BaseIcon-h9TCYwJK.js → BaseIcon-DuZmhYGx.js} +1 -1
- package/dist/{ColorPicker-CtdVdLS4.js → ColorPicker-CWTWiV6N.js} +3 -3
- package/dist/{ColorPicker-YfLIuv-R.cjs → ColorPicker-ajFBO-uj.cjs} +1 -1
- package/dist/{DataTable-C3yxI_aI.cjs → DataTable-D8eve3Rv.cjs} +1 -1
- package/dist/{DataTable-DObvjXDX.js → DataTable-D8vcDzp3.js} +2 -2
- package/dist/{Legend-DzSy-IUq.js → Legend-BXkorlVx.js} +2 -2
- package/dist/{Legend-DJ-i2IuD.cjs → Legend-C-9Va34F.cjs} +1 -1
- package/dist/{PackageVersion-BIgwvtuC.cjs → PackageVersion-B6hD3Tku.cjs} +1 -1
- package/dist/{PackageVersion-Bf6TS-QR.js → PackageVersion-Cwa-KDYy.js} +1 -1
- package/dist/{PenAndPaper-DMTgFlFr.js → PenAndPaper-bYremuGq.js} +3 -3
- package/dist/{PenAndPaper-Bz1D0jf7.cjs → PenAndPaper-mD8Ft9s0.cjs} +1 -1
- package/dist/{Shape-BB_8PZCY.js → Shape-BKl_8fSs.js} +1 -1
- package/dist/{Shape-DT1Q81L9.cjs → Shape-C-MjxBzW.cjs} +1 -1
- package/dist/{Slicer-Bp6W-Q1V.cjs → Slicer-BbnCHEKM.cjs} +1 -1
- package/dist/{Slicer-DCUzf9fq.js → Slicer-D-8HCnPl.js} +2 -2
- package/dist/{Title-BD93Z93w.js → Title-A3qdvX3g.js} +1 -1
- package/dist/{Title-B1y-3QPQ.cjs → Title-g0Df2kQZ.cjs} +1 -1
- package/dist/{Tooltip-DrcHzDRM.js → Tooltip-C3RycjbN.js} +1 -1
- package/dist/{Tooltip-RV5OVI3a.cjs → Tooltip-CzFLZsDA.cjs} +1 -1
- package/dist/{dom-to-png-GVD347Ix.js → dom-to-png-BycXzYPI.js} +1 -1
- package/dist/{dom-to-png-CCEeTdud.cjs → dom-to-png-CDJbBbow.cjs} +1 -1
- package/dist/{img-Dj_G_KYV.js → img-BCG9afle.js} +1 -1
- package/dist/{img-CzUIHHgH.cjs → img-Daf6wWtq.cjs} +1 -1
- package/dist/index-CLiv4lWF.cjs +9 -0
- package/dist/{index-DWq4s-ww.js → index-DO87eA2V.js} +44 -37
- package/dist/{pdf-CHnecAVX.cjs → pdf-BO4SP770.cjs} +1 -1
- package/dist/{pdf-DpksDzZW.js → pdf-CUKGQwXz.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -1
- package/dist/types/vue-data-ui.d.ts +4 -1
- package/dist/{useNestedProp-CEwtxiO9.cjs → useNestedProp-DWYmdrE5.cjs} +1 -1
- package/dist/{useNestedProp-CPAzMQW3.js → useNestedProp-fOy4tvij.js} +1 -1
- package/dist/{usePrinter-BjxuB68l.js → usePrinter-BjvSt_Yu.js} +3 -3
- package/dist/{usePrinter-GqLmuLI-.cjs → usePrinter-sfF-cTSO.cjs} +1 -1
- package/dist/{vue-data-ui-DBEeag8i.cjs → vue-data-ui-BGjhB0IM.cjs} +1 -1
- package/dist/{vue-data-ui-BhuxqKkJ.js → vue-data-ui-BnXm4F7y.js} +62 -62
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +21 -21
- package/dist/{vue-ui-3d-bar-6npDtOUn.js → vue-ui-3d-bar-B_iIJS6A.js} +9 -9
- package/dist/{vue-ui-3d-bar-TWzcdbdy.cjs → vue-ui-3d-bar-eQPQ37P9.cjs} +1 -1
- package/dist/{vue-ui-accordion-Ca6nV8uf.js → vue-ui-accordion-CMJOxHWq.js} +3 -3
- package/dist/{vue-ui-accordion-VK6Q6MAw.cjs → vue-ui-accordion-DQ-y4bL8.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CwqMewxq.cjs → vue-ui-age-pyramid-BKcb5h0_.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BaBU4AkZ.js → vue-ui-age-pyramid-DSelZbfg.js} +10 -10
- package/dist/{vue-ui-annotator-BSfg2Cqh.js → vue-ui-annotator-Ae8rLlRh.js} +2 -2
- package/dist/{vue-ui-annotator-DBtx2PHg.cjs → vue-ui-annotator-BnfB4-1v.cjs} +1 -1
- package/dist/{vue-ui-bullet-vBhcJqBu.js → vue-ui-bullet-CV7t3yQK.js} +8 -8
- package/dist/{vue-ui-bullet-DQGjRgXj.cjs → vue-ui-bullet-D3wD3j73.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C8m29T8u.cjs → vue-ui-candlestick-CP-TFhQo.cjs} +1 -1
- package/dist/{vue-ui-candlestick-AhsFFM0O.js → vue-ui-candlestick-ylYUQUkS.js} +11 -11
- package/dist/{vue-ui-carousel-table-B09sTudP.cjs → vue-ui-carousel-table-B5FwZhGC.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-M69qs_tr.js → vue-ui-carousel-table-B8Yes-sQ.js} +4 -4
- package/dist/{vue-ui-chestnut-Cz_Aj8pX.js → vue-ui-chestnut-DAskg0cX.js} +8 -8
- package/dist/{vue-ui-chestnut-uQ4QhJEu.cjs → vue-ui-chestnut-De2g4Q2p.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-CN7nYxdb.cjs → vue-ui-circle-pack-BRLoGdmB.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-CYIHdn-n.js → vue-ui-circle-pack-BlKPb01P.js} +9 -9
- package/dist/{vue-ui-cursor-BaXtpkTz.cjs → vue-ui-cursor-3vZlEDs4.cjs} +1 -1
- package/dist/{vue-ui-cursor-weHYxHaT.js → vue-ui-cursor-Fw7eOKi1.js} +2 -2
- package/dist/{vue-ui-dashboard-CLYI8wEV.cjs → vue-ui-dashboard-B_02OPVe.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BNsg59hU.js → vue-ui-dashboard-jeg6HmFh.js} +62 -62
- package/dist/{vue-ui-digits-B0hyDETd.js → vue-ui-digits-1inXKiGc.js} +2 -2
- package/dist/{vue-ui-digits-wj8ka_eT.cjs → vue-ui-digits-D9COqRtQ.cjs} +1 -1
- package/dist/vue-ui-donut-B4HiTFOD.js +1294 -0
- package/dist/{vue-ui-donut-evolution-2pYa-efH.js → vue-ui-donut-evolution-CwGD6UCG.js} +11 -11
- package/dist/{vue-ui-donut-evolution-UoUnPX6g.cjs → vue-ui-donut-evolution-t8NE1QRt.cjs} +1 -1
- package/dist/vue-ui-donut-snJ23_B8.cjs +1 -0
- package/dist/{vue-ui-dumbbell-DwZPwUCk.cjs → vue-ui-dumbbell-BItso2iE.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DSxoHF9p.js → vue-ui-dumbbell-DdFlUsZF.js} +10 -10
- package/dist/{vue-ui-flow-BkpFuQkm.js → vue-ui-flow-CR-74ZdV.js} +9 -9
- package/dist/{vue-ui-flow-aJq5srUA.cjs → vue-ui-flow-DZrVpkqa.cjs} +1 -1
- package/dist/{vue-ui-funnel-BuI-vnQb.js → vue-ui-funnel-C6Q9kDZj.js} +9 -9
- package/dist/{vue-ui-funnel-BafVKO-m.cjs → vue-ui-funnel-P6dph9rO.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DOAhW1MF.cjs → vue-ui-galaxy-BzfQwtb7.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DU1KQobN.js → vue-ui-galaxy-CRvj8ew8.js} +11 -11
- package/dist/{vue-ui-gauge-D21wMdC_.cjs → vue-ui-gauge-BOmHo3_2.cjs} +1 -1
- package/dist/{vue-ui-gauge-D7sFY8c_.js → vue-ui-gauge-CrrDIYlt.js} +7 -7
- package/dist/{vue-ui-gizmo-BXaLmym5.js → vue-ui-gizmo-BjKqctlX.js} +3 -3
- package/dist/{vue-ui-gizmo-BA1d9qdv.cjs → vue-ui-gizmo-CdBHJhKH.cjs} +1 -1
- package/dist/{vue-ui-heatmap-CCoQHO_6.cjs → vue-ui-heatmap-CfeV2PVZ.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Cxss4QvF.js → vue-ui-heatmap-DQZsO55U.js} +10 -10
- package/dist/{vue-ui-history-plot-C92Mp3Xp.cjs → vue-ui-history-plot-BwmxWdM2.cjs} +1 -1
- package/dist/{vue-ui-history-plot-DQO0n3Rf.js → vue-ui-history-plot-DR6KcO-n.js} +11 -11
- package/dist/{vue-ui-kpi-COo6m-Ks.cjs → vue-ui-kpi-CL1YEty9.cjs} +1 -1
- package/dist/{vue-ui-kpi-BhvozR5s.js → vue-ui-kpi-DPbpUZ9S.js} +3 -3
- package/dist/{vue-ui-mini-loader-BwEHFWkC.js → vue-ui-mini-loader-DH6ZNRTg.js} +2 -2
- package/dist/{vue-ui-mini-loader-B-tISyPq.cjs → vue-ui-mini-loader-sEeyMkrd.cjs} +1 -1
- package/dist/{vue-ui-molecule-DS-9YlFP.cjs → vue-ui-molecule-CRnMyuuZ.cjs} +1 -1
- package/dist/{vue-ui-molecule-bcpIBsMm.js → vue-ui-molecule-DLK2q-Oq.js} +11 -11
- package/dist/{vue-ui-mood-radar-C5PYCas_.js → vue-ui-mood-radar-W5IVToCL.js} +11 -11
- package/dist/{vue-ui-mood-radar-CtsnePEw.cjs → vue-ui-mood-radar-lnAFfrjE.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BM1drnr6.cjs → vue-ui-nested-donuts-CeuU6oEJ.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DykqnDcp.js → vue-ui-nested-donuts-DtgPU-KX.js} +11 -11
- package/dist/{vue-ui-onion-gaJqwmrF.js → vue-ui-onion-BeNPgG7G.js} +11 -11
- package/dist/{vue-ui-onion-C2ZBvIAR.cjs → vue-ui-onion-WwdP8EpV.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-A1Gj_Ga7.js → vue-ui-parallel-coordinate-plot-Ck3SJsIG.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-xu2Wocpp.cjs → vue-ui-parallel-coordinate-plot-Cv68PCn5.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DcbgFaxG.js → vue-ui-quadrant-CMkw88lO.js} +12 -12
- package/dist/{vue-ui-quadrant-n27JvM93.cjs → vue-ui-quadrant-DZ6ybcaY.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-ByKtbyYB.js → vue-ui-quick-chart-Cl6gJp5T.js} +9 -9
- package/dist/{vue-ui-quick-chart-JcAbo_Ou.cjs → vue-ui-quick-chart-DJa7vHnr.cjs} +1 -1
- package/dist/{vue-ui-radar-DxDuU7PC.js → vue-ui-radar-D18-CVYt.js} +12 -12
- package/dist/{vue-ui-radar-ClfEAsg9.cjs → vue-ui-radar-DJQ9V5u3.cjs} +1 -1
- package/dist/{vue-ui-rating-BRsSp9rc.js → vue-ui-rating-4aeU2wx4.js} +2 -2
- package/dist/{vue-ui-rating-wjKAMprc.cjs → vue-ui-rating-DJ8riM4Y.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DcsjQXnt.cjs → vue-ui-relation-circle-CNmTYbJn.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DFWEguaU.js → vue-ui-relation-circle-D5fbkhA5.js} +7 -7
- package/dist/{vue-ui-ridgeline-CwXRZCK1.js → vue-ui-ridgeline-DYu8Ye38.js} +12 -12
- package/dist/{vue-ui-ridgeline-D8nEWP-a.cjs → vue-ui-ridgeline-DcP5wra6.cjs} +1 -1
- package/dist/{vue-ui-rings-BUYVAbfZ.js → vue-ui-rings-BVR1q--q.js} +12 -12
- package/dist/{vue-ui-rings-BjHcappB.cjs → vue-ui-rings-CLex25i0.cjs} +1 -1
- package/dist/{vue-ui-scatter-CalyzpYZ.js → vue-ui-scatter-1nnDmU8p.js} +12 -12
- package/dist/{vue-ui-scatter-C2G-V-rP.cjs → vue-ui-scatter-CSsBerNk.cjs} +1 -1
- package/dist/{vue-ui-skeleton-C2lcxV1r.cjs → vue-ui-skeleton-3odYNTi5.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CgSdY-i3.js → vue-ui-skeleton-BTg31tSs.js} +3 -3
- package/dist/{vue-ui-smiley-CAp8amf3.js → vue-ui-smiley-BIzjWlLm.js} +2 -2
- package/dist/{vue-ui-smiley-CyjuCEzK.cjs → vue-ui-smiley-DAbOc9Sm.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-g3JUDKWQ.js → vue-ui-spark-trend-CFYnfyEb.js} +5 -5
- package/dist/{vue-ui-spark-trend-DNRog2VZ.cjs → vue-ui-spark-trend-CRKk0fMc.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BPFUJ-XV.cjs → vue-ui-sparkbar-CCZDQYle.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Dgv-eGQT.js → vue-ui-sparkbar-V1FyDpDn.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Rm9WqJac.cjs → vue-ui-sparkgauge-CrirH2LX.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-J4QKrqrr.js → vue-ui-sparkgauge-MgywKNqC.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-BamMJRbn.js → vue-ui-sparkhistogram-CwBviGI7.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CPJl4whz.cjs → vue-ui-sparkhistogram-U__aSGYT.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BswJd-GI.cjs → vue-ui-sparkline-BHiVgcfL.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BE6uxQJ1.js → vue-ui-sparkline-D3v5ydDD.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-BH9sFANv.js → vue-ui-sparkstackbar--tnnBrOu.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-DkOoCVXL.cjs → vue-ui-sparkstackbar-BrBQ2Vby.cjs} +1 -1
- package/dist/{vue-ui-stackbar-bII9CH8i.js → vue-ui-stackbar-C-dJRiXT.js} +13 -13
- package/dist/{vue-ui-stackbar-CSHgiu-S.cjs → vue-ui-stackbar-D7htqdCz.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BcxHXtpk.js → vue-ui-strip-plot-B-Mc-qGK.js} +11 -11
- package/dist/{vue-ui-strip-plot-DfAGuNRJ.cjs → vue-ui-strip-plot-hNrBW3SU.cjs} +1 -1
- package/dist/{vue-ui-table-kj_YAH7E.cjs → vue-ui-table-ByDKzqNM.cjs} +1 -1
- package/dist/{vue-ui-table-D2qlWdag.js → vue-ui-table-CQp16PNe.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Y9npl2qT.js → vue-ui-table-heatmap-BNl4iQhq.js} +4 -4
- package/dist/{vue-ui-table-heatmap-DrNGAq6g.cjs → vue-ui-table-heatmap-DaEPU0kc.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-qFq-ga-b.cjs → vue-ui-table-sparkline-BgV9zEpQ.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-VeqlQ66b.js → vue-ui-table-sparkline-lTHfuO-u.js} +5 -5
- package/dist/{vue-ui-thermometer-CgDYCC3w.js → vue-ui-thermometer-BN6Hyr3r.js} +7 -7
- package/dist/{vue-ui-thermometer-C1lDcGjT.cjs → vue-ui-thermometer-HB6BdSZ7.cjs} +1 -1
- package/dist/{vue-ui-timer-CY2IxtRl.cjs → vue-ui-timer-6NZga1VA.cjs} +1 -1
- package/dist/{vue-ui-timer-BY2dCjiN.js → vue-ui-timer-DpIbKhWx.js} +5 -5
- package/dist/{vue-ui-tiremarks-DTWdmj4v.js → vue-ui-tiremarks-BDlFLwmy.js} +7 -7
- package/dist/{vue-ui-tiremarks-BWQmACOn.cjs → vue-ui-tiremarks-Bssfpj2T.cjs} +1 -1
- package/dist/{vue-ui-treemap-CtBynkdy.js → vue-ui-treemap-CSEqsnF6.js} +12 -12
- package/dist/{vue-ui-treemap-DrXwsion.cjs → vue-ui-treemap-X9VKUYSw.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-DybIA-c5.cjs → vue-ui-vertical-bar-Bv35bg1C.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-C_qWNcce.js → vue-ui-vertical-bar-SgM2OnqX.js} +12 -12
- package/dist/{vue-ui-waffle-xCR4Q6fn.cjs → vue-ui-waffle-C1L34KiX.cjs} +1 -1
- package/dist/{vue-ui-waffle-3xEQ48b1.js → vue-ui-waffle-CPwuaVId.js} +12 -12
- package/dist/{vue-ui-wheel-CweXDTzj.cjs → vue-ui-wheel-D2HqXb2O.cjs} +1 -1
- package/dist/{vue-ui-wheel-Dc8OZDxx.js → vue-ui-wheel-DbNXTA9I.js} +7 -7
- package/dist/{vue-ui-word-cloud-wwE8jKoI.js → vue-ui-word-cloud-B7VTWsl2.js} +21 -21
- package/dist/{vue-ui-word-cloud-CJOHMRfq.cjs → vue-ui-word-cloud-Cmm3wp39.cjs} +1 -1
- package/dist/{vue-ui-world-kJodeH03.js → vue-ui-world-51vUWrqr.js} +11 -11
- package/dist/{vue-ui-world-DNYusHsf.cjs → vue-ui-world-Bi32aYtK.cjs} +1 -1
- package/dist/{vue-ui-xy-DK2uwes1.cjs → vue-ui-xy-BxJgh4xL.cjs} +2 -2
- package/dist/{vue-ui-xy-C5qR9CE2.js → vue-ui-xy-D1O0m03x.js} +16 -16
- package/dist/{vue-ui-xy-canvas-0s6cq6q8.cjs → vue-ui-xy-canvas-DbS90DFy.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DTaRiqld.js → vue-ui-xy-canvas-DsZxaeOo.js} +12 -12
- package/package.json +1 -1
- package/dist/index-DmOqU2gc.cjs +0 -9
- package/dist/vue-ui-donut-B2acbY3c.js +0 -1259
- package/dist/vue-ui-donut-C4LxZkgt.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-DmOqU2gc.cjs"),Ee=require("./useResponsive-DQmBAoBf.cjs"),He=require("./Title-B1y-3QPQ.cjs"),Pe=require("./usePrinter-GqLmuLI-.cjs"),Je=require("./DataTable-C3yxI_aI.cjs"),Ke=require("./Tooltip-RV5OVI3a.cjs"),Qe=require("./Legend-DJ-i2IuD.cjs"),Ze=require("./vue-ui-skeleton-C2lcxV1r.cjs"),et=require("./vue-ui-accordion-VK6Q6MAw.cjs"),Fe=require("./useNestedProp-CEwtxiO9.cjs"),tt=require("./PackageVersion-BIgwvtuC.cjs"),lt=require("./PenAndPaper-Bz1D0jf7.cjs"),ot=require("./useUserOptionState-BgepsfED.cjs"),at=require("./Shape-DT1Q81L9.cjs"),nt=require("./useChartAccessibility-Cm7nkzTG.cjs"),rt=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ut=["id"],st=["xmlns","viewBox"],it=["width","height"],ct={key:1},dt=["id"],vt=["stop-color"],ht=["offset","stop-color"],ft=["offset","stop-color"],yt=["stop-color"],mt={key:2},pt=["id","cx","cy"],gt=["stop-color","stop-opacity"],kt=["stop-color"],bt=["id"],wt=["id"],Ct=["id"],Bt=["flood-color"],_t=["id"],xt=["flood-color"],$t=["d","stroke","filter"],St=["x1","y1","x2","y2","stroke","filter"],Nt=["cx","cy","r","fill","filter"],Et={key:6},Pt=["stroke","d"],Ft={key:0},Lt=["d","fill","stroke","stroke-width","filter"],Vt=["d","fill","stroke","stroke-width","filter"],Ot={key:0},zt=["stroke","d"],Tt={key:0},Mt=["d","stroke","stroke-width","filter"],Xt={key:1},Dt=["d","fill","stroke","stroke-width","filter"],At=["d","fill","stroke","stroke-width","filter"],Yt={key:1},It=["cx","cy","r","fill","stroke","stroke-width"],qt=["cx","cy","r","fill","stroke","stroke-width"],Rt=["cx","cy","r","stroke"],Gt=["cx","cy","r","fill"],Ut={key:0},Wt=["d","fill","onMouseenter","onClick"],jt={key:1},Ht=["cx","cy","r","fill"],Jt=["x","y","fill","font-size"],Kt=["x","y","fill","font-size"],Qt=["x","y","fill","font-size"],Zt=["x","y","fill","font-size"],el=["filter"],tl={key:0},ll=["x","y"],ol={key:1},al=["cx","cy","fill","stroke","filter","onClick"],nl=["cx","cy","fill","stroke","filter","onClick"],rl=["text-anchor","x","y","fill","font-size","onClick"],ul=["text-anchor","x","y","fill","font-size","onClick"],sl=["text-anchor","x","y","fill","font-size","onClick"],il=["text-anchor","x","y","fill","font-size","onClick"],cl={key:2},dl=["x","y","width"],vl=["x","y","width"],hl={key:5,class:"vue-data-ui-watermark"},fl=["onClick"],yl={key:0,style:{"font-variant-numeric":"tabular-nums"}},ml={key:1},pl=["innerHTML"],gl={__name:"vue-ui-donut",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(H,{expose:Le,emit:Ve}){const{vue_ui_donut:Oe}=n.useConfig(),ze=e.useSlots(),k=H,z=e.computed({get(){return!!k.dataset&&k.dataset.length},set(o){return o}}),T=e.ref(null),J=e.ref(null),K=e.ref(null),D=e.ref(null),Q=e.ref(null),Z=e.ref(null),ee=e.ref(0),te=e.ref(0),le=e.ref(0);e.onMounted(()=>{oe()}),e.onBeforeUnmount(()=>{D.value&&D.value.disconnect()});function oe(){if(n.objectIsEmpty(k.dataset)?n.error({componentName:"VueUiDonut",type:"dataset"}):k.dataset.forEach((o,r)=>{n.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","values"]}).forEach(l=>{z.value=!1,n.error({componentName:"VueUiDonut",type:"datasetSerieAttribute",property:l,index:r})})}),t.value.responsive){const o=Ee.throttle(()=>{const{width:r,height:l}=Ee.useResponsive({chart:T.value,title:t.value.style.chart.title.text?J.value:null,legend:t.value.style.chart.legend.show?K.value:null,source:Q.value,noTitle:Z.value,padding:se.value});requestAnimationFrame(()=>{u.value.width=r,u.value.height=l})});D.value=new ResizeObserver(o),D.value.observe(T.value.parentNode)}}const d=e.ref(n.createUid()),Te=e.ref(null),A=e.ref(!1),q=e.ref(""),p=e.ref(null),ae=e.ref(0);function ne(){const o=Fe.useNestedProp({userConfig:k.config,defaultConfig:Oe});return o.theme?{...Fe.useNestedProp({userConfig:n.themes.vue_ui_donut[o.theme]||k.config,defaultConfig:o}),customPalette:n.themePalettes[o.theme]||n.palette}:o}const t=e.computed({get:()=>ne(),set:o=>o}),w=e.ref(!0),x=e.ref([]);function Me(o){return 1-Math.pow(1-o,3)}function Xe(o,r=1e3,l=50){return new Promise(a=>{const s=o.length;x.value=Array(s).fill(0);let v=0;o.forEach((h,y)=>{setTimeout(()=>{const X=performance.now();function Se(We){const Ne=Math.min((We-X)/r,1),je=Me(Ne);x.value[y]=h*je,x.value=[...x.value],Ne<1?requestAnimationFrame(Se):(x.value[y]=h,x.value=[...x.value],v+=1,v===s&&a())}requestAnimationFrame(Se)},y*l)})})}e.onMounted(async()=>{const o=k.dataset.map(r=>r.values.reduce((l,a)=>l+a,0));t.value.startAnimation.show&&await Xe(o,t.value.startAnimation.durationMs,t.value.startAnimation.staggerMs),w.value=!1});const{userOptionsVisible:R,setUserOptionsVisibility:re,keepUserOptionState:ue}=ot.useUserOptionState({config:t.value}),{svgRef:G}=nt.useChartAccessibility({config:t.value.style.chart.title});e.watch(()=>k.config,o=>{t.value=ne(),R.value=!t.value.userOptions.showOnChartHover,oe(),ee.value+=1,te.value+=1,le.value+=1,c.value.dataLabels.show=t.value.style.chart.layout.labels.dataLabels.show,c.value.showTable=t.value.table.show,c.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const se=e.computed(()=>{const{top:o,right:r,bottom:l,left:a}=t.value.style.chart.padding;return{css:`padding:${o}px ${r}px ${l}px ${a}px`,top:o,right:r,bottom:l,left:a}}),{isPrinting:ie,isImaging:ce,generatePdf:de,generateImage:ve}=Pe.usePrinter({elementId:`donut__${d.value}`,fileName:t.value.style.chart.title.text||"vue-ui-donut",options:t.value.userOptions.print}),De=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),he=e.computed(()=>n.convertCustomPalette(t.value.customPalette)),c=e.ref({dataLabels:{show:t.value.style.chart.layout.labels.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),u=e.ref({height:360,width:512}),L=e.computed(()=>{const o=t.value.style.chart.layout.donut.strokeWidth/512,r=Math.min(u.value.width,u.value.height)*o,l=r>f.value?f.value:r;return Math.max(l,3)}),fe=Ve,$=e.computed(()=>k.dataset.map((o,r)=>({name:o.name,color:n.convertColorToHex(o.color)||he.value[r]||n.palette[r]||n.palette[r%n.palette.length],value:o.values.reduce((l,a)=>l+a,0),absoluteValues:o.values,comment:o.comment||"",patternIndex:r,pattern:`pattern_${d.value}_${r}`}))),b=e.ref($.value);e.watch(()=>$.value,o=>b.value=o);function Ae(){return $.value.map(o=>({name:o.name,color:o.color,value:o.value}))}const B=e.ref([]),ye=e.ref(null),me=e.ref(null),P=e.ref(!1);function pe(o){const r=$.value.find((s,v)=>v===o),l=b.value.find((s,v)=>v===o);let a=l.value;if(B.value.includes(o)){let v=function(){b.value=b.value.map((y,X)=>o===X?{...y,value:s}:y)},h=function(){a>s?(cancelAnimationFrame(ye.value),v(),P.value=!1):(P.value=!0,a+=s*(t.value.type==="polar"?1:.045),b.value=b.value.map((y,X)=>o===X?{...y,value:a}:y),ye.value=requestAnimationFrame(h))};B.value=B.value.filter(y=>y!==o);const s=r.value;t.value.useSerieToggleAnimation?h():v()}else if(B.value.length<$.value.length-1){let s=function(){B.value.push(o),b.value=b.value.map((h,y)=>o===y?{...h,value:0}:h)},v=function(){a<l.value/100?(cancelAnimationFrame(me.value),s(),P.value=!1):(P.value=!0,a/=t.value.type==="polar"?20:1.18,b.value=b.value.map((h,y)=>o===y?{...h,value:a}:h),me.value=requestAnimationFrame(v))};t.value.useSerieToggleAnimation?v():s()}fe("selectLegend",S.value.map(s=>({name:s.name,color:s.color,value:s.value})))}const Ye=e.computed(()=>k.dataset.reduce((o,r)=>o+r.values.reduce((l,a)=>l+a,0),0)),S=e.computed(()=>{if(w.value){const o=x.value.map((l,a)=>({...$.value[a],value:l,color:$.value[a].color,ghost:!1})),r=Ye.value-x.value.reduce((l,a)=>l+a,0);return r>0&&o.push({name:"__ghost__",value:r,color:"transparent",ghost:!0}),o}else return b.value.forEach((o,r)=>{if([null,void 0].includes(o.values))return{...o,values:[]}}),b.value.map((o,r)=>({...o,seriesIndex:r})).filter((o,r)=>!B.value.includes(r))}),ge=e.computed(()=>k.dataset.map((o,r)=>({name:o.name,color:n.convertColorToHex(o.color)||he.value[r]||n.palette[r]||n.palette[r%n.palette.length],value:(o.values||[]).reduce((l,a)=>l+a,0),shape:"circle",patternIndex:r})).map((o,r)=>({...o,proportion:o.value/k.dataset.map(l=>(l.values||[]).reduce((a,s)=>a+s,0)).reduce((l,a)=>l+a,0),opacity:B.value.includes(r)?.5:1,segregate:()=>!P.value&&pe(r),isSegregated:B.value.includes(r)}))),Ie=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":""})),f=e.computed(()=>{const o=Math.min(u.value.width/3,u.value.height/3);return o<55?55:o}),m=e.computed(()=>n.makeDonut({series:S.value},u.value.width/2,u.value.height/2,f.value,f.value,1.99999,2,1,360,105.25,L.value)),_=e.computed(()=>m.value.filter(o=>!o.ghost)),i=e.computed(()=>{const o=Math.max(...S.value.map(l=>l.value)),r=S.value.map(l=>l.value/o);return n.createPolarAreas({series:r,center:{x:u.value.width/2,y:u.value.height/2},maxRadius:Math.min(u.value.width,u.value.height)/3,hasGhost:w.value})});function V(o){return o.x>u.value.width/2+6?"start":o.x<u.value.width/2-6?"end":"middle"}function qe(o){return o.middlePoint.y>u.value.height/2?n.offsetFromCenterPoint({initX:o.middlePoint.x,initY:o.middlePoint.y,offset:100,centerX:u.value.width/2,centerY:u.value.height/2}).y:n.offsetFromCenterPoint({initX:o.middlePoint.x,initY:o.middlePoint.y,offset:0,centerX:u.value.width/2,centerY:u.value.height/2}).y-100}function C(o){return o.proportion*100>t.value.style.chart.layout.labels.dataLabels.hideUnderValue}function U(o,r){const l=o.value/Re(r);return isNaN(l)?0:n.applyDataLabel(t.value.style.chart.layout.labels.percentage.formatter,l*100,n.dataLabel({v:l*100,s:"%",r:t.value.style.chart.layout.labels.percentage.rounding}),{datapoint:o})}function Re(o){return[...o].map(r=>r.value).reduce((r,l)=>r+l,0)}const g=e.computed(()=>S.value.map(o=>o.value).reduce((o,r)=>o+r,0)),ke=e.computed(()=>g.value/S.value.length),be=e.computed(()=>o=>P.value?o.proportion*100:o.value/g.value*100),W=e.ref(null),M=e.ref(!1);function we({datapoint:o,relativeIndex:r,seriesIndex:l,show:a=!1}){W.value={datapoint:o,seriesIndex:l,config:t.value,series:$.value},A.value=a,p.value=r;let s="";const v=t.value.style.chart.tooltip.customFormat;if(M.value=!1,n.isFunction(v))try{const h=v({seriesIndex:l,datapoint:o,series:$.value,config:t.value});typeof h=="string"&&(q.value=h,M.value=!0)}catch{console.warn("Custom format cannot be applied."),M.value=!1}if(!M.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}"/>${ze.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>${n.applyDataLabel(t.value.style.chart.layout.labels.value.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:o,relativeIndex:r,seriesIndex:l})}</b>`),t.value.style.chart.tooltip.showPercentage){const h=n.applyDataLabel(t.value.style.chart.layout.labels.percentage.formatter,o.proportion*100,n.dataLabel({v:o.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage}),{datapoint:o,relativeIndex:r,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>`),q.value=`<div>${s}</div>`}}function F(o){return t.value.useBlurOnHover&&![null,void 0].includes(p.value)&&p.value!==o?`url(#blur_${d.value})`:""}const N=e.computed(()=>{const o=S.value.map(l=>({name:l.name,color:l.color})),r=S.value.map(l=>l.value);return{head:o,body:r}});function Ce(){e.nextTick(()=>{const o=N.value.head.map((a,s)=>[[a.name],[N.value.body[s]],[isNaN(N.value.body[s]/g.value)?"-":N.value.body[s]/g.value*100]]),r=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(o),l=n.createCsvContent(r);n.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-donut"})})}const Y=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>',n.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:g.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],r=N.value.head.map((s,v)=>[{color:s.color,name:s.name},N.value.body[v],isNaN(N.value.body[v]/g.value)?"-":(N.value.body[v]/g.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:r,config:l}}),O=e.ref(!1);function Ge(o){O.value=o,ae.value+=1}const Be=e.computed(()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent));function Ue(o){return o.toFixed(t.value.style.chart.legend.roundingPercentage).split("").map(r=>"-").join("")}function E(o,r){fe("selectDatapoint",{datapoint:o,index:r})}function _e(){c.value.showTable=!c.value.showTable}function xe(){c.value.dataLabels.show=!c.value.dataLabels.show}function $e(){c.value.showTooltip=!c.value.showTooltip}const I=e.ref(!1);function j(){I.value=!I.value}return Le({getData:Ae,generatePdf:de,generateCsv:Ce,generateImage:ve,toggleTable:_e,toggleLabels:xe,toggleTooltip:$e,toggleAnnotator:j}),(o,r)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"donutChart",ref:T,class:e.normalizeClass(`vue-ui-donut ${O.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:r[6]||(r[6]=()=>e.unref(re)(!0)),onMouseleave:r[7]||(r[7]=()=>e.unref(re)(!1))},[t.value.userOptions.buttons.annotator&&e.unref(G)?(e.openBlock(),e.createBlock(lt._sfc_main,{key:0,color:t.value.style.chart.color,backgroundColor:t.value.style.chart.backgroundColor,active:I.value,svgRef:e.unref(G),onClose:j},null,8,["color","backgroundColor","active","svgRef"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"userConfig",{},void 0,!0),De.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:Z,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:J,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(He._sfc_main,{key:`title_${ee.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&&z.value&&(e.unref(ue)||e.unref(R))?(e.openBlock(),e.createBlock(Pe.UserOptions,{ref_key:"details",ref:Te,key:`user_option_${ae.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(ie),isImaging:e.unref(ce),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:O.value,chartElement:T.value,position:t.value.userOptions.position,isTooltip:c.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:I.value,onToggleFullscreen:Ge,onGeneratePdf:e.unref(de),onGenerateCsv:Ce,onGenerateImage:e.unref(ve),onToggleTable:_e,onToggleLabels:xe,onToggleTooltip:$e,onToggleAnnotator:j,style:e.normalizeStyle({visibility:e.unref(ue)?e.unref(R)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:a})=>[e.renderSlot(o.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:a})),void 0,!0)]),key:"0"}:void 0,o.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,o.$slots.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionLabels",{},void 0,!0)]),key:"6"}: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:"7"}: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:"8"}: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),z.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:G,xmlns:e.unref(n.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":O.value,"vue-data-ui-fulscreen--off":!O.value}),viewBox:`0 0 ${u.value.width<=0?10:u.value.width} ${u.value.height<=0?10:u.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color};${se.value.css}`)},[e.createVNode(tt._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:u.value.width<=0?10:u.value.width,height:u.value.height<=0?10:u.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,it)):e.createCommentVNode("",!0),t.value.type==="classic"&&!isNaN(L.value/f.value)?(e.openBlock(),e.createElementBlock("defs",ct,[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(n.setOpacity)(t.value.style.chart.backgroundColor,0),"stop-opacity":"0"},null,8,vt),e.createElementVNode("stop",{offset:`${(1-L.value/f.value)*100}%`,"stop-color":e.unref(n.setOpacity)("#FFFFFF",0),"stop-opacity":"0"},null,8,ht),e.createElementVNode("stop",{offset:`${(1-L.value/f.value/2)*100}%`,"stop-color":e.unref(n.setOpacity)("#FFFFFF",t.value.style.chart.gradientIntensity)},null,8,ft),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(n.setOpacity)(t.value.style.chart.backgroundColor,0),"stop-opacity":"0"},null,8,yt)],8,dt)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.type==="polar"?(e.openBlock(),e.createElementBlock("defs",mt,[(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:(isNaN(l.middlePoint.x/u.value.width*100)?0:l.middlePoint.x/u.value.width*100)+"%",cy:(isNaN(l.middlePoint.y/u.value.height*100)?0:l.middlePoint.y/u.value.height*100)+"%",r:"62%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(n.shiftHue)(m.value[a].color,.05),"stop-opacity":t.value.style.chart.gradientIntensity/100},null,8,gt),e.createElementVNode("stop",{offset:"100%","stop-color":m.value[a].color},null,8,kt)],8,pt))),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,wt),r[8]||(r[8]=e.createElementVNode("feColorMatrix",{type:"saturate",values:"0"},null,-1))],8,bt),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,Bt)],8,Ct),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,xt)],8,_t)]),t.value.type==="classic"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:3},e.renderList(m.value.filter(l=>!l.ghost),(l,a)=>(e.openBlock(),e.createElementBlock("g",null,[C(l)&&c.value.dataLabels.show?(e.openBlock(),e.createElementBlock("path",{key:0,d:e.unref(n.calcNutArrowPath)(l,{x:u.value.width/2,y:u.value.height/2},16,16,!1,!1,L.value,12,t.value.style.chart.layout.curvedMarkers),stroke:l.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",filter:F(a)},null,8,$t)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),t.value.type==="polar"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:4},e.renderList(m.value.filter(l=>!l.ghost),(l,a)=>(e.openBlock(),e.createElementBlock("g",null,[C(l)&&c.value.dataLabels.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:e.unref(n.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:24,centerX:u.value.width/2,centerY:u.value.height/2}).x,y1:e.unref(n.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:24,centerX:u.value.width/2,centerY:u.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:F(a),style:e.normalizeStyle({transition:w.value?"":"all 0.1s ease-in-out"})},null,12,St)):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:u.value.width/2,cy:u.value.height/2,r:f.value<=0?10:f.value,fill:t.value.style.chart.backgroundColor,filter:`url(#shadow_${d.value})`},null,8,Nt)):e.createCommentVNode("",!0),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",Et,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(H.dataset,(l,a)=>(e.openBlock(),e.createElementBlock("defs",{key:`pattern-${l.patternIndex}`},[e.renderSlot(o.$slots,"pattern",e.mergeProps({ref_for:!0},{seriesIndex:a,patternId:`pattern_${d.value}_${a}`}),void 0,!0)]))),128))])):e.createCommentVNode("",!0),g.value&&t.value.type==="classic"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:7},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{stroke:t.value.style.chart.backgroundColor,d:l.arcSlice,fill:"#FFFFFF"},null,8,Pt))),256)),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",Ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:l.arcSlice,fill:`url(#${l.pattern})`,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth,filter:F(a)},null,8,Lt))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:l.arcSlice,fill:e.unref(n.setOpacity)(l.color,80),stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth,filter:F(a)},null,8,Vt))),256))],64)):e.createCommentVNode("",!0),g.value&&t.value.type==="polar"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:8},[m.value.length>1?(e.openBlock(),e.createElementBlock("g",Ot,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{stroke:t.value.style.chart.backgroundColor,d:i.value[a].path,fill:"#FFFFFF",style:e.normalizeStyle({transition:w.value?"":"all 0.1s ease-in-out"})},null,12,zt))),256)),t.value.style.chart.layout.donut.useShadow?(e.openBlock(),e.createElementBlock("g",Tt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.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})`,style:e.normalizeStyle({transition:w.value?"":"all 0.1s ease-in-out"})},null,12,Mt))),256))])):e.createCommentVNode("",!0),o.$slots.pattern?(e.openBlock(),e.createElementBlock("g",Xt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(l,a)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:i.value[a].path,fill:`url(#${l.pattern})`,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth,filter:F(a),style:e.normalizeStyle({transition:w.value?"":"all 0.1s ease-in-out"})},null,12,Dt))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.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:F(a),style:e.normalizeStyle({transition:w.value?"":"all 0.1s ease-in-out"})},null,12,At))),256))])):(e.openBlock(),e.createElementBlock("g",Yt,[o.$slots.pattern?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:u.value.width/2,cy:u.value.height/2,r:f.value,fill:`url(#pattern_${d.value}_${m.value[0].patternIndex})`,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth},null,8,It)):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:u.value.width/2,cy:u.value.height/2,r:f.value,fill:t.value.style.chart.useGradient?`url(#polar_gradient_0_${d.value})`:m.value[0].color,stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.donut.borderWidth},null,8,qt)]))],64)):(e.openBlock(),e.createElementBlock("circle",{key:9,cx:u.value.width/2,cy:u.value.height/2,r:f.value<=0?10:f.value,fill:"transparent",stroke:t.value.style.chart.backgroundColor},null,8,Rt)),t.value.style.chart.useGradient&&t.value.type==="classic"?(e.openBlock(),e.createElementBlock("circle",{key:10,cx:u.value.width/2,cy:u.value.height/2,r:f.value<=0?10:f.value,fill:`url(#gradient_${d.value})`},null,8,Gt)):e.createCommentVNode("",!0),g.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:11},[m.value.length>1||t.value.type==="classic"?(e.openBlock(),e.createElementBlock("g",Ut,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value.filter(l=>!l.ghost),(l,a)=>(e.openBlock(),e.createElementBlock("path",{d:t.value.type==="classic"?l.arcSlice:i.value[a].path,fill:p.value===a?"rgba(0,0,0,0.1)":"transparent",onMouseenter:s=>we({datapoint:l,relativeIndex:a,seriesIndex:l.seriesIndex,show:!0}),onMouseleave:r[0]||(r[0]=s=>{A.value=!1,p.value=null}),onClick:s=>E(l,a)},null,40,Wt))),256))])):(e.openBlock(),e.createElementBlock("g",jt,[e.createElementVNode("circle",{cx:u.value.width/2,cy:u.value.height/2,r:f.value,fill:p.value===o.i?"rgba(0,0,0,0.1)":"transparent",onMouseenter:r[1]||(r[1]=l=>we({datapoint:m.value[0],relativeIndex:0,seriesIndex:m.value[0].seriesIndex,show:!0})),onMouseleave:r[2]||(r[2]=l=>{A.value=!1,p.value=null}),onClick:r[3]||(r[3]=l=>E(m.value[0],o.i))},null,40,Ht)]))],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:u.value.width/2,y:u.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,Jt)):e.createCommentVNode("",!0),t.value.style.chart.layout.labels.hollow.total.show?(e.openBlock(),e.createElementBlock("text",{key:1,"text-anchor":"middle",x:u.value.width/2,y:u.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(n.applyDataLabel)(t.value.style.chart.layout.labels.hollow.total.value.formatter,g.value,e.unref(n.dataLabel)({p:t.value.style.chart.layout.labels.hollow.total.value.prefix,v:g.value,s:t.value.style.chart.layout.labels.hollow.total.value.suffix}))),13,Kt)):e.createCommentVNode("",!0),t.value.style.chart.layout.labels.hollow.average.show?(e.openBlock(),e.createElementBlock("text",{key:2,"text-anchor":"middle",x:u.value.width/2,y:u.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,Qt)):e.createCommentVNode("",!0),t.value.style.chart.layout.labels.hollow.average.show?(e.openBlock(),e.createElementBlock("text",{key:3,"text-anchor":"middle",x:u.value.width/2,y:u.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(P.value||w.value?"--":e.unref(n.applyDataLabel)(t.value.style.chart.layout.labels.hollow.average.value.formatter,ke.value,e.unref(n.dataLabel)({p:t.value.style.chart.layout.labels.hollow.average.value.prefix,v:ke.value,s:t.value.style.chart.layout.labels.hollow.average.value.suffix,r:t.value.style.chart.layout.labels.hollow.average.value.rounding}))),13,Zt)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value.filter(l=>!l.ghost),(l,a)=>(e.openBlock(),e.createElementBlock("g",{filter:F(a),class:e.normalizeClass({animated:t.value.useCssAnimation})},[t.value.style.chart.layout.labels.dataLabels.useLabelSlots?(e.openBlock(),e.createElementBlock("g",tl,[(e.openBlock(),e.createElementBlock("foreignObject",{x:e.unref(n.calcMarkerOffsetX)(l,!0).anchor==="end"?e.unref(n.calcMarkerOffsetX)(l).x-120:e.unref(n.calcMarkerOffsetX)(l,!0).anchor==="middle"?e.unref(n.calcMarkerOffsetX)(l).x-60:e.unref(n.calcMarkerOffsetX)(l).x,y:e.unref(n.calcMarkerOffsetY)(l)-(Be.value?20:0),width:"120",height:"60",style:{overflow:"visible"}},[e.createElementVNode("div",null,[e.renderSlot(o.$slots,"dataLabel",e.mergeProps({ref_for:!0},{datapoint:l,isBlur:!t.value.useBlurOnHover||[null,void 0].includes(p.value)||p.value===a,isSafari:Be.value,isVisible:C(l)&&c.value.dataLabels.show,textAlign:e.unref(n.calcMarkerOffsetX)(l,!0,16,!0).anchor,flexAlign:e.unref(n.calcMarkerOffsetX)(l,!0,16).anchor,percentage:U(l,_.value)}),void 0,!0)])],8,ll))])):(e.openBlock(),e.createElementBlock("g",ol,[t.value.type==="classic"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[C(l)&&c.value.dataLabels.show?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:e.unref(n.calcMarkerOffsetX)(l).x,cy:e.unref(n.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=>E(l,a)},null,8,al)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.type==="polar"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C(l)&&c.value.dataLabels.show?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:e.unref(n.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:24,centerX:u.value.width/2,centerY:u.value.height/2}).x,cy:e.unref(n.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:24,centerX:u.value.width/2,centerY:u.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=>E(l,a)},null,8,nl)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.type==="classic"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[C(l)&&c.value.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":e.unref(n.calcMarkerOffsetX)(l,!0,12).anchor,x:e.unref(n.calcMarkerOffsetX)(l,!0,12).x,y:e.unref(n.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=>E(l,a)},e.toDisplayString(U(l,_.value))+" "+e.toDisplayString(t.value.style.chart.layout.labels.value.show?`(${e.unref(n.applyDataLabel)(t.value.style.chart.layout.labels.value.formatter,l.value,e.unref(n.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,rl)):e.createCommentVNode("",!0),C(l)&&c.value.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:1,"text-anchor":e.unref(n.calcMarkerOffsetX)(l).anchor,x:e.unref(n.calcMarkerOffsetX)(l,!0,12).x,y:e.unref(n.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=>E(l,a)},e.toDisplayString(l.name),13,ul)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.type==="polar"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[C(l)&&c.value.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":V(i.value[a].middlePoint),x:e.unref(n.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:u.value.width/2,centerY:u.value.height/2}).x,y:e.unref(n.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:u.value.width/2,centerY:u.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(`transition: all 0.1s ease-in-out; font-weight:${t.value.style.chart.layout.labels.percentage.bold?"bold":""}`),onClick:s=>E(l,a)},e.toDisplayString(U(l,_.value))+" "+e.toDisplayString(t.value.style.chart.layout.labels.value.show?`(${e.unref(n.applyDataLabel)(t.value.style.chart.layout.labels.value.formatter,l.value,e.unref(n.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,sl)):e.createCommentVNode("",!0),C(l)&&c.value.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:1,"text-anchor":V(i.value[a].middlePoint),x:e.unref(n.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:u.value.width/2,centerY:u.value.height/2}).x,y:e.unref(n.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:u.value.width/2,centerY:u.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(`transition: all 0.1s ease-in-out; font-weight:${t.value.style.chart.layout.labels.name.bold?"bold":""}`),onClick:s=>E(l,a)},e.toDisplayString(l.name),13,il)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])),c.value.dataLabels.show&&t.value.style.chart.comments.show&&l.comment?(e.openBlock(),e.createElementBlock("g",cl,[C(l)&&t.value.type==="classic"?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:t.value.style.chart.comments.offsetX+(e.unref(n.calcMarkerOffsetX)(l,!0).anchor==="end"?e.unref(n.calcMarkerOffsetX)(l).x-t.value.style.chart.comments.width:e.unref(n.calcMarkerOffsetX)(l,!0).anchor==="middle"?e.unref(n.calcMarkerOffsetX)(l).x-t.value.style.chart.comments.width/2:e.unref(n.calcMarkerOffsetX)(l).x),y:e.unref(n.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(n.calcMarkerOffsetX)(l,!0,16,!0).anchor,flexAlign:e.unref(n.calcMarkerOffsetX)(l,!0,16).anchor,isFirstLoad:w.value}},void 0,!0)])],8,dl)):e.createCommentVNode("",!0),C(l)&&t.value.type==="polar"?(e.openBlock(),e.createElementBlock("foreignObject",{key:1,x:t.value.style.chart.comments.offsetX+(V(i.value[a].middlePoint)==="end"?e.unref(n.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:u.value.width/2,centerY:u.value.height/2}).x-t.value.style.chart.comments.width:V(i.value[a].middlePoint)==="middle"?e.unref(n.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:u.value.width/2,centerY:u.value.height/2}).x-t.value.style.chart.comments.width/2:e.unref(n.offsetFromCenterPoint)({initX:i.value[a].middlePoint.x,initY:i.value[a].middlePoint.y,offset:42,centerX:u.value.width/2,centerY:u.value.height/2}).x),y:qe(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:V(i.value[a].middlePoint),flexAlign:V(i.value[a].middlePoint),isFirstLoad:w.value}},void 0,!0)])],8,vl)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,el))),256)),e.renderSlot(o.$slots,"svg",{svg:u.value},void 0,!0)],14,st)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",hl,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(ie)||e.unref(ce)})),void 0,!0)])):e.createCommentVNode("",!0),z.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ze.default,{key:6,config:{type:"donut",style:{backgroundColor:t.value.style.chart.backgroundColor,donut:{color:"#CCCCCC",strokeWidth:L.value*.8}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:K},[t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Qe.Legend,{key:`legend_${le.value}`,legendSet:ge.value,config:Ie.value,onClickMarker:r[4]||(r[4]=({i:l})=>pe(l))},e.createSlots({item:e.withCtx(({legend:l,index:a})=>[e.createElementVNode("div",{style:e.normalizeStyle(`opacity:${B.value.includes(a)?.5:1}`),onClick:s=>l.segregate()},[e.createTextVNode(e.toDisplayString(l.name)+": "+e.toDisplayString(e.unref(n.applyDataLabel)(t.value.style.chart.layout.labels.value.formatter,l.value,e.unref(n.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),B.value.includes(a)?(e.openBlock(),e.createElementBlock("span",ml," ( "+e.toDisplayString(Ue(l.proportion*100))+" % ) ",1)):(e.openBlock(),e.createElementBlock("span",yl," ("+e.toDisplayString(isNaN(l.value/g.value)?"-":e.unref(n.applyDataLabel)(t.value.style.chart.layout.labels.percentage.formatter,be.value(l),e.unref(n.dataLabel)({v:be.value(l),s:"%",r:t.value.style.chart.legend.roundingPercentage})))+") ",1))],12,fl)]),_:2},[o.$slots.pattern?{name:"legend-pattern",fn:e.withCtx(({legend:l,index:a})=>[e.createVNode(at._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:ge.value},void 0,!0)],512),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:Q,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(Ke._sfc_main,{show:c.value.showTooltip&&A.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:T.value,content:q.value,isCustom:M.value,isFullscreen:O.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...W.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...W.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom","isFullscreen"]),z.value?(e.openBlock(),e.createBlock(et.default,{key:8,hideDetails:"",config:{open:c.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(Je.DataTable,{key:`table_${te.value}`,colNames:Y.value.colNames,head:Y.value.head,body:Y.value.body,config:Y.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:r[5]||(r[5]=l=>c.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,pl)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name?l.name:isNaN(Number(l))?l.includes("%")?l:e.unref(n.applyDataLabel)(t.value.style.chart.layout.labels.percentage.formatter,l,e.unref(n.dataLabel)({v:l,s:"%",r:t.value.style.chart.layout.labels.percentage.rounding})):e.unref(n.applyDataLabel)(t.value.style.chart.layout.labels.value.formatter,l,e.unref(n.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,ut))}},kl=rt._export_sfc(gl,[["__scopeId","data-v-82683d32"]]);exports.default=kl;
|