vue-data-ui 3.10.0 → 3.10.2
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-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.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-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-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
- package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,52 +1,56 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { o as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nodes: { stroke: "#4A4A4A", strokeHovered: "#CCCCCC" }, links: { stroke: "#4A4A4A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } },
|
|
1
|
+
import { useCssVars as Eo, defineAsyncComponent as f, computed as p, onMounted as Bo, ref as c, toRefs as Po, watch as U, nextTick as z, createElementBlock as k, openBlock as v, unref as a, normalizeStyle as R, normalizeClass as De, createBlock as $, createCommentVNode as A, createVNode as D, withCtx as r, renderSlot as i, normalizeProps as C, guardReactiveProps as h, createSlots as Se, createElementVNode as S, Fragment as Io, renderList as No, resolveDynamicComponent as Lo, mergeProps as Zo, createTextVNode as Ee, toDisplayString as Be } from "vue";
|
|
2
|
+
import { o as Ho, g as Uo, c as Pe, t as zo, i as Ro, j as Ie, k as Mo, ae as xo, X as Vo, q as Go, e as jo, m as Ne, v as Wo, r as Xo, y as Yo, _ as qo } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { u as Jo, a as oe } from "./useNestedProp-Ckf_2P_V.js";
|
|
4
|
+
import { u as Ko, B as Qo } from "./BaseScanner-BMpwQAfz.js";
|
|
5
|
+
import { u as et } from "./usePrinter-1NmjuP-i.js";
|
|
6
|
+
import { u as ot } from "./useSvgExport-ByUukOZt.js";
|
|
7
|
+
import { u as tt } from "./useThemeCheck-D1ZYXUwG.js";
|
|
8
|
+
import { u as lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import { u as at } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
+
import st from "./img-6fNF_rG0.js";
|
|
11
|
+
import { u as nt } from "./usePanZoom-CDF7rb3o.js";
|
|
12
|
+
import { _ as rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const Le = { userOptions: { show: !1 } }, Ze = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nodes: { stroke: "#4A4A4A", strokeHovered: "#CCCCCC" }, links: { stroke: "#4A4A4A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, He = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nodes: { stroke: "#4A4A4A", strokeHovered: "#CCCCCC" }, links: { stroke: "#4A4A4A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Ue = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", nodes: { stroke: "#333333", strokeHovered: "#FFFFFF" }, links: { stroke: "#333333" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, ze = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", nodes: { stroke: "#333333", strokeHovered: "#FFF8E1" }, links: { stroke: "#333333" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Re = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", nodes: { stroke: "#1A1A1A", strokeHovered: "#00FF00" }, links: { stroke: "#333333" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Me = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", nodes: { stroke: "#fbfafa", strokeHovered: "#5E5E5E" }, links: { stroke: "#e8ede1" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, xe = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", nodes: { stroke: "#61747E", strokeHovered: "#404C4D" }, links: { stroke: "#BBCBC7" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Ve = {
|
|
14
14
|
default: {},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
minimal: Le,
|
|
16
|
+
minimalDark: Ze,
|
|
17
|
+
dark: He,
|
|
18
|
+
celebration: Ue,
|
|
19
|
+
celebrationNight: ze,
|
|
20
|
+
hack: Re,
|
|
21
|
+
zen: Me,
|
|
22
|
+
concrete: xe
|
|
23
|
+
}, It = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22
24
|
__proto__: null,
|
|
23
|
-
celebration:
|
|
24
|
-
celebrationNight:
|
|
25
|
-
concrete:
|
|
26
|
-
dark:
|
|
27
|
-
default:
|
|
28
|
-
hack:
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
celebration: Ue,
|
|
26
|
+
celebrationNight: ze,
|
|
27
|
+
concrete: xe,
|
|
28
|
+
dark: He,
|
|
29
|
+
default: Ve,
|
|
30
|
+
hack: Re,
|
|
31
|
+
minimal: Le,
|
|
32
|
+
minimalDark: Ze,
|
|
33
|
+
zen: Me
|
|
34
|
+
}, Symbol.toStringTag, { value: "Module" })), it = ["id"], ut = {
|
|
31
35
|
key: 1,
|
|
32
36
|
ref: "noTitle",
|
|
33
37
|
class: "vue-data-ui-no-title-space",
|
|
34
38
|
style: "height:36px; width: 100%;background:transparent"
|
|
35
|
-
},
|
|
39
|
+
}, ct = {
|
|
36
40
|
key: 2,
|
|
37
41
|
style: "width:100%;background:transparent;"
|
|
38
|
-
},
|
|
42
|
+
}, dt = ["xmlns", "viewBox"], vt = ["width", "height"], Ct = ["id"], ht = ["stop-color"], ft = ["stop-color"], pt = {
|
|
39
43
|
key: 4,
|
|
40
44
|
class: "vue-data-ui-watermark"
|
|
41
|
-
},
|
|
45
|
+
}, gt = {
|
|
42
46
|
key: 5,
|
|
43
47
|
"data-dom-to-png-ignore": "",
|
|
44
48
|
class: "reset-wrapper"
|
|
45
|
-
},
|
|
49
|
+
}, bt = {
|
|
46
50
|
key: 6,
|
|
47
51
|
ref: "source",
|
|
48
52
|
dir: "auto"
|
|
49
|
-
},
|
|
53
|
+
}, mt = ["innerHTML"], At = {
|
|
50
54
|
__name: "vue-ui-molecule",
|
|
51
55
|
props: {
|
|
52
56
|
config: {
|
|
@@ -63,24 +67,24 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
63
67
|
}
|
|
64
68
|
},
|
|
65
69
|
emits: ["selectNode"],
|
|
66
|
-
setup(
|
|
67
|
-
|
|
70
|
+
setup(Ge, { expose: je, emit: We }) {
|
|
71
|
+
Eo((o) => ({
|
|
68
72
|
v992a1d7e: o.slicerColor
|
|
69
73
|
}));
|
|
70
|
-
const
|
|
71
|
-
|
|
74
|
+
const Xe = f(() => import("./Title-NgeRXqRA.js")), Ye = f(() => import("./Tooltip-B6qvABDL.js")), te = f(() => import("./BaseIcon-4uOct8re.js")), qe = f(() => import("./vue-ui-accordion-DFKaB_05.js")), Je = f(() => import("./DataTable-DyoDzNNY.js")), Ke = f(() => import("./PenAndPaper-LTuSTmWE.js")), Qe = f(() => import("./UserOptions-CX7Xsusk.js")), eo = f(() => import("./PackageVersion-CQxJyGQr.js")), oo = f(() => import("./RecursiveLinks-Da489v6n.js")), to = f(() => import("./RecursiveLabels-DxmctYbA.js")), lo = f(() => import("./RecursiveCircles-CM4bn2Vg.js")), ao = f(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_molecule: so } = Jo(), { isThemeValid: no, warnInvalidTheme: ro } = tt(), w = Ge, io = We, le = p(() => !!w.dataset && w.dataset.length);
|
|
75
|
+
Bo(() => {
|
|
72
76
|
ae();
|
|
73
77
|
});
|
|
74
|
-
const
|
|
78
|
+
const uo = p(() => e.value.debug);
|
|
75
79
|
function ae() {
|
|
76
|
-
|
|
80
|
+
Ho(w.dataset) && Uo({
|
|
77
81
|
componentName: "VueUiMolecule",
|
|
78
82
|
type: "dataset",
|
|
79
|
-
debug:
|
|
83
|
+
debug: uo.value
|
|
80
84
|
});
|
|
81
85
|
}
|
|
82
|
-
const M = c(Pe()), x = c(!1), L = c(""), T = c(null), se = c(0), ne = c(0), re = c(0), E = c(null), V = c(null), e = c(X()), { loading: G, FINAL_DATASET: j } =
|
|
83
|
-
...
|
|
86
|
+
const M = c(Pe()), x = c(!1), L = c(""), T = c(null), se = c(0), ne = c(0), re = c(0), E = c(null), V = c(null), e = c(X()), { loading: G, FINAL_DATASET: j } = Ko({
|
|
87
|
+
...Po(w),
|
|
84
88
|
FINAL_CONFIG: e,
|
|
85
89
|
prepareConfig: X,
|
|
86
90
|
skeletonDataset: [
|
|
@@ -121,7 +125,7 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
121
125
|
]
|
|
122
126
|
}
|
|
123
127
|
],
|
|
124
|
-
skeletonConfig:
|
|
128
|
+
skeletonConfig: zo({
|
|
125
129
|
defaultConfig: e.value,
|
|
126
130
|
userConfig: {
|
|
127
131
|
userOptions: { show: !1 },
|
|
@@ -135,17 +139,17 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
135
139
|
}
|
|
136
140
|
}
|
|
137
141
|
})
|
|
138
|
-
}), { userOptionsVisible: W, setUserOptionsVisibility: ie, keepUserOptionState: ue } =
|
|
142
|
+
}), { userOptionsVisible: W, setUserOptionsVisibility: ie, keepUserOptionState: ue } = lt({ config: e.value }), { svgRef: B } = at({ config: e.value.style.chart.title });
|
|
139
143
|
function X() {
|
|
140
144
|
const o = oe({
|
|
141
145
|
userConfig: w.config,
|
|
142
|
-
defaultConfig:
|
|
146
|
+
defaultConfig: so
|
|
143
147
|
}), l = o.theme;
|
|
144
148
|
if (!l) return o;
|
|
145
|
-
if (!
|
|
146
|
-
return
|
|
149
|
+
if (!no.value(o))
|
|
150
|
+
return ro(o), o;
|
|
147
151
|
const t = oe({
|
|
148
|
-
userConfig:
|
|
152
|
+
userConfig: Ve[l] || w.config,
|
|
149
153
|
defaultConfig: o
|
|
150
154
|
}), s = oe({
|
|
151
155
|
userConfig: w.config,
|
|
@@ -153,29 +157,29 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
153
157
|
});
|
|
154
158
|
return {
|
|
155
159
|
...s,
|
|
156
|
-
customPalette: s.customPalette.length ? s.customPalette :
|
|
160
|
+
customPalette: s.customPalette.length ? s.customPalette : Ro[l] || Ie
|
|
157
161
|
};
|
|
158
162
|
}
|
|
159
|
-
|
|
163
|
+
U(() => w.config, (o) => {
|
|
160
164
|
e.value = X(), W.value = !e.value.userOptions.showOnChartHover, ae(), ne.value += 1, re.value += 1, u.value.showTable = e.value.table.show, u.value.showTooltip = e.value.style.chart.tooltip.show, u.value.showZoom = e.value.style.chart.zoom.show;
|
|
161
165
|
}, { deep: !0 });
|
|
162
|
-
const ce = c(0),
|
|
166
|
+
const ce = c(0), co = () => {
|
|
163
167
|
ce.value += 1;
|
|
164
168
|
};
|
|
165
|
-
|
|
166
|
-
o || (await
|
|
169
|
+
U([() => G.value, () => j.value], async ([o]) => {
|
|
170
|
+
o || (await z(), g.value = pe(), await z(), co(), await z(), wo({ x: 0, y: 0, width: 400, height: 400 }), K(!1));
|
|
167
171
|
}, { flush: "post", deep: !1 });
|
|
168
|
-
const { isPrinting: de, isImaging: ve, generatePdf:
|
|
172
|
+
const { isPrinting: de, isImaging: ve, generatePdf: Ce, generateImage: he } = et({
|
|
169
173
|
elementId: `cluster_${M.value}`,
|
|
170
174
|
fileName: e.value.style.chart.title.text || "vue-ui-molecule",
|
|
171
175
|
options: e.value.userOptions.print
|
|
172
|
-
}),
|
|
176
|
+
}), vo = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), Co = p(() => Mo(e.value.customPalette)), u = c({
|
|
173
177
|
showTable: e.value.table.show,
|
|
174
178
|
showDataLabels: !0,
|
|
175
179
|
showTooltip: e.value.style.chart.tooltip.show,
|
|
176
180
|
showZoom: e.value.style.chart.zoom.show
|
|
177
181
|
});
|
|
178
|
-
|
|
182
|
+
U(e, () => {
|
|
179
183
|
u.value = {
|
|
180
184
|
showTable: e.value.table.show,
|
|
181
185
|
showDataLabels: !0,
|
|
@@ -183,11 +187,11 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
183
187
|
showZoom: e.value.style.chart.zoom.show
|
|
184
188
|
};
|
|
185
189
|
}, { immediate: !0 });
|
|
186
|
-
function
|
|
187
|
-
return Array.isArray(o) && o.length > 0 && o[0].nodes ?
|
|
190
|
+
function fe(o, l = 0) {
|
|
191
|
+
return Array.isArray(o) && o.length > 0 && o[0].nodes ? fe(o[0].nodes, l + 1) : l;
|
|
188
192
|
}
|
|
189
|
-
function
|
|
190
|
-
const o =
|
|
193
|
+
function pe() {
|
|
194
|
+
const o = fe(j.value);
|
|
191
195
|
let l = 100, t = l;
|
|
192
196
|
for (let s = 0; s < o; s += 1)
|
|
193
197
|
l /= 1, t += l;
|
|
@@ -196,34 +200,34 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
196
200
|
width: t
|
|
197
201
|
};
|
|
198
202
|
}
|
|
199
|
-
const g = c(
|
|
203
|
+
const g = c(pe());
|
|
200
204
|
function ge(o, l = { x: -g.value.width / 2.43, y: g.value.height / 2 }, t = g.value.width / 1.1, s = 24, n = 0, d = 0, b = "#BBBBBB", Q = 0) {
|
|
201
205
|
if (!Array.isArray(o) || o.length === 0) return o;
|
|
202
|
-
const
|
|
206
|
+
const So = jo({
|
|
203
207
|
plot: l,
|
|
204
208
|
radius: t,
|
|
205
209
|
sides: o.length,
|
|
206
210
|
rotation: n
|
|
207
211
|
});
|
|
208
212
|
return o.forEach((m, Fe) => {
|
|
209
|
-
const
|
|
213
|
+
const Oe = So.coordinates[Fe], _e = m.color ? (() => {
|
|
210
214
|
let ee = Ne(m.color);
|
|
211
215
|
return ee.startsWith("#") ? ee : `#${ee}`;
|
|
212
216
|
})() : null;
|
|
213
|
-
let
|
|
214
|
-
|
|
217
|
+
let _;
|
|
218
|
+
_e ? _ = _e : Q === 0 ? _ = b : Q === 1 ? (_ = Co.value[d] || Ie[d] || b, d += 1) : _ = b, m.polygonPath = { coordinates: [Oe] }, m.circleRadius = s, m.color = _, m.uid = Pe(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = ge(
|
|
215
219
|
m.nodes,
|
|
216
|
-
|
|
220
|
+
Oe,
|
|
217
221
|
t / 2.9,
|
|
218
222
|
s / 2.2,
|
|
219
223
|
n + Math.PI * Fe / m.nodes.length,
|
|
220
224
|
d,
|
|
221
|
-
|
|
225
|
+
_,
|
|
222
226
|
Q + 1
|
|
223
227
|
));
|
|
224
228
|
}), o;
|
|
225
229
|
}
|
|
226
|
-
function
|
|
230
|
+
function ho(o) {
|
|
227
231
|
const l = /* @__PURE__ */ new Set();
|
|
228
232
|
function t(n) {
|
|
229
233
|
n.forEach((d) => {
|
|
@@ -239,29 +243,29 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
239
243
|
s[n] = `gradient_${d}`;
|
|
240
244
|
}), s;
|
|
241
245
|
}
|
|
242
|
-
const fo =
|
|
243
|
-
const o =
|
|
246
|
+
const fo = p(() => ho(y.value)), y = p(() => {
|
|
247
|
+
const o = xo(j.value);
|
|
244
248
|
return ge(o);
|
|
245
249
|
}), Y = c(null);
|
|
246
|
-
function
|
|
250
|
+
function po(o) {
|
|
247
251
|
Y.value = {
|
|
248
252
|
datapoint: o,
|
|
249
253
|
seriesIndex: -1,
|
|
250
|
-
series:
|
|
254
|
+
series: y.value,
|
|
251
255
|
config: e.value
|
|
252
256
|
};
|
|
253
257
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
254
|
-
if (
|
|
258
|
+
if (Yo(l) && qo(() => l({
|
|
255
259
|
seriesIndex: -1,
|
|
256
260
|
datapoint: o,
|
|
257
|
-
series:
|
|
261
|
+
series: y.value,
|
|
258
262
|
config: e.value
|
|
259
263
|
})))
|
|
260
264
|
L.value = l({
|
|
261
265
|
seriesIndex: -1,
|
|
262
266
|
// well, ok
|
|
263
267
|
datapoint: o,
|
|
264
|
-
series:
|
|
268
|
+
series: y.value,
|
|
265
269
|
config: e.value
|
|
266
270
|
});
|
|
267
271
|
else {
|
|
@@ -270,10 +274,10 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
270
274
|
}
|
|
271
275
|
}
|
|
272
276
|
const Z = c(null), P = c(null), be = c(null);
|
|
273
|
-
function
|
|
274
|
-
be.value = Z.value, Z.value = o, o ? e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: -1 }) : e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: be.value || Z.value, seriesIndex: -1 }), o ? (x.value = !0,
|
|
277
|
+
function go(o) {
|
|
278
|
+
be.value = Z.value, Z.value = o, o ? e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: -1 }) : e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: be.value || Z.value, seriesIndex: -1 }), o ? (x.value = !0, po(o), P.value = o.uid) : (x.value = !1, L.value = "", P.value = null);
|
|
275
279
|
}
|
|
276
|
-
function
|
|
280
|
+
function bo(o) {
|
|
277
281
|
const l = [];
|
|
278
282
|
function t(s) {
|
|
279
283
|
s.forEach((n) => {
|
|
@@ -288,12 +292,12 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
288
292
|
}
|
|
289
293
|
return t(o), l;
|
|
290
294
|
}
|
|
291
|
-
const
|
|
295
|
+
const mo = p(() => bo(y.value)), F = p(() => {
|
|
292
296
|
const o = [
|
|
293
297
|
e.value.table.translations.nodeName,
|
|
294
298
|
e.value.table.translations.details,
|
|
295
299
|
e.value.table.translations.ancestor
|
|
296
|
-
], l =
|
|
300
|
+
], l = mo.value.map((n, d) => [
|
|
297
301
|
{
|
|
298
302
|
color: n.color,
|
|
299
303
|
name: n.name
|
|
@@ -325,25 +329,25 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
325
329
|
};
|
|
326
330
|
});
|
|
327
331
|
function q(o = null) {
|
|
328
|
-
|
|
329
|
-
const l = F.value.body.map((n, d) => [[n[0].name], [n[1]], [n[2]]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[...F.value.head]]].concat(l), s =
|
|
330
|
-
o ? o(s) :
|
|
332
|
+
z(() => {
|
|
333
|
+
const l = F.value.body.map((n, d) => [[n[0].name], [n[1]], [n[2]]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[...F.value.head]]].concat(l), s = Wo(t);
|
|
334
|
+
o ? o(s) : Xo({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-molecule" });
|
|
331
335
|
});
|
|
332
336
|
}
|
|
333
|
-
function
|
|
334
|
-
return
|
|
337
|
+
function Ao() {
|
|
338
|
+
return y.value;
|
|
335
339
|
}
|
|
336
|
-
const
|
|
340
|
+
const O = c(!1);
|
|
337
341
|
function me(o) {
|
|
338
|
-
|
|
342
|
+
O.value = o, se.value += 1;
|
|
339
343
|
}
|
|
340
|
-
function
|
|
344
|
+
function Ae() {
|
|
341
345
|
u.value.showTable = !u.value.showTable;
|
|
342
346
|
}
|
|
343
|
-
function
|
|
347
|
+
function ke() {
|
|
344
348
|
u.value.showDataLabels = !u.value.showDataLabels;
|
|
345
349
|
}
|
|
346
|
-
function
|
|
350
|
+
function ye() {
|
|
347
351
|
u.value.showTooltip = !u.value.showTooltip;
|
|
348
352
|
}
|
|
349
353
|
function we() {
|
|
@@ -353,18 +357,18 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
353
357
|
function J() {
|
|
354
358
|
I.value = !I.value;
|
|
355
359
|
}
|
|
356
|
-
const
|
|
360
|
+
const ko = p(() => !I.value && u.value.showZoom), { viewBox: H, resetZoom: K, isZoom: yo, setInitialViewBox: wo } = nt(B, {
|
|
357
361
|
x: 0,
|
|
358
362
|
y: 0,
|
|
359
363
|
width: Math.max(10, g.value.width),
|
|
360
364
|
height: Math.max(10, g.value.height)
|
|
361
|
-
}, e.value.style.chart.zoom.speed,
|
|
362
|
-
function
|
|
363
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: o, seriesIndex: -1 }),
|
|
365
|
+
}, e.value.style.chart.zoom.speed, ko);
|
|
366
|
+
function To(o) {
|
|
367
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: o, seriesIndex: -1 }), io("selectNode", o);
|
|
364
368
|
}
|
|
365
|
-
async function
|
|
369
|
+
async function $o({ scale: o = 2 } = {}) {
|
|
366
370
|
if (!T.value) return;
|
|
367
|
-
const { width: l, height: t } = T.value.getBoundingClientRect(), s = l / t, { imageUri: n, base64: d } = await
|
|
371
|
+
const { width: l, height: t } = T.value.getBoundingClientRect(), s = l / t, { imageUri: n, base64: d } = await st({ domElement: T.value, base64: !0, img: !0, scale: o });
|
|
368
372
|
return {
|
|
369
373
|
imageUri: n,
|
|
370
374
|
base64: d,
|
|
@@ -374,17 +378,17 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
374
378
|
aspectRatio: s
|
|
375
379
|
};
|
|
376
380
|
}
|
|
377
|
-
const N =
|
|
381
|
+
const N = p(() => {
|
|
378
382
|
const o = e.value.table.useDialog && !e.value.table.show, l = u.value.showTable;
|
|
379
383
|
return {
|
|
380
|
-
component: o ?
|
|
384
|
+
component: o ? ao : qe,
|
|
381
385
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
382
386
|
props: o ? {
|
|
383
387
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
384
388
|
color: e.value.table.th.color,
|
|
385
389
|
headerColor: e.value.table.th.color,
|
|
386
390
|
headerBg: e.value.table.th.backgroundColor,
|
|
387
|
-
isFullscreen:
|
|
391
|
+
isFullscreen: O.value,
|
|
388
392
|
fullscreenParent: T.value,
|
|
389
393
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
390
394
|
} : {
|
|
@@ -404,41 +408,41 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
404
408
|
}
|
|
405
409
|
};
|
|
406
410
|
});
|
|
407
|
-
|
|
411
|
+
U(() => u.value.showTable, (o) => {
|
|
408
412
|
e.value.table.show || (o && e.value.table.useDialog && E.value ? E.value.open() : "close" in E.value && E.value.close());
|
|
409
413
|
});
|
|
410
414
|
function Te() {
|
|
411
415
|
u.value.showTable = !1, V.value && V.value.setTableIconState(!1);
|
|
412
416
|
}
|
|
413
|
-
const
|
|
417
|
+
const Fo = p(() => e.value.style.chart.backgroundColor), Oo = p(() => e.value.style.chart.title), { exportSvg: _o, getSvg: Do } = ot({
|
|
414
418
|
svg: B,
|
|
415
|
-
title:
|
|
416
|
-
backgroundColor:
|
|
419
|
+
title: Oo,
|
|
420
|
+
backgroundColor: Fo
|
|
417
421
|
});
|
|
418
422
|
async function $e({ isCb: o }) {
|
|
419
423
|
if (o) {
|
|
420
|
-
const { blob: l, url: t, text: s, dataUrl: n } = await
|
|
424
|
+
const { blob: l, url: t, text: s, dataUrl: n } = await Do();
|
|
421
425
|
e.value.userOptions.callbacks.svg({ blob: l, url: t, text: s, dataUrl: n });
|
|
422
426
|
} else
|
|
423
|
-
|
|
427
|
+
_o();
|
|
424
428
|
}
|
|
425
|
-
return
|
|
426
|
-
getData:
|
|
427
|
-
getImage:
|
|
428
|
-
generatePdf:
|
|
429
|
+
return je({
|
|
430
|
+
getData: Ao,
|
|
431
|
+
getImage: $o,
|
|
432
|
+
generatePdf: Ce,
|
|
429
433
|
generateCsv: q,
|
|
430
434
|
generateImage: he,
|
|
431
435
|
generateSvg: $e,
|
|
432
|
-
toggleTable:
|
|
433
|
-
toggleLabels:
|
|
434
|
-
toggleTooltip:
|
|
436
|
+
toggleTable: Ae,
|
|
437
|
+
toggleLabels: ke,
|
|
438
|
+
toggleTooltip: ye,
|
|
435
439
|
toggleAnnotator: J,
|
|
436
440
|
toggleFullscreen: me,
|
|
437
441
|
toggleZoom: we
|
|
438
|
-
}), (o, l) => (v(),
|
|
442
|
+
}), (o, l) => (v(), k("div", {
|
|
439
443
|
ref_key: "moleculeChart",
|
|
440
444
|
ref: T,
|
|
441
|
-
class: De(`vue-data-ui-component vue-ui-molecule ${
|
|
445
|
+
class: De(`vue-data-ui-component vue-ui-molecule ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
442
446
|
style: R(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
443
447
|
id: `cluster_${M.value}`,
|
|
444
448
|
onMouseleave: l[2] || (l[2] = (t) => {
|
|
@@ -446,7 +450,7 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
446
450
|
}),
|
|
447
451
|
onMouseenter: l[3] || (l[3] = () => a(ie)(!0))
|
|
448
452
|
}, [
|
|
449
|
-
e.value.userOptions.buttons.annotator && a(B) ? (v(), $(a(
|
|
453
|
+
e.value.userOptions.buttons.annotator && a(B) ? (v(), $(a(Ke), {
|
|
450
454
|
key: 0,
|
|
451
455
|
svgRef: a(B),
|
|
452
456
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -458,25 +462,25 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
458
462
|
i(o.$slots, "annotator-action-close", {}, void 0, !0)
|
|
459
463
|
]),
|
|
460
464
|
"annotator-action-color": r(({ color: t }) => [
|
|
461
|
-
i(o.$slots, "annotator-action-color",
|
|
465
|
+
i(o.$slots, "annotator-action-color", C(h({ color: t })), void 0, !0)
|
|
462
466
|
]),
|
|
463
467
|
"annotator-action-draw": r(({ mode: t }) => [
|
|
464
|
-
i(o.$slots, "annotator-action-draw",
|
|
468
|
+
i(o.$slots, "annotator-action-draw", C(h({ mode: t })), void 0, !0)
|
|
465
469
|
]),
|
|
466
470
|
"annotator-action-undo": r(({ disabled: t }) => [
|
|
467
|
-
i(o.$slots, "annotator-action-undo",
|
|
471
|
+
i(o.$slots, "annotator-action-undo", C(h({ disabled: t })), void 0, !0)
|
|
468
472
|
]),
|
|
469
473
|
"annotator-action-redo": r(({ disabled: t }) => [
|
|
470
|
-
i(o.$slots, "annotator-action-redo",
|
|
474
|
+
i(o.$slots, "annotator-action-redo", C(h({ disabled: t })), void 0, !0)
|
|
471
475
|
]),
|
|
472
476
|
"annotator-action-delete": r(({ disabled: t }) => [
|
|
473
|
-
i(o.$slots, "annotator-action-delete",
|
|
477
|
+
i(o.$slots, "annotator-action-delete", C(h({ disabled: t })), void 0, !0)
|
|
474
478
|
]),
|
|
475
479
|
_: 3
|
|
476
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
477
|
-
|
|
478
|
-
e.value.style.chart.title.text ? (v(),
|
|
479
|
-
(v(), $(a(
|
|
480
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : A("", !0),
|
|
481
|
+
vo.value ? (v(), k("div", ut, null, 512)) : A("", !0),
|
|
482
|
+
e.value.style.chart.title.text ? (v(), k("div", ct, [
|
|
483
|
+
(v(), $(a(Xe), {
|
|
480
484
|
key: `title_${ne.value}`,
|
|
481
485
|
config: {
|
|
482
486
|
title: {
|
|
@@ -489,8 +493,8 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
489
493
|
}
|
|
490
494
|
}
|
|
491
495
|
}, null, 8, ["config"]))
|
|
492
|
-
])) :
|
|
493
|
-
e.value.userOptions.show && le.value && (a(ue) || a(W)) ? (v(), $(a(
|
|
496
|
+
])) : A("", !0),
|
|
497
|
+
e.value.userOptions.show && le.value && (a(ue) || a(W)) ? (v(), $(a(Qe), {
|
|
494
498
|
ref_key: "userOptionsRef",
|
|
495
499
|
ref: V,
|
|
496
500
|
key: `user_options_${se.value}`,
|
|
@@ -519,13 +523,13 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
519
523
|
hasZoom: e.value.userOptions.buttons.zoom,
|
|
520
524
|
isZoom: u.value.showZoom,
|
|
521
525
|
onToggleFullscreen: me,
|
|
522
|
-
onGeneratePdf: a(
|
|
526
|
+
onGeneratePdf: a(Ce),
|
|
523
527
|
onGenerateCsv: q,
|
|
524
528
|
onGenerateImage: a(he),
|
|
525
529
|
onGenerateSvg: $e,
|
|
526
|
-
onToggleTable:
|
|
527
|
-
onToggleLabels:
|
|
528
|
-
onToggleTooltip:
|
|
530
|
+
onToggleTable: Ae,
|
|
531
|
+
onToggleLabels: ke,
|
|
532
|
+
onToggleTooltip: ye,
|
|
529
533
|
onToggleAnnotator: J,
|
|
530
534
|
onToggleZoom: we,
|
|
531
535
|
style: R({
|
|
@@ -535,7 +539,7 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
535
539
|
o.$slots.menuIcon ? {
|
|
536
540
|
name: "menuIcon",
|
|
537
541
|
fn: r(({ isOpen: t, color: s }) => [
|
|
538
|
-
i(o.$slots, "menuIcon",
|
|
542
|
+
i(o.$slots, "menuIcon", C(h({ isOpen: t, color: s })), void 0, !0)
|
|
539
543
|
]),
|
|
540
544
|
key: "0"
|
|
541
545
|
} : void 0,
|
|
@@ -591,36 +595,36 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
591
595
|
o.$slots.optionFullscreen ? {
|
|
592
596
|
name: "optionFullscreen",
|
|
593
597
|
fn: r(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
594
|
-
i(o.$slots, "optionFullscreen",
|
|
598
|
+
i(o.$slots, "optionFullscreen", C(h({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
595
599
|
]),
|
|
596
600
|
key: "8"
|
|
597
601
|
} : void 0,
|
|
598
602
|
o.$slots.optionAnnotator ? {
|
|
599
603
|
name: "optionAnnotator",
|
|
600
604
|
fn: r(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
601
|
-
i(o.$slots, "optionAnnotator",
|
|
605
|
+
i(o.$slots, "optionAnnotator", C(h({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
602
606
|
]),
|
|
603
607
|
key: "9"
|
|
604
608
|
} : void 0,
|
|
605
609
|
o.$slots.optionZoom ? {
|
|
606
610
|
name: "optionZoom",
|
|
607
611
|
fn: r(({ toggleZoom: t, isZoomLocked: s }) => [
|
|
608
|
-
i(o.$slots, "optionZoom",
|
|
612
|
+
i(o.$slots, "optionZoom", C(h({ toggleZoom: t, isZoomLocked: s })), void 0, !0)
|
|
609
613
|
]),
|
|
610
614
|
key: "10"
|
|
611
615
|
} : void 0
|
|
612
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "hasZoom", "isZoom", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
613
|
-
(v(),
|
|
616
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "hasZoom", "isZoom", "onGeneratePdf", "onGenerateImage", "style"])) : A("", !0),
|
|
617
|
+
(v(), k("svg", {
|
|
614
618
|
ref_key: "svgRef",
|
|
615
619
|
ref: B,
|
|
616
620
|
key: `svg_${ce.value}`,
|
|
617
|
-
xmlns: a(
|
|
618
|
-
viewBox: `${a(
|
|
619
|
-
class: De({ "vue-data-ui-fullscreen--on":
|
|
621
|
+
xmlns: a(Vo),
|
|
622
|
+
viewBox: `${a(H).x} ${a(H).y} ${a(H).width} ${a(H).height}`,
|
|
623
|
+
class: De({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
620
624
|
style: R(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
|
|
621
625
|
}, [
|
|
622
|
-
D(a(
|
|
623
|
-
o.$slots["chart-background"] ? (v(),
|
|
626
|
+
D(a(eo)),
|
|
627
|
+
o.$slots["chart-background"] ? (v(), k("foreignObject", {
|
|
624
628
|
key: 0,
|
|
625
629
|
x: 0,
|
|
626
630
|
y: 0,
|
|
@@ -631,9 +635,9 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
631
635
|
}
|
|
632
636
|
}, [
|
|
633
637
|
i(o.$slots, "chart-background", {}, void 0, !0)
|
|
634
|
-
], 8,
|
|
638
|
+
], 8, vt)) : A("", !0),
|
|
635
639
|
S("defs", null, [
|
|
636
|
-
(v(!0),
|
|
640
|
+
(v(!0), k(Io, null, No(Object.keys(fo.value), (t) => (v(), k("radialGradient", {
|
|
637
641
|
id: `gradient_${t}`,
|
|
638
642
|
cx: "50%",
|
|
639
643
|
cy: "30%",
|
|
@@ -643,44 +647,44 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
643
647
|
}, [
|
|
644
648
|
S("stop", {
|
|
645
649
|
offset: "0%",
|
|
646
|
-
"stop-color": a(
|
|
647
|
-
}, null, 8,
|
|
650
|
+
"stop-color": a(Go)(t, 0.5)
|
|
651
|
+
}, null, 8, ht),
|
|
648
652
|
S("stop", {
|
|
649
653
|
offset: "100%",
|
|
650
654
|
"stop-color": t
|
|
651
655
|
}, null, 8, ft)
|
|
652
|
-
], 8,
|
|
656
|
+
], 8, Ct))), 256))
|
|
653
657
|
]),
|
|
654
|
-
D(a(
|
|
655
|
-
dataset:
|
|
658
|
+
D(a(oo), {
|
|
659
|
+
dataset: y.value,
|
|
656
660
|
color: e.value.style.chart.links.stroke,
|
|
657
661
|
backgroundColor: e.value.style.chart.backgroundColor
|
|
658
662
|
}, null, 8, ["dataset", "color", "backgroundColor"]),
|
|
659
|
-
D(a(
|
|
660
|
-
dataset:
|
|
663
|
+
D(a(lo), {
|
|
664
|
+
dataset: y.value,
|
|
661
665
|
hoveredUid: P.value,
|
|
662
666
|
stroke: e.value.style.chart.nodes.stroke,
|
|
663
667
|
strokeHovered: e.value.style.chart.nodes.strokeHovered,
|
|
664
|
-
onClick:
|
|
665
|
-
onHover:
|
|
668
|
+
onClick: To,
|
|
669
|
+
onHover: go
|
|
666
670
|
}, {
|
|
667
671
|
node: r(({ node: t }) => [
|
|
668
|
-
i(o.$slots, "node",
|
|
672
|
+
i(o.$slots, "node", C(h({ node: t })), void 0, !0)
|
|
669
673
|
]),
|
|
670
674
|
_: 3
|
|
671
675
|
}, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
|
|
672
|
-
u.value.showDataLabels && !a(G) ? (v(), $(a(
|
|
676
|
+
u.value.showDataLabels && !a(G) ? (v(), $(a(to), {
|
|
673
677
|
key: 1,
|
|
674
|
-
dataset:
|
|
678
|
+
dataset: y.value,
|
|
675
679
|
color: e.value.style.chart.color,
|
|
676
680
|
hoveredUid: P.value
|
|
677
|
-
}, null, 8, ["dataset", "color", "hoveredUid"])) :
|
|
681
|
+
}, null, 8, ["dataset", "color", "hoveredUid"])) : A("", !0),
|
|
678
682
|
i(o.$slots, "svg", { svg: g.value }, void 0, !0)
|
|
679
|
-
], 14,
|
|
680
|
-
o.$slots.watermark ? (v(),
|
|
681
|
-
i(o.$slots, "watermark",
|
|
682
|
-
])) :
|
|
683
|
-
a(yo) ? (v(),
|
|
683
|
+
], 14, dt)),
|
|
684
|
+
o.$slots.watermark ? (v(), k("div", pt, [
|
|
685
|
+
i(o.$slots, "watermark", C(h({ isPrinting: a(de) || a(ve) })), void 0, !0)
|
|
686
|
+
])) : A("", !0),
|
|
687
|
+
a(yo) ? (v(), k("div", gt, [
|
|
684
688
|
i(o.$slots, "reset-action", { reset: a(K) }, () => [
|
|
685
689
|
S("button", {
|
|
686
690
|
"data-cy-reset": "",
|
|
@@ -698,11 +702,11 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
698
702
|
}, null, 8, ["stroke"])
|
|
699
703
|
], 4)
|
|
700
704
|
], !0)
|
|
701
|
-
])) :
|
|
702
|
-
o.$slots.source ? (v(),
|
|
705
|
+
])) : A("", !0),
|
|
706
|
+
o.$slots.source ? (v(), k("div", bt, [
|
|
703
707
|
i(o.$slots, "source", {}, void 0, !0)
|
|
704
|
-
], 512)) :
|
|
705
|
-
D(a(
|
|
708
|
+
], 512)) : A("", !0),
|
|
709
|
+
D(a(Ye), {
|
|
706
710
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
707
711
|
show: u.value.showTooltip && x.value,
|
|
708
712
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
@@ -716,7 +720,7 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
716
720
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
717
721
|
parent: T.value,
|
|
718
722
|
content: L.value,
|
|
719
|
-
isFullscreen:
|
|
723
|
+
isFullscreen: O.value,
|
|
720
724
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
721
725
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
722
726
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
@@ -724,20 +728,20 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
724
728
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
725
729
|
}, {
|
|
726
730
|
"tooltip-before": r(() => [
|
|
727
|
-
i(o.$slots, "tooltip-before",
|
|
731
|
+
i(o.$slots, "tooltip-before", C(h({ ...Y.value })), void 0, !0)
|
|
728
732
|
]),
|
|
729
733
|
"tooltip-after": r(() => [
|
|
730
|
-
i(o.$slots, "tooltip-after",
|
|
734
|
+
i(o.$slots, "tooltip-after", C(h({ ...Y.value })), void 0, !0)
|
|
731
735
|
]),
|
|
732
736
|
_: 3
|
|
733
737
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
734
|
-
le.value && e.value.userOptions.buttons.table ? (v(), $(
|
|
738
|
+
le.value && e.value.userOptions.buttons.table ? (v(), $(Lo(N.value.component), Zo({ key: 7 }, N.value.props, {
|
|
735
739
|
ref_key: "tableUnit",
|
|
736
740
|
ref: E,
|
|
737
741
|
onClose: Te
|
|
738
742
|
}), Se({
|
|
739
743
|
content: r(() => [
|
|
740
|
-
(v(), $(a(
|
|
744
|
+
(v(), $(a(Je), {
|
|
741
745
|
key: `table_${re.value}`,
|
|
742
746
|
colNames: F.value.colNames,
|
|
743
747
|
head: F.value.head,
|
|
@@ -751,7 +755,7 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
751
755
|
S("div", {
|
|
752
756
|
innerHTML: t,
|
|
753
757
|
style: { display: "flex", "align-items": "center" }
|
|
754
|
-
}, null, 8,
|
|
758
|
+
}, null, 8, mt)
|
|
755
759
|
]),
|
|
756
760
|
td: r(({ td: t }) => [
|
|
757
761
|
Ee(Be(t.name || t), 1)
|
|
@@ -784,16 +788,16 @@ const Le = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
784
788
|
]),
|
|
785
789
|
key: "1"
|
|
786
790
|
} : void 0
|
|
787
|
-
]), 1040)) :
|
|
788
|
-
a(G) ? (v(), $(
|
|
789
|
-
], 46,
|
|
791
|
+
]), 1040)) : A("", !0),
|
|
792
|
+
a(G) ? (v(), $(Qo, { key: 8 })) : A("", !0)
|
|
793
|
+
], 46, it));
|
|
790
794
|
}
|
|
791
|
-
},
|
|
795
|
+
}, kt = /* @__PURE__ */ rt(At, [["__scopeId", "data-v-f1c3323e"]]), Nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
792
796
|
__proto__: null,
|
|
793
|
-
default:
|
|
797
|
+
default: kt
|
|
794
798
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
795
799
|
export {
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
800
|
+
It as a,
|
|
801
|
+
Nt as b,
|
|
802
|
+
kt as v
|
|
799
803
|
};
|