vue-data-ui 3.6.0 → 3.7.1
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 +26 -26
- package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
- package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
- package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
- package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
- package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
- package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
- package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
- package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-C82JCJOX.js} +1 -1
- package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
- package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
- package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
- package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
- package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
- package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
- package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
- package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +3 -3
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +3 -3
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +3 -3
- package/dist/components/vue-ui-candlestick.js +3 -3
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +3 -3
- package/dist/components/vue-ui-chord.js +3 -3
- package/dist/components/vue-ui-circle-pack.js +3 -3
- package/dist/components/vue-ui-cursor.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 +2 -2
- package/dist/components/vue-ui-donut.js +3 -3
- package/dist/components/vue-ui-dumbbell.js +3 -3
- package/dist/components/vue-ui-flow.js +3 -3
- package/dist/components/vue-ui-funnel.js +2 -2
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.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 +3 -3
- package/dist/components/vue-ui-horizontal-bar.js +3 -3
- 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 +3 -3
- package/dist/components/vue-ui-mood-radar.js +3 -3
- package/dist/components/vue-ui-nested-donuts.js +2 -2
- package/dist/components/vue-ui-onion.js +3 -3
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +3 -3
- package/dist/components/vue-ui-quick-chart.js +3 -3
- package/dist/components/vue-ui-radar.js +3 -3
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +3 -3
- package/dist/components/vue-ui-ridgeline.js +3 -3
- package/dist/components/vue-ui-rings.js +3 -3
- package/dist/components/vue-ui-scatter.js +3 -3
- 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 +2 -2
- package/dist/components/vue-ui-sparkgauge.js +3 -3
- package/dist/components/vue-ui-sparkhistogram.js +3 -3
- package/dist/components/vue-ui-sparkline.js +3 -3
- package/dist/components/vue-ui-sparkstackbar.js +2 -2
- package/dist/components/vue-ui-stackbar.js +3 -3
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +3 -3
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +2 -2
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +3 -3
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +2 -2
- package/dist/components/vue-ui-treemap.js +3 -3
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +2 -2
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +3 -3
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +3 -3
- package/dist/components/vue-ui-xy.js +3 -3
- package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
- package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
- package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
- package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
- package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
- package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
- package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
- package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
- package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-d-OXgGG3.js} +78 -78
- package/dist/vue-data-ui.js +225 -205
- package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-BLbSbx2V.js} +546 -517
- package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
- package/dist/vue-ui-age-pyramid-DQ-xc-if.js +960 -0
- package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
- package/dist/vue-ui-bullet-BvMdxLkK.js +657 -0
- package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-DIWeygxV.js} +596 -561
- package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-DM2HJFMH.js} +48 -48
- package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DNOG6dqY.js} +534 -505
- package/dist/vue-ui-chord-D2wPt2JV.js +1182 -0
- package/dist/vue-ui-circle-pack-D_GDv7OV.js +832 -0
- package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
- package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-BMby447A.js} +140 -140
- package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
- package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BqiNPW3q.js} +634 -602
- package/dist/vue-ui-donut-evolution-BL7HtdsP.js +1243 -0
- package/dist/vue-ui-dumbbell-BlTDnM8L.js +1258 -0
- package/dist/vue-ui-flow-BxIv20FH.js +1026 -0
- package/dist/vue-ui-funnel-Tnjg4srR.js +743 -0
- package/dist/vue-ui-galaxy-CYDVXdNj.js +837 -0
- package/dist/vue-ui-gauge-DAcpazK7.js +864 -0
- package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-Bg2TpPwm.js} +3 -3
- package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-BPEE_cLi.js} +501 -466
- package/dist/vue-ui-history-plot-BhfbLer8.js +1239 -0
- package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
- package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
- package/dist/vue-ui-molecule-DnzXYuUi.js +782 -0
- package/dist/vue-ui-mood-radar-CXyQEfeM.js +930 -0
- package/dist/vue-ui-nested-donuts-Dq8JoU5d.js +1454 -0
- package/dist/vue-ui-onion-D0KUHi-Z.js +944 -0
- package/dist/vue-ui-parallel-coordinate-plot-DNc2L4Rg.js +1080 -0
- package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-Cp8loNVN.js} +510 -481
- package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-kuTdgAKG.js} +795 -758
- package/dist/vue-ui-radar-x2Ry_IGa.js +1013 -0
- package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
- package/dist/vue-ui-relation-circle-DbYE9UHq.js +671 -0
- package/dist/vue-ui-ridgeline-yaMl8iIE.js +1302 -0
- package/dist/vue-ui-rings-BowsO9I8.js +884 -0
- package/dist/vue-ui-scatter-C_nz0A4x.js +1619 -0
- package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-DdXq2gl1.js} +3 -3
- package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
- package/dist/vue-ui-spark-trend-BLticwHl.js +364 -0
- package/dist/vue-ui-sparkbar-DC2sDr9_.js +381 -0
- package/dist/vue-ui-sparkgauge-BENUfyuR.js +260 -0
- package/dist/vue-ui-sparkhistogram-BY0jsNsc.js +411 -0
- package/dist/vue-ui-sparkline-fS36LGCB.js +549 -0
- package/dist/vue-ui-sparkstackbar-C59ocU83.js +470 -0
- package/dist/vue-ui-stackbar-BtWWtzDp.js +1867 -0
- package/dist/vue-ui-stackline-CsGEHOOr.js +1963 -0
- package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-n_rEdwkM.js} +343 -314
- package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-Kv2YL5OU.js} +5 -5
- package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
- package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-B8CCAdco.js} +292 -263
- package/dist/vue-ui-thermometer-C1Hr_LrY.js +613 -0
- package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-CmnO99_j.js} +25 -25
- package/dist/vue-ui-tiremarks-DbZbhw6Q.js +477 -0
- package/dist/vue-ui-treemap-BGMpUu5v.js +1359 -0
- package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-CWlGQoB3.js} +520 -485
- package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-BVVrMghT.js} +376 -347
- package/dist/vue-ui-wheel-B2pFBeKR.js +690 -0
- package/dist/vue-ui-word-cloud-BqKSDn2J.js +904 -0
- package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-glj9mQAg.js} +57 -57
- package/dist/vue-ui-xy-BdXV4naK.js +3455 -0
- package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
- package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
- package/package.json +5 -5
- package/dist/themes-DH-N_ePR.js +0 -54
- package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
- package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
- package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
- package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
- package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
- package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
- package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
- package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
- package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
- package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
- package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
- package/dist/vue-ui-molecule-CasngKZI.js +0 -753
- package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
- package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
- package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
- package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
- package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
- package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
- package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
- package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
- package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
- package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
- package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
- package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
- package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
- package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
- package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
- package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
- package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
- package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
- package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
- package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
- package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
- package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
- package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
- package/dist/vue-ui-xy-BT67faLv.js +0 -3424
- package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
|
@@ -0,0 +1,837 @@
|
|
|
1
|
+
import { defineAsyncComponent as S, ref as n, computed as d, toRefs as Bt, onMounted as Et, watch as Ee, createElementBlock as v, openBlock as r, unref as s, normalizeStyle as G, normalizeClass as W, createBlock as F, createCommentVNode as h, createElementVNode as $, createVNode as le, withCtx as i, renderSlot as c, normalizeProps as p, guardReactiveProps as y, createSlots as Ie, Fragment as Le, renderList as Ne, Teleport as It, toDisplayString as ae, resolveDynamicComponent as Lt, mergeProps as Nt, createTextVNode as Ve, nextTick as Me } from "vue";
|
|
2
|
+
import { c as Re, t as Vt, o as Mt, g as ze, k as Rt, i as zt, p as U, j as Gt, a5 as Ge, l as Wt, a9 as Ut, a as We, d as D, X as Ht, x as Ue, u as jt, q as Xt, R as Yt } from "./lib-C5BH09_g.js";
|
|
3
|
+
import { t as qt, u as Jt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Kt, a as ne } from "./useNestedProp-CWo6bftQ.js";
|
|
5
|
+
import { u as Qt, B as Zt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as eo } from "./usePrinter-DCJzEiS8.js";
|
|
7
|
+
import { u as to } from "./useSvgExport-DrjCWun4.js";
|
|
8
|
+
import { u as oo } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
|
+
import { u as lo } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as ao } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import no from "./img-DUzJeMlr.js";
|
|
12
|
+
import ro from "./Title-DfFUb9hd.js";
|
|
13
|
+
import so from "./Legend-Web3GjlR.js";
|
|
14
|
+
import { _ as uo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, je = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { arcs: { gradient: { show: !1 } } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Xe = { 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" } } }, Ye = { 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" } } }, qe = { 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" } } }, Je = { 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" } } }, Ke = {
|
|
16
|
+
default: {},
|
|
17
|
+
dark: He,
|
|
18
|
+
celebration: je,
|
|
19
|
+
celebrationNight: Xe,
|
|
20
|
+
hack: Ye,
|
|
21
|
+
zen: qe,
|
|
22
|
+
concrete: Je
|
|
23
|
+
}, zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24
|
+
__proto__: null,
|
|
25
|
+
celebration: je,
|
|
26
|
+
celebrationNight: Xe,
|
|
27
|
+
concrete: Je,
|
|
28
|
+
dark: He,
|
|
29
|
+
default: Ke,
|
|
30
|
+
hack: Ye,
|
|
31
|
+
zen: qe
|
|
32
|
+
}, Symbol.toStringTag, { value: "Module" })), io = ["id"], co = ["id"], vo = ["xmlns", "viewBox"], ho = ["width", "height"], go = ["id"], fo = ["stdDeviation"], bo = ["d", "stroke", "stroke-width"], po = ["d", "stroke", "stroke-width"], yo = ["filter"], mo = ["d", "stroke", "stroke-width"], Co = ["d", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], ko = {
|
|
33
|
+
key: 4,
|
|
34
|
+
class: "vue-data-ui-watermark"
|
|
35
|
+
}, wo = ["id"], Ao = ["onClick"], $o = ["innerHTML"], To = {
|
|
36
|
+
__name: "vue-ui-galaxy",
|
|
37
|
+
props: {
|
|
38
|
+
config: {
|
|
39
|
+
type: Object,
|
|
40
|
+
default() {
|
|
41
|
+
return {};
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
dataset: {
|
|
45
|
+
type: Array,
|
|
46
|
+
default() {
|
|
47
|
+
return [];
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
emits: ["selectLegend", "selectDatapoint"],
|
|
52
|
+
setup(Qe, { expose: Ze, emit: et }) {
|
|
53
|
+
const tt = S(() => import("./Tooltip-WD0Ros6G.js")), ot = S(() => import("./BaseIcon-CofSxalQ.js")), lt = S(() => import("./vue-ui-accordion-DSdZUn2C.js")), at = S(() => import("./DataTable-CHaOCmsE.js")), nt = S(() => import("./PenAndPaper-HCZQTkqi.js")), rt = S(() => import("./UserOptions-B3I-s3Lw.js")), st = S(() => import("./PackageVersion-C82JCJOX.js")), ut = S(() => import("./BaseDraggableDialog-CRF94NJQ.js")), { vue_ui_galaxy: it } = Kt(), { isThemeValid: ct, warnInvalidTheme: dt } = oo(), m = Qe, C = n(Re()), k = n(null), H = n(!1), j = n(""), O = n(null), re = n(0), se = n(0), ue = n(0), ie = n(0), ce = n(null), de = n(null), ve = n(null), he = n(null), _ = n(null), N = n(null), ge = n(!1), B = n(null), X = n(null), fe = d(() => !!m.dataset && m.dataset.length), e = n(K()), { loading: Y, FINAL_DATASET: be } = Qt({
|
|
54
|
+
...Bt(m),
|
|
55
|
+
FINAL_CONFIG: e,
|
|
56
|
+
prepareConfig: K,
|
|
57
|
+
callback: () => {
|
|
58
|
+
Promise.resolve().then(async () => {
|
|
59
|
+
await Me(), f.value.showTable = e.value.table.show;
|
|
60
|
+
});
|
|
61
|
+
},
|
|
62
|
+
skeletonDataset: [
|
|
63
|
+
{ name: "_", values: [21], color: "#DBDBDB" },
|
|
64
|
+
{ name: "_", values: [13], color: "#C4C4C4" },
|
|
65
|
+
{ name: "_", values: [8], color: "#ADADAD" }
|
|
66
|
+
],
|
|
67
|
+
skeletonConfig: Vt({
|
|
68
|
+
defaultConfig: e.value,
|
|
69
|
+
userConfig: {
|
|
70
|
+
userOptions: { show: !1 },
|
|
71
|
+
table: { show: !1 },
|
|
72
|
+
useCssAnimation: !1,
|
|
73
|
+
style: {
|
|
74
|
+
chart: {
|
|
75
|
+
backgroundColor: "#99999930",
|
|
76
|
+
legend: {
|
|
77
|
+
backgroundColor: "transparent"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
})
|
|
83
|
+
});
|
|
84
|
+
Et(() => {
|
|
85
|
+
ge.value = !0, ye();
|
|
86
|
+
});
|
|
87
|
+
const pe = d(() => !!e.value.debug);
|
|
88
|
+
function ye() {
|
|
89
|
+
if (Mt(m.dataset) ? ze({
|
|
90
|
+
componentName: "VueUiGalaxy",
|
|
91
|
+
type: "dataset",
|
|
92
|
+
debug: pe.value
|
|
93
|
+
}) : m.dataset.forEach((t, l) => {
|
|
94
|
+
Rt({
|
|
95
|
+
datasetObject: t,
|
|
96
|
+
requiredAttributes: ["name", "values"]
|
|
97
|
+
}).forEach((o) => {
|
|
98
|
+
ze({
|
|
99
|
+
componentName: "VueUiGalaxy",
|
|
100
|
+
type: "datasetSerieAttribute",
|
|
101
|
+
property: o,
|
|
102
|
+
index: l,
|
|
103
|
+
debug: pe.value
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
}), e.value.responsive) {
|
|
107
|
+
const t = qt(() => {
|
|
108
|
+
const { width: l, height: o } = Jt({
|
|
109
|
+
chart: k.value,
|
|
110
|
+
title: e.value.style.chart.title.text ? ce.value : null,
|
|
111
|
+
legend: e.value.style.chart.legend.show ? de.value : null,
|
|
112
|
+
noTitle: he.value,
|
|
113
|
+
source: ve.value
|
|
114
|
+
});
|
|
115
|
+
requestAnimationFrame(() => {
|
|
116
|
+
V.value = Math.max(0.1, l), M.value = Math.max(0.1, o - 12);
|
|
117
|
+
});
|
|
118
|
+
});
|
|
119
|
+
_.value && (N.value && _.value.unobserve(N.value), _.value.disconnect()), _.value = new ResizeObserver(t), N.value = k.value.parentNode, _.value.observe(N.value);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
const { userOptionsVisible: q, setUserOptionsVisibility: me, keepUserOptionState: Ce } = lo({ config: e.value }), { svgRef: J } = ao({ config: e.value.style.chart.title });
|
|
123
|
+
function K() {
|
|
124
|
+
const t = ne({
|
|
125
|
+
userConfig: m.config,
|
|
126
|
+
defaultConfig: it
|
|
127
|
+
}), l = t.theme;
|
|
128
|
+
if (!l) return t;
|
|
129
|
+
if (!ct.value(t))
|
|
130
|
+
return dt(t), t;
|
|
131
|
+
const o = ne({
|
|
132
|
+
userConfig: Ke[l] || m.config,
|
|
133
|
+
defaultConfig: t
|
|
134
|
+
}), a = ne({
|
|
135
|
+
userConfig: m.config,
|
|
136
|
+
defaultConfig: o
|
|
137
|
+
});
|
|
138
|
+
return {
|
|
139
|
+
...a,
|
|
140
|
+
customPalette: a.customPalette.length ? a.customPalette : zt[l] || U
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
Ee(() => m.config, (t) => {
|
|
144
|
+
e.value = K(), q.value = !e.value.userOptions.showOnChartHover, ye(), se.value += 1, ue.value += 1, ie.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
|
+
}, { deep: !0 });
|
|
146
|
+
const { isPrinting: ke, isImaging: we, generatePdf: Ae, generateImage: $e } = eo({
|
|
147
|
+
elementId: `galaxy_${C.value}`,
|
|
148
|
+
fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
|
|
149
|
+
options: e.value.userOptions.print
|
|
150
|
+
}), vt = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), ht = d(() => Gt(e.value.customPalette)), f = n({
|
|
151
|
+
dataLabels: {
|
|
152
|
+
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
153
|
+
},
|
|
154
|
+
showTable: e.value.table.show,
|
|
155
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
156
|
+
}), V = n(250), M = n(180), gt = n(0), ft = n(0), T = d(() => ({
|
|
157
|
+
width: V.value,
|
|
158
|
+
height: M.value,
|
|
159
|
+
viewBox: `${gt.value} ${ft.value} ${V.value} ${M.value}`
|
|
160
|
+
})), Te = et, b = n([]);
|
|
161
|
+
function E(t) {
|
|
162
|
+
b.value.includes(t.id) ? b.value = b.value.filter((l) => l !== t.id) : b.value.push(t.id), Te("selectLegend", I.value.map((l) => ({
|
|
163
|
+
name: l.name,
|
|
164
|
+
color: l.color,
|
|
165
|
+
value: l.value
|
|
166
|
+
})));
|
|
167
|
+
}
|
|
168
|
+
function xe(t) {
|
|
169
|
+
if (!w.value.length)
|
|
170
|
+
return e.value.debug && console.warn("VueUiGalaxy - There are no series to show."), null;
|
|
171
|
+
const l = w.value.find((o) => o.name === t);
|
|
172
|
+
return l || (e.value.debug && console.warn(`VueUiGalaxy - Series name not found "${t}"`), null);
|
|
173
|
+
}
|
|
174
|
+
function bt(t) {
|
|
175
|
+
const l = xe(t);
|
|
176
|
+
l !== null && b.value.includes(l.id) && E({ id: l.id });
|
|
177
|
+
}
|
|
178
|
+
function pt(t) {
|
|
179
|
+
const l = xe(t);
|
|
180
|
+
l !== null && (b.value.includes(l.id) || E({ id: l.id }));
|
|
181
|
+
}
|
|
182
|
+
const w = d(() => be.value.map((t, l) => ({
|
|
183
|
+
name: t.name,
|
|
184
|
+
color: Wt(t.color) || ht.value[l] || U[l] || U[l % U.length],
|
|
185
|
+
value: t.values ? Ge(t.values).reduce((o, a) => o + a, 0) : 0,
|
|
186
|
+
absoluteValues: Ge(t.values),
|
|
187
|
+
id: Re()
|
|
188
|
+
})).sort((t, l) => l.value - t.value).map((t, l) => ({
|
|
189
|
+
...t,
|
|
190
|
+
absoluteIndex: l
|
|
191
|
+
})));
|
|
192
|
+
function yt() {
|
|
193
|
+
return w.value.map((t) => ({
|
|
194
|
+
name: t.name,
|
|
195
|
+
color: t.color,
|
|
196
|
+
value: t.value
|
|
197
|
+
}));
|
|
198
|
+
}
|
|
199
|
+
const A = d(() => w.value.filter((t) => !b.value.includes(t.id)).map((t) => t.value).reduce((t, l) => t + l, 0)), Se = n(190), Fe = d(() => w.value.filter((t) => !b.value.includes(t.id))), mt = d(
|
|
200
|
+
() => (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) / 2 + (e.value.style.chart.layout.padding ?? 12)
|
|
201
|
+
), Ct = d(() => Ut({
|
|
202
|
+
maxPoints: Se.value,
|
|
203
|
+
a: e.value.style.chart.layout.arcs.a ?? 6,
|
|
204
|
+
b: e.value.style.chart.layout.arcs.b ?? 6,
|
|
205
|
+
angleStep: e.value.style.chart.layout.arcs.angleStep ?? 0.07,
|
|
206
|
+
startX: T.value.width / 2 + e.value.style.chart.layout.arcs.offsetX,
|
|
207
|
+
startY: T.value.height / 2 + e.value.style.chart.layout.arcs.offsetY,
|
|
208
|
+
boxWidth: T.value.width,
|
|
209
|
+
boxHeight: T.value.height,
|
|
210
|
+
padding: mt.value
|
|
211
|
+
})), I = d(() => {
|
|
212
|
+
const t = [];
|
|
213
|
+
for (let l = 0; l < Fe.value.length; l += 1) {
|
|
214
|
+
const o = Fe.value[l], a = o.value / A.value * Se.value + (l > 0 && t.length ? t[l - 1].points : 0);
|
|
215
|
+
t.push({
|
|
216
|
+
points: a,
|
|
217
|
+
...o,
|
|
218
|
+
seriesIndex: l,
|
|
219
|
+
proportion: o.value / A.value,
|
|
220
|
+
path: Ct.value(a)
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
return t.filter((l) => !b.value.includes(l.id)).toSorted((l, o) => o.points - l.points);
|
|
224
|
+
});
|
|
225
|
+
function Q(t) {
|
|
226
|
+
const l = Math.min(V.value, M.value), o = O.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, g = e.value.style.chart.layout.arcs.strokeWidth / 2 * o;
|
|
227
|
+
return {
|
|
228
|
+
border: a / 180 * l,
|
|
229
|
+
path: u / 180 * l,
|
|
230
|
+
blur: g / 180 * l
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
const P = n(!1);
|
|
234
|
+
function De(t) {
|
|
235
|
+
P.value = t, re.value += 1;
|
|
236
|
+
}
|
|
237
|
+
const Z = n(null);
|
|
238
|
+
function kt(t) {
|
|
239
|
+
H.value = !1, O.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
240
|
+
}
|
|
241
|
+
function wt(t) {
|
|
242
|
+
Te("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
243
|
+
}
|
|
244
|
+
function At({ datapoint: t, _relativeIndex: l, seriesIndex: o, show: a = !1 }) {
|
|
245
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex }), Z.value = {
|
|
246
|
+
datapoint: t,
|
|
247
|
+
seriesIndex: o,
|
|
248
|
+
series: w.value,
|
|
249
|
+
config: e.value
|
|
250
|
+
}, H.value = a, O.value = t.id;
|
|
251
|
+
let u = "";
|
|
252
|
+
const g = e.value.style.chart.tooltip.customFormat;
|
|
253
|
+
Ue(g) && Yt(() => g({
|
|
254
|
+
seriesIndex: o,
|
|
255
|
+
datapoint: t,
|
|
256
|
+
series: w.value,
|
|
257
|
+
config: e.value
|
|
258
|
+
})) ? j.value = g({
|
|
259
|
+
seriesIndex: o,
|
|
260
|
+
datapoint: t,
|
|
261
|
+
series: w.value,
|
|
262
|
+
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>`, e.value.style.chart.tooltip.showValue && (u += `<b>${We(
|
|
264
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
265
|
+
t.value,
|
|
266
|
+
D({
|
|
267
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
268
|
+
v: t.value,
|
|
269
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
270
|
+
r: e.value.style.chart.tooltip.roundingValue
|
|
271
|
+
}),
|
|
272
|
+
{ datapoint: t, seriesIndex: o }
|
|
273
|
+
)}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${D({
|
|
274
|
+
v: t.proportion * 100,
|
|
275
|
+
s: "%",
|
|
276
|
+
r: e.value.style.chart.tooltip.roundingPercentage
|
|
277
|
+
})})</span></div>` : u += `<b>${D({
|
|
278
|
+
v: t.proportion * 100,
|
|
279
|
+
s: "%",
|
|
280
|
+
r: e.value.style.chart.tooltip.roundingPercentage
|
|
281
|
+
})}</b></div>`), j.value = `<div>${u}</div>`);
|
|
282
|
+
}
|
|
283
|
+
const ee = d(() => w.value.map((t, l) => ({
|
|
284
|
+
...t,
|
|
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({
|
|
291
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
292
|
+
v: t.value,
|
|
293
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
294
|
+
r: e.value.style.chart.legend.roundingValue
|
|
295
|
+
}), { datapoint: t, index: l }) : ""}${e.value.style.chart.legend.showPercentage ? b.value.includes(t.id) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / A.value) ? "-" : D({ v: t.value / A.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
|
|
296
|
+
}))), $t = d(() => ({
|
|
297
|
+
cy: "galaxy-div-legend",
|
|
298
|
+
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
299
|
+
color: e.value.style.chart.legend.color,
|
|
300
|
+
fontSize: e.value.style.chart.legend.fontSize,
|
|
301
|
+
paddingBottom: 12,
|
|
302
|
+
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
303
|
+
})), x = d(() => {
|
|
304
|
+
const t = I.value.map((o) => ({
|
|
305
|
+
name: o.name,
|
|
306
|
+
color: o.color
|
|
307
|
+
})), l = I.value.map((o) => o.value);
|
|
308
|
+
return { head: t, body: l };
|
|
309
|
+
});
|
|
310
|
+
function te(t = null) {
|
|
311
|
+
Me(() => {
|
|
312
|
+
const l = x.value.head.map((u, g) => [[
|
|
313
|
+
u.name
|
|
314
|
+
], [x.value.body[g]], [isNaN(x.value.body[g] / A.value) ? "-" : x.value.body[g] / A.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), a = jt(o);
|
|
315
|
+
t ? t(a) : Xt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
const R = d(() => {
|
|
319
|
+
const t = [
|
|
320
|
+
' <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
|
+
D({ 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
|
+
"100%"
|
|
323
|
+
], l = x.value.head.map((u, g) => {
|
|
324
|
+
const _t = D({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: x.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
325
|
+
return [
|
|
326
|
+
{
|
|
327
|
+
color: u.color,
|
|
328
|
+
name: u.name
|
|
329
|
+
},
|
|
330
|
+
_t,
|
|
331
|
+
isNaN(x.value.body[g] / A.value) ? "-" : D({
|
|
332
|
+
v: x.value.body[g] / A.value * 100,
|
|
333
|
+
s: "%",
|
|
334
|
+
r: e.value.table.td.roundingPercentage
|
|
335
|
+
})
|
|
336
|
+
];
|
|
337
|
+
}), o = {
|
|
338
|
+
th: {
|
|
339
|
+
backgroundColor: e.value.table.th.backgroundColor,
|
|
340
|
+
color: e.value.table.th.color,
|
|
341
|
+
outline: e.value.table.th.outline
|
|
342
|
+
},
|
|
343
|
+
td: {
|
|
344
|
+
backgroundColor: e.value.table.td.backgroundColor,
|
|
345
|
+
color: e.value.table.td.color,
|
|
346
|
+
outline: e.value.table.td.outline
|
|
347
|
+
},
|
|
348
|
+
breakpoint: e.value.table.responsiveBreakpoint
|
|
349
|
+
};
|
|
350
|
+
return {
|
|
351
|
+
colNames: [
|
|
352
|
+
e.value.table.columnNames.series,
|
|
353
|
+
e.value.table.columnNames.value,
|
|
354
|
+
e.value.table.columnNames.percentage
|
|
355
|
+
],
|
|
356
|
+
head: t,
|
|
357
|
+
body: l,
|
|
358
|
+
config: o
|
|
359
|
+
};
|
|
360
|
+
});
|
|
361
|
+
function Oe() {
|
|
362
|
+
f.value.showTable = !f.value.showTable;
|
|
363
|
+
}
|
|
364
|
+
function Pe() {
|
|
365
|
+
f.value.showTooltip = !f.value.showTooltip;
|
|
366
|
+
}
|
|
367
|
+
const z = n(!1);
|
|
368
|
+
function oe() {
|
|
369
|
+
z.value = !z.value;
|
|
370
|
+
}
|
|
371
|
+
async function Tt({ scale: t = 2 } = {}) {
|
|
372
|
+
if (!k.value) return;
|
|
373
|
+
const { width: l, height: o } = k.value.getBoundingClientRect(), a = l / o, { imageUri: u, base64: g } = await no({ domElement: k.value, base64: !0, img: !0, scale: t });
|
|
374
|
+
return {
|
|
375
|
+
imageUri: u,
|
|
376
|
+
base64: g,
|
|
377
|
+
title: e.value.style.chart.title.text,
|
|
378
|
+
width: l,
|
|
379
|
+
height: o,
|
|
380
|
+
aspectRatio: a
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
const L = d(() => {
|
|
384
|
+
const t = e.value.table.useDialog && !e.value.table.show, l = f.value.showTable;
|
|
385
|
+
return {
|
|
386
|
+
component: t ? ut : lt,
|
|
387
|
+
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
388
|
+
props: t ? {
|
|
389
|
+
backgroundColor: e.value.table.th.backgroundColor,
|
|
390
|
+
color: e.value.table.th.color,
|
|
391
|
+
headerColor: e.value.table.th.color,
|
|
392
|
+
headerBg: e.value.table.th.backgroundColor,
|
|
393
|
+
isFullscreen: P.value,
|
|
394
|
+
fullscreenParent: k.value,
|
|
395
|
+
forcedWidth: Math.min(500, window.innerWidth * 0.8)
|
|
396
|
+
} : {
|
|
397
|
+
hideDetails: !0,
|
|
398
|
+
config: {
|
|
399
|
+
open: l,
|
|
400
|
+
maxHeight: 1e4,
|
|
401
|
+
body: {
|
|
402
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
403
|
+
color: e.value.style.chart.color
|
|
404
|
+
},
|
|
405
|
+
head: {
|
|
406
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
407
|
+
color: e.value.style.chart.color
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
});
|
|
413
|
+
Ee(() => f.value.showTable, (t) => {
|
|
414
|
+
e.value.table.show || (t && e.value.table.useDialog && B.value ? B.value.open() : "close" in B.value && B.value.close());
|
|
415
|
+
});
|
|
416
|
+
function _e() {
|
|
417
|
+
f.value.showTable = !1, X.value && X.value.setTableIconState(!1);
|
|
418
|
+
}
|
|
419
|
+
const xt = d(() => ee.value.map((t) => ({
|
|
420
|
+
...t,
|
|
421
|
+
name: t.display
|
|
422
|
+
}))), St = d(() => e.value.style.chart.backgroundColor), Ft = d(() => e.value.style.chart.legend), Dt = d(() => e.value.style.chart.title), { exportSvg: Ot, getSvg: Pt } = to({
|
|
423
|
+
svg: J,
|
|
424
|
+
title: Dt,
|
|
425
|
+
legend: Ft,
|
|
426
|
+
legendItems: xt,
|
|
427
|
+
backgroundColor: St
|
|
428
|
+
});
|
|
429
|
+
async function Be({ isCb: t }) {
|
|
430
|
+
if (t) {
|
|
431
|
+
const { blob: l, url: o, text: a, dataUrl: u } = await Pt();
|
|
432
|
+
e.value.userOptions.callbacks.svg({ blob: l, url: o, text: a, dataUrl: u });
|
|
433
|
+
} else
|
|
434
|
+
Ot();
|
|
435
|
+
}
|
|
436
|
+
return Ze({
|
|
437
|
+
getData: yt,
|
|
438
|
+
getImage: Tt,
|
|
439
|
+
generatePdf: Ae,
|
|
440
|
+
generateCsv: te,
|
|
441
|
+
generateImage: $e,
|
|
442
|
+
generateSvg: Be,
|
|
443
|
+
hideSeries: pt,
|
|
444
|
+
showSeries: bt,
|
|
445
|
+
toggleTable: Oe,
|
|
446
|
+
toggleTooltip: Pe,
|
|
447
|
+
toggleAnnotator: oe,
|
|
448
|
+
toggleFullscreen: De
|
|
449
|
+
}), (t, l) => (r(), v("div", {
|
|
450
|
+
ref_key: "galaxyChart",
|
|
451
|
+
ref: k,
|
|
452
|
+
class: W(`vue-data-ui-component vue-ui-galaxy ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${s(Y) ? "loading" : ""}`),
|
|
453
|
+
style: G(`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
|
+
id: `galaxy_${C.value}`,
|
|
455
|
+
onMouseenter: l[2] || (l[2] = () => s(me)(!0)),
|
|
456
|
+
onMouseleave: l[3] || (l[3] = () => s(me)(!1))
|
|
457
|
+
}, [
|
|
458
|
+
e.value.userOptions.buttons.annotator ? (r(), F(s(nt), {
|
|
459
|
+
key: 0,
|
|
460
|
+
svgRef: s(J),
|
|
461
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
462
|
+
color: e.value.style.chart.color,
|
|
463
|
+
active: z.value,
|
|
464
|
+
onClose: oe
|
|
465
|
+
}, {
|
|
466
|
+
"annotator-action-close": i(() => [
|
|
467
|
+
c(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
468
|
+
]),
|
|
469
|
+
"annotator-action-color": i(({ color: o }) => [
|
|
470
|
+
c(t.$slots, "annotator-action-color", p(y({ color: o })), void 0, !0)
|
|
471
|
+
]),
|
|
472
|
+
"annotator-action-draw": i(({ mode: o }) => [
|
|
473
|
+
c(t.$slots, "annotator-action-draw", p(y({ mode: o })), void 0, !0)
|
|
474
|
+
]),
|
|
475
|
+
"annotator-action-undo": i(({ disabled: o }) => [
|
|
476
|
+
c(t.$slots, "annotator-action-undo", p(y({ disabled: o })), void 0, !0)
|
|
477
|
+
]),
|
|
478
|
+
"annotator-action-redo": i(({ disabled: o }) => [
|
|
479
|
+
c(t.$slots, "annotator-action-redo", p(y({ disabled: o })), void 0, !0)
|
|
480
|
+
]),
|
|
481
|
+
"annotator-action-delete": i(({ disabled: o }) => [
|
|
482
|
+
c(t.$slots, "annotator-action-delete", p(y({ disabled: o })), void 0, !0)
|
|
483
|
+
]),
|
|
484
|
+
_: 3
|
|
485
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
486
|
+
vt.value ? (r(), v("div", {
|
|
487
|
+
key: 1,
|
|
488
|
+
ref_key: "noTitle",
|
|
489
|
+
ref: he,
|
|
490
|
+
class: "vue-data-ui-no-title-space",
|
|
491
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
492
|
+
}, null, 512)) : h("", !0),
|
|
493
|
+
e.value.style.chart.title.text ? (r(), v("div", {
|
|
494
|
+
key: 2,
|
|
495
|
+
ref_key: "chartTitle",
|
|
496
|
+
ref: ce,
|
|
497
|
+
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
498
|
+
}, [
|
|
499
|
+
(r(), F(ro, {
|
|
500
|
+
key: `title_${se.value}`,
|
|
501
|
+
config: {
|
|
502
|
+
title: {
|
|
503
|
+
cy: "galaxy-div-title",
|
|
504
|
+
...e.value.style.chart.title
|
|
505
|
+
},
|
|
506
|
+
subtitle: {
|
|
507
|
+
cy: "galaxy-div-subtitle",
|
|
508
|
+
...e.value.style.chart.title.subtitle
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
}, null, 8, ["config"]))
|
|
512
|
+
], 512)) : h("", !0),
|
|
513
|
+
$("div", {
|
|
514
|
+
id: `legend-top-${C.value}`
|
|
515
|
+
}, null, 8, co),
|
|
516
|
+
e.value.userOptions.show && fe.value && (s(Ce) || s(q)) ? (r(), F(s(rt), {
|
|
517
|
+
ref_key: "userOptionsRef",
|
|
518
|
+
ref: X,
|
|
519
|
+
key: `user_option_${re.value}`,
|
|
520
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
521
|
+
color: e.value.style.chart.color,
|
|
522
|
+
isPrinting: s(ke),
|
|
523
|
+
isImaging: s(we),
|
|
524
|
+
uid: C.value,
|
|
525
|
+
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
526
|
+
hasPdf: e.value.userOptions.buttons.pdf,
|
|
527
|
+
hasXls: e.value.userOptions.buttons.csv,
|
|
528
|
+
hasImg: e.value.userOptions.buttons.img,
|
|
529
|
+
hasSvg: e.value.userOptions.buttons.svg,
|
|
530
|
+
hasTable: e.value.userOptions.buttons.table,
|
|
531
|
+
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
532
|
+
isTooltip: f.value.showTooltip,
|
|
533
|
+
isFullscreen: P.value,
|
|
534
|
+
titles: { ...e.value.userOptions.buttonTitles },
|
|
535
|
+
chartElement: k.value,
|
|
536
|
+
position: e.value.userOptions.position,
|
|
537
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
538
|
+
isAnnotation: z.value,
|
|
539
|
+
callbacks: e.value.userOptions.callbacks,
|
|
540
|
+
printScale: e.value.userOptions.print.scale,
|
|
541
|
+
tableDialog: e.value.table.useDialog,
|
|
542
|
+
onToggleFullscreen: De,
|
|
543
|
+
onGeneratePdf: s(Ae),
|
|
544
|
+
onGenerateCsv: te,
|
|
545
|
+
onGenerateImage: s($e),
|
|
546
|
+
onGenerateSvg: Be,
|
|
547
|
+
onToggleTable: Oe,
|
|
548
|
+
onToggleTooltip: Pe,
|
|
549
|
+
onToggleAnnotator: oe,
|
|
550
|
+
style: G({
|
|
551
|
+
visibility: s(Ce) ? s(q) ? "visible" : "hidden" : "visible"
|
|
552
|
+
})
|
|
553
|
+
}, Ie({ _: 2 }, [
|
|
554
|
+
t.$slots.menuIcon ? {
|
|
555
|
+
name: "menuIcon",
|
|
556
|
+
fn: i(({ isOpen: o, color: a }) => [
|
|
557
|
+
c(t.$slots, "menuIcon", p(y({ isOpen: o, color: a })), void 0, !0)
|
|
558
|
+
]),
|
|
559
|
+
key: "0"
|
|
560
|
+
} : void 0,
|
|
561
|
+
t.$slots.optionTooltip ? {
|
|
562
|
+
name: "optionTooltip",
|
|
563
|
+
fn: i(() => [
|
|
564
|
+
c(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
565
|
+
]),
|
|
566
|
+
key: "1"
|
|
567
|
+
} : void 0,
|
|
568
|
+
t.$slots.optionPdf ? {
|
|
569
|
+
name: "optionPdf",
|
|
570
|
+
fn: i(() => [
|
|
571
|
+
c(t.$slots, "optionPdf", {}, void 0, !0)
|
|
572
|
+
]),
|
|
573
|
+
key: "2"
|
|
574
|
+
} : void 0,
|
|
575
|
+
t.$slots.optionCsv ? {
|
|
576
|
+
name: "optionCsv",
|
|
577
|
+
fn: i(() => [
|
|
578
|
+
c(t.$slots, "optionCsv", {}, void 0, !0)
|
|
579
|
+
]),
|
|
580
|
+
key: "3"
|
|
581
|
+
} : void 0,
|
|
582
|
+
t.$slots.optionImg ? {
|
|
583
|
+
name: "optionImg",
|
|
584
|
+
fn: i(() => [
|
|
585
|
+
c(t.$slots, "optionImg", {}, void 0, !0)
|
|
586
|
+
]),
|
|
587
|
+
key: "4"
|
|
588
|
+
} : void 0,
|
|
589
|
+
t.$slots.optionSvg ? {
|
|
590
|
+
name: "optionSvg",
|
|
591
|
+
fn: i(() => [
|
|
592
|
+
c(t.$slots, "optionSvg", {}, void 0, !0)
|
|
593
|
+
]),
|
|
594
|
+
key: "5"
|
|
595
|
+
} : void 0,
|
|
596
|
+
t.$slots.optionTable ? {
|
|
597
|
+
name: "optionTable",
|
|
598
|
+
fn: i(() => [
|
|
599
|
+
c(t.$slots, "optionTable", {}, void 0, !0)
|
|
600
|
+
]),
|
|
601
|
+
key: "6"
|
|
602
|
+
} : void 0,
|
|
603
|
+
t.$slots.optionFullscreen ? {
|
|
604
|
+
name: "optionFullscreen",
|
|
605
|
+
fn: i(({ toggleFullscreen: o, isFullscreen: a }) => [
|
|
606
|
+
c(t.$slots, "optionFullscreen", p(y({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
|
|
607
|
+
]),
|
|
608
|
+
key: "7"
|
|
609
|
+
} : void 0,
|
|
610
|
+
t.$slots.optionAnnotator ? {
|
|
611
|
+
name: "optionAnnotator",
|
|
612
|
+
fn: i(({ toggleAnnotator: o, isAnnotator: a }) => [
|
|
613
|
+
c(t.$slots, "optionAnnotator", p(y({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
|
|
614
|
+
]),
|
|
615
|
+
key: "8"
|
|
616
|
+
} : void 0
|
|
617
|
+
]), 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(), v("svg", {
|
|
619
|
+
ref_key: "svgRef",
|
|
620
|
+
ref: J,
|
|
621
|
+
xmlns: s(Ht),
|
|
622
|
+
class: W({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
623
|
+
viewBox: T.value.viewBox,
|
|
624
|
+
style: G(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
625
|
+
}, [
|
|
626
|
+
le(s(st)),
|
|
627
|
+
t.$slots["chart-background"] ? (r(), v("foreignObject", {
|
|
628
|
+
key: 0,
|
|
629
|
+
x: 0,
|
|
630
|
+
y: 0,
|
|
631
|
+
width: T.value.width,
|
|
632
|
+
height: T.value.height,
|
|
633
|
+
style: {
|
|
634
|
+
pointerEvents: "none"
|
|
635
|
+
}
|
|
636
|
+
}, [
|
|
637
|
+
c(t.$slots, "chart-background", {}, void 0, !0)
|
|
638
|
+
], 8, ho)) : h("", !0),
|
|
639
|
+
$("defs", null, [
|
|
640
|
+
$("filter", {
|
|
641
|
+
id: `blur_${C.value}`,
|
|
642
|
+
x: "-50%",
|
|
643
|
+
y: "-50%",
|
|
644
|
+
width: "200%",
|
|
645
|
+
height: "200%"
|
|
646
|
+
}, [
|
|
647
|
+
$("feGaussianBlur", {
|
|
648
|
+
in: "SourceGraphic",
|
|
649
|
+
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
650
|
+
}, null, 8, fo)
|
|
651
|
+
], 8, go)
|
|
652
|
+
]),
|
|
653
|
+
(r(!0), v(Le, null, Ne(I.value, (o) => (r(), v("g", null, [
|
|
654
|
+
o.value ? (r(), v("path", {
|
|
655
|
+
key: 0,
|
|
656
|
+
d: o.path,
|
|
657
|
+
fill: "none",
|
|
658
|
+
stroke: e.value.style.chart.backgroundColor,
|
|
659
|
+
"stroke-width": Q(o).border,
|
|
660
|
+
"stroke-linecap": "round"
|
|
661
|
+
}, null, 8, bo)) : h("", !0),
|
|
662
|
+
o.value ? (r(), v("path", {
|
|
663
|
+
key: 1,
|
|
664
|
+
d: o.path,
|
|
665
|
+
fill: "none",
|
|
666
|
+
stroke: o.color,
|
|
667
|
+
"stroke-width": Q(o).path,
|
|
668
|
+
"stroke-linecap": "round",
|
|
669
|
+
class: W(`${O.value && O.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
670
|
+
}, null, 10, po)) : h("", !0),
|
|
671
|
+
o.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), v("g", {
|
|
672
|
+
key: 2,
|
|
673
|
+
filter: `url(#blur_${C.value})`
|
|
674
|
+
}, [
|
|
675
|
+
$("path", {
|
|
676
|
+
d: o.path,
|
|
677
|
+
fill: "none",
|
|
678
|
+
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
679
|
+
"stroke-width": Q(o).blur,
|
|
680
|
+
"stroke-linecap": "round",
|
|
681
|
+
class: W(`vue-ui-galaxy-gradient ${O.value && O.value !== o.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
682
|
+
}, null, 10, mo)
|
|
683
|
+
], 8, yo)) : h("", !0)
|
|
684
|
+
]))), 256)),
|
|
685
|
+
(r(!0), v(Le, null, Ne(I.value, (o, a) => (r(), v("g", null, [
|
|
686
|
+
o.value ? (r(), v("path", {
|
|
687
|
+
key: 0,
|
|
688
|
+
d: o.path,
|
|
689
|
+
fill: "none",
|
|
690
|
+
stroke: "transparent",
|
|
691
|
+
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
692
|
+
"stroke-linecap": "round",
|
|
693
|
+
onMouseenter: (u) => At({
|
|
694
|
+
datapoint: o,
|
|
695
|
+
seriesIndex: o.seriesIndex,
|
|
696
|
+
show: !0
|
|
697
|
+
}),
|
|
698
|
+
onMouseleave: (u) => kt(o),
|
|
699
|
+
onClick: (u) => wt(o)
|
|
700
|
+
}, null, 40, Co)) : h("", !0)
|
|
701
|
+
]))), 256)),
|
|
702
|
+
c(t.$slots, "svg", { svg: T.value }, void 0, !0)
|
|
703
|
+
], 14, vo)),
|
|
704
|
+
t.$slots.watermark ? (r(), v("div", ko, [
|
|
705
|
+
c(t.$slots, "watermark", p(y({ isPrinting: s(ke) || s(we) })), void 0, !0)
|
|
706
|
+
])) : h("", !0),
|
|
707
|
+
$("div", {
|
|
708
|
+
id: `legend-bottom-${C.value}`
|
|
709
|
+
}, null, 8, wo),
|
|
710
|
+
ge.value ? (r(), F(It, {
|
|
711
|
+
key: 5,
|
|
712
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${C.value}` : `#legend-bottom-${C.value}`
|
|
713
|
+
}, [
|
|
714
|
+
$("div", {
|
|
715
|
+
ref_key: "chartLegend",
|
|
716
|
+
ref: de
|
|
717
|
+
}, [
|
|
718
|
+
e.value.style.chart.legend.show ? (r(), F(so, {
|
|
719
|
+
key: `legend_${ie.value}`,
|
|
720
|
+
legendSet: ee.value,
|
|
721
|
+
config: $t.value,
|
|
722
|
+
onClickMarker: l[0] || (l[0] = ({ legend: o }) => E(o))
|
|
723
|
+
}, {
|
|
724
|
+
item: i(({ legend: o, index: a }) => [
|
|
725
|
+
s(Y) ? h("", !0) : (r(), v("div", {
|
|
726
|
+
key: 0,
|
|
727
|
+
onClick: (u) => E(o),
|
|
728
|
+
style: G(`opacity:${b.value.includes(o.id) ? 0.5 : 1}`)
|
|
729
|
+
}, ae(o.display), 13, Ao))
|
|
730
|
+
]),
|
|
731
|
+
_: 1
|
|
732
|
+
}, 8, ["legendSet", "config"])) : h("", !0),
|
|
733
|
+
c(t.$slots, "legend", { legend: ee.value }, void 0, !0)
|
|
734
|
+
], 512)
|
|
735
|
+
], 8, ["to"])) : h("", !0),
|
|
736
|
+
t.$slots.source ? (r(), v("div", {
|
|
737
|
+
key: 6,
|
|
738
|
+
ref_key: "source",
|
|
739
|
+
ref: ve,
|
|
740
|
+
dir: "auto"
|
|
741
|
+
}, [
|
|
742
|
+
c(t.$slots, "source", {}, void 0, !0)
|
|
743
|
+
], 512)) : h("", !0),
|
|
744
|
+
le(s(tt), {
|
|
745
|
+
show: f.value.showTooltip && H.value,
|
|
746
|
+
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
747
|
+
color: e.value.style.chart.tooltip.color,
|
|
748
|
+
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
749
|
+
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
750
|
+
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
751
|
+
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
752
|
+
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
753
|
+
position: e.value.style.chart.tooltip.position,
|
|
754
|
+
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
755
|
+
parent: k.value,
|
|
756
|
+
content: j.value,
|
|
757
|
+
isFullscreen: P.value,
|
|
758
|
+
isCustom: s(Ue)(e.value.style.chart.tooltip.customFormat),
|
|
759
|
+
smooth: e.value.style.chart.tooltip.smooth,
|
|
760
|
+
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
761
|
+
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
762
|
+
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
763
|
+
}, {
|
|
764
|
+
"tooltip-before": i(() => [
|
|
765
|
+
c(t.$slots, "tooltip-before", p(y({ ...Z.value })), void 0, !0)
|
|
766
|
+
]),
|
|
767
|
+
"tooltip-after": i(() => [
|
|
768
|
+
c(t.$slots, "tooltip-after", p(y({ ...Z.value })), void 0, !0)
|
|
769
|
+
]),
|
|
770
|
+
_: 3
|
|
771
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
772
|
+
fe.value && e.value.userOptions.buttons.table ? (r(), F(Lt(L.value.component), Nt({ key: 7 }, L.value.props, {
|
|
773
|
+
ref_key: "tableUnit",
|
|
774
|
+
ref: B,
|
|
775
|
+
onClose: _e
|
|
776
|
+
}), Ie({
|
|
777
|
+
content: i(() => [
|
|
778
|
+
(r(), F(s(at), {
|
|
779
|
+
key: `table_${ue.value}`,
|
|
780
|
+
colNames: R.value.colNames,
|
|
781
|
+
head: R.value.head,
|
|
782
|
+
body: R.value.body,
|
|
783
|
+
config: R.value.config,
|
|
784
|
+
title: e.value.table.useDialog ? "" : L.value.title,
|
|
785
|
+
withCloseButton: !e.value.table.useDialog,
|
|
786
|
+
onClose: _e
|
|
787
|
+
}, {
|
|
788
|
+
th: i(({ th: o }) => [
|
|
789
|
+
$("div", {
|
|
790
|
+
innerHTML: o,
|
|
791
|
+
style: { display: "flex", "align-items": "center" }
|
|
792
|
+
}, null, 8, $o)
|
|
793
|
+
]),
|
|
794
|
+
td: i(({ td: o }) => [
|
|
795
|
+
Ve(ae(o.name || o), 1)
|
|
796
|
+
]),
|
|
797
|
+
_: 1
|
|
798
|
+
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
799
|
+
]),
|
|
800
|
+
_: 2
|
|
801
|
+
}, [
|
|
802
|
+
e.value.table.useDialog ? {
|
|
803
|
+
name: "title",
|
|
804
|
+
fn: i(() => [
|
|
805
|
+
Ve(ae(L.value.title), 1)
|
|
806
|
+
]),
|
|
807
|
+
key: "0"
|
|
808
|
+
} : void 0,
|
|
809
|
+
e.value.table.useDialog ? {
|
|
810
|
+
name: "actions",
|
|
811
|
+
fn: i(() => [
|
|
812
|
+
$("button", {
|
|
813
|
+
tabindex: "0",
|
|
814
|
+
class: "vue-ui-user-options-button",
|
|
815
|
+
onClick: l[1] || (l[1] = (o) => te(e.value.userOptions.callbacks.csv))
|
|
816
|
+
}, [
|
|
817
|
+
le(s(ot), {
|
|
818
|
+
name: "excel",
|
|
819
|
+
stroke: L.value.props.color
|
|
820
|
+
}, null, 8, ["stroke"])
|
|
821
|
+
])
|
|
822
|
+
]),
|
|
823
|
+
key: "1"
|
|
824
|
+
} : void 0
|
|
825
|
+
]), 1040)) : h("", !0),
|
|
826
|
+
s(Y) ? (r(), F(Zt, { key: 8 })) : h("", !0)
|
|
827
|
+
], 46, io));
|
|
828
|
+
}
|
|
829
|
+
}, xo = /* @__PURE__ */ uo(To, [["__scopeId", "data-v-0d1007ad"]]), Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
830
|
+
__proto__: null,
|
|
831
|
+
default: xo
|
|
832
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
833
|
+
export {
|
|
834
|
+
zo as a,
|
|
835
|
+
Go as b,
|
|
836
|
+
xo as v
|
|
837
|
+
};
|