vue-data-ui 3.25.3 → 3.25.5
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/README.md +13 -13
- package/dist/{Arrow-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-Bn3MY7eL.js} +103 -101
- package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-KXRhcsxM.js} +12 -12
- package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-M2Ws-VwJ.js} +1 -1
- package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-BgH3m_LP.js} +30 -14
- package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-m0uxKoiy.js → UserOptions-f3Q0nqrj.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-hill.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-label.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-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
- package/dist/{package-NccReU84.js → package-ta2JoIjx.js} +1 -1
- package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-CHj9aLwI.js → render-common-bvOuxfN3.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +70 -1
- package/dist/types/vue-ui-annotator.d.ts +58 -2
- package/dist/{useConfig-CyCVHo81.js → useConfig-C_mX5pOZ.js} +1329 -1313
- package/dist/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings-uXpBcVyo.js} +1 -1
- package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-BjdCpsRV.js} +70 -70
- package/dist/vue-data-ui.js +74 -74
- package/dist/vue-ui-3d-bar-C0aLR6lw.js +1831 -0
- package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-DRf3NQyH.js} +4 -4
- package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-DUcB3lYs.js} +219 -217
- package/dist/vue-ui-annotator-DZ0O8Xa5.js +3325 -0
- package/dist/vue-ui-bullet-DIOCMF2H.js +702 -0
- package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-DoHnD1Xy.js} +59 -57
- package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Cf8TYPl5.js} +453 -447
- package/dist/vue-ui-carousel-table-k1cBJ1i1.js +467 -0
- package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-BMAuaeif.js} +278 -276
- package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DCe2iPjk.js} +37 -35
- package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-Eb5hS_z3.js} +34 -32
- package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-CQWLyEx0.js} +4 -4
- package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-BqlsutMj.js} +80 -78
- package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-Be3MmkgS.js} +77 -75
- package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BqdfbcKX.js} +4 -4
- package/dist/vue-ui-donut-CuQVKuZa.js +2415 -0
- package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-DckruxZ9.js} +378 -376
- package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-gzGZ42uH.js} +102 -102
- package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-BYU-hh2E.js} +142 -140
- package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-DLRcNDLc.js} +46 -44
- package/dist/vue-ui-funnel-DjoqNN1U.js +749 -0
- package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BhR4IOra.js} +249 -247
- package/dist/vue-ui-gauge-Cq161Kwp.js +934 -0
- package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-Ca8kPYr-.js} +41 -39
- package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-wUqHJICb.js} +4 -4
- package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-Bl5ymvi9.js} +186 -184
- package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-D6Y9Xy2K.js} +14 -12
- package/dist/vue-ui-history-plot-CvVjsdCL.js +1698 -0
- package/dist/vue-ui-horizontal-bar-3on3-H3B.js +1711 -0
- package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-CUpRRIUf.js} +4 -4
- package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-DR2qUZOG.js} +65 -65
- package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-D8W-fERs.js} +3 -3
- package/dist/vue-ui-molecule-BExVLLgE.js +929 -0
- package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-TW251icr.js} +205 -203
- package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CWzJKr3S.js} +129 -127
- package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-VaYZQK5i.js} +124 -122
- package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-RM25bxtf.js} +380 -378
- package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-Dmtwow7n.js} +51 -49
- package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-Cswm3_eI.js} +190 -188
- package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-C3GYthqu.js} +315 -313
- package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CBdDXL80.js} +3 -3
- package/dist/vue-ui-relation-circle-BA0qy0kp.js +905 -0
- package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-C5skjBTe.js} +353 -344
- package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-BJ8yEQMw.js} +332 -330
- package/dist/vue-ui-scatter-DXg8ESgr.js +2405 -0
- package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-D_u8EWeW.js} +60 -60
- package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DQOp87rr.js} +3 -3
- package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-CjCufXof.js} +9 -9
- package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-BniEM15a.js} +142 -142
- package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-BtyCrqTQ.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-DQdn3PW1.js} +27 -27
- package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-9qkNNZG6.js} +254 -254
- package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +738 -0
- package/dist/vue-ui-stackbar-CkjicNDv.js +2355 -0
- package/dist/vue-ui-stackline-BB1IZta8.js +2469 -0
- package/dist/vue-ui-strip-plot-DGLGuH6e.js +1740 -0
- package/dist/vue-ui-table-BXz_HY2g.js +1352 -0
- package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-XmDK1aHJ.js} +10 -10
- package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-MTEw3imE.js} +14 -14
- package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-CLx3SPRv.js} +36 -34
- package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-BDWUNb6t.js} +6 -6
- package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-DoaypTC-.js} +11 -9
- package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-Bv7PgpiC.js} +45 -43
- package/dist/vue-ui-waffle-z2DhvSAx.js +1621 -0
- package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-DYLBJuFb.js} +31 -29
- package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-CbpEhSdL.js} +32 -30
- package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-C2atz4Xm.js} +120 -118
- package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-B3DQ6t46.js} +1496 -1490
- package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-CpA0W6zM.js} +424 -423
- package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-CJefORWc.js} +78 -78
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
- package/dist/vue-ui-annotator-MvDwnq7k.js +0 -2886
- package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
- package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
- package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
- package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
- package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
- package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
- package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
- package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
- package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
- package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
- package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
- package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
- package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
- package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
- package/dist/vue-ui-table-DMJWplCT.js +0 -1352
- package/dist/vue-ui-waffle-DIFpyE2V.js +0 -1619
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { l as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, Ct as n, D as r, Lt as i, Pt as a, R as o, S as s, Vt as c, X as l, Yt as ee, Zt as te, ht as ne, i as re, lt as ie, nt as ae, q as oe, t as se, w as ce } from "./lib-Dql7cqyA.js";
|
|
3
|
+
import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as de } from "./useConfig-C_mX5pOZ.js";
|
|
5
|
+
import { t as fe } from "./usePrinter-DISD7q5m.js";
|
|
6
|
+
import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as he } from "./useNestedProp-Chvyfpl-.js";
|
|
8
|
+
import { t as ge } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as _e } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
+
import { t as ve } from "./useTransitions-g_zBREk2.js";
|
|
11
|
+
import { t as ye } from "./img-DhGApYG0.js";
|
|
12
|
+
import { n as be } from "./Title-CPHi-evi.js";
|
|
13
|
+
import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
+
import { t as we } from "./BaseLegendToggle-__JnV08B.js";
|
|
16
|
+
import { t as Te } from "./A11yDataTable-DdRsVULz.js";
|
|
17
|
+
import { t as Ee } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as De } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as Oe } from "./labelUtils-BXX2NzRe.js";
|
|
20
|
+
import { t as ke } from "./Legend-X4kF4PvW.js";
|
|
21
|
+
import { t as Ae } from "./vue_ui_galaxy-Ig0cc1_h.js";
|
|
22
|
+
import { Fragment as je, Teleport as Me, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ne, createTextVNode as Pe, createVNode as h, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Fe, nextTick as Ie, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onMounted as Le, openBlock as x, ref as S, renderList as Re, renderSlot as C, resolveDynamicComponent as ze, toDisplayString as w, toRefs as Be, unref as T, watch as Ve, withCtx as E } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-galaxy.vue
|
|
24
|
-
var
|
|
24
|
+
var He = /* @__PURE__ */ e({ default: () => ct }), Ue = ["id"], We = ["id"], Ge = ["id"], Ke = { style: { position: "relative" } }, qe = [
|
|
25
25
|
"xmlns",
|
|
26
26
|
"aria-describedby",
|
|
27
27
|
"viewBox"
|
|
28
|
-
],
|
|
28
|
+
], Je = ["width", "height"], Ye = ["id"], Xe = ["stdDeviation"], Ze = [
|
|
29
29
|
"d",
|
|
30
30
|
"stroke",
|
|
31
31
|
"stroke-width"
|
|
32
|
-
],
|
|
32
|
+
], Qe = [
|
|
33
33
|
"d",
|
|
34
34
|
"stroke",
|
|
35
35
|
"stroke-width"
|
|
36
|
-
],
|
|
36
|
+
], $e = ["filter"], et = [
|
|
37
37
|
"d",
|
|
38
38
|
"stroke",
|
|
39
39
|
"stroke-width"
|
|
40
|
-
],
|
|
40
|
+
], tt = [
|
|
41
41
|
"data-a11y-serie-id",
|
|
42
42
|
"d",
|
|
43
43
|
"stroke-width",
|
|
@@ -45,7 +45,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
45
45
|
"onMouseenter",
|
|
46
46
|
"onMouseleave",
|
|
47
47
|
"onClick"
|
|
48
|
-
],
|
|
48
|
+
], nt = {
|
|
49
49
|
key: 0,
|
|
50
50
|
style: {
|
|
51
51
|
position: "absolute",
|
|
@@ -55,10 +55,10 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
55
55
|
},
|
|
56
56
|
"data-dom-to-png-ignore": "",
|
|
57
57
|
"aria-hidden": "true"
|
|
58
|
-
},
|
|
58
|
+
}, rt = {
|
|
59
59
|
key: 5,
|
|
60
60
|
class: "vue-data-ui-watermark"
|
|
61
|
-
},
|
|
61
|
+
}, it = ["id"], at = ["onClick"], ot = { key: 0 }, st = { key: 1 }, ct = /*#__PURE__*/ xe({
|
|
62
62
|
__name: "vue-ui-galaxy",
|
|
63
63
|
props: {
|
|
64
64
|
config: {
|
|
@@ -79,18 +79,18 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
79
79
|
"selectDatapoint",
|
|
80
80
|
"copyAlt"
|
|
81
81
|
],
|
|
82
|
-
setup(e, { expose:
|
|
83
|
-
let
|
|
82
|
+
setup(e, { expose: xe, emit: He }) {
|
|
83
|
+
let ct = g(() => import("./Tooltip-hhrkQ3Lk.js")), lt = g(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), ut = g(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), dt = g(() => import("./DataTable-COIO9gi4.js")), ft = g(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), pt = g(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), mt = g(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), ht = g(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_galaxy: gt } = de(), { isThemeValid: _t, warnInvalidTheme: vt } = ge(), D = e, O = S(oe()), k = S(null), yt = S(!1), bt = S(""), A = S(null), xt = S(0), St = S(0), Ct = S(0), wt = S(0), Tt = S(null), Et = S(null), Dt = S(null), Ot = S(null), j = S(null), kt = S(null), At = S(!1), M = S(null), jt = S(null), N = S(null), P = S(null), Mt = S({
|
|
84
84
|
x: 0,
|
|
85
85
|
y: 0
|
|
86
|
-
}),
|
|
87
|
-
|
|
86
|
+
}), Nt = S("pointer"), Pt = S(!1), Ft = u(() => !!D.dataset && D.dataset.length), F = S(Gt());
|
|
87
|
+
le({
|
|
88
88
|
config: () => F.value,
|
|
89
|
-
dataset: () =>
|
|
89
|
+
dataset: () => D.dataset,
|
|
90
90
|
component: "VueUiGalaxy",
|
|
91
91
|
rules: [
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
ue.singleSeries,
|
|
93
|
+
ue.emptyArray,
|
|
94
94
|
{
|
|
95
95
|
test: (e) => e.length > 6,
|
|
96
96
|
message: [
|
|
@@ -105,10 +105,10 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
105
105
|
}
|
|
106
106
|
]
|
|
107
107
|
});
|
|
108
|
-
let { transitionEnabled: It } =
|
|
108
|
+
let { transitionEnabled: It } = ve({
|
|
109
109
|
config: () => F.value.transitions,
|
|
110
|
-
dataset: () =>
|
|
111
|
-
}), I =
|
|
110
|
+
dataset: () => D.dataset
|
|
111
|
+
}), I = u(() => F.value.userOptions.useCursorPointer), Lt = u(() => te({
|
|
112
112
|
defaultConfig: {
|
|
113
113
|
userOptions: { show: !1 },
|
|
114
114
|
table: { show: !1 },
|
|
@@ -119,16 +119,16 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
119
119
|
} }
|
|
120
120
|
},
|
|
121
121
|
userConfig: F.value.skeletonConfig ?? {}
|
|
122
|
-
})), { loading: Rt, FINAL_DATASET: zt } =
|
|
123
|
-
...
|
|
122
|
+
})), { loading: Rt, FINAL_DATASET: zt } = pe({
|
|
123
|
+
...Be(D),
|
|
124
124
|
FINAL_CONFIG: F,
|
|
125
125
|
prepareConfig: Gt,
|
|
126
126
|
callback: () => {
|
|
127
127
|
Promise.resolve().then(async () => {
|
|
128
|
-
await
|
|
128
|
+
await Ie(), R.value.showTable = F.value.table.show;
|
|
129
129
|
});
|
|
130
130
|
},
|
|
131
|
-
skeletonDataset:
|
|
131
|
+
skeletonDataset: D.config?.skeletonDataset ?? [
|
|
132
132
|
{
|
|
133
133
|
name: "_",
|
|
134
134
|
values: [21],
|
|
@@ -145,26 +145,26 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
145
145
|
color: "#ADADAD"
|
|
146
146
|
}
|
|
147
147
|
],
|
|
148
|
-
skeletonConfig:
|
|
148
|
+
skeletonConfig: te({
|
|
149
149
|
defaultConfig: F.value,
|
|
150
150
|
userConfig: Lt.value
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
|
-
|
|
153
|
+
Le(() => {
|
|
154
154
|
At.value = !0, Vt();
|
|
155
155
|
});
|
|
156
|
-
let Bt =
|
|
156
|
+
let Bt = u(() => F.value.debug);
|
|
157
157
|
function Vt() {
|
|
158
|
-
if (
|
|
158
|
+
if (a(D.dataset) ? ae({
|
|
159
159
|
componentName: "VueUiGalaxy",
|
|
160
160
|
type: "dataset",
|
|
161
161
|
debug: Bt.value
|
|
162
|
-
}) : Bt.value &&
|
|
163
|
-
|
|
162
|
+
}) : Bt.value && D.dataset.forEach((e, t) => {
|
|
163
|
+
ne({
|
|
164
164
|
datasetObject: e,
|
|
165
165
|
requiredAttributes: ["name", "values"]
|
|
166
166
|
}).forEach((e) => {
|
|
167
|
-
|
|
167
|
+
ae({
|
|
168
168
|
componentName: "VueUiGalaxy",
|
|
169
169
|
type: "datasetSerieAttribute",
|
|
170
170
|
property: e,
|
|
@@ -172,9 +172,9 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
172
172
|
});
|
|
173
173
|
});
|
|
174
174
|
}), F.value.responsive) {
|
|
175
|
-
let e =
|
|
176
|
-
let { width: e, height: t } =
|
|
177
|
-
chart:
|
|
175
|
+
let e = Se(() => {
|
|
176
|
+
let { width: e, height: t } = Ce({
|
|
177
|
+
chart: k.value,
|
|
178
178
|
title: F.value.style.chart.title.text ? Tt.value : null,
|
|
179
179
|
legend: F.value.style.chart.legend.show ? Et.value : null,
|
|
180
180
|
noTitle: Ot.value,
|
|
@@ -184,45 +184,45 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
184
184
|
z.value = Math.max(.1, e), B.value = Math.max(.1, t - 12);
|
|
185
185
|
});
|
|
186
186
|
});
|
|
187
|
-
j.value && (kt.value && j.value.unobserve(kt.value), j.value.disconnect()), j.value = new ResizeObserver(e), kt.value =
|
|
187
|
+
j.value && (kt.value && j.value.unobserve(kt.value), j.value.disconnect()), j.value = new ResizeObserver(e), kt.value = k.value.parentNode, j.value.observe(kt.value);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
let { userOptionsVisible: Ht, setUserOptionsVisibility: Ut, keepUserOptionState: Wt } =
|
|
190
|
+
let { userOptionsVisible: Ht, setUserOptionsVisibility: Ut, keepUserOptionState: Wt } = Ee({ config: F.value }), { svgRef: L } = De({ config: F.value.style.chart.title });
|
|
191
191
|
function Gt() {
|
|
192
|
-
let e =
|
|
193
|
-
userConfig:
|
|
194
|
-
defaultConfig:
|
|
192
|
+
let e = he({
|
|
193
|
+
userConfig: D.config,
|
|
194
|
+
defaultConfig: gt
|
|
195
195
|
}), t = e.theme;
|
|
196
196
|
if (!t) return e;
|
|
197
|
-
if (!
|
|
198
|
-
let n =
|
|
199
|
-
userConfig:
|
|
197
|
+
if (!_t.value(e)) return vt(e), e;
|
|
198
|
+
let n = he({
|
|
199
|
+
userConfig: Ae[t] || D.config,
|
|
200
200
|
defaultConfig: e
|
|
201
|
-
}), r =
|
|
202
|
-
userConfig:
|
|
201
|
+
}), r = he({
|
|
202
|
+
userConfig: D.config,
|
|
203
203
|
defaultConfig: n
|
|
204
204
|
});
|
|
205
205
|
return {
|
|
206
206
|
...r,
|
|
207
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
207
|
+
customPalette: r.customPalette.length ? r.customPalette : ee[t] || i
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
|
|
210
|
+
Ve(() => D.config, (e) => {
|
|
211
211
|
F.value = Gt(), Ht.value = !F.value.userOptions.showOnChartHover, Vt(), St.value += 1, Ct.value += 1, wt.value += 1, R.value.dataLabels.show = F.value.style.chart.layout.labels.dataLabels.show, R.value.showTable = F.value.table.show, R.value.showTooltip = F.value.style.chart.tooltip.show;
|
|
212
212
|
}, { deep: !0 });
|
|
213
|
-
let { isPrinting: Kt, isImaging: qt, generatePdf: Jt, generateImage: Yt } =
|
|
214
|
-
elementId: `galaxy_${
|
|
213
|
+
let { isPrinting: Kt, isImaging: qt, generatePdf: Jt, generateImage: Yt } = fe({
|
|
214
|
+
elementId: `galaxy_${O.value}`,
|
|
215
215
|
fileName: F.value.style.chart.title.text || "vue-ui-galaxy",
|
|
216
216
|
options: F.value.userOptions.print
|
|
217
|
-
}), Xt =
|
|
217
|
+
}), Xt = u(() => F.value.userOptions.show && !F.value.style.chart.title.text), Zt = u(() => ce(F.value.customPalette)), R = S({
|
|
218
218
|
dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
|
|
219
219
|
showTable: F.value.table.show,
|
|
220
220
|
showTooltip: F.value.style.chart.tooltip.show
|
|
221
|
-
}), z =
|
|
221
|
+
}), z = S(250), B = S(180), Qt = S(0), $t = S(0), V = u(() => ({
|
|
222
222
|
width: z.value,
|
|
223
223
|
height: B.value,
|
|
224
224
|
viewBox: `${Qt.value} ${$t.value} ${z.value} ${B.value}`
|
|
225
|
-
})), en =
|
|
225
|
+
})), en = He, H = S([]);
|
|
226
226
|
function tn() {
|
|
227
227
|
en("selectLegend", K.value.map((e) => ({
|
|
228
228
|
name: e.name,
|
|
@@ -249,12 +249,12 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
249
249
|
let t = rn(e);
|
|
250
250
|
t !== null && (H.value.includes(t.id) || U({ id: t.id }));
|
|
251
251
|
}
|
|
252
|
-
let W =
|
|
252
|
+
let W = u(() => zt.value.map((e, t) => ({
|
|
253
253
|
name: e.name,
|
|
254
|
-
color:
|
|
255
|
-
value: e.values ?
|
|
256
|
-
absoluteValues:
|
|
257
|
-
id:
|
|
254
|
+
color: s(e.color) || Zt.value[t] || i[t] || i[t % i.length],
|
|
255
|
+
value: e.values ? c(e.values).reduce((e, t) => e + t, 0) : 0,
|
|
256
|
+
absoluteValues: c(e.values),
|
|
257
|
+
id: oe()
|
|
258
258
|
})).sort((e, t) => t.value - e.value).map((e, t) => ({
|
|
259
259
|
...e,
|
|
260
260
|
absoluteIndex: t
|
|
@@ -266,7 +266,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
266
266
|
value: e.value
|
|
267
267
|
}));
|
|
268
268
|
}
|
|
269
|
-
let G =
|
|
269
|
+
let G = u(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), cn = S(190), ln = u(() => W.value.filter((e) => !H.value.includes(e.id))), un = u(() => (F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth) / 2 + (F.value.style.chart.layout.padding ?? 12)), dn = u(() => o({
|
|
270
270
|
maxPoints: cn.value,
|
|
271
271
|
a: F.value.style.chart.layout.arcs.a ?? 6,
|
|
272
272
|
b: F.value.style.chart.layout.arcs.b ?? 6,
|
|
@@ -276,7 +276,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
276
276
|
boxWidth: V.value.width,
|
|
277
277
|
boxHeight: V.value.height,
|
|
278
278
|
padding: un.value
|
|
279
|
-
})), K =
|
|
279
|
+
})), K = u(() => {
|
|
280
280
|
let e = [];
|
|
281
281
|
for (let t = 0; t < ln.value.length; t += 1) {
|
|
282
282
|
let n = ln.value[t], r = n.value / G.value * cn.value + (t > 0 && e.length ? e[t - 1].points : 0);
|
|
@@ -298,20 +298,20 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
298
298
|
blur: a / 180 * t
|
|
299
299
|
};
|
|
300
300
|
}
|
|
301
|
-
let q =
|
|
301
|
+
let q = S(!1);
|
|
302
302
|
function pn(e) {
|
|
303
303
|
q.value = e, xt.value += 1;
|
|
304
304
|
}
|
|
305
|
-
let mn =
|
|
305
|
+
let mn = S(null);
|
|
306
306
|
function hn() {
|
|
307
|
-
|
|
307
|
+
yt.value = !1, A.value = null, N.value = null, P.value = null;
|
|
308
308
|
}
|
|
309
309
|
function gn(e) {
|
|
310
310
|
if (!L.value || !e) return;
|
|
311
311
|
let t = L.value.querySelector(`[data-a11y-serie-id="${e}"]`);
|
|
312
312
|
if (!t) return;
|
|
313
313
|
let n = t.getBoundingClientRect();
|
|
314
|
-
|
|
314
|
+
Mt.value = {
|
|
315
315
|
x: n.left + n.width / 2,
|
|
316
316
|
y: n.top + n.height / 2
|
|
317
317
|
};
|
|
@@ -320,7 +320,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
320
320
|
F.value.events.datapointLeave && F.value.events.datapointLeave({
|
|
321
321
|
datapoint: e,
|
|
322
322
|
seriesIndex: e.absoluteIndex
|
|
323
|
-
}), (
|
|
323
|
+
}), (P.value !== e.id || Nt.value !== "keyboard") && (yt.value = !1, A.value = null);
|
|
324
324
|
}
|
|
325
325
|
function vn(e) {
|
|
326
326
|
en("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
|
|
@@ -330,7 +330,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
330
330
|
}
|
|
331
331
|
function yn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
|
|
332
332
|
let i = F.value.style.chart.layout.labels.dataLabels;
|
|
333
|
-
return
|
|
333
|
+
return Oe({
|
|
334
334
|
config: i,
|
|
335
335
|
val: e,
|
|
336
336
|
percentage: t,
|
|
@@ -338,51 +338,51 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
338
338
|
showPercentage: r
|
|
339
339
|
});
|
|
340
340
|
}
|
|
341
|
-
function bn({ datapoint: e, _relativeIndex: t, seriesIndex:
|
|
341
|
+
function bn({ datapoint: e, _relativeIndex: t, seriesIndex: r, show: i = !1, triggerMode: a = "pointer", flatIndex: o = null }) {
|
|
342
342
|
if (F.value.events.datapointEnter && F.value.events.datapointEnter({
|
|
343
343
|
datapoint: e,
|
|
344
344
|
seriesIndex: e.absoluteIndex
|
|
345
345
|
}), !R.value.showTooltip) return;
|
|
346
|
-
|
|
346
|
+
Nt.value = a, N.value = o, P.value = e.id, mn.value = {
|
|
347
347
|
datapoint: e,
|
|
348
|
-
seriesIndex:
|
|
348
|
+
seriesIndex: r,
|
|
349
349
|
series: W.value,
|
|
350
350
|
config: F.value
|
|
351
|
-
},
|
|
352
|
-
let
|
|
353
|
-
|
|
354
|
-
seriesIndex:
|
|
351
|
+
}, yt.value = i, A.value = e.id;
|
|
352
|
+
let s = "", c = F.value.style.chart.tooltip.customFormat;
|
|
353
|
+
n(c) && ie(() => c({
|
|
354
|
+
seriesIndex: r,
|
|
355
355
|
datapoint: e,
|
|
356
356
|
series: W.value,
|
|
357
357
|
config: F.value
|
|
358
|
-
})) ? bt.value =
|
|
359
|
-
seriesIndex:
|
|
358
|
+
})) ? bt.value = c({
|
|
359
|
+
seriesIndex: r,
|
|
360
360
|
datapoint: e,
|
|
361
361
|
series: W.value,
|
|
362
362
|
config: F.value
|
|
363
|
-
}) : (
|
|
363
|
+
}) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, s += `<b>${yn({
|
|
364
364
|
showVal: F.value.style.chart.tooltip.showValue,
|
|
365
365
|
showPercentage: F.value.style.chart.tooltip.showPercentage,
|
|
366
|
-
val: re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value,
|
|
366
|
+
val: re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, l({
|
|
367
367
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
368
368
|
v: e.value,
|
|
369
369
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
370
370
|
r: F.value.style.chart.tooltip.roundingValue
|
|
371
371
|
}), {
|
|
372
372
|
datapoint: e,
|
|
373
|
-
seriesIndex:
|
|
373
|
+
seriesIndex: r
|
|
374
374
|
}),
|
|
375
|
-
percentage:
|
|
375
|
+
percentage: l({
|
|
376
376
|
v: e.proportion * 100,
|
|
377
377
|
s: "%",
|
|
378
378
|
r: F.value.style.chart.tooltip.roundingPercentage
|
|
379
379
|
})
|
|
380
|
-
})}</b></div>`, bt.value = `<div>${
|
|
380
|
+
})}</b></div>`, bt.value = `<div>${s}</div>`), a === "keyboard" && Ie(() => {
|
|
381
381
|
gn(e.id);
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
|
-
let J =
|
|
385
|
-
let n = re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value,
|
|
384
|
+
let J = u(() => W.value.map((e, t) => {
|
|
385
|
+
let n = re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, l({
|
|
386
386
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
387
387
|
v: e.value,
|
|
388
388
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -390,7 +390,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
390
390
|
}), {
|
|
391
391
|
datapoint: e,
|
|
392
392
|
index: t
|
|
393
|
-
}), r = isNaN(e.value / G.value) || H.value.includes(e.id) ? "-" :
|
|
393
|
+
}), r = isNaN(e.value / G.value) || H.value.includes(e.id) ? "-" : l({
|
|
394
394
|
v: e.value / G.value * 100,
|
|
395
395
|
s: "%",
|
|
396
396
|
r: F.value.style.chart.legend.roundingPercentage
|
|
@@ -409,14 +409,14 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
409
409
|
isSegregated: H.value.includes(e.id),
|
|
410
410
|
display: `${e.name}${F.value.style.chart.legend.showPercentage || F.value.style.chart.legend.showValue ? ": " : ""}${i}`
|
|
411
411
|
};
|
|
412
|
-
})), xn =
|
|
412
|
+
})), xn = u(() => ({
|
|
413
413
|
cy: "galaxy-div-legend",
|
|
414
414
|
backgroundColor: F.value.style.chart.legend.backgroundColor,
|
|
415
415
|
color: F.value.style.chart.legend.color,
|
|
416
416
|
fontSize: F.value.style.chart.legend.fontSize,
|
|
417
417
|
paddingBottom: 12,
|
|
418
418
|
fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
|
|
419
|
-
})), Y =
|
|
419
|
+
})), Y = u(() => ({
|
|
420
420
|
head: K.value.map((e) => ({
|
|
421
421
|
name: e.name,
|
|
422
422
|
color: e.color
|
|
@@ -424,7 +424,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
424
424
|
body: K.value.map((e) => e.value)
|
|
425
425
|
}));
|
|
426
426
|
function Sn(e = null) {
|
|
427
|
-
|
|
427
|
+
Ie(() => {
|
|
428
428
|
let n = Y.value.head.map((e, t) => [
|
|
429
429
|
[e.name],
|
|
430
430
|
[Y.value.body[t]],
|
|
@@ -444,10 +444,10 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
444
444
|
});
|
|
445
445
|
});
|
|
446
446
|
}
|
|
447
|
-
let X =
|
|
447
|
+
let X = u(() => {
|
|
448
448
|
let e = [
|
|
449
449
|
"__SUM__",
|
|
450
|
-
|
|
450
|
+
l({
|
|
451
451
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
452
452
|
v: G.value,
|
|
453
453
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -455,7 +455,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
455
455
|
}),
|
|
456
456
|
"100%"
|
|
457
457
|
], t = Y.value.head.map((e, t) => {
|
|
458
|
-
let n =
|
|
458
|
+
let n = l({
|
|
459
459
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
460
460
|
v: Y.value.body[t],
|
|
461
461
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -467,7 +467,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
467
467
|
name: e.name
|
|
468
468
|
},
|
|
469
469
|
n,
|
|
470
|
-
isNaN(Y.value.body[t] / G.value) ? "-" :
|
|
470
|
+
isNaN(Y.value.body[t] / G.value) ? "-" : l({
|
|
471
471
|
v: Y.value.body[t] / G.value * 100,
|
|
472
472
|
s: "%",
|
|
473
473
|
r: F.value.table.td.roundingPercentage
|
|
@@ -503,14 +503,14 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
503
503
|
function wn() {
|
|
504
504
|
R.value.showTooltip = !R.value.showTooltip;
|
|
505
505
|
}
|
|
506
|
-
let Z =
|
|
506
|
+
let Z = S(!1);
|
|
507
507
|
function Tn() {
|
|
508
508
|
Z.value = !Z.value;
|
|
509
509
|
}
|
|
510
510
|
async function En({ scale: e = 2 } = {}) {
|
|
511
|
-
if (!
|
|
512
|
-
let { width: t, height: n } =
|
|
513
|
-
domElement:
|
|
511
|
+
if (!k.value) return;
|
|
512
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
|
|
513
|
+
domElement: k.value,
|
|
514
514
|
base64: !0,
|
|
515
515
|
img: !0,
|
|
516
516
|
scale: e
|
|
@@ -524,10 +524,10 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
524
524
|
aspectRatio: r
|
|
525
525
|
};
|
|
526
526
|
}
|
|
527
|
-
let Q =
|
|
527
|
+
let Q = u(() => {
|
|
528
528
|
let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
|
|
529
529
|
return {
|
|
530
|
-
component: e ?
|
|
530
|
+
component: e ? ht : ut,
|
|
531
531
|
title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
|
|
532
532
|
props: e ? {
|
|
533
533
|
backgroundColor: F.value.table.th.backgroundColor,
|
|
@@ -535,7 +535,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
535
535
|
headerColor: F.value.table.th.color,
|
|
536
536
|
headerBg: F.value.table.th.backgroundColor,
|
|
537
537
|
isFullscreen: q.value,
|
|
538
|
-
fullscreenParent:
|
|
538
|
+
fullscreenParent: k.value,
|
|
539
539
|
forcedWidth: Math.min(500, window.innerWidth * .8),
|
|
540
540
|
isCursorPointer: I.value
|
|
541
541
|
} : {
|
|
@@ -555,16 +555,16 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
555
555
|
}
|
|
556
556
|
};
|
|
557
557
|
});
|
|
558
|
-
|
|
558
|
+
Ve(() => R.value.showTable, (e) => {
|
|
559
559
|
F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
560
560
|
});
|
|
561
561
|
function Dn() {
|
|
562
562
|
R.value.showTable = !1, jt.value && jt.value.setTableIconState(!1);
|
|
563
563
|
}
|
|
564
|
-
let On =
|
|
564
|
+
let On = u(() => J.value.map((e) => ({
|
|
565
565
|
...e,
|
|
566
566
|
name: e.display
|
|
567
|
-
}))), kn =
|
|
567
|
+
}))), kn = u(() => F.value.style.chart.backgroundColor), An = u(() => F.value.style.chart.legend), jn = u(() => F.value.style.chart.title), { isCallbackImaging: Mn, isCallbackSvg: Nn, generateSvg: Pn, onGenerateImage: Fn } = _e({
|
|
568
568
|
svg: L,
|
|
569
569
|
title: jn,
|
|
570
570
|
legend: An,
|
|
@@ -587,10 +587,10 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
587
587
|
}));
|
|
588
588
|
}
|
|
589
589
|
function Ln() {
|
|
590
|
-
N.value = null,
|
|
590
|
+
N.value = null, P.value = null, Pt.value = !0;
|
|
591
591
|
}
|
|
592
592
|
function Rn() {
|
|
593
|
-
hn(),
|
|
593
|
+
hn(), Pt.value = !1;
|
|
594
594
|
}
|
|
595
595
|
function zn(e) {
|
|
596
596
|
if (!L.value || Z.value || document.activeElement !== L.value || !$.value.length) return;
|
|
@@ -618,14 +618,14 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
618
618
|
flatIndex: a
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
let Bn =
|
|
621
|
+
let Bn = u(() => ({
|
|
622
622
|
headers: X.value?.colNames ?? [],
|
|
623
623
|
rows: X.value?.body ?? []
|
|
624
|
-
})), $ =
|
|
624
|
+
})), $ = u(() => K.value.map((e, t) => ({
|
|
625
625
|
datapoint: e,
|
|
626
626
|
index: t
|
|
627
627
|
})));
|
|
628
|
-
return
|
|
628
|
+
return xe({
|
|
629
629
|
getData: sn,
|
|
630
630
|
getImage: En,
|
|
631
631
|
generatePdf: Jt,
|
|
@@ -639,24 +639,24 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
639
639
|
toggleAnnotator: Tn,
|
|
640
640
|
toggleFullscreen: pn,
|
|
641
641
|
copyAlt: In
|
|
642
|
-
}), (e, t) => (
|
|
642
|
+
}), (e, t) => (x(), p("div", {
|
|
643
643
|
ref_key: "galaxyChart",
|
|
644
|
-
ref:
|
|
645
|
-
class:
|
|
646
|
-
style:
|
|
647
|
-
id: `galaxy_${
|
|
648
|
-
onMouseenter: t[2] ||= () =>
|
|
644
|
+
ref: k,
|
|
645
|
+
class: v(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"} ${T(Rt) ? "loading" : ""}`),
|
|
646
|
+
style: b(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;${F.value.style.chart.title.text ? "" : "padding-top:36px"};background:${F.value.style.chart.backgroundColor}`),
|
|
647
|
+
id: `galaxy_${O.value}`,
|
|
648
|
+
onMouseenter: t[2] ||= () => T(Ut)(!0),
|
|
649
649
|
onMouseleave: t[3] ||= () => {
|
|
650
|
-
|
|
650
|
+
T(Ut)(!1), Pt.value || hn();
|
|
651
651
|
}
|
|
652
652
|
}, [
|
|
653
|
-
|
|
654
|
-
id: `chart-instructions-${
|
|
653
|
+
m("div", {
|
|
654
|
+
id: `chart-instructions-${O.value}`,
|
|
655
655
|
class: "sr-only"
|
|
656
|
-
}, [
|
|
657
|
-
Bn.value?.rows?.length ? (
|
|
656
|
+
}, [m("p", null, w(F.value.a11y.translations.keyboardNavigation), 1)], 8, We),
|
|
657
|
+
Bn.value?.rows?.length ? (x(), d(Te, {
|
|
658
658
|
key: 0,
|
|
659
|
-
uid:
|
|
659
|
+
uid: O.value,
|
|
660
660
|
head: Bn.value.headers,
|
|
661
661
|
body: Bn.value.rows,
|
|
662
662
|
notice: F.value.a11y.translations.tableAvailable,
|
|
@@ -667,43 +667,45 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
667
667
|
"body",
|
|
668
668
|
"notice",
|
|
669
669
|
"caption"
|
|
670
|
-
])) :
|
|
671
|
-
F.value.userOptions.buttons.annotator ? (
|
|
670
|
+
])) : f("", !0),
|
|
671
|
+
F.value.userOptions.buttons.annotator ? (x(), d(T(ft), {
|
|
672
672
|
key: 1,
|
|
673
|
-
svgRef:
|
|
673
|
+
svgRef: T(L),
|
|
674
674
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
675
675
|
color: F.value.style.chart.color,
|
|
676
676
|
active: Z.value,
|
|
677
677
|
isCursorPointer: I.value,
|
|
678
|
+
palette: F.value.userOptions.annotatorPalette,
|
|
678
679
|
onClose: Tn
|
|
679
680
|
}, {
|
|
680
|
-
"annotator-action-close":
|
|
681
|
-
"annotator-action-color":
|
|
682
|
-
"annotator-action-draw":
|
|
683
|
-
"annotator-action-undo":
|
|
684
|
-
"annotator-action-redo":
|
|
685
|
-
"annotator-action-delete":
|
|
681
|
+
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
682
|
+
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
|
|
683
|
+
"annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
|
|
684
|
+
"annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
|
|
685
|
+
"annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
|
|
686
|
+
"annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
|
|
686
687
|
_: 3
|
|
687
688
|
}, 8, [
|
|
688
689
|
"svgRef",
|
|
689
690
|
"backgroundColor",
|
|
690
691
|
"color",
|
|
691
692
|
"active",
|
|
692
|
-
"isCursorPointer"
|
|
693
|
-
|
|
694
|
-
|
|
693
|
+
"isCursorPointer",
|
|
694
|
+
"palette"
|
|
695
|
+
])) : f("", !0),
|
|
696
|
+
Xt.value ? (x(), p("div", {
|
|
695
697
|
key: 2,
|
|
696
698
|
ref_key: "noTitle",
|
|
697
699
|
ref: Ot,
|
|
698
700
|
class: "vue-data-ui-no-title-space",
|
|
699
701
|
style: "height:36px; width: 100%;background:transparent"
|
|
700
|
-
}, null, 512)) :
|
|
701
|
-
F.value.style.chart.title.text ? (
|
|
702
|
+
}, null, 512)) : f("", !0),
|
|
703
|
+
F.value.style.chart.title.text ? (x(), p("div", {
|
|
702
704
|
key: 3,
|
|
703
705
|
ref_key: "chartTitle",
|
|
704
706
|
ref: Tt,
|
|
705
707
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
706
|
-
}, [(
|
|
708
|
+
}, [(x(), d(be, {
|
|
707
709
|
key: `title_${St.value}`,
|
|
708
710
|
config: {
|
|
709
711
|
title: {
|
|
@@ -715,17 +717,17 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
715
717
|
...F.value.style.chart.title.subtitle
|
|
716
718
|
}
|
|
717
719
|
}
|
|
718
|
-
}, null, 8, ["config"]))], 512)) :
|
|
719
|
-
|
|
720
|
-
F.value.userOptions.show && Ft.value && (
|
|
720
|
+
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
721
|
+
m("div", { id: `legend-top-${O.value}` }, null, 8, Ge),
|
|
722
|
+
F.value.userOptions.show && Ft.value && (T(Wt) || T(Ht)) ? (x(), d(T(pt), {
|
|
721
723
|
ref_key: "userOptionsRef",
|
|
722
724
|
ref: jt,
|
|
723
725
|
key: `user_option_${xt.value}`,
|
|
724
726
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
725
727
|
color: F.value.style.chart.color,
|
|
726
|
-
isPrinting:
|
|
727
|
-
isImaging:
|
|
728
|
-
uid:
|
|
728
|
+
isPrinting: T(Kt),
|
|
729
|
+
isImaging: T(qt),
|
|
730
|
+
uid: O.value,
|
|
729
731
|
hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
|
|
730
732
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
731
733
|
hasXls: F.value.userOptions.buttons.csv,
|
|
@@ -737,7 +739,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
737
739
|
isTooltip: R.value.showTooltip,
|
|
738
740
|
isFullscreen: q.value,
|
|
739
741
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
740
|
-
chartElement:
|
|
742
|
+
chartElement: k.value,
|
|
741
743
|
position: F.value.userOptions.position,
|
|
742
744
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
743
745
|
isAnnotation: Z.value,
|
|
@@ -746,19 +748,19 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
746
748
|
tableDialog: F.value.table.useDialog,
|
|
747
749
|
isCursorPointer: I.value,
|
|
748
750
|
onToggleFullscreen: pn,
|
|
749
|
-
onGeneratePdf:
|
|
751
|
+
onGeneratePdf: T(Jt),
|
|
750
752
|
onGenerateCsv: Sn,
|
|
751
|
-
onGenerateImage:
|
|
752
|
-
onGenerateSvg:
|
|
753
|
+
onGenerateImage: T(Fn),
|
|
754
|
+
onGenerateSvg: T(Pn),
|
|
753
755
|
onToggleTable: Cn,
|
|
754
756
|
onToggleTooltip: wn,
|
|
755
757
|
onToggleAnnotator: Tn,
|
|
756
758
|
onCopyAlt: In,
|
|
757
|
-
style:
|
|
758
|
-
},
|
|
759
|
+
style: b({ visibility: T(Wt) ? T(Ht) ? "visible" : "hidden" : "visible" })
|
|
760
|
+
}, Ne({ _: 2 }, [
|
|
759
761
|
e.$slots.menuIcon ? {
|
|
760
762
|
name: "menuIcon",
|
|
761
|
-
fn:
|
|
763
|
+
fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(_({
|
|
762
764
|
isOpen: t,
|
|
763
765
|
color: n
|
|
764
766
|
})), void 0, !0)]),
|
|
@@ -766,37 +768,37 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
766
768
|
} : void 0,
|
|
767
769
|
e.$slots.optionTooltip ? {
|
|
768
770
|
name: "optionTooltip",
|
|
769
|
-
fn:
|
|
771
|
+
fn: E(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
770
772
|
key: "1"
|
|
771
773
|
} : void 0,
|
|
772
774
|
e.$slots.optionPdf ? {
|
|
773
775
|
name: "optionPdf",
|
|
774
|
-
fn:
|
|
776
|
+
fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
775
777
|
key: "2"
|
|
776
778
|
} : void 0,
|
|
777
779
|
e.$slots.optionCsv ? {
|
|
778
780
|
name: "optionCsv",
|
|
779
|
-
fn:
|
|
781
|
+
fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
780
782
|
key: "3"
|
|
781
783
|
} : void 0,
|
|
782
784
|
e.$slots.optionImg ? {
|
|
783
785
|
name: "optionImg",
|
|
784
|
-
fn:
|
|
786
|
+
fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
785
787
|
key: "4"
|
|
786
788
|
} : void 0,
|
|
787
789
|
e.$slots.optionSvg ? {
|
|
788
790
|
name: "optionSvg",
|
|
789
|
-
fn:
|
|
791
|
+
fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
790
792
|
key: "5"
|
|
791
793
|
} : void 0,
|
|
792
794
|
e.$slots.optionTable ? {
|
|
793
795
|
name: "optionTable",
|
|
794
|
-
fn:
|
|
796
|
+
fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
795
797
|
key: "6"
|
|
796
798
|
} : void 0,
|
|
797
799
|
e.$slots.optionFullscreen ? {
|
|
798
800
|
name: "optionFullscreen",
|
|
799
|
-
fn:
|
|
801
|
+
fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", y(_({
|
|
800
802
|
toggleFullscreen: t,
|
|
801
803
|
isFullscreen: n
|
|
802
804
|
})), void 0, !0)]),
|
|
@@ -804,7 +806,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
804
806
|
} : void 0,
|
|
805
807
|
e.$slots.optionAnnotator ? {
|
|
806
808
|
name: "optionAnnotator",
|
|
807
|
-
fn:
|
|
809
|
+
fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", y(_({
|
|
808
810
|
toggleAnnotator: t,
|
|
809
811
|
isAnnotator: n
|
|
810
812
|
})), void 0, !0)]),
|
|
@@ -812,94 +814,94 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
812
814
|
} : void 0,
|
|
813
815
|
e.$slots.optionAltCopy ? {
|
|
814
816
|
name: "optionAltCopy",
|
|
815
|
-
fn:
|
|
817
|
+
fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
|
|
816
818
|
key: "9"
|
|
817
819
|
} : void 0,
|
|
818
820
|
e.$slots["custom-menu-before"] ? {
|
|
819
821
|
name: "custom-menu-before",
|
|
820
|
-
fn:
|
|
822
|
+
fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
821
823
|
key: "10"
|
|
822
824
|
} : void 0,
|
|
823
825
|
e.$slots["custom-menu-after"] ? {
|
|
824
826
|
name: "custom-menu-after",
|
|
825
|
-
fn:
|
|
827
|
+
fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
826
828
|
key: "11"
|
|
827
829
|
} : void 0
|
|
828
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
829
|
-
|
|
830
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : f("", !0),
|
|
831
|
+
m("div", Ke, [(x(), p("svg", {
|
|
830
832
|
ref_key: "svgRef",
|
|
831
833
|
ref: L,
|
|
832
|
-
xmlns:
|
|
833
|
-
"aria-describedby": `chart-instructions-${
|
|
834
|
-
class:
|
|
834
|
+
xmlns: T(se),
|
|
835
|
+
"aria-describedby": `chart-instructions-${O.value}`,
|
|
836
|
+
class: v({
|
|
835
837
|
"vue-data-ui-fullscreen--on": q.value,
|
|
836
838
|
"vue-data-ui-fulscreen--off": !q.value
|
|
837
839
|
}),
|
|
838
840
|
viewBox: V.value.viewBox,
|
|
839
|
-
style:
|
|
841
|
+
style: b(`max-width:100%; overflow: visible; background:transparent;color:${F.value.style.chart.color}`),
|
|
840
842
|
tabindex: "0",
|
|
841
843
|
onFocus: Ln,
|
|
842
844
|
onBlur: Rn,
|
|
843
845
|
onKeydown: zn
|
|
844
846
|
}, [
|
|
845
|
-
|
|
846
|
-
e.$slots["chart-background"] ? (
|
|
847
|
+
h(T(mt)),
|
|
848
|
+
e.$slots["chart-background"] ? (x(), p("foreignObject", {
|
|
847
849
|
key: 0,
|
|
848
850
|
x: 0,
|
|
849
851
|
y: 0,
|
|
850
852
|
width: V.value.width,
|
|
851
853
|
height: V.value.height,
|
|
852
854
|
style: { pointerEvents: "none" }
|
|
853
|
-
}, [
|
|
854
|
-
|
|
855
|
-
id: `blur_${
|
|
855
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : f("", !0),
|
|
856
|
+
m("defs", null, [m("filter", {
|
|
857
|
+
id: `blur_${O.value}`,
|
|
856
858
|
x: "-50%",
|
|
857
859
|
y: "-50%",
|
|
858
860
|
width: "200%",
|
|
859
861
|
height: "200%"
|
|
860
|
-
}, [
|
|
862
|
+
}, [m("feGaussianBlur", {
|
|
861
863
|
in: "SourceGraphic",
|
|
862
864
|
stdDeviation: 100 / F.value.style.chart.layout.arcs.gradient.intensity
|
|
863
|
-
}, null, 8,
|
|
864
|
-
(
|
|
865
|
-
e.value ? (
|
|
865
|
+
}, null, 8, Xe)], 8, Ye)]),
|
|
866
|
+
(x(!0), p(je, null, Re(K.value, (e) => (x(), p("g", { key: `dp_${e.id}` }, [
|
|
867
|
+
e.value ? (x(), p("path", {
|
|
866
868
|
key: 0,
|
|
867
869
|
d: e.path,
|
|
868
870
|
fill: "none",
|
|
869
871
|
stroke: F.value.style.chart.backgroundColor,
|
|
870
872
|
"stroke-width": fn(e).border,
|
|
871
|
-
class:
|
|
873
|
+
class: v({ "vue-data-ui-transition": T(It) }),
|
|
872
874
|
"stroke-linecap": "round"
|
|
873
|
-
}, null, 10,
|
|
874
|
-
e.value ? (
|
|
875
|
+
}, null, 10, Ze)) : f("", !0),
|
|
876
|
+
e.value ? (x(), p("path", {
|
|
875
877
|
key: 1,
|
|
876
878
|
d: e.path,
|
|
877
879
|
fill: "none",
|
|
878
880
|
stroke: e.color,
|
|
879
881
|
"stroke-width": fn(e).path,
|
|
880
882
|
"stroke-linecap": "round",
|
|
881
|
-
class:
|
|
882
|
-
"vue-data-ui-transition":
|
|
883
|
+
class: v({
|
|
884
|
+
"vue-data-ui-transition": T(It),
|
|
883
885
|
"vue-ui-galaxy-blur": A.value && A.value !== e.id && F.value.useBlurOnHover
|
|
884
886
|
})
|
|
885
|
-
}, null, 10,
|
|
886
|
-
e.value && F.value.style.chart.layout.arcs.gradient.show ? (
|
|
887
|
+
}, null, 10, Qe)) : f("", !0),
|
|
888
|
+
e.value && F.value.style.chart.layout.arcs.gradient.show ? (x(), p("g", {
|
|
887
889
|
key: 2,
|
|
888
|
-
filter: `url(#blur_${
|
|
889
|
-
}, [
|
|
890
|
+
filter: `url(#blur_${O.value})`
|
|
891
|
+
}, [m("path", {
|
|
890
892
|
d: e.path,
|
|
891
893
|
fill: "none",
|
|
892
894
|
stroke: F.value.style.chart.layout.arcs.gradient.color,
|
|
893
895
|
"stroke-width": fn(e).blur,
|
|
894
896
|
"stroke-linecap": "round",
|
|
895
|
-
class:
|
|
897
|
+
class: v({
|
|
896
898
|
"vue-ui-galaxy-gradient": !0,
|
|
897
|
-
"vue-data-ui-transition":
|
|
899
|
+
"vue-data-ui-transition": T(It),
|
|
898
900
|
"vue-ui-galaxy-blur": A.value && A.value !== e.id && F.value.useBlurOnHover
|
|
899
901
|
})
|
|
900
|
-
}, null, 10,
|
|
902
|
+
}, null, 10, et)], 8, $e)) : f("", !0)
|
|
901
903
|
]))), 128)),
|
|
902
|
-
(
|
|
904
|
+
(x(!0), p(je, null, Re(K.value, (e, t) => (x(), p("g", null, [e.value ? (x(), p("path", {
|
|
903
905
|
key: 0,
|
|
904
906
|
"data-a11y-serie-id": e.id,
|
|
905
907
|
d: e.path,
|
|
@@ -907,7 +909,7 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
907
909
|
stroke: "transparent",
|
|
908
910
|
"stroke-width": F.value.style.chart.layout.arcs.strokeWidth + F.value.style.chart.layout.arcs.borderWidth,
|
|
909
911
|
"stroke-linecap": "round",
|
|
910
|
-
"aria-label": `${e.name}: ${
|
|
912
|
+
"aria-label": `${e.name}: ${T(l)({
|
|
911
913
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
912
914
|
v: e.value,
|
|
913
915
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -923,36 +925,36 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
923
925
|
}),
|
|
924
926
|
onMouseleave: (t) => _n(e),
|
|
925
927
|
onClick: (t) => vn(e)
|
|
926
|
-
}, null, 40,
|
|
927
|
-
|
|
928
|
+
}, null, 40, tt)) : f("", !0)]))), 256)),
|
|
929
|
+
C(e.$slots, "svg", { svg: {
|
|
928
930
|
...V.value,
|
|
929
|
-
isPrintingImg:
|
|
930
|
-
isPrintingSvg:
|
|
931
|
+
isPrintingImg: T(Kt) || T(qt) || T(Mn),
|
|
932
|
+
isPrintingSvg: T(Nn)
|
|
931
933
|
} }, void 0, !0)
|
|
932
|
-
], 46,
|
|
934
|
+
], 46, qe)), e.$slots.hint ? (x(), p("div", nt, [C(e.$slots, "hint", y(_({
|
|
933
935
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
934
|
-
isVisible:
|
|
935
|
-
})), void 0, !0)])) :
|
|
936
|
-
e.$slots.watermark ? (
|
|
937
|
-
|
|
938
|
-
At.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (
|
|
936
|
+
isVisible: Pt.value
|
|
937
|
+
})), void 0, !0)])) : f("", !0)]),
|
|
938
|
+
e.$slots.watermark ? (x(), p("div", rt, [C(e.$slots, "watermark", y(_({ isPrinting: T(Kt) || T(qt) || T(Mn) || T(Nn) })), void 0, !0)])) : f("", !0),
|
|
939
|
+
m("div", { id: `legend-bottom-${O.value}` }, null, 8, it),
|
|
940
|
+
At.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (x(), d(Me, {
|
|
939
941
|
key: 6,
|
|
940
|
-
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
941
|
-
}, [
|
|
942
|
+
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
|
|
943
|
+
}, [m("div", {
|
|
942
944
|
ref_key: "chartLegend",
|
|
943
945
|
ref: Et
|
|
944
|
-
}, [
|
|
946
|
+
}, [C(e.$slots, "legend", { legend: J.value }, () => [F.value.style.chart.legend.show ? (x(), d(ke, {
|
|
945
947
|
key: `legend_${wt.value}`,
|
|
946
948
|
legendSet: J.value,
|
|
947
949
|
config: xn.value,
|
|
948
950
|
onClickMarker: t[0] ||= ({ legend: e }) => U(e)
|
|
949
951
|
}, {
|
|
950
|
-
item:
|
|
952
|
+
item: E(({ legend: e, index: t }) => [T(Rt) ? f("", !0) : (x(), p("div", {
|
|
951
953
|
key: 0,
|
|
952
954
|
onClick: (t) => U(e),
|
|
953
|
-
style:
|
|
954
|
-
},
|
|
955
|
-
legendToggle:
|
|
955
|
+
style: b(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
|
|
956
|
+
}, w(e.display), 13, at))]),
|
|
957
|
+
legendToggle: E(() => [J.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !T(Rt) ? (x(), d(we, {
|
|
956
958
|
key: 0,
|
|
957
959
|
backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
958
960
|
color: F.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -964,18 +966,18 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
964
966
|
"color",
|
|
965
967
|
"fontSize",
|
|
966
968
|
"checked"
|
|
967
|
-
])) :
|
|
969
|
+
])) : f("", !0)]),
|
|
968
970
|
_: 1
|
|
969
|
-
}, 8, ["legendSet", "config"])) :
|
|
970
|
-
e.$slots.source ? (
|
|
971
|
+
}, 8, ["legendSet", "config"])) : f("", !0)], !0)], 512)], 8, ["to"])) : f("", !0),
|
|
972
|
+
e.$slots.source ? (x(), p("div", {
|
|
971
973
|
key: 7,
|
|
972
974
|
ref_key: "source",
|
|
973
975
|
ref: Dt,
|
|
974
976
|
dir: "auto"
|
|
975
|
-
}, [
|
|
976
|
-
|
|
977
|
+
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
978
|
+
h(T(ct), {
|
|
977
979
|
teleportTo: F.value.style.chart.tooltip.teleportTo,
|
|
978
|
-
show: R.value.showTooltip &&
|
|
980
|
+
show: R.value.showTooltip && yt.value,
|
|
979
981
|
backgroundColor: F.value.style.chart.tooltip.backgroundColor,
|
|
980
982
|
color: F.value.style.chart.tooltip.color,
|
|
981
983
|
borderRadius: F.value.style.chart.tooltip.borderRadius,
|
|
@@ -986,20 +988,20 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
986
988
|
position: F.value.style.chart.tooltip.position,
|
|
987
989
|
offsetX: F.value.style.chart.tooltip.offsetX,
|
|
988
990
|
offsetY: F.value.style.chart.tooltip.offsetY,
|
|
989
|
-
parent:
|
|
991
|
+
parent: k.value,
|
|
990
992
|
content: bt.value,
|
|
991
993
|
isFullscreen: q.value,
|
|
992
|
-
isCustom:
|
|
994
|
+
isCustom: T(n)(F.value.style.chart.tooltip.customFormat),
|
|
993
995
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
994
996
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
995
997
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|
|
996
998
|
smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
|
|
997
|
-
isA11yMode:
|
|
998
|
-
a11yPosition:
|
|
999
|
+
isA11yMode: Nt.value === "keyboard",
|
|
1000
|
+
a11yPosition: Mt.value
|
|
999
1001
|
}, {
|
|
1000
|
-
"tooltip-before":
|
|
1001
|
-
tooltip:
|
|
1002
|
-
"tooltip-after":
|
|
1002
|
+
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", y(_({ ...mn.value })), void 0, !0)]),
|
|
1003
|
+
tooltip: E(() => [C(e.$slots, "tooltip", y(_({ ...mn.value })), void 0, !0)]),
|
|
1004
|
+
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", y(_({ ...mn.value })), void 0, !0)]),
|
|
1003
1005
|
_: 3
|
|
1004
1006
|
}, 8, [
|
|
1005
1007
|
"teleportTo",
|
|
@@ -1025,12 +1027,12 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1025
1027
|
"isA11yMode",
|
|
1026
1028
|
"a11yPosition"
|
|
1027
1029
|
]),
|
|
1028
|
-
Ft.value && F.value.userOptions.buttons.table ? (
|
|
1030
|
+
Ft.value && F.value.userOptions.buttons.table ? (x(), d(ze(Q.value.component), Fe({ key: 8 }, Q.value.props, {
|
|
1029
1031
|
ref_key: "tableUnit",
|
|
1030
1032
|
ref: M,
|
|
1031
1033
|
onClose: Dn
|
|
1032
|
-
}),
|
|
1033
|
-
content:
|
|
1034
|
+
}), Ne({
|
|
1035
|
+
content: E(() => [(x(), d(T(dt), {
|
|
1034
1036
|
key: `table_${Ct.value}`,
|
|
1035
1037
|
colNames: X.value.colNames,
|
|
1036
1038
|
head: X.value.head,
|
|
@@ -1041,12 +1043,12 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1041
1043
|
isCursorPointer: I.value,
|
|
1042
1044
|
onClose: Dn
|
|
1043
1045
|
}, {
|
|
1044
|
-
th:
|
|
1046
|
+
th: E(({ th: e }) => [e === "__SUM__" ? (x(), p("div", ot, [h(T(lt), {
|
|
1045
1047
|
name: "sigma",
|
|
1046
1048
|
stroke: X.value.config.th.color,
|
|
1047
1049
|
size: 16
|
|
1048
|
-
}, null, 8, ["stroke"])])) : (
|
|
1049
|
-
td:
|
|
1050
|
+
}, null, 8, ["stroke"])])) : (x(), p("div", st, w(e), 1))]),
|
|
1051
|
+
td: E(({ td: e }) => [Pe(w(e.name || e), 1)]),
|
|
1050
1052
|
_: 1
|
|
1051
1053
|
}, 8, [
|
|
1052
1054
|
"colNames",
|
|
@@ -1060,24 +1062,24 @@ var Ue = /* @__PURE__ */ e({ default: () => lt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1060
1062
|
_: 2
|
|
1061
1063
|
}, [F.value.table.useDialog ? {
|
|
1062
1064
|
name: "title",
|
|
1063
|
-
fn:
|
|
1065
|
+
fn: E(() => [Pe(w(Q.value.title), 1)]),
|
|
1064
1066
|
key: "0"
|
|
1065
1067
|
} : void 0, F.value.table.useDialog ? {
|
|
1066
1068
|
name: "actions",
|
|
1067
|
-
fn:
|
|
1069
|
+
fn: E(() => [m("button", {
|
|
1068
1070
|
tabindex: "0",
|
|
1069
1071
|
class: "vue-ui-user-options-button",
|
|
1070
1072
|
onClick: t[1] ||= (e) => Sn(F.value.userOptions.callbacks.csv),
|
|
1071
|
-
style:
|
|
1072
|
-
}, [
|
|
1073
|
+
style: b({ cursor: I.value ? "pointer" : "default" })
|
|
1074
|
+
}, [h(T(lt), {
|
|
1073
1075
|
name: "fileCsv",
|
|
1074
1076
|
stroke: Q.value.props.color
|
|
1075
1077
|
}, null, 8, ["stroke"])], 4)]),
|
|
1076
1078
|
key: "1"
|
|
1077
|
-
} : void 0]), 1040)) :
|
|
1078
|
-
|
|
1079
|
-
], 46,
|
|
1079
|
+
} : void 0]), 1040)) : f("", !0),
|
|
1080
|
+
C(e.$slots, "skeleton", {}, () => [T(Rt) ? (x(), d(me, { key: 0 })) : f("", !0)], !0)
|
|
1081
|
+
], 46, Ue));
|
|
1080
1082
|
}
|
|
1081
|
-
}, [["__scopeId", "data-v-
|
|
1083
|
+
}, [["__scopeId", "data-v-9bc7e750"]]);
|
|
1082
1084
|
//#endregion
|
|
1083
|
-
export {
|
|
1085
|
+
export { He as n, ct as t };
|