vue-data-ui 3.23.9 → 3.23.11
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 +40 -40
- package/dist/{Arrow-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-WH7-49V0.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-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-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
- package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.js} +12 -12
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
- package/dist/vue-ui-chord-BuConnPN.js +1345 -0
- package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
- package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
- package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
- package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
- package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
- package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
- package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-C0DPCgFj.js +0 -28
- package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
- package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
- package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
- package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
- package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
- package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
- package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
- package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
- package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
- package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
- package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
- package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
- package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
- package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
- package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
- package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
- package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
2
|
+
import { $ as t, At as n, D as r, It as i, Jt as a, M as o, Nt as s, S as ee, St as c, Xt as l, Z as te, lt as u, nt as d, q as ne, t as re, w as ie } from "./lib-Dqr_-I6Y.js";
|
|
3
|
+
import { n as ae, t as oe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as se } from "./useConfig-DwdGsXTx.js";
|
|
5
|
+
import { t as ce } from "./usePrinter-CEiH1b6R.js";
|
|
6
|
+
import { n as le, t as ue } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as de } from "./useNestedProp-CulPqtou.js";
|
|
8
8
|
import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as pe } from "./useChartExport-DNiwdPmb.js";
|
|
10
|
-
import { t as me } from "./img-
|
|
10
|
+
import { t as me } from "./img-Bkzj3lDD.js";
|
|
11
11
|
import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { t as ge } from "./DefGrad-DVBqDjhO.js";
|
|
13
13
|
import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
|
|
@@ -16,7 +16,7 @@ import { t as ye } from "./vue_ui_molecule-CO9L59SF.js";
|
|
|
16
16
|
import { t as be } from "./usePanZoom-CYU3B4T3.js";
|
|
17
17
|
import { Fragment as xe, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Se, createTextVNode as Ce, createVNode as _, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as we, nextTick as b, normalizeClass as Te, normalizeProps as x, normalizeStyle as S, onMounted as Ee, openBlock as C, ref as w, renderList as De, renderSlot as T, resolveDynamicComponent as Oe, toDisplayString as ke, toRefs as Ae, unref as E, useCssVars as je, watch as D, withCtx as O } from "vue";
|
|
18
18
|
//#region src/components/vue-ui-molecule.vue
|
|
19
|
-
var Me = /* @__PURE__ */ e({ default: () =>
|
|
19
|
+
var Me = /* @__PURE__ */ e({ default: () => Ve }), Ne = ["id"], Pe = {
|
|
20
20
|
key: 1,
|
|
21
21
|
ref: "noTitle",
|
|
22
22
|
class: "vue-data-ui-no-title-space",
|
|
@@ -35,7 +35,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
35
35
|
key: 6,
|
|
36
36
|
ref: "source",
|
|
37
37
|
dir: "auto"
|
|
38
|
-
}, Ve =
|
|
38
|
+
}, Ve = /*#__PURE__*/ he({
|
|
39
39
|
__name: "vue-ui-molecule",
|
|
40
40
|
props: {
|
|
41
41
|
config: {
|
|
@@ -53,26 +53,26 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
53
53
|
},
|
|
54
54
|
emits: ["selectNode", "copyAlt"],
|
|
55
55
|
setup(e, { expose: he, emit: Me }) {
|
|
56
|
-
je((e) => ({
|
|
57
|
-
let
|
|
56
|
+
je((e) => ({ v168d8cce: Qt.value }));
|
|
57
|
+
let Ve = v(() => import("./Title-CaVA8EIw.js").then((e) => e.t)), He = v(() => import("./Tooltip-CVxJe3UW.js")), Ue = v(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), We = v(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), Ge = v(() => import("./DataTable-CmyEubtT.js")), Ke = v(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), qe = v(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), Je = v(() => import("./PackageVersion-C0b7KAMa.js").then((e) => e.t)), Ye = v(() => import("./RecursiveLinks-BygcpDiT.js")), Xe = v(() => import("./RecursiveLabels-D9rfID6q.js")), Ze = v(() => import("./RecursiveCircles-D6aDPmoe.js")), Qe = v(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_molecule: $e } = se(), { isThemeValid: et, warnInvalidTheme: tt } = fe(), k = e, nt = Me, rt = f(() => !!k.dataset && k.dataset.length);
|
|
58
58
|
Ee(() => {
|
|
59
59
|
at();
|
|
60
60
|
});
|
|
61
61
|
let it = f(() => P.value.debug);
|
|
62
62
|
function at() {
|
|
63
|
-
|
|
63
|
+
s(k.dataset) && d({
|
|
64
64
|
componentName: "VueUiMolecule",
|
|
65
65
|
type: "dataset",
|
|
66
66
|
debug: it.value
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
let ot = w(
|
|
70
|
-
|
|
69
|
+
let ot = w(ne()), st = w(!1), A = w(""), j = w(null), ct = w(0), lt = w(0), ut = w(0), M = w(null), N = w(null), P = w(B());
|
|
70
|
+
ae({
|
|
71
71
|
config: () => P.value,
|
|
72
|
-
dataset: () =>
|
|
72
|
+
dataset: () => k.dataset,
|
|
73
73
|
component: "VueUiMolecule",
|
|
74
74
|
rules: [
|
|
75
|
-
|
|
75
|
+
oe.emptyArray,
|
|
76
76
|
{
|
|
77
77
|
test: (e) => e[0] && e[0].nodes && e[0].nodes.length === 0,
|
|
78
78
|
message: [
|
|
@@ -91,7 +91,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
91
91
|
}
|
|
92
92
|
]
|
|
93
93
|
});
|
|
94
|
-
let F = f(() => P.value.userOptions.useCursorPointer),
|
|
94
|
+
let F = f(() => P.value.userOptions.useCursorPointer), dt = f(() => l({
|
|
95
95
|
defaultConfig: {
|
|
96
96
|
userOptions: { show: !1 },
|
|
97
97
|
table: { show: !1 },
|
|
@@ -102,11 +102,11 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
102
102
|
} }
|
|
103
103
|
},
|
|
104
104
|
userConfig: P.value.skeletonConfig ?? {}
|
|
105
|
-
})), { loading: I, FINAL_DATASET: L } =
|
|
106
|
-
...Ae(
|
|
105
|
+
})), { loading: I, FINAL_DATASET: L } = le({
|
|
106
|
+
...Ae(k),
|
|
107
107
|
FINAL_CONFIG: P,
|
|
108
108
|
prepareConfig: B,
|
|
109
|
-
skeletonDataset:
|
|
109
|
+
skeletonDataset: k.config?.skeletonDataset ?? [{
|
|
110
110
|
name: "_",
|
|
111
111
|
color: "#CACACA",
|
|
112
112
|
nodes: [
|
|
@@ -220,59 +220,59 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
220
220
|
}
|
|
221
221
|
]
|
|
222
222
|
}],
|
|
223
|
-
skeletonConfig:
|
|
223
|
+
skeletonConfig: l({
|
|
224
224
|
defaultConfig: P.value,
|
|
225
|
-
userConfig:
|
|
225
|
+
userConfig: dt.value
|
|
226
226
|
})
|
|
227
|
-
}), { userOptionsVisible: R, setUserOptionsVisibility:
|
|
227
|
+
}), { userOptionsVisible: R, setUserOptionsVisibility: ft, keepUserOptionState: pt } = _e({ config: P.value }), { svgRef: z } = ve({ config: P.value.style.chart.title });
|
|
228
228
|
function B() {
|
|
229
|
-
let e =
|
|
230
|
-
userConfig:
|
|
229
|
+
let e = de({
|
|
230
|
+
userConfig: k.config,
|
|
231
231
|
defaultConfig: $e
|
|
232
232
|
}), t = e.theme;
|
|
233
233
|
if (!t) return e;
|
|
234
234
|
if (!et.value(e)) return tt(e), e;
|
|
235
|
-
let n =
|
|
236
|
-
userConfig: ye[t] ||
|
|
235
|
+
let n = de({
|
|
236
|
+
userConfig: ye[t] || k.config,
|
|
237
237
|
defaultConfig: e
|
|
238
|
-
}), r =
|
|
239
|
-
userConfig:
|
|
238
|
+
}), r = de({
|
|
239
|
+
userConfig: k.config,
|
|
240
240
|
defaultConfig: n
|
|
241
241
|
});
|
|
242
242
|
return {
|
|
243
243
|
...r,
|
|
244
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
244
|
+
customPalette: r.customPalette.length ? r.customPalette : a[t] || i
|
|
245
245
|
};
|
|
246
246
|
}
|
|
247
|
-
D(() =>
|
|
248
|
-
P.value = B(), R.value = !P.value.userOptions.showOnChartHover, at(), lt.value += 1, ut.value += 1,
|
|
247
|
+
D(() => k.config, (e) => {
|
|
248
|
+
P.value = B(), R.value = !P.value.userOptions.showOnChartHover, at(), lt.value += 1, ut.value += 1, H.value.showTable = P.value.table.show, H.value.showTooltip = P.value.style.chart.tooltip.show, H.value.showZoom = P.value.style.chart.zoom.show;
|
|
249
249
|
}, { deep: !0 });
|
|
250
|
-
let
|
|
251
|
-
|
|
250
|
+
let mt = w(0), ht = () => {
|
|
251
|
+
mt.value += 1;
|
|
252
252
|
};
|
|
253
253
|
D([() => I.value, () => L.value], async ([e]) => {
|
|
254
|
-
e || (await b(),
|
|
254
|
+
e || (await b(), U.value = St(), await b(), ht(), await b(), Vt({
|
|
255
255
|
x: 0,
|
|
256
256
|
y: 0,
|
|
257
257
|
width: 400,
|
|
258
258
|
height: 400
|
|
259
|
-
}),
|
|
259
|
+
}), Q(!1));
|
|
260
260
|
}, {
|
|
261
261
|
flush: "post",
|
|
262
262
|
deep: !1
|
|
263
263
|
});
|
|
264
|
-
let { isPrinting: V, isImaging:
|
|
264
|
+
let { isPrinting: V, isImaging: gt, generatePdf: _t, generateImage: vt } = ce({
|
|
265
265
|
elementId: `cluster_${ot.value}`,
|
|
266
266
|
fileName: P.value.style.chart.title.text || "vue-ui-molecule",
|
|
267
267
|
options: P.value.userOptions.print
|
|
268
|
-
}), yt = f(() => P.value.userOptions.show && !P.value.style.chart.title.text), bt = f(() => ie(P.value.customPalette)),
|
|
268
|
+
}), yt = f(() => P.value.userOptions.show && !P.value.style.chart.title.text), bt = f(() => ie(P.value.customPalette)), H = w({
|
|
269
269
|
showTable: P.value.table.show,
|
|
270
270
|
showDataLabels: !0,
|
|
271
271
|
showTooltip: P.value.style.chart.tooltip.show,
|
|
272
272
|
showZoom: P.value.style.chart.zoom.show
|
|
273
273
|
});
|
|
274
274
|
D(P, () => {
|
|
275
|
-
|
|
275
|
+
H.value = {
|
|
276
276
|
showTable: P.value.table.show,
|
|
277
277
|
showDataLabels: !0,
|
|
278
278
|
showTooltip: P.value.style.chart.tooltip.show,
|
|
@@ -290,24 +290,24 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
290
290
|
width: n
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
|
-
let
|
|
293
|
+
let U = w(St());
|
|
294
294
|
function Ct(e, t = {
|
|
295
|
-
x: -
|
|
296
|
-
y:
|
|
297
|
-
}, n =
|
|
295
|
+
x: -U.value.width / 2.43,
|
|
296
|
+
y: U.value.height / 2
|
|
297
|
+
}, n = U.value.width / 1.1, r = 24, a = 0, s = 0, c = "#BBBBBB", l = 0) {
|
|
298
298
|
if (!Array.isArray(e) || e.length === 0) return e;
|
|
299
|
-
let
|
|
299
|
+
let te = o({
|
|
300
300
|
plot: t,
|
|
301
301
|
radius: n,
|
|
302
302
|
sides: e.length,
|
|
303
|
-
rotation:
|
|
303
|
+
rotation: a
|
|
304
304
|
});
|
|
305
305
|
return e.forEach((e, t) => {
|
|
306
|
-
let
|
|
307
|
-
let t =
|
|
306
|
+
let o = te.coordinates[t], u = e.color ? (() => {
|
|
307
|
+
let t = ee(e.color);
|
|
308
308
|
return t.startsWith("#") ? t : `#${t}`;
|
|
309
|
-
})() : null,
|
|
310
|
-
|
|
309
|
+
})() : null, d;
|
|
310
|
+
u ? d = u : l === 0 ? d = c : l === 1 ? (d = bt.value[s] || i[s] || c, s += 1) : d = c, e.polygonPath = { coordinates: [o] }, e.circleRadius = r, e.color = d, e.strokeWidth = Math.min(P.value.style.chart.links.strokeWidth / (l + 1), r / 2), e.uid = ne(), Array.isArray(e.nodes) && e.nodes.length && (e.nodes = Ct(e.nodes, o, n / 2.9, r / 2.2, a + Math.PI * t / e.nodes.length, s, d, l + 1));
|
|
311
311
|
}), e;
|
|
312
312
|
}
|
|
313
313
|
function wt(e) {
|
|
@@ -316,7 +316,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
316
316
|
e.forEach((e) => {
|
|
317
317
|
if (!e.color) return;
|
|
318
318
|
let r = e.color;
|
|
319
|
-
/^#?[0-9A-F]{6}$/i.test(r) || (r =
|
|
319
|
+
/^#?[0-9A-F]{6}$/i.test(r) || (r = ee(r)), r.startsWith("#") || (r = `#${r}`), t.add(r), Array.isArray(e.nodes) && e.nodes.length && n(e.nodes);
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
n(e);
|
|
@@ -326,40 +326,40 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
326
326
|
r[e] = `gradient_${t}`;
|
|
327
327
|
}), r;
|
|
328
328
|
}
|
|
329
|
-
let Tt = f(() => wt(
|
|
329
|
+
let Tt = f(() => wt(W.value)), W = f(() => Ct(te(L.value))), G = w(null);
|
|
330
330
|
function Et(e) {
|
|
331
|
-
|
|
331
|
+
G.value = {
|
|
332
332
|
datapoint: e,
|
|
333
333
|
seriesIndex: -1,
|
|
334
|
-
series:
|
|
334
|
+
series: W.value,
|
|
335
335
|
config: P.value
|
|
336
336
|
};
|
|
337
337
|
let t = P.value.style.chart.tooltip.customFormat;
|
|
338
|
-
if (
|
|
338
|
+
if (c(t) && u(() => t({
|
|
339
339
|
seriesIndex: -1,
|
|
340
340
|
datapoint: e,
|
|
341
|
-
series:
|
|
341
|
+
series: W.value,
|
|
342
342
|
config: P.value
|
|
343
|
-
})))
|
|
343
|
+
}))) A.value = t({
|
|
344
344
|
seriesIndex: -1,
|
|
345
345
|
datapoint: e,
|
|
346
|
-
series:
|
|
346
|
+
series: W.value,
|
|
347
347
|
config: P.value
|
|
348
348
|
});
|
|
349
349
|
else {
|
|
350
350
|
let t = "";
|
|
351
|
-
t += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${e.color}">⬤</div><div>${e.name}</div></div>`, e.details && (t += `<div style="width:100%;border-top:1px solid ${P.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`),
|
|
351
|
+
t += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${e.color}">⬤</div><div>${e.name}</div></div>`, e.details && (t += `<div style="width:100%;border-top:1px solid ${P.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), A.value = `<div style="font-family:inherit">${t}</div>`;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
let
|
|
354
|
+
let K = w(null), q = w(null), Dt = w(null);
|
|
355
355
|
function Ot(e) {
|
|
356
|
-
Dt.value =
|
|
356
|
+
Dt.value = K.value, K.value = e, e ? P.value.events.datapointEnter && P.value.events.datapointEnter({
|
|
357
357
|
datapoint: e,
|
|
358
358
|
seriesIndex: -1
|
|
359
359
|
}) : P.value.events.datapointLeave && P.value.events.datapointLeave({
|
|
360
|
-
datapoint: Dt.value ||
|
|
360
|
+
datapoint: Dt.value || K.value,
|
|
361
361
|
seriesIndex: -1
|
|
362
|
-
}), e ? (st.value = !0, Et(e),
|
|
362
|
+
}), e ? (st.value = !0, Et(e), q.value = e.uid) : (st.value = !1, A.value = "", q.value = null);
|
|
363
363
|
}
|
|
364
364
|
function kt(e) {
|
|
365
365
|
let t = [];
|
|
@@ -376,7 +376,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
376
376
|
}
|
|
377
377
|
return n(e), t;
|
|
378
378
|
}
|
|
379
|
-
let At = f(() => kt(
|
|
379
|
+
let At = f(() => kt(W.value)), J = f(() => ({
|
|
380
380
|
head: [
|
|
381
381
|
P.value.table.translations.nodeName,
|
|
382
382
|
P.value.table.translations.details,
|
|
@@ -411,15 +411,15 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
411
411
|
}));
|
|
412
412
|
function jt(e = null) {
|
|
413
413
|
b(() => {
|
|
414
|
-
let
|
|
414
|
+
let n = J.value.body.map((e, t) => [
|
|
415
415
|
[e[0].name],
|
|
416
416
|
[e[1]],
|
|
417
417
|
[e[2]]
|
|
418
418
|
]), i = [
|
|
419
419
|
[P.value.style.chart.title.text],
|
|
420
420
|
[P.value.style.chart.title.subtitle.text],
|
|
421
|
-
[[...
|
|
422
|
-
].concat(
|
|
421
|
+
[[...J.value.head]]
|
|
422
|
+
].concat(n), a = r(i);
|
|
423
423
|
e ? e(a) : t({
|
|
424
424
|
csvContent: a,
|
|
425
425
|
title: P.value.style.chart.title.text || "vue-ui-molecule"
|
|
@@ -427,44 +427,44 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
427
427
|
});
|
|
428
428
|
}
|
|
429
429
|
function Mt() {
|
|
430
|
-
return
|
|
430
|
+
return W.value;
|
|
431
431
|
}
|
|
432
|
-
let
|
|
432
|
+
let Y = w(!1);
|
|
433
433
|
function Nt(e) {
|
|
434
|
-
|
|
434
|
+
Y.value = e, ct.value += 1;
|
|
435
435
|
}
|
|
436
436
|
function Pt() {
|
|
437
|
-
|
|
437
|
+
H.value.showTable = !H.value.showTable;
|
|
438
438
|
}
|
|
439
439
|
function Ft() {
|
|
440
|
-
|
|
440
|
+
H.value.showDataLabels = !H.value.showDataLabels;
|
|
441
441
|
}
|
|
442
442
|
function It() {
|
|
443
|
-
|
|
443
|
+
H.value.showTooltip = !H.value.showTooltip;
|
|
444
444
|
}
|
|
445
445
|
function Lt() {
|
|
446
|
-
|
|
446
|
+
H.value.showZoom = !H.value.showZoom;
|
|
447
447
|
}
|
|
448
|
-
let
|
|
448
|
+
let X = w(!1);
|
|
449
449
|
function Rt() {
|
|
450
|
-
|
|
450
|
+
X.value = !X.value;
|
|
451
451
|
}
|
|
452
|
-
let zt = f(() => !
|
|
452
|
+
let zt = f(() => !X.value && H.value.showZoom), { viewBox: Z, resetZoom: Q, isZoom: Bt, setInitialViewBox: Vt } = be(z, {
|
|
453
453
|
x: 0,
|
|
454
454
|
y: 0,
|
|
455
|
-
width: Math.max(10,
|
|
456
|
-
height: Math.max(10,
|
|
455
|
+
width: Math.max(10, U.value.width),
|
|
456
|
+
height: Math.max(10, U.value.height)
|
|
457
457
|
}, P.value.style.chart.zoom.speed, zt);
|
|
458
|
-
function
|
|
458
|
+
function Ht(e) {
|
|
459
459
|
P.value.events.datapointClick && P.value.events.datapointClick({
|
|
460
460
|
datapoint: e,
|
|
461
461
|
seriesIndex: -1
|
|
462
462
|
}), nt("selectNode", e);
|
|
463
463
|
}
|
|
464
|
-
async function
|
|
465
|
-
if (!
|
|
466
|
-
let { width: t, height: n } =
|
|
467
|
-
domElement:
|
|
464
|
+
async function Ut({ scale: e = 2 } = {}) {
|
|
465
|
+
if (!j.value) return;
|
|
466
|
+
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
|
|
467
|
+
domElement: j.value,
|
|
468
468
|
base64: !0,
|
|
469
469
|
img: !0,
|
|
470
470
|
scale: e
|
|
@@ -479,7 +479,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
479
479
|
};
|
|
480
480
|
}
|
|
481
481
|
let $ = f(() => {
|
|
482
|
-
let e = P.value.table.useDialog && !P.value.table.show, t =
|
|
482
|
+
let e = P.value.table.useDialog && !P.value.table.show, t = H.value.showTable;
|
|
483
483
|
return {
|
|
484
484
|
component: e ? Qe : We,
|
|
485
485
|
title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
|
|
@@ -488,8 +488,8 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
488
488
|
color: P.value.table.th.color,
|
|
489
489
|
headerColor: P.value.table.th.color,
|
|
490
490
|
headerBg: P.value.table.th.backgroundColor,
|
|
491
|
-
isFullscreen:
|
|
492
|
-
fullscreenParent:
|
|
491
|
+
isFullscreen: Y.value,
|
|
492
|
+
fullscreenParent: j.value,
|
|
493
493
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
494
494
|
isCursorPointer: F.value
|
|
495
495
|
} : {
|
|
@@ -509,66 +509,66 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
509
509
|
}
|
|
510
510
|
};
|
|
511
511
|
});
|
|
512
|
-
D(() =>
|
|
513
|
-
P.value.table.show || (e && P.value.table.useDialog &&
|
|
512
|
+
D(() => H.value.showTable, (e) => {
|
|
513
|
+
P.value.table.show || (e && P.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
514
514
|
});
|
|
515
|
-
function
|
|
516
|
-
|
|
515
|
+
function Wt() {
|
|
516
|
+
H.value.showTable = !1, N.value && N.value.setTableIconState(!1);
|
|
517
517
|
}
|
|
518
|
-
let
|
|
518
|
+
let Gt = f(() => P.value.style.chart.backgroundColor), Kt = f(() => P.value.style.chart.title), { isCallbackImaging: qt, isCallbackSvg: Jt, generateSvg: Yt, onGenerateImage: Xt } = pe({
|
|
519
519
|
svg: z,
|
|
520
|
-
title:
|
|
520
|
+
title: Kt,
|
|
521
521
|
legend: null,
|
|
522
522
|
legendItems: null,
|
|
523
|
-
backgroundColor:
|
|
523
|
+
backgroundColor: Gt,
|
|
524
524
|
getSvgCallback: () => P.value.userOptions.callbacks.svg,
|
|
525
525
|
generateImage: vt
|
|
526
526
|
});
|
|
527
|
-
async function
|
|
527
|
+
async function Zt() {
|
|
528
528
|
if (nt("copyAlt", {
|
|
529
529
|
config: P.value,
|
|
530
|
-
dataset:
|
|
530
|
+
dataset: W.value
|
|
531
531
|
}), !P.value.userOptions.callbacks.altCopy) {
|
|
532
532
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
533
533
|
return;
|
|
534
534
|
}
|
|
535
535
|
await Promise.resolve(P.value.userOptions.callbacks.altCopy({
|
|
536
536
|
config: P.value,
|
|
537
|
-
dataset:
|
|
537
|
+
dataset: W.value
|
|
538
538
|
}));
|
|
539
539
|
}
|
|
540
|
-
let
|
|
540
|
+
let Qt = f(() => P.value.style.chart.color);
|
|
541
541
|
return he({
|
|
542
542
|
getData: Mt,
|
|
543
|
-
getImage:
|
|
543
|
+
getImage: Ut,
|
|
544
544
|
generatePdf: _t,
|
|
545
545
|
generateCsv: jt,
|
|
546
546
|
generateImage: vt,
|
|
547
|
-
generateSvg:
|
|
547
|
+
generateSvg: Yt,
|
|
548
548
|
toggleTable: Pt,
|
|
549
549
|
toggleLabels: Ft,
|
|
550
550
|
toggleTooltip: It,
|
|
551
551
|
toggleAnnotator: Rt,
|
|
552
552
|
toggleFullscreen: Nt,
|
|
553
553
|
toggleZoom: Lt,
|
|
554
|
-
copyAlt:
|
|
554
|
+
copyAlt: Zt
|
|
555
555
|
}), (e, t) => (C(), h("div", {
|
|
556
556
|
ref_key: "moleculeChart",
|
|
557
|
-
ref:
|
|
558
|
-
class: Te(`vue-data-ui-component vue-ui-molecule ${
|
|
557
|
+
ref: j,
|
|
558
|
+
class: Te(`vue-data-ui-component vue-ui-molecule ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
559
559
|
style: S(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor}`),
|
|
560
560
|
id: `cluster_${ot.value}`,
|
|
561
561
|
onMouseleave: t[2] ||= (e) => {
|
|
562
|
-
|
|
562
|
+
K.value = null, q.value = null, E(ft)(!1);
|
|
563
563
|
},
|
|
564
|
-
onMouseenter: t[3] ||= () => E(
|
|
564
|
+
onMouseenter: t[3] ||= () => E(ft)(!0)
|
|
565
565
|
}, [
|
|
566
566
|
P.value.userOptions.buttons.annotator && E(z) ? (C(), p(E(Ke), {
|
|
567
567
|
key: 0,
|
|
568
568
|
svgRef: E(z),
|
|
569
569
|
backgroundColor: P.value.style.chart.backgroundColor,
|
|
570
570
|
color: P.value.style.chart.color,
|
|
571
|
-
active:
|
|
571
|
+
active: X.value,
|
|
572
572
|
isCursorPointer: F.value,
|
|
573
573
|
onClose: Rt
|
|
574
574
|
}, {
|
|
@@ -587,7 +587,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
587
587
|
"isCursorPointer"
|
|
588
588
|
])) : m("", !0),
|
|
589
589
|
yt.value ? (C(), h("div", Pe, null, 512)) : m("", !0),
|
|
590
|
-
P.value.style.chart.title.text ? (C(), h("div", Fe, [(C(), p(E(
|
|
590
|
+
P.value.style.chart.title.text ? (C(), h("div", Fe, [(C(), p(E(Ve), {
|
|
591
591
|
key: `title_${lt.value}`,
|
|
592
592
|
config: {
|
|
593
593
|
title: {
|
|
@@ -600,14 +600,14 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
602
|
}, null, 8, ["config"]))])) : m("", !0),
|
|
603
|
-
P.value.userOptions.show && rt.value && (E(
|
|
603
|
+
P.value.userOptions.show && rt.value && (E(pt) || E(R)) ? (C(), p(E(qe), {
|
|
604
604
|
ref_key: "userOptionsRef",
|
|
605
|
-
ref:
|
|
605
|
+
ref: N,
|
|
606
606
|
key: `user_options_${ct.value}`,
|
|
607
607
|
backgroundColor: P.value.style.chart.backgroundColor,
|
|
608
608
|
color: P.value.style.chart.color,
|
|
609
609
|
isPrinting: E(V),
|
|
610
|
-
isImaging: E(
|
|
610
|
+
isImaging: E(gt),
|
|
611
611
|
uid: ot.value,
|
|
612
612
|
hasTooltip: P.value.userOptions.buttons.tooltip && P.value.style.chart.tooltip.show,
|
|
613
613
|
hasPdf: P.value.userOptions.buttons.pdf,
|
|
@@ -618,30 +618,30 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
618
618
|
hasLabel: P.value.userOptions.buttons.labels,
|
|
619
619
|
hasFullscreen: P.value.userOptions.buttons.fullscreen,
|
|
620
620
|
hasAltCopy: P.value.userOptions.buttons.altCopy,
|
|
621
|
-
isTooltip:
|
|
621
|
+
isTooltip: H.value.showTooltip,
|
|
622
622
|
titles: { ...P.value.userOptions.buttonTitles },
|
|
623
|
-
chartElement:
|
|
623
|
+
chartElement: j.value,
|
|
624
624
|
position: P.value.userOptions.position,
|
|
625
625
|
hasAnnotator: P.value.userOptions.buttons.annotator,
|
|
626
|
-
isAnnotation:
|
|
626
|
+
isAnnotation: X.value,
|
|
627
627
|
callbacks: P.value.userOptions.callbacks,
|
|
628
628
|
printScale: P.value.userOptions.print.scale,
|
|
629
629
|
tableDialog: P.value.table.useDialog,
|
|
630
630
|
hasZoom: P.value.userOptions.buttons.zoom,
|
|
631
|
-
isZoom:
|
|
631
|
+
isZoom: H.value.showZoom,
|
|
632
632
|
isCursorPointer: F.value,
|
|
633
633
|
onToggleFullscreen: Nt,
|
|
634
634
|
onGeneratePdf: E(_t),
|
|
635
635
|
onGenerateCsv: jt,
|
|
636
|
-
onGenerateImage: E(
|
|
637
|
-
onGenerateSvg: E(
|
|
636
|
+
onGenerateImage: E(Xt),
|
|
637
|
+
onGenerateSvg: E(Yt),
|
|
638
638
|
onToggleTable: Pt,
|
|
639
639
|
onToggleLabels: Ft,
|
|
640
640
|
onToggleTooltip: It,
|
|
641
641
|
onToggleAnnotator: Rt,
|
|
642
642
|
onToggleZoom: Lt,
|
|
643
|
-
onCopyAlt:
|
|
644
|
-
style: S({ visibility: E(
|
|
643
|
+
onCopyAlt: Zt,
|
|
644
|
+
style: S({ visibility: E(pt) ? E(R) ? "visible" : "hidden" : "visible" })
|
|
645
645
|
}, Se({ _: 2 }, [
|
|
646
646
|
e.$slots.menuIcon ? {
|
|
647
647
|
name: "menuIcon",
|
|
@@ -729,12 +729,12 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
729
729
|
(C(), h("svg", {
|
|
730
730
|
ref_key: "svgRef",
|
|
731
731
|
ref: z,
|
|
732
|
-
key: `svg_${
|
|
733
|
-
xmlns: E(
|
|
734
|
-
viewBox: `${E(
|
|
732
|
+
key: `svg_${mt.value}`,
|
|
733
|
+
xmlns: E(re),
|
|
734
|
+
viewBox: `${E(Z).x} ${E(Z).y} ${E(Z).width} ${E(Z).height}`,
|
|
735
735
|
class: Te({
|
|
736
|
-
"vue-data-ui-fullscreen--on":
|
|
737
|
-
"vue-data-ui-fulscreen--off": !
|
|
736
|
+
"vue-data-ui-fullscreen--on": Y.value,
|
|
737
|
+
"vue-data-ui-fulscreen--off": !Y.value
|
|
738
738
|
}),
|
|
739
739
|
style: S(`overflow: hidden; background:transparent;color:${P.value.style.chart.color}`)
|
|
740
740
|
}, [
|
|
@@ -743,8 +743,8 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
743
743
|
key: 0,
|
|
744
744
|
x: 0,
|
|
745
745
|
y: 0,
|
|
746
|
-
width:
|
|
747
|
-
height:
|
|
746
|
+
width: U.value.width <= 0 ? 10 : U.value.width,
|
|
747
|
+
height: U.value.height <= 0 ? 10 : U.value.height,
|
|
748
748
|
style: { pointerEvents: "none" }
|
|
749
749
|
}, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, Le)) : m("", !0),
|
|
750
750
|
g("defs", null, [(C(!0), h(xe, null, De(Object.keys(Tt.value), (e, t) => (C(), p(ge, {
|
|
@@ -758,7 +758,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
758
758
|
fy: "50%",
|
|
759
759
|
stops: [[
|
|
760
760
|
"0%",
|
|
761
|
-
E(
|
|
761
|
+
E(n)(e, .5),
|
|
762
762
|
1
|
|
763
763
|
], [
|
|
764
764
|
"100%",
|
|
@@ -767,7 +767,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
767
767
|
]]
|
|
768
768
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
769
769
|
_(E(Ye), {
|
|
770
|
-
dataset:
|
|
770
|
+
dataset: W.value,
|
|
771
771
|
color: P.value.style.chart.links.stroke,
|
|
772
772
|
backgroundColor: P.value.style.chart.backgroundColor,
|
|
773
773
|
useChildColor: P.value.style.chart.links.useChildColor
|
|
@@ -778,11 +778,11 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
778
778
|
"useChildColor"
|
|
779
779
|
]),
|
|
780
780
|
_(E(Ze), {
|
|
781
|
-
dataset:
|
|
782
|
-
hoveredUid:
|
|
781
|
+
dataset: W.value,
|
|
782
|
+
hoveredUid: q.value,
|
|
783
783
|
stroke: P.value.style.chart.nodes.stroke,
|
|
784
784
|
strokeHovered: P.value.style.chart.nodes.strokeHovered,
|
|
785
|
-
onClick:
|
|
785
|
+
onClick: Ht,
|
|
786
786
|
onHover: Ot
|
|
787
787
|
}, {
|
|
788
788
|
node: O(({ node: t }) => [T(e.$slots, "node", x(y({ node: t })), void 0, !0)]),
|
|
@@ -794,25 +794,25 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
794
794
|
"stroke",
|
|
795
795
|
"strokeHovered"
|
|
796
796
|
]),
|
|
797
|
-
|
|
797
|
+
H.value.showDataLabels && !E(I) ? (C(), p(E(Xe), {
|
|
798
798
|
key: 1,
|
|
799
|
-
dataset:
|
|
799
|
+
dataset: W.value,
|
|
800
800
|
color: P.value.style.chart.color,
|
|
801
|
-
hoveredUid:
|
|
801
|
+
hoveredUid: q.value
|
|
802
802
|
}, null, 8, [
|
|
803
803
|
"dataset",
|
|
804
804
|
"color",
|
|
805
805
|
"hoveredUid"
|
|
806
806
|
])) : m("", !0),
|
|
807
807
|
T(e.$slots, "svg", { svg: {
|
|
808
|
-
...
|
|
809
|
-
drawingArea: { ...E(
|
|
810
|
-
isPrintingImg: E(V) || E(
|
|
811
|
-
isPrintingSvg: E(
|
|
808
|
+
...U.value,
|
|
809
|
+
drawingArea: { ...E(Z) },
|
|
810
|
+
isPrintingImg: E(V) || E(gt) || E(qt),
|
|
811
|
+
isPrintingSvg: E(Jt)
|
|
812
812
|
} }, void 0, !0)
|
|
813
813
|
], 14, Ie)),
|
|
814
|
-
e.$slots.watermark ? (C(), h("div", Re, [T(e.$slots, "watermark", x(y({ isPrinting: E(V) || E(
|
|
815
|
-
E(
|
|
814
|
+
e.$slots.watermark ? (C(), h("div", Re, [T(e.$slots, "watermark", x(y({ isPrinting: E(V) || E(gt) || E(qt) || E(Jt) })), void 0, !0)])) : m("", !0),
|
|
815
|
+
E(Bt) ? (C(), h("div", ze, [T(e.$slots, "reset-action", { reset: E(Q) }, () => [g("button", {
|
|
816
816
|
"data-cy-reset": "",
|
|
817
817
|
tabindex: "0",
|
|
818
818
|
role: "button",
|
|
@@ -821,7 +821,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
821
821
|
background: P.value.style.chart.backgroundColor,
|
|
822
822
|
cursor: F.value ? "pointer" : "default"
|
|
823
823
|
}),
|
|
824
|
-
onClick: t[0] ||= (e) => E(
|
|
824
|
+
onClick: t[0] ||= (e) => E(Q)(!0)
|
|
825
825
|
}, [_(E(Ue), {
|
|
826
826
|
name: "refresh",
|
|
827
827
|
stroke: P.value.style.chart.color
|
|
@@ -829,7 +829,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
829
829
|
e.$slots.source ? (C(), h("div", Be, [T(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
830
830
|
_(E(He), {
|
|
831
831
|
teleportTo: P.value.style.chart.tooltip.teleportTo,
|
|
832
|
-
show:
|
|
832
|
+
show: H.value.showTooltip && st.value,
|
|
833
833
|
backgroundColor: P.value.style.chart.tooltip.backgroundColor,
|
|
834
834
|
color: P.value.style.chart.tooltip.color,
|
|
835
835
|
borderRadius: P.value.style.chart.tooltip.borderRadius,
|
|
@@ -840,18 +840,18 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
840
840
|
position: P.value.style.chart.tooltip.position,
|
|
841
841
|
offsetX: P.value.style.chart.tooltip.offsetX,
|
|
842
842
|
offsetY: P.value.style.chart.tooltip.offsetY,
|
|
843
|
-
parent:
|
|
844
|
-
content:
|
|
845
|
-
isFullscreen:
|
|
843
|
+
parent: j.value,
|
|
844
|
+
content: A.value,
|
|
845
|
+
isFullscreen: Y.value,
|
|
846
846
|
isCustom: P.value.style.chart.tooltip.customFormat && typeof P.value.style.chart.tooltip.customFormat == "function",
|
|
847
847
|
smooth: P.value.style.chart.tooltip.smooth,
|
|
848
848
|
backdropFilter: P.value.style.chart.tooltip.backdropFilter,
|
|
849
849
|
smoothForce: P.value.style.chart.tooltip.smoothForce,
|
|
850
850
|
smoothSnapThreshold: P.value.style.chart.tooltip.smoothSnapThreshold
|
|
851
851
|
}, {
|
|
852
|
-
"tooltip-before": O(() => [T(e.$slots, "tooltip-before", x(y({ ...
|
|
853
|
-
tooltip: O(() => [T(e.$slots, "tooltip", x(y({ ...
|
|
854
|
-
"tooltip-after": O(() => [T(e.$slots, "tooltip-after", x(y({ ...
|
|
852
|
+
"tooltip-before": O(() => [T(e.$slots, "tooltip-before", x(y({ ...G.value })), void 0, !0)]),
|
|
853
|
+
tooltip: O(() => [T(e.$slots, "tooltip", x(y({ ...G.value })), void 0, !0)]),
|
|
854
|
+
"tooltip-after": O(() => [T(e.$slots, "tooltip-after", x(y({ ...G.value })), void 0, !0)]),
|
|
855
855
|
_: 3
|
|
856
856
|
}, 8, [
|
|
857
857
|
"teleportTo",
|
|
@@ -877,27 +877,21 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
877
877
|
]),
|
|
878
878
|
rt.value && P.value.userOptions.buttons.table ? (C(), p(Oe($.value.component), we({ key: 7 }, $.value.props, {
|
|
879
879
|
ref_key: "tableUnit",
|
|
880
|
-
ref:
|
|
881
|
-
onClose:
|
|
880
|
+
ref: M,
|
|
881
|
+
onClose: Wt
|
|
882
882
|
}), Se({
|
|
883
883
|
content: O(() => [(C(), p(E(Ge), {
|
|
884
884
|
key: `table_${ut.value}`,
|
|
885
|
-
colNames:
|
|
886
|
-
head:
|
|
887
|
-
body:
|
|
888
|
-
config:
|
|
885
|
+
colNames: J.value.colNames,
|
|
886
|
+
head: J.value.head,
|
|
887
|
+
body: J.value.body,
|
|
888
|
+
config: J.value.config,
|
|
889
889
|
title: P.value.table.useDialog ? "" : $.value.title,
|
|
890
890
|
withCloseButton: !P.value.table.useDialog,
|
|
891
891
|
isCursorPointer: F.value,
|
|
892
|
-
onClose:
|
|
892
|
+
onClose: Wt
|
|
893
893
|
}, {
|
|
894
|
-
th: O(({ th: e }) => [g("div",
|
|
895
|
-
innerHTML: e,
|
|
896
|
-
style: {
|
|
897
|
-
display: "flex",
|
|
898
|
-
"align-items": "center"
|
|
899
|
-
}
|
|
900
|
-
}, null, 8, Ve)]),
|
|
894
|
+
th: O(({ th: e }) => [g("div", null, ke(e), 1)]),
|
|
901
895
|
td: O(({ td: e }) => [Ce(ke(e.name || e), 1)]),
|
|
902
896
|
_: 1
|
|
903
897
|
}, 8, [
|
|
@@ -927,9 +921,9 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
927
921
|
}, null, 8, ["stroke"])], 4)]),
|
|
928
922
|
key: "1"
|
|
929
923
|
} : void 0]), 1040)) : m("", !0),
|
|
930
|
-
T(e.$slots, "skeleton", {}, () => [E(I) ? (C(), p(
|
|
924
|
+
T(e.$slots, "skeleton", {}, () => [E(I) ? (C(), p(ue, { key: 0 })) : m("", !0)], !0)
|
|
931
925
|
], 46, Ne));
|
|
932
926
|
}
|
|
933
|
-
}, [["__scopeId", "data-v-
|
|
927
|
+
}, [["__scopeId", "data-v-09af1533"]]);
|
|
934
928
|
//#endregion
|
|
935
|
-
export { Me as n,
|
|
929
|
+
export { Me as n, Ve as t };
|