vue-data-ui 3.9.12 → 3.9.13
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-Cbn8f8m4.js → Arrow-f1dKmuRH.js} +1 -1
- package/dist/{BaseDraggableDialog-C167SnU0.js → BaseDraggableDialog-CAJxIF6g.js} +2 -2
- package/dist/{BaseIcon-r3_sTK1A.js → BaseIcon-4i3dd7Ty.js} +1 -1
- package/dist/{BaseZoomControls-D8N7fb-c.js → BaseZoomControls-C0H509ZF.js} +6 -6
- package/dist/{ColorPicker-Bq2C5Dll.js → ColorPicker-B9oF4-O6.js} +8 -8
- package/dist/{DataTable-DNeCys3I.js → DataTable-WrXCJkfE.js} +2 -2
- package/dist/{Legend-Dxz13z4E.js → Legend-D6z73edh.js} +2 -2
- package/dist/{NonSvgPenAndPaper-ZnkWbBri.js → NonSvgPenAndPaper-7clRuQVF.js} +11 -11
- package/dist/{PackageVersion-BpArR90N.js → PackageVersion-D3cMhAlf.js} +1 -1
- package/dist/{PenAndPaper-CsqBamFZ.js → PenAndPaper-DxIUvoQ8.js} +17 -17
- package/dist/{Shape-_iTOIp3x.js → Shape-DAHhCEdg.js} +1 -1
- package/dist/{Slicer-DBYna_by.js → Slicer-Bn8azYkD.js} +70 -70
- package/dist/{SlicerPreview-pHjYklxh.js → SlicerPreview-oV3dMuV1.js} +2 -2
- package/dist/{SparkTooltip-BaSHhfes.js → SparkTooltip-D7iYVquk.js} +3 -3
- package/dist/{Title-DFtCaCah.js → Title-BhURirpm.js} +1 -1
- package/dist/{Tooltip-B79qvriT.js → Tooltip-TDyKgLB6.js} +1 -1
- package/dist/{UserOptions-B-2A_KRb.js → UserOptions-CzJWRC4s.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-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-Cm7R2Zu2.js → dom-to-png-C2K57N1M.js} +1 -1
- package/dist/{img-BJzUSmkm.js → img-DKigoPDs.js} +1 -1
- package/dist/labelUtils-PMU3ZGCb.js +30 -0
- package/dist/{lib-W9waxHL3.js → lib-BwysEpWI.js} +81 -77
- package/dist/{pdf-BJR-8Moh.js → pdf-BHGnVnBG.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +20 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DAdqpHf1.js → useAutoSizeLabelsInsideViewbox-DO2dxQ78.js} +1 -1
- package/dist/{useNestedProp-D-jUHecl.js → useNestedProp--5lL-kf1.js} +209 -197
- package/dist/{usePrinter-DhoMn87n.js → usePrinter-BJzHDpYF.js} +2 -2
- package/dist/{vue-data-ui-Dw19CYml.js → vue-data-ui-DE3O1T8n.js} +67 -67
- package/dist/vue-data-ui.js +83 -83
- package/dist/{vue-ui-3d-bar-Bv7Tft_r.js → vue-ui-3d-bar-CVvhPzdH.js} +6 -6
- package/dist/{vue-ui-accordion-B6BX2vhq.js → vue-ui-accordion-tQNKwbVi.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C6NjJlg4.js → vue-ui-age-pyramid-DxTHqM7w.js} +25 -25
- package/dist/{vue-ui-annotator-DB6dpuUU.js → vue-ui-annotator-Da5aL57a.js} +7 -7
- package/dist/{vue-ui-bullet-BLGvme53.js → vue-ui-bullet-DhpTML7L.js} +22 -22
- package/dist/{vue-ui-candlestick-DBG1mW60.js → vue-ui-candlestick-BDOKQqMm.js} +85 -85
- package/dist/{vue-ui-carousel-table-BYnItN48.js → vue-ui-carousel-table-BW6bKPsX.js} +13 -13
- package/dist/{vue-ui-chestnut-DV6f4SNc.js → vue-ui-chestnut-Cc-lke6P.js} +31 -31
- package/dist/{vue-ui-chord-DRleP2O8.js → vue-ui-chord-CB6w31Ex.js} +8 -8
- package/dist/{vue-ui-circle-pack-BCrMaFWw.js → vue-ui-circle-pack-CfihOmNV.js} +6 -6
- package/dist/{vue-ui-cursor-j10t3UEX.js → vue-ui-cursor-Dnpe76BQ.js} +3 -3
- package/dist/{vue-ui-dag-y0oqslGj.js → vue-ui-dag-Dq3hKon7.js} +7 -7
- package/dist/{vue-ui-dashboard-mBGF94l6.js → vue-ui-dashboard-eMwyGsuD.js} +68 -68
- package/dist/{vue-ui-digits-DQz1eJc-.js → vue-ui-digits-B5QhIbFD.js} +2 -2
- package/dist/vue-ui-donut-D3---CiY.js +2082 -0
- package/dist/{vue-ui-donut-evolution-hkHICgry.js → vue-ui-donut-evolution-C6H1Vr6m.js} +8 -8
- package/dist/{vue-ui-dumbbell-BVPZwi0X.js → vue-ui-dumbbell-L1p0npq4.js} +33 -33
- package/dist/{vue-ui-flow-BNeKU-KR.js → vue-ui-flow-CgAIlvZF.js} +38 -38
- package/dist/{vue-ui-funnel-VorM1bT0.js → vue-ui-funnel-CpgqO34n.js} +6 -6
- package/dist/{vue-ui-galaxy-DKkviRQr.js → vue-ui-galaxy-DAi1I2Cr.js} +316 -291
- package/dist/{vue-ui-gauge-BNaWVi-e.js → vue-ui-gauge-DY78U-uO.js} +7 -7
- package/dist/{vue-ui-geo-_R5mjj-u.js → vue-ui-geo-Befu6fkT.js} +7 -7
- package/dist/{vue-ui-gizmo-AQFQccea.js → vue-ui-gizmo-BM_oOeYY.js} +3 -3
- package/dist/{vue-ui-heatmap-BKX1bPY5.js → vue-ui-heatmap-C_ze3bzX.js} +108 -108
- package/dist/{vue-ui-history-plot-BNX8B2jr.js → vue-ui-history-plot-C-_zpLPH.js} +50 -50
- package/dist/{vue-ui-horizontal-bar-B6VyEs1p.js → vue-ui-horizontal-bar-DvLMeP44.js} +47 -47
- package/dist/{vue-ui-kpi-BnCqocoi.js → vue-ui-kpi-IcOqABQz.js} +3 -3
- package/dist/{vue-ui-mini-loader-Dzqusv9i.js → vue-ui-mini-loader-DxlOXn6v.js} +2 -2
- package/dist/{vue-ui-molecule-PtnhkQLr.js → vue-ui-molecule-N938wMMB.js} +5 -5
- package/dist/{vue-ui-mood-radar-DxSVU35A.js → vue-ui-mood-radar-D1hHnpLB.js} +7 -7
- package/dist/{vue-ui-nested-donuts-BY8C1axg.js → vue-ui-nested-donuts-DeTGEb4T.js} +597 -595
- package/dist/{vue-ui-onion-XJAcsPVV.js → vue-ui-onion-BwY998zT.js} +376 -332
- package/dist/{vue-ui-parallel-coordinate-plot-CDWIZbgp.js → vue-ui-parallel-coordinate-plot-B4v3AheY.js} +43 -43
- package/dist/{vue-ui-quadrant-DY9GXVYY.js → vue-ui-quadrant-4f1p9gSO.js} +8 -8
- package/dist/{vue-ui-quick-chart-Y73WB5GW.js → vue-ui-quick-chart-CGbEBTS1.js} +52 -52
- package/dist/{vue-ui-radar-Deup68ga.js → vue-ui-radar-B15r4HoM.js} +57 -57
- package/dist/{vue-ui-rating-BciQHmzs.js → vue-ui-rating-CaRZVE71.js} +2 -2
- package/dist/{vue-ui-relation-circle-C0W3aPaO.js → vue-ui-relation-circle-CFEL1uYt.js} +7 -7
- package/dist/{vue-ui-ridgeline-D9z3_hRf.js → vue-ui-ridgeline-LGH61-xE.js} +8 -8
- package/dist/{vue-ui-rings-CT3gLUkS.js → vue-ui-rings-DNdUdKax.js} +270 -246
- package/dist/{vue-ui-scatter-DiLSOZGs.js → vue-ui-scatter-Duxs0Ie_.js} +8 -8
- package/dist/{vue-ui-skeleton-D_2C5A85.js → vue-ui-skeleton-UoBAzUyN.js} +3 -3
- package/dist/{vue-ui-smiley-C0Bqip2_.js → vue-ui-smiley-BhpJbcM8.js} +2 -2
- package/dist/{vue-ui-spark-trend-C05f4Fn6.js → vue-ui-spark-trend-2c75iF9Y.js} +96 -96
- package/dist/{vue-ui-sparkbar-CjYaG0Ae.js → vue-ui-sparkbar-B2E5nzBF.js} +3 -3
- package/dist/{vue-ui-sparkgauge-AKIy8PYI.js → vue-ui-sparkgauge-DFkpaMkk.js} +13 -13
- package/dist/{vue-ui-sparkhistogram-nWWgx7iD.js → vue-ui-sparkhistogram-K6lo-KnY.js} +4 -4
- package/dist/{vue-ui-sparkline-CGMDNQpH.js → vue-ui-sparkline-CsByZZt4.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-C3vjYPrM.js → vue-ui-sparkstackbar-ByUb6nk-.js} +3 -3
- package/dist/{vue-ui-stackbar-BQiLC89h.js → vue-ui-stackbar-D7SnQvr4.js} +41 -41
- package/dist/{vue-ui-stackline-DPV5Amgq.js → vue-ui-stackline-BnRxf3k_.js} +130 -130
- package/dist/{vue-ui-strip-plot-CFGml25d.js → vue-ui-strip-plot-CJWXdisu.js} +28 -28
- package/dist/{vue-ui-table-DySeXTmp.js → vue-ui-table-BHWwypkc.js} +27 -27
- package/dist/{vue-ui-table-heatmap-CDnzIKGy.js → vue-ui-table-heatmap-DvHKKwJA.js} +12 -12
- package/dist/{vue-ui-table-sparkline-DbEj6x4N.js → vue-ui-table-sparkline-uK0q-dO9.js} +11 -11
- package/dist/{vue-ui-thermometer-BeiT4slQ.js → vue-ui-thermometer-Bxn0JNeJ.js} +31 -31
- package/dist/{vue-ui-timer-RWg45QKc.js → vue-ui-timer-7o5Jrxf3.js} +5 -5
- package/dist/{vue-ui-tiremarks-B4_W_mWX.js → vue-ui-tiremarks-DHoUaHOe.js} +6 -6
- package/dist/{vue-ui-treemap-fq9-enBk.js → vue-ui-treemap-B_4cIAAI.js} +51 -51
- package/dist/{vue-ui-waffle-BRcWupew.js → vue-ui-waffle-CddfqNWD.js} +381 -352
- package/dist/{vue-ui-wheel-DziR9q2I.js → vue-ui-wheel-CGYJA-33.js} +6 -6
- package/dist/{vue-ui-word-cloud-C6i_7Q6Y.js → vue-ui-word-cloud-oszTieHn.js} +32 -32
- package/dist/{vue-ui-world-Dvn1JWi9.js → vue-ui-world-DQjHEyKe.js} +31 -31
- package/dist/{vue-ui-xy-2ui0juKl.js → vue-ui-xy-D5A8tR-O.js} +9 -9
- package/dist/{vue-ui-xy-canvas-9tgX_s2v.js → vue-ui-xy-canvas-Bzd8pZdH.js} +100 -100
- package/package.json +1 -1
- package/dist/vue-ui-donut-A_IFB9JR.js +0 -2078
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
import { defineAsyncComponent as S, ref as n, computed as d, toRefs as
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
|
|
1
|
+
import { defineAsyncComponent as S, ref as n, computed as d, toRefs as It, onMounted as Lt, watch as Le, createElementBlock as g, openBlock as r, 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 Nt, toDisplayString as ne, resolveDynamicComponent as Vt, mergeProps as Mt, createTextVNode as ze, nextTick as Ge } from "vue";
|
|
2
|
+
import { c as Re, t as zt, o as Gt, g as We, l as Rt, i as Wt, j as H, k as Ut, a7 as Ue, m as Ht, ab as jt, a as He, d as P, X as Xt, y as je, v as Yt, r as qt, _ as Jt } from "./lib-BwysEpWI.js";
|
|
3
|
+
import { b as Kt } from "./labelUtils-PMU3ZGCb.js";
|
|
4
|
+
import { t as Qt, u as Zt } from "./useResponsive-DfdjqQps.js";
|
|
5
|
+
import { u as eo, a as re } from "./useNestedProp--5lL-kf1.js";
|
|
6
|
+
import { u as to, B as oo } from "./BaseScanner-BMpwQAfz.js";
|
|
7
|
+
import { u as lo } from "./usePrinter-BJzHDpYF.js";
|
|
8
|
+
import { u as ao } from "./useSvgExport-ByUukOZt.js";
|
|
9
|
+
import { u as no } from "./useThemeCheck-DGJ31Vi5.js";
|
|
10
|
+
import { u as ro } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
|
+
import { u as so } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
|
+
import uo from "./img-DKigoPDs.js";
|
|
13
|
+
import io from "./Title-BhURirpm.js";
|
|
14
|
+
import co from "./Legend-D6z73edh.js";
|
|
15
|
+
import { _ as vo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
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" } } }, Ye = { 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" } } }, qe = { 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" } } }, Je = { 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" } } }, Ke = { 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" } } }, Qe = { 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" } } }, Ze = {
|
|
16
17
|
default: {},
|
|
17
|
-
dark:
|
|
18
|
-
celebration:
|
|
19
|
-
celebrationNight:
|
|
20
|
-
hack:
|
|
21
|
-
zen:
|
|
22
|
-
concrete:
|
|
23
|
-
},
|
|
18
|
+
dark: Xe,
|
|
19
|
+
celebration: Ye,
|
|
20
|
+
celebrationNight: qe,
|
|
21
|
+
hack: Je,
|
|
22
|
+
zen: Ke,
|
|
23
|
+
concrete: Qe
|
|
24
|
+
}, Ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24
25
|
__proto__: null,
|
|
25
|
-
celebration:
|
|
26
|
-
celebrationNight:
|
|
27
|
-
concrete:
|
|
28
|
-
dark:
|
|
29
|
-
default:
|
|
30
|
-
hack:
|
|
31
|
-
zen:
|
|
32
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
26
|
+
celebration: Ye,
|
|
27
|
+
celebrationNight: qe,
|
|
28
|
+
concrete: Qe,
|
|
29
|
+
dark: Xe,
|
|
30
|
+
default: Ze,
|
|
31
|
+
hack: Je,
|
|
32
|
+
zen: Ke
|
|
33
|
+
}, Symbol.toStringTag, { value: "Module" })), go = ["id"], ho = ["id"], fo = ["xmlns", "viewBox"], bo = ["width", "height"], po = ["id"], yo = ["stdDeviation"], mo = ["d", "stroke", "stroke-width"], Co = ["d", "stroke", "stroke-width"], ko = ["filter"], wo = ["d", "stroke", "stroke-width"], Ao = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], $o = {
|
|
33
34
|
key: 4,
|
|
34
35
|
class: "vue-data-ui-watermark"
|
|
35
|
-
},
|
|
36
|
+
}, To = ["id"], xo = ["onClick"], So = ["innerHTML"], Fo = {
|
|
36
37
|
__name: "vue-ui-galaxy",
|
|
37
38
|
props: {
|
|
38
39
|
config: {
|
|
@@ -49,14 +50,14 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
49
50
|
}
|
|
50
51
|
},
|
|
51
52
|
emits: ["selectLegend", "selectDatapoint"],
|
|
52
|
-
setup(
|
|
53
|
-
const
|
|
54
|
-
...
|
|
53
|
+
setup(et, { expose: tt, emit: ot }) {
|
|
54
|
+
const lt = S(() => import("./Tooltip-TDyKgLB6.js")), at = S(() => import("./BaseIcon-4i3dd7Ty.js")), nt = S(() => import("./vue-ui-accordion-tQNKwbVi.js")), rt = S(() => import("./DataTable-WrXCJkfE.js")), st = S(() => import("./PenAndPaper-DxIUvoQ8.js")), ut = S(() => import("./UserOptions-CzJWRC4s.js")), it = S(() => import("./PackageVersion-D3cMhAlf.js")), ct = S(() => import("./BaseDraggableDialog-CAJxIF6g.js")), { vue_ui_galaxy: dt } = eo(), { isThemeValid: vt, warnInvalidTheme: gt } = no(), m = et, C = n(Re()), k = n(null), j = n(!1), X = n(""), D = n(null), se = n(0), ue = n(0), ie = n(0), ce = n(0), de = n(null), ve = n(null), ge = n(null), he = n(null), _ = n(null), V = n(null), fe = n(!1), B = n(null), Y = n(null), be = d(() => !!m.dataset && m.dataset.length), e = n(Q()), { loading: q, FINAL_DATASET: pe } = to({
|
|
55
|
+
...It(m),
|
|
55
56
|
FINAL_CONFIG: e,
|
|
56
|
-
prepareConfig:
|
|
57
|
+
prepareConfig: Q,
|
|
57
58
|
callback: () => {
|
|
58
59
|
Promise.resolve().then(async () => {
|
|
59
|
-
await
|
|
60
|
+
await Ge(), f.value.showTable = e.value.table.show;
|
|
60
61
|
});
|
|
61
62
|
},
|
|
62
63
|
skeletonDataset: [
|
|
@@ -64,7 +65,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
64
65
|
{ name: "_", values: [13], color: "#C4C4C4" },
|
|
65
66
|
{ name: "_", values: [8], color: "#ADADAD" }
|
|
66
67
|
],
|
|
67
|
-
skeletonConfig:
|
|
68
|
+
skeletonConfig: zt({
|
|
68
69
|
defaultConfig: e.value,
|
|
69
70
|
userConfig: {
|
|
70
71
|
userOptions: { show: !1 },
|
|
@@ -81,125 +82,125 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
81
82
|
}
|
|
82
83
|
})
|
|
83
84
|
});
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
Lt(() => {
|
|
86
|
+
fe.value = !0, me();
|
|
86
87
|
});
|
|
87
|
-
const
|
|
88
|
-
function
|
|
89
|
-
if (
|
|
88
|
+
const ye = d(() => !!e.value.debug);
|
|
89
|
+
function me() {
|
|
90
|
+
if (Gt(m.dataset) ? We({
|
|
90
91
|
componentName: "VueUiGalaxy",
|
|
91
92
|
type: "dataset",
|
|
92
|
-
debug:
|
|
93
|
+
debug: ye.value
|
|
93
94
|
}) : m.dataset.forEach((t, l) => {
|
|
94
|
-
|
|
95
|
+
Rt({
|
|
95
96
|
datasetObject: t,
|
|
96
97
|
requiredAttributes: ["name", "values"]
|
|
97
98
|
}).forEach((o) => {
|
|
98
|
-
|
|
99
|
+
We({
|
|
99
100
|
componentName: "VueUiGalaxy",
|
|
100
101
|
type: "datasetSerieAttribute",
|
|
101
102
|
property: o,
|
|
102
103
|
index: l,
|
|
103
|
-
debug:
|
|
104
|
+
debug: ye.value
|
|
104
105
|
});
|
|
105
106
|
});
|
|
106
107
|
}), e.value.responsive) {
|
|
107
|
-
const t =
|
|
108
|
+
const t = Qt(() => {
|
|
108
109
|
const { width: l, height: o } = Zt({
|
|
109
110
|
chart: k.value,
|
|
110
|
-
title: e.value.style.chart.title.text ?
|
|
111
|
-
legend: e.value.style.chart.legend.show ?
|
|
111
|
+
title: e.value.style.chart.title.text ? de.value : null,
|
|
112
|
+
legend: e.value.style.chart.legend.show ? ve.value : null,
|
|
112
113
|
noTitle: he.value,
|
|
113
|
-
source:
|
|
114
|
+
source: ge.value
|
|
114
115
|
});
|
|
115
116
|
requestAnimationFrame(() => {
|
|
116
|
-
|
|
117
|
+
M.value = Math.max(0.1, l), z.value = Math.max(0.1, o - 12);
|
|
117
118
|
});
|
|
118
119
|
});
|
|
119
|
-
_.value && (
|
|
120
|
+
_.value && (V.value && _.value.unobserve(V.value), _.value.disconnect()), _.value = new ResizeObserver(t), V.value = k.value.parentNode, _.value.observe(V.value);
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
|
-
const { userOptionsVisible:
|
|
123
|
-
function
|
|
124
|
-
const t =
|
|
123
|
+
const { userOptionsVisible: J, setUserOptionsVisibility: Ce, keepUserOptionState: ke } = ro({ config: e.value }), { svgRef: K } = so({ config: e.value.style.chart.title });
|
|
124
|
+
function Q() {
|
|
125
|
+
const t = re({
|
|
125
126
|
userConfig: m.config,
|
|
126
|
-
defaultConfig:
|
|
127
|
+
defaultConfig: dt
|
|
127
128
|
}), l = t.theme;
|
|
128
129
|
if (!l) return t;
|
|
129
|
-
if (!
|
|
130
|
-
return
|
|
131
|
-
const o =
|
|
132
|
-
userConfig:
|
|
130
|
+
if (!vt.value(t))
|
|
131
|
+
return gt(t), t;
|
|
132
|
+
const o = re({
|
|
133
|
+
userConfig: Ze[l] || m.config,
|
|
133
134
|
defaultConfig: t
|
|
134
|
-
}), a =
|
|
135
|
+
}), a = re({
|
|
135
136
|
userConfig: m.config,
|
|
136
137
|
defaultConfig: o
|
|
137
138
|
});
|
|
138
139
|
return {
|
|
139
140
|
...a,
|
|
140
|
-
customPalette: a.customPalette.length ? a.customPalette :
|
|
141
|
+
customPalette: a.customPalette.length ? a.customPalette : Wt[l] || H
|
|
141
142
|
};
|
|
142
143
|
}
|
|
143
|
-
|
|
144
|
-
e.value =
|
|
144
|
+
Le(() => m.config, (t) => {
|
|
145
|
+
e.value = Q(), J.value = !e.value.userOptions.showOnChartHover, me(), ue.value += 1, ie.value += 1, ce.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
145
146
|
}, { deep: !0 });
|
|
146
|
-
const { isPrinting:
|
|
147
|
+
const { isPrinting: we, isImaging: Ae, generatePdf: $e, generateImage: Te } = lo({
|
|
147
148
|
elementId: `galaxy_${C.value}`,
|
|
148
149
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
|
|
149
150
|
options: e.value.userOptions.print
|
|
150
|
-
}),
|
|
151
|
+
}), ht = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), ft = d(() => Ut(e.value.customPalette)), f = n({
|
|
151
152
|
dataLabels: {
|
|
152
153
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
153
154
|
},
|
|
154
155
|
showTable: e.value.table.show,
|
|
155
156
|
showTooltip: e.value.style.chart.tooltip.show
|
|
156
|
-
}),
|
|
157
|
-
width:
|
|
158
|
-
height:
|
|
159
|
-
viewBox: `${
|
|
160
|
-
})),
|
|
157
|
+
}), M = n(250), z = n(180), bt = n(0), pt = n(0), T = d(() => ({
|
|
158
|
+
width: M.value,
|
|
159
|
+
height: z.value,
|
|
160
|
+
viewBox: `${bt.value} ${pt.value} ${M.value} ${z.value}`
|
|
161
|
+
})), xe = ot, b = n([]);
|
|
161
162
|
function E(t) {
|
|
162
|
-
b.value.includes(t.id) ? b.value = b.value.filter((l) => l !== t.id) : b.value.push(t.id),
|
|
163
|
+
b.value.includes(t.id) ? b.value = b.value.filter((l) => l !== t.id) : b.value.push(t.id), xe("selectLegend", I.value.map((l) => ({
|
|
163
164
|
name: l.name,
|
|
164
165
|
color: l.color,
|
|
165
166
|
value: l.value
|
|
166
167
|
})));
|
|
167
168
|
}
|
|
168
|
-
function
|
|
169
|
+
function Se(t) {
|
|
169
170
|
if (!w.value.length)
|
|
170
171
|
return e.value.debug && console.warn("VueUiGalaxy - There are no series to show."), null;
|
|
171
172
|
const l = w.value.find((o) => o.name === t);
|
|
172
173
|
return l || (e.value.debug && console.warn(`VueUiGalaxy - Series name not found "${t}"`), null);
|
|
173
174
|
}
|
|
174
|
-
function
|
|
175
|
-
const l =
|
|
175
|
+
function yt(t) {
|
|
176
|
+
const l = Se(t);
|
|
176
177
|
l !== null && b.value.includes(l.id) && E({ id: l.id });
|
|
177
178
|
}
|
|
178
|
-
function
|
|
179
|
-
const l =
|
|
179
|
+
function mt(t) {
|
|
180
|
+
const l = Se(t);
|
|
180
181
|
l !== null && (b.value.includes(l.id) || E({ id: l.id }));
|
|
181
182
|
}
|
|
182
|
-
const w = d(() =>
|
|
183
|
+
const w = d(() => pe.value.map((t, l) => ({
|
|
183
184
|
name: t.name,
|
|
184
|
-
color:
|
|
185
|
-
value: t.values ?
|
|
186
|
-
absoluteValues:
|
|
187
|
-
id:
|
|
185
|
+
color: Ht(t.color) || ft.value[l] || H[l] || H[l % H.length],
|
|
186
|
+
value: t.values ? Ue(t.values).reduce((o, a) => o + a, 0) : 0,
|
|
187
|
+
absoluteValues: Ue(t.values),
|
|
188
|
+
id: Re()
|
|
188
189
|
})).sort((t, l) => l.value - t.value).map((t, l) => ({
|
|
189
190
|
...t,
|
|
190
191
|
absoluteIndex: l
|
|
191
192
|
})));
|
|
192
|
-
function
|
|
193
|
+
function Ct() {
|
|
193
194
|
return w.value.map((t) => ({
|
|
194
195
|
name: t.name,
|
|
195
196
|
color: t.color,
|
|
196
197
|
value: t.value
|
|
197
198
|
}));
|
|
198
199
|
}
|
|
199
|
-
const A = d(() => w.value.filter((t) => !b.value.includes(t.id)).map((t) => t.value).reduce((t, l) => t + l, 0)),
|
|
200
|
+
const A = d(() => w.value.filter((t) => !b.value.includes(t.id)).map((t) => t.value).reduce((t, l) => t + l, 0)), Fe = n(190), De = d(() => w.value.filter((t) => !b.value.includes(t.id))), kt = d(
|
|
200
201
|
() => (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) / 2 + (e.value.style.chart.layout.padding ?? 12)
|
|
201
|
-
),
|
|
202
|
-
maxPoints:
|
|
202
|
+
), wt = d(() => jt({
|
|
203
|
+
maxPoints: Fe.value,
|
|
203
204
|
a: e.value.style.chart.layout.arcs.a ?? 6,
|
|
204
205
|
b: e.value.style.chart.layout.arcs.b ?? 6,
|
|
205
206
|
angleStep: e.value.style.chart.layout.arcs.angleStep ?? 0.07,
|
|
@@ -207,93 +208,117 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
207
208
|
startY: T.value.height / 2 + e.value.style.chart.layout.arcs.offsetY,
|
|
208
209
|
boxWidth: T.value.width,
|
|
209
210
|
boxHeight: T.value.height,
|
|
210
|
-
padding:
|
|
211
|
+
padding: kt.value
|
|
211
212
|
})), I = d(() => {
|
|
212
213
|
const t = [];
|
|
213
|
-
for (let l = 0; l <
|
|
214
|
-
const o =
|
|
214
|
+
for (let l = 0; l < De.value.length; l += 1) {
|
|
215
|
+
const o = De.value[l], a = o.value / A.value * Fe.value + (l > 0 && t.length ? t[l - 1].points : 0);
|
|
215
216
|
t.push({
|
|
216
217
|
points: a,
|
|
217
218
|
...o,
|
|
218
219
|
seriesIndex: l,
|
|
219
220
|
proportion: o.value / A.value,
|
|
220
|
-
path:
|
|
221
|
+
path: wt.value(a)
|
|
221
222
|
});
|
|
222
223
|
}
|
|
223
224
|
return t.filter((l) => !b.value.includes(l.id)).toSorted((l, o) => o.points - l.points);
|
|
224
225
|
});
|
|
225
|
-
function
|
|
226
|
-
const l = Math.min(
|
|
226
|
+
function Z(t) {
|
|
227
|
+
const l = Math.min(M.value, z.value), o = D.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, a = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * o, u = e.value.style.chart.layout.arcs.strokeWidth * o, v = e.value.style.chart.layout.arcs.strokeWidth / 2 * o;
|
|
227
228
|
return {
|
|
228
229
|
border: a / 180 * l,
|
|
229
230
|
path: u / 180 * l,
|
|
230
|
-
blur:
|
|
231
|
+
blur: v / 180 * l
|
|
231
232
|
};
|
|
232
233
|
}
|
|
233
|
-
const
|
|
234
|
-
function
|
|
235
|
-
|
|
234
|
+
const O = n(!1);
|
|
235
|
+
function Oe(t) {
|
|
236
|
+
O.value = t, se.value += 1;
|
|
236
237
|
}
|
|
237
|
-
const
|
|
238
|
-
function
|
|
239
|
-
|
|
238
|
+
const ee = n(null);
|
|
239
|
+
function At(t) {
|
|
240
|
+
j.value = !1, D.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
240
241
|
}
|
|
241
|
-
function
|
|
242
|
-
|
|
242
|
+
function $t(t) {
|
|
243
|
+
xe("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
243
244
|
}
|
|
244
|
-
function
|
|
245
|
-
|
|
245
|
+
function Pe({
|
|
246
|
+
val: t,
|
|
247
|
+
percentage: l,
|
|
248
|
+
showVal: o,
|
|
249
|
+
showPercentage: a
|
|
250
|
+
}) {
|
|
251
|
+
const u = e.value.style.chart.layout.labels.dataLabels;
|
|
252
|
+
return Kt({
|
|
253
|
+
config: u,
|
|
254
|
+
val: t,
|
|
255
|
+
percentage: l,
|
|
256
|
+
showVal: o,
|
|
257
|
+
showPercentage: a
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
function Tt({ datapoint: t, _relativeIndex: l, seriesIndex: o, show: a = !1 }) {
|
|
261
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex }), ee.value = {
|
|
246
262
|
datapoint: t,
|
|
247
263
|
seriesIndex: o,
|
|
248
264
|
series: w.value,
|
|
249
265
|
config: e.value
|
|
250
|
-
},
|
|
266
|
+
}, j.value = a, D.value = t.id;
|
|
251
267
|
let u = "";
|
|
252
|
-
const
|
|
253
|
-
|
|
268
|
+
const v = e.value.style.chart.tooltip.customFormat;
|
|
269
|
+
je(v) && Jt(() => v({
|
|
254
270
|
seriesIndex: o,
|
|
255
271
|
datapoint: t,
|
|
256
272
|
series: w.value,
|
|
257
273
|
config: e.value
|
|
258
|
-
})) ?
|
|
274
|
+
})) ? X.value = v({
|
|
259
275
|
seriesIndex: o,
|
|
260
276
|
datapoint: t,
|
|
261
277
|
series: w.value,
|
|
262
278
|
config: e.value
|
|
263
|
-
}) : (u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, u += `<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="${t.color}"/></svg>`,
|
|
264
|
-
e.value.style.chart.
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
}) : (u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, u += `<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="${t.color}"/></svg>`, u += `<b>${Pe({
|
|
280
|
+
showVal: e.value.style.chart.tooltip.showValue,
|
|
281
|
+
showPercentage: e.value.style.chart.tooltip.showPercentage,
|
|
282
|
+
val: He(
|
|
283
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
284
|
+
t.value,
|
|
285
|
+
P({
|
|
286
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
287
|
+
v: t.value,
|
|
288
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
289
|
+
r: e.value.style.chart.tooltip.roundingValue
|
|
290
|
+
}),
|
|
291
|
+
{ datapoint: t, seriesIndex: o }
|
|
292
|
+
),
|
|
293
|
+
percentage: P({
|
|
294
|
+
v: t.proportion * 100,
|
|
295
|
+
s: "%",
|
|
296
|
+
r: e.value.style.chart.tooltip.roundingPercentage
|
|
297
|
+
})
|
|
298
|
+
})}</b></div>`, X.value = `<div>${u}</div>`);
|
|
282
299
|
}
|
|
283
|
-
const
|
|
284
|
-
|
|
285
|
-
proportion: (t.value || 0) / be.value.map((o) => (o.values || []).reduce((a, u) => a + u, 0)).reduce((o, a) => o + a, 0),
|
|
286
|
-
opacity: b.value.includes(t.id) ? 0.5 : 1,
|
|
287
|
-
shape: t.shape || "circle",
|
|
288
|
-
segregate: () => E(t),
|
|
289
|
-
isSegregated: b.value.includes(t.id),
|
|
290
|
-
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? We(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, D({
|
|
300
|
+
const te = d(() => w.value.map((t, l) => {
|
|
301
|
+
const o = He(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, P({
|
|
291
302
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
292
303
|
v: t.value,
|
|
293
304
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
294
305
|
r: e.value.style.chart.legend.roundingValue
|
|
295
|
-
}), { datapoint: t, index: l })
|
|
296
|
-
|
|
306
|
+
}), { datapoint: t, index: l }), a = isNaN(t.value / A.value) || b.value.includes(t.id) ? "-" : P({ v: t.value / A.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage }), u = Pe({
|
|
307
|
+
showVal: e.value.style.chart.legend.showValue,
|
|
308
|
+
showPercentage: e.value.style.chart.legend.showPercentage,
|
|
309
|
+
val: o,
|
|
310
|
+
percentage: a
|
|
311
|
+
});
|
|
312
|
+
return {
|
|
313
|
+
...t,
|
|
314
|
+
proportion: (t.value || 0) / pe.value.map((v) => (v.values || []).reduce((N, Et) => N + Et, 0)).reduce((v, N) => v + N, 0),
|
|
315
|
+
opacity: b.value.includes(t.id) ? 0.5 : 1,
|
|
316
|
+
shape: t.shape || "circle",
|
|
317
|
+
segregate: () => E(t),
|
|
318
|
+
isSegregated: b.value.includes(t.id),
|
|
319
|
+
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${u}`
|
|
320
|
+
};
|
|
321
|
+
})), xt = d(() => ({
|
|
297
322
|
cy: "galaxy-div-legend",
|
|
298
323
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
299
324
|
color: e.value.style.chart.legend.color,
|
|
@@ -307,29 +332,29 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
307
332
|
})), l = I.value.map((o) => o.value);
|
|
308
333
|
return { head: t, body: l };
|
|
309
334
|
});
|
|
310
|
-
function
|
|
311
|
-
|
|
312
|
-
const l = x.value.head.map((u,
|
|
335
|
+
function oe(t = null) {
|
|
336
|
+
Ge(() => {
|
|
337
|
+
const l = x.value.head.map((u, v) => [[
|
|
313
338
|
u.name
|
|
314
|
-
], [x.value.body[
|
|
315
|
-
t ? t(a) :
|
|
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 = Yt(o);
|
|
340
|
+
t ? t(a) : qt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
316
341
|
});
|
|
317
342
|
}
|
|
318
|
-
const
|
|
343
|
+
const G = d(() => {
|
|
319
344
|
const t = [
|
|
320
345
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
321
|
-
|
|
346
|
+
P({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
322
347
|
"100%"
|
|
323
|
-
], l = x.value.head.map((u,
|
|
324
|
-
const
|
|
348
|
+
], l = x.value.head.map((u, v) => {
|
|
349
|
+
const N = P({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: x.value.body[v], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
325
350
|
return [
|
|
326
351
|
{
|
|
327
352
|
color: u.color,
|
|
328
353
|
name: u.name
|
|
329
354
|
},
|
|
330
|
-
|
|
331
|
-
isNaN(x.value.body[
|
|
332
|
-
v: x.value.body[
|
|
355
|
+
N,
|
|
356
|
+
isNaN(x.value.body[v] / A.value) ? "-" : P({
|
|
357
|
+
v: x.value.body[v] / A.value * 100,
|
|
333
358
|
s: "%",
|
|
334
359
|
r: e.value.table.td.roundingPercentage
|
|
335
360
|
})
|
|
@@ -358,22 +383,22 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
358
383
|
config: o
|
|
359
384
|
};
|
|
360
385
|
});
|
|
361
|
-
function
|
|
386
|
+
function _e() {
|
|
362
387
|
f.value.showTable = !f.value.showTable;
|
|
363
388
|
}
|
|
364
|
-
function
|
|
389
|
+
function Be() {
|
|
365
390
|
f.value.showTooltip = !f.value.showTooltip;
|
|
366
391
|
}
|
|
367
|
-
const
|
|
368
|
-
function
|
|
369
|
-
|
|
392
|
+
const R = n(!1);
|
|
393
|
+
function le() {
|
|
394
|
+
R.value = !R.value;
|
|
370
395
|
}
|
|
371
|
-
async function
|
|
396
|
+
async function St({ scale: t = 2 } = {}) {
|
|
372
397
|
if (!k.value) return;
|
|
373
|
-
const { width: l, height: o } = k.value.getBoundingClientRect(), a = l / o, { imageUri: u, base64:
|
|
398
|
+
const { width: l, height: o } = k.value.getBoundingClientRect(), a = l / o, { imageUri: u, base64: v } = await uo({ domElement: k.value, base64: !0, img: !0, scale: t });
|
|
374
399
|
return {
|
|
375
400
|
imageUri: u,
|
|
376
|
-
base64:
|
|
401
|
+
base64: v,
|
|
377
402
|
title: e.value.style.chart.title.text,
|
|
378
403
|
width: l,
|
|
379
404
|
height: o,
|
|
@@ -383,14 +408,14 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
383
408
|
const L = d(() => {
|
|
384
409
|
const t = e.value.table.useDialog && !e.value.table.show, l = f.value.showTable;
|
|
385
410
|
return {
|
|
386
|
-
component: t ?
|
|
411
|
+
component: t ? ct : nt,
|
|
387
412
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
388
413
|
props: t ? {
|
|
389
414
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
390
415
|
color: e.value.table.th.color,
|
|
391
416
|
headerColor: e.value.table.th.color,
|
|
392
417
|
headerBg: e.value.table.th.backgroundColor,
|
|
393
|
-
isFullscreen:
|
|
418
|
+
isFullscreen: O.value,
|
|
394
419
|
fullscreenParent: k.value,
|
|
395
420
|
forcedWidth: Math.min(500, window.innerWidth * 0.8)
|
|
396
421
|
} : {
|
|
@@ -410,58 +435,58 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
410
435
|
}
|
|
411
436
|
};
|
|
412
437
|
});
|
|
413
|
-
|
|
438
|
+
Le(() => f.value.showTable, (t) => {
|
|
414
439
|
e.value.table.show || (t && e.value.table.useDialog && B.value ? B.value.open() : "close" in B.value && B.value.close());
|
|
415
440
|
});
|
|
416
|
-
function
|
|
417
|
-
f.value.showTable = !1,
|
|
441
|
+
function Ee() {
|
|
442
|
+
f.value.showTable = !1, Y.value && Y.value.setTableIconState(!1);
|
|
418
443
|
}
|
|
419
|
-
const
|
|
444
|
+
const Ft = d(() => te.value.map((t) => ({
|
|
420
445
|
...t,
|
|
421
446
|
name: t.display
|
|
422
|
-
}))),
|
|
423
|
-
svg:
|
|
424
|
-
title:
|
|
425
|
-
legend:
|
|
426
|
-
legendItems:
|
|
427
|
-
backgroundColor:
|
|
447
|
+
}))), Dt = d(() => e.value.style.chart.backgroundColor), Ot = d(() => e.value.style.chart.legend), Pt = d(() => e.value.style.chart.title), { exportSvg: _t, getSvg: Bt } = ao({
|
|
448
|
+
svg: K,
|
|
449
|
+
title: Pt,
|
|
450
|
+
legend: Ot,
|
|
451
|
+
legendItems: Ft,
|
|
452
|
+
backgroundColor: Dt
|
|
428
453
|
});
|
|
429
|
-
async function
|
|
454
|
+
async function Ie({ isCb: t }) {
|
|
430
455
|
if (t) {
|
|
431
|
-
const { blob: l, url: o, text: a, dataUrl: u } = await
|
|
456
|
+
const { blob: l, url: o, text: a, dataUrl: u } = await Bt();
|
|
432
457
|
e.value.userOptions.callbacks.svg({ blob: l, url: o, text: a, dataUrl: u });
|
|
433
458
|
} else
|
|
434
|
-
|
|
459
|
+
_t();
|
|
435
460
|
}
|
|
436
|
-
return
|
|
437
|
-
getData:
|
|
438
|
-
getImage:
|
|
439
|
-
generatePdf:
|
|
440
|
-
generateCsv:
|
|
441
|
-
generateImage:
|
|
442
|
-
generateSvg:
|
|
443
|
-
hideSeries:
|
|
444
|
-
showSeries:
|
|
445
|
-
toggleTable:
|
|
446
|
-
toggleTooltip:
|
|
447
|
-
toggleAnnotator:
|
|
448
|
-
toggleFullscreen:
|
|
449
|
-
}), (t, l) => (r(),
|
|
461
|
+
return tt({
|
|
462
|
+
getData: Ct,
|
|
463
|
+
getImage: St,
|
|
464
|
+
generatePdf: $e,
|
|
465
|
+
generateCsv: oe,
|
|
466
|
+
generateImage: Te,
|
|
467
|
+
generateSvg: Ie,
|
|
468
|
+
hideSeries: mt,
|
|
469
|
+
showSeries: yt,
|
|
470
|
+
toggleTable: _e,
|
|
471
|
+
toggleTooltip: Be,
|
|
472
|
+
toggleAnnotator: le,
|
|
473
|
+
toggleFullscreen: Oe
|
|
474
|
+
}), (t, l) => (r(), g("div", {
|
|
450
475
|
ref_key: "galaxyChart",
|
|
451
476
|
ref: k,
|
|
452
|
-
class:
|
|
453
|
-
style:
|
|
477
|
+
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" : ""}`),
|
|
478
|
+
style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
454
479
|
id: `galaxy_${C.value}`,
|
|
455
|
-
onMouseenter: l[2] || (l[2] = () => s(
|
|
456
|
-
onMouseleave: l[3] || (l[3] = () => s(
|
|
480
|
+
onMouseenter: l[2] || (l[2] = () => s(Ce)(!0)),
|
|
481
|
+
onMouseleave: l[3] || (l[3] = () => s(Ce)(!1))
|
|
457
482
|
}, [
|
|
458
|
-
e.value.userOptions.buttons.annotator ? (r(), F(s(
|
|
483
|
+
e.value.userOptions.buttons.annotator ? (r(), F(s(st), {
|
|
459
484
|
key: 0,
|
|
460
|
-
svgRef: s(
|
|
485
|
+
svgRef: s(K),
|
|
461
486
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
462
487
|
color: e.value.style.chart.color,
|
|
463
|
-
active:
|
|
464
|
-
onClose:
|
|
488
|
+
active: R.value,
|
|
489
|
+
onClose: le
|
|
465
490
|
}, {
|
|
466
491
|
"annotator-action-close": i(() => [
|
|
467
492
|
c(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
@@ -483,21 +508,21 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
483
508
|
]),
|
|
484
509
|
_: 3
|
|
485
510
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
486
|
-
|
|
511
|
+
ht.value ? (r(), g("div", {
|
|
487
512
|
key: 1,
|
|
488
513
|
ref_key: "noTitle",
|
|
489
514
|
ref: he,
|
|
490
515
|
class: "vue-data-ui-no-title-space",
|
|
491
516
|
style: "height:36px; width: 100%;background:transparent"
|
|
492
517
|
}, null, 512)) : h("", !0),
|
|
493
|
-
e.value.style.chart.title.text ? (r(),
|
|
518
|
+
e.value.style.chart.title.text ? (r(), g("div", {
|
|
494
519
|
key: 2,
|
|
495
520
|
ref_key: "chartTitle",
|
|
496
|
-
ref:
|
|
521
|
+
ref: de,
|
|
497
522
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
498
523
|
}, [
|
|
499
|
-
(r(), F(
|
|
500
|
-
key: `title_${
|
|
524
|
+
(r(), F(io, {
|
|
525
|
+
key: `title_${ue.value}`,
|
|
501
526
|
config: {
|
|
502
527
|
title: {
|
|
503
528
|
cy: "galaxy-div-title",
|
|
@@ -512,15 +537,15 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
512
537
|
], 512)) : h("", !0),
|
|
513
538
|
$("div", {
|
|
514
539
|
id: `legend-top-${C.value}`
|
|
515
|
-
}, null, 8,
|
|
516
|
-
e.value.userOptions.show &&
|
|
540
|
+
}, null, 8, ho),
|
|
541
|
+
e.value.userOptions.show && be.value && (s(ke) || s(J)) ? (r(), F(s(ut), {
|
|
517
542
|
ref_key: "userOptionsRef",
|
|
518
|
-
ref:
|
|
519
|
-
key: `user_option_${
|
|
543
|
+
ref: Y,
|
|
544
|
+
key: `user_option_${se.value}`,
|
|
520
545
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
521
546
|
color: e.value.style.chart.color,
|
|
522
|
-
isPrinting: s(
|
|
523
|
-
isImaging: s(
|
|
547
|
+
isPrinting: s(we),
|
|
548
|
+
isImaging: s(Ae),
|
|
524
549
|
uid: C.value,
|
|
525
550
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
526
551
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -530,27 +555,27 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
530
555
|
hasTable: e.value.userOptions.buttons.table,
|
|
531
556
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
532
557
|
isTooltip: f.value.showTooltip,
|
|
533
|
-
isFullscreen:
|
|
558
|
+
isFullscreen: O.value,
|
|
534
559
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
535
560
|
chartElement: k.value,
|
|
536
561
|
position: e.value.userOptions.position,
|
|
537
562
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
538
|
-
isAnnotation:
|
|
563
|
+
isAnnotation: R.value,
|
|
539
564
|
callbacks: e.value.userOptions.callbacks,
|
|
540
565
|
printScale: e.value.userOptions.print.scale,
|
|
541
566
|
tableDialog: e.value.table.useDialog,
|
|
542
|
-
onToggleFullscreen:
|
|
543
|
-
onGeneratePdf: s(
|
|
544
|
-
onGenerateCsv:
|
|
545
|
-
onGenerateImage: s(
|
|
546
|
-
onGenerateSvg:
|
|
547
|
-
onToggleTable:
|
|
548
|
-
onToggleTooltip:
|
|
549
|
-
onToggleAnnotator:
|
|
550
|
-
style:
|
|
551
|
-
visibility: s(
|
|
567
|
+
onToggleFullscreen: Oe,
|
|
568
|
+
onGeneratePdf: s($e),
|
|
569
|
+
onGenerateCsv: oe,
|
|
570
|
+
onGenerateImage: s(Te),
|
|
571
|
+
onGenerateSvg: Ie,
|
|
572
|
+
onToggleTable: _e,
|
|
573
|
+
onToggleTooltip: Be,
|
|
574
|
+
onToggleAnnotator: le,
|
|
575
|
+
style: W({
|
|
576
|
+
visibility: s(ke) ? s(J) ? "visible" : "hidden" : "visible"
|
|
552
577
|
})
|
|
553
|
-
},
|
|
578
|
+
}, Ne({ _: 2 }, [
|
|
554
579
|
t.$slots.menuIcon ? {
|
|
555
580
|
name: "menuIcon",
|
|
556
581
|
fn: i(({ isOpen: o, color: a }) => [
|
|
@@ -615,16 +640,16 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
615
640
|
key: "8"
|
|
616
641
|
} : void 0
|
|
617
642
|
]), 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),
|
|
618
|
-
(r(),
|
|
643
|
+
(r(), g("svg", {
|
|
619
644
|
ref_key: "svgRef",
|
|
620
|
-
ref:
|
|
621
|
-
xmlns: s(
|
|
622
|
-
class:
|
|
645
|
+
ref: K,
|
|
646
|
+
xmlns: s(Xt),
|
|
647
|
+
class: U({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
623
648
|
viewBox: T.value.viewBox,
|
|
624
|
-
style:
|
|
649
|
+
style: W(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
625
650
|
}, [
|
|
626
|
-
|
|
627
|
-
t.$slots["chart-background"] ? (r(),
|
|
651
|
+
ae(s(it)),
|
|
652
|
+
t.$slots["chart-background"] ? (r(), g("foreignObject", {
|
|
628
653
|
key: 0,
|
|
629
654
|
x: 0,
|
|
630
655
|
y: 0,
|
|
@@ -635,7 +660,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
635
660
|
}
|
|
636
661
|
}, [
|
|
637
662
|
c(t.$slots, "chart-background", {}, void 0, !0)
|
|
638
|
-
], 8,
|
|
663
|
+
], 8, bo)) : h("", !0),
|
|
639
664
|
$("defs", null, [
|
|
640
665
|
$("filter", {
|
|
641
666
|
id: `blur_${C.value}`,
|
|
@@ -647,28 +672,28 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
647
672
|
$("feGaussianBlur", {
|
|
648
673
|
in: "SourceGraphic",
|
|
649
674
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
650
|
-
}, null, 8,
|
|
651
|
-
], 8,
|
|
675
|
+
}, null, 8, yo)
|
|
676
|
+
], 8, po)
|
|
652
677
|
]),
|
|
653
|
-
(r(!0),
|
|
654
|
-
o.value ? (r(),
|
|
678
|
+
(r(!0), g(Ve, null, Me(I.value, (o) => (r(), g("g", null, [
|
|
679
|
+
o.value ? (r(), g("path", {
|
|
655
680
|
key: 0,
|
|
656
681
|
d: o.path,
|
|
657
682
|
fill: "none",
|
|
658
683
|
stroke: e.value.style.chart.backgroundColor,
|
|
659
|
-
"stroke-width":
|
|
684
|
+
"stroke-width": Z(o).border,
|
|
660
685
|
"stroke-linecap": "round"
|
|
661
|
-
}, null, 8,
|
|
662
|
-
o.value ? (r(),
|
|
686
|
+
}, null, 8, mo)) : h("", !0),
|
|
687
|
+
o.value ? (r(), g("path", {
|
|
663
688
|
key: 1,
|
|
664
689
|
d: o.path,
|
|
665
690
|
fill: "none",
|
|
666
691
|
stroke: o.color,
|
|
667
|
-
"stroke-width":
|
|
692
|
+
"stroke-width": Z(o).path,
|
|
668
693
|
"stroke-linecap": "round",
|
|
669
|
-
class:
|
|
670
|
-
}, null, 10,
|
|
671
|
-
o.value && e.value.style.chart.layout.arcs.gradient.show ? (r(),
|
|
694
|
+
class: U(`${D.value && D.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
695
|
+
}, null, 10, Co)) : h("", !0),
|
|
696
|
+
o.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), g("g", {
|
|
672
697
|
key: 2,
|
|
673
698
|
filter: `url(#blur_${C.value})`
|
|
674
699
|
}, [
|
|
@@ -676,73 +701,73 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
676
701
|
d: o.path,
|
|
677
702
|
fill: "none",
|
|
678
703
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
679
|
-
"stroke-width":
|
|
704
|
+
"stroke-width": Z(o).blur,
|
|
680
705
|
"stroke-linecap": "round",
|
|
681
|
-
class:
|
|
682
|
-
}, null, 10,
|
|
683
|
-
], 8,
|
|
706
|
+
class: U(`vue-ui-galaxy-gradient ${D.value && D.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
707
|
+
}, null, 10, wo)
|
|
708
|
+
], 8, ko)) : h("", !0)
|
|
684
709
|
]))), 256)),
|
|
685
|
-
(r(!0),
|
|
686
|
-
o.value ? (r(),
|
|
710
|
+
(r(!0), g(Ve, null, Me(I.value, (o, a) => (r(), g("g", null, [
|
|
711
|
+
o.value ? (r(), g("path", {
|
|
687
712
|
key: 0,
|
|
688
713
|
d: o.path,
|
|
689
714
|
fill: "none",
|
|
690
715
|
stroke: "transparent",
|
|
691
716
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
692
717
|
"stroke-linecap": "round",
|
|
693
|
-
onMouseenter: (u) =>
|
|
718
|
+
onMouseenter: (u) => Tt({
|
|
694
719
|
datapoint: o,
|
|
695
720
|
seriesIndex: o.seriesIndex,
|
|
696
721
|
show: !0
|
|
697
722
|
}),
|
|
698
|
-
onMouseleave: (u) =>
|
|
699
|
-
onClick: (u) =>
|
|
700
|
-
}, null, 40,
|
|
723
|
+
onMouseleave: (u) => At(o),
|
|
724
|
+
onClick: (u) => $t(o)
|
|
725
|
+
}, null, 40, Ao)) : h("", !0)
|
|
701
726
|
]))), 256)),
|
|
702
727
|
c(t.$slots, "svg", { svg: T.value }, void 0, !0)
|
|
703
|
-
], 14,
|
|
704
|
-
t.$slots.watermark ? (r(),
|
|
705
|
-
c(t.$slots, "watermark", p(y({ isPrinting: s(
|
|
728
|
+
], 14, fo)),
|
|
729
|
+
t.$slots.watermark ? (r(), g("div", $o, [
|
|
730
|
+
c(t.$slots, "watermark", p(y({ isPrinting: s(we) || s(Ae) })), void 0, !0)
|
|
706
731
|
])) : h("", !0),
|
|
707
732
|
$("div", {
|
|
708
733
|
id: `legend-bottom-${C.value}`
|
|
709
|
-
}, null, 8,
|
|
710
|
-
|
|
734
|
+
}, null, 8, To),
|
|
735
|
+
fe.value ? (r(), F(Nt, {
|
|
711
736
|
key: 5,
|
|
712
737
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${C.value}` : `#legend-bottom-${C.value}`
|
|
713
738
|
}, [
|
|
714
739
|
$("div", {
|
|
715
740
|
ref_key: "chartLegend",
|
|
716
|
-
ref:
|
|
741
|
+
ref: ve
|
|
717
742
|
}, [
|
|
718
|
-
e.value.style.chart.legend.show ? (r(), F(
|
|
719
|
-
key: `legend_${
|
|
720
|
-
legendSet:
|
|
721
|
-
config:
|
|
743
|
+
e.value.style.chart.legend.show ? (r(), F(co, {
|
|
744
|
+
key: `legend_${ce.value}`,
|
|
745
|
+
legendSet: te.value,
|
|
746
|
+
config: xt.value,
|
|
722
747
|
onClickMarker: l[0] || (l[0] = ({ legend: o }) => E(o))
|
|
723
748
|
}, {
|
|
724
749
|
item: i(({ legend: o, index: a }) => [
|
|
725
|
-
s(
|
|
750
|
+
s(q) ? h("", !0) : (r(), g("div", {
|
|
726
751
|
key: 0,
|
|
727
752
|
onClick: (u) => E(o),
|
|
728
|
-
style:
|
|
729
|
-
},
|
|
753
|
+
style: W(`opacity:${b.value.includes(o.id) ? 0.5 : 1}`)
|
|
754
|
+
}, ne(o.display), 13, xo))
|
|
730
755
|
]),
|
|
731
756
|
_: 1
|
|
732
757
|
}, 8, ["legendSet", "config"])) : h("", !0),
|
|
733
|
-
c(t.$slots, "legend", { legend:
|
|
758
|
+
c(t.$slots, "legend", { legend: te.value }, void 0, !0)
|
|
734
759
|
], 512)
|
|
735
760
|
], 8, ["to"])) : h("", !0),
|
|
736
|
-
t.$slots.source ? (r(),
|
|
761
|
+
t.$slots.source ? (r(), g("div", {
|
|
737
762
|
key: 6,
|
|
738
763
|
ref_key: "source",
|
|
739
|
-
ref:
|
|
764
|
+
ref: ge,
|
|
740
765
|
dir: "auto"
|
|
741
766
|
}, [
|
|
742
767
|
c(t.$slots, "source", {}, void 0, !0)
|
|
743
768
|
], 512)) : h("", !0),
|
|
744
|
-
|
|
745
|
-
show: f.value.showTooltip &&
|
|
769
|
+
ae(s(lt), {
|
|
770
|
+
show: f.value.showTooltip && j.value,
|
|
746
771
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
747
772
|
color: e.value.style.chart.tooltip.color,
|
|
748
773
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -753,46 +778,46 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
753
778
|
position: e.value.style.chart.tooltip.position,
|
|
754
779
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
755
780
|
parent: k.value,
|
|
756
|
-
content:
|
|
757
|
-
isFullscreen:
|
|
758
|
-
isCustom: s(
|
|
781
|
+
content: X.value,
|
|
782
|
+
isFullscreen: O.value,
|
|
783
|
+
isCustom: s(je)(e.value.style.chart.tooltip.customFormat),
|
|
759
784
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
760
785
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
761
786
|
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
762
787
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
763
788
|
}, {
|
|
764
789
|
"tooltip-before": i(() => [
|
|
765
|
-
c(t.$slots, "tooltip-before", p(y({ ...
|
|
790
|
+
c(t.$slots, "tooltip-before", p(y({ ...ee.value })), void 0, !0)
|
|
766
791
|
]),
|
|
767
792
|
"tooltip-after": i(() => [
|
|
768
|
-
c(t.$slots, "tooltip-after", p(y({ ...
|
|
793
|
+
c(t.$slots, "tooltip-after", p(y({ ...ee.value })), void 0, !0)
|
|
769
794
|
]),
|
|
770
795
|
_: 3
|
|
771
796
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
772
|
-
|
|
797
|
+
be.value && e.value.userOptions.buttons.table ? (r(), F(Vt(L.value.component), Mt({ key: 7 }, L.value.props, {
|
|
773
798
|
ref_key: "tableUnit",
|
|
774
799
|
ref: B,
|
|
775
|
-
onClose:
|
|
776
|
-
}),
|
|
800
|
+
onClose: Ee
|
|
801
|
+
}), Ne({
|
|
777
802
|
content: i(() => [
|
|
778
|
-
(r(), F(s(
|
|
779
|
-
key: `table_${
|
|
780
|
-
colNames:
|
|
781
|
-
head:
|
|
782
|
-
body:
|
|
783
|
-
config:
|
|
803
|
+
(r(), F(s(rt), {
|
|
804
|
+
key: `table_${ie.value}`,
|
|
805
|
+
colNames: G.value.colNames,
|
|
806
|
+
head: G.value.head,
|
|
807
|
+
body: G.value.body,
|
|
808
|
+
config: G.value.config,
|
|
784
809
|
title: e.value.table.useDialog ? "" : L.value.title,
|
|
785
810
|
withCloseButton: !e.value.table.useDialog,
|
|
786
|
-
onClose:
|
|
811
|
+
onClose: Ee
|
|
787
812
|
}, {
|
|
788
813
|
th: i(({ th: o }) => [
|
|
789
814
|
$("div", {
|
|
790
815
|
innerHTML: o,
|
|
791
816
|
style: { display: "flex", "align-items": "center" }
|
|
792
|
-
}, null, 8,
|
|
817
|
+
}, null, 8, So)
|
|
793
818
|
]),
|
|
794
819
|
td: i(({ td: o }) => [
|
|
795
|
-
|
|
820
|
+
ze(ne(o.name || o), 1)
|
|
796
821
|
]),
|
|
797
822
|
_: 1
|
|
798
823
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -802,7 +827,7 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
802
827
|
e.value.table.useDialog ? {
|
|
803
828
|
name: "title",
|
|
804
829
|
fn: i(() => [
|
|
805
|
-
|
|
830
|
+
ze(ne(L.value.title), 1)
|
|
806
831
|
]),
|
|
807
832
|
key: "0"
|
|
808
833
|
} : void 0,
|
|
@@ -812,9 +837,9 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
812
837
|
$("button", {
|
|
813
838
|
tabindex: "0",
|
|
814
839
|
class: "vue-ui-user-options-button",
|
|
815
|
-
onClick: l[1] || (l[1] = (o) =>
|
|
840
|
+
onClick: l[1] || (l[1] = (o) => oe(e.value.userOptions.callbacks.csv))
|
|
816
841
|
}, [
|
|
817
|
-
|
|
842
|
+
ae(s(at), {
|
|
818
843
|
name: "excel",
|
|
819
844
|
stroke: L.value.props.color
|
|
820
845
|
}, null, 8, ["stroke"])
|
|
@@ -823,15 +848,15 @@ const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
823
848
|
key: "1"
|
|
824
849
|
} : void 0
|
|
825
850
|
]), 1040)) : h("", !0),
|
|
826
|
-
s(
|
|
827
|
-
], 46,
|
|
851
|
+
s(q) ? (r(), F(oo, { key: 8 })) : h("", !0)
|
|
852
|
+
], 46, go));
|
|
828
853
|
}
|
|
829
|
-
},
|
|
854
|
+
}, Do = /* @__PURE__ */ vo(Fo, [["__scopeId", "data-v-76025af7"]]), jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
830
855
|
__proto__: null,
|
|
831
|
-
default:
|
|
856
|
+
default: Do
|
|
832
857
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
833
858
|
export {
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
859
|
+
Ho as a,
|
|
860
|
+
jo as b,
|
|
861
|
+
Do as v
|
|
837
862
|
};
|