vue-data-ui 2.10.3-beta.0 → 2.10.3-beta.1
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-D3wZDJiJ.cjs → Arrow-B_t3knDx.cjs} +1 -1
- package/dist/{Arrow-Bumy-rfd.js → Arrow-GVrF9WOj.js} +1 -1
- package/dist/{BaseIcon-Cq2eFZ52.cjs → BaseIcon-DBgAUX2a.cjs} +1 -1
- package/dist/{BaseIcon-Dwgmj_qL.js → BaseIcon-h9TCYwJK.js} +1 -1
- package/dist/{ColorPicker-C7HGlp41.js → ColorPicker-CtdVdLS4.js} +3 -3
- package/dist/{ColorPicker-B5sIe2fM.cjs → ColorPicker-YfLIuv-R.cjs} +1 -1
- package/dist/{DataTable-mJxOnAtF.cjs → DataTable-C3yxI_aI.cjs} +1 -1
- package/dist/{DataTable-CqpvgLhR.js → DataTable-DObvjXDX.js} +2 -2
- package/dist/{Legend-C8L_Z6Ik.cjs → Legend-DJ-i2IuD.cjs} +1 -1
- package/dist/{Legend-Chgo5qJ9.js → Legend-DzSy-IUq.js} +2 -2
- package/dist/PackageVersion-BIgwvtuC.cjs +1 -0
- package/dist/{PackageVersion-Do_gkQuR.js → PackageVersion-Bf6TS-QR.js} +3 -3
- package/dist/{PenAndPaper-Ck4J-N0f.cjs → PenAndPaper-Bz1D0jf7.cjs} +1 -1
- package/dist/{PenAndPaper-BeVm8Gw_.js → PenAndPaper-DMTgFlFr.js} +3 -3
- package/dist/{Shape-CvjmV_jA.js → Shape-BB_8PZCY.js} +1 -1
- package/dist/{Shape-BzzRLhdD.cjs → Shape-DT1Q81L9.cjs} +1 -1
- package/dist/{Slicer-Dk5MzzXJ.cjs → Slicer-Bp6W-Q1V.cjs} +1 -1
- package/dist/{Slicer-Cv3oVUkB.js → Slicer-DCUzf9fq.js} +2 -2
- package/dist/{Title-Dm0Mve4x.cjs → Title-B1y-3QPQ.cjs} +1 -1
- package/dist/{Title-Hz1-uq3Z.js → Title-BD93Z93w.js} +1 -1
- package/dist/{Tooltip-D_aFdI-k.js → Tooltip-DrcHzDRM.js} +1 -1
- package/dist/{Tooltip-Cndiepq8.cjs → Tooltip-RV5OVI3a.cjs} +1 -1
- package/dist/{dom-to-png-D43ddGU-.cjs → dom-to-png-CCEeTdud.cjs} +1 -1
- package/dist/{dom-to-png-CjGqSFTh.js → dom-to-png-GVD347Ix.js} +1 -1
- package/dist/{img-DDTs4XTo.cjs → img-CzUIHHgH.cjs} +1 -1
- package/dist/{img-oevKz27t.js → img-Dj_G_KYV.js} +1 -1
- package/dist/{index-BqAuY8YO.js → index-DWq4s-ww.js} +1 -1
- package/dist/{index-B-gGjNsT.cjs → index-DmOqU2gc.cjs} +1 -1
- package/dist/{pdf-DrJEYjvv.cjs → pdf-CHnecAVX.cjs} +1 -1
- package/dist/{pdf-C4D1wSDl.js → pdf-DpksDzZW.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-DgX4T8TO.cjs → useNestedProp-CEwtxiO9.cjs} +1 -1
- package/dist/{useNestedProp-KHLCjp3b.js → useNestedProp-CPAzMQW3.js} +1 -1
- package/dist/{usePrinter-CYDRiSnN.js → usePrinter-BjxuB68l.js} +3 -3
- package/dist/{usePrinter-D6exRhr5.cjs → usePrinter-GqLmuLI-.cjs} +1 -1
- package/dist/{vue-data-ui-Cm9vpJvb.js → vue-data-ui-BhuxqKkJ.js} +62 -62
- package/dist/{vue-data-ui-DWGDpg6O.cjs → vue-data-ui-DBEeag8i.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CIV72Eqi.js → vue-ui-3d-bar-6npDtOUn.js} +9 -9
- package/dist/{vue-ui-3d-bar-B4uKEahX.cjs → vue-ui-3d-bar-TWzcdbdy.cjs} +1 -1
- package/dist/{vue-ui-accordion-DHobGrxA.js → vue-ui-accordion-Ca6nV8uf.js} +3 -3
- package/dist/{vue-ui-accordion-B5gHS5Ty.cjs → vue-ui-accordion-VK6Q6MAw.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CUCSwF_R.js → vue-ui-age-pyramid-BaBU4AkZ.js} +10 -10
- package/dist/{vue-ui-age-pyramid-0xBHgxli.cjs → vue-ui-age-pyramid-CwqMewxq.cjs} +1 -1
- package/dist/{vue-ui-annotator-CwaPRuNd.js → vue-ui-annotator-BSfg2Cqh.js} +2 -2
- package/dist/{vue-ui-annotator-DCxKDa_f.cjs → vue-ui-annotator-DBtx2PHg.cjs} +1 -1
- package/dist/{vue-ui-bullet-Df80ArZY.cjs → vue-ui-bullet-DQGjRgXj.cjs} +1 -1
- package/dist/{vue-ui-bullet-0Rw6Te3z.js → vue-ui-bullet-vBhcJqBu.js} +8 -8
- package/dist/{vue-ui-candlestick-D1tpxi8L.js → vue-ui-candlestick-AhsFFM0O.js} +11 -11
- package/dist/{vue-ui-candlestick-CwssaEPI.cjs → vue-ui-candlestick-C8m29T8u.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Cka-p4av.cjs → vue-ui-carousel-table-B09sTudP.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-jJq33mu9.js → vue-ui-carousel-table-M69qs_tr.js} +4 -4
- package/dist/{vue-ui-chestnut-DGja6XYi.js → vue-ui-chestnut-Cz_Aj8pX.js} +8 -8
- package/dist/{vue-ui-chestnut-DApLcH2S.cjs → vue-ui-chestnut-uQ4QhJEu.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-CWbR-Pfe.cjs → vue-ui-circle-pack-CN7nYxdb.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-Cylfx9-W.js → vue-ui-circle-pack-CYIHdn-n.js} +9 -9
- package/dist/{vue-ui-cursor--1udElwj.cjs → vue-ui-cursor-BaXtpkTz.cjs} +1 -1
- package/dist/{vue-ui-cursor-PBkTDCT1.js → vue-ui-cursor-weHYxHaT.js} +2 -2
- package/dist/{vue-ui-dashboard-W6ldLtpR.js → vue-ui-dashboard-BNsg59hU.js} +62 -62
- package/dist/{vue-ui-dashboard-DcgkkeLu.cjs → vue-ui-dashboard-CLYI8wEV.cjs} +1 -1
- package/dist/{vue-ui-digits-DljDm2K-.js → vue-ui-digits-B0hyDETd.js} +2 -2
- package/dist/{vue-ui-digits-BzOm_izd.cjs → vue-ui-digits-wj8ka_eT.cjs} +1 -1
- package/dist/{vue-ui-donut-DNclMe34.js → vue-ui-donut-B2acbY3c.js} +218 -218
- package/dist/{vue-ui-donut-BznGR_Pv.cjs → vue-ui-donut-C4LxZkgt.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-C252mEPR.js → vue-ui-donut-evolution-2pYa-efH.js} +11 -11
- package/dist/{vue-ui-donut-evolution-BusvcTbs.cjs → vue-ui-donut-evolution-UoUnPX6g.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-IxKoeDaO.js → vue-ui-dumbbell-DSxoHF9p.js} +10 -10
- package/dist/{vue-ui-dumbbell-1FsNzown.cjs → vue-ui-dumbbell-DwZPwUCk.cjs} +1 -1
- package/dist/{vue-ui-flow-DOSWbb_j.js → vue-ui-flow-BkpFuQkm.js} +9 -9
- package/dist/{vue-ui-flow-DfJiWvjW.cjs → vue-ui-flow-aJq5srUA.cjs} +1 -1
- package/dist/{vue-ui-funnel-BuBdPPAD.cjs → vue-ui-funnel-BafVKO-m.cjs} +1 -1
- package/dist/{vue-ui-funnel-CSTYYBs8.js → vue-ui-funnel-BuI-vnQb.js} +9 -9
- package/dist/{vue-ui-galaxy-DkbxVxf5.cjs → vue-ui-galaxy-DOAhW1MF.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BBe3Vdj7.js → vue-ui-galaxy-DU1KQobN.js} +11 -11
- package/dist/{vue-ui-gauge-DFlBuTMt.cjs → vue-ui-gauge-D21wMdC_.cjs} +1 -1
- package/dist/{vue-ui-gauge-DC3iic8u.js → vue-ui-gauge-D7sFY8c_.js} +7 -7
- package/dist/{vue-ui-gizmo-BBMAfyj3.cjs → vue-ui-gizmo-BA1d9qdv.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Cfvr-UXI.js → vue-ui-gizmo-BXaLmym5.js} +3 -3
- package/dist/{vue-ui-heatmap-CpXR1mzq.cjs → vue-ui-heatmap-CCoQHO_6.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BM56izP9.js → vue-ui-heatmap-Cxss4QvF.js} +10 -10
- package/dist/{vue-ui-history-plot-CSP8TC8A.cjs → vue-ui-history-plot-C92Mp3Xp.cjs} +1 -1
- package/dist/{vue-ui-history-plot-IOSBb5Qn.js → vue-ui-history-plot-DQO0n3Rf.js} +11 -11
- package/dist/{vue-ui-kpi-Dgfg9GR0.js → vue-ui-kpi-BhvozR5s.js} +3 -3
- package/dist/{vue-ui-kpi-fHB7esA1.cjs → vue-ui-kpi-COo6m-Ks.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CYNEvgUJ.cjs → vue-ui-mini-loader-B-tISyPq.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BZ2GPcR2.js → vue-ui-mini-loader-BwEHFWkC.js} +2 -2
- package/dist/{vue-ui-molecule-DrZVhiXO.cjs → vue-ui-molecule-DS-9YlFP.cjs} +1 -1
- package/dist/{vue-ui-molecule-u-eGaTE3.js → vue-ui-molecule-bcpIBsMm.js} +11 -11
- package/dist/{vue-ui-mood-radar-BkC7hC7V.js → vue-ui-mood-radar-C5PYCas_.js} +11 -11
- package/dist/{vue-ui-mood-radar-CTiMfM1y.cjs → vue-ui-mood-radar-CtsnePEw.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-nEgRtofQ.cjs → vue-ui-nested-donuts-BM1drnr6.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DZMDijJ4.js → vue-ui-nested-donuts-DykqnDcp.js} +11 -11
- package/dist/{vue-ui-onion-Mtdb4cAZ.cjs → vue-ui-onion-C2ZBvIAR.cjs} +1 -1
- package/dist/{vue-ui-onion-nuYVFd93.js → vue-ui-onion-gaJqwmrF.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-BTmrUV-C.js → vue-ui-parallel-coordinate-plot-A1Gj_Ga7.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-CO4Zxhfp.cjs → vue-ui-parallel-coordinate-plot-xu2Wocpp.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DCTtsWB9.js → vue-ui-quadrant-DcbgFaxG.js} +12 -12
- package/dist/{vue-ui-quadrant-DPpFxvPe.cjs → vue-ui-quadrant-n27JvM93.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-DR9X_LD9.js → vue-ui-quick-chart-ByKtbyYB.js} +9 -9
- package/dist/{vue-ui-quick-chart-tC6DpSV-.cjs → vue-ui-quick-chart-JcAbo_Ou.cjs} +1 -1
- package/dist/{vue-ui-radar-DMWgcTCk.cjs → vue-ui-radar-ClfEAsg9.cjs} +1 -1
- package/dist/{vue-ui-radar-DNcTO8W-.js → vue-ui-radar-DxDuU7PC.js} +12 -12
- package/dist/{vue-ui-rating-b2iWUEkV.js → vue-ui-rating-BRsSp9rc.js} +2 -2
- package/dist/{vue-ui-rating-jdX6DH4v.cjs → vue-ui-rating-wjKAMprc.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-B1a7eORw.js → vue-ui-relation-circle-DFWEguaU.js} +7 -7
- package/dist/{vue-ui-relation-circle-BC6_QCeg.cjs → vue-ui-relation-circle-DcsjQXnt.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-I-6Is-n4.js → vue-ui-ridgeline-CwXRZCK1.js} +12 -12
- package/dist/{vue-ui-ridgeline-C2DXbb0I.cjs → vue-ui-ridgeline-D8nEWP-a.cjs} +1 -1
- package/dist/{vue-ui-rings-DXX2SBLG.js → vue-ui-rings-BUYVAbfZ.js} +12 -12
- package/dist/{vue-ui-rings-ThgBQeT1.cjs → vue-ui-rings-BjHcappB.cjs} +1 -1
- package/dist/{vue-ui-scatter-D2m2bMpR.cjs → vue-ui-scatter-C2G-V-rP.cjs} +1 -1
- package/dist/{vue-ui-scatter-CV8gkb-Q.js → vue-ui-scatter-CalyzpYZ.js} +12 -12
- package/dist/{vue-ui-skeleton-BYqsYQ4h.cjs → vue-ui-skeleton-C2lcxV1r.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Ddje55hh.js → vue-ui-skeleton-CgSdY-i3.js} +3 -3
- package/dist/{vue-ui-smiley-D3KPrtnP.js → vue-ui-smiley-CAp8amf3.js} +2 -2
- package/dist/{vue-ui-smiley-BRn0xayM.cjs → vue-ui-smiley-CyjuCEzK.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-COQGi1sX.cjs → vue-ui-spark-trend-DNRog2VZ.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D97nzZaD.js → vue-ui-spark-trend-g3JUDKWQ.js} +5 -5
- package/dist/{vue-ui-sparkbar-BXUJgWZG.cjs → vue-ui-sparkbar-BPFUJ-XV.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-F-1VVXo8.js → vue-ui-sparkbar-Dgv-eGQT.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B7Rv-U7s.js → vue-ui-sparkgauge-J4QKrqrr.js} +4 -4
- package/dist/{vue-ui-sparkgauge-6abJlb6T.cjs → vue-ui-sparkgauge-Rm9WqJac.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B4H9goyw.js → vue-ui-sparkhistogram-BamMJRbn.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CsR44dxt.cjs → vue-ui-sparkhistogram-CPJl4whz.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Bl6lI2Hf.js → vue-ui-sparkline-BE6uxQJ1.js} +4 -4
- package/dist/{vue-ui-sparkline-Ck77aev4.cjs → vue-ui-sparkline-BswJd-GI.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CVDvoryM.js → vue-ui-sparkstackbar-BH9sFANv.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-tgyiyk1O.cjs → vue-ui-sparkstackbar-DkOoCVXL.cjs} +1 -1
- package/dist/{vue-ui-stackbar-YgiHH1a2.cjs → vue-ui-stackbar-CSHgiu-S.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BGDTPfoR.js → vue-ui-stackbar-bII9CH8i.js} +13 -13
- package/dist/{vue-ui-strip-plot-D3bgR8XL.js → vue-ui-strip-plot-BcxHXtpk.js} +11 -11
- package/dist/{vue-ui-strip-plot-hn4z1rhV.cjs → vue-ui-strip-plot-DfAGuNRJ.cjs} +1 -1
- package/dist/{vue-ui-table-B0bcyF4M.js → vue-ui-table-D2qlWdag.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CyYGu7nd.cjs → vue-ui-table-heatmap-DrNGAq6g.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CYA9xsnY.js → vue-ui-table-heatmap-Y9npl2qT.js} +4 -4
- package/dist/{vue-ui-table-Ckxsotd8.cjs → vue-ui-table-kj_YAH7E.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-C65k-q8K.js → vue-ui-table-sparkline-VeqlQ66b.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BRO7LDbN.cjs → vue-ui-table-sparkline-qFq-ga-b.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DARrujvQ.cjs → vue-ui-thermometer-C1lDcGjT.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BpeWgB2o.js → vue-ui-thermometer-CgDYCC3w.js} +7 -7
- package/dist/{vue-ui-timer-BSwNbGDR.js → vue-ui-timer-BY2dCjiN.js} +5 -5
- package/dist/{vue-ui-timer-C1Bvofxb.cjs → vue-ui-timer-CY2IxtRl.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BdrEeoqL.cjs → vue-ui-tiremarks-BWQmACOn.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-bIb0oA6e.js → vue-ui-tiremarks-DTWdmj4v.js} +7 -7
- package/dist/{vue-ui-treemap-9M2bI-wV.js → vue-ui-treemap-CtBynkdy.js} +12 -12
- package/dist/{vue-ui-treemap-DrJgENbP.cjs → vue-ui-treemap-DrXwsion.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-ClbY74d-.js → vue-ui-vertical-bar-C_qWNcce.js} +12 -12
- package/dist/{vue-ui-vertical-bar-D4XrZQkI.cjs → vue-ui-vertical-bar-DybIA-c5.cjs} +1 -1
- package/dist/{vue-ui-waffle-DkGImTHk.js → vue-ui-waffle-3xEQ48b1.js} +12 -12
- package/dist/{vue-ui-waffle-BJCkIVRP.cjs → vue-ui-waffle-xCR4Q6fn.cjs} +1 -1
- package/dist/{vue-ui-wheel-BTw-ybex.cjs → vue-ui-wheel-CweXDTzj.cjs} +1 -1
- package/dist/{vue-ui-wheel-Cd7gw2RB.js → vue-ui-wheel-Dc8OZDxx.js} +7 -7
- package/dist/{vue-ui-word-cloud-rQGgIEAR.cjs → vue-ui-word-cloud-CJOHMRfq.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CTK01N6Y.js → vue-ui-word-cloud-wwE8jKoI.js} +10 -10
- package/dist/{vue-ui-world-DXi9YTS8.cjs → vue-ui-world-DNYusHsf.cjs} +1 -1
- package/dist/{vue-ui-world-DLBxsj8V.js → vue-ui-world-kJodeH03.js} +11 -11
- package/dist/{vue-ui-xy-WuNFctyV.js → vue-ui-xy-C5qR9CE2.js} +16 -16
- package/dist/{vue-ui-xy-DCvVPrTQ.cjs → vue-ui-xy-DK2uwes1.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-BPOUkOoA.cjs → vue-ui-xy-canvas-0s6cq6q8.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-BjE3V0Gd.js → vue-ui-xy-canvas-DTaRiqld.js} +12 -12
- package/package.json +1 -1
- package/dist/PackageVersion-Yra8stiB.cjs +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { useSlots as xt, computed as p, ref as d, onMounted as Qe, onBeforeUnmount as $t, watch as Ze, createElementBlock as n, openBlock as o, unref as r, normalizeStyle as
|
|
2
|
-
import { u as Pt, o as
|
|
1
|
+
import { useSlots as xt, computed as p, ref as d, onMounted as Qe, onBeforeUnmount as $t, watch as Ze, createElementBlock as n, openBlock as o, unref as r, normalizeStyle as _, normalizeClass as pe, createBlock as E, createCommentVNode as i, renderSlot as g, createElementVNode as f, createVNode as ge, createSlots as et, withCtx as $, normalizeProps as Q, guardReactiveProps as Z, Fragment as m, renderList as T, mergeProps as tt, toDisplayString as P, createTextVNode as lt, nextTick as Ct } from "vue";
|
|
2
|
+
import { u as Pt, o as Ft, e as at, g as St, c as Lt, b as Tt, d as ot, p as H, m as zt, Y as At, f as N, X as Ot, s as oe, w as Nt, j as Yt, L as z, i as I, k as ue, n as w, t as Xt, a as It, q as Mt, r as Dt, x as Vt } from "./index-DWq4s-ww.js";
|
|
3
3
|
import { t as Bt, u as Gt } from "./useResponsive-Cw4oZ8sQ.js";
|
|
4
|
-
import { _ as Rt } from "./Title-
|
|
5
|
-
import { u as Ut, U as Wt } from "./usePrinter-
|
|
6
|
-
import { D as jt } from "./DataTable-
|
|
7
|
-
import { _ as Et } from "./Tooltip-
|
|
8
|
-
import { L as Ht } from "./Legend-
|
|
9
|
-
import qt from "./vue-ui-skeleton-
|
|
10
|
-
import Jt from "./vue-ui-accordion-
|
|
11
|
-
import { u as ut } from "./useNestedProp-
|
|
12
|
-
import { _ as Kt } from "./PackageVersion-
|
|
13
|
-
import { _ as Qt } from "./PenAndPaper-
|
|
4
|
+
import { _ as Rt } from "./Title-BD93Z93w.js";
|
|
5
|
+
import { u as Ut, U as Wt } from "./usePrinter-BjxuB68l.js";
|
|
6
|
+
import { D as jt } from "./DataTable-DObvjXDX.js";
|
|
7
|
+
import { _ as Et } from "./Tooltip-DrcHzDRM.js";
|
|
8
|
+
import { L as Ht } from "./Legend-DzSy-IUq.js";
|
|
9
|
+
import qt from "./vue-ui-skeleton-CgSdY-i3.js";
|
|
10
|
+
import Jt from "./vue-ui-accordion-Ca6nV8uf.js";
|
|
11
|
+
import { u as ut } from "./useNestedProp-CPAzMQW3.js";
|
|
12
|
+
import { _ as Kt } from "./PackageVersion-Bf6TS-QR.js";
|
|
13
|
+
import { _ as Qt } from "./PenAndPaper-DMTgFlFr.js";
|
|
14
14
|
import { u as Zt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
-
import { _ as el } from "./Shape-
|
|
15
|
+
import { _ as el } from "./Shape-BB_8PZCY.js";
|
|
16
16
|
import { u as tl } from "./useChartAccessibility-BWojgys7.js";
|
|
17
17
|
import { _ as ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { key: 1 }, nl = ["id"], rl = ["stop-color"], il = ["offset", "stop-color"], vl = ["offset", "stop-color"], cl = ["stop-color"], dl = { key: 2 }, hl = ["id", "cx", "cy"], yl = ["stop-color", "stop-opacity"], fl = ["stop-color"], pl = ["id"], gl = ["id"], ml = ["id"], bl = ["flood-color"], wl = ["id"], kl = ["flood-color"], _l = ["d", "stroke", "filter"], xl = ["x1", "y1", "x2", "y2", "stroke", "filter"], $l = ["cx", "cy", "r", "fill", "filter"], Cl = { key: 6 }, Pl = ["stroke", "d"],
|
|
18
|
+
const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { key: 1 }, nl = ["id"], rl = ["stop-color"], il = ["offset", "stop-color"], vl = ["offset", "stop-color"], cl = ["stop-color"], dl = { key: 2 }, hl = ["id", "cx", "cy"], yl = ["stop-color", "stop-opacity"], fl = ["stop-color"], pl = ["id"], gl = ["id"], ml = ["id"], bl = ["flood-color"], wl = ["id"], kl = ["flood-color"], _l = ["d", "stroke", "filter"], xl = ["x1", "y1", "x2", "y2", "stroke", "filter"], $l = ["cx", "cy", "r", "fill", "filter"], Cl = { key: 6 }, Pl = ["stroke", "d"], Fl = { key: 0 }, Sl = ["d", "fill", "stroke", "stroke-width", "filter"], Ll = ["d", "fill", "stroke", "stroke-width", "filter"], Tl = { key: 0 }, zl = ["stroke", "d"], Al = { key: 0 }, Ol = ["d", "stroke", "stroke-width", "filter"], Nl = { key: 1 }, Yl = ["d", "fill", "stroke", "stroke-width", "filter"], Xl = ["d", "fill", "stroke", "stroke-width", "filter"], Il = { key: 1 }, Ml = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Dl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Vl = ["cx", "cy", "r", "stroke"], Bl = ["cx", "cy", "r", "fill"], Gl = { key: 0 }, Rl = ["d", "fill", "onMouseenter", "onClick"], Ul = { key: 1 }, Wl = ["cx", "cy", "r", "fill"], jl = ["x", "y", "fill", "font-size"], El = ["x", "y", "fill", "font-size"], Hl = ["x", "y", "fill", "font-size"], ql = ["x", "y", "fill", "font-size"], Jl = ["filter"], Kl = { key: 0 }, Ql = ["x", "y"], Zl = { key: 1 }, ea = ["cx", "cy", "fill", "stroke", "filter", "onClick"], ta = ["cx", "cy", "fill", "stroke", "filter", "onClick"], la = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], aa = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], oa = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ua = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], sa = { key: 2 }, na = ["x", "y", "width"], ra = ["x", "y", "width"], ia = {
|
|
19
19
|
key: 5,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
21
|
}, va = ["onClick"], ca = {
|
|
@@ -53,11 +53,11 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
53
53
|
se.value && se.value.disconnect();
|
|
54
54
|
});
|
|
55
55
|
function Pe() {
|
|
56
|
-
if (
|
|
56
|
+
if (Ft(A.dataset) ? at({
|
|
57
57
|
componentName: "VueUiDonut",
|
|
58
58
|
type: "dataset"
|
|
59
59
|
}) : A.dataset.forEach((l, u) => {
|
|
60
|
-
|
|
60
|
+
St({
|
|
61
61
|
datasetObject: l,
|
|
62
62
|
requiredAttributes: ["name", "values"]
|
|
63
63
|
}).forEach((t) => {
|
|
@@ -85,8 +85,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
85
85
|
se.value = new ResizeObserver(l), se.value.observe(te.value.parentNode);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
const y = d(Lt()), vt = d(null), ne = d(!1), ve = d(""),
|
|
89
|
-
function
|
|
88
|
+
const y = d(Lt()), vt = d(null), ne = d(!1), ve = d(""), S = d(null), Fe = d(0);
|
|
89
|
+
function Se() {
|
|
90
90
|
const l = ut({
|
|
91
91
|
userConfig: A.config,
|
|
92
92
|
defaultConfig: rt
|
|
@@ -96,30 +96,30 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
96
96
|
userConfig: It.vue_ui_donut[l.theme] || A.config,
|
|
97
97
|
defaultConfig: l
|
|
98
98
|
}),
|
|
99
|
-
customPalette: Xt[l.theme] ||
|
|
99
|
+
customPalette: Xt[l.theme] || H
|
|
100
100
|
} : l;
|
|
101
101
|
}
|
|
102
102
|
const e = p({
|
|
103
|
-
get: () =>
|
|
103
|
+
get: () => Se(),
|
|
104
104
|
set: (l) => l
|
|
105
|
-
}),
|
|
105
|
+
}), Y = d(!0), V = d([]);
|
|
106
106
|
function ct(l) {
|
|
107
107
|
return 1 - Math.pow(1 - l, 3);
|
|
108
108
|
}
|
|
109
109
|
function dt(l, u = 1e3, t = 50) {
|
|
110
110
|
return new Promise((a) => {
|
|
111
111
|
const v = l.length;
|
|
112
|
-
|
|
112
|
+
V.value = Array(v).fill(0);
|
|
113
113
|
let b = 0;
|
|
114
|
-
l.forEach((
|
|
114
|
+
l.forEach((k, C) => {
|
|
115
115
|
setTimeout(() => {
|
|
116
116
|
const ae = performance.now();
|
|
117
117
|
function Je(kt) {
|
|
118
118
|
const Ke = Math.min((kt - ae) / u, 1), _t = ct(Ke);
|
|
119
|
-
|
|
119
|
+
V.value[C] = k * _t, V.value = [...V.value], Ke < 1 ? requestAnimationFrame(Je) : (V.value[C] = k, V.value = [...V.value], b += 1, b === v && a());
|
|
120
120
|
}
|
|
121
121
|
requestAnimationFrame(Je);
|
|
122
|
-
},
|
|
122
|
+
}, C * t);
|
|
123
123
|
});
|
|
124
124
|
});
|
|
125
125
|
}
|
|
@@ -129,11 +129,11 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
129
129
|
l,
|
|
130
130
|
e.value.startAnimation.durationMs,
|
|
131
131
|
e.value.startAnimation.staggerMs
|
|
132
|
-
),
|
|
132
|
+
), Y.value = !1;
|
|
133
133
|
});
|
|
134
134
|
const { userOptionsVisible: ce, setUserOptionsVisibility: Le, keepUserOptionState: Te } = Zt({ config: e.value }), { svgRef: de } = tl({ config: e.value.style.chart.title });
|
|
135
135
|
Ze(() => A.config, (l) => {
|
|
136
|
-
e.value =
|
|
136
|
+
e.value = Se(), ce.value = !e.value.userOptions.showOnChartHover, Pe(), xe.value += 1, $e.value += 1, Ce.value += 1, h.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
137
137
|
}, { deep: !0 });
|
|
138
138
|
const ze = p(() => {
|
|
139
139
|
const { top: l, right: u, bottom: t, left: a } = e.value.style.chart.padding;
|
|
@@ -157,73 +157,73 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
157
157
|
}), s = d({
|
|
158
158
|
height: 360,
|
|
159
159
|
width: 512
|
|
160
|
-
}),
|
|
161
|
-
const l = e.value.style.chart.layout.donut.strokeWidth / 512, u = Math.min(s.value.width, s.value.height) * l, t = u >
|
|
160
|
+
}), q = p(() => {
|
|
161
|
+
const l = e.value.style.chart.layout.donut.strokeWidth / 512, u = Math.min(s.value.width, s.value.height) * l, t = u > x.value ? x.value : u;
|
|
162
162
|
return Math.max(t, 3);
|
|
163
|
-
}), Ie = nt,
|
|
163
|
+
}), Ie = nt, B = p(() => A.dataset.map((l, u) => ({
|
|
164
164
|
name: l.name,
|
|
165
|
-
color: ot(l.color) || Xe.value[u] ||
|
|
165
|
+
color: ot(l.color) || Xe.value[u] || H[u] || H[u % H.length],
|
|
166
166
|
value: l.values.reduce((t, a) => t + a, 0),
|
|
167
167
|
absoluteValues: l.values,
|
|
168
168
|
comment: l.comment || "",
|
|
169
169
|
patternIndex: u,
|
|
170
170
|
pattern: `pattern_${y.value}_${u}`
|
|
171
|
-
}))), O = d(
|
|
172
|
-
Ze(() =>
|
|
171
|
+
}))), O = d(B.value);
|
|
172
|
+
Ze(() => B.value, (l) => O.value = l);
|
|
173
173
|
function yt() {
|
|
174
|
-
return
|
|
174
|
+
return B.value.map((l) => ({
|
|
175
175
|
name: l.name,
|
|
176
176
|
color: l.color,
|
|
177
177
|
value: l.value
|
|
178
178
|
}));
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const M = d([]), Me = d(null), De = d(null), W = d(!1);
|
|
181
181
|
function Ve(l) {
|
|
182
|
-
const u =
|
|
182
|
+
const u = B.value.find((v, b) => b === l), t = O.value.find((v, b) => b === l);
|
|
183
183
|
let a = t.value;
|
|
184
|
-
if (
|
|
184
|
+
if (M.value.includes(l)) {
|
|
185
185
|
let b = function() {
|
|
186
|
-
O.value = O.value.map((
|
|
187
|
-
...
|
|
186
|
+
O.value = O.value.map((C, ae) => l === ae ? {
|
|
187
|
+
...C,
|
|
188
188
|
value: v
|
|
189
|
-
} :
|
|
190
|
-
},
|
|
191
|
-
a > v ? (cancelAnimationFrame(Me.value), b(),
|
|
192
|
-
...
|
|
189
|
+
} : C);
|
|
190
|
+
}, k = function() {
|
|
191
|
+
a > v ? (cancelAnimationFrame(Me.value), b(), W.value = !1) : (W.value = !0, a += v * (e.value.type === "polar" ? 1 : 0.045), O.value = O.value.map((C, ae) => l === ae ? {
|
|
192
|
+
...C,
|
|
193
193
|
value: a
|
|
194
|
-
} :
|
|
194
|
+
} : C), Me.value = requestAnimationFrame(k));
|
|
195
195
|
};
|
|
196
|
-
|
|
196
|
+
M.value = M.value.filter((C) => C !== l);
|
|
197
197
|
const v = u.value;
|
|
198
|
-
e.value.useSerieToggleAnimation ?
|
|
199
|
-
} else if (
|
|
198
|
+
e.value.useSerieToggleAnimation ? k() : b();
|
|
199
|
+
} else if (M.value.length < B.value.length - 1) {
|
|
200
200
|
let v = function() {
|
|
201
|
-
|
|
202
|
-
...
|
|
201
|
+
M.value.push(l), O.value = O.value.map((k, C) => l === C ? {
|
|
202
|
+
...k,
|
|
203
203
|
value: 0
|
|
204
|
-
} :
|
|
204
|
+
} : k);
|
|
205
205
|
}, b = function() {
|
|
206
|
-
a < t.value / 100 ? (cancelAnimationFrame(De.value), v(),
|
|
207
|
-
...
|
|
206
|
+
a < t.value / 100 ? (cancelAnimationFrame(De.value), v(), W.value = !1) : (W.value = !0, a /= e.value.type === "polar" ? 20 : 1.18, O.value = O.value.map((k, C) => l === C ? {
|
|
207
|
+
...k,
|
|
208
208
|
value: a
|
|
209
|
-
} :
|
|
209
|
+
} : k), De.value = requestAnimationFrame(b));
|
|
210
210
|
};
|
|
211
211
|
e.value.useSerieToggleAnimation ? b() : v();
|
|
212
212
|
}
|
|
213
|
-
Ie("selectLegend",
|
|
213
|
+
Ie("selectLegend", G.value.map((v) => ({
|
|
214
214
|
name: v.name,
|
|
215
215
|
color: v.color,
|
|
216
216
|
value: v.value
|
|
217
217
|
})));
|
|
218
218
|
}
|
|
219
|
-
const ft = p(() => A.dataset.reduce((l, u) => l + u.values.reduce((t, a) => t + a, 0), 0)),
|
|
220
|
-
if (
|
|
221
|
-
const l =
|
|
222
|
-
...
|
|
219
|
+
const ft = p(() => A.dataset.reduce((l, u) => l + u.values.reduce((t, a) => t + a, 0), 0)), G = p(() => {
|
|
220
|
+
if (Y.value) {
|
|
221
|
+
const l = V.value.map((t, a) => ({
|
|
222
|
+
...B.value[a],
|
|
223
223
|
value: t,
|
|
224
|
-
color:
|
|
224
|
+
color: B.value[a].color,
|
|
225
225
|
ghost: !1
|
|
226
|
-
})), u = ft.value -
|
|
226
|
+
})), u = ft.value - V.value.reduce((t, a) => t + a, 0);
|
|
227
227
|
return u > 0 && l.push({
|
|
228
228
|
name: "__ghost__",
|
|
229
229
|
value: u,
|
|
@@ -240,19 +240,19 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
240
240
|
}), O.value.map((l, u) => ({
|
|
241
241
|
...l,
|
|
242
242
|
seriesIndex: u
|
|
243
|
-
})).filter((l, u) => !
|
|
243
|
+
})).filter((l, u) => !M.value.includes(u));
|
|
244
244
|
}), Be = p(() => A.dataset.map((l, u) => ({
|
|
245
245
|
name: l.name,
|
|
246
|
-
color: ot(l.color) || Xe.value[u] ||
|
|
246
|
+
color: ot(l.color) || Xe.value[u] || H[u] || H[u % H.length],
|
|
247
247
|
value: (l.values || []).reduce((t, a) => t + a, 0),
|
|
248
248
|
shape: "circle",
|
|
249
249
|
patternIndex: u
|
|
250
250
|
})).map((l, u) => ({
|
|
251
251
|
...l,
|
|
252
252
|
proportion: l.value / A.dataset.map((t) => (t.values || []).reduce((a, v) => a + v, 0)).reduce((t, a) => t + a, 0),
|
|
253
|
-
opacity:
|
|
254
|
-
segregate: () => !
|
|
255
|
-
isSegregated:
|
|
253
|
+
opacity: M.value.includes(u) ? 0.5 : 1,
|
|
254
|
+
segregate: () => !W.value && Ve(u),
|
|
255
|
+
isSegregated: M.value.includes(u)
|
|
256
256
|
}))), pt = p(() => ({
|
|
257
257
|
cy: "donut-div-legend",
|
|
258
258
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
@@ -260,11 +260,11 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
260
260
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
261
261
|
paddingBottom: 12,
|
|
262
262
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
263
|
-
})),
|
|
263
|
+
})), x = p(() => {
|
|
264
264
|
const l = Math.min(s.value.width / 3, s.value.height / 3);
|
|
265
265
|
return l < 55 ? 55 : l;
|
|
266
|
-
}),
|
|
267
|
-
const l = Math.max(...
|
|
266
|
+
}), F = p(() => zt({ series: G.value }, s.value.width / 2, s.value.height / 2, x.value, x.value, 1.99999, 2, 1, 360, 105.25, q.value)), D = p(() => F.value.filter((l) => !l.ghost)), c = p(() => {
|
|
267
|
+
const l = Math.max(...G.value.map((t) => t.value)), u = G.value.map((t) => t.value / l);
|
|
268
268
|
return At({
|
|
269
269
|
series: u,
|
|
270
270
|
center: {
|
|
@@ -272,7 +272,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
272
272
|
y: s.value.height / 2
|
|
273
273
|
},
|
|
274
274
|
maxRadius: Math.min(s.value.width, s.value.height) / 3,
|
|
275
|
-
hasGhost:
|
|
275
|
+
hasGhost: Y.value
|
|
276
276
|
});
|
|
277
277
|
});
|
|
278
278
|
function J(l) {
|
|
@@ -281,12 +281,12 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
281
281
|
function gt(l) {
|
|
282
282
|
return l.middlePoint.y > s.value.height / 2 ? z({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y : z({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y - 100;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function X(l) {
|
|
285
285
|
return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
286
286
|
}
|
|
287
287
|
function he(l, u) {
|
|
288
288
|
const t = l.value / mt(u);
|
|
289
|
-
return isNaN(t) ? 0 :
|
|
289
|
+
return isNaN(t) ? 0 : I(
|
|
290
290
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
291
291
|
t * 100,
|
|
292
292
|
N({
|
|
@@ -300,25 +300,25 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
300
300
|
function mt(l) {
|
|
301
301
|
return [...l].map((u) => u.value).reduce((u, t) => u + t, 0);
|
|
302
302
|
}
|
|
303
|
-
const L = p(() =>
|
|
303
|
+
const L = p(() => G.value.map((l) => l.value).reduce((l, u) => l + u, 0)), Ge = p(() => L.value / G.value.length), Re = p(() => (l) => W.value ? l.proportion * 100 : l.value / L.value * 100), ye = d(null), le = d(!1);
|
|
304
304
|
function Ue({ datapoint: l, relativeIndex: u, seriesIndex: t, show: a = !1 }) {
|
|
305
|
-
ye.value = { datapoint: l, seriesIndex: t, config: e.value, series:
|
|
305
|
+
ye.value = { datapoint: l, seriesIndex: t, config: e.value, series: B.value }, ne.value = a, S.value = u;
|
|
306
306
|
let v = "";
|
|
307
307
|
const b = e.value.style.chart.tooltip.customFormat;
|
|
308
308
|
if (le.value = !1, Vt(b))
|
|
309
309
|
try {
|
|
310
|
-
const
|
|
310
|
+
const k = b({
|
|
311
311
|
seriesIndex: t,
|
|
312
312
|
datapoint: l,
|
|
313
|
-
series:
|
|
313
|
+
series: B.value,
|
|
314
314
|
config: e.value
|
|
315
315
|
});
|
|
316
|
-
typeof
|
|
316
|
+
typeof k == "string" && (ve.value = k, le.value = !0);
|
|
317
317
|
} catch {
|
|
318
318
|
console.warn("Custom format cannot be applied."), le.value = !1;
|
|
319
319
|
}
|
|
320
320
|
if (!le.value) {
|
|
321
|
-
if (v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, v += `<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="${l.color}"/>${it.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${
|
|
321
|
+
if (v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, v += `<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="${l.color}"/>${it.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${I(
|
|
322
322
|
e.value.style.chart.layout.labels.value.formatter,
|
|
323
323
|
l.value,
|
|
324
324
|
N({
|
|
@@ -333,7 +333,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
333
333
|
seriesIndex: t
|
|
334
334
|
}
|
|
335
335
|
)}</b>`), e.value.style.chart.tooltip.showPercentage) {
|
|
336
|
-
const
|
|
336
|
+
const k = I(
|
|
337
337
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
338
338
|
l.proportion * 100,
|
|
339
339
|
N({
|
|
@@ -347,26 +347,26 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
347
347
|
seriesIndex: t
|
|
348
348
|
}
|
|
349
349
|
);
|
|
350
|
-
e.value.style.chart.tooltip.showValue ? v += `<span>(${
|
|
350
|
+
e.value.style.chart.tooltip.showValue ? v += `<span>(${k})</span></div>` : v += `<b>${k}</b></div>`;
|
|
351
351
|
}
|
|
352
352
|
e.value.style.chart.comments.showInTooltip && l.comment && (v += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${l.color}">${l.comment}</div>`), ve.value = `<div>${v}</div>`;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
-
function
|
|
356
|
-
return e.value.useBlurOnHover && ![null, void 0].includes(
|
|
355
|
+
function j(l) {
|
|
356
|
+
return e.value.useBlurOnHover && ![null, void 0].includes(S.value) && S.value !== l ? `url(#blur_${y.value})` : "";
|
|
357
357
|
}
|
|
358
|
-
const
|
|
359
|
-
const l =
|
|
358
|
+
const R = p(() => {
|
|
359
|
+
const l = G.value.map((t) => ({
|
|
360
360
|
name: t.name,
|
|
361
361
|
color: t.color
|
|
362
|
-
})), u =
|
|
362
|
+
})), u = G.value.map((t) => t.value);
|
|
363
363
|
return { head: l, body: u };
|
|
364
364
|
});
|
|
365
365
|
function We() {
|
|
366
366
|
Ct(() => {
|
|
367
|
-
const l =
|
|
367
|
+
const l = R.value.head.map((a, v) => [[
|
|
368
368
|
a.name
|
|
369
|
-
], [
|
|
369
|
+
], [R.value.body[v]], [isNaN(R.value.body[v] / L.value) ? "-" : R.value.body[v] / L.value * 100]]), u = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = Mt(u);
|
|
370
370
|
Dt({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
|
|
371
371
|
});
|
|
372
372
|
}
|
|
@@ -375,13 +375,13 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
375
375
|
' <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>',
|
|
376
376
|
N({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: L.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
377
377
|
"100%"
|
|
378
|
-
], u =
|
|
378
|
+
], u = R.value.head.map((v, b) => [
|
|
379
379
|
{
|
|
380
380
|
color: v.color,
|
|
381
381
|
name: v.name
|
|
382
382
|
},
|
|
383
|
-
|
|
384
|
-
isNaN(
|
|
383
|
+
R.value.body[b],
|
|
384
|
+
isNaN(R.value.body[b] / L.value) ? "-" : (R.value.body[b] / L.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
|
|
385
385
|
]), t = {
|
|
386
386
|
th: {
|
|
387
387
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -407,13 +407,13 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
407
407
|
};
|
|
408
408
|
}), K = d(!1);
|
|
409
409
|
function bt(l) {
|
|
410
|
-
K.value = l,
|
|
410
|
+
K.value = l, Fe.value += 1;
|
|
411
411
|
}
|
|
412
412
|
const je = p(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
|
|
413
413
|
function wt(l) {
|
|
414
414
|
return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((u) => "-").join("");
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function U(l, u) {
|
|
417
417
|
Ie("selectDatapoint", { datapoint: l, index: u });
|
|
418
418
|
}
|
|
419
419
|
function Ee() {
|
|
@@ -442,12 +442,12 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
442
442
|
ref_key: "donutChart",
|
|
443
443
|
ref: te,
|
|
444
444
|
class: pe(`vue-ui-donut ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
445
|
-
style:
|
|
445
|
+
style: _(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
446
446
|
id: `donut__${y.value}`,
|
|
447
447
|
onMouseenter: u[6] || (u[6] = () => r(Le)(!0)),
|
|
448
448
|
onMouseleave: u[7] || (u[7] = () => r(Le)(!1))
|
|
449
449
|
}, [
|
|
450
|
-
e.value.userOptions.buttons.annotator && r(de) ? (o(),
|
|
450
|
+
e.value.userOptions.buttons.annotator && r(de) ? (o(), E(Qt, {
|
|
451
451
|
key: 0,
|
|
452
452
|
color: e.value.style.chart.color,
|
|
453
453
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -469,7 +469,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
469
469
|
ref: be,
|
|
470
470
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
471
471
|
}, [
|
|
472
|
-
(o(),
|
|
472
|
+
(o(), E(Rt, {
|
|
473
473
|
key: `title_${xe.value}`,
|
|
474
474
|
config: {
|
|
475
475
|
title: {
|
|
@@ -483,10 +483,10 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
483
483
|
}
|
|
484
484
|
}, null, 8, ["config"]))
|
|
485
485
|
], 512)) : i("", !0),
|
|
486
|
-
e.value.userOptions.show && ee.value && (r(Te) || r(ce)) ? (o(),
|
|
486
|
+
e.value.userOptions.show && ee.value && (r(Te) || r(ce)) ? (o(), E(Wt, {
|
|
487
487
|
ref_key: "details",
|
|
488
488
|
ref: vt,
|
|
489
|
-
key: `user_option_${
|
|
489
|
+
key: `user_option_${Fe.value}`,
|
|
490
490
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
491
491
|
color: e.value.style.chart.color,
|
|
492
492
|
isPrinting: r(Ae),
|
|
@@ -514,69 +514,69 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
514
514
|
onToggleLabels: He,
|
|
515
515
|
onToggleTooltip: qe,
|
|
516
516
|
onToggleAnnotator: fe,
|
|
517
|
-
style:
|
|
517
|
+
style: _({
|
|
518
518
|
visibility: r(Te) ? r(ce) ? "visible" : "hidden" : "visible"
|
|
519
519
|
})
|
|
520
520
|
}, et({ _: 2 }, [
|
|
521
521
|
l.$slots.menuIcon ? {
|
|
522
522
|
name: "menuIcon",
|
|
523
|
-
fn:
|
|
523
|
+
fn: $(({ isOpen: t, color: a }) => [
|
|
524
524
|
g(l.$slots, "menuIcon", Q(Z({ isOpen: t, color: a })), void 0, !0)
|
|
525
525
|
]),
|
|
526
526
|
key: "0"
|
|
527
527
|
} : void 0,
|
|
528
528
|
l.$slots.optionTooltip ? {
|
|
529
529
|
name: "optionTooltip",
|
|
530
|
-
fn:
|
|
530
|
+
fn: $(() => [
|
|
531
531
|
g(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
532
532
|
]),
|
|
533
533
|
key: "1"
|
|
534
534
|
} : void 0,
|
|
535
535
|
l.$slots.optionPdf ? {
|
|
536
536
|
name: "optionPdf",
|
|
537
|
-
fn:
|
|
537
|
+
fn: $(() => [
|
|
538
538
|
g(l.$slots, "optionPdf", {}, void 0, !0)
|
|
539
539
|
]),
|
|
540
540
|
key: "2"
|
|
541
541
|
} : void 0,
|
|
542
542
|
l.$slots.optionCsv ? {
|
|
543
543
|
name: "optionCsv",
|
|
544
|
-
fn:
|
|
544
|
+
fn: $(() => [
|
|
545
545
|
g(l.$slots, "optionCsv", {}, void 0, !0)
|
|
546
546
|
]),
|
|
547
547
|
key: "3"
|
|
548
548
|
} : void 0,
|
|
549
549
|
l.$slots.optionImg ? {
|
|
550
550
|
name: "optionImg",
|
|
551
|
-
fn:
|
|
551
|
+
fn: $(() => [
|
|
552
552
|
g(l.$slots, "optionImg", {}, void 0, !0)
|
|
553
553
|
]),
|
|
554
554
|
key: "4"
|
|
555
555
|
} : void 0,
|
|
556
556
|
l.$slots.optionTable ? {
|
|
557
557
|
name: "optionTable",
|
|
558
|
-
fn:
|
|
558
|
+
fn: $(() => [
|
|
559
559
|
g(l.$slots, "optionTable", {}, void 0, !0)
|
|
560
560
|
]),
|
|
561
561
|
key: "5"
|
|
562
562
|
} : void 0,
|
|
563
563
|
l.$slots.optionLabels ? {
|
|
564
564
|
name: "optionLabels",
|
|
565
|
-
fn:
|
|
565
|
+
fn: $(() => [
|
|
566
566
|
g(l.$slots, "optionLabels", {}, void 0, !0)
|
|
567
567
|
]),
|
|
568
568
|
key: "6"
|
|
569
569
|
} : void 0,
|
|
570
570
|
l.$slots.optionFullscreen ? {
|
|
571
571
|
name: "optionFullscreen",
|
|
572
|
-
fn:
|
|
572
|
+
fn: $(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
573
573
|
g(l.$slots, "optionFullscreen", Q(Z({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
|
|
574
574
|
]),
|
|
575
575
|
key: "7"
|
|
576
576
|
} : void 0,
|
|
577
577
|
l.$slots.optionAnnotator ? {
|
|
578
578
|
name: "optionAnnotator",
|
|
579
|
-
fn:
|
|
579
|
+
fn: $(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
580
580
|
g(l.$slots, "optionAnnotator", Q(Z({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
|
|
581
581
|
]),
|
|
582
582
|
key: "8"
|
|
@@ -589,7 +589,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
589
589
|
xmlns: r(Ot),
|
|
590
590
|
class: pe({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
|
|
591
591
|
viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
|
|
592
|
-
style:
|
|
592
|
+
style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${ze.value.css}`)
|
|
593
593
|
}, [
|
|
594
594
|
ge(Kt),
|
|
595
595
|
l.$slots["chart-background"] ? (o(), n("foreignObject", {
|
|
@@ -604,7 +604,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
604
604
|
}, [
|
|
605
605
|
g(l.$slots, "chart-background", {}, void 0, !0)
|
|
606
606
|
], 8, ul)) : i("", !0),
|
|
607
|
-
e.value.type === "classic" && !isNaN(
|
|
607
|
+
e.value.type === "classic" && !isNaN(q.value / x.value) ? (o(), n("defs", sl, [
|
|
608
608
|
e.value.style.chart.useGradient ? (o(), n("radialGradient", {
|
|
609
609
|
key: 0,
|
|
610
610
|
id: `gradient_${y.value}`
|
|
@@ -615,12 +615,12 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
615
615
|
"stop-opacity": "0"
|
|
616
616
|
}, null, 8, rl),
|
|
617
617
|
f("stop", {
|
|
618
|
-
offset: `${(1 -
|
|
618
|
+
offset: `${(1 - q.value / x.value) * 100}%`,
|
|
619
619
|
"stop-color": r(oe)("#FFFFFF", 0),
|
|
620
620
|
"stop-opacity": "0"
|
|
621
621
|
}, null, 8, il),
|
|
622
622
|
f("stop", {
|
|
623
|
-
offset: `${(1 -
|
|
623
|
+
offset: `${(1 - q.value / x.value / 2) * 100}%`,
|
|
624
624
|
"stop-color": r(oe)("#FFFFFF", e.value.style.chart.gradientIntensity)
|
|
625
625
|
}, null, 8, vl),
|
|
626
626
|
f("stop", {
|
|
@@ -639,12 +639,12 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
639
639
|
}, [
|
|
640
640
|
f("stop", {
|
|
641
641
|
offset: "0%",
|
|
642
|
-
"stop-color": r(Nt)(
|
|
642
|
+
"stop-color": r(Nt)(F.value[a].color, 0.05),
|
|
643
643
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
644
644
|
}, null, 8, yl),
|
|
645
645
|
f("stop", {
|
|
646
646
|
offset: "100%",
|
|
647
|
-
"stop-color":
|
|
647
|
+
"stop-color": F.value[a].color
|
|
648
648
|
}, null, 8, fl)
|
|
649
649
|
], 8, hl))), 256))
|
|
650
650
|
])) : i("", !0),
|
|
@@ -695,20 +695,20 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
695
695
|
}, null, 8, kl)
|
|
696
696
|
], 8, wl)
|
|
697
697
|
]),
|
|
698
|
-
e.value.type === "classic" ? (o(!0), n(m, { key: 3 }, T(
|
|
699
|
-
|
|
698
|
+
e.value.type === "classic" ? (o(!0), n(m, { key: 3 }, T(F.value.filter((t) => !t.ghost), (t, a) => (o(), n("g", null, [
|
|
699
|
+
X(t) && h.value.dataLabels.show ? (o(), n("path", {
|
|
700
700
|
key: 0,
|
|
701
|
-
d: r(Yt)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1,
|
|
701
|
+
d: r(Yt)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, q.value, 12, e.value.style.chart.layout.curvedMarkers),
|
|
702
702
|
stroke: t.color,
|
|
703
703
|
"stroke-width": "1",
|
|
704
704
|
"stroke-linecap": "round",
|
|
705
705
|
"stroke-linejoin": "round",
|
|
706
706
|
fill: "none",
|
|
707
|
-
filter:
|
|
707
|
+
filter: j(a)
|
|
708
708
|
}, null, 8, _l)) : i("", !0)
|
|
709
709
|
]))), 256)) : i("", !0),
|
|
710
|
-
e.value.type === "polar" ? (o(!0), n(m, { key: 4 }, T(
|
|
711
|
-
|
|
710
|
+
e.value.type === "polar" ? (o(!0), n(m, { key: 4 }, T(F.value.filter((t) => !t.ghost), (t, a) => (o(), n("g", null, [
|
|
711
|
+
X(t) && h.value.dataLabels.show ? (o(), n("line", {
|
|
712
712
|
key: 0,
|
|
713
713
|
x1: r(z)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
|
|
714
714
|
y1: r(z)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
|
|
@@ -719,9 +719,9 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
719
719
|
"stroke-linecap": "round",
|
|
720
720
|
"stroke-linejoin": "round",
|
|
721
721
|
fill: "none",
|
|
722
|
-
filter:
|
|
723
|
-
style:
|
|
724
|
-
transition:
|
|
722
|
+
filter: j(a),
|
|
723
|
+
style: _({
|
|
724
|
+
transition: Y.value ? "" : "all 0.1s ease-in-out"
|
|
725
725
|
})
|
|
726
726
|
}, null, 12, xl)) : i("", !0)
|
|
727
727
|
]))), 256)) : i("", !0),
|
|
@@ -729,7 +729,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
729
729
|
key: 5,
|
|
730
730
|
cx: s.value.width / 2,
|
|
731
731
|
cy: s.value.height / 2,
|
|
732
|
-
r:
|
|
732
|
+
r: x.value <= 0 ? 10 : x.value,
|
|
733
733
|
fill: e.value.style.chart.backgroundColor,
|
|
734
734
|
filter: `url(#shadow_${y.value})`
|
|
735
735
|
}, null, 8, $l)) : i("", !0),
|
|
@@ -741,75 +741,75 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
741
741
|
]))), 128))
|
|
742
742
|
])) : i("", !0),
|
|
743
743
|
L.value && e.value.type === "classic" ? (o(), n(m, { key: 7 }, [
|
|
744
|
-
(o(!0), n(m, null, T(
|
|
744
|
+
(o(!0), n(m, null, T(D.value, (t, a) => (o(), n("path", {
|
|
745
745
|
stroke: e.value.style.chart.backgroundColor,
|
|
746
746
|
d: t.arcSlice,
|
|
747
747
|
fill: "#FFFFFF"
|
|
748
748
|
}, null, 8, Pl))), 256)),
|
|
749
|
-
l.$slots.pattern ? (o(), n("g",
|
|
750
|
-
(o(!0), n(m, null, T(
|
|
749
|
+
l.$slots.pattern ? (o(), n("g", Fl, [
|
|
750
|
+
(o(!0), n(m, null, T(D.value, (t, a) => (o(), n("path", {
|
|
751
751
|
class: "vue-ui-donut-arc-path",
|
|
752
752
|
d: t.arcSlice,
|
|
753
753
|
fill: `url(#${t.pattern})`,
|
|
754
754
|
stroke: e.value.style.chart.backgroundColor,
|
|
755
755
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
756
|
-
filter:
|
|
757
|
-
}, null, 8,
|
|
756
|
+
filter: j(a)
|
|
757
|
+
}, null, 8, Sl))), 256))
|
|
758
758
|
])) : i("", !0),
|
|
759
|
-
(o(!0), n(m, null, T(
|
|
759
|
+
(o(!0), n(m, null, T(D.value, (t, a) => (o(), n("path", {
|
|
760
760
|
class: "vue-ui-donut-arc-path",
|
|
761
761
|
d: t.arcSlice,
|
|
762
762
|
fill: r(oe)(t.color, 80),
|
|
763
763
|
stroke: e.value.style.chart.backgroundColor,
|
|
764
764
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
765
|
-
filter:
|
|
765
|
+
filter: j(a)
|
|
766
766
|
}, null, 8, Ll))), 256))
|
|
767
767
|
], 64)) : i("", !0),
|
|
768
768
|
L.value && e.value.type === "polar" ? (o(), n(m, { key: 8 }, [
|
|
769
|
-
|
|
770
|
-
(o(!0), n(m, null, T(
|
|
769
|
+
F.value.length > 1 ? (o(), n("g", Tl, [
|
|
770
|
+
(o(!0), n(m, null, T(D.value, (t, a) => (o(), n("path", {
|
|
771
771
|
stroke: e.value.style.chart.backgroundColor,
|
|
772
772
|
d: c.value[a].path,
|
|
773
773
|
fill: "#FFFFFF",
|
|
774
|
-
style:
|
|
775
|
-
transition:
|
|
774
|
+
style: _({
|
|
775
|
+
transition: Y.value ? "" : "all 0.1s ease-in-out"
|
|
776
776
|
})
|
|
777
777
|
}, null, 12, zl))), 256)),
|
|
778
778
|
e.value.style.chart.layout.donut.useShadow ? (o(), n("g", Al, [
|
|
779
|
-
(o(!0), n(m, null, T(
|
|
779
|
+
(o(!0), n(m, null, T(F.value, (t, a) => (o(), n("path", {
|
|
780
780
|
class: "vue-ui-donut-arc-path",
|
|
781
781
|
d: c.value[a].path,
|
|
782
782
|
fill: "transparent",
|
|
783
783
|
stroke: e.value.style.chart.backgroundColor,
|
|
784
784
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
785
785
|
filter: `url(#drop_shadow_${y.value})`,
|
|
786
|
-
style:
|
|
787
|
-
transition:
|
|
786
|
+
style: _({
|
|
787
|
+
transition: Y.value ? "" : "all 0.1s ease-in-out"
|
|
788
788
|
})
|
|
789
789
|
}, null, 12, Ol))), 256))
|
|
790
790
|
])) : i("", !0),
|
|
791
791
|
l.$slots.pattern ? (o(), n("g", Nl, [
|
|
792
|
-
(o(!0), n(m, null, T(
|
|
792
|
+
(o(!0), n(m, null, T(D.value, (t, a) => (o(), n("path", {
|
|
793
793
|
class: "vue-ui-donut-arc-path",
|
|
794
794
|
d: c.value[a].path,
|
|
795
795
|
fill: `url(#${t.pattern})`,
|
|
796
796
|
stroke: e.value.style.chart.backgroundColor,
|
|
797
797
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
798
|
-
filter:
|
|
799
|
-
style:
|
|
800
|
-
transition:
|
|
798
|
+
filter: j(a),
|
|
799
|
+
style: _({
|
|
800
|
+
transition: Y.value ? "" : "all 0.1s ease-in-out"
|
|
801
801
|
})
|
|
802
802
|
}, null, 12, Yl))), 256))
|
|
803
803
|
])) : i("", !0),
|
|
804
|
-
(o(!0), n(m, null, T(
|
|
804
|
+
(o(!0), n(m, null, T(D.value, (t, a) => (o(), n("path", {
|
|
805
805
|
class: "vue-ui-donut-arc-path",
|
|
806
806
|
d: c.value[a].path,
|
|
807
807
|
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${y.value})` : t.color,
|
|
808
808
|
stroke: e.value.style.chart.backgroundColor,
|
|
809
809
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
810
|
-
filter:
|
|
811
|
-
style:
|
|
812
|
-
transition:
|
|
810
|
+
filter: j(a),
|
|
811
|
+
style: _({
|
|
812
|
+
transition: Y.value ? "" : "all 0.1s ease-in-out"
|
|
813
813
|
})
|
|
814
814
|
}, null, 12, Xl))), 256))
|
|
815
815
|
])) : (o(), n("g", Il, [
|
|
@@ -817,16 +817,16 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
817
817
|
key: 0,
|
|
818
818
|
cx: s.value.width / 2,
|
|
819
819
|
cy: s.value.height / 2,
|
|
820
|
-
r:
|
|
821
|
-
fill: `url(#pattern_${y.value}_${
|
|
820
|
+
r: x.value,
|
|
821
|
+
fill: `url(#pattern_${y.value}_${F.value[0].patternIndex})`,
|
|
822
822
|
stroke: e.value.style.chart.backgroundColor,
|
|
823
823
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
824
824
|
}, null, 8, Ml)) : i("", !0),
|
|
825
825
|
f("circle", {
|
|
826
826
|
cx: s.value.width / 2,
|
|
827
827
|
cy: s.value.height / 2,
|
|
828
|
-
r:
|
|
829
|
-
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${y.value})` :
|
|
828
|
+
r: x.value,
|
|
829
|
+
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${y.value})` : F.value[0].color,
|
|
830
830
|
stroke: e.value.style.chart.backgroundColor,
|
|
831
831
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
832
832
|
}, null, 8, Dl)
|
|
@@ -835,7 +835,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
835
835
|
key: 9,
|
|
836
836
|
cx: s.value.width / 2,
|
|
837
837
|
cy: s.value.height / 2,
|
|
838
|
-
r:
|
|
838
|
+
r: x.value <= 0 ? 10 : x.value,
|
|
839
839
|
fill: "transparent",
|
|
840
840
|
stroke: e.value.style.chart.backgroundColor
|
|
841
841
|
}, null, 8, Vl)),
|
|
@@ -845,15 +845,15 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
845
845
|
cy: s.value.height / 2,
|
|
846
846
|
r: (
|
|
847
847
|
/* This might require adjustments */
|
|
848
|
-
|
|
848
|
+
x.value <= 0 ? 10 : x.value
|
|
849
849
|
),
|
|
850
850
|
fill: `url(#gradient_${y.value})`
|
|
851
851
|
}, null, 8, Bl)) : i("", !0),
|
|
852
852
|
L.value ? (o(), n(m, { key: 11 }, [
|
|
853
|
-
|
|
854
|
-
(o(!0), n(m, null, T(
|
|
853
|
+
F.value.length > 1 || e.value.type === "classic" ? (o(), n("g", Gl, [
|
|
854
|
+
(o(!0), n(m, null, T(F.value.filter((t) => !t.ghost), (t, a) => (o(), n("path", {
|
|
855
855
|
d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
|
|
856
|
-
fill:
|
|
856
|
+
fill: S.value === a ? "rgba(0,0,0,0.1)" : "transparent",
|
|
857
857
|
onMouseenter: (v) => Ue({
|
|
858
858
|
datapoint: t,
|
|
859
859
|
relativeIndex: a,
|
|
@@ -861,26 +861,26 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
861
861
|
show: !0
|
|
862
862
|
}),
|
|
863
863
|
onMouseleave: u[0] || (u[0] = (v) => {
|
|
864
|
-
ne.value = !1,
|
|
864
|
+
ne.value = !1, S.value = null;
|
|
865
865
|
}),
|
|
866
|
-
onClick: (v) =>
|
|
866
|
+
onClick: (v) => U(t, a)
|
|
867
867
|
}, null, 40, Rl))), 256))
|
|
868
868
|
])) : (o(), n("g", Ul, [
|
|
869
869
|
f("circle", {
|
|
870
870
|
cx: s.value.width / 2,
|
|
871
871
|
cy: s.value.height / 2,
|
|
872
|
-
r:
|
|
873
|
-
fill:
|
|
872
|
+
r: x.value,
|
|
873
|
+
fill: S.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
|
|
874
874
|
onMouseenter: u[1] || (u[1] = (t) => Ue({
|
|
875
|
-
datapoint:
|
|
875
|
+
datapoint: F.value[0],
|
|
876
876
|
relativeIndex: 0,
|
|
877
|
-
seriesIndex:
|
|
877
|
+
seriesIndex: F.value[0].seriesIndex,
|
|
878
878
|
show: !0
|
|
879
879
|
})),
|
|
880
880
|
onMouseleave: u[2] || (u[2] = (t) => {
|
|
881
|
-
ne.value = !1,
|
|
881
|
+
ne.value = !1, S.value = null;
|
|
882
882
|
}),
|
|
883
|
-
onClick: u[3] || (u[3] = (t) =>
|
|
883
|
+
onClick: u[3] || (u[3] = (t) => U(F.value[0], l.i))
|
|
884
884
|
}, null, 40, Wl)
|
|
885
885
|
]))
|
|
886
886
|
], 64)) : i("", !0),
|
|
@@ -892,8 +892,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
892
892
|
y: s.value.height / 2 - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.offsetY,
|
|
893
893
|
fill: e.value.style.chart.layout.labels.hollow.total.color,
|
|
894
894
|
"font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
|
|
895
|
-
style:
|
|
896
|
-
},
|
|
895
|
+
style: _(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
|
|
896
|
+
}, P(e.value.style.chart.layout.labels.hollow.total.text), 13, jl)) : i("", !0),
|
|
897
897
|
e.value.style.chart.layout.labels.hollow.total.show ? (o(), n("text", {
|
|
898
898
|
key: 1,
|
|
899
899
|
"text-anchor": "middle",
|
|
@@ -901,8 +901,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
901
901
|
y: s.value.height / 2 + e.value.style.chart.layout.labels.hollow.total.fontSize - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.value.offsetY,
|
|
902
902
|
fill: e.value.style.chart.layout.labels.hollow.total.value.color,
|
|
903
903
|
"font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
|
|
904
|
-
style:
|
|
905
|
-
},
|
|
904
|
+
style: _(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
|
|
905
|
+
}, P(r(I)(
|
|
906
906
|
e.value.style.chart.layout.labels.hollow.total.value.formatter,
|
|
907
907
|
L.value,
|
|
908
908
|
r(N)({
|
|
@@ -918,8 +918,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
918
918
|
y: s.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.offsetY,
|
|
919
919
|
fill: e.value.style.chart.layout.labels.hollow.average.color,
|
|
920
920
|
"font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
|
|
921
|
-
style:
|
|
922
|
-
},
|
|
921
|
+
style: _(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
|
|
922
|
+
}, P(e.value.style.chart.layout.labels.hollow.average.text), 13, Hl)) : i("", !0),
|
|
923
923
|
e.value.style.chart.layout.labels.hollow.average.show ? (o(), n("text", {
|
|
924
924
|
key: 3,
|
|
925
925
|
"text-anchor": "middle",
|
|
@@ -927,8 +927,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
927
927
|
y: s.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.fontSize + e.value.style.chart.layout.labels.hollow.average.value.offsetY,
|
|
928
928
|
fill: e.value.style.chart.layout.labels.hollow.average.value.color,
|
|
929
929
|
"font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
|
|
930
|
-
style:
|
|
931
|
-
},
|
|
930
|
+
style: _(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
|
|
931
|
+
}, P(W.value || Y.value ? "--" : r(I)(
|
|
932
932
|
e.value.style.chart.layout.labels.hollow.average.value.formatter,
|
|
933
933
|
Ge.value,
|
|
934
934
|
r(N)({
|
|
@@ -939,8 +939,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
939
939
|
})
|
|
940
940
|
)), 13, ql)) : i("", !0)
|
|
941
941
|
], 64)) : i("", !0),
|
|
942
|
-
(o(!0), n(m, null, T(
|
|
943
|
-
filter:
|
|
942
|
+
(o(!0), n(m, null, T(D.value.filter((t) => !t.ghost), (t, a) => (o(), n("g", {
|
|
943
|
+
filter: j(a),
|
|
944
944
|
class: pe({ animated: e.value.useCssAnimation })
|
|
945
945
|
}, [
|
|
946
946
|
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), n("g", Kl, [
|
|
@@ -954,18 +954,18 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
954
954
|
f("div", null, [
|
|
955
955
|
g(l.$slots, "dataLabel", tt({ ref_for: !0 }, {
|
|
956
956
|
datapoint: t,
|
|
957
|
-
isBlur: !e.value.useBlurOnHover || [null, void 0].includes(
|
|
957
|
+
isBlur: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a,
|
|
958
958
|
isSafari: je.value,
|
|
959
|
-
isVisible:
|
|
959
|
+
isVisible: X(t) && h.value.dataLabels.show,
|
|
960
960
|
textAlign: r(w)(t, !0, 16, !0).anchor,
|
|
961
961
|
flexAlign: r(w)(t, !0, 16).anchor,
|
|
962
|
-
percentage: he(t,
|
|
962
|
+
percentage: he(t, D.value)
|
|
963
963
|
}), void 0, !0)
|
|
964
964
|
])
|
|
965
965
|
], 8, Ql))
|
|
966
966
|
])) : (o(), n("g", Zl, [
|
|
967
967
|
e.value.type === "classic" ? (o(), n(m, { key: 0 }, [
|
|
968
|
-
|
|
968
|
+
X(t) && h.value.dataLabels.show ? (o(), n("circle", {
|
|
969
969
|
key: 0,
|
|
970
970
|
cx: r(w)(t).x,
|
|
971
971
|
cy: r(ue)(t) - 3.5,
|
|
@@ -973,12 +973,12 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
973
973
|
stroke: e.value.style.chart.backgroundColor,
|
|
974
974
|
"stroke-width": 1,
|
|
975
975
|
r: 3,
|
|
976
|
-
filter: !e.value.useBlurOnHover || [null, void 0].includes(
|
|
977
|
-
onClick: (v) =>
|
|
976
|
+
filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${y.value})`,
|
|
977
|
+
onClick: (v) => U(t, a)
|
|
978
978
|
}, null, 8, ea)) : i("", !0)
|
|
979
979
|
], 64)) : i("", !0),
|
|
980
980
|
e.value.type === "polar" ? (o(), n(m, { key: 1 }, [
|
|
981
|
-
|
|
981
|
+
X(t) && h.value.dataLabels.show ? (o(), n("circle", {
|
|
982
982
|
key: 0,
|
|
983
983
|
cx: r(z)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
|
|
984
984
|
cy: r(z)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
|
|
@@ -986,21 +986,21 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
986
986
|
stroke: e.value.style.chart.backgroundColor,
|
|
987
987
|
"stroke-width": 1,
|
|
988
988
|
r: 3,
|
|
989
|
-
filter: !e.value.useBlurOnHover || [null, void 0].includes(
|
|
990
|
-
onClick: (v) =>
|
|
989
|
+
filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${y.value})`,
|
|
990
|
+
onClick: (v) => U(t, a)
|
|
991
991
|
}, null, 8, ta)) : i("", !0)
|
|
992
992
|
], 64)) : i("", !0),
|
|
993
993
|
e.value.type === "classic" ? (o(), n(m, { key: 2 }, [
|
|
994
|
-
|
|
994
|
+
X(t) && h.value.dataLabels.show ? (o(), n("text", {
|
|
995
995
|
key: 0,
|
|
996
996
|
"text-anchor": r(w)(t, !0, 12).anchor,
|
|
997
997
|
x: r(w)(t, !0, 12).x,
|
|
998
998
|
y: r(ue)(t),
|
|
999
999
|
fill: e.value.style.chart.layout.labels.percentage.color,
|
|
1000
1000
|
"font-size": e.value.style.chart.layout.labels.percentage.fontSize,
|
|
1001
|
-
style:
|
|
1002
|
-
onClick: (v) =>
|
|
1003
|
-
},
|
|
1001
|
+
style: _(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
|
|
1002
|
+
onClick: (v) => U(t, a)
|
|
1003
|
+
}, P(he(t, D.value)) + " " + P(e.value.style.chart.layout.labels.value.show ? `(${r(I)(
|
|
1004
1004
|
e.value.style.chart.layout.labels.value.formatter,
|
|
1005
1005
|
t.value,
|
|
1006
1006
|
r(N)({
|
|
@@ -1011,28 +1011,28 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1011
1011
|
}),
|
|
1012
1012
|
{ datapoint: t }
|
|
1013
1013
|
)})` : ""), 13, la)) : i("", !0),
|
|
1014
|
-
|
|
1014
|
+
X(t) && h.value.dataLabels.show ? (o(), n("text", {
|
|
1015
1015
|
key: 1,
|
|
1016
1016
|
"text-anchor": r(w)(t).anchor,
|
|
1017
1017
|
x: r(w)(t, !0, 12).x,
|
|
1018
1018
|
y: r(ue)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
|
|
1019
1019
|
fill: e.value.style.chart.layout.labels.name.color,
|
|
1020
1020
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
1021
|
-
style:
|
|
1022
|
-
onClick: (v) =>
|
|
1023
|
-
},
|
|
1021
|
+
style: _(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
1022
|
+
onClick: (v) => U(t, a)
|
|
1023
|
+
}, P(t.name), 13, aa)) : i("", !0)
|
|
1024
1024
|
], 64)) : i("", !0),
|
|
1025
1025
|
e.value.type === "polar" ? (o(), n(m, { key: 3 }, [
|
|
1026
|
-
|
|
1026
|
+
X(t) && h.value.dataLabels.show ? (o(), n("text", {
|
|
1027
1027
|
key: 0,
|
|
1028
1028
|
"text-anchor": J(c.value[a].middlePoint),
|
|
1029
1029
|
x: r(z)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
|
|
1030
1030
|
y: r(z)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
|
|
1031
1031
|
fill: e.value.style.chart.layout.labels.percentage.color,
|
|
1032
1032
|
"font-size": e.value.style.chart.layout.labels.percentage.fontSize,
|
|
1033
|
-
style:
|
|
1034
|
-
onClick: (v) =>
|
|
1035
|
-
},
|
|
1033
|
+
style: _(`transition: all 0.1s ease-in-out; font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
|
|
1034
|
+
onClick: (v) => U(t, a)
|
|
1035
|
+
}, P(he(t, D.value)) + " " + P(e.value.style.chart.layout.labels.value.show ? `(${r(I)(
|
|
1036
1036
|
e.value.style.chart.layout.labels.value.formatter,
|
|
1037
1037
|
t.value,
|
|
1038
1038
|
r(N)({
|
|
@@ -1043,20 +1043,20 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1043
1043
|
}),
|
|
1044
1044
|
{ datapoint: t }
|
|
1045
1045
|
)})` : ""), 13, oa)) : i("", !0),
|
|
1046
|
-
|
|
1046
|
+
X(t) && h.value.dataLabels.show ? (o(), n("text", {
|
|
1047
1047
|
key: 1,
|
|
1048
1048
|
"text-anchor": J(c.value[a].middlePoint),
|
|
1049
1049
|
x: r(z)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
|
|
1050
1050
|
y: r(z)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
|
|
1051
1051
|
fill: e.value.style.chart.layout.labels.name.color,
|
|
1052
1052
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
1053
|
-
style:
|
|
1054
|
-
onClick: (v) =>
|
|
1055
|
-
},
|
|
1053
|
+
style: _(`transition: all 0.1s ease-in-out; font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
1054
|
+
onClick: (v) => U(t, a)
|
|
1055
|
+
}, P(t.name), 13, ua)) : i("", !0)
|
|
1056
1056
|
], 64)) : i("", !0)
|
|
1057
1057
|
])),
|
|
1058
1058
|
h.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), n("g", sa, [
|
|
1059
|
-
|
|
1059
|
+
X(t) && e.value.type === "classic" ? (o(), n("foreignObject", {
|
|
1060
1060
|
key: 0,
|
|
1061
1061
|
x: e.value.style.chart.comments.offsetX + (r(w)(t, !0).anchor === "end" ? r(w)(t).x - e.value.style.chart.comments.width : r(w)(t, !0).anchor === "middle" ? r(w)(t).x - e.value.style.chart.comments.width / 2 : r(w)(t).x),
|
|
1062
1062
|
y: r(ue)(t) + 24 + e.value.style.chart.comments.offsetY,
|
|
@@ -1066,11 +1066,11 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1066
1066
|
}, [
|
|
1067
1067
|
f("div", null, [
|
|
1068
1068
|
g(l.$slots, "plot-comment", {
|
|
1069
|
-
plot: { ...t, textAlign: r(w)(t, !0, 16, !0).anchor, flexAlign: r(w)(t, !0, 16).anchor }
|
|
1069
|
+
plot: { ...t, textAlign: r(w)(t, !0, 16, !0).anchor, flexAlign: r(w)(t, !0, 16).anchor, isFirstLoad: Y.value }
|
|
1070
1070
|
}, void 0, !0)
|
|
1071
1071
|
])
|
|
1072
1072
|
], 8, na)) : i("", !0),
|
|
1073
|
-
|
|
1073
|
+
X(t) && e.value.type === "polar" ? (o(), n("foreignObject", {
|
|
1074
1074
|
key: 1,
|
|
1075
1075
|
x: e.value.style.chart.comments.offsetX + (J(c.value[a].middlePoint) === "end" ? r(z)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width : J(c.value[a].middlePoint) === "middle" ? r(z)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : r(z)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x),
|
|
1076
1076
|
y: gt(c.value[a]) + e.value.style.chart.comments.offsetY,
|
|
@@ -1080,7 +1080,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1080
1080
|
}, [
|
|
1081
1081
|
f("div", null, [
|
|
1082
1082
|
g(l.$slots, "plot-comment", {
|
|
1083
|
-
plot: { ...t, textAlign: J(c.value[a].middlePoint), flexAlign: J(c.value[a].middlePoint) }
|
|
1083
|
+
plot: { ...t, textAlign: J(c.value[a].middlePoint), flexAlign: J(c.value[a].middlePoint), isFirstLoad: Y.value }
|
|
1084
1084
|
}, void 0, !0)
|
|
1085
1085
|
])
|
|
1086
1086
|
], 8, ra)) : i("", !0)
|
|
@@ -1091,7 +1091,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1091
1091
|
l.$slots.watermark ? (o(), n("div", ia, [
|
|
1092
1092
|
g(l.$slots, "watermark", Q(Z({ isPrinting: r(Ae) || r(Oe) })), void 0, !0)
|
|
1093
1093
|
])) : i("", !0),
|
|
1094
|
-
ee.value ? i("", !0) : (o(),
|
|
1094
|
+
ee.value ? i("", !0) : (o(), E(qt, {
|
|
1095
1095
|
key: 6,
|
|
1096
1096
|
config: {
|
|
1097
1097
|
type: "donut",
|
|
@@ -1099,7 +1099,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1099
1099
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
1100
1100
|
donut: {
|
|
1101
1101
|
color: "#CCCCCC",
|
|
1102
|
-
strokeWidth:
|
|
1102
|
+
strokeWidth: q.value * 0.8
|
|
1103
1103
|
}
|
|
1104
1104
|
}
|
|
1105
1105
|
}
|
|
@@ -1108,18 +1108,18 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1108
1108
|
ref_key: "chartLegend",
|
|
1109
1109
|
ref: we
|
|
1110
1110
|
}, [
|
|
1111
|
-
e.value.style.chart.legend.show ? (o(),
|
|
1111
|
+
e.value.style.chart.legend.show ? (o(), E(Ht, {
|
|
1112
1112
|
key: `legend_${Ce.value}`,
|
|
1113
1113
|
legendSet: Be.value,
|
|
1114
1114
|
config: pt.value,
|
|
1115
1115
|
onClickMarker: u[4] || (u[4] = ({ i: t }) => Ve(t))
|
|
1116
1116
|
}, et({
|
|
1117
|
-
item:
|
|
1117
|
+
item: $(({ legend: t, index: a }) => [
|
|
1118
1118
|
f("div", {
|
|
1119
|
-
style:
|
|
1119
|
+
style: _(`opacity:${M.value.includes(a) ? 0.5 : 1}`),
|
|
1120
1120
|
onClick: (v) => t.segregate()
|
|
1121
1121
|
}, [
|
|
1122
|
-
lt(
|
|
1122
|
+
lt(P(t.name) + ": " + P(r(I)(
|
|
1123
1123
|
e.value.style.chart.layout.labels.value.formatter,
|
|
1124
1124
|
t.value,
|
|
1125
1125
|
r(N)({
|
|
@@ -1133,7 +1133,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1133
1133
|
index: a
|
|
1134
1134
|
}
|
|
1135
1135
|
)) + " ", 1),
|
|
1136
|
-
|
|
1136
|
+
M.value.includes(a) ? (o(), n("span", da, " ( " + P(wt(t.proportion * 100)) + " % ) ", 1)) : (o(), n("span", ca, " (" + P(isNaN(t.value / L.value) ? "-" : r(I)(
|
|
1137
1137
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1138
1138
|
Re.value(t),
|
|
1139
1139
|
r(N)({
|
|
@@ -1148,7 +1148,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1148
1148
|
}, [
|
|
1149
1149
|
l.$slots.pattern ? {
|
|
1150
1150
|
name: "legend-pattern",
|
|
1151
|
-
fn:
|
|
1151
|
+
fn: $(({ legend: t, index: a }) => [
|
|
1152
1152
|
ge(el, {
|
|
1153
1153
|
shape: t.shape,
|
|
1154
1154
|
radius: 30,
|
|
@@ -1186,15 +1186,15 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1186
1186
|
isCustom: le.value,
|
|
1187
1187
|
isFullscreen: K.value
|
|
1188
1188
|
}, {
|
|
1189
|
-
"tooltip-before":
|
|
1189
|
+
"tooltip-before": $(() => [
|
|
1190
1190
|
g(l.$slots, "tooltip-before", Q(Z({ ...ye.value })), void 0, !0)
|
|
1191
1191
|
]),
|
|
1192
|
-
"tooltip-after":
|
|
1192
|
+
"tooltip-after": $(() => [
|
|
1193
1193
|
g(l.$slots, "tooltip-after", Q(Z({ ...ye.value })), void 0, !0)
|
|
1194
1194
|
]),
|
|
1195
1195
|
_: 3
|
|
1196
1196
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
|
|
1197
|
-
ee.value ? (o(),
|
|
1197
|
+
ee.value ? (o(), E(Jt, {
|
|
1198
1198
|
key: 8,
|
|
1199
1199
|
hideDetails: "",
|
|
1200
1200
|
config: {
|
|
@@ -1210,8 +1210,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1210
1210
|
}
|
|
1211
1211
|
}
|
|
1212
1212
|
}, {
|
|
1213
|
-
content:
|
|
1214
|
-
(o(),
|
|
1213
|
+
content: $(() => [
|
|
1214
|
+
(o(), E(jt, {
|
|
1215
1215
|
key: `table_${$e.value}`,
|
|
1216
1216
|
colNames: re.value.colNames,
|
|
1217
1217
|
head: re.value.head,
|
|
@@ -1220,14 +1220,14 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1220
1220
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1221
1221
|
onClose: u[5] || (u[5] = (t) => h.value.showTable = !1)
|
|
1222
1222
|
}, {
|
|
1223
|
-
th:
|
|
1223
|
+
th: $(({ th: t }) => [
|
|
1224
1224
|
f("div", {
|
|
1225
1225
|
innerHTML: t,
|
|
1226
1226
|
style: { display: "flex", "align-items": "center" }
|
|
1227
1227
|
}, null, 8, ha)
|
|
1228
1228
|
]),
|
|
1229
|
-
td:
|
|
1230
|
-
lt(
|
|
1229
|
+
td: $(({ td: t }) => [
|
|
1230
|
+
lt(P(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : r(I)(
|
|
1231
1231
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1232
1232
|
t,
|
|
1233
1233
|
r(N)({
|
|
@@ -1235,7 +1235,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1235
1235
|
s: "%",
|
|
1236
1236
|
r: e.value.style.chart.layout.labels.percentage.rounding
|
|
1237
1237
|
})
|
|
1238
|
-
) : r(
|
|
1238
|
+
) : r(I)(
|
|
1239
1239
|
e.value.style.chart.layout.labels.value.formatter,
|
|
1240
1240
|
t,
|
|
1241
1241
|
r(N)({
|
|
@@ -1253,7 +1253,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], ul = ["width", "height"], sl = { k
|
|
|
1253
1253
|
}, 8, ["config"])) : i("", !0)
|
|
1254
1254
|
], 46, al));
|
|
1255
1255
|
}
|
|
1256
|
-
}, Aa = /* @__PURE__ */ ll(ya, [["__scopeId", "data-v-
|
|
1256
|
+
}, Aa = /* @__PURE__ */ ll(ya, [["__scopeId", "data-v-82683d32"]]);
|
|
1257
1257
|
export {
|
|
1258
1258
|
Aa as default
|
|
1259
1259
|
};
|