vue-data-ui 3.23.9 → 3.23.10
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-CF0VFcBH.js → Arrow-bwmME0jw.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-DBVHlhQZ.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-B4n7br_R.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-wRhcG_-q.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-BZjzzyQo.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-B9kUMLSz.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-DMsScfkx.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-IWPfuceW.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-DWEFXq9E.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-Crs4-xWz.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-DNTJUKh1.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-DJ607Hx6.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAhF1ToV.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-sXtk2ZZ2.js} +2 -2
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-BE50SZQH.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-BGLPsoA9.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-DO4-MVhc.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-HQyukyl2.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-Cg_3vpOo.js} +1 -1
- package/dist/{exposedLib-C0DPCgFj.js → exposedLib-vfRiIvq_.js} +1 -1
- package/dist/{img-Bnokohej.js → img-tU9mMt9W.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-C_lMnQRs.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-AT2PUyyh.js} +1 -1
- package/dist/{package-C01DAl-Z.js → package-enC-Nivt.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-ColHHJFH.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-CqcoYfCA.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CW0vJS1B.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-BFS7d6eb.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-DD7J3yor.js} +69 -69
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-DgrcdAgz.js +1829 -0
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-DJNjilyy.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-DI8b5E2H.js} +6 -6
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-7ZVfFskI.js} +6 -6
- package/dist/{vue-ui-bullet-GgRg9sbN.js → vue-ui-bullet-Dyd5F1Wa.js} +7 -7
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-DzB3WQnq.js} +166 -166
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick--YWEtek_.js} +7 -7
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-Dn3RZU0p.js} +4 -4
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-BIsXeXiU.js} +5 -5
- package/dist/{vue-ui-chord-eOIKOfDO.js → vue-ui-chord-BimXqVsF.js} +8 -8
- package/dist/{vue-ui-circle-pack-kCN1R-pw.js → vue-ui-circle-pack-DKQEhL-L.js} +13 -16
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-C-P2D5i6.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-CThnMMWA.js} +7 -7
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-D0NNTRO3.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-9tGjGzZh.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-DLN9uPOi.js} +2 -2
- package/dist/vue-ui-donut-EZu8p7HF.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-mu-iGTIn.js} +9 -9
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-Dvldi3Oo.js} +13 -16
- package/dist/{vue-ui-flow-R-fW_EeT.js → vue-ui-flow-DYZBT5Cb.js} +13 -16
- package/dist/{vue-ui-funnel-CT3ixpCM.js → vue-ui-funnel--NaxO0cZ.js} +13 -16
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-D6eYN8Ut.js} +291 -293
- package/dist/{vue-ui-gauge-DRXsVxYq.js → vue-ui-gauge-DTIEl2Xb.js} +6 -6
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-CQqNemR6.js} +7 -7
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-ClunTUxX.js} +3 -3
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-B_pSQNzO.js} +7 -7
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-Byp0Tnny.js} +6 -6
- package/dist/{vue-ui-history-plot-Bn_M0AFg.js → vue-ui-history-plot-CMu8ST1E.js} +14 -17
- package/dist/{vue-ui-horizontal-bar-CkRRidx3.js → vue-ui-horizontal-bar-BQn7WxQ-.js} +10 -10
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-BKw5t-rX.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BNm0MQDw.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-DRwQV5hN.js} +232 -238
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-Bj3KTWYj.js} +298 -300
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-83Wh2w6z.js} +15 -18
- package/dist/{vue-ui-onion-Bix9MN3w.js → vue-ui-onion-C27GpneA.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-6SI2vJOo.js → vue-ui-parallel-coordinate-plot-BklOszr1.js} +212 -212
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-_J-Qr7-K.js} +9 -9
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-DcOUq4ym.js} +7 -7
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-FlRlsoAd.js} +8 -8
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-eCxEZD8C.js} +2 -2
- package/dist/{vue-ui-relation-circle-CZ68uWhc.js → vue-ui-relation-circle-DnsxHv7t.js} +6 -6
- package/dist/{vue-ui-ridgeline-BSiPLA08.js → vue-ui-ridgeline-TopTLyaE.js} +485 -485
- package/dist/vue-ui-rings-obVfb09j.js +1250 -0
- package/dist/{vue-ui-scatter-C0PouRMY.js → vue-ui-scatter-BHSuA506.js} +9 -9
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-CNOam3kC.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-YdyidjBH.js} +2 -2
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-CS5GLtYL.js} +3 -3
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-DDHwgP4k.js} +3 -3
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BcQu9V3h.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-CPsA5P6c.js} +4 -4
- package/dist/{vue-ui-sparkline-CyJKVGYw.js → vue-ui-sparkline-CnbO-GkM.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-4tsTxMe2.js} +4 -4
- package/dist/{vue-ui-stackbar-J5QzbBaA.js → vue-ui-stackbar-2_SrMFNT.js} +575 -571
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-BNCWO_jG.js} +612 -608
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-2Y1c02Ek.js} +13 -16
- package/dist/{vue-ui-table-CBdCPS2r.js → vue-ui-table-DJZxHo5N.js} +5 -5
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-BacaEjQy.js} +5 -5
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B8oAU5yr.js} +4 -4
- package/dist/{vue-ui-thermometer-DWmM_Hn9.js → vue-ui-thermometer-BGtxNU9T.js} +6 -6
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-CWZgSpP8.js} +5 -5
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-LLVCPyg9.js} +6 -6
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-ehBl9JMC.js} +16 -19
- package/dist/{vue-ui-waffle-C1ksX6OD.js → vue-ui-waffle-DpBAXbhh.js} +288 -290
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-C4OHPrtC.js} +6 -6
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-CDHn3Kwa.js} +13 -16
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-ao1xf04I.js} +13 -16
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-DmJDCl3c.js} +2 -2
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-_U3wmtCf.js} +1499 -1495
- package/dist/{vue-ui-xy-canvas-B-KxaFGF.js → vue-ui-xy-canvas-Bx-9y53V.js} +334 -330
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-C9Y9Uklb.js +0 -1831
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, Jt as r, Kt as i, M as a, Ot as o, Pt as ee, S as te, Z as s, ct as c, jt as ne, q as re, t as l, tt as u, w as ie, xt as ae } from "./lib-
|
|
2
|
+
import { $ as t, D as n, Jt as r, Kt as i, M as a, Ot as o, Pt as ee, S as te, Z as s, ct as c, jt as ne, q as re, t as l, tt as u, w as ie, xt as ae } from "./lib-AT2PUyyh.js";
|
|
3
3
|
import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as ce } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as le } from "./usePrinter-
|
|
5
|
+
import { t as le } from "./usePrinter-BFS7d6eb.js";
|
|
6
6
|
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { Fragment as
|
|
7
|
+
import { t as fe } from "./useNestedProp-CW0vJS1B.js";
|
|
8
|
+
import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as me } from "./useChartExport-DNiwdPmb.js";
|
|
10
|
+
import { t as he } from "./img-tU9mMt9W.js";
|
|
11
|
+
import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { t as _e } from "./DefGrad-DVBqDjhO.js";
|
|
13
|
+
import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
|
|
14
|
+
import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
|
|
15
|
+
import { t as be } from "./vue_ui_molecule-CO9L59SF.js";
|
|
16
|
+
import { t as xe } from "./usePanZoom-CYU3B4T3.js";
|
|
17
|
+
import { Fragment as Se, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ce, createTextVNode as we, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Te, nextTick as y, normalizeClass as Ee, normalizeProps as b, normalizeStyle as x, onMounted as De, openBlock as S, ref as C, renderList as Oe, renderSlot as w, resolveDynamicComponent as ke, toDisplayString as Ae, toRefs as je, unref as T, useCssVars as Me, watch as E, withCtx as D } from "vue";
|
|
18
18
|
//#region src/components/vue-ui-molecule.vue
|
|
19
|
-
var
|
|
19
|
+
var Ne = /* @__PURE__ */ e({ default: () => He }), Pe = ["id"], Fe = {
|
|
20
20
|
key: 1,
|
|
21
21
|
ref: "noTitle",
|
|
22
22
|
class: "vue-data-ui-no-title-space",
|
|
23
23
|
style: "height:36px; width: 100%;background:transparent"
|
|
24
|
-
},
|
|
24
|
+
}, Ie = {
|
|
25
25
|
key: 2,
|
|
26
26
|
style: "width:100%;background:transparent;"
|
|
27
|
-
},
|
|
27
|
+
}, Le = ["xmlns", "viewBox"], Re = ["width", "height"], ze = {
|
|
28
28
|
key: 4,
|
|
29
29
|
class: "vue-data-ui-watermark"
|
|
30
|
-
},
|
|
30
|
+
}, Be = {
|
|
31
31
|
key: 5,
|
|
32
32
|
"data-dom-to-png-ignore": "",
|
|
33
33
|
class: "reset-wrapper"
|
|
34
|
-
},
|
|
34
|
+
}, Ve = {
|
|
35
35
|
key: 6,
|
|
36
36
|
ref: "source",
|
|
37
37
|
dir: "auto"
|
|
38
|
-
},
|
|
38
|
+
}, He = /*#__PURE__*/ ge({
|
|
39
39
|
__name: "vue-ui-molecule",
|
|
40
40
|
props: {
|
|
41
41
|
config: {
|
|
@@ -52,24 +52,24 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
emits: ["selectNode", "copyAlt"],
|
|
55
|
-
setup(e, { expose:
|
|
56
|
-
|
|
57
|
-
let
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
setup(e, { expose: ge, emit: Ne }) {
|
|
56
|
+
Me((e) => ({ v168d8cce: Qt.value }));
|
|
57
|
+
let He = _(() => import("./Title-BGLPsoA9.js").then((e) => e.t)), Ue = _(() => import("./Tooltip-DO4-MVhc.js")), We = _(() => import("./BaseIcon-B4n7br_R.js").then((e) => e.n)), Ge = _(() => import("./vue-ui-accordion-DJNjilyy.js").then((e) => e.n)), Ke = _(() => import("./DataTable-DMsScfkx.js")), qe = _(() => import("./PenAndPaper-DJ607Hx6.js").then((e) => e.t)), Je = _(() => import("./UserOptions-HQyukyl2.js").then((e) => e.n)), Ye = _(() => import("./PackageVersion-DNTJUKh1.js").then((e) => e.t)), Xe = _(() => import("./RecursiveLinks-BygcpDiT.js")), Ze = _(() => import("./RecursiveLabels-D9rfID6q.js")), Qe = _(() => import("./RecursiveCircles-D6aDPmoe.js")), $e = _(() => import("./BaseDraggableDialog-DBVHlhQZ.js").then((e) => e.n)), { vue_ui_molecule: et } = ce(), { isThemeValid: tt, warnInvalidTheme: nt } = pe(), O = e, rt = Ne, it = d(() => !!O.dataset && O.dataset.length);
|
|
58
|
+
De(() => {
|
|
59
|
+
ot();
|
|
60
60
|
});
|
|
61
|
-
let
|
|
62
|
-
function
|
|
63
|
-
ne(
|
|
61
|
+
let at = d(() => P.value.debug);
|
|
62
|
+
function ot() {
|
|
63
|
+
ne(O.dataset) && u({
|
|
64
64
|
componentName: "VueUiMolecule",
|
|
65
65
|
type: "dataset",
|
|
66
|
-
debug:
|
|
66
|
+
debug: at.value
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
let
|
|
69
|
+
let st = C(re()), k = C(!1), A = C(""), j = C(null), ct = C(0), lt = C(0), ut = C(0), M = C(null), N = C(null), P = C(B());
|
|
70
70
|
oe({
|
|
71
71
|
config: () => P.value,
|
|
72
|
-
dataset: () =>
|
|
72
|
+
dataset: () => O.dataset,
|
|
73
73
|
component: "VueUiMolecule",
|
|
74
74
|
rules: [
|
|
75
75
|
se.emptyArray,
|
|
@@ -91,7 +91,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
91
91
|
}
|
|
92
92
|
]
|
|
93
93
|
});
|
|
94
|
-
let F =
|
|
94
|
+
let F = d(() => P.value.userOptions.useCursorPointer), dt = d(() => r({
|
|
95
95
|
defaultConfig: {
|
|
96
96
|
userOptions: { show: !1 },
|
|
97
97
|
table: { show: !1 },
|
|
@@ -103,10 +103,10 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
103
103
|
},
|
|
104
104
|
userConfig: P.value.skeletonConfig ?? {}
|
|
105
105
|
})), { loading: I, FINAL_DATASET: L } = ue({
|
|
106
|
-
...
|
|
106
|
+
...je(O),
|
|
107
107
|
FINAL_CONFIG: P,
|
|
108
108
|
prepareConfig: B,
|
|
109
|
-
skeletonDataset:
|
|
109
|
+
skeletonDataset: O.config?.skeletonDataset ?? [{
|
|
110
110
|
name: "_",
|
|
111
111
|
color: "#CACACA",
|
|
112
112
|
nodes: [
|
|
@@ -222,21 +222,21 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
222
222
|
}],
|
|
223
223
|
skeletonConfig: r({
|
|
224
224
|
defaultConfig: P.value,
|
|
225
|
-
userConfig:
|
|
225
|
+
userConfig: dt.value
|
|
226
226
|
})
|
|
227
|
-
}), { userOptionsVisible: R, setUserOptionsVisibility:
|
|
227
|
+
}), { userOptionsVisible: R, setUserOptionsVisibility: ft, keepUserOptionState: pt } = ve({ config: P.value }), { svgRef: z } = ye({ config: P.value.style.chart.title });
|
|
228
228
|
function B() {
|
|
229
|
-
let e =
|
|
230
|
-
userConfig:
|
|
231
|
-
defaultConfig:
|
|
229
|
+
let e = fe({
|
|
230
|
+
userConfig: O.config,
|
|
231
|
+
defaultConfig: et
|
|
232
232
|
}), t = e.theme;
|
|
233
233
|
if (!t) return e;
|
|
234
|
-
if (!
|
|
235
|
-
let n =
|
|
236
|
-
userConfig:
|
|
234
|
+
if (!tt.value(e)) return nt(e), e;
|
|
235
|
+
let n = fe({
|
|
236
|
+
userConfig: be[t] || O.config,
|
|
237
237
|
defaultConfig: e
|
|
238
|
-
}), r =
|
|
239
|
-
userConfig:
|
|
238
|
+
}), r = fe({
|
|
239
|
+
userConfig: O.config,
|
|
240
240
|
defaultConfig: n
|
|
241
241
|
});
|
|
242
242
|
return {
|
|
@@ -244,35 +244,35 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
244
244
|
customPalette: r.customPalette.length ? r.customPalette : i[t] || ee
|
|
245
245
|
};
|
|
246
246
|
}
|
|
247
|
-
|
|
248
|
-
P.value = B(), R.value = !P.value.userOptions.showOnChartHover,
|
|
247
|
+
E(() => O.config, (e) => {
|
|
248
|
+
P.value = B(), R.value = !P.value.userOptions.showOnChartHover, ot(), 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 = C(0), ht = () => {
|
|
251
|
+
mt.value += 1;
|
|
252
252
|
};
|
|
253
|
-
|
|
254
|
-
e || (await
|
|
253
|
+
E([() => I.value, () => L.value], async ([e]) => {
|
|
254
|
+
e || (await y(), U.value = St(), await y(), ht(), await y(), 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:
|
|
265
|
-
elementId: `cluster_${
|
|
264
|
+
let { isPrinting: V, isImaging: gt, generatePdf: _t, generateImage: vt } = le({
|
|
265
|
+
elementId: `cluster_${st.value}`,
|
|
266
266
|
fileName: P.value.style.chart.title.text || "vue-ui-molecule",
|
|
267
267
|
options: P.value.userOptions.print
|
|
268
|
-
}), yt =
|
|
268
|
+
}), yt = d(() => P.value.userOptions.show && !P.value.style.chart.title.text), bt = d(() => ie(P.value.customPalette)), H = C({
|
|
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
|
-
|
|
275
|
-
|
|
274
|
+
E(P, () => {
|
|
275
|
+
H.value = {
|
|
276
276
|
showTable: P.value.table.show,
|
|
277
277
|
showDataLabels: !0,
|
|
278
278
|
showTooltip: P.value.style.chart.tooltip.show,
|
|
@@ -290,11 +290,11 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
290
290
|
width: n
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
|
-
let
|
|
293
|
+
let U = C(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, i = 0, o = 0, s = "#BBBBBB", c = 0) {
|
|
298
298
|
if (!Array.isArray(e) || e.length === 0) return e;
|
|
299
299
|
let ne = a({
|
|
300
300
|
plot: t,
|
|
@@ -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 =
|
|
329
|
+
let Tt = d(() => wt(W.value)), W = d(() => Ct(s(L.value))), G = C(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
338
|
if (ae(t) && c(() => 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 = C(null), q = C(null), Dt = C(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 ? (
|
|
362
|
+
}), e ? (k.value = !0, Et(e), q.value = e.uid) : (k.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 =
|
|
379
|
+
let At = d(() => kt(W.value)), J = d(() => ({
|
|
380
380
|
head: [
|
|
381
381
|
P.value.table.translations.nodeName,
|
|
382
382
|
P.value.table.translations.details,
|
|
@@ -410,15 +410,15 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
410
410
|
]
|
|
411
411
|
}));
|
|
412
412
|
function jt(e = null) {
|
|
413
|
-
|
|
414
|
-
let r =
|
|
413
|
+
y(() => {
|
|
414
|
+
let r = 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
|
-
[[...
|
|
421
|
+
[[...J.value.head]]
|
|
422
422
|
].concat(r), a = n(i);
|
|
423
423
|
e ? e(a) : t({
|
|
424
424
|
csvContent: a,
|
|
@@ -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 = C(!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 = C(!1);
|
|
449
449
|
function Rt() {
|
|
450
|
-
|
|
450
|
+
X.value = !X.value;
|
|
451
451
|
}
|
|
452
|
-
let zt =
|
|
452
|
+
let zt = d(() => !X.value && H.value.showZoom), { viewBox: Z, resetZoom: Q, isZoom: Bt, setInitialViewBox: Vt } = xe(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
|
+
}), rt("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 he({
|
|
467
|
+
domElement: j.value,
|
|
468
468
|
base64: !0,
|
|
469
469
|
img: !0,
|
|
470
470
|
scale: e
|
|
@@ -478,18 +478,18 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
478
478
|
aspectRatio: r
|
|
479
479
|
};
|
|
480
480
|
}
|
|
481
|
-
let $ =
|
|
482
|
-
let e = P.value.table.useDialog && !P.value.table.show, t =
|
|
481
|
+
let $ = d(() => {
|
|
482
|
+
let e = P.value.table.useDialog && !P.value.table.show, t = H.value.showTable;
|
|
483
483
|
return {
|
|
484
|
-
component: e ?
|
|
484
|
+
component: e ? $e : Ge,
|
|
485
485
|
title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
|
|
486
486
|
props: e ? {
|
|
487
487
|
backgroundColor: P.value.table.th.backgroundColor,
|
|
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,75 +509,75 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
509
509
|
}
|
|
510
510
|
};
|
|
511
511
|
});
|
|
512
|
-
|
|
513
|
-
P.value.table.show || (e && P.value.table.useDialog &&
|
|
512
|
+
E(() => 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 = d(() => P.value.style.chart.backgroundColor), Kt = d(() => P.value.style.chart.title), { isCallbackImaging: qt, isCallbackSvg: Jt, generateSvg: Yt, onGenerateImage: Xt } = me({
|
|
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
|
|
528
|
-
if (
|
|
527
|
+
async function Zt() {
|
|
528
|
+
if (rt("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
|
|
541
|
-
return
|
|
540
|
+
let Qt = d(() => P.value.style.chart.color);
|
|
541
|
+
return ge({
|
|
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:
|
|
555
|
-
}), (e, t) => (
|
|
554
|
+
copyAlt: Zt
|
|
555
|
+
}), (e, t) => (S(), m("div", {
|
|
556
556
|
ref_key: "moleculeChart",
|
|
557
|
-
ref:
|
|
558
|
-
class:
|
|
559
|
-
style:
|
|
560
|
-
id: `cluster_${
|
|
557
|
+
ref: j,
|
|
558
|
+
class: Ee(`vue-data-ui-component vue-ui-molecule ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
559
|
+
style: x(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor}`),
|
|
560
|
+
id: `cluster_${st.value}`,
|
|
561
561
|
onMouseleave: t[2] ||= (e) => {
|
|
562
|
-
|
|
562
|
+
K.value = null, q.value = null, T(ft)(!1);
|
|
563
563
|
},
|
|
564
|
-
onMouseenter: t[3] ||= () =>
|
|
564
|
+
onMouseenter: t[3] ||= () => T(ft)(!0)
|
|
565
565
|
}, [
|
|
566
|
-
P.value.userOptions.buttons.annotator &&
|
|
566
|
+
P.value.userOptions.buttons.annotator && T(z) ? (S(), f(T(qe), {
|
|
567
567
|
key: 0,
|
|
568
|
-
svgRef:
|
|
568
|
+
svgRef: T(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
|
}, {
|
|
575
|
-
"annotator-action-close":
|
|
576
|
-
"annotator-action-color":
|
|
577
|
-
"annotator-action-draw":
|
|
578
|
-
"annotator-action-undo":
|
|
579
|
-
"annotator-action-redo":
|
|
580
|
-
"annotator-action-delete":
|
|
575
|
+
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
576
|
+
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
|
|
577
|
+
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
|
|
578
|
+
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
|
|
579
|
+
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
|
|
580
|
+
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
|
|
581
581
|
_: 3
|
|
582
582
|
}, 8, [
|
|
583
583
|
"svgRef",
|
|
@@ -585,9 +585,9 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
585
585
|
"color",
|
|
586
586
|
"active",
|
|
587
587
|
"isCursorPointer"
|
|
588
|
-
])) :
|
|
589
|
-
yt.value ? (
|
|
590
|
-
P.value.style.chart.title.text ? (
|
|
588
|
+
])) : p("", !0),
|
|
589
|
+
yt.value ? (S(), m("div", Fe, null, 512)) : p("", !0),
|
|
590
|
+
P.value.style.chart.title.text ? (S(), m("div", Ie, [(S(), f(T(He), {
|
|
591
591
|
key: `title_${lt.value}`,
|
|
592
592
|
config: {
|
|
593
593
|
title: {
|
|
@@ -599,16 +599,16 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
599
599
|
...P.value.style.chart.title.subtitle
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
|
-
}, null, 8, ["config"]))])) :
|
|
603
|
-
P.value.userOptions.show &&
|
|
602
|
+
}, null, 8, ["config"]))])) : p("", !0),
|
|
603
|
+
P.value.userOptions.show && it.value && (T(pt) || T(R)) ? (S(), f(T(Je), {
|
|
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
|
-
isPrinting:
|
|
610
|
-
isImaging:
|
|
611
|
-
uid:
|
|
609
|
+
isPrinting: T(V),
|
|
610
|
+
isImaging: T(gt),
|
|
611
|
+
uid: st.value,
|
|
612
612
|
hasTooltip: P.value.userOptions.buttons.tooltip && P.value.style.chart.tooltip.show,
|
|
613
613
|
hasPdf: P.value.userOptions.buttons.pdf,
|
|
614
614
|
hasXls: P.value.userOptions.buttons.csv,
|
|
@@ -618,34 +618,34 @@ 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
|
-
onGeneratePdf:
|
|
634
|
+
onGeneratePdf: T(_t),
|
|
635
635
|
onGenerateCsv: jt,
|
|
636
|
-
onGenerateImage:
|
|
637
|
-
onGenerateSvg:
|
|
636
|
+
onGenerateImage: T(Xt),
|
|
637
|
+
onGenerateSvg: T(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:
|
|
645
|
-
},
|
|
643
|
+
onCopyAlt: Zt,
|
|
644
|
+
style: x({ visibility: T(pt) ? T(R) ? "visible" : "hidden" : "visible" })
|
|
645
|
+
}, Ce({ _: 2 }, [
|
|
646
646
|
e.$slots.menuIcon ? {
|
|
647
647
|
name: "menuIcon",
|
|
648
|
-
fn:
|
|
648
|
+
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(v({
|
|
649
649
|
isOpen: t,
|
|
650
650
|
color: n
|
|
651
651
|
})), void 0, !0)]),
|
|
@@ -653,42 +653,42 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
653
653
|
} : void 0,
|
|
654
654
|
e.$slots.optionTooltip ? {
|
|
655
655
|
name: "optionTooltip",
|
|
656
|
-
fn:
|
|
656
|
+
fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
657
657
|
key: "1"
|
|
658
658
|
} : void 0,
|
|
659
659
|
e.$slots.optionPdf ? {
|
|
660
660
|
name: "optionPdf",
|
|
661
|
-
fn:
|
|
661
|
+
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
662
662
|
key: "2"
|
|
663
663
|
} : void 0,
|
|
664
664
|
e.$slots.optionCsv ? {
|
|
665
665
|
name: "optionCsv",
|
|
666
|
-
fn:
|
|
666
|
+
fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
667
667
|
key: "3"
|
|
668
668
|
} : void 0,
|
|
669
669
|
e.$slots.optionImg ? {
|
|
670
670
|
name: "optionImg",
|
|
671
|
-
fn:
|
|
671
|
+
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
672
672
|
key: "4"
|
|
673
673
|
} : void 0,
|
|
674
674
|
e.$slots.optionSvg ? {
|
|
675
675
|
name: "optionSvg",
|
|
676
|
-
fn:
|
|
676
|
+
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
677
677
|
key: "5"
|
|
678
678
|
} : void 0,
|
|
679
679
|
e.$slots.optionTable ? {
|
|
680
680
|
name: "optionTable",
|
|
681
|
-
fn:
|
|
681
|
+
fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
682
682
|
key: "6"
|
|
683
683
|
} : void 0,
|
|
684
684
|
e.$slots.optionLabels ? {
|
|
685
685
|
name: "optionLabels",
|
|
686
|
-
fn:
|
|
686
|
+
fn: D(() => [w(e.$slots, "optionLabels", {}, void 0, !0)]),
|
|
687
687
|
key: "7"
|
|
688
688
|
} : void 0,
|
|
689
689
|
e.$slots.optionFullscreen ? {
|
|
690
690
|
name: "optionFullscreen",
|
|
691
|
-
fn:
|
|
691
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(v({
|
|
692
692
|
toggleFullscreen: t,
|
|
693
693
|
isFullscreen: n
|
|
694
694
|
})), void 0, !0)]),
|
|
@@ -696,7 +696,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
696
696
|
} : void 0,
|
|
697
697
|
e.$slots.optionAnnotator ? {
|
|
698
698
|
name: "optionAnnotator",
|
|
699
|
-
fn:
|
|
699
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(v({
|
|
700
700
|
toggleAnnotator: t,
|
|
701
701
|
isAnnotator: n
|
|
702
702
|
})), void 0, !0)]),
|
|
@@ -704,7 +704,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
704
704
|
} : void 0,
|
|
705
705
|
e.$slots.optionZoom ? {
|
|
706
706
|
name: "optionZoom",
|
|
707
|
-
fn:
|
|
707
|
+
fn: D(({ toggleZoom: t, isZoomLocked: n }) => [w(e.$slots, "optionZoom", b(v({
|
|
708
708
|
toggleZoom: t,
|
|
709
709
|
isZoomLocked: n
|
|
710
710
|
})), void 0, !0)]),
|
|
@@ -712,42 +712,42 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
712
712
|
} : void 0,
|
|
713
713
|
e.$slots.optionAltCopy ? {
|
|
714
714
|
name: "optionAltCopy",
|
|
715
|
-
fn:
|
|
715
|
+
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
|
|
716
716
|
key: "11"
|
|
717
717
|
} : void 0,
|
|
718
718
|
e.$slots["custom-menu-before"] ? {
|
|
719
719
|
name: "custom-menu-before",
|
|
720
|
-
fn:
|
|
720
|
+
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
721
721
|
key: "12"
|
|
722
722
|
} : void 0,
|
|
723
723
|
e.$slots["custom-menu-after"] ? {
|
|
724
724
|
name: "custom-menu-after",
|
|
725
|
-
fn:
|
|
725
|
+
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
726
726
|
key: "13"
|
|
727
727
|
} : void 0
|
|
728
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.hasZoom.isZoom.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
729
|
-
(
|
|
728
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.hasZoom.isZoom.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
|
|
729
|
+
(S(), m("svg", {
|
|
730
730
|
ref_key: "svgRef",
|
|
731
731
|
ref: z,
|
|
732
|
-
key: `svg_${
|
|
733
|
-
xmlns:
|
|
734
|
-
viewBox: `${
|
|
735
|
-
class:
|
|
736
|
-
"vue-data-ui-fullscreen--on":
|
|
737
|
-
"vue-data-ui-fulscreen--off": !
|
|
732
|
+
key: `svg_${mt.value}`,
|
|
733
|
+
xmlns: T(l),
|
|
734
|
+
viewBox: `${T(Z).x} ${T(Z).y} ${T(Z).width} ${T(Z).height}`,
|
|
735
|
+
class: Ee({
|
|
736
|
+
"vue-data-ui-fullscreen--on": Y.value,
|
|
737
|
+
"vue-data-ui-fulscreen--off": !Y.value
|
|
738
738
|
}),
|
|
739
|
-
style:
|
|
739
|
+
style: x(`overflow: hidden; background:transparent;color:${P.value.style.chart.color}`)
|
|
740
740
|
}, [
|
|
741
|
-
|
|
742
|
-
e.$slots["chart-background"] ? (
|
|
741
|
+
g(T(Ye)),
|
|
742
|
+
e.$slots["chart-background"] ? (S(), m("foreignObject", {
|
|
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
|
-
}, [
|
|
750
|
-
|
|
749
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Re)) : p("", !0),
|
|
750
|
+
h("defs", null, [(S(!0), m(Se, null, Oe(Object.keys(Tt.value), (e, t) => (S(), f(_e, {
|
|
751
751
|
t: "radial",
|
|
752
752
|
id: `gradient_${e}`,
|
|
753
753
|
key: `gradient_${e}_${t}`,
|
|
@@ -758,7 +758,7 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
758
758
|
fy: "50%",
|
|
759
759
|
stops: [[
|
|
760
760
|
"0%",
|
|
761
|
-
|
|
761
|
+
T(o)(e, .5),
|
|
762
762
|
1
|
|
763
763
|
], [
|
|
764
764
|
"100%",
|
|
@@ -766,8 +766,8 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
766
766
|
1
|
|
767
767
|
]]
|
|
768
768
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
769
|
-
|
|
770
|
-
dataset:
|
|
769
|
+
g(T(Xe), {
|
|
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
|
|
@@ -777,16 +777,16 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
777
777
|
"backgroundColor",
|
|
778
778
|
"useChildColor"
|
|
779
779
|
]),
|
|
780
|
-
|
|
781
|
-
dataset:
|
|
782
|
-
hoveredUid:
|
|
780
|
+
g(T(Qe), {
|
|
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
|
-
node:
|
|
789
|
-
"node-svg":
|
|
788
|
+
node: D(({ node: t }) => [w(e.$slots, "node", b(v({ node: t })), void 0, !0)]),
|
|
789
|
+
"node-svg": D(({ nodeSvg: t }) => [w(e.$slots, "node-svg", b(v({ nodeSvg: t })), void 0, !0)]),
|
|
790
790
|
_: 3
|
|
791
791
|
}, 8, [
|
|
792
792
|
"dataset",
|
|
@@ -794,42 +794,42 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
794
794
|
"stroke",
|
|
795
795
|
"strokeHovered"
|
|
796
796
|
]),
|
|
797
|
-
|
|
797
|
+
H.value.showDataLabels && !T(I) ? (S(), f(T(Ze), {
|
|
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
|
-
])) :
|
|
807
|
-
|
|
808
|
-
...
|
|
809
|
-
drawingArea: { ...
|
|
810
|
-
isPrintingImg:
|
|
811
|
-
isPrintingSvg:
|
|
806
|
+
])) : p("", !0),
|
|
807
|
+
w(e.$slots, "svg", { svg: {
|
|
808
|
+
...U.value,
|
|
809
|
+
drawingArea: { ...T(Z) },
|
|
810
|
+
isPrintingImg: T(V) || T(gt) || T(qt),
|
|
811
|
+
isPrintingSvg: T(Jt)
|
|
812
812
|
} }, void 0, !0)
|
|
813
|
-
], 14,
|
|
814
|
-
e.$slots.watermark ? (
|
|
815
|
-
|
|
813
|
+
], 14, Le)),
|
|
814
|
+
e.$slots.watermark ? (S(), m("div", ze, [w(e.$slots, "watermark", b(v({ isPrinting: T(V) || T(gt) || T(qt) || T(Jt) })), void 0, !0)])) : p("", !0),
|
|
815
|
+
T(Bt) ? (S(), m("div", Be, [w(e.$slots, "reset-action", { reset: T(Q) }, () => [h("button", {
|
|
816
816
|
"data-cy-reset": "",
|
|
817
817
|
tabindex: "0",
|
|
818
818
|
role: "button",
|
|
819
819
|
class: "vue-data-ui-refresh-button",
|
|
820
|
-
style:
|
|
820
|
+
style: x({
|
|
821
821
|
background: P.value.style.chart.backgroundColor,
|
|
822
822
|
cursor: F.value ? "pointer" : "default"
|
|
823
823
|
}),
|
|
824
|
-
onClick: t[0] ||= (e) =>
|
|
825
|
-
}, [
|
|
824
|
+
onClick: t[0] ||= (e) => T(Q)(!0)
|
|
825
|
+
}, [g(T(We), {
|
|
826
826
|
name: "refresh",
|
|
827
827
|
stroke: P.value.style.chart.color
|
|
828
|
-
}, null, 8, ["stroke"])], 4)], !0)])) :
|
|
829
|
-
e.$slots.source ? (
|
|
830
|
-
|
|
828
|
+
}, null, 8, ["stroke"])], 4)], !0)])) : p("", !0),
|
|
829
|
+
e.$slots.source ? (S(), m("div", Ve, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
830
|
+
g(T(Ue), {
|
|
831
831
|
teleportTo: P.value.style.chart.tooltip.teleportTo,
|
|
832
|
-
show:
|
|
832
|
+
show: H.value.showTooltip && k.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":
|
|
853
|
-
tooltip:
|
|
854
|
-
"tooltip-after":
|
|
852
|
+
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", b(v({ ...G.value })), void 0, !0)]),
|
|
853
|
+
tooltip: D(() => [w(e.$slots, "tooltip", b(v({ ...G.value })), void 0, !0)]),
|
|
854
|
+
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", b(v({ ...G.value })), void 0, !0)]),
|
|
855
855
|
_: 3
|
|
856
856
|
}, 8, [
|
|
857
857
|
"teleportTo",
|
|
@@ -875,30 +875,24 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
875
875
|
"smoothForce",
|
|
876
876
|
"smoothSnapThreshold"
|
|
877
877
|
]),
|
|
878
|
-
|
|
878
|
+
it.value && P.value.userOptions.buttons.table ? (S(), f(ke($.value.component), Te({ key: 7 }, $.value.props, {
|
|
879
879
|
ref_key: "tableUnit",
|
|
880
|
-
ref:
|
|
881
|
-
onClose:
|
|
882
|
-
}),
|
|
883
|
-
content:
|
|
880
|
+
ref: M,
|
|
881
|
+
onClose: Wt
|
|
882
|
+
}), Ce({
|
|
883
|
+
content: D(() => [(S(), f(T(Ke), {
|
|
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:
|
|
895
|
-
|
|
896
|
-
style: {
|
|
897
|
-
display: "flex",
|
|
898
|
-
"align-items": "center"
|
|
899
|
-
}
|
|
900
|
-
}, null, 8, Ve)]),
|
|
901
|
-
td: O(({ td: e }) => [Ce(ke(e.name || e), 1)]),
|
|
894
|
+
th: D(({ th: e }) => [h("div", null, Ae(e), 1)]),
|
|
895
|
+
td: D(({ td: e }) => [we(Ae(e.name || e), 1)]),
|
|
902
896
|
_: 1
|
|
903
897
|
}, 8, [
|
|
904
898
|
"colNames",
|
|
@@ -912,24 +906,24 @@ var Me = /* @__PURE__ */ e({ default: () => k }), Ne = ["id"], Pe = {
|
|
|
912
906
|
_: 2
|
|
913
907
|
}, [P.value.table.useDialog ? {
|
|
914
908
|
name: "title",
|
|
915
|
-
fn:
|
|
909
|
+
fn: D(() => [we(Ae($.value.title), 1)]),
|
|
916
910
|
key: "0"
|
|
917
911
|
} : void 0, P.value.table.useDialog ? {
|
|
918
912
|
name: "actions",
|
|
919
|
-
fn:
|
|
913
|
+
fn: D(() => [h("button", {
|
|
920
914
|
tabindex: "0",
|
|
921
915
|
class: "vue-ui-user-options-button",
|
|
922
916
|
onClick: t[1] ||= (e) => jt(P.value.userOptions.callbacks.csv),
|
|
923
|
-
style:
|
|
924
|
-
}, [
|
|
917
|
+
style: x({ cursor: F.value ? "pointer" : "default" })
|
|
918
|
+
}, [g(T(We), {
|
|
925
919
|
name: "fileCsv",
|
|
926
920
|
stroke: $.value.props.color
|
|
927
921
|
}, null, 8, ["stroke"])], 4)]),
|
|
928
922
|
key: "1"
|
|
929
|
-
} : void 0]), 1040)) :
|
|
930
|
-
|
|
931
|
-
], 46,
|
|
923
|
+
} : void 0]), 1040)) : p("", !0),
|
|
924
|
+
w(e.$slots, "skeleton", {}, () => [T(I) ? (S(), f(de, { key: 0 })) : p("", !0)], !0)
|
|
925
|
+
], 46, Pe));
|
|
932
926
|
}
|
|
933
|
-
}, [["__scopeId", "data-v-
|
|
927
|
+
}, [["__scopeId", "data-v-09af1533"]]);
|
|
934
928
|
//#endregion
|
|
935
|
-
export {
|
|
929
|
+
export { Ne as n, He as t };
|