vue-data-ui 3.22.13 → 3.23.0
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/LICENSE +1 -1
- package/README.md +13 -1
- package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
- package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
- package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
- package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
- package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
- package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
- package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
- package/dist/HillActions-BWhxHlrj.js +187 -0
- package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
- package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
- package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
- package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
- package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
- package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
- package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
- package/dist/Title-BODtwViI.js +87 -0
- package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
- package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +2 -0
- 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-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
- package/dist/exposedLib-DWLRqRhv.js +25 -0
- package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
- package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
- package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
- package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
- package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
- package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +493 -0
- package/dist/types/vue-ui-hill.d.ts +90 -0
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
- package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
- package/dist/useHints-Dq_w2E8B.js +66 -0
- package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
- package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
- package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
- package/dist/useTransitions-g_zBREk2.js +39 -0
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
- package/dist/vue-data-ui.js +77 -76
- package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
- package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
- package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
- package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
- package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
- package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
- package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
- package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
- package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
- package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
- package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
- package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
- package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
- package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
- package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
- package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
- package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
- package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
- package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
- package/dist/vue-ui-funnel-CjYosIik.js +797 -0
- package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
- package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
- package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
- package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
- package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
- package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
- package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
- package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
- package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
- package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
- package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
- package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
- package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
- package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
- package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
- package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
- package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
- package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
- package/dist/vue-ui-rating--K7rX2an.js +360 -0
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
- package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
- package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
- package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
- package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
- package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
- package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
- package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
- package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
- package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
- package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
- package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
- package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
- package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
- package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
- package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
- package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
- package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
- package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
- package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
- package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
- package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
- package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
- package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
- package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
- package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
- package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
- package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
- package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
- package/dist/vue_ui_hill-dnltu0L-.js +368 -0
- package/package.json +2 -2
- package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
- package/dist/Title-BuPs74IB.js +0 -87
- package/dist/exposedLib-Ciw6TGtP.js +0 -25
- package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
- package/dist/useMountedDelay-BAjrhRJb.js +0 -14
- package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
- package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
- package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
- package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
- package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
- package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
- package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
- package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
- package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
- package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
- package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
- package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
- package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
- package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
- package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
- package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
- package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
- package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
- package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
- package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
- package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
- package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
- package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
- package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
- package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
- package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
- package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
- package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
- package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
- package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
- package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
- package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
- package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
|
@@ -1,82 +1,83 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import {
|
|
2
|
+
import { $ as t, Bt as n, D as r, F as i, Gt as a, Jt as o, Kt as s, P as c, Pt as l, S as u, Tt as d, X as f, _ as p, _t as m, b as h, ct as ee, i as g, jt as te, pt as ne, q as re, t as ie, tt as ae, v as oe, w as se, xt as ce } from "./lib-BuMGJ_a0.js";
|
|
3
|
+
import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as de } from "./useConfig-BilxnBNr.js";
|
|
5
|
+
import { t as fe } from "./usePrinter-BFvi4jVy.js";
|
|
6
|
+
import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as he } from "./useSvgExport-Ba9qBr9M.js";
|
|
8
|
+
import { t as ge } from "./useNestedProp--NSEmhOH.js";
|
|
9
|
+
import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as ve } from "./useTransitions-g_zBREk2.js";
|
|
11
|
+
import { t as ye } from "./img-DIQG5q8T.js";
|
|
12
|
+
import { n as be } from "./Title-BODtwViI.js";
|
|
13
|
+
import { t as xe } from "./Shape-BPMV94Ij.js";
|
|
14
|
+
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
|
+
import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
|
|
16
|
+
import { t as Te } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
+
import { t as Ee } from "./BaseLegendToggle-CtAPwzr2.js";
|
|
18
|
+
import { t as De } from "./A11yDataTable-DdRsVULz.js";
|
|
19
|
+
import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
|
+
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
+
import { t as Ae } from "./Legend-CQTRlzK-.js";
|
|
22
|
+
import { t as je } from "./vue_ui_scatter-I0POnicu.js";
|
|
23
|
+
import { Fragment as _, Teleport as Me, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as C, guardReactiveProps as w, mergeProps as Ie, nextTick as Le, normalizeClass as Re, normalizeProps as T, normalizeStyle as E, onBeforeUnmount as ze, onMounted as Be, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as j, toRefs as Ue, unref as M, watch as We, withCtx as N } from "vue";
|
|
23
24
|
//#region src/components/vue-ui-scatter.vue
|
|
24
|
-
var
|
|
25
|
+
var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je = {
|
|
25
26
|
key: 0,
|
|
26
27
|
class: "sr-only",
|
|
27
28
|
"aria-live": "polite",
|
|
28
29
|
"aria-atomic": "true"
|
|
29
|
-
},
|
|
30
|
+
}, Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
|
|
30
31
|
"xmlns",
|
|
31
32
|
"aria-describedby",
|
|
32
33
|
"viewBox"
|
|
33
|
-
],
|
|
34
|
+
], Qe = ["width", "height"], $e = { key: 1 }, et = [
|
|
34
35
|
"x1",
|
|
35
36
|
"x2",
|
|
36
37
|
"y1",
|
|
37
38
|
"y2",
|
|
38
39
|
"stroke",
|
|
39
40
|
"stroke-width"
|
|
40
|
-
],
|
|
41
|
+
], tt = [
|
|
41
42
|
"x1",
|
|
42
43
|
"x2",
|
|
43
44
|
"y1",
|
|
44
45
|
"y2",
|
|
45
46
|
"stroke",
|
|
46
47
|
"stroke-width"
|
|
47
|
-
],
|
|
48
|
+
], nt = { key: 2 }, rt = [
|
|
48
49
|
"x1",
|
|
49
50
|
"x2",
|
|
50
51
|
"y1",
|
|
51
52
|
"y2",
|
|
52
53
|
"stroke",
|
|
53
54
|
"stroke-width"
|
|
54
|
-
],
|
|
55
|
+
], it = ["opacity"], at = [
|
|
55
56
|
"stroke",
|
|
56
57
|
"stroke-width",
|
|
57
58
|
"d"
|
|
58
|
-
],
|
|
59
|
+
], ot = [
|
|
59
60
|
"transform",
|
|
60
61
|
"font-size",
|
|
61
62
|
"fill",
|
|
62
63
|
"stroke"
|
|
63
|
-
],
|
|
64
|
+
], st = { key: 4 }, ct = [
|
|
64
65
|
"x1",
|
|
65
66
|
"x2",
|
|
66
67
|
"y1",
|
|
67
68
|
"y2",
|
|
68
69
|
"stroke",
|
|
69
70
|
"stroke-width"
|
|
70
|
-
],
|
|
71
|
+
], lt = ["opacity"], ut = [
|
|
71
72
|
"d",
|
|
72
73
|
"stroke",
|
|
73
74
|
"stroke-width"
|
|
74
|
-
],
|
|
75
|
+
], dt = [
|
|
75
76
|
"transform",
|
|
76
77
|
"font-size",
|
|
77
78
|
"fill",
|
|
78
79
|
"stroke"
|
|
79
|
-
],
|
|
80
|
+
], ft = { key: 6 }, pt = [
|
|
80
81
|
"x",
|
|
81
82
|
"y",
|
|
82
83
|
"width",
|
|
@@ -85,37 +86,37 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
85
86
|
"stroke",
|
|
86
87
|
"stroke-width",
|
|
87
88
|
"rx"
|
|
88
|
-
],
|
|
89
|
+
], mt = [
|
|
89
90
|
"x",
|
|
90
91
|
"y",
|
|
91
92
|
"width",
|
|
92
93
|
"height",
|
|
93
94
|
"onMouseenter"
|
|
94
|
-
],
|
|
95
|
+
], ht = {
|
|
95
96
|
key: 2,
|
|
96
97
|
style: { "pointer-events": "none" }
|
|
97
|
-
},
|
|
98
|
+
}, gt = [
|
|
98
99
|
"x",
|
|
99
100
|
"y",
|
|
100
101
|
"width",
|
|
101
102
|
"height",
|
|
102
103
|
"fill",
|
|
103
104
|
"fill-opacity"
|
|
104
|
-
],
|
|
105
|
+
], _t = [
|
|
105
106
|
"x1",
|
|
106
107
|
"x2",
|
|
107
108
|
"y2",
|
|
108
109
|
"stroke",
|
|
109
110
|
"stroke-dasharray",
|
|
110
111
|
"stroke-width"
|
|
111
|
-
],
|
|
112
|
+
], vt = [
|
|
112
113
|
"x1",
|
|
113
114
|
"x2",
|
|
114
115
|
"y2",
|
|
115
116
|
"stroke",
|
|
116
117
|
"stroke-dasharray",
|
|
117
118
|
"stroke-width"
|
|
118
|
-
],
|
|
119
|
+
], yt = [
|
|
119
120
|
"x",
|
|
120
121
|
"y",
|
|
121
122
|
"height",
|
|
@@ -124,23 +125,23 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
124
125
|
"stroke",
|
|
125
126
|
"stroke-width",
|
|
126
127
|
"rx"
|
|
127
|
-
],
|
|
128
|
+
], bt = [
|
|
128
129
|
"x",
|
|
129
130
|
"y",
|
|
130
131
|
"width",
|
|
131
132
|
"height",
|
|
132
133
|
"onMouseenter"
|
|
133
|
-
],
|
|
134
|
+
], xt = {
|
|
134
135
|
key: 2,
|
|
135
136
|
style: { "pointer-events": "none" }
|
|
136
|
-
},
|
|
137
|
+
}, St = [
|
|
137
138
|
"x",
|
|
138
139
|
"y",
|
|
139
140
|
"width",
|
|
140
141
|
"height",
|
|
141
142
|
"fill",
|
|
142
143
|
"fill-opacity"
|
|
143
|
-
],
|
|
144
|
+
], Ct = [
|
|
144
145
|
"x1",
|
|
145
146
|
"x2",
|
|
146
147
|
"y1",
|
|
@@ -148,7 +149,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
148
149
|
"stroke",
|
|
149
150
|
"stroke-dasharray",
|
|
150
151
|
"stroke-width"
|
|
151
|
-
],
|
|
152
|
+
], wt = [
|
|
152
153
|
"x1",
|
|
153
154
|
"x2",
|
|
154
155
|
"y1",
|
|
@@ -156,35 +157,35 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
156
157
|
"stroke",
|
|
157
158
|
"stroke-dasharray",
|
|
158
159
|
"stroke-width"
|
|
159
|
-
],
|
|
160
|
+
], Tt = {
|
|
160
161
|
key: 0,
|
|
161
162
|
style: { "pointer-events": "none" }
|
|
162
|
-
},
|
|
163
|
+
}, Et = [
|
|
163
164
|
"d",
|
|
164
165
|
"stroke",
|
|
165
166
|
"stroke-width"
|
|
166
|
-
],
|
|
167
|
+
], Dt = [
|
|
167
168
|
"d",
|
|
168
169
|
"stroke",
|
|
169
170
|
"stroke-width"
|
|
170
|
-
],
|
|
171
|
+
], Ot = [
|
|
171
172
|
"d",
|
|
172
173
|
"stroke",
|
|
173
174
|
"stroke-width"
|
|
174
|
-
],
|
|
175
|
+
], kt = [
|
|
175
176
|
"d",
|
|
176
177
|
"stroke",
|
|
177
178
|
"stroke-width"
|
|
178
|
-
],
|
|
179
|
+
], At = { key: 7 }, jt = [
|
|
179
180
|
"points",
|
|
180
181
|
"fill",
|
|
181
182
|
"stroke-width",
|
|
182
183
|
"stroke-dasharray",
|
|
183
184
|
"stroke"
|
|
184
|
-
],
|
|
185
|
+
], Mt = {
|
|
185
186
|
key: 0,
|
|
186
187
|
class: "vue-ui-scatter-datapoint"
|
|
187
|
-
},
|
|
188
|
+
}, Nt = [
|
|
188
189
|
"cx",
|
|
189
190
|
"cy",
|
|
190
191
|
"r",
|
|
@@ -194,31 +195,31 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
194
195
|
"onMouseover",
|
|
195
196
|
"onMouseleave",
|
|
196
197
|
"onClick"
|
|
197
|
-
],
|
|
198
|
+
], Pt = { key: 1 }, Ft = [
|
|
198
199
|
"transform",
|
|
199
200
|
"font-size",
|
|
200
201
|
"fill",
|
|
201
202
|
"onMouseover",
|
|
202
203
|
"onMouseleave",
|
|
203
204
|
"onClick"
|
|
204
|
-
],
|
|
205
|
+
], It = ["clip-path"], Lt = [
|
|
205
206
|
"d",
|
|
206
207
|
"fill",
|
|
207
208
|
"stroke",
|
|
208
209
|
"stroke-width",
|
|
209
210
|
"stroke-opacity"
|
|
210
|
-
],
|
|
211
|
+
], Rt = {
|
|
211
212
|
key: 0,
|
|
212
213
|
style: { "pointer-events": "none" }
|
|
213
|
-
},
|
|
214
|
+
}, zt = [
|
|
214
215
|
"x",
|
|
215
216
|
"y",
|
|
216
217
|
"width",
|
|
217
218
|
"height"
|
|
218
|
-
],
|
|
219
|
+
], Bt = {
|
|
219
220
|
key: 0,
|
|
220
221
|
style: { "pointer-events": "none !important" }
|
|
221
|
-
},
|
|
222
|
+
}, Vt = [
|
|
222
223
|
"x1",
|
|
223
224
|
"x2",
|
|
224
225
|
"y1",
|
|
@@ -226,7 +227,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
226
227
|
"stroke",
|
|
227
228
|
"stroke-width",
|
|
228
229
|
"stroke-dasharray"
|
|
229
|
-
],
|
|
230
|
+
], Ht = [
|
|
230
231
|
"x1",
|
|
231
232
|
"x2",
|
|
232
233
|
"y1",
|
|
@@ -234,89 +235,89 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
234
235
|
"stroke",
|
|
235
236
|
"stroke-width",
|
|
236
237
|
"stroke-dasharray"
|
|
237
|
-
],
|
|
238
|
+
], Ut = [
|
|
238
239
|
"x",
|
|
239
240
|
"y",
|
|
240
241
|
"font-size",
|
|
241
242
|
"fill",
|
|
242
243
|
"font-weight",
|
|
243
244
|
"text-anchor"
|
|
244
|
-
],
|
|
245
|
+
], Wt = [
|
|
245
246
|
"x",
|
|
246
247
|
"y",
|
|
247
248
|
"font-size",
|
|
248
249
|
"fill",
|
|
249
250
|
"font-weight"
|
|
250
|
-
],
|
|
251
|
+
], Gt = [
|
|
251
252
|
"x",
|
|
252
253
|
"y",
|
|
253
254
|
"font-size",
|
|
254
255
|
"fill"
|
|
255
|
-
],
|
|
256
|
+
], Kt = [
|
|
256
257
|
"x",
|
|
257
258
|
"y",
|
|
258
259
|
"font-size",
|
|
259
260
|
"fill"
|
|
260
|
-
],
|
|
261
|
+
], qt = [
|
|
261
262
|
"cx",
|
|
262
263
|
"cy",
|
|
263
264
|
"r",
|
|
264
265
|
"fill",
|
|
265
266
|
"stroke",
|
|
266
267
|
"stroke-width"
|
|
267
|
-
],
|
|
268
|
+
], Jt = [
|
|
268
269
|
"cx",
|
|
269
270
|
"cy",
|
|
270
271
|
"r",
|
|
271
272
|
"fill",
|
|
272
273
|
"stroke",
|
|
273
274
|
"stroke-width"
|
|
274
|
-
],
|
|
275
|
+
], Yt = [
|
|
275
276
|
"x",
|
|
276
277
|
"y",
|
|
277
278
|
"font-size",
|
|
278
279
|
"fill",
|
|
279
280
|
"font-weight",
|
|
280
281
|
"text-anchor"
|
|
281
|
-
],
|
|
282
|
+
], Xt = [
|
|
282
283
|
"id",
|
|
283
284
|
"transform",
|
|
284
285
|
"font-size",
|
|
285
286
|
"font-weight",
|
|
286
287
|
"fill"
|
|
287
|
-
],
|
|
288
|
+
], Zt = [
|
|
288
289
|
"font-size",
|
|
289
290
|
"fill",
|
|
290
291
|
"transform"
|
|
291
|
-
],
|
|
292
|
+
], Qt = [
|
|
292
293
|
"transform",
|
|
293
294
|
"font-size",
|
|
294
295
|
"fill"
|
|
295
|
-
],
|
|
296
|
+
], $t = [
|
|
296
297
|
"x",
|
|
297
298
|
"y",
|
|
298
299
|
"font-size",
|
|
299
300
|
"fill"
|
|
300
|
-
],
|
|
301
|
+
], en = [
|
|
301
302
|
"x",
|
|
302
303
|
"y",
|
|
303
304
|
"font-size",
|
|
304
305
|
"fill"
|
|
305
|
-
],
|
|
306
|
+
], tn = [
|
|
306
307
|
"font-size",
|
|
307
308
|
"font-weight",
|
|
308
309
|
"fill",
|
|
309
310
|
"x",
|
|
310
311
|
"y"
|
|
311
|
-
],
|
|
312
|
+
], nn = ["id"], rn = [
|
|
312
313
|
"x",
|
|
313
314
|
"y",
|
|
314
315
|
"width",
|
|
315
316
|
"height"
|
|
316
|
-
],
|
|
317
|
+
], an = {
|
|
317
318
|
key: 14,
|
|
318
319
|
style: { pointerEvents: "none" }
|
|
319
|
-
},
|
|
320
|
+
}, on = [
|
|
320
321
|
"x1",
|
|
321
322
|
"x2",
|
|
322
323
|
"y1",
|
|
@@ -325,13 +326,13 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
325
326
|
"stroke",
|
|
326
327
|
"stroke-width",
|
|
327
328
|
"clip-path"
|
|
328
|
-
],
|
|
329
|
+
], sn = [
|
|
329
330
|
"x",
|
|
330
331
|
"y",
|
|
331
332
|
"fill",
|
|
332
333
|
"font-size",
|
|
333
334
|
"font-weight"
|
|
334
|
-
],
|
|
335
|
+
], cn = {
|
|
335
336
|
key: 0,
|
|
336
337
|
style: {
|
|
337
338
|
position: "absolute",
|
|
@@ -341,10 +342,10 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
341
342
|
},
|
|
342
343
|
"data-dom-to-png-ignore": "",
|
|
343
344
|
"aria-hidden": "true"
|
|
344
|
-
},
|
|
345
|
+
}, ln = {
|
|
345
346
|
key: 6,
|
|
346
347
|
class: "vue-data-ui-watermark"
|
|
347
|
-
},
|
|
348
|
+
}, un = ["id"], dn = ["onClick"], fn = {
|
|
348
349
|
key: 0,
|
|
349
350
|
style: {
|
|
350
351
|
width: "100%",
|
|
@@ -352,7 +353,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
352
353
|
"align-items": "center",
|
|
353
354
|
"justify-content": "center"
|
|
354
355
|
}
|
|
355
|
-
},
|
|
356
|
+
}, pn = {
|
|
356
357
|
viewBox: "0 0 20 20",
|
|
357
358
|
height: "20",
|
|
358
359
|
width: "20",
|
|
@@ -360,7 +361,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
360
361
|
overflow: "hidden",
|
|
361
362
|
background: "transparent"
|
|
362
363
|
}
|
|
363
|
-
},
|
|
364
|
+
}, mn = { key: 0 }, hn = ["innerHTML"], gn = /*#__PURE__*/ Se({
|
|
364
365
|
__name: "vue-ui-scatter",
|
|
365
366
|
props: {
|
|
366
367
|
config: {
|
|
@@ -377,33 +378,51 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
377
378
|
}
|
|
378
379
|
},
|
|
379
380
|
emits: ["copyAlt", "selectLegend"],
|
|
380
|
-
setup(e, { expose:
|
|
381
|
-
let
|
|
381
|
+
setup(e, { expose: Se, emit: Ge }) {
|
|
382
|
+
let gn = C(() => import("./Tooltip-CMTGxeYO.js")), _n = C(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), vn = C(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), yn = C(() => import("./DataTable-D4tM9s5Y.js")), bn = C(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), xn = C(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), Sn = C(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Cn = C(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_scatter: wn } = de(), { isThemeValid: Tn, warnInvalidTheme: En } = _e(), P = e, Dn = Ge, On = v(() => !!P.dataset && P.dataset.length), F = O(re()), kn = O(!1), An = O(""), jn = O(0), I = O(null), Mn = O(null), Nn = O(null), Pn = O(null), Fn = O(null), In = O(0), Ln = O(0), Rn = O(0), L = O([]), zn = O(!1), Bn = O(null), Vn = O(null), Hn = O(null), Un = O(null), Wn = O(!1), Gn = O(!1), Kn = O(null), qn = O(null), Jn = O(null), Yn = O(null), Xn = O(null), Zn = O(null), Qn = O(null), $n = O({
|
|
382
383
|
x: 0,
|
|
383
384
|
y: 0
|
|
384
|
-
}),
|
|
385
|
-
|
|
385
|
+
}), er = O("pointer"), tr = O(!1), nr = O(null), R = O(mr());
|
|
386
|
+
le({
|
|
387
|
+
config: () => R.value,
|
|
388
|
+
dataset: () => P.dataset,
|
|
389
|
+
component: "VueUiScatter",
|
|
390
|
+
rules: [ue.emptyArray, {
|
|
391
|
+
test: (e) => e.length > 6,
|
|
392
|
+
message: [
|
|
393
|
+
"👀 The number of series (clusters) is > 6. Consider:",
|
|
394
|
+
"",
|
|
395
|
+
"",
|
|
396
|
+
"▶️ Using filters to let users choose a maximum number of series (clusters) to display."
|
|
397
|
+
]
|
|
398
|
+
}]
|
|
399
|
+
});
|
|
400
|
+
let { transitionEnabled: rr } = ve({
|
|
401
|
+
config: () => R.value.transitions,
|
|
402
|
+
dataset: () => P.dataset
|
|
403
|
+
}), ir = v(() => R.value.userOptions.useCursorPointer);
|
|
404
|
+
function ar(e = 100, t = .8, n = {}) {
|
|
386
405
|
let { meanX: r = 0, sdX: i = 1, meanY: a = 0, sdY: o = 1, seed: s } = n, c = (s ?? Math.floor(Math.random() * 2 ** 31)) >>> 0, l = () => (c = c * 1664525 + 1013904223 >>> 0, c / 2 ** 32), u = () => {
|
|
387
406
|
let e = 0, t = 0;
|
|
388
407
|
for (; e === 0;) e = l();
|
|
389
408
|
for (; t === 0;) t = l();
|
|
390
409
|
return Math.sqrt(-2 * Math.log(e)) * Math.cos(2 * Math.PI * t);
|
|
391
|
-
}, d = e / 2, f = Array.from({ length: d }, u), p = Array.from({ length: d }, u), m = (e) => e.reduce((e, t) => e + t, 0) / e.length,
|
|
392
|
-
for (let e = 0; e < d; e += 1) f[e] -=
|
|
393
|
-
let
|
|
394
|
-
let r =
|
|
410
|
+
}, d = e / 2, f = Array.from({ length: d }, u), p = Array.from({ length: d }, u), m = (e) => e.reduce((e, t) => e + t, 0) / e.length, h = m(f), ee = m(p);
|
|
411
|
+
for (let e = 0; e < d; e += 1) f[e] -= h, p[e] -= ee;
|
|
412
|
+
let g = (e, t) => e.reduce((e, n, r) => e + n * t[r], 0), te = (e) => g(e, e), ne = g(p, f) / te(f), re = p.map((e, t) => e - ne * f[t]), ie = te(f) / d, ae = te(re) / d, oe = Math.sqrt((1 - t * t) * ie / ae), se = f.map((e, n) => t * e + oe * re[n]), ce = f.concat(f.map((e) => -e)), le = se.concat(se.map((e) => -e)), ue = (e) => Math.sqrt(te(e) / e.length), de = (e, t, n) => {
|
|
413
|
+
let r = ue(e);
|
|
395
414
|
return e.map((e) => n + (r ? e / r * t : 0));
|
|
396
|
-
},
|
|
397
|
-
for (let e =
|
|
415
|
+
}, fe = de(ce, i, r), pe = de(le, o, a);
|
|
416
|
+
for (let e = fe.length - 1; e > 0; --e) {
|
|
398
417
|
let t = Math.floor(l() * (e + 1));
|
|
399
|
-
[
|
|
418
|
+
[fe[e], fe[t]] = [fe[t], fe[e]], [pe[e], pe[t]] = [pe[t], pe[e]];
|
|
400
419
|
}
|
|
401
|
-
return
|
|
420
|
+
return fe.map((e, t) => ({
|
|
402
421
|
x: e,
|
|
403
|
-
y:
|
|
422
|
+
y: pe[t]
|
|
404
423
|
}));
|
|
405
424
|
}
|
|
406
|
-
let
|
|
425
|
+
let or = v(() => o({
|
|
407
426
|
defaultConfig: {
|
|
408
427
|
userOptions: { show: !1 },
|
|
409
428
|
table: { show: !1 },
|
|
@@ -430,82 +449,82 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
430
449
|
}
|
|
431
450
|
},
|
|
432
451
|
userConfig: R.value.skeletonConfig ?? {}
|
|
433
|
-
})), { loading:
|
|
434
|
-
...
|
|
452
|
+
})), { loading: sr, FINAL_DATASET: cr, manualLoading: lr } = pe({
|
|
453
|
+
...Ue(P),
|
|
435
454
|
FINAL_CONFIG: R,
|
|
436
|
-
prepareConfig:
|
|
455
|
+
prepareConfig: mr,
|
|
437
456
|
skeletonDataset: P.config?.skeletonDataset ?? [{
|
|
438
457
|
name: "",
|
|
439
458
|
color: "#999999",
|
|
440
|
-
values:
|
|
459
|
+
values: ar(100, .5, { seed: 42 })
|
|
441
460
|
}],
|
|
442
|
-
skeletonConfig:
|
|
461
|
+
skeletonConfig: o({
|
|
443
462
|
defaultConfig: R.value,
|
|
444
|
-
userConfig:
|
|
463
|
+
userConfig: or.value
|
|
445
464
|
})
|
|
446
|
-
}), { userOptionsVisible:
|
|
447
|
-
function
|
|
448
|
-
let e =
|
|
465
|
+
}), { userOptionsVisible: ur, setUserOptionsVisibility: dr, keepUserOptionState: fr } = Oe({ config: R.value }), { svgRef: pr } = ke({ config: R.value.style.title });
|
|
466
|
+
function mr() {
|
|
467
|
+
let e = ge({
|
|
449
468
|
userConfig: P.config,
|
|
450
|
-
defaultConfig:
|
|
469
|
+
defaultConfig: wn
|
|
451
470
|
}), t = e.theme;
|
|
452
471
|
if (!t) return e;
|
|
453
|
-
if (!
|
|
454
|
-
let n =
|
|
455
|
-
userConfig:
|
|
472
|
+
if (!Tn.value(e)) return En(e), e;
|
|
473
|
+
let n = ge({
|
|
474
|
+
userConfig: je[t] || P.config,
|
|
456
475
|
defaultConfig: e
|
|
457
|
-
}), r =
|
|
476
|
+
}), r = ge({
|
|
458
477
|
userConfig: P.config,
|
|
459
478
|
defaultConfig: n
|
|
460
479
|
});
|
|
461
480
|
return {
|
|
462
481
|
...r,
|
|
463
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
482
|
+
customPalette: r.customPalette.length ? r.customPalette : s[t] || l
|
|
464
483
|
};
|
|
465
484
|
}
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
}, { deep: !0 }),
|
|
469
|
-
Array.isArray(e) && e.length > 0 && (
|
|
485
|
+
We(() => P.config, (e) => {
|
|
486
|
+
sr.value || (R.value = mr()), ur.value = !R.value.userOptions.showOnChartHover, _r(), In.value += 1, Ln.value += 1, Rn.value += 1, B.value.showTable = R.value.table.show, B.value.showTooltip = R.value.style.tooltip.show, gr.value && R.value.usePerformanceMode && console.warn("VueUiScatter : You are using performance mode\n\n- downsampling is disabled in this mode, all plots are rendered\n\n- plot significance is not active in this mode (all plots have the same opacity) \n\n- Depending on plot density, shapes might not display a border (stroke) to avoid fuzziness \n\nℹ️ To remove this warning, set config.debug to false.");
|
|
487
|
+
}, { deep: !0 }), We(() => P.dataset, (e) => {
|
|
488
|
+
Array.isArray(e) && e.length > 0 && (lr.value = !1);
|
|
470
489
|
}, { deep: !0 });
|
|
471
|
-
let z =
|
|
472
|
-
|
|
473
|
-
|
|
490
|
+
let z = He(null), hr = He(null);
|
|
491
|
+
Be(async () => {
|
|
492
|
+
_r(), await Le(), zn.value = !0;
|
|
474
493
|
});
|
|
475
|
-
let
|
|
476
|
-
function
|
|
477
|
-
if (
|
|
494
|
+
let gr = v(() => !!R.value.debug);
|
|
495
|
+
function _r() {
|
|
496
|
+
if (te(P.dataset) && (ae({
|
|
478
497
|
componentName: "VueUiScatter",
|
|
479
498
|
type: "dataset",
|
|
480
|
-
debug:
|
|
481
|
-
}),
|
|
482
|
-
let e =
|
|
483
|
-
let { width: e, height: t } =
|
|
499
|
+
debug: gr.value
|
|
500
|
+
}), lr.value = !0), te(P.dataset) || (lr.value = R.value.loading), R.value.responsive) {
|
|
501
|
+
let e = Ce(() => {
|
|
502
|
+
let { width: e, height: t } = we({
|
|
484
503
|
chart: I.value,
|
|
485
|
-
title: R.value.style.title.text ?
|
|
486
|
-
legend: R.value.style.legend.show ?
|
|
487
|
-
source:
|
|
488
|
-
noTitle:
|
|
504
|
+
title: R.value.style.title.text ? Mn.value : null,
|
|
505
|
+
legend: R.value.style.legend.show ? Nn.value : null,
|
|
506
|
+
source: Pn.value,
|
|
507
|
+
noTitle: Fn.value
|
|
489
508
|
});
|
|
490
509
|
requestAnimationFrame(() => {
|
|
491
510
|
V.value.width = e, V.value.height = t;
|
|
492
511
|
});
|
|
493
512
|
});
|
|
494
|
-
z.value && (
|
|
513
|
+
z.value && (hr.value && z.value.unobserve(hr.value), z.value.disconnect()), z.value = new ResizeObserver(e), hr.value = I.value.parentNode, z.value.observe(hr.value);
|
|
495
514
|
}
|
|
496
515
|
}
|
|
497
|
-
|
|
498
|
-
z.value && (
|
|
516
|
+
ze(() => {
|
|
517
|
+
z.value && (hr.value && z.value.unobserve(hr.value), z.value.disconnect());
|
|
499
518
|
});
|
|
500
|
-
let { isPrinting:
|
|
519
|
+
let { isPrinting: vr, isImaging: yr, generatePdf: br, generateImage: xr } = fe({
|
|
501
520
|
elementId: `vue-ui-scatter_${F.value}`,
|
|
502
521
|
fileName: R.value.style.title.text || "vue-ui-scatter",
|
|
503
522
|
options: R.value.userOptions.print
|
|
504
|
-
}),
|
|
523
|
+
}), Sr = v(() => R.value.userOptions.show && !R.value.style.title.text), Cr = v(() => se(R.value.customPalette)), B = O({
|
|
505
524
|
showTable: R.value.table.show,
|
|
506
525
|
showTooltip: R.value.style.tooltip.show
|
|
507
526
|
});
|
|
508
|
-
|
|
527
|
+
We(R, () => {
|
|
509
528
|
B.value = {
|
|
510
529
|
showTable: R.value.table.show,
|
|
511
530
|
showTooltip: R.value.style.tooltip.show
|
|
@@ -514,11 +533,11 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
514
533
|
let V = O({
|
|
515
534
|
height: R.value.style.layout.height,
|
|
516
535
|
width: R.value.style.layout.width
|
|
517
|
-
}),
|
|
518
|
-
function
|
|
536
|
+
}), wr = v(() => R.value.style.layout.marginalBars.show ? R.value.style.layout.marginalBars.size + R.value.style.layout.marginalBars.offset : 0);
|
|
537
|
+
function Tr() {
|
|
519
538
|
let e = 0;
|
|
520
|
-
if (R.value.style.layout.dataLabels.yAxis.scales.show &&
|
|
521
|
-
e = Array.from(
|
|
539
|
+
if (R.value.style.layout.dataLabels.yAxis.scales.show && Xn.value) try {
|
|
540
|
+
e = Array.from(Xn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
522
541
|
let n = t.getComputedTextLength();
|
|
523
542
|
return n > e ? n : e;
|
|
524
543
|
}, 0);
|
|
@@ -526,24 +545,24 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
526
545
|
e = 0;
|
|
527
546
|
}
|
|
528
547
|
let t = 0;
|
|
529
|
-
if (
|
|
530
|
-
t =
|
|
548
|
+
if (Kn.value) try {
|
|
549
|
+
t = Kn.value.getBBox().width;
|
|
531
550
|
} catch {
|
|
532
551
|
t = 0;
|
|
533
552
|
}
|
|
534
553
|
return Math.max(t, e ? e + 12 : 0);
|
|
535
554
|
}
|
|
536
|
-
function
|
|
555
|
+
function Er() {
|
|
537
556
|
let e = 0;
|
|
538
|
-
if (
|
|
539
|
-
let t =
|
|
557
|
+
if (qn.value) try {
|
|
558
|
+
let t = qn.value.getBBox(), n = t.x + t.width - V.value.width;
|
|
540
559
|
e = n > 0 ? n + 6 : 0;
|
|
541
560
|
} catch {
|
|
542
561
|
e = 0;
|
|
543
562
|
}
|
|
544
563
|
let t = 0;
|
|
545
|
-
if (R.value.style.layout.dataLabels.xAxis.scales.show &&
|
|
546
|
-
t = Array.from(
|
|
564
|
+
if (R.value.style.layout.dataLabels.xAxis.scales.show && Zn.value) try {
|
|
565
|
+
t = Array.from(Zn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
547
566
|
let n = t.getBBox(), r = n.x + n.width - V.value.width, i = r > 0 ? r + 6 : 0;
|
|
548
567
|
return i > e ? i : e;
|
|
549
568
|
}, 0);
|
|
@@ -552,39 +571,39 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
552
571
|
}
|
|
553
572
|
return e > t ? e : t;
|
|
554
573
|
}
|
|
555
|
-
let H =
|
|
574
|
+
let H = v(() => {
|
|
556
575
|
let e = 0, t = 0, n = 0;
|
|
557
|
-
if (e =
|
|
558
|
-
n =
|
|
576
|
+
if (e = Tr(), t = Er(), Yn.value) try {
|
|
577
|
+
n = Yn.value.getBBox().height + 6;
|
|
559
578
|
} catch {
|
|
560
579
|
n = 0;
|
|
561
580
|
}
|
|
562
581
|
return {
|
|
563
|
-
top: R.value.style.layout.padding.top +
|
|
564
|
-
right: V.value.width - R.value.style.layout.padding.right -
|
|
582
|
+
top: R.value.style.layout.padding.top + wr.value + R.value.style.layout.dataLabels.yAxis.fontSize * 2,
|
|
583
|
+
right: V.value.width - R.value.style.layout.padding.right - wr.value - 6 - t,
|
|
565
584
|
bottom: V.value.height - R.value.style.layout.padding.bottom - n,
|
|
566
585
|
left: R.value.style.layout.padding.left + e,
|
|
567
|
-
height: V.value.height - R.value.style.layout.padding.top - R.value.style.layout.padding.bottom -
|
|
568
|
-
width: V.value.width - R.value.style.layout.padding.left - R.value.style.layout.padding.right -
|
|
586
|
+
height: V.value.height - R.value.style.layout.padding.top - R.value.style.layout.padding.bottom - wr.value - n - R.value.style.layout.dataLabels.yAxis.fontSize * 2,
|
|
587
|
+
width: V.value.width - R.value.style.layout.padding.left - R.value.style.layout.padding.right - wr.value - e - t - 6
|
|
569
588
|
};
|
|
570
|
-
}),
|
|
571
|
-
|
|
572
|
-
|
|
589
|
+
}), Dr = v(() => {
|
|
590
|
+
cr.value.forEach((e, t) => {
|
|
591
|
+
ne({
|
|
573
592
|
datasetObject: e,
|
|
574
593
|
requiredAttributes: ["values"]
|
|
575
594
|
}).forEach((e) => {
|
|
576
|
-
|
|
595
|
+
ae({
|
|
577
596
|
componentName: "VueUiScatter",
|
|
578
597
|
type: "datasetSerieAttribute",
|
|
579
598
|
property: e,
|
|
580
599
|
index: t
|
|
581
600
|
});
|
|
582
601
|
}), e.values && e.values.forEach((e, n) => {
|
|
583
|
-
|
|
602
|
+
ne({
|
|
584
603
|
datasetObject: e,
|
|
585
604
|
requiredAttributes: ["x", "y"]
|
|
586
605
|
}).forEach((e) => {
|
|
587
|
-
|
|
606
|
+
ae({
|
|
588
607
|
componentName: "VueUiScatter",
|
|
589
608
|
type: "datasetSerieAttribute",
|
|
590
609
|
property: `values.${e}`,
|
|
@@ -600,131 +619,131 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
600
619
|
yMin: n < 0 ? n : 0,
|
|
601
620
|
yMax: r
|
|
602
621
|
};
|
|
603
|
-
}),
|
|
622
|
+
}), Or = v(() => {
|
|
604
623
|
let e = R.value.style.layout.axis;
|
|
605
624
|
return {
|
|
606
|
-
xMin: e.xMin !== null && e.xMin !== void 0 ? e.xMin :
|
|
607
|
-
xMax: e.xMax !== null && e.xMax !== void 0 ? e.xMax :
|
|
608
|
-
yMin: e.yMin !== null && e.yMin !== void 0 ? e.yMin :
|
|
609
|
-
yMax: e.yMax !== null && e.yMax !== void 0 ? e.yMax :
|
|
625
|
+
xMin: e.xMin !== null && e.xMin !== void 0 ? e.xMin : Dr.value.xMin,
|
|
626
|
+
xMax: e.xMax !== null && e.xMax !== void 0 ? e.xMax : Dr.value.xMax,
|
|
627
|
+
yMin: e.yMin !== null && e.yMin !== void 0 ? e.yMin : Dr.value.yMin,
|
|
628
|
+
yMax: e.yMax !== null && e.yMax !== void 0 ? e.yMax : Dr.value.yMax
|
|
610
629
|
};
|
|
611
630
|
});
|
|
612
|
-
function
|
|
631
|
+
function kr(e) {
|
|
613
632
|
return Number.isFinite(e) ? e < 2 ? 2 : Math.trunc(e) : 5;
|
|
614
633
|
}
|
|
615
|
-
function
|
|
634
|
+
function Ar(e) {
|
|
616
635
|
return e.roundingValue !== void 0 && e.roundingValue !== null ? e.roundingValue : e.rounding !== void 0 && e.rounding !== null ? e.rounding : 0;
|
|
617
636
|
}
|
|
618
|
-
function
|
|
619
|
-
let i =
|
|
637
|
+
function jr({ minimum: e, maximum: t, stepCount: n, useNiceScale: r }) {
|
|
638
|
+
let i = kr(n);
|
|
620
639
|
if (e === t) {
|
|
621
640
|
let n = t + (e === 0 ? 1 : Math.abs(e) * .01);
|
|
622
|
-
return (r ?
|
|
641
|
+
return (r ? p : oe)(e, n, i);
|
|
623
642
|
}
|
|
624
|
-
return (r ?
|
|
643
|
+
return (r ? p : oe)(e, t, i);
|
|
625
644
|
}
|
|
626
|
-
let
|
|
645
|
+
let Mr = v(() => {
|
|
627
646
|
let e = R.value.style.layout.dataLabels.xAxis;
|
|
628
|
-
return
|
|
629
|
-
minimum:
|
|
630
|
-
maximum:
|
|
647
|
+
return jr({
|
|
648
|
+
minimum: Or.value.xMin,
|
|
649
|
+
maximum: Or.value.xMax,
|
|
631
650
|
stepCount: e.scales.steps,
|
|
632
651
|
useNiceScale: e.scales.useNiceScale
|
|
633
652
|
});
|
|
634
|
-
}),
|
|
653
|
+
}), Nr = v(() => {
|
|
635
654
|
let e = R.value.style.layout.dataLabels.yAxis;
|
|
636
|
-
return
|
|
637
|
-
minimum:
|
|
638
|
-
maximum:
|
|
655
|
+
return jr({
|
|
656
|
+
minimum: Or.value.yMin,
|
|
657
|
+
maximum: Or.value.yMax,
|
|
639
658
|
stepCount: e.scales.steps,
|
|
640
659
|
useNiceScale: e.scales.useNiceScale
|
|
641
660
|
});
|
|
642
|
-
}), U =
|
|
643
|
-
xMin:
|
|
644
|
-
xMax:
|
|
645
|
-
yMin:
|
|
646
|
-
yMax:
|
|
647
|
-
})),
|
|
661
|
+
}), U = v(() => ({
|
|
662
|
+
xMin: Mr.value.min,
|
|
663
|
+
xMax: Mr.value.max,
|
|
664
|
+
yMin: Nr.value.min,
|
|
665
|
+
yMax: Nr.value.max
|
|
666
|
+
})), Pr = v(() => {
|
|
648
667
|
let e = R.value.style.layout.dataLabels.xAxis, t = e.scales.labels;
|
|
649
|
-
return
|
|
668
|
+
return Mr.value.ticks.map((n) => ({
|
|
650
669
|
value: n,
|
|
651
|
-
x:
|
|
652
|
-
label: g(t.formatter,
|
|
670
|
+
x: Rr(n),
|
|
671
|
+
label: g(t.formatter, h(n), f({
|
|
653
672
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
654
|
-
v:
|
|
673
|
+
v: h(n),
|
|
655
674
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
656
|
-
r:
|
|
675
|
+
r: Ar(e)
|
|
657
676
|
}))
|
|
658
677
|
}));
|
|
659
|
-
}),
|
|
678
|
+
}), Fr = v(() => {
|
|
660
679
|
let e = R.value.style.layout.dataLabels.yAxis, t = e.scales.labels;
|
|
661
|
-
return
|
|
680
|
+
return Nr.value.ticks.map((n) => ({
|
|
662
681
|
value: n,
|
|
663
|
-
y:
|
|
664
|
-
label: g(t.formatter,
|
|
682
|
+
y: zr(n),
|
|
683
|
+
label: g(t.formatter, h(n), f({
|
|
665
684
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
666
|
-
v:
|
|
685
|
+
v: h(n),
|
|
667
686
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
668
|
-
r:
|
|
687
|
+
r: Ar(e)
|
|
669
688
|
}))
|
|
670
689
|
}));
|
|
671
|
-
}),
|
|
672
|
-
function
|
|
690
|
+
}), Ir = v(() => Qr.value.length > 0 && R.value.style.layout.dataLabels.xAxis.scales.show), Lr = v(() => Qr.value.length > 0 && R.value.style.layout.dataLabels.yAxis.scales.show);
|
|
691
|
+
function Rr(e) {
|
|
673
692
|
let t = U.value.xMax - U.value.xMin;
|
|
674
693
|
return t === 0 ? H.value.left : H.value.left + (e - U.value.xMin) / t * H.value.width;
|
|
675
694
|
}
|
|
676
|
-
function
|
|
695
|
+
function zr(e) {
|
|
677
696
|
let t = U.value.yMax - U.value.yMin;
|
|
678
697
|
return t === 0 ? H.value.bottom : H.value.bottom - (e - U.value.yMin) / t * H.value.height;
|
|
679
698
|
}
|
|
680
|
-
let W =
|
|
699
|
+
let W = v(() => {
|
|
681
700
|
let { xMin: e, xMax: t, yMin: n, yMax: r } = U.value, i = e > 0 ? e : t < 0 ? t : 0, a = n > 0 ? n : r < 0 ? r : 0;
|
|
682
701
|
return {
|
|
683
|
-
x:
|
|
684
|
-
y:
|
|
702
|
+
x: Rr(i),
|
|
703
|
+
y: zr(a)
|
|
685
704
|
};
|
|
686
|
-
}), G =
|
|
705
|
+
}), G = v(() => cr.value.map((e, t) => {
|
|
687
706
|
let n = `cluster_${F.value}_${t}`;
|
|
688
707
|
return {
|
|
689
708
|
...e,
|
|
690
|
-
values:
|
|
709
|
+
values: d({
|
|
691
710
|
data: e.values,
|
|
692
711
|
threshold: R.value.usePerformanceMode ? e.values.length + 1 : R.value.downsample.threshold
|
|
693
712
|
}),
|
|
694
713
|
id: n,
|
|
695
|
-
color: e.color ? e.color :
|
|
714
|
+
color: e.color ? e.color : Cr.value[t] || l[t] || l[t % l.length],
|
|
696
715
|
opacity: L.value.includes(n) ? .5 : 1,
|
|
697
716
|
shape: e.shape ?? "circle",
|
|
698
|
-
segregate: () =>
|
|
717
|
+
segregate: () => ai(n),
|
|
699
718
|
isSegregated: L.value.includes(n),
|
|
700
|
-
hasGroupSelection: !!
|
|
701
|
-
isGroupSelected:
|
|
702
|
-
onEnter: () =>
|
|
703
|
-
onLeave: () =>
|
|
719
|
+
hasGroupSelection: !!qr.value,
|
|
720
|
+
isGroupSelected: qr.value === n,
|
|
721
|
+
onEnter: () => Yr(n),
|
|
722
|
+
onLeave: () => Xr()
|
|
704
723
|
};
|
|
705
|
-
})),
|
|
724
|
+
})), Br = v(() => ({
|
|
706
725
|
cy: "scatter-div-legend",
|
|
707
726
|
backgroundColor: R.value.style.legend.backgroundColor,
|
|
708
727
|
color: R.value.style.legend.color,
|
|
709
728
|
fontSize: R.value.style.legend.fontSize,
|
|
710
729
|
paddingBottom: 12,
|
|
711
730
|
fontWeight: R.value.style.legend.bold ? "bold" : ""
|
|
712
|
-
})),
|
|
731
|
+
})), Vr = v(() => G.value.map((e, t) => ({
|
|
713
732
|
...e,
|
|
714
733
|
plots: e.values.map((n, r) => ({
|
|
715
|
-
x:
|
|
716
|
-
y:
|
|
734
|
+
x: Rr(n.x),
|
|
735
|
+
y: zr(n.y),
|
|
717
736
|
v: {
|
|
718
737
|
...n,
|
|
719
738
|
name: n.name || ""
|
|
720
739
|
},
|
|
721
740
|
clusterName: e.name,
|
|
722
741
|
clusterId: e.id,
|
|
723
|
-
color: e.color ? e.color :
|
|
742
|
+
color: e.color ? e.color : Cr.value[t] || l[t] || l[t % l.length],
|
|
724
743
|
id: `plot_${F.value}_${t}_${r}`,
|
|
725
744
|
weight: n.weight ?? R.value.style.layout.plots.radius
|
|
726
745
|
}))
|
|
727
|
-
})).filter((e) => !L.value.includes(e.id))), K =
|
|
746
|
+
})).filter((e) => !L.value.includes(e.id))), K = v(() => {
|
|
728
747
|
let e = 1e-9, t = ({ m: t, b: n, rect: r, verticalX: i = null }) => {
|
|
729
748
|
let { left: a, right: o, top: s, bottom: c } = r, l = [], u = (e, t) => {
|
|
730
749
|
Number.isFinite(e) && Number.isFinite(t) && l.push({
|
|
@@ -736,35 +755,35 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
736
755
|
let f = l.filter(d), p = [];
|
|
737
756
|
for (let e of f) p.some((t) => Math.abs(t.x - e.x) < 1e-6 && Math.abs(t.y - e.y) < 1e-6) || p.push(e);
|
|
738
757
|
if (p.length < 2) return null;
|
|
739
|
-
let m = p[0],
|
|
758
|
+
let m = p[0], h = p[1], ee = 0;
|
|
740
759
|
for (let e = 0; e < p.length; e += 1) for (let t = e + 1; t < p.length; t += 1) {
|
|
741
760
|
let n = p[e].x - p[t].x, r = p[e].y - p[t].y, i = n * n + r * r;
|
|
742
|
-
i >
|
|
761
|
+
i > ee && (ee = i, m = p[e], h = p[t]);
|
|
743
762
|
}
|
|
744
763
|
return {
|
|
745
764
|
x1: m.x,
|
|
746
765
|
y1: m.y,
|
|
747
|
-
x2:
|
|
748
|
-
y2:
|
|
766
|
+
x2: h.x,
|
|
767
|
+
y2: h.y
|
|
749
768
|
};
|
|
750
769
|
};
|
|
751
|
-
return
|
|
770
|
+
return Vr.value.map((n) => {
|
|
752
771
|
let r = n.plots.length, i = n.plots.reduce((e, t) => e + t.x, 0) / r, a = n.plots.reduce((e, t) => e + t.y, 0) / r, o = 0, s = 0, c = 0;
|
|
753
772
|
for (let e of n.plots) {
|
|
754
773
|
let t = e.x - i, n = e.y - a;
|
|
755
774
|
o += t * n, s += t * t, c += n * n;
|
|
756
775
|
}
|
|
757
|
-
let l,
|
|
758
|
-
s < e ? (
|
|
759
|
-
let
|
|
760
|
-
|
|
761
|
-
let
|
|
776
|
+
let l, d, f = null;
|
|
777
|
+
s < e ? (f = i, l = Infinity, d = null) : (l = o / s, d = a - l * i);
|
|
778
|
+
let p, m;
|
|
779
|
+
f === null ? (p = l, m = d) : (p = Infinity, m = null);
|
|
780
|
+
let h = n.plots.every((e) => e.v && typeof e.v.x == "number" && typeof e.v.y == "number"), ee = NaN;
|
|
762
781
|
if (r >= 2) {
|
|
763
782
|
let t = 0, o = 0;
|
|
764
|
-
|
|
783
|
+
h ? (t = n.plots.reduce((e, t) => e + t.v.x, 0) / r, o = n.plots.reduce((e, t) => e + t.v.y, 0) / r) : (t = i, o = -a);
|
|
765
784
|
let s = 0, c = 0, l = 0;
|
|
766
785
|
for (let e of n.plots) {
|
|
767
|
-
let n =
|
|
786
|
+
let n = h ? e.v.x : e.x, r = h ? e.v.y : -e.y, i = n - t, a = r - o;
|
|
768
787
|
s += i * a, c += i * i, l += a * a;
|
|
769
788
|
}
|
|
770
789
|
if (c >= e && l >= e) {
|
|
@@ -772,13 +791,13 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
772
791
|
ee = Math.max(-1, Math.min(1, e));
|
|
773
792
|
}
|
|
774
793
|
}
|
|
775
|
-
let
|
|
776
|
-
m:
|
|
777
|
-
b:
|
|
794
|
+
let g = t({
|
|
795
|
+
m: p,
|
|
796
|
+
b: m,
|
|
778
797
|
rect: H.value,
|
|
779
|
-
verticalX:
|
|
798
|
+
verticalX: f
|
|
780
799
|
});
|
|
781
|
-
if (!
|
|
800
|
+
if (!g) return {
|
|
782
801
|
...n,
|
|
783
802
|
correlation: null,
|
|
784
803
|
label: null,
|
|
@@ -786,39 +805,39 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
786
805
|
...e,
|
|
787
806
|
deviation: 0,
|
|
788
807
|
shape: n.shape,
|
|
789
|
-
color:
|
|
808
|
+
color: u(n.color)
|
|
790
809
|
}))
|
|
791
810
|
};
|
|
792
811
|
let te = {
|
|
793
|
-
x: (
|
|
794
|
-
y: (
|
|
812
|
+
x: (g.x1 + g.x2) / 2,
|
|
813
|
+
y: (g.y1 + g.y2) / 2
|
|
795
814
|
};
|
|
796
815
|
return {
|
|
797
816
|
...n,
|
|
798
|
-
color:
|
|
817
|
+
color: u(n.color),
|
|
799
818
|
correlation: {
|
|
800
|
-
...
|
|
819
|
+
...g,
|
|
801
820
|
coefficient: ee
|
|
802
821
|
},
|
|
803
822
|
label: te,
|
|
804
823
|
plots: n.plots.map((t) => {
|
|
805
824
|
let r, i;
|
|
806
|
-
|
|
825
|
+
f === null ? Math.abs(p) < e ? (r = t.x, i = m) : (r = (t.x + p * t.y - p * m) / (1 + p * p), i = (p * t.x + p * p * t.y + m) / (1 + p * p)) : (r = f, i = t.y);
|
|
807
826
|
let a = t.x - r, o = t.y - i, s = Math.sqrt(a * a + o * o);
|
|
808
827
|
return {
|
|
809
828
|
...t,
|
|
810
829
|
deviation: s,
|
|
811
830
|
shape: n.shape,
|
|
812
|
-
color:
|
|
831
|
+
color: u(n.color)
|
|
813
832
|
};
|
|
814
833
|
})
|
|
815
834
|
};
|
|
816
835
|
});
|
|
817
|
-
}),
|
|
818
|
-
function
|
|
836
|
+
}), Hr = v(() => Math.max(...K.value.flatMap((e) => e.plots.map((e) => Math.abs(e.deviation)))));
|
|
837
|
+
function Ur() {
|
|
819
838
|
return K.value;
|
|
820
839
|
}
|
|
821
|
-
function
|
|
840
|
+
function Wr(e, t) {
|
|
822
841
|
let n = Array.isArray(e) ? e.flatMap((e) => e.plots.map((e) => ({
|
|
823
842
|
x: e.x,
|
|
824
843
|
y: e.y
|
|
@@ -845,17 +864,17 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
845
864
|
maxY: Math.max(...f)
|
|
846
865
|
};
|
|
847
866
|
}
|
|
848
|
-
let q =
|
|
867
|
+
let q = v(() => R.value.style.layout.marginalBars.tranches), J = v(() => Wr(Vr.value, q.value)), Gr = v(() => {
|
|
849
868
|
let e = H.value.top - R.value.style.layout.marginalBars.offset, t = H.value.right + R.value.style.layout.marginalBars.offset;
|
|
850
|
-
return
|
|
851
|
-
let r =
|
|
869
|
+
return Vr.value.map((n) => {
|
|
870
|
+
let r = Wr(n, q.value);
|
|
852
871
|
return {
|
|
853
872
|
coords: r,
|
|
854
|
-
dX:
|
|
873
|
+
dX: c(r.avgX.map((t, n) => ({
|
|
855
874
|
x: t,
|
|
856
875
|
y: e - r.x[n] / r.maxX * R.value.style.layout.marginalBars.size
|
|
857
876
|
}))),
|
|
858
|
-
dY:
|
|
877
|
+
dY: i(r.avgY.map((e, n) => ({
|
|
859
878
|
y: e,
|
|
860
879
|
x: t + R.value.style.layout.marginalBars.size * r.y[n] / r.maxY
|
|
861
880
|
}))),
|
|
@@ -863,69 +882,69 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
863
882
|
id: n.id
|
|
864
883
|
};
|
|
865
884
|
});
|
|
866
|
-
}), Y = O(void 0), X = O(null), Z = O([]),
|
|
867
|
-
function
|
|
868
|
-
|
|
885
|
+
}), Y = O(void 0), X = O(null), Z = O([]), Kr = O(null), qr = O(void 0);
|
|
886
|
+
function Jr() {
|
|
887
|
+
kn.value = !1, Y.value = void 0, Z.value = [], X.value = null, nr.value = null, Qn.value = null, qr.value = void 0;
|
|
869
888
|
}
|
|
870
|
-
function
|
|
889
|
+
function Yr(e) {
|
|
871
890
|
let t = K.value.find((t) => t.id === e);
|
|
872
891
|
if (!t) {
|
|
873
892
|
Z.value = [];
|
|
874
893
|
return;
|
|
875
894
|
}
|
|
876
|
-
Z.value = t.plots.map((e) => e.id),
|
|
877
|
-
}
|
|
878
|
-
function Jr() {
|
|
879
|
-
Z.value = [], Gr.value = void 0;
|
|
895
|
+
Z.value = t.plots.map((e) => e.id), qr.value = e;
|
|
880
896
|
}
|
|
881
|
-
function
|
|
882
|
-
|
|
883
|
-
let t = u(e.x, e.y, dr.value);
|
|
884
|
-
t && (Qn.value = t);
|
|
897
|
+
function Xr() {
|
|
898
|
+
Z.value = [], qr.value = void 0;
|
|
885
899
|
}
|
|
886
|
-
let Xr = y(() => X.value ? [X.value] : Z.value.length ? K.value.flatMap((e) => e.plots).filter((e) => Z.value.includes(e.id)) : []);
|
|
887
900
|
function Zr(e) {
|
|
901
|
+
if (!pr.value || !e) return;
|
|
902
|
+
let t = a(e.x, e.y, pr.value);
|
|
903
|
+
t && ($n.value = t);
|
|
904
|
+
}
|
|
905
|
+
let Qr = v(() => X.value ? [X.value] : Z.value.length ? K.value.flatMap((e) => e.plots).filter((e) => Z.value.includes(e.id)) : []);
|
|
906
|
+
function $r(e) {
|
|
888
907
|
let t = R.value.style.layout.dataLabels.xAxis, n = t.scales.labels;
|
|
889
|
-
return g(n.formatter,
|
|
908
|
+
return g(n.formatter, h(e.v.x), f({
|
|
890
909
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
891
|
-
v:
|
|
910
|
+
v: h(e.v.x),
|
|
892
911
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
893
|
-
r:
|
|
912
|
+
r: Ar(t)
|
|
894
913
|
}), { datapoint: e });
|
|
895
914
|
}
|
|
896
|
-
function
|
|
915
|
+
function ei(e) {
|
|
897
916
|
let t = R.value.style.layout.dataLabels.yAxis, n = t.scales.labels;
|
|
898
|
-
return g(n.formatter,
|
|
917
|
+
return g(n.formatter, h(e.v.y), f({
|
|
899
918
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
900
|
-
v:
|
|
919
|
+
v: h(e.v.y),
|
|
901
920
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
902
|
-
r:
|
|
921
|
+
r: Ar(t)
|
|
903
922
|
}), { datapoint: e });
|
|
904
923
|
}
|
|
905
|
-
function
|
|
906
|
-
Y.value = e.id, X.value = e,
|
|
924
|
+
function ti(e, t, n = "pointer", r = null) {
|
|
925
|
+
Y.value = e.id, X.value = e, er.value = n, nr.value = r, Qn.value = e.id;
|
|
907
926
|
let i = "";
|
|
908
927
|
R.value.events.datapointEnter && R.value.events.datapointEnter({
|
|
909
928
|
datapoint: e,
|
|
910
929
|
seriesIndex: t
|
|
911
|
-
}),
|
|
930
|
+
}), Kr.value = {
|
|
912
931
|
datapoint: e,
|
|
913
932
|
seriesIndex: t,
|
|
914
933
|
series: K.value,
|
|
915
934
|
config: R.value
|
|
916
935
|
};
|
|
917
936
|
let a = R.value.style.tooltip.customFormat;
|
|
918
|
-
|
|
937
|
+
ce(a) && ee(() => a({
|
|
919
938
|
datapoint: e,
|
|
920
939
|
seriesIndex: t,
|
|
921
940
|
series: K.value,
|
|
922
941
|
config: R.value
|
|
923
|
-
})) ?
|
|
942
|
+
})) ? An.value = a({
|
|
924
943
|
datapoint: e,
|
|
925
944
|
seriesIndex: t,
|
|
926
945
|
series: K.value,
|
|
927
946
|
config: R.value
|
|
928
|
-
}) : (e.clusterName && (i += `<div style="display:flex;gap:3px;align-items:center">${e.clusterName}</div>`), e.v.name && (i += `<div>${e.v.name}</div>`), i += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${R.value.style.tooltip.borderColor}">`, i += `<div>${R.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x,
|
|
947
|
+
}) : (e.clusterName && (i += `<div style="display:flex;gap:3px;align-items:center">${e.clusterName}</div>`), e.v.name && (i += `<div>${e.v.name}</div>`), i += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${R.value.style.tooltip.borderColor}">`, i += `<div>${R.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x, f({
|
|
929
948
|
p: R.value.style.tooltip.prefix,
|
|
930
949
|
v: e.v.x,
|
|
931
950
|
s: R.value.style.tooltip.suffix,
|
|
@@ -933,7 +952,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
933
952
|
}), {
|
|
934
953
|
datapoint: e,
|
|
935
954
|
seriesIndex: t
|
|
936
|
-
})}</b></div>`, i += `<div>${R.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(e.v.y) ? "-" : g(R.value.style.layout.plots.selectors.labels.y.formatter, e.v.y,
|
|
955
|
+
})}</b></div>`, i += `<div>${R.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(e.v.y) ? "-" : g(R.value.style.layout.plots.selectors.labels.y.formatter, e.v.y, f({
|
|
937
956
|
p: R.value.style.tooltip.prefix,
|
|
938
957
|
v: e.v.y,
|
|
939
958
|
s: R.value.style.tooltip.suffix,
|
|
@@ -941,59 +960,59 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
941
960
|
}), {
|
|
942
961
|
datapoint: e,
|
|
943
962
|
seriesIndex: t
|
|
944
|
-
})}</b></div>`, i += `${R.value.style.layout.plots.deviation.translation}: <b>${
|
|
963
|
+
})}</b></div>`, i += `${R.value.style.layout.plots.deviation.translation}: <b>${f({
|
|
945
964
|
v: e.deviation,
|
|
946
965
|
r: R.value.style.layout.plots.deviation.roundingValue
|
|
947
|
-
})}</b>`, i += "</div>",
|
|
948
|
-
|
|
966
|
+
})}</b>`, i += "</div>", An.value = `<div>${i}</div>`), kn.value = !0, n === "keyboard" && Le(() => {
|
|
967
|
+
Zr(e);
|
|
949
968
|
});
|
|
950
969
|
}
|
|
951
|
-
function
|
|
970
|
+
function ni(e, t) {
|
|
952
971
|
R.value.events.datapointLeave && R.value.events.datapointLeave({
|
|
953
972
|
datapoint: e,
|
|
954
973
|
seriesIndex: t
|
|
955
|
-
}), !(
|
|
974
|
+
}), !(er.value === "keyboard" && Qn.value === e?.id) && (kn.value = !1, Y.value = void 0, X.value = null);
|
|
956
975
|
}
|
|
957
|
-
function
|
|
976
|
+
function ri(e, t) {
|
|
958
977
|
R.value.events.datapointClick && R.value.events.datapointClick({
|
|
959
978
|
datapoint: e,
|
|
960
979
|
seriesIndex: t
|
|
961
980
|
});
|
|
962
981
|
}
|
|
963
|
-
function
|
|
982
|
+
function ii() {
|
|
964
983
|
L.value.length ? L.value = [] : G.value.forEach((e) => {
|
|
965
984
|
L.value.push(e.id);
|
|
966
|
-
}),
|
|
985
|
+
}), Dn("selectLegend", Vr.value);
|
|
967
986
|
}
|
|
968
|
-
function
|
|
969
|
-
L.value.includes(e) ? L.value = L.value.filter((t) => t !== e) : L.value.length <
|
|
987
|
+
function ai(e) {
|
|
988
|
+
L.value.includes(e) ? L.value = L.value.filter((t) => t !== e) : L.value.length < cr.value.length - 1 && L.value.push(e), Dn("selectLegend", Vr.value);
|
|
970
989
|
}
|
|
971
|
-
function
|
|
990
|
+
function oi(e) {
|
|
972
991
|
return G.value.length ? G.value.find((t) => t.name === e) || (R.value.debug && console.warn(`VueUiScatter - Series name not found "${e}"`), null) : (R.value.debug && console.warn("VueUiScatter - There are no series to show."), null);
|
|
973
992
|
}
|
|
974
|
-
function
|
|
975
|
-
let t =
|
|
976
|
-
t !== null && L.value.includes(t.id) &&
|
|
993
|
+
function si(e) {
|
|
994
|
+
let t = oi(e);
|
|
995
|
+
t !== null && L.value.includes(t.id) && ai(t.id);
|
|
977
996
|
}
|
|
978
|
-
function
|
|
979
|
-
let t =
|
|
980
|
-
t !== null && (L.value.includes(t.id) ||
|
|
997
|
+
function ci(e) {
|
|
998
|
+
let t = oi(e);
|
|
999
|
+
t !== null && (L.value.includes(t.id) || ai(t.id));
|
|
981
1000
|
}
|
|
982
|
-
function
|
|
983
|
-
|
|
984
|
-
let
|
|
1001
|
+
function li(e = null) {
|
|
1002
|
+
Le(() => {
|
|
1003
|
+
let n = [
|
|
985
1004
|
"",
|
|
986
1005
|
R.value.table.translations.correlationCoefficient,
|
|
987
1006
|
R.value.table.translations.nbrPlots,
|
|
988
1007
|
`${R.value.style.layout.dataLabels.xAxis.name} ${R.value.table.translations.average}`,
|
|
989
1008
|
`${R.value.style.layout.dataLabels.yAxis.name} ${R.value.table.translations.average}`
|
|
990
|
-
],
|
|
1009
|
+
], i = K.value.map((e) => [
|
|
991
1010
|
e.name,
|
|
992
1011
|
e.correlation.coefficient,
|
|
993
1012
|
e.plots.length,
|
|
994
1013
|
e.plots.map((e) => e.v.x).reduce((e, t) => e + t, 0) / e.plots.length,
|
|
995
1014
|
e.plots.map((e) => e.v.y).reduce((e, t) => e + t, 0) / e.plots.length
|
|
996
|
-
]),
|
|
1015
|
+
]), a = r([
|
|
997
1016
|
[R.value.style.title.text],
|
|
998
1017
|
[R.value.style.title.subtitle.text],
|
|
999
1018
|
[
|
|
@@ -1001,15 +1020,15 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1001
1020
|
[""],
|
|
1002
1021
|
[""]
|
|
1003
1022
|
],
|
|
1004
|
-
|
|
1005
|
-
].concat(
|
|
1006
|
-
e ? e(
|
|
1007
|
-
csvContent:
|
|
1023
|
+
n
|
|
1024
|
+
].concat(i));
|
|
1025
|
+
e ? e(a) : t({
|
|
1026
|
+
csvContent: a,
|
|
1008
1027
|
title: R.value.style.title.text || "vue-ui-heatmap"
|
|
1009
1028
|
});
|
|
1010
1029
|
});
|
|
1011
1030
|
}
|
|
1012
|
-
let
|
|
1031
|
+
let ui = v(() => {
|
|
1013
1032
|
let e = [
|
|
1014
1033
|
R.value.table.translations.series,
|
|
1015
1034
|
R.value.table.translations.correlationCoefficient,
|
|
@@ -1046,23 +1065,23 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1046
1065
|
},
|
|
1047
1066
|
colNames: e
|
|
1048
1067
|
};
|
|
1049
|
-
}),
|
|
1050
|
-
function
|
|
1051
|
-
|
|
1068
|
+
}), di = O(!1);
|
|
1069
|
+
function fi(e) {
|
|
1070
|
+
di.value = e, jn.value += 1;
|
|
1052
1071
|
}
|
|
1053
|
-
function
|
|
1072
|
+
function pi() {
|
|
1054
1073
|
B.value.showTable = !B.value.showTable;
|
|
1055
1074
|
}
|
|
1056
|
-
function
|
|
1075
|
+
function mi() {
|
|
1057
1076
|
B.value.showTooltip = !B.value.showTooltip;
|
|
1058
1077
|
}
|
|
1059
|
-
let
|
|
1060
|
-
function
|
|
1061
|
-
|
|
1078
|
+
let hi = O(!1);
|
|
1079
|
+
function gi() {
|
|
1080
|
+
hi.value = !hi.value;
|
|
1062
1081
|
}
|
|
1063
|
-
async function
|
|
1082
|
+
async function _i({ scale: e = 2 } = {}) {
|
|
1064
1083
|
if (!I.value) return;
|
|
1065
|
-
let { width: t, height: n } = I.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
1084
|
+
let { width: t, height: n } = I.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
|
|
1066
1085
|
domElement: I.value,
|
|
1067
1086
|
base64: !0,
|
|
1068
1087
|
img: !0,
|
|
@@ -1077,16 +1096,16 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1077
1096
|
aspectRatio: r
|
|
1078
1097
|
};
|
|
1079
1098
|
}
|
|
1080
|
-
function
|
|
1081
|
-
|
|
1099
|
+
function vi(e) {
|
|
1100
|
+
Bn.value = e, R.value.style.layout.marginalBars.highlighter.highlightBothAxes && (Vn.value = J.value.y.length - 2 - e);
|
|
1082
1101
|
}
|
|
1083
|
-
function
|
|
1084
|
-
|
|
1102
|
+
function yi(e) {
|
|
1103
|
+
Vn.value = e, R.value.style.layout.marginalBars.highlighter.highlightBothAxes && (Bn.value = e);
|
|
1085
1104
|
}
|
|
1086
|
-
function
|
|
1087
|
-
|
|
1105
|
+
function bi() {
|
|
1106
|
+
Bn.value = null, Vn.value = null;
|
|
1088
1107
|
}
|
|
1089
|
-
let
|
|
1108
|
+
let xi = {
|
|
1090
1109
|
circle: 1,
|
|
1091
1110
|
square: 1,
|
|
1092
1111
|
diamond: 1,
|
|
@@ -1095,9 +1114,9 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1095
1114
|
pentagon: 1.3,
|
|
1096
1115
|
hexagon: 1.3
|
|
1097
1116
|
}, Q = (e) => e.toFixed(3);
|
|
1098
|
-
function
|
|
1117
|
+
function Si({ shape: e = "circle", cx: t, cy: n, r }) {
|
|
1099
1118
|
if (!R.value.usePerformanceMode) return "";
|
|
1100
|
-
let i =
|
|
1119
|
+
let i = xi[e] * r;
|
|
1101
1120
|
switch (e) {
|
|
1102
1121
|
case "circle": {
|
|
1103
1122
|
let e = Q(t - i), r = Q(n), a = Q(t + i), o = Q(i);
|
|
@@ -1151,37 +1170,37 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1151
1170
|
}
|
|
1152
1171
|
}
|
|
1153
1172
|
}
|
|
1154
|
-
let
|
|
1173
|
+
let Ci = v(() => {
|
|
1155
1174
|
if (!R.value.usePerformanceMode) return [""];
|
|
1156
|
-
let { left: e, right: t, top:
|
|
1157
|
-
return K.value.map((
|
|
1158
|
-
let
|
|
1159
|
-
for (let
|
|
1160
|
-
let o =
|
|
1161
|
-
if (o < e || o > t || s <
|
|
1162
|
-
let c = Math.max(R.value.style.layout.plots.radius,
|
|
1163
|
-
|
|
1164
|
-
shape:
|
|
1175
|
+
let { left: e, right: t, top: r, bottom: i } = H.value, a = Math.max(1, (t - e) * (i - r)), o = (e) => e / a * 1e4, s = R.value.style.layout.plots.stroke, c = R.value.style.layout.plots.strokeWidth, l = R.value.style.layout.plots.opacity;
|
|
1176
|
+
return K.value.map((a) => {
|
|
1177
|
+
let u = [];
|
|
1178
|
+
for (let n of a.plots) {
|
|
1179
|
+
let o = n.x, s = n.y;
|
|
1180
|
+
if (o < e || o > t || s < r || s > i) continue;
|
|
1181
|
+
let c = Math.max(R.value.style.layout.plots.radius, n.weight);
|
|
1182
|
+
u.push(Si({
|
|
1183
|
+
shape: a.shape || "circle",
|
|
1165
1184
|
cx: o,
|
|
1166
1185
|
cy: s,
|
|
1167
1186
|
r: c
|
|
1168
1187
|
}));
|
|
1169
1188
|
}
|
|
1170
|
-
if (!
|
|
1171
|
-
let
|
|
1189
|
+
if (!u.length) return null;
|
|
1190
|
+
let d = o(a.plots.length) > 2.5 || a.plots.length > 1e3;
|
|
1172
1191
|
return {
|
|
1173
|
-
id:
|
|
1174
|
-
d:
|
|
1175
|
-
fill:
|
|
1176
|
-
stroke:
|
|
1177
|
-
strokeWidth:
|
|
1192
|
+
id: a.id,
|
|
1193
|
+
d: u.join(""),
|
|
1194
|
+
fill: n(a.color, l * 100),
|
|
1195
|
+
stroke: d ? "none" : s,
|
|
1196
|
+
strokeWidth: d ? 0 : c,
|
|
1178
1197
|
strokeOpacity: 1
|
|
1179
1198
|
};
|
|
1180
1199
|
}).filter(Boolean);
|
|
1181
1200
|
});
|
|
1182
|
-
function
|
|
1201
|
+
function wi() {
|
|
1183
1202
|
return R.value.usePerformanceMode ? (e) => {
|
|
1184
|
-
let t =
|
|
1203
|
+
let t = pr.value;
|
|
1185
1204
|
if (!t) return;
|
|
1186
1205
|
let n = t.createSVGPoint();
|
|
1187
1206
|
n.x = e.clientX, n.y = e.clientY;
|
|
@@ -1193,41 +1212,41 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1193
1212
|
let n = e.x - a.x, r = e.y - a.y, i = n * n + r * r;
|
|
1194
1213
|
i <= 64 && i < s && (s = i, o = e, c = t);
|
|
1195
1214
|
});
|
|
1196
|
-
}), o) Y.value !== o.id && (Y.value = o.id,
|
|
1215
|
+
}), o) Y.value !== o.id && (Y.value = o.id, ti(o, c, "pointer", $.value.get(o.id) ?? null));
|
|
1197
1216
|
else if (Y.value) {
|
|
1198
1217
|
let e = X.value;
|
|
1199
|
-
Y.value = void 0,
|
|
1218
|
+
Y.value = void 0, ni(e, c);
|
|
1200
1219
|
}
|
|
1201
1220
|
} : () => null;
|
|
1202
1221
|
}
|
|
1203
|
-
let
|
|
1204
|
-
function
|
|
1222
|
+
let Ti = wi();
|
|
1223
|
+
function Ei() {
|
|
1205
1224
|
if (Y.value) {
|
|
1206
1225
|
let e = X.value;
|
|
1207
|
-
Y.value = void 0,
|
|
1226
|
+
Y.value = void 0, ni(e, null);
|
|
1208
1227
|
}
|
|
1209
1228
|
}
|
|
1210
|
-
function
|
|
1229
|
+
function Di(e) {
|
|
1211
1230
|
let t = X.value;
|
|
1212
1231
|
if (t) {
|
|
1213
1232
|
let e = K.value.findIndex((e) => e.id === t.clusterId);
|
|
1214
|
-
|
|
1233
|
+
ri(t, e >= 0 ? e : 0);
|
|
1215
1234
|
}
|
|
1216
1235
|
}
|
|
1217
|
-
let
|
|
1236
|
+
let Oi = v(() => {
|
|
1218
1237
|
let e = R.value.table.useDialog && !R.value.table.show, t = B.value.showTable;
|
|
1219
1238
|
return {
|
|
1220
|
-
component: e ?
|
|
1239
|
+
component: e ? Cn : vn,
|
|
1221
1240
|
title: `${R.value.style.title.text}${R.value.style.title.subtitle.text ? `: ${R.value.style.title.subtitle.text}` : ""}`,
|
|
1222
1241
|
props: e ? {
|
|
1223
1242
|
backgroundColor: R.value.table.th.backgroundColor,
|
|
1224
1243
|
color: R.value.table.th.color,
|
|
1225
1244
|
headerColor: R.value.table.th.color,
|
|
1226
1245
|
headerBg: R.value.table.th.backgroundColor,
|
|
1227
|
-
isFullscreen:
|
|
1246
|
+
isFullscreen: di.value,
|
|
1228
1247
|
fullscreenParent: I.value,
|
|
1229
1248
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
1230
|
-
isCursorPointer:
|
|
1249
|
+
isCursorPointer: ir.value
|
|
1231
1250
|
} : {
|
|
1232
1251
|
hideDetails: !0,
|
|
1233
1252
|
config: {
|
|
@@ -1245,61 +1264,61 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1245
1264
|
}
|
|
1246
1265
|
};
|
|
1247
1266
|
});
|
|
1248
|
-
|
|
1249
|
-
R.value.table.show || (e && R.value.table.useDialog &&
|
|
1267
|
+
We(() => B.value.showTable, (e) => {
|
|
1268
|
+
R.value.table.show || (e && R.value.table.useDialog && Hn.value ? Hn.value.open() : "close" in Hn.value && Hn.value.close());
|
|
1250
1269
|
});
|
|
1251
|
-
function
|
|
1252
|
-
B.value.showTable = !1,
|
|
1270
|
+
function ki() {
|
|
1271
|
+
B.value.showTable = !1, Un.value && Un.value.setTableIconState(!1);
|
|
1253
1272
|
}
|
|
1254
|
-
let
|
|
1255
|
-
svg:
|
|
1256
|
-
title:
|
|
1257
|
-
legend:
|
|
1273
|
+
let Ai = v(() => R.value.style.backgroundColor), ji = v(() => R.value.style.legend), { exportSvg: Mi, getSvg: Ni } = he({
|
|
1274
|
+
svg: pr,
|
|
1275
|
+
title: v(() => R.value.style.title),
|
|
1276
|
+
legend: ji,
|
|
1258
1277
|
legendItems: G,
|
|
1259
|
-
backgroundColor:
|
|
1278
|
+
backgroundColor: Ai
|
|
1260
1279
|
});
|
|
1261
|
-
async function
|
|
1262
|
-
|
|
1280
|
+
async function Pi({ isCb: e }) {
|
|
1281
|
+
Gn.value = !0, await Le();
|
|
1263
1282
|
try {
|
|
1264
1283
|
if (e) {
|
|
1265
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
1284
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Ni();
|
|
1266
1285
|
await Promise.resolve(R.value.userOptions.callbacks.svg({
|
|
1267
1286
|
blob: e,
|
|
1268
1287
|
url: t,
|
|
1269
1288
|
text: n,
|
|
1270
1289
|
dataUrl: r
|
|
1271
1290
|
}));
|
|
1272
|
-
} else await Promise.resolve(
|
|
1291
|
+
} else await Promise.resolve(Mi());
|
|
1273
1292
|
} finally {
|
|
1274
|
-
|
|
1293
|
+
Gn.value = !1;
|
|
1275
1294
|
}
|
|
1276
1295
|
}
|
|
1277
|
-
function
|
|
1296
|
+
function Fi(e) {
|
|
1278
1297
|
if (e?.stage === "start") {
|
|
1279
|
-
|
|
1298
|
+
Wn.value = !0;
|
|
1280
1299
|
return;
|
|
1281
1300
|
}
|
|
1282
1301
|
if (e?.stage === "end") {
|
|
1283
|
-
|
|
1302
|
+
Wn.value = !1;
|
|
1284
1303
|
return;
|
|
1285
1304
|
}
|
|
1286
|
-
|
|
1305
|
+
xr();
|
|
1287
1306
|
}
|
|
1288
|
-
async function
|
|
1289
|
-
if (
|
|
1307
|
+
async function Ii() {
|
|
1308
|
+
if (Dn("copyAlt", {
|
|
1290
1309
|
config: R.value,
|
|
1291
|
-
dataset:
|
|
1310
|
+
dataset: Vr.value
|
|
1292
1311
|
}), !R.value.userOptions.callbacks.altCopy) {
|
|
1293
1312
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1294
1313
|
return;
|
|
1295
1314
|
}
|
|
1296
1315
|
await Promise.resolve(R.value.userOptions.callbacks.altCopy({
|
|
1297
1316
|
config: R.value,
|
|
1298
|
-
dataset:
|
|
1317
|
+
dataset: Vr.value
|
|
1299
1318
|
}));
|
|
1300
1319
|
}
|
|
1301
|
-
function
|
|
1302
|
-
let n =
|
|
1320
|
+
function Li(e, t) {
|
|
1321
|
+
let n = Hi.value.filter((t) => t.id !== e.id);
|
|
1303
1322
|
if (!n.length) return null;
|
|
1304
1323
|
let r = ((n) => {
|
|
1305
1324
|
if (!n.length) return null;
|
|
@@ -1335,61 +1354,61 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1335
1354
|
return Math.abs(t === "right" || t === "left" ? r.y - e.y : r.x - e.x) < i ? r : n;
|
|
1336
1355
|
}, null) : null;
|
|
1337
1356
|
}
|
|
1338
|
-
function
|
|
1339
|
-
|
|
1357
|
+
function Ri() {
|
|
1358
|
+
nr.value = null, Qn.value = null, tr.value = !0;
|
|
1340
1359
|
}
|
|
1341
|
-
function
|
|
1342
|
-
|
|
1360
|
+
function zi() {
|
|
1361
|
+
Jr(), er.value = "pointer", tr.value = !1;
|
|
1343
1362
|
}
|
|
1344
|
-
function
|
|
1345
|
-
if (!
|
|
1363
|
+
function Bi(e) {
|
|
1364
|
+
if (!pr.value || hi.value || document.activeElement !== pr.value || !Hi.value.length) return;
|
|
1346
1365
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
1347
1366
|
if (!t && !n && !r && !i && !a && !o) return;
|
|
1348
1367
|
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
1349
|
-
|
|
1368
|
+
Jr(), er.value = "pointer";
|
|
1350
1369
|
return;
|
|
1351
1370
|
}
|
|
1352
1371
|
if (a) {
|
|
1353
|
-
if (
|
|
1354
|
-
let e =
|
|
1372
|
+
if (nr.value === null) return;
|
|
1373
|
+
let e = Hi.value[nr.value];
|
|
1355
1374
|
if (!e) return;
|
|
1356
|
-
|
|
1375
|
+
ri(e, e.seriesIndex);
|
|
1357
1376
|
return;
|
|
1358
1377
|
}
|
|
1359
1378
|
let s = null;
|
|
1360
|
-
if (n && (s = "right"), t && (s = "left"), i && (s = "down"), r && (s = "up"),
|
|
1379
|
+
if (n && (s = "right"), t && (s = "left"), i && (s = "down"), r && (s = "up"), Qn.value === null) {
|
|
1361
1380
|
let e = X.value;
|
|
1362
1381
|
if (e && e.id) {
|
|
1363
|
-
let t =
|
|
1382
|
+
let t = Li(e, s);
|
|
1364
1383
|
if (!t) {
|
|
1365
1384
|
let t = $.value.get(e.id);
|
|
1366
1385
|
if (t === void 0) return;
|
|
1367
|
-
|
|
1386
|
+
ti(e, e.seriesIndex, "keyboard", t);
|
|
1368
1387
|
return;
|
|
1369
1388
|
}
|
|
1370
1389
|
let n = $.value.get(t.id);
|
|
1371
1390
|
if (n === void 0) return;
|
|
1372
|
-
|
|
1391
|
+
ti(t, t.seriesIndex, "keyboard", n);
|
|
1373
1392
|
return;
|
|
1374
1393
|
}
|
|
1375
|
-
let t =
|
|
1394
|
+
let t = Hi.value[0];
|
|
1376
1395
|
if (!t) return;
|
|
1377
1396
|
let n = $.value.get(t.id) ?? 0;
|
|
1378
|
-
|
|
1397
|
+
ti(t, t.seriesIndex, "keyboard", n);
|
|
1379
1398
|
return;
|
|
1380
1399
|
}
|
|
1381
|
-
let c = $.value.get(
|
|
1400
|
+
let c = $.value.get(Qn.value);
|
|
1382
1401
|
if (c === void 0) return;
|
|
1383
|
-
let l =
|
|
1402
|
+
let l = Hi.value[c];
|
|
1384
1403
|
if (!l) return;
|
|
1385
|
-
let u =
|
|
1404
|
+
let u = Li(l, s);
|
|
1386
1405
|
if (!u) return;
|
|
1387
1406
|
let d = $.value.get(u.id);
|
|
1388
|
-
d !== void 0 &&
|
|
1407
|
+
d !== void 0 && ti(u, u.seriesIndex, "keyboard", d);
|
|
1389
1408
|
}
|
|
1390
|
-
let
|
|
1409
|
+
let Vi = v(() => {
|
|
1391
1410
|
if (!X.value) return "";
|
|
1392
|
-
let e = X.value, t = isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x,
|
|
1411
|
+
let e = X.value, t = isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x, f({
|
|
1393
1412
|
p: R.value.style.tooltip.prefix,
|
|
1394
1413
|
v: e.v.x,
|
|
1395
1414
|
s: R.value.style.tooltip.suffix,
|
|
@@ -1397,7 +1416,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1397
1416
|
}), {
|
|
1398
1417
|
datapoint: e,
|
|
1399
1418
|
seriesIndex: e.seriesIndex
|
|
1400
|
-
}), n = isNaN(e.v.y) ? "-" : g(R.value.style.layout.plots.selectors.labels.y.formatter, e.v.y,
|
|
1419
|
+
}), n = isNaN(e.v.y) ? "-" : g(R.value.style.layout.plots.selectors.labels.y.formatter, e.v.y, f({
|
|
1401
1420
|
p: R.value.style.tooltip.prefix,
|
|
1402
1421
|
v: e.v.y,
|
|
1403
1422
|
s: R.value.style.tooltip.suffix,
|
|
@@ -1412,57 +1431,57 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1412
1431
|
`${R.value.style.layout.dataLabels.xAxis.name}: ${t}`,
|
|
1413
1432
|
`${R.value.style.layout.dataLabels.yAxis.name}: ${n}`
|
|
1414
1433
|
].filter(Boolean).join(". ");
|
|
1415
|
-
}),
|
|
1434
|
+
}), Hi = v(() => K.value.flatMap((e, t) => e.plots.map((n) => ({
|
|
1416
1435
|
...n,
|
|
1417
1436
|
seriesIndex: t,
|
|
1418
1437
|
seriesId: e.id,
|
|
1419
1438
|
seriesName: e.name,
|
|
1420
1439
|
shape: e.shape || "circle",
|
|
1421
1440
|
color: e.color
|
|
1422
|
-
})))), $ =
|
|
1441
|
+
})))), $ = v(() => {
|
|
1423
1442
|
let e = /* @__PURE__ */ new Map();
|
|
1424
|
-
return
|
|
1443
|
+
return Hi.value.forEach((t, n) => {
|
|
1425
1444
|
e.set(t.id, n);
|
|
1426
1445
|
}), e;
|
|
1427
|
-
}),
|
|
1428
|
-
headers:
|
|
1429
|
-
rows:
|
|
1446
|
+
}), Ui = v(() => ({
|
|
1447
|
+
headers: ui.value?.colNames ?? [],
|
|
1448
|
+
rows: ui.value?.a11yBody ?? []
|
|
1430
1449
|
}));
|
|
1431
|
-
return
|
|
1432
|
-
getData:
|
|
1433
|
-
getImage:
|
|
1434
|
-
generatePdf:
|
|
1435
|
-
generateCsv:
|
|
1436
|
-
generateImage:
|
|
1437
|
-
generateSvg:
|
|
1438
|
-
hideSeries:
|
|
1439
|
-
showSeries:
|
|
1440
|
-
toggleTable:
|
|
1441
|
-
toggleTooltip:
|
|
1442
|
-
toggleAnnotator:
|
|
1443
|
-
toggleFullscreen:
|
|
1444
|
-
copyAlt:
|
|
1445
|
-
}), (e, t) => (D(),
|
|
1446
|
-
class:
|
|
1450
|
+
return Se({
|
|
1451
|
+
getData: Ur,
|
|
1452
|
+
getImage: _i,
|
|
1453
|
+
generatePdf: br,
|
|
1454
|
+
generateCsv: li,
|
|
1455
|
+
generateImage: xr,
|
|
1456
|
+
generateSvg: Pi,
|
|
1457
|
+
hideSeries: ci,
|
|
1458
|
+
showSeries: si,
|
|
1459
|
+
toggleTable: pi,
|
|
1460
|
+
toggleTooltip: mi,
|
|
1461
|
+
toggleAnnotator: gi,
|
|
1462
|
+
toggleFullscreen: fi,
|
|
1463
|
+
copyAlt: Ii
|
|
1464
|
+
}), (e, t) => (D(), x("div", {
|
|
1465
|
+
class: Re(`vue-data-ui-component vue-ui-scatter ${di.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${R.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1447
1466
|
ref_key: "scatterChart",
|
|
1448
1467
|
ref: I,
|
|
1449
1468
|
id: `vue-ui-scatter_${F.value}`,
|
|
1450
1469
|
style: E(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${R.value.style.backgroundColor};${R.value.responsive ? "height: 100%" : ""}`),
|
|
1451
|
-
onMouseenter: t[5] ||= () => M(
|
|
1470
|
+
onMouseenter: t[5] ||= () => M(dr)(!0),
|
|
1452
1471
|
onMouseleave: t[6] ||= () => {
|
|
1453
|
-
M(
|
|
1472
|
+
M(dr)(!1), tr.value || Jr();
|
|
1454
1473
|
}
|
|
1455
1474
|
}, [
|
|
1456
|
-
|
|
1475
|
+
S("div", {
|
|
1457
1476
|
id: `chart-instructions-${F.value}`,
|
|
1458
1477
|
class: "sr-only"
|
|
1459
|
-
}, [
|
|
1460
|
-
B.value.showTooltip ?
|
|
1461
|
-
|
|
1478
|
+
}, [S("p", null, j(R.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
|
|
1479
|
+
B.value.showTooltip ? b("", !0) : (D(), x("div", Je, j(Vi.value), 1)),
|
|
1480
|
+
Ui.value?.rows?.length && On.value ? (D(), y(De, {
|
|
1462
1481
|
key: 1,
|
|
1463
1482
|
uid: F.value,
|
|
1464
|
-
head:
|
|
1465
|
-
body:
|
|
1483
|
+
head: Ui.value.headers,
|
|
1484
|
+
body: Ui.value.rows,
|
|
1466
1485
|
notice: R.value.a11y.translations.tableAvailable,
|
|
1467
1486
|
caption: R.value.a11y.translations.tableCaption
|
|
1468
1487
|
}, null, 8, [
|
|
@@ -1471,15 +1490,15 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1471
1490
|
"body",
|
|
1472
1491
|
"notice",
|
|
1473
1492
|
"caption"
|
|
1474
|
-
])) :
|
|
1475
|
-
R.value.userOptions.buttons.annotator ? (D(),
|
|
1493
|
+
])) : b("", !0),
|
|
1494
|
+
R.value.userOptions.buttons.annotator ? (D(), y(M(bn), {
|
|
1476
1495
|
key: 2,
|
|
1477
|
-
svgRef: M(
|
|
1496
|
+
svgRef: M(pr),
|
|
1478
1497
|
backgroundColor: R.value.style.backgroundColor,
|
|
1479
1498
|
color: R.value.style.color,
|
|
1480
|
-
active:
|
|
1481
|
-
isCursorPointer:
|
|
1482
|
-
onClose:
|
|
1499
|
+
active: hi.value,
|
|
1500
|
+
isCursorPointer: ir.value,
|
|
1501
|
+
onClose: gi
|
|
1483
1502
|
}, {
|
|
1484
1503
|
"annotator-action-close": N(() => [A(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1485
1504
|
"annotator-action-color": N(({ color: t }) => [A(e.$slots, "annotator-action-color", T(w({ color: t })), void 0, !0)]),
|
|
@@ -1494,21 +1513,21 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1494
1513
|
"color",
|
|
1495
1514
|
"active",
|
|
1496
1515
|
"isCursorPointer"
|
|
1497
|
-
])) :
|
|
1498
|
-
|
|
1516
|
+
])) : b("", !0),
|
|
1517
|
+
Sr.value ? (D(), x("div", {
|
|
1499
1518
|
key: 3,
|
|
1500
1519
|
ref_key: "noTitle",
|
|
1501
|
-
ref:
|
|
1520
|
+
ref: Fn,
|
|
1502
1521
|
class: "vue-data-ui-no-title-space",
|
|
1503
1522
|
style: "height:36px; width: 100%;background:transparent"
|
|
1504
|
-
}, null, 512)) :
|
|
1505
|
-
R.value.style.title.text ? (D(),
|
|
1523
|
+
}, null, 512)) : b("", !0),
|
|
1524
|
+
R.value.style.title.text ? (D(), x("div", {
|
|
1506
1525
|
key: 4,
|
|
1507
1526
|
ref_key: "chartTitle",
|
|
1508
|
-
ref:
|
|
1527
|
+
ref: Mn,
|
|
1509
1528
|
style: "width:100%;background:transparent"
|
|
1510
|
-
}, [(D(),
|
|
1511
|
-
key: `title_${
|
|
1529
|
+
}, [(D(), y(be, {
|
|
1530
|
+
key: `title_${In.value}`,
|
|
1512
1531
|
config: {
|
|
1513
1532
|
title: {
|
|
1514
1533
|
cy: "scatter-div-title",
|
|
@@ -1519,16 +1538,16 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1519
1538
|
...R.value.style.title.subtitle
|
|
1520
1539
|
}
|
|
1521
1540
|
}
|
|
1522
|
-
}, null, 8, ["config"]))], 512)) :
|
|
1523
|
-
|
|
1524
|
-
R.value.userOptions.show &&
|
|
1541
|
+
}, null, 8, ["config"]))], 512)) : b("", !0),
|
|
1542
|
+
S("div", { id: `legend-top-${F.value}` }, null, 8, Ye),
|
|
1543
|
+
R.value.userOptions.show && On.value && (M(fr) || M(ur)) ? (D(), y(M(xn), {
|
|
1525
1544
|
ref_key: "userOptionsRef",
|
|
1526
|
-
ref:
|
|
1527
|
-
key: `user_options_${
|
|
1545
|
+
ref: Un,
|
|
1546
|
+
key: `user_options_${jn.value}`,
|
|
1528
1547
|
backgroundColor: R.value.style.backgroundColor,
|
|
1529
1548
|
color: R.value.style.color,
|
|
1530
|
-
isImaging: M(
|
|
1531
|
-
isPrinting: M(
|
|
1549
|
+
isImaging: M(yr),
|
|
1550
|
+
isPrinting: M(vr),
|
|
1532
1551
|
uid: F.value,
|
|
1533
1552
|
hasTooltip: R.value.userOptions.buttons.tooltip && R.value.style.tooltip.show,
|
|
1534
1553
|
hasPdf: R.value.userOptions.buttons.pdf,
|
|
@@ -1539,27 +1558,27 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1539
1558
|
hasFullscreen: R.value.userOptions.buttons.fullscreen,
|
|
1540
1559
|
hasAltCopy: R.value.userOptions.buttons.altCopy,
|
|
1541
1560
|
isTooltip: B.value.showTooltip,
|
|
1542
|
-
isFullscreen:
|
|
1561
|
+
isFullscreen: di.value,
|
|
1543
1562
|
titles: { ...R.value.userOptions.buttonTitles },
|
|
1544
1563
|
chartElement: I.value,
|
|
1545
1564
|
position: R.value.userOptions.position,
|
|
1546
1565
|
hasAnnotator: R.value.userOptions.buttons.annotator,
|
|
1547
|
-
isAnnotation:
|
|
1566
|
+
isAnnotation: hi.value,
|
|
1548
1567
|
callbacks: R.value.userOptions.callbacks,
|
|
1549
1568
|
printScale: R.value.userOptions.print.scale,
|
|
1550
1569
|
tableDialog: R.value.table.useDialog,
|
|
1551
|
-
isCursorPointer:
|
|
1552
|
-
onToggleFullscreen:
|
|
1553
|
-
onGeneratePdf: M(
|
|
1554
|
-
onGenerateCsv:
|
|
1555
|
-
onGenerateImage:
|
|
1556
|
-
onGenerateSvg:
|
|
1557
|
-
onToggleTable:
|
|
1558
|
-
onToggleTooltip:
|
|
1559
|
-
onToggleAnnotator:
|
|
1560
|
-
onCopyAlt:
|
|
1561
|
-
style: E({ visibility: M(
|
|
1562
|
-
},
|
|
1570
|
+
isCursorPointer: ir.value,
|
|
1571
|
+
onToggleFullscreen: fi,
|
|
1572
|
+
onGeneratePdf: M(br),
|
|
1573
|
+
onGenerateCsv: li,
|
|
1574
|
+
onGenerateImage: Fi,
|
|
1575
|
+
onGenerateSvg: Pi,
|
|
1576
|
+
onToggleTable: pi,
|
|
1577
|
+
onToggleTooltip: mi,
|
|
1578
|
+
onToggleAnnotator: gi,
|
|
1579
|
+
onCopyAlt: Ii,
|
|
1580
|
+
style: E({ visibility: M(fr) ? M(ur) ? "visible" : "hidden" : "visible" })
|
|
1581
|
+
}, Ne({ _: 2 }, [
|
|
1563
1582
|
e.$slots.menuIcon ? {
|
|
1564
1583
|
name: "menuIcon",
|
|
1565
1584
|
fn: N(({ isOpen: t, color: n }) => [A(e.$slots, "menuIcon", T(w({
|
|
@@ -1629,35 +1648,35 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1629
1648
|
fn: N(() => [A(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1630
1649
|
key: "11"
|
|
1631
1650
|
} : void 0
|
|
1632
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
1633
|
-
|
|
1651
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : b("", !0),
|
|
1652
|
+
S("div", Xe, [(D(), x("svg", {
|
|
1634
1653
|
ref_key: "svgRef",
|
|
1635
|
-
ref:
|
|
1654
|
+
ref: pr,
|
|
1636
1655
|
xmlns: M(ie),
|
|
1637
1656
|
"aria-describedby": `chart-instructions-${F.value}`,
|
|
1638
|
-
class:
|
|
1639
|
-
"vue-data-ui-fullscreen--on":
|
|
1640
|
-
"vue-data-ui-fulscreen--off": !
|
|
1641
|
-
|
|
1657
|
+
class: Re({
|
|
1658
|
+
"vue-data-ui-fullscreen--on": di.value,
|
|
1659
|
+
"vue-data-ui-fulscreen--off": !di.value,
|
|
1660
|
+
"vue-data-ui-no-transition": !M(rr)
|
|
1642
1661
|
}),
|
|
1643
1662
|
viewBox: `0 0 ${V.value.width <= 0 ? 10 : V.value.width} ${V.value.height <= 0 ? 10 : V.value.height}`,
|
|
1644
1663
|
style: E(`max-width:100%;overflow:visible;background:transparent;color:${R.value.style.color}`),
|
|
1645
|
-
onMouseleave:
|
|
1664
|
+
onMouseleave: bi,
|
|
1646
1665
|
tabindex: "0",
|
|
1647
|
-
onFocus:
|
|
1648
|
-
onBlur:
|
|
1649
|
-
onKeydown:
|
|
1666
|
+
onFocus: Ri,
|
|
1667
|
+
onBlur: zi,
|
|
1668
|
+
onKeydown: Bi
|
|
1650
1669
|
}, [
|
|
1651
|
-
|
|
1652
|
-
e.$slots["chart-background"] ? (D(),
|
|
1670
|
+
Fe(M(Sn)),
|
|
1671
|
+
e.$slots["chart-background"] ? (D(), x("foreignObject", {
|
|
1653
1672
|
key: 0,
|
|
1654
1673
|
x: 0,
|
|
1655
1674
|
y: 0,
|
|
1656
1675
|
width: V.value.width <= 0 ? 10 : V.value.width,
|
|
1657
1676
|
height: V.value.height <= 0 ? 10 : V.value.height,
|
|
1658
1677
|
style: { pointerEvents: "none" }
|
|
1659
|
-
}, [A(e.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
1660
|
-
R.value.style.layout.axis.show ? (D(),
|
|
1678
|
+
}, [A(e.$slots, "chart-background", {}, void 0, !0)], 8, Qe)) : b("", !0),
|
|
1679
|
+
R.value.style.layout.axis.show ? (D(), x("g", $e, [S("line", {
|
|
1661
1680
|
x1: W.value.x,
|
|
1662
1681
|
x2: W.value.x,
|
|
1663
1682
|
y1: H.value.top,
|
|
@@ -1665,7 +1684,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1665
1684
|
stroke: R.value.style.layout.axis.stroke,
|
|
1666
1685
|
"stroke-width": R.value.style.layout.axis.strokeWidth,
|
|
1667
1686
|
"stroke-linecap": "round"
|
|
1668
|
-
}, null, 8,
|
|
1687
|
+
}, null, 8, et), S("line", {
|
|
1669
1688
|
x1: H.value.left,
|
|
1670
1689
|
x2: H.value.right,
|
|
1671
1690
|
y1: W.value.y,
|
|
@@ -1673,8 +1692,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1673
1692
|
stroke: R.value.style.layout.axis.stroke,
|
|
1674
1693
|
"stroke-width": R.value.style.layout.axis.strokeWidth,
|
|
1675
1694
|
"stroke-linecap": "round"
|
|
1676
|
-
}, null, 8,
|
|
1677
|
-
R.value.style.layout.dataLabels.xAxis.scales.verticalLines.show ? (D(),
|
|
1695
|
+
}, null, 8, tt)])) : b("", !0),
|
|
1696
|
+
R.value.style.layout.dataLabels.xAxis.scales.verticalLines.show ? (D(), x("g", nt, [(D(!0), x(_, null, k(Pr.value, (e, t) => (D(), x("line", {
|
|
1678
1697
|
key: `scatter-x-scale-line-${F.value}-${t}`,
|
|
1679
1698
|
x1: e.x,
|
|
1680
1699
|
x2: e.x,
|
|
@@ -1683,23 +1702,23 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1683
1702
|
stroke: R.value.style.layout.dataLabels.xAxis.scales.verticalLines.stroke,
|
|
1684
1703
|
"stroke-width": R.value.style.layout.dataLabels.xAxis.scales.verticalLines.strokeWidth,
|
|
1685
1704
|
"stroke-linecap": "round"
|
|
1686
|
-
}, null, 8,
|
|
1687
|
-
R.value.style.layout.dataLabels.xAxis.scales.show ? (D(),
|
|
1705
|
+
}, null, 8, rt))), 128))])) : b("", !0),
|
|
1706
|
+
R.value.style.layout.dataLabels.xAxis.scales.show ? (D(), x("g", {
|
|
1688
1707
|
key: 3,
|
|
1689
1708
|
ref_key: "xAxisScaleLabels",
|
|
1690
|
-
ref:
|
|
1691
|
-
}, [(D(!0),
|
|
1709
|
+
ref: Zn
|
|
1710
|
+
}, [(D(!0), x(_, null, k(Pr.value, (e, t) => (D(), x("g", {
|
|
1692
1711
|
class: "vue-ui-scatter-scale-group",
|
|
1693
1712
|
key: `scatter-x-scale-${F.value}-${t}`,
|
|
1694
|
-
opacity: +!
|
|
1695
|
-
}, [
|
|
1696
|
-
class:
|
|
1713
|
+
opacity: +!Ir.value
|
|
1714
|
+
}, [S("path", {
|
|
1715
|
+
class: Re({ "vue-data-ui-transition": M(rr) }),
|
|
1697
1716
|
stroke: R.value.style.layout.axis.stroke,
|
|
1698
1717
|
"stroke-width": R.value.style.layout.axis.strokeWidth,
|
|
1699
1718
|
d: `M${e.x},${W.value.y - 4} ${e.x},${W.value.y + 4}`,
|
|
1700
1719
|
"stroke-linecap": "round"
|
|
1701
|
-
}, null, 10,
|
|
1702
|
-
class:
|
|
1720
|
+
}, null, 10, at), S("text", {
|
|
1721
|
+
class: Re({ "vue-data-ui-transition": M(rr) }),
|
|
1703
1722
|
transform: `translate(${e.x}, ${W.value.y + R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize + 6 + R.value.style.layout.dataLabels.xAxis.scales.labels.offsetY})`,
|
|
1704
1723
|
"text-anchor": "middle",
|
|
1705
1724
|
"font-size": R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize,
|
|
@@ -1707,8 +1726,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1707
1726
|
stroke: R.value.style.backgroundColor,
|
|
1708
1727
|
"stroke-width": "2",
|
|
1709
1728
|
"paint-order": "stroke"
|
|
1710
|
-
}, j(e.label), 11,
|
|
1711
|
-
R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.show ? (D(),
|
|
1729
|
+
}, j(e.label), 11, ot)], 8, it))), 128))], 512)) : b("", !0),
|
|
1730
|
+
R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.show ? (D(), x("g", st, [(D(!0), x(_, null, k(Fr.value, (e, t) => (D(), x("line", {
|
|
1712
1731
|
key: `scatter-y-scale-line-${F.value}-${t}`,
|
|
1713
1732
|
x1: H.value.left,
|
|
1714
1733
|
x2: H.value.right,
|
|
@@ -1717,22 +1736,22 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1717
1736
|
stroke: R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.stroke,
|
|
1718
1737
|
"stroke-width": R.value.style.layout.dataLabels.yAxis.scales.horizontalLines.strokeWidth,
|
|
1719
1738
|
"stroke-linecap": "round"
|
|
1720
|
-
}, null, 8,
|
|
1721
|
-
R.value.style.layout.dataLabels.yAxis.scales.show ? (D(),
|
|
1739
|
+
}, null, 8, ct))), 128))])) : b("", !0),
|
|
1740
|
+
R.value.style.layout.dataLabels.yAxis.scales.show ? (D(), x("g", {
|
|
1722
1741
|
key: 5,
|
|
1723
1742
|
ref_key: "yAxisScaleLabels",
|
|
1724
|
-
ref:
|
|
1725
|
-
opacity: +!
|
|
1743
|
+
ref: Xn,
|
|
1744
|
+
opacity: +!Lr.value,
|
|
1726
1745
|
style: { transition: "opacity 0.1s ease-in-out" },
|
|
1727
1746
|
class: "vue-ui-scatter-scale-group"
|
|
1728
|
-
}, [(D(!0),
|
|
1729
|
-
class:
|
|
1747
|
+
}, [(D(!0), x(_, null, k(Fr.value, (e, t) => (D(), x("g", { key: `scatter-y-scale-${F.value}-${t}` }, [S("path", {
|
|
1748
|
+
class: Re({ "vue-data-ui-transition": M(rr) }),
|
|
1730
1749
|
d: `M${W.value.x - 4},${e.y} ${W.value.x + 4},${e.y}`,
|
|
1731
1750
|
stroke: R.value.style.layout.axis.stroke,
|
|
1732
1751
|
"stroke-width": R.value.style.layout.axis.strokeWidth,
|
|
1733
1752
|
"stroke-linecap": "round"
|
|
1734
|
-
}, null, 10,
|
|
1735
|
-
class:
|
|
1753
|
+
}, null, 10, ut), S("text", {
|
|
1754
|
+
class: Re({ "vue-data-ui-transition": M(rr) }),
|
|
1736
1755
|
transform: `translate(${W.value.x - R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 2 - 8 + R.value.style.layout.dataLabels.yAxis.scales.labels.offsetX}, ${e.y + R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 3})`,
|
|
1737
1756
|
"text-anchor": "end",
|
|
1738
1757
|
"font-size": R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize,
|
|
@@ -1740,9 +1759,9 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1740
1759
|
stroke: R.value.style.backgroundColor,
|
|
1741
1760
|
"stroke-width": "2",
|
|
1742
1761
|
"paint-order": "stroke"
|
|
1743
|
-
}, j(e.label), 11,
|
|
1744
|
-
R.value.style.layout.marginalBars.show ? (D(),
|
|
1745
|
-
|
|
1762
|
+
}, j(e.label), 11, dt)]))), 128))], 8, lt)) : b("", !0),
|
|
1763
|
+
R.value.style.layout.marginalBars.show ? (D(), x("g", ft, [
|
|
1764
|
+
S("defs", null, [Fe(Te, {
|
|
1746
1765
|
t: "linear",
|
|
1747
1766
|
id: `marginal_x_${F.value}`,
|
|
1748
1767
|
x1: "0%",
|
|
@@ -1758,7 +1777,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1758
1777
|
R.value.style.backgroundColor,
|
|
1759
1778
|
1
|
|
1760
1779
|
]]
|
|
1761
|
-
}, null, 8, ["id", "stops"]),
|
|
1780
|
+
}, null, 8, ["id", "stops"]), Fe(Te, {
|
|
1762
1781
|
t: "linear",
|
|
1763
1782
|
id: `marginal_y_${F.value}`,
|
|
1764
1783
|
x1: "0%",
|
|
@@ -1775,8 +1794,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1775
1794
|
1
|
|
1776
1795
|
]]
|
|
1777
1796
|
}, null, 8, ["id", "stops"])]),
|
|
1778
|
-
(D(!0),
|
|
1779
|
-
e && J.value.avgX[n] ? (D(),
|
|
1797
|
+
(D(!0), x(_, null, k(J.value.x, (e, n) => (D(), x("g", null, [
|
|
1798
|
+
e && J.value.avgX[n] ? (D(), x("rect", {
|
|
1780
1799
|
key: 0,
|
|
1781
1800
|
x: J.value.avgX[n] - H.value.width / q.value / 2,
|
|
1782
1801
|
y: H.value.top - R.value.style.layout.marginalBars.offset - e / J.value.maxX * R.value.style.layout.marginalBars.size,
|
|
@@ -1787,27 +1806,27 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1787
1806
|
stroke: R.value.style.backgroundColor,
|
|
1788
1807
|
"stroke-width": R.value.style.layout.marginalBars.strokeWidth,
|
|
1789
1808
|
rx: R.value.style.layout.marginalBars.borderRadius
|
|
1790
|
-
}, null, 12,
|
|
1791
|
-
J.value.avgX[n] ? (D(),
|
|
1809
|
+
}, null, 12, pt)) : b("", !0),
|
|
1810
|
+
J.value.avgX[n] ? (D(), x("rect", {
|
|
1792
1811
|
key: 1,
|
|
1793
1812
|
x: J.value.avgX[n] - H.value.width / q.value / 2,
|
|
1794
1813
|
y: H.value.top - R.value.style.layout.marginalBars.offset - R.value.style.layout.marginalBars.size,
|
|
1795
1814
|
width: H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value,
|
|
1796
1815
|
height: Math.max(.1, R.value.style.layout.marginalBars.size),
|
|
1797
1816
|
fill: "transparent",
|
|
1798
|
-
onMouseenter: (e) =>
|
|
1799
|
-
onMouseleave: t[0] ||= (e) =>
|
|
1800
|
-
}, null, 40,
|
|
1801
|
-
J.value.avgX[n] &&
|
|
1802
|
-
|
|
1817
|
+
onMouseenter: (e) => vi(n),
|
|
1818
|
+
onMouseleave: t[0] ||= (e) => bi()
|
|
1819
|
+
}, null, 40, mt)) : b("", !0),
|
|
1820
|
+
J.value.avgX[n] && Bn.value != null && Bn.value === n ? (D(), x("g", ht, [
|
|
1821
|
+
S("rect", {
|
|
1803
1822
|
x: J.value.avgX[n] - H.value.width / q.value / 2,
|
|
1804
1823
|
y: H.value.top,
|
|
1805
1824
|
width: H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value,
|
|
1806
1825
|
height: H.value.height,
|
|
1807
1826
|
fill: R.value.style.layout.marginalBars.highlighter.color,
|
|
1808
1827
|
"fill-opacity": R.value.style.layout.marginalBars.highlighter.opacity
|
|
1809
|
-
}, null, 8,
|
|
1810
|
-
|
|
1828
|
+
}, null, 8, gt),
|
|
1829
|
+
S("line", {
|
|
1811
1830
|
x1: J.value.avgX[n] - H.value.width / q.value / 2,
|
|
1812
1831
|
x2: J.value.avgX[n] - H.value.width / q.value / 2,
|
|
1813
1832
|
y1: 0,
|
|
@@ -1819,8 +1838,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1819
1838
|
transition: "none !important",
|
|
1820
1839
|
animation: "none !important"
|
|
1821
1840
|
}
|
|
1822
|
-
}, null, 8,
|
|
1823
|
-
|
|
1841
|
+
}, null, 8, _t),
|
|
1842
|
+
S("line", {
|
|
1824
1843
|
x1: J.value.avgX[n] - H.value.width / q.value / 2 + (H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value),
|
|
1825
1844
|
x2: J.value.avgX[n] - H.value.width / q.value / 2 + (H.value.width / q.value <= 0 ? 1e-4 : H.value.width / q.value),
|
|
1826
1845
|
y1: 0,
|
|
@@ -1832,11 +1851,11 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1832
1851
|
transition: "none !important",
|
|
1833
1852
|
animation: "none !important"
|
|
1834
1853
|
}
|
|
1835
|
-
}, null, 8,
|
|
1836
|
-
])) :
|
|
1854
|
+
}, null, 8, vt)
|
|
1855
|
+
])) : b("", !0)
|
|
1837
1856
|
]))), 256)),
|
|
1838
|
-
(D(!0),
|
|
1839
|
-
e && J.value.avgY[n] ? (D(),
|
|
1857
|
+
(D(!0), x(_, null, k(J.value.y, (e, n) => (D(), x("g", null, [
|
|
1858
|
+
e && J.value.avgY[n] ? (D(), x("rect", {
|
|
1840
1859
|
key: 0,
|
|
1841
1860
|
x: H.value.right + R.value.style.layout.marginalBars.offset,
|
|
1842
1861
|
y: J.value.avgY[n] - H.value.height / q.value / 2,
|
|
@@ -1847,27 +1866,27 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1847
1866
|
stroke: R.value.style.backgroundColor,
|
|
1848
1867
|
"stroke-width": R.value.style.layout.marginalBars.strokeWidth,
|
|
1849
1868
|
rx: R.value.style.layout.marginalBars.borderRadius
|
|
1850
|
-
}, null, 12,
|
|
1851
|
-
J.value.avgY[n] ? (D(),
|
|
1869
|
+
}, null, 12, yt)) : b("", !0),
|
|
1870
|
+
J.value.avgY[n] ? (D(), x("rect", {
|
|
1852
1871
|
key: 1,
|
|
1853
1872
|
x: H.value.right + R.value.style.layout.marginalBars.offset,
|
|
1854
1873
|
y: J.value.avgY[n] - H.value.height / q.value / 2,
|
|
1855
1874
|
width: Math.max(.1, R.value.style.layout.marginalBars.size),
|
|
1856
1875
|
height: H.value.height / q.value <= 0 ? 1e-4 : H.value.height / q.value,
|
|
1857
1876
|
fill: "transparent",
|
|
1858
|
-
onMouseenter: (e) =>
|
|
1859
|
-
onMouseleave: t[1] ||= (e) =>
|
|
1860
|
-
}, null, 40,
|
|
1861
|
-
J.value.avgY[n] &&
|
|
1862
|
-
|
|
1877
|
+
onMouseenter: (e) => yi(n),
|
|
1878
|
+
onMouseleave: t[1] ||= (e) => bi()
|
|
1879
|
+
}, null, 40, bt)) : b("", !0),
|
|
1880
|
+
J.value.avgY[n] && Vn.value != null && Vn.value === n ? (D(), x("g", xt, [
|
|
1881
|
+
S("rect", {
|
|
1863
1882
|
x: H.value.left,
|
|
1864
1883
|
y: J.value.avgY[n] - H.value.height / q.value / 2,
|
|
1865
1884
|
width: H.value.width,
|
|
1866
1885
|
height: H.value.height / q.value <= 0 ? 1e-4 : H.value.height / q.value,
|
|
1867
1886
|
fill: R.value.style.layout.marginalBars.highlighter.color,
|
|
1868
1887
|
"fill-opacity": R.value.style.layout.marginalBars.highlighter.opacity
|
|
1869
|
-
}, null, 8,
|
|
1870
|
-
|
|
1888
|
+
}, null, 8, St),
|
|
1889
|
+
S("line", {
|
|
1871
1890
|
x1: H.value.left,
|
|
1872
1891
|
x2: V.value.width,
|
|
1873
1892
|
y1: J.value.avgY[n] - H.value.height / q.value / 2,
|
|
@@ -1879,8 +1898,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1879
1898
|
transition: "none !important",
|
|
1880
1899
|
animation: "none !important"
|
|
1881
1900
|
}
|
|
1882
|
-
}, null, 8,
|
|
1883
|
-
|
|
1901
|
+
}, null, 8, Ct),
|
|
1902
|
+
S("line", {
|
|
1884
1903
|
x1: H.value.left,
|
|
1885
1904
|
x2: V.value.width,
|
|
1886
1905
|
y1: J.value.avgY[n] - H.value.height / q.value / 2 + (H.value.height / q.value <= 0 ? 1e-4 : H.value.height / q.value),
|
|
@@ -1892,11 +1911,11 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1892
1911
|
transition: "none !important",
|
|
1893
1912
|
animation: "none !important"
|
|
1894
1913
|
}
|
|
1895
|
-
}, null, 8,
|
|
1896
|
-
])) :
|
|
1914
|
+
}, null, 8, wt)
|
|
1915
|
+
])) : b("", !0)
|
|
1897
1916
|
]))), 256)),
|
|
1898
|
-
R.value.style.layout.marginalBars.showLines ? (D(),
|
|
1899
|
-
L.value.includes(e.id) ?
|
|
1917
|
+
R.value.style.layout.marginalBars.showLines ? (D(), x("g", Tt, [(D(!0), x(_, null, k(Gr.value, (e) => (D(), x(_, null, [
|
|
1918
|
+
L.value.includes(e.id) ? b("", !0) : (D(), x("path", {
|
|
1900
1919
|
key: 0,
|
|
1901
1920
|
d: `M ${e.dX}`,
|
|
1902
1921
|
stroke: R.value.style.backgroundColor,
|
|
@@ -1904,8 +1923,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1904
1923
|
"stroke-linecap": "round",
|
|
1905
1924
|
"stroke-linejoin": "round",
|
|
1906
1925
|
fill: "none"
|
|
1907
|
-
}, null, 8,
|
|
1908
|
-
L.value.includes(e.id) ?
|
|
1926
|
+
}, null, 8, Et)),
|
|
1927
|
+
L.value.includes(e.id) ? b("", !0) : (D(), x("path", {
|
|
1909
1928
|
key: 1,
|
|
1910
1929
|
d: `M ${e.dX}`,
|
|
1911
1930
|
stroke: e.color,
|
|
@@ -1913,8 +1932,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1913
1932
|
"stroke-linecap": "round",
|
|
1914
1933
|
"stroke-linejoin": "round",
|
|
1915
1934
|
fill: "none"
|
|
1916
|
-
}, null, 8,
|
|
1917
|
-
L.value.includes(e.id) ?
|
|
1935
|
+
}, null, 8, Dt)),
|
|
1936
|
+
L.value.includes(e.id) ? b("", !0) : (D(), x("path", {
|
|
1918
1937
|
key: 2,
|
|
1919
1938
|
d: `M ${e.dY}`,
|
|
1920
1939
|
stroke: R.value.style.backgroundColor,
|
|
@@ -1922,8 +1941,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1922
1941
|
"stroke-linecap": "round",
|
|
1923
1942
|
"stroke-linejoin": "round",
|
|
1924
1943
|
fill: "none"
|
|
1925
|
-
}, null, 8,
|
|
1926
|
-
L.value.includes(e.id) ?
|
|
1944
|
+
}, null, 8, Ot)),
|
|
1945
|
+
L.value.includes(e.id) ? b("", !0) : (D(), x("path", {
|
|
1927
1946
|
key: 3,
|
|
1928
1947
|
d: `M ${e.dY}`,
|
|
1929
1948
|
stroke: e.color,
|
|
@@ -1931,46 +1950,46 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1931
1950
|
"stroke-linecap": "round",
|
|
1932
1951
|
"stroke-linejoin": "round",
|
|
1933
1952
|
fill: "none"
|
|
1934
|
-
}, null, 8,
|
|
1935
|
-
], 64))), 256))])) :
|
|
1936
|
-
])) :
|
|
1937
|
-
R.value.style.layout.plots.giftWrap.show ? (D(),
|
|
1953
|
+
}, null, 8, kt))
|
|
1954
|
+
], 64))), 256))])) : b("", !0)
|
|
1955
|
+
])) : b("", !0),
|
|
1956
|
+
R.value.style.layout.plots.giftWrap.show ? (D(), x("g", At, [(D(!0), x(_, null, k(K.value, (e, t) => (D(), x("g", null, [e.plots.length > 2 ? (D(), x("polygon", {
|
|
1938
1957
|
key: 0,
|
|
1939
|
-
points: M(
|
|
1940
|
-
fill: M(
|
|
1958
|
+
points: M(m)({ series: e.plots }),
|
|
1959
|
+
fill: M(n)(e.color, R.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
1941
1960
|
"stroke-width": R.value.style.layout.plots.giftWrap.strokeWidth,
|
|
1942
1961
|
"stroke-dasharray": R.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
1943
1962
|
stroke: e.color,
|
|
1944
1963
|
"stroke-linejoin": "round",
|
|
1945
1964
|
"stroke-linecap": "round"
|
|
1946
|
-
}, null, 8,
|
|
1947
|
-
R.value.usePerformanceMode ?
|
|
1948
|
-
key:
|
|
1949
|
-
cx:
|
|
1950
|
-
cy:
|
|
1951
|
-
r: Y.value && Y.value ===
|
|
1952
|
-
fill: M(
|
|
1965
|
+
}, null, 8, jt)) : b("", !0)]))), 256))])) : b("", !0),
|
|
1966
|
+
R.value.usePerformanceMode ? b("", !0) : (D(!0), x(_, { key: 8 }, k(K.value, (e, t) => (D(), x("g", { key: e.id }, [!e.shape || e.shape === "circle" ? (D(), x("g", Mt, [(D(!0), x(_, null, k(e.plots, (r, i) => (D(), x("circle", {
|
|
1967
|
+
key: r.id,
|
|
1968
|
+
cx: r.x,
|
|
1969
|
+
cy: r.y,
|
|
1970
|
+
r: Y.value && Y.value === r.id || Z.value.includes(r.id) ? r.weight * R.value.style.layout.plots.hoverRadiusRatio : r.weight,
|
|
1971
|
+
fill: M(n)(e.color, Y.value && Y.value !== r.id || Z.value.length && !Z.value.includes(r.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : R.value.style.layout.plots.opacity * 100),
|
|
1953
1972
|
stroke: R.value.style.layout.plots.stroke,
|
|
1954
1973
|
"stroke-width": R.value.style.layout.plots.strokeWidth,
|
|
1955
|
-
style: E(`opacity:${Y.value && Y.value ===
|
|
1956
|
-
onMouseover: (e) =>
|
|
1957
|
-
onMouseleave: (e) =>
|
|
1958
|
-
onClick: (e) =>
|
|
1959
|
-
}, null, 44,
|
|
1974
|
+
style: E(`opacity:${Y.value && Y.value === r.id || Z.value.includes(r.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(r.deviation) / Hr.value : R.value.style.layout.plots.significance.show && Math.abs(r.deviation) > R.value.style.layout.plots.significance.deviationThreshold ? R.value.style.layout.plots.significance.opacity : 1}`),
|
|
1975
|
+
onMouseover: (e) => ti(r, t, "pointer", $.value.get(r.id)),
|
|
1976
|
+
onMouseleave: (e) => ni(r, t),
|
|
1977
|
+
onClick: (e) => ri(r, t)
|
|
1978
|
+
}, null, 44, Nt))), 128))])) : (D(), x("g", Pt, [(D(!0), x(_, null, k(e.plots, (r, i) => (D(), y(xe, {
|
|
1960
1979
|
class: "vue-ui-scatter-datapoint",
|
|
1961
1980
|
plot: {
|
|
1962
|
-
x:
|
|
1963
|
-
y:
|
|
1981
|
+
x: r.x,
|
|
1982
|
+
y: r.y
|
|
1964
1983
|
},
|
|
1965
|
-
radius: Y.value && Y.value ===
|
|
1984
|
+
radius: Y.value && Y.value === r.id || Z.value.includes(r.id) ? r.weight * R.value.style.layout.plots.hoverRadiusRatio : r.weight,
|
|
1966
1985
|
shape: e.shape,
|
|
1967
|
-
color: M(
|
|
1986
|
+
color: M(n)(e.color, Y.value && Y.value !== r.id || Z.value.length && !Z.value.includes(r.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : R.value.style.layout.plots.opacity * 100),
|
|
1968
1987
|
stroke: R.value.style.layout.plots.stroke,
|
|
1969
1988
|
strokeWidth: R.value.style.layout.plots.strokeWidth,
|
|
1970
|
-
style: E(`opacity:${Y.value && Y.value ===
|
|
1971
|
-
onMouseover: (e) =>
|
|
1972
|
-
onMouseleave: (e) =>
|
|
1973
|
-
onClick: (e) =>
|
|
1989
|
+
style: E(`opacity:${Y.value && Y.value === r.id || Z.value.includes(r.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(r.deviation) / Hr.value : R.value.style.layout.plots.significance.show && Math.abs(r.deviation) > R.value.style.layout.plots.significance.deviationThreshold ? R.value.style.layout.plots.significance.opacity : 1}`),
|
|
1990
|
+
onMouseover: (e) => ti(r, t, "pointer", $.value.get(r.id)),
|
|
1991
|
+
onMouseleave: (e) => ni(r, t),
|
|
1992
|
+
onClick: (e) => ri(r, t)
|
|
1974
1993
|
}, null, 8, [
|
|
1975
1994
|
"plot",
|
|
1976
1995
|
"radius",
|
|
@@ -1982,19 +2001,19 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
1982
2001
|
"onMouseover",
|
|
1983
2002
|
"onMouseleave",
|
|
1984
2003
|
"onClick"
|
|
1985
|
-
]))), 256))])), R.value.style.layout.plots.name.show ? (D(!0),
|
|
2004
|
+
]))), 256))])), R.value.style.layout.plots.name.show ? (D(!0), x(_, { key: 2 }, k(e.plots, (e, r) => (D(), x("text", {
|
|
1986
2005
|
class: "vue-ui-scatter-datapoint-label",
|
|
1987
2006
|
key: `datalabel-${e.id}`,
|
|
1988
2007
|
transform: `translate(${e.x}, ${e.y - e.weight - R.value.style.layout.plots.name.fontSize + R.value.style.layout.plots.name.offsetY})`,
|
|
1989
2008
|
"text-anchor": "middle",
|
|
1990
2009
|
"font-size": R.value.style.layout.plots.name.fontSize,
|
|
1991
|
-
fill: M(
|
|
1992
|
-
onMouseover: (n) =>
|
|
1993
|
-
onMouseleave: (n) =>
|
|
1994
|
-
onClick: (n) =>
|
|
1995
|
-
}, j(e.clusterName), 41,
|
|
1996
|
-
R.value.usePerformanceMode ? (D(),
|
|
1997
|
-
|
|
2010
|
+
fill: M(n)(R.value.style.layout.plots.name.color, Y.value && Y.value !== e.id || Z.value.length && !Z.value.includes(e.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : 100),
|
|
2011
|
+
onMouseover: (n) => ti(e, t, "pointer", $.value.get(e.id)),
|
|
2012
|
+
onMouseleave: (n) => ni(e, t),
|
|
2013
|
+
onClick: (n) => ri(e, t)
|
|
2014
|
+
}, j(e.clusterName), 41, Ft))), 128)) : b("", !0)]))), 128)),
|
|
2015
|
+
R.value.usePerformanceMode ? (D(), x(_, { key: 9 }, [
|
|
2016
|
+
S("g", { "clip-path": `url(#clip_path_${F.value})` }, [(D(!0), x(_, null, k(Ci.value, (e) => (D(), x("path", {
|
|
1998
2017
|
key: e.id,
|
|
1999
2018
|
d: e.d,
|
|
2000
2019
|
fill: e.fill,
|
|
@@ -2003,15 +2022,15 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2003
2022
|
"stroke-opacity": e.strokeOpacity,
|
|
2004
2023
|
"vector-effect": "non-scaling-stroke",
|
|
2005
2024
|
"paint-order": "fill"
|
|
2006
|
-
}, null, 8,
|
|
2007
|
-
X.value && R.value.style.layout.plots.selectors.show ? (D(),
|
|
2025
|
+
}, null, 8, Lt))), 128))], 8, It),
|
|
2026
|
+
X.value && R.value.style.layout.plots.selectors.show ? (D(), x("g", Rt, [Fe(xe, {
|
|
2008
2027
|
shape: X.value.shape || "circle",
|
|
2009
2028
|
color: X.value.color,
|
|
2010
2029
|
plot: {
|
|
2011
2030
|
x: X.value.x,
|
|
2012
2031
|
y: X.value.y
|
|
2013
2032
|
},
|
|
2014
|
-
radius: Math.max(4 *
|
|
2033
|
+
radius: Math.max(4 * xi[X.value.shape || "circle"], X.value.weight * R.value.style.layout.plots.hoverRadiusRatio),
|
|
2015
2034
|
stroke: R.value.style.layout.plots.stroke,
|
|
2016
2035
|
strokeWidth: R.value.style.layout.plots.strokeWidth
|
|
2017
2036
|
}, null, 8, [
|
|
@@ -2021,20 +2040,20 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2021
2040
|
"radius",
|
|
2022
2041
|
"stroke",
|
|
2023
2042
|
"strokeWidth"
|
|
2024
|
-
])])) :
|
|
2025
|
-
|
|
2043
|
+
])])) : b("", !0),
|
|
2044
|
+
S("rect", {
|
|
2026
2045
|
x: H.value.left,
|
|
2027
2046
|
y: H.value.top,
|
|
2028
2047
|
width: Math.max(1e-4, H.value.width),
|
|
2029
2048
|
height: Math.max(1e-4, H.value.height),
|
|
2030
2049
|
fill: "transparent",
|
|
2031
|
-
onMousemove: t[2] ||= (...e) => M(
|
|
2032
|
-
onMouseleave:
|
|
2033
|
-
onClick:
|
|
2034
|
-
}, null, 40,
|
|
2035
|
-
], 64)) :
|
|
2036
|
-
(D(!0),
|
|
2037
|
-
|
|
2050
|
+
onMousemove: t[2] ||= (...e) => M(Ti) && M(Ti)(...e),
|
|
2051
|
+
onMouseleave: Ei,
|
|
2052
|
+
onClick: Di
|
|
2053
|
+
}, null, 40, zt)
|
|
2054
|
+
], 64)) : b("", !0),
|
|
2055
|
+
(D(!0), x(_, null, k(Qr.value, (e) => (D(), x(_, { key: `selector_${e.id}` }, [R.value.style.layout.plots.selectors.show ? (D(), x("g", Bt, [
|
|
2056
|
+
S("line", {
|
|
2038
2057
|
x1: W.value.x,
|
|
2039
2058
|
x2: e.x,
|
|
2040
2059
|
y1: e.y,
|
|
@@ -2044,8 +2063,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2044
2063
|
"stroke-dasharray": R.value.style.layout.plots.selectors.strokeDasharray,
|
|
2045
2064
|
"stroke-linecap": "round",
|
|
2046
2065
|
class: "line-pointer"
|
|
2047
|
-
}, null, 8,
|
|
2048
|
-
|
|
2066
|
+
}, null, 8, Vt),
|
|
2067
|
+
S("line", {
|
|
2049
2068
|
x1: e.x,
|
|
2050
2069
|
x2: e.x,
|
|
2051
2070
|
y1: W.value.y,
|
|
@@ -2055,8 +2074,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2055
2074
|
"stroke-dasharray": R.value.style.layout.plots.selectors.strokeDasharray,
|
|
2056
2075
|
"stroke-linecap": "round",
|
|
2057
2076
|
class: "line-pointer"
|
|
2058
|
-
}, null, 8,
|
|
2059
|
-
R.value.style.layout.dataLabels.yAxis.scales.show ?
|
|
2077
|
+
}, null, 8, Ht),
|
|
2078
|
+
R.value.style.layout.dataLabels.yAxis.scales.show ? b("", !0) : (D(), x("text", {
|
|
2060
2079
|
key: 0,
|
|
2061
2080
|
x: W.value.x + (e.x > W.value.x ? -6 : 6),
|
|
2062
2081
|
y: e.y + R.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
@@ -2064,13 +2083,13 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2064
2083
|
fill: R.value.style.layout.plots.selectors.labels.color,
|
|
2065
2084
|
"font-weight": R.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
2066
2085
|
"text-anchor": e.x > W.value.x ? "end" : "start"
|
|
2067
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(
|
|
2086
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(h)(e.v.y), M(f)({
|
|
2068
2087
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2069
|
-
v: M(
|
|
2088
|
+
v: M(h)(e.v.y),
|
|
2070
2089
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2071
2090
|
r: R.value.style.layout.plots.selectors.labels.rounding
|
|
2072
|
-
}), { datapoint: e })), 9,
|
|
2073
|
-
R.value.style.layout.dataLabels.xAxis.scales.show ?
|
|
2091
|
+
}), { datapoint: e })), 9, Ut)),
|
|
2092
|
+
R.value.style.layout.dataLabels.xAxis.scales.show ? b("", !0) : (D(), x("text", {
|
|
2074
2093
|
key: 1,
|
|
2075
2094
|
x: e.x,
|
|
2076
2095
|
y: W.value.y + (e.y > W.value.y ? -6 : R.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
@@ -2078,29 +2097,29 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2078
2097
|
fill: R.value.style.layout.plots.selectors.labels.color,
|
|
2079
2098
|
"font-weight": R.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
2080
2099
|
"text-anchor": "middle"
|
|
2081
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(
|
|
2100
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(h)(e.v.x), M(f)({
|
|
2082
2101
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2083
|
-
v: M(
|
|
2102
|
+
v: M(h)(e.v.x),
|
|
2084
2103
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2085
2104
|
r: R.value.style.layout.plots.selectors.labels.rounding
|
|
2086
|
-
}), { datapoint: e })), 9,
|
|
2087
|
-
R.value.style.layout.dataLabels.xAxis.scales.show ? (D(),
|
|
2105
|
+
}), { datapoint: e })), 9, Wt)),
|
|
2106
|
+
R.value.style.layout.dataLabels.xAxis.scales.show ? (D(), x("text", {
|
|
2088
2107
|
key: 2,
|
|
2089
2108
|
x: e.x,
|
|
2090
2109
|
y: W.value.y + R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize + 6 + R.value.style.layout.dataLabels.xAxis.scales.labels.offsetY,
|
|
2091
2110
|
"text-anchor": "middle",
|
|
2092
2111
|
"font-size": R.value.style.layout.dataLabels.xAxis.scales.labels.fontSize,
|
|
2093
2112
|
fill: R.value.style.layout.dataLabels.xAxis.scales.labels.color
|
|
2094
|
-
}, j(
|
|
2095
|
-
R.value.style.layout.dataLabels.yAxis.scales.show ? (D(),
|
|
2113
|
+
}, j($r(e)), 9, Gt)) : b("", !0),
|
|
2114
|
+
R.value.style.layout.dataLabels.yAxis.scales.show ? (D(), x("text", {
|
|
2096
2115
|
key: 3,
|
|
2097
2116
|
x: W.value.x - R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 2 - 8 + R.value.style.layout.dataLabels.yAxis.scales.labels.offsetX,
|
|
2098
2117
|
y: e.y + R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize / 3,
|
|
2099
2118
|
"text-anchor": "end",
|
|
2100
2119
|
"font-size": R.value.style.layout.dataLabels.yAxis.scales.labels.fontSize,
|
|
2101
2120
|
fill: R.value.style.layout.dataLabels.yAxis.scales.labels.color
|
|
2102
|
-
}, j(
|
|
2103
|
-
|
|
2121
|
+
}, j(ei(e)), 9, Kt)) : b("", !0),
|
|
2122
|
+
S("circle", {
|
|
2104
2123
|
cx: W.value.x,
|
|
2105
2124
|
cy: e.y,
|
|
2106
2125
|
r: R.value.style.layout.plots.selectors.markers.radius,
|
|
@@ -2108,8 +2127,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2108
2127
|
stroke: R.value.style.layout.plots.selectors.markers.stroke,
|
|
2109
2128
|
"stroke-width": R.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
2110
2129
|
class: "line-pointer"
|
|
2111
|
-
}, null, 8,
|
|
2112
|
-
|
|
2130
|
+
}, null, 8, qt),
|
|
2131
|
+
S("circle", {
|
|
2113
2132
|
cx: e.x,
|
|
2114
2133
|
cy: W.value.y,
|
|
2115
2134
|
r: R.value.style.layout.plots.selectors.markers.radius,
|
|
@@ -2117,8 +2136,8 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2117
2136
|
stroke: R.value.style.layout.plots.selectors.markers.stroke,
|
|
2118
2137
|
"stroke-width": R.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
2119
2138
|
class: "line-pointer"
|
|
2120
|
-
}, null, 8,
|
|
2121
|
-
R.value.style.layout.plots.selectors.labels.showName && !R.value.style.layout.plots.name.show ? (D(),
|
|
2139
|
+
}, null, 8, Jt),
|
|
2140
|
+
R.value.style.layout.plots.selectors.labels.showName && !R.value.style.layout.plots.name.show ? (D(), x("text", {
|
|
2122
2141
|
key: 4,
|
|
2123
2142
|
x: e.x,
|
|
2124
2143
|
y: e.y + (e.y < W.value.y ? -R.value.style.layout.plots.selectors.labels.fontSize / 2 : R.value.style.layout.plots.selectors.labels.fontSize),
|
|
@@ -2126,91 +2145,91 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2126
2145
|
fill: R.value.style.layout.plots.selectors.labels.color,
|
|
2127
2146
|
"font-weight": R.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
2128
2147
|
"text-anchor": e.x < H.value.left + 100 ? "start" : e.x > H.value.right - 100 ? "end" : e.x > W.value.x ? "start" : "end"
|
|
2129
|
-
}, j(e.v.name), 9,
|
|
2130
|
-
])) :
|
|
2131
|
-
R.value.style.layout.dataLabels.xAxis.show ? (D(),
|
|
2148
|
+
}, j(e.v.name), 9, Yt)) : b("", !0)
|
|
2149
|
+
])) : b("", !0)], 64))), 128)),
|
|
2150
|
+
R.value.style.layout.dataLabels.xAxis.show ? (D(), x("g", {
|
|
2132
2151
|
key: 10,
|
|
2133
2152
|
ref_key: "xAxisLabelLeft",
|
|
2134
|
-
ref:
|
|
2135
|
-
}, [
|
|
2153
|
+
ref: Kn
|
|
2154
|
+
}, [S("text", {
|
|
2136
2155
|
id: `vue-ui-scatter-xAxis-label-${F.value}`,
|
|
2137
2156
|
transform: `translate(${R.value.style.layout.dataLabels.xAxis.fontSize + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.offsetX : R.value.style.layout.dataLabels.xAxis.offsetX)}, ${H.value.top + H.value.height / 2 + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.offsetY : R.value.style.layout.dataLabels.xAxis.offsetY)}), rotate(-90)`,
|
|
2138
2157
|
"text-anchor": "middle",
|
|
2139
2158
|
"font-size": R.value.style.layout.dataLabels.xAxis.fontSize,
|
|
2140
2159
|
"font-weight": R.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
2141
2160
|
fill: R.value.style.layout.dataLabels.xAxis.color
|
|
2142
|
-
}, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.name : R.value.style.layout.dataLabels.xAxis.name), 9,
|
|
2161
|
+
}, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.yAxis.name : R.value.style.layout.dataLabels.xAxis.name), 9, Xt), R.value.style.layout.dataLabels.xAxis.showValue ? (D(), x("text", {
|
|
2143
2162
|
key: 0,
|
|
2144
2163
|
"text-anchor": "middle",
|
|
2145
2164
|
"font-size": R.value.style.layout.dataLabels.xAxis.fontSize,
|
|
2146
2165
|
fill: R.value.style.layout.dataLabels.xAxis.color,
|
|
2147
2166
|
transform: `translate(${R.value.style.layout.dataLabels.xAxis.name ? R.value.style.layout.dataLabels.xAxis.fontSize * 3 : 0}, ${W.value.y + R.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`
|
|
2148
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(
|
|
2167
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(h)(U.value.xMin), M(f)({
|
|
2149
2168
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2150
|
-
v: M(
|
|
2169
|
+
v: M(h)(U.value.xMin),
|
|
2151
2170
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2152
2171
|
r: R.value.style.layout.dataLabels.xAxis.rounding
|
|
2153
|
-
}))), 9,
|
|
2154
|
-
R.value.style.layout.dataLabels.xAxis.show && R.value.style.layout.dataLabels.xAxis.showValue ? (D(),
|
|
2172
|
+
}))), 9, Zt)) : b("", !0)], 512)) : b("", !0),
|
|
2173
|
+
R.value.style.layout.dataLabels.xAxis.show && R.value.style.layout.dataLabels.xAxis.showValue ? (D(), x("text", {
|
|
2155
2174
|
key: 11,
|
|
2156
2175
|
ref_key: "xAxisLabelRight",
|
|
2157
|
-
ref:
|
|
2176
|
+
ref: qn,
|
|
2158
2177
|
"text-anchor": "middle",
|
|
2159
2178
|
transform: `translate(${H.value.right + R.value.style.layout.padding.right + 6}, ${W.value.y + R.value.style.layout.dataLabels.xAxis.fontSize / 3}), rotate(-90)`,
|
|
2160
2179
|
"font-size": R.value.style.layout.dataLabels.xAxis.fontSize,
|
|
2161
2180
|
fill: R.value.style.layout.dataLabels.xAxis.color
|
|
2162
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(
|
|
2181
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(h)(U.value.xMax), M(f)({
|
|
2163
2182
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2164
|
-
v: M(
|
|
2183
|
+
v: M(h)(U.value.xMax),
|
|
2165
2184
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2166
2185
|
r: R.value.style.layout.dataLabels.xAxis.rounding
|
|
2167
|
-
}))), 9,
|
|
2168
|
-
R.value.style.layout.dataLabels.yAxis.show && R.value.style.layout.dataLabels.yAxis.showValue ? (D(),
|
|
2186
|
+
}))), 9, Qt)) : b("", !0),
|
|
2187
|
+
R.value.style.layout.dataLabels.yAxis.show && R.value.style.layout.dataLabels.yAxis.showValue ? (D(), x("text", {
|
|
2169
2188
|
key: 12,
|
|
2170
2189
|
ref_key: "yAxisLabelTop",
|
|
2171
|
-
ref:
|
|
2190
|
+
ref: Jn,
|
|
2172
2191
|
x: W.value.x,
|
|
2173
2192
|
y: H.value.top - R.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2174
2193
|
"text-anchor": "middle",
|
|
2175
2194
|
"font-size": R.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2176
2195
|
fill: R.value.style.layout.dataLabels.yAxis.color
|
|
2177
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(
|
|
2196
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(h)(U.value.yMax), M(f)({
|
|
2178
2197
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2179
|
-
v: M(
|
|
2198
|
+
v: M(h)(U.value.yMax),
|
|
2180
2199
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2181
2200
|
r: R.value.style.layout.dataLabels.yAxis.rounding
|
|
2182
|
-
}))), 9,
|
|
2183
|
-
R.value.style.layout.dataLabels.yAxis.show ? (D(),
|
|
2201
|
+
}))), 9, $t)) : b("", !0),
|
|
2202
|
+
R.value.style.layout.dataLabels.yAxis.show ? (D(), x("g", {
|
|
2184
2203
|
key: 13,
|
|
2185
2204
|
ref_key: "yAxisLabelBottom",
|
|
2186
|
-
ref:
|
|
2187
|
-
}, [R.value.style.layout.dataLabels.yAxis.showValue ? (D(),
|
|
2205
|
+
ref: Yn
|
|
2206
|
+
}, [R.value.style.layout.dataLabels.yAxis.showValue ? (D(), x("text", {
|
|
2188
2207
|
key: 0,
|
|
2189
2208
|
x: W.value.x,
|
|
2190
2209
|
y: V.value.height - R.value.style.layout.dataLabels.yAxis.fontSize * 2,
|
|
2191
2210
|
"text-anchor": "middle",
|
|
2192
2211
|
"font-size": R.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2193
2212
|
fill: R.value.style.layout.dataLabels.yAxis.color
|
|
2194
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(
|
|
2213
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(h)(U.value.yMin), M(f)({
|
|
2195
2214
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2196
|
-
v: M(
|
|
2215
|
+
v: M(h)(U.value.yMin),
|
|
2197
2216
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
2198
2217
|
r: R.value.style.layout.dataLabels.yAxis.rounding
|
|
2199
|
-
}))), 9,
|
|
2218
|
+
}))), 9, en)) : b("", !0), S("text", {
|
|
2200
2219
|
"text-anchor": "middle",
|
|
2201
2220
|
"font-size": R.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2202
2221
|
"font-weight": R.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
|
|
2203
2222
|
fill: R.value.style.layout.dataLabels.yAxis.color,
|
|
2204
2223
|
x: H.value.left + H.value.width / 2 + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.offsetX : R.value.style.layout.dataLabels.yAxis.offsetX),
|
|
2205
2224
|
y: V.value.height + (R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.offsetY : R.value.style.layout.dataLabels.yAxis.offsetY)
|
|
2206
|
-
}, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.name : R.value.style.layout.dataLabels.yAxis.name), 9,
|
|
2207
|
-
|
|
2225
|
+
}, j(R.value.style.layout.dataLabels.reverseAxisLabels ? R.value.style.layout.dataLabels.xAxis.name : R.value.style.layout.dataLabels.yAxis.name), 9, tn)], 512)) : b("", !0),
|
|
2226
|
+
S("clipPath", { id: `clip_path_${F.value}` }, [S("rect", {
|
|
2208
2227
|
x: H.value.left,
|
|
2209
2228
|
y: H.value.top,
|
|
2210
2229
|
width: H.value.width <= 0 ? 1e-4 : H.value.width,
|
|
2211
2230
|
height: H.value.height <= 0 ? 1e-4 : H.value.height
|
|
2212
|
-
}, null, 8,
|
|
2213
|
-
R.value.style.layout.correlation.show ? (D(),
|
|
2231
|
+
}, null, 8, rn)], 8, nn),
|
|
2232
|
+
R.value.style.layout.correlation.show ? (D(), x("g", an, [(D(!0), x(_, null, k(K.value.filter((e) => e.correlation), (e, t) => (D(), x("line", {
|
|
2214
2233
|
x1: e.correlation.x1,
|
|
2215
2234
|
x2: e.correlation.x2,
|
|
2216
2235
|
y1: e.correlation.y1,
|
|
@@ -2219,7 +2238,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2219
2238
|
stroke: e.color,
|
|
2220
2239
|
"stroke-width": R.value.style.layout.correlation.strokeWidth,
|
|
2221
2240
|
"clip-path": `url(#clip_path_${F.value})`
|
|
2222
|
-
}, null, 8,
|
|
2241
|
+
}, null, 8, on))), 256)), (D(!0), x(_, null, k(K.value.filter((e) => e.correlation), (e, t) => (D(), x("g", null, [R.value.style.layout.correlation.label.show ? (D(), x("text", {
|
|
2223
2242
|
key: 0,
|
|
2224
2243
|
x: e.correlation.x2,
|
|
2225
2244
|
y: e.correlation.y2,
|
|
@@ -2227,73 +2246,73 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2227
2246
|
"text-anchor": "end",
|
|
2228
2247
|
"font-size": R.value.style.layout.correlation.label.fontSize,
|
|
2229
2248
|
"font-weight": R.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
2230
|
-
}, j(M(
|
|
2231
|
-
v: M(
|
|
2249
|
+
}, j(M(f)({
|
|
2250
|
+
v: M(h)(e.correlation?.coefficient ?? 0),
|
|
2232
2251
|
r: R.value.style.layout.correlation.label.roundingValue
|
|
2233
|
-
})), 9,
|
|
2252
|
+
})), 9, sn)) : b("", !0)]))), 256))])) : b("", !0),
|
|
2234
2253
|
A(e.$slots, "svg", { svg: {
|
|
2235
2254
|
...V.value,
|
|
2236
2255
|
drawingArea: {
|
|
2237
2256
|
...H.value,
|
|
2238
2257
|
zero: W.value
|
|
2239
2258
|
},
|
|
2240
|
-
data:
|
|
2241
|
-
isPrintingImg: M(
|
|
2242
|
-
isPrintingSvg:
|
|
2259
|
+
data: Vr.value,
|
|
2260
|
+
isPrintingImg: M(vr) || M(yr) || Wn.value,
|
|
2261
|
+
isPrintingSvg: Gn.value
|
|
2243
2262
|
} }, void 0, !0)
|
|
2244
|
-
], 46,
|
|
2263
|
+
], 46, Ze)), e.$slots.hint ? (D(), x("div", cn, [A(e.$slots, "hint", T(w({
|
|
2245
2264
|
hint: R.value.a11y.translations.keyboardNavigation,
|
|
2246
|
-
isVisible:
|
|
2247
|
-
})), void 0, !0)])) :
|
|
2248
|
-
e.$slots.watermark ? (D(),
|
|
2249
|
-
|
|
2250
|
-
|
|
2265
|
+
isVisible: tr.value
|
|
2266
|
+
})), void 0, !0)])) : b("", !0)]),
|
|
2267
|
+
e.$slots.watermark ? (D(), x("div", ln, [A(e.$slots, "watermark", T(w({ isPrinting: M(vr) || M(yr) || Wn.value || Gn.value })), void 0, !0)])) : b("", !0),
|
|
2268
|
+
S("div", { id: `legend-bottom-${F.value}` }, null, 8, un),
|
|
2269
|
+
On.value && zn.value && (R.value.style.legend.show || e.$slots.legend) ? (D(), y(Me, {
|
|
2251
2270
|
key: 7,
|
|
2252
2271
|
to: R.value.style.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
|
|
2253
|
-
}, [
|
|
2272
|
+
}, [S("div", {
|
|
2254
2273
|
ref_key: "chartLegend",
|
|
2255
|
-
ref:
|
|
2256
|
-
}, [A(e.$slots, "legend", { legend: G.value }, () => [R.value.style.legend.show ? (D(),
|
|
2257
|
-
key: `legend_${
|
|
2274
|
+
ref: Nn
|
|
2275
|
+
}, [A(e.$slots, "legend", { legend: G.value }, () => [R.value.style.legend.show ? (D(), y(Ae, {
|
|
2276
|
+
key: `legend_${Rn.value}`,
|
|
2258
2277
|
legendSet: G.value,
|
|
2259
|
-
config:
|
|
2260
|
-
isCursorPointer:
|
|
2261
|
-
onClickMarker: t[3] ||= ({ legend: e }) =>
|
|
2278
|
+
config: Br.value,
|
|
2279
|
+
isCursorPointer: ir.value,
|
|
2280
|
+
onClickMarker: t[3] ||= ({ legend: e }) => ai(e.id)
|
|
2262
2281
|
}, {
|
|
2263
|
-
item: N(({ legend: e }) => [
|
|
2282
|
+
item: N(({ legend: e }) => [S("div", {
|
|
2264
2283
|
onClick: (t) => e.segregate(),
|
|
2265
2284
|
style: E(`opacity:${L.value.includes(e.id) ? .5 : 1}`)
|
|
2266
|
-
}, j(e.name), 13,
|
|
2267
|
-
legendToggle: N(() => [G.value.length > 2 && R.value.style.legend.selectAllToggle.show && !M(
|
|
2285
|
+
}, j(e.name), 13, dn)]),
|
|
2286
|
+
legendToggle: N(() => [G.value.length > 2 && R.value.style.legend.selectAllToggle.show && !M(sr) ? (D(), y(Ee, {
|
|
2268
2287
|
key: 0,
|
|
2269
2288
|
backgroundColor: R.value.style.legend.selectAllToggle.backgroundColor,
|
|
2270
2289
|
color: R.value.style.legend.selectAllToggle.color,
|
|
2271
2290
|
fontSize: R.value.style.legend.fontSize,
|
|
2272
2291
|
checked: L.value.length > 0,
|
|
2273
|
-
isCursorPointer:
|
|
2274
|
-
onToggle:
|
|
2292
|
+
isCursorPointer: ir.value,
|
|
2293
|
+
onToggle: ii
|
|
2275
2294
|
}, null, 8, [
|
|
2276
2295
|
"backgroundColor",
|
|
2277
2296
|
"color",
|
|
2278
2297
|
"fontSize",
|
|
2279
2298
|
"checked",
|
|
2280
2299
|
"isCursorPointer"
|
|
2281
|
-
])) :
|
|
2300
|
+
])) : b("", !0)]),
|
|
2282
2301
|
_: 1
|
|
2283
2302
|
}, 8, [
|
|
2284
2303
|
"legendSet",
|
|
2285
2304
|
"config",
|
|
2286
2305
|
"isCursorPointer"
|
|
2287
|
-
])) :
|
|
2288
|
-
e.$slots.source ? (D(),
|
|
2306
|
+
])) : b("", !0)], !0)], 512)], 8, ["to"])) : b("", !0),
|
|
2307
|
+
e.$slots.source ? (D(), x("div", {
|
|
2289
2308
|
key: 8,
|
|
2290
2309
|
ref_key: "source",
|
|
2291
|
-
ref:
|
|
2310
|
+
ref: Pn,
|
|
2292
2311
|
dir: "auto"
|
|
2293
|
-
}, [A(e.$slots, "source", {}, void 0, !0)], 512)) :
|
|
2294
|
-
|
|
2312
|
+
}, [A(e.$slots, "source", {}, void 0, !0)], 512)) : b("", !0),
|
|
2313
|
+
Fe(M(gn), {
|
|
2295
2314
|
teleportTo: R.value.style.tooltip.teleportTo,
|
|
2296
|
-
show: B.value.showTooltip &&
|
|
2315
|
+
show: B.value.showTooltip && kn.value,
|
|
2297
2316
|
backgroundColor: R.value.style.tooltip.backgroundColor,
|
|
2298
2317
|
color: R.value.style.tooltip.color,
|
|
2299
2318
|
borderRadius: R.value.style.tooltip.borderRadius,
|
|
@@ -2305,20 +2324,20 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2305
2324
|
offsetX: R.value.style.tooltip.offsetX,
|
|
2306
2325
|
offsetY: R.value.style.tooltip.offsetY,
|
|
2307
2326
|
parent: I.value,
|
|
2308
|
-
content:
|
|
2309
|
-
isFullscreen:
|
|
2327
|
+
content: An.value,
|
|
2328
|
+
isFullscreen: di.value,
|
|
2310
2329
|
isCustom: R.value.style.tooltip.customFormat && typeof R.value.style.tooltip.customFormat == "function",
|
|
2311
2330
|
smooth: R.value.style.tooltip.smooth,
|
|
2312
2331
|
backdropFilter: R.value.style.tooltip.backdropFilter,
|
|
2313
2332
|
smoothForce: R.value.style.tooltip.smoothForce,
|
|
2314
2333
|
smoothSnapThreshold: R.value.style.tooltip.smoothSnapThreshold,
|
|
2315
|
-
isA11yMode:
|
|
2316
|
-
a11yPosition:
|
|
2334
|
+
isA11yMode: er.value === "keyboard",
|
|
2335
|
+
a11yPosition: $n.value
|
|
2317
2336
|
}, {
|
|
2318
|
-
"tooltip-before": N(() => [A(e.$slots, "tooltip-before", T(w({ ...
|
|
2319
|
-
tooltip: N(() => [A(e.$slots, "tooltip", T(w({ ...
|
|
2320
|
-
"tooltip-after": N(() => [A(e.$slots, "tooltip-after", T(w({ ...
|
|
2321
|
-
default: N(() => [R.value.style.tooltip.showShape ? (D(),
|
|
2337
|
+
"tooltip-before": N(() => [A(e.$slots, "tooltip-before", T(w({ ...Kr.value })), void 0, !0)]),
|
|
2338
|
+
tooltip: N(() => [A(e.$slots, "tooltip", T(w({ ...Kr.value })), void 0, !0)]),
|
|
2339
|
+
"tooltip-after": N(() => [A(e.$slots, "tooltip-after", T(w({ ...Kr.value })), void 0, !0)]),
|
|
2340
|
+
default: N(() => [R.value.style.tooltip.showShape ? (D(), x("div", fn, [(D(), x("svg", pn, [Fe(xe, {
|
|
2322
2341
|
shape: X.value.shape,
|
|
2323
2342
|
color: X.value.color,
|
|
2324
2343
|
plot: {
|
|
@@ -2326,7 +2345,7 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2326
2345
|
y: 10
|
|
2327
2346
|
},
|
|
2328
2347
|
radius: 7
|
|
2329
|
-
}, null, 8, ["shape", "color"])]))])) :
|
|
2348
|
+
}, null, 8, ["shape", "color"])]))])) : b("", !0)]),
|
|
2330
2349
|
_: 3
|
|
2331
2350
|
}, 8, [
|
|
2332
2351
|
"teleportTo",
|
|
@@ -2352,27 +2371,27 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2352
2371
|
"isA11yMode",
|
|
2353
2372
|
"a11yPosition"
|
|
2354
2373
|
]),
|
|
2355
|
-
|
|
2374
|
+
On.value && R.value.userOptions.buttons.table ? (D(), y(Ve(Oi.value.component), Ie({ key: 9 }, Oi.value.props, {
|
|
2356
2375
|
ref_key: "tableUnit",
|
|
2357
|
-
ref:
|
|
2358
|
-
onClose:
|
|
2359
|
-
}),
|
|
2360
|
-
content: N(() => [(D(),
|
|
2361
|
-
key: `table_${
|
|
2362
|
-
colNames:
|
|
2363
|
-
head:
|
|
2364
|
-
body:
|
|
2365
|
-
config:
|
|
2366
|
-
title: R.value.table.useDialog ? "" :
|
|
2376
|
+
ref: Hn,
|
|
2377
|
+
onClose: ki
|
|
2378
|
+
}), Ne({
|
|
2379
|
+
content: N(() => [(D(), y(M(yn), {
|
|
2380
|
+
key: `table_${Ln.value}`,
|
|
2381
|
+
colNames: ui.value.colNames,
|
|
2382
|
+
head: ui.value.head,
|
|
2383
|
+
body: ui.value.body,
|
|
2384
|
+
config: ui.value.config,
|
|
2385
|
+
title: R.value.table.useDialog ? "" : Oi.value.title,
|
|
2367
2386
|
withCloseButton: !R.value.table.useDialog,
|
|
2368
|
-
isCursorPointer:
|
|
2369
|
-
onClose:
|
|
2387
|
+
isCursorPointer: ir.value,
|
|
2388
|
+
onClose: ki
|
|
2370
2389
|
}, {
|
|
2371
|
-
th: N(({ th: e }) => [
|
|
2372
|
-
td: N(({ td: e }) => [e.shape ? (D(),
|
|
2390
|
+
th: N(({ th: e }) => [Pe(j(e), 1)]),
|
|
2391
|
+
td: N(({ td: e }) => [e.shape ? (D(), x("div", mn, [S("span", null, j(e.content), 1)])) : (D(), x("div", {
|
|
2373
2392
|
key: 1,
|
|
2374
2393
|
innerHTML: e
|
|
2375
|
-
}, null, 8,
|
|
2394
|
+
}, null, 8, hn))]),
|
|
2376
2395
|
_: 1
|
|
2377
2396
|
}, 8, [
|
|
2378
2397
|
"colNames",
|
|
@@ -2386,24 +2405,24 @@ var Ue = /* @__PURE__ */ e({ default: () => mn }), We = ["id"], Ge = ["id"], Ke
|
|
|
2386
2405
|
_: 2
|
|
2387
2406
|
}, [R.value.table.useDialog ? {
|
|
2388
2407
|
name: "title",
|
|
2389
|
-
fn: N(() => [
|
|
2408
|
+
fn: N(() => [Pe(j(Oi.value.title), 1)]),
|
|
2390
2409
|
key: "0"
|
|
2391
2410
|
} : void 0, R.value.table.useDialog ? {
|
|
2392
2411
|
name: "actions",
|
|
2393
|
-
fn: N(() => [
|
|
2412
|
+
fn: N(() => [S("button", {
|
|
2394
2413
|
tabindex: "0",
|
|
2395
2414
|
class: "vue-ui-user-options-button",
|
|
2396
|
-
onClick: t[4] ||= (e) =>
|
|
2397
|
-
style: E({ cursor:
|
|
2398
|
-
}, [
|
|
2415
|
+
onClick: t[4] ||= (e) => li(R.value.userOptions.callbacks.csv),
|
|
2416
|
+
style: E({ cursor: ir.value ? "pointer" : "default" })
|
|
2417
|
+
}, [Fe(M(_n), {
|
|
2399
2418
|
name: "fileCsv",
|
|
2400
|
-
stroke:
|
|
2419
|
+
stroke: Oi.value.props.color
|
|
2401
2420
|
}, null, 8, ["stroke"])], 4)]),
|
|
2402
2421
|
key: "1"
|
|
2403
|
-
} : void 0]), 1040)) :
|
|
2404
|
-
A(e.$slots, "skeleton", {}, () => [M(
|
|
2405
|
-
], 46,
|
|
2422
|
+
} : void 0]), 1040)) : b("", !0),
|
|
2423
|
+
A(e.$slots, "skeleton", {}, () => [M(sr) ? (D(), y(me, { key: 0 })) : b("", !0)], !0)
|
|
2424
|
+
], 46, Ke));
|
|
2406
2425
|
}
|
|
2407
|
-
}, [["__scopeId", "data-v-
|
|
2426
|
+
}, [["__scopeId", "data-v-573510da"]]);
|
|
2408
2427
|
//#endregion
|
|
2409
|
-
export {
|
|
2428
|
+
export { Ge as n, gn as t };
|