vue-data-ui 2.6.46 → 2.6.47
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-l2Rjf1KV.cjs → Arrow-CRrMt_zT.cjs} +1 -1
- package/dist/{Arrow-D4sCAfTr.js → Arrow-Dvz6Z2gU.js} +1 -1
- package/dist/{BaseIcon-Dx5FJt-N.js → BaseIcon-CEgQPz8O.js} +5 -3
- package/dist/{BaseIcon-BpdQLb-0.cjs → BaseIcon-DoqpR480.cjs} +1 -1
- package/dist/{ColorPicker-BkUHmkbg.cjs → ColorPicker-Bp_7FV2c.cjs} +1 -1
- package/dist/{ColorPicker-Ag9OY75a.js → ColorPicker-DwezDvSV.js} +3 -3
- package/dist/{DataTable-D9wdDVT6.js → DataTable-751-cN2c.js} +2 -2
- package/dist/{DataTable-B8Ui_Pd4.cjs → DataTable-D_Guh5Hf.cjs} +1 -1
- package/dist/{Legend-BCngKEVr.js → Legend-BG9fLat9.js} +2 -2
- package/dist/{Legend-BFB4DMQS.cjs → Legend-CepYsC9r.cjs} +1 -1
- package/dist/{PackageVersion-Da8iEjju.cjs → PackageVersion-D8T0gm3t.cjs} +1 -1
- package/dist/{PackageVersion-DR6SOSy8.js → PackageVersion-SrpgZayt.js} +1 -1
- package/dist/{PenAndPaper-Dpjaroq-.cjs → PenAndPaper-BJ6gGBM2.cjs} +1 -1
- package/dist/{PenAndPaper-DxsKkGjV.js → PenAndPaper-jnD991LP.js} +3 -3
- package/dist/{Shape-CcATSdDH.js → Shape-BaijOBYT.js} +1 -1
- package/dist/{Shape-DomxDqtX.cjs → Shape-og7-ULyN.cjs} +1 -1
- package/dist/{Slicer-DlCXj2P9.cjs → Slicer-B4ZDkwnQ.cjs} +1 -1
- package/dist/{Slicer-Bw4VblBK.js → Slicer-COHzItjq.js} +3 -3
- package/dist/{Title-CFmNnjPN.cjs → Title-BUnn57ZR.cjs} +1 -1
- package/dist/{Title-Dr0O3Ohb.js → Title-DMhhB9yN.js} +1 -1
- package/dist/{Tooltip-C8mLFDBp.js → Tooltip-BaPecnnV.js} +1 -1
- package/dist/{Tooltip-UBWsyt1M.cjs → Tooltip-DJtOxx2P.cjs} +1 -1
- package/dist/index-DEbhC0cM.cjs +9 -0
- package/dist/{index-BdV23M_4.js → index-KdQpiTkm.js} +3 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-DyW-iWus.js → useNestedProp-CO8Pe266.js} +1 -1
- package/dist/{useNestedProp-BIeXIQxH.cjs → useNestedProp-COYn8tA0.cjs} +1 -1
- package/dist/{usePrinter-TFomTfxX.js → usePrinter-BuiF8wZK.js} +1 -1
- package/dist/{usePrinter-BUMwWyWM.cjs → usePrinter-DRmOwFc2.cjs} +1 -1
- package/dist/useResponsive-Cw4oZ8sQ.js +192 -0
- package/dist/useResponsive-DQmBAoBf.cjs +1 -0
- package/dist/{vue-data-ui-Cal0DvqU.js → vue-data-ui-3jkYjNO_.js} +61 -61
- package/dist/{vue-data-ui-DBoVETZN.cjs → vue-data-ui-BbpJaKj_.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-DUMfvSbU.js → vue-ui-3d-bar-Bda7eCM_.js} +9 -9
- package/dist/{vue-ui-3d-bar-GTKfWFni.cjs → vue-ui-3d-bar-D7_7INdZ.cjs} +1 -1
- package/dist/{vue-ui-accordion-2_hSAOvX.js → vue-ui-accordion-CDTJiQu0.js} +3 -3
- package/dist/{vue-ui-accordion-BIBhKMbJ.cjs → vue-ui-accordion-ChxVn9CH.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DotN5JY1.cjs → vue-ui-age-pyramid-C-5yJnWs.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-C0UfrmeD.js → vue-ui-age-pyramid-C4FUVgL1.js} +11 -11
- package/dist/{vue-ui-annotator-C-9pwUrR.js → vue-ui-annotator-pYtolxGn.js} +1 -1
- package/dist/{vue-ui-annotator-C0V4kD4I.cjs → vue-ui-annotator-yLvZcOQb.cjs} +1 -1
- package/dist/{vue-ui-bullet-Ct39TnfH.cjs → vue-ui-bullet-BVmbUAYh.cjs} +1 -1
- package/dist/{vue-ui-bullet-6vftOeqJ.js → vue-ui-bullet-oEZK6DxU.js} +8 -8
- package/dist/{vue-ui-candlestick-Cxpk32bR.cjs → vue-ui-candlestick-CVM-Yvvm.cjs} +1 -1
- package/dist/{vue-ui-candlestick-IxSh2gnY.js → vue-ui-candlestick-Cm0ipv0t.js} +12 -12
- package/dist/{vue-ui-carousel-table-BinpEAPd.cjs → vue-ui-carousel-table-BGPWwg3x.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DreHo_wE.js → vue-ui-carousel-table-PcE7YCyE.js} +4 -4
- package/dist/{vue-ui-chestnut-CpYTb1wd.cjs → vue-ui-chestnut-CeYVXtyW.cjs} +1 -1
- package/dist/{vue-ui-chestnut-3saDHpZ-.js → vue-ui-chestnut-Ob9Rt-3r.js} +8 -8
- package/dist/{vue-ui-circle-pack-BechgWzd.js → vue-ui-circle-pack-BF0PBuDU.js} +10 -10
- package/dist/{vue-ui-circle-pack-BfskRpSw.cjs → vue-ui-circle-pack-pbnF0Jb7.cjs} +1 -1
- package/dist/{vue-ui-cursor-CRMGfBFa.cjs → vue-ui-cursor-DE4hlTca.cjs} +1 -1
- package/dist/{vue-ui-cursor-BEuJm8Mb.js → vue-ui-cursor-Drnazkqg.js} +2 -2
- package/dist/{vue-ui-dashboard-TQto_FFI.cjs → vue-ui-dashboard-D3-z2poA.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DSrb1InR.js → vue-ui-dashboard-j5IuBHiv.js} +2 -2
- package/dist/{vue-ui-digits-BeoOy04C.js → vue-ui-digits-BRMuUzSA.js} +2 -2
- package/dist/{vue-ui-digits-BRPGEv7S.cjs → vue-ui-digits-CD5-WopZ.cjs} +1 -1
- package/dist/{vue-ui-donut-BWQ3vgjP.js → vue-ui-donut-CdVSree_.js} +229 -219
- package/dist/vue-ui-donut-Dq1F2vBg.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DOXHsGwg.cjs → vue-ui-donut-evolution-BQ7-rOnh.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DQIaWcso.js → vue-ui-donut-evolution-DzrJwccW.js} +11 -11
- package/dist/{vue-ui-dumbbell--mlgQyZ7.cjs → vue-ui-dumbbell-DSdwbWLI.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-BAA0L5kU.js → vue-ui-dumbbell-DuCdZc41.js} +11 -11
- package/dist/{vue-ui-flow-CbIxR8qu.js → vue-ui-flow-CYpiRQ_u.js} +9 -9
- package/dist/{vue-ui-flow-zigj6Xbo.cjs → vue-ui-flow-D_UgsB9t.cjs} +1 -1
- package/dist/{vue-ui-funnel-C1CjZHuh.js → vue-ui-funnel-6q79enxr.js} +10 -10
- package/dist/{vue-ui-funnel-Cs-Kjiev.cjs → vue-ui-funnel-Dr4ssgIM.cjs} +1 -1
- package/dist/{vue-ui-galaxy-CWI4H3RW.cjs → vue-ui-galaxy-BGxIGzn8.cjs} +1 -1
- package/dist/{vue-ui-galaxy-G9AFzo0J.js → vue-ui-galaxy-Bg-3xnWe.js} +11 -11
- package/dist/{vue-ui-gauge-hDpxwLu6.js → vue-ui-gauge-Cwhlraja.js} +8 -8
- package/dist/{vue-ui-gauge-CsyLGIqh.cjs → vue-ui-gauge-DGt25KK7.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BIcmHlyo.cjs → vue-ui-gizmo-C0024J7B.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Bc-DWND7.js → vue-ui-gizmo-VRONxCxp.js} +3 -3
- package/dist/{vue-ui-heatmap-DZ9xsMHI.cjs → vue-ui-heatmap-CTwazjkR.cjs} +1 -1
- package/dist/{vue-ui-heatmap-8p4PejGU.js → vue-ui-heatmap-ay3NAawN.js} +10 -10
- package/dist/{vue-ui-history-plot-W2UVpzIY.js → vue-ui-history-plot-BQ_2NZVm.js} +12 -12
- package/dist/{vue-ui-history-plot-DiTEY9hR.cjs → vue-ui-history-plot-B_IHuJff.cjs} +1 -1
- package/dist/{vue-ui-kpi-DFFosWUi.js → vue-ui-kpi-BGSgE7Ck.js} +3 -3
- package/dist/{vue-ui-kpi-BXQ6gSky.cjs → vue-ui-kpi-BtHmGmj6.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C8hmEB9w.cjs → vue-ui-mini-loader-Bwe3_hqy.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C2uhjtCz.js → vue-ui-mini-loader-DyRqUv0j.js} +2 -2
- package/dist/{vue-ui-molecule-CXIE8hWW.cjs → vue-ui-molecule-Cy_P0hK2.cjs} +1 -1
- package/dist/{vue-ui-molecule-B1pxOA3p.js → vue-ui-molecule-gJVbPM60.js} +10 -10
- package/dist/{vue-ui-mood-radar-BuLuDh5y.cjs → vue-ui-mood-radar-BxFd74g3.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-B-bELxUM.js → vue-ui-mood-radar-DAYJLwXw.js} +11 -11
- package/dist/vue-ui-nested-donuts-DP_cQ0OI.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-C4isJwag.js → vue-ui-nested-donuts-r67jsUHC.js} +221 -211
- package/dist/{vue-ui-onion-BNPFlq-G.js → vue-ui-onion-C-d1e3w2.js} +12 -12
- package/dist/{vue-ui-onion-nbqNRCyk.cjs → vue-ui-onion-CR4UoiPQ.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-C9FIQC4s.cjs → vue-ui-parallel-coordinate-plot-DVltec37.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DFHwTxhN.js → vue-ui-parallel-coordinate-plot-FRhJ4mby.js} +13 -13
- package/dist/{vue-ui-quadrant-C4NULaSL.js → vue-ui-quadrant-BKWD8HER.js} +13 -13
- package/dist/{vue-ui-quadrant-CEyZ6gCX.cjs → vue-ui-quadrant-D-vSAn7m.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-B7PqLKWn.cjs → vue-ui-quick-chart-Bbcex3jc.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-m9kWUtKc.js → vue-ui-quick-chart-Cy3FCnd-.js} +10 -10
- package/dist/{vue-ui-radar-DHH8CDle.cjs → vue-ui-radar-BHCghGVU.cjs} +1 -1
- package/dist/{vue-ui-radar-CKb7rcO0.js → vue-ui-radar-BX_7Ngn_.js} +13 -13
- package/dist/{vue-ui-rating-BowDISAW.js → vue-ui-rating-CM6YiPW3.js} +2 -2
- package/dist/{vue-ui-rating-nYq9NVf8.cjs → vue-ui-rating-JhzvmHjC.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CXa8v5cY.cjs → vue-ui-relation-circle-BPhcc_fN.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CtaNRzML.js → vue-ui-relation-circle-JTWFex69.js} +8 -8
- package/dist/{vue-ui-rings-CRgcPBhj.cjs → vue-ui-rings-CzXIKikH.cjs} +1 -1
- package/dist/{vue-ui-rings-DaydpH_W.js → vue-ui-rings-NBAca-G8.js} +13 -13
- package/dist/{vue-ui-scatter-Bx16gq37.js → vue-ui-scatter-5SJ4F605.js} +13 -13
- package/dist/{vue-ui-scatter-CH8b47_g.cjs → vue-ui-scatter-DCunyG-E.cjs} +1 -1
- package/dist/{vue-ui-screenshot-j_ruTkOe.js → vue-ui-screenshot-DPm6Bpiq.js} +1 -1
- package/dist/{vue-ui-screenshot-BOqEw_Ty.cjs → vue-ui-screenshot-q3DSJ00h.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CVnkLuNk.js → vue-ui-skeleton-BhHXiz99.js} +3 -3
- package/dist/{vue-ui-skeleton-CX4m8kLi.cjs → vue-ui-skeleton-D7S6OsSN.cjs} +1 -1
- package/dist/{vue-ui-smiley-DOcs96EG.cjs → vue-ui-smiley-CQE1dvvV.cjs} +1 -1
- package/dist/{vue-ui-smiley-DGfBC_1p.js → vue-ui-smiley-Cb8d713r.js} +2 -2
- package/dist/{vue-ui-spark-trend-Cx5_BczW.cjs → vue-ui-spark-trend-7Bo9O1fQ.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BjNjO7Al.js → vue-ui-spark-trend-BVNEGhp9.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bj9M7Klo.js → vue-ui-sparkbar-BbOu_w63.js} +4 -4
- package/dist/{vue-ui-sparkbar-CzRw1-5c.cjs → vue-ui-sparkbar-qAaHy4or.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-mx5x8jhB.js → vue-ui-sparkgauge-BwNM15jl.js} +4 -4
- package/dist/{vue-ui-sparkgauge-iMqket_H.cjs → vue-ui-sparkgauge-ddRVuzSQ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-w4t8R3kU.cjs → vue-ui-sparkhistogram-C8E73uuw.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-knnJtMmd.js → vue-ui-sparkhistogram-DhJ72P8O.js} +5 -5
- package/dist/{vue-ui-sparkline-BgGreU8G.cjs → vue-ui-sparkline-C6wkmXa0.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C4xJULc3.js → vue-ui-sparkline-m3nNPKwo.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-DKozbgvk.js → vue-ui-sparkstackbar-B71Vue4E.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-oCiVPgqg.cjs → vue-ui-sparkstackbar-CJyCwn7x.cjs} +1 -1
- package/dist/{vue-ui-stackbar-Bomp_wIS.cjs → vue-ui-stackbar-6W0SjyLd.cjs} +1 -1
- package/dist/{vue-ui-stackbar-avxRfDtE.js → vue-ui-stackbar-CL7KXBrn.js} +14 -14
- package/dist/{vue-ui-strip-plot-7k2wQR85.cjs → vue-ui-strip-plot-D10qNzJu.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CdLa8dCp.js → vue-ui-strip-plot-T99zioSX.js} +12 -12
- package/dist/{vue-ui-table-C0a-SgcX.js → vue-ui-table-CCrE_Qnd.js} +1 -1
- package/dist/{vue-ui-table-CE-PgrMl.cjs → vue-ui-table-Cva4CGRJ.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BoI6tise.js → vue-ui-table-heatmap-CQbPKFW_.js} +4 -4
- package/dist/{vue-ui-table-heatmap-ycSv15rY.cjs → vue-ui-table-heatmap-GOsIhgPo.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-idKvXcFK.cjs → vue-ui-table-sparkline-AIunqOTn.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Dxx6025N.js → vue-ui-table-sparkline-CHtZhhn6.js} +5 -5
- package/dist/{vue-ui-thermometer-Cx0BYvoa.js → vue-ui-thermometer-CCVPdXye.js} +7 -7
- package/dist/{vue-ui-thermometer-Bu1o-YxS.cjs → vue-ui-thermometer-CGAA0bAU.cjs} +1 -1
- package/dist/{vue-ui-timer-D_UKwqRG.cjs → vue-ui-timer-C3detaHT.cjs} +1 -1
- package/dist/{vue-ui-timer-DkGY_7Z9.js → vue-ui-timer-Djxb8XuU.js} +6 -6
- package/dist/{vue-ui-tiremarks-DTm_Xj8_.cjs → vue-ui-tiremarks-D-xQKhur.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CL8yqBs3.js → vue-ui-tiremarks-DExuaGwV.js} +7 -7
- package/dist/{vue-ui-treemap-rohF9UGD.cjs → vue-ui-treemap-BXWbdL3o.cjs} +1 -1
- package/dist/{vue-ui-treemap-WcZTaeP0.js → vue-ui-treemap-Dnn29Qdu.js} +13 -13
- package/dist/{vue-ui-vertical-bar-EJofGF6Z.cjs → vue-ui-vertical-bar-3V-J4-Qp.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Czmk3lor.js → vue-ui-vertical-bar-B9-cwCz2.js} +13 -13
- package/dist/{vue-ui-waffle-Ci5lps_0.js → vue-ui-waffle-BH4NkBmK.js} +13 -13
- package/dist/{vue-ui-waffle-C7Lq9EWX.cjs → vue-ui-waffle-by6o3KnD.cjs} +1 -1
- package/dist/{vue-ui-wheel-DWSgTz2U.js → vue-ui-wheel-D2BqDvNB.js} +8 -8
- package/dist/{vue-ui-wheel-DSUUCTFP.cjs → vue-ui-wheel-DWNHihoO.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-IoOiZMCJ.js → vue-ui-word-cloud-Bpyn_t-K.js} +11 -11
- package/dist/{vue-ui-word-cloud-pp9BsZMx.cjs → vue-ui-word-cloud-DvXgJCIv.cjs} +1 -1
- package/dist/{vue-ui-xy-Bk09XvD1.js → vue-ui-xy-CuLfvdAU.js} +14 -14
- package/dist/{vue-ui-xy-canvas-BEWBX2Os.js → vue-ui-xy-canvas-BK3C3PqR.js} +13 -13
- package/dist/{vue-ui-xy-canvas-hUlid7hP.cjs → vue-ui-xy-canvas-bysKB96p.cjs} +1 -1
- package/dist/{vue-ui-xy-e1xFpXmD.cjs → vue-ui-xy-luOYkYWO.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-FtxQWcA1.cjs +0 -9
- package/dist/useResponsive-N8jl0-aC.cjs +0 -1
- package/dist/useResponsive-vZgZwV-S.js +0 -191
- package/dist/vue-ui-donut-Dam0YSMu.cjs +0 -1
- package/dist/vue-ui-nested-donuts-C4vK7cf-.cjs +0 -17
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { useSlots as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
import { u as
|
|
17
|
-
import { _ as
|
|
18
|
-
const
|
|
1
|
+
import { useSlots as ct, computed as w, ref as d, onMounted as dt, onBeforeUnmount as ht, watch as je, createElementBlock as u, openBlock as o, unref as n, normalizeStyle as z, normalizeClass as de, createBlock as R, createCommentVNode as i, renderSlot as g, createElementVNode as p, createVNode as he, createSlots as We, withCtx as x, normalizeProps as H, guardReactiveProps as E, Fragment as b, renderList as F, mergeProps as He, toDisplayString as C, createTextVNode as Ee, nextTick as yt } from "vue";
|
|
2
|
+
import { u as ft, o as pt, e as qe, g as gt, c as bt, b as mt, d as Je, p as U, m as wt, H as kt, f as O, X as _t, s as Z, w as xt, j as $t, I as L, i as A, k as ee, n as k, t as Ct, a as Pt, q as St, r as Ft, x as Lt } from "./index-KdQpiTkm.js";
|
|
3
|
+
import { t as Tt, u as zt } from "./useResponsive-Cw4oZ8sQ.js";
|
|
4
|
+
import { _ as Ot } from "./Title-DMhhB9yN.js";
|
|
5
|
+
import { u as Yt, U as At } from "./usePrinter-BuiF8wZK.js";
|
|
6
|
+
import { D as Nt } from "./DataTable-751-cN2c.js";
|
|
7
|
+
import { _ as Xt } from "./Tooltip-BaPecnnV.js";
|
|
8
|
+
import { L as It } from "./Legend-BG9fLat9.js";
|
|
9
|
+
import Dt from "./vue-ui-skeleton-BhHXiz99.js";
|
|
10
|
+
import Mt from "./vue-ui-accordion-CDTJiQu0.js";
|
|
11
|
+
import { u as Ke } from "./useNestedProp-CO8Pe266.js";
|
|
12
|
+
import { _ as Bt } from "./PackageVersion-SrpgZayt.js";
|
|
13
|
+
import { P as Vt } from "./PenAndPaper-jnD991LP.js";
|
|
14
|
+
import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as Rt } from "./Shape-BaijOBYT.js";
|
|
16
|
+
import { u as Ut } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
+
import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
const Wt = ["id"], Ht = ["xmlns", "viewBox"], Et = ["width", "height"], qt = { key: 1 }, Jt = ["id"], Kt = ["stop-color"], Qt = ["offset", "stop-color"], Zt = ["offset", "stop-color"], el = ["stop-color"], tl = { key: 2 }, ll = ["id", "cx", "cy"], al = ["stop-color", "stop-opacity"], ol = ["stop-color"], ul = ["id"], sl = ["id"], nl = ["id"], rl = ["flood-color"], il = ["id"], vl = ["flood-color"], cl = ["d", "stroke", "filter"], dl = ["x1", "y1", "x2", "y2", "stroke", "filter"], hl = ["cx", "cy", "r", "fill", "filter"], yl = { key: 6 }, fl = ["stroke", "d"], pl = { key: 0 }, gl = ["d", "fill", "stroke", "stroke-width", "filter"], bl = ["d", "fill", "stroke", "stroke-width", "filter"], ml = { key: 0 }, wl = ["stroke", "d"], kl = { key: 0 }, _l = ["d", "stroke", "stroke-width", "filter"], xl = { key: 1 }, $l = ["d", "fill", "stroke", "stroke-width", "filter"], Cl = ["d", "fill", "stroke", "stroke-width", "filter"], Pl = { key: 1 }, Sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Fl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ll = ["cx", "cy", "r", "stroke"], Tl = ["cx", "cy", "r", "fill"], zl = { key: 0 }, Ol = ["d", "fill", "onMouseenter", "onClick"], Yl = { key: 1 }, Al = ["cx", "cy", "r", "fill"], Nl = ["x", "y", "fill", "font-size"], Xl = ["x", "y", "fill", "font-size"], Il = ["x", "y", "fill", "font-size"], Dl = ["x", "y", "fill", "font-size"], Ml = ["filter"], Bl = { key: 0 }, Vl = ["x", "y"], Gl = { key: 1 }, Rl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ul = ["cx", "cy", "fill", "stroke", "filter", "onClick"], jl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Wl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Hl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], El = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ql = { key: 2 }, Jl = ["x", "y", "width"], Kl = ["x", "y", "width"], Ql = {
|
|
19
19
|
key: 5,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
21
|
+
}, Zl = ["onClick"], ea = {
|
|
22
22
|
key: 0,
|
|
23
23
|
style: { "font-variant-numeric": "tabular-nums" }
|
|
24
|
-
},
|
|
24
|
+
}, ta = { key: 1 }, la = ["innerHTML"], aa = {
|
|
25
25
|
__name: "vue-ui-donut",
|
|
26
26
|
props: {
|
|
27
27
|
config: {
|
|
@@ -38,8 +38,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
emits: ["selectLegend", "selectDatapoint"],
|
|
41
|
-
setup(
|
|
42
|
-
const { vue_ui_donut:
|
|
41
|
+
setup(Qe, { expose: Ze, emit: et }) {
|
|
42
|
+
const { vue_ui_donut: tt } = ft(), lt = ct(), N = Qe, q = w({
|
|
43
43
|
get() {
|
|
44
44
|
return !!N.dataset && N.dataset.length;
|
|
45
45
|
},
|
|
@@ -47,21 +47,21 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
47
47
|
return l;
|
|
48
48
|
}
|
|
49
49
|
}), J = d(null), ye = d(null), fe = d(null), te = d(null), pe = d(null), ge = d(null), be = d(0), me = d(0), we = d(0);
|
|
50
|
-
|
|
50
|
+
dt(() => {
|
|
51
51
|
ke();
|
|
52
|
-
}),
|
|
52
|
+
}), ht(() => {
|
|
53
53
|
te.value && te.value.disconnect();
|
|
54
54
|
});
|
|
55
55
|
function ke() {
|
|
56
|
-
if (
|
|
56
|
+
if (pt(N.dataset) ? qe({
|
|
57
57
|
componentName: "VueUiDonut",
|
|
58
58
|
type: "dataset"
|
|
59
59
|
}) : N.dataset.forEach((l, r) => {
|
|
60
|
-
|
|
60
|
+
gt({
|
|
61
61
|
datasetObject: l,
|
|
62
62
|
requiredAttributes: ["name", "values"]
|
|
63
63
|
}).forEach((t) => {
|
|
64
|
-
q.value = !1,
|
|
64
|
+
q.value = !1, qe({
|
|
65
65
|
componentName: "VueUiDonut",
|
|
66
66
|
type: "datasetSerieAttribute",
|
|
67
67
|
property: t,
|
|
@@ -69,13 +69,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
71
|
}), e.value.responsive) {
|
|
72
|
-
const l =
|
|
73
|
-
const { width: r, height: t } =
|
|
72
|
+
const l = Tt(() => {
|
|
73
|
+
const { width: r, height: t } = zt({
|
|
74
74
|
chart: J.value,
|
|
75
75
|
title: e.value.style.chart.title.text ? ye.value : null,
|
|
76
76
|
legend: e.value.style.chart.legend.show ? fe.value : null,
|
|
77
77
|
source: pe.value,
|
|
78
|
-
noTitle: ge.value
|
|
78
|
+
noTitle: ge.value,
|
|
79
|
+
padding: Pe.value
|
|
79
80
|
});
|
|
80
81
|
requestAnimationFrame(() => {
|
|
81
82
|
s.value.width = r, s.value.height = t;
|
|
@@ -84,32 +85,41 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
84
85
|
te.value = new ResizeObserver(l), te.value.observe(J.value.parentNode);
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
|
-
const y = d(
|
|
88
|
+
const y = d(bt()), at = d(null), le = d(!1), ue = d(""), P = d(null), _e = d(0);
|
|
88
89
|
function xe() {
|
|
89
|
-
const l =
|
|
90
|
+
const l = Ke({
|
|
90
91
|
userConfig: N.config,
|
|
91
|
-
defaultConfig:
|
|
92
|
+
defaultConfig: tt
|
|
92
93
|
});
|
|
93
94
|
return l.theme ? {
|
|
94
|
-
...
|
|
95
|
-
userConfig:
|
|
95
|
+
...Ke({
|
|
96
|
+
userConfig: Pt.vue_ui_donut[l.theme] || N.config,
|
|
96
97
|
defaultConfig: l
|
|
97
98
|
}),
|
|
98
|
-
customPalette:
|
|
99
|
+
customPalette: Ct[l.theme] || U
|
|
99
100
|
} : l;
|
|
100
101
|
}
|
|
101
|
-
const e =
|
|
102
|
+
const e = w({
|
|
102
103
|
get: () => xe(),
|
|
103
104
|
set: (l) => l
|
|
104
|
-
}), { userOptionsVisible: se, setUserOptionsVisibility: $e, keepUserOptionState: Ce } =
|
|
105
|
-
|
|
105
|
+
}), { userOptionsVisible: se, setUserOptionsVisibility: $e, keepUserOptionState: Ce } = Gt({ config: e.value }), { svgRef: ne } = Ut({ config: e.value.style.chart.title });
|
|
106
|
+
je(() => N.config, (l) => {
|
|
106
107
|
e.value = xe(), se.value = !e.value.userOptions.showOnChartHover, ke(), be.value += 1, me.value += 1, we.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
107
108
|
}, { deep: !0 });
|
|
108
|
-
const
|
|
109
|
+
const Pe = w(() => {
|
|
110
|
+
const { top: l, right: r, bottom: t, left: a } = e.value.style.chart.padding;
|
|
111
|
+
return {
|
|
112
|
+
css: `padding:${l}px ${r}px ${t}px ${a}px`,
|
|
113
|
+
top: l,
|
|
114
|
+
right: r,
|
|
115
|
+
bottom: t,
|
|
116
|
+
left: a
|
|
117
|
+
};
|
|
118
|
+
}), { isPrinting: Se, isImaging: Fe, generatePdf: Le, generateImage: Te } = Yt({
|
|
109
119
|
elementId: `donut__${y.value}`,
|
|
110
120
|
fileName: e.value.style.chart.title.text || "vue-ui-donut",
|
|
111
121
|
options: e.value.userOptions.print
|
|
112
|
-
}),
|
|
122
|
+
}), ot = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), ze = w(() => mt(e.value.customPalette)), f = d({
|
|
113
123
|
dataLabels: {
|
|
114
124
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
115
125
|
},
|
|
@@ -118,61 +128,61 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
118
128
|
}), s = d({
|
|
119
129
|
height: 360,
|
|
120
130
|
width: 512
|
|
121
|
-
}), K =
|
|
131
|
+
}), K = w(() => {
|
|
122
132
|
const l = e.value.style.chart.layout.donut.strokeWidth / 512, r = Math.min(s.value.width, s.value.height) * l, t = r > $.value ? $.value : r;
|
|
123
133
|
return Math.max(t, 3);
|
|
124
|
-
}),
|
|
134
|
+
}), Oe = et, B = w(() => N.dataset.map((l, r) => ({
|
|
125
135
|
name: l.name,
|
|
126
|
-
color:
|
|
136
|
+
color: Je(l.color) || ze.value[r] || U[r] || U[r % U.length],
|
|
127
137
|
value: l.values.reduce((t, a) => t + a, 0),
|
|
128
138
|
absoluteValues: l.values,
|
|
129
139
|
comment: l.comment || "",
|
|
130
140
|
patternIndex: r
|
|
131
141
|
}))), T = d(B.value);
|
|
132
|
-
|
|
133
|
-
function
|
|
142
|
+
je(() => B.value, (l) => T.value = l);
|
|
143
|
+
function ut() {
|
|
134
144
|
return B.value.map((l) => ({
|
|
135
145
|
name: l.name,
|
|
136
146
|
color: l.color,
|
|
137
147
|
value: l.value
|
|
138
148
|
}));
|
|
139
149
|
}
|
|
140
|
-
const X = d([]),
|
|
141
|
-
function
|
|
150
|
+
const X = d([]), Ye = d(null), Ae = d(null), V = d(!1);
|
|
151
|
+
function Ne(l) {
|
|
142
152
|
const r = B.value.find((v, m) => m === l), t = T.value.find((v, m) => m === l);
|
|
143
153
|
let a = t.value;
|
|
144
154
|
if (X.value.includes(l)) {
|
|
145
155
|
let m = function() {
|
|
146
|
-
a > v ? (cancelAnimationFrame(
|
|
147
|
-
...
|
|
156
|
+
a > v ? (cancelAnimationFrame(Ye.value), T.value = T.value.map((_, ce) => l === ce ? {
|
|
157
|
+
..._,
|
|
148
158
|
value: v
|
|
149
|
-
} :
|
|
150
|
-
...
|
|
159
|
+
} : _), V.value = !1) : (V.value = !0, a += v * 0.025, T.value = T.value.map((_, ce) => l === ce ? {
|
|
160
|
+
..._,
|
|
151
161
|
value: a
|
|
152
|
-
} :
|
|
162
|
+
} : _), Ye.value = requestAnimationFrame(m));
|
|
153
163
|
};
|
|
154
|
-
X.value = X.value.filter((
|
|
164
|
+
X.value = X.value.filter((_) => _ !== l);
|
|
155
165
|
const v = r.value;
|
|
156
166
|
m();
|
|
157
167
|
} else if (X.value.length < B.value.length - 1) {
|
|
158
168
|
let v = function() {
|
|
159
|
-
a < t.value / 100 ? (cancelAnimationFrame(
|
|
169
|
+
a < t.value / 100 ? (cancelAnimationFrame(Ae.value), X.value.push(l), T.value = T.value.map((m, _) => l === _ ? {
|
|
160
170
|
...m,
|
|
161
171
|
value: 0
|
|
162
|
-
} : m), V.value = !1) : (V.value = !0, a /= 1.1, T.value = T.value.map((m,
|
|
172
|
+
} : m), V.value = !1) : (V.value = !0, a /= 1.1, T.value = T.value.map((m, _) => l === _ ? {
|
|
163
173
|
...m,
|
|
164
174
|
value: a
|
|
165
|
-
} : m),
|
|
175
|
+
} : m), Ae.value = requestAnimationFrame(v));
|
|
166
176
|
};
|
|
167
177
|
v();
|
|
168
178
|
}
|
|
169
|
-
|
|
179
|
+
Oe("selectLegend", I.value.map((v) => ({
|
|
170
180
|
name: v.name,
|
|
171
181
|
color: v.color,
|
|
172
182
|
value: v.value
|
|
173
183
|
})));
|
|
174
184
|
}
|
|
175
|
-
const I =
|
|
185
|
+
const I = w(() => (T.value.forEach((l, r) => {
|
|
176
186
|
if ([null, void 0].includes(l.values))
|
|
177
187
|
return {
|
|
178
188
|
...l,
|
|
@@ -181,9 +191,9 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
181
191
|
}), T.value.map((l, r) => ({
|
|
182
192
|
...l,
|
|
183
193
|
seriesIndex: r
|
|
184
|
-
})).filter((l, r) => !X.value.includes(r)))),
|
|
194
|
+
})).filter((l, r) => !X.value.includes(r)))), Xe = w(() => N.dataset.map((l, r) => ({
|
|
185
195
|
name: l.name,
|
|
186
|
-
color:
|
|
196
|
+
color: Je(l.color) || ze.value[r] || U[r] || U[r % U.length],
|
|
187
197
|
value: (l.values || []).reduce((t, a) => t + a, 0),
|
|
188
198
|
shape: "circle",
|
|
189
199
|
patternIndex: r
|
|
@@ -191,21 +201,21 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
191
201
|
...l,
|
|
192
202
|
proportion: l.value / N.dataset.map((t) => (t.values || []).reduce((a, v) => a + v, 0)).reduce((t, a) => t + a, 0),
|
|
193
203
|
opacity: X.value.includes(r) ? 0.5 : 1,
|
|
194
|
-
segregate: () => !V.value &&
|
|
204
|
+
segregate: () => !V.value && Ne(r),
|
|
195
205
|
isSegregated: X.value.includes(r)
|
|
196
|
-
}))),
|
|
206
|
+
}))), st = w(() => ({
|
|
197
207
|
cy: "donut-div-legend",
|
|
198
208
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
199
209
|
color: e.value.style.chart.legend.color,
|
|
200
210
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
201
211
|
paddingBottom: 12,
|
|
202
212
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
203
|
-
})), $ =
|
|
213
|
+
})), $ = w(() => {
|
|
204
214
|
const l = Math.min(s.value.width / 3, s.value.height / 3);
|
|
205
215
|
return l < 55 ? 55 : l;
|
|
206
|
-
}), h =
|
|
216
|
+
}), h = w(() => wt({ series: I.value }, s.value.width / 2, s.value.height / 2, $.value, $.value, 1.99999, 2, 1, 360, 105.25, K.value)), c = w(() => {
|
|
207
217
|
const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
|
|
208
|
-
return
|
|
218
|
+
return kt({
|
|
209
219
|
series: r,
|
|
210
220
|
center: {
|
|
211
221
|
x: s.value.width / 2,
|
|
@@ -217,14 +227,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
217
227
|
function j(l) {
|
|
218
228
|
return l.x > s.value.width / 2 + 6 ? "start" : l.x < s.value.width / 2 - 6 ? "end" : "middle";
|
|
219
229
|
}
|
|
220
|
-
function
|
|
230
|
+
function nt(l) {
|
|
221
231
|
return l.middlePoint.y > s.value.height / 2 ? L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y : L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y - 100;
|
|
222
232
|
}
|
|
223
233
|
function Y(l) {
|
|
224
234
|
return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
225
235
|
}
|
|
226
236
|
function re(l, r) {
|
|
227
|
-
const t = l.value /
|
|
237
|
+
const t = l.value / rt(r);
|
|
228
238
|
return isNaN(t) ? 0 : A(
|
|
229
239
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
230
240
|
t * 100,
|
|
@@ -236,28 +246,28 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
236
246
|
{ datapoint: l }
|
|
237
247
|
);
|
|
238
248
|
}
|
|
239
|
-
function
|
|
249
|
+
function rt(l) {
|
|
240
250
|
return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
|
|
241
251
|
}
|
|
242
|
-
const S =
|
|
243
|
-
function
|
|
252
|
+
const S = w(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Ie = w(() => S.value / I.value.length), De = w(() => (l) => V.value ? l.proportion * 100 : l.value / S.value * 100), ie = d(null), Q = d(!1);
|
|
253
|
+
function Me({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
|
|
244
254
|
ie.value = { datapoint: l, seriesIndex: t, config: e.value, series: B.value }, le.value = a, P.value = r;
|
|
245
255
|
let v = "";
|
|
246
256
|
const m = e.value.style.chart.tooltip.customFormat;
|
|
247
|
-
if (Q.value = !1,
|
|
257
|
+
if (Q.value = !1, Lt(m))
|
|
248
258
|
try {
|
|
249
|
-
const
|
|
259
|
+
const _ = m({
|
|
250
260
|
seriesIndex: t,
|
|
251
261
|
datapoint: l,
|
|
252
262
|
series: B.value,
|
|
253
263
|
config: e.value
|
|
254
264
|
});
|
|
255
|
-
typeof
|
|
265
|
+
typeof _ == "string" && (ue.value = _, Q.value = !0);
|
|
256
266
|
} catch {
|
|
257
267
|
console.warn("Custom format cannot be applied."), Q.value = !1;
|
|
258
268
|
}
|
|
259
269
|
if (!Q.value) {
|
|
260
|
-
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}"/>${
|
|
270
|
+
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}"/>${lt.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>${A(
|
|
261
271
|
e.value.style.chart.layout.labels.value.formatter,
|
|
262
272
|
l.value,
|
|
263
273
|
O({
|
|
@@ -272,7 +282,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
272
282
|
seriesIndex: t
|
|
273
283
|
}
|
|
274
284
|
)}</b>`), e.value.style.chart.tooltip.showPercentage) {
|
|
275
|
-
const
|
|
285
|
+
const _ = A(
|
|
276
286
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
277
287
|
l.proportion * 100,
|
|
278
288
|
O({
|
|
@@ -286,7 +296,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
286
296
|
seriesIndex: t
|
|
287
297
|
}
|
|
288
298
|
);
|
|
289
|
-
e.value.style.chart.tooltip.showValue ? v += `<span>(${
|
|
299
|
+
e.value.style.chart.tooltip.showValue ? v += `<span>(${_})</span></div>` : v += `<b>${_}</b></div>`;
|
|
290
300
|
}
|
|
291
301
|
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>`), ue.value = `<div>${v}</div>`;
|
|
292
302
|
}
|
|
@@ -294,22 +304,22 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
294
304
|
function G(l) {
|
|
295
305
|
return e.value.useBlurOnHover && ![null, void 0].includes(P.value) && P.value !== l ? `url(#blur_${y.value})` : "";
|
|
296
306
|
}
|
|
297
|
-
const D =
|
|
307
|
+
const D = w(() => {
|
|
298
308
|
const l = I.value.map((t) => ({
|
|
299
309
|
name: t.name,
|
|
300
310
|
color: t.color
|
|
301
311
|
})), r = I.value.map((t) => t.value);
|
|
302
312
|
return { head: l, body: r };
|
|
303
313
|
});
|
|
304
|
-
function
|
|
305
|
-
|
|
314
|
+
function Be() {
|
|
315
|
+
yt(() => {
|
|
306
316
|
const l = D.value.head.map((a, v) => [[
|
|
307
317
|
a.name
|
|
308
|
-
], [D.value.body[v]], [isNaN(D.value.body[v] / S.value) ? "-" : D.value.body[v] / S.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t =
|
|
309
|
-
|
|
318
|
+
], [D.value.body[v]], [isNaN(D.value.body[v] / S.value) ? "-" : D.value.body[v] / S.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = St(r);
|
|
319
|
+
Ft({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
|
|
310
320
|
});
|
|
311
321
|
}
|
|
312
|
-
const ae =
|
|
322
|
+
const ae = w(() => {
|
|
313
323
|
const l = [
|
|
314
324
|
' <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>',
|
|
315
325
|
O({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: S.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
@@ -345,37 +355,37 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
345
355
|
config: t
|
|
346
356
|
};
|
|
347
357
|
}), W = d(!1);
|
|
348
|
-
function
|
|
358
|
+
function it(l) {
|
|
349
359
|
W.value = l, _e.value += 1;
|
|
350
360
|
}
|
|
351
|
-
const
|
|
352
|
-
function
|
|
361
|
+
const Ve = w(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
|
|
362
|
+
function vt(l) {
|
|
353
363
|
return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
|
|
354
364
|
}
|
|
355
365
|
function M(l, r) {
|
|
356
|
-
|
|
366
|
+
Oe("selectDatapoint", { datapoint: l, index: r });
|
|
357
367
|
}
|
|
358
|
-
function
|
|
368
|
+
function Ge() {
|
|
359
369
|
f.value.showTable = !f.value.showTable;
|
|
360
370
|
}
|
|
361
|
-
function
|
|
371
|
+
function Re() {
|
|
362
372
|
f.value.dataLabels.show = !f.value.dataLabels.show;
|
|
363
373
|
}
|
|
364
|
-
function
|
|
374
|
+
function Ue() {
|
|
365
375
|
f.value.showTooltip = !f.value.showTooltip;
|
|
366
376
|
}
|
|
367
377
|
const oe = d(!1);
|
|
368
378
|
function ve() {
|
|
369
379
|
oe.value = !oe.value;
|
|
370
380
|
}
|
|
371
|
-
return
|
|
372
|
-
getData:
|
|
373
|
-
generatePdf:
|
|
374
|
-
generateCsv:
|
|
375
|
-
generateImage:
|
|
376
|
-
toggleTable:
|
|
377
|
-
toggleLabels:
|
|
378
|
-
toggleTooltip:
|
|
381
|
+
return Ze({
|
|
382
|
+
getData: ut,
|
|
383
|
+
generatePdf: Le,
|
|
384
|
+
generateCsv: Be,
|
|
385
|
+
generateImage: Te,
|
|
386
|
+
toggleTable: Ge,
|
|
387
|
+
toggleLabels: Re,
|
|
388
|
+
toggleTooltip: Ue,
|
|
379
389
|
toggleAnnotator: ve
|
|
380
390
|
}), (l, r) => (o(), u("div", {
|
|
381
391
|
ref_key: "donutChart",
|
|
@@ -386,7 +396,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
386
396
|
onMouseenter: r[6] || (r[6] = () => n($e)(!0)),
|
|
387
397
|
onMouseleave: r[7] || (r[7] = () => n($e)(!1))
|
|
388
398
|
}, [
|
|
389
|
-
e.value.userOptions.buttons.annotator && n(ne) ? (o(), R(
|
|
399
|
+
e.value.userOptions.buttons.annotator && n(ne) ? (o(), R(Vt, {
|
|
390
400
|
key: 0,
|
|
391
401
|
color: e.value.style.chart.color,
|
|
392
402
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -395,7 +405,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
395
405
|
onClose: ve
|
|
396
406
|
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : i("", !0),
|
|
397
407
|
g(l.$slots, "userConfig", {}, void 0, !0),
|
|
398
|
-
|
|
408
|
+
ot.value ? (o(), u("div", {
|
|
399
409
|
key: 1,
|
|
400
410
|
ref_key: "noTitle",
|
|
401
411
|
ref: ge,
|
|
@@ -408,7 +418,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
408
418
|
ref: ye,
|
|
409
419
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
410
420
|
}, [
|
|
411
|
-
(o(), R(
|
|
421
|
+
(o(), R(Ot, {
|
|
412
422
|
key: `title_${be.value}`,
|
|
413
423
|
config: {
|
|
414
424
|
title: {
|
|
@@ -422,14 +432,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
422
432
|
}
|
|
423
433
|
}, null, 8, ["config"]))
|
|
424
434
|
], 512)) : i("", !0),
|
|
425
|
-
e.value.userOptions.show && q.value && (n(Ce) || n(se)) ? (o(), R(
|
|
435
|
+
e.value.userOptions.show && q.value && (n(Ce) || n(se)) ? (o(), R(At, {
|
|
426
436
|
ref_key: "details",
|
|
427
|
-
ref:
|
|
437
|
+
ref: at,
|
|
428
438
|
key: `user_option_${_e.value}`,
|
|
429
439
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
430
440
|
color: e.value.style.chart.color,
|
|
431
|
-
isPrinting: n(
|
|
432
|
-
isImaging: n(
|
|
441
|
+
isPrinting: n(Se),
|
|
442
|
+
isImaging: n(Fe),
|
|
433
443
|
uid: y.value,
|
|
434
444
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
435
445
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -445,18 +455,18 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
445
455
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
446
456
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
447
457
|
isAnnotation: oe.value,
|
|
448
|
-
onToggleFullscreen:
|
|
449
|
-
onGeneratePdf: n(
|
|
450
|
-
onGenerateCsv:
|
|
451
|
-
onGenerateImage: n(
|
|
452
|
-
onToggleTable:
|
|
453
|
-
onToggleLabels:
|
|
454
|
-
onToggleTooltip:
|
|
458
|
+
onToggleFullscreen: it,
|
|
459
|
+
onGeneratePdf: n(Le),
|
|
460
|
+
onGenerateCsv: Be,
|
|
461
|
+
onGenerateImage: n(Te),
|
|
462
|
+
onToggleTable: Ge,
|
|
463
|
+
onToggleLabels: Re,
|
|
464
|
+
onToggleTooltip: Ue,
|
|
455
465
|
onToggleAnnotator: ve,
|
|
456
466
|
style: z({
|
|
457
467
|
visibility: n(Ce) ? n(se) ? "visible" : "hidden" : "visible"
|
|
458
468
|
})
|
|
459
|
-
},
|
|
469
|
+
}, We({ _: 2 }, [
|
|
460
470
|
l.$slots.menuIcon ? {
|
|
461
471
|
name: "menuIcon",
|
|
462
472
|
fn: x(({ isOpen: t, color: a }) => [
|
|
@@ -525,12 +535,12 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
525
535
|
key: 4,
|
|
526
536
|
ref_key: "svgRef",
|
|
527
537
|
ref: ne,
|
|
528
|
-
xmlns: n(
|
|
538
|
+
xmlns: n(_t),
|
|
529
539
|
class: de({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
|
|
530
540
|
viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
|
|
531
|
-
style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
541
|
+
style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${Pe.value.css}`)
|
|
532
542
|
}, [
|
|
533
|
-
he(
|
|
543
|
+
he(Bt),
|
|
534
544
|
l.$slots["chart-background"] ? (o(), u("foreignObject", {
|
|
535
545
|
key: 0,
|
|
536
546
|
x: 0,
|
|
@@ -542,8 +552,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
542
552
|
}
|
|
543
553
|
}, [
|
|
544
554
|
g(l.$slots, "chart-background", {}, void 0, !0)
|
|
545
|
-
], 8,
|
|
546
|
-
e.value.type === "classic" ? (o(), u("defs",
|
|
555
|
+
], 8, Et)) : i("", !0),
|
|
556
|
+
e.value.type === "classic" ? (o(), u("defs", qt, [
|
|
547
557
|
e.value.style.chart.useGradient ? (o(), u("radialGradient", {
|
|
548
558
|
key: 0,
|
|
549
559
|
id: `gradient_${y.value}`
|
|
@@ -552,24 +562,24 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
552
562
|
offset: "0%",
|
|
553
563
|
"stop-color": n(Z)(e.value.style.chart.backgroundColor, 0),
|
|
554
564
|
"stop-opacity": "0"
|
|
555
|
-
}, null, 8,
|
|
565
|
+
}, null, 8, Kt),
|
|
556
566
|
p("stop", {
|
|
557
567
|
offset: `${(1 - K.value / $.value) * 100}%`,
|
|
558
568
|
"stop-color": n(Z)("#FFFFFF", 0),
|
|
559
569
|
"stop-opacity": "0"
|
|
560
|
-
}, null, 8,
|
|
570
|
+
}, null, 8, Qt),
|
|
561
571
|
p("stop", {
|
|
562
572
|
offset: `${(1 - K.value / $.value / 2) * 100}%`,
|
|
563
573
|
"stop-color": n(Z)("#FFFFFF", e.value.style.chart.gradientIntensity)
|
|
564
|
-
}, null, 8,
|
|
574
|
+
}, null, 8, Zt),
|
|
565
575
|
p("stop", {
|
|
566
576
|
offset: "100%",
|
|
567
577
|
"stop-color": n(Z)(e.value.style.chart.backgroundColor, 0),
|
|
568
578
|
"stop-opacity": "0"
|
|
569
|
-
}, null, 8,
|
|
570
|
-
], 8,
|
|
579
|
+
}, null, 8, el)
|
|
580
|
+
], 8, Jt)) : i("", !0)
|
|
571
581
|
])) : i("", !0),
|
|
572
|
-
e.value.type === "polar" ? (o(), u("defs",
|
|
582
|
+
e.value.type === "polar" ? (o(), u("defs", tl, [
|
|
573
583
|
(o(!0), u(b, null, F(c.value, (t, a) => (o(), u("radialGradient", {
|
|
574
584
|
id: `polar_gradient_${a}_${y.value}`,
|
|
575
585
|
cx: t.middlePoint.x / s.value.width * 100 + "%",
|
|
@@ -578,14 +588,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
578
588
|
}, [
|
|
579
589
|
p("stop", {
|
|
580
590
|
offset: "0%",
|
|
581
|
-
"stop-color": n(
|
|
591
|
+
"stop-color": n(xt)(h.value[a].color, 0.05),
|
|
582
592
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
583
|
-
}, null, 8,
|
|
593
|
+
}, null, 8, al),
|
|
584
594
|
p("stop", {
|
|
585
595
|
offset: "100%",
|
|
586
596
|
"stop-color": h.value[a].color
|
|
587
|
-
}, null, 8,
|
|
588
|
-
], 8,
|
|
597
|
+
}, null, 8, ol)
|
|
598
|
+
], 8, ll))), 256))
|
|
589
599
|
])) : i("", !0),
|
|
590
600
|
p("defs", null, [
|
|
591
601
|
p("filter", {
|
|
@@ -599,12 +609,12 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
599
609
|
in: "SourceGraphic",
|
|
600
610
|
stdDeviation: 2,
|
|
601
611
|
id: `blur_std_${y.value}`
|
|
602
|
-
}, null, 8,
|
|
612
|
+
}, null, 8, sl),
|
|
603
613
|
r[8] || (r[8] = p("feColorMatrix", {
|
|
604
614
|
type: "saturate",
|
|
605
615
|
values: "0"
|
|
606
616
|
}, null, -1))
|
|
607
|
-
], 8,
|
|
617
|
+
], 8, ul),
|
|
608
618
|
p("filter", {
|
|
609
619
|
id: `shadow_${y.value}`,
|
|
610
620
|
"color-interpolation-filters": "sRGB"
|
|
@@ -615,8 +625,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
615
625
|
stdDeviation: "10",
|
|
616
626
|
"flood-opacity": "0.5",
|
|
617
627
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
618
|
-
}, null, 8,
|
|
619
|
-
], 8,
|
|
628
|
+
}, null, 8, rl)
|
|
629
|
+
], 8, nl),
|
|
620
630
|
p("filter", {
|
|
621
631
|
id: `drop_shadow_${y.value}`,
|
|
622
632
|
"color-interpolation-filters": "sRGB",
|
|
@@ -631,20 +641,20 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
631
641
|
stdDeviation: "3",
|
|
632
642
|
"flood-opacity": "1",
|
|
633
643
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
634
|
-
}, null, 8,
|
|
635
|
-
], 8,
|
|
644
|
+
}, null, 8, vl)
|
|
645
|
+
], 8, il)
|
|
636
646
|
]),
|
|
637
647
|
e.value.type === "classic" ? (o(!0), u(b, { key: 3 }, F(h.value, (t, a) => (o(), u("g", null, [
|
|
638
648
|
Y(t) && f.value.dataLabels.show ? (o(), u("path", {
|
|
639
649
|
key: 0,
|
|
640
|
-
d: n(
|
|
650
|
+
d: n($t)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, K.value, 12, e.value.style.chart.layout.curvedMarkers),
|
|
641
651
|
stroke: t.color,
|
|
642
652
|
"stroke-width": "1",
|
|
643
653
|
"stroke-linecap": "round",
|
|
644
654
|
"stroke-linejoin": "round",
|
|
645
655
|
fill: "none",
|
|
646
656
|
filter: G(a)
|
|
647
|
-
}, null, 8,
|
|
657
|
+
}, null, 8, cl)) : i("", !0)
|
|
648
658
|
]))), 256)) : i("", !0),
|
|
649
659
|
e.value.type === "polar" ? (o(!0), u(b, { key: 4 }, F(h.value, (t, a) => (o(), u("g", null, [
|
|
650
660
|
Y(t) && f.value.dataLabels.show ? (o(), u("line", {
|
|
@@ -659,7 +669,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
659
669
|
"stroke-linejoin": "round",
|
|
660
670
|
fill: "none",
|
|
661
671
|
filter: G(a)
|
|
662
|
-
}, null, 8,
|
|
672
|
+
}, null, 8, dl)) : i("", !0)
|
|
663
673
|
]))), 256)) : i("", !0),
|
|
664
674
|
e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (o(), u("circle", {
|
|
665
675
|
key: 5,
|
|
@@ -668,10 +678,10 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
668
678
|
r: $.value <= 0 ? 10 : $.value,
|
|
669
679
|
fill: e.value.style.chart.backgroundColor,
|
|
670
680
|
filter: `url(#shadow_${y.value})`
|
|
671
|
-
}, null, 8,
|
|
672
|
-
l.$slots.pattern ? (o(), u("g",
|
|
681
|
+
}, null, 8, hl)) : i("", !0),
|
|
682
|
+
l.$slots.pattern ? (o(), u("g", yl, [
|
|
673
683
|
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("defs", null, [
|
|
674
|
-
g(l.$slots, "pattern",
|
|
684
|
+
g(l.$slots, "pattern", He({ ref_for: !0 }, { ...t, patternId: `pattern_${y.value}_${t.patternIndex}` }), void 0, !0)
|
|
675
685
|
]))), 256))
|
|
676
686
|
])) : i("", !0),
|
|
677
687
|
S.value && e.value.type === "classic" ? (o(), u(b, { key: 7 }, [
|
|
@@ -679,8 +689,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
679
689
|
stroke: e.value.style.chart.backgroundColor,
|
|
680
690
|
d: t.arcSlice,
|
|
681
691
|
fill: "#FFFFFF"
|
|
682
|
-
}, null, 8,
|
|
683
|
-
l.$slots.pattern ? (o(), u("g",
|
|
692
|
+
}, null, 8, fl))), 256)),
|
|
693
|
+
l.$slots.pattern ? (o(), u("g", pl, [
|
|
684
694
|
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
685
695
|
class: "vue-ui-donut-arc-path",
|
|
686
696
|
d: t.arcSlice,
|
|
@@ -688,7 +698,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
688
698
|
stroke: e.value.style.chart.backgroundColor,
|
|
689
699
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
690
700
|
filter: G(a)
|
|
691
|
-
}, null, 8,
|
|
701
|
+
}, null, 8, gl))), 256))
|
|
692
702
|
])) : i("", !0),
|
|
693
703
|
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
694
704
|
class: "vue-ui-donut-arc-path",
|
|
@@ -697,16 +707,16 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
697
707
|
stroke: e.value.style.chart.backgroundColor,
|
|
698
708
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
699
709
|
filter: G(a)
|
|
700
|
-
}, null, 8,
|
|
710
|
+
}, null, 8, bl))), 256))
|
|
701
711
|
], 64)) : i("", !0),
|
|
702
712
|
S.value && e.value.type === "polar" ? (o(), u(b, { key: 8 }, [
|
|
703
|
-
h.value.length > 1 ? (o(), u("g",
|
|
713
|
+
h.value.length > 1 ? (o(), u("g", ml, [
|
|
704
714
|
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
705
715
|
stroke: e.value.style.chart.backgroundColor,
|
|
706
716
|
d: c.value[a].path,
|
|
707
717
|
fill: "#FFFFFF"
|
|
708
|
-
}, null, 8,
|
|
709
|
-
e.value.style.chart.layout.donut.useShadow ? (o(), u("g",
|
|
718
|
+
}, null, 8, wl))), 256)),
|
|
719
|
+
e.value.style.chart.layout.donut.useShadow ? (o(), u("g", kl, [
|
|
710
720
|
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
711
721
|
class: "vue-ui-donut-arc-path",
|
|
712
722
|
d: c.value[a].path,
|
|
@@ -714,9 +724,9 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
714
724
|
stroke: e.value.style.chart.backgroundColor,
|
|
715
725
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
716
726
|
filter: `url(#drop_shadow_${y.value})`
|
|
717
|
-
}, null, 8,
|
|
727
|
+
}, null, 8, _l))), 256))
|
|
718
728
|
])) : i("", !0),
|
|
719
|
-
l.$slots.pattern ? (o(), u("g",
|
|
729
|
+
l.$slots.pattern ? (o(), u("g", xl, [
|
|
720
730
|
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
721
731
|
class: "vue-ui-donut-arc-path",
|
|
722
732
|
d: c.value[a].path,
|
|
@@ -724,7 +734,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
724
734
|
stroke: e.value.style.chart.backgroundColor,
|
|
725
735
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
726
736
|
filter: G(a)
|
|
727
|
-
}, null, 8,
|
|
737
|
+
}, null, 8, $l))), 256))
|
|
728
738
|
])) : i("", !0),
|
|
729
739
|
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
730
740
|
class: "vue-ui-donut-arc-path",
|
|
@@ -733,8 +743,8 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
733
743
|
stroke: e.value.style.chart.backgroundColor,
|
|
734
744
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
735
745
|
filter: G(a)
|
|
736
|
-
}, null, 8,
|
|
737
|
-
])) : (o(), u("g",
|
|
746
|
+
}, null, 8, Cl))), 256))
|
|
747
|
+
])) : (o(), u("g", Pl, [
|
|
738
748
|
l.$slots.pattern ? (o(), u("circle", {
|
|
739
749
|
key: 0,
|
|
740
750
|
cx: s.value.width / 2,
|
|
@@ -743,7 +753,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
743
753
|
fill: `url(#pattern_${y.value}_${h.value[0].patternIndex})`,
|
|
744
754
|
stroke: e.value.style.chart.backgroundColor,
|
|
745
755
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
746
|
-
}, null, 8,
|
|
756
|
+
}, null, 8, Sl)) : i("", !0),
|
|
747
757
|
p("circle", {
|
|
748
758
|
cx: s.value.width / 2,
|
|
749
759
|
cy: s.value.height / 2,
|
|
@@ -751,7 +761,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
751
761
|
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${y.value})` : h.value[0].color,
|
|
752
762
|
stroke: e.value.style.chart.backgroundColor,
|
|
753
763
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
754
|
-
}, null, 8,
|
|
764
|
+
}, null, 8, Fl)
|
|
755
765
|
]))
|
|
756
766
|
], 64)) : (o(), u("circle", {
|
|
757
767
|
key: 9,
|
|
@@ -760,7 +770,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
760
770
|
r: $.value <= 0 ? 10 : $.value,
|
|
761
771
|
fill: "transparent",
|
|
762
772
|
stroke: e.value.style.chart.backgroundColor
|
|
763
|
-
}, null, 8,
|
|
773
|
+
}, null, 8, Ll)),
|
|
764
774
|
e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), u("circle", {
|
|
765
775
|
key: 10,
|
|
766
776
|
cx: s.value.width / 2,
|
|
@@ -770,13 +780,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
770
780
|
$.value <= 0 ? 10 : $.value
|
|
771
781
|
),
|
|
772
782
|
fill: `url(#gradient_${y.value})`
|
|
773
|
-
}, null, 8,
|
|
783
|
+
}, null, 8, Tl)) : i("", !0),
|
|
774
784
|
S.value ? (o(), u(b, { key: 11 }, [
|
|
775
|
-
h.value.length > 1 || e.value.type === "classic" ? (o(), u("g",
|
|
785
|
+
h.value.length > 1 || e.value.type === "classic" ? (o(), u("g", zl, [
|
|
776
786
|
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("path", {
|
|
777
787
|
d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
|
|
778
788
|
fill: P.value === a ? "rgba(0,0,0,0.1)" : "transparent",
|
|
779
|
-
onMouseenter: (v) =>
|
|
789
|
+
onMouseenter: (v) => Me({
|
|
780
790
|
datapoint: t,
|
|
781
791
|
relativeIndex: a,
|
|
782
792
|
seriesIndex: t.seriesIndex,
|
|
@@ -786,14 +796,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
786
796
|
le.value = !1, P.value = null;
|
|
787
797
|
}),
|
|
788
798
|
onClick: (v) => M(t, a)
|
|
789
|
-
}, null, 40,
|
|
790
|
-
])) : (o(), u("g",
|
|
799
|
+
}, null, 40, Ol))), 256))
|
|
800
|
+
])) : (o(), u("g", Yl, [
|
|
791
801
|
p("circle", {
|
|
792
802
|
cx: s.value.width / 2,
|
|
793
803
|
cy: s.value.height / 2,
|
|
794
804
|
r: $.value,
|
|
795
805
|
fill: P.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
|
|
796
|
-
onMouseenter: r[1] || (r[1] = (t) =>
|
|
806
|
+
onMouseenter: r[1] || (r[1] = (t) => Me({
|
|
797
807
|
datapoint: h.value[0],
|
|
798
808
|
relativeIndex: 0,
|
|
799
809
|
seriesIndex: h.value[0].seriesIndex,
|
|
@@ -803,7 +813,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
803
813
|
le.value = !1, P.value = null;
|
|
804
814
|
}),
|
|
805
815
|
onClick: r[3] || (r[3] = (t) => M(h.value[0], l.i))
|
|
806
|
-
}, null, 40,
|
|
816
|
+
}, null, 40, Al)
|
|
807
817
|
]))
|
|
808
818
|
], 64)) : i("", !0),
|
|
809
819
|
e.value.type === "classic" ? (o(), u(b, { key: 12 }, [
|
|
@@ -815,7 +825,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
815
825
|
fill: e.value.style.chart.layout.labels.hollow.total.color,
|
|
816
826
|
"font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
|
|
817
827
|
style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
|
|
818
|
-
}, C(e.value.style.chart.layout.labels.hollow.total.text), 13,
|
|
828
|
+
}, C(e.value.style.chart.layout.labels.hollow.total.text), 13, Nl)) : i("", !0),
|
|
819
829
|
e.value.style.chart.layout.labels.hollow.total.show ? (o(), u("text", {
|
|
820
830
|
key: 1,
|
|
821
831
|
"text-anchor": "middle",
|
|
@@ -832,7 +842,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
832
842
|
v: S.value,
|
|
833
843
|
s: e.value.style.chart.layout.labels.hollow.total.value.suffix
|
|
834
844
|
})
|
|
835
|
-
)), 13,
|
|
845
|
+
)), 13, Xl)) : i("", !0),
|
|
836
846
|
e.value.style.chart.layout.labels.hollow.average.show ? (o(), u("text", {
|
|
837
847
|
key: 2,
|
|
838
848
|
"text-anchor": "middle",
|
|
@@ -841,7 +851,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
841
851
|
fill: e.value.style.chart.layout.labels.hollow.average.color,
|
|
842
852
|
"font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
|
|
843
853
|
style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
|
|
844
|
-
}, C(e.value.style.chart.layout.labels.hollow.average.text), 13,
|
|
854
|
+
}, C(e.value.style.chart.layout.labels.hollow.average.text), 13, Il)) : i("", !0),
|
|
845
855
|
e.value.style.chart.layout.labels.hollow.average.show ? (o(), u("text", {
|
|
846
856
|
key: 3,
|
|
847
857
|
"text-anchor": "middle",
|
|
@@ -852,44 +862,44 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
852
862
|
style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
|
|
853
863
|
}, C(V.value ? "--" : n(A)(
|
|
854
864
|
e.value.style.chart.layout.labels.hollow.average.value.formatter,
|
|
855
|
-
|
|
865
|
+
Ie.value,
|
|
856
866
|
n(O)({
|
|
857
867
|
p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
|
|
858
|
-
v:
|
|
868
|
+
v: Ie.value,
|
|
859
869
|
s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
|
|
860
870
|
r: e.value.style.chart.layout.labels.hollow.average.value.rounding
|
|
861
871
|
})
|
|
862
|
-
)), 13,
|
|
872
|
+
)), 13, Dl)) : i("", !0)
|
|
863
873
|
], 64)) : i("", !0),
|
|
864
874
|
(o(!0), u(b, null, F(h.value, (t, a) => (o(), u("g", {
|
|
865
875
|
filter: G(a),
|
|
866
876
|
class: de({ animated: e.value.useCssAnimation })
|
|
867
877
|
}, [
|
|
868
|
-
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), u("g",
|
|
878
|
+
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), u("g", Bl, [
|
|
869
879
|
(o(), u("foreignObject", {
|
|
870
|
-
x: n(
|
|
871
|
-
y: n(ee)(t) - (
|
|
880
|
+
x: n(k)(t, !0).anchor === "end" ? n(k)(t).x - 120 : n(k)(t, !0).anchor === "middle" ? n(k)(t).x - 60 : n(k)(t).x,
|
|
881
|
+
y: n(ee)(t) - (Ve.value ? 20 : 0),
|
|
872
882
|
width: "120",
|
|
873
883
|
height: "60",
|
|
874
884
|
style: { overflow: "visible" }
|
|
875
885
|
}, [
|
|
876
886
|
p("div", null, [
|
|
877
|
-
g(l.$slots, "dataLabel",
|
|
887
|
+
g(l.$slots, "dataLabel", He({ ref_for: !0 }, {
|
|
878
888
|
datapoint: t,
|
|
879
889
|
isBlur: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a,
|
|
880
|
-
isSafari:
|
|
890
|
+
isSafari: Ve.value,
|
|
881
891
|
isVisible: Y(t) && f.value.dataLabels.show,
|
|
882
|
-
textAlign: n(
|
|
883
|
-
flexAlign: n(
|
|
892
|
+
textAlign: n(k)(t, !0, 16, !0).anchor,
|
|
893
|
+
flexAlign: n(k)(t, !0, 16).anchor,
|
|
884
894
|
percentage: re(t, h.value)
|
|
885
895
|
}), void 0, !0)
|
|
886
896
|
])
|
|
887
|
-
], 8,
|
|
888
|
-
])) : (o(), u("g",
|
|
897
|
+
], 8, Vl))
|
|
898
|
+
])) : (o(), u("g", Gl, [
|
|
889
899
|
e.value.type === "classic" ? (o(), u(b, { key: 0 }, [
|
|
890
900
|
Y(t) && f.value.dataLabels.show ? (o(), u("circle", {
|
|
891
901
|
key: 0,
|
|
892
|
-
cx: n(
|
|
902
|
+
cx: n(k)(t).x,
|
|
893
903
|
cy: n(ee)(t) - 3.5,
|
|
894
904
|
fill: t.color,
|
|
895
905
|
stroke: e.value.style.chart.backgroundColor,
|
|
@@ -897,7 +907,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
897
907
|
r: 3,
|
|
898
908
|
filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${y.value})`,
|
|
899
909
|
onClick: (v) => M(t, a)
|
|
900
|
-
}, null, 8,
|
|
910
|
+
}, null, 8, Rl)) : i("", !0)
|
|
901
911
|
], 64)) : i("", !0),
|
|
902
912
|
e.value.type === "polar" ? (o(), u(b, { key: 1 }, [
|
|
903
913
|
Y(t) && f.value.dataLabels.show ? (o(), u("circle", {
|
|
@@ -910,13 +920,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
910
920
|
r: 3,
|
|
911
921
|
filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${y.value})`,
|
|
912
922
|
onClick: (v) => M(t, a)
|
|
913
|
-
}, null, 8,
|
|
923
|
+
}, null, 8, Ul)) : i("", !0)
|
|
914
924
|
], 64)) : i("", !0),
|
|
915
925
|
e.value.type === "classic" ? (o(), u(b, { key: 2 }, [
|
|
916
926
|
Y(t) && f.value.dataLabels.show ? (o(), u("text", {
|
|
917
927
|
key: 0,
|
|
918
|
-
"text-anchor": n(
|
|
919
|
-
x: n(
|
|
928
|
+
"text-anchor": n(k)(t, !0, 12).anchor,
|
|
929
|
+
x: n(k)(t, !0, 12).x,
|
|
920
930
|
y: n(ee)(t),
|
|
921
931
|
fill: e.value.style.chart.layout.labels.percentage.color,
|
|
922
932
|
"font-size": e.value.style.chart.layout.labels.percentage.fontSize,
|
|
@@ -932,17 +942,17 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
932
942
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
933
943
|
}),
|
|
934
944
|
{ datapoint: t }
|
|
935
|
-
)})` : ""), 13,
|
|
945
|
+
)})` : ""), 13, jl)) : i("", !0),
|
|
936
946
|
Y(t) && f.value.dataLabels.show ? (o(), u("text", {
|
|
937
947
|
key: 1,
|
|
938
|
-
"text-anchor": n(
|
|
939
|
-
x: n(
|
|
948
|
+
"text-anchor": n(k)(t).anchor,
|
|
949
|
+
x: n(k)(t, !0, 12).x,
|
|
940
950
|
y: n(ee)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
|
|
941
951
|
fill: e.value.style.chart.layout.labels.name.color,
|
|
942
952
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
943
953
|
style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
944
954
|
onClick: (v) => M(t, a)
|
|
945
|
-
}, C(t.name), 13,
|
|
955
|
+
}, C(t.name), 13, Wl)) : i("", !0)
|
|
946
956
|
], 64)) : i("", !0),
|
|
947
957
|
e.value.type === "polar" ? (o(), u(b, { key: 3 }, [
|
|
948
958
|
Y(t) && f.value.dataLabels.show ? (o(), u("text", {
|
|
@@ -964,7 +974,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
964
974
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
965
975
|
}),
|
|
966
976
|
{ datapoint: t }
|
|
967
|
-
)})` : ""), 13,
|
|
977
|
+
)})` : ""), 13, Hl)) : i("", !0),
|
|
968
978
|
Y(t) && f.value.dataLabels.show ? (o(), u("text", {
|
|
969
979
|
key: 1,
|
|
970
980
|
"text-anchor": j(c.value[a].middlePoint),
|
|
@@ -974,13 +984,13 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
974
984
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
975
985
|
style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
976
986
|
onClick: (v) => M(t, a)
|
|
977
|
-
}, C(t.name), 13,
|
|
987
|
+
}, C(t.name), 13, El)) : i("", !0)
|
|
978
988
|
], 64)) : i("", !0)
|
|
979
989
|
])),
|
|
980
|
-
f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), u("g",
|
|
990
|
+
f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), u("g", ql, [
|
|
981
991
|
Y(t) && e.value.type === "classic" ? (o(), u("foreignObject", {
|
|
982
992
|
key: 0,
|
|
983
|
-
x: e.value.style.chart.comments.offsetX + (n(
|
|
993
|
+
x: e.value.style.chart.comments.offsetX + (n(k)(t, !0).anchor === "end" ? n(k)(t).x - e.value.style.chart.comments.width : n(k)(t, !0).anchor === "middle" ? n(k)(t).x - e.value.style.chart.comments.width / 2 : n(k)(t).x),
|
|
984
994
|
y: n(ee)(t) + 24 + e.value.style.chart.comments.offsetY,
|
|
985
995
|
width: e.value.style.chart.comments.width,
|
|
986
996
|
height: "200",
|
|
@@ -988,14 +998,14 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
988
998
|
}, [
|
|
989
999
|
p("div", null, [
|
|
990
1000
|
g(l.$slots, "plot-comment", {
|
|
991
|
-
plot: { ...t, textAlign: n(
|
|
1001
|
+
plot: { ...t, textAlign: n(k)(t, !0, 16, !0).anchor, flexAlign: n(k)(t, !0, 16).anchor }
|
|
992
1002
|
}, void 0, !0)
|
|
993
1003
|
])
|
|
994
|
-
], 8,
|
|
1004
|
+
], 8, Jl)) : i("", !0),
|
|
995
1005
|
Y(t) && e.value.type === "polar" ? (o(), u("foreignObject", {
|
|
996
1006
|
key: 1,
|
|
997
1007
|
x: e.value.style.chart.comments.offsetX + (j(c.value[a].middlePoint) === "end" ? n(L)({ 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" ? n(L)({ 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 : n(L)({ 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),
|
|
998
|
-
y:
|
|
1008
|
+
y: nt(c.value[a]) + e.value.style.chart.comments.offsetY,
|
|
999
1009
|
width: e.value.style.chart.comments.width,
|
|
1000
1010
|
height: "200",
|
|
1001
1011
|
style: { overflow: "visible", "pointer-events": "none" }
|
|
@@ -1005,15 +1015,15 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1005
1015
|
plot: { ...t, textAlign: j(c.value[a].middlePoint), flexAlign: j(c.value[a].middlePoint) }
|
|
1006
1016
|
}, void 0, !0)
|
|
1007
1017
|
])
|
|
1008
|
-
], 8,
|
|
1018
|
+
], 8, Kl)) : i("", !0)
|
|
1009
1019
|
])) : i("", !0)
|
|
1010
|
-
], 10,
|
|
1020
|
+
], 10, Ml))), 256)),
|
|
1011
1021
|
g(l.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
1012
|
-
], 14,
|
|
1013
|
-
l.$slots.watermark ? (o(), u("div",
|
|
1014
|
-
g(l.$slots, "watermark", H(E({ isPrinting: n(
|
|
1022
|
+
], 14, Ht)) : i("", !0),
|
|
1023
|
+
l.$slots.watermark ? (o(), u("div", Ql, [
|
|
1024
|
+
g(l.$slots, "watermark", H(E({ isPrinting: n(Se) || n(Fe) })), void 0, !0)
|
|
1015
1025
|
])) : i("", !0),
|
|
1016
|
-
q.value ? i("", !0) : (o(), R(
|
|
1026
|
+
q.value ? i("", !0) : (o(), R(Dt, {
|
|
1017
1027
|
key: 6,
|
|
1018
1028
|
config: {
|
|
1019
1029
|
type: "donut",
|
|
@@ -1030,18 +1040,18 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1030
1040
|
ref_key: "chartLegend",
|
|
1031
1041
|
ref: fe
|
|
1032
1042
|
}, [
|
|
1033
|
-
e.value.style.chart.legend.show ? (o(), R(
|
|
1043
|
+
e.value.style.chart.legend.show ? (o(), R(It, {
|
|
1034
1044
|
key: `legend_${we.value}`,
|
|
1035
|
-
legendSet:
|
|
1036
|
-
config:
|
|
1037
|
-
onClickMarker: r[4] || (r[4] = ({ i: t }) =>
|
|
1038
|
-
},
|
|
1045
|
+
legendSet: Xe.value,
|
|
1046
|
+
config: st.value,
|
|
1047
|
+
onClickMarker: r[4] || (r[4] = ({ i: t }) => Ne(t))
|
|
1048
|
+
}, We({
|
|
1039
1049
|
item: x(({ legend: t, index: a }) => [
|
|
1040
1050
|
p("div", {
|
|
1041
1051
|
style: z(`opacity:${X.value.includes(a) ? 0.5 : 1}`),
|
|
1042
1052
|
onClick: (v) => t.segregate()
|
|
1043
1053
|
}, [
|
|
1044
|
-
|
|
1054
|
+
Ee(C(t.name) + ": " + C(n(A)(
|
|
1045
1055
|
e.value.style.chart.layout.labels.value.formatter,
|
|
1046
1056
|
t.value,
|
|
1047
1057
|
n(O)({
|
|
@@ -1055,23 +1065,23 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1055
1065
|
index: a
|
|
1056
1066
|
}
|
|
1057
1067
|
)) + " ", 1),
|
|
1058
|
-
X.value.includes(a) ? (o(), u("span",
|
|
1068
|
+
X.value.includes(a) ? (o(), u("span", ta, " ( " + C(vt(t.proportion * 100)) + " % ) ", 1)) : (o(), u("span", ea, " (" + C(isNaN(t.value / S.value) ? "-" : n(A)(
|
|
1059
1069
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1060
|
-
|
|
1070
|
+
De.value(t),
|
|
1061
1071
|
n(O)({
|
|
1062
|
-
v:
|
|
1072
|
+
v: De.value(t),
|
|
1063
1073
|
s: "%",
|
|
1064
1074
|
r: e.value.style.chart.legend.roundingPercentage
|
|
1065
1075
|
})
|
|
1066
1076
|
)) + ") ", 1))
|
|
1067
|
-
], 12,
|
|
1077
|
+
], 12, Zl)
|
|
1068
1078
|
]),
|
|
1069
1079
|
_: 2
|
|
1070
1080
|
}, [
|
|
1071
1081
|
l.$slots.pattern ? {
|
|
1072
1082
|
name: "legend-pattern",
|
|
1073
1083
|
fn: x(({ legend: t, index: a }) => [
|
|
1074
|
-
he(
|
|
1084
|
+
he(Rt, {
|
|
1075
1085
|
shape: t.shape,
|
|
1076
1086
|
radius: 30,
|
|
1077
1087
|
stroke: "none",
|
|
@@ -1082,7 +1092,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1082
1092
|
key: "0"
|
|
1083
1093
|
} : void 0
|
|
1084
1094
|
]), 1032, ["legendSet", "config"])) : i("", !0),
|
|
1085
|
-
g(l.$slots, "legend", { legend:
|
|
1095
|
+
g(l.$slots, "legend", { legend: Xe.value }, void 0, !0)
|
|
1086
1096
|
], 512),
|
|
1087
1097
|
l.$slots.source ? (o(), u("div", {
|
|
1088
1098
|
key: 7,
|
|
@@ -1092,7 +1102,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1092
1102
|
}, [
|
|
1093
1103
|
g(l.$slots, "source", {}, void 0, !0)
|
|
1094
1104
|
], 512)) : i("", !0),
|
|
1095
|
-
he(
|
|
1105
|
+
he(Xt, {
|
|
1096
1106
|
show: f.value.showTooltip && le.value,
|
|
1097
1107
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1098
1108
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -1116,7 +1126,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1116
1126
|
]),
|
|
1117
1127
|
_: 3
|
|
1118
1128
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
|
|
1119
|
-
q.value ? (o(), R(
|
|
1129
|
+
q.value ? (o(), R(Mt, {
|
|
1120
1130
|
key: 8,
|
|
1121
1131
|
hideDetails: "",
|
|
1122
1132
|
config: {
|
|
@@ -1133,7 +1143,7 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1133
1143
|
}
|
|
1134
1144
|
}, {
|
|
1135
1145
|
content: x(() => [
|
|
1136
|
-
(o(), R(
|
|
1146
|
+
(o(), R(Nt, {
|
|
1137
1147
|
key: `table_${me.value}`,
|
|
1138
1148
|
colNames: ae.value.colNames,
|
|
1139
1149
|
head: ae.value.head,
|
|
@@ -1146,10 +1156,10 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1146
1156
|
p("div", {
|
|
1147
1157
|
innerHTML: t,
|
|
1148
1158
|
style: { display: "flex", "align-items": "center" }
|
|
1149
|
-
}, null, 8,
|
|
1159
|
+
}, null, 8, la)
|
|
1150
1160
|
]),
|
|
1151
1161
|
td: x(({ td: t }) => [
|
|
1152
|
-
|
|
1162
|
+
Ee(C(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
|
|
1153
1163
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1154
1164
|
t,
|
|
1155
1165
|
n(O)({
|
|
@@ -1173,9 +1183,9 @@ const jt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { k
|
|
|
1173
1183
|
]),
|
|
1174
1184
|
_: 1
|
|
1175
1185
|
}, 8, ["config"])) : i("", !0)
|
|
1176
|
-
], 46,
|
|
1186
|
+
], 46, Wt));
|
|
1177
1187
|
}
|
|
1178
|
-
},
|
|
1188
|
+
}, ka = /* @__PURE__ */ jt(aa, [["__scopeId", "data-v-f24dec2a"]]);
|
|
1179
1189
|
export {
|
|
1180
|
-
|
|
1190
|
+
ka as default
|
|
1181
1191
|
};
|