vue-data-ui 3.3.3 → 3.4.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/dist/{Arrow-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-VpPtLYhK.js} +1 -1
- package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CJXSEhan.js → UserOptions-C0YT60JN.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-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-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-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-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-BzVpWnNO.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-oDJui39L.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-wycTM073.js} +56 -56
- package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-C5NUZ_Y7.js} +39 -39
- package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-CIsX5UJw.js} +7 -7
- package/dist/vue-ui-candlestick-BRFx3_KK.js +1334 -0
- package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-hJySHJTu.js} +29 -29
- package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-D4GjvQh0.js} +70 -70
- package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-By2NOs0N.js} +35 -35
- package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-OCmAkTNs.js} +59 -59
- package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-C7fwU9xb.js} +67 -67
- package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-dVVBUQJz.js} +189 -189
- package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-BoWGaQP0.js} +82 -82
- package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-YMPZ3CVA.js} +66 -66
- package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-BE62rVS3.js} +75 -75
- package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-kNpDFAWo.js} +63 -63
- package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-BBBiXXyk.js} +62 -62
- package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-PQNTTl3Y.js} +58 -58
- package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-D3gQxQz3.js} +3 -3
- package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-CKWQButF.js} +104 -104
- package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DYFzdR4Z.js} +91 -91
- package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-Cklyb74B.js} +102 -102
- package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-Cvq4ZuLe.js} +28 -28
- package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-Bm78P1ES.js} +60 -60
- package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-Bh5jTb31.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-BKdN2OsW.js} +64 -64
- package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BPhJzots.js} +8 -8
- package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-DbJR9CN3.js} +86 -86
- package/dist/vue-ui-radar-CrenQprr.js +938 -0
- package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-BJ5RuZ0j.js} +31 -31
- package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-CKuom5Bu.js} +97 -97
- package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-B84GAEf4.js} +50 -50
- package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-CBX-g9w3.js} +100 -100
- package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-CZ8xxpEU.js} +3 -3
- package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-DOf7-cIf.js} +18 -18
- package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-D-MPA2zf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9xRiVSU.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-BWb0lqQP.js} +4 -4
- package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-BF-qr8Ti.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-DnCUpk50.js} +17 -17
- package/dist/vue-ui-stackbar-DvJ8Hahn.js +1695 -0
- package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-SAh1gIs5.js} +52 -52
- package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BJdDfMYD.js} +18 -18
- package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-BBFEJ8c6.js} +28 -28
- package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-D8DH6QSN.js} +22 -22
- package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-CaUdAHBE.js} +29 -29
- package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-_sUH1d3J.js} +14 -14
- package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-DXduzuW4.js} +78 -78
- package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-JdjmgwQj.js} +94 -94
- package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-h8zoi4Rc.js} +68 -68
- package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-Ck1Mx37j.js} +21 -21
- package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-CjWvuukM.js} +47 -47
- package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-Dw71_Mu2.js} +6 -6
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/dist/vue-ui-xy-tSMgXqqb.js +3375 -0
- package/package.json +2 -2
- package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
- package/dist/vue-ui-radar-Csznqw19.js +0 -891
- package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
- package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
- package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as $, useSlots as J, onMounted as R, computed as x, watch as Q, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as f, unref as n, Fragment as j, renderList as Z, renderSlot as B, mergeProps as O, withKeys as ee } from "vue";
|
|
2
|
-
import { c as te, o as le, f as oe, a as b, d as _, X as z, i as X, j as I } from "./lib-
|
|
3
|
-
import { u as ae, a as ie } from "./useNestedProp-
|
|
2
|
+
import { c as te, o as le, f as oe, a as b, d as _, X as z, i as X, j as I } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { u as ae, a as ie } from "./useNestedProp-B7CiTRDS.js";
|
|
4
4
|
import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const ne = {
|
|
6
6
|
key: 0,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { useCssVars as dt, computed as g, defineAsyncComponent as Z, ref as r, toRefs as ft, watch as ee, shallowRef as Le, onMounted as gt, onBeforeUnmount as yt, createElementBlock as n, openBlock as i, unref as o, normalizeStyle as z, createBlock as j, createCommentVNode as f, createSlots as ht, withCtx as M, renderSlot as h, normalizeProps as
|
|
2
|
-
import { c as bt, t as kt, b as wt, p as Oe, e as xt, o as Se, f as Ie, g as $t, X as At,
|
|
1
|
+
import { useCssVars as dt, computed as g, defineAsyncComponent as Z, ref as r, toRefs as ft, watch as ee, shallowRef as Le, onMounted as gt, onBeforeUnmount as yt, createElementBlock as n, openBlock as i, unref as o, normalizeStyle as z, createBlock as j, createCommentVNode as f, createSlots as ht, withCtx as M, renderSlot as h, normalizeProps as U, guardReactiveProps as D, normalizeClass as te, createVNode as mt, createElementVNode as pt, Fragment as $, renderList as O, mergeProps as Pe, toDisplayString as G, createTextVNode as ze } from "vue";
|
|
2
|
+
import { c as bt, t as kt, b as wt, p as Oe, e as xt, o as Se, f as Ie, g as $t, X as At, J as Me, a as le, d as se, R as ae } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as _t, u as Ct } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Lt, a as Ee } from "./useNestedProp-
|
|
4
|
+
import { u as Lt, a as Ee } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as Pt, B as zt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as Ot } from "./usePrinter-
|
|
6
|
+
import { u as Ot } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as St } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
-
import { u as Et } from "./useAutoSizeLabelsInsideViewbox-
|
|
11
|
-
import Bt from "./img-
|
|
12
|
-
import Ft from "./Title-
|
|
13
|
-
import { t as
|
|
14
|
-
import { _ as
|
|
15
|
-
const Nt = ["id"], jt = ["xmlns", "viewBox"],
|
|
10
|
+
import { u as Et } from "./useAutoSizeLabelsInsideViewbox-BHq4FD8x.js";
|
|
11
|
+
import Bt from "./img-CFY3JivG.js";
|
|
12
|
+
import Ft from "./Title-CFmv95In.js";
|
|
13
|
+
import { t as Rt } from "./themes-Dw-dDudK.js";
|
|
14
|
+
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const Nt = ["id"], jt = ["xmlns", "viewBox"], Ut = ["width", "height"], Dt = ["cx", "cy", "r", "stroke", "stroke-width"], Gt = { key: 1 }, Vt = ["stroke", "d", "stroke-width"], Wt = { style: { "pointer-events": "none" } }, Xt = ["cx", "cy", "fill", "r", "stroke"], Yt = ["x", "y", "fill", "font-size"], qt = { key: 2 }, Ht = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Jt = { style: { "pointer-events": "none" } }, Kt = ["cx", "cy", "fill", "r", "stroke"], Qt = ["x", "y", "fill", "font-size"], Zt = ["text-anchor", "transform", "x", "y", "font-weight", "font-size", "fill", "text-decoration", "onClick", "onMouseenter", "onMouseleave"], el = ["cx", "cy", "fill", "stroke", "r", "onClick", "onMouseenter", "onMouseleave"], tl = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
18
|
}, ll = {
|
|
@@ -37,7 +37,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
37
37
|
v7926d380: Xe.value,
|
|
38
38
|
a1d88bbc: qe.value
|
|
39
39
|
}));
|
|
40
|
-
const
|
|
40
|
+
const Re = Z(() => import("./PenAndPaper-Dj2diYr0.js")), Te = Z(() => import("./UserOptions-C0YT60JN.js")), Ne = Z(() => import("./PackageVersion-VpPtLYhK.js")), { vue_ui_relation_circle: je } = Lt(), m = Be, Ue = g(() => !!m.dataset && Object.keys(m.dataset).length), S = r(bt()), ie = r(0), A = r(null), ne = r(null), oe = r(null), ue = r(null), re = r(0), l = r(X()), { loading: ce, FINAL_DATASET: De, manualLoading: V } = Pt({
|
|
41
41
|
...ft(m),
|
|
42
42
|
FINAL_CONFIG: l,
|
|
43
43
|
prepareConfig: X,
|
|
@@ -72,7 +72,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
72
72
|
});
|
|
73
73
|
return e.theme ? {
|
|
74
74
|
...Ee({
|
|
75
|
-
userConfig:
|
|
75
|
+
userConfig: Rt.vue_ui_relation_circle[e.theme] || m.config,
|
|
76
76
|
defaultConfig: e
|
|
77
77
|
}),
|
|
78
78
|
customPalette: wt[e.theme] || Oe
|
|
@@ -87,7 +87,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
87
87
|
elementId: `relation_circle_${S.value}`,
|
|
88
88
|
fileName: l.value.style.title.text || "vue-ui-relation-circle",
|
|
89
89
|
options: l.value.userOptions.print
|
|
90
|
-
}), Ge = g(() => l.value.userOptions.show && !l.value.style.title.text), me = g(() => xt(l.value.customPalette)), k = r([]), p = r([]), d = r({}), b = r([]), Ve = r(0), B = g(() =>
|
|
90
|
+
}), Ge = g(() => l.value.userOptions.show && !l.value.style.title.text), me = g(() => xt(l.value.customPalette)), k = r([]), p = r([]), d = r({}), b = r([]), Ve = r(0), B = g(() => De.value.slice(0, l.value.style.limit).map((e) => {
|
|
91
91
|
const s = Array.isArray(e.relations) ? e.relations : [];
|
|
92
92
|
return {
|
|
93
93
|
...e,
|
|
@@ -249,12 +249,12 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
249
249
|
function lt(e) {
|
|
250
250
|
return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
|
|
251
251
|
}
|
|
252
|
-
const
|
|
252
|
+
const R = r(null);
|
|
253
253
|
function $e(e, s) {
|
|
254
|
-
|
|
254
|
+
R.value = s, l.value.events.datapointEnter && l.value.events.datapointEnter({ datapoint: e, seriesIndex: s });
|
|
255
255
|
}
|
|
256
256
|
function Ae(e, s) {
|
|
257
|
-
|
|
257
|
+
R.value = null, l.value.events.datapointLeave && l.value.events.datapointLeave({ datapoint: e, seriesIndex: s });
|
|
258
258
|
}
|
|
259
259
|
function _e(e, s) {
|
|
260
260
|
l.value.events.datapointClick && l.value.events.datapointClick({ datapoint: e, seriesIndex: s }), Ve.value = 360 - e.regAngle, d.value.id && e.id === d.value.id ? (d.value = {}, b.value = []) : (d.value = e, b.value = [...e.relations]);
|
|
@@ -263,9 +263,9 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
263
263
|
const s = e.weight / Ke.value * l.value.style.links.maxWidth;
|
|
264
264
|
return Math.max(0.3, s);
|
|
265
265
|
}
|
|
266
|
-
const
|
|
266
|
+
const T = r(!1);
|
|
267
267
|
function Ce(e) {
|
|
268
|
-
|
|
268
|
+
T.value = e, ie.value += 1;
|
|
269
269
|
}
|
|
270
270
|
const N = r(!1);
|
|
271
271
|
function J() {
|
|
@@ -310,7 +310,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
310
310
|
onMouseenter: s[0] || (s[0] = () => o(ve)(!0)),
|
|
311
311
|
onMouseleave: s[1] || (s[1] = () => o(ve)(!1))
|
|
312
312
|
}, [
|
|
313
|
-
l.value.userOptions.buttons.annotator ? (i(), j(o(
|
|
313
|
+
l.value.userOptions.buttons.annotator ? (i(), j(o(Re), {
|
|
314
314
|
key: 0,
|
|
315
315
|
svgRef: o(E),
|
|
316
316
|
backgroundColor: l.value.style.backgroundColor,
|
|
@@ -345,7 +345,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
345
345
|
}
|
|
346
346
|
}, null, 8, ["config"]))
|
|
347
347
|
], 512)) : f("", !0),
|
|
348
|
-
l.value.userOptions.show &&
|
|
348
|
+
l.value.userOptions.show && Ue.value && (o(de) || o(W)) ? (i(), j(o(Te), {
|
|
349
349
|
ref: "details",
|
|
350
350
|
key: `user_options_${ie.value}`,
|
|
351
351
|
backgroundColor: l.value.style.backgroundColor,
|
|
@@ -358,7 +358,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
358
358
|
hasSvg: l.value.userOptions.buttons.svg,
|
|
359
359
|
hasFullscreen: l.value.userOptions.buttons.img,
|
|
360
360
|
hasXls: !1,
|
|
361
|
-
isFullscreen:
|
|
361
|
+
isFullscreen: T.value,
|
|
362
362
|
titles: { ...l.value.userOptions.buttonTitles },
|
|
363
363
|
chartElement: A.value,
|
|
364
364
|
position: l.value.userOptions.position,
|
|
@@ -378,7 +378,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
378
378
|
e.$slots.menuIcon ? {
|
|
379
379
|
name: "menuIcon",
|
|
380
380
|
fn: M(({ isOpen: t, color: a }) => [
|
|
381
|
-
h(e.$slots, "menuIcon", D(
|
|
381
|
+
h(e.$slots, "menuIcon", U(D({ isOpen: t, color: a })), void 0, !0)
|
|
382
382
|
]),
|
|
383
383
|
key: "0"
|
|
384
384
|
} : void 0,
|
|
@@ -399,14 +399,14 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
399
399
|
e.$slots.optionFullscreen ? {
|
|
400
400
|
name: "optionFullscreen",
|
|
401
401
|
fn: M(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
402
|
-
h(e.$slots, "optionFullscreen", D(
|
|
402
|
+
h(e.$slots, "optionFullscreen", U(D({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
|
|
403
403
|
]),
|
|
404
404
|
key: "3"
|
|
405
405
|
} : void 0,
|
|
406
406
|
e.$slots.optionAnnotator ? {
|
|
407
407
|
name: "optionAnnotator",
|
|
408
408
|
fn: M(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
409
|
-
h(e.$slots, "optionAnnotator", D(
|
|
409
|
+
h(e.$slots, "optionAnnotator", U(D({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
|
|
410
410
|
]),
|
|
411
411
|
key: "4"
|
|
412
412
|
} : void 0
|
|
@@ -415,7 +415,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
415
415
|
ref_key: "svgRef",
|
|
416
416
|
ref: E,
|
|
417
417
|
xmlns: o(At),
|
|
418
|
-
class: te([{ "vue-data-ui-fullscreen--on":
|
|
418
|
+
class: te([{ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }, "relation-circle"]),
|
|
419
419
|
viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
|
|
420
420
|
width: "100%",
|
|
421
421
|
style: "user-select:none; background:transparent"
|
|
@@ -432,7 +432,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
432
432
|
}
|
|
433
433
|
}, [
|
|
434
434
|
h(e.$slots, "chart-background", {}, void 0, !0)
|
|
435
|
-
], 8,
|
|
435
|
+
], 8, Ut)) : f("", !0),
|
|
436
436
|
pt("circle", {
|
|
437
437
|
cx: (u.value.width <= 0 ? 1e-4 : u.value.width) / 2,
|
|
438
438
|
cy: (u.value.height <= 0 ? 1e-4 : u.value.height) / 2 + l.value.style.circle.offsetY,
|
|
@@ -441,7 +441,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
441
441
|
"stroke-width": l.value.style.circle.strokeWidth,
|
|
442
442
|
fill: "transparent",
|
|
443
443
|
class: "main-circle"
|
|
444
|
-
}, null, 8,
|
|
444
|
+
}, null, 8, Dt),
|
|
445
445
|
We.value ? (i(), n("g", Gt, [
|
|
446
446
|
(i(!0), n($, null, O(p.value, (t, a) => (i(), n("path", {
|
|
447
447
|
key: `relation_${a}`,
|
|
@@ -557,7 +557,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
557
557
|
style: z(`font-family:${l.value.style.fontFamily};${tt(t)}`),
|
|
558
558
|
"font-size": I.value,
|
|
559
559
|
fill: l.value.style.labels.color,
|
|
560
|
-
"text-decoration": a ===
|
|
560
|
+
"text-decoration": a === R.value ? "underline" : void 0,
|
|
561
561
|
onClick: (c) => _e(t, a),
|
|
562
562
|
onMouseenter: (c) => $e(t, a),
|
|
563
563
|
onMouseleave: (c) => Ae(t, a)
|
|
@@ -587,7 +587,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
587
587
|
fill: l.value.style.plot.useSerieColor ? t.color : l.value.style.plot.color,
|
|
588
588
|
stroke: l.value.style.backgroundColor,
|
|
589
589
|
"stroke-width": "1",
|
|
590
|
-
r: F.value * (a ===
|
|
590
|
+
r: F.value * (a === R.value ? 2 : 1),
|
|
591
591
|
onClick: (c) => _e(t, a),
|
|
592
592
|
onMouseenter: (c) => $e(t, a),
|
|
593
593
|
onMouseleave: (c) => Ae(t, a)
|
|
@@ -595,7 +595,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
595
595
|
h(e.$slots, "svg", { svg: u.value }, void 0, !0)
|
|
596
596
|
], 10, jt)),
|
|
597
597
|
e.$slots.watermark ? (i(), n("div", tl, [
|
|
598
|
-
h(e.$slots, "watermark", D(
|
|
598
|
+
h(e.$slots, "watermark", U(D({ isPrinting: o(fe) || o(ge) })), void 0, !0)
|
|
599
599
|
])) : f("", !0),
|
|
600
600
|
e.$slots.source ? (i(), n("div", {
|
|
601
601
|
key: 5,
|
|
@@ -608,7 +608,7 @@ const Nt = ["id"], jt = ["xmlns", "viewBox"], Dt = ["width", "height"], Ut = ["c
|
|
|
608
608
|
o(ce) ? (i(), j(zt, { key: 6 })) : f("", !0)
|
|
609
609
|
], 44, Nt));
|
|
610
610
|
}
|
|
611
|
-
}, ml = /* @__PURE__ */
|
|
611
|
+
}, ml = /* @__PURE__ */ Tt(ll, [["__scopeId", "data-v-21882da7"]]);
|
|
612
612
|
export {
|
|
613
613
|
ml as default
|
|
614
614
|
};
|