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,39 +1,43 @@
|
|
|
1
|
-
import { defineAsyncComponent as S, ref as
|
|
2
|
-
import { c as Re, t 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 Xe = { style: { chart: { backgroundColor: "#1A1A1A", 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 S, ref as r, computed as d, toRefs as Nt, onMounted as Vt, watch as Le, createElementBlock as g, openBlock as n, unref as s, normalizeStyle as W, normalizeClass as U, createBlock as F, createCommentVNode as h, createElementVNode as $, createVNode as ae, withCtx as i, renderSlot as c, normalizeProps as p, guardReactiveProps as y, createSlots as Ne, Fragment as Ve, renderList as Me, Teleport as Mt, toDisplayString as re, resolveDynamicComponent as zt, mergeProps as Gt, createTextVNode as ze, nextTick as Ge } from "vue";
|
|
2
|
+
import { c as Re, t as Rt, o as Wt, g as We, l as Ut, i as Ht, j as H, k as jt, a7 as Ue, m as Xt, ab as Yt, a as He, d as P, X as qt, y as je, v as Jt, r as Kt, _ as Qt } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { b as Zt } from "./labelUtils-D6Y-n7cD.js";
|
|
4
|
+
import { t as eo, u as to } from "./useResponsive-DfdjqQps.js";
|
|
5
|
+
import { u as oo, a as ne } from "./useNestedProp-Ckf_2P_V.js";
|
|
6
|
+
import { u as lo, B as ao } from "./BaseScanner-BMpwQAfz.js";
|
|
7
|
+
import { u as ro } from "./usePrinter-1NmjuP-i.js";
|
|
8
|
+
import { u as no } from "./useSvgExport-ByUukOZt.js";
|
|
9
|
+
import { u as so } from "./useThemeCheck-D1ZYXUwG.js";
|
|
10
|
+
import { u as uo } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
|
+
import { u as io } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
|
+
import co from "./img-6fNF_rG0.js";
|
|
13
|
+
import vo from "./Title-NgeRXqRA.js";
|
|
14
|
+
import go from "./Legend-DN5UJOBH.js";
|
|
15
|
+
import { _ as ho } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Xe = { userOptions: { show: !1 }, style: { chart: { layout: { arcs: { gradient: { show: !1 } } }, legend: { show: !1 } } } }, Ye = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { arcs: { gradient: { show: !1 } } }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, qe = { style: { chart: { backgroundColor: "#1A1A1A", 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" } } }, Je = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { arcs: { gradient: { show: !1 } } }, 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" } } }, Ke = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { arcs: { gradient: { show: !1 } } }, 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" } } }, Qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { arcs: { gradient: { color: "#1A1A1A" } } }, 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" } } }, Ze = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { arcs: { gradient: { color: "#fbfafa" } } }, 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" } } }, et = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { arcs: { gradient: { show: !1 } } }, 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" } } }, tt = {
|
|
17
17
|
default: {},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
minimal: Xe,
|
|
19
|
+
minimalDark: Ye,
|
|
20
|
+
dark: qe,
|
|
21
|
+
celebration: Je,
|
|
22
|
+
celebrationNight: Ke,
|
|
23
|
+
hack: Qe,
|
|
24
|
+
zen: Ze,
|
|
25
|
+
concrete: et
|
|
26
|
+
}, Xo = /* @__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: Je,
|
|
29
|
+
celebrationNight: Ke,
|
|
30
|
+
concrete: et,
|
|
31
|
+
dark: qe,
|
|
32
|
+
default: tt,
|
|
33
|
+
hack: Qe,
|
|
34
|
+
minimal: Xe,
|
|
35
|
+
minimalDark: Ye,
|
|
36
|
+
zen: Ze
|
|
37
|
+
}, Symbol.toStringTag, { value: "Module" })), bo = ["id"], fo = ["id"], po = ["xmlns", "viewBox"], yo = ["width", "height"], mo = ["id"], Co = ["stdDeviation"], ko = ["d", "stroke", "stroke-width"], wo = ["d", "stroke", "stroke-width"], Ao = ["filter"], $o = ["d", "stroke", "stroke-width"], To = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], xo = {
|
|
34
38
|
key: 4,
|
|
35
39
|
class: "vue-data-ui-watermark"
|
|
36
|
-
},
|
|
40
|
+
}, So = ["id"], Fo = ["onClick"], Do = ["innerHTML"], Oo = {
|
|
37
41
|
__name: "vue-ui-galaxy",
|
|
38
42
|
props: {
|
|
39
43
|
config: {
|
|
@@ -50,9 +54,9 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
50
54
|
}
|
|
51
55
|
},
|
|
52
56
|
emits: ["selectLegend", "selectDatapoint"],
|
|
53
|
-
setup(
|
|
54
|
-
const
|
|
55
|
-
...
|
|
57
|
+
setup(ot, { expose: lt, emit: at }) {
|
|
58
|
+
const rt = S(() => import("./Tooltip-B6qvABDL.js")), nt = S(() => import("./BaseIcon-4uOct8re.js")), st = S(() => import("./vue-ui-accordion-DFKaB_05.js")), ut = S(() => import("./DataTable-DyoDzNNY.js")), it = S(() => import("./PenAndPaper-LTuSTmWE.js")), ct = S(() => import("./UserOptions-CX7Xsusk.js")), dt = S(() => import("./PackageVersion-CQxJyGQr.js")), vt = S(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_galaxy: gt } = oo(), { isThemeValid: ht, warnInvalidTheme: bt } = so(), m = ot, C = r(Re()), k = r(null), j = r(!1), X = r(""), D = r(null), se = r(0), ue = r(0), ie = r(0), ce = r(0), de = r(null), ve = r(null), ge = r(null), he = r(null), _ = r(null), V = r(null), be = r(!1), B = r(null), Y = r(null), fe = d(() => !!m.dataset && m.dataset.length), e = r(Q()), { loading: q, FINAL_DATASET: pe } = lo({
|
|
59
|
+
...Nt(m),
|
|
56
60
|
FINAL_CONFIG: e,
|
|
57
61
|
prepareConfig: Q,
|
|
58
62
|
callback: () => {
|
|
@@ -65,7 +69,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
65
69
|
{ name: "_", values: [13], color: "#C4C4C4" },
|
|
66
70
|
{ name: "_", values: [8], color: "#ADADAD" }
|
|
67
71
|
],
|
|
68
|
-
skeletonConfig:
|
|
72
|
+
skeletonConfig: Rt({
|
|
69
73
|
defaultConfig: e.value,
|
|
70
74
|
userConfig: {
|
|
71
75
|
userOptions: { show: !1 },
|
|
@@ -82,17 +86,17 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
82
86
|
}
|
|
83
87
|
})
|
|
84
88
|
});
|
|
85
|
-
|
|
89
|
+
Vt(() => {
|
|
86
90
|
be.value = !0, me();
|
|
87
91
|
});
|
|
88
92
|
const ye = d(() => !!e.value.debug);
|
|
89
93
|
function me() {
|
|
90
|
-
if (
|
|
94
|
+
if (Wt(m.dataset) ? We({
|
|
91
95
|
componentName: "VueUiGalaxy",
|
|
92
96
|
type: "dataset",
|
|
93
97
|
debug: ye.value
|
|
94
98
|
}) : m.dataset.forEach((t, l) => {
|
|
95
|
-
|
|
99
|
+
Ut({
|
|
96
100
|
datasetObject: t,
|
|
97
101
|
requiredAttributes: ["name", "values"]
|
|
98
102
|
}).forEach((o) => {
|
|
@@ -105,8 +109,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
105
109
|
});
|
|
106
110
|
});
|
|
107
111
|
}), e.value.responsive) {
|
|
108
|
-
const t =
|
|
109
|
-
const { width: l, height: o } =
|
|
112
|
+
const t = eo(() => {
|
|
113
|
+
const { width: l, height: o } = to({
|
|
110
114
|
chart: k.value,
|
|
111
115
|
title: e.value.style.chart.title.text ? de.value : null,
|
|
112
116
|
legend: e.value.style.chart.legend.show ? ve.value : null,
|
|
@@ -120,45 +124,45 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
120
124
|
_.value && (V.value && _.value.unobserve(V.value), _.value.disconnect()), _.value = new ResizeObserver(t), V.value = k.value.parentNode, _.value.observe(V.value);
|
|
121
125
|
}
|
|
122
126
|
}
|
|
123
|
-
const { userOptionsVisible: J, setUserOptionsVisibility: Ce, keepUserOptionState: ke } =
|
|
127
|
+
const { userOptionsVisible: J, setUserOptionsVisibility: Ce, keepUserOptionState: ke } = uo({ config: e.value }), { svgRef: K } = io({ config: e.value.style.chart.title });
|
|
124
128
|
function Q() {
|
|
125
|
-
const t =
|
|
129
|
+
const t = ne({
|
|
126
130
|
userConfig: m.config,
|
|
127
|
-
defaultConfig:
|
|
131
|
+
defaultConfig: gt
|
|
128
132
|
}), l = t.theme;
|
|
129
133
|
if (!l) return t;
|
|
130
|
-
if (!
|
|
131
|
-
return
|
|
132
|
-
const o =
|
|
133
|
-
userConfig:
|
|
134
|
+
if (!ht.value(t))
|
|
135
|
+
return bt(t), t;
|
|
136
|
+
const o = ne({
|
|
137
|
+
userConfig: tt[l] || m.config,
|
|
134
138
|
defaultConfig: t
|
|
135
|
-
}), a =
|
|
139
|
+
}), a = ne({
|
|
136
140
|
userConfig: m.config,
|
|
137
141
|
defaultConfig: o
|
|
138
142
|
});
|
|
139
143
|
return {
|
|
140
144
|
...a,
|
|
141
|
-
customPalette: a.customPalette.length ? a.customPalette :
|
|
145
|
+
customPalette: a.customPalette.length ? a.customPalette : Ht[l] || H
|
|
142
146
|
};
|
|
143
147
|
}
|
|
144
148
|
Le(() => m.config, (t) => {
|
|
145
149
|
e.value = Q(), J.value = !e.value.userOptions.showOnChartHover, me(), ue.value += 1, ie.value += 1, ce.value += 1, b.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, b.value.showTable = e.value.table.show, b.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
146
150
|
}, { deep: !0 });
|
|
147
|
-
const { isPrinting: we, isImaging: Ae, generatePdf: $e, generateImage: Te } =
|
|
151
|
+
const { isPrinting: we, isImaging: Ae, generatePdf: $e, generateImage: Te } = ro({
|
|
148
152
|
elementId: `galaxy_${C.value}`,
|
|
149
153
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
|
|
150
154
|
options: e.value.userOptions.print
|
|
151
|
-
}),
|
|
155
|
+
}), ft = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), pt = d(() => jt(e.value.customPalette)), b = r({
|
|
152
156
|
dataLabels: {
|
|
153
157
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
154
158
|
},
|
|
155
159
|
showTable: e.value.table.show,
|
|
156
160
|
showTooltip: e.value.style.chart.tooltip.show
|
|
157
|
-
}), M =
|
|
161
|
+
}), M = r(250), z = r(180), yt = r(0), mt = r(0), T = d(() => ({
|
|
158
162
|
width: M.value,
|
|
159
163
|
height: z.value,
|
|
160
|
-
viewBox: `${
|
|
161
|
-
})), xe =
|
|
164
|
+
viewBox: `${yt.value} ${mt.value} ${M.value} ${z.value}`
|
|
165
|
+
})), xe = at, f = r([]);
|
|
162
166
|
function E(t) {
|
|
163
167
|
f.value.includes(t.id) ? f.value = f.value.filter((l) => l !== t.id) : f.value.push(t.id), xe("selectLegend", I.value.map((l) => ({
|
|
164
168
|
name: l.name,
|
|
@@ -172,17 +176,17 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
172
176
|
const l = w.value.find((o) => o.name === t);
|
|
173
177
|
return l || (e.value.debug && console.warn(`VueUiGalaxy - Series name not found "${t}"`), null);
|
|
174
178
|
}
|
|
175
|
-
function
|
|
179
|
+
function Ct(t) {
|
|
176
180
|
const l = Se(t);
|
|
177
181
|
l !== null && f.value.includes(l.id) && E({ id: l.id });
|
|
178
182
|
}
|
|
179
|
-
function
|
|
183
|
+
function kt(t) {
|
|
180
184
|
const l = Se(t);
|
|
181
185
|
l !== null && (f.value.includes(l.id) || E({ id: l.id }));
|
|
182
186
|
}
|
|
183
187
|
const w = d(() => pe.value.map((t, l) => ({
|
|
184
188
|
name: t.name,
|
|
185
|
-
color:
|
|
189
|
+
color: Xt(t.color) || pt.value[l] || H[l] || H[l % H.length],
|
|
186
190
|
value: t.values ? Ue(t.values).reduce((o, a) => o + a, 0) : 0,
|
|
187
191
|
absoluteValues: Ue(t.values),
|
|
188
192
|
id: Re()
|
|
@@ -190,16 +194,16 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
190
194
|
...t,
|
|
191
195
|
absoluteIndex: l
|
|
192
196
|
})));
|
|
193
|
-
function
|
|
197
|
+
function wt() {
|
|
194
198
|
return w.value.map((t) => ({
|
|
195
199
|
name: t.name,
|
|
196
200
|
color: t.color,
|
|
197
201
|
value: t.value
|
|
198
202
|
}));
|
|
199
203
|
}
|
|
200
|
-
const A = d(() => w.value.filter((t) => !f.value.includes(t.id)).map((t) => t.value).reduce((t, l) => t + l, 0)), Fe =
|
|
204
|
+
const A = d(() => w.value.filter((t) => !f.value.includes(t.id)).map((t) => t.value).reduce((t, l) => t + l, 0)), Fe = r(190), De = d(() => w.value.filter((t) => !f.value.includes(t.id))), At = d(
|
|
201
205
|
() => (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) / 2 + (e.value.style.chart.layout.padding ?? 12)
|
|
202
|
-
),
|
|
206
|
+
), $t = d(() => Yt({
|
|
203
207
|
maxPoints: Fe.value,
|
|
204
208
|
a: e.value.style.chart.layout.arcs.a ?? 6,
|
|
205
209
|
b: e.value.style.chart.layout.arcs.b ?? 6,
|
|
@@ -208,7 +212,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
208
212
|
startY: T.value.height / 2 + e.value.style.chart.layout.arcs.offsetY,
|
|
209
213
|
boxWidth: T.value.width,
|
|
210
214
|
boxHeight: T.value.height,
|
|
211
|
-
padding:
|
|
215
|
+
padding: At.value
|
|
212
216
|
})), I = d(() => {
|
|
213
217
|
const t = [];
|
|
214
218
|
for (let l = 0; l < De.value.length; l += 1) {
|
|
@@ -218,7 +222,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
218
222
|
...o,
|
|
219
223
|
seriesIndex: l,
|
|
220
224
|
proportion: o.value / A.value,
|
|
221
|
-
path:
|
|
225
|
+
path: $t.value(a)
|
|
222
226
|
});
|
|
223
227
|
}
|
|
224
228
|
return t.filter((l) => !f.value.includes(l.id)).toSorted((l, o) => o.points - l.points);
|
|
@@ -231,15 +235,15 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
231
235
|
blur: v / 180 * l
|
|
232
236
|
};
|
|
233
237
|
}
|
|
234
|
-
const O =
|
|
238
|
+
const O = r(!1);
|
|
235
239
|
function Oe(t) {
|
|
236
240
|
O.value = t, se.value += 1;
|
|
237
241
|
}
|
|
238
|
-
const ee =
|
|
239
|
-
function
|
|
242
|
+
const ee = r(null);
|
|
243
|
+
function Tt(t) {
|
|
240
244
|
j.value = !1, D.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
241
245
|
}
|
|
242
|
-
function
|
|
246
|
+
function xt(t) {
|
|
243
247
|
xe("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
244
248
|
}
|
|
245
249
|
function Pe({
|
|
@@ -249,7 +253,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
249
253
|
showPercentage: a
|
|
250
254
|
}) {
|
|
251
255
|
const u = e.value.style.chart.layout.labels.dataLabels;
|
|
252
|
-
return
|
|
256
|
+
return Zt({
|
|
253
257
|
config: u,
|
|
254
258
|
val: t,
|
|
255
259
|
percentage: l,
|
|
@@ -257,7 +261,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
257
261
|
showPercentage: a
|
|
258
262
|
});
|
|
259
263
|
}
|
|
260
|
-
function
|
|
264
|
+
function St({ datapoint: t, _relativeIndex: l, seriesIndex: o, show: a = !1 }) {
|
|
261
265
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex }), ee.value = {
|
|
262
266
|
datapoint: t,
|
|
263
267
|
seriesIndex: o,
|
|
@@ -266,7 +270,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
266
270
|
}, j.value = a, D.value = t.id;
|
|
267
271
|
let u = "";
|
|
268
272
|
const v = e.value.style.chart.tooltip.customFormat;
|
|
269
|
-
je(v) &&
|
|
273
|
+
je(v) && Qt(() => v({
|
|
270
274
|
seriesIndex: o,
|
|
271
275
|
datapoint: t,
|
|
272
276
|
series: w.value,
|
|
@@ -311,14 +315,14 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
311
315
|
});
|
|
312
316
|
return {
|
|
313
317
|
...t,
|
|
314
|
-
proportion: (t.value || 0) / pe.value.map((v) => (v.values || []).reduce((N,
|
|
318
|
+
proportion: (t.value || 0) / pe.value.map((v) => (v.values || []).reduce((N, Lt) => N + Lt, 0)).reduce((v, N) => v + N, 0),
|
|
315
319
|
opacity: f.value.includes(t.id) ? 0.5 : 1,
|
|
316
320
|
shape: t.shape || "circle",
|
|
317
321
|
segregate: () => E(t),
|
|
318
322
|
isSegregated: f.value.includes(t.id),
|
|
319
323
|
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${u}`
|
|
320
324
|
};
|
|
321
|
-
})),
|
|
325
|
+
})), Ft = d(() => ({
|
|
322
326
|
cy: "galaxy-div-legend",
|
|
323
327
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
324
328
|
color: e.value.style.chart.legend.color,
|
|
@@ -336,8 +340,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
336
340
|
Ge(() => {
|
|
337
341
|
const l = x.value.head.map((u, v) => [[
|
|
338
342
|
u.name
|
|
339
|
-
], [x.value.body[v]], [isNaN(x.value.body[v] / A.value) ? "-" : x.value.body[v] / A.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), a =
|
|
340
|
-
t ? t(a) :
|
|
343
|
+
], [x.value.body[v]], [isNaN(x.value.body[v] / A.value) ? "-" : x.value.body[v] / A.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), a = Jt(o);
|
|
344
|
+
t ? t(a) : Kt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
341
345
|
});
|
|
342
346
|
}
|
|
343
347
|
const G = d(() => {
|
|
@@ -389,13 +393,13 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
389
393
|
function Be() {
|
|
390
394
|
b.value.showTooltip = !b.value.showTooltip;
|
|
391
395
|
}
|
|
392
|
-
const R =
|
|
396
|
+
const R = r(!1);
|
|
393
397
|
function le() {
|
|
394
398
|
R.value = !R.value;
|
|
395
399
|
}
|
|
396
|
-
async function
|
|
400
|
+
async function Dt({ scale: t = 2 } = {}) {
|
|
397
401
|
if (!k.value) return;
|
|
398
|
-
const { width: l, height: o } = k.value.getBoundingClientRect(), a = l / o, { imageUri: u, base64: v } = await
|
|
402
|
+
const { width: l, height: o } = k.value.getBoundingClientRect(), a = l / o, { imageUri: u, base64: v } = await co({ domElement: k.value, base64: !0, img: !0, scale: t });
|
|
399
403
|
return {
|
|
400
404
|
imageUri: u,
|
|
401
405
|
base64: v,
|
|
@@ -408,7 +412,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
408
412
|
const L = d(() => {
|
|
409
413
|
const t = e.value.table.useDialog && !e.value.table.show, l = b.value.showTable;
|
|
410
414
|
return {
|
|
411
|
-
component: t ?
|
|
415
|
+
component: t ? vt : st,
|
|
412
416
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
413
417
|
props: t ? {
|
|
414
418
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -441,37 +445,37 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
441
445
|
function Ee() {
|
|
442
446
|
b.value.showTable = !1, Y.value && Y.value.setTableIconState(!1);
|
|
443
447
|
}
|
|
444
|
-
const
|
|
448
|
+
const Ot = d(() => te.value.map((t) => ({
|
|
445
449
|
...t,
|
|
446
450
|
name: t.display
|
|
447
|
-
}))),
|
|
451
|
+
}))), Pt = d(() => e.value.style.chart.backgroundColor), _t = d(() => e.value.style.chart.legend), Bt = d(() => e.value.style.chart.title), { exportSvg: Et, getSvg: It } = no({
|
|
448
452
|
svg: K,
|
|
449
|
-
title:
|
|
450
|
-
legend:
|
|
451
|
-
legendItems:
|
|
452
|
-
backgroundColor:
|
|
453
|
+
title: Bt,
|
|
454
|
+
legend: _t,
|
|
455
|
+
legendItems: Ot,
|
|
456
|
+
backgroundColor: Pt
|
|
453
457
|
});
|
|
454
458
|
async function Ie({ isCb: t }) {
|
|
455
459
|
if (t) {
|
|
456
|
-
const { blob: l, url: o, text: a, dataUrl: u } = await
|
|
460
|
+
const { blob: l, url: o, text: a, dataUrl: u } = await It();
|
|
457
461
|
e.value.userOptions.callbacks.svg({ blob: l, url: o, text: a, dataUrl: u });
|
|
458
462
|
} else
|
|
459
|
-
|
|
463
|
+
Et();
|
|
460
464
|
}
|
|
461
|
-
return
|
|
462
|
-
getData:
|
|
463
|
-
getImage:
|
|
465
|
+
return lt({
|
|
466
|
+
getData: wt,
|
|
467
|
+
getImage: Dt,
|
|
464
468
|
generatePdf: $e,
|
|
465
469
|
generateCsv: oe,
|
|
466
470
|
generateImage: Te,
|
|
467
471
|
generateSvg: Ie,
|
|
468
|
-
hideSeries:
|
|
469
|
-
showSeries:
|
|
472
|
+
hideSeries: kt,
|
|
473
|
+
showSeries: Ct,
|
|
470
474
|
toggleTable: _e,
|
|
471
475
|
toggleTooltip: Be,
|
|
472
476
|
toggleAnnotator: le,
|
|
473
477
|
toggleFullscreen: Oe
|
|
474
|
-
}), (t, l) => (
|
|
478
|
+
}), (t, l) => (n(), g("div", {
|
|
475
479
|
ref_key: "galaxyChart",
|
|
476
480
|
ref: k,
|
|
477
481
|
class: U(`vue-data-ui-component vue-ui-galaxy ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${s(q) ? "loading" : ""}`),
|
|
@@ -480,7 +484,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
480
484
|
onMouseenter: l[2] || (l[2] = () => s(Ce)(!0)),
|
|
481
485
|
onMouseleave: l[3] || (l[3] = () => s(Ce)(!1))
|
|
482
486
|
}, [
|
|
483
|
-
e.value.userOptions.buttons.annotator ? (
|
|
487
|
+
e.value.userOptions.buttons.annotator ? (n(), F(s(it), {
|
|
484
488
|
key: 0,
|
|
485
489
|
svgRef: s(K),
|
|
486
490
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -508,20 +512,20 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
508
512
|
]),
|
|
509
513
|
_: 3
|
|
510
514
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
511
|
-
|
|
515
|
+
ft.value ? (n(), g("div", {
|
|
512
516
|
key: 1,
|
|
513
517
|
ref_key: "noTitle",
|
|
514
518
|
ref: he,
|
|
515
519
|
class: "vue-data-ui-no-title-space",
|
|
516
520
|
style: "height:36px; width: 100%;background:transparent"
|
|
517
521
|
}, null, 512)) : h("", !0),
|
|
518
|
-
e.value.style.chart.title.text ? (
|
|
522
|
+
e.value.style.chart.title.text ? (n(), g("div", {
|
|
519
523
|
key: 2,
|
|
520
524
|
ref_key: "chartTitle",
|
|
521
525
|
ref: de,
|
|
522
526
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
523
527
|
}, [
|
|
524
|
-
(
|
|
528
|
+
(n(), F(vo, {
|
|
525
529
|
key: `title_${ue.value}`,
|
|
526
530
|
config: {
|
|
527
531
|
title: {
|
|
@@ -537,8 +541,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
537
541
|
], 512)) : h("", !0),
|
|
538
542
|
$("div", {
|
|
539
543
|
id: `legend-top-${C.value}`
|
|
540
|
-
}, null, 8,
|
|
541
|
-
e.value.userOptions.show && fe.value && (s(ke) || s(J)) ? (
|
|
544
|
+
}, null, 8, fo),
|
|
545
|
+
e.value.userOptions.show && fe.value && (s(ke) || s(J)) ? (n(), F(s(ct), {
|
|
542
546
|
ref_key: "userOptionsRef",
|
|
543
547
|
ref: Y,
|
|
544
548
|
key: `user_option_${se.value}`,
|
|
@@ -640,16 +644,16 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
640
644
|
key: "8"
|
|
641
645
|
} : void 0
|
|
642
646
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
643
|
-
(
|
|
647
|
+
(n(), g("svg", {
|
|
644
648
|
ref_key: "svgRef",
|
|
645
649
|
ref: K,
|
|
646
|
-
xmlns: s(
|
|
650
|
+
xmlns: s(qt),
|
|
647
651
|
class: U({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
648
652
|
viewBox: T.value.viewBox,
|
|
649
653
|
style: W(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
650
654
|
}, [
|
|
651
|
-
ae(s(
|
|
652
|
-
t.$slots["chart-background"] ? (
|
|
655
|
+
ae(s(dt)),
|
|
656
|
+
t.$slots["chart-background"] ? (n(), g("foreignObject", {
|
|
653
657
|
key: 0,
|
|
654
658
|
x: 0,
|
|
655
659
|
y: 0,
|
|
@@ -660,7 +664,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
660
664
|
}
|
|
661
665
|
}, [
|
|
662
666
|
c(t.$slots, "chart-background", {}, void 0, !0)
|
|
663
|
-
], 8,
|
|
667
|
+
], 8, yo)) : h("", !0),
|
|
664
668
|
$("defs", null, [
|
|
665
669
|
$("filter", {
|
|
666
670
|
id: `blur_${C.value}`,
|
|
@@ -672,19 +676,19 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
672
676
|
$("feGaussianBlur", {
|
|
673
677
|
in: "SourceGraphic",
|
|
674
678
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
675
|
-
}, null, 8,
|
|
676
|
-
], 8,
|
|
679
|
+
}, null, 8, Co)
|
|
680
|
+
], 8, mo)
|
|
677
681
|
]),
|
|
678
|
-
(
|
|
679
|
-
o.value ? (
|
|
682
|
+
(n(!0), g(Ve, null, Me(I.value, (o) => (n(), g("g", null, [
|
|
683
|
+
o.value ? (n(), g("path", {
|
|
680
684
|
key: 0,
|
|
681
685
|
d: o.path,
|
|
682
686
|
fill: "none",
|
|
683
687
|
stroke: e.value.style.chart.backgroundColor,
|
|
684
688
|
"stroke-width": Z(o).border,
|
|
685
689
|
"stroke-linecap": "round"
|
|
686
|
-
}, null, 8,
|
|
687
|
-
o.value ? (
|
|
690
|
+
}, null, 8, ko)) : h("", !0),
|
|
691
|
+
o.value ? (n(), g("path", {
|
|
688
692
|
key: 1,
|
|
689
693
|
d: o.path,
|
|
690
694
|
fill: "none",
|
|
@@ -692,8 +696,8 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
692
696
|
"stroke-width": Z(o).path,
|
|
693
697
|
"stroke-linecap": "round",
|
|
694
698
|
class: U(`${D.value && D.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
695
|
-
}, null, 10,
|
|
696
|
-
o.value && e.value.style.chart.layout.arcs.gradient.show ? (
|
|
699
|
+
}, null, 10, wo)) : h("", !0),
|
|
700
|
+
o.value && e.value.style.chart.layout.arcs.gradient.show ? (n(), g("g", {
|
|
697
701
|
key: 2,
|
|
698
702
|
filter: `url(#blur_${C.value})`
|
|
699
703
|
}, [
|
|
@@ -704,35 +708,35 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
704
708
|
"stroke-width": Z(o).blur,
|
|
705
709
|
"stroke-linecap": "round",
|
|
706
710
|
class: U(`vue-ui-galaxy-gradient ${D.value && D.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
707
|
-
}, null, 10,
|
|
708
|
-
], 8,
|
|
711
|
+
}, null, 10, $o)
|
|
712
|
+
], 8, Ao)) : h("", !0)
|
|
709
713
|
]))), 256)),
|
|
710
|
-
(
|
|
711
|
-
o.value ? (
|
|
714
|
+
(n(!0), g(Ve, null, Me(I.value, (o, a) => (n(), g("g", null, [
|
|
715
|
+
o.value ? (n(), g("path", {
|
|
712
716
|
key: 0,
|
|
713
717
|
d: o.path,
|
|
714
718
|
fill: "none",
|
|
715
719
|
stroke: "transparent",
|
|
716
720
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
717
721
|
"stroke-linecap": "round",
|
|
718
|
-
onMouseenter: (u) =>
|
|
722
|
+
onMouseenter: (u) => St({
|
|
719
723
|
datapoint: o,
|
|
720
724
|
seriesIndex: o.seriesIndex,
|
|
721
725
|
show: !0
|
|
722
726
|
}),
|
|
723
|
-
onMouseleave: (u) =>
|
|
724
|
-
onClick: (u) =>
|
|
725
|
-
}, null, 40,
|
|
727
|
+
onMouseleave: (u) => Tt(o),
|
|
728
|
+
onClick: (u) => xt(o)
|
|
729
|
+
}, null, 40, To)) : h("", !0)
|
|
726
730
|
]))), 256)),
|
|
727
731
|
c(t.$slots, "svg", { svg: T.value }, void 0, !0)
|
|
728
|
-
], 14,
|
|
729
|
-
t.$slots.watermark ? (
|
|
732
|
+
], 14, po)),
|
|
733
|
+
t.$slots.watermark ? (n(), g("div", xo, [
|
|
730
734
|
c(t.$slots, "watermark", p(y({ isPrinting: s(we) || s(Ae) })), void 0, !0)
|
|
731
735
|
])) : h("", !0),
|
|
732
736
|
$("div", {
|
|
733
737
|
id: `legend-bottom-${C.value}`
|
|
734
|
-
}, null, 8,
|
|
735
|
-
be.value ? (
|
|
738
|
+
}, null, 8, So),
|
|
739
|
+
be.value ? (n(), F(Mt, {
|
|
736
740
|
key: 5,
|
|
737
741
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${C.value}` : `#legend-bottom-${C.value}`
|
|
738
742
|
}, [
|
|
@@ -740,25 +744,25 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
740
744
|
ref_key: "chartLegend",
|
|
741
745
|
ref: ve
|
|
742
746
|
}, [
|
|
743
|
-
e.value.style.chart.legend.show ? (
|
|
747
|
+
e.value.style.chart.legend.show ? (n(), F(go, {
|
|
744
748
|
key: `legend_${ce.value}`,
|
|
745
749
|
legendSet: te.value,
|
|
746
|
-
config:
|
|
750
|
+
config: Ft.value,
|
|
747
751
|
onClickMarker: l[0] || (l[0] = ({ legend: o }) => E(o))
|
|
748
752
|
}, {
|
|
749
753
|
item: i(({ legend: o, index: a }) => [
|
|
750
|
-
s(q) ? h("", !0) : (
|
|
754
|
+
s(q) ? h("", !0) : (n(), g("div", {
|
|
751
755
|
key: 0,
|
|
752
756
|
onClick: (u) => E(o),
|
|
753
757
|
style: W(`opacity:${f.value.includes(o.id) ? 0.5 : 1}`)
|
|
754
|
-
},
|
|
758
|
+
}, re(o.display), 13, Fo))
|
|
755
759
|
]),
|
|
756
760
|
_: 1
|
|
757
761
|
}, 8, ["legendSet", "config"])) : h("", !0),
|
|
758
762
|
c(t.$slots, "legend", { legend: te.value }, void 0, !0)
|
|
759
763
|
], 512)
|
|
760
764
|
], 8, ["to"])) : h("", !0),
|
|
761
|
-
t.$slots.source ? (
|
|
765
|
+
t.$slots.source ? (n(), g("div", {
|
|
762
766
|
key: 6,
|
|
763
767
|
ref_key: "source",
|
|
764
768
|
ref: ge,
|
|
@@ -766,7 +770,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
766
770
|
}, [
|
|
767
771
|
c(t.$slots, "source", {}, void 0, !0)
|
|
768
772
|
], 512)) : h("", !0),
|
|
769
|
-
ae(s(
|
|
773
|
+
ae(s(rt), {
|
|
770
774
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
771
775
|
show: b.value.showTooltip && j.value,
|
|
772
776
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
@@ -795,13 +799,13 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
795
799
|
]),
|
|
796
800
|
_: 3
|
|
797
801
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
798
|
-
fe.value && e.value.userOptions.buttons.table ? (
|
|
802
|
+
fe.value && e.value.userOptions.buttons.table ? (n(), F(zt(L.value.component), Gt({ key: 7 }, L.value.props, {
|
|
799
803
|
ref_key: "tableUnit",
|
|
800
804
|
ref: B,
|
|
801
805
|
onClose: Ee
|
|
802
806
|
}), Ne({
|
|
803
807
|
content: i(() => [
|
|
804
|
-
(
|
|
808
|
+
(n(), F(s(ut), {
|
|
805
809
|
key: `table_${ie.value}`,
|
|
806
810
|
colNames: G.value.colNames,
|
|
807
811
|
head: G.value.head,
|
|
@@ -815,10 +819,10 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
815
819
|
$("div", {
|
|
816
820
|
innerHTML: o,
|
|
817
821
|
style: { display: "flex", "align-items": "center" }
|
|
818
|
-
}, null, 8,
|
|
822
|
+
}, null, 8, Do)
|
|
819
823
|
]),
|
|
820
824
|
td: i(({ td: o }) => [
|
|
821
|
-
ze(
|
|
825
|
+
ze(re(o.name || o), 1)
|
|
822
826
|
]),
|
|
823
827
|
_: 1
|
|
824
828
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -828,7 +832,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
828
832
|
e.value.table.useDialog ? {
|
|
829
833
|
name: "title",
|
|
830
834
|
fn: i(() => [
|
|
831
|
-
ze(
|
|
835
|
+
ze(re(L.value.title), 1)
|
|
832
836
|
]),
|
|
833
837
|
key: "0"
|
|
834
838
|
} : void 0,
|
|
@@ -840,7 +844,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
840
844
|
class: "vue-ui-user-options-button",
|
|
841
845
|
onClick: l[1] || (l[1] = (o) => oe(e.value.userOptions.callbacks.csv))
|
|
842
846
|
}, [
|
|
843
|
-
ae(s(
|
|
847
|
+
ae(s(nt), {
|
|
844
848
|
name: "excel",
|
|
845
849
|
stroke: L.value.props.color
|
|
846
850
|
}, null, 8, ["stroke"])
|
|
@@ -849,15 +853,15 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
849
853
|
key: "1"
|
|
850
854
|
} : void 0
|
|
851
855
|
]), 1040)) : h("", !0),
|
|
852
|
-
s(q) ? (
|
|
853
|
-
], 46,
|
|
856
|
+
s(q) ? (n(), F(ao, { key: 8 })) : h("", !0)
|
|
857
|
+
], 46, bo));
|
|
854
858
|
}
|
|
855
|
-
},
|
|
859
|
+
}, Po = /* @__PURE__ */ ho(Oo, [["__scopeId", "data-v-8c971252"]]), Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
856
860
|
__proto__: null,
|
|
857
|
-
default:
|
|
861
|
+
default: Po
|
|
858
862
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
859
863
|
export {
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
864
|
+
Xo as a,
|
|
865
|
+
Yo as b,
|
|
866
|
+
Po as v
|
|
863
867
|
};
|