vue-data-ui 3.23.10 → 3.23.12
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/README.md +40 -40
- package/dist/{Arrow-bwmME0jw.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-DBVHlhQZ.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-B4n7br_R.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-wRhcG_-q.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZjzzyQo.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker-B9kUMLSz.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-DMsScfkx.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-IWPfuceW.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-DWEFXq9E.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Crs4-xWz.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-DNTJUKh1.js → PackageVersion-CT8FfP7h.js} +1 -1
- package/dist/{PenAndPaper-DJ607Hx6.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-BAhF1ToV.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-sXtk2ZZ2.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-BE50SZQH.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BGLPsoA9.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DO4-MVhc.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-HQyukyl2.js → UserOptions-WH7-49V0.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-Cg_3vpOo.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-tU9mMt9W.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-C_lMnQRs.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-AT2PUyyh.js → lib-Dqr_-I6Y.js} +165 -162
- package/dist/{package-enC-Nivt.js → package-CXgp_UWC.js} +1 -1
- package/dist/{pdf-ColHHJFH.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-CqcoYfCA.js → render-common-D9TESN6N.js} +12 -12
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-CW0vJS1B.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-BFS7d6eb.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DD7J3yor.js → vue-data-ui-BTHfxD0A.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-qYgLQzCk.js +1829 -0
- package/dist/{vue-ui-accordion-DJNjilyy.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DI8b5E2H.js → vue-ui-age-pyramid-DlDqWHMv.js} +27 -27
- package/dist/{vue-ui-annotator-7ZVfFskI.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-KPROgHpN.js +700 -0
- package/dist/{vue-ui-bump-DzB3WQnq.js → vue-ui-bump-_ccDjRda.js} +237 -237
- package/dist/{vue-ui-candlestick--YWEtek_.js → vue-ui-candlestick-C_21KIXE.js} +245 -245
- package/dist/{vue-ui-carousel-table-Dn3RZU0p.js → vue-ui-carousel-table--JukD8gC.js} +108 -108
- package/dist/{vue-ui-chestnut-BIsXeXiU.js → vue-ui-chestnut-BWvgfxnY.js} +86 -86
- package/dist/vue-ui-chord-CGkWt2XK.js +1345 -0
- package/dist/vue-ui-circle-pack-BWaN2mEB.js +1633 -0
- package/dist/{vue-ui-cursor-C-P2D5i6.js → vue-ui-cursor-YbxnsOd1.js} +3 -3
- package/dist/{vue-ui-dag-CThnMMWA.js → vue-ui-dag-B-X2eE3W.js} +923 -885
- package/dist/{vue-ui-dashboard-D0NNTRO3.js → vue-ui-dashboard-DgayqETw.js} +69 -69
- package/dist/{vue-ui-digits-9tGjGzZh.js → vue-ui-digits-1ULOKtDh.js} +3 -3
- package/dist/{vue-ui-donut-EZu8p7HF.js → vue-ui-donut-Bz2ZI_vO.js} +85 -85
- package/dist/{vue-ui-donut-DLN9uPOi.js → vue-ui-donut-Ci2MsJLu.js} +64 -64
- package/dist/{vue-ui-donut-evolution-mu-iGTIn.js → vue-ui-donut-evolution-Bo54mlFQ.js} +347 -347
- package/dist/{vue-ui-dumbbell-Dvldi3Oo.js → vue-ui-dumbbell-D2bJ_P7K.js} +229 -229
- package/dist/vue-ui-flow-D9m-k3tM.js +1214 -0
- package/dist/vue-ui-funnel-DyETq2KE.js +747 -0
- package/dist/{vue-ui-galaxy-D6eYN8Ut.js → vue-ui-galaxy-pjGKZLrq.js} +64 -64
- package/dist/vue-ui-gauge-BO5lLCyJ.js +932 -0
- package/dist/{vue-ui-geo-CQqNemR6.js → vue-ui-geo-DpyLvk_B.js} +34 -34
- package/dist/{vue-ui-gizmo-ClunTUxX.js → vue-ui-gizmo-CUl8dgmV.js} +10 -10
- package/dist/{vue-ui-heatmap-B_pSQNzO.js → vue-ui-heatmap-CiV3kCrx.js} +472 -472
- package/dist/{vue-ui-hill-Byp0Tnny.js → vue-ui-hill-CkMtYGo2.js} +10 -10
- package/dist/vue-ui-history-plot-X2gQI4TY.js +1695 -0
- package/dist/vue-ui-horizontal-bar-DVT1wthh.js +1708 -0
- package/dist/{vue-ui-kpi-BKw5t-rX.js → vue-ui-kpi-CWPmkLKR.js} +3 -3
- package/dist/{vue-ui-mini-loader-BNm0MQDw.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-DRwQV5hN.js → vue-ui-molecule-DnW5HYZP.js} +176 -176
- package/dist/{vue-ui-mood-radar-Bj3KTWYj.js → vue-ui-mood-radar-FovwTDLw.js} +20 -20
- package/dist/{vue-ui-nested-donuts-83Wh2w6z.js → vue-ui-nested-donuts-DHCOlxTO.js} +104 -104
- package/dist/vue-ui-onion-CzAEqZ0B.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-BZN75P6u.js +1430 -0
- package/dist/{vue-ui-quadrant-_J-Qr7-K.js → vue-ui-quadrant-CNeP5WEC.js} +32 -32
- package/dist/{vue-ui-quick-chart-DcOUq4ym.js → vue-ui-quick-chart-Bnj8oh82.js} +153 -153
- package/dist/{vue-ui-radar-FlRlsoAd.js → vue-ui-radar-DMyMAtx7.js} +41 -41
- package/dist/{vue-ui-rating-eCxEZD8C.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DFj5V39I.js +903 -0
- package/dist/vue-ui-ridgeline-BaplQZZK.js +1614 -0
- package/dist/vue-ui-rings-B9QJ1Rnb.js +1250 -0
- package/dist/vue-ui-scatter-UH0wqUO5.js +2403 -0
- package/dist/{vue-ui-skeleton-CNOam3kC.js → vue-ui-skeleton-DkoEclfa.js} +3 -3
- package/dist/{vue-ui-smiley-YdyidjBH.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CS5GLtYL.js → vue-ui-spark-trend-BW8WYOva.js} +23 -23
- package/dist/{vue-ui-sparkbar-DDHwgP4k.js → vue-ui-sparkbar-ADRsH-GZ.js} +24 -24
- package/dist/{vue-ui-sparkgauge-BcQu9V3h.js → vue-ui-sparkgauge-BYs1L6I7.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-CPsA5P6c.js → vue-ui-sparkhistogram-D1Paq9X0.js} +15 -15
- package/dist/vue-ui-sparkline-D2Hf_NP-.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-4tsTxMe2.js → vue-ui-sparkstackbar-Uy6Q0X15.js} +207 -207
- package/dist/vue-ui-stackbar-Vt9AjazE.js +2332 -0
- package/dist/{vue-ui-stackline-BNCWO_jG.js → vue-ui-stackline-CBIGhWpn.js} +605 -605
- package/dist/{vue-ui-strip-plot-2Y1c02Ek.js → vue-ui-strip-plot-DhZV1Sl6.js} +57 -57
- package/dist/vue-ui-table-DqMxdgj4.js +1352 -0
- package/dist/{vue-ui-table-heatmap-BacaEjQy.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-B8oAU5yr.js → vue-ui-table-sparkline-2KZ2UoEA.js} +11 -11
- package/dist/vue-ui-thermometer-mVP2GqO7.js +756 -0
- package/dist/{vue-ui-timer-CWZgSpP8.js → vue-ui-timer-CGrqG8H3.js} +12 -12
- package/dist/{vue-ui-tiremarks-LLVCPyg9.js → vue-ui-tiremarks-DyFUPB5s.js} +12 -12
- package/dist/{vue-ui-treemap-ehBl9JMC.js → vue-ui-treemap-BVFHSTfq.js} +44 -44
- package/dist/vue-ui-waffle-DNZsc5x0.js +1619 -0
- package/dist/{vue-ui-wheel-C4OHPrtC.js → vue-ui-wheel-Cg4oNFmH.js} +28 -28
- package/dist/{vue-ui-word-cloud-CDHn3Kwa.js → vue-ui-word-cloud-CUf1h_L1.js} +32 -32
- package/dist/{vue-ui-world-ao1xf04I.js → vue-ui-world-CIcrI3zP.js} +116 -116
- package/dist/{vue-ui-xy-DmJDCl3c.js → vue-ui-xy-8V-CU7No.js} +99 -99
- package/dist/{vue-ui-xy-_U3wmtCf.js → vue-ui-xy-CJ5ZixIL.js} +304 -304
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/package.json +1 -1
- package/dist/exposedLib-vfRiIvq_.js +0 -28
- package/dist/vue-ui-3d-bar-DgrcdAgz.js +0 -1829
- package/dist/vue-ui-bullet-Dyd5F1Wa.js +0 -700
- package/dist/vue-ui-chord-BimXqVsF.js +0 -1345
- package/dist/vue-ui-circle-pack-DKQEhL-L.js +0 -1633
- package/dist/vue-ui-flow-DYZBT5Cb.js +0 -1214
- package/dist/vue-ui-funnel--NaxO0cZ.js +0 -747
- package/dist/vue-ui-gauge-DTIEl2Xb.js +0 -932
- package/dist/vue-ui-history-plot-CMu8ST1E.js +0 -1695
- package/dist/vue-ui-horizontal-bar-BQn7WxQ-.js +0 -1708
- package/dist/vue-ui-onion-C27GpneA.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-BklOszr1.js +0 -1430
- package/dist/vue-ui-relation-circle-DnsxHv7t.js +0 -903
- package/dist/vue-ui-ridgeline-TopTLyaE.js +0 -1614
- package/dist/vue-ui-rings-obVfb09j.js +0 -1250
- package/dist/vue-ui-scatter-BHSuA506.js +0 -2403
- package/dist/vue-ui-sparkline-CnbO-GkM.js +0 -1584
- package/dist/vue-ui-stackbar-2_SrMFNT.js +0 -2332
- package/dist/vue-ui-table-DJZxHo5N.js +0 -1352
- package/dist/vue-ui-thermometer-BGtxNU9T.js +0 -756
- package/dist/vue-ui-waffle-DpBAXbhh.js +0 -1610
- package/dist/vue-ui-xy-canvas-Bx-9y53V.js +0 -1823
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, $t as n, At as r, D as i, G as a, It as o, Jt as s, Nt as c, S as l, St as u, X as d, Xt as ee, Y as te, Yt as ne, _ as re, b as ie, i as ae, lt as oe, mt as se, nt as ce, q as le, t as ue, v as de, w as fe, x as pe } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as ge } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as _e } from "./usePrinter-
|
|
5
|
+
import { t as _e } from "./usePrinter-CEiH1b6R.js";
|
|
6
6
|
import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as be } from "./useNestedProp-
|
|
7
|
+
import { t as be } from "./useNestedProp-CulPqtou.js";
|
|
8
8
|
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as Se } from "./useChartExport-DNiwdPmb.js";
|
|
10
10
|
import { t as Ce } from "./useTransitions-g_zBREk2.js";
|
|
11
11
|
import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as Te } from "./img-
|
|
13
|
-
import { n as Ee } from "./Title-
|
|
14
|
-
import { t as De } from "./Shape-
|
|
12
|
+
import { t as Te } from "./img-Bkzj3lDD.js";
|
|
13
|
+
import { n as Ee } from "./Title-CaVA8EIw.js";
|
|
14
|
+
import { t as De } from "./Shape-BAL5bQmA.js";
|
|
15
15
|
import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { l as ke, t as Ae } from "./useResponsive-ZtArZtUf.js";
|
|
17
17
|
import { t as je } from "./DefGrad-DVBqDjhO.js";
|
|
@@ -175,7 +175,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
175
175
|
},
|
|
176
176
|
emits: ["selectDatapoint", "copyAlt"],
|
|
177
177
|
setup(e, { expose: Oe, emit: Je }) {
|
|
178
|
-
let Et = v(() => import("./Tooltip-
|
|
178
|
+
let Et = v(() => import("./Tooltip-CVxJe3UW.js")), Dt = v(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), Ot = v(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), kt = v(() => import("./DataTable-CmyEubtT.js")), At = v(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), jt = v(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), Mt = v(() => import("./PackageVersion-CT8FfP7h.js").then((e) => e.t)), Nt = v(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), Pt = [
|
|
179
179
|
"classic",
|
|
180
180
|
"scatter",
|
|
181
181
|
"violin"
|
|
@@ -186,7 +186,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
186
186
|
set(e) {
|
|
187
187
|
return e;
|
|
188
188
|
}
|
|
189
|
-
}), j = w(
|
|
189
|
+
}), j = w(le()), Bt = w(0), M = w(!1), Vt = w(""), N = w(null), Ht = w(null), Ut = w(null), Wt = w(null), Gt = w(!1), Kt = w(0), qt = w(0), Jt = w(null), Yt = w(null), Xt = w(null), Zt = w(null), Qt = w(null), $t = w(null), en = w(null), tn = w(null), P = w("pointer"), nn = w({
|
|
190
190
|
x: 0,
|
|
191
191
|
y: 0
|
|
192
192
|
}), rn = w(!1), F = w(mn());
|
|
@@ -208,7 +208,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
208
208
|
let { transitionEnabled: an } = Ce({
|
|
209
209
|
config: () => F.value.transitions,
|
|
210
210
|
dataset: () => A.dataset
|
|
211
|
-
}), on = p(() => hn(F.value.type)), I = p(() => F.value.userOptions.useCursorPointer), sn = p(() =>
|
|
211
|
+
}), on = p(() => hn(F.value.type)), I = p(() => F.value.userOptions.useCursorPointer), sn = p(() => ee({
|
|
212
212
|
defaultConfig: {
|
|
213
213
|
userOptions: { show: !1 },
|
|
214
214
|
table: { show: !1 },
|
|
@@ -334,7 +334,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
334
334
|
]
|
|
335
335
|
}
|
|
336
336
|
],
|
|
337
|
-
skeletonConfig:
|
|
337
|
+
skeletonConfig: ee({
|
|
338
338
|
defaultConfig: F.value,
|
|
339
339
|
userConfig: sn.value
|
|
340
340
|
})
|
|
@@ -355,7 +355,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
355
355
|
});
|
|
356
356
|
return {
|
|
357
357
|
...r,
|
|
358
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
358
|
+
customPalette: r.customPalette.length ? r.customPalette : s[t] || o
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
361
|
function hn(e) {
|
|
@@ -372,16 +372,16 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
372
372
|
});
|
|
373
373
|
let gn = p(() => F.value.debug);
|
|
374
374
|
function _n() {
|
|
375
|
-
if (
|
|
375
|
+
if (c(A.dataset) ? (ce({
|
|
376
376
|
componentName: "VueUiStripPlot",
|
|
377
377
|
type: "dataset",
|
|
378
378
|
debug: gn.value
|
|
379
379
|
}), un.value = !0) : A.dataset.forEach((e, t) => {
|
|
380
|
-
|
|
380
|
+
se({
|
|
381
381
|
datasetObject: e,
|
|
382
382
|
requiredAttributes: ["name", "plots"]
|
|
383
383
|
}).forEach((e) => {
|
|
384
|
-
zt.value = !1,
|
|
384
|
+
zt.value = !1, ce({
|
|
385
385
|
componentName: "VueUiStripPlot",
|
|
386
386
|
type: "datasetSerieAttribute",
|
|
387
387
|
property: e,
|
|
@@ -389,11 +389,11 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
389
389
|
debug: gn.value
|
|
390
390
|
});
|
|
391
391
|
}), e.plots && e.plots.forEach((e, n) => {
|
|
392
|
-
|
|
392
|
+
se({
|
|
393
393
|
datasetObject: e,
|
|
394
394
|
requiredAttributes: ["name", "value"]
|
|
395
395
|
}).forEach((e) => {
|
|
396
|
-
zt.value = !1,
|
|
396
|
+
zt.value = !1, ce({
|
|
397
397
|
componentName: "VueUiStripPlot",
|
|
398
398
|
type: "datasetSerieAttribute",
|
|
399
399
|
property: e,
|
|
@@ -402,7 +402,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
402
402
|
});
|
|
403
403
|
});
|
|
404
404
|
});
|
|
405
|
-
}),
|
|
405
|
+
}), c(A.dataset) || (un.value = F.value.loading), F.value.responsive) {
|
|
406
406
|
let e = ke(() => {
|
|
407
407
|
let { width: e, height: t } = Ae({
|
|
408
408
|
chart: N.value,
|
|
@@ -411,7 +411,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
411
411
|
noTitle: Wt.value
|
|
412
412
|
});
|
|
413
413
|
requestAnimationFrame(() => {
|
|
414
|
-
En.value = t, B.value = Math.max(.1, e), V.value = Math.max(.1, t - 12), F.value.responsiveProportionalSizing ? Dn.value =
|
|
414
|
+
En.value = t, B.value = Math.max(.1, e), V.value = Math.max(.1, t - 12), F.value.responsiveProportionalSizing ? Dn.value = ne({
|
|
415
415
|
relator: Math.min(t, e),
|
|
416
416
|
adjuster: 600,
|
|
417
417
|
source: F.value.style.chart.plots.radius,
|
|
@@ -501,20 +501,20 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
501
501
|
return G.value.left + (e + 1) * G.value.stripWidth - G.value.stripWidth / 2;
|
|
502
502
|
}
|
|
503
503
|
let K = p(() => ln.value.map((e, t) => {
|
|
504
|
-
let n =
|
|
504
|
+
let n = le();
|
|
505
505
|
return {
|
|
506
506
|
...e,
|
|
507
507
|
id: n,
|
|
508
|
-
color: e.color ?
|
|
508
|
+
color: e.color ? l(e.color) : Cn.value[t] || o[t] || o[t % o.length],
|
|
509
509
|
plots: e.plots.map((r, i) => ({
|
|
510
510
|
...r,
|
|
511
|
-
value:
|
|
511
|
+
value: ie(r.value),
|
|
512
512
|
parentId: n,
|
|
513
513
|
parentName: e.name,
|
|
514
514
|
parentIndex: t,
|
|
515
515
|
plotIndex: i,
|
|
516
|
-
color: e.color ?
|
|
517
|
-
id:
|
|
516
|
+
color: e.color ? l(e.color) : Cn.value[t] || o[t] || o[t % o.length],
|
|
517
|
+
id: le()
|
|
518
518
|
})).sort((e, t) => e.value - t.value)
|
|
519
519
|
};
|
|
520
520
|
})), q = p(() => (K.value || []).map((e, t) => ({
|
|
@@ -531,9 +531,9 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
531
531
|
};
|
|
532
532
|
}), In = p(() => {
|
|
533
533
|
let e = F.value.style.chart.grid.scaleMin, t = F.value.style.chart.grid.scaleMax, n = Math.max(2, F.value.style.chart.grid.scaleSteps), r = Fn.value.min < 0 ? Fn.value.min : 0, i = Fn.value.max;
|
|
534
|
-
if (e === null && t === null) return
|
|
534
|
+
if (e === null && t === null) return re(r, i, n);
|
|
535
535
|
if (e !== null && t !== null) return de(e, t, n);
|
|
536
|
-
let a =
|
|
536
|
+
let a = re(e === null ? r : e, t === null ? i : t, n);
|
|
537
537
|
return de(e === null ? a.min : e, t === null ? a.max : t, n);
|
|
538
538
|
});
|
|
539
539
|
function J(e) {
|
|
@@ -560,7 +560,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
560
560
|
return a === void 0 ? e[r] : e[r] + i * (a - e[r]);
|
|
561
561
|
}
|
|
562
562
|
let Rn = p(() => X.value ? Y.value.map((e, t) => {
|
|
563
|
-
let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r = Ln(n, .25), i = Ln(n, .5), a = Ln(n, .75), o = a - r, s = r - o * 1.5, c = a + o * 1.5, l = n.find((e) => e >= s), u = n.slice().reverse().find((e) => e <= c),
|
|
563
|
+
let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r = Ln(n, .25), i = Ln(n, .5), a = Ln(n, .75), o = a - r, s = r - o * 1.5, c = a + o * 1.5, l = n.find((e) => e >= s), u = n.slice().reverse().find((e) => e <= c), d = Nn(t), ee = Math.max(U.value * 2.8, Math.min(On() * .32, G.value.stripWidth * .12)) * Math.min(1.5, F.value.style.chart.violin.boxPlot.widthRatio);
|
|
564
564
|
return {
|
|
565
565
|
id: e.id,
|
|
566
566
|
boxPlotColor: F.value.style.chart.violin.boxPlot.useSerieColor ? e.color : F.value.style.chart.violin.boxPlot.color,
|
|
@@ -575,9 +575,9 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
575
575
|
iqr: o,
|
|
576
576
|
lowerFence: s,
|
|
577
577
|
upperFence: c,
|
|
578
|
-
centerX:
|
|
579
|
-
boxLeft:
|
|
580
|
-
boxWidth:
|
|
578
|
+
centerX: d,
|
|
579
|
+
boxLeft: d - ee / 2,
|
|
580
|
+
boxWidth: ee,
|
|
581
581
|
q1Y: J(r),
|
|
582
582
|
medianY: J(i),
|
|
583
583
|
q3Y: J(a),
|
|
@@ -595,7 +595,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
595
595
|
F.value.style.chart.violin.tooltipLabels.count
|
|
596
596
|
]);
|
|
597
597
|
function Bn(e) {
|
|
598
|
-
return
|
|
598
|
+
return d({
|
|
599
599
|
p: F.value.style.chart.labels.prefix,
|
|
600
600
|
v: e,
|
|
601
601
|
s: F.value.style.chart.labels.suffix,
|
|
@@ -656,7 +656,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
656
656
|
bandwidth: Z(r)
|
|
657
657
|
});
|
|
658
658
|
return i.length < 2 ? [] : i.slice(1).map((e, t) => {
|
|
659
|
-
let r = i[t], a = Z(r), o = Z(e), s =
|
|
659
|
+
let r = i[t], a = Z(r), o = Z(e), s = pe(Math.max(...r) + a * 2.35, G.value.top, G.value.bottom), c = pe(Math.min(...e) - o * 2.35, G.value.top, G.value.bottom);
|
|
660
660
|
return {
|
|
661
661
|
x: W(n),
|
|
662
662
|
y1: W(s),
|
|
@@ -666,11 +666,11 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
666
666
|
}
|
|
667
667
|
function Gn({ clusterLength: e, totalLength: t, maxWidth: n }) {
|
|
668
668
|
let r = (e / t) ** .6, i = e <= 2 ? .72 : 1;
|
|
669
|
-
return Math.max(U.value * 2.2, n *
|
|
669
|
+
return Math.max(U.value * 2.2, n * pe(r * i, .18, 1));
|
|
670
670
|
}
|
|
671
671
|
function Z(e) {
|
|
672
672
|
let t = e.reduce((e, t) => e + t, 0) / Math.max(1, e.length), n = e.reduce((e, n) => e + (n - t) ** 2, 0) / Math.max(1, e.length), r = Math.sqrt(n), i = e.length < 2 ? Math.max(U.value * 2.6, G.value.height / 48) : U.value * 2.1;
|
|
673
|
-
return
|
|
673
|
+
return pe(1.06 * r * e.length ** -.2, i, G.value.height / 5);
|
|
674
674
|
}
|
|
675
675
|
function Kn({ yValues: e, bandwidth: t }) {
|
|
676
676
|
if (e.length < 2) return [e];
|
|
@@ -687,7 +687,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
687
687
|
}, []);
|
|
688
688
|
}
|
|
689
689
|
function Jn({ yValues: e, centerX: t, maxWidth: n, bandwidth: r }) {
|
|
690
|
-
let i =
|
|
690
|
+
let i = pe(Math.min(...e) - r * 2.35, G.value.top, G.value.bottom), a = pe(Math.max(...e) + r * 2.35, G.value.top, G.value.bottom), o = Math.max(48, Math.min(120, Math.round((a - i) / Math.max(1, r / 4)))), s = Array.from({ length: o }, (t, n) => {
|
|
691
691
|
let s = i + (a - i) * n / Math.max(1, o - 1);
|
|
692
692
|
return {
|
|
693
693
|
y: s,
|
|
@@ -707,11 +707,11 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
707
707
|
}), u = l.map((e) => ({
|
|
708
708
|
x: W(t - e.width),
|
|
709
709
|
y: e.y
|
|
710
|
-
})),
|
|
710
|
+
})), d = l.slice(0, -1).reverse().map((e) => ({
|
|
711
711
|
x: W(t + e.width),
|
|
712
712
|
y: e.y
|
|
713
713
|
}));
|
|
714
|
-
return `${Yn([...u, ...
|
|
714
|
+
return `${Yn([...u, ...d])} Z`;
|
|
715
715
|
}
|
|
716
716
|
function Yn(e) {
|
|
717
717
|
if (!e.length) return "";
|
|
@@ -743,7 +743,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
743
743
|
});
|
|
744
744
|
}
|
|
745
745
|
function er(e, t = {}) {
|
|
746
|
-
return
|
|
746
|
+
return ae(F.value.style.chart.labels.formatter, e, d({
|
|
747
747
|
p: F.value.style.chart.labels.prefix,
|
|
748
748
|
v: e,
|
|
749
749
|
s: F.value.style.chart.labels.suffix,
|
|
@@ -761,7 +761,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
761
761
|
series: K.value
|
|
762
762
|
}, M.value = !0, Q.value = e;
|
|
763
763
|
let r = F.value.style.chart.tooltip.customFormat;
|
|
764
|
-
if (
|
|
764
|
+
if (u(r) && oe(() => r({
|
|
765
765
|
seriesIndex: t,
|
|
766
766
|
datapoint: e,
|
|
767
767
|
series: K.value,
|
|
@@ -791,14 +791,14 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
791
791
|
series: K.value
|
|
792
792
|
};
|
|
793
793
|
let r = F.value.style.chart.tooltip.customFormat;
|
|
794
|
-
if (
|
|
794
|
+
if (u(r)) try {
|
|
795
795
|
let n = {
|
|
796
796
|
boxPlot: e,
|
|
797
797
|
seriesIndex: t,
|
|
798
798
|
series: K.value,
|
|
799
799
|
config: F.value
|
|
800
800
|
};
|
|
801
|
-
if (
|
|
801
|
+
if (oe(() => r(n))) {
|
|
802
802
|
Vt.value = r(n);
|
|
803
803
|
return;
|
|
804
804
|
}
|
|
@@ -825,8 +825,8 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
825
825
|
}));
|
|
826
826
|
function ar(e = null) {
|
|
827
827
|
Be(() => {
|
|
828
|
-
let
|
|
829
|
-
X.value ? (
|
|
828
|
+
let n = [], r = [F.value.table.columnNames.series, F.value.table.columnNames.value];
|
|
829
|
+
X.value ? (r = zn.value, n = Rn.value.map((e) => [
|
|
830
830
|
[e.name],
|
|
831
831
|
[e.lowerAdjacent],
|
|
832
832
|
[e.q1],
|
|
@@ -835,12 +835,12 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
835
835
|
[e.upperAdjacent],
|
|
836
836
|
[e.iqr],
|
|
837
837
|
[e.count]
|
|
838
|
-
])) :
|
|
838
|
+
])) : n = ir.value.head.map((e, t) => [[e.name], [ir.value.body[t]]]);
|
|
839
839
|
let a = [
|
|
840
840
|
[F.value.style.chart.title.text],
|
|
841
841
|
[F.value.style.chart.title.subtitle.text],
|
|
842
|
-
|
|
843
|
-
].concat(
|
|
842
|
+
r.map((e) => [e])
|
|
843
|
+
].concat(n), o = i(a);
|
|
844
844
|
e ? e(o) : t({
|
|
845
845
|
csvContent: o,
|
|
846
846
|
title: F.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
@@ -882,7 +882,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
882
882
|
};
|
|
883
883
|
}
|
|
884
884
|
let e = [F.value.table.columnNames.series, F.value.table.columnNames.value], t = ir.value.head.map((e, t) => {
|
|
885
|
-
let n =
|
|
885
|
+
let n = d({
|
|
886
886
|
p: F.value.style.chart.labels.prefix,
|
|
887
887
|
v: ir.value.body[t],
|
|
888
888
|
s: F.value.style.chart.labels.suffix,
|
|
@@ -1314,7 +1314,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1314
1314
|
_("div", Ze, [(C(), g("svg", {
|
|
1315
1315
|
ref_key: "svgRef",
|
|
1316
1316
|
ref: L,
|
|
1317
|
-
xmlns: O(
|
|
1317
|
+
xmlns: O(ue),
|
|
1318
1318
|
class: b({
|
|
1319
1319
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1320
1320
|
"vue-data-ui-fulscreen--off": !$.value,
|
|
@@ -1388,7 +1388,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1388
1388
|
fill: F.value.style.chart.labels.yAxisLabels.color,
|
|
1389
1389
|
"font-size": F.value.style.chart.labels.yAxisLabels.fontSize,
|
|
1390
1390
|
"text-anchor": "end"
|
|
1391
|
-
}, D(O(
|
|
1391
|
+
}, D(O(ae)(F.value.style.chart.labels.formatter, e.value, O(d)({
|
|
1392
1392
|
p: F.value.style.chart.labels.prefix,
|
|
1393
1393
|
v: e.value,
|
|
1394
1394
|
s: F.value.style.chart.labels.suffix,
|
|
@@ -1408,8 +1408,8 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1408
1408
|
"font-size": F.value.style.chart.labels.xAxisLabels.fontSize,
|
|
1409
1409
|
fill: F.value.style.chart.labels.xAxisLabels.color,
|
|
1410
1410
|
"text-anchor": F.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : F.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
1411
|
-
innerHTML: O(
|
|
1412
|
-
content: O(
|
|
1411
|
+
innerHTML: O(a)({
|
|
1412
|
+
content: O(n)(String(e)),
|
|
1413
1413
|
fontSize: F.value.style.chart.labels.xAxisLabels.fontSize,
|
|
1414
1414
|
fill: F.value.style.chart.labels.xAxisLabels.color,
|
|
1415
1415
|
x: 0,
|
|
@@ -1475,12 +1475,12 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1475
1475
|
stops: [
|
|
1476
1476
|
[
|
|
1477
1477
|
"10%",
|
|
1478
|
-
O(
|
|
1478
|
+
O(r)(e.color, F.value.style.chart.plots.gradient.intensity / 100),
|
|
1479
1479
|
1
|
|
1480
1480
|
],
|
|
1481
1481
|
[
|
|
1482
1482
|
"90%",
|
|
1483
|
-
O(
|
|
1483
|
+
O(te)(e.color, .1),
|
|
1484
1484
|
1
|
|
1485
1485
|
],
|
|
1486
1486
|
[
|
|
@@ -1535,7 +1535,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1535
1535
|
x2: e.centerX,
|
|
1536
1536
|
y1: e.upperY,
|
|
1537
1537
|
y2: e.lowerY,
|
|
1538
|
-
stroke: O(
|
|
1538
|
+
stroke: O(te)(e.boxPlotColor, .2),
|
|
1539
1539
|
"stroke-width": Math.max(1, F.value.style.chart.violin.strokeWidth),
|
|
1540
1540
|
"stroke-linecap": "round"
|
|
1541
1541
|
}, null, 8, vt),
|
|
@@ -1545,7 +1545,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1545
1545
|
width: e.boxWidth,
|
|
1546
1546
|
height: Math.max(1, Math.abs(e.q3Y - e.q1Y)),
|
|
1547
1547
|
fill: e.boxPlotColor,
|
|
1548
|
-
stroke: O(
|
|
1548
|
+
stroke: O(te)(e.boxPlotColor, .2),
|
|
1549
1549
|
"stroke-width": Math.max(1, F.value.style.chart.violin.strokeWidth),
|
|
1550
1550
|
rx: e.boxWidth / 20
|
|
1551
1551
|
}, null, 8, yt),
|
|
@@ -1554,7 +1554,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1554
1554
|
cy: e.medianY,
|
|
1555
1555
|
r: e.boxWidth / 3 * Math.min(1, F.value.style.chart.violin.boxPlot.medianCircleRadiusRatio),
|
|
1556
1556
|
fill: F.value.style.chart.violin.boxPlot.medianCircleFill,
|
|
1557
|
-
stroke: O(
|
|
1557
|
+
stroke: O(te)(e.boxPlotColor, .2)
|
|
1558
1558
|
}, null, 8, bt)
|
|
1559
1559
|
], 44, _t))), 128)),
|
|
1560
1560
|
(C(!0), g(f, null, T(Y.value, (t, n) => (C(), g(f, null, [X.value ? h("", !0) : (C(!0), g(f, { key: 0 }, T(t.plots, (n, r) => (C(), m(De, ze({ ref_for: !0 }, e.$attrs, {
|
|
@@ -1605,7 +1605,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1605
1605
|
fill: F.value.style.chart.labels.bestPlotLabel.color,
|
|
1606
1606
|
"text-anchor": "middle",
|
|
1607
1607
|
style: S(`opacity:${F.value.useCssAnimation ? +!wn.value : 1};transition:opacity 0.2s ease-in;`)
|
|
1608
|
-
}, D(e.name) + " " + D(F.value.style.chart.labels.bestPlotLabel.showValue ? O(
|
|
1608
|
+
}, D(e.name) + " " + D(F.value.style.chart.labels.bestPlotLabel.showValue ? O(ae)(F.value.style.chart.labels.formatter, e.value, O(d)({
|
|
1609
1609
|
p: `(${F.value.style.chart.labels.prefix}`,
|
|
1610
1610
|
v: e.value,
|
|
1611
1611
|
s: `${F.value.style.chart.labels.suffix})`,
|
|
@@ -1648,7 +1648,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1648
1648
|
parent: N.value,
|
|
1649
1649
|
content: Vt.value,
|
|
1650
1650
|
isFullscreen: $.value,
|
|
1651
|
-
isCustom: O(
|
|
1651
|
+
isCustom: O(u)(F.value.style.chart.tooltip.customFormat),
|
|
1652
1652
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
1653
1653
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
1654
1654
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|