vue-data-ui 3.25.11 → 3.25.13
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-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
- package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
- package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
- package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
- package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
- package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
- package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
- package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
- package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
- package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
- package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
- package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
- package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
- package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
- package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
- package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
- package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.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-label.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-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
- package/dist/exposedLib-BBtjpydc.js +28 -0
- package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
- package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
- package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
- package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
- 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 +6 -0
- package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
- package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
- package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
- package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
- package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
- package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
- package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
- package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
- package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
- package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
- package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
- package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
- package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
- package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
- package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
- package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
- package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
- package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
- package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
- package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
- package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
- package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
- package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
- package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
- package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
- package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
- package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
- package/dist/vue-ui-molecule-_x232mMu.js +941 -0
- package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
- package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
- package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
- package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
- package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
- package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
- package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
- package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
- package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
- package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
- package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
- package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
- package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
- package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
- package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
- package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
- package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
- package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
- package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
- package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
- package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
- package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
- package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
- package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
- package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
- package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
- package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
- package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
- package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
- package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
- package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
- package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
- package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
- package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
- package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
- package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
- package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
- package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
- package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
- package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
- package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
- package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
- package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
- package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
- package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
- package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
- package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
- package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
- package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
- package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
- package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
- package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
|
@@ -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, D as r, Et as i, J as a, Pt as o, Q as s, Rt as c, S as ee, Vt as l, X as te, _ as ne, at as re, b as ie, en as ae, et as oe, ft as se, i as ce, in as le, nt as ue, t as de, tn as fe, v as pe, vt as me, w as he, x as ge } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as _e, t as ve } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ye } from "./useConfig-
|
|
5
|
-
import { t as be } from "./usePrinter-
|
|
4
|
+
import { t as ye } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as be } from "./usePrinter-BBBooAGP.js";
|
|
6
6
|
import { n as xe, t as Se } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as Ce } from "./useNestedProp-
|
|
7
|
+
import { t as Ce } from "./useNestedProp-Bux0f4iY.js";
|
|
8
8
|
import { t as we } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as Te } from "./useChartExport-iwOqiIWX.js";
|
|
10
10
|
import { t as Ee } from "./useTransitions-g_zBREk2.js";
|
|
11
11
|
import { t as De } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as Oe } from "./img-
|
|
13
|
-
import { n as ke } from "./Title-
|
|
14
|
-
import { t as Ae } from "./Shape-
|
|
12
|
+
import { t as Oe } from "./img-W50sC9SC.js";
|
|
13
|
+
import { n as ke } from "./Title-DeqmC-vN.js";
|
|
14
|
+
import { t as Ae } from "./Shape-VCdxvFV9.js";
|
|
15
15
|
import { t as je } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { l as Me, t as Ne } from "./useResponsive-ZtArZtUf.js";
|
|
17
17
|
import { t as Pe } from "./DefGrad-DVBqDjhO.js";
|
|
@@ -175,7 +175,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
175
175
|
},
|
|
176
176
|
emits: ["selectDatapoint", "copyAlt"],
|
|
177
177
|
setup(e, { expose: je, emit: Qe }) {
|
|
178
|
-
let At = g(() => import("./Tooltip-
|
|
178
|
+
let At = g(() => import("./Tooltip-DZ4a3XJQ.js")), jt = g(() => import("./BaseIcon-Dlz7gfx0.js").then((e) => e.n)), Mt = g(() => import("./vue-ui-accordion-yHZMJLaY.js").then((e) => e.n)), Nt = g(() => import("./DataTable-BD1eZ0zB.js")), Pt = g(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), Ft = g(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), It = g(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), Lt = g(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), Rt = [
|
|
179
179
|
"classic",
|
|
180
180
|
"scatter",
|
|
181
181
|
"violin"
|
|
@@ -186,7 +186,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
186
186
|
set(e) {
|
|
187
187
|
return e;
|
|
188
188
|
}
|
|
189
|
-
}), Wt = x(
|
|
189
|
+
}), Wt = x(te()), Gt = x(0), Kt = x(!1), qt = x(""), O = x(null), Jt = x(null), Yt = x(null), Xt = x(null), Zt = x(!1), Qt = x(0), $t = x(0), en = x(null), tn = x(null), nn = x(null), rn = x(null), an = x(null), on = x(null), sn = x(null), cn = x(null), k = x("pointer"), ln = x({
|
|
190
190
|
x: 0,
|
|
191
191
|
y: 0
|
|
192
192
|
}), un = x(!1), A = x(bn()), j = d(() => A.value.userOptions), M = d(() => A.value.style.chart.tooltip), N = d(() => A.value.style.chart.labels), P = d(() => A.value.style.chart.violin), F = d(() => A.value.style.chart.grid), I = d(() => A.value.style.chart);
|
|
@@ -208,7 +208,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
208
208
|
let { transitionEnabled: dn } = Ee({
|
|
209
209
|
config: () => A.value.transitions,
|
|
210
210
|
dataset: () => D.dataset
|
|
211
|
-
}), fn = d(() => xn(A.value.type)), L = d(() => A.value.userOptions.useCursorPointer), pn = d(() =>
|
|
211
|
+
}), fn = d(() => xn(A.value.type)), L = d(() => A.value.userOptions.useCursorPointer), pn = d(() => fe({
|
|
212
212
|
defaultConfig: {
|
|
213
213
|
userOptions: { show: !1 },
|
|
214
214
|
table: { show: !1 },
|
|
@@ -334,7 +334,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
334
334
|
]
|
|
335
335
|
}
|
|
336
336
|
],
|
|
337
|
-
skeletonConfig:
|
|
337
|
+
skeletonConfig: fe({
|
|
338
338
|
defaultConfig: A.value,
|
|
339
339
|
userConfig: pn.value
|
|
340
340
|
})
|
|
@@ -346,23 +346,23 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
346
346
|
}), t = e.theme;
|
|
347
347
|
if (!t) return e;
|
|
348
348
|
if (!Bt.value(e)) return Vt(e), e;
|
|
349
|
-
let
|
|
349
|
+
let r = Ce({
|
|
350
350
|
userConfig: Re[t] || D.config,
|
|
351
351
|
defaultConfig: e
|
|
352
|
-
}),
|
|
352
|
+
}), i = Ce({
|
|
353
353
|
userConfig: D.config,
|
|
354
|
-
defaultConfig:
|
|
354
|
+
defaultConfig: r
|
|
355
355
|
});
|
|
356
356
|
return {
|
|
357
|
-
...
|
|
358
|
-
customPalette:
|
|
357
|
+
...i,
|
|
358
|
+
customPalette: i.customPalette.length ? i.customPalette : n[t] || l
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
361
|
function xn(e) {
|
|
362
362
|
return Rt.includes(e) ? e : "classic";
|
|
363
363
|
}
|
|
364
364
|
function Sn(e) {
|
|
365
|
-
let t =
|
|
365
|
+
let t = oe(e);
|
|
366
366
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
367
367
|
}
|
|
368
368
|
let Cn = Sn(D.config);
|
|
@@ -371,50 +371,50 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
371
371
|
Cn = n;
|
|
372
372
|
let i = bn();
|
|
373
373
|
if (!r) {
|
|
374
|
-
A.value.style.chart.tooltip = i.style.chart.tooltip,
|
|
374
|
+
A.value.style.chart.tooltip = i.style.chart.tooltip, H.value.showTooltip = A.value.style.chart.tooltip.show;
|
|
375
375
|
return;
|
|
376
376
|
}
|
|
377
|
-
mn.value || (A.value = i), _n.value = !A.value.userOptions.showOnChartHover,
|
|
377
|
+
mn.value || (A.value = i), _n.value = !A.value.userOptions.showOnChartHover, En(), Qt.value += 1, $t.value += 1, H.value.dataLabels.show = N.value.bestPlotLabel.show, H.value.showTable = A.value.table.show, H.value.showTooltip = M.value.show, B.value = I.value.width, V.value = I.value.height, In.value = I.value.plots.radius;
|
|
378
378
|
}, { deep: !0 }), Xe(() => D.dataset, (e) => {
|
|
379
379
|
Array.isArray(e) && e.length > 0 && (gn.value = !1);
|
|
380
380
|
}, { deep: !0 });
|
|
381
|
-
let z = Je(null),
|
|
381
|
+
let z = Je(null), wn = Je(null);
|
|
382
382
|
Ke(() => {
|
|
383
|
-
|
|
383
|
+
En();
|
|
384
384
|
});
|
|
385
|
-
let
|
|
386
|
-
function
|
|
387
|
-
if (
|
|
385
|
+
let Tn = d(() => A.value.debug);
|
|
386
|
+
function En() {
|
|
387
|
+
if (c(D.dataset) ? (re({
|
|
388
388
|
componentName: "VueUiStripPlot",
|
|
389
389
|
type: "dataset",
|
|
390
|
-
debug:
|
|
390
|
+
debug: Tn.value
|
|
391
391
|
}), gn.value = !0) : D.dataset.forEach((e, t) => {
|
|
392
|
-
|
|
392
|
+
me({
|
|
393
393
|
datasetObject: e,
|
|
394
394
|
requiredAttributes: ["name", "plots"]
|
|
395
395
|
}).forEach((e) => {
|
|
396
|
-
Ut.value = !1,
|
|
396
|
+
Ut.value = !1, re({
|
|
397
397
|
componentName: "VueUiStripPlot",
|
|
398
398
|
type: "datasetSerieAttribute",
|
|
399
399
|
property: e,
|
|
400
400
|
index: t,
|
|
401
|
-
debug:
|
|
401
|
+
debug: Tn.value
|
|
402
402
|
});
|
|
403
403
|
}), e.plots && e.plots.forEach((e, n) => {
|
|
404
|
-
|
|
404
|
+
me({
|
|
405
405
|
datasetObject: e,
|
|
406
406
|
requiredAttributes: ["name", "value"]
|
|
407
407
|
}).forEach((e) => {
|
|
408
|
-
Ut.value = !1,
|
|
408
|
+
Ut.value = !1, re({
|
|
409
409
|
componentName: "VueUiStripPlot",
|
|
410
410
|
type: "datasetSerieAttribute",
|
|
411
411
|
property: e,
|
|
412
412
|
index: `${t},${n}`,
|
|
413
|
-
debug:
|
|
413
|
+
debug: Tn.value
|
|
414
414
|
});
|
|
415
415
|
});
|
|
416
416
|
});
|
|
417
|
-
}),
|
|
417
|
+
}), c(D.dataset) || (gn.value = A.value.loading), A.value.responsive) {
|
|
418
418
|
let e = Me(() => {
|
|
419
419
|
let { width: e, height: t } = Ne({
|
|
420
420
|
chart: O.value,
|
|
@@ -423,53 +423,53 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
423
423
|
noTitle: Xt.value
|
|
424
424
|
});
|
|
425
425
|
requestAnimationFrame(() => {
|
|
426
|
-
|
|
426
|
+
Fn.value = t, B.value = Math.max(.1, e), V.value = Math.max(.1, t - 12), A.value.responsiveProportionalSizing ? In.value = ae({
|
|
427
427
|
relator: Math.min(t, e),
|
|
428
428
|
adjuster: 600,
|
|
429
429
|
source: I.value.plots.radius,
|
|
430
430
|
threshold: 6,
|
|
431
431
|
fallback: 6
|
|
432
|
-
}) :
|
|
432
|
+
}) : In.value = I.value.plots.radius;
|
|
433
433
|
});
|
|
434
434
|
});
|
|
435
|
-
z.value && (
|
|
435
|
+
z.value && (wn.value && z.value.unobserve(wn.value), z.value.disconnect()), z.value = new ResizeObserver(e), wn.value = O.value.parentNode, z.value.observe(wn.value);
|
|
436
436
|
}
|
|
437
437
|
Zt.value = !0, setTimeout(() => {
|
|
438
|
-
|
|
439
|
-
},
|
|
438
|
+
Nn.value = !1;
|
|
439
|
+
}, Wn.value * 50);
|
|
440
440
|
}
|
|
441
441
|
Ge(() => {
|
|
442
|
-
z.value && (
|
|
442
|
+
z.value && (wn.value && z.value.unobserve(wn.value), z.value.disconnect());
|
|
443
443
|
});
|
|
444
|
-
let { isPrinting:
|
|
444
|
+
let { isPrinting: Dn, isImaging: On, generatePdf: kn, generateImage: An } = be({
|
|
445
445
|
elementId: `strip-plot_${Wt.value}`,
|
|
446
446
|
fileName: I.value.title.text || "vue-ui-strip-plot",
|
|
447
447
|
options: A.value.userOptions.print
|
|
448
|
-
}),
|
|
448
|
+
}), jn = d(() => A.value.userOptions.show && !I.value.title.text), Mn = d(() => he(A.value.customPalette)), Nn = x(A.value.useCssAnimation), Pn = x({
|
|
449
449
|
top: I.value.padding.top,
|
|
450
450
|
bottom: I.value.padding.bottom,
|
|
451
451
|
left: I.value.padding.left,
|
|
452
452
|
right: I.value.padding.right
|
|
453
|
-
}),
|
|
453
|
+
}), B = x(I.value.width), V = x(I.value.height), Fn = x(I.value.height), In = x(I.value.plots.radius), H = x({
|
|
454
454
|
showTable: A.value.table.show,
|
|
455
455
|
dataLabels: { show: N.value.bestPlotLabel.show },
|
|
456
456
|
showTooltip: M.value.show
|
|
457
457
|
});
|
|
458
458
|
Xe(A, () => {
|
|
459
|
-
|
|
459
|
+
H.value = {
|
|
460
460
|
showTable: A.value.table.show,
|
|
461
461
|
dataLabels: { show: N.value.bestPlotLabel.show },
|
|
462
462
|
showTooltip: M.value.show
|
|
463
|
-
},
|
|
463
|
+
}, B.value = I.value.width, V.value = I.value.height, In.value = I.value.plots.radius;
|
|
464
464
|
}, { immediate: !0 });
|
|
465
|
-
let
|
|
466
|
-
function
|
|
465
|
+
let U = d(() => Math.min(In.value, G.value.stripWidth / 2 * .9));
|
|
466
|
+
function W(e) {
|
|
467
467
|
return Number.isFinite(e) ? Number(e.toFixed(2)) : 0;
|
|
468
468
|
}
|
|
469
|
-
function In() {
|
|
470
|
-
return Math.max(0, (K.value.stripWidth / 2 - W.value * 1.8) * .86) * Math.min(1, P.value.widthRatio);
|
|
471
|
-
}
|
|
472
469
|
function Ln() {
|
|
470
|
+
return Math.max(0, (G.value.stripWidth / 2 - U.value * 1.8) * .86) * Math.min(1, P.value.widthRatio);
|
|
471
|
+
}
|
|
472
|
+
function Rn() {
|
|
473
473
|
let e = 0;
|
|
474
474
|
on.value && (e = Array.from(on.value.querySelectorAll("text")).reduce((e, t) => {
|
|
475
475
|
let n = t.getComputedTextLength();
|
|
@@ -478,26 +478,26 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
478
478
|
let t = rn.value ? rn.value.getBoundingClientRect().width : 0;
|
|
479
479
|
return e + t + (t ? 24 : 0);
|
|
480
480
|
}
|
|
481
|
-
let
|
|
482
|
-
|
|
481
|
+
let zn = x(0), Bn = Me((e) => {
|
|
482
|
+
zn.value = e;
|
|
483
483
|
}, 100);
|
|
484
484
|
Ze((e) => {
|
|
485
485
|
let t = an.value;
|
|
486
486
|
if (!t) return;
|
|
487
487
|
let n = new ResizeObserver((e) => {
|
|
488
|
-
|
|
488
|
+
Bn(e[0].contentRect.height);
|
|
489
489
|
});
|
|
490
490
|
n.observe(t), e(() => n.disconnect());
|
|
491
491
|
}), Ge(() => {
|
|
492
|
-
|
|
492
|
+
zn.value = 0;
|
|
493
493
|
});
|
|
494
|
-
let
|
|
494
|
+
let Vn = d(() => {
|
|
495
495
|
let e = 0;
|
|
496
496
|
nn.value && (e = nn.value.getBBox().height + N.value.axis.fontSize / 3 + 12 + N.value.axis.xLabelOffsetY);
|
|
497
497
|
let t = 0;
|
|
498
|
-
return an.value && (t =
|
|
499
|
-
}),
|
|
500
|
-
let e =
|
|
498
|
+
return an.value && (t = zn.value + 12), e + t;
|
|
499
|
+
}), G = d(() => {
|
|
500
|
+
let e = Rn(), t = Pn.value.left + e + N.value.axis.yLabelOffsetX + 5, n = B.value - Pn.value.right, r = Math.max(0, n - t), i = Pn.value.top + I.value.plots.radius + N.value.bestPlotLabel.fontSize, a = V.value - Pn.value.bottom - Vn.value, o = Math.max(0, a - i), s = Array.isArray(hn.value) ? hn.value.length : 0;
|
|
501
501
|
return {
|
|
502
502
|
left: t,
|
|
503
503
|
right: n,
|
|
@@ -506,56 +506,56 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
506
506
|
width: r,
|
|
507
507
|
height: o,
|
|
508
508
|
stripWidth: s > 0 ? r / s : 0,
|
|
509
|
-
absoluteHeight:
|
|
509
|
+
absoluteHeight: V.value
|
|
510
510
|
};
|
|
511
511
|
});
|
|
512
|
-
function
|
|
513
|
-
return
|
|
512
|
+
function Hn(e) {
|
|
513
|
+
return G.value.left + (e + 1) * G.value.stripWidth - G.value.stripWidth / 2;
|
|
514
514
|
}
|
|
515
|
-
let
|
|
516
|
-
let n =
|
|
515
|
+
let Un = d(() => hn.value.map((e, t) => {
|
|
516
|
+
let n = te();
|
|
517
517
|
return {
|
|
518
518
|
...e,
|
|
519
519
|
id: n,
|
|
520
|
-
color: e.color ?
|
|
520
|
+
color: e.color ? ee(e.color) : Mn.value[t] || l[t] || l[t % l.length],
|
|
521
521
|
plots: e.plots.map((r, i) => ({
|
|
522
522
|
...r,
|
|
523
|
-
value:
|
|
523
|
+
value: ie(r.value),
|
|
524
524
|
parentId: n,
|
|
525
525
|
parentName: e.name,
|
|
526
526
|
parentIndex: t,
|
|
527
527
|
plotIndex: i,
|
|
528
|
-
color: e.color ?
|
|
529
|
-
id:
|
|
528
|
+
color: e.color ? ee(e.color) : Mn.value[t] || l[t] || l[t % l.length],
|
|
529
|
+
id: te()
|
|
530
530
|
})).sort((e, t) => e.value - t.value)
|
|
531
531
|
};
|
|
532
|
-
})),
|
|
532
|
+
})), K = d(() => (Un.value || []).map((e, t) => ({
|
|
533
533
|
...e,
|
|
534
534
|
plots: e.plots.map((e) => ({
|
|
535
535
|
...e,
|
|
536
|
-
x:
|
|
536
|
+
x: Hn(t)
|
|
537
537
|
}))
|
|
538
|
-
}))),
|
|
539
|
-
let e =
|
|
538
|
+
}))), Wn = d(() => Math.max(...K.value.map((e) => e.plots.length))), Gn = d(() => {
|
|
539
|
+
let e = K.value.flatMap((e) => e.plots.map((e) => e.value));
|
|
540
540
|
return {
|
|
541
541
|
max: Math.max(...e),
|
|
542
542
|
min: Math.min(...e)
|
|
543
543
|
};
|
|
544
|
-
}),
|
|
545
|
-
let e = F.value.scaleMin, t = F.value.scaleMax, n = Math.max(2, F.value.scaleSteps), r =
|
|
546
|
-
if (e === null && t === null) return
|
|
547
|
-
if (e !== null && t !== null) return
|
|
548
|
-
let a =
|
|
549
|
-
return
|
|
544
|
+
}), Kn = d(() => {
|
|
545
|
+
let e = F.value.scaleMin, t = F.value.scaleMax, n = Math.max(2, F.value.scaleSteps), r = Gn.value.min < 0 ? Gn.value.min : 0, i = Gn.value.max;
|
|
546
|
+
if (e === null && t === null) return ne(r, i, n);
|
|
547
|
+
if (e !== null && t !== null) return pe(e, t, n);
|
|
548
|
+
let a = ne(e === null ? r : e, t === null ? i : t, n);
|
|
549
|
+
return pe(e === null ? a.min : e, t === null ? a.max : t, n);
|
|
550
550
|
});
|
|
551
|
-
function
|
|
552
|
-
let t =
|
|
553
|
-
return t ?
|
|
551
|
+
function q(e) {
|
|
552
|
+
let t = Kn.value.max - Kn.value.min;
|
|
553
|
+
return t ? G.value.bottom - (e - Kn.value.min) / t * G.value.height : G.value.bottom;
|
|
554
554
|
}
|
|
555
|
-
let
|
|
555
|
+
let J = d(() => (K.value || []).map((e, t) => {
|
|
556
556
|
let n = e.plots.map((e) => ({
|
|
557
557
|
...e,
|
|
558
|
-
y:
|
|
558
|
+
y: q(e.value)
|
|
559
559
|
})), r = fn.value === "classic" ? n.map(() => 0) : Xn(n);
|
|
560
560
|
return {
|
|
561
561
|
...e,
|
|
@@ -564,15 +564,15 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
564
564
|
x: e.x + r[t]
|
|
565
565
|
}))
|
|
566
566
|
};
|
|
567
|
-
})),
|
|
568
|
-
function
|
|
567
|
+
})), Y = d(() => fn.value === "violin" && !!P.value?.boxPlot?.show);
|
|
568
|
+
function qn(e, t) {
|
|
569
569
|
if (!e.length) return 0;
|
|
570
570
|
if (e.length === 1) return e[0];
|
|
571
571
|
let n = (e.length - 1) * t, r = Math.floor(n), i = n - r, a = e[r + 1];
|
|
572
572
|
return a === void 0 ? e[r] : e[r] + i * (a - e[r]);
|
|
573
573
|
}
|
|
574
|
-
let
|
|
575
|
-
let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r =
|
|
574
|
+
let X = d(() => Y.value ? J.value.map((e, t) => {
|
|
575
|
+
let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r = qn(n, .25), i = qn(n, .5), a = qn(n, .75), o = a - r, s = r - o * 1.5, c = a + o * 1.5, ee = n.find((e) => e >= s), l = n.slice().reverse().find((e) => e <= c), te = Hn(t), ne = Math.max(U.value * 2.8, Math.min(Ln() * .32, G.value.stripWidth * .12)) * Math.min(1.5, P.value.boxPlot.widthRatio);
|
|
576
576
|
return {
|
|
577
577
|
id: e.id,
|
|
578
578
|
boxPlotColor: P.value.boxPlot.useSerieColor ? e.color : P.value.boxPlot.color,
|
|
@@ -590,11 +590,11 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
590
590
|
centerX: te,
|
|
591
591
|
boxLeft: te - ne / 2,
|
|
592
592
|
boxWidth: ne,
|
|
593
|
-
q1Y:
|
|
594
|
-
medianY:
|
|
595
|
-
q3Y:
|
|
596
|
-
lowerY:
|
|
597
|
-
upperY:
|
|
593
|
+
q1Y: q(r),
|
|
594
|
+
medianY: q(i),
|
|
595
|
+
q3Y: q(a),
|
|
596
|
+
lowerY: q(ee ?? n[0]),
|
|
597
|
+
upperY: q(l ?? n[n.length - 1])
|
|
598
598
|
};
|
|
599
599
|
}) : []), Jn = d(() => [
|
|
600
600
|
A.value.table.columnNames.series,
|
|
@@ -607,7 +607,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
607
607
|
P.value.tooltipLabels.count
|
|
608
608
|
]);
|
|
609
609
|
function Yn(e) {
|
|
610
|
-
return
|
|
610
|
+
return t({
|
|
611
611
|
p: N.value.prefix,
|
|
612
612
|
v: e,
|
|
613
613
|
s: N.value.suffix,
|
|
@@ -615,9 +615,9 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
615
615
|
});
|
|
616
616
|
}
|
|
617
617
|
function Xn(e) {
|
|
618
|
-
let t = fn.value === "violin" ? Math.max(0,
|
|
618
|
+
let t = fn.value === "violin" ? Math.max(0, Ln() - U.value * 1.15) : Math.max(0, G.value.stripWidth / 2 - U.value * 1.5);
|
|
619
619
|
if (!e.length || !t) return e.map(() => 0);
|
|
620
|
-
let n = e.map(() => 0), r =
|
|
620
|
+
let n = e.map(() => 0), r = U.value * 2.1, i = Math.min(t, r), a = [0];
|
|
621
621
|
for (let e = i; e <= t + i / 2; e += i) a.push(-Math.min(e, t)), a.push(Math.min(e, t));
|
|
622
622
|
let o = [];
|
|
623
623
|
return e.forEach((e, t) => {
|
|
@@ -631,7 +631,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
631
631
|
});
|
|
632
632
|
}), n;
|
|
633
633
|
}
|
|
634
|
-
let Zn = d(() => fn.value === "violin" ?
|
|
634
|
+
let Zn = d(() => fn.value === "violin" ? J.value.map((e, t) => ({
|
|
635
635
|
id: e.id,
|
|
636
636
|
color: P.value.useSerieColor ? e.color : P.value.stroke,
|
|
637
637
|
fill: P.value.useSerieColor ? e.color : P.value.fill,
|
|
@@ -639,9 +639,9 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
639
639
|
connectors: $n(e.plots, t)
|
|
640
640
|
})) : []);
|
|
641
641
|
function Qn(e, t) {
|
|
642
|
-
let n =
|
|
643
|
-
if (!e.length || !
|
|
644
|
-
let r =
|
|
642
|
+
let n = Ln();
|
|
643
|
+
if (!e.length || !G.value.height || !n) return "";
|
|
644
|
+
let r = Hn(t), i = e.map((e) => e.y), a = Z(i), o = tr({
|
|
645
645
|
yValues: i,
|
|
646
646
|
bandwidth: a
|
|
647
647
|
});
|
|
@@ -663,30 +663,30 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
663
663
|
}
|
|
664
664
|
function $n(e, t) {
|
|
665
665
|
if (!e.length) return [];
|
|
666
|
-
let n =
|
|
666
|
+
let n = Hn(t), r = e.map((e) => e.y), i = tr({
|
|
667
667
|
yValues: r,
|
|
668
668
|
bandwidth: Z(r)
|
|
669
669
|
});
|
|
670
670
|
return i.length < 2 ? [] : i.slice(1).map((e, t) => {
|
|
671
|
-
let r = i[t], a = Z(r), o = Z(e), s = ge(Math.max(...r) + a * 2.35,
|
|
671
|
+
let r = i[t], a = Z(r), o = Z(e), s = ge(Math.max(...r) + a * 2.35, G.value.top, G.value.bottom), c = ge(Math.min(...e) - o * 2.35, G.value.top, G.value.bottom);
|
|
672
672
|
return {
|
|
673
|
-
x:
|
|
674
|
-
y1:
|
|
675
|
-
y2:
|
|
673
|
+
x: W(n),
|
|
674
|
+
y1: W(s),
|
|
675
|
+
y2: W(c)
|
|
676
676
|
};
|
|
677
677
|
});
|
|
678
678
|
}
|
|
679
679
|
function er({ clusterLength: e, totalLength: t, maxWidth: n }) {
|
|
680
680
|
let r = (e / t) ** .6, i = e <= 2 ? .72 : 1;
|
|
681
|
-
return Math.max(
|
|
681
|
+
return Math.max(U.value * 2.2, n * ge(r * i, .18, 1));
|
|
682
682
|
}
|
|
683
683
|
function Z(e) {
|
|
684
|
-
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(
|
|
685
|
-
return ge(1.06 * r * e.length ** -.2, i,
|
|
684
|
+
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;
|
|
685
|
+
return ge(1.06 * r * e.length ** -.2, i, G.value.height / 5);
|
|
686
686
|
}
|
|
687
687
|
function tr({ yValues: e, bandwidth: t }) {
|
|
688
688
|
if (e.length < 2) return [e];
|
|
689
|
-
let n = [...e].sort((e, t) => e - t), r = Math.max(t * 1.45,
|
|
689
|
+
let n = [...e].sort((e, t) => e - t), r = Math.max(t * 1.45, U.value * 5), i = [], a = [n[0]];
|
|
690
690
|
for (let e = 1; e < n.length; e += 1) Math.abs(n[e] - n[e - 1]) > r ? (i.push(a), a = [n[e]]) : a.push(n[e]);
|
|
691
691
|
return i.push(a), nr(i);
|
|
692
692
|
}
|
|
@@ -699,7 +699,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
699
699
|
}, []);
|
|
700
700
|
}
|
|
701
701
|
function rr({ yValues: e, centerX: t, maxWidth: n, bandwidth: r }) {
|
|
702
|
-
let i = ge(Math.min(...e) - r * 2.35,
|
|
702
|
+
let i = ge(Math.min(...e) - r * 2.35, G.value.top, G.value.bottom), a = ge(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) => {
|
|
703
703
|
let s = i + (a - i) * n / Math.max(1, o - 1);
|
|
704
704
|
return {
|
|
705
705
|
y: s,
|
|
@@ -713,14 +713,14 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
713
713
|
let ee = s.map((e, t) => {
|
|
714
714
|
let r = t === 0 || t === s.length - 1 ? 0 : e.density / c * n;
|
|
715
715
|
return {
|
|
716
|
-
y:
|
|
717
|
-
width:
|
|
716
|
+
y: W(e.y),
|
|
717
|
+
width: W(r)
|
|
718
718
|
};
|
|
719
719
|
}), l = ee.map((e) => ({
|
|
720
|
-
x:
|
|
720
|
+
x: W(t - e.width),
|
|
721
721
|
y: e.y
|
|
722
722
|
})), te = ee.slice(0, -1).reverse().map((e) => ({
|
|
723
|
-
x:
|
|
723
|
+
x: W(t + e.width),
|
|
724
724
|
y: e.y
|
|
725
725
|
}));
|
|
726
726
|
return `${ir([...l, ...te])} Z`;
|
|
@@ -730,16 +730,16 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
730
730
|
if (e.length === 1) return `M ${e[0].x} ${e[0].y}`;
|
|
731
731
|
let t = `M ${e[0].x} ${e[0].y}`;
|
|
732
732
|
for (let n = 1; n < e.length - 1; n += 1) {
|
|
733
|
-
let r = e[n], i = e[n + 1], a =
|
|
733
|
+
let r = e[n], i = e[n + 1], a = W((r.x + i.x) / 2), o = W((r.y + i.y) / 2);
|
|
734
734
|
t += ` Q ${r.x} ${r.y} ${a} ${o}`;
|
|
735
735
|
}
|
|
736
736
|
let n = e[e.length - 1];
|
|
737
737
|
return `${t} L ${n.x} ${n.y}`;
|
|
738
738
|
}
|
|
739
|
-
let ar = d(() =>
|
|
740
|
-
y:
|
|
741
|
-
x1:
|
|
742
|
-
x2:
|
|
739
|
+
let ar = d(() => Kn.value.ticks.map((e) => ({
|
|
740
|
+
y: q(e),
|
|
741
|
+
x1: G.value.left,
|
|
742
|
+
x2: G.value.right,
|
|
743
743
|
value: e
|
|
744
744
|
}))), or = x(null), Q = x(null);
|
|
745
745
|
function sr({ datapoint: e, seriesIndex: t }) {
|
|
@@ -754,34 +754,34 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
754
754
|
seriesIndex: t
|
|
755
755
|
});
|
|
756
756
|
}
|
|
757
|
-
function lr(e,
|
|
758
|
-
return ce(N.value.formatter, e,
|
|
757
|
+
function lr(e, n = {}) {
|
|
758
|
+
return ce(N.value.formatter, e, t({
|
|
759
759
|
p: N.value.prefix,
|
|
760
760
|
v: e,
|
|
761
761
|
s: N.value.suffix,
|
|
762
762
|
r: M.value.roundingValue
|
|
763
|
-
}),
|
|
763
|
+
}), n);
|
|
764
764
|
}
|
|
765
|
-
function ur({ datapoint: e, seriesIndex: t, triggerMode:
|
|
765
|
+
function ur({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
|
|
766
766
|
A.value.events.datapointEnter && A.value.events.datapointEnter({
|
|
767
767
|
datapoint: e,
|
|
768
768
|
seriesIndex: t
|
|
769
|
-
}), k.value =
|
|
769
|
+
}), k.value = n, or.value = {
|
|
770
770
|
datapoint: e,
|
|
771
771
|
seriesIndex: t,
|
|
772
772
|
config: A.value,
|
|
773
|
-
series:
|
|
773
|
+
series: Un.value
|
|
774
774
|
}, Kt.value = !0, Q.value = e;
|
|
775
|
-
let
|
|
776
|
-
if (
|
|
775
|
+
let r = M.value.customFormat;
|
|
776
|
+
if (i(r) && se(() => r({
|
|
777
777
|
seriesIndex: t,
|
|
778
778
|
datapoint: e,
|
|
779
|
-
series:
|
|
779
|
+
series: Un.value,
|
|
780
780
|
config: A.value
|
|
781
|
-
}))) qt.value =
|
|
781
|
+
}))) qt.value = r({
|
|
782
782
|
seriesIndex: t,
|
|
783
783
|
datapoint: e,
|
|
784
|
-
series:
|
|
784
|
+
series: Un.value,
|
|
785
785
|
config: A.value
|
|
786
786
|
});
|
|
787
787
|
else {
|
|
@@ -795,23 +795,23 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
795
795
|
function dr() {
|
|
796
796
|
k.value !== "keyboard" && (Kt.value = !1, Q.value = null);
|
|
797
797
|
}
|
|
798
|
-
function fr({ boxPlot: e, seriesIndex: t, triggerMode:
|
|
799
|
-
k.value =
|
|
798
|
+
function fr({ boxPlot: e, seriesIndex: t, triggerMode: n = "pointer" }) {
|
|
799
|
+
k.value = n, Q.value = null, Kt.value = !0, or.value = {
|
|
800
800
|
boxPlot: e,
|
|
801
801
|
seriesIndex: t,
|
|
802
802
|
config: A.value,
|
|
803
|
-
series:
|
|
803
|
+
series: Un.value
|
|
804
804
|
};
|
|
805
|
-
let
|
|
806
|
-
if (
|
|
805
|
+
let r = M.value.customFormat;
|
|
806
|
+
if (i(r)) try {
|
|
807
807
|
let n = {
|
|
808
808
|
boxPlot: e,
|
|
809
809
|
seriesIndex: t,
|
|
810
|
-
series:
|
|
810
|
+
series: Un.value,
|
|
811
811
|
config: A.value
|
|
812
812
|
};
|
|
813
|
-
if (
|
|
814
|
-
qt.value =
|
|
813
|
+
if (se(() => r(n))) {
|
|
814
|
+
qt.value = r(n);
|
|
815
815
|
return;
|
|
816
816
|
}
|
|
817
817
|
} catch {}
|
|
@@ -829,16 +829,16 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
829
829
|
qt.value = `<div style="min-width:160px;"><div style="display:flex;flex-direction:row;gap:6px;align-items:center;margin-bottom:6px;">${o}${e.name}</div>` + s + `<div style="display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:space-between;margin-top:6px;"><span>${P.value.tooltipLabels.count}</span><b>${e.count}</b></div></div>`;
|
|
830
830
|
}
|
|
831
831
|
let pr = d(() => ({
|
|
832
|
-
head:
|
|
832
|
+
head: K.value.flatMap((e) => JSON.parse(JSON.stringify(e.plots)).sort((e, t) => t.value - e.value).map((t) => ({
|
|
833
833
|
name: `${e.name} - ${t.name}`,
|
|
834
834
|
color: t.color
|
|
835
835
|
}))),
|
|
836
|
-
body:
|
|
836
|
+
body: K.value.flatMap((e) => JSON.parse(JSON.stringify(e.plots)).sort((e, t) => t.value - e.value).map((e) => e.value))
|
|
837
837
|
}));
|
|
838
838
|
function mr(e = null) {
|
|
839
839
|
Ue(() => {
|
|
840
|
-
let
|
|
841
|
-
|
|
840
|
+
let t = [], n = [A.value.table.columnNames.series, A.value.table.columnNames.value];
|
|
841
|
+
Y.value ? (n = Jn.value, t = X.value.map((e) => [
|
|
842
842
|
[e.name],
|
|
843
843
|
[e.lowerAdjacent],
|
|
844
844
|
[e.q1],
|
|
@@ -847,25 +847,25 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
847
847
|
[e.upperAdjacent],
|
|
848
848
|
[e.iqr],
|
|
849
849
|
[e.count]
|
|
850
|
-
])) :
|
|
851
|
-
let
|
|
850
|
+
])) : t = pr.value.head.map((e, t) => [[e.name], [pr.value.body[t]]]);
|
|
851
|
+
let i = [
|
|
852
852
|
[I.value.title.text],
|
|
853
853
|
[I.value.title.subtitle.text],
|
|
854
|
-
|
|
855
|
-
].concat(
|
|
856
|
-
e ? e(
|
|
857
|
-
csvContent:
|
|
854
|
+
n.map((e) => [e])
|
|
855
|
+
].concat(t), a = r(i);
|
|
856
|
+
e ? e(a) : ue({
|
|
857
|
+
csvContent: a,
|
|
858
858
|
title: I.value.title.text || "vue-ui-strip-plot"
|
|
859
859
|
});
|
|
860
860
|
});
|
|
861
861
|
}
|
|
862
862
|
let hr = d(() => {
|
|
863
|
-
if (
|
|
863
|
+
if (Y.value) {
|
|
864
864
|
let e = Jn.value;
|
|
865
865
|
return {
|
|
866
866
|
colNames: e,
|
|
867
867
|
head: e,
|
|
868
|
-
body:
|
|
868
|
+
body: X.value.map((e) => [
|
|
869
869
|
{
|
|
870
870
|
color: e.color,
|
|
871
871
|
name: e.name
|
|
@@ -893,18 +893,18 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
893
893
|
}
|
|
894
894
|
};
|
|
895
895
|
}
|
|
896
|
-
let e = [A.value.table.columnNames.series, A.value.table.columnNames.value],
|
|
897
|
-
let
|
|
896
|
+
let e = [A.value.table.columnNames.series, A.value.table.columnNames.value], n = pr.value.head.map((e, n) => {
|
|
897
|
+
let r = t({
|
|
898
898
|
p: N.value.prefix,
|
|
899
|
-
v: pr.value.body[
|
|
899
|
+
v: pr.value.body[n],
|
|
900
900
|
s: N.value.suffix,
|
|
901
901
|
r: A.value.table.td.roundingValue
|
|
902
902
|
});
|
|
903
903
|
return [{
|
|
904
904
|
color: e.color,
|
|
905
905
|
name: e.name
|
|
906
|
-
},
|
|
907
|
-
}),
|
|
906
|
+
}, r];
|
|
907
|
+
}), r = {
|
|
908
908
|
th: {
|
|
909
909
|
backgroundColor: A.value.table.th.backgroundColor,
|
|
910
910
|
color: A.value.table.th.color,
|
|
@@ -920,24 +920,24 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
920
920
|
return {
|
|
921
921
|
colNames: [A.value.table.columnNames.series, A.value.table.columnNames.value],
|
|
922
922
|
head: e,
|
|
923
|
-
body:
|
|
924
|
-
config:
|
|
923
|
+
body: n,
|
|
924
|
+
config: r
|
|
925
925
|
};
|
|
926
926
|
}), $ = x(!1);
|
|
927
927
|
function gr(e) {
|
|
928
928
|
$.value = e, Gt.value += 1;
|
|
929
929
|
}
|
|
930
930
|
function _r() {
|
|
931
|
-
return
|
|
931
|
+
return K.value;
|
|
932
932
|
}
|
|
933
933
|
function vr() {
|
|
934
|
-
|
|
934
|
+
H.value.showTable = !H.value.showTable;
|
|
935
935
|
}
|
|
936
936
|
function yr() {
|
|
937
|
-
|
|
937
|
+
H.value.dataLabels.show = !H.value.dataLabels.show;
|
|
938
938
|
}
|
|
939
939
|
function br() {
|
|
940
|
-
|
|
940
|
+
H.value.showTooltip = !H.value.showTooltip;
|
|
941
941
|
}
|
|
942
942
|
let xr = x(!1);
|
|
943
943
|
function Sr() {
|
|
@@ -960,9 +960,9 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
960
960
|
aspectRatio: r
|
|
961
961
|
};
|
|
962
962
|
}
|
|
963
|
-
let wr = d(() =>
|
|
963
|
+
let wr = d(() => K.value.map((e) => e.name)), Tr = x({
|
|
964
964
|
start: 0,
|
|
965
|
-
end:
|
|
965
|
+
end: K.value.length
|
|
966
966
|
});
|
|
967
967
|
De({
|
|
968
968
|
timeLabelsEls: an,
|
|
@@ -985,13 +985,13 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
985
985
|
"enable"
|
|
986
986
|
],
|
|
987
987
|
isAutoSize: !1,
|
|
988
|
-
width:
|
|
989
|
-
height:
|
|
988
|
+
width: B,
|
|
989
|
+
height: V,
|
|
990
990
|
targetClass: ".vue-ui-strip-plot-category-name",
|
|
991
991
|
rotation: N.value.xAxisLabels.autoRotate.angle
|
|
992
992
|
});
|
|
993
993
|
let Er = d(() => {
|
|
994
|
-
let e = A.value.table.useDialog && !A.value.table.show, t =
|
|
994
|
+
let e = A.value.table.useDialog && !A.value.table.show, t = H.value.showTable;
|
|
995
995
|
return {
|
|
996
996
|
component: e ? Lt : Mt,
|
|
997
997
|
title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
|
|
@@ -1021,11 +1021,11 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1021
1021
|
}
|
|
1022
1022
|
};
|
|
1023
1023
|
});
|
|
1024
|
-
Xe(() =>
|
|
1024
|
+
Xe(() => H.value.showTable, (e) => {
|
|
1025
1025
|
A.value.table.show || (e && A.value.table.useDialog && en.value ? en.value.open() : "close" in en.value && en.value.close());
|
|
1026
1026
|
});
|
|
1027
1027
|
function Dr() {
|
|
1028
|
-
|
|
1028
|
+
H.value.showTable = !1, tn.value && tn.value.setTableIconState(!1);
|
|
1029
1029
|
}
|
|
1030
1030
|
let Or = d(() => I.value.backgroundColor), kr = d(() => I.value.title), { isCallbackImaging: Ar, isCallbackSvg: jr, generateSvg: Mr, onGenerateImage: Nr } = Te({
|
|
1031
1031
|
svg: R,
|
|
@@ -1034,26 +1034,26 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1034
1034
|
legendItems: null,
|
|
1035
1035
|
backgroundColor: Or,
|
|
1036
1036
|
getSvgCallback: () => A.value.userOptions.callbacks.svg,
|
|
1037
|
-
generateImage:
|
|
1037
|
+
generateImage: An
|
|
1038
1038
|
});
|
|
1039
1039
|
async function Pr() {
|
|
1040
1040
|
if (Ht("copyAlt", {
|
|
1041
1041
|
config: A.value,
|
|
1042
|
-
dataset:
|
|
1042
|
+
dataset: J.value
|
|
1043
1043
|
}), !A.value.userOptions.callbacks.altCopy) {
|
|
1044
1044
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1045
1045
|
return;
|
|
1046
1046
|
}
|
|
1047
1047
|
await Promise.resolve(A.value.userOptions.callbacks.altCopy({
|
|
1048
1048
|
config: A.value,
|
|
1049
|
-
dataset:
|
|
1049
|
+
dataset: J.value
|
|
1050
1050
|
}));
|
|
1051
1051
|
}
|
|
1052
1052
|
function Fr() {
|
|
1053
|
-
return
|
|
1053
|
+
return J.value.length;
|
|
1054
1054
|
}
|
|
1055
1055
|
function Ir(e) {
|
|
1056
|
-
return
|
|
1056
|
+
return J.value[e]?.plots ?? [];
|
|
1057
1057
|
}
|
|
1058
1058
|
function Lr(e = sn.value, t = cn.value) {
|
|
1059
1059
|
return !Number.isInteger(e) || !Number.isInteger(t) ? null : Ir(e)[t] ?? null;
|
|
@@ -1065,8 +1065,8 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1065
1065
|
if (!e || !R.value) return;
|
|
1066
1066
|
let t = R.value.getBoundingClientRect();
|
|
1067
1067
|
ln.value = {
|
|
1068
|
-
x: t.left + e.x /
|
|
1069
|
-
y: t.top + e.y /
|
|
1068
|
+
x: t.left + e.x / B.value * t.width,
|
|
1069
|
+
y: t.top + e.y / V.value * t.height
|
|
1070
1070
|
};
|
|
1071
1071
|
}
|
|
1072
1072
|
function Br(e, t) {
|
|
@@ -1122,9 +1122,9 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1122
1122
|
return je({
|
|
1123
1123
|
getData: _r,
|
|
1124
1124
|
getImage: Cr,
|
|
1125
|
-
generatePdf:
|
|
1125
|
+
generatePdf: kn,
|
|
1126
1126
|
generateCsv: mr,
|
|
1127
|
-
generateImage:
|
|
1127
|
+
generateImage: An,
|
|
1128
1128
|
generateSvg: Mr,
|
|
1129
1129
|
toggleTable: vr,
|
|
1130
1130
|
toggleLabels: yr,
|
|
@@ -1132,14 +1132,14 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1132
1132
|
toggleAnnotator: Sr,
|
|
1133
1133
|
toggleFullscreen: gr,
|
|
1134
1134
|
copyAlt: Pr
|
|
1135
|
-
}), (e,
|
|
1135
|
+
}), (e, n) => (b(), m("div", {
|
|
1136
1136
|
ref_key: "stripPlotChart",
|
|
1137
1137
|
ref: O,
|
|
1138
1138
|
class: We(`vue-data-ui-component vue-ui-strip-plot ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${A.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1139
1139
|
style: y(`font-family:${A.value.style.fontFamily};width:100%; text-align:center;background:${I.value.backgroundColor};${A.value.responsive ? "height:100%" : ""}`),
|
|
1140
1140
|
id: `strip-plot_${Wt.value}`,
|
|
1141
|
-
onMouseenter:
|
|
1142
|
-
onMouseleave:
|
|
1141
|
+
onMouseenter: n[2] ||= () => T(vn)(!0),
|
|
1142
|
+
onMouseleave: n[3] ||= () => T(vn)(!1)
|
|
1143
1143
|
}, [
|
|
1144
1144
|
h("div", {
|
|
1145
1145
|
id: `chart-instructions-${Wt.value}`,
|
|
@@ -1184,7 +1184,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1184
1184
|
"isCursorPointer",
|
|
1185
1185
|
"palette"
|
|
1186
1186
|
])) : p("", !0),
|
|
1187
|
-
|
|
1187
|
+
jn.value ? (b(), m("div", {
|
|
1188
1188
|
key: 2,
|
|
1189
1189
|
ref_key: "noTitle",
|
|
1190
1190
|
ref: Xt,
|
|
@@ -1215,8 +1215,8 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1215
1215
|
key: `user_option_${Gt.value}`,
|
|
1216
1216
|
backgroundColor: I.value.backgroundColor,
|
|
1217
1217
|
color: I.value.color,
|
|
1218
|
-
isPrinting: T(
|
|
1219
|
-
isImaging: T(
|
|
1218
|
+
isPrinting: T(Dn),
|
|
1219
|
+
isImaging: T(On),
|
|
1220
1220
|
uid: Wt.value,
|
|
1221
1221
|
hasTooltip: j.value.buttons.tooltip && M.value.show,
|
|
1222
1222
|
hasPdf: j.value.buttons.pdf,
|
|
@@ -1227,7 +1227,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1227
1227
|
hasLabel: j.value.buttons.labels && A.value.type !== "violin",
|
|
1228
1228
|
hasFullscreen: j.value.buttons.fullscreen,
|
|
1229
1229
|
hasAltCopy: j.value.buttons.altCopy,
|
|
1230
|
-
isTooltip:
|
|
1230
|
+
isTooltip: H.value.showTooltip,
|
|
1231
1231
|
isFullscreen: $.value,
|
|
1232
1232
|
titles: { ...j.value.buttonTitles },
|
|
1233
1233
|
chartElement: O.value,
|
|
@@ -1239,7 +1239,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1239
1239
|
tableDialog: A.value.table.useDialog,
|
|
1240
1240
|
isCursorPointer: L.value,
|
|
1241
1241
|
onToggleFullscreen: gr,
|
|
1242
|
-
onGeneratePdf: T(
|
|
1242
|
+
onGeneratePdf: T(kn),
|
|
1243
1243
|
onGenerateCsv: mr,
|
|
1244
1244
|
onGenerateImage: T(Nr),
|
|
1245
1245
|
onGenerateSvg: T(Mr),
|
|
@@ -1328,13 +1328,13 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1328
1328
|
h("div", tt, [(b(), m("svg", {
|
|
1329
1329
|
ref_key: "svgRef",
|
|
1330
1330
|
ref: R,
|
|
1331
|
-
xmlns: T(
|
|
1331
|
+
xmlns: T(de),
|
|
1332
1332
|
class: We({
|
|
1333
1333
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1334
1334
|
"vue-data-ui-fulscreen--off": !$.value,
|
|
1335
1335
|
"vue-data-ui-no-transition": !T(dn)
|
|
1336
1336
|
}),
|
|
1337
|
-
viewBox: `0 0 ${
|
|
1337
|
+
viewBox: `0 0 ${B.value} ${V.value}`,
|
|
1338
1338
|
style: y(`max-width:100%; overflow: visible; background:transparent;color:${I.value.color};`),
|
|
1339
1339
|
"aria-describedby": `chart-instructions-${Wt.value}`,
|
|
1340
1340
|
tabindex: "0",
|
|
@@ -1345,10 +1345,10 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1345
1345
|
Ve(T(It)),
|
|
1346
1346
|
e.$slots["chart-background"] ? (b(), m("foreignObject", {
|
|
1347
1347
|
key: 0,
|
|
1348
|
-
x:
|
|
1349
|
-
y:
|
|
1350
|
-
width: Math.max(.1,
|
|
1351
|
-
height: Math.max(.1,
|
|
1348
|
+
x: G.value.left,
|
|
1349
|
+
y: G.value.top,
|
|
1350
|
+
width: Math.max(.1, G.value.width),
|
|
1351
|
+
height: Math.max(.1, G.value.height),
|
|
1352
1352
|
style: { pointerEvents: "none" }
|
|
1353
1353
|
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : p("", !0),
|
|
1354
1354
|
F.value.show ? (b(), m("g", it, [
|
|
@@ -1362,30 +1362,30 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1362
1362
|
"stroke-dasharray": F.value.horizontalGrid.strokeDasharray,
|
|
1363
1363
|
"stroke-linecap": "round"
|
|
1364
1364
|
}, null, 8, ot))), 256))])) : p("", !0),
|
|
1365
|
-
F.value.verticalGrid.show ? (b(), m("g", st, [(b(!0), m(u, null, S(
|
|
1366
|
-
x1:
|
|
1367
|
-
x2:
|
|
1368
|
-
y1:
|
|
1369
|
-
y2:
|
|
1365
|
+
F.value.verticalGrid.show ? (b(), m("g", st, [(b(!0), m(u, null, S(K.value, (e, t) => (b(), m("line", {
|
|
1366
|
+
x1: G.value.left + (t + 1) * G.value.stripWidth,
|
|
1367
|
+
x2: G.value.left + (t + 1) * G.value.stripWidth,
|
|
1368
|
+
y1: G.value.top,
|
|
1369
|
+
y2: G.value.bottom,
|
|
1370
1370
|
stroke: F.value.verticalGrid.stroke,
|
|
1371
1371
|
"stroke-width": F.value.verticalGrid.strokeWidth,
|
|
1372
1372
|
"stroke-dasharray": F.value.verticalGrid.strokeDasharray,
|
|
1373
1373
|
"stroke-linecap": "round"
|
|
1374
1374
|
}, null, 8, ct))), 256))])) : p("", !0),
|
|
1375
1375
|
h("line", {
|
|
1376
|
-
x1:
|
|
1377
|
-
x2:
|
|
1378
|
-
y1:
|
|
1379
|
-
y2:
|
|
1376
|
+
x1: G.value.left,
|
|
1377
|
+
x2: G.value.left,
|
|
1378
|
+
y1: G.value.top,
|
|
1379
|
+
y2: G.value.bottom,
|
|
1380
1380
|
stroke: F.value.stroke,
|
|
1381
1381
|
"stroke-width": F.value.strokeWidth,
|
|
1382
1382
|
"stroke-linecap": "round"
|
|
1383
1383
|
}, null, 8, lt),
|
|
1384
1384
|
h("line", {
|
|
1385
|
-
x1:
|
|
1386
|
-
x2:
|
|
1387
|
-
y1:
|
|
1388
|
-
y2:
|
|
1385
|
+
x1: G.value.left,
|
|
1386
|
+
x2: G.value.right,
|
|
1387
|
+
y1: G.value.bottom,
|
|
1388
|
+
y2: G.value.bottom,
|
|
1389
1389
|
stroke: F.value.stroke,
|
|
1390
1390
|
"stroke-width": F.value.strokeWidth,
|
|
1391
1391
|
"stroke-linecap": "round"
|
|
@@ -1395,21 +1395,21 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1395
1395
|
key: 2,
|
|
1396
1396
|
ref_key: "scaleLabels",
|
|
1397
1397
|
ref: on
|
|
1398
|
-
}, [(b(!0), m(u, null, S(ar.value, (e,
|
|
1398
|
+
}, [(b(!0), m(u, null, S(ar.value, (e, n) => (b(), m("text", {
|
|
1399
1399
|
class: We({ "vue-data-ui-transition": T(dn) }),
|
|
1400
|
-
key: `sl_${
|
|
1400
|
+
key: `sl_${n}`,
|
|
1401
1401
|
transform: `translate(${e.x1 + N.value.yAxisLabels.offsetX - 5}, ${e.y + N.value.yAxisLabels.fontSize / 3})`,
|
|
1402
1402
|
fill: N.value.yAxisLabels.color,
|
|
1403
1403
|
"font-size": N.value.yAxisLabels.fontSize,
|
|
1404
1404
|
"text-anchor": "end"
|
|
1405
|
-
}, w(T(ce)(N.value.formatter, e.value, T(
|
|
1405
|
+
}, w(T(ce)(N.value.formatter, e.value, T(t)({
|
|
1406
1406
|
p: N.value.prefix,
|
|
1407
1407
|
v: e.value,
|
|
1408
1408
|
s: N.value.suffix,
|
|
1409
1409
|
r: N.value.yAxisLabels.rounding
|
|
1410
1410
|
}), {
|
|
1411
1411
|
datapoint: e,
|
|
1412
|
-
seriesIndex:
|
|
1412
|
+
seriesIndex: n
|
|
1413
1413
|
})), 11, dt))), 128))], 512)) : p("", !0),
|
|
1414
1414
|
N.value.xAxisLabels.show ? (b(), m("g", {
|
|
1415
1415
|
key: 3,
|
|
@@ -1418,12 +1418,12 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1418
1418
|
}, [(b(!0), m(u, null, S(wr.value, (e, t) => (b(), m("g", null, [String(e).includes("\n") ? (b(), m("text", {
|
|
1419
1419
|
key: 1,
|
|
1420
1420
|
class: "vue-ui-strip-plot-category-name",
|
|
1421
|
-
transform: `translate(${
|
|
1421
|
+
transform: `translate(${G.value.left + (t + 1) * G.value.stripWidth - G.value.stripWidth / 2}, ${G.value.bottom + N.value.xAxisLabels.fontSize * 2 + N.value.xAxisLabels.offsetY}), rotate(${N.value.xAxisLabels.rotation})`,
|
|
1422
1422
|
"font-size": N.value.xAxisLabels.fontSize,
|
|
1423
1423
|
fill: N.value.xAxisLabels.color,
|
|
1424
1424
|
"text-anchor": N.value.xAxisLabels.rotation > 0 ? "start" : N.value.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
1425
|
-
innerHTML: T(
|
|
1426
|
-
content: T(
|
|
1425
|
+
innerHTML: T(a)({
|
|
1426
|
+
content: T(le)(String(e)),
|
|
1427
1427
|
fontSize: N.value.xAxisLabels.fontSize,
|
|
1428
1428
|
fill: N.value.xAxisLabels.color,
|
|
1429
1429
|
x: 0,
|
|
@@ -1432,7 +1432,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1432
1432
|
}, null, 8, pt)) : (b(), m("text", {
|
|
1433
1433
|
key: 0,
|
|
1434
1434
|
class: "vue-ui-strip-plot-category-name",
|
|
1435
|
-
transform: `translate(${
|
|
1435
|
+
transform: `translate(${G.value.left + (t + 1) * G.value.stripWidth - G.value.stripWidth / 2}, ${G.value.bottom + N.value.xAxisLabels.fontSize * 2 + N.value.xAxisLabels.offsetY}), rotate(${N.value.xAxisLabels.rotation})`,
|
|
1436
1436
|
"font-size": N.value.xAxisLabels.fontSize,
|
|
1437
1437
|
fill: N.value.xAxisLabels.color,
|
|
1438
1438
|
"text-anchor": N.value.xAxisLabels.rotation > 0 ? "start" : N.value.xAxisLabels.rotation < 0 ? "end" : "middle"
|
|
@@ -1443,7 +1443,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1443
1443
|
ref: rn,
|
|
1444
1444
|
fill: N.value.axis.color,
|
|
1445
1445
|
"font-size": N.value.axis.fontSize,
|
|
1446
|
-
transform: `translate(${N.value.axis.fontSize}, ${
|
|
1446
|
+
transform: `translate(${N.value.axis.fontSize}, ${G.value.top + G.value.height / 2}) rotate(-90)`,
|
|
1447
1447
|
"text-anchor": "middle"
|
|
1448
1448
|
}, w(N.value.axis.yLabel), 9, mt)) : p("", !0),
|
|
1449
1449
|
N.value.axis.xLabel ? (b(), m("text", {
|
|
@@ -1452,14 +1452,14 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1452
1452
|
ref: nn,
|
|
1453
1453
|
fill: N.value.axis.color,
|
|
1454
1454
|
"font-size": N.value.axis.fontSize,
|
|
1455
|
-
x:
|
|
1456
|
-
y:
|
|
1455
|
+
x: G.value.left + G.value.width / 2,
|
|
1456
|
+
y: V.value - N.value.axis.fontSize / 3,
|
|
1457
1457
|
"text-anchor": "middle"
|
|
1458
1458
|
}, w(N.value.axis.xLabel), 9, ht)) : p("", !0),
|
|
1459
1459
|
Q.value ? (b(), m(u, { key: 6 }, [
|
|
1460
1460
|
h("line", {
|
|
1461
|
-
x1:
|
|
1462
|
-
x2:
|
|
1461
|
+
x1: G.value.left,
|
|
1462
|
+
x2: G.value.right,
|
|
1463
1463
|
y1: Q.value.y,
|
|
1464
1464
|
y2: Q.value.y,
|
|
1465
1465
|
stroke: Q.value.color,
|
|
@@ -1467,21 +1467,21 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1467
1467
|
class: We({ "select-circle": A.value.useCssAnimation })
|
|
1468
1468
|
}, null, 10, gt),
|
|
1469
1469
|
h("circle", {
|
|
1470
|
-
cx:
|
|
1470
|
+
cx: G.value.left,
|
|
1471
1471
|
cy: Q.value.y,
|
|
1472
1472
|
r: 3,
|
|
1473
1473
|
fill: Q.value.color,
|
|
1474
1474
|
class: We({ "select-circle": A.value.useCssAnimation })
|
|
1475
1475
|
}, null, 10, _t),
|
|
1476
1476
|
h("circle", {
|
|
1477
|
-
cx:
|
|
1477
|
+
cx: G.value.right,
|
|
1478
1478
|
cy: Q.value.y,
|
|
1479
1479
|
r: 3,
|
|
1480
1480
|
fill: Q.value.color,
|
|
1481
1481
|
class: We({ "select-circle": A.value.useCssAnimation })
|
|
1482
1482
|
}, null, 10, vt)
|
|
1483
1483
|
], 64)) : p("", !0),
|
|
1484
|
-
h("defs", null, [(b(!0), m(u, null, S(
|
|
1484
|
+
h("defs", null, [(b(!0), m(u, null, S(K.value, (e) => (b(), f(Pe, {
|
|
1485
1485
|
t: "radial",
|
|
1486
1486
|
id: e.id,
|
|
1487
1487
|
key: `r_${e.id}`,
|
|
@@ -1489,12 +1489,12 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1489
1489
|
stops: [
|
|
1490
1490
|
[
|
|
1491
1491
|
"10%",
|
|
1492
|
-
T(
|
|
1492
|
+
T(o)(e.color, I.value.plots.gradient.intensity / 100),
|
|
1493
1493
|
1
|
|
1494
1494
|
],
|
|
1495
1495
|
[
|
|
1496
1496
|
"90%",
|
|
1497
|
-
T(
|
|
1497
|
+
T(s)(e.color, .1),
|
|
1498
1498
|
1
|
|
1499
1499
|
],
|
|
1500
1500
|
[
|
|
@@ -1504,7 +1504,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1504
1504
|
]
|
|
1505
1505
|
]
|
|
1506
1506
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1507
|
-
(b(!0), m(u, null, S(Zn.value, (e,
|
|
1507
|
+
(b(!0), m(u, null, S(Zn.value, (e, t) => (b(), m(u, { key: e.id }, [e.path ? (b(), m("path", {
|
|
1508
1508
|
key: 0,
|
|
1509
1509
|
d: e.path,
|
|
1510
1510
|
fill: e.fill,
|
|
@@ -1513,15 +1513,15 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1513
1513
|
"stroke-opacity": P.value.strokeOpacity,
|
|
1514
1514
|
"stroke-width": P.value.strokeWidth,
|
|
1515
1515
|
style: y({
|
|
1516
|
-
pointerEvents:
|
|
1517
|
-
cursor:
|
|
1516
|
+
pointerEvents: Y.value ? "auto" : "none",
|
|
1517
|
+
cursor: Y.value && L.value ? "pointer" : "default"
|
|
1518
1518
|
}),
|
|
1519
|
-
onMouseenter: (e) =>
|
|
1520
|
-
boxPlot:
|
|
1521
|
-
seriesIndex:
|
|
1519
|
+
onMouseenter: (e) => Y.value && X.value[t] && fr({
|
|
1520
|
+
boxPlot: X.value[t],
|
|
1521
|
+
seriesIndex: t,
|
|
1522
1522
|
triggerMode: "pointer"
|
|
1523
1523
|
}),
|
|
1524
|
-
onMouseleave:
|
|
1524
|
+
onMouseleave: n[0] ||= (e) => Y.value && dr()
|
|
1525
1525
|
}, null, 44, yt)) : p("", !0), (b(!0), m(u, null, S(e.connectors, (t, n) => (b(), m("line", {
|
|
1526
1526
|
key: `violin_connector_${e.id}_${n}`,
|
|
1527
1527
|
x1: t.x,
|
|
@@ -1534,7 +1534,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1534
1534
|
"stroke-linecap": "round",
|
|
1535
1535
|
style: { "pointer-events": "none" }
|
|
1536
1536
|
}, null, 8, bt))), 128))], 64))), 128)),
|
|
1537
|
-
(b(!0), m(u, null, S(
|
|
1537
|
+
(b(!0), m(u, null, S(X.value, (e, t) => (b(), m("g", {
|
|
1538
1538
|
key: `boxplot_${e.id}`,
|
|
1539
1539
|
style: y({ cursor: L.value ? "pointer" : "default" }),
|
|
1540
1540
|
onMouseenter: (n) => fr({
|
|
@@ -1549,7 +1549,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1549
1549
|
x2: e.centerX,
|
|
1550
1550
|
y1: e.upperY,
|
|
1551
1551
|
y2: e.lowerY,
|
|
1552
|
-
stroke: T(
|
|
1552
|
+
stroke: T(s)(e.boxPlotColor, .2),
|
|
1553
1553
|
"stroke-width": Math.max(1, P.value.strokeWidth),
|
|
1554
1554
|
"stroke-linecap": "round"
|
|
1555
1555
|
}, null, 8, St),
|
|
@@ -1559,7 +1559,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1559
1559
|
width: e.boxWidth,
|
|
1560
1560
|
height: Math.max(1, Math.abs(e.q3Y - e.q1Y)),
|
|
1561
1561
|
fill: e.boxPlotColor,
|
|
1562
|
-
stroke: T(
|
|
1562
|
+
stroke: T(s)(e.boxPlotColor, .2),
|
|
1563
1563
|
"stroke-width": Math.max(1, P.value.strokeWidth),
|
|
1564
1564
|
rx: e.boxWidth / 20
|
|
1565
1565
|
}, null, 8, Ct),
|
|
@@ -1568,35 +1568,35 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1568
1568
|
cy: e.medianY,
|
|
1569
1569
|
r: e.boxWidth / 3 * Math.min(1, P.value.boxPlot.medianCircleRadiusRatio),
|
|
1570
1570
|
fill: P.value.boxPlot.medianCircleFill,
|
|
1571
|
-
stroke: T(
|
|
1571
|
+
stroke: T(s)(e.boxPlotColor, .2)
|
|
1572
1572
|
}, null, 8, wt)
|
|
1573
1573
|
], 44, xt))), 128)),
|
|
1574
|
-
(b(!0), m(u, null, S(
|
|
1574
|
+
(b(!0), m(u, null, S(J.value, (n, r) => (b(), m(u, null, [Y.value ? p("", !0) : (b(!0), m(u, { key: 0 }, S(n.plots, (t, r) => (b(), f(Ae, He({ ref_for: !0 }, e.$attrs, {
|
|
1575
1575
|
plot: {
|
|
1576
|
-
x:
|
|
1577
|
-
y: Zt.value ?
|
|
1576
|
+
x: t.x,
|
|
1577
|
+
y: Zt.value ? t.y : G.value.top
|
|
1578
1578
|
},
|
|
1579
|
-
radius: Q.value && Q.value.id ===
|
|
1579
|
+
radius: Q.value && Q.value.id === t.id ? U.value * 1.5 : U.value,
|
|
1580
1580
|
shape: I.value.plots.shape,
|
|
1581
1581
|
stroke: I.value.plots.stroke,
|
|
1582
1582
|
strokeWidth: I.value.plots.strokeWidth,
|
|
1583
|
-
color: I.value.plots.gradient.show ? `url(#${
|
|
1584
|
-
style: `transition: all 0.2s ease-in-out; opacity:${Q.value ? Q.value.id ===
|
|
1583
|
+
color: I.value.plots.gradient.show ? `url(#${n.id})` : n.color,
|
|
1584
|
+
style: `transition: all 0.2s ease-in-out; opacity:${Q.value ? Q.value.id === t.id ? 1 : .2 : I.value.plots.opacity};${Nn.value ? `transition-delay:${r * 50}ms` : ""}`,
|
|
1585
1585
|
class: {
|
|
1586
|
-
"vue-ui-strip-plot-animated": A.value.useCssAnimation &&
|
|
1587
|
-
"vue-ui-strip-plot-select-circle": A.value.useCssAnimation && !
|
|
1586
|
+
"vue-ui-strip-plot-animated": A.value.useCssAnimation && Nn.value && !T(mn),
|
|
1587
|
+
"vue-ui-strip-plot-select-circle": A.value.useCssAnimation && !Nn.value
|
|
1588
1588
|
},
|
|
1589
1589
|
onMouseenter: (e) => ur({
|
|
1590
|
-
datapoint:
|
|
1590
|
+
datapoint: t,
|
|
1591
1591
|
seriesIndex: r,
|
|
1592
1592
|
triggerMode: "pointer"
|
|
1593
1593
|
}),
|
|
1594
1594
|
onMouseleave: (e) => sr({
|
|
1595
|
-
datapoint:
|
|
1595
|
+
datapoint: t,
|
|
1596
1596
|
seriesIndex: r
|
|
1597
1597
|
}),
|
|
1598
1598
|
onClick: (e) => cr({
|
|
1599
|
-
datapoint:
|
|
1599
|
+
datapoint: t,
|
|
1600
1600
|
seriesIndex: r
|
|
1601
1601
|
})
|
|
1602
1602
|
}), null, 16, [
|
|
@@ -1611,35 +1611,35 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1611
1611
|
"onMouseenter",
|
|
1612
1612
|
"onMouseleave",
|
|
1613
1613
|
"onClick"
|
|
1614
|
-
]))), 256)),
|
|
1614
|
+
]))), 256)), H.value.dataLabels.show && !Y.value ? (b(), m("g", Tt, [(b(!0), m(u, null, S(n.plots, (e, r) => (b(), m(u, null, [r === n.plots.length - 1 || Q.value && Q.value.id === e.id && !H.value.showTooltip ? (b(), m("text", {
|
|
1615
1615
|
key: 0,
|
|
1616
1616
|
x: e.x,
|
|
1617
|
-
y: e.y + N.value.bestPlotLabel.offsetY -
|
|
1617
|
+
y: e.y + N.value.bestPlotLabel.offsetY - U.value * (Q.value && Q.value.id === e.id && !H.value.showTooltip ? 2 : 1.5),
|
|
1618
1618
|
"font-size": N.value.bestPlotLabel.fontSize,
|
|
1619
1619
|
fill: N.value.bestPlotLabel.color,
|
|
1620
1620
|
"text-anchor": "middle",
|
|
1621
|
-
style: y(`opacity:${A.value.useCssAnimation ? +!
|
|
1622
|
-
}, w(e.name) + " " + w(N.value.bestPlotLabel.showValue ? T(ce)(N.value.formatter, e.value, T(
|
|
1621
|
+
style: y(`opacity:${A.value.useCssAnimation ? +!Nn.value : 1};transition:opacity 0.2s ease-in;`)
|
|
1622
|
+
}, w(e.name) + " " + w(N.value.bestPlotLabel.showValue ? T(ce)(N.value.formatter, e.value, T(t)({
|
|
1623
1623
|
p: `(${N.value.prefix}`,
|
|
1624
1624
|
v: e.value,
|
|
1625
1625
|
s: `${N.value.suffix})`,
|
|
1626
1626
|
r: I.value.labels.bestPlotLabel.rounding
|
|
1627
1627
|
}), {
|
|
1628
1628
|
datapoint: e,
|
|
1629
|
-
seriesIndex:
|
|
1629
|
+
seriesIndex: r
|
|
1630
1630
|
}) : ""), 13, Et)) : p("", !0)], 64))), 256))])) : p("", !0)], 64))), 256)),
|
|
1631
1631
|
C(e.$slots, "svg", { svg: {
|
|
1632
|
-
...
|
|
1633
|
-
isPrintingImg: T(
|
|
1632
|
+
...G.value,
|
|
1633
|
+
isPrintingImg: T(Dn) || T(On) || T(Ar),
|
|
1634
1634
|
isPrintingSvg: T(jr),
|
|
1635
|
-
boxPlotSummaries:
|
|
1636
|
-
series:
|
|
1635
|
+
boxPlotSummaries: X.value,
|
|
1636
|
+
series: K.value
|
|
1637
1637
|
} }, void 0, !0)
|
|
1638
1638
|
], 46, nt)), e.$slots.hint ? (b(), m("div", Dt, [C(e.$slots, "hint", v(_({
|
|
1639
1639
|
hint: A.value.a11y.translations.keyboardNavigation,
|
|
1640
1640
|
isVisible: un.value
|
|
1641
1641
|
})), void 0, !0)])) : p("", !0)]),
|
|
1642
|
-
e.$slots.watermark ? (b(), m("div", Ot, [C(e.$slots, "watermark", v(_({ isPrinting: T(
|
|
1642
|
+
e.$slots.watermark ? (b(), m("div", Ot, [C(e.$slots, "watermark", v(_({ isPrinting: T(Dn) || T(On) || T(Ar) || T(jr) })), void 0, !0)])) : p("", !0),
|
|
1643
1643
|
e.$slots.source ? (b(), m("div", {
|
|
1644
1644
|
key: 6,
|
|
1645
1645
|
ref_key: "source",
|
|
@@ -1648,7 +1648,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1648
1648
|
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
1649
1649
|
Ve(T(At), {
|
|
1650
1650
|
teleportTo: M.value.teleportTo,
|
|
1651
|
-
show:
|
|
1651
|
+
show: H.value.showTooltip && Kt.value,
|
|
1652
1652
|
backgroundColor: M.value.backgroundColor,
|
|
1653
1653
|
color: M.value.color,
|
|
1654
1654
|
borderRadius: M.value.borderRadius,
|
|
@@ -1662,7 +1662,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1662
1662
|
parent: O.value,
|
|
1663
1663
|
content: qt.value,
|
|
1664
1664
|
isFullscreen: $.value,
|
|
1665
|
-
isCustom: T(
|
|
1665
|
+
isCustom: T(i)(M.value.customFormat),
|
|
1666
1666
|
smooth: M.value.smooth,
|
|
1667
1667
|
backdropFilter: M.value.backdropFilter,
|
|
1668
1668
|
smoothForce: M.value.smoothForce,
|
|
@@ -1736,7 +1736,7 @@ var Qe = /* @__PURE__ */ e({ default: () => At }), $e = ["id"], et = ["id"], tt
|
|
|
1736
1736
|
fn: E(() => [h("button", {
|
|
1737
1737
|
tabindex: "0",
|
|
1738
1738
|
class: "vue-ui-user-options-button",
|
|
1739
|
-
onClick:
|
|
1739
|
+
onClick: n[1] ||= (e) => mr(j.value.callbacks.csv),
|
|
1740
1740
|
style: y({ cursor: L.value ? "pointer" : "default" })
|
|
1741
1741
|
}, [Ve(T(jt), {
|
|
1742
1742
|
name: "fileCsv",
|