vue-data-ui 3.22.0 → 3.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
- package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
- package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
- package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
- package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
- package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
- package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
- package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
- package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-Dx81ZIAL.js} +1 -1
- package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
- package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
- package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
- package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
- package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
- package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
- package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
- package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
- package/dist/exposedLib-CffbQxjN.js +19 -0
- package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
- package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
- package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
- package/dist/{package-0oRlvBuX.js → package-CILLITOI.js} +1 -1
- package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
- package/dist/{render-common-DSiH7qj-.js → render-common-bMAFQ_qf.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +7 -10
- package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
- package/dist/{useConfig-Br1uzq_L.js → useConfig-Bf_EBbe3.js} +4 -1
- package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
- package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-Byts-nf-.js} +1 -1
- package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DD-txoS1.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +1757 -0
- package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Di_givzQ.js} +4 -4
- package/dist/vue-ui-age-pyramid-CTwMfsqS.js +1238 -0
- package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-tRkLFMQ9.js} +60 -60
- package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-9gtGJaGb.js} +23 -23
- package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-BJ5O8Mps.js} +400 -400
- package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-CJ_VVYbJ.js} +50 -50
- package/dist/vue-ui-carousel-table-8s8BSy-K.js +455 -0
- package/dist/vue-ui-chestnut-D3-ck2h2.js +2010 -0
- package/dist/vue-ui-chord-1BitQtEw.js +1391 -0
- package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DVMhDFKU.js} +44 -44
- package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-D7yh10hX.js} +61 -61
- package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag--LFEAAf_.js} +18 -18
- package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-COeO878g.js} +70 -70
- package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-C50FVr7C.js} +4 -4
- package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-BzKXqQA2.js} +160 -160
- package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-NHjQzFO5.js} +474 -474
- package/dist/vue-ui-donut-evolution-lPkwit2C.js +1510 -0
- package/dist/vue-ui-dumbbell-hlEfvbbf.js +1530 -0
- package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-Bg_OSszc.js} +43 -43
- package/dist/vue-ui-funnel-B_bK0jJB.js +777 -0
- package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-WVCUzcYc.js} +301 -301
- package/dist/vue-ui-gauge-Cqeko0wA.js +920 -0
- package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-DtzXRvmx.js} +22 -22
- package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-hIFd7qck.js} +4 -4
- package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-yPlwc3l_.js} +95 -95
- package/dist/vue-ui-history-plot-BGmcDg2w.js +1554 -0
- package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-CJciNHpT.js} +264 -264
- package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DmSe1QGb.js} +4 -4
- package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-CqxI6DwN.js} +3 -3
- package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-w-94Uktn.js} +181 -181
- package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-B3OGWGHR.js} +29 -29
- package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-Dv_yE5EV.js} +211 -211
- package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-BQbI0Vxd.js} +34 -34
- package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-ColST3Jj.js} +40 -40
- package/dist/vue-ui-quadrant-BB7qdXK0.js +1978 -0
- package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-CGDeo3Fx.js} +358 -358
- package/dist/vue-ui-radar-DqDn14DL.js +1281 -0
- package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-ChDwpol2.js} +34 -34
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +924 -0
- package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-Cq8z57xB.js} +219 -219
- package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-Ds-sgNPK.js} +36 -36
- package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-BgOVUzQ3.js} +75 -75
- package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DJ5KAbfV.js} +42 -42
- package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-fFrNX-Gl.js} +17 -17
- package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-D6OBWxmg.js} +92 -92
- package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-CtCP8O44.js} +78 -78
- package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-CZDkyViI.js} +38 -38
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +560 -0
- package/dist/vue-ui-sparkline-CJKE7Xcl.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BSV0M-2u.js} +162 -162
- package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-pnlYCnTj.js} +67 -67
- package/dist/vue-ui-stackline-DS_MPmc1.js +2398 -0
- package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot-DSKOrJZX.js} +49 -49
- package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-c1FPEwLM.js} +87 -87
- package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-CMQJXnP8.js} +17 -17
- package/dist/vue-ui-table-sparkline-CAS9Pk60.js +712 -0
- package/dist/vue-ui-thermometer-w3eeJv9s.js +763 -0
- package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-CSP48eS-.js} +6 -6
- package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-DJvXj1P3.js} +19 -19
- package/dist/vue-ui-treemap-BaOMXTR1.js +1587 -0
- package/dist/vue-ui-waffle-Bo22Ph8n.js +1362 -0
- package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-CbL52G-w.js} +51 -51
- package/dist/vue-ui-word-cloud-BqOCyp7c.js +1723 -0
- package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-BkjzCcVh.js} +445 -445
- package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CVDNhnDY.js} +162 -162
- package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DuwLRfr4.js} +537 -534
- package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CXqGVMeQ.js} +65 -65
- package/package.json +2 -2
- package/dist/exposedLib-BJbE_A8E.js +0 -19
- package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
- package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
- package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
- package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
- package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
- package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
- package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
- package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
- package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
- package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
- package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
- package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
- package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
- package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
- package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
- package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
- package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
- package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
- package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
- package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
- package/dist/vue-ui-word-cloud-BqsUdsCY.js +0 -1656
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { A as t, Bt as n,
|
|
3
|
-
import { t as ce } from "./useConfig-
|
|
4
|
-
import { t as le } from "./usePrinter-
|
|
2
|
+
import { A as t, Bt as n, Et as r, Ft as i, G as a, H as o, J as s, S as c, Ut as l, Vt as u, X as d, bt as f, ct as p, ft as m, g as ee, gt as h, h as te, i as g, it as ne, k as re, kt as ie, t as ae, v as _, x as oe, y as se } from "./lib-CXicicWN.js";
|
|
3
|
+
import { t as ce } from "./useConfig-Bf_EBbe3.js";
|
|
4
|
+
import { t as le } from "./usePrinter-Dng0UK-G.js";
|
|
5
5
|
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as fe } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as pe } from "./useNestedProp-
|
|
7
|
+
import { t as pe } from "./useNestedProp-APyFoLCQ.js";
|
|
8
8
|
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as he } from "./img-
|
|
10
|
-
import { n as ge } from "./Title-
|
|
11
|
-
import { t as _e } from "./Shape-
|
|
9
|
+
import { t as he } from "./img-BCAOkqfM.js";
|
|
10
|
+
import { n as ge } from "./Title-CVYf1f8m.js";
|
|
11
|
+
import { t as _e } from "./Shape-C5OvuwII.js";
|
|
12
12
|
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as ye } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as be } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as xe } from "./BaseLegendToggle-
|
|
15
|
+
import { t as xe } from "./BaseLegendToggle-B-lM0iV1.js";
|
|
16
16
|
import { t as Se } from "./A11yDataTable-DdRsVULz.js";
|
|
17
17
|
import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as we } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as Te } from "./Legend-
|
|
19
|
+
import { t as Te } from "./Legend-BVDhEEsC.js";
|
|
20
20
|
import { t as Ee } from "./vue_ui_scatter-I0POnicu.js";
|
|
21
21
|
import { Fragment as v, Teleport as De, computed as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createSlots as Oe, createTextVNode as ke, createVNode as Ae, defineAsyncComponent as je, guardReactiveProps as w, mergeProps as Me, nextTick as Ne, normalizeClass as Pe, normalizeProps as T, normalizeStyle as E, onBeforeUnmount as Fe, onMounted as Ie, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as j, toRefs as ze, unref as M, watch as Be, withCtx as N } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-scatter.vue
|
|
@@ -385,7 +385,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
385
385
|
},
|
|
386
386
|
emits: ["copyAlt", "selectLegend"],
|
|
387
387
|
setup(e, { expose: ve, emit: Ve }) {
|
|
388
|
-
let vn = je(() => import("./Tooltip-
|
|
388
|
+
let vn = je(() => import("./Tooltip-BmGCBJuU.js")), yn = je(() => import("./BaseIcon-DEtwcvEH.js").then((e) => e.n)), bn = je(() => import("./vue-ui-accordion-Di_givzQ.js").then((e) => e.n)), xn = je(() => import("./DataTable-DJZgdnIn.js")), Sn = je(() => import("./PenAndPaper-DJIIG6dv.js").then((e) => e.t)), Cn = je(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), wn = je(() => import("./PackageVersion-Dx81ZIAL.js").then((e) => e.t)), Tn = je(() => import("./BaseDraggableDialog-a9xCKjW-.js").then((e) => e.n)), { vue_ui_scatter: En } = ce(), { isThemeValid: Dn, warnInvalidTheme: On } = me(), P = e, kn = Ve, An = y(() => !!P.dataset && P.dataset.length), F = O(o()), jn = O(!1), Mn = O(""), Nn = O(0), I = O(null), Pn = O(null), Fn = O(null), In = O(null), Ln = O(null), Rn = O(0), zn = O(0), Bn = O(0), L = O([]), Vn = O(!1), Hn = O(null), Un = O(null), Wn = O(null), Gn = O(null), Kn = O(!1), qn = O(!1), Jn = O(null), Yn = O(null), Xn = O(null), Zn = O(null), Qn = O(null), $n = O(null), er = O(null), tr = O({
|
|
389
389
|
x: 0,
|
|
390
390
|
y: 0
|
|
391
391
|
}), nr = O("pointer"), rr = O(!1), ir = O(null), R = O(mr()), ar = y(() => R.value.userOptions.useCursorPointer);
|
|
@@ -397,7 +397,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
397
397
|
return Math.sqrt(-2 * Math.log(e)) * Math.cos(2 * Math.PI * t);
|
|
398
398
|
}, 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, ee = m(f), h = m(p);
|
|
399
399
|
for (let e = 0; e < d; e += 1) f[e] -= ee, p[e] -= h;
|
|
400
|
-
let
|
|
400
|
+
let te = (e, t) => e.reduce((e, n, r) => e + n * t[r], 0), g = (e) => te(e, e), ne = te(p, f) / g(f), re = p.map((e, t) => e - ne * f[t]), ie = g(f) / d, ae = g(re) / d, _ = Math.sqrt((1 - t * t) * ie / ae), oe = f.map((e, n) => t * e + _ * re[n]), se = f.concat(f.map((e) => -e)), ce = oe.concat(oe.map((e) => -e)), le = (e) => Math.sqrt(g(e) / e.length), ue = (e, t, n) => {
|
|
401
401
|
let r = le(e);
|
|
402
402
|
return e.map((e) => n + (r ? e / r * t : 0));
|
|
403
403
|
}, de = ue(se, i, r), fe = ue(ce, o, a);
|
|
@@ -410,7 +410,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
410
410
|
y: fe[t]
|
|
411
411
|
}));
|
|
412
412
|
}
|
|
413
|
-
let sr = y(() =>
|
|
413
|
+
let sr = y(() => l({
|
|
414
414
|
defaultConfig: {
|
|
415
415
|
userOptions: { show: !1 },
|
|
416
416
|
table: { show: !1 },
|
|
@@ -446,7 +446,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
446
446
|
color: "#999999",
|
|
447
447
|
values: or(100, .5, { seed: 42 })
|
|
448
448
|
}],
|
|
449
|
-
skeletonConfig:
|
|
449
|
+
skeletonConfig: l({
|
|
450
450
|
defaultConfig: R.value,
|
|
451
451
|
userConfig: sr.value
|
|
452
452
|
})
|
|
@@ -458,16 +458,16 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
458
458
|
}), t = e.theme;
|
|
459
459
|
if (!t) return e;
|
|
460
460
|
if (!Dn.value(e)) return On(e), e;
|
|
461
|
-
let
|
|
461
|
+
let n = pe({
|
|
462
462
|
userConfig: Ee[t] || P.config,
|
|
463
463
|
defaultConfig: e
|
|
464
|
-
}),
|
|
464
|
+
}), r = pe({
|
|
465
465
|
userConfig: P.config,
|
|
466
|
-
defaultConfig:
|
|
466
|
+
defaultConfig: n
|
|
467
467
|
});
|
|
468
468
|
return {
|
|
469
|
-
...
|
|
470
|
-
customPalette:
|
|
469
|
+
...r,
|
|
470
|
+
customPalette: r.customPalette.length ? r.customPalette : u[t] || ie
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
473
|
Be(() => P.config, (e) => {
|
|
@@ -481,11 +481,11 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
481
481
|
});
|
|
482
482
|
let _r = y(() => !!R.value.debug);
|
|
483
483
|
function vr() {
|
|
484
|
-
if (
|
|
484
|
+
if (r(P.dataset) && (d({
|
|
485
485
|
componentName: "VueUiScatter",
|
|
486
486
|
type: "dataset",
|
|
487
487
|
debug: _r.value
|
|
488
|
-
}), ur.value = !0),
|
|
488
|
+
}), ur.value = !0), r(P.dataset) || (ur.value = R.value.loading), R.value.responsive) {
|
|
489
489
|
let e = ye(() => {
|
|
490
490
|
let { width: e, height: t } = be({
|
|
491
491
|
chart: I.value,
|
|
@@ -508,7 +508,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
508
508
|
elementId: `vue-ui-scatter_${F.value}`,
|
|
509
509
|
fileName: R.value.style.title.text || "vue-ui-scatter",
|
|
510
510
|
options: R.value.userOptions.print
|
|
511
|
-
}), Cr = y(() => R.value.userOptions.show && !R.value.style.title.text), wr = y(() =>
|
|
511
|
+
}), Cr = y(() => R.value.userOptions.show && !R.value.style.title.text), wr = y(() => oe(R.value.customPalette)), B = O({
|
|
512
512
|
showTable: R.value.table.show,
|
|
513
513
|
showTooltip: R.value.style.tooltip.show
|
|
514
514
|
});
|
|
@@ -576,7 +576,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
576
576
|
};
|
|
577
577
|
}), Or = y(() => {
|
|
578
578
|
lr.value.forEach((e, t) => {
|
|
579
|
-
|
|
579
|
+
p({
|
|
580
580
|
datasetObject: e,
|
|
581
581
|
requiredAttributes: ["values"]
|
|
582
582
|
}).forEach((e) => {
|
|
@@ -587,7 +587,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
587
587
|
index: t
|
|
588
588
|
});
|
|
589
589
|
}), e.values && e.values.forEach((e, n) => {
|
|
590
|
-
|
|
590
|
+
p({
|
|
591
591
|
datasetObject: e,
|
|
592
592
|
requiredAttributes: ["x", "y"]
|
|
593
593
|
}).forEach((e) => {
|
|
@@ -626,9 +626,9 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
626
626
|
let i = Ar(n);
|
|
627
627
|
if (e === t) {
|
|
628
628
|
let n = t + (e === 0 ? 1 : Math.abs(e) * .01);
|
|
629
|
-
return (r ?
|
|
629
|
+
return (r ? te : ee)(e, n, i);
|
|
630
630
|
}
|
|
631
|
-
return (r ?
|
|
631
|
+
return (r ? te : ee)(e, t, i);
|
|
632
632
|
}
|
|
633
633
|
let Nr = y(() => {
|
|
634
634
|
let e = R.value.style.layout.dataLabels.xAxis;
|
|
@@ -656,7 +656,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
656
656
|
return Nr.value.ticks.map((n) => ({
|
|
657
657
|
value: n,
|
|
658
658
|
x: zr(n),
|
|
659
|
-
label: g(t.formatter, _(n),
|
|
659
|
+
label: g(t.formatter, _(n), a({
|
|
660
660
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
661
661
|
v: _(n),
|
|
662
662
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -668,7 +668,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
668
668
|
return Pr.value.ticks.map((n) => ({
|
|
669
669
|
value: n,
|
|
670
670
|
y: Br(n),
|
|
671
|
-
label: g(t.formatter, _(n),
|
|
671
|
+
label: g(t.formatter, _(n), a({
|
|
672
672
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
673
673
|
v: _(n),
|
|
674
674
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -694,12 +694,12 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
694
694
|
let n = `cluster_${F.value}_${t}`;
|
|
695
695
|
return {
|
|
696
696
|
...e,
|
|
697
|
-
values:
|
|
697
|
+
values: f({
|
|
698
698
|
data: e.values,
|
|
699
699
|
threshold: R.value.usePerformanceMode ? e.values.length + 1 : R.value.downsample.threshold
|
|
700
700
|
}),
|
|
701
701
|
id: n,
|
|
702
|
-
color: e.color ? e.color : wr.value[t] ||
|
|
702
|
+
color: e.color ? e.color : wr.value[t] || ie[t] || ie[t % ie.length],
|
|
703
703
|
opacity: L.value.includes(n) ? .5 : 1,
|
|
704
704
|
shape: e.shape ?? "circle",
|
|
705
705
|
segregate: () => oi(n),
|
|
@@ -727,7 +727,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
727
727
|
},
|
|
728
728
|
clusterName: e.name,
|
|
729
729
|
clusterId: e.id,
|
|
730
|
-
color: e.color ? e.color : wr.value[t] ||
|
|
730
|
+
color: e.color ? e.color : wr.value[t] || ie[t] || ie[t % ie.length],
|
|
731
731
|
id: `plot_${F.value}_${t}_${r}`,
|
|
732
732
|
weight: n.weight ?? R.value.style.layout.plots.radius
|
|
733
733
|
}))
|
|
@@ -793,21 +793,21 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
793
793
|
...e,
|
|
794
794
|
deviation: 0,
|
|
795
795
|
shape: n.shape,
|
|
796
|
-
color:
|
|
796
|
+
color: se(n.color)
|
|
797
797
|
}))
|
|
798
798
|
};
|
|
799
|
-
let
|
|
799
|
+
let te = {
|
|
800
800
|
x: (h.x1 + h.x2) / 2,
|
|
801
801
|
y: (h.y1 + h.y2) / 2
|
|
802
802
|
};
|
|
803
803
|
return {
|
|
804
804
|
...n,
|
|
805
|
-
color:
|
|
805
|
+
color: se(n.color),
|
|
806
806
|
correlation: {
|
|
807
807
|
...h,
|
|
808
808
|
coefficient: ee
|
|
809
809
|
},
|
|
810
|
-
label:
|
|
810
|
+
label: te,
|
|
811
811
|
plots: n.plots.map((t) => {
|
|
812
812
|
let r, i;
|
|
813
813
|
d === null ? Math.abs(f) < e ? (r = t.x, i = p) : (r = (t.x + f * t.y - f * p) / (1 + f * f), i = (f * t.x + f * f * t.y + p) / (1 + f * f)) : (r = d, i = t.y);
|
|
@@ -816,7 +816,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
816
816
|
...t,
|
|
817
817
|
deviation: s,
|
|
818
818
|
shape: n.shape,
|
|
819
|
-
color:
|
|
819
|
+
color: se(n.color)
|
|
820
820
|
};
|
|
821
821
|
})
|
|
822
822
|
};
|
|
@@ -858,7 +858,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
858
858
|
let i = Gr(r, q.value);
|
|
859
859
|
return {
|
|
860
860
|
coords: i,
|
|
861
|
-
dX:
|
|
861
|
+
dX: re(i.avgX.map((t, n) => ({
|
|
862
862
|
x: t,
|
|
863
863
|
y: e - i.x[n] / i.maxX * R.value.style.layout.marginalBars.size
|
|
864
864
|
}))),
|
|
@@ -887,13 +887,13 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
887
887
|
}
|
|
888
888
|
function Qr(e) {
|
|
889
889
|
if (!z.value || !e) return;
|
|
890
|
-
let t =
|
|
890
|
+
let t = n(e.x, e.y, z.value);
|
|
891
891
|
t && (tr.value = t);
|
|
892
892
|
}
|
|
893
893
|
let $r = y(() => X.value ? [X.value] : Z.value.length ? K.value.flatMap((e) => e.plots).filter((e) => Z.value.includes(e.id)) : []);
|
|
894
894
|
function ei(e) {
|
|
895
895
|
let t = R.value.style.layout.dataLabels.xAxis, n = t.scales.labels;
|
|
896
|
-
return g(n.formatter, _(e.v.x),
|
|
896
|
+
return g(n.formatter, _(e.v.x), a({
|
|
897
897
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
898
898
|
v: _(e.v.x),
|
|
899
899
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -902,16 +902,16 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
902
902
|
}
|
|
903
903
|
function ti(e) {
|
|
904
904
|
let t = R.value.style.layout.dataLabels.yAxis, n = t.scales.labels;
|
|
905
|
-
return g(n.formatter, _(e.v.y),
|
|
905
|
+
return g(n.formatter, _(e.v.y), a({
|
|
906
906
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
907
907
|
v: _(e.v.y),
|
|
908
908
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
909
909
|
r: jr(t)
|
|
910
910
|
}), { datapoint: e });
|
|
911
911
|
}
|
|
912
|
-
function ni(e, t, n = "pointer",
|
|
913
|
-
Y.value = e.id, X.value = e, nr.value = n, ir.value =
|
|
914
|
-
let
|
|
912
|
+
function ni(e, t, n = "pointer", r = null) {
|
|
913
|
+
Y.value = e.id, X.value = e, nr.value = n, ir.value = r, er.value = e.id;
|
|
914
|
+
let i = "";
|
|
915
915
|
R.value.events.datapointEnter && R.value.events.datapointEnter({
|
|
916
916
|
datapoint: e,
|
|
917
917
|
seriesIndex: t
|
|
@@ -922,7 +922,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
922
922
|
config: R.value
|
|
923
923
|
};
|
|
924
924
|
let o = R.value.style.tooltip.customFormat;
|
|
925
|
-
h(o) &&
|
|
925
|
+
h(o) && ne(() => o({
|
|
926
926
|
datapoint: e,
|
|
927
927
|
seriesIndex: t,
|
|
928
928
|
series: K.value,
|
|
@@ -932,7 +932,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
932
932
|
seriesIndex: t,
|
|
933
933
|
series: K.value,
|
|
934
934
|
config: R.value
|
|
935
|
-
}) : (e.clusterName && (
|
|
935
|
+
}) : (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, a({
|
|
936
936
|
p: R.value.style.tooltip.prefix,
|
|
937
937
|
v: e.v.x,
|
|
938
938
|
s: R.value.style.tooltip.suffix,
|
|
@@ -940,7 +940,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
940
940
|
}), {
|
|
941
941
|
datapoint: e,
|
|
942
942
|
seriesIndex: t
|
|
943
|
-
})}</b></div>`,
|
|
943
|
+
})}</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, a({
|
|
944
944
|
p: R.value.style.tooltip.prefix,
|
|
945
945
|
v: e.v.y,
|
|
946
946
|
s: R.value.style.tooltip.suffix,
|
|
@@ -948,10 +948,10 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
948
948
|
}), {
|
|
949
949
|
datapoint: e,
|
|
950
950
|
seriesIndex: t
|
|
951
|
-
})}</b></div>`,
|
|
951
|
+
})}</b></div>`, i += `${R.value.style.layout.plots.deviation.translation}: <b>${a({
|
|
952
952
|
v: e.deviation,
|
|
953
953
|
r: R.value.style.layout.plots.deviation.roundingValue
|
|
954
|
-
})}</b>`,
|
|
954
|
+
})}</b>`, i += "</div>", Mn.value = `<div>${i}</div>`), jn.value = !0, n === "keyboard" && Ne(() => {
|
|
955
955
|
Qr(e);
|
|
956
956
|
});
|
|
957
957
|
}
|
|
@@ -1000,7 +1000,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1000
1000
|
e.plots.length,
|
|
1001
1001
|
e.plots.map((e) => e.v.x).reduce((e, t) => e + t, 0) / e.plots.length,
|
|
1002
1002
|
e.plots.map((e) => e.v.y).reduce((e, t) => e + t, 0) / e.plots.length
|
|
1003
|
-
]), r =
|
|
1003
|
+
]), r = c([
|
|
1004
1004
|
[R.value.style.title.text],
|
|
1005
1005
|
[R.value.style.title.subtitle.text],
|
|
1006
1006
|
[
|
|
@@ -1010,7 +1010,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1010
1010
|
],
|
|
1011
1011
|
t
|
|
1012
1012
|
].concat(n));
|
|
1013
|
-
e ? e(r) :
|
|
1013
|
+
e ? e(r) : s({
|
|
1014
1014
|
csvContent: r,
|
|
1015
1015
|
title: R.value.style.title.text || "vue-ui-heatmap"
|
|
1016
1016
|
});
|
|
@@ -1160,28 +1160,28 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1160
1160
|
}
|
|
1161
1161
|
let wi = y(() => {
|
|
1162
1162
|
if (!R.value.usePerformanceMode) return [""];
|
|
1163
|
-
let { left: e, right: t, top: n, bottom: r } = H.value,
|
|
1164
|
-
return K.value.map((
|
|
1163
|
+
let { left: e, right: t, top: n, bottom: r } = H.value, a = Math.max(1, (t - e) * (r - n)), 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;
|
|
1164
|
+
return K.value.map((a) => {
|
|
1165
1165
|
let u = [];
|
|
1166
|
-
for (let
|
|
1167
|
-
let o =
|
|
1166
|
+
for (let i of a.plots) {
|
|
1167
|
+
let o = i.x, s = i.y;
|
|
1168
1168
|
if (o < e || o > t || s < n || s > r) continue;
|
|
1169
|
-
let c = Math.max(R.value.style.layout.plots.radius,
|
|
1169
|
+
let c = Math.max(R.value.style.layout.plots.radius, i.weight);
|
|
1170
1170
|
u.push(Ci({
|
|
1171
|
-
shape:
|
|
1171
|
+
shape: a.shape || "circle",
|
|
1172
1172
|
cx: o,
|
|
1173
1173
|
cy: s,
|
|
1174
1174
|
r: c
|
|
1175
1175
|
}));
|
|
1176
1176
|
}
|
|
1177
1177
|
if (!u.length) return null;
|
|
1178
|
-
let d = a
|
|
1178
|
+
let d = o(a.plots.length) > 2.5 || a.plots.length > 1e3;
|
|
1179
1179
|
return {
|
|
1180
|
-
id:
|
|
1180
|
+
id: a.id,
|
|
1181
1181
|
d: u.join(""),
|
|
1182
|
-
fill:
|
|
1183
|
-
stroke: d ? "none" :
|
|
1184
|
-
strokeWidth: d ? 0 :
|
|
1182
|
+
fill: i(a.color, l * 100),
|
|
1183
|
+
stroke: d ? "none" : s,
|
|
1184
|
+
strokeWidth: d ? 0 : c,
|
|
1185
1185
|
strokeOpacity: 1
|
|
1186
1186
|
};
|
|
1187
1187
|
}).filter(Boolean);
|
|
@@ -1396,7 +1396,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1396
1396
|
}
|
|
1397
1397
|
let Hi = y(() => {
|
|
1398
1398
|
if (!X.value) return "";
|
|
1399
|
-
let e = X.value, t = isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x,
|
|
1399
|
+
let e = X.value, t = isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x, a({
|
|
1400
1400
|
p: R.value.style.tooltip.prefix,
|
|
1401
1401
|
v: e.v.x,
|
|
1402
1402
|
s: R.value.style.tooltip.suffix,
|
|
@@ -1404,7 +1404,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1404
1404
|
}), {
|
|
1405
1405
|
datapoint: e,
|
|
1406
1406
|
seriesIndex: e.seriesIndex
|
|
1407
|
-
}), n = isNaN(e.v.y) ? "-" : g(R.value.style.layout.plots.selectors.labels.y.formatter, e.v.y,
|
|
1407
|
+
}), n = isNaN(e.v.y) ? "-" : g(R.value.style.layout.plots.selectors.labels.y.formatter, e.v.y, a({
|
|
1408
1408
|
p: R.value.style.tooltip.prefix,
|
|
1409
1409
|
v: e.v.y,
|
|
1410
1410
|
s: R.value.style.tooltip.suffix,
|
|
@@ -1640,7 +1640,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1640
1640
|
C("div", Ke, [(D(), S("svg", {
|
|
1641
1641
|
ref_key: "svgRef",
|
|
1642
1642
|
ref: z,
|
|
1643
|
-
xmlns: M(
|
|
1643
|
+
xmlns: M(ae),
|
|
1644
1644
|
"aria-describedby": `chart-instructions-${F.value}`,
|
|
1645
1645
|
class: Pe({
|
|
1646
1646
|
"vue-data-ui-fullscreen--on": fi.value,
|
|
@@ -1940,8 +1940,8 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1940
1940
|
])) : x("", !0),
|
|
1941
1941
|
R.value.style.layout.plots.giftWrap.show ? (D(), S("g", Mt, [(D(!0), S(v, null, k(K.value, (e, t) => (D(), S("g", null, [e.plots.length > 2 ? (D(), S("polygon", {
|
|
1942
1942
|
key: 0,
|
|
1943
|
-
points: M(
|
|
1944
|
-
fill: M(
|
|
1943
|
+
points: M(m)({ series: e.plots }),
|
|
1944
|
+
fill: M(i)(e.color, R.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
1945
1945
|
"stroke-width": R.value.style.layout.plots.giftWrap.strokeWidth,
|
|
1946
1946
|
"stroke-dasharray": R.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
1947
1947
|
stroke: e.color,
|
|
@@ -1953,7 +1953,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1953
1953
|
cx: n.x,
|
|
1954
1954
|
cy: n.y,
|
|
1955
1955
|
r: Y.value && Y.value === n.id || Z.value.includes(n.id) ? n.weight * R.value.style.layout.plots.hoverRadiusRatio : n.weight,
|
|
1956
|
-
fill: M(
|
|
1956
|
+
fill: M(i)(e.color, Y.value && Y.value !== n.id || Z.value.length && !Z.value.includes(n.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : R.value.style.layout.plots.opacity * 100),
|
|
1957
1957
|
stroke: R.value.style.layout.plots.stroke,
|
|
1958
1958
|
"stroke-width": R.value.style.layout.plots.strokeWidth,
|
|
1959
1959
|
style: E(`opacity:${Y.value && Y.value === n.id || Z.value.includes(n.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) / Ur.value : R.value.style.layout.plots.significance.show && Math.abs(n.deviation) > R.value.style.layout.plots.significance.deviationThreshold ? R.value.style.layout.plots.significance.opacity : 1}`),
|
|
@@ -1968,7 +1968,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1968
1968
|
},
|
|
1969
1969
|
radius: Y.value && Y.value === n.id || Z.value.includes(n.id) ? n.weight * R.value.style.layout.plots.hoverRadiusRatio : n.weight,
|
|
1970
1970
|
shape: e.shape,
|
|
1971
|
-
color: M(
|
|
1971
|
+
color: M(i)(e.color, Y.value && Y.value !== n.id || Z.value.length && !Z.value.includes(n.id) ? R.value.style.layout.plots.opacityNotSelected * 100 : R.value.style.layout.plots.opacity * 100),
|
|
1972
1972
|
stroke: R.value.style.layout.plots.stroke,
|
|
1973
1973
|
strokeWidth: R.value.style.layout.plots.strokeWidth,
|
|
1974
1974
|
style: E(`opacity:${Y.value && Y.value === n.id || Z.value.includes(n.id) ? 1 : R.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(n.deviation) / Ur.value : R.value.style.layout.plots.significance.show && Math.abs(n.deviation) > R.value.style.layout.plots.significance.deviationThreshold ? R.value.style.layout.plots.significance.opacity : 1}`),
|
|
@@ -1992,7 +1992,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
1992
1992
|
transform: `translate(${e.x}, ${e.y - e.weight - R.value.style.layout.plots.name.fontSize + R.value.style.layout.plots.name.offsetY})`,
|
|
1993
1993
|
"text-anchor": "middle",
|
|
1994
1994
|
"font-size": R.value.style.layout.plots.name.fontSize,
|
|
1995
|
-
fill: M(
|
|
1995
|
+
fill: M(i)(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),
|
|
1996
1996
|
onMouseover: (n) => ni(e, t, "pointer", $.value.get(e.id)),
|
|
1997
1997
|
onMouseleave: (n) => ri(e, t),
|
|
1998
1998
|
onClick: (n) => ii(e, t)
|
|
@@ -2068,7 +2068,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2068
2068
|
fill: R.value.style.layout.plots.selectors.labels.color,
|
|
2069
2069
|
"font-weight": R.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
2070
2070
|
"text-anchor": e.x > W.value.x ? "end" : "start"
|
|
2071
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(e.v.y), M(
|
|
2071
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(e.v.y), M(a)({
|
|
2072
2072
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2073
2073
|
v: M(_)(e.v.y),
|
|
2074
2074
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -2082,7 +2082,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2082
2082
|
fill: R.value.style.layout.plots.selectors.labels.color,
|
|
2083
2083
|
"font-weight": R.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
2084
2084
|
"text-anchor": "middle"
|
|
2085
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(e.v.x), M(
|
|
2085
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(e.v.x), M(a)({
|
|
2086
2086
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2087
2087
|
v: M(_)(e.v.x),
|
|
2088
2088
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -2149,7 +2149,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2149
2149
|
"font-size": R.value.style.layout.dataLabels.xAxis.fontSize,
|
|
2150
2150
|
fill: R.value.style.layout.dataLabels.xAxis.color,
|
|
2151
2151
|
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)`
|
|
2152
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(_)(U.value.xMin), M(
|
|
2152
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(_)(U.value.xMin), M(a)({
|
|
2153
2153
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2154
2154
|
v: M(_)(U.value.xMin),
|
|
2155
2155
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -2163,7 +2163,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2163
2163
|
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)`,
|
|
2164
2164
|
"font-size": R.value.style.layout.dataLabels.xAxis.fontSize,
|
|
2165
2165
|
fill: R.value.style.layout.dataLabels.xAxis.color
|
|
2166
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(_)(U.value.xMax), M(
|
|
2166
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.x.formatter, M(_)(U.value.xMax), M(a)({
|
|
2167
2167
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2168
2168
|
v: M(_)(U.value.xMax),
|
|
2169
2169
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -2178,7 +2178,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2178
2178
|
"text-anchor": "middle",
|
|
2179
2179
|
"font-size": R.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2180
2180
|
fill: R.value.style.layout.dataLabels.yAxis.color
|
|
2181
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(U.value.yMax), M(
|
|
2181
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(U.value.yMax), M(a)({
|
|
2182
2182
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2183
2183
|
v: M(_)(U.value.yMax),
|
|
2184
2184
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -2195,7 +2195,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2195
2195
|
"text-anchor": "middle",
|
|
2196
2196
|
"font-size": R.value.style.layout.dataLabels.yAxis.fontSize,
|
|
2197
2197
|
fill: R.value.style.layout.dataLabels.yAxis.color
|
|
2198
|
-
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(U.value.yMin), M(
|
|
2198
|
+
}, j(M(g)(R.value.style.layout.plots.selectors.labels.y.formatter, M(_)(U.value.yMin), M(a)({
|
|
2199
2199
|
p: R.value.style.layout.plots.selectors.labels.prefix,
|
|
2200
2200
|
v: M(_)(U.value.yMin),
|
|
2201
2201
|
s: R.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -2231,7 +2231,7 @@ var Ve = /* @__PURE__ */ e({ default: () => vn }), He = ["id"], Ue = ["id"], We
|
|
|
2231
2231
|
"text-anchor": "end",
|
|
2232
2232
|
"font-size": R.value.style.layout.correlation.label.fontSize,
|
|
2233
2233
|
"font-weight": R.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
2234
|
-
}, j(M(
|
|
2234
|
+
}, j(M(a)({
|
|
2235
2235
|
v: M(_)(e.correlation?.coefficient ?? 0),
|
|
2236
2236
|
r: R.value.style.layout.correlation.label.roundingValue
|
|
2237
2237
|
})), 9, ln)) : x("", !0)]))), 256))])) : x("", !0),
|