vue-data-ui 3.2.1 → 3.2.3
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-cyyFTTnm.js → Arrow-Bb0bGghy.js} +1 -1
- package/dist/{BaseDraggableDialog-Bf6A6G_f.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
- package/dist/{BaseIcon-D2f9w5Z5.js → BaseIcon-Bz-1GQhu.js} +10 -3
- package/dist/ColorPicker-B-WUqMoV.js +238 -0
- package/dist/{DataTable-xISHA7Pu.js → DataTable-BvjacRbw.js} +10 -10
- package/dist/{Legend-_Rv594VS.js → Legend-BpoFJ8fc.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DiM4-9ju.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
- package/dist/{PackageVersion-BB7joYAK.js → PackageVersion-oBQ8brnx.js} +1 -1
- package/dist/{PenAndPaper-CtDMyIvW.js → PenAndPaper-CR8q353D.js} +3 -3
- package/dist/{Shape-BDy56-wS.js → Shape-C_C_OmqR.js} +1 -1
- package/dist/{Slicer-qM5l8BsU.js → Slicer-BA2GhOmY.js} +68 -68
- package/dist/{SparkTooltip-DOFGBHJ-.js → SparkTooltip-Dz1PDE_h.js} +1 -1
- package/dist/{Title-BIaVNiUQ.js → Title-C__lOIPC.js} +1 -1
- package/dist/{Tooltip-Clf2K3CF.js → Tooltip-BOXz8skU.js} +1 -1
- package/dist/{UserOptions-Bn3u4JQu.js → UserOptions-DsTgvAok.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 +5 -0
- 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-CSg_eTqL.js → dom-to-png-BgvOdfyW.js} +1 -1
- package/dist/{img-CH7J0fYg.js → img-DjWwQXVS.js} +1 -1
- package/dist/{lib-p5pfHmOX.js → lib-BEpWEyMm.js} +351 -368
- package/dist/{pdf-Wd2BQz4D.js → pdf-YD0ShN36.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +24 -3
- package/dist/{useAutoSizeLabelsInsideViewbox-VqESrzQg.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
- package/dist/{useNestedProp-7BbqoAYu.js → useNestedProp-CLD3Gk9S.js} +24 -7
- package/dist/{usePrinter-Yeu5jOfm.js → usePrinter-w23K-ezx.js} +2 -2
- package/dist/{vue-data-ui-DyqIdFbp.js → vue-data-ui-hSWsJzdK.js} +64 -64
- package/dist/vue-data-ui.js +96 -96
- package/dist/{vue-ui-3d-bar-BrlJjJDI.js → vue-ui-3d-bar-B45AYk-O.js} +6 -6
- package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
- package/dist/{vue-ui-age-pyramid-BDIMacvP.js → vue-ui-age-pyramid-CJ66TbYc.js} +6 -6
- package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
- package/dist/{vue-ui-bullet-CIJw4kXd.js → vue-ui-bullet-D_V1l1Jt.js} +15 -15
- package/dist/{vue-ui-candlestick-ZjLiyYpC.js → vue-ui-candlestick-DrkWrGT2.js} +33 -33
- package/dist/{vue-ui-carousel-table-_-qalKHa.js → vue-ui-carousel-table-0zk2YkV7.js} +4 -4
- package/dist/{vue-ui-chestnut-XkX5ANAN.js → vue-ui-chestnut-CAGkS9Lt.js} +33 -33
- package/dist/{vue-ui-chord-B1vFXFgp.js → vue-ui-chord-CHAaUGaZ.js} +54 -54
- package/dist/{vue-ui-circle-pack-8J10Q6-I.js → vue-ui-circle-pack-CBySiQot.js} +31 -31
- package/dist/{vue-ui-cursor-CQp6B13J.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
- package/dist/{vue-ui-dashboard-CTEYSHVA.js → vue-ui-dashboard-BAOd1hi1.js} +69 -69
- package/dist/{vue-ui-digits-B4aZJw8I.js → vue-ui-digits-ChAz3jSS.js} +2 -2
- package/dist/{vue-ui-donut-d_XvnIQB.js → vue-ui-donut-BgYaWImK.js} +8 -8
- package/dist/{vue-ui-donut-evolution-Bz7fLQru.js → vue-ui-donut-evolution-UWyvIsbE.js} +55 -55
- package/dist/{vue-ui-dumbbell-fDl24oQq.js → vue-ui-dumbbell-B5IHRXdS.js} +7 -7
- package/dist/{vue-ui-flow-NYnnPoDX.js → vue-ui-flow-DB4sLZG4.js} +63 -63
- package/dist/{vue-ui-funnel-BWPIKyW8.js → vue-ui-funnel-COZLSfZ8.js} +37 -37
- package/dist/{vue-ui-galaxy-LabscC7n.js → vue-ui-galaxy-S8pIdU78.js} +46 -46
- package/dist/{vue-ui-gauge-DXETakZJ.js → vue-ui-gauge-BVaE3IZt.js} +59 -59
- package/dist/{vue-ui-gizmo-DZgMzP_e.js → vue-ui-gizmo-BmJ01zdG.js} +3 -3
- package/dist/{vue-ui-heatmap-C6Z5wEkZ.js → vue-ui-heatmap-DiAryN8L.js} +8 -8
- package/dist/{vue-ui-history-plot-CUGzhcjr.js → vue-ui-history-plot-eeYk4C28.js} +44 -44
- package/dist/{vue-ui-kpi-DklTxULP.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
- package/dist/{vue-ui-mini-loader-D22vfM5g.js → vue-ui-mini-loader-CKMzFSG5.js} +5 -5
- package/dist/{vue-ui-molecule-BAH7NOZP.js → vue-ui-molecule-daI3rmbc.js} +6 -6
- package/dist/{vue-ui-mood-radar-DWZKM2u0.js → vue-ui-mood-radar-CawOBU0s.js} +7 -7
- package/dist/{vue-ui-nested-donuts-CxUSyTrT.js → vue-ui-nested-donuts-Ci7qxsh6.js} +70 -70
- package/dist/{vue-ui-onion-BfzkGOmQ.js → vue-ui-onion-CUkVuewC.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-Dnl2GBps.js → vue-ui-parallel-coordinate-plot-D7UkjkUV.js} +35 -35
- package/dist/{vue-ui-quadrant-C_3l8xWm.js → vue-ui-quadrant-B9VZz5d6.js} +8 -8
- package/dist/{vue-ui-quick-chart-E6QujRg4.js → vue-ui-quick-chart-BQgH4Aap.js} +55 -55
- package/dist/{vue-ui-radar-C_yLoJvR.js → vue-ui-radar-DvZ8XcZC.js} +54 -54
- package/dist/{vue-ui-rating-Df02iNbL.js → vue-ui-rating-C0Ubexdn.js} +2 -2
- package/dist/{vue-ui-relation-circle-CBIXCwQb.js → vue-ui-relation-circle-Bal5QL_Z.js} +28 -28
- package/dist/{vue-ui-ridgeline-euhLcVI0.js → vue-ui-ridgeline-DbRZFJcN.js} +27 -27
- package/dist/{vue-ui-rings-BGxjmMDw.js → vue-ui-rings-BJ_Dmy5i.js} +38 -38
- package/dist/{vue-ui-scatter-CO4kXKZF.js → vue-ui-scatter-bljL9Bav.js} +50 -50
- package/dist/{vue-ui-skeleton-DrCI1AAl.js → vue-ui-skeleton-DZPi12tE.js} +3 -3
- package/dist/{vue-ui-smiley-FPLXOxew.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
- package/dist/{vue-ui-spark-trend-D4dDN0Sc.js → vue-ui-spark-trend-CqMF642_.js} +22 -22
- package/dist/{vue-ui-sparkbar-BEXrQvP0.js → vue-ui-sparkbar-BcyaivMe.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Cp4-BTZu.js → vue-ui-sparkgauge-BkIUpzkZ.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BwmKv4YF.js → vue-ui-sparkhistogram-DnPdJk3e.js} +4 -4
- package/dist/{vue-ui-sparkline-BXZJ-fUn.js → vue-ui-sparkline-F7h636hU.js} +29 -29
- package/dist/{vue-ui-sparkstackbar-Cie2g7gk.js → vue-ui-sparkstackbar-B-Du5D3w.js} +3 -3
- package/dist/{vue-ui-stackbar-B137wy4q.js → vue-ui-stackbar-BNOfLkY2.js} +38 -38
- package/dist/{vue-ui-strip-plot-Dd1aHpFW.js → vue-ui-strip-plot-DNPM01M_.js} +7 -7
- package/dist/{vue-ui-table-CduckNVX.js → vue-ui-table-__ABUm9x.js} +196 -156
- package/dist/{vue-ui-table-heatmap-DZAkUjty.js → vue-ui-table-heatmap-D-iueyM0.js} +14 -14
- package/dist/{vue-ui-table-sparkline-D6oTAFEO.js → vue-ui-table-sparkline-B5QdvlV7.js} +5 -5
- package/dist/{vue-ui-thermometer-BmK3_O7T.js → vue-ui-thermometer-DID_4Y6w.js} +10 -10
- package/dist/{vue-ui-timer-BYw6Z01O.js → vue-ui-timer-CjJmpXoF.js} +27 -27
- package/dist/{vue-ui-tiremarks-CWiME7zn.js → vue-ui-tiremarks-wDKOTVny.js} +6 -6
- package/dist/{vue-ui-treemap-D8PmfJbw.js → vue-ui-treemap-DFo4w0cb.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DRC047BC.js → vue-ui-vertical-bar-BEdckhBh.js} +31 -31
- package/dist/{vue-ui-waffle-DAaBoyx4.js → vue-ui-waffle-D5i1Q6tF.js} +75 -75
- package/dist/vue-ui-wheel-DJlN8joO.js +620 -0
- package/dist/{vue-ui-word-cloud-ByKWZtkV.js → vue-ui-word-cloud-B7Y2UrwO.js} +29 -29
- package/dist/{vue-ui-world-BezpUr_Q.js → vue-ui-world-DzF8YW_Q.js} +6 -6
- package/dist/{vue-ui-xy-DlcJVA22.js → vue-ui-xy-DGln2YgO.js} +900 -822
- package/dist/{vue-ui-xy-canvas-DPfxdanR.js → vue-ui-xy-canvas-DF2Ts-g3.js} +10 -10
- package/package.json +3 -3
- package/dist/ColorPicker-gaAecgEC.js +0 -135
- package/dist/vue-ui-accordion-BSrtaPYx.js +0 -76
- package/dist/vue-ui-annotator-DGVlVhhy.js +0 -2182
- package/dist/vue-ui-wheel-DfNXrsTY.js +0 -587
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineAsyncComponent as se, computed as F, ref as M, toRefs as il, watch as Be, shallowRef as Lt, onMounted as rl, onBeforeUnmount as vl, createElementBlock as y, openBlock as r, unref as c, normalizeStyle as ne, normalizeClass as Bt, createBlock as le, createCommentVNode as x, createElementVNode as w, createVNode as $e, createSlots as Tt, withCtx as X, renderSlot as j, normalizeProps as pe, guardReactiveProps as fe, Fragment as Z, renderList as K, toDisplayString as q, Teleport as yl, resolveDynamicComponent as cl, mergeProps as dl, createTextVNode as zt, nextTick as hl } from "vue";
|
|
2
|
-
import { c as pl, t as fl, b as gl, p as ye, o as Pt, f as Je, e as ml, g as Ot,
|
|
2
|
+
import { c as pl, t as fl, b as gl, p as ye, o as Pt, f as Je, e as ml, g as Ot, W as xl, h as Ke, Z as bl, U as kl, s as Te, X as wl, Y as _l, a as ue, q as G, d as Q, x as $l, y as Ml, z as Cl, A as Al } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as Sl, u as Ll } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Bl, a as Dt } from "./useNestedProp-
|
|
4
|
+
import { u as Bl, a as Dt } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as Tl, B as zl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as Pl } from "./usePrinter-
|
|
6
|
+
import { u as Pl } from "./usePrinter-w23K-ezx.js";
|
|
7
7
|
import { u as Ol } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Dl } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { t as El } from "./themes-D3cUNuKw.js";
|
|
10
|
-
import Fl from "./Legend-
|
|
11
|
-
import Wl from "./Title-
|
|
12
|
-
import { _ as Qe } from "./Shape-
|
|
13
|
-
import Nl from "./img-
|
|
10
|
+
import Fl from "./Legend-BpoFJ8fc.js";
|
|
11
|
+
import Wl from "./Title-C__lOIPC.js";
|
|
12
|
+
import { _ as Qe } from "./Shape-C_C_OmqR.js";
|
|
13
|
+
import Nl from "./img-DjWwQXVS.js";
|
|
14
14
|
import { _ as Il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "height"],
|
|
15
|
+
const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "height"], Ul = { key: 1 }, Vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ql = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gl = { key: 2 }, Hl = ["id"], Zl = ["stop-color"], Jl = ["stop-color"], Kl = ["id"], Ql = ["stop-color"], ea = ["stop-color"], ta = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], la = ["x", "y", "width", "height", "onMouseenter"], aa = {
|
|
16
16
|
key: 2,
|
|
17
17
|
style: { "pointer-events": "none" }
|
|
18
18
|
}, oa = ["x", "y", "width", "height", "fill", "fill-opacity"], sa = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], na = ["x1", "x2", "y2", "stroke", "stroke-dasharray", "stroke-width"], ua = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], ia = ["x", "y", "width", "height", "onMouseenter"], ra = {
|
|
@@ -30,7 +30,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
30
30
|
}, Sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], La = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ba = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Ta = ["x", "y", "font-size", "fill", "font-weight"], za = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Pa = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Oa = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Da = ["id", "transform", "font-size", "font-weight", "fill"], Ea = ["font-size", "fill", "transform"], Fa = ["transform", "font-size", "fill"], Wa = ["x", "y", "font-size", "fill"], Na = ["x", "y", "font-size", "fill"], Ia = ["font-size", "font-weight", "fill", "x", "y"], Xa = ["id"], Ya = ["x", "y", "width", "height"], Ra = {
|
|
31
31
|
key: 11,
|
|
32
32
|
style: { pointerEvents: "none" }
|
|
33
|
-
}, ja = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"],
|
|
33
|
+
}, ja = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Ua = ["x", "y", "fill", "font-size", "font-weight"], Va = {
|
|
34
34
|
key: 4,
|
|
35
35
|
class: "vue-data-ui-watermark"
|
|
36
36
|
}, qa = ["id"], Ga = ["onClick"], Ha = {
|
|
@@ -58,7 +58,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
setup(Et, { expose: Ft }) {
|
|
61
|
-
const Wt = se(() => import("./Tooltip-
|
|
61
|
+
const Wt = se(() => import("./Tooltip-BOXz8skU.js")), Nt = se(() => import("./BaseIcon-Bz-1GQhu.js")), It = se(() => import("./vue-ui-accordion-Cv7OaVUI.js")), Xt = se(() => import("./DataTable-BvjacRbw.js")), Yt = se(() => import("./PenAndPaper-CR8q353D.js")), Rt = se(() => import("./UserOptions-DsTgvAok.js")), jt = se(() => import("./PackageVersion-oBQ8brnx.js")), Ut = se(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_scatter: Vt } = Bl(), ee = Et, et = F(() => !!ee.dataset && ee.dataset.length), W = M(pl()), ze = M(!1), Pe = 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), Oe = M(null), De = M(null), qt = M(null), Gt = M(null), Ee = M(null), e = M(Xe());
|
|
62
62
|
function Ht(l = 100, s = 0.8, t = {}) {
|
|
63
63
|
const { meanX: o = 0, sdX: a = 1, meanY: u = 0, sdY: i = 1, seed: p } = t;
|
|
64
64
|
let v = (p ?? Math.floor(Math.random() * 2 ** 31)) >>> 0;
|
|
@@ -70,7 +70,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
70
70
|
}, d = l / 2, $ = Array.from({ length: d }, L), P = Array.from({ length: d }, L), C = (m) => m.reduce((O, _e) => O + _e, 0) / m.length, T = C($), I = C(P);
|
|
71
71
|
for (let m = 0; m < d; m += 1)
|
|
72
72
|
$[m] -= T, P[m] -= I;
|
|
73
|
-
const B = (m, O) => m.reduce((_e, Le, Ze) => _e + Le * O[Ze], 0), _ = (m) => B(m, m), h = B(P, $) / _($), S = P.map((m, O) => m - h * $[O]),
|
|
73
|
+
const B = (m, O) => m.reduce((_e, Le, Ze) => _e + Le * O[Ze], 0), _ = (m) => B(m, m), h = B(P, $) / _($), S = P.map((m, O) => m - h * $[O]), V = _($) / d, J = _(S) / d, oe = Math.sqrt((1 - s * s) * V / J), R = $.map((m, O) => s * m + oe * S[O]), ve = $.concat($.map((m) => -m)), He = R.concat(R.map((m) => -m)), ke = (m) => Math.sqrt(_(m) / m.length), de = (m, O, _e) => {
|
|
74
74
|
const Le = ke(m);
|
|
75
75
|
return m.map((Ze) => _e + (Le ? Ze / Le * O : 0));
|
|
76
76
|
}, he = de(ve, a, o), we = de(He, i, u);
|
|
@@ -128,7 +128,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
128
128
|
function Xe() {
|
|
129
129
|
const l = Dt({
|
|
130
130
|
userConfig: ee.config,
|
|
131
|
-
defaultConfig:
|
|
131
|
+
defaultConfig: Vt
|
|
132
132
|
});
|
|
133
133
|
return l.theme ? {
|
|
134
134
|
...Dt({
|
|
@@ -274,7 +274,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
274
274
|
id: `plot_${W.value}_${Math.random()}`,
|
|
275
275
|
weight: t.weight ?? e.value.style.layout.plots.radius
|
|
276
276
|
}))
|
|
277
|
-
})).filter((l) => !N.value.includes(l.id))),
|
|
277
|
+
})).filter((l) => !N.value.includes(l.id))), U = F(() => {
|
|
278
278
|
const s = ({ m: t, b: o, rect: a, verticalX: u = null }) => {
|
|
279
279
|
const { left: i, right: p, top: v, bottom: g } = a, L = [], d = (_, h) => {
|
|
280
280
|
Number.isFinite(_) && Number.isFinite(h) && L.push({ x: _, y: h });
|
|
@@ -287,7 +287,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
287
287
|
let T = C[0], I = C[1], B = 0;
|
|
288
288
|
for (let _ = 0; _ < C.length; _ += 1)
|
|
289
289
|
for (let h = _ + 1; h < C.length; h += 1) {
|
|
290
|
-
const S = C[_].x - C[h].x,
|
|
290
|
+
const S = C[_].x - C[h].x, V = C[_].y - C[h].y, J = S * S + V * V;
|
|
291
291
|
J > B && (B = J, T = C[_], I = C[h]);
|
|
292
292
|
}
|
|
293
293
|
return { x1: T.x, y1: T.y, x2: I.x, y2: I.y };
|
|
@@ -296,8 +296,8 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
296
296
|
const o = t.plots.length, a = t.plots.reduce((h, S) => h + S.x, 0) / o, u = t.plots.reduce((h, S) => h + S.y, 0) / o;
|
|
297
297
|
let i = 0, p = 0;
|
|
298
298
|
for (const h of t.plots) {
|
|
299
|
-
const S = h.x - a,
|
|
300
|
-
i += S *
|
|
299
|
+
const S = h.x - a, V = h.y - u;
|
|
300
|
+
i += S * V, p += S * S;
|
|
301
301
|
}
|
|
302
302
|
let v, g, L = null;
|
|
303
303
|
p < 1e-9 ? (L = a, v = 1 / 0, g = null) : (v = i / p, g = u - v * a);
|
|
@@ -308,13 +308,13 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
308
308
|
if (o >= 2) {
|
|
309
309
|
let h = 0, S = 0;
|
|
310
310
|
P ? (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);
|
|
311
|
-
let
|
|
311
|
+
let V = 0, J = 0, oe = 0;
|
|
312
312
|
for (const R of t.plots) {
|
|
313
313
|
const ve = P ? R.v.x : R.x, He = P ? R.v.y : -R.y, ke = ve - h, de = He - S;
|
|
314
|
-
|
|
314
|
+
V += ke * de, J += ke * ke, oe += de * de;
|
|
315
315
|
}
|
|
316
316
|
if (J >= 1e-9 && oe >= 1e-9) {
|
|
317
|
-
const R =
|
|
317
|
+
const R = V / Math.sqrt(J * oe);
|
|
318
318
|
C = Math.max(-1, Math.min(1, R));
|
|
319
319
|
}
|
|
320
320
|
}
|
|
@@ -341,9 +341,9 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
341
341
|
},
|
|
342
342
|
label: _,
|
|
343
343
|
plots: t.plots.map((h) => {
|
|
344
|
-
let S,
|
|
345
|
-
L !== null ? (S = L,
|
|
346
|
-
const J = h.x - S, oe = h.y -
|
|
344
|
+
let S, V;
|
|
345
|
+
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));
|
|
346
|
+
const J = h.x - S, oe = h.y - V, R = Math.sqrt(J * J + oe * oe);
|
|
347
347
|
return {
|
|
348
348
|
...h,
|
|
349
349
|
deviation: R,
|
|
@@ -353,9 +353,9 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
353
353
|
})
|
|
354
354
|
};
|
|
355
355
|
});
|
|
356
|
-
}), bt = F(() => Math.max(...
|
|
356
|
+
}), bt = F(() => Math.max(...U.value.flatMap((l) => l.plots.map((s) => Math.abs(s.deviation)))));
|
|
357
357
|
function Kt() {
|
|
358
|
-
return
|
|
358
|
+
return U.value;
|
|
359
359
|
}
|
|
360
360
|
function kt(l, s) {
|
|
361
361
|
const t = Array.isArray(l) ? l.flatMap((B) => B.plots.map((_) => ({
|
|
@@ -405,19 +405,19 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
405
405
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s }), Re.value = {
|
|
406
406
|
datapoint: l,
|
|
407
407
|
seriesIndex: s,
|
|
408
|
-
series:
|
|
408
|
+
series: U.value,
|
|
409
409
|
config: e.value
|
|
410
410
|
};
|
|
411
411
|
const o = e.value.style.tooltip.customFormat;
|
|
412
412
|
Cl(o) && Al(() => o({
|
|
413
413
|
datapoint: l,
|
|
414
414
|
seriesIndex: s,
|
|
415
|
-
series:
|
|
415
|
+
series: U.value,
|
|
416
416
|
config: e.value
|
|
417
417
|
})) ? Pe.value = o({
|
|
418
418
|
datapoint: l,
|
|
419
419
|
seriesIndex: s,
|
|
420
|
-
series:
|
|
420
|
+
series: U.value,
|
|
421
421
|
config: e.value
|
|
422
422
|
}) : (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) ? "-" : ue(
|
|
423
423
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
@@ -447,15 +447,15 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
447
447
|
function Ce(l, s) {
|
|
448
448
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s }), ze.value = !1, Y.value = void 0, f.value = null;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function Ue(l, s) {
|
|
451
451
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
|
|
452
452
|
}
|
|
453
453
|
function wt(l) {
|
|
454
454
|
N.value.includes(l) ? N.value = N.value.filter((s) => s !== l) : N.value.length < Fe.value.length - 1 && N.value.push(l);
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Ve(l = null) {
|
|
457
457
|
hl(() => {
|
|
458
|
-
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 =
|
|
458
|
+
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) => [
|
|
459
459
|
u.name,
|
|
460
460
|
u.correlation.coefficient,
|
|
461
461
|
u.plots.length,
|
|
@@ -472,7 +472,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
472
472
|
e.value.table.translations.nbrPlots,
|
|
473
473
|
`${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`,
|
|
474
474
|
`${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`
|
|
475
|
-
], s =
|
|
475
|
+
], s = U.value.map((o) => [
|
|
476
476
|
{
|
|
477
477
|
shape: o.shape,
|
|
478
478
|
content: o.name,
|
|
@@ -600,7 +600,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
600
600
|
const ol = F(() => {
|
|
601
601
|
if (!e.value.usePerformanceMode) return [""];
|
|
602
602
|
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;
|
|
603
|
-
return
|
|
603
|
+
return U.value.map((d) => {
|
|
604
604
|
const $ = [];
|
|
605
605
|
for (const C of d.plots) {
|
|
606
606
|
const T = C.x, I = C.y;
|
|
@@ -635,7 +635,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
635
635
|
if (!o) return;
|
|
636
636
|
const a = o.inverse(), u = t.matrixTransform(a), i = 8, p = i * i;
|
|
637
637
|
let v = null, g = 1 / 0, L = -1;
|
|
638
|
-
if (
|
|
638
|
+
if (U.value.forEach((d, $) => {
|
|
639
639
|
d.plots.forEach((P) => {
|
|
640
640
|
const C = P.x - u.x, T = P.y - u.y, I = C * C + T * T;
|
|
641
641
|
I <= p && I < g && (g = I, v = P, L = $);
|
|
@@ -658,14 +658,14 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
658
658
|
function ul(l) {
|
|
659
659
|
const s = f.value;
|
|
660
660
|
if (s) {
|
|
661
|
-
const t =
|
|
662
|
-
|
|
661
|
+
const t = U.value.findIndex((o) => o.id === s.clusterId);
|
|
662
|
+
Ue(s, t >= 0 ? t : 0);
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
const be = F(() => {
|
|
666
666
|
const l = e.value.table.useDialog && !e.value.table.show, s = H.value.showTable;
|
|
667
667
|
return {
|
|
668
|
-
component: l ?
|
|
668
|
+
component: l ? Ut : It,
|
|
669
669
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
670
670
|
props: l ? {
|
|
671
671
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -702,7 +702,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
702
702
|
getData: Kt,
|
|
703
703
|
getImage: el,
|
|
704
704
|
generatePdf: gt,
|
|
705
|
-
generateCsv:
|
|
705
|
+
generateCsv: Ve,
|
|
706
706
|
generateImage: mt,
|
|
707
707
|
toggleTable: $t,
|
|
708
708
|
toggleTooltip: Mt,
|
|
@@ -782,7 +782,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
782
782
|
tableDialog: e.value.table.useDialog,
|
|
783
783
|
onToggleFullscreen: _t,
|
|
784
784
|
onGeneratePdf: c(gt),
|
|
785
|
-
onGenerateCsv:
|
|
785
|
+
onGenerateCsv: Ve,
|
|
786
786
|
onGenerateImage: c(mt),
|
|
787
787
|
onToggleTable: $t,
|
|
788
788
|
onToggleTooltip: Mt,
|
|
@@ -870,7 +870,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
870
870
|
}, [
|
|
871
871
|
j(l.$slots, "chart-background", {}, void 0, !0)
|
|
872
872
|
], 8, jl)) : x("", !0),
|
|
873
|
-
e.value.style.layout.axis.show ? (r(), y("g",
|
|
873
|
+
e.value.style.layout.axis.show ? (r(), y("g", Ul, [
|
|
874
874
|
w("line", {
|
|
875
875
|
x1: E.value.x,
|
|
876
876
|
x2: E.value.x,
|
|
@@ -879,7 +879,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
879
879
|
stroke: e.value.style.layout.axis.stroke,
|
|
880
880
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
881
881
|
"stroke-linecap": "round"
|
|
882
|
-
}, null, 8,
|
|
882
|
+
}, null, 8, Vl),
|
|
883
883
|
w("line", {
|
|
884
884
|
x1: n.value.left,
|
|
885
885
|
x2: n.value.right,
|
|
@@ -1075,7 +1075,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
1075
1075
|
])) : x("", !0)
|
|
1076
1076
|
])) : x("", !0),
|
|
1077
1077
|
e.value.style.layout.plots.giftWrap.show ? (r(), y("g", ma, [
|
|
1078
|
-
(r(!0), y(Z, null, K(
|
|
1078
|
+
(r(!0), y(Z, null, K(U.value, (t, o) => (r(), y("g", null, [
|
|
1079
1079
|
t.plots.length > 2 ? (r(), y("polygon", {
|
|
1080
1080
|
key: 0,
|
|
1081
1081
|
points: c(_l)({ series: t.plots }),
|
|
@@ -1088,7 +1088,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
1088
1088
|
}, null, 8, xa)) : x("", !0)
|
|
1089
1089
|
]))), 256))
|
|
1090
1090
|
])) : x("", !0),
|
|
1091
|
-
e.value.usePerformanceMode ? x("", !0) : (r(!0), y(Z, { key: 4 }, K(
|
|
1091
|
+
e.value.usePerformanceMode ? x("", !0) : (r(!0), y(Z, { key: 4 }, K(U.value, (t, o) => (r(), y("g", null, [
|
|
1092
1092
|
!t.shape || t.shape === "circle" ? (r(), y("g", ba, [
|
|
1093
1093
|
(r(!0), y(Z, null, K(t.plots, (a, u) => (r(), y("circle", {
|
|
1094
1094
|
cx: a.x,
|
|
@@ -1100,7 +1100,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
1100
1100
|
style: ne(`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}`),
|
|
1101
1101
|
onMouseover: (i) => je(a, o),
|
|
1102
1102
|
onMouseleave: (i) => Ce(a, o),
|
|
1103
|
-
onClick: (i) =>
|
|
1103
|
+
onClick: (i) => Ue(a, o)
|
|
1104
1104
|
}, null, 44, ka))), 256))
|
|
1105
1105
|
])) : (r(), y("g", wa, [
|
|
1106
1106
|
(r(!0), y(Z, null, K(t.plots, (a, u) => (r(), le(Qe, {
|
|
@@ -1113,7 +1113,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
1113
1113
|
style: ne(`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}`),
|
|
1114
1114
|
onMouseover: (i) => je(a, o),
|
|
1115
1115
|
onMouseleave: (i) => Ce(a, o),
|
|
1116
|
-
onClick: (i) =>
|
|
1116
|
+
onClick: (i) => Ue(a, o)
|
|
1117
1117
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "style", "onMouseover", "onMouseleave", "onClick"]))), 256))
|
|
1118
1118
|
]))
|
|
1119
1119
|
]))), 256)),
|
|
@@ -1347,7 +1347,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
1347
1347
|
}, null, 8, Ya)
|
|
1348
1348
|
], 8, Xa),
|
|
1349
1349
|
e.value.style.layout.correlation.show ? (r(), y("g", Ra, [
|
|
1350
|
-
(r(!0), y(Z, null, K(
|
|
1350
|
+
(r(!0), y(Z, null, K(U.value, (t, o) => (r(), y("line", {
|
|
1351
1351
|
x1: t.correlation.x1,
|
|
1352
1352
|
x2: t.correlation.x2,
|
|
1353
1353
|
y1: t.correlation.y1,
|
|
@@ -1357,7 +1357,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
1357
1357
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
1358
1358
|
"clip-path": `url(#clip_path_${W.value})`
|
|
1359
1359
|
}, null, 8, ja))), 256)),
|
|
1360
|
-
(r(!0), y(Z, null, K(
|
|
1360
|
+
(r(!0), y(Z, null, K(U.value, (t, o) => (r(), y("g", null, [
|
|
1361
1361
|
e.value.style.layout.correlation.label.show ? (r(), y("text", {
|
|
1362
1362
|
key: 0,
|
|
1363
1363
|
x: t.correlation.x2,
|
|
@@ -1369,12 +1369,12 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
1369
1369
|
}, q(c(Q)({
|
|
1370
1370
|
v: c(G)(t.correlation.coefficient),
|
|
1371
1371
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
1372
|
-
})), 9,
|
|
1372
|
+
})), 9, Ua)) : x("", !0)
|
|
1373
1373
|
]))), 256))
|
|
1374
1374
|
])) : x("", !0),
|
|
1375
1375
|
j(l.$slots, "svg", { svg: D.value }, void 0, !0)
|
|
1376
1376
|
], 46, Rl)),
|
|
1377
|
-
l.$slots.watermark ? (r(), y("div",
|
|
1377
|
+
l.$slots.watermark ? (r(), y("div", Va, [
|
|
1378
1378
|
j(l.$slots, "watermark", pe(fe({ isPrinting: c(pt) || c(ft) })), void 0, !0)
|
|
1379
1379
|
])) : x("", !0),
|
|
1380
1380
|
w("div", {
|
|
@@ -1500,7 +1500,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
1500
1500
|
w("button", {
|
|
1501
1501
|
tabindex: "0",
|
|
1502
1502
|
class: "vue-ui-user-options-button",
|
|
1503
|
-
onClick: s[4] || (s[4] = (t) =>
|
|
1503
|
+
onClick: s[4] || (s[4] = (t) => Ve(e.value.userOptions.callbacks.csv))
|
|
1504
1504
|
}, [
|
|
1505
1505
|
$e(c(Nt), {
|
|
1506
1506
|
name: "excel",
|
|
@@ -1514,7 +1514,7 @@ const Xl = ["id"], Yl = ["id"], Rl = ["xmlns", "viewBox"], jl = ["width", "heigh
|
|
|
1514
1514
|
c(vt) ? (r(), le(zl, { key: 8 })) : x("", !0)
|
|
1515
1515
|
], 46, Xl));
|
|
1516
1516
|
}
|
|
1517
|
-
}, po = /* @__PURE__ */ Il(Qa, [["__scopeId", "data-v-
|
|
1517
|
+
}, po = /* @__PURE__ */ Il(Qa, [["__scopeId", "data-v-5097acd5"]]);
|
|
1518
1518
|
export {
|
|
1519
1519
|
po as default
|
|
1520
1520
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as w, computed as g, createElementBlock as e, openBlock as o, normalizeStyle as n, normalizeClass as N, createCommentVNode as a, unref as s, createVNode as d, createElementVNode as t, Fragment as k, renderList as h, createStaticVNode as $ } from "vue";
|
|
2
|
-
import { k as B, X as u, s as v, j as F } from "./lib-
|
|
3
|
-
import { u as O, a as V } from "./useNestedProp-
|
|
4
|
-
import y from "./PackageVersion-
|
|
2
|
+
import { k as B, X as u, s as v, j as F } from "./lib-BEpWEyMm.js";
|
|
3
|
+
import { u as O, a as V } from "./useNestedProp-CLD3Gk9S.js";
|
|
4
|
+
import y from "./PackageVersion-oBQ8brnx.js";
|
|
5
5
|
import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, U = ["d", "fill", "stroke"], Y = ["xmlns"], D = ["id"], J = ["stop-color"], K = ["stop-color"], l1 = ["stop-color"], t1 = ["stop-color"], e1 = ["fill", "stroke"], o1 = ["fill", "stroke"], s1 = ["fill", "stroke"], r1 = ["fill", "stroke"], i1 = ["fill", "stroke"], n1 = ["xmlns"], a1 = ["stroke"], u1 = ["stroke"], c1 = ["stroke"], d1 = ["fill", "stroke"], y1 = ["fill"], k1 = ["fill", "stroke"], h1 = ["fill"], v1 = ["fill", "stroke"], _1 = ["fill"], x1 = ["fill", "stroke"], p1 = ["fill"], g1 = ["fill", "stroke"], f1 = ["fill"], w1 = ["fill", "stroke"], C1 = ["fill"], m1 = ["xmlns"], b1 = ["stroke"], M1 = ["stroke"], L1 = ["stroke"], A1 = ["stroke"], $1 = ["stroke"], B1 = ["stroke"], P1 = ["stroke"], W1 = ["stroke"], j1 = ["stroke"], z1 = ["xmlns"], Z1 = ["stroke", "fill"], q1 = ["xmlns"], H1 = ["stroke", "fill"], Q1 = ["xmlns"], E1 = ["fill"], S1 = ["fill"], I1 = ["fill"], N1 = ["fill"], F1 = ["xmlns"], O1 = ["stroke"], V1 = ["fill"], X1 = ["stroke", "fill"], G1 = ["stroke", "fill"], R1 = ["fill"], T1 = ["stroke", "fill"], U1 = ["stroke", "fill"], Y1 = ["fill"], D1 = ["stroke", "fill"], J1 = ["stroke", "fill"], K1 = ["fill"], ll = ["stroke", "fill"], tl = ["stroke", "fill"], el = ["fill"], ol = ["stroke", "fill"], sl = ["stroke", "fill"], rl = ["xmlns"], il = ["stroke"], nl = ["stroke"], al = ["stroke", "fill"], ul = ["stroke", "fill"], cl = ["stroke", "fill"], dl = ["stroke", "fill"], yl = ["stroke", "fill"], kl = ["stroke", "fill"], hl = ["stroke", "fill"], vl = ["stroke", "fill"], _l = ["stroke", "fill"], xl = ["stroke", "fill"], pl = ["stroke", "fill"], gl = ["stroke", "fill"], fl = ["stroke", "fill"], wl = ["stroke", "fill"], Cl = ["stroke", "fill"], ml = ["stroke", "fill"], bl = ["stroke", "fill"], Ml = ["stroke", "fill"], Ll = ["stroke", "fill"], Al = ["stroke", "fill"], $l = ["stroke", "fill"], Bl = ["stroke", "fill"], Pl = ["stroke", "fill"], Wl = ["xmlns"], jl = ["stroke"], zl = ["xmlns"], Zl = ["stroke"], ql = ["xmlns"], Hl = ["stroke"], Ql = ["xmlns"], El = ["fill"], Sl = ["fill"], Il = ["fill"], Nl = ["fill"], Fl = ["fill"], Ol = ["fill"], Vl = ["fill"], Xl = ["fill"], Gl = ["fill"], Rl = ["fill"], Tl = ["fill"], Ul = ["fill"], Yl = ["xmlns"], Dl = ["stroke"], Jl = ["stroke"], Kl = ["stroke"], l0 = ["stroke"], t0 = ["stroke"], e0 = ["stroke"], o0 = ["xmlns"], s0 = ["stroke"], r0 = ["stroke"], i0 = ["stroke"], n0 = ["stroke"], a0 = ["stroke"], u0 = ["stroke"], c0 = ["stroke"], d0 = ["stroke"], y0 = ["stroke"], k0 = ["xmlns"], h0 = ["stroke"], v0 = ["xmlns"], _0 = ["stroke"], x0 = ["stroke"], p0 = ["stroke"], g0 = ["stroke"], f0 = ["stroke"], w0 = ["stroke"], C0 = ["stroke"], m0 = ["stroke"], b0 = ["stroke"], M0 = ["xmlns"], L0 = ["x1", "x2", "stroke"], A0 = ["xmlns"], $0 = ["x", "y", "width", "height", "fill"], B0 = ["y", "width", "height", "fill"], P0 = ["xmlns"], W0 = ["fill"], j0 = ["fill"], z0 = ["fill"], Z0 = ["xmlns"], q0 = ["x1", "x2", "y1", "y2", "stroke"], H0 = ["stroke"], Q0 = ["fill"], E0 = ["xmlns"], S0 = ["fill"], I0 = ["fill"], N0 = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], F0 = ["xmlns"], O0 = { key: 0 }, V0 = ["stroke", "stroke-width"], X0 = ["stroke", "stroke-width"], G0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], R0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], T0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], U0 = ["x", "y", "height", "width", "fill"], Y0 = ["xmlns", "viewBox"], D0 = ["x", "y", "stroke", "fill"], J0 = ["xmlns"], K0 = ["d", "stroke"], lt = ["cx", "cy", "r", "fill", "stroke"], tt = ["cx", "cy", "r", "fill", "stroke"], et = ["x", "y", "width", "fill"], ot = ["cx", "cy", "fill"], st = ["cx", "cy", "fill"], rt = ["stroke"], it = ["xmlns"], nt = ["stroke", "stroke-width"], at = ["stroke", "stroke-width"], ut = ["stroke", "stroke-width"], ct = ["fill"], dt = ["fill"], yt = ["fill"], kt = ["fill"], ht = ["fill"], vt = ["fill"], _t = ["xmlns"], xt = { key: 0 }, pt = ["stroke", "stroke-width"], gt = ["stroke", "stroke-width"], ft = ["stroke", "stroke-width"], wt = { key: 1 }, Ct = ["r", "fill"], mt = ["r", "fill"], bt = ["xmlns"], Mt = { key: 0 }, Lt = ["stroke", "stroke-width"], At = ["stroke", "stroke-width"], $t = ["fill", "rx", "x", "y", "width", "height"], Bt = ["xmlns"], Pt = ["stroke-width", "stroke"], Wt = ["stroke-width", "stroke"], jt = ["stroke-width", "stroke"], zt = ["xmlns"], Zt = ["stroke"], qt = ["stroke"], Ht = ["stroke"], Qt = ["stroke"], Et = ["fill"], St = ["stroke"], It = ["xmlns"], Nt = ["stroke", "stroke-width"], Ft = ["stroke", "stroke-width"], Ot = ["fill", "r"], Vt = ["fill", "r"], Xt = ["fill", "r"], Gt = ["fill", "r"], Rt = ["fill", "r"], Tt = ["fill", "r"], Ut = ["fill", "r"], Yt = ["fill", "r"], Dt = ["fill", "r"], Jt = ["xmlns"], Kt = ["d", "stroke", "stroke-width"], le = ["d", "stroke", "stroke-width"], te = ["d", "stroke", "stroke-width"], ee = ["d", "stroke", "stroke-width"], oe = ["stroke", "stroke-width"], se = ["stroke", "stroke-width"], re = ["stroke", "stroke-width"], ie = ["fill"], ne = ["fill"], ae = ["xmlns"], ue = ["x", "y", "fill"], ce = ["x", "y", "fill"], de = ["x", "y", "fill"], ye = ["xmlns"], ke = ["fill"], he = ["fill"], ve = ["y1", "y2", "stroke", "stroke-width"], _e = ["x1", "x2", "stroke", "stroke-width"], xe = ["xmlns", "stroke"], pe = ["fill"], ge = ["xmlns", "stroke"], fe = ["xmlns", "stroke"], we = ["fill"], Ce = ["xmlns", "stroke"], me = ["xmlns", "stroke"], be = ["fill"], Me = ["xmlns", "stroke"], Le = ["xmlns", "stroke"], Ae = ["fill"], $e = ["xmlns", "stroke"], Be = ["xmlns", "stroke"], Pe = ["fill"], We = ["xmlns", "stroke"], je = ["xmlns"], ze = ["points", "fill", "stroke", "stroke-width"], Ze = ["xmlns"], qe = { key: 0 }, He = ["stroke", "stroke-width"], Qe = ["y", "width", "fill", "rx"], Ee = {
|
|
7
7
|
__name: "vue-ui-skeleton",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSlots as E, onMounted as G, ref as R, computed as _, watch as T, createElementBlock as s, openBlock as i, normalizeStyle as a, createCommentVNode as d, createElementVNode as l, toDisplayString as c, unref as o, withKeys as z, normalizeClass as M, createTextVNode as S, createStaticVNode as $ } from "vue";
|
|
2
|
-
import { o as P, f as q, a as x, d as b, X as f, i as k } from "./lib-
|
|
3
|
-
import { u as J, a as Q } from "./useNestedProp-
|
|
2
|
+
import { o as P, f as q, a as x, d as b, X as f, i as k } from "./lib-BEpWEyMm.js";
|
|
3
|
+
import { u as J, a as Q } from "./useNestedProp-CLD3Gk9S.js";
|
|
4
4
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const Z = {
|
|
6
6
|
key: 0,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as ce, ref as f, toRefs as he, computed as u, watch as G, nextTick as J, onMounted as ye, createElementBlock as r, openBlock as o, normalizeStyle as pe, createCommentVNode as h, createBlock as ge, unref as i, createVNode as me, createElementVNode as z, renderSlot as K, toDisplayString as Q } from "vue";
|
|
2
|
-
import { c as ke, t as be,
|
|
2
|
+
import { c as ke, t as be, _ as Y, o as R, f as _e, q as x, $ as we, X as xe, s as Z, U as ee, d as te, a as $e } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as Le, u as Ce } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ae, a as le } from "./useNestedProp-
|
|
4
|
+
import { u as Ae, a as le } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as Te, B as Ne } from "./BaseScanner-BgWxam9d.js";
|
|
6
6
|
import { u as Se } from "./useFitSvgText-2crs6Fv5.js";
|
|
7
7
|
import { t as ze } from "./themes-D3cUNuKw.js";
|
|
8
8
|
import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["id"], Be = ["stop-color"], Ve = ["stop-color"], De = { key: 1 }, Oe = ["d", "fill"], Ge = ["d", "fill"], Re = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"],
|
|
9
|
+
const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["id"], Be = ["stop-color"], Ve = ["stop-color"], De = { key: 1 }, Oe = ["d", "fill"], Ge = ["d", "fill"], Re = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Ze = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], Ue = ["d"], We = ["fill", "d"], qe = ["x", "y", "width", "height"], He = ["x", "y", "fill", "font-size", "font-weight"], Pe = ["stroke", "cx", "cy", "fill"], Xe = ["x", "y", "font-size", "fill", "font-weight"], Je = {
|
|
10
10
|
__name: "vue-ui-spark-trend",
|
|
11
11
|
props: {
|
|
12
12
|
config: {
|
|
@@ -23,7 +23,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
setup(ae) {
|
|
26
|
-
const ne = ce(() => import("./PackageVersion-
|
|
26
|
+
const ne = ce(() => import("./PackageVersion-oBQ8brnx.js")), { vue_ui_spark_trend: ue } = Ae(), m = ae, F = f(null), U = f(null), W = f(null), $ = f(null), C = f(null), A = f(!1), y = f(null), L = f(ke()), e = f(j()), { loading: _, FINAL_DATASET: M, manualLoading: I } = Te({
|
|
27
27
|
...he(m),
|
|
28
28
|
FINAL_CONFIG: e,
|
|
29
29
|
prepareConfig: j,
|
|
@@ -60,7 +60,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
60
60
|
threshold: e.value.downsample.threshold
|
|
61
61
|
}));
|
|
62
62
|
G(() => m.config, (t) => {
|
|
63
|
-
e.value = j(), V.value = e.value.style.width, w.value = e.value.style.height,
|
|
63
|
+
e.value = j(), V.value = e.value.style.width, w.value = e.value.style.height, q();
|
|
64
64
|
}, { deep: !0 });
|
|
65
65
|
function E(t) {
|
|
66
66
|
return t.map((l) => x(l));
|
|
@@ -96,10 +96,10 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
ye(() => {
|
|
99
|
-
|
|
99
|
+
q();
|
|
100
100
|
});
|
|
101
101
|
const se = u(() => e.value.debug);
|
|
102
|
-
function
|
|
102
|
+
function q() {
|
|
103
103
|
if (R(m.dataset) && (_e({
|
|
104
104
|
componentName: "VueUiSparkTrend",
|
|
105
105
|
type: "dataset",
|
|
@@ -108,7 +108,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
108
108
|
const t = Le(() => {
|
|
109
109
|
const { width: l, height: s } = Ce({
|
|
110
110
|
chart: F.value,
|
|
111
|
-
source:
|
|
111
|
+
source: W.value
|
|
112
112
|
});
|
|
113
113
|
requestAnimationFrame(() => {
|
|
114
114
|
V.value = l, w.value = s;
|
|
@@ -150,7 +150,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
150
150
|
const t = D.value.min >= 0 ? 0 : D.value.min;
|
|
151
151
|
return Math.abs(t);
|
|
152
152
|
}), re = u(() => D.value.max + T.value);
|
|
153
|
-
function
|
|
153
|
+
function H(t) {
|
|
154
154
|
return t / re.value;
|
|
155
155
|
}
|
|
156
156
|
const ie = u(() => p.value.length), a = u(() => b.value.map((t, l) => {
|
|
@@ -159,9 +159,9 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
159
159
|
value: x(t),
|
|
160
160
|
absoluteValue: x(s),
|
|
161
161
|
plotValue: x(s + T.value),
|
|
162
|
-
toMax:
|
|
162
|
+
toMax: H(s + T.value),
|
|
163
163
|
x: n.value.left + x(l * (n.value.width / (ie.value - 1))) - e.value.style.padding.right,
|
|
164
|
-
y: n.value.bottom - x(n.value.height *
|
|
164
|
+
y: n.value.bottom - x(n.value.height * H(s + T.value))
|
|
165
165
|
};
|
|
166
166
|
})), N = u(() => {
|
|
167
167
|
const t = E(p.value);
|
|
@@ -177,7 +177,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
177
177
|
t.push(`${l.x},${l.y} `);
|
|
178
178
|
}), `M ${t.toString()}`;
|
|
179
179
|
}), d = u(() => w.value / 2 - e.value.style.trendLabel.fontSize), fe = u(() => n.value.left * 0.8), { fitText: S } = Se({
|
|
180
|
-
svgRef:
|
|
180
|
+
svgRef: U,
|
|
181
181
|
unitWidth: fe,
|
|
182
182
|
fontSize: e.value.style.trendLabel.fontSize
|
|
183
183
|
});
|
|
@@ -191,7 +191,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
191
191
|
(o(), r("svg", {
|
|
192
192
|
key: oe.value,
|
|
193
193
|
ref_key: "svgRef",
|
|
194
|
-
ref:
|
|
194
|
+
ref: U,
|
|
195
195
|
xmlns: i(xe),
|
|
196
196
|
viewBox: `0 0 ${v.value.width} ${v.value.height}`,
|
|
197
197
|
style: "width:100%;background:transparent;overflow:visible"
|
|
@@ -219,7 +219,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
219
219
|
}, [
|
|
220
220
|
z("stop", {
|
|
221
221
|
offset: "0%",
|
|
222
|
-
"stop-color": i(
|
|
222
|
+
"stop-color": i(Z)(e.value.style.line.useColorTrend ? g.value : e.value.style.line.stroke, e.value.style.area.opacity)
|
|
223
223
|
}, null, 8, Be),
|
|
224
224
|
z("stop", {
|
|
225
225
|
offset: "100%",
|
|
@@ -231,12 +231,12 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
231
231
|
e.value.style.line.smooth ? (o(), r("path", {
|
|
232
232
|
key: 0,
|
|
233
233
|
d: `M ${a.value[0].x},${n.value.bottom} ${i(ee)(a.value)} L ${a.value.at(-1).x},${n.value.bottom} Z`,
|
|
234
|
-
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${L.value})` : i(
|
|
234
|
+
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${L.value})` : i(Z)(e.value.style.line.useColorTrend ? g.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
235
235
|
stroke: "none"
|
|
236
236
|
}, null, 8, Oe)) : (o(), r("path", {
|
|
237
237
|
key: 1,
|
|
238
238
|
d: `M${ve.value}Z`,
|
|
239
|
-
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${L.value})` : i(
|
|
239
|
+
fill: e.value.style.area.useGradient ? `url(#pill_gradient_${L.value})` : i(Z)(e.value.style.line.useColorTrend ? g.value : e.value.style.line.stroke, e.value.style.area.opacity),
|
|
240
240
|
stroke: "none"
|
|
241
241
|
}, null, 8, Ge))
|
|
242
242
|
])) : h("", !0),
|
|
@@ -257,16 +257,16 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
257
257
|
"stroke-width": e.value.style.line.strokeWidth,
|
|
258
258
|
"stroke-linecap": e.value.style.line.strokeLinecap,
|
|
259
259
|
"stroke-linejoin": e.value.style.line.strokeLinejoin
|
|
260
|
-
}, null, 8,
|
|
260
|
+
}, null, 8, Ze)) : h("", !0),
|
|
261
261
|
i(_) ? (o(), r("path", {
|
|
262
262
|
key: 4,
|
|
263
263
|
fill: "#6A6A6A",
|
|
264
264
|
d: `M ${n.value.left / 2 + 6}, ${d.value + 7} ${n.value.left / 2 - 7}, ${d.value} ${n.value.left / 2 - 7}, ${d.value + 14} Z`
|
|
265
|
-
}, null, 8,
|
|
265
|
+
}, null, 8, Ue)) : (o(), r("path", {
|
|
266
266
|
key: 5,
|
|
267
267
|
fill: g.value,
|
|
268
268
|
d: O.value === "positive" ? `M ${n.value.left / 2}, ${d.value} ${n.value.left / 2 - 7}, ${d.value + 12} ${n.value.left / 2 + 7}, ${d.value + 12} Z` : O.value === "negative" ? `M ${n.value.left / 2}, ${d.value + 12} ${n.value.left / 2 - 7}, ${d.value} ${n.value.left / 2 + 7}, ${d.value} Z` : `M ${n.value.left / 2 + 6}, ${d.value + 7} ${n.value.left / 2 - 7}, ${d.value} ${n.value.left / 2 - 7}, ${d.value + 14} Z`
|
|
269
|
-
}, null, 8,
|
|
269
|
+
}, null, 8, We)),
|
|
270
270
|
i(_) ? (o(), r("rect", {
|
|
271
271
|
key: 6,
|
|
272
272
|
x: n.value.left / 2 - e.value.style.trendLabel.fontSize - 2,
|
|
@@ -275,7 +275,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
275
275
|
height: e.value.style.trendLabel.fontSize,
|
|
276
276
|
fill: "#6A6A6A80",
|
|
277
277
|
rx: "3"
|
|
278
|
-
}, null, 8,
|
|
278
|
+
}, null, 8, qe)) : h("", !0),
|
|
279
279
|
!A.value && !i(_) ? (o(), r("text", {
|
|
280
280
|
key: 7,
|
|
281
281
|
class: "vue-ui-sparktrend-progress-label",
|
|
@@ -290,7 +290,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
290
290
|
v: N.value,
|
|
291
291
|
s: "%",
|
|
292
292
|
r: e.value.style.trendLabel.rounding
|
|
293
|
-
})), 9,
|
|
293
|
+
})), 9, He)) : h("", !0),
|
|
294
294
|
a.value.length && a.value.at(-1).x !== void 0 ? (o(), r("circle", {
|
|
295
295
|
key: 8,
|
|
296
296
|
stroke: e.value.style.backgroundColor,
|
|
@@ -323,7 +323,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
|
|
|
323
323
|
t.$slots.source ? (o(), r("div", {
|
|
324
324
|
key: 0,
|
|
325
325
|
ref_key: "source",
|
|
326
|
-
ref:
|
|
326
|
+
ref: W,
|
|
327
327
|
dir: "auto"
|
|
328
328
|
}, [
|
|
329
329
|
K(t.$slots, "source", {}, void 0, !0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as Z, useSlots as ee, onMounted as F, ref as x, toRefs as te, computed as w, watch as B, nextTick as le, createElementBlock as i, openBlock as n, normalizeStyle as d, unref as a, renderSlot as $, createCommentVNode as p, createBlock as ae, normalizeProps as oe, mergeProps as E, createElementVNode as v, toDisplayString as y, Fragment as M, renderList as se, createVNode as ne } from "vue";
|
|
2
|
-
import { c as ue, t as ie, b as re, p as _, e as ve, o as ce, f as P, g as de, h as pe, s as D, a as C, d as A, X as fe, i as ye } from "./lib-
|
|
3
|
-
import { u as ge, a as V } from "./useNestedProp-
|
|
2
|
+
import { c as ue, t as ie, b as re, p as _, e as ve, o as ce, f as P, g as de, h as pe, s as D, a as C, d as A, X as fe, i as ye } from "./lib-BEpWEyMm.js";
|
|
3
|
+
import { u as ge, a as V } from "./useNestedProp-CLD3Gk9S.js";
|
|
4
4
|
import { t as me } from "./themes-D3cUNuKw.js";
|
|
5
5
|
import { u as he, B as xe } from "./BaseScanner-BgWxam9d.js";
|
|
6
6
|
const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["xmlns", "viewBox"], _e = ["id"], Ce = ["stop-color"], Ae = ["stop-color"], Se = ["height", "width", "fill", "rx"], $e = ["height", "width", "fill", "rx"], De = ["height", "width", "fill", "rx"], Ie = {
|
|
@@ -32,7 +32,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectDatapoint"],
|
|
34
34
|
setup(O, { emit: j }) {
|
|
35
|
-
const U = Z(() => import("./PackageVersion-
|
|
35
|
+
const U = Z(() => import("./PackageVersion-oBQ8brnx.js")), { vue_ui_sparkbar: R } = ge(), f = O, W = ee();
|
|
36
36
|
F(() => {
|
|
37
37
|
W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
38
38
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as T, ref as b, toRefs as U, onMounted as N, computed as s, watch as M, createElementBlock as r, openBlock as u, normalizeStyle as g, createCommentVNode as d, createBlock as q, toDisplayString as k, unref as i, createVNode as P, createElementVNode as m, renderSlot as F, normalizeClass as V } from "vue";
|
|
2
|
-
import { u as X, a as B } from "./useNestedProp-
|
|
3
|
-
import { c as Y, t as H, o as J, f as E, g as K,
|
|
2
|
+
import { u as X, a as B } from "./useNestedProp-CLD3Gk9S.js";
|
|
3
|
+
import { c as Y, t as H, o as J, f as E, g as K, a0 as Q, X as W, a as Z, q as x, d as ee } from "./lib-BEpWEyMm.js";
|
|
4
4
|
import { u as te, B as ae } from "./BaseScanner-BgWxam9d.js";
|
|
5
5
|
import { u as le } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
6
|
import { t as oe } from "./themes-D3cUNuKw.js";
|
|
@@ -25,7 +25,7 @@ const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["s
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
setup(D) {
|
|
28
|
-
const O = T(() => import("./PackageVersion-
|
|
28
|
+
const O = T(() => import("./PackageVersion-oBQ8brnx.js")), { vue_ui_sparkgauge: j } = X(), c = D, _ = b(Y()), e = b(p()), { loading: h, FINAL_DATASET: v } = te({
|
|
29
29
|
...U(c),
|
|
30
30
|
FINAL_CONFIG: e,
|
|
31
31
|
prepareConfig: p,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useCssVars as pe, computed as k, defineAsyncComponent as me, ref as y, toRefs as be, onMounted as U, watch as X, nextTick as j, createElementBlock as s, openBlock as a, normalizeStyle as S, createCommentVNode as c, createBlock as G, createElementVNode as g, createTextVNode as _e, toDisplayString as p, unref as n, createVNode as xe, renderSlot as q, Fragment as d, renderList as h, normalizeClass as Y } from "vue";
|
|
2
|
-
import { c as ke, t as Ce, o as Ae, f as P, g as we, s as m, a as J, d as K, X as $e, i as D } from "./lib-
|
|
2
|
+
import { c as ke, t as Ce, o as Ae, f as P, g as we, s as m, a as J, d as K, X as $e, i as D } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as Le, u as ze } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Se, a as Q } from "./useNestedProp-
|
|
4
|
+
import { u as Se, a as Q } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as Me, B as Fe } from "./BaseScanner-BgWxam9d.js";
|
|
6
6
|
import { u as Ie } from "./useFitSvgText-2crs6Fv5.js";
|
|
7
7
|
import { u as Te } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import { _ as Ee } from "./Shape-
|
|
8
|
+
import { _ as Ee } from "./Shape-C_C_OmqR.js";
|
|
9
9
|
import { t as Ne } from "./themes-D3cUNuKw.js";
|
|
10
10
|
import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width", "height"], Re = ["id"], Be = ["stop-color"], Ue = ["stop-color"], Xe = ["id"], je = ["stop-color"], Ge = ["stop-color"], qe = ["id"], Ye = ["stop-color"], Pe = ["stop-color"], Je = ["height", "width", "fill", "x", "stroke", "stroke-width", "rx", "stroke-dasharray"], Ke = { key: 1 }, Qe = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ze = { key: 2 }, et = ["x", "y", "font-size", "font-weight", "fill"], tt = ["x", "y", "font-size", "fill"], lt = ["x", "y", "font-size", "fill"], at = ["height", "width", "x", "onMouseover", "onMouseleave", "onClick"], st = {
|
|
@@ -29,7 +29,7 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
|
|
|
29
29
|
pe((l) => ({
|
|
30
30
|
c8e2d1ee: ve.value
|
|
31
31
|
}));
|
|
32
|
-
const te = me(() => import("./PackageVersion-
|
|
32
|
+
const te = me(() => import("./PackageVersion-oBQ8brnx.js")), { vue_ui_sparkhistogram: le } = Se(), b = Z, _ = y(ke()), W = y(null), V = y(null), M = y(null), C = y(null), w = y(null), e = y(T()), { loading: H, FINAL_DATASET: A } = Me({
|
|
33
33
|
...be(b),
|
|
34
34
|
FINAL_CONFIG: e,
|
|
35
35
|
prepareConfig: T,
|