vue-data-ui 3.22.9 → 3.22.10
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-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
- package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
- package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CDTIUIKV.js} +1 -1
- package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
- package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-CkEX0292.js} +2 -2
- package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-C959ZIW9.js} +2 -2
- package/dist/{DataTable-BxpTMgfK.js → DataTable-ByZy5gt1.js} +2 -2
- package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
- package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-BoTvk0i5.js} +1 -1
- package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CLaZJl6K.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
- package/dist/{Slicer-CW_XPIKL.js → Slicer-WsWTQPKt.js} +21 -21
- package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-3n516NyE.js} +214 -214
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
- package/dist/{UserOptions-trvJ26nz.js → UserOptions-BUQOnoPR.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
- package/dist/exposedLib-CZbtc2a6.js +25 -0
- package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
- package/dist/{package-ByOT60IK.js → package-BRBLwZUc.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
- package/dist/{render-common-D18VrP0h.js → render-common-DJXFRGhU.js} +10 -10
- 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/types/utils.d.ts +40 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bx_8d3b_.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
- package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
- package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
- package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
- package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
- package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
- package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-BUP1JoNs.js} +287 -287
- package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
- package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
- package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-AA-QjUQI.js} +42 -42
- package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CdBFGYOK.js} +37 -37
- package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
- package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-CgRph4-n.js} +32 -32
- package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
- package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-ClrukmcB.js} +3 -3
- package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
- package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-DtQCrMKL.js} +207 -207
- package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
- package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
- package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-PjwAW2tY.js} +71 -71
- package/dist/vue-ui-funnel-DojI09FV.js +782 -0
- package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
- package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-CoL0OzSd.js} +178 -178
- package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-yuL-_sqF.js} +20 -20
- package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-CbC5zV3K.js} +9 -9
- package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
- package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-CuWssH-D.js} +414 -414
- package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
- package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BdYenScF.js} +3 -3
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
- package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
- package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-B_6GFlaR.js} +261 -261
- package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
- package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
- package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
- package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
- package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
- package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-CzLGCFWK.js} +101 -101
- package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
- package/dist/vue-ui-ridgeline-BArLhskj.js +1628 -0
- package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
- package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
- package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-KeIPGp9U.js} +99 -99
- package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-C1mYDh4R.js} +17 -17
- package/dist/vue-ui-spark-trend-EqCqmHmU.js +443 -0
- package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-BPh45vBP.js} +66 -66
- package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-CtouPcyW.js} +65 -65
- package/dist/vue-ui-sparkhistogram-D4sI0DHN.js +576 -0
- package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-BDFZ78Fz.js} +51 -51
- package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
- package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-nMXIY9x8.js} +108 -108
- package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
- package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-BCf5nthl.js} +65 -65
- package/dist/vue-ui-table-BAKkFXki.js +1338 -0
- package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
- package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
- package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
- package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-Bz7EnsM1.js} +5 -5
- package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
- package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-JxNNtb7v.js} +232 -232
- package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
- package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
- package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
- package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-R9o00A6c.js} +210 -210
- package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-CUt6sU1s.js} +766 -766
- package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-Do34-UbE.js} +134 -134
- package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
- package/package.json +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
- package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
- package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
- package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
- package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
- package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
- package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
- package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
- package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
- package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
- package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
- package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
- package/dist/vue-ui-rings-J990vNbX.js +0 -1252
- package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
- package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
- package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
- package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
- package/dist/vue-ui-table-uudidrYt.js +0 -1338
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
- package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
- package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { At as t, C as n, Dt as r, E as i, Gt as a, J as o, K as s, Kt as c, Nt as l, Q as ee, W as te, Xt as ne, Y as re, b as ie, bt as ae, et as oe, ft as se, g as ce, i as le, qt as ue, st as de, t as fe, x as pe, y as me } from "./lib-CnHx5WfV.js";
|
|
3
3
|
import { t as he } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as ge } from "./usePrinter-
|
|
4
|
+
import { t as ge } from "./usePrinter-B-X_Pub0.js";
|
|
5
5
|
import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ye } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as be } from "./useNestedProp-
|
|
7
|
+
import { t as be } from "./useNestedProp-D8NuRneO.js";
|
|
8
8
|
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as Se } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
10
|
-
import { t as Ce } from "./img-
|
|
11
|
-
import { n as we } from "./Title-
|
|
12
|
-
import { t as Te } from "./Shape-
|
|
10
|
+
import { t as Ce } from "./img-CNdXiUfZ.js";
|
|
11
|
+
import { n as we } from "./Title-Cr3jP7Qd.js";
|
|
12
|
+
import { t as Te } from "./Shape-B5ksaGa1.js";
|
|
13
13
|
import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { c as De } from "./canvas-lib-BOP_HS11.js";
|
|
15
15
|
import { t as Oe } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -172,7 +172,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
172
172
|
},
|
|
173
173
|
emits: ["selectDatapoint", "copyAlt"],
|
|
174
174
|
setup(e, { expose: Ee, emit: qe }) {
|
|
175
|
-
let Tt = g(() => import("./Tooltip-
|
|
175
|
+
let Tt = g(() => import("./Tooltip-CDbLl3TD.js")), Et = g(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), Dt = g(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), Ot = g(() => import("./DataTable-ByZy5gt1.js")), kt = g(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), At = g(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), jt = g(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), Mt = g(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), Nt = [
|
|
176
176
|
"classic",
|
|
177
177
|
"scatter",
|
|
178
178
|
"violin"
|
|
@@ -183,10 +183,10 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
183
183
|
set(e) {
|
|
184
184
|
return e;
|
|
185
185
|
}
|
|
186
|
-
}), O = x(
|
|
186
|
+
}), O = x(s()), zt = x(0), k = x(!1), Bt = x(""), A = x(null), Vt = x(null), Ht = x(null), Ut = x(null), Wt = x(!1), Gt = x(0), Kt = x(0), qt = x(null), Jt = x(null), Yt = x(!1), Xt = x(!1), Zt = x(null), Qt = x(null), $t = x(null), en = x(null), j = x(null), tn = x(null), M = x("pointer"), nn = x({
|
|
187
187
|
x: 0,
|
|
188
188
|
y: 0
|
|
189
|
-
}), rn = x(!1), N = x(pn()), an = d(() => mn(N.value.type)), P = d(() => N.value.userOptions.useCursorPointer), on = d(() =>
|
|
189
|
+
}), rn = x(!1), N = x(pn()), an = d(() => mn(N.value.type)), P = d(() => N.value.userOptions.useCursorPointer), on = d(() => ue({
|
|
190
190
|
defaultConfig: {
|
|
191
191
|
userOptions: { show: !1 },
|
|
192
192
|
table: { show: !1 },
|
|
@@ -312,7 +312,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
312
312
|
]
|
|
313
313
|
}
|
|
314
314
|
],
|
|
315
|
-
skeletonConfig:
|
|
315
|
+
skeletonConfig: ue({
|
|
316
316
|
defaultConfig: N.value,
|
|
317
317
|
userConfig: on.value
|
|
318
318
|
})
|
|
@@ -333,7 +333,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
333
333
|
});
|
|
334
334
|
return {
|
|
335
335
|
...r,
|
|
336
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
336
|
+
customPalette: r.customPalette.length ? r.customPalette : a[t] || l
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
339
|
function mn(e) {
|
|
@@ -350,37 +350,37 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
350
350
|
});
|
|
351
351
|
let hn = d(() => !!N.value.debug);
|
|
352
352
|
function gn() {
|
|
353
|
-
if (
|
|
353
|
+
if (t(D.dataset) ? (oe({
|
|
354
354
|
componentName: "VueUiStripPlot",
|
|
355
355
|
type: "dataset",
|
|
356
356
|
debug: hn.value
|
|
357
|
-
}), ln.value = !0) : D.dataset.forEach((e,
|
|
358
|
-
|
|
357
|
+
}), ln.value = !0) : D.dataset.forEach((e, t) => {
|
|
358
|
+
se({
|
|
359
359
|
datasetObject: e,
|
|
360
360
|
requiredAttributes: ["name", "plots"]
|
|
361
361
|
}).forEach((e) => {
|
|
362
|
-
Rt.value = !1,
|
|
362
|
+
Rt.value = !1, oe({
|
|
363
363
|
componentName: "VueUiStripPlot",
|
|
364
364
|
type: "datasetSerieAttribute",
|
|
365
365
|
property: e,
|
|
366
|
-
index:
|
|
366
|
+
index: t,
|
|
367
367
|
debug: hn.value
|
|
368
368
|
});
|
|
369
|
-
}), e.plots && e.plots.forEach((e,
|
|
370
|
-
|
|
369
|
+
}), e.plots && e.plots.forEach((e, n) => {
|
|
370
|
+
se({
|
|
371
371
|
datasetObject: e,
|
|
372
372
|
requiredAttributes: ["name", "value"]
|
|
373
373
|
}).forEach((e) => {
|
|
374
|
-
Rt.value = !1,
|
|
374
|
+
Rt.value = !1, oe({
|
|
375
375
|
componentName: "VueUiStripPlot",
|
|
376
376
|
type: "datasetSerieAttribute",
|
|
377
377
|
property: e,
|
|
378
|
-
index: `${
|
|
378
|
+
index: `${t},${n}`,
|
|
379
379
|
debug: hn.value
|
|
380
380
|
});
|
|
381
381
|
});
|
|
382
382
|
});
|
|
383
|
-
}),
|
|
383
|
+
}), t(D.dataset) || (ln.value = N.value.loading), N.value.responsive) {
|
|
384
384
|
let e = De(() => {
|
|
385
385
|
let { width: e, height: t } = Oe({
|
|
386
386
|
chart: A.value,
|
|
@@ -389,7 +389,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
389
389
|
noTitle: Ut.value
|
|
390
390
|
});
|
|
391
391
|
requestAnimationFrame(() => {
|
|
392
|
-
Tn.value = t, R.value = Math.max(.1, e), z.value = Math.max(.1, t - 12), N.value.responsiveProportionalSizing ? En.value =
|
|
392
|
+
Tn.value = t, R.value = Math.max(.1, e), z.value = Math.max(.1, t - 12), N.value.responsiveProportionalSizing ? En.value = c({
|
|
393
393
|
relator: Math.min(t, e),
|
|
394
394
|
adjuster: 600,
|
|
395
395
|
source: N.value.style.chart.plots.radius,
|
|
@@ -411,7 +411,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
411
411
|
elementId: `strip-plot_${O.value}`,
|
|
412
412
|
fileName: N.value.style.chart.title.text || "vue-ui-strip-plot",
|
|
413
413
|
options: N.value.userOptions.print
|
|
414
|
-
}), xn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), Sn = d(() =>
|
|
414
|
+
}), xn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), Sn = d(() => n(N.value.customPalette)), Cn = x(N.value.useCssAnimation), wn = x({
|
|
415
415
|
top: N.value.style.chart.padding.top,
|
|
416
416
|
bottom: N.value.style.chart.padding.bottom,
|
|
417
417
|
left: N.value.style.chart.padding.left,
|
|
@@ -479,20 +479,20 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
479
479
|
return U.value.left + (e + 1) * U.value.stripWidth - U.value.stripWidth / 2;
|
|
480
480
|
}
|
|
481
481
|
let W = d(() => cn.value.map((e, t) => {
|
|
482
|
-
let n =
|
|
482
|
+
let n = s();
|
|
483
483
|
return {
|
|
484
484
|
...e,
|
|
485
485
|
id: n,
|
|
486
|
-
color: e.color ?
|
|
487
|
-
plots: e.plots.map((
|
|
488
|
-
...
|
|
489
|
-
value:
|
|
486
|
+
color: e.color ? pe(e.color) : Sn.value[t] || l[t] || l[t % l.length],
|
|
487
|
+
plots: e.plots.map((r, i) => ({
|
|
488
|
+
...r,
|
|
489
|
+
value: me(r.value),
|
|
490
490
|
parentId: n,
|
|
491
491
|
parentName: e.name,
|
|
492
492
|
parentIndex: t,
|
|
493
|
-
plotIndex:
|
|
494
|
-
color: e.color ?
|
|
495
|
-
id:
|
|
493
|
+
plotIndex: i,
|
|
494
|
+
color: e.color ? pe(e.color) : Sn.value[t] || l[t] || l[t % l.length],
|
|
495
|
+
id: s()
|
|
496
496
|
})).sort((e, t) => e.value - t.value)
|
|
497
497
|
};
|
|
498
498
|
})), G = d(() => (W.value || []).map((e, t) => ({
|
|
@@ -507,7 +507,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
507
507
|
max: Math.max(...e),
|
|
508
508
|
min: Math.min(...e)
|
|
509
509
|
};
|
|
510
|
-
}), K = d(() =>
|
|
510
|
+
}), K = d(() => ce(Pn.value.min < 0 ? Pn.value.min : 0, Pn.value.max, N.value.style.chart.grid.scaleSteps)), q = d(() => (G.value || []).map((e, t) => {
|
|
511
511
|
let n = e.plots.map((e) => ({
|
|
512
512
|
...e,
|
|
513
513
|
y: U.value.bottom - (e.value + Math.abs(K.value.min)) / (K.value.max + Math.abs(K.value.min)) * U.value.height
|
|
@@ -531,29 +531,29 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
531
531
|
return t ? U.value.bottom - (e + Math.abs(K.value.min)) / t * U.value.height : U.value.bottom;
|
|
532
532
|
}
|
|
533
533
|
let Y = d(() => J.value ? q.value.map((e, t) => {
|
|
534
|
-
let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r = Fn(n, .25), i = Fn(n, .5), a = Fn(n, .75), o = a - r, s = r - o * 1.5, c = a + o * 1.5,
|
|
534
|
+
let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r = Fn(n, .25), i = Fn(n, .5), a = Fn(n, .75), o = a - r, s = r - o * 1.5, c = a + o * 1.5, l = n.find((e) => e >= s), ee = n.slice().reverse().find((e) => e <= c), te = Mn(t), ne = Math.max(V.value * 2.8, Math.min(Dn() * .32, U.value.stripWidth * .12)) * Math.min(1.5, N.value.style.chart.violin.boxPlot.widthRatio);
|
|
535
535
|
return {
|
|
536
536
|
id: e.id,
|
|
537
537
|
boxPlotColor: N.value.style.chart.violin.boxPlot.useSerieColor ? e.color : N.value.style.chart.violin.boxPlot.color,
|
|
538
538
|
color: e.color,
|
|
539
539
|
name: e.name,
|
|
540
540
|
count: n.length,
|
|
541
|
-
lowerAdjacent:
|
|
541
|
+
lowerAdjacent: l ?? n[0],
|
|
542
542
|
q1: r,
|
|
543
543
|
median: i,
|
|
544
544
|
q3: a,
|
|
545
|
-
upperAdjacent:
|
|
545
|
+
upperAdjacent: ee ?? n[n.length - 1],
|
|
546
546
|
iqr: o,
|
|
547
547
|
lowerFence: s,
|
|
548
548
|
upperFence: c,
|
|
549
|
-
centerX:
|
|
550
|
-
boxLeft:
|
|
551
|
-
boxWidth:
|
|
549
|
+
centerX: te,
|
|
550
|
+
boxLeft: te - ne / 2,
|
|
551
|
+
boxWidth: ne,
|
|
552
552
|
q1Y: In(r),
|
|
553
553
|
medianY: In(i),
|
|
554
554
|
q3Y: In(a),
|
|
555
|
-
lowerY: In(
|
|
556
|
-
upperY: In(
|
|
555
|
+
lowerY: In(l ?? n[0]),
|
|
556
|
+
upperY: In(ee ?? n[n.length - 1])
|
|
557
557
|
};
|
|
558
558
|
}) : []), Ln = d(() => [
|
|
559
559
|
N.value.table.columnNames.series,
|
|
@@ -566,7 +566,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
566
566
|
N.value.style.chart.violin.tooltipLabels.count
|
|
567
567
|
]);
|
|
568
568
|
function X(e) {
|
|
569
|
-
return
|
|
569
|
+
return re({
|
|
570
570
|
p: N.value.style.chart.labels.prefix,
|
|
571
571
|
v: e,
|
|
572
572
|
s: N.value.style.chart.labels.suffix,
|
|
@@ -627,7 +627,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
627
627
|
bandwidth: Z(r)
|
|
628
628
|
});
|
|
629
629
|
return i.length < 2 ? [] : i.slice(1).map((e, t) => {
|
|
630
|
-
let r = i[t], a = Z(r), o = Z(e), s =
|
|
630
|
+
let r = i[t], a = Z(r), o = Z(e), s = ie(Math.max(...r) + a * 2.35, U.value.top, U.value.bottom), c = ie(Math.min(...e) - o * 2.35, U.value.top, U.value.bottom);
|
|
631
631
|
return {
|
|
632
632
|
x: H(n),
|
|
633
633
|
y1: H(s),
|
|
@@ -637,11 +637,11 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
637
637
|
}
|
|
638
638
|
function Hn({ clusterLength: e, totalLength: t, maxWidth: n }) {
|
|
639
639
|
let r = (e / t) ** .6, i = e <= 2 ? .72 : 1;
|
|
640
|
-
return Math.max(V.value * 2.2, n *
|
|
640
|
+
return Math.max(V.value * 2.2, n * ie(r * i, .18, 1));
|
|
641
641
|
}
|
|
642
642
|
function Z(e) {
|
|
643
643
|
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(V.value * 2.6, U.value.height / 48) : V.value * 2.1;
|
|
644
|
-
return
|
|
644
|
+
return ie(1.06 * r * e.length ** -.2, i, U.value.height / 5);
|
|
645
645
|
}
|
|
646
646
|
function Un({ yValues: e, bandwidth: t }) {
|
|
647
647
|
if (e.length < 2) return [e];
|
|
@@ -658,7 +658,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
658
658
|
}, []);
|
|
659
659
|
}
|
|
660
660
|
function Gn({ yValues: e, centerX: t, maxWidth: n, bandwidth: r }) {
|
|
661
|
-
let i =
|
|
661
|
+
let i = ie(Math.min(...e) - r * 2.35, U.value.top, U.value.bottom), a = ie(Math.max(...e) + r * 2.35, U.value.top, U.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) => {
|
|
662
662
|
let s = i + (a - i) * n / Math.max(1, o - 1);
|
|
663
663
|
return {
|
|
664
664
|
y: s,
|
|
@@ -669,20 +669,20 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
669
669
|
};
|
|
670
670
|
}), c = Math.max(...s.map((e) => e.density));
|
|
671
671
|
if (!c) return "";
|
|
672
|
-
let
|
|
672
|
+
let l = s.map((e, t) => {
|
|
673
673
|
let r = t === 0 || t === s.length - 1 ? 0 : e.density / c * n;
|
|
674
674
|
return {
|
|
675
675
|
y: H(e.y),
|
|
676
676
|
width: H(r)
|
|
677
677
|
};
|
|
678
|
-
}),
|
|
678
|
+
}), ee = l.map((e) => ({
|
|
679
679
|
x: H(t - e.width),
|
|
680
680
|
y: e.y
|
|
681
|
-
})),
|
|
681
|
+
})), te = l.slice(0, -1).reverse().map((e) => ({
|
|
682
682
|
x: H(t + e.width),
|
|
683
683
|
y: e.y
|
|
684
684
|
}));
|
|
685
|
-
return `${Kn([...
|
|
685
|
+
return `${Kn([...ee, ...te])} Z`;
|
|
686
686
|
}
|
|
687
687
|
function Kn(e) {
|
|
688
688
|
if (!e.length) return "";
|
|
@@ -714,7 +714,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
714
714
|
});
|
|
715
715
|
}
|
|
716
716
|
function Zn(e, t = {}) {
|
|
717
|
-
return
|
|
717
|
+
return le(N.value.style.chart.labels.formatter, e, re({
|
|
718
718
|
p: N.value.style.chart.labels.prefix,
|
|
719
719
|
v: e,
|
|
720
720
|
s: N.value.style.chart.labels.suffix,
|
|
@@ -732,7 +732,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
732
732
|
series: W.value
|
|
733
733
|
}, k.value = !0, Q.value = e;
|
|
734
734
|
let r = N.value.style.chart.tooltip.customFormat;
|
|
735
|
-
if (
|
|
735
|
+
if (ae(r) && de(() => r({
|
|
736
736
|
seriesIndex: t,
|
|
737
737
|
datapoint: e,
|
|
738
738
|
series: W.value,
|
|
@@ -762,14 +762,14 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
762
762
|
series: W.value
|
|
763
763
|
};
|
|
764
764
|
let r = N.value.style.chart.tooltip.customFormat;
|
|
765
|
-
if (
|
|
765
|
+
if (ae(r)) try {
|
|
766
766
|
let n = {
|
|
767
767
|
boxPlot: e,
|
|
768
768
|
seriesIndex: t,
|
|
769
769
|
series: W.value,
|
|
770
770
|
config: N.value
|
|
771
771
|
};
|
|
772
|
-
if (
|
|
772
|
+
if (de(() => r(n))) {
|
|
773
773
|
Bt.value = r(n);
|
|
774
774
|
return;
|
|
775
775
|
}
|
|
@@ -807,12 +807,12 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
807
807
|
[e.iqr],
|
|
808
808
|
[e.count]
|
|
809
809
|
])) : t = tr.value.head.map((e, t) => [[e.name], [tr.value.body[t]]]);
|
|
810
|
-
let r =
|
|
810
|
+
let r = i([
|
|
811
811
|
[N.value.style.chart.title.text],
|
|
812
812
|
[N.value.style.chart.title.subtitle.text],
|
|
813
813
|
n.map((e) => [e])
|
|
814
814
|
].concat(t));
|
|
815
|
-
e ? e(r) :
|
|
815
|
+
e ? e(r) : ee({
|
|
816
816
|
csvContent: r,
|
|
817
817
|
title: N.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
818
818
|
});
|
|
@@ -853,7 +853,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
853
853
|
};
|
|
854
854
|
}
|
|
855
855
|
let e = [N.value.table.columnNames.series, N.value.table.columnNames.value], t = tr.value.head.map((e, t) => {
|
|
856
|
-
let n =
|
|
856
|
+
let n = re({
|
|
857
857
|
p: N.value.style.chart.labels.prefix,
|
|
858
858
|
v: tr.value.body[t],
|
|
859
859
|
s: N.value.style.chart.labels.suffix,
|
|
@@ -1380,7 +1380,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1380
1380
|
fill: N.value.style.chart.labels.yAxisLabels.color,
|
|
1381
1381
|
"font-size": N.value.style.chart.labels.yAxisLabels.fontSize,
|
|
1382
1382
|
"text-anchor": "end"
|
|
1383
|
-
}, w(T(
|
|
1383
|
+
}, w(T(le)(N.value.style.chart.labels.formatter, e.value, T(re)({
|
|
1384
1384
|
p: N.value.style.chart.labels.prefix,
|
|
1385
1385
|
v: e.value,
|
|
1386
1386
|
s: N.value.style.chart.labels.suffix,
|
|
@@ -1401,7 +1401,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1401
1401
|
fill: N.value.style.chart.labels.xAxisLabels.color,
|
|
1402
1402
|
"text-anchor": N.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : N.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
1403
1403
|
innerHTML: T(te)({
|
|
1404
|
-
content: T(
|
|
1404
|
+
content: T(ne)(String(e)),
|
|
1405
1405
|
fontSize: N.value.style.chart.labels.xAxisLabels.fontSize,
|
|
1406
1406
|
fill: N.value.style.chart.labels.xAxisLabels.color,
|
|
1407
1407
|
x: 0,
|
|
@@ -1467,12 +1467,12 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1467
1467
|
stops: [
|
|
1468
1468
|
[
|
|
1469
1469
|
"10%",
|
|
1470
|
-
T(
|
|
1470
|
+
T(r)(e.color, N.value.style.chart.plots.gradient.intensity / 100),
|
|
1471
1471
|
1
|
|
1472
1472
|
],
|
|
1473
1473
|
[
|
|
1474
1474
|
"90%",
|
|
1475
|
-
T(
|
|
1475
|
+
T(o)(e.color, .1),
|
|
1476
1476
|
1
|
|
1477
1477
|
],
|
|
1478
1478
|
[
|
|
@@ -1527,7 +1527,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1527
1527
|
x2: e.centerX,
|
|
1528
1528
|
y1: e.upperY,
|
|
1529
1529
|
y2: e.lowerY,
|
|
1530
|
-
stroke: T(
|
|
1530
|
+
stroke: T(o)(e.boxPlotColor, .2),
|
|
1531
1531
|
"stroke-width": Math.max(1, N.value.style.chart.violin.strokeWidth),
|
|
1532
1532
|
"stroke-linecap": "round"
|
|
1533
1533
|
}, null, 8, _t),
|
|
@@ -1537,7 +1537,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1537
1537
|
width: e.boxWidth,
|
|
1538
1538
|
height: Math.max(1, Math.abs(e.q3Y - e.q1Y)),
|
|
1539
1539
|
fill: e.boxPlotColor,
|
|
1540
|
-
stroke: T(
|
|
1540
|
+
stroke: T(o)(e.boxPlotColor, .2),
|
|
1541
1541
|
"stroke-width": Math.max(1, N.value.style.chart.violin.strokeWidth),
|
|
1542
1542
|
rx: e.boxWidth / 20
|
|
1543
1543
|
}, null, 8, vt),
|
|
@@ -1546,7 +1546,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1546
1546
|
cy: e.medianY,
|
|
1547
1547
|
r: e.boxWidth / 3 * Math.min(1, N.value.style.chart.violin.boxPlot.medianCircleRadiusRatio),
|
|
1548
1548
|
fill: N.value.style.chart.violin.boxPlot.medianCircleFill,
|
|
1549
|
-
stroke: T(
|
|
1549
|
+
stroke: T(o)(e.boxPlotColor, .2)
|
|
1550
1550
|
}, null, 8, yt)
|
|
1551
1551
|
], 44, gt))), 128)),
|
|
1552
1552
|
(b(!0), m(u, null, S(q.value, (t, n) => (b(), m(u, null, [J.value ? p("", !0) : (b(!0), m(u, { key: 0 }, S(t.plots, (n, r) => (b(), f(Te, Le({ ref_for: !0 }, e.$attrs, {
|
|
@@ -1597,7 +1597,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1597
1597
|
fill: N.value.style.chart.labels.bestPlotLabel.color,
|
|
1598
1598
|
"text-anchor": "middle",
|
|
1599
1599
|
style: y(`opacity:${N.value.useCssAnimation ? +!Cn.value : 1};transition:opacity 0.2s ease-in;`)
|
|
1600
|
-
}, w(e.name) + " " + w(N.value.style.chart.labels.bestPlotLabel.showValue ? T(
|
|
1600
|
+
}, w(e.name) + " " + w(N.value.style.chart.labels.bestPlotLabel.showValue ? T(le)(N.value.style.chart.labels.formatter, e.value, T(re)({
|
|
1601
1601
|
p: `(${N.value.style.chart.labels.prefix}`,
|
|
1602
1602
|
v: e.value,
|
|
1603
1603
|
s: `${N.value.style.chart.labels.suffix})`,
|
|
@@ -1640,7 +1640,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1640
1640
|
parent: A.value,
|
|
1641
1641
|
content: Bt.value,
|
|
1642
1642
|
isFullscreen: $.value,
|
|
1643
|
-
isCustom: T(
|
|
1643
|
+
isCustom: T(ae)(N.value.style.chart.tooltip.customFormat),
|
|
1644
1644
|
smooth: N.value.style.chart.tooltip.smooth,
|
|
1645
1645
|
backdropFilter: N.value.style.chart.tooltip.backdropFilter,
|
|
1646
1646
|
smoothForce: N.value.style.chart.tooltip.smoothForce,
|