vue-data-ui 3.10.0 → 3.10.2
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-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
- package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,42 +1,46 @@
|
|
|
1
|
-
import { defineAsyncComponent as B, computed as k, ref as v, toRefs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { b as
|
|
4
|
-
import { t as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { _ as
|
|
16
|
-
const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { donut: { emptyFill: "#3A3A3A" }, labels: { dataLabels: { color: "#CCCCCC" } } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } },
|
|
1
|
+
import { defineAsyncComponent as B, computed as k, ref as v, toRefs as $l, watch as oe, onMounted as Ll, shallowRef as kt, onBeforeUnmount as _l, createElementBlock as r, openBlock as n, unref as c, normalizeStyle as he, normalizeClass as H, createBlock as z, createCommentVNode as L, createElementVNode as g, createVNode as Ie, withCtx as p, renderSlot as y, normalizeProps as S, guardReactiveProps as O, createSlots as At, Fragment as x, renderList as T, toDisplayString as M, withDirectives as wt, vShow as $t, Teleport as Fl, resolveDynamicComponent as xl, mergeProps as Tl, createTextVNode as Lt, nextTick as _t } from "vue";
|
|
2
|
+
import { c as Dl, t as Sl, i as Ol, j as Ee, a1 as Ve, o as Nl, g as K, k as Pl, a7 as U, m as Il, a3 as Be, a as fe, d as N, X as El, s as Vl, G as Ft, a5 as xt, a6 as be, p as Tt, y as Dt, v as Bl, r as zl, _ as Ml, ag as St, U as ze } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { b as Ul } from "./labelUtils-D6Y-n7cD.js";
|
|
4
|
+
import { t as Rl, u as Gl } from "./useResponsive-DfdjqQps.js";
|
|
5
|
+
import { u as Yl, a as Me } from "./useNestedProp-Ckf_2P_V.js";
|
|
6
|
+
import { u as Wl, B as Xl } from "./BaseScanner-BMpwQAfz.js";
|
|
7
|
+
import { u as Hl } from "./usePrinter-1NmjuP-i.js";
|
|
8
|
+
import { u as ql } from "./useSvgExport-ByUukOZt.js";
|
|
9
|
+
import { u as jl } from "./useThemeCheck-D1ZYXUwG.js";
|
|
10
|
+
import { u as Jl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
|
+
import { u as Kl } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
|
+
import Ql from "./img-6fNF_rG0.js";
|
|
13
|
+
import Zl from "./Title-NgeRXqRA.js";
|
|
14
|
+
import ea from "./Legend-DN5UJOBH.js";
|
|
15
|
+
import { _ as ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Ot = { userOptions: { show: !1 }, style: { chart: { useGradient: !1, legend: { show: !1 } } } }, Nt = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", useGradient: !1, layout: { donut: { emptyFill: "#3A3A3A" }, labels: { dataLabels: { color: "#CCCCCC" } } }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Pt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { donut: { emptyFill: "#3A3A3A" }, labels: { dataLabels: { color: "#CCCCCC" } } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, It = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { labels: { dataLabels: { color: "#424242" } } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Et = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { labels: { dataLabels: { color: "#BDBDBD" } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Vt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { labels: { dataLabels: { color: "#AACCAA" } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Bt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { labels: { dataLabels: { color: "#A0AC94" } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, zt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { labels: { dataLabels: { color: "#61747E" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Mt = {
|
|
17
17
|
default: {},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
minimal: Ot,
|
|
19
|
+
minimalDark: Nt,
|
|
20
|
+
dark: Pt,
|
|
21
|
+
celebration: It,
|
|
22
|
+
celebrationNight: Et,
|
|
23
|
+
hack: Vt,
|
|
24
|
+
zen: Bt,
|
|
25
|
+
concrete: zt
|
|
26
|
+
}, ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
27
|
__proto__: null,
|
|
26
|
-
celebration:
|
|
27
|
-
celebrationNight:
|
|
28
|
-
concrete:
|
|
29
|
-
dark:
|
|
30
|
-
default:
|
|
31
|
-
hack:
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
celebration: It,
|
|
29
|
+
celebrationNight: Et,
|
|
30
|
+
concrete: zt,
|
|
31
|
+
dark: Pt,
|
|
32
|
+
default: Mt,
|
|
33
|
+
hack: Vt,
|
|
34
|
+
minimal: Ot,
|
|
35
|
+
minimalDark: Nt,
|
|
36
|
+
zen: Bt
|
|
37
|
+
}, Symbol.toStringTag, { value: "Module" })), la = ["id"], aa = ["id"], oa = ["xmlns", "viewBox"], sa = ["width", "height"], na = ["id"], ua = ["offset", "stop-color"], ra = ["offset", "stop-opacity"], ia = ["id"], ca = ["id"], da = ["id"], va = ["flood-color"], ha = ["id", "d"], fa = ["d", "fill", "stroke", "stroke-width", "filter"], ba = ["d", "fill", "stroke", "stroke-width"], ga = { key: 1 }, pa = ["d", "fill"], ya = { key: 2 }, ma = ["font-size", "font-weight", "fill", "dy"], Ca = ["href"], ka = ["x", "y", "font-size", "font-weight", "fill"], Aa = { key: 3 }, wa = ["filter"], $a = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], La = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], _a = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], Fa = {
|
|
34
38
|
key: 4,
|
|
35
39
|
class: "vue-data-ui-watermark"
|
|
36
|
-
},
|
|
40
|
+
}, xa = ["id"], Ta = {
|
|
37
41
|
key: 0,
|
|
38
42
|
class: "vue-ui-nested-donuts-legend-title"
|
|
39
|
-
},
|
|
43
|
+
}, Da = ["onClick"], Sa = ["innerHTML"], Oa = {
|
|
40
44
|
__name: "vue-ui-nested-donuts",
|
|
41
45
|
props: {
|
|
42
46
|
config: {
|
|
@@ -53,15 +57,15 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
53
57
|
}
|
|
54
58
|
},
|
|
55
59
|
emits: ["selectLegend", "selectDatapoint"],
|
|
56
|
-
setup(
|
|
57
|
-
const
|
|
60
|
+
setup(Ut, { expose: Rt, emit: Gt }) {
|
|
61
|
+
const Yt = B(() => import("./Tooltip-B6qvABDL.js")), Wt = B(() => import("./BaseIcon-4uOct8re.js")), Xt = B(() => import("./vue-ui-accordion-DFKaB_05.js")), Ht = B(() => import("./DataTable-DyoDzNNY.js")), qt = B(() => import("./UserOptions-CX7Xsusk.js")), jt = B(() => import("./PenAndPaper-LTuSTmWE.js")), Jt = B(() => import("./PackageVersion-CQxJyGQr.js")), Kt = B(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_nested_donuts: Qt } = Yl(), { isThemeValid: Zt, warnInvalidTheme: el } = jl(), A = Ut, ge = k({
|
|
58
62
|
get() {
|
|
59
|
-
return !!
|
|
63
|
+
return !!A.dataset && A.dataset.length;
|
|
60
64
|
},
|
|
61
65
|
set(t) {
|
|
62
66
|
return t;
|
|
63
67
|
}
|
|
64
|
-
}), b = v(
|
|
68
|
+
}), b = v(Dl()), pe = v(!1), ye = v(""), me = v(null), Ue = v(0), P = v(null), Re = v(null), Ce = v(null), Ge = v(null), Ye = v(null), We = v(0), Xe = v(0), He = v(0), R = v(!0), G = v([]), Q = v([]), qe = v(!1), Z = v(null), ke = v(null), Y = v(!1);
|
|
65
69
|
function je(t) {
|
|
66
70
|
Y.value = t, Ue.value += 1;
|
|
67
71
|
}
|
|
@@ -84,8 +88,8 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
84
88
|
color: "#CACACA"
|
|
85
89
|
}
|
|
86
90
|
]
|
|
87
|
-
}, { loading:
|
|
88
|
-
|
|
91
|
+
}, { loading: Ae, FINAL_DATASET: W, manualLoading: we } = Wl({
|
|
92
|
+
...$l(A),
|
|
89
93
|
FINAL_CONFIG: e,
|
|
90
94
|
prepareConfig: Le,
|
|
91
95
|
callback: () => {
|
|
@@ -94,7 +98,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
94
98
|
});
|
|
95
99
|
},
|
|
96
100
|
skeletonDataset: [Je, Je],
|
|
97
|
-
skeletonConfig:
|
|
101
|
+
skeletonConfig: Sl({
|
|
98
102
|
defaultConfig: e.value,
|
|
99
103
|
userConfig: {
|
|
100
104
|
useCssAnimation: !1,
|
|
@@ -120,40 +124,40 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
120
124
|
}
|
|
121
125
|
}
|
|
122
126
|
})
|
|
123
|
-
}), { userOptionsVisible: $e, setUserOptionsVisibility: Ke, keepUserOptionState: Qe } =
|
|
127
|
+
}), { userOptionsVisible: $e, setUserOptionsVisibility: Ke, keepUserOptionState: Qe } = Jl({ config: e.value }), { svgRef: ee } = Kl({
|
|
124
128
|
config: e.value.style.chart.title
|
|
125
129
|
});
|
|
126
130
|
function Le() {
|
|
127
131
|
const t = Me({
|
|
128
|
-
userConfig:
|
|
129
|
-
defaultConfig:
|
|
132
|
+
userConfig: A.config,
|
|
133
|
+
defaultConfig: Qt
|
|
130
134
|
});
|
|
131
135
|
let s = {};
|
|
132
136
|
const l = t.theme;
|
|
133
137
|
if (l)
|
|
134
|
-
if (!
|
|
135
|
-
|
|
138
|
+
if (!Zt.value(t))
|
|
139
|
+
el(t), s = t;
|
|
136
140
|
else {
|
|
137
141
|
const o = Me({
|
|
138
|
-
userConfig:
|
|
142
|
+
userConfig: Mt[l] || A.config,
|
|
139
143
|
defaultConfig: t
|
|
140
144
|
});
|
|
141
145
|
s = {
|
|
142
146
|
...Me({
|
|
143
|
-
userConfig:
|
|
147
|
+
userConfig: A.config,
|
|
144
148
|
defaultConfig: o
|
|
145
149
|
}),
|
|
146
|
-
customPalette: t.customPalette.length ? t.customPalette :
|
|
150
|
+
customPalette: t.customPalette.length ? t.customPalette : Ol[l] || Ee
|
|
147
151
|
};
|
|
148
152
|
}
|
|
149
153
|
else
|
|
150
154
|
s = t;
|
|
151
|
-
return
|
|
155
|
+
return A.config && Ve(A.config, "events.datapointEnter") ? s.events.datapointEnter = A.config.events.datapointEnter : s.events.datapointEnter = null, A.config && Ve(A.config, "events.datapointLeave") ? s.events.datapointLeave = A.config.events.datapointLeave : s.events.datapointLeave = null, A.config && Ve(A.config, "events.datapointClick") ? s.events.datapointClick = A.config.events.datapointClick : s.events.datapointClick = null, s;
|
|
152
156
|
}
|
|
153
157
|
oe(
|
|
154
|
-
() =>
|
|
158
|
+
() => A.config,
|
|
155
159
|
(t) => {
|
|
156
|
-
|
|
160
|
+
Ae.value || (e.value = Le()), $e.value = !e.value.userOptions.showOnChartHover, tt(), We.value += 1, Xe.value += 1, He.value += 1, _.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, _.value.showTable = e.value.table.show, _.value.showTooltip = e.value.style.chart.tooltip.show, h.value.width = e.value.style.chart.width, h.value.height = e.value.style.chart.height;
|
|
157
161
|
},
|
|
158
162
|
{ deep: !0 }
|
|
159
163
|
);
|
|
@@ -167,7 +171,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
167
171
|
left: o
|
|
168
172
|
};
|
|
169
173
|
});
|
|
170
|
-
function
|
|
174
|
+
function tl(t, s = 1e3, l = 50) {
|
|
171
175
|
return new Promise((o) => {
|
|
172
176
|
const a = t.length;
|
|
173
177
|
G.value = Array(a).fill(0), Q.value = [];
|
|
@@ -180,11 +184,11 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
180
184
|
G.value[f] = ae, G.value = [...G.value];
|
|
181
185
|
const de = [];
|
|
182
186
|
let De = 0;
|
|
183
|
-
|
|
184
|
-
const
|
|
185
|
-
(Ne, Pe) => Ne + ze(U(Pe.values).reduce((
|
|
187
|
+
A.dataset.forEach((ve, Se) => {
|
|
188
|
+
const Cl = ze(ve.series.reduce(
|
|
189
|
+
(Ne, Pe) => Ne + ze(U(Pe.values).reduce((Al, wl) => Al + wl, 0)),
|
|
186
190
|
0
|
|
187
|
-
)),
|
|
191
|
+
)), kl = ze(G.value.slice(De, De + ve.series.length).reduce((Ne, Pe) => Ne + Pe, 0)), Oe = Cl - kl;
|
|
188
192
|
Oe > Number.MIN_VALUE && de.push({
|
|
189
193
|
name: "__ghost__",
|
|
190
194
|
arcOf: ve.name,
|
|
@@ -228,7 +232,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
228
232
|
absoluteValues: [],
|
|
229
233
|
ghost: !0
|
|
230
234
|
};
|
|
231
|
-
}), await _t(),
|
|
235
|
+
}), await _t(), tl(
|
|
232
236
|
s,
|
|
233
237
|
e.value.startAnimation.durationMs,
|
|
234
238
|
e.value.startAnimation.staggerMs
|
|
@@ -238,18 +242,18 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
238
242
|
} else
|
|
239
243
|
R.value = !1;
|
|
240
244
|
}
|
|
241
|
-
|
|
245
|
+
Ll(async () => {
|
|
242
246
|
qe.value = !0, tt(), await et();
|
|
243
247
|
});
|
|
244
248
|
const E = kt(null), q = kt(null), j = k(() => !!e.value.debug);
|
|
245
249
|
function tt() {
|
|
246
|
-
if (
|
|
250
|
+
if (Nl(A.dataset) ? (K({
|
|
247
251
|
componentName: "VueUiNestedDonuts",
|
|
248
252
|
type: "dataset",
|
|
249
253
|
debug: j.value
|
|
250
|
-
}), ge.value = !1,
|
|
251
|
-
const t =
|
|
252
|
-
const { width: s, height: l } =
|
|
254
|
+
}), ge.value = !1, we.value = !0) : we.value = e.value.loading, e.value.responsive) {
|
|
255
|
+
const t = Rl(() => {
|
|
256
|
+
const { width: s, height: l } = Gl({
|
|
253
257
|
chart: P.value,
|
|
254
258
|
title: e.value.style.chart.title.text ? Re.value : null,
|
|
255
259
|
legend: e.value.style.chart.legend.show ? Ce.value : null,
|
|
@@ -264,14 +268,14 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
264
268
|
E.value && (q.value && E.value.unobserve(q.value), E.value.disconnect()), E.value = new ResizeObserver(t), q.value = P.value.parentNode, E.value.observe(q.value);
|
|
265
269
|
}
|
|
266
270
|
}
|
|
267
|
-
|
|
271
|
+
_l(() => {
|
|
268
272
|
E.value && (q.value && E.value.unobserve(q.value), E.value.disconnect());
|
|
269
273
|
});
|
|
270
|
-
const { isPrinting: lt, isImaging: at, generatePdf: ot, generateImage: st } =
|
|
274
|
+
const { isPrinting: lt, isImaging: at, generatePdf: ot, generateImage: st } = Hl({
|
|
271
275
|
elementId: `nested_donuts_${b.value}`,
|
|
272
276
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
|
|
273
277
|
options: e.value.userOptions.print
|
|
274
|
-
}),
|
|
278
|
+
}), ll = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), al = k(() => Pl(e.value.customPalette)), _ = v({
|
|
275
279
|
dataLabels: {
|
|
276
280
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
277
281
|
},
|
|
@@ -290,8 +294,8 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
290
294
|
const h = v({
|
|
291
295
|
width: e.value.style.chart.width,
|
|
292
296
|
height: e.value.style.chart.height
|
|
293
|
-
}), nt =
|
|
294
|
-
function
|
|
297
|
+
}), nt = Gt;
|
|
298
|
+
function ol({ datapoint: t, index: s, seriesIndex: l }) {
|
|
295
299
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l }), nt("selectDatapoint", { datapoint: t, index: s });
|
|
296
300
|
}
|
|
297
301
|
function ut({
|
|
@@ -310,7 +314,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
310
314
|
requestAnimationFrame(f);
|
|
311
315
|
}
|
|
312
316
|
const C = v([]), D = k(() => {
|
|
313
|
-
|
|
317
|
+
Ae.value, W.value.forEach((s, l) => {
|
|
314
318
|
[null, void 0].includes(s.name) && K({
|
|
315
319
|
componentName: "VueUiNestedDonuts",
|
|
316
320
|
type: "datasetSerieAttribute",
|
|
@@ -361,15 +365,15 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
361
365
|
id: `${b.value}_${l}_${a}`,
|
|
362
366
|
seriesIndex: a,
|
|
363
367
|
datasetIndex: l,
|
|
364
|
-
color:
|
|
368
|
+
color: Il(o.color) || al.value[a] || Ee[a % Ee.length],
|
|
365
369
|
value: R.value ? G.value[t++] ?? 0 : u,
|
|
366
370
|
absoluteValues: o.values || []
|
|
367
371
|
};
|
|
368
372
|
})
|
|
369
373
|
}));
|
|
370
374
|
});
|
|
371
|
-
oe(() =>
|
|
372
|
-
Array.isArray(t) && t.length > 0 && (
|
|
375
|
+
oe(() => A.dataset, (t) => {
|
|
376
|
+
Array.isArray(t) && t.length > 0 && (we.value = !1);
|
|
373
377
|
}, { immediate: !0 });
|
|
374
378
|
const I = k(() => Math.min(h.value.height, h.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), rt = k(() => [...D.value].map((t, s) => {
|
|
375
379
|
const l = t.series.filter((o) => !C.value.includes(o.id)).map((o) => o.value).reduce((o, a) => o + a, 0);
|
|
@@ -382,20 +386,20 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
382
386
|
}))
|
|
383
387
|
};
|
|
384
388
|
}));
|
|
385
|
-
function
|
|
389
|
+
function sl(t, s, l) {
|
|
386
390
|
let o = 0;
|
|
387
391
|
for (let a = 0; a < t.length; a += 1)
|
|
388
392
|
l.includes(t[a]) && (o += 1);
|
|
389
393
|
return o < s;
|
|
390
394
|
}
|
|
391
|
-
const
|
|
395
|
+
const w = v(rt.value);
|
|
392
396
|
oe(
|
|
393
397
|
() => rt.value,
|
|
394
|
-
(t) =>
|
|
398
|
+
(t) => w.value = t
|
|
395
399
|
);
|
|
396
400
|
function X(t) {
|
|
397
401
|
nt("selectLegend", t);
|
|
398
|
-
const s =
|
|
402
|
+
const s = A.dataset.flatMap(
|
|
399
403
|
(i, m) => i.series.map((F, le) => ({
|
|
400
404
|
value: U(F.values).reduce((ae, de) => ae + de, 0),
|
|
401
405
|
id: `${b.value}_${m}_${le}`,
|
|
@@ -403,13 +407,13 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
403
407
|
}))
|
|
404
408
|
).find((i) => i.id === t.id);
|
|
405
409
|
if (!s) return;
|
|
406
|
-
const l = D.value.flatMap((i) => i.series).find((i) => i.id === t.id)?.value ?? 0, o =
|
|
410
|
+
const l = D.value.flatMap((i) => i.series).find((i) => i.id === t.id)?.value ?? 0, o = w.value.flatMap((i) => i.series).find((i) => i.id === t.id);
|
|
407
411
|
let u = o ? o.value : 0;
|
|
408
412
|
const d = D.value.find(
|
|
409
413
|
(i) => i.id === s.arcOfId
|
|
410
414
|
);
|
|
411
415
|
if (!d) return;
|
|
412
|
-
const f = d.series.map((i) => i.id), $ =
|
|
416
|
+
const f = d.series.map((i) => i.id), $ = sl(
|
|
413
417
|
f,
|
|
414
418
|
f.length - 1,
|
|
415
419
|
C.value
|
|
@@ -419,12 +423,12 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
419
423
|
to: l,
|
|
420
424
|
duration: e.value.serieToggleAnimation.durationMs,
|
|
421
425
|
onUpdate: (i) => {
|
|
422
|
-
|
|
426
|
+
w.value = w.value.map((m) => ({
|
|
423
427
|
...m,
|
|
424
428
|
series: m.series.map((F) => F.id === t.id ? { ...F, value: i } : F)
|
|
425
429
|
}));
|
|
426
430
|
}
|
|
427
|
-
}) :
|
|
431
|
+
}) : w.value = w.value.map((i) => ({
|
|
428
432
|
...i,
|
|
429
433
|
series: i.series.map((m) => m.id === t.id ? { ...m, value: l } : m)
|
|
430
434
|
}))) : $ && (e.value.serieToggleAnimation.show ? ut({
|
|
@@ -432,7 +436,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
432
436
|
to: 0,
|
|
433
437
|
duration: e.value.serieToggleAnimation.durationMs,
|
|
434
438
|
onUpdate: (i) => {
|
|
435
|
-
|
|
439
|
+
w.value = w.value.map((m) => ({
|
|
436
440
|
...m,
|
|
437
441
|
series: m.series.map((F) => F.id === t.id ? { ...F, value: i } : F)
|
|
438
442
|
}));
|
|
@@ -440,7 +444,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
440
444
|
onDone: () => {
|
|
441
445
|
C.value.push(t.id);
|
|
442
446
|
}
|
|
443
|
-
}) : (
|
|
447
|
+
}) : (w.value = w.value.map((i) => ({
|
|
444
448
|
...i,
|
|
445
449
|
series: i.series.map((m) => m.id === t.id ? { ...m, value: 0 } : m)
|
|
446
450
|
})), C.value.push(t.id)));
|
|
@@ -451,20 +455,20 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
451
455
|
const s = D.value.flatMap((l) => l.series).filter((l) => l.name === t);
|
|
452
456
|
return s || (e.value.debug && console.warn(`VueUiNestedDonuts - Series name not found "${t}"`), null);
|
|
453
457
|
}
|
|
454
|
-
function
|
|
458
|
+
function nl(t) {
|
|
455
459
|
const s = it(t);
|
|
456
460
|
s !== null && (Array.isArray(s) ? s.forEach((l) => {
|
|
457
461
|
C.value.includes(l.id) && X({ id: l.id });
|
|
458
462
|
}) : C.value.includes(s.id) && X({ id: s.id }));
|
|
459
463
|
}
|
|
460
|
-
function
|
|
464
|
+
function ul(t) {
|
|
461
465
|
const s = it(t);
|
|
462
466
|
s !== null && (Array.isArray(s) ? s.forEach((l) => {
|
|
463
467
|
C.value.includes(l.id) || X({ id: l.id });
|
|
464
468
|
}) : C.value.includes(s.id) || X({ id: s.id }));
|
|
465
469
|
}
|
|
466
|
-
const se = k(() => I.value / D.value.length * e.value.style.chart.layout.donut.spacingRatio), ct = k(() =>
|
|
467
|
-
const l = Math.abs(t.series.map(($) => $.value).reduce(($, i) => $ + i, 0)) > 0, o = I.value - s * I.value /
|
|
470
|
+
const se = k(() => I.value / D.value.length * e.value.style.chart.layout.donut.spacingRatio), ct = k(() => w.value.map((t, s) => I.value - s * I.value / D.value.length)), J = k(() => w.value.map((t, s) => {
|
|
471
|
+
const l = Math.abs(t.series.map(($) => $.value).reduce(($, i) => $ + i, 0)) > 0, o = I.value - s * I.value / w.value.length, a = R.value ? Q.value.find(($) => $.datasetIndex === s) : null, u = [...t.series, ...a ? [a] : []].map(($) => ({
|
|
468
472
|
...$,
|
|
469
473
|
value: $.value < 1e-11 ? Number.MIN_VALUE : $.value
|
|
470
474
|
})), d = Be(
|
|
@@ -523,7 +527,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
523
527
|
)[0]
|
|
524
528
|
};
|
|
525
529
|
})), vt = v(null), ne = v(null), ue = v(null), _e = v(null);
|
|
526
|
-
function
|
|
530
|
+
function rl({ datapoint: t, seriesIndex: s }) {
|
|
527
531
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), pe.value = !1, vt.value = null, me.value = null, ne.value = null, ue.value = null;
|
|
528
532
|
}
|
|
529
533
|
function ht({
|
|
@@ -533,7 +537,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
533
537
|
showPercentage: o,
|
|
534
538
|
config: a
|
|
535
539
|
}) {
|
|
536
|
-
return
|
|
540
|
+
return Ul({
|
|
537
541
|
config: a,
|
|
538
542
|
val: t,
|
|
539
543
|
percentage: s,
|
|
@@ -541,32 +545,32 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
541
545
|
showPercentage: o
|
|
542
546
|
});
|
|
543
547
|
}
|
|
544
|
-
function
|
|
548
|
+
function il({ datapoint: t, _relativeIndex: s, seriesIndex: l }) {
|
|
545
549
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), vt.value = t.arcOfId, ne.value = t.id, ue.value = l, me.value = t.id, _e.value = {
|
|
546
550
|
datapoint: t,
|
|
547
551
|
seriesIndex: l,
|
|
548
|
-
series:
|
|
552
|
+
series: w.value,
|
|
549
553
|
config: e.value
|
|
550
554
|
};
|
|
551
555
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
552
|
-
if (Dt(o) &&
|
|
556
|
+
if (Dt(o) && Ml(
|
|
553
557
|
() => o({
|
|
554
558
|
seriesIndex: l,
|
|
555
559
|
datapoint: t,
|
|
556
|
-
series:
|
|
560
|
+
series: w.value,
|
|
557
561
|
config: e.value
|
|
558
562
|
})
|
|
559
563
|
))
|
|
560
564
|
ye.value = o({
|
|
561
565
|
seriesIndex: l,
|
|
562
566
|
datapoint: t,
|
|
563
|
-
series:
|
|
567
|
+
series: w.value,
|
|
564
568
|
config: e.value
|
|
565
569
|
});
|
|
566
570
|
else {
|
|
567
571
|
let a = "";
|
|
568
572
|
if (e.value.style.chart.tooltip.showAllItemsAtIndex && C.value.length === 0) {
|
|
569
|
-
const u =
|
|
573
|
+
const u = w.value.map((d) => d.series.find((f) => f.seriesIndex === l));
|
|
570
574
|
u.forEach((d, f) => {
|
|
571
575
|
if (!d) return "";
|
|
572
576
|
a += `
|
|
@@ -695,7 +699,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
695
699
|
isSegregated: C.value.includes(a.id)
|
|
696
700
|
};
|
|
697
701
|
});
|
|
698
|
-
})),
|
|
702
|
+
})), cl = k(() => ({
|
|
699
703
|
cy: "nested-donuts-legend",
|
|
700
704
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
701
705
|
color: e.value.style.chart.legend.color,
|
|
@@ -703,11 +707,11 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
703
707
|
paddingBottom: 12,
|
|
704
708
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
705
709
|
})), V = k(() => {
|
|
706
|
-
const t =
|
|
710
|
+
const t = w.value.flatMap((l) => l.series.map((o) => ({
|
|
707
711
|
name: `${l.name} - ${o.name}`,
|
|
708
712
|
color: o.color,
|
|
709
713
|
total: l.total
|
|
710
|
-
}))), s =
|
|
714
|
+
}))), s = w.value.flatMap((l) => l.series.map((o) => o.value));
|
|
711
715
|
return { head: t, body: s };
|
|
712
716
|
});
|
|
713
717
|
function Fe(t = null) {
|
|
@@ -722,8 +726,8 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
722
726
|
[e.value.style.chart.title.text],
|
|
723
727
|
[e.value.style.chart.title.subtitle.text],
|
|
724
728
|
[[""], ["val"], ["%"]]
|
|
725
|
-
].concat(s), o =
|
|
726
|
-
t ? t(o) :
|
|
729
|
+
].concat(s), o = Bl(l);
|
|
730
|
+
t ? t(o) : zl({
|
|
727
731
|
csvContent: o,
|
|
728
732
|
title: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
729
733
|
});
|
|
@@ -777,7 +781,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
777
781
|
config: l
|
|
778
782
|
};
|
|
779
783
|
});
|
|
780
|
-
function
|
|
784
|
+
function dl() {
|
|
781
785
|
return D.value;
|
|
782
786
|
}
|
|
783
787
|
function gt() {
|
|
@@ -793,9 +797,9 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
793
797
|
function xe() {
|
|
794
798
|
ce.value = !ce.value;
|
|
795
799
|
}
|
|
796
|
-
async function
|
|
800
|
+
async function vl({ scale: t = 2 } = {}) {
|
|
797
801
|
if (!P.value) return;
|
|
798
|
-
const { width: s, height: l } = P.value.getBoundingClientRect(), o = s / l, { imageUri: a, base64: u } = await
|
|
802
|
+
const { width: s, height: l } = P.value.getBoundingClientRect(), o = s / l, { imageUri: a, base64: u } = await Ql({ domElement: P.value, base64: !0, img: !0, scale: t });
|
|
799
803
|
return {
|
|
800
804
|
imageUri: a,
|
|
801
805
|
base64: u,
|
|
@@ -806,7 +810,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
806
810
|
};
|
|
807
811
|
}
|
|
808
812
|
const Te = v(null);
|
|
809
|
-
function
|
|
813
|
+
function hl() {
|
|
810
814
|
if (!Te.value) return;
|
|
811
815
|
const { x: t, y: s, width: l, height: o } = Te.value.getBBox();
|
|
812
816
|
ee.value && ee.value.setAttribute("viewBox", `${t} ${s} ${l + Math.min(0, t)} ${o + Math.min(0, s)}`);
|
|
@@ -814,7 +818,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
814
818
|
const te = k(() => {
|
|
815
819
|
const t = e.value.table.useDialog && !e.value.table.show, s = _.value.showTable;
|
|
816
820
|
return {
|
|
817
|
-
component: t ?
|
|
821
|
+
component: t ? Kt : Xt,
|
|
818
822
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
819
823
|
props: t ? {
|
|
820
824
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -847,33 +851,33 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
847
851
|
function mt() {
|
|
848
852
|
_.value.showTable = !1, ke.value && ke.value.setTableIconState(!1);
|
|
849
853
|
}
|
|
850
|
-
const
|
|
854
|
+
const fl = k(() => e.value.style.chart.backgroundColor), bl = k(() => e.value.style.chart.legend), gl = k(() => e.value.style.chart.title), pl = k(() => re.value.flat().map((t) => ({
|
|
851
855
|
...t,
|
|
852
856
|
name: t.svgDisplay
|
|
853
|
-
}))), { exportSvg:
|
|
857
|
+
}))), { exportSvg: yl, getSvg: ml } = ql({
|
|
854
858
|
svg: ee,
|
|
855
|
-
title:
|
|
856
|
-
legend:
|
|
857
|
-
legendItems:
|
|
858
|
-
backgroundColor:
|
|
859
|
+
title: gl,
|
|
860
|
+
legend: bl,
|
|
861
|
+
legendItems: pl,
|
|
862
|
+
backgroundColor: fl
|
|
859
863
|
});
|
|
860
864
|
async function Ct({ isCb: t }) {
|
|
861
865
|
if (t) {
|
|
862
|
-
const { blob: s, url: l, text: o, dataUrl: a } = await
|
|
866
|
+
const { blob: s, url: l, text: o, dataUrl: a } = await ml();
|
|
863
867
|
e.value.userOptions.callbacks.svg({ blob: s, url: l, text: o, dataUrl: a });
|
|
864
868
|
} else
|
|
865
|
-
|
|
869
|
+
yl();
|
|
866
870
|
}
|
|
867
|
-
return
|
|
868
|
-
autoSize:
|
|
869
|
-
getData:
|
|
870
|
-
getImage:
|
|
871
|
+
return Rt({
|
|
872
|
+
autoSize: hl,
|
|
873
|
+
getData: dl,
|
|
874
|
+
getImage: vl,
|
|
871
875
|
generatePdf: ot,
|
|
872
876
|
generateCsv: Fe,
|
|
873
877
|
generateImage: st,
|
|
874
878
|
generateSvg: Ct,
|
|
875
|
-
hideSeries:
|
|
876
|
-
showSeries:
|
|
879
|
+
hideSeries: ul,
|
|
880
|
+
showSeries: nl,
|
|
877
881
|
toggleTable: gt,
|
|
878
882
|
toggleLabels: pt,
|
|
879
883
|
toggleTooltip: yt,
|
|
@@ -888,7 +892,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
888
892
|
onMouseenter: s[2] || (s[2] = () => c(Ke)(!0)),
|
|
889
893
|
onMouseleave: s[3] || (s[3] = () => c(Ke)(!1))
|
|
890
894
|
}, [
|
|
891
|
-
e.value.userOptions.buttons.annotator ? (n(), z(c(
|
|
895
|
+
e.value.userOptions.buttons.annotator ? (n(), z(c(jt), {
|
|
892
896
|
key: 0,
|
|
893
897
|
svgRef: c(ee),
|
|
894
898
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -916,7 +920,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
916
920
|
]),
|
|
917
921
|
_: 3
|
|
918
922
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : L("", !0),
|
|
919
|
-
|
|
923
|
+
ll.value ? (n(), r("div", {
|
|
920
924
|
key: 1,
|
|
921
925
|
ref_key: "noTitle",
|
|
922
926
|
ref: Ye,
|
|
@@ -928,7 +932,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
928
932
|
ref_key: "chartTitle",
|
|
929
933
|
ref: Re
|
|
930
934
|
}, [
|
|
931
|
-
(n(), z(
|
|
935
|
+
(n(), z(Zl, {
|
|
932
936
|
key: `title_${We.value}`,
|
|
933
937
|
config: {
|
|
934
938
|
title: {
|
|
@@ -944,8 +948,8 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
944
948
|
], 512)) : L("", !0),
|
|
945
949
|
g("div", {
|
|
946
950
|
id: `legend-top-${b.value}`
|
|
947
|
-
}, null, 8,
|
|
948
|
-
e.value.userOptions.show && ge.value && (c(Qe) || c($e)) ? (n(), z(c(
|
|
951
|
+
}, null, 8, aa),
|
|
952
|
+
e.value.userOptions.show && ge.value && (c(Qe) || c($e)) ? (n(), z(c(qt), {
|
|
949
953
|
ref_key: "userOptionsRef",
|
|
950
954
|
ref: ke,
|
|
951
955
|
key: `user_option_${Ue.value}`,
|
|
@@ -984,7 +988,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
984
988
|
style: he({
|
|
985
989
|
visibility: c(Qe) ? c($e) ? "visible" : "hidden" : "visible"
|
|
986
990
|
})
|
|
987
|
-
},
|
|
991
|
+
}, At({ _: 2 }, [
|
|
988
992
|
t.$slots.menuIcon ? {
|
|
989
993
|
name: "menuIcon",
|
|
990
994
|
fn: p(({ isOpen: l, color: o }) => [
|
|
@@ -1059,7 +1063,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1059
1063
|
(n(), r("svg", {
|
|
1060
1064
|
ref_key: "svgRef",
|
|
1061
1065
|
ref: ee,
|
|
1062
|
-
xmlns: c(
|
|
1066
|
+
xmlns: c(El),
|
|
1063
1067
|
class: H({
|
|
1064
1068
|
"vue-data-ui-fullscreen--on": Y.value,
|
|
1065
1069
|
"vue-data-ui-fulscreen--off": !Y.value,
|
|
@@ -1073,7 +1077,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1073
1077
|
ref: Te,
|
|
1074
1078
|
class: "vue-data-ui-g"
|
|
1075
1079
|
}, [
|
|
1076
|
-
Ie(c(
|
|
1080
|
+
Ie(c(Jt)),
|
|
1077
1081
|
t.$slots["chart-background"] ? (n(), r("foreignObject", {
|
|
1078
1082
|
key: 0,
|
|
1079
1083
|
x: 0,
|
|
@@ -1085,7 +1089,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1085
1089
|
}
|
|
1086
1090
|
}, [
|
|
1087
1091
|
y(t.$slots, "chart-background", {}, void 0, !0)
|
|
1088
|
-
], 8,
|
|
1092
|
+
], 8, sa)) : L("", !0),
|
|
1089
1093
|
g("defs", null, [
|
|
1090
1094
|
(n(!0), r(x, null, T(dt.value, (l, o) => (n(), r("radialGradient", {
|
|
1091
1095
|
id: `radial_${b.value}_${o}`
|
|
@@ -1097,20 +1101,20 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1097
1101
|
}, null, -1)),
|
|
1098
1102
|
g("stop", {
|
|
1099
1103
|
offset: `${(1 - se.value / ct.value[o]) * 100}%`,
|
|
1100
|
-
"stop-color": c(
|
|
1104
|
+
"stop-color": c(Vl)("#FFFFFF", 0),
|
|
1101
1105
|
"stop-opacity": "0"
|
|
1102
|
-
}, null, 8,
|
|
1106
|
+
}, null, 8, ua),
|
|
1103
1107
|
g("stop", {
|
|
1104
1108
|
offset: `${(1 - se.value / ct.value[o] / 2) * 100}%`,
|
|
1105
1109
|
"stop-color": "#FFFFFF",
|
|
1106
1110
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
1107
|
-
}, null, 8,
|
|
1111
|
+
}, null, 8, ra),
|
|
1108
1112
|
s[5] || (s[5] = g("stop", {
|
|
1109
1113
|
offset: "100%",
|
|
1110
1114
|
"stop-color": "#FFFFFF",
|
|
1111
1115
|
"stop-opacity": "0"
|
|
1112
1116
|
}, null, -1))
|
|
1113
|
-
], 8,
|
|
1117
|
+
], 8, na))), 256))
|
|
1114
1118
|
]),
|
|
1115
1119
|
g("defs", null, [
|
|
1116
1120
|
g("filter", {
|
|
@@ -1124,12 +1128,12 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1124
1128
|
in: "SourceGraphic",
|
|
1125
1129
|
stdDeviation: 2,
|
|
1126
1130
|
id: `blur_std_${b.value}`
|
|
1127
|
-
}, null, 8,
|
|
1131
|
+
}, null, 8, ca),
|
|
1128
1132
|
s[6] || (s[6] = g("feColorMatrix", {
|
|
1129
1133
|
type: "saturate",
|
|
1130
1134
|
values: "0"
|
|
1131
1135
|
}, null, -1))
|
|
1132
|
-
], 8,
|
|
1136
|
+
], 8, ia),
|
|
1133
1137
|
g("filter", {
|
|
1134
1138
|
id: `shadow_${b.value}`,
|
|
1135
1139
|
"color-interpolation-filters": "sRGB"
|
|
@@ -1140,8 +1144,8 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1140
1144
|
stdDeviation: "10",
|
|
1141
1145
|
"flood-opacity": "0.5",
|
|
1142
1146
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
1143
|
-
}, null, 8,
|
|
1144
|
-
], 8,
|
|
1147
|
+
}, null, 8, va)
|
|
1148
|
+
], 8, da)
|
|
1145
1149
|
]),
|
|
1146
1150
|
g("defs", null, [
|
|
1147
1151
|
(n(!0), r(x, null, T(J.value, (l, o) => (n(), r("path", {
|
|
@@ -1149,7 +1153,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1149
1153
|
id: `path-full-${o}-${b.value}`,
|
|
1150
1154
|
d: l.fullCirclePath,
|
|
1151
1155
|
fill: "none"
|
|
1152
|
-
}, null, 8,
|
|
1156
|
+
}, null, 8, ha))), 128))
|
|
1153
1157
|
]),
|
|
1154
1158
|
(n(!0), r(x, null, T(J.value, (l, o) => (n(), r("g", null, [
|
|
1155
1159
|
l.hasData ? (n(!0), r(x, { key: 0 }, T(l.donut.filter((a) => !a.ghost), (a, u) => (n(), r("g", null, [
|
|
@@ -1160,7 +1164,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1160
1164
|
stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
|
|
1161
1165
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
1162
1166
|
filter: bt(a, u)
|
|
1163
|
-
}, null, 8,
|
|
1167
|
+
}, null, 8, fa)
|
|
1164
1168
|
]))), 256)) : (n(!0), r(x, { key: 1 }, T(l.skeleton, (a, u) => (n(), r("g", null, [
|
|
1165
1169
|
g("path", {
|
|
1166
1170
|
class: "vue-ui-donut-arc-path",
|
|
@@ -1168,20 +1172,20 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1168
1172
|
fill: a.color,
|
|
1169
1173
|
stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
|
|
1170
1174
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
1171
|
-
}, null, 8,
|
|
1175
|
+
}, null, 8, ba)
|
|
1172
1176
|
]))), 256))
|
|
1173
1177
|
]))), 256)),
|
|
1174
|
-
e.value.style.chart.useGradient ? (n(), r("g",
|
|
1178
|
+
e.value.style.chart.useGradient ? (n(), r("g", ga, [
|
|
1175
1179
|
(n(!0), r(x, null, T(dt.value, (l, o) => (n(), r("g", null, [
|
|
1176
1180
|
g("path", {
|
|
1177
1181
|
d: l.donut.arcSlice,
|
|
1178
1182
|
fill: `url(#radial_${b.value}_${o})`,
|
|
1179
1183
|
stroke: "transparent",
|
|
1180
1184
|
"stroke-width": "0"
|
|
1181
|
-
}, null, 8,
|
|
1185
|
+
}, null, 8, pa)
|
|
1182
1186
|
]))), 256))
|
|
1183
1187
|
])) : L("", !0),
|
|
1184
|
-
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (n(), r("g",
|
|
1188
|
+
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (n(), r("g", ya, [
|
|
1185
1189
|
e.value.style.chart.layout.labels.dataLabels.curvedDonutName ? (n(!0), r(x, { key: 0 }, T(J.value, (l, o) => (n(), r("g", null, [
|
|
1186
1190
|
(n(!0), r(x, null, T(l.donut, (a, u) => (n(), r("g", null, [
|
|
1187
1191
|
u === 0 && h.value.width && h.value.height ? (n(), r("text", {
|
|
@@ -1202,8 +1206,8 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1202
1206
|
}, M(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? c(Ft)({
|
|
1203
1207
|
source: l.name,
|
|
1204
1208
|
length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1205
|
-
}) : l.name), 9,
|
|
1206
|
-
], 10,
|
|
1209
|
+
}) : l.name), 9, Ca)
|
|
1210
|
+
], 10, ma)) : L("", !0)
|
|
1207
1211
|
]))), 256))
|
|
1208
1212
|
]))), 256)) : (n(!0), r(x, { key: 1 }, T(J.value, (l, o) => (n(), r("g", null, [
|
|
1209
1213
|
(n(!0), r(x, null, T(l.donut, (a, u) => (n(), r("g", null, [
|
|
@@ -1219,16 +1223,16 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1219
1223
|
}, M(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? c(Ft)({
|
|
1220
1224
|
source: l.name,
|
|
1221
1225
|
length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1222
|
-
}) : l.name), 11,
|
|
1226
|
+
}) : l.name), 11, ka)) : L("", !0)
|
|
1223
1227
|
]))), 256))
|
|
1224
1228
|
]))), 256))
|
|
1225
1229
|
])) : L("", !0),
|
|
1226
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (n(), r("g",
|
|
1230
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (n(), r("g", Aa, [
|
|
1227
1231
|
(n(!0), r(x, null, T(J.value, (l, o) => (n(), r("g", null, [
|
|
1228
1232
|
(n(!0), r(x, null, T(l.donut.filter((a) => !a.ghost), (a, u) => (n(), r("g", {
|
|
1229
1233
|
filter: bt(a, u)
|
|
1230
1234
|
}, [
|
|
1231
|
-
|
|
1235
|
+
wt(g("text", {
|
|
1232
1236
|
class: H({ animated: e.value.useCssAnimation }),
|
|
1233
1237
|
opacity: ft(a) ? 1 : 0,
|
|
1234
1238
|
"text-anchor": c(be)(a, !0).anchor,
|
|
@@ -1253,10 +1257,10 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1253
1257
|
}),
|
|
1254
1258
|
e.value.style.chart.layout.labels.dataLabels.usePercentageParens ? "(" : "",
|
|
1255
1259
|
e.value.style.chart.layout.labels.dataLabels.usePercentageParens ? ")" : ""
|
|
1256
|
-
)), 11,
|
|
1260
|
+
)), 11, $a), [
|
|
1257
1261
|
[$t, _.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage]
|
|
1258
1262
|
]),
|
|
1259
|
-
|
|
1263
|
+
wt(g("text", {
|
|
1260
1264
|
class: H({ animated: e.value.useCssAnimation }),
|
|
1261
1265
|
opacity: ft(a) ? 1 : 0,
|
|
1262
1266
|
"text-anchor": c(be)(a, !0).anchor,
|
|
@@ -1287,10 +1291,10 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1287
1291
|
),
|
|
1288
1292
|
e.value.style.chart.layout.labels.dataLabels.useValueParens ? "(" : "",
|
|
1289
1293
|
e.value.style.chart.layout.labels.dataLabels.useValueParens ? ")" : ""
|
|
1290
|
-
)), 11,
|
|
1294
|
+
)), 11, La), [
|
|
1291
1295
|
[$t, _.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showValue]
|
|
1292
1296
|
])
|
|
1293
|
-
], 8,
|
|
1297
|
+
], 8, wa))), 256))
|
|
1294
1298
|
]))), 256))
|
|
1295
1299
|
])) : L("", !0),
|
|
1296
1300
|
(n(!0), r(x, null, T(J.value, (l, o) => (n(), r("g", null, [
|
|
@@ -1298,22 +1302,22 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1298
1302
|
g("path", {
|
|
1299
1303
|
d: a.arcSlice,
|
|
1300
1304
|
fill: me.value === a.id ? e.value.style.chart.layout.donut.selectedColor : "transparent",
|
|
1301
|
-
onMouseenter: (d) =>
|
|
1305
|
+
onMouseenter: (d) => il({
|
|
1302
1306
|
datapoint: a,
|
|
1303
1307
|
seriesIndex: a.seriesIndex
|
|
1304
1308
|
}),
|
|
1305
|
-
onClick: (d) =>
|
|
1306
|
-
onMouseleave: (d) =>
|
|
1307
|
-
}, null, 40,
|
|
1309
|
+
onClick: (d) => ol({ datapoint: a, index: u, seriesIndex: a.seriesIndex }),
|
|
1310
|
+
onMouseleave: (d) => rl({ datapoint: a, seriesIndex: a.seriesIndex })
|
|
1311
|
+
}, null, 40, _a)
|
|
1308
1312
|
]))), 256))
|
|
1309
1313
|
]))), 256)),
|
|
1310
1314
|
y(t.$slots, "svg", { svg: h.value }, void 0, !0)
|
|
1311
1315
|
], 512)
|
|
1312
|
-
], 14,
|
|
1313
|
-
t.$slots.watermark ? (n(), r("div",
|
|
1316
|
+
], 14, oa)),
|
|
1317
|
+
t.$slots.watermark ? (n(), r("div", Fa, [
|
|
1314
1318
|
y(t.$slots, "watermark", S(O({ isPrinting: c(lt) || c(at) })), void 0, !0)
|
|
1315
1319
|
])) : L("", !0),
|
|
1316
|
-
Ie(c(
|
|
1320
|
+
Ie(c(Yt), {
|
|
1317
1321
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1318
1322
|
show: _.value.showTooltip && pe.value,
|
|
1319
1323
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
@@ -1344,8 +1348,8 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1344
1348
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1345
1349
|
g("div", {
|
|
1346
1350
|
id: `legend-bottom-${b.value}`
|
|
1347
|
-
}, null, 8,
|
|
1348
|
-
qe.value ? (n(), z(
|
|
1351
|
+
}, null, 8, xa),
|
|
1352
|
+
qe.value ? (n(), z(Fl, {
|
|
1349
1353
|
key: 5,
|
|
1350
1354
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
|
|
1351
1355
|
}, [
|
|
@@ -1355,20 +1359,20 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1355
1359
|
ref: Ce,
|
|
1356
1360
|
class: H({ "vue-ui-nested-donuts-legend": re.value.length > 1 })
|
|
1357
1361
|
}, [
|
|
1358
|
-
(n(!0), r(x, null, T(re.value, (l, o) => (n(), z(
|
|
1362
|
+
(n(!0), r(x, null, T(re.value, (l, o) => (n(), z(ea, {
|
|
1359
1363
|
key: `legend_${o}_${He.value}`,
|
|
1360
1364
|
legendSet: l,
|
|
1361
|
-
config:
|
|
1365
|
+
config: cl.value,
|
|
1362
1366
|
onClickMarker: s[0] || (s[0] = ({ legend: a }) => X(a))
|
|
1363
1367
|
}, {
|
|
1364
1368
|
legendTitle: p(({ titleSet: a }) => [
|
|
1365
|
-
a[0] && a[0].arcOf ? (n(), r("div",
|
|
1369
|
+
a[0] && a[0].arcOf ? (n(), r("div", Ta, M(a[0].arcOf), 1)) : L("", !0)
|
|
1366
1370
|
]),
|
|
1367
1371
|
item: p(({ legend: a, index: u }) => [
|
|
1368
1372
|
g("div", {
|
|
1369
1373
|
onClick: (d) => X(a),
|
|
1370
1374
|
style: he(`opacity:${C.value.includes(a.id) ? 0.5 : 1}`)
|
|
1371
|
-
}, M(a.display), 13,
|
|
1375
|
+
}, M(a.display), 13, Da)
|
|
1372
1376
|
]),
|
|
1373
1377
|
_: 1
|
|
1374
1378
|
}, 8, ["legendSet", "config"]))), 128))
|
|
@@ -1389,13 +1393,13 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1389
1393
|
}, [
|
|
1390
1394
|
y(t.$slots, "source", {}, void 0, !0)
|
|
1391
1395
|
], 512)) : L("", !0),
|
|
1392
|
-
ge.value && e.value.userOptions.buttons.table ? (n(), z(
|
|
1396
|
+
ge.value && e.value.userOptions.buttons.table ? (n(), z(xl(te.value.component), Tl({ key: 8 }, te.value.props, {
|
|
1393
1397
|
ref_key: "tableUnit",
|
|
1394
1398
|
ref: Z,
|
|
1395
1399
|
onClose: mt
|
|
1396
|
-
}),
|
|
1400
|
+
}), At({
|
|
1397
1401
|
content: p(() => [
|
|
1398
|
-
(n(), z(c(
|
|
1402
|
+
(n(), z(c(Ht), {
|
|
1399
1403
|
key: `table_${Xe.value}`,
|
|
1400
1404
|
colNames: ie.value.colNames,
|
|
1401
1405
|
head: ie.value.head,
|
|
@@ -1409,7 +1413,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1409
1413
|
g("div", {
|
|
1410
1414
|
innerHTML: l,
|
|
1411
1415
|
style: { display: "flex", "align-items": "center" }
|
|
1412
|
-
}, null, 8,
|
|
1416
|
+
}, null, 8, Sa)
|
|
1413
1417
|
]),
|
|
1414
1418
|
td: p(({ td: l }) => [
|
|
1415
1419
|
Lt(M(l.name || l), 1)
|
|
@@ -1434,7 +1438,7 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1434
1438
|
class: "vue-ui-user-options-button",
|
|
1435
1439
|
onClick: s[1] || (s[1] = (l) => Fe(e.value.userOptions.callbacks.csv))
|
|
1436
1440
|
}, [
|
|
1437
|
-
Ie(c(
|
|
1441
|
+
Ie(c(Wt), {
|
|
1438
1442
|
name: "excel",
|
|
1439
1443
|
stroke: te.value.props.color
|
|
1440
1444
|
}, null, 8, ["stroke"])
|
|
@@ -1443,15 +1447,15 @@ const Ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1443
1447
|
key: "1"
|
|
1444
1448
|
} : void 0
|
|
1445
1449
|
]), 1040)) : L("", !0),
|
|
1446
|
-
c(
|
|
1447
|
-
], 46,
|
|
1450
|
+
c(Ae) ? (n(), z(Xl, { key: 9 })) : L("", !0)
|
|
1451
|
+
], 46, la));
|
|
1448
1452
|
}
|
|
1449
|
-
},
|
|
1453
|
+
}, Na = /* @__PURE__ */ ta(Oa, [["__scopeId", "data-v-a538bb7a"]]), Ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1450
1454
|
__proto__: null,
|
|
1451
|
-
default:
|
|
1455
|
+
default: Na
|
|
1452
1456
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1453
1457
|
export {
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1458
|
+
ja as a,
|
|
1459
|
+
Ja as b,
|
|
1460
|
+
Na as v
|
|
1457
1461
|
};
|