vue-data-ui 3.3.3 → 3.4.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/dist/{Arrow-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-DyDViSOy.js} +1 -1
- package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CJXSEhan.js → UserOptions-C0YT60JN.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-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-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-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-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-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-BzVpWnNO.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-D7Tgakts.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
- package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-BGzYbrts.js} +39 -39
- package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
- package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
- package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
- package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
- package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-YYE07iRP.js} +35 -35
- package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-BRSqhjxm.js} +59 -59
- package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
- package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-Yw81BFf2.js} +189 -189
- package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-k3xCwZYv.js} +82 -82
- package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-DMPndU1O.js} +66 -66
- package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-D-W3VQTv.js} +75 -75
- package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
- package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
- package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-APtv_CvA.js} +58 -58
- package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
- package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-BBdrkhmg.js} +104 -104
- package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DL5ioFH4.js} +91 -91
- package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
- package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
- package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
- package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-DbanwrFr.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +64 -64
- package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
- package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-C4Uc3DRH.js} +86 -86
- package/dist/{vue-ui-radar-Csznqw19.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
- package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
- package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-B1T10gWF.js} +97 -97
- package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-G0bYxlue.js} +50 -50
- package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-DqZwonPL.js} +100 -100
- package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
- package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
- package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
- package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
- package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
- package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-CA4GL9dj.js} +52 -52
- package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BAbQsJGk.js} +18 -18
- package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
- package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
- package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-Cj677c6_.js} +29 -29
- package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
- package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
- package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
- package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-C39XL2GH.js} +68 -68
- package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
- package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-Dlp9LghX.js} +47 -47
- package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-BS8BCZJ3.js} +6 -6
- package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/package.json +1 -1
- package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
- package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
- package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
- package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineAsyncComponent as ne, computed as T, ref as M, toRefs as hl, watch as Te, shallowRef as Bt, onMounted as pl, onBeforeUnmount as fl, createElementBlock as y, openBlock as r, unref as c, normalizeStyle as ue, normalizeClass as Tt, createBlock as le, createCommentVNode as x, createElementVNode as w, createVNode as $e, createSlots as zt, withCtx as X, renderSlot as
|
|
2
|
-
import { c as kl, t as wl, b as _l, p as ye, o as Ot, f as
|
|
1
|
+
import { defineAsyncComponent as ne, computed as T, ref as M, toRefs as hl, watch as Te, shallowRef as Bt, onMounted as pl, onBeforeUnmount as fl, createElementBlock as y, openBlock as r, unref as c, normalizeStyle as ue, normalizeClass as Tt, createBlock as le, createCommentVNode as x, createElementVNode as w, createVNode as $e, createSlots as zt, withCtx as X, renderSlot as j, normalizeProps as pe, guardReactiveProps as fe, Fragment as Z, renderList as J, toDisplayString as G, Teleport as gl, resolveDynamicComponent as ml, mergeProps as xl, createTextVNode as Pt, nextTick as bl } from "vue";
|
|
2
|
+
import { c as kl, t as wl, b as _l, p as ye, o as Ot, f as Qe, e as $l, g as Dt, aa as Ml, h as Je, ac as Cl, z as Al, s as ze, X as Sl, ab as Ll, a as ie, x as q, d as K, P as Bl, Q as Tl, G as zl, H as Pl } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as Ol, u as Dl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as El, a as Et } from "./useNestedProp-
|
|
4
|
+
import { u as El, a as Et } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as Fl, B as Wl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as Nl } from "./usePrinter-
|
|
6
|
+
import { u as Nl } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as Il } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as Xl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as Yl } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
10
|
import { t as Rl } from "./themes-Dw-dDudK.js";
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { _ as
|
|
14
|
-
import Vl from "./img-
|
|
11
|
+
import jl from "./Legend-C8u37J42.js";
|
|
12
|
+
import Ul from "./Title-CFmv95In.js";
|
|
13
|
+
import { _ as Ke } from "./Shape-BhNvlGIN.js";
|
|
14
|
+
import Vl from "./img-CFY3JivG.js";
|
|
15
15
|
import { _ as Gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"],
|
|
16
|
+
const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Ql = ["width", "height"], Jl = { key: 1 }, Kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ta = { key: 2 }, la = ["id"], aa = ["stop-color"], oa = ["stop-color"], sa = ["id"], na = ["stop-color"], ua = ["stop-color"], ia = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], ra = ["x", "y", "width", "height", "onMouseenter"], va = {
|
|
17
17
|
key: 2,
|
|
18
18
|
style: { "pointer-events": "none" }
|
|
19
19
|
}, ya = ["x", "y", "width", "height", "fill", "fill-opacity"], ca = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], da = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], ha = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], pa = ["x", "y", "width", "height", "onMouseenter"], fa = {
|
|
@@ -28,10 +28,10 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
28
28
|
}, Pa = ["x", "y", "width", "height"], Oa = {
|
|
29
29
|
key: 6,
|
|
30
30
|
style: { "pointer-events": "none !important" }
|
|
31
|
-
}, Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Fa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Wa = ["x", "y", "font-size", "fill", "font-weight"], Na = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ia = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Xa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Ya = ["id", "transform", "font-size", "font-weight", "fill"], Ra = ["font-size", "fill", "transform"],
|
|
31
|
+
}, Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Fa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Wa = ["x", "y", "font-size", "fill", "font-weight"], Na = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ia = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Xa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Ya = ["id", "transform", "font-size", "font-weight", "fill"], Ra = ["font-size", "fill", "transform"], ja = ["transform", "font-size", "fill"], Ua = ["x", "y", "font-size", "fill"], Va = ["x", "y", "font-size", "fill"], Ga = ["font-size", "font-weight", "fill", "x", "y"], qa = ["id"], Ha = ["x", "y", "width", "height"], Za = {
|
|
32
32
|
key: 11,
|
|
33
33
|
style: { pointerEvents: "none" }
|
|
34
|
-
},
|
|
34
|
+
}, Qa = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Ja = ["x", "y", "fill", "font-size", "font-weight"], Ka = {
|
|
35
35
|
key: 4,
|
|
36
36
|
class: "vue-data-ui-watermark"
|
|
37
37
|
}, eo = ["id"], to = ["onClick"], lo = {
|
|
@@ -59,7 +59,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
setup(Ft, { expose: Wt }) {
|
|
62
|
-
const Nt = ne(() => import("./Tooltip-
|
|
62
|
+
const Nt = ne(() => import("./Tooltip-Cs4v8OnI.js")), It = ne(() => import("./BaseIcon-B5KaGWWC.js")), Xt = ne(() => import("./vue-ui-accordion-BKkTS12x.js")), Yt = ne(() => import("./DataTable-DOx3zgih.js")), Rt = ne(() => import("./PenAndPaper-Dj2diYr0.js")), jt = ne(() => import("./UserOptions-C0YT60JN.js")), Ut = ne(() => import("./PackageVersion-DyDViSOy.js")), Vt = ne(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_scatter: Gt } = El(), ee = Ft, et = T(() => !!ee.dataset && ee.dataset.length), W = M(kl()), Pe = M(!1), Oe = M(""), tt = M(0), te = M(null), lt = M(null), at = M(null), ot = M(null), st = M(null), nt = M(0), ut = M(0), it = M(0), N = M([]), rt = M(!1), ge = M(null), me = M(null), xe = M(null), De = M(null), Ee = M(null), qt = M(null), Ht = M(null), Fe = M(null), e = M(Xe());
|
|
63
63
|
function Zt(l = 100, s = 0.8, t = {}) {
|
|
64
64
|
const { meanX: o = 0, sdX: a = 1, meanY: u = 0, sdY: i = 1, seed: p } = t;
|
|
65
65
|
let v = (p ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
|
|
@@ -71,7 +71,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
71
71
|
}, d = l / 2, $ = Array.from({ length: d }, L), O = Array.from({ length: d }, L), C = (m) => m.reduce((D, _e) => D + _e, 0) / m.length, z = C($), I = C(O);
|
|
72
72
|
for (let m = 0; m < d; m += 1)
|
|
73
73
|
$[m] -= z, O[m] -= I;
|
|
74
|
-
const B = (m, D) => m.reduce((_e, Be, Ze) => _e + Be * D[Ze], 0), _ = (m) => B(m, m), h = B(O, $) / _($), S = O.map((m, D) => m - h * $[D]), V = _($) / d,
|
|
74
|
+
const B = (m, D) => m.reduce((_e, Be, Ze) => _e + Be * D[Ze], 0), _ = (m) => B(m, m), h = B(O, $) / _($), S = O.map((m, D) => m - h * $[D]), V = _($) / d, Q = _(S) / d, se = Math.sqrt((1 - s * s) * V / Q), R = $.map((m, D) => s * m + se * S[D]), ve = $.concat($.map((m) => -m)), He = R.concat(R.map((m) => -m)), ke = (m) => Math.sqrt(_(m) / m.length), de = (m, D, _e) => {
|
|
75
75
|
const Be = ke(m);
|
|
76
76
|
return m.map((Ze) => _e + (Be ? Ze / Be * D : 0));
|
|
77
77
|
}, he = de(ve, a, o), we = de(He, i, u);
|
|
@@ -158,7 +158,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
158
158
|
});
|
|
159
159
|
const dt = T(() => !!e.value.debug);
|
|
160
160
|
function ht() {
|
|
161
|
-
if (Ot(ee.dataset) && (
|
|
161
|
+
if (Ot(ee.dataset) && (Qe({
|
|
162
162
|
componentName: "VueUiScatter",
|
|
163
163
|
type: "dataset",
|
|
164
164
|
debug: dt.value
|
|
@@ -185,7 +185,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
185
185
|
elementId: `vue-ui-scatter_${W.value}`,
|
|
186
186
|
fileName: e.value.style.title.text || "vue-ui-scatter",
|
|
187
187
|
options: e.value.userOptions.print
|
|
188
|
-
}),
|
|
188
|
+
}), Qt = T(() => e.value.userOptions.show && !e.value.style.title.text), xt = T(() => $l(e.value.customPalette)), H = M({
|
|
189
189
|
showTable: e.value.table.show,
|
|
190
190
|
showTooltip: e.value.style.tooltip.show
|
|
191
191
|
});
|
|
@@ -214,7 +214,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
214
214
|
datasetObject: a,
|
|
215
215
|
requiredAttributes: ["values"]
|
|
216
216
|
}).forEach((i) => {
|
|
217
|
-
|
|
217
|
+
Qe({
|
|
218
218
|
componentName: "VueUiScatter",
|
|
219
219
|
type: "datasetSerieAttribute",
|
|
220
220
|
property: i,
|
|
@@ -225,7 +225,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
225
225
|
datasetObject: i,
|
|
226
226
|
requiredAttributes: ["x", "y"]
|
|
227
227
|
}).forEach((v) => {
|
|
228
|
-
|
|
228
|
+
Qe({
|
|
229
229
|
componentName: "VueUiScatter",
|
|
230
230
|
type: "datasetSerieAttribute",
|
|
231
231
|
property: `values.${v}`,
|
|
@@ -254,7 +254,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
254
254
|
segregate: () => wt(t),
|
|
255
255
|
isSegregated: N.value.includes(t)
|
|
256
256
|
};
|
|
257
|
-
})),
|
|
257
|
+
})), Jt = T(() => ({
|
|
258
258
|
cy: "scatter-div-legend",
|
|
259
259
|
backgroundColor: e.value.style.legend.backgroundColor,
|
|
260
260
|
color: e.value.style.legend.color,
|
|
@@ -275,7 +275,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
275
275
|
id: `plot_${W.value}_${Math.random()}`,
|
|
276
276
|
weight: t.weight ?? e.value.style.layout.plots.radius
|
|
277
277
|
}))
|
|
278
|
-
})).filter((l) => !N.value.includes(l.id))),
|
|
278
|
+
})).filter((l) => !N.value.includes(l.id))), U = T(() => {
|
|
279
279
|
const s = ({ m: t, b: o, rect: a, verticalX: u = null }) => {
|
|
280
280
|
const { left: i, right: p, top: v, bottom: g } = a, L = [], d = (_, h) => {
|
|
281
281
|
Number.isFinite(_) && Number.isFinite(h) && L.push({ x: _, y: h });
|
|
@@ -288,8 +288,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
288
288
|
let z = C[0], I = C[1], B = 0;
|
|
289
289
|
for (let _ = 0; _ < C.length; _ += 1)
|
|
290
290
|
for (let h = _ + 1; h < C.length; h += 1) {
|
|
291
|
-
const S = C[_].x - C[h].x, V = C[_].y - C[h].y,
|
|
292
|
-
|
|
291
|
+
const S = C[_].x - C[h].x, V = C[_].y - C[h].y, Q = S * S + V * V;
|
|
292
|
+
Q > B && (B = Q, z = C[_], I = C[h]);
|
|
293
293
|
}
|
|
294
294
|
return { x1: z.x, y1: z.y, x2: I.x, y2: I.y };
|
|
295
295
|
};
|
|
@@ -309,13 +309,13 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
309
309
|
if (o >= 2) {
|
|
310
310
|
let h = 0, S = 0;
|
|
311
311
|
O ? (h = t.plots.reduce((R, ve) => R + ve.v.x, 0) / o, S = t.plots.reduce((R, ve) => R + ve.v.y, 0) / o) : (h = a, S = -u);
|
|
312
|
-
let V = 0,
|
|
312
|
+
let V = 0, Q = 0, se = 0;
|
|
313
313
|
for (const R of t.plots) {
|
|
314
314
|
const ve = O ? R.v.x : R.x, He = O ? R.v.y : -R.y, ke = ve - h, de = He - S;
|
|
315
|
-
V += ke * de,
|
|
315
|
+
V += ke * de, Q += ke * ke, se += de * de;
|
|
316
316
|
}
|
|
317
|
-
if (
|
|
318
|
-
const R = V / Math.sqrt(
|
|
317
|
+
if (Q >= 1e-9 && se >= 1e-9) {
|
|
318
|
+
const R = V / Math.sqrt(Q * se);
|
|
319
319
|
C = Math.max(-1, Math.min(1, R));
|
|
320
320
|
}
|
|
321
321
|
}
|
|
@@ -329,13 +329,13 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
329
329
|
...h,
|
|
330
330
|
deviation: 0,
|
|
331
331
|
shape: t.shape,
|
|
332
|
-
color:
|
|
332
|
+
color: Je(t.color)
|
|
333
333
|
}))
|
|
334
334
|
};
|
|
335
335
|
const I = (z.x1 + z.x2) / 2, B = (z.y1 + z.y2) / 2, _ = { x: I, y: B };
|
|
336
336
|
return {
|
|
337
337
|
...t,
|
|
338
|
-
color:
|
|
338
|
+
color: Je(t.color),
|
|
339
339
|
correlation: {
|
|
340
340
|
...z,
|
|
341
341
|
coefficient: C
|
|
@@ -344,19 +344,19 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
344
344
|
plots: t.plots.map((h) => {
|
|
345
345
|
let S, V;
|
|
346
346
|
L !== null ? (S = L, V = h.y) : Math.abs(d) < 1e-9 ? (S = h.x, V = $) : (S = (h.x + d * h.y - d * $) / (1 + d * d), V = (d * h.x + d * d * h.y + $) / (1 + d * d));
|
|
347
|
-
const
|
|
347
|
+
const Q = h.x - S, se = h.y - V, R = Math.sqrt(Q * Q + se * se);
|
|
348
348
|
return {
|
|
349
349
|
...h,
|
|
350
350
|
deviation: R,
|
|
351
351
|
shape: t.shape,
|
|
352
|
-
color:
|
|
352
|
+
color: Je(t.color)
|
|
353
353
|
};
|
|
354
354
|
})
|
|
355
355
|
};
|
|
356
356
|
});
|
|
357
|
-
}), bt = T(() => Math.max(...
|
|
358
|
-
function
|
|
359
|
-
return
|
|
357
|
+
}), bt = T(() => Math.max(...U.value.flatMap((l) => l.plots.map((s) => Math.abs(s.deviation)))));
|
|
358
|
+
function Kt() {
|
|
359
|
+
return U.value;
|
|
360
360
|
}
|
|
361
361
|
function kt(l, s) {
|
|
362
362
|
const t = Array.isArray(l) ? l.flatMap((B) => B.plots.map((_) => ({
|
|
@@ -400,30 +400,30 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
400
400
|
};
|
|
401
401
|
});
|
|
402
402
|
}), Y = M(void 0), f = M(null), Re = M(null);
|
|
403
|
-
function
|
|
403
|
+
function je(l, s) {
|
|
404
404
|
Y.value = l.id, f.value = l;
|
|
405
405
|
let t = "";
|
|
406
406
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s }), Re.value = {
|
|
407
407
|
datapoint: l,
|
|
408
408
|
seriesIndex: s,
|
|
409
|
-
series:
|
|
409
|
+
series: U.value,
|
|
410
410
|
config: e.value
|
|
411
411
|
};
|
|
412
412
|
const o = e.value.style.tooltip.customFormat;
|
|
413
413
|
zl(o) && Pl(() => o({
|
|
414
414
|
datapoint: l,
|
|
415
415
|
seriesIndex: s,
|
|
416
|
-
series:
|
|
416
|
+
series: U.value,
|
|
417
417
|
config: e.value
|
|
418
418
|
})) ? Oe.value = o({
|
|
419
419
|
datapoint: l,
|
|
420
420
|
seriesIndex: s,
|
|
421
|
-
series:
|
|
421
|
+
series: U.value,
|
|
422
422
|
config: e.value
|
|
423
423
|
}) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" : ie(
|
|
424
424
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
425
425
|
l.v.x,
|
|
426
|
-
|
|
426
|
+
K({
|
|
427
427
|
p: e.value.style.tooltip.prefix,
|
|
428
428
|
v: l.v.x,
|
|
429
429
|
s: e.value.style.tooltip.suffix,
|
|
@@ -433,14 +433,14 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
433
433
|
)}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : ie(
|
|
434
434
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
435
435
|
l.v.y,
|
|
436
|
-
|
|
436
|
+
K({
|
|
437
437
|
p: e.value.style.tooltip.prefix,
|
|
438
438
|
v: l.v.y,
|
|
439
439
|
s: e.value.style.tooltip.suffix,
|
|
440
440
|
r: e.value.style.tooltip.roundingValue
|
|
441
441
|
}),
|
|
442
442
|
{ datapoint: l, seriesIndex: s }
|
|
443
|
-
)}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${
|
|
443
|
+
)}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${K({
|
|
444
444
|
v: l.deviation,
|
|
445
445
|
r: e.value.style.layout.plots.deviation.roundingValue
|
|
446
446
|
})}</b>`, t += "</div>", Oe.value = `<div>${t}</div>`), Pe.value = !0;
|
|
@@ -448,7 +448,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
448
448
|
function Ae(l, s) {
|
|
449
449
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s }), Pe.value = !1, Y.value = void 0, f.value = null;
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function Ue(l, s) {
|
|
452
452
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
|
|
453
453
|
}
|
|
454
454
|
function wt(l) {
|
|
@@ -456,7 +456,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
456
456
|
}
|
|
457
457
|
function Ve(l = null) {
|
|
458
458
|
bl(() => {
|
|
459
|
-
const s = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], t =
|
|
459
|
+
const s = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], t = U.value.map((u) => [
|
|
460
460
|
u.name,
|
|
461
461
|
u.correlation.coefficient,
|
|
462
462
|
u.plots.length,
|
|
@@ -473,7 +473,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
473
473
|
e.value.table.translations.nbrPlots,
|
|
474
474
|
`${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`,
|
|
475
475
|
`${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`
|
|
476
|
-
], s =
|
|
476
|
+
], s = U.value.map((o) => [
|
|
477
477
|
{
|
|
478
478
|
shape: o.shape,
|
|
479
479
|
content: o.name,
|
|
@@ -601,7 +601,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
601
601
|
const sl = T(() => {
|
|
602
602
|
if (!e.value.usePerformanceMode) return [""];
|
|
603
603
|
const { left: l, right: s, top: t, bottom: o } = n.value, a = Math.max(1, (s - l) * (o - t)), u = (d) => d / a * 1e4, i = 2.5, p = 1e3, v = e.value.style.layout.plots.stroke, g = e.value.style.layout.plots.strokeWidth, L = e.value.style.layout.plots.opacity;
|
|
604
|
-
return
|
|
604
|
+
return U.value.map((d) => {
|
|
605
605
|
const $ = [];
|
|
606
606
|
for (const C of d.plots) {
|
|
607
607
|
const z = C.x, I = C.y;
|
|
@@ -636,13 +636,13 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
636
636
|
if (!o) return;
|
|
637
637
|
const a = o.inverse(), u = t.matrixTransform(a), i = 8, p = i * i;
|
|
638
638
|
let v = null, g = 1 / 0, L = -1;
|
|
639
|
-
if (
|
|
639
|
+
if (U.value.forEach((d, $) => {
|
|
640
640
|
d.plots.forEach((O) => {
|
|
641
641
|
const C = O.x - u.x, z = O.y - u.y, I = C * C + z * z;
|
|
642
642
|
I <= p && I < g && (g = I, v = O, L = $);
|
|
643
643
|
});
|
|
644
644
|
}), v)
|
|
645
|
-
Y.value !== v.id && (Y.value = v.id,
|
|
645
|
+
Y.value !== v.id && (Y.value = v.id, je(v, L));
|
|
646
646
|
else if (Y.value) {
|
|
647
647
|
const d = f.value;
|
|
648
648
|
Y.value = void 0, Ae(d, L);
|
|
@@ -659,8 +659,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
659
659
|
function il(l) {
|
|
660
660
|
const s = f.value;
|
|
661
661
|
if (s) {
|
|
662
|
-
const t =
|
|
663
|
-
|
|
662
|
+
const t = U.value.findIndex((o) => o.id === s.clusterId);
|
|
663
|
+
Ue(s, t >= 0 ? t : 0);
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
const be = T(() => {
|
|
@@ -714,7 +714,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
714
714
|
cl();
|
|
715
715
|
}
|
|
716
716
|
return Wt({
|
|
717
|
-
getData:
|
|
717
|
+
getData: Kt,
|
|
718
718
|
getImage: tl,
|
|
719
719
|
generatePdf: gt,
|
|
720
720
|
generateCsv: Ve,
|
|
@@ -741,7 +741,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
741
741
|
active: Le.value,
|
|
742
742
|
onClose: Ge
|
|
743
743
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : x("", !0),
|
|
744
|
-
|
|
744
|
+
Qt.value ? (r(), y("div", {
|
|
745
745
|
key: 1,
|
|
746
746
|
ref_key: "noTitle",
|
|
747
747
|
ref: st,
|
|
@@ -754,7 +754,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
754
754
|
ref: lt,
|
|
755
755
|
style: "width:100%;background:transparent"
|
|
756
756
|
}, [
|
|
757
|
-
(r(), le(
|
|
757
|
+
(r(), le(Ul, {
|
|
758
758
|
key: `title_${nt.value}`,
|
|
759
759
|
config: {
|
|
760
760
|
title: {
|
|
@@ -771,7 +771,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
771
771
|
w("div", {
|
|
772
772
|
id: `legend-top-${W.value}`
|
|
773
773
|
}, null, 8, Hl),
|
|
774
|
-
e.value.userOptions.show && et.value && (c(ct) || c(Ie)) ? (r(), le(c(
|
|
774
|
+
e.value.userOptions.show && et.value && (c(ct) || c(Ie)) ? (r(), le(c(jt), {
|
|
775
775
|
ref_key: "userOptionsRef",
|
|
776
776
|
ref: De,
|
|
777
777
|
key: `user_options_${tt.value}`,
|
|
@@ -812,56 +812,56 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
812
812
|
l.$slots.menuIcon ? {
|
|
813
813
|
name: "menuIcon",
|
|
814
814
|
fn: X(({ isOpen: t, color: o }) => [
|
|
815
|
-
|
|
815
|
+
j(l.$slots, "menuIcon", pe(fe({ isOpen: t, color: o })), void 0, !0)
|
|
816
816
|
]),
|
|
817
817
|
key: "0"
|
|
818
818
|
} : void 0,
|
|
819
819
|
l.$slots.optionTooltip ? {
|
|
820
820
|
name: "optionTooltip",
|
|
821
821
|
fn: X(() => [
|
|
822
|
-
|
|
822
|
+
j(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
823
823
|
]),
|
|
824
824
|
key: "1"
|
|
825
825
|
} : void 0,
|
|
826
826
|
l.$slots.optionPdf ? {
|
|
827
827
|
name: "optionPdf",
|
|
828
828
|
fn: X(() => [
|
|
829
|
-
|
|
829
|
+
j(l.$slots, "optionPdf", {}, void 0, !0)
|
|
830
830
|
]),
|
|
831
831
|
key: "2"
|
|
832
832
|
} : void 0,
|
|
833
833
|
l.$slots.optionCsv ? {
|
|
834
834
|
name: "optionCsv",
|
|
835
835
|
fn: X(() => [
|
|
836
|
-
|
|
836
|
+
j(l.$slots, "optionCsv", {}, void 0, !0)
|
|
837
837
|
]),
|
|
838
838
|
key: "3"
|
|
839
839
|
} : void 0,
|
|
840
840
|
l.$slots.optionImg ? {
|
|
841
841
|
name: "optionImg",
|
|
842
842
|
fn: X(() => [
|
|
843
|
-
|
|
843
|
+
j(l.$slots, "optionImg", {}, void 0, !0)
|
|
844
844
|
]),
|
|
845
845
|
key: "4"
|
|
846
846
|
} : void 0,
|
|
847
847
|
l.$slots.optionTable ? {
|
|
848
848
|
name: "optionTable",
|
|
849
849
|
fn: X(() => [
|
|
850
|
-
|
|
850
|
+
j(l.$slots, "optionTable", {}, void 0, !0)
|
|
851
851
|
]),
|
|
852
852
|
key: "5"
|
|
853
853
|
} : void 0,
|
|
854
854
|
l.$slots.optionFullscreen ? {
|
|
855
855
|
name: "optionFullscreen",
|
|
856
856
|
fn: X(({ toggleFullscreen: t, isFullscreen: o }) => [
|
|
857
|
-
|
|
857
|
+
j(l.$slots, "optionFullscreen", pe(fe({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
|
|
858
858
|
]),
|
|
859
859
|
key: "6"
|
|
860
860
|
} : void 0,
|
|
861
861
|
l.$slots.optionAnnotator ? {
|
|
862
862
|
name: "optionAnnotator",
|
|
863
863
|
fn: X(({ toggleAnnotator: t, isAnnotator: o }) => [
|
|
864
|
-
|
|
864
|
+
j(l.$slots, "optionAnnotator", pe(fe({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
|
|
865
865
|
]),
|
|
866
866
|
key: "7"
|
|
867
867
|
} : void 0
|
|
@@ -875,7 +875,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
875
875
|
style: ue(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
|
|
876
876
|
onMouseleave: qe
|
|
877
877
|
}, [
|
|
878
|
-
$e(c(
|
|
878
|
+
$e(c(Ut)),
|
|
879
879
|
l.$slots["chart-background"] ? (r(), y("foreignObject", {
|
|
880
880
|
key: 0,
|
|
881
881
|
x: 0,
|
|
@@ -886,9 +886,9 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
886
886
|
pointerEvents: "none"
|
|
887
887
|
}
|
|
888
888
|
}, [
|
|
889
|
-
|
|
890
|
-
], 8,
|
|
891
|
-
e.value.style.layout.axis.show ? (r(), y("g",
|
|
889
|
+
j(l.$slots, "chart-background", {}, void 0, !0)
|
|
890
|
+
], 8, Ql)) : x("", !0),
|
|
891
|
+
e.value.style.layout.axis.show ? (r(), y("g", Jl, [
|
|
892
892
|
w("line", {
|
|
893
893
|
x1: F.value.x,
|
|
894
894
|
x2: F.value.x,
|
|
@@ -897,7 +897,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
897
897
|
stroke: e.value.style.layout.axis.stroke,
|
|
898
898
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
899
899
|
"stroke-linecap": "round"
|
|
900
|
-
}, null, 8,
|
|
900
|
+
}, null, 8, Kl),
|
|
901
901
|
w("line", {
|
|
902
902
|
x1: n.value.left,
|
|
903
903
|
x2: n.value.right,
|
|
@@ -943,7 +943,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
943
943
|
}, null, 8, ua)
|
|
944
944
|
], 8, sa)
|
|
945
945
|
]),
|
|
946
|
-
(r(!0), y(Z, null,
|
|
946
|
+
(r(!0), y(Z, null, J(A.value.x, (t, o) => (r(), y("g", null, [
|
|
947
947
|
t && A.value.avgX[o] ? (r(), y("rect", {
|
|
948
948
|
key: 0,
|
|
949
949
|
x: A.value.avgX[o] - n.value.width / b.value / 2,
|
|
@@ -997,7 +997,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
997
997
|
}, null, 8, da)
|
|
998
998
|
])) : x("", !0)
|
|
999
999
|
]))), 256)),
|
|
1000
|
-
(r(!0), y(Z, null,
|
|
1000
|
+
(r(!0), y(Z, null, J(A.value.y, (t, o) => (r(), y("g", null, [
|
|
1001
1001
|
t && A.value.avgY[o] ? (r(), y("rect", {
|
|
1002
1002
|
key: 0,
|
|
1003
1003
|
x: n.value.right + e.value.style.layout.marginalBars.offset,
|
|
@@ -1052,7 +1052,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1052
1052
|
])) : x("", !0)
|
|
1053
1053
|
]))), 256)),
|
|
1054
1054
|
e.value.style.layout.marginalBars.showLines ? (r(), y("g", ba, [
|
|
1055
|
-
(r(!0), y(Z, null,
|
|
1055
|
+
(r(!0), y(Z, null, J(el.value, (t) => (r(), y(Z, null, [
|
|
1056
1056
|
N.value.includes(t.id) ? x("", !0) : (r(), y("path", {
|
|
1057
1057
|
key: 0,
|
|
1058
1058
|
d: `M ${t.dX}`,
|
|
@@ -1093,7 +1093,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1093
1093
|
])) : x("", !0)
|
|
1094
1094
|
])) : x("", !0),
|
|
1095
1095
|
e.value.style.layout.plots.giftWrap.show ? (r(), y("g", Ma, [
|
|
1096
|
-
(r(!0), y(Z, null,
|
|
1096
|
+
(r(!0), y(Z, null, J(U.value, (t, o) => (r(), y("g", null, [
|
|
1097
1097
|
t.plots.length > 2 ? (r(), y("polygon", {
|
|
1098
1098
|
key: 0,
|
|
1099
1099
|
points: c(Ll)({ series: t.plots }),
|
|
@@ -1106,9 +1106,9 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1106
1106
|
}, null, 8, Ca)) : x("", !0)
|
|
1107
1107
|
]))), 256))
|
|
1108
1108
|
])) : x("", !0),
|
|
1109
|
-
e.value.usePerformanceMode ? x("", !0) : (r(!0), y(Z, { key: 4 },
|
|
1109
|
+
e.value.usePerformanceMode ? x("", !0) : (r(!0), y(Z, { key: 4 }, J(U.value, (t, o) => (r(), y("g", null, [
|
|
1110
1110
|
!t.shape || t.shape === "circle" ? (r(), y("g", Aa, [
|
|
1111
|
-
(r(!0), y(Z, null,
|
|
1111
|
+
(r(!0), y(Z, null, J(t.plots, (a, u) => (r(), y("circle", {
|
|
1112
1112
|
cx: a.x,
|
|
1113
1113
|
cy: a.y,
|
|
1114
1114
|
r: Y.value && Y.value === a.id ? a.weight * 2 : a.weight,
|
|
@@ -1116,12 +1116,12 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1116
1116
|
stroke: e.value.style.layout.plots.stroke,
|
|
1117
1117
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
1118
1118
|
style: ue(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / bt.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
|
|
1119
|
-
onMouseover: (i) =>
|
|
1119
|
+
onMouseover: (i) => je(a, o),
|
|
1120
1120
|
onMouseleave: (i) => Ae(a, o),
|
|
1121
|
-
onClick: (i) =>
|
|
1121
|
+
onClick: (i) => Ue(a, o)
|
|
1122
1122
|
}, null, 44, Sa))), 256))
|
|
1123
1123
|
])) : (r(), y("g", La, [
|
|
1124
|
-
(r(!0), y(Z, null,
|
|
1124
|
+
(r(!0), y(Z, null, J(t.plots, (a, u) => (r(), le(Ke, {
|
|
1125
1125
|
plot: { x: a.x, y: a.y },
|
|
1126
1126
|
radius: Y.value && Y.value === a.id ? a.weight * 2 : a.weight,
|
|
1127
1127
|
shape: t.shape,
|
|
@@ -1129,9 +1129,9 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1129
1129
|
stroke: e.value.style.layout.plots.stroke,
|
|
1130
1130
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
1131
1131
|
style: ue(`opacity:${Y.value && Y.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / bt.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`),
|
|
1132
|
-
onMouseover: (i) =>
|
|
1132
|
+
onMouseover: (i) => je(a, o),
|
|
1133
1133
|
onMouseleave: (i) => Ae(a, o),
|
|
1134
|
-
onClick: (i) =>
|
|
1134
|
+
onClick: (i) => Ue(a, o)
|
|
1135
1135
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "style", "onMouseover", "onMouseleave", "onClick"]))), 256))
|
|
1136
1136
|
]))
|
|
1137
1137
|
]))), 256)),
|
|
@@ -1139,7 +1139,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1139
1139
|
w("g", {
|
|
1140
1140
|
"clip-path": `url(#clip_path_${W.value})`
|
|
1141
1141
|
}, [
|
|
1142
|
-
(r(!0), y(Z, null,
|
|
1142
|
+
(r(!0), y(Z, null, J(sl.value, (t) => (r(), y("path", {
|
|
1143
1143
|
key: t.id,
|
|
1144
1144
|
d: t.d,
|
|
1145
1145
|
fill: t.fill,
|
|
@@ -1151,7 +1151,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1151
1151
|
}, null, 8, Ta))), 128))
|
|
1152
1152
|
], 8, Ba),
|
|
1153
1153
|
f.value && e.value.style.layout.plots.selectors.show ? (r(), y("g", za, [
|
|
1154
|
-
$e(
|
|
1154
|
+
$e(Ke, {
|
|
1155
1155
|
shape: f.value.shape || "circle",
|
|
1156
1156
|
color: f.value.color,
|
|
1157
1157
|
plot: { x: f.value.x, y: f.value.y },
|
|
@@ -1204,7 +1204,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1204
1204
|
}, G(c(ie)(
|
|
1205
1205
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
1206
1206
|
c(q)(f.value.v.y),
|
|
1207
|
-
c(
|
|
1207
|
+
c(K)({
|
|
1208
1208
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1209
1209
|
v: c(q)(f.value.v.y),
|
|
1210
1210
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -1222,7 +1222,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1222
1222
|
}, G(c(ie)(
|
|
1223
1223
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
1224
1224
|
c(q)(f.value.v.x),
|
|
1225
|
-
c(
|
|
1225
|
+
c(K)({
|
|
1226
1226
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1227
1227
|
v: c(q)(f.value.v.x),
|
|
1228
1228
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -1279,7 +1279,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1279
1279
|
}, G(c(ie)(
|
|
1280
1280
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
1281
1281
|
c(q)(P.value.xMin),
|
|
1282
|
-
c(
|
|
1282
|
+
c(K)({
|
|
1283
1283
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1284
1284
|
v: c(q)(P.value.xMin),
|
|
1285
1285
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -1298,13 +1298,13 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1298
1298
|
}, G(c(ie)(
|
|
1299
1299
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
1300
1300
|
c(q)(P.value.xMax),
|
|
1301
|
-
c(
|
|
1301
|
+
c(K)({
|
|
1302
1302
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1303
1303
|
v: c(q)(P.value.xMax),
|
|
1304
1304
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1305
1305
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
1306
1306
|
})
|
|
1307
|
-
)), 9,
|
|
1307
|
+
)), 9, ja)) : x("", !0),
|
|
1308
1308
|
e.value.style.layout.dataLabels.yAxis.show ? (r(), y("text", {
|
|
1309
1309
|
key: 9,
|
|
1310
1310
|
ref_key: "yAxisLabelTop",
|
|
@@ -1317,13 +1317,13 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1317
1317
|
}, G(c(ie)(
|
|
1318
1318
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
1319
1319
|
c(q)(P.value.yMax),
|
|
1320
|
-
c(
|
|
1320
|
+
c(K)({
|
|
1321
1321
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1322
1322
|
v: c(q)(P.value.yMax),
|
|
1323
1323
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
1324
1324
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
1325
1325
|
})
|
|
1326
|
-
)), 9,
|
|
1326
|
+
)), 9, Ua)) : x("", !0),
|
|
1327
1327
|
e.value.style.layout.dataLabels.yAxis.show ? (r(), y("g", {
|
|
1328
1328
|
key: 10,
|
|
1329
1329
|
ref_key: "yAxisLabelBottom",
|
|
@@ -1338,7 +1338,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1338
1338
|
}, G(c(ie)(
|
|
1339
1339
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
1340
1340
|
c(q)(P.value.yMin),
|
|
1341
|
-
c(
|
|
1341
|
+
c(K)({
|
|
1342
1342
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
1343
1343
|
v: c(q)(P.value.yMin),
|
|
1344
1344
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
@@ -1365,7 +1365,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1365
1365
|
}, null, 8, Ha)
|
|
1366
1366
|
], 8, qa),
|
|
1367
1367
|
e.value.style.layout.correlation.show ? (r(), y("g", Za, [
|
|
1368
|
-
(r(!0), y(Z, null,
|
|
1368
|
+
(r(!0), y(Z, null, J(U.value, (t, o) => (r(), y("line", {
|
|
1369
1369
|
x1: t.correlation.x1,
|
|
1370
1370
|
x2: t.correlation.x2,
|
|
1371
1371
|
y1: t.correlation.y1,
|
|
@@ -1374,8 +1374,8 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1374
1374
|
stroke: t.color,
|
|
1375
1375
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
1376
1376
|
"clip-path": `url(#clip_path_${W.value})`
|
|
1377
|
-
}, null, 8,
|
|
1378
|
-
(r(!0), y(Z, null,
|
|
1377
|
+
}, null, 8, Qa))), 256)),
|
|
1378
|
+
(r(!0), y(Z, null, J(U.value, (t, o) => (r(), y("g", null, [
|
|
1379
1379
|
e.value.style.layout.correlation.label.show ? (r(), y("text", {
|
|
1380
1380
|
key: 0,
|
|
1381
1381
|
x: t.correlation.x2,
|
|
@@ -1384,16 +1384,16 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1384
1384
|
"text-anchor": "end",
|
|
1385
1385
|
"font-size": e.value.style.layout.correlation.label.fontSize,
|
|
1386
1386
|
"font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
1387
|
-
}, G(c(
|
|
1387
|
+
}, G(c(K)({
|
|
1388
1388
|
v: c(q)(t.correlation.coefficient),
|
|
1389
1389
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
1390
|
-
})), 9,
|
|
1390
|
+
})), 9, Ja)) : x("", !0)
|
|
1391
1391
|
]))), 256))
|
|
1392
1392
|
])) : x("", !0),
|
|
1393
|
-
|
|
1393
|
+
j(l.$slots, "svg", { svg: E.value }, void 0, !0)
|
|
1394
1394
|
], 46, Zl)),
|
|
1395
|
-
l.$slots.watermark ? (r(), y("div",
|
|
1396
|
-
|
|
1395
|
+
l.$slots.watermark ? (r(), y("div", Ka, [
|
|
1396
|
+
j(l.$slots, "watermark", pe(fe({ isPrinting: c(pt) || c(ft) })), void 0, !0)
|
|
1397
1397
|
])) : x("", !0),
|
|
1398
1398
|
w("div", {
|
|
1399
1399
|
id: `legend-bottom-${W.value}`
|
|
@@ -1406,10 +1406,10 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1406
1406
|
ref_key: "chartLegend",
|
|
1407
1407
|
ref: at
|
|
1408
1408
|
}, [
|
|
1409
|
-
e.value.style.legend.show ? (r(), le(
|
|
1409
|
+
e.value.style.legend.show ? (r(), le(jl, {
|
|
1410
1410
|
key: `legend_${it.value}`,
|
|
1411
1411
|
legendSet: oe.value,
|
|
1412
|
-
config:
|
|
1412
|
+
config: Jt.value,
|
|
1413
1413
|
onClickMarker: s[3] || (s[3] = ({ legend: t }) => wt(t.id))
|
|
1414
1414
|
}, {
|
|
1415
1415
|
item: X(({ legend: t }) => [
|
|
@@ -1419,7 +1419,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1419
1419
|
}, G(t.name), 13, to)
|
|
1420
1420
|
]),
|
|
1421
1421
|
_: 1
|
|
1422
|
-
}, 8, ["legendSet", "config"])) :
|
|
1422
|
+
}, 8, ["legendSet", "config"])) : j(l.$slots, "legend", {
|
|
1423
1423
|
key: 1,
|
|
1424
1424
|
legend: oe.value
|
|
1425
1425
|
}, void 0, !0)
|
|
@@ -1431,7 +1431,7 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1431
1431
|
ref: ot,
|
|
1432
1432
|
dir: "auto"
|
|
1433
1433
|
}, [
|
|
1434
|
-
|
|
1434
|
+
j(l.$slots, "source", {}, void 0, !0)
|
|
1435
1435
|
], 512)) : x("", !0),
|
|
1436
1436
|
$e(c(Nt), {
|
|
1437
1437
|
show: H.value.showTooltip && Pe.value,
|
|
@@ -1454,15 +1454,15 @@ const ql = ["id"], Hl = ["id"], Zl = ["xmlns", "viewBox"], Jl = ["width", "heigh
|
|
|
1454
1454
|
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
1455
1455
|
}, {
|
|
1456
1456
|
"tooltip-before": X(() => [
|
|
1457
|
-
|
|
1457
|
+
j(l.$slots, "tooltip-before", pe(fe({ ...Re.value })), void 0, !0)
|
|
1458
1458
|
]),
|
|
1459
1459
|
"tooltip-after": X(() => [
|
|
1460
|
-
|
|
1460
|
+
j(l.$slots, "tooltip-after", pe(fe({ ...Re.value })), void 0, !0)
|
|
1461
1461
|
]),
|
|
1462
1462
|
default: X(() => [
|
|
1463
1463
|
e.value.style.tooltip.showShape ? (r(), y("div", lo, [
|
|
1464
1464
|
(r(), y("svg", ao, [
|
|
1465
|
-
$e(
|
|
1465
|
+
$e(Ke, {
|
|
1466
1466
|
shape: f.value.shape,
|
|
1467
1467
|
color: f.value.color,
|
|
1468
1468
|
plot: { x: 10, y: 10 },
|