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,65 +1,69 @@
|
|
|
1
|
-
import { defineAsyncComponent as ue, computed as D, ref as $, toRefs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t 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 { u as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { _ as tt } from "./Shape-
|
|
14
|
-
import
|
|
15
|
-
import { _ as
|
|
16
|
-
const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { axis: { stroke: "#5A5A5A" }, marginalBars: { fill: "#5A5A5A" }, plots: { stroke: "#1A1A1A", selectors: { stroke: "#5A5A5A", labels: { color: "#CCCCCC" }, markers: { stroke: "#1A1A1A", fill: "#5A5A5A" } } }, correlation: { label: { color: "#CCCCCC" } }, dataLabels: { xAxis: { color: "#CCCCCC" }, yAxis: { color: "#CCCCCC" } } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } },
|
|
1
|
+
import { defineAsyncComponent as ue, computed as D, ref as $, toRefs as Bl, watch as Fe, shallowRef as Dt, onMounted as Sl, onBeforeUnmount as Ll, createElementBlock as c, openBlock as i, unref as y, normalizeStyle as ie, normalizeClass as Ft, createBlock as se, createCommentVNode as m, createElementVNode as C, createVNode as we, withCtx as T, renderSlot as F, normalizeProps as K, guardReactiveProps as Q, createSlots as zt, Fragment as Z, renderList as le, toDisplayString as G, Teleport as Tl, resolveDynamicComponent as Dl, mergeProps as Fl, createTextVNode as Et, nextTick as zl } from "vue";
|
|
2
|
+
import { c as El, t as Pl, i as Ol, j as de, o as Pt, g as Ke, k as Nl, l as Ot, ai as Wl, m as Qe, ak as Il, A as Xl, s as ze, X as Yl, aj as Rl, a as ve, U as q, d as oe, v as jl, r as Ul, y as Vl, _ as Gl } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { t as ql, u as Hl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Zl, a as et } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as Jl, B as Kl } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
+
import { u as Ql } from "./usePrinter-1NmjuP-i.js";
|
|
7
|
+
import { u as eo } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as to } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as lo } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as oo } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import ao from "./Legend-DN5UJOBH.js";
|
|
12
|
+
import so from "./Title-NgeRXqRA.js";
|
|
13
|
+
import { _ as tt } from "./Shape-PzdCMGsP.js";
|
|
14
|
+
import ro from "./img-6fNF_rG0.js";
|
|
15
|
+
import { _ as no } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Nt = { userOptions: { show: !1 }, style: { legend: { show: !1 } } }, Wt = { userOptions: { show: !1 }, style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { axis: { stroke: "#5A5A5A" }, marginalBars: { fill: "#5A5A5A" }, plots: { stroke: "#1A1A1A", selectors: { stroke: "#5A5A5A", labels: { color: "#CCCCCC" }, markers: { stroke: "#1A1A1A", fill: "#5A5A5A" } } }, correlation: { label: { color: "#CCCCCC" } }, dataLabels: { xAxis: { color: "#CCCCCC" }, yAxis: { color: "#CCCCCC" } } }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, 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" } } }, It = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { axis: { stroke: "#5A5A5A" }, marginalBars: { fill: "#5A5A5A" }, plots: { stroke: "#1A1A1A", selectors: { stroke: "#5A5A5A", labels: { color: "#CCCCCC" }, markers: { stroke: "#1A1A1A", fill: "#5A5A5A" } } }, correlation: { label: { color: "#CCCCCC" } }, dataLabels: { xAxis: { color: "#CCCCCC" }, yAxis: { color: "#CCCCCC" } } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Xt = { style: { backgroundColor: "#FFF8E1", color: "#424242", layout: { axis: { stroke: "#5D403790" }, marginalBars: { fill: "#5D4037" }, plots: { stroke: "#FFF8E1", selectors: { stroke: "#5D4037", labels: { color: "#424242" }, markers: { stroke: "#FFF8E1", fill: "#D32F2F" } } }, correlation: { label: { color: "#424242" } }, dataLabels: { xAxis: { color: "#424242" }, yAxis: { color: "#424242" } } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Yt = { style: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { axis: { stroke: "#5D4037" }, marginalBars: { fill: "#D32F2F" }, plots: { stroke: "#1E1E1E", selectors: { stroke: "#BDBDBD", labels: { color: "#BDBDBD" }, markers: { stroke: "#BDBDBD", fill: "#D32F2F" } } }, correlation: { label: { color: "#BDBDBD" } }, dataLabels: { xAxis: { color: "#BDBDBD" }, yAxis: { color: "#BDBDBD" } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Rt = { style: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { axis: { stroke: "#334C33" }, marginalBars: { fill: "#66CC66" }, plots: { stroke: "#1A1A1A", selectors: { stroke: "#66CC66", labels: { color: "#AACCAA" }, markers: { stroke: "#66CC66", fill: "#1A1A1A" } } }, correlation: { label: { color: "#AACCAA" } }, dataLabels: { xAxis: { color: "#AACCAA" }, yAxis: { color: "#AACCAA" } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, jt = { style: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { axis: { stroke: "transparent" }, marginalBars: { fill: "#B0B9A8" }, plots: { stroke: "#fbfafa", selectors: { stroke: "#4F5B75", labels: { color: "#928A98" }, markers: { stroke: "#4F5B75", fill: "#fbfafa" } } }, correlation: { label: { color: "#928A98" } }, dataLabels: { xAxis: { color: "#928A98" }, yAxis: { color: "#928A98" } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Ut = { style: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { axis: { stroke: "#92B0B5" }, marginalBars: { fill: "#ABB1BC" }, plots: { stroke: "#fbfafa", selectors: { stroke: "#4F5B75", labels: { color: "#404C4D" }, markers: { stroke: "#4F5B75", fill: "#f6f6fb" } } }, correlation: { label: { color: "#61747E" } }, dataLabels: { xAxis: { color: "#61747E" }, yAxis: { color: "#61747E" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Vt = {
|
|
17
17
|
default: {},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
minimal: Nt,
|
|
19
|
+
minimalDark: Wt,
|
|
20
|
+
dark: It,
|
|
21
|
+
celebration: Xt,
|
|
22
|
+
celebrationNight: Yt,
|
|
23
|
+
hack: Rt,
|
|
24
|
+
zen: jt,
|
|
25
|
+
concrete: Ut
|
|
26
|
+
}, Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
27
|
__proto__: null,
|
|
26
|
-
celebration:
|
|
27
|
-
celebrationNight:
|
|
28
|
-
concrete:
|
|
29
|
-
dark:
|
|
30
|
-
default:
|
|
31
|
-
hack:
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
celebration: Xt,
|
|
29
|
+
celebrationNight: Yt,
|
|
30
|
+
concrete: Ut,
|
|
31
|
+
dark: It,
|
|
32
|
+
default: Vt,
|
|
33
|
+
hack: Rt,
|
|
34
|
+
minimal: Nt,
|
|
35
|
+
minimalDark: Wt,
|
|
36
|
+
zen: jt
|
|
37
|
+
}, Symbol.toStringTag, { value: "Module" })), uo = ["id"], io = ["id"], vo = ["xmlns", "viewBox"], co = ["width", "height"], yo = { key: 1 }, ho = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], go = { key: 2 }, po = ["id"], bo = ["stop-color"], mo = ["stop-color"], ko = ["id"], xo = ["stop-color"], Co = ["stop-color"], Ao = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], wo = ["x", "y", "width", "height", "onMouseenter"], $o = {
|
|
34
38
|
key: 2,
|
|
35
39
|
style: { "pointer-events": "none" }
|
|
36
|
-
},
|
|
40
|
+
}, _o = ["x", "y", "width", "height", "fill", "fill-opacity"], Mo = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], Bo = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], So = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Lo = ["x", "y", "width", "height", "onMouseenter"], To = {
|
|
37
41
|
key: 2,
|
|
38
42
|
style: { "pointer-events": "none" }
|
|
39
|
-
},
|
|
43
|
+
}, Do = ["x", "y", "width", "height", "fill", "fill-opacity"], Fo = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], zo = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], Eo = {
|
|
40
44
|
key: 0,
|
|
41
45
|
style: { "pointer-events": "none" }
|
|
42
|
-
},
|
|
46
|
+
}, Po = ["d", "stroke", "stroke-width"], Oo = ["d", "stroke", "stroke-width"], No = ["d", "stroke", "stroke-width"], Wo = ["d", "stroke", "stroke-width"], Io = { key: 3 }, Xo = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Yo = { key: 0 }, Ro = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover", "onMouseleave", "onClick"], jo = { key: 1 }, Uo = ["clip-path"], Vo = ["d", "fill", "stroke", "stroke-width", "stroke-opacity"], Go = {
|
|
43
47
|
key: 0,
|
|
44
48
|
style: { "pointer-events": "none" }
|
|
45
|
-
},
|
|
49
|
+
}, qo = ["x", "y", "width", "height"], Ho = {
|
|
46
50
|
key: 6,
|
|
47
51
|
style: { "pointer-events": "none !important" }
|
|
48
|
-
},
|
|
52
|
+
}, Zo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Jo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ko = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Qo = ["x", "y", "font-size", "fill", "font-weight"], ea = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ta = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], la = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], oa = ["id", "transform", "font-size", "font-weight", "fill"], aa = ["font-size", "fill", "transform"], sa = ["transform", "font-size", "fill"], ra = ["x", "y", "font-size", "fill"], na = ["x", "y", "font-size", "fill"], ua = ["font-size", "font-weight", "fill", "x", "y"], ia = ["id"], va = ["x", "y", "width", "height"], ca = {
|
|
49
53
|
key: 11,
|
|
50
54
|
style: { pointerEvents: "none" }
|
|
51
|
-
},
|
|
55
|
+
}, ya = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], da = ["x", "y", "fill", "font-size", "font-weight"], ha = {
|
|
52
56
|
key: 4,
|
|
53
57
|
class: "vue-data-ui-watermark"
|
|
54
|
-
},
|
|
58
|
+
}, fa = ["id"], ga = ["onClick"], pa = {
|
|
55
59
|
key: 0,
|
|
56
60
|
style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
57
|
-
},
|
|
61
|
+
}, ba = {
|
|
58
62
|
viewBox: "0 0 20 20",
|
|
59
63
|
height: "20",
|
|
60
64
|
width: "20",
|
|
61
65
|
style: { overflow: "hidden", background: "transparent" }
|
|
62
|
-
},
|
|
66
|
+
}, ma = { key: 0 }, ka = ["innerHTML"], xa = {
|
|
63
67
|
__name: "vue-ui-scatter",
|
|
64
68
|
props: {
|
|
65
69
|
config: {
|
|
@@ -75,41 +79,41 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
75
79
|
}
|
|
76
80
|
}
|
|
77
81
|
},
|
|
78
|
-
setup(
|
|
79
|
-
const
|
|
80
|
-
function
|
|
81
|
-
const { meanX: a = 0, sdX: s = 1, meanY:
|
|
82
|
+
setup(Gt, { expose: qt }) {
|
|
83
|
+
const Ht = ue(() => import("./Tooltip-B6qvABDL.js")), Zt = ue(() => import("./BaseIcon-4uOct8re.js")), Jt = ue(() => import("./vue-ui-accordion-DFKaB_05.js")), Kt = ue(() => import("./DataTable-DyoDzNNY.js")), Qt = ue(() => import("./PenAndPaper-LTuSTmWE.js")), el = ue(() => import("./UserOptions-CX7Xsusk.js")), tl = ue(() => import("./PackageVersion-CQxJyGQr.js")), ll = ue(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_scatter: ol } = Zl(), { isThemeValid: al, warnInvalidTheme: sl } = to(), ee = Gt, lt = D(() => !!ee.dataset && ee.dataset.length), X = $(El()), Ee = $(!1), Pe = $(""), ot = $(0), ae = $(null), at = $(null), st = $(null), rt = $(null), nt = $(null), ut = $(0), it = $(0), vt = $(0), W = $([]), ct = $(!1), pe = $(null), be = $(null), me = $(null), Oe = $(null), Ne = $(null), rl = $(null), nl = $(null), We = $(null), e = $(Re());
|
|
84
|
+
function ul(l = 100, o = 0.8, t = {}) {
|
|
85
|
+
const { meanX: a = 0, sdX: s = 1, meanY: n = 0, sdY: u = 1, seed: f } = t;
|
|
82
86
|
let v = (f ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
|
|
83
87
|
const p = () => (v = v * 1664525 + 1013904223 >>> 0, v / 2 ** 32), S = () => {
|
|
84
|
-
let
|
|
85
|
-
for (;
|
|
88
|
+
let b = 0, N = 0;
|
|
89
|
+
for (; b === 0; ) b = p();
|
|
86
90
|
for (; N === 0; ) N = p();
|
|
87
|
-
return Math.sqrt(-2 * Math.log(
|
|
88
|
-
}, d = l / 2, w = Array.from({ length: d }, S), O = Array.from({ length: d }, S), _ = (
|
|
89
|
-
for (let
|
|
90
|
-
w[
|
|
91
|
-
const L = (
|
|
92
|
-
const De = xe(
|
|
93
|
-
return
|
|
94
|
-
}, ge = fe(ye, s, a), Ce = fe(Ze, u,
|
|
95
|
-
for (let
|
|
96
|
-
const N = Math.floor(p() * (
|
|
97
|
-
[ge[
|
|
91
|
+
return Math.sqrt(-2 * Math.log(b)) * Math.cos(2 * Math.PI * N);
|
|
92
|
+
}, d = l / 2, w = Array.from({ length: d }, S), O = Array.from({ length: d }, S), _ = (b) => b.reduce((N, Ae) => N + Ae, 0) / b.length, z = _(w), Y = _(O);
|
|
93
|
+
for (let b = 0; b < d; b += 1)
|
|
94
|
+
w[b] -= z, O[b] -= Y;
|
|
95
|
+
const L = (b, N) => b.reduce((Ae, De, Je) => Ae + De * N[Je], 0), A = (b) => L(b, b), h = L(O, w) / A(w), B = O.map((b, N) => b - h * w[N]), V = A(w) / d, J = A(B) / d, ne = Math.sqrt((1 - o * o) * V / J), j = w.map((b, N) => o * b + ne * B[N]), ye = w.concat(w.map((b) => -b)), Ze = j.concat(j.map((b) => -b)), xe = (b) => Math.sqrt(A(b) / b.length), fe = (b, N, Ae) => {
|
|
96
|
+
const De = xe(b);
|
|
97
|
+
return b.map((Je) => Ae + (De ? Je / De * N : 0));
|
|
98
|
+
}, ge = fe(ye, s, a), Ce = fe(Ze, u, n);
|
|
99
|
+
for (let b = ge.length - 1; b > 0; b -= 1) {
|
|
100
|
+
const N = Math.floor(p() * (b + 1));
|
|
101
|
+
[ge[b], ge[N]] = [ge[N], ge[b]], [Ce[b], Ce[N]] = [Ce[N], Ce[b]];
|
|
98
102
|
}
|
|
99
|
-
return ge.map((
|
|
103
|
+
return ge.map((b, N) => ({ x: b, y: Ce[N] }));
|
|
100
104
|
}
|
|
101
|
-
const { loading: yt, FINAL_DATASET: Ie, manualLoading: Xe } =
|
|
102
|
-
...
|
|
105
|
+
const { loading: yt, FINAL_DATASET: Ie, manualLoading: Xe } = Jl({
|
|
106
|
+
...Bl(ee),
|
|
103
107
|
FINAL_CONFIG: e,
|
|
104
108
|
prepareConfig: Re,
|
|
105
109
|
skeletonDataset: [
|
|
106
110
|
{
|
|
107
111
|
name: "",
|
|
108
112
|
color: "#999999",
|
|
109
|
-
values:
|
|
113
|
+
values: ul(100, 0.5, { seed: 42 })
|
|
110
114
|
}
|
|
111
115
|
],
|
|
112
|
-
skeletonConfig:
|
|
116
|
+
skeletonConfig: Pl({
|
|
113
117
|
defaultConfig: e.value,
|
|
114
118
|
userConfig: {
|
|
115
119
|
userOptions: { show: !1 },
|
|
@@ -142,17 +146,17 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
142
146
|
}
|
|
143
147
|
}
|
|
144
148
|
})
|
|
145
|
-
}), { userOptionsVisible: Ye, setUserOptionsVisibility: dt, keepUserOptionState: ht } =
|
|
149
|
+
}), { userOptionsVisible: Ye, setUserOptionsVisibility: dt, keepUserOptionState: ht } = lo({ config: e.value }), { svgRef: $e } = oo({ config: e.value.style.title });
|
|
146
150
|
function Re() {
|
|
147
151
|
const l = et({
|
|
148
152
|
userConfig: ee.config,
|
|
149
|
-
defaultConfig:
|
|
153
|
+
defaultConfig: ol
|
|
150
154
|
}), o = l.theme;
|
|
151
155
|
if (!o) return l;
|
|
152
|
-
if (!
|
|
153
|
-
return
|
|
156
|
+
if (!al.value(l))
|
|
157
|
+
return sl(l), l;
|
|
154
158
|
const t = et({
|
|
155
|
-
userConfig:
|
|
159
|
+
userConfig: Vt[o] || ee.config,
|
|
156
160
|
defaultConfig: l
|
|
157
161
|
}), a = et({
|
|
158
162
|
userConfig: ee.config,
|
|
@@ -160,7 +164,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
160
164
|
});
|
|
161
165
|
return {
|
|
162
166
|
...a,
|
|
163
|
-
customPalette: a.customPalette.length ? a.customPalette :
|
|
167
|
+
customPalette: a.customPalette.length ? a.customPalette : Ol[o] || de
|
|
164
168
|
};
|
|
165
169
|
}
|
|
166
170
|
Fe(() => ee.config, (l) => {
|
|
@@ -176,8 +180,8 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
176
180
|
}, { deep: !0 }), Fe(() => ee.dataset, (l) => {
|
|
177
181
|
Array.isArray(l) && l.length > 0 && (Xe.value = !1);
|
|
178
182
|
}, { deep: !0 });
|
|
179
|
-
const
|
|
180
|
-
|
|
183
|
+
const re = Dt(null), he = Dt(null);
|
|
184
|
+
Sl(() => {
|
|
181
185
|
ct.value = !0, gt();
|
|
182
186
|
});
|
|
183
187
|
const ft = D(() => !!e.value.debug);
|
|
@@ -187,29 +191,29 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
187
191
|
type: "dataset",
|
|
188
192
|
debug: ft.value
|
|
189
193
|
}), Xe.value = !0), Pt(ee.dataset) || (Xe.value = e.value.loading), e.value.responsive) {
|
|
190
|
-
const l =
|
|
191
|
-
const { width: o, height: t } =
|
|
194
|
+
const l = ql(() => {
|
|
195
|
+
const { width: o, height: t } = Hl({
|
|
192
196
|
chart: ae.value,
|
|
193
197
|
title: e.value.style.title.text ? at.value : null,
|
|
194
198
|
legend: e.value.style.legend.show ? st.value : null,
|
|
195
|
-
source:
|
|
196
|
-
noTitle:
|
|
199
|
+
source: rt.value,
|
|
200
|
+
noTitle: nt.value
|
|
197
201
|
});
|
|
198
202
|
requestAnimationFrame(() => {
|
|
199
203
|
I.value.width = o, I.value.height = t;
|
|
200
204
|
});
|
|
201
205
|
});
|
|
202
|
-
|
|
206
|
+
re.value && (he.value && re.value.unobserve(he.value), re.value.disconnect()), re.value = new ResizeObserver(l), he.value = ae.value.parentNode, re.value.observe(he.value);
|
|
203
207
|
}
|
|
204
208
|
}
|
|
205
|
-
|
|
206
|
-
|
|
209
|
+
Ll(() => {
|
|
210
|
+
re.value && (he.value && re.value.unobserve(he.value), re.value.disconnect());
|
|
207
211
|
});
|
|
208
|
-
const { isPrinting: pt, isImaging:
|
|
212
|
+
const { isPrinting: pt, isImaging: bt, generatePdf: mt, generateImage: kt } = Ql({
|
|
209
213
|
elementId: `vue-ui-scatter_${X.value}`,
|
|
210
214
|
fileName: e.value.style.title.text || "vue-ui-scatter",
|
|
211
215
|
options: e.value.userOptions.print
|
|
212
|
-
}),
|
|
216
|
+
}), il = D(() => e.value.userOptions.show && !e.value.style.title.text), xt = D(() => Nl(e.value.customPalette)), H = $({
|
|
213
217
|
showTable: e.value.table.show,
|
|
214
218
|
showTooltip: e.value.style.tooltip.show
|
|
215
219
|
});
|
|
@@ -222,7 +226,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
222
226
|
const I = $({
|
|
223
227
|
height: e.value.style.layout.height,
|
|
224
228
|
width: e.value.style.layout.width
|
|
225
|
-
}), _e = D(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0),
|
|
229
|
+
}), _e = D(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), r = D(() => {
|
|
226
230
|
let l = 0, o = 0;
|
|
227
231
|
return Ne.value && (l = Ne.value.getBBox().width + 6), We.value && (o = We.value.getBBox().height + 6), {
|
|
228
232
|
top: e.value.style.layout.padding.top + _e.value + e.value.style.layout.dataLabels.yAxis.fontSize * 2,
|
|
@@ -233,7 +237,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
233
237
|
width: I.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - _e.value - l - 6
|
|
234
238
|
};
|
|
235
239
|
}), E = D(() => {
|
|
236
|
-
Ie.value.forEach((s,
|
|
240
|
+
Ie.value.forEach((s, n) => {
|
|
237
241
|
Ot({
|
|
238
242
|
datasetObject: s,
|
|
239
243
|
requiredAttributes: ["values"]
|
|
@@ -242,7 +246,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
242
246
|
componentName: "VueUiScatter",
|
|
243
247
|
type: "datasetSerieAttribute",
|
|
244
248
|
property: u,
|
|
245
|
-
index:
|
|
249
|
+
index: n
|
|
246
250
|
});
|
|
247
251
|
}), s.values && s.values.forEach((u, f) => {
|
|
248
252
|
Ot({
|
|
@@ -253,21 +257,21 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
253
257
|
componentName: "VueUiScatter",
|
|
254
258
|
type: "datasetSerieAttribute",
|
|
255
259
|
property: `values.${v}`,
|
|
256
|
-
index: `${
|
|
260
|
+
index: `${n} - ${f}`
|
|
257
261
|
});
|
|
258
262
|
});
|
|
259
263
|
});
|
|
260
264
|
});
|
|
261
|
-
const l = Math.min(...te.value.filter((s) => !W.value.includes(s.id)).flatMap((s) => s.values.map((
|
|
265
|
+
const l = Math.min(...te.value.filter((s) => !W.value.includes(s.id)).flatMap((s) => s.values.map((n) => n.x))), o = Math.max(...te.value.filter((s) => !W.value.includes(s.id)).flatMap((s) => s.values.map((n) => n.x))), t = Math.min(...te.value.filter((s) => !W.value.includes(s.id)).flatMap((s) => s.values.map((n) => n.y))), a = Math.max(...te.value.filter((s) => !W.value.includes(s.id)).flatMap((s) => s.values.map((n) => n.y)));
|
|
262
266
|
return { xMin: l >= 0 ? 0 : l, xMax: o, yMin: t >= 0 ? 0 : t, yMax: a };
|
|
263
267
|
}), P = D(() => ({
|
|
264
|
-
x:
|
|
265
|
-
y:
|
|
268
|
+
x: r.value.left + Math.abs(E.value.xMin) / (E.value.xMax + Math.abs(E.value.xMin)) * r.value.width,
|
|
269
|
+
y: r.value.bottom - Math.abs(E.value.yMin) / (E.value.yMax + Math.abs(E.value.yMin)) * r.value.height
|
|
266
270
|
})), te = D(() => Ie.value.map((l, o) => {
|
|
267
271
|
const t = `cluster_${X.value}_${o}`;
|
|
268
272
|
return {
|
|
269
273
|
...l,
|
|
270
|
-
values:
|
|
274
|
+
values: Wl({
|
|
271
275
|
data: l.values,
|
|
272
276
|
threshold: e.value.usePerformanceMode ? l.values.length + 1 : e.value.downsample.threshold
|
|
273
277
|
}),
|
|
@@ -278,7 +282,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
278
282
|
segregate: () => Se(t),
|
|
279
283
|
isSegregated: W.value.includes(t)
|
|
280
284
|
};
|
|
281
|
-
})),
|
|
285
|
+
})), vl = D(() => ({
|
|
282
286
|
cy: "scatter-div-legend",
|
|
283
287
|
backgroundColor: e.value.style.legend.backgroundColor,
|
|
284
288
|
color: e.value.style.legend.color,
|
|
@@ -288,8 +292,8 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
288
292
|
})), Me = D(() => te.value.map((l, o) => ({
|
|
289
293
|
...l,
|
|
290
294
|
plots: l.values.map((t) => ({
|
|
291
|
-
x:
|
|
292
|
-
y:
|
|
295
|
+
x: r.value.left + (t.x + Math.abs(E.value.xMin)) / (E.value.xMax + Math.abs(E.value.xMin)) * r.value.width,
|
|
296
|
+
y: r.value.bottom - (t.y + Math.abs(E.value.yMin)) / (E.value.yMax + Math.abs(E.value.yMin)) * r.value.height,
|
|
293
297
|
v: {
|
|
294
298
|
...t,
|
|
295
299
|
name: t.name || ""
|
|
@@ -300,11 +304,11 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
300
304
|
weight: t.weight ?? e.value.style.layout.plots.radius
|
|
301
305
|
}))
|
|
302
306
|
})).filter((l) => !W.value.includes(l.id))), U = D(() => {
|
|
303
|
-
const o = ({ m: t, b: a, rect: s, verticalX:
|
|
307
|
+
const o = ({ m: t, b: a, rect: s, verticalX: n = null }) => {
|
|
304
308
|
const { left: u, right: f, top: v, bottom: p } = s, S = [], d = (A, h) => {
|
|
305
309
|
Number.isFinite(A) && Number.isFinite(h) && S.push({ x: A, y: h });
|
|
306
310
|
}, w = ({ x: A, y: h }) => A >= u - 1e-9 && A <= f + 1e-9 && h >= v - 1e-9 && h <= p + 1e-9;
|
|
307
|
-
|
|
311
|
+
n !== null ? n >= u - 1e-9 && n <= f + 1e-9 && (d(n, v), d(n, p)) : Number.isFinite(t) && (d(u, t * u + a), d(f, t * f + a), Math.abs(t) > 1e-9 ? (d((v - a) / t, v), d((p - a) / t, p)) : a >= v - 1e-9 && a <= p + 1e-9 && (d(u, a), d(f, a)));
|
|
308
312
|
const O = S.filter(w), _ = [];
|
|
309
313
|
for (const A of O)
|
|
310
314
|
_.some((h) => Math.abs(h.x - A.x) < 1e-6 && Math.abs(h.y - A.y) < 1e-6) || _.push(A);
|
|
@@ -318,32 +322,32 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
318
322
|
return { x1: z.x, y1: z.y, x2: Y.x, y2: Y.y };
|
|
319
323
|
};
|
|
320
324
|
return Me.value.map((t) => {
|
|
321
|
-
const a = t.plots.length, s = t.plots.reduce((h, B) => h + B.x, 0) / a,
|
|
325
|
+
const a = t.plots.length, s = t.plots.reduce((h, B) => h + B.x, 0) / a, n = t.plots.reduce((h, B) => h + B.y, 0) / a;
|
|
322
326
|
let u = 0, f = 0;
|
|
323
327
|
for (const h of t.plots) {
|
|
324
|
-
const B = h.x - s, V = h.y -
|
|
328
|
+
const B = h.x - s, V = h.y - n;
|
|
325
329
|
u += B * V, f += B * B;
|
|
326
330
|
}
|
|
327
331
|
let v, p, S = null;
|
|
328
|
-
f < 1e-9 ? (S = s, v = 1 / 0, p = null) : (v = u / f, p =
|
|
332
|
+
f < 1e-9 ? (S = s, v = 1 / 0, p = null) : (v = u / f, p = n - v * s);
|
|
329
333
|
let d, w;
|
|
330
334
|
S !== null ? (d = 1 / 0, w = null) : (d = v, w = p);
|
|
331
335
|
const O = t.plots.every((h) => h.v && typeof h.v.x == "number" && typeof h.v.y == "number");
|
|
332
336
|
let _ = NaN;
|
|
333
337
|
if (a >= 2) {
|
|
334
338
|
let h = 0, B = 0;
|
|
335
|
-
O ? (h = t.plots.reduce((j, ye) => j + ye.v.x, 0) / a, B = t.plots.reduce((j, ye) => j + ye.v.y, 0) / a) : (h = s, B = -
|
|
336
|
-
let V = 0, J = 0,
|
|
339
|
+
O ? (h = t.plots.reduce((j, ye) => j + ye.v.x, 0) / a, B = t.plots.reduce((j, ye) => j + ye.v.y, 0) / a) : (h = s, B = -n);
|
|
340
|
+
let V = 0, J = 0, ne = 0;
|
|
337
341
|
for (const j of t.plots) {
|
|
338
342
|
const ye = O ? j.v.x : j.x, Ze = O ? j.v.y : -j.y, xe = ye - h, fe = Ze - B;
|
|
339
|
-
V += xe * fe, J += xe * xe,
|
|
343
|
+
V += xe * fe, J += xe * xe, ne += fe * fe;
|
|
340
344
|
}
|
|
341
|
-
if (J >= 1e-9 &&
|
|
342
|
-
const j = V / Math.sqrt(J *
|
|
345
|
+
if (J >= 1e-9 && ne >= 1e-9) {
|
|
346
|
+
const j = V / Math.sqrt(J * ne);
|
|
343
347
|
_ = Math.max(-1, Math.min(1, j));
|
|
344
348
|
}
|
|
345
349
|
}
|
|
346
|
-
const z = o({ m: d, b: w, rect:
|
|
350
|
+
const z = o({ m: d, b: w, rect: r.value, verticalX: S });
|
|
347
351
|
if (!z)
|
|
348
352
|
return {
|
|
349
353
|
...t,
|
|
@@ -368,7 +372,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
368
372
|
plots: t.plots.map((h) => {
|
|
369
373
|
let B, V;
|
|
370
374
|
S !== null ? (B = S, V = h.y) : Math.abs(d) < 1e-9 ? (B = h.x, V = w) : (B = (h.x + d * h.y - d * w) / (1 + d * d), V = (d * h.x + d * d * h.y + w) / (1 + d * d));
|
|
371
|
-
const J = h.x - B,
|
|
375
|
+
const J = h.x - B, ne = h.y - V, j = Math.sqrt(J * J + ne * ne);
|
|
372
376
|
return {
|
|
373
377
|
...h,
|
|
374
378
|
deviation: j,
|
|
@@ -379,7 +383,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
379
383
|
};
|
|
380
384
|
});
|
|
381
385
|
}), Ct = D(() => Math.max(...U.value.flatMap((l) => l.plots.map((o) => Math.abs(o.deviation)))));
|
|
382
|
-
function
|
|
386
|
+
function cl() {
|
|
383
387
|
return U.value;
|
|
384
388
|
}
|
|
385
389
|
function At(l, o) {
|
|
@@ -390,34 +394,34 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
390
394
|
x: L.x,
|
|
391
395
|
y: L.y
|
|
392
396
|
}));
|
|
393
|
-
let a = 1 / 0, s = -1 / 0,
|
|
397
|
+
let a = 1 / 0, s = -1 / 0, n = 1 / 0, u = -1 / 0;
|
|
394
398
|
t.forEach(({ x: L, y: A }) => {
|
|
395
|
-
a = Math.min(a, L), s = Math.max(s, L),
|
|
399
|
+
a = Math.min(a, L), s = Math.max(s, L), n = Math.min(n, A), u = Math.max(u, A);
|
|
396
400
|
});
|
|
397
|
-
const f = s - a, v = u -
|
|
401
|
+
const f = s - a, v = u - n, p = f / o, S = v / o, d = Array(o).fill(0), w = Array(o).fill(0);
|
|
398
402
|
t.forEach(({ x: L, y: A }) => {
|
|
399
|
-
const h = Math.floor((L - a) / p), B = Math.floor((A -
|
|
403
|
+
const h = Math.floor((L - a) / p), B = Math.floor((A - n) / S);
|
|
400
404
|
d[h] || (d[h] = 0), w[B] || (w[B] = 0), d[h] += 1, w[B] += 1;
|
|
401
405
|
});
|
|
402
406
|
const O = [], _ = [];
|
|
403
407
|
for (let L = 0; L < o; L += 1)
|
|
404
|
-
O.push(a + (L + 0.5) * p), _.push(
|
|
408
|
+
O.push(a + (L + 0.5) * p), _.push(n + (L + 0.5) * S);
|
|
405
409
|
const z = Math.max(...d), Y = Math.max(...w);
|
|
406
410
|
return { x: d, y: w, avgX: O, avgY: _, maxX: z, maxY: Y };
|
|
407
411
|
}
|
|
408
|
-
const k = D(() => e.value.style.layout.marginalBars.tranches), M = D(() => At(Me.value, k.value)),
|
|
409
|
-
const l =
|
|
412
|
+
const k = D(() => e.value.style.layout.marginalBars.tranches), M = D(() => At(Me.value, k.value)), yl = D(() => {
|
|
413
|
+
const l = r.value.top - e.value.style.layout.marginalBars.offset, o = r.value.right + e.value.style.layout.marginalBars.offset;
|
|
410
414
|
return Me.value.map((t) => {
|
|
411
415
|
const a = At(t, k.value);
|
|
412
416
|
return {
|
|
413
417
|
coords: a,
|
|
414
|
-
dX:
|
|
418
|
+
dX: Xl(a.avgX.map((s, n) => ({
|
|
415
419
|
x: s,
|
|
416
|
-
y: l - a.x[
|
|
420
|
+
y: l - a.x[n] / a.maxX * e.value.style.layout.marginalBars.size
|
|
417
421
|
}))),
|
|
418
|
-
dY:
|
|
422
|
+
dY: Il(a.avgY.map((s, n) => ({
|
|
419
423
|
y: s,
|
|
420
|
-
x: o + e.value.style.layout.marginalBars.size * a.y[
|
|
424
|
+
x: o + e.value.style.layout.marginalBars.size * a.y[n] / a.maxY
|
|
421
425
|
}))),
|
|
422
426
|
color: t.color,
|
|
423
427
|
id: t.id
|
|
@@ -434,7 +438,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
434
438
|
config: e.value
|
|
435
439
|
};
|
|
436
440
|
const a = e.value.style.tooltip.customFormat;
|
|
437
|
-
|
|
441
|
+
Vl(a) && Gl(() => a({
|
|
438
442
|
datapoint: l,
|
|
439
443
|
seriesIndex: o,
|
|
440
444
|
series: U.value,
|
|
@@ -484,24 +488,24 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
484
488
|
const o = te.value.find((t) => t.name === l);
|
|
485
489
|
return o || (e.value.debug && console.warn(`VueUiScatter - Series name not found "${l}"`), null);
|
|
486
490
|
}
|
|
487
|
-
function
|
|
491
|
+
function dl(l) {
|
|
488
492
|
const o = wt(l);
|
|
489
493
|
o !== null && W.value.includes(o.id) && Se(o.id);
|
|
490
494
|
}
|
|
491
|
-
function
|
|
495
|
+
function hl(l) {
|
|
492
496
|
const o = wt(l);
|
|
493
497
|
o !== null && (W.value.includes(o.id) || Se(o.id));
|
|
494
498
|
}
|
|
495
499
|
function Ge(l = null) {
|
|
496
|
-
|
|
497
|
-
const o = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], t = U.value.map((
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(t), s =
|
|
504
|
-
l ? l(s) :
|
|
500
|
+
zl(() => {
|
|
501
|
+
const o = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], t = U.value.map((n) => [
|
|
502
|
+
n.name,
|
|
503
|
+
n.correlation.coefficient,
|
|
504
|
+
n.plots.length,
|
|
505
|
+
n.plots.map((u) => u.v.x).reduce((u, f) => u + f, 0) / n.plots.length,
|
|
506
|
+
n.plots.map((u) => u.v.y).reduce((u, f) => u + f, 0) / n.plots.length
|
|
507
|
+
]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(t), s = jl(a);
|
|
508
|
+
l ? l(s) : Ul({ csvContent: s, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
505
509
|
});
|
|
506
510
|
}
|
|
507
511
|
const Le = D(() => {
|
|
@@ -519,8 +523,8 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
519
523
|
},
|
|
520
524
|
Number((a.correlation.coefficient ?? 0).toFixed(e.value.table.td.roundingValue)).toLocaleString(),
|
|
521
525
|
a.plots.length.toLocaleString(),
|
|
522
|
-
Number((a.plots.map((s) => s.v.x ?? 0).reduce((s,
|
|
523
|
-
Number((a.plots.map((s) => s.v.y ?? 0).reduce((s,
|
|
526
|
+
Number((a.plots.map((s) => s.v.x ?? 0).reduce((s, n) => s + n, 0) / a.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString(),
|
|
527
|
+
Number((a.plots.map((s) => s.v.y ?? 0).reduce((s, n) => s + n, 0) / a.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString()
|
|
524
528
|
]), t = {
|
|
525
529
|
th: {
|
|
526
530
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -549,26 +553,26 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
549
553
|
function qe() {
|
|
550
554
|
Te.value = !Te.value;
|
|
551
555
|
}
|
|
552
|
-
async function
|
|
556
|
+
async function fl({ scale: l = 2 } = {}) {
|
|
553
557
|
if (!ae.value) return;
|
|
554
|
-
const { width: o, height: t } = ae.value.getBoundingClientRect(), a = o / t, { imageUri: s, base64:
|
|
558
|
+
const { width: o, height: t } = ae.value.getBoundingClientRect(), a = o / t, { imageUri: s, base64: n } = await ro({ domElement: ae.value, base64: !0, img: !0, scale: l });
|
|
555
559
|
return {
|
|
556
560
|
imageUri: s,
|
|
557
|
-
base64:
|
|
561
|
+
base64: n,
|
|
558
562
|
title: e.value.style.title.text,
|
|
559
563
|
width: o,
|
|
560
564
|
height: t,
|
|
561
565
|
aspectRatio: a
|
|
562
566
|
};
|
|
563
567
|
}
|
|
564
|
-
function
|
|
565
|
-
pe.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (
|
|
568
|
+
function gl(l) {
|
|
569
|
+
pe.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (be.value = M.value.y.length - 2 - l);
|
|
566
570
|
}
|
|
567
|
-
function
|
|
568
|
-
|
|
571
|
+
function pl(l) {
|
|
572
|
+
be.value = l, e.value.style.layout.marginalBars.highlighter.highlightBothAxes && (pe.value = l);
|
|
569
573
|
}
|
|
570
574
|
function He() {
|
|
571
|
-
pe.value = null,
|
|
575
|
+
pe.value = null, be.value = null;
|
|
572
576
|
}
|
|
573
577
|
const Bt = {
|
|
574
578
|
circle: 1,
|
|
@@ -579,30 +583,30 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
579
583
|
pentagon: 1.3,
|
|
580
584
|
hexagon: 1.3
|
|
581
585
|
}, x = (l) => l.toFixed(3);
|
|
582
|
-
function
|
|
586
|
+
function bl({ shape: l = "circle", cx: o, cy: t, r: a }) {
|
|
583
587
|
if (!e.value.usePerformanceMode) return "";
|
|
584
588
|
const s = Bt[l] * a;
|
|
585
589
|
switch (l) {
|
|
586
590
|
case "circle": {
|
|
587
|
-
const
|
|
588
|
-
return `M ${
|
|
591
|
+
const n = x(o - s), u = x(t), f = x(o + s), v = x(s);
|
|
592
|
+
return `M ${n} ${u} A ${v} ${v} 0 1 0 ${f} ${u} A ${v} ${v} 0 1 0 ${n} ${u} Z`;
|
|
589
593
|
}
|
|
590
594
|
case "square": {
|
|
591
|
-
const
|
|
592
|
-
return `M ${
|
|
595
|
+
const n = x(o - s), u = x(t - s), f = x(o + s), v = x(t + s);
|
|
596
|
+
return `M ${n} ${u} L ${f} ${u} L ${f} ${v} L ${n} ${v} Z`;
|
|
593
597
|
}
|
|
594
598
|
case "diamond": {
|
|
595
|
-
const
|
|
596
|
-
return `M ${
|
|
599
|
+
const n = x(o), u = x(t);
|
|
600
|
+
return `M ${n} ${x(t - s)} L ${x(o + s)} ${u} L ${n} ${x(t + s)} L ${x(o - s)} ${u} Z`;
|
|
597
601
|
}
|
|
598
602
|
case "triangle": {
|
|
599
|
-
const
|
|
603
|
+
const n = s * Math.sqrt(3), u = o, f = t - 2 / 3 * n, v = o - s, p = t + 1 / 3 * n, S = o + s, d = p;
|
|
600
604
|
return `M ${x(u)} ${x(f)} L ${x(v)} ${x(p)} L ${x(S)} ${x(d)} Z`;
|
|
601
605
|
}
|
|
602
606
|
case "star": {
|
|
603
|
-
const
|
|
607
|
+
const n = s, u = s * 0.5, f = [];
|
|
604
608
|
for (let p = 0; p < 10; p += 1) {
|
|
605
|
-
const S = (-90 + p * 36) * Math.PI / 180, d = p % 2 === 0 ?
|
|
609
|
+
const S = (-90 + p * 36) * Math.PI / 180, d = p % 2 === 0 ? n : u;
|
|
606
610
|
f.push([o + d * Math.cos(S), t + d * Math.sin(S)]);
|
|
607
611
|
}
|
|
608
612
|
let v = `M ${x(f[0][0])} ${x(f[0][1])}`;
|
|
@@ -631,21 +635,21 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
631
635
|
return f + " Z";
|
|
632
636
|
}
|
|
633
637
|
default: {
|
|
634
|
-
const
|
|
635
|
-
return `M ${
|
|
638
|
+
const n = x(o - s), u = x(t), f = x(o + s), v = x(s);
|
|
639
|
+
return `M ${n} ${u} A ${v} ${v} 0 1 0 ${f} ${u} A ${v} ${v} 0 1 0 ${n} ${u} Z`;
|
|
636
640
|
}
|
|
637
641
|
}
|
|
638
642
|
}
|
|
639
|
-
const
|
|
643
|
+
const ml = D(() => {
|
|
640
644
|
if (!e.value.usePerformanceMode) return [""];
|
|
641
|
-
const { left: l, right: o, top: t, bottom: a } =
|
|
645
|
+
const { left: l, right: o, top: t, bottom: a } = r.value, s = Math.max(1, (o - l) * (a - t)), n = (d) => d / s * 1e4, u = 2.5, f = 1e3, v = e.value.style.layout.plots.stroke, p = e.value.style.layout.plots.strokeWidth, S = e.value.style.layout.plots.opacity;
|
|
642
646
|
return U.value.map((d) => {
|
|
643
647
|
const w = [];
|
|
644
648
|
for (const _ of d.plots) {
|
|
645
649
|
const z = _.x, Y = _.y;
|
|
646
650
|
if (z < l || z > o || Y < t || Y > a) continue;
|
|
647
651
|
const L = Math.max(e.value.style.layout.plots.radius, _.weight);
|
|
648
|
-
w.push(
|
|
652
|
+
w.push(bl({
|
|
649
653
|
shape: d.shape || "circle",
|
|
650
654
|
cx: z,
|
|
651
655
|
cy: Y,
|
|
@@ -653,7 +657,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
653
657
|
}));
|
|
654
658
|
}
|
|
655
659
|
if (!w.length) return null;
|
|
656
|
-
const O =
|
|
660
|
+
const O = n(d.plots.length) > u || d.plots.length > f;
|
|
657
661
|
return {
|
|
658
662
|
id: d.id,
|
|
659
663
|
d: w.join(""),
|
|
@@ -664,7 +668,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
664
668
|
};
|
|
665
669
|
}).filter(Boolean);
|
|
666
670
|
});
|
|
667
|
-
function
|
|
671
|
+
function kl() {
|
|
668
672
|
return e.value.usePerformanceMode ? (l) => {
|
|
669
673
|
const o = $e.value;
|
|
670
674
|
if (!o) return;
|
|
@@ -672,11 +676,11 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
672
676
|
t.x = l.clientX, t.y = l.clientY;
|
|
673
677
|
const a = o.getScreenCTM();
|
|
674
678
|
if (!a) return;
|
|
675
|
-
const s = a.inverse(),
|
|
679
|
+
const s = a.inverse(), n = t.matrixTransform(s), u = 8, f = u * u;
|
|
676
680
|
let v = null, p = 1 / 0, S = -1;
|
|
677
681
|
if (U.value.forEach((d, w) => {
|
|
678
682
|
d.plots.forEach((O) => {
|
|
679
|
-
const _ = O.x -
|
|
683
|
+
const _ = O.x - n.x, z = O.y - n.y, Y = _ * _ + z * z;
|
|
680
684
|
Y <= f && Y < p && (p = Y, v = O, S = w);
|
|
681
685
|
});
|
|
682
686
|
}), v)
|
|
@@ -687,14 +691,14 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
687
691
|
}
|
|
688
692
|
} : () => null;
|
|
689
693
|
}
|
|
690
|
-
const St =
|
|
691
|
-
function
|
|
694
|
+
const St = kl();
|
|
695
|
+
function xl() {
|
|
692
696
|
if (R.value) {
|
|
693
697
|
const l = g.value;
|
|
694
698
|
R.value = void 0, Be(l, null);
|
|
695
699
|
}
|
|
696
700
|
}
|
|
697
|
-
function
|
|
701
|
+
function Cl(l) {
|
|
698
702
|
const o = g.value;
|
|
699
703
|
if (o) {
|
|
700
704
|
const t = U.value.findIndex((a) => a.id === o.clusterId);
|
|
@@ -704,7 +708,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
704
708
|
const ke = D(() => {
|
|
705
709
|
const l = e.value.table.useDialog && !e.value.table.show, o = H.value.showTable;
|
|
706
710
|
return {
|
|
707
|
-
component: l ?
|
|
711
|
+
component: l ? ll : Jt,
|
|
708
712
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
709
713
|
props: l ? {
|
|
710
714
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -732,34 +736,34 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
732
736
|
};
|
|
733
737
|
});
|
|
734
738
|
Fe(() => H.value.showTable, (l) => {
|
|
735
|
-
e.value.table.show || (l && e.value.table.useDialog &&
|
|
739
|
+
e.value.table.show || (l && e.value.table.useDialog && me.value ? me.value.open() : "close" in me.value && me.value.close());
|
|
736
740
|
});
|
|
737
741
|
function Lt() {
|
|
738
742
|
H.value.showTable = !1, Oe.value && Oe.value.setTableIconState(!1);
|
|
739
743
|
}
|
|
740
|
-
const
|
|
744
|
+
const Al = D(() => e.value.style.backgroundColor), wl = D(() => e.value.style.legend), $l = D(() => e.value.style.title), { exportSvg: _l, getSvg: Ml } = eo({
|
|
741
745
|
svg: $e,
|
|
742
|
-
title:
|
|
743
|
-
legend:
|
|
746
|
+
title: $l,
|
|
747
|
+
legend: wl,
|
|
744
748
|
legendItems: te,
|
|
745
|
-
backgroundColor:
|
|
749
|
+
backgroundColor: Al
|
|
746
750
|
});
|
|
747
751
|
async function Tt({ isCb: l }) {
|
|
748
752
|
if (l) {
|
|
749
|
-
const { blob: o, url: t, text: a, dataUrl: s } = await
|
|
753
|
+
const { blob: o, url: t, text: a, dataUrl: s } = await Ml();
|
|
750
754
|
e.value.userOptions.callbacks.svg({ blob: o, url: t, text: a, dataUrl: s });
|
|
751
755
|
} else
|
|
752
|
-
|
|
756
|
+
_l();
|
|
753
757
|
}
|
|
754
|
-
return
|
|
755
|
-
getData:
|
|
756
|
-
getImage:
|
|
757
|
-
generatePdf:
|
|
758
|
+
return qt({
|
|
759
|
+
getData: cl,
|
|
760
|
+
getImage: fl,
|
|
761
|
+
generatePdf: mt,
|
|
758
762
|
generateCsv: Ge,
|
|
759
763
|
generateImage: kt,
|
|
760
764
|
generateSvg: Tt,
|
|
761
|
-
hideSeries:
|
|
762
|
-
showSeries:
|
|
765
|
+
hideSeries: hl,
|
|
766
|
+
showSeries: dl,
|
|
763
767
|
toggleTable: _t,
|
|
764
768
|
toggleTooltip: Mt,
|
|
765
769
|
toggleAnnotator: qe,
|
|
@@ -773,7 +777,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
773
777
|
onMouseenter: o[5] || (o[5] = () => y(dt)(!0)),
|
|
774
778
|
onMouseleave: o[6] || (o[6] = () => y(dt)(!1))
|
|
775
779
|
}, [
|
|
776
|
-
e.value.userOptions.buttons.annotator ? (i(), se(y(
|
|
780
|
+
e.value.userOptions.buttons.annotator ? (i(), se(y(Qt), {
|
|
777
781
|
key: 0,
|
|
778
782
|
svgRef: y($e),
|
|
779
783
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -800,21 +804,21 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
800
804
|
F(l.$slots, "annotator-action-delete", K(Q({ disabled: t })), void 0, !0)
|
|
801
805
|
]),
|
|
802
806
|
_: 3
|
|
803
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
804
|
-
|
|
807
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
|
|
808
|
+
il.value ? (i(), c("div", {
|
|
805
809
|
key: 1,
|
|
806
810
|
ref_key: "noTitle",
|
|
807
|
-
ref:
|
|
811
|
+
ref: nt,
|
|
808
812
|
class: "vue-data-ui-no-title-space",
|
|
809
813
|
style: "height:36px; width: 100%;background:transparent"
|
|
810
|
-
}, null, 512)) :
|
|
814
|
+
}, null, 512)) : m("", !0),
|
|
811
815
|
e.value.style.title.text ? (i(), c("div", {
|
|
812
816
|
key: 2,
|
|
813
817
|
ref_key: "chartTitle",
|
|
814
818
|
ref: at,
|
|
815
819
|
style: "width:100%;background:transparent"
|
|
816
820
|
}, [
|
|
817
|
-
(i(), se(
|
|
821
|
+
(i(), se(so, {
|
|
818
822
|
key: `title_${ut.value}`,
|
|
819
823
|
config: {
|
|
820
824
|
title: {
|
|
@@ -827,17 +831,17 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
827
831
|
}
|
|
828
832
|
}
|
|
829
833
|
}, null, 8, ["config"]))
|
|
830
|
-
], 512)) :
|
|
834
|
+
], 512)) : m("", !0),
|
|
831
835
|
C("div", {
|
|
832
836
|
id: `legend-top-${X.value}`
|
|
833
|
-
}, null, 8,
|
|
834
|
-
e.value.userOptions.show && lt.value && (y(ht) || y(Ye)) ? (i(), se(y(
|
|
837
|
+
}, null, 8, io),
|
|
838
|
+
e.value.userOptions.show && lt.value && (y(ht) || y(Ye)) ? (i(), se(y(el), {
|
|
835
839
|
ref_key: "userOptionsRef",
|
|
836
840
|
ref: Oe,
|
|
837
841
|
key: `user_options_${ot.value}`,
|
|
838
842
|
backgroundColor: e.value.style.backgroundColor,
|
|
839
843
|
color: e.value.style.color,
|
|
840
|
-
isImaging: y(
|
|
844
|
+
isImaging: y(bt),
|
|
841
845
|
isPrinting: y(pt),
|
|
842
846
|
uid: X.value,
|
|
843
847
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
@@ -858,7 +862,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
858
862
|
printScale: e.value.userOptions.print.scale,
|
|
859
863
|
tableDialog: e.value.table.useDialog,
|
|
860
864
|
onToggleFullscreen: $t,
|
|
861
|
-
onGeneratePdf: y(
|
|
865
|
+
onGeneratePdf: y(mt),
|
|
862
866
|
onGenerateCsv: Ge,
|
|
863
867
|
onGenerateImage: y(kt),
|
|
864
868
|
onGenerateSvg: Tt,
|
|
@@ -932,17 +936,17 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
932
936
|
]),
|
|
933
937
|
key: "8"
|
|
934
938
|
} : void 0
|
|
935
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
939
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
|
|
936
940
|
(i(), c("svg", {
|
|
937
941
|
ref_key: "svgRef",
|
|
938
942
|
ref: $e,
|
|
939
|
-
xmlns: y(
|
|
943
|
+
xmlns: y(Yl),
|
|
940
944
|
class: Ft({ "vue-data-ui-fullscreen--on": ce.value, "vue-data-ui-fulscreen--off": !ce.value, animated: e.value.useCssAnimation }),
|
|
941
945
|
viewBox: `0 0 ${I.value.width <= 0 ? 10 : I.value.width} ${I.value.height <= 0 ? 10 : I.value.height}`,
|
|
942
946
|
style: ie(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
|
|
943
947
|
onMouseleave: He
|
|
944
948
|
}, [
|
|
945
|
-
we(y(
|
|
949
|
+
we(y(tl)),
|
|
946
950
|
l.$slots["chart-background"] ? (i(), c("foreignObject", {
|
|
947
951
|
key: 0,
|
|
948
952
|
x: 0,
|
|
@@ -954,28 +958,28 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
954
958
|
}
|
|
955
959
|
}, [
|
|
956
960
|
F(l.$slots, "chart-background", {}, void 0, !0)
|
|
957
|
-
], 8,
|
|
958
|
-
e.value.style.layout.axis.show ? (i(), c("g",
|
|
961
|
+
], 8, co)) : m("", !0),
|
|
962
|
+
e.value.style.layout.axis.show ? (i(), c("g", yo, [
|
|
959
963
|
C("line", {
|
|
960
964
|
x1: P.value.x,
|
|
961
965
|
x2: P.value.x,
|
|
962
|
-
y1:
|
|
963
|
-
y2:
|
|
966
|
+
y1: r.value.top,
|
|
967
|
+
y2: r.value.bottom,
|
|
964
968
|
stroke: e.value.style.layout.axis.stroke,
|
|
965
969
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
966
970
|
"stroke-linecap": "round"
|
|
967
|
-
}, null, 8,
|
|
971
|
+
}, null, 8, ho),
|
|
968
972
|
C("line", {
|
|
969
|
-
x1:
|
|
970
|
-
x2:
|
|
973
|
+
x1: r.value.left,
|
|
974
|
+
x2: r.value.right,
|
|
971
975
|
y1: P.value.y,
|
|
972
976
|
y2: P.value.y,
|
|
973
977
|
stroke: e.value.style.layout.axis.stroke,
|
|
974
978
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
975
979
|
"stroke-linecap": "round"
|
|
976
|
-
}, null, 8,
|
|
977
|
-
])) :
|
|
978
|
-
e.value.style.layout.marginalBars.show ? (i(), c("g",
|
|
980
|
+
}, null, 8, fo)
|
|
981
|
+
])) : m("", !0),
|
|
982
|
+
e.value.style.layout.marginalBars.show ? (i(), c("g", go, [
|
|
979
983
|
C("defs", null, [
|
|
980
984
|
C("linearGradient", {
|
|
981
985
|
id: `marginal_x_${X.value}`,
|
|
@@ -987,12 +991,12 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
987
991
|
C("stop", {
|
|
988
992
|
offset: "0%",
|
|
989
993
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
990
|
-
}, null, 8,
|
|
994
|
+
}, null, 8, bo),
|
|
991
995
|
C("stop", {
|
|
992
996
|
offset: "100%",
|
|
993
997
|
"stop-color": e.value.style.backgroundColor
|
|
994
|
-
}, null, 8,
|
|
995
|
-
], 8,
|
|
998
|
+
}, null, 8, mo)
|
|
999
|
+
], 8, po),
|
|
996
1000
|
C("linearGradient", {
|
|
997
1001
|
id: `marginal_y_${X.value}`,
|
|
998
1002
|
x1: "0%",
|
|
@@ -1003,124 +1007,124 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1003
1007
|
C("stop", {
|
|
1004
1008
|
offset: "0%",
|
|
1005
1009
|
"stop-color": e.value.style.backgroundColor
|
|
1006
|
-
}, null, 8,
|
|
1010
|
+
}, null, 8, xo),
|
|
1007
1011
|
C("stop", {
|
|
1008
1012
|
offset: "100%",
|
|
1009
1013
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
1010
|
-
}, null, 8,
|
|
1011
|
-
], 8,
|
|
1014
|
+
}, null, 8, Co)
|
|
1015
|
+
], 8, ko)
|
|
1012
1016
|
]),
|
|
1013
1017
|
(i(!0), c(Z, null, le(M.value.x, (t, a) => (i(), c("g", null, [
|
|
1014
1018
|
t && M.value.avgX[a] ? (i(), c("rect", {
|
|
1015
1019
|
key: 0,
|
|
1016
|
-
x: M.value.avgX[a] -
|
|
1017
|
-
y:
|
|
1018
|
-
width:
|
|
1020
|
+
x: M.value.avgX[a] - r.value.width / k.value / 2,
|
|
1021
|
+
y: r.value.top - e.value.style.layout.marginalBars.offset - t / M.value.maxX * e.value.style.layout.marginalBars.size,
|
|
1022
|
+
width: r.value.width / k.value <= 0 ? 1e-4 : r.value.width / k.value,
|
|
1019
1023
|
height: t / M.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / M.value.maxX * e.value.style.layout.marginalBars.size,
|
|
1020
1024
|
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${X.value})` : e.value.style.layout.marginalBars.fill,
|
|
1021
1025
|
style: ie([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
|
|
1022
1026
|
stroke: e.value.style.backgroundColor,
|
|
1023
1027
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
1024
1028
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
1025
|
-
}, null, 12,
|
|
1029
|
+
}, null, 12, Ao)) : m("", !0),
|
|
1026
1030
|
M.value.avgX[a] ? (i(), c("rect", {
|
|
1027
1031
|
key: 1,
|
|
1028
|
-
x: M.value.avgX[a] -
|
|
1029
|
-
y:
|
|
1030
|
-
width:
|
|
1032
|
+
x: M.value.avgX[a] - r.value.width / k.value / 2,
|
|
1033
|
+
y: r.value.top - e.value.style.layout.marginalBars.offset - e.value.style.layout.marginalBars.size,
|
|
1034
|
+
width: r.value.width / k.value <= 0 ? 1e-4 : r.value.width / k.value,
|
|
1031
1035
|
height: Math.max(0.1, e.value.style.layout.marginalBars.size),
|
|
1032
1036
|
fill: "transparent",
|
|
1033
|
-
onMouseenter: (s) =>
|
|
1037
|
+
onMouseenter: (s) => gl(a),
|
|
1034
1038
|
onMouseleave: o[0] || (o[0] = (s) => He())
|
|
1035
|
-
}, null, 40,
|
|
1036
|
-
M.value.avgX[a] && pe.value != null && pe.value === a ? (i(), c("g",
|
|
1039
|
+
}, null, 40, wo)) : m("", !0),
|
|
1040
|
+
M.value.avgX[a] && pe.value != null && pe.value === a ? (i(), c("g", $o, [
|
|
1037
1041
|
C("rect", {
|
|
1038
|
-
x: M.value.avgX[a] -
|
|
1039
|
-
y:
|
|
1040
|
-
width:
|
|
1041
|
-
height:
|
|
1042
|
+
x: M.value.avgX[a] - r.value.width / k.value / 2,
|
|
1043
|
+
y: r.value.top,
|
|
1044
|
+
width: r.value.width / k.value <= 0 ? 1e-4 : r.value.width / k.value,
|
|
1045
|
+
height: r.value.height,
|
|
1042
1046
|
fill: e.value.style.layout.marginalBars.highlighter.color,
|
|
1043
1047
|
"fill-opacity": e.value.style.layout.marginalBars.highlighter.opacity
|
|
1044
|
-
}, null, 8,
|
|
1048
|
+
}, null, 8, _o),
|
|
1045
1049
|
C("line", {
|
|
1046
|
-
x1: M.value.avgX[a] -
|
|
1047
|
-
x2: M.value.avgX[a] -
|
|
1050
|
+
x1: M.value.avgX[a] - r.value.width / k.value / 2,
|
|
1051
|
+
x2: M.value.avgX[a] - r.value.width / k.value / 2,
|
|
1048
1052
|
y1: 0,
|
|
1049
|
-
y2:
|
|
1053
|
+
y2: r.value.top + r.value.height,
|
|
1050
1054
|
stroke: e.value.style.layout.marginalBars.highlighter.stroke,
|
|
1051
1055
|
"stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
1052
1056
|
"stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
1053
1057
|
style: { transition: "none !important", animation: "none !important" }
|
|
1054
|
-
}, null, 8,
|
|
1058
|
+
}, null, 8, Mo),
|
|
1055
1059
|
C("line", {
|
|
1056
|
-
x1: M.value.avgX[a] -
|
|
1057
|
-
x2: M.value.avgX[a] -
|
|
1060
|
+
x1: M.value.avgX[a] - r.value.width / k.value / 2 + (r.value.width / k.value <= 0 ? 1e-4 : r.value.width / k.value),
|
|
1061
|
+
x2: M.value.avgX[a] - r.value.width / k.value / 2 + (r.value.width / k.value <= 0 ? 1e-4 : r.value.width / k.value),
|
|
1058
1062
|
y1: 0,
|
|
1059
|
-
y2:
|
|
1063
|
+
y2: r.value.top + r.value.height,
|
|
1060
1064
|
stroke: e.value.style.layout.marginalBars.highlighter.stroke,
|
|
1061
1065
|
"stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
1062
1066
|
"stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
1063
1067
|
style: { transition: "none !important", animation: "none !important" }
|
|
1064
|
-
}, null, 8,
|
|
1065
|
-
])) :
|
|
1068
|
+
}, null, 8, Bo)
|
|
1069
|
+
])) : m("", !0)
|
|
1066
1070
|
]))), 256)),
|
|
1067
1071
|
(i(!0), c(Z, null, le(M.value.y, (t, a) => (i(), c("g", null, [
|
|
1068
1072
|
t && M.value.avgY[a] ? (i(), c("rect", {
|
|
1069
1073
|
key: 0,
|
|
1070
|
-
x:
|
|
1071
|
-
y: M.value.avgY[a] -
|
|
1072
|
-
height:
|
|
1074
|
+
x: r.value.right + e.value.style.layout.marginalBars.offset,
|
|
1075
|
+
y: M.value.avgY[a] - r.value.height / k.value / 2,
|
|
1076
|
+
height: r.value.height / k.value <= 0 ? 1e-4 : r.value.height / k.value,
|
|
1073
1077
|
width: t / M.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / M.value.maxY * e.value.style.layout.marginalBars.size,
|
|
1074
1078
|
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${X.value})` : e.value.style.layout.marginalBars.fill,
|
|
1075
1079
|
style: ie([`opacity:${e.value.style.layout.marginalBars.opacity}`, { "pointer-events": "none" }]),
|
|
1076
1080
|
stroke: e.value.style.backgroundColor,
|
|
1077
1081
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
1078
1082
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
1079
|
-
}, null, 12,
|
|
1083
|
+
}, null, 12, So)) : m("", !0),
|
|
1080
1084
|
M.value.avgY[a] ? (i(), c("rect", {
|
|
1081
1085
|
key: 1,
|
|
1082
|
-
x:
|
|
1083
|
-
y: M.value.avgY[a] -
|
|
1086
|
+
x: r.value.right + e.value.style.layout.marginalBars.offset,
|
|
1087
|
+
y: M.value.avgY[a] - r.value.height / k.value / 2,
|
|
1084
1088
|
width: Math.max(0.1, e.value.style.layout.marginalBars.size),
|
|
1085
|
-
height:
|
|
1089
|
+
height: r.value.height / k.value <= 0 ? 1e-4 : r.value.height / k.value,
|
|
1086
1090
|
fill: "transparent",
|
|
1087
|
-
onMouseenter: (s) =>
|
|
1091
|
+
onMouseenter: (s) => pl(a),
|
|
1088
1092
|
onMouseleave: o[1] || (o[1] = (s) => He())
|
|
1089
|
-
}, null, 40,
|
|
1090
|
-
M.value.avgY[a] &&
|
|
1093
|
+
}, null, 40, Lo)) : m("", !0),
|
|
1094
|
+
M.value.avgY[a] && be.value != null && be.value === a ? (i(), c("g", To, [
|
|
1091
1095
|
C("rect", {
|
|
1092
|
-
x:
|
|
1093
|
-
y: M.value.avgY[a] -
|
|
1094
|
-
width:
|
|
1095
|
-
height:
|
|
1096
|
+
x: r.value.left,
|
|
1097
|
+
y: M.value.avgY[a] - r.value.height / k.value / 2,
|
|
1098
|
+
width: r.value.width,
|
|
1099
|
+
height: r.value.height / k.value <= 0 ? 1e-4 : r.value.height / k.value,
|
|
1096
1100
|
fill: e.value.style.layout.marginalBars.highlighter.color,
|
|
1097
1101
|
"fill-opacity": e.value.style.layout.marginalBars.highlighter.opacity
|
|
1098
|
-
}, null, 8,
|
|
1102
|
+
}, null, 8, Do),
|
|
1099
1103
|
C("line", {
|
|
1100
|
-
x1:
|
|
1104
|
+
x1: r.value.left,
|
|
1101
1105
|
x2: I.value.width,
|
|
1102
|
-
y1: M.value.avgY[a] -
|
|
1103
|
-
y2: M.value.avgY[a] -
|
|
1106
|
+
y1: M.value.avgY[a] - r.value.height / k.value / 2,
|
|
1107
|
+
y2: M.value.avgY[a] - r.value.height / k.value / 2,
|
|
1104
1108
|
stroke: e.value.style.layout.marginalBars.highlighter.stroke,
|
|
1105
1109
|
"stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
1106
1110
|
"stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
1107
1111
|
style: { transition: "none !important", animation: "none !important" }
|
|
1108
|
-
}, null, 8,
|
|
1112
|
+
}, null, 8, Fo),
|
|
1109
1113
|
C("line", {
|
|
1110
|
-
x1:
|
|
1114
|
+
x1: r.value.left,
|
|
1111
1115
|
x2: I.value.width,
|
|
1112
|
-
y1: M.value.avgY[a] -
|
|
1113
|
-
y2: M.value.avgY[a] -
|
|
1116
|
+
y1: M.value.avgY[a] - r.value.height / k.value / 2 + (r.value.height / k.value <= 0 ? 1e-4 : r.value.height / k.value),
|
|
1117
|
+
y2: M.value.avgY[a] - r.value.height / k.value / 2 + (r.value.height / k.value <= 0 ? 1e-4 : r.value.height / k.value),
|
|
1114
1118
|
stroke: e.value.style.layout.marginalBars.highlighter.stroke,
|
|
1115
1119
|
"stroke-dasharray": e.value.style.layout.marginalBars.highlighter.strokeDasharray,
|
|
1116
1120
|
"stroke-width": e.value.style.layout.marginalBars.highlighter.strokeWidth,
|
|
1117
1121
|
style: { transition: "none !important", animation: "none !important" }
|
|
1118
|
-
}, null, 8,
|
|
1119
|
-
])) :
|
|
1122
|
+
}, null, 8, zo)
|
|
1123
|
+
])) : m("", !0)
|
|
1120
1124
|
]))), 256)),
|
|
1121
|
-
e.value.style.layout.marginalBars.showLines ? (i(), c("g",
|
|
1122
|
-
(i(!0), c(Z, null, le(
|
|
1123
|
-
W.value.includes(t.id) ?
|
|
1125
|
+
e.value.style.layout.marginalBars.showLines ? (i(), c("g", Eo, [
|
|
1126
|
+
(i(!0), c(Z, null, le(yl.value, (t) => (i(), c(Z, null, [
|
|
1127
|
+
W.value.includes(t.id) ? m("", !0) : (i(), c("path", {
|
|
1124
1128
|
key: 0,
|
|
1125
1129
|
d: `M ${t.dX}`,
|
|
1126
1130
|
stroke: e.value.style.backgroundColor,
|
|
@@ -1128,8 +1132,8 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1128
1132
|
"stroke-linecap": "round",
|
|
1129
1133
|
"stroke-linejoin": "round",
|
|
1130
1134
|
fill: "none"
|
|
1131
|
-
}, null, 8,
|
|
1132
|
-
W.value.includes(t.id) ?
|
|
1135
|
+
}, null, 8, Po)),
|
|
1136
|
+
W.value.includes(t.id) ? m("", !0) : (i(), c("path", {
|
|
1133
1137
|
key: 1,
|
|
1134
1138
|
d: `M ${t.dX}`,
|
|
1135
1139
|
stroke: t.color,
|
|
@@ -1137,8 +1141,8 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1137
1141
|
"stroke-linecap": "round",
|
|
1138
1142
|
"stroke-linejoin": "round",
|
|
1139
1143
|
fill: "none"
|
|
1140
|
-
}, null, 8,
|
|
1141
|
-
W.value.includes(t.id) ?
|
|
1144
|
+
}, null, 8, Oo)),
|
|
1145
|
+
W.value.includes(t.id) ? m("", !0) : (i(), c("path", {
|
|
1142
1146
|
key: 2,
|
|
1143
1147
|
d: `M ${t.dY}`,
|
|
1144
1148
|
stroke: e.value.style.backgroundColor,
|
|
@@ -1146,8 +1150,8 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1146
1150
|
"stroke-linecap": "round",
|
|
1147
1151
|
"stroke-linejoin": "round",
|
|
1148
1152
|
fill: "none"
|
|
1149
|
-
}, null, 8,
|
|
1150
|
-
W.value.includes(t.id) ?
|
|
1153
|
+
}, null, 8, No)),
|
|
1154
|
+
W.value.includes(t.id) ? m("", !0) : (i(), c("path", {
|
|
1151
1155
|
key: 3,
|
|
1152
1156
|
d: `M ${t.dY}`,
|
|
1153
1157
|
stroke: t.color,
|
|
@@ -1155,27 +1159,27 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1155
1159
|
"stroke-linecap": "round",
|
|
1156
1160
|
"stroke-linejoin": "round",
|
|
1157
1161
|
fill: "none"
|
|
1158
|
-
}, null, 8,
|
|
1162
|
+
}, null, 8, Wo))
|
|
1159
1163
|
], 64))), 256))
|
|
1160
|
-
])) :
|
|
1161
|
-
])) :
|
|
1162
|
-
e.value.style.layout.plots.giftWrap.show ? (i(), c("g",
|
|
1164
|
+
])) : m("", !0)
|
|
1165
|
+
])) : m("", !0),
|
|
1166
|
+
e.value.style.layout.plots.giftWrap.show ? (i(), c("g", Io, [
|
|
1163
1167
|
(i(!0), c(Z, null, le(U.value, (t, a) => (i(), c("g", null, [
|
|
1164
1168
|
t.plots.length > 2 ? (i(), c("polygon", {
|
|
1165
1169
|
key: 0,
|
|
1166
|
-
points: y(
|
|
1170
|
+
points: y(Rl)({ series: t.plots }),
|
|
1167
1171
|
fill: y(ze)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
1168
1172
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
1169
1173
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
1170
1174
|
stroke: t.color,
|
|
1171
1175
|
"stroke-linejoin": "round",
|
|
1172
1176
|
"stroke-linecap": "round"
|
|
1173
|
-
}, null, 8,
|
|
1177
|
+
}, null, 8, Xo)) : m("", !0)
|
|
1174
1178
|
]))), 256))
|
|
1175
|
-
])) :
|
|
1176
|
-
e.value.usePerformanceMode ?
|
|
1177
|
-
!t.shape || t.shape === "circle" ? (i(), c("g",
|
|
1178
|
-
(i(!0), c(Z, null, le(t.plots, (s,
|
|
1179
|
+
])) : m("", !0),
|
|
1180
|
+
e.value.usePerformanceMode ? m("", !0) : (i(!0), c(Z, { key: 4 }, le(U.value, (t, a) => (i(), c("g", null, [
|
|
1181
|
+
!t.shape || t.shape === "circle" ? (i(), c("g", Yo, [
|
|
1182
|
+
(i(!0), c(Z, null, le(t.plots, (s, n) => (i(), c("circle", {
|
|
1179
1183
|
cx: s.x,
|
|
1180
1184
|
cy: s.y,
|
|
1181
1185
|
r: R.value && R.value === s.id ? s.weight * 2 : s.weight,
|
|
@@ -1186,9 +1190,9 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1186
1190
|
onMouseover: (u) => Ue(s, a),
|
|
1187
1191
|
onMouseleave: (u) => Be(s, a),
|
|
1188
1192
|
onClick: (u) => Ve(s, a)
|
|
1189
|
-
}, null, 44,
|
|
1190
|
-
])) : (i(), c("g",
|
|
1191
|
-
(i(!0), c(Z, null, le(t.plots, (s,
|
|
1193
|
+
}, null, 44, Ro))), 256))
|
|
1194
|
+
])) : (i(), c("g", jo, [
|
|
1195
|
+
(i(!0), c(Z, null, le(t.plots, (s, n) => (i(), se(tt, {
|
|
1192
1196
|
plot: { x: s.x, y: s.y },
|
|
1193
1197
|
radius: R.value && R.value === s.id ? s.weight * 2 : s.weight,
|
|
1194
1198
|
shape: t.shape,
|
|
@@ -1206,7 +1210,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1206
1210
|
C("g", {
|
|
1207
1211
|
"clip-path": `url(#clip_path_${X.value})`
|
|
1208
1212
|
}, [
|
|
1209
|
-
(i(!0), c(Z, null, le(
|
|
1213
|
+
(i(!0), c(Z, null, le(ml.value, (t) => (i(), c("path", {
|
|
1210
1214
|
key: t.id,
|
|
1211
1215
|
d: t.d,
|
|
1212
1216
|
fill: t.fill,
|
|
@@ -1215,9 +1219,9 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1215
1219
|
"stroke-opacity": t.strokeOpacity,
|
|
1216
1220
|
"vector-effect": "non-scaling-stroke",
|
|
1217
1221
|
"paint-order": "fill"
|
|
1218
|
-
}, null, 8,
|
|
1219
|
-
], 8,
|
|
1220
|
-
g.value && e.value.style.layout.plots.selectors.show ? (i(), c("g",
|
|
1222
|
+
}, null, 8, Vo))), 128))
|
|
1223
|
+
], 8, Uo),
|
|
1224
|
+
g.value && e.value.style.layout.plots.selectors.show ? (i(), c("g", Go, [
|
|
1221
1225
|
we(tt, {
|
|
1222
1226
|
shape: g.value.shape || "circle",
|
|
1223
1227
|
color: g.value.color,
|
|
@@ -1226,19 +1230,19 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1226
1230
|
stroke: e.value.style.layout.plots.stroke,
|
|
1227
1231
|
strokeWidth: e.value.style.layout.plots.strokeWidth
|
|
1228
1232
|
}, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])
|
|
1229
|
-
])) :
|
|
1233
|
+
])) : m("", !0),
|
|
1230
1234
|
C("rect", {
|
|
1231
|
-
x:
|
|
1232
|
-
y:
|
|
1233
|
-
width: Math.max(1e-4,
|
|
1234
|
-
height: Math.max(1e-4,
|
|
1235
|
+
x: r.value.left,
|
|
1236
|
+
y: r.value.top,
|
|
1237
|
+
width: Math.max(1e-4, r.value.width),
|
|
1238
|
+
height: Math.max(1e-4, r.value.height),
|
|
1235
1239
|
fill: "transparent",
|
|
1236
1240
|
onMousemove: o[2] || (o[2] = (...t) => y(St) && y(St)(...t)),
|
|
1237
|
-
onMouseleave:
|
|
1238
|
-
onClick:
|
|
1239
|
-
}, null, 40,
|
|
1240
|
-
], 64)) :
|
|
1241
|
-
g.value && e.value.style.layout.plots.selectors.show ? (i(), c("g",
|
|
1241
|
+
onMouseleave: xl,
|
|
1242
|
+
onClick: Cl
|
|
1243
|
+
}, null, 40, qo)
|
|
1244
|
+
], 64)) : m("", !0),
|
|
1245
|
+
g.value && e.value.style.layout.plots.selectors.show ? (i(), c("g", Ho, [
|
|
1242
1246
|
C("line", {
|
|
1243
1247
|
x1: P.value.x,
|
|
1244
1248
|
x2: g.value.x,
|
|
@@ -1249,7 +1253,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1249
1253
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
1250
1254
|
"stroke-linecap": "round",
|
|
1251
1255
|
class: "line-pointer"
|
|
1252
|
-
}, null, 8,
|
|
1256
|
+
}, null, 8, Zo),
|
|
1253
1257
|
C("line", {
|
|
1254
1258
|
x1: g.value.x,
|
|
1255
1259
|
x2: g.value.x,
|
|
@@ -1260,7 +1264,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1260
1264
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
1261
1265
|
"stroke-linecap": "round",
|
|
1262
1266
|
class: "line-pointer"
|
|
1263
|
-
}, null, 8,
|
|
1267
|
+
}, null, 8, Jo),
|
|
1264
1268
|
C("text", {
|
|
1265
1269
|
x: P.value.x + (g.value.x > P.value.x ? -6 : 6),
|
|
1266
1270
|
y: g.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
@@ -1278,7 +1282,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1278
1282
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
1279
1283
|
}),
|
|
1280
1284
|
{ datapoint: g.value }
|
|
1281
|
-
)), 9,
|
|
1285
|
+
)), 9, Ko),
|
|
1282
1286
|
C("text", {
|
|
1283
1287
|
x: g.value.x,
|
|
1284
1288
|
y: P.value.y + (g.value.y > P.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
@@ -1296,7 +1300,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1296
1300
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
1297
1301
|
}),
|
|
1298
1302
|
{ datapoint: g.value }
|
|
1299
|
-
)), 9,
|
|
1303
|
+
)), 9, Qo),
|
|
1300
1304
|
C("circle", {
|
|
1301
1305
|
cx: P.value.x,
|
|
1302
1306
|
cy: g.value.y,
|
|
@@ -1305,7 +1309,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1305
1309
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
1306
1310
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
1307
1311
|
class: "line-pointer"
|
|
1308
|
-
}, null, 8,
|
|
1312
|
+
}, null, 8, ea),
|
|
1309
1313
|
C("circle", {
|
|
1310
1314
|
cx: g.value.x,
|
|
1311
1315
|
cy: P.value.y,
|
|
@@ -1314,7 +1318,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1314
1318
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
1315
1319
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
1316
1320
|
class: "line-pointer"
|
|
1317
|
-
}, null, 8,
|
|
1321
|
+
}, null, 8, ta),
|
|
1318
1322
|
e.value.style.layout.plots.selectors.labels.showName ? (i(), c("text", {
|
|
1319
1323
|
key: 0,
|
|
1320
1324
|
x: g.value.x,
|
|
@@ -1322,9 +1326,9 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1322
1326
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
1323
1327
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
1324
1328
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
1325
|
-
"text-anchor": g.value.x <
|
|
1326
|
-
}, G(g.value.v.name), 9,
|
|
1327
|
-
])) :
|
|
1329
|
+
"text-anchor": g.value.x < r.value.left + 100 ? "start" : g.value.x > r.value.right - 100 ? "end" : g.value.x > P.value.x ? "start" : "end"
|
|
1330
|
+
}, G(g.value.v.name), 9, la)) : m("", !0)
|
|
1331
|
+
])) : m("", !0),
|
|
1328
1332
|
e.value.style.layout.dataLabels.xAxis.show ? (i(), c("g", {
|
|
1329
1333
|
key: 7,
|
|
1330
1334
|
ref_key: "xAxisLabelLeft",
|
|
@@ -1332,12 +1336,12 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1332
1336
|
}, [
|
|
1333
1337
|
C("text", {
|
|
1334
1338
|
id: `vue-ui-scatter-xAxis-label-${X.value}`,
|
|
1335
|
-
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize}, ${
|
|
1339
|
+
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize}, ${r.value.top + r.value.height / 2}), rotate(-90)`,
|
|
1336
1340
|
"text-anchor": "middle",
|
|
1337
1341
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1338
1342
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1339
1343
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
1340
|
-
}, G(e.value.style.layout.dataLabels.xAxis.name), 9,
|
|
1344
|
+
}, G(e.value.style.layout.dataLabels.xAxis.name), 9, oa),
|
|
1341
1345
|
C("text", {
|
|
1342
1346
|
"text-anchor": "middle",
|
|
1343
1347
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
@@ -1352,14 +1356,14 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1352
1356
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1353
1357
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
1354
1358
|
})
|
|
1355
|
-
)), 9,
|
|
1356
|
-
], 512)) :
|
|
1359
|
+
)), 9, aa)
|
|
1360
|
+
], 512)) : m("", !0),
|
|
1357
1361
|
e.value.style.layout.dataLabels.xAxis.show ? (i(), c("text", {
|
|
1358
1362
|
key: 8,
|
|
1359
1363
|
ref_key: "xAxisLabelRight",
|
|
1360
|
-
ref:
|
|
1364
|
+
ref: rl,
|
|
1361
1365
|
"text-anchor": "middle",
|
|
1362
|
-
transform: `translate(${
|
|
1366
|
+
transform: `translate(${r.value.right + e.value.style.layout.padding.right + 6}, ${P.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
|
|
1363
1367
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1364
1368
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
1365
1369
|
}, G(y(ve)(
|
|
@@ -1371,13 +1375,13 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1371
1375
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1372
1376
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
1373
1377
|
})
|
|
1374
|
-
)), 9,
|
|
1378
|
+
)), 9, sa)) : m("", !0),
|
|
1375
1379
|
e.value.style.layout.dataLabels.yAxis.show ? (i(), c("text", {
|
|
1376
1380
|
key: 9,
|
|
1377
1381
|
ref_key: "yAxisLabelTop",
|
|
1378
|
-
ref:
|
|
1382
|
+
ref: nl,
|
|
1379
1383
|
x: P.value.x,
|
|
1380
|
-
y:
|
|
1384
|
+
y: r.value.top - e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1381
1385
|
"text-anchor": "middle",
|
|
1382
1386
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1383
1387
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
@@ -1390,7 +1394,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1390
1394
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1391
1395
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
1392
1396
|
})
|
|
1393
|
-
)), 9,
|
|
1397
|
+
)), 9, ra)) : m("", !0),
|
|
1394
1398
|
e.value.style.layout.dataLabels.yAxis.show ? (i(), c("g", {
|
|
1395
1399
|
key: 10,
|
|
1396
1400
|
ref_key: "yAxisLabelBottom",
|
|
@@ -1411,27 +1415,27 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1411
1415
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1412
1416
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
1413
1417
|
})
|
|
1414
|
-
)), 9,
|
|
1418
|
+
)), 9, na),
|
|
1415
1419
|
C("text", {
|
|
1416
1420
|
"text-anchor": "middle",
|
|
1417
1421
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1418
1422
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
|
|
1419
1423
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
1420
|
-
x:
|
|
1424
|
+
x: r.value.left + r.value.width / 2,
|
|
1421
1425
|
y: I.value.height
|
|
1422
|
-
}, G(e.value.style.layout.dataLabels.yAxis.name), 9,
|
|
1423
|
-
], 512)) :
|
|
1426
|
+
}, G(e.value.style.layout.dataLabels.yAxis.name), 9, ua)
|
|
1427
|
+
], 512)) : m("", !0),
|
|
1424
1428
|
C("clipPath", {
|
|
1425
1429
|
id: `clip_path_${X.value}`
|
|
1426
1430
|
}, [
|
|
1427
1431
|
C("rect", {
|
|
1428
|
-
x:
|
|
1429
|
-
y:
|
|
1430
|
-
width:
|
|
1431
|
-
height:
|
|
1432
|
-
}, null, 8,
|
|
1433
|
-
], 8,
|
|
1434
|
-
e.value.style.layout.correlation.show ? (i(), c("g",
|
|
1432
|
+
x: r.value.left,
|
|
1433
|
+
y: r.value.top,
|
|
1434
|
+
width: r.value.width <= 0 ? 1e-4 : r.value.width,
|
|
1435
|
+
height: r.value.height <= 0 ? 1e-4 : r.value.height
|
|
1436
|
+
}, null, 8, va)
|
|
1437
|
+
], 8, ia),
|
|
1438
|
+
e.value.style.layout.correlation.show ? (i(), c("g", ca, [
|
|
1435
1439
|
(i(!0), c(Z, null, le(U.value, (t, a) => (i(), c("line", {
|
|
1436
1440
|
x1: t.correlation.x1,
|
|
1437
1441
|
x2: t.correlation.x2,
|
|
@@ -1441,7 +1445,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1441
1445
|
stroke: t.color,
|
|
1442
1446
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
1443
1447
|
"clip-path": `url(#clip_path_${X.value})`
|
|
1444
|
-
}, null, 8,
|
|
1448
|
+
}, null, 8, ya))), 256)),
|
|
1445
1449
|
(i(!0), c(Z, null, le(U.value, (t, a) => (i(), c("g", null, [
|
|
1446
1450
|
e.value.style.layout.correlation.label.show ? (i(), c("text", {
|
|
1447
1451
|
key: 0,
|
|
@@ -1454,27 +1458,27 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1454
1458
|
}, G(y(oe)({
|
|
1455
1459
|
v: y(q)(t.correlation.coefficient),
|
|
1456
1460
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
1457
|
-
})), 9,
|
|
1461
|
+
})), 9, da)) : m("", !0)
|
|
1458
1462
|
]))), 256))
|
|
1459
|
-
])) :
|
|
1463
|
+
])) : m("", !0),
|
|
1460
1464
|
F(l.$slots, "svg", {
|
|
1461
1465
|
svg: {
|
|
1462
1466
|
...I.value,
|
|
1463
1467
|
drawingArea: {
|
|
1464
|
-
...
|
|
1468
|
+
...r.value,
|
|
1465
1469
|
zero: P.value
|
|
1466
1470
|
},
|
|
1467
1471
|
data: Me.value
|
|
1468
1472
|
}
|
|
1469
1473
|
}, void 0, !0)
|
|
1470
|
-
], 46,
|
|
1471
|
-
l.$slots.watermark ? (i(), c("div",
|
|
1472
|
-
F(l.$slots, "watermark", K(Q({ isPrinting: y(pt) || y(
|
|
1473
|
-
])) :
|
|
1474
|
+
], 46, vo)),
|
|
1475
|
+
l.$slots.watermark ? (i(), c("div", ha, [
|
|
1476
|
+
F(l.$slots, "watermark", K(Q({ isPrinting: y(pt) || y(bt) })), void 0, !0)
|
|
1477
|
+
])) : m("", !0),
|
|
1474
1478
|
C("div", {
|
|
1475
1479
|
id: `legend-bottom-${X.value}`
|
|
1476
|
-
}, null, 8,
|
|
1477
|
-
ct.value ? (i(), se(
|
|
1480
|
+
}, null, 8, fa),
|
|
1481
|
+
ct.value ? (i(), se(Tl, {
|
|
1478
1482
|
key: 5,
|
|
1479
1483
|
to: e.value.style.legend.position === "top" ? `#legend-top-${X.value}` : `#legend-bottom-${X.value}`
|
|
1480
1484
|
}, [
|
|
@@ -1482,17 +1486,17 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1482
1486
|
ref_key: "chartLegend",
|
|
1483
1487
|
ref: st
|
|
1484
1488
|
}, [
|
|
1485
|
-
e.value.style.legend.show ? (i(), se(
|
|
1489
|
+
e.value.style.legend.show ? (i(), se(ao, {
|
|
1486
1490
|
key: `legend_${vt.value}`,
|
|
1487
1491
|
legendSet: te.value,
|
|
1488
|
-
config:
|
|
1492
|
+
config: vl.value,
|
|
1489
1493
|
onClickMarker: o[3] || (o[3] = ({ legend: t }) => Se(t.id))
|
|
1490
1494
|
}, {
|
|
1491
1495
|
item: T(({ legend: t }) => [
|
|
1492
1496
|
C("div", {
|
|
1493
1497
|
onClick: (a) => t.segregate(),
|
|
1494
1498
|
style: ie(`opacity:${W.value.includes(t.id) ? 0.5 : 1}`)
|
|
1495
|
-
}, G(t.name), 13,
|
|
1499
|
+
}, G(t.name), 13, ga)
|
|
1496
1500
|
]),
|
|
1497
1501
|
_: 1
|
|
1498
1502
|
}, 8, ["legendSet", "config"])) : F(l.$slots, "legend", {
|
|
@@ -1500,16 +1504,16 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1500
1504
|
legend: te.value
|
|
1501
1505
|
}, void 0, !0)
|
|
1502
1506
|
], 512)
|
|
1503
|
-
], 8, ["to"])) :
|
|
1507
|
+
], 8, ["to"])) : m("", !0),
|
|
1504
1508
|
l.$slots.source ? (i(), c("div", {
|
|
1505
1509
|
key: 6,
|
|
1506
1510
|
ref_key: "source",
|
|
1507
|
-
ref:
|
|
1511
|
+
ref: rt,
|
|
1508
1512
|
dir: "auto"
|
|
1509
1513
|
}, [
|
|
1510
1514
|
F(l.$slots, "source", {}, void 0, !0)
|
|
1511
|
-
], 512)) :
|
|
1512
|
-
we(y(
|
|
1515
|
+
], 512)) : m("", !0),
|
|
1516
|
+
we(y(Ht), {
|
|
1513
1517
|
teleportTo: e.value.style.tooltip.teleportTo,
|
|
1514
1518
|
show: H.value.showTooltip && Ee.value,
|
|
1515
1519
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
@@ -1537,8 +1541,8 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1537
1541
|
F(l.$slots, "tooltip-after", K(Q({ ...je.value })), void 0, !0)
|
|
1538
1542
|
]),
|
|
1539
1543
|
default: T(() => [
|
|
1540
|
-
e.value.style.tooltip.showShape ? (i(), c("div",
|
|
1541
|
-
(i(), c("svg",
|
|
1544
|
+
e.value.style.tooltip.showShape ? (i(), c("div", pa, [
|
|
1545
|
+
(i(), c("svg", ba, [
|
|
1542
1546
|
we(tt, {
|
|
1543
1547
|
shape: g.value.shape,
|
|
1544
1548
|
color: g.value.color,
|
|
@@ -1546,17 +1550,17 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1546
1550
|
radius: 7
|
|
1547
1551
|
}, null, 8, ["shape", "color"])
|
|
1548
1552
|
]))
|
|
1549
|
-
])) :
|
|
1553
|
+
])) : m("", !0)
|
|
1550
1554
|
]),
|
|
1551
1555
|
_: 3
|
|
1552
1556
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1553
|
-
lt.value && e.value.userOptions.buttons.table ? (i(), se(
|
|
1557
|
+
lt.value && e.value.userOptions.buttons.table ? (i(), se(Dl(ke.value.component), Fl({ key: 7 }, ke.value.props, {
|
|
1554
1558
|
ref_key: "tableUnit",
|
|
1555
|
-
ref:
|
|
1559
|
+
ref: me,
|
|
1556
1560
|
onClose: Lt
|
|
1557
1561
|
}), zt({
|
|
1558
1562
|
content: T(() => [
|
|
1559
|
-
(i(), se(y(
|
|
1563
|
+
(i(), se(y(Kt), {
|
|
1560
1564
|
key: `table_${it.value}`,
|
|
1561
1565
|
colNames: Le.value.colNames,
|
|
1562
1566
|
head: Le.value.head,
|
|
@@ -1570,12 +1574,12 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1570
1574
|
Et(G(t), 1)
|
|
1571
1575
|
]),
|
|
1572
1576
|
td: T(({ td: t }) => [
|
|
1573
|
-
t.shape ? (i(), c("div",
|
|
1577
|
+
t.shape ? (i(), c("div", ma, [
|
|
1574
1578
|
C("span", null, G(t.content), 1)
|
|
1575
1579
|
])) : (i(), c("div", {
|
|
1576
1580
|
key: 1,
|
|
1577
1581
|
innerHTML: t
|
|
1578
|
-
}, null, 8,
|
|
1582
|
+
}, null, 8, ka))
|
|
1579
1583
|
]),
|
|
1580
1584
|
_: 1
|
|
1581
1585
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1597,7 +1601,7 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1597
1601
|
class: "vue-ui-user-options-button",
|
|
1598
1602
|
onClick: o[4] || (o[4] = (t) => Ge(e.value.userOptions.callbacks.csv))
|
|
1599
1603
|
}, [
|
|
1600
|
-
we(y(
|
|
1604
|
+
we(y(Zt), {
|
|
1601
1605
|
name: "excel",
|
|
1602
1606
|
stroke: ke.value.props.color
|
|
1603
1607
|
}, null, 8, ["stroke"])
|
|
@@ -1605,16 +1609,16 @@ const Nt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { ax
|
|
|
1605
1609
|
]),
|
|
1606
1610
|
key: "1"
|
|
1607
1611
|
} : void 0
|
|
1608
|
-
]), 1040)) :
|
|
1609
|
-
y(yt) ? (i(), se(
|
|
1610
|
-
], 46,
|
|
1612
|
+
]), 1040)) : m("", !0),
|
|
1613
|
+
y(yt) ? (i(), se(Kl, { key: 8 })) : m("", !0)
|
|
1614
|
+
], 46, uo));
|
|
1611
1615
|
}
|
|
1612
|
-
},
|
|
1616
|
+
}, Ca = /* @__PURE__ */ no(xa, [["__scopeId", "data-v-8eb1bada"]]), Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1613
1617
|
__proto__: null,
|
|
1614
|
-
default:
|
|
1618
|
+
default: Ca
|
|
1615
1619
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1616
1620
|
export {
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1621
|
+
Na as a,
|
|
1622
|
+
Wa as b,
|
|
1623
|
+
Ca as v
|
|
1620
1624
|
};
|