vue-data-ui 2.6.45 → 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-Bfwl8OAb.cjs → Arrow-CRrMt_zT.cjs} +1 -1
- package/dist/{Arrow-km8WlE5f.js → Arrow-Dvz6Z2gU.js} +1 -1
- package/dist/{BaseIcon-DywZoZmD.js → BaseIcon-CEgQPz8O.js} +6 -3
- package/dist/{BaseIcon-BjlTm9wZ.cjs → BaseIcon-DoqpR480.cjs} +1 -1
- package/dist/{ColorPicker-COPqu9IV.cjs → ColorPicker-Bp_7FV2c.cjs} +1 -1
- package/dist/{ColorPicker-gkZLlxzP.js → ColorPicker-DwezDvSV.js} +3 -3
- package/dist/{DataTable-CrhPpuOy.js → DataTable-751-cN2c.js} +2 -2
- package/dist/{DataTable-ImmHVJ0i.cjs → DataTable-D_Guh5Hf.cjs} +1 -1
- package/dist/{Legend-BVtJaKHS.js → Legend-BG9fLat9.js} +2 -2
- package/dist/{Legend-CfimXfYH.cjs → Legend-CepYsC9r.cjs} +1 -1
- package/dist/{PackageVersion-DjHCw2D_.cjs → PackageVersion-D8T0gm3t.cjs} +1 -1
- package/dist/{PackageVersion-DJu8NH8u.js → PackageVersion-SrpgZayt.js} +1 -1
- package/dist/{PenAndPaper-AZpGBe7x.cjs → PenAndPaper-BJ6gGBM2.cjs} +1 -1
- package/dist/{PenAndPaper-DC3X33rh.js → PenAndPaper-jnD991LP.js} +3 -3
- package/dist/{Shape-Bs4vWaC-.js → Shape-BaijOBYT.js} +1 -1
- package/dist/{Shape-Dl6kIG9D.cjs → Shape-og7-ULyN.cjs} +1 -1
- package/dist/{Slicer-OBTv9I2-.cjs → Slicer-B4ZDkwnQ.cjs} +1 -1
- package/dist/{Slicer-CgnhZJgM.js → Slicer-COHzItjq.js} +3 -3
- package/dist/{Title-DBgUbEU1.cjs → Title-BUnn57ZR.cjs} +1 -1
- package/dist/{Title-6BRNasyb.js → Title-DMhhB9yN.js} +1 -1
- package/dist/{Tooltip-BUPxcljs.js → Tooltip-BaPecnnV.js} +1 -1
- package/dist/{Tooltip-TGHDsCSU.cjs → Tooltip-DJtOxx2P.cjs} +1 -1
- package/dist/index-DEbhC0cM.cjs +9 -0
- package/dist/{index-jVWdGfFl.js → index-KdQpiTkm.js} +3 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +6 -1
- package/dist/types/vue-data-ui.d.ts +6 -1
- package/dist/{useNestedProp-BN5jbfiQ.js → useNestedProp-CO8Pe266.js} +1 -1
- package/dist/{useNestedProp-DhyCNtMY.cjs → useNestedProp-COYn8tA0.cjs} +1 -1
- package/dist/{usePrinter-BI95cSFJ.js → usePrinter-BuiF8wZK.js} +1 -1
- package/dist/{usePrinter-DRWBcwQ7.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-DFmsvz9E.js → vue-data-ui-3jkYjNO_.js} +61 -61
- package/dist/{vue-data-ui-B0eO9goE.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-BcdL4c9H.js → vue-ui-3d-bar-Bda7eCM_.js} +9 -9
- package/dist/{vue-ui-3d-bar-CwXgNWXb.cjs → vue-ui-3d-bar-D7_7INdZ.cjs} +1 -1
- package/dist/{vue-ui-accordion-DOBMerZl.js → vue-ui-accordion-CDTJiQu0.js} +3 -3
- package/dist/{vue-ui-accordion-DdHwnq9o.cjs → vue-ui-accordion-ChxVn9CH.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-i52Ub253.cjs → vue-ui-age-pyramid-C-5yJnWs.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Dtaikxqn.js → vue-ui-age-pyramid-C4FUVgL1.js} +11 -11
- package/dist/{vue-ui-annotator-BrjeA9CQ.js → vue-ui-annotator-pYtolxGn.js} +1 -1
- package/dist/{vue-ui-annotator-CKUZCHHC.cjs → vue-ui-annotator-yLvZcOQb.cjs} +1 -1
- package/dist/{vue-ui-bullet-DxUauLaF.cjs → vue-ui-bullet-BVmbUAYh.cjs} +1 -1
- package/dist/{vue-ui-bullet-C1xxCzws.js → vue-ui-bullet-oEZK6DxU.js} +8 -8
- package/dist/{vue-ui-candlestick-t1BaVylo.cjs → vue-ui-candlestick-CVM-Yvvm.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CPF7rQqu.js → vue-ui-candlestick-Cm0ipv0t.js} +12 -12
- package/dist/{vue-ui-carousel-table-BqPfItK8.cjs → vue-ui-carousel-table-BGPWwg3x.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-x8RLpKZv.js → vue-ui-carousel-table-PcE7YCyE.js} +4 -4
- package/dist/{vue-ui-chestnut-BiX9TQ2v.cjs → vue-ui-chestnut-CeYVXtyW.cjs} +1 -1
- package/dist/{vue-ui-chestnut-SdFREl6l.js → vue-ui-chestnut-Ob9Rt-3r.js} +8 -8
- package/dist/{vue-ui-circle-pack-DVkRm1KL.js → vue-ui-circle-pack-BF0PBuDU.js} +10 -10
- package/dist/{vue-ui-circle-pack-B28TVLHQ.cjs → vue-ui-circle-pack-pbnF0Jb7.cjs} +1 -1
- package/dist/{vue-ui-cursor-BkQNdavl.cjs → vue-ui-cursor-DE4hlTca.cjs} +1 -1
- package/dist/{vue-ui-cursor-CY5VZS8t.js → vue-ui-cursor-Drnazkqg.js} +2 -2
- package/dist/{vue-ui-dashboard-BCcNNuM_.cjs → vue-ui-dashboard-D3-z2poA.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DQ8lax7M.js → vue-ui-dashboard-j5IuBHiv.js} +2 -2
- package/dist/{vue-ui-digits-BkXEbzlS.js → vue-ui-digits-BRMuUzSA.js} +2 -2
- package/dist/{vue-ui-digits-D-F0Chxn.cjs → vue-ui-digits-CD5-WopZ.cjs} +1 -1
- package/dist/{vue-ui-donut-qRDAQa4n.js → vue-ui-donut-CdVSree_.js} +229 -219
- package/dist/vue-ui-donut-Dq1F2vBg.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C8ZQum6h.cjs → vue-ui-donut-evolution-BQ7-rOnh.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-YKmsjVkR.js → vue-ui-donut-evolution-DzrJwccW.js} +11 -11
- package/dist/{vue-ui-dumbbell-bOMg4szX.cjs → vue-ui-dumbbell-DSdwbWLI.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-C6OpTSyF.js → vue-ui-dumbbell-DuCdZc41.js} +11 -11
- package/dist/{vue-ui-flow-aIpHJK9l.js → vue-ui-flow-CYpiRQ_u.js} +9 -9
- package/dist/{vue-ui-flow-Bnj7K0Td.cjs → vue-ui-flow-D_UgsB9t.cjs} +1 -1
- package/dist/{vue-ui-funnel-Ckn6d97S.js → vue-ui-funnel-6q79enxr.js} +10 -10
- package/dist/{vue-ui-funnel-CapST2C3.cjs → vue-ui-funnel-Dr4ssgIM.cjs} +1 -1
- package/dist/{vue-ui-galaxy-FIQp4ePf.cjs → vue-ui-galaxy-BGxIGzn8.cjs} +1 -1
- package/dist/{vue-ui-galaxy-0p-jvo0s.js → vue-ui-galaxy-Bg-3xnWe.js} +11 -11
- package/dist/{vue-ui-gauge-CtzP0_kK.js → vue-ui-gauge-Cwhlraja.js} +8 -8
- package/dist/{vue-ui-gauge-C1QU2678.cjs → vue-ui-gauge-DGt25KK7.cjs} +1 -1
- package/dist/{vue-ui-gizmo-D6E03WtQ.cjs → vue-ui-gizmo-C0024J7B.cjs} +1 -1
- package/dist/{vue-ui-gizmo--TFv_z_f.js → vue-ui-gizmo-VRONxCxp.js} +3 -3
- package/dist/{vue-ui-heatmap-DQ_4z6a6.cjs → vue-ui-heatmap-CTwazjkR.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Bx9RCECY.js → vue-ui-heatmap-ay3NAawN.js} +10 -10
- package/dist/{vue-ui-history-plot-OlxcB4fR.js → vue-ui-history-plot-BQ_2NZVm.js} +12 -12
- package/dist/{vue-ui-history-plot-BNybvrYe.cjs → vue-ui-history-plot-B_IHuJff.cjs} +1 -1
- package/dist/{vue-ui-kpi-D-EjjlYh.js → vue-ui-kpi-BGSgE7Ck.js} +3 -3
- package/dist/{vue-ui-kpi-DhsQdhIg.cjs → vue-ui-kpi-BtHmGmj6.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-gsh0jMbc.cjs → vue-ui-mini-loader-Bwe3_hqy.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CYRJtuw3.js → vue-ui-mini-loader-DyRqUv0j.js} +2 -2
- package/dist/{vue-ui-molecule-K4PM7UqE.cjs → vue-ui-molecule-Cy_P0hK2.cjs} +1 -1
- package/dist/{vue-ui-molecule-Dke-JabR.js → vue-ui-molecule-gJVbPM60.js} +10 -10
- package/dist/{vue-ui-mood-radar-CnR7mp7Z.cjs → vue-ui-mood-radar-BxFd74g3.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-sXLyAWIK.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-CJ9r-x9P.js → vue-ui-nested-donuts-r67jsUHC.js} +221 -211
- package/dist/{vue-ui-onion-CVRrdFde.js → vue-ui-onion-C-d1e3w2.js} +12 -12
- package/dist/{vue-ui-onion-DM-jq72Y.cjs → vue-ui-onion-CR4UoiPQ.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DMouPTwE.cjs → vue-ui-parallel-coordinate-plot-DVltec37.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DLVjGpqC.js → vue-ui-parallel-coordinate-plot-FRhJ4mby.js} +13 -13
- package/dist/{vue-ui-quadrant-BGuywSpy.js → vue-ui-quadrant-BKWD8HER.js} +13 -13
- package/dist/{vue-ui-quadrant-CXFcrSRD.cjs → vue-ui-quadrant-D-vSAn7m.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-9R835dAy.cjs → vue-ui-quick-chart-Bbcex3jc.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-D_ZSUMnh.js → vue-ui-quick-chart-Cy3FCnd-.js} +10 -10
- package/dist/{vue-ui-radar-CGSB8Q_3.cjs → vue-ui-radar-BHCghGVU.cjs} +1 -1
- package/dist/{vue-ui-radar-CrF3XMq8.js → vue-ui-radar-BX_7Ngn_.js} +13 -13
- package/dist/{vue-ui-rating-DCH03Nd-.js → vue-ui-rating-CM6YiPW3.js} +2 -2
- package/dist/{vue-ui-rating-BiwEz-WI.cjs → vue-ui-rating-JhzvmHjC.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-D7sKIx2H.cjs → vue-ui-relation-circle-BPhcc_fN.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CFB3nQrw.js → vue-ui-relation-circle-JTWFex69.js} +8 -8
- package/dist/{vue-ui-rings-CMzJJbL7.cjs → vue-ui-rings-CzXIKikH.cjs} +1 -1
- package/dist/{vue-ui-rings-CDFQgsVL.js → vue-ui-rings-NBAca-G8.js} +13 -13
- package/dist/{vue-ui-scatter-CYweE3aN.js → vue-ui-scatter-5SJ4F605.js} +13 -13
- package/dist/{vue-ui-scatter-Cpc9LK6H.cjs → vue-ui-scatter-DCunyG-E.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BRY1fQOv.js → vue-ui-screenshot-DPm6Bpiq.js} +1 -1
- package/dist/{vue-ui-screenshot-BA27Irge.cjs → vue-ui-screenshot-q3DSJ00h.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Dsd0bx0Y.js → vue-ui-skeleton-BhHXiz99.js} +3 -3
- package/dist/{vue-ui-skeleton-CLMRPxZm.cjs → vue-ui-skeleton-D7S6OsSN.cjs} +1 -1
- package/dist/{vue-ui-smiley-CNnxNaGC.cjs → vue-ui-smiley-CQE1dvvV.cjs} +1 -1
- package/dist/{vue-ui-smiley-CeC-WFLx.js → vue-ui-smiley-Cb8d713r.js} +2 -2
- package/dist/{vue-ui-spark-trend-liGslvUe.cjs → vue-ui-spark-trend-7Bo9O1fQ.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-C8FlaTDz.js → vue-ui-spark-trend-BVNEGhp9.js} +5 -5
- package/dist/{vue-ui-sparkbar-BjCkuYB0.js → vue-ui-sparkbar-BbOu_w63.js} +4 -4
- package/dist/{vue-ui-sparkbar-DTUuvjOA.cjs → vue-ui-sparkbar-qAaHy4or.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BBJvgM0r.js → vue-ui-sparkgauge-BwNM15jl.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BEL_6k7M.cjs → vue-ui-sparkgauge-ddRVuzSQ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B12f_DfZ.cjs → vue-ui-sparkhistogram-C8E73uuw.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DgRpgf4S.js → vue-ui-sparkhistogram-DhJ72P8O.js} +5 -5
- package/dist/{vue-ui-sparkline-CgNq3TDg.cjs → vue-ui-sparkline-C6wkmXa0.cjs} +1 -1
- package/dist/{vue-ui-sparkline-COtgfnKN.js → vue-ui-sparkline-m3nNPKwo.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-3qtBnVN-.js → vue-ui-sparkstackbar-B71Vue4E.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-JgTWCear.cjs → vue-ui-sparkstackbar-CJyCwn7x.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BIQOmKWQ.cjs → vue-ui-stackbar-6W0SjyLd.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BzWMNHEl.js → vue-ui-stackbar-CL7KXBrn.js} +14 -14
- package/dist/{vue-ui-strip-plot-Pr-p3HVe.cjs → vue-ui-strip-plot-D10qNzJu.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-B5yz7F4O.js → vue-ui-strip-plot-T99zioSX.js} +12 -12
- package/dist/{vue-ui-table-DfzIKXYz.js → vue-ui-table-CCrE_Qnd.js} +1 -1
- package/dist/{vue-ui-table-Da8yPHbm.cjs → vue-ui-table-Cva4CGRJ.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-B42LEDQq.js → vue-ui-table-heatmap-CQbPKFW_.js} +4 -4
- package/dist/{vue-ui-table-heatmap-m9WunlMI.cjs → vue-ui-table-heatmap-GOsIhgPo.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-D87wVYbh.cjs → vue-ui-table-sparkline-AIunqOTn.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-D0NpqAlx.js → vue-ui-table-sparkline-CHtZhhn6.js} +5 -5
- package/dist/{vue-ui-thermometer-CLrrfpCH.js → vue-ui-thermometer-CCVPdXye.js} +7 -7
- package/dist/{vue-ui-thermometer-CpaWOGHr.cjs → vue-ui-thermometer-CGAA0bAU.cjs} +1 -1
- package/dist/{vue-ui-timer-DJ3N2OIu.cjs → vue-ui-timer-C3detaHT.cjs} +1 -1
- package/dist/{vue-ui-timer-ruhqlCDV.js → vue-ui-timer-Djxb8XuU.js} +6 -6
- package/dist/{vue-ui-tiremarks-By-ZwLdD.cjs → vue-ui-tiremarks-D-xQKhur.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-B1PaJvW_.js → vue-ui-tiremarks-DExuaGwV.js} +7 -7
- package/dist/vue-ui-treemap-BXWbdL3o.cjs +1 -0
- package/dist/vue-ui-treemap-Dnn29Qdu.js +956 -0
- package/dist/{vue-ui-vertical-bar-D51OT6tD.cjs → vue-ui-vertical-bar-3V-J4-Qp.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Bi_p2HMG.js → vue-ui-vertical-bar-B9-cwCz2.js} +13 -13
- package/dist/{vue-ui-waffle-D_OFNFu_.js → vue-ui-waffle-BH4NkBmK.js} +13 -13
- package/dist/{vue-ui-waffle-BRFWNTTy.cjs → vue-ui-waffle-by6o3KnD.cjs} +1 -1
- package/dist/{vue-ui-wheel-Dm-sn-fc.js → vue-ui-wheel-D2BqDvNB.js} +8 -8
- package/dist/{vue-ui-wheel-C_0xODX0.cjs → vue-ui-wheel-DWNHihoO.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-WO_xGFwd.js → vue-ui-word-cloud-Bpyn_t-K.js} +11 -11
- package/dist/{vue-ui-word-cloud-CpbPC0k6.cjs → vue-ui-word-cloud-DvXgJCIv.cjs} +1 -1
- package/dist/{vue-ui-xy-DYGsBFzv.js → vue-ui-xy-CuLfvdAU.js} +14 -14
- package/dist/{vue-ui-xy-canvas-SpUUvBPW.js → vue-ui-xy-canvas-BK3C3PqR.js} +13 -13
- package/dist/{vue-ui-xy-canvas-DCFJnGtu.cjs → vue-ui-xy-canvas-bysKB96p.cjs} +1 -1
- package/dist/{vue-ui-xy-ArWU04zz.cjs → vue-ui-xy-luOYkYWO.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-BXhJaCcU.cjs +0 -9
- package/dist/useResponsive-N8jl0-aC.cjs +0 -1
- package/dist/useResponsive-vZgZwV-S.js +0 -191
- package/dist/vue-ui-donut-Dxie1WUb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DW1Zx5R0.cjs +0 -17
- package/dist/vue-ui-treemap-B3_lUi3B.js +0 -939
- package/dist/vue-ui-treemap-DX_oIHsl.cjs +0 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { computed 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 { u as
|
|
16
|
-
import { _ as
|
|
17
|
-
const
|
|
1
|
+
import { computed as b, ref as i, watch as Ue, onMounted as st, onBeforeUnmount as ut, createElementBlock as n, openBlock as u, unref as r, normalizeStyle as K, normalizeClass as P, createBlock as D, createCommentVNode as f, createVNode as Re, createSlots as nt, withCtx as g, renderSlot as m, normalizeProps as V, guardReactiveProps as M, createElementVNode as k, Fragment as C, renderList as F, toDisplayString as S, createTextVNode as Q, nextTick as rt } from "vue";
|
|
2
|
+
import { u as it, c as dt, t as vt, p as Z, a as ct, o as ft, e as U, b as ht, J as Be, d as yt, m as Ee, f as x, X as pt, s as Ge, L as bt, k as ie, n as R, i as E, x as Ye, q as gt, r as mt, y as kt } from "./index-KdQpiTkm.js";
|
|
3
|
+
import { t as wt, u as $t } from "./useResponsive-Cw4oZ8sQ.js";
|
|
4
|
+
import { _ as Lt } from "./Title-DMhhB9yN.js";
|
|
5
|
+
import { u as Ct, U as xt } from "./usePrinter-BuiF8wZK.js";
|
|
6
|
+
import { D as _t } from "./DataTable-751-cN2c.js";
|
|
7
|
+
import { _ as Tt } from "./Tooltip-BaPecnnV.js";
|
|
8
|
+
import { L as Ft } from "./Legend-BG9fLat9.js";
|
|
9
|
+
import Nt from "./vue-ui-skeleton-BhHXiz99.js";
|
|
10
|
+
import St from "./vue-ui-accordion-CDTJiQu0.js";
|
|
11
|
+
import { u as Xe } from "./useNestedProp-CO8Pe266.js";
|
|
12
|
+
import { _ as Ot } from "./PackageVersion-SrpgZayt.js";
|
|
13
|
+
import { P as At } from "./PenAndPaper-jnD991LP.js";
|
|
14
|
+
import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { u as Pt } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
+
import { _ as Dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["id"], Rt = ["offset", "stop-color"], Bt = ["offset", "stop-opacity"], Et = ["id"], Gt = ["id"], Yt = ["id"], Xt = ["flood-color"], Ht = ["d", "fill", "stroke", "stroke-width", "filter"], Wt = { key: 1 }, qt = ["d", "fill"], Jt = { key: 2 }, Kt = ["x", "y", "font-size", "font-weight", "fill"], Qt = { key: 3 }, Zt = ["filter"], jt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], el = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], tl = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], ll = ["d", "fill", "onMouseenter", "onClick"], al = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
20
|
+
}, ol = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "vue-ui-nested-donuts-legend-title"
|
|
23
|
-
},
|
|
23
|
+
}, sl = ["onClick"], ul = ["innerHTML"], nl = {
|
|
24
24
|
__name: "vue-ui-nested-donuts",
|
|
25
25
|
props: {
|
|
26
26
|
config: {
|
|
@@ -37,47 +37,57 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
emits: ["selectLegend", "selectDatapoint"],
|
|
40
|
-
setup(
|
|
41
|
-
const { vue_ui_nested_donuts:
|
|
42
|
-
function
|
|
40
|
+
setup(He, { expose: We, emit: qe }) {
|
|
41
|
+
const { vue_ui_nested_donuts: Je } = it(), O = He, G = b(() => !!O.dataset && O.dataset.length), $ = i(dt()), j = i(!1), ee = i(""), Ke = i(null), de = i(0), B = i(null), ve = i(null), te = i(null), ce = i(null), fe = i(null), he = i(0), ye = i(0), pe = i(0), z = i(!1);
|
|
42
|
+
function Qe(t) {
|
|
43
43
|
z.value = t, de.value += 1;
|
|
44
44
|
}
|
|
45
|
-
const e =
|
|
45
|
+
const e = b({
|
|
46
46
|
get: () => ke(),
|
|
47
47
|
set: (t) => t
|
|
48
|
-
}), { userOptionsVisible: le, setUserOptionsVisibility: be, keepUserOptionState: ge } =
|
|
48
|
+
}), { userOptionsVisible: le, setUserOptionsVisibility: be, keepUserOptionState: ge } = It({ config: e.value }), { svgRef: me } = Pt({ config: e.value.style.chart.title });
|
|
49
49
|
function ke() {
|
|
50
|
-
const t =
|
|
50
|
+
const t = Xe({
|
|
51
51
|
userConfig: O.config,
|
|
52
|
-
defaultConfig:
|
|
52
|
+
defaultConfig: Je
|
|
53
53
|
});
|
|
54
54
|
return t.theme ? {
|
|
55
|
-
...
|
|
56
|
-
userConfig:
|
|
55
|
+
...Xe({
|
|
56
|
+
userConfig: ct.vue_ui_nested_donuts[t.theme] || O.config,
|
|
57
57
|
defaultConfig: t
|
|
58
58
|
}),
|
|
59
|
-
customPalette:
|
|
59
|
+
customPalette: vt[t.theme] || Z
|
|
60
60
|
} : t;
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
e.value = ke(), le.value = !e.value.userOptions.showOnChartHover,
|
|
62
|
+
Ue(() => O.config, (t) => {
|
|
63
|
+
e.value = ke(), le.value = !e.value.userOptions.showOnChartHover, $e(), he.value += 1, ye.value += 1, pe.value += 1, y.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, y.value.showTable = e.value.table.show, y.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
64
64
|
}, { deep: !0 });
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
const we = b(() => {
|
|
66
|
+
const { top: t, right: s, bottom: a, left: o } = e.value.style.chart.padding;
|
|
67
|
+
return {
|
|
68
|
+
css: `padding:${t}px ${s}px ${a}px ${o}px`,
|
|
69
|
+
top: t,
|
|
70
|
+
right: s,
|
|
71
|
+
bottom: a,
|
|
72
|
+
left: o
|
|
73
|
+
};
|
|
74
|
+
}), Y = i(null);
|
|
75
|
+
st(() => {
|
|
76
|
+
$e();
|
|
68
77
|
});
|
|
69
|
-
function
|
|
70
|
-
if (
|
|
78
|
+
function $e() {
|
|
79
|
+
if (ft(O.dataset) && U({
|
|
71
80
|
componentName: "VueUiNestedDonuts",
|
|
72
81
|
type: "dataset"
|
|
73
82
|
}), e.value.responsive) {
|
|
74
|
-
const t =
|
|
75
|
-
const { width: s, height: a } =
|
|
83
|
+
const t = wt(() => {
|
|
84
|
+
const { width: s, height: a } = $t({
|
|
76
85
|
chart: B.value,
|
|
77
86
|
title: e.value.style.chart.title.text ? ve.value : null,
|
|
78
87
|
legend: e.value.style.chart.legend.show ? te.value : null,
|
|
79
88
|
source: ce.value,
|
|
80
|
-
noTitle: fe.value
|
|
89
|
+
noTitle: fe.value,
|
|
90
|
+
padding: we.value
|
|
81
91
|
});
|
|
82
92
|
requestAnimationFrame(() => {
|
|
83
93
|
c.value.width = s, c.value.height = a;
|
|
@@ -86,14 +96,14 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
86
96
|
Y.value = new ResizeObserver(t), Y.value.observe(B.value.parentNode);
|
|
87
97
|
}
|
|
88
98
|
}
|
|
89
|
-
|
|
99
|
+
ut(() => {
|
|
90
100
|
Y.value && Y.value.disconnect();
|
|
91
101
|
});
|
|
92
|
-
const { isPrinting:
|
|
102
|
+
const { isPrinting: Le, isImaging: Ce, generatePdf: xe, generateImage: _e } = Ct({
|
|
93
103
|
elementId: `nested_donuts_${$.value}`,
|
|
94
104
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
|
|
95
105
|
options: e.value.userOptions.print
|
|
96
|
-
}),
|
|
106
|
+
}), Ze = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), je = b(() => ht(e.value.customPalette)), y = i({
|
|
97
107
|
dataLabels: {
|
|
98
108
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
99
109
|
},
|
|
@@ -102,11 +112,11 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
102
112
|
}), c = i({
|
|
103
113
|
height: 512,
|
|
104
114
|
width: 512
|
|
105
|
-
}),
|
|
106
|
-
function
|
|
107
|
-
|
|
115
|
+
}), Te = qe;
|
|
116
|
+
function et({ datapoint: t, index: s }) {
|
|
117
|
+
Te("selectDatapoint", { datapoint: t, index: s });
|
|
108
118
|
}
|
|
109
|
-
const p = i([]), _ =
|
|
119
|
+
const p = i([]), _ = b(() => (O.dataset.forEach((t, s) => {
|
|
110
120
|
[null, void 0].includes(t.name) && U({
|
|
111
121
|
componentName: "VueUiNestedDonuts",
|
|
112
122
|
type: "datasetSerieAttribute",
|
|
@@ -138,7 +148,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
138
148
|
});
|
|
139
149
|
}), O.dataset.map((t, s) => ({
|
|
140
150
|
...t,
|
|
141
|
-
total: t.series.filter((a) => !p.value.includes(a.id)).map((a) =>
|
|
151
|
+
total: t.series.filter((a) => !p.value.includes(a.id)).map((a) => Be(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
|
|
142
152
|
datasetIndex: s,
|
|
143
153
|
id: `${$.value}_${s}`,
|
|
144
154
|
series: t.series.map((a, o) => ({
|
|
@@ -148,11 +158,11 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
148
158
|
id: `${$.value}_${s}_${o}`,
|
|
149
159
|
seriesIndex: o,
|
|
150
160
|
datasetIndex: s,
|
|
151
|
-
color:
|
|
152
|
-
value:
|
|
161
|
+
color: yt(a.color) || je.value[o] || Z[o] || Z[o % Z.length],
|
|
162
|
+
value: Be(a.values).reduce((l, d) => l + d, 0),
|
|
153
163
|
absoluteValues: a.values || []
|
|
154
164
|
}))
|
|
155
|
-
})))), T =
|
|
165
|
+
})))), T = b(() => Math.min(c.value.height, c.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), Fe = b(() => [..._.value].map((t, s) => {
|
|
156
166
|
const a = t.series.filter((o) => !p.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
|
|
157
167
|
return {
|
|
158
168
|
...t,
|
|
@@ -163,23 +173,23 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
163
173
|
}))
|
|
164
174
|
};
|
|
165
175
|
}));
|
|
166
|
-
function
|
|
176
|
+
function tt(t, s, a) {
|
|
167
177
|
let o = 0;
|
|
168
178
|
for (let l = 0; l < t.length; l += 1)
|
|
169
179
|
a.includes(t[l]) && (o += 1);
|
|
170
180
|
return o < s;
|
|
171
181
|
}
|
|
172
|
-
const h = i(
|
|
173
|
-
|
|
174
|
-
const
|
|
182
|
+
const h = i(Fe.value);
|
|
183
|
+
Ue(() => Fe.value, (t) => h.value = t);
|
|
184
|
+
const Ne = i(null), Se = i(null);
|
|
175
185
|
function ae(t) {
|
|
176
|
-
|
|
186
|
+
Te("selectLegend", t);
|
|
177
187
|
const s = _.value.flatMap((v) => v.series).find((v) => v.id === t.id), a = h.value.flatMap((v) => v.series).find((v) => v.id === t.id);
|
|
178
188
|
let l = a ? a.value : 0;
|
|
179
|
-
const d = _.value.find((v) => v.id === s.arcOfId).series.map((v) => v.id),
|
|
189
|
+
const d = _.value.find((v) => v.id === s.arcOfId).series.map((v) => v.id), w = tt(d, d.length - 1, p.value);
|
|
180
190
|
if (p.value.includes(t.id)) {
|
|
181
191
|
let v = function() {
|
|
182
|
-
l > s.value ? (cancelAnimationFrame(
|
|
192
|
+
l > s.value ? (cancelAnimationFrame(Ne.value), h.value = h.value.map((L) => ({
|
|
183
193
|
...L,
|
|
184
194
|
series: L.series.map((N) => N.id == t.id ? {
|
|
185
195
|
...N,
|
|
@@ -191,12 +201,12 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
191
201
|
...N,
|
|
192
202
|
value: l
|
|
193
203
|
} : N)
|
|
194
|
-
})),
|
|
204
|
+
})), Ne.value = requestAnimationFrame(v));
|
|
195
205
|
};
|
|
196
206
|
p.value = p.value.filter((L) => L !== t.id), v();
|
|
197
|
-
} else if (
|
|
207
|
+
} else if (w) {
|
|
198
208
|
let v = function() {
|
|
199
|
-
l < 0.1 ? (cancelAnimationFrame(
|
|
209
|
+
l < 0.1 ? (cancelAnimationFrame(Se.value), p.value.push(t.id), h.value = h.value.map((L, N) => ({
|
|
200
210
|
...L,
|
|
201
211
|
series: L.series.map((I) => I.id === t.id ? {
|
|
202
212
|
...I,
|
|
@@ -208,17 +218,17 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
208
218
|
...I,
|
|
209
219
|
value: l
|
|
210
220
|
} : I)
|
|
211
|
-
})),
|
|
221
|
+
})), Se.value = requestAnimationFrame(v));
|
|
212
222
|
};
|
|
213
223
|
v();
|
|
214
224
|
}
|
|
215
225
|
}
|
|
216
|
-
const oe =
|
|
226
|
+
const oe = b(() => T.value / _.value.length * e.value.style.chart.layout.donut.spacingRatio), Oe = b(() => h.value.map((t, s) => T.value - s * T.value / _.value.length)), X = b(() => h.value.map((t, s) => {
|
|
217
227
|
const a = s * T.value / _.value.length;
|
|
218
228
|
return {
|
|
219
229
|
...t,
|
|
220
230
|
radius: T.value - a,
|
|
221
|
-
donut:
|
|
231
|
+
donut: Ee(
|
|
222
232
|
{ series: t.series },
|
|
223
233
|
c.value.width / 2,
|
|
224
234
|
c.value.height / 2,
|
|
@@ -232,11 +242,11 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
232
242
|
oe.value
|
|
233
243
|
)
|
|
234
244
|
};
|
|
235
|
-
})),
|
|
245
|
+
})), Ae = b(() => [..._.value].map((t, s) => {
|
|
236
246
|
const a = s * T.value / _.value.length;
|
|
237
247
|
return {
|
|
238
248
|
sizeRatio: a,
|
|
239
|
-
donut:
|
|
249
|
+
donut: Ee(
|
|
240
250
|
{ series: [{ value: 1 }] },
|
|
241
251
|
c.value.width / 2,
|
|
242
252
|
c.value.height / 2,
|
|
@@ -250,16 +260,16 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
250
260
|
T.value / _.value.length * e.value.style.chart.layout.donut.spacingRatio
|
|
251
261
|
)[0]
|
|
252
262
|
};
|
|
253
|
-
})),
|
|
254
|
-
function
|
|
255
|
-
|
|
263
|
+
})), Ie = i(null), H = i(null), W = i(null), se = i(null);
|
|
264
|
+
function lt({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
|
|
265
|
+
Ie.value = t.arcOfId, H.value = t.id, W.value = a, se.value = {
|
|
256
266
|
datapoint: t,
|
|
257
267
|
seriesIndex: a,
|
|
258
268
|
series: h.value,
|
|
259
269
|
config: e.value
|
|
260
270
|
};
|
|
261
271
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
262
|
-
if (
|
|
272
|
+
if (Ye(o) && kt(() => o({
|
|
263
273
|
seriesIndex: a,
|
|
264
274
|
datapoint: t,
|
|
265
275
|
series: h.value,
|
|
@@ -274,17 +284,17 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
274
284
|
else {
|
|
275
285
|
let l = "";
|
|
276
286
|
if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0) {
|
|
277
|
-
const d = h.value.map((
|
|
278
|
-
d.forEach((
|
|
279
|
-
if (!
|
|
287
|
+
const d = h.value.map((w) => w.series.find((v) => v.seriesIndex === a));
|
|
288
|
+
d.forEach((w, v) => {
|
|
289
|
+
if (!w) return "";
|
|
280
290
|
l += `
|
|
281
291
|
<div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${v < d.length - 1 ? `border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor}` : ""}">
|
|
282
292
|
<div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
|
|
283
293
|
<svg viewBox="0 0 20 20" height="${e.value.style.chart.tooltip.fontSize}" width="${e.value.style.chart.tooltip.fontSize}">
|
|
284
|
-
<circle cx="10" cy="10" r="10" fill="${
|
|
294
|
+
<circle cx="10" cy="10" r="10" fill="${w.color}"/>
|
|
285
295
|
</svg>
|
|
286
296
|
<span>
|
|
287
|
-
${
|
|
297
|
+
${w.arcOf ?? ""} - ${w.name}
|
|
288
298
|
</span>
|
|
289
299
|
</div>
|
|
290
300
|
<span>
|
|
@@ -301,7 +311,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
301
311
|
)}
|
|
302
312
|
</b>` : ""}
|
|
303
313
|
${e.value.style.chart.tooltip.showPercentage ? `(${x({
|
|
304
|
-
v:
|
|
314
|
+
v: w.proportion * 100,
|
|
305
315
|
s: "%",
|
|
306
316
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
307
317
|
})})` : ""}
|
|
@@ -336,7 +346,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
336
346
|
function ue(t) {
|
|
337
347
|
return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
338
348
|
}
|
|
339
|
-
function
|
|
349
|
+
function Pe(t, s) {
|
|
340
350
|
if (!e.value.useBlurOnHover)
|
|
341
351
|
return "";
|
|
342
352
|
if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0)
|
|
@@ -344,7 +354,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
344
354
|
if (!e.value.style.chart.tooltip.showAllItemsAtIndex || p.value.length)
|
|
345
355
|
return [null, void 0].includes(H.value) || H.value === t.id ? "" : `url(#blur_${$.value})`;
|
|
346
356
|
}
|
|
347
|
-
const ne =
|
|
357
|
+
const ne = b(() => _.value.map((t, s) => t.series.map((a, o) => ({
|
|
348
358
|
name: a.name,
|
|
349
359
|
color: a.color,
|
|
350
360
|
value: a.value,
|
|
@@ -359,14 +369,14 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
359
369
|
opacity: p.value.includes(a.id) ? 0.5 : 1,
|
|
360
370
|
segregate: () => ae(a),
|
|
361
371
|
isSegregated: p.value.includes(a.id)
|
|
362
|
-
})))),
|
|
372
|
+
})))), at = b(() => ({
|
|
363
373
|
cy: "nested-donuts-legend",
|
|
364
374
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
365
375
|
color: e.value.style.chart.legend.color,
|
|
366
376
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
367
377
|
paddingBottom: 12,
|
|
368
378
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
369
|
-
})), A =
|
|
379
|
+
})), A = b(() => {
|
|
370
380
|
const t = h.value.flatMap((a) => a.series.map((o) => ({
|
|
371
381
|
name: `${a.name} - ${o.name}`,
|
|
372
382
|
color: o.color,
|
|
@@ -374,27 +384,27 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
374
384
|
}))), s = h.value.flatMap((a) => a.series.map((o) => o.value));
|
|
375
385
|
return { head: t, body: s };
|
|
376
386
|
});
|
|
377
|
-
function
|
|
378
|
-
|
|
387
|
+
function De() {
|
|
388
|
+
rt(() => {
|
|
379
389
|
const t = A.value.head.map((o, l) => [[
|
|
380
390
|
o.name
|
|
381
|
-
], [A.value.body[l]], [isNaN(A.value.body[l] / o.total) ? "-" : A.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a =
|
|
382
|
-
|
|
391
|
+
], [A.value.body[l]], [isNaN(A.value.body[l] / o.total) ? "-" : A.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = gt(s);
|
|
392
|
+
mt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
|
|
383
393
|
});
|
|
384
394
|
}
|
|
385
|
-
const q =
|
|
395
|
+
const q = b(() => {
|
|
386
396
|
const t = [
|
|
387
397
|
e.value.table.columnNames.series,
|
|
388
398
|
e.value.table.columnNames.value,
|
|
389
399
|
e.value.table.columnNames.percentage
|
|
390
400
|
], s = A.value.head.map((l, d) => {
|
|
391
|
-
const
|
|
401
|
+
const w = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[d], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
392
402
|
return [
|
|
393
403
|
{
|
|
394
404
|
color: l.color,
|
|
395
405
|
name: l.name
|
|
396
406
|
},
|
|
397
|
-
|
|
407
|
+
w,
|
|
398
408
|
isNaN(A.value.body[d] / l.total) ? "-" : x({
|
|
399
409
|
v: A.value.body[d] / l.total * 100,
|
|
400
410
|
s: "%",
|
|
@@ -425,30 +435,30 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
425
435
|
config: a
|
|
426
436
|
};
|
|
427
437
|
});
|
|
428
|
-
function
|
|
438
|
+
function ot() {
|
|
429
439
|
return _.value;
|
|
430
440
|
}
|
|
431
|
-
function
|
|
441
|
+
function ze() {
|
|
432
442
|
y.value.showTable = !y.value.showTable;
|
|
433
443
|
}
|
|
434
|
-
function
|
|
444
|
+
function Ve() {
|
|
435
445
|
y.value.dataLabels.show = !y.value.dataLabels.show;
|
|
436
446
|
}
|
|
437
|
-
function
|
|
447
|
+
function Me() {
|
|
438
448
|
y.value.showTooltip = !y.value.showTooltip;
|
|
439
449
|
}
|
|
440
450
|
const J = i(!1);
|
|
441
451
|
function re() {
|
|
442
452
|
J.value = !J.value;
|
|
443
453
|
}
|
|
444
|
-
return
|
|
445
|
-
getData:
|
|
446
|
-
generatePdf:
|
|
447
|
-
generateCsv:
|
|
448
|
-
generateImage:
|
|
449
|
-
toggleTable:
|
|
450
|
-
toggleLabels:
|
|
451
|
-
toggleTooltip:
|
|
454
|
+
return We({
|
|
455
|
+
getData: ot,
|
|
456
|
+
generatePdf: xe,
|
|
457
|
+
generateCsv: De,
|
|
458
|
+
generateImage: _e,
|
|
459
|
+
toggleTable: ze,
|
|
460
|
+
toggleLabels: Ve,
|
|
461
|
+
toggleTooltip: Me,
|
|
452
462
|
toggleAnnotator: re
|
|
453
463
|
}), (t, s) => (u(), n("div", {
|
|
454
464
|
ref_key: "nestedDonutsChart",
|
|
@@ -459,7 +469,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
459
469
|
onMouseenter: s[3] || (s[3] = () => r(be)(!0)),
|
|
460
470
|
onMouseleave: s[4] || (s[4] = () => r(be)(!1))
|
|
461
471
|
}, [
|
|
462
|
-
e.value.userOptions.buttons.annotator ? (u(), D(
|
|
472
|
+
e.value.userOptions.buttons.annotator ? (u(), D(At, {
|
|
463
473
|
key: 0,
|
|
464
474
|
svgRef: r(me),
|
|
465
475
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -467,7 +477,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
467
477
|
active: J.value,
|
|
468
478
|
onClose: re
|
|
469
479
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
470
|
-
|
|
480
|
+
Ze.value ? (u(), n("div", {
|
|
471
481
|
key: 1,
|
|
472
482
|
ref_key: "noTitle",
|
|
473
483
|
ref: fe,
|
|
@@ -479,7 +489,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
479
489
|
ref_key: "chartTitle",
|
|
480
490
|
ref: ve
|
|
481
491
|
}, [
|
|
482
|
-
(u(), D(
|
|
492
|
+
(u(), D(Lt, {
|
|
483
493
|
key: `title_${he.value}`,
|
|
484
494
|
config: {
|
|
485
495
|
title: {
|
|
@@ -493,13 +503,13 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
493
503
|
}
|
|
494
504
|
}, null, 8, ["config"]))
|
|
495
505
|
], 512)) : f("", !0),
|
|
496
|
-
e.value.userOptions.show && G.value && (r(ge) || r(le)) ? (u(), D(
|
|
506
|
+
e.value.userOptions.show && G.value && (r(ge) || r(le)) ? (u(), D(xt, {
|
|
497
507
|
ref: "details",
|
|
498
508
|
key: `user_option_${de.value}`,
|
|
499
509
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
500
510
|
color: e.value.style.chart.color,
|
|
501
|
-
isPrinting: r(
|
|
502
|
-
isImaging: r(
|
|
511
|
+
isPrinting: r(Le),
|
|
512
|
+
isImaging: r(Ce),
|
|
503
513
|
uid: $.value,
|
|
504
514
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
505
515
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -515,78 +525,78 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
515
525
|
position: e.value.userOptions.position,
|
|
516
526
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
517
527
|
isAnnotation: J.value,
|
|
518
|
-
onToggleFullscreen:
|
|
519
|
-
onGeneratePdf: r(
|
|
520
|
-
onGenerateCsv:
|
|
521
|
-
onGenerateImage: r(
|
|
522
|
-
onToggleTable:
|
|
523
|
-
onToggleLabels:
|
|
524
|
-
onToggleTooltip:
|
|
528
|
+
onToggleFullscreen: Qe,
|
|
529
|
+
onGeneratePdf: r(xe),
|
|
530
|
+
onGenerateCsv: De,
|
|
531
|
+
onGenerateImage: r(_e),
|
|
532
|
+
onToggleTable: ze,
|
|
533
|
+
onToggleLabels: Ve,
|
|
534
|
+
onToggleTooltip: Me,
|
|
525
535
|
onToggleAnnotator: re,
|
|
526
536
|
style: K({
|
|
527
537
|
visibility: r(ge) ? r(le) ? "visible" : "hidden" : "visible"
|
|
528
538
|
})
|
|
529
|
-
},
|
|
539
|
+
}, nt({ _: 2 }, [
|
|
530
540
|
t.$slots.menuIcon ? {
|
|
531
541
|
name: "menuIcon",
|
|
532
|
-
fn:
|
|
533
|
-
|
|
542
|
+
fn: g(({ isOpen: a, color: o }) => [
|
|
543
|
+
m(t.$slots, "menuIcon", V(M({ isOpen: a, color: o })), void 0, !0)
|
|
534
544
|
]),
|
|
535
545
|
key: "0"
|
|
536
546
|
} : void 0,
|
|
537
547
|
t.$slots.optionTooltip ? {
|
|
538
548
|
name: "optionTooltip",
|
|
539
|
-
fn:
|
|
540
|
-
|
|
549
|
+
fn: g(() => [
|
|
550
|
+
m(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
541
551
|
]),
|
|
542
552
|
key: "1"
|
|
543
553
|
} : void 0,
|
|
544
554
|
t.$slots.optionPdf ? {
|
|
545
555
|
name: "optionPdf",
|
|
546
|
-
fn:
|
|
547
|
-
|
|
556
|
+
fn: g(() => [
|
|
557
|
+
m(t.$slots, "optionPdf", {}, void 0, !0)
|
|
548
558
|
]),
|
|
549
559
|
key: "2"
|
|
550
560
|
} : void 0,
|
|
551
561
|
t.$slots.optionCsv ? {
|
|
552
562
|
name: "optionCsv",
|
|
553
|
-
fn:
|
|
554
|
-
|
|
563
|
+
fn: g(() => [
|
|
564
|
+
m(t.$slots, "optionCsv", {}, void 0, !0)
|
|
555
565
|
]),
|
|
556
566
|
key: "3"
|
|
557
567
|
} : void 0,
|
|
558
568
|
t.$slots.optionImg ? {
|
|
559
569
|
name: "optionImg",
|
|
560
|
-
fn:
|
|
561
|
-
|
|
570
|
+
fn: g(() => [
|
|
571
|
+
m(t.$slots, "optionImg", {}, void 0, !0)
|
|
562
572
|
]),
|
|
563
573
|
key: "4"
|
|
564
574
|
} : void 0,
|
|
565
575
|
t.$slots.optionTable ? {
|
|
566
576
|
name: "optionTable",
|
|
567
|
-
fn:
|
|
568
|
-
|
|
577
|
+
fn: g(() => [
|
|
578
|
+
m(t.$slots, "optionTable", {}, void 0, !0)
|
|
569
579
|
]),
|
|
570
580
|
key: "5"
|
|
571
581
|
} : void 0,
|
|
572
582
|
t.$slots.optionLabels ? {
|
|
573
583
|
name: "optionLabels",
|
|
574
|
-
fn:
|
|
575
|
-
|
|
584
|
+
fn: g(() => [
|
|
585
|
+
m(t.$slots, "optionLabels", {}, void 0, !0)
|
|
576
586
|
]),
|
|
577
587
|
key: "6"
|
|
578
588
|
} : void 0,
|
|
579
589
|
t.$slots.optionFullscreen ? {
|
|
580
590
|
name: "optionFullscreen",
|
|
581
|
-
fn:
|
|
582
|
-
|
|
591
|
+
fn: g(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
592
|
+
m(t.$slots, "optionFullscreen", V(M({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
583
593
|
]),
|
|
584
594
|
key: "7"
|
|
585
595
|
} : void 0,
|
|
586
596
|
t.$slots.optionAnnotator ? {
|
|
587
597
|
name: "optionAnnotator",
|
|
588
|
-
fn:
|
|
589
|
-
|
|
598
|
+
fn: g(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
599
|
+
m(t.$slots, "optionAnnotator", V(M({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
590
600
|
]),
|
|
591
601
|
key: "8"
|
|
592
602
|
} : void 0
|
|
@@ -595,12 +605,12 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
595
605
|
key: 4,
|
|
596
606
|
ref_key: "svgRef",
|
|
597
607
|
ref: me,
|
|
598
|
-
xmlns: r(
|
|
608
|
+
xmlns: r(pt),
|
|
599
609
|
class: P({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
|
|
600
610
|
viewBox: `0 0 ${c.value.width <= 0 ? 1e-3 : c.value.width} ${c.value.height < 0 ? 1e-3 : c.value.height}`,
|
|
601
|
-
style: K(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
611
|
+
style: K(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${we.value.css}`)
|
|
602
612
|
}, [
|
|
603
|
-
|
|
613
|
+
Re(Ot),
|
|
604
614
|
t.$slots["chart-background"] ? (u(), n("foreignObject", {
|
|
605
615
|
key: 0,
|
|
606
616
|
x: 0,
|
|
@@ -611,88 +621,88 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
611
621
|
pointerEvents: "none"
|
|
612
622
|
}
|
|
613
623
|
}, [
|
|
614
|
-
|
|
615
|
-
], 8,
|
|
616
|
-
|
|
617
|
-
(u(!0), n(C, null, F(
|
|
624
|
+
m(t.$slots, "chart-background", {}, void 0, !0)
|
|
625
|
+
], 8, Mt)) : f("", !0),
|
|
626
|
+
k("defs", null, [
|
|
627
|
+
(u(!0), n(C, null, F(Ae.value, (a, o) => (u(), n("radialGradient", {
|
|
618
628
|
id: `radial_${$.value}_${o}`
|
|
619
629
|
}, [
|
|
620
|
-
s[5] || (s[5] =
|
|
630
|
+
s[5] || (s[5] = k("stop", {
|
|
621
631
|
offset: "0%",
|
|
622
632
|
"stop-color": "#FFFFFF",
|
|
623
633
|
"stop-opacity": "0"
|
|
624
634
|
}, null, -1)),
|
|
625
|
-
|
|
626
|
-
offset: `${(1 - oe.value /
|
|
627
|
-
"stop-color": r(
|
|
635
|
+
k("stop", {
|
|
636
|
+
offset: `${(1 - oe.value / Oe.value[o]) * 100}%`,
|
|
637
|
+
"stop-color": r(Ge)("#FFFFFF", 0),
|
|
628
638
|
"stop-opacity": "0"
|
|
629
|
-
}, null, 8,
|
|
630
|
-
|
|
631
|
-
offset: `${(1 - oe.value /
|
|
639
|
+
}, null, 8, Rt),
|
|
640
|
+
k("stop", {
|
|
641
|
+
offset: `${(1 - oe.value / Oe.value[o] / 2) * 100}%`,
|
|
632
642
|
"stop-color": "#FFFFFF",
|
|
633
643
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
634
|
-
}, null, 8,
|
|
635
|
-
s[6] || (s[6] =
|
|
644
|
+
}, null, 8, Bt),
|
|
645
|
+
s[6] || (s[6] = k("stop", {
|
|
636
646
|
offset: "100%",
|
|
637
647
|
"stop-color": "#FFFFFF",
|
|
638
648
|
"stop-opacity": "0"
|
|
639
649
|
}, null, -1))
|
|
640
|
-
], 8,
|
|
650
|
+
], 8, Ut))), 256))
|
|
641
651
|
]),
|
|
642
|
-
|
|
643
|
-
|
|
652
|
+
k("defs", null, [
|
|
653
|
+
k("filter", {
|
|
644
654
|
id: `blur_${$.value}`,
|
|
645
655
|
x: "-50%",
|
|
646
656
|
y: "-50%",
|
|
647
657
|
width: "200%",
|
|
648
658
|
height: "200%"
|
|
649
659
|
}, [
|
|
650
|
-
|
|
660
|
+
k("feGaussianBlur", {
|
|
651
661
|
in: "SourceGraphic",
|
|
652
662
|
stdDeviation: 2,
|
|
653
663
|
id: `blur_std_${$.value}`
|
|
654
|
-
}, null, 8,
|
|
655
|
-
s[7] || (s[7] =
|
|
664
|
+
}, null, 8, Gt),
|
|
665
|
+
s[7] || (s[7] = k("feColorMatrix", {
|
|
656
666
|
type: "saturate",
|
|
657
667
|
values: "0"
|
|
658
668
|
}, null, -1))
|
|
659
|
-
], 8,
|
|
660
|
-
|
|
669
|
+
], 8, Et),
|
|
670
|
+
k("filter", {
|
|
661
671
|
id: `shadow_${$.value}`,
|
|
662
672
|
"color-interpolation-filters": "sRGB"
|
|
663
673
|
}, [
|
|
664
|
-
|
|
674
|
+
k("feDropShadow", {
|
|
665
675
|
dx: "0",
|
|
666
676
|
dy: "0",
|
|
667
677
|
stdDeviation: "10",
|
|
668
678
|
"flood-opacity": "0.5",
|
|
669
679
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
670
|
-
}, null, 8,
|
|
671
|
-
], 8,
|
|
680
|
+
}, null, 8, Xt)
|
|
681
|
+
], 8, Yt)
|
|
672
682
|
]),
|
|
673
683
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
674
684
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
675
|
-
|
|
685
|
+
k("path", {
|
|
676
686
|
class: "vue-ui-donut-arc-path",
|
|
677
687
|
d: l.arcSlice,
|
|
678
|
-
fill: r(
|
|
688
|
+
fill: r(Ge)(l.color, 80),
|
|
679
689
|
stroke: e.value.style.chart.backgroundColor,
|
|
680
690
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
681
|
-
filter:
|
|
682
|
-
}, null, 8,
|
|
691
|
+
filter: Pe(l, d)
|
|
692
|
+
}, null, 8, Ht)
|
|
683
693
|
]))), 256))
|
|
684
694
|
]))), 256)),
|
|
685
|
-
e.value.style.chart.useGradient ? (u(), n("g",
|
|
686
|
-
(u(!0), n(C, null, F(
|
|
687
|
-
|
|
695
|
+
e.value.style.chart.useGradient ? (u(), n("g", Wt, [
|
|
696
|
+
(u(!0), n(C, null, F(Ae.value, (a, o) => (u(), n("g", null, [
|
|
697
|
+
k("path", {
|
|
688
698
|
d: a.donut.arcSlice,
|
|
689
699
|
fill: `url(#radial_${$.value}_${o})`,
|
|
690
700
|
stroke: "transparent",
|
|
691
701
|
"stroke-width": "0"
|
|
692
|
-
}, null, 8,
|
|
702
|
+
}, null, 8, qt)
|
|
693
703
|
]))), 256))
|
|
694
704
|
])) : f("", !0),
|
|
695
|
-
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g",
|
|
705
|
+
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Jt, [
|
|
696
706
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
697
707
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
698
708
|
d === 0 && c.value.width && c.value.height ? (u(), n("text", {
|
|
@@ -704,14 +714,14 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
704
714
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
705
715
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
706
716
|
fill: e.value.style.chart.layout.labels.dataLabels.color
|
|
707
|
-
}, S(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(
|
|
717
|
+
}, S(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(bt)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Kt)) : f("", !0)
|
|
708
718
|
]))), 256))
|
|
709
719
|
]))), 256))
|
|
710
720
|
])) : f("", !0),
|
|
711
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g",
|
|
721
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Qt, [
|
|
712
722
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
713
723
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", {
|
|
714
|
-
filter:
|
|
724
|
+
filter: Pe(l, d)
|
|
715
725
|
}, [
|
|
716
726
|
ue(l) && y.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
|
|
717
727
|
key: 0,
|
|
@@ -722,7 +732,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
722
732
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
723
733
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
724
734
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
725
|
-
}, S(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11,
|
|
735
|
+
}, S(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, jt)) : f("", !0),
|
|
726
736
|
ue(l) && y.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
727
737
|
key: 1,
|
|
728
738
|
class: P({ animated: e.value.useCssAnimation }),
|
|
@@ -742,7 +752,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
742
752
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
743
753
|
}),
|
|
744
754
|
{ datapoint: l, seriesIndex: o, datapointIndex: d }
|
|
745
|
-
)) + ") ", 11,
|
|
755
|
+
)) + ") ", 11, el)) : f("", !0),
|
|
746
756
|
ue(l) && y.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
747
757
|
key: 2,
|
|
748
758
|
class: P({ animated: e.value.useCssAnimation }),
|
|
@@ -762,32 +772,32 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
762
772
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
763
773
|
}),
|
|
764
774
|
{ datapoint: l, seriesIndex: o, datapointIndex: d }
|
|
765
|
-
)), 11,
|
|
766
|
-
], 8,
|
|
775
|
+
)), 11, tl)) : f("", !0)
|
|
776
|
+
], 8, Zt))), 256))
|
|
767
777
|
]))), 256))
|
|
768
778
|
])) : f("", !0),
|
|
769
779
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
770
780
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
771
|
-
|
|
781
|
+
k("path", {
|
|
772
782
|
d: l.arcSlice,
|
|
773
|
-
fill:
|
|
774
|
-
onMouseenter: (
|
|
783
|
+
fill: Ke.value === o ? "rgba(0,0,0,0.1)" : "transparent",
|
|
784
|
+
onMouseenter: (w) => lt({
|
|
775
785
|
datapoint: l,
|
|
776
786
|
seriesIndex: l.seriesIndex
|
|
777
787
|
}),
|
|
778
|
-
onClick: (
|
|
779
|
-
onMouseleave: s[0] || (s[0] = (
|
|
780
|
-
j.value = !1,
|
|
788
|
+
onClick: (w) => et({ datapoint: l, index: d }),
|
|
789
|
+
onMouseleave: s[0] || (s[0] = (w) => {
|
|
790
|
+
j.value = !1, Ie.value = null, H.value = null, W.value = null;
|
|
781
791
|
})
|
|
782
|
-
}, null, 40,
|
|
792
|
+
}, null, 40, ll)
|
|
783
793
|
]))), 256))
|
|
784
794
|
]))), 256)),
|
|
785
|
-
|
|
786
|
-
], 14,
|
|
787
|
-
t.$slots.watermark ? (u(), n("div",
|
|
788
|
-
|
|
795
|
+
m(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
796
|
+
], 14, Vt)) : f("", !0),
|
|
797
|
+
t.$slots.watermark ? (u(), n("div", al, [
|
|
798
|
+
m(t.$slots, "watermark", V(M({ isPrinting: r(Le) || r(Ce) })), void 0, !0)
|
|
789
799
|
])) : f("", !0),
|
|
790
|
-
G.value ? f("", !0) : (u(), D(
|
|
800
|
+
G.value ? f("", !0) : (u(), D(Nt, {
|
|
791
801
|
key: 6,
|
|
792
802
|
config: {
|
|
793
803
|
type: "donut",
|
|
@@ -799,7 +809,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
799
809
|
}
|
|
800
810
|
}
|
|
801
811
|
}, null, 8, ["config"])),
|
|
802
|
-
|
|
812
|
+
Re(Tt, {
|
|
803
813
|
show: y.value.showTooltip && j.value,
|
|
804
814
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
805
815
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -813,13 +823,13 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
813
823
|
parent: B.value,
|
|
814
824
|
content: ee.value,
|
|
815
825
|
isFullscreen: z.value,
|
|
816
|
-
isCustom: r(
|
|
826
|
+
isCustom: r(Ye)(e.value.style.chart.tooltip.customFormat)
|
|
817
827
|
}, {
|
|
818
|
-
"tooltip-before":
|
|
819
|
-
|
|
828
|
+
"tooltip-before": g(() => [
|
|
829
|
+
m(t.$slots, "tooltip-before", V(M({ ...se.value })), void 0, !0)
|
|
820
830
|
]),
|
|
821
|
-
"tooltip-after":
|
|
822
|
-
|
|
831
|
+
"tooltip-after": g(() => [
|
|
832
|
+
m(t.$slots, "tooltip-after", V(M({ ...se.value })), void 0, !0)
|
|
823
833
|
]),
|
|
824
834
|
_: 3
|
|
825
835
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -829,18 +839,18 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
829
839
|
ref: te,
|
|
830
840
|
class: P({ "vue-ui-nested-donuts-legend": ne.value.length > 1 })
|
|
831
841
|
}, [
|
|
832
|
-
(u(!0), n(C, null, F(ne.value, (a, o) => (u(), D(
|
|
842
|
+
(u(!0), n(C, null, F(ne.value, (a, o) => (u(), D(Ft, {
|
|
833
843
|
key: `legend_${o}_${pe.value}`,
|
|
834
844
|
legendSet: a,
|
|
835
|
-
config:
|
|
845
|
+
config: at.value,
|
|
836
846
|
onClickMarker: s[1] || (s[1] = ({ legend: l }) => ae(l))
|
|
837
847
|
}, {
|
|
838
|
-
legendTitle:
|
|
839
|
-
l[0] && l[0].arcOf ? (u(), n("div",
|
|
848
|
+
legendTitle: g(({ titleSet: l }) => [
|
|
849
|
+
l[0] && l[0].arcOf ? (u(), n("div", ol, S(l[0].arcOf), 1)) : f("", !0)
|
|
840
850
|
]),
|
|
841
|
-
item:
|
|
842
|
-
|
|
843
|
-
onClick: (
|
|
851
|
+
item: g(({ legend: l, index: d }) => [
|
|
852
|
+
k("div", {
|
|
853
|
+
onClick: (w) => ae(l),
|
|
844
854
|
style: K(`opacity:${p.value.includes(l.id) ? 0.5 : 1}`)
|
|
845
855
|
}, [
|
|
846
856
|
Q(S(l.name) + ": " + S(r(E)(
|
|
@@ -859,7 +869,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
859
869
|
], 64)) : (u(), n(C, { key: 0 }, [
|
|
860
870
|
Q(" (" + S(isNaN(l.value / l.total) ? "-" : r(x)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
|
|
861
871
|
], 64))
|
|
862
|
-
], 12,
|
|
872
|
+
], 12, sl)
|
|
863
873
|
]),
|
|
864
874
|
_: 2
|
|
865
875
|
}, 1032, ["legendSet", "config"]))), 128))
|
|
@@ -869,7 +879,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
869
879
|
ref_key: "chartLegend",
|
|
870
880
|
ref: te
|
|
871
881
|
}, [
|
|
872
|
-
|
|
882
|
+
m(t.$slots, "legend", { legend: ne.value }, void 0, !0)
|
|
873
883
|
], 512)),
|
|
874
884
|
t.$slots.source ? (u(), n("div", {
|
|
875
885
|
key: 9,
|
|
@@ -877,9 +887,9 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
877
887
|
ref: ce,
|
|
878
888
|
dir: "auto"
|
|
879
889
|
}, [
|
|
880
|
-
|
|
890
|
+
m(t.$slots, "source", {}, void 0, !0)
|
|
881
891
|
], 512)) : f("", !0),
|
|
882
|
-
G.value ? (u(), D(
|
|
892
|
+
G.value ? (u(), D(St, {
|
|
883
893
|
key: 10,
|
|
884
894
|
hideDetails: "",
|
|
885
895
|
config: {
|
|
@@ -895,8 +905,8 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
895
905
|
}
|
|
896
906
|
}
|
|
897
907
|
}, {
|
|
898
|
-
content:
|
|
899
|
-
(u(), D(
|
|
908
|
+
content: g(() => [
|
|
909
|
+
(u(), D(_t, {
|
|
900
910
|
key: `table_${ye.value}`,
|
|
901
911
|
colNames: q.value.colNames,
|
|
902
912
|
head: q.value.head,
|
|
@@ -905,13 +915,13 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
905
915
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
906
916
|
onClose: s[2] || (s[2] = (a) => y.value.showTable = !1)
|
|
907
917
|
}, {
|
|
908
|
-
th:
|
|
909
|
-
|
|
918
|
+
th: g(({ th: a }) => [
|
|
919
|
+
k("div", {
|
|
910
920
|
innerHTML: a,
|
|
911
921
|
style: { display: "flex", "align-items": "center" }
|
|
912
|
-
}, null, 8,
|
|
922
|
+
}, null, 8, ul)
|
|
913
923
|
]),
|
|
914
|
-
td:
|
|
924
|
+
td: g(({ td: a }) => [
|
|
915
925
|
Q(S(a.name || a), 1)
|
|
916
926
|
]),
|
|
917
927
|
_: 1
|
|
@@ -919,9 +929,9 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["i
|
|
|
919
929
|
]),
|
|
920
930
|
_: 1
|
|
921
931
|
}, 8, ["config"])) : f("", !0)
|
|
922
|
-
], 46,
|
|
932
|
+
], 46, zt));
|
|
923
933
|
}
|
|
924
|
-
},
|
|
934
|
+
}, Cl = /* @__PURE__ */ Dt(nl, [["__scopeId", "data-v-23284122"]]);
|
|
925
935
|
export {
|
|
926
|
-
|
|
936
|
+
Cl as default
|
|
927
937
|
};
|