vue-data-ui 3.22.4 → 3.22.6
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-CgzmXCW_.js → Arrow-Ds4xmpiQ.js} +1 -1
- package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-VbypEaAa.js} +2 -2
- package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-DcUvOfxf.js} +1 -1
- package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-DFwIY5bE.js} +1 -1
- package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-DwolSINF.js} +2 -2
- package/dist/{ColorPicker-Usv7badH.js → ColorPicker-UVDPcrjE.js} +2 -2
- package/dist/{DataTable-PidUPOit.js → DataTable-CXfvIulC.js} +2 -2
- package/dist/{Legend-DXOzbXb-.js → Legend-D-635Kag.js} +2 -2
- package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-pR_1qp3s.js} +29 -29
- package/dist/{PackageVersion-Cm-3hwIF.js → PackageVersion-Da7hl-34.js} +1 -1
- package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-Bk2-E7V4.js} +18 -18
- package/dist/{Shape-BnF9aMPX.js → Shape-BSetplwm.js} +1 -1
- package/dist/{Slicer-hEvKOLw3.js → Slicer-ClIGOuoX.js} +2 -2
- package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-D1n9AW39.js} +4 -4
- package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-CjDAyolg.js} +1 -1
- package/dist/{Title-DDEEO-Nr.js → Title-C-p0ilWB.js} +1 -1
- package/dist/{Tooltip-BhKov422.js → Tooltip-YabpoXo1.js} +1 -1
- package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BO4VFL8O.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-ZOysoMwu.js → dom-to-png-CVJfsfwL.js} +1 -1
- package/dist/exposedLib-CjwriUaG.js +19 -0
- package/dist/{img-B29J8tV5.js → img-B_y5qDdm.js} +1 -1
- package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CyVwqXSh.js} +1 -1
- package/dist/{lib-CuwHGt1j.js → lib-DRBJCmHW.js} +6 -9
- package/dist/{package-CRlwXCDr.js → package-DyQ_PQis.js} +1 -1
- package/dist/{pdf-ymYt9Lee.js → pdf-CG02qhAH.js} +1 -1
- package/dist/{render-common-D6ny-Fwu.js → render-common-CUAlQvAQ.js} +22 -22
- 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 +14 -0
- package/dist/types/vue-ui-treemap.d.ts +3 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-DPMOys9n.js} +1 -1
- package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
- package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-BEo2N1Db.js} +1 -1
- package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
- package/dist/{usePrinter-C0wAS8yc.js → usePrinter-CRp5IW3v.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-DTWqd0R2.js → vue-data-ui-Bpu4kxlm.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +1757 -0
- package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-CfMrbDoq.js} +4 -4
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +1238 -0
- package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-CG6rhFpy.js} +68 -68
- package/dist/{vue-ui-bullet-tlj5_z_z.js → vue-ui-bullet-C_oBS1cr.js} +18 -18
- package/dist/{vue-ui-bump-BD0Uq3As.js → vue-ui-bump-BZB1Na8h.js} +243 -243
- package/dist/{vue-ui-candlestick-CZxsNGKS.js → vue-ui-candlestick-8d_1xO8X.js} +27 -27
- package/dist/{vue-ui-carousel-table-ycbcmBKt.js → vue-ui-carousel-table-BfZNcwmY.js} +43 -43
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +2010 -0
- package/dist/vue-ui-chord-B-sauvLo.js +1391 -0
- package/dist/{vue-ui-circle-pack-BPC6zUis.js → vue-ui-circle-pack-BLh8HnGK.js} +32 -32
- package/dist/{vue-ui-cursor-DF_e5k1s.js → vue-ui-cursor-DVsEm_4l.js} +4 -4
- package/dist/{vue-ui-dag-BIo4-Oa8.js → vue-ui-dag-Cfi0b9qm.js} +24 -24
- package/dist/{vue-ui-dashboard-BEtF6UX2.js → vue-ui-dashboard-F_NZ1xoQ.js} +70 -70
- package/dist/{vue-ui-digits-07IxTlNO.js → vue-ui-digits-BfP1kbj3.js} +4 -4
- package/dist/vue-ui-donut-BwAyvV3-.js +2410 -0
- package/dist/{vue-ui-donut-C5oRCxAO.js → vue-ui-donut-DlVRnVr_.js} +120 -120
- package/dist/{vue-ui-donut-evolution-BSeyPC9k.js → vue-ui-donut-evolution-D1k4u6cA.js} +419 -419
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +1530 -0
- package/dist/{vue-ui-flow-R_dLE1WS.js → vue-ui-flow-D_7Idmmw.js} +84 -84
- package/dist/vue-ui-funnel-BYCFV5TD.js +777 -0
- package/dist/vue-ui-galaxy-Bjxbg5_B.js +1077 -0
- package/dist/{vue-ui-gauge-AbzY-7Gg.js → vue-ui-gauge-Dt0H7DgC.js} +217 -217
- package/dist/{vue-ui-geo-DVT9XEC3.js → vue-ui-geo-89DEQb5l.js} +18 -18
- package/dist/{vue-ui-gizmo-DJTRXao8.js → vue-ui-gizmo-CQyLK18v.js} +62 -62
- package/dist/{vue-ui-heatmap-BCFId15K.js → vue-ui-heatmap-o6MvoxBK.js} +247 -247
- package/dist/vue-ui-history-plot-B7zuCfdg.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-j3jszojt.js → vue-ui-horizontal-bar-CwB4sc6M.js} +275 -275
- package/dist/{vue-ui-kpi-DJjF6tcf.js → vue-ui-kpi-4C-j92D-.js} +4 -4
- package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-Bj4Wv-i8.js} +3 -3
- package/dist/vue-ui-molecule-BDrRmwmm.js +925 -0
- package/dist/{vue-ui-mood-radar-DP_4LHfZ.js → vue-ui-mood-radar-B5W35Fvp.js} +30 -30
- package/dist/{vue-ui-nested-donuts-DFsLZEqx.js → vue-ui-nested-donuts-wfesrzle.js} +105 -105
- package/dist/{vue-ui-onion-CzXx3Rme.js → vue-ui-onion-B8-psLbF.js} +40 -40
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +1416 -0
- package/dist/vue-ui-quadrant-BzyGOJR2.js +1978 -0
- package/dist/{vue-ui-quick-chart-CnIFPFPv.js → vue-ui-quick-chart-so_8PzvS.js} +663 -663
- package/dist/{vue-ui-radar-CNwKFbHc.js → vue-ui-radar-5fQ5AAWD.js} +63 -63
- package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-CKWHDKOT.js} +34 -34
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +924 -0
- package/dist/{vue-ui-ridgeline-Kw50zROq.js → vue-ui-ridgeline-DVbYznRz.js} +102 -102
- package/dist/vue-ui-rings-c-yLWFHr.js +1246 -0
- package/dist/{vue-ui-scatter-DoL5Kh1Y.js → vue-ui-scatter-QhmE7n1H.js} +87 -87
- package/dist/{vue-ui-skeleton-BOHwJSdz.js → vue-ui-skeleton-BkxB6Dik.js} +4 -4
- package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-C4g0iaF7.js} +10 -10
- package/dist/{vue-ui-spark-trend-OgSFIFh0.js → vue-ui-spark-trend-0FELlq4x.js} +98 -98
- package/dist/{vue-ui-sparkbar-D8FdqMB_.js → vue-ui-sparkbar-D-i_VLO6.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CBpPbVkw.js → vue-ui-sparkgauge-CWw6w_ng.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-BQjbLa2k.js → vue-ui-sparkhistogram-DuGpkfma.js} +105 -105
- package/dist/{vue-ui-sparkline-BJfh5Lje.js → vue-ui-sparkline-Bi06lHQd.js} +252 -252
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +662 -0
- package/dist/{vue-ui-stackbar-Dqs7_g8D.js → vue-ui-stackbar-DDvuDGQ_.js} +85 -85
- package/dist/vue-ui-stackline-C0NHBUaE.js +2416 -0
- package/dist/{vue-ui-strip-plot-B7D6Hk8R.js → vue-ui-strip-plot-_6LL45i9.js} +369 -369
- package/dist/{vue-ui-table-Bqi9XNvY.js → vue-ui-table-DBlZswRi.js} +26 -26
- package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-3xYIDKcP.js} +6 -6
- package/dist/{vue-ui-table-sparkline-0Ffb2jdf.js → vue-ui-table-sparkline-BH5PzEnJ.js} +201 -201
- package/dist/{vue-ui-thermometer-Di5PXtEO.js → vue-ui-thermometer-BxMzAqoT.js} +119 -119
- package/dist/{vue-ui-timer-9CDcd-gP.js → vue-ui-timer-ONSitYDm.js} +30 -30
- package/dist/{vue-ui-tiremarks-BAQ-cCSq.js → vue-ui-tiremarks-DWXM-9nR.js} +15 -15
- package/dist/vue-ui-treemap-B03c4RIy.js +1713 -0
- package/dist/{vue-ui-waffle-DG2IfACo.js → vue-ui-waffle-afa8HSxz.js} +160 -160
- package/dist/{vue-ui-wheel-BfXJFCjv.js → vue-ui-wheel-DRP7X8S2.js} +37 -37
- package/dist/{vue-ui-word-cloud-3NJy1z6d.js → vue-ui-word-cloud-AKpMO97a.js} +38 -38
- package/dist/{vue-ui-world-vrGT5g1H.js → vue-ui-world-CqS-HhZl.js} +400 -400
- package/dist/{vue-ui-xy-Dg0wxSeC.js → vue-ui-xy-Bmd11BxR.js} +656 -656
- package/dist/{vue-ui-xy-Cb7u46JN.js → vue-ui-xy-DJ8YKPgs.js} +244 -244
- package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DO_PDGKf.js} +47 -47
- package/package.json +1 -1
- package/dist/exposedLib-C2U48XK7.js +0 -19
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +0 -1757
- package/dist/vue-ui-age-pyramid-e09oK-Fp.js +0 -1238
- package/dist/vue-ui-chestnut-CnEsjvh4.js +0 -2010
- package/dist/vue-ui-chord-BZhXsZXp.js +0 -1391
- package/dist/vue-ui-donut-C4FcvXm3.js +0 -2410
- package/dist/vue-ui-dumbbell-Cykw4WYn.js +0 -1530
- package/dist/vue-ui-funnel-Ct5xQdak.js +0 -777
- package/dist/vue-ui-galaxy-B5BkdIt5.js +0 -1077
- package/dist/vue-ui-history-plot-DCeroetw.js +0 -1700
- package/dist/vue-ui-molecule-2pfoR63d.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +0 -1416
- package/dist/vue-ui-quadrant-Br_iZmcw.js +0 -1978
- package/dist/vue-ui-relation-circle-BVDIikGi.js +0 -924
- package/dist/vue-ui-rings-BDJyoWvT.js +0 -1246
- package/dist/vue-ui-sparkstackbar-1WUQrqd7.js +0 -662
- package/dist/vue-ui-stackline-IRjugedp.js +0 -2416
- package/dist/vue-ui-treemap-CLOlWiDE.js +0 -1587
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { n as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { c as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { Fragment as
|
|
2
|
+
import { At as t, Dt as n, H as r, Ht as i, K as a, Q as o, S as s, Ut as c, W as l, Wt as ee, X as te, _t as ne, at as re, b as ie, h as ae, i as oe, lt as se, q as ce, qt as le, t as ue, v as de, w as fe, wt as pe, y as u } from "./lib-DRBJCmHW.js";
|
|
3
|
+
import { t as me } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as he } from "./usePrinter-CRp5IW3v.js";
|
|
5
|
+
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
+
import { t as ve } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as ye } from "./useNestedProp-BEo2N1Db.js";
|
|
8
|
+
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
10
|
+
import { t as Se } from "./img-B_y5qDdm.js";
|
|
11
|
+
import { n as Ce } from "./Title-C-p0ilWB.js";
|
|
12
|
+
import { t as we } from "./Shape-BSetplwm.js";
|
|
13
|
+
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { c as Ee } from "./canvas-lib-BOP_HS11.js";
|
|
15
|
+
import { t as De } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
+
import { t as Oe } from "./A11yDataTable-DdRsVULz.js";
|
|
17
|
+
import { t as ke } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
|
+
import { t as Ae } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
+
import { t as je } from "./vue_ui_strip_plot-BaHbnnwN.js";
|
|
20
|
+
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Fe, nextTick as Ie, normalizeClass as Le, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Re, onMounted as ze, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Be, shallowRef as Ve, toDisplayString as T, toRefs as He, unref as E, watch as Ue, watchEffect as We, withCtx as D } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-strip-plot.vue
|
|
22
|
-
var
|
|
22
|
+
var Ge = /* @__PURE__ */ e({ default: () => Dt }), Ke = ["id"], qe = ["id"], Je = { style: { position: "relative" } }, Ye = [
|
|
23
23
|
"xmlns",
|
|
24
24
|
"viewBox",
|
|
25
25
|
"aria-describedby"
|
|
26
|
-
],
|
|
26
|
+
], Xe = [
|
|
27
27
|
"x",
|
|
28
28
|
"y",
|
|
29
29
|
"width",
|
|
30
30
|
"height"
|
|
31
|
-
],
|
|
31
|
+
], Ze = { key: 1 }, Qe = { key: 0 }, $e = [
|
|
32
32
|
"x1",
|
|
33
33
|
"x2",
|
|
34
34
|
"y1",
|
|
@@ -36,7 +36,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
36
36
|
"stroke",
|
|
37
37
|
"stroke-width",
|
|
38
38
|
"stroke-dasharray"
|
|
39
|
-
],
|
|
39
|
+
], et = { key: 1 }, tt = [
|
|
40
40
|
"x1",
|
|
41
41
|
"x2",
|
|
42
42
|
"y1",
|
|
@@ -44,60 +44,60 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
44
44
|
"stroke",
|
|
45
45
|
"stroke-width",
|
|
46
46
|
"stroke-dasharray"
|
|
47
|
-
],
|
|
47
|
+
], nt = [
|
|
48
48
|
"x1",
|
|
49
49
|
"x2",
|
|
50
50
|
"y1",
|
|
51
51
|
"y2",
|
|
52
52
|
"stroke",
|
|
53
53
|
"stroke-width"
|
|
54
|
-
],
|
|
54
|
+
], rt = [
|
|
55
55
|
"x1",
|
|
56
56
|
"x2",
|
|
57
57
|
"y1",
|
|
58
58
|
"y2",
|
|
59
59
|
"stroke",
|
|
60
60
|
"stroke-width"
|
|
61
|
-
],
|
|
61
|
+
], it = [
|
|
62
62
|
"x",
|
|
63
63
|
"y",
|
|
64
64
|
"fill",
|
|
65
65
|
"font-size"
|
|
66
|
-
],
|
|
66
|
+
], at = [
|
|
67
67
|
"transform",
|
|
68
68
|
"font-size",
|
|
69
69
|
"fill",
|
|
70
70
|
"text-anchor"
|
|
71
|
-
],
|
|
71
|
+
], ot = [
|
|
72
72
|
"transform",
|
|
73
73
|
"font-size",
|
|
74
74
|
"fill",
|
|
75
75
|
"text-anchor",
|
|
76
76
|
"innerHTML"
|
|
77
|
-
],
|
|
77
|
+
], st = [
|
|
78
78
|
"fill",
|
|
79
79
|
"font-size",
|
|
80
80
|
"transform"
|
|
81
|
-
],
|
|
81
|
+
], ct = [
|
|
82
82
|
"fill",
|
|
83
83
|
"font-size",
|
|
84
84
|
"x",
|
|
85
85
|
"y"
|
|
86
|
-
],
|
|
86
|
+
], lt = [
|
|
87
87
|
"x1",
|
|
88
88
|
"x2",
|
|
89
89
|
"y1",
|
|
90
90
|
"y2",
|
|
91
91
|
"stroke"
|
|
92
|
-
],
|
|
92
|
+
], ut = [
|
|
93
93
|
"cx",
|
|
94
94
|
"cy",
|
|
95
95
|
"fill"
|
|
96
|
-
],
|
|
96
|
+
], dt = [
|
|
97
97
|
"cx",
|
|
98
98
|
"cy",
|
|
99
99
|
"fill"
|
|
100
|
-
],
|
|
100
|
+
], ft = ["id"], pt = ["stop-color"], mt = ["stop-color"], ht = ["stop-color"], gt = [
|
|
101
101
|
"d",
|
|
102
102
|
"fill",
|
|
103
103
|
"stroke",
|
|
@@ -105,7 +105,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
105
105
|
"stroke-opacity",
|
|
106
106
|
"stroke-width",
|
|
107
107
|
"onMouseenter"
|
|
108
|
-
],
|
|
108
|
+
], _t = [
|
|
109
109
|
"x1",
|
|
110
110
|
"x2",
|
|
111
111
|
"y1",
|
|
@@ -113,14 +113,14 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
113
113
|
"stroke",
|
|
114
114
|
"stroke-opacity",
|
|
115
115
|
"stroke-width"
|
|
116
|
-
],
|
|
116
|
+
], vt = ["onMouseenter"], yt = [
|
|
117
117
|
"x1",
|
|
118
118
|
"x2",
|
|
119
119
|
"y1",
|
|
120
120
|
"y2",
|
|
121
121
|
"stroke",
|
|
122
122
|
"stroke-width"
|
|
123
|
-
],
|
|
123
|
+
], bt = [
|
|
124
124
|
"x",
|
|
125
125
|
"y",
|
|
126
126
|
"width",
|
|
@@ -129,18 +129,18 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
129
129
|
"stroke",
|
|
130
130
|
"stroke-width",
|
|
131
131
|
"rx"
|
|
132
|
-
],
|
|
132
|
+
], xt = [
|
|
133
133
|
"cx",
|
|
134
134
|
"cy",
|
|
135
135
|
"r",
|
|
136
136
|
"fill",
|
|
137
137
|
"stroke"
|
|
138
|
-
],
|
|
138
|
+
], St = { key: 1 }, Ct = [
|
|
139
139
|
"x",
|
|
140
140
|
"y",
|
|
141
141
|
"font-size",
|
|
142
142
|
"fill"
|
|
143
|
-
],
|
|
143
|
+
], wt = {
|
|
144
144
|
key: 0,
|
|
145
145
|
style: {
|
|
146
146
|
position: "absolute",
|
|
@@ -150,10 +150,10 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
150
150
|
},
|
|
151
151
|
"data-dom-to-png-ignore": "",
|
|
152
152
|
"aria-hidden": "true"
|
|
153
|
-
},
|
|
153
|
+
}, Tt = {
|
|
154
154
|
key: 5,
|
|
155
155
|
class: "vue-data-ui-watermark"
|
|
156
|
-
},
|
|
156
|
+
}, Et = ["innerHTML"], Dt = /*#__PURE__*/ Te({
|
|
157
157
|
__name: "vue-ui-strip-plot",
|
|
158
158
|
props: {
|
|
159
159
|
config: {
|
|
@@ -170,22 +170,22 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
emits: ["selectDatapoint", "copyAlt"],
|
|
173
|
-
setup(e, { expose:
|
|
174
|
-
let
|
|
173
|
+
setup(e, { expose: Te, emit: Ge }) {
|
|
174
|
+
let Dt = _(() => import("./Tooltip-YabpoXo1.js")), Ot = _(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), kt = _(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), At = _(() => import("./DataTable-CXfvIulC.js")), jt = _(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), Mt = _(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), Nt = _(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), Pt = _(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), Ft = [
|
|
175
175
|
"classic",
|
|
176
176
|
"scatter",
|
|
177
177
|
"violin"
|
|
178
|
-
], { vue_ui_strip_plot:
|
|
178
|
+
], { vue_ui_strip_plot: It } = me(), { isThemeValid: Lt, warnInvalidTheme: Rt } = be(), O = e, zt = Ge, Bt = f({
|
|
179
179
|
get() {
|
|
180
|
-
return !!
|
|
180
|
+
return !!O.dataset && O.dataset.length;
|
|
181
181
|
},
|
|
182
182
|
set(e) {
|
|
183
183
|
return e;
|
|
184
184
|
}
|
|
185
|
-
}),
|
|
185
|
+
}), k = S(l()), Vt = S(0), A = S(!1), Ht = S(""), j = S(null), Ut = S(null), Wt = S(null), Gt = S(null), Kt = S(!1), qt = S(0), Jt = S(0), Yt = S(null), Xt = S(null), Zt = S(!1), Qt = S(!1), $t = S(null), en = S(null), tn = S(null), nn = S(null), M = S(null), rn = S(null), N = S("pointer"), an = S({
|
|
186
186
|
x: 0,
|
|
187
187
|
y: 0
|
|
188
|
-
}), on =
|
|
188
|
+
}), on = S(!1), P = S(hn()), sn = f(() => gn(P.value.type)), F = f(() => P.value.userOptions.useCursorPointer), cn = f(() => ee({
|
|
189
189
|
defaultConfig: {
|
|
190
190
|
userOptions: { show: !1 },
|
|
191
191
|
table: { show: !1 },
|
|
@@ -215,11 +215,11 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
215
215
|
} }
|
|
216
216
|
},
|
|
217
217
|
userConfig: P.value.skeletonConfig ?? {}
|
|
218
|
-
})), { loading: ln, FINAL_DATASET: un, manualLoading: dn } =
|
|
219
|
-
...
|
|
218
|
+
})), { loading: ln, FINAL_DATASET: un, manualLoading: dn } = ge({
|
|
219
|
+
...He(O),
|
|
220
220
|
FINAL_CONFIG: P,
|
|
221
221
|
prepareConfig: hn,
|
|
222
|
-
skeletonDataset:
|
|
222
|
+
skeletonDataset: O.config?.skeletonDataset ?? [
|
|
223
223
|
{
|
|
224
224
|
name: "_",
|
|
225
225
|
color: "#DBDBDB",
|
|
@@ -311,54 +311,54 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
311
311
|
]
|
|
312
312
|
}
|
|
313
313
|
],
|
|
314
|
-
skeletonConfig:
|
|
314
|
+
skeletonConfig: ee({
|
|
315
315
|
defaultConfig: P.value,
|
|
316
316
|
userConfig: cn.value
|
|
317
317
|
})
|
|
318
|
-
}), { userOptionsVisible: fn, setUserOptionsVisibility: pn, keepUserOptionState: mn } =
|
|
318
|
+
}), { userOptionsVisible: fn, setUserOptionsVisibility: pn, keepUserOptionState: mn } = ke({ config: P.value }), { svgRef: I } = Ae({ config: P.value.style.chart.title });
|
|
319
319
|
function hn() {
|
|
320
|
-
let e =
|
|
321
|
-
userConfig:
|
|
322
|
-
defaultConfig:
|
|
323
|
-
}),
|
|
324
|
-
if (!
|
|
325
|
-
if (!
|
|
326
|
-
let
|
|
327
|
-
userConfig:
|
|
320
|
+
let e = ye({
|
|
321
|
+
userConfig: O.config,
|
|
322
|
+
defaultConfig: It
|
|
323
|
+
}), n = e.theme;
|
|
324
|
+
if (!n) return e;
|
|
325
|
+
if (!Lt.value(e)) return Rt(e), e;
|
|
326
|
+
let r = ye({
|
|
327
|
+
userConfig: je[n] || O.config,
|
|
328
328
|
defaultConfig: e
|
|
329
|
-
}),
|
|
330
|
-
userConfig:
|
|
331
|
-
defaultConfig:
|
|
329
|
+
}), a = ye({
|
|
330
|
+
userConfig: O.config,
|
|
331
|
+
defaultConfig: r
|
|
332
332
|
});
|
|
333
333
|
return {
|
|
334
|
-
...
|
|
335
|
-
customPalette:
|
|
334
|
+
...a,
|
|
335
|
+
customPalette: a.customPalette.length ? a.customPalette : i[n] || t
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
338
|
function gn(e) {
|
|
339
|
-
return
|
|
339
|
+
return Ft.includes(e) ? e : "classic";
|
|
340
340
|
}
|
|
341
|
-
|
|
342
|
-
ln.value || (P.value = hn()), fn.value = !P.value.userOptions.showOnChartHover, vn(),
|
|
343
|
-
}, { deep: !0 }),
|
|
341
|
+
Ue(() => O.config, async (e) => {
|
|
342
|
+
ln.value || (P.value = hn()), fn.value = !P.value.userOptions.showOnChartHover, vn(), qt.value += 1, Jt.value += 1, V.value.dataLabels.show = P.value.style.chart.labels.bestPlotLabel.show, V.value.showTable = P.value.table.show, V.value.showTooltip = P.value.style.chart.tooltip.show, z.value = P.value.style.chart.width, B.value = P.value.style.chart.height, On.value = P.value.style.chart.plots.radius;
|
|
343
|
+
}, { deep: !0 }), Ue(() => O.dataset, (e) => {
|
|
344
344
|
Array.isArray(e) && e.length > 0 && (dn.value = !1);
|
|
345
345
|
}, { deep: !0 });
|
|
346
|
-
let L =
|
|
347
|
-
|
|
346
|
+
let L = Ve(null), R = Ve(null);
|
|
347
|
+
ze(() => {
|
|
348
348
|
vn();
|
|
349
349
|
});
|
|
350
|
-
let _n =
|
|
350
|
+
let _n = f(() => !!P.value.debug);
|
|
351
351
|
function vn() {
|
|
352
|
-
if (
|
|
352
|
+
if (n(O.dataset) ? (o({
|
|
353
353
|
componentName: "VueUiStripPlot",
|
|
354
354
|
type: "dataset",
|
|
355
355
|
debug: _n.value
|
|
356
|
-
}), dn.value = !0) :
|
|
357
|
-
|
|
356
|
+
}), dn.value = !0) : O.dataset.forEach((e, t) => {
|
|
357
|
+
se({
|
|
358
358
|
datasetObject: e,
|
|
359
359
|
requiredAttributes: ["name", "plots"]
|
|
360
360
|
}).forEach((e) => {
|
|
361
|
-
|
|
361
|
+
Bt.value = !1, o({
|
|
362
362
|
componentName: "VueUiStripPlot",
|
|
363
363
|
type: "datasetSerieAttribute",
|
|
364
364
|
property: e,
|
|
@@ -366,11 +366,11 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
366
366
|
debug: _n.value
|
|
367
367
|
});
|
|
368
368
|
}), e.plots && e.plots.forEach((e, n) => {
|
|
369
|
-
|
|
369
|
+
se({
|
|
370
370
|
datasetObject: e,
|
|
371
371
|
requiredAttributes: ["name", "value"]
|
|
372
372
|
}).forEach((e) => {
|
|
373
|
-
|
|
373
|
+
Bt.value = !1, o({
|
|
374
374
|
componentName: "VueUiStripPlot",
|
|
375
375
|
type: "datasetSerieAttribute",
|
|
376
376
|
property: e,
|
|
@@ -379,16 +379,16 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
379
379
|
});
|
|
380
380
|
});
|
|
381
381
|
});
|
|
382
|
-
}),
|
|
383
|
-
let e =
|
|
384
|
-
let { width: e, height: t } =
|
|
385
|
-
chart:
|
|
386
|
-
title: P.value.style.chart.title.text ?
|
|
387
|
-
source:
|
|
388
|
-
noTitle:
|
|
382
|
+
}), n(O.dataset) || (dn.value = P.value.loading), P.value.responsive) {
|
|
383
|
+
let e = Ee(() => {
|
|
384
|
+
let { width: e, height: t } = De({
|
|
385
|
+
chart: j.value,
|
|
386
|
+
title: P.value.style.chart.title.text ? Ut.value : null,
|
|
387
|
+
source: Wt.value,
|
|
388
|
+
noTitle: Gt.value
|
|
389
389
|
});
|
|
390
390
|
requestAnimationFrame(() => {
|
|
391
|
-
Dn.value = t, z.value = Math.max(.1, e), B.value = Math.max(.1, t - 12), P.value.responsiveProportionalSizing ? On.value =
|
|
391
|
+
Dn.value = t, z.value = Math.max(.1, e), B.value = Math.max(.1, t - 12), P.value.responsiveProportionalSizing ? On.value = c({
|
|
392
392
|
relator: Math.min(t, e),
|
|
393
393
|
adjuster: 600,
|
|
394
394
|
source: P.value.style.chart.plots.radius,
|
|
@@ -397,37 +397,37 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
397
397
|
}) : On.value = P.value.style.chart.plots.radius;
|
|
398
398
|
});
|
|
399
399
|
});
|
|
400
|
-
L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), R.value =
|
|
400
|
+
L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), R.value = j.value.parentNode, L.value.observe(R.value);
|
|
401
401
|
}
|
|
402
|
-
|
|
402
|
+
Kt.value = !0, setTimeout(() => {
|
|
403
403
|
Tn.value = !1;
|
|
404
404
|
}, Fn.value * 50);
|
|
405
405
|
}
|
|
406
|
-
|
|
406
|
+
Re(() => {
|
|
407
407
|
L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect());
|
|
408
408
|
});
|
|
409
|
-
let { isPrinting: yn, isImaging: bn, generatePdf: xn, generateImage: Sn } =
|
|
410
|
-
elementId: `strip-plot_${
|
|
409
|
+
let { isPrinting: yn, isImaging: bn, generatePdf: xn, generateImage: Sn } = he({
|
|
410
|
+
elementId: `strip-plot_${k.value}`,
|
|
411
411
|
fileName: P.value.style.chart.title.text || "vue-ui-strip-plot",
|
|
412
412
|
options: P.value.userOptions.print
|
|
413
|
-
}), Cn =
|
|
413
|
+
}), Cn = f(() => P.value.userOptions.show && !P.value.style.chart.title.text), wn = f(() => s(P.value.customPalette)), Tn = S(P.value.useCssAnimation), En = S({
|
|
414
414
|
top: P.value.style.chart.padding.top,
|
|
415
415
|
bottom: P.value.style.chart.padding.bottom,
|
|
416
416
|
left: P.value.style.chart.padding.left,
|
|
417
417
|
right: P.value.style.chart.padding.right
|
|
418
|
-
}), z =
|
|
418
|
+
}), z = S(P.value.style.chart.width), B = S(P.value.style.chart.height), Dn = S(P.value.style.chart.height), On = S(P.value.style.chart.plots.radius), V = S({
|
|
419
419
|
showTable: P.value.table.show,
|
|
420
420
|
dataLabels: { show: P.value.style.chart.labels.bestPlotLabel.show },
|
|
421
421
|
showTooltip: P.value.style.chart.tooltip.show
|
|
422
422
|
});
|
|
423
|
-
|
|
423
|
+
Ue(P, () => {
|
|
424
424
|
V.value = {
|
|
425
425
|
showTable: P.value.table.show,
|
|
426
426
|
dataLabels: { show: P.value.style.chart.labels.bestPlotLabel.show },
|
|
427
427
|
showTooltip: P.value.style.chart.tooltip.show
|
|
428
428
|
}, z.value = P.value.style.chart.width, B.value = P.value.style.chart.height, On.value = P.value.style.chart.plots.radius;
|
|
429
429
|
}, { immediate: !0 });
|
|
430
|
-
let H =
|
|
430
|
+
let H = f(() => Math.min(On.value, W.value.stripWidth / 2 * .9));
|
|
431
431
|
function U(e) {
|
|
432
432
|
return Number.isFinite(e) ? Number(e.toFixed(2)) : 0;
|
|
433
433
|
}
|
|
@@ -436,32 +436,32 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
436
436
|
}
|
|
437
437
|
function An() {
|
|
438
438
|
let e = 0;
|
|
439
|
-
|
|
439
|
+
nn.value && (e = Array.from(nn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
440
440
|
let n = t.getComputedTextLength();
|
|
441
441
|
return n > e ? n : e;
|
|
442
442
|
}, 0));
|
|
443
|
-
let t =
|
|
443
|
+
let t = en.value ? en.value.getBoundingClientRect().width : 0;
|
|
444
444
|
return e + t + (t ? 24 : 0);
|
|
445
445
|
}
|
|
446
|
-
let jn =
|
|
446
|
+
let jn = S(0), Mn = Ee((e) => {
|
|
447
447
|
jn.value = e;
|
|
448
448
|
}, 100);
|
|
449
|
-
|
|
450
|
-
let t =
|
|
449
|
+
We((e) => {
|
|
450
|
+
let t = tn.value;
|
|
451
451
|
if (!t) return;
|
|
452
452
|
let n = new ResizeObserver((e) => {
|
|
453
453
|
Mn(e[0].contentRect.height);
|
|
454
454
|
});
|
|
455
455
|
n.observe(t), e(() => n.disconnect());
|
|
456
|
-
}),
|
|
456
|
+
}), Re(() => {
|
|
457
457
|
jn.value = 0;
|
|
458
458
|
});
|
|
459
|
-
let Nn =
|
|
459
|
+
let Nn = f(() => {
|
|
460
460
|
let e = 0;
|
|
461
|
-
|
|
461
|
+
$t.value && (e = $t.value.getBBox().height + P.value.style.chart.labels.axis.fontSize / 3 + 12 + P.value.style.chart.labels.axis.xLabelOffsetY);
|
|
462
462
|
let t = 0;
|
|
463
|
-
return
|
|
464
|
-
}), W =
|
|
463
|
+
return tn.value && (t = jn.value + 12), e + t;
|
|
464
|
+
}), W = f(() => {
|
|
465
465
|
let e = An(), t = En.value.left + e + P.value.style.chart.labels.axis.yLabelOffsetX + 5, n = z.value - En.value.right, r = Math.max(0, n - t), i = En.value.top + P.value.style.chart.plots.radius + P.value.style.chart.labels.bestPlotLabel.fontSize, a = B.value - En.value.bottom - Nn.value, o = Math.max(0, a - i), s = Array.isArray(un.value) ? un.value.length : 0;
|
|
466
466
|
return {
|
|
467
467
|
left: t,
|
|
@@ -477,36 +477,36 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
477
477
|
function Pn(e) {
|
|
478
478
|
return W.value.left + (e + 1) * W.value.stripWidth - W.value.stripWidth / 2;
|
|
479
479
|
}
|
|
480
|
-
let G =
|
|
481
|
-
let
|
|
480
|
+
let G = f(() => un.value.map((e, n) => {
|
|
481
|
+
let r = l();
|
|
482
482
|
return {
|
|
483
483
|
...e,
|
|
484
|
-
id:
|
|
485
|
-
color: e.color ?
|
|
486
|
-
plots: e.plots.map((
|
|
487
|
-
...
|
|
488
|
-
value:
|
|
489
|
-
parentId:
|
|
484
|
+
id: r,
|
|
485
|
+
color: e.color ? ie(e.color) : wn.value[n] || t[n] || t[n % t.length],
|
|
486
|
+
plots: e.plots.map((i, a) => ({
|
|
487
|
+
...i,
|
|
488
|
+
value: de(i.value),
|
|
489
|
+
parentId: r,
|
|
490
490
|
parentName: e.name,
|
|
491
|
-
parentIndex:
|
|
492
|
-
plotIndex:
|
|
493
|
-
color: e.color ?
|
|
491
|
+
parentIndex: n,
|
|
492
|
+
plotIndex: a,
|
|
493
|
+
color: e.color ? ie(e.color) : wn.value[n] || t[n] || t[n % t.length],
|
|
494
494
|
id: l()
|
|
495
495
|
})).sort((e, t) => e.value - t.value)
|
|
496
496
|
};
|
|
497
|
-
})), K =
|
|
497
|
+
})), K = f(() => (G.value || []).map((e, t) => ({
|
|
498
498
|
...e,
|
|
499
499
|
plots: e.plots.map((e) => ({
|
|
500
500
|
...e,
|
|
501
501
|
x: Pn(t)
|
|
502
502
|
}))
|
|
503
|
-
}))), Fn =
|
|
503
|
+
}))), Fn = f(() => Math.max(...K.value.map((e) => e.plots.length))), In = f(() => {
|
|
504
504
|
let e = K.value.flatMap((e) => e.plots.map((e) => e.value));
|
|
505
505
|
return {
|
|
506
506
|
max: Math.max(...e),
|
|
507
507
|
min: Math.min(...e)
|
|
508
508
|
};
|
|
509
|
-
}), q =
|
|
509
|
+
}), q = f(() => ae(In.value.min < 0 ? In.value.min : 0, In.value.max, P.value.style.chart.grid.scaleSteps)), J = f(() => (K.value || []).map((e, t) => {
|
|
510
510
|
let n = e.plots.map((e) => ({
|
|
511
511
|
...e,
|
|
512
512
|
y: W.value.bottom - (e.value + Math.abs(q.value.min)) / (q.value.max + Math.abs(q.value.min)) * W.value.height
|
|
@@ -518,7 +518,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
518
518
|
x: e.x + r[t]
|
|
519
519
|
}))
|
|
520
520
|
};
|
|
521
|
-
})), Y =
|
|
521
|
+
})), Y = f(() => sn.value === "violin" && !!P.value.style.chart.violin?.boxPlot?.show);
|
|
522
522
|
function Ln(e, t) {
|
|
523
523
|
if (!e.length) return 0;
|
|
524
524
|
if (e.length === 1) return e[0];
|
|
@@ -529,19 +529,19 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
529
529
|
let t = q.value.max + Math.abs(q.value.min);
|
|
530
530
|
return t ? W.value.bottom - (e + Math.abs(q.value.min)) / t * W.value.height : W.value.bottom;
|
|
531
531
|
}
|
|
532
|
-
let
|
|
533
|
-
let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r = Ln(n, .25), i = Ln(n, .5), a = Ln(n, .75), o = a - r, s = r - o * 1.5, c = a + o * 1.5,
|
|
532
|
+
let X = f(() => Y.value ? J.value.map((e, t) => {
|
|
533
|
+
let n = e.plots.map((e) => e.value).sort((e, t) => e - t), r = Ln(n, .25), i = Ln(n, .5), a = Ln(n, .75), o = a - r, s = r - o * 1.5, c = a + o * 1.5, l = n.find((e) => e >= s), ee = n.slice().reverse().find((e) => e <= c), te = Pn(t), ne = Math.max(H.value * 2.8, Math.min(kn() * .32, W.value.stripWidth * .12)) * Math.min(1.5, P.value.style.chart.violin.boxPlot.widthRatio);
|
|
534
534
|
return {
|
|
535
535
|
id: e.id,
|
|
536
536
|
boxPlotColor: P.value.style.chart.violin.boxPlot.useSerieColor ? e.color : P.value.style.chart.violin.boxPlot.color,
|
|
537
537
|
color: e.color,
|
|
538
538
|
name: e.name,
|
|
539
539
|
count: n.length,
|
|
540
|
-
lowerAdjacent:
|
|
540
|
+
lowerAdjacent: l ?? n[0],
|
|
541
541
|
q1: r,
|
|
542
542
|
median: i,
|
|
543
543
|
q3: a,
|
|
544
|
-
upperAdjacent:
|
|
544
|
+
upperAdjacent: ee ?? n[n.length - 1],
|
|
545
545
|
iqr: o,
|
|
546
546
|
lowerFence: s,
|
|
547
547
|
upperFence: c,
|
|
@@ -551,10 +551,10 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
551
551
|
q1Y: Rn(r),
|
|
552
552
|
medianY: Rn(i),
|
|
553
553
|
q3Y: Rn(a),
|
|
554
|
-
lowerY: Rn(
|
|
555
|
-
upperY: Rn(
|
|
554
|
+
lowerY: Rn(l ?? n[0]),
|
|
555
|
+
upperY: Rn(ee ?? n[n.length - 1])
|
|
556
556
|
};
|
|
557
|
-
}) : []),
|
|
557
|
+
}) : []), zn = f(() => [
|
|
558
558
|
P.value.table.columnNames.series,
|
|
559
559
|
P.value.style.chart.violin.tooltipLabels.lowerAdjacent,
|
|
560
560
|
P.value.style.chart.violin.tooltipLabels.q1,
|
|
@@ -564,8 +564,8 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
564
564
|
P.value.style.chart.violin.tooltipLabels.iqr,
|
|
565
565
|
P.value.style.chart.violin.tooltipLabels.count
|
|
566
566
|
]);
|
|
567
|
-
function
|
|
568
|
-
return
|
|
567
|
+
function Bn(e) {
|
|
568
|
+
return ce({
|
|
569
569
|
p: P.value.style.chart.labels.prefix,
|
|
570
570
|
v: e,
|
|
571
571
|
s: P.value.style.chart.labels.suffix,
|
|
@@ -589,7 +589,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
589
589
|
});
|
|
590
590
|
}), n;
|
|
591
591
|
}
|
|
592
|
-
let Hn =
|
|
592
|
+
let Hn = f(() => sn.value === "violin" ? J.value.map((e, t) => ({
|
|
593
593
|
id: e.id,
|
|
594
594
|
color: P.value.style.chart.violin.useSerieColor ? e.color : P.value.style.chart.violin.stroke,
|
|
595
595
|
fill: P.value.style.chart.violin.useSerieColor ? e.color : P.value.style.chart.violin.fill,
|
|
@@ -626,7 +626,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
626
626
|
bandwidth: Z(r)
|
|
627
627
|
});
|
|
628
628
|
return i.length < 2 ? [] : i.slice(1).map((e, t) => {
|
|
629
|
-
let r = i[t], a = Z(r), o = Z(e), s =
|
|
629
|
+
let r = i[t], a = Z(r), o = Z(e), s = u(Math.max(...r) + a * 2.35, W.value.top, W.value.bottom), c = u(Math.min(...e) - o * 2.35, W.value.top, W.value.bottom);
|
|
630
630
|
return {
|
|
631
631
|
x: U(n),
|
|
632
632
|
y1: U(s),
|
|
@@ -636,11 +636,11 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
636
636
|
}
|
|
637
637
|
function Gn({ clusterLength: e, totalLength: t, maxWidth: n }) {
|
|
638
638
|
let r = (e / t) ** .6, i = e <= 2 ? .72 : 1;
|
|
639
|
-
return Math.max(H.value * 2.2, n *
|
|
639
|
+
return Math.max(H.value * 2.2, n * u(r * i, .18, 1));
|
|
640
640
|
}
|
|
641
641
|
function Z(e) {
|
|
642
642
|
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(H.value * 2.6, W.value.height / 48) : H.value * 2.1;
|
|
643
|
-
return
|
|
643
|
+
return u(1.06 * r * e.length ** -.2, i, W.value.height / 5);
|
|
644
644
|
}
|
|
645
645
|
function Kn({ yValues: e, bandwidth: t }) {
|
|
646
646
|
if (e.length < 2) return [e];
|
|
@@ -657,7 +657,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
657
657
|
}, []);
|
|
658
658
|
}
|
|
659
659
|
function Jn({ yValues: e, centerX: t, maxWidth: n, bandwidth: r }) {
|
|
660
|
-
let i =
|
|
660
|
+
let i = u(Math.min(...e) - r * 2.35, W.value.top, W.value.bottom), a = u(Math.max(...e) + r * 2.35, W.value.top, W.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) => {
|
|
661
661
|
let s = i + (a - i) * n / Math.max(1, o - 1);
|
|
662
662
|
return {
|
|
663
663
|
y: s,
|
|
@@ -668,20 +668,20 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
668
668
|
};
|
|
669
669
|
}), c = Math.max(...s.map((e) => e.density));
|
|
670
670
|
if (!c) return "";
|
|
671
|
-
let
|
|
671
|
+
let l = s.map((e, t) => {
|
|
672
672
|
let r = t === 0 || t === s.length - 1 ? 0 : e.density / c * n;
|
|
673
673
|
return {
|
|
674
674
|
y: U(e.y),
|
|
675
675
|
width: U(r)
|
|
676
676
|
};
|
|
677
|
-
}),
|
|
677
|
+
}), ee = l.map((e) => ({
|
|
678
678
|
x: U(t - e.width),
|
|
679
679
|
y: e.y
|
|
680
|
-
})), te =
|
|
680
|
+
})), te = l.slice(0, -1).reverse().map((e) => ({
|
|
681
681
|
x: U(t + e.width),
|
|
682
682
|
y: e.y
|
|
683
683
|
}));
|
|
684
|
-
return `${Yn([...
|
|
684
|
+
return `${Yn([...ee, ...te])} Z`;
|
|
685
685
|
}
|
|
686
686
|
function Yn(e) {
|
|
687
687
|
if (!e.length) return "";
|
|
@@ -694,26 +694,26 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
694
694
|
let n = e[e.length - 1];
|
|
695
695
|
return `${t} L ${n.x} ${n.y}`;
|
|
696
696
|
}
|
|
697
|
-
let Xn =
|
|
697
|
+
let Xn = f(() => q.value.ticks.map((e) => ({
|
|
698
698
|
y: W.value.bottom - W.value.height * ((e + Math.abs(q.value.min)) / (q.value.max + Math.abs(q.value.min))),
|
|
699
699
|
x1: W.value.left,
|
|
700
700
|
x2: W.value.right,
|
|
701
701
|
value: e
|
|
702
|
-
}))), Zn =
|
|
702
|
+
}))), Zn = S(null), Q = S(null);
|
|
703
703
|
function Qn({ datapoint: e, seriesIndex: t }) {
|
|
704
|
-
N.value !== "keyboard" && (
|
|
704
|
+
N.value !== "keyboard" && (A.value = !1, Q.value = null, P.value.events.datapointLeave && P.value.events.datapointLeave({
|
|
705
705
|
datapoint: e,
|
|
706
706
|
seriesIndex: t
|
|
707
707
|
}));
|
|
708
708
|
}
|
|
709
709
|
function $n({ datapoint: e, seriesIndex: t }) {
|
|
710
|
-
|
|
710
|
+
zt("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
|
|
711
711
|
datapoint: e,
|
|
712
712
|
seriesIndex: t
|
|
713
713
|
});
|
|
714
714
|
}
|
|
715
715
|
function er(e, t = {}) {
|
|
716
|
-
return
|
|
716
|
+
return oe(P.value.style.chart.labels.formatter, e, ce({
|
|
717
717
|
p: P.value.style.chart.labels.prefix,
|
|
718
718
|
v: e,
|
|
719
719
|
s: P.value.style.chart.labels.suffix,
|
|
@@ -729,14 +729,14 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
729
729
|
seriesIndex: t,
|
|
730
730
|
config: P.value,
|
|
731
731
|
series: G.value
|
|
732
|
-
},
|
|
732
|
+
}, A.value = !0, Q.value = e;
|
|
733
733
|
let r = P.value.style.chart.tooltip.customFormat;
|
|
734
|
-
if (
|
|
734
|
+
if (ne(r) && re(() => r({
|
|
735
735
|
seriesIndex: t,
|
|
736
736
|
datapoint: e,
|
|
737
737
|
series: G.value,
|
|
738
738
|
config: P.value
|
|
739
|
-
})))
|
|
739
|
+
}))) Ht.value = r({
|
|
740
740
|
seriesIndex: t,
|
|
741
741
|
datapoint: e,
|
|
742
742
|
series: G.value,
|
|
@@ -747,29 +747,29 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
747
747
|
n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${P.value.style.chart.plots.gradient.show ? `url(#${e.parentId})` : e.color}"/></svg>${e.name}</div>`, n += `<div>${er(e.value, {
|
|
748
748
|
datapoint: e,
|
|
749
749
|
seriesIndex: t
|
|
750
|
-
})}</div>`,
|
|
750
|
+
})}</div>`, Ht.value = `<div>${n}</div>`;
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
753
|
function nr() {
|
|
754
|
-
N.value !== "keyboard" && (
|
|
754
|
+
N.value !== "keyboard" && (A.value = !1, Q.value = null);
|
|
755
755
|
}
|
|
756
756
|
function rr({ boxPlot: e, seriesIndex: t, triggerMode: n = "pointer" }) {
|
|
757
|
-
N.value = n, Q.value = null,
|
|
757
|
+
N.value = n, Q.value = null, A.value = !0, Zn.value = {
|
|
758
758
|
boxPlot: e,
|
|
759
759
|
seriesIndex: t,
|
|
760
760
|
config: P.value,
|
|
761
761
|
series: G.value
|
|
762
762
|
};
|
|
763
763
|
let r = P.value.style.chart.tooltip.customFormat;
|
|
764
|
-
if (
|
|
764
|
+
if (ne(r)) try {
|
|
765
765
|
let n = {
|
|
766
766
|
boxPlot: e,
|
|
767
767
|
seriesIndex: t,
|
|
768
768
|
series: G.value,
|
|
769
769
|
config: P.value
|
|
770
770
|
};
|
|
771
|
-
if (
|
|
772
|
-
|
|
771
|
+
if (re(() => r(n))) {
|
|
772
|
+
Ht.value = r(n);
|
|
773
773
|
return;
|
|
774
774
|
}
|
|
775
775
|
} catch {}
|
|
@@ -784,9 +784,9 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
784
784
|
boxPlot: e,
|
|
785
785
|
seriesIndex: t
|
|
786
786
|
})}</b></div>`).join("");
|
|
787
|
-
|
|
787
|
+
Ht.value = `<div style="min-width:160px;"><div style="display:flex;flex-direction:row;gap:6px;align-items:center;margin-bottom:6px;">${a}${e.name}</div>` + o + `<div style="display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:space-between;margin-top:6px;"><span>${P.value.style.chart.violin.tooltipLabels.count}</span><b>${e.count}</b></div></div>`;
|
|
788
788
|
}
|
|
789
|
-
let ir =
|
|
789
|
+
let ir = f(() => ({
|
|
790
790
|
head: K.value.flatMap((e) => JSON.parse(JSON.stringify(e.plots)).sort((e, t) => t.value - e.value).map((t) => ({
|
|
791
791
|
name: `${e.name} - ${t.name}`,
|
|
792
792
|
color: t.color
|
|
@@ -794,9 +794,9 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
794
794
|
body: K.value.flatMap((e) => JSON.parse(JSON.stringify(e.plots)).sort((e, t) => t.value - e.value).map((e) => e.value))
|
|
795
795
|
}));
|
|
796
796
|
function ar(e = null) {
|
|
797
|
-
|
|
797
|
+
Ie(() => {
|
|
798
798
|
let t = [], n = [P.value.table.columnNames.series, P.value.table.columnNames.value];
|
|
799
|
-
Y.value ? (n =
|
|
799
|
+
Y.value ? (n = zn.value, t = X.value.map((e) => [
|
|
800
800
|
[e.name],
|
|
801
801
|
[e.lowerAdjacent],
|
|
802
802
|
[e.q1],
|
|
@@ -811,29 +811,29 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
811
811
|
[P.value.style.chart.title.subtitle.text],
|
|
812
812
|
n.map((e) => [e])
|
|
813
813
|
].concat(t));
|
|
814
|
-
e ? e(r) :
|
|
814
|
+
e ? e(r) : te({
|
|
815
815
|
csvContent: r,
|
|
816
816
|
title: P.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
817
817
|
});
|
|
818
818
|
});
|
|
819
819
|
}
|
|
820
|
-
let or =
|
|
820
|
+
let or = f(() => {
|
|
821
821
|
if (Y.value) {
|
|
822
|
-
let e =
|
|
822
|
+
let e = zn.value;
|
|
823
823
|
return {
|
|
824
824
|
colNames: e,
|
|
825
825
|
head: e,
|
|
826
|
-
body:
|
|
826
|
+
body: X.value.map((e) => [
|
|
827
827
|
{
|
|
828
828
|
color: e.color,
|
|
829
829
|
name: e.name
|
|
830
830
|
},
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
831
|
+
Bn(e.lowerAdjacent),
|
|
832
|
+
Bn(e.q1),
|
|
833
|
+
Bn(e.median),
|
|
834
|
+
Bn(e.q3),
|
|
835
|
+
Bn(e.upperAdjacent),
|
|
836
|
+
Bn(e.iqr),
|
|
837
837
|
e.count
|
|
838
838
|
]),
|
|
839
839
|
config: {
|
|
@@ -852,7 +852,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
852
852
|
};
|
|
853
853
|
}
|
|
854
854
|
let e = [P.value.table.columnNames.series, P.value.table.columnNames.value], t = ir.value.head.map((e, t) => {
|
|
855
|
-
let n =
|
|
855
|
+
let n = ce({
|
|
856
856
|
p: P.value.style.chart.labels.prefix,
|
|
857
857
|
v: ir.value.body[t],
|
|
858
858
|
s: P.value.style.chart.labels.suffix,
|
|
@@ -881,9 +881,9 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
881
881
|
body: t,
|
|
882
882
|
config: n
|
|
883
883
|
};
|
|
884
|
-
}), $ =
|
|
884
|
+
}), $ = S(!1);
|
|
885
885
|
function sr(e) {
|
|
886
|
-
$.value = e,
|
|
886
|
+
$.value = e, Vt.value += 1;
|
|
887
887
|
}
|
|
888
888
|
function cr() {
|
|
889
889
|
return K.value;
|
|
@@ -897,14 +897,14 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
897
897
|
function dr() {
|
|
898
898
|
V.value.showTooltip = !V.value.showTooltip;
|
|
899
899
|
}
|
|
900
|
-
let fr =
|
|
900
|
+
let fr = S(!1);
|
|
901
901
|
function pr() {
|
|
902
902
|
fr.value = !fr.value;
|
|
903
903
|
}
|
|
904
904
|
async function mr({ scale: e = 2 } = {}) {
|
|
905
|
-
if (!
|
|
906
|
-
let { width: t, height: n } =
|
|
907
|
-
domElement:
|
|
905
|
+
if (!j.value) return;
|
|
906
|
+
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
|
|
907
|
+
domElement: j.value,
|
|
908
908
|
base64: !0,
|
|
909
909
|
img: !0,
|
|
910
910
|
scale: e
|
|
@@ -918,11 +918,11 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
918
918
|
aspectRatio: r
|
|
919
919
|
};
|
|
920
920
|
}
|
|
921
|
-
let hr =
|
|
922
|
-
|
|
923
|
-
timeLabelsEls:
|
|
921
|
+
let hr = f(() => K.value.map((e) => e.name));
|
|
922
|
+
xe({
|
|
923
|
+
timeLabelsEls: tn,
|
|
924
924
|
timeLabels: hr,
|
|
925
|
-
slicer:
|
|
925
|
+
slicer: S({
|
|
926
926
|
start: 0,
|
|
927
927
|
end: K.value.length
|
|
928
928
|
}),
|
|
@@ -948,10 +948,10 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
948
948
|
targetClass: ".vue-ui-strip-plot-category-name",
|
|
949
949
|
rotation: P.value.style.chart.labels.xAxisLabels.autoRotate.angle
|
|
950
950
|
});
|
|
951
|
-
let gr =
|
|
951
|
+
let gr = f(() => {
|
|
952
952
|
let e = P.value.table.useDialog && !P.value.table.show, t = V.value.showTable;
|
|
953
953
|
return {
|
|
954
|
-
component: e ?
|
|
954
|
+
component: e ? Pt : kt,
|
|
955
955
|
title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
|
|
956
956
|
props: e ? {
|
|
957
957
|
backgroundColor: P.value.table.th.backgroundColor,
|
|
@@ -959,7 +959,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
959
959
|
headerColor: P.value.table.th.color,
|
|
960
960
|
headerBg: P.value.table.th.backgroundColor,
|
|
961
961
|
isFullscreen: $.value,
|
|
962
|
-
fullscreenParent:
|
|
962
|
+
fullscreenParent: j.value,
|
|
963
963
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
964
964
|
isCursorPointer: F.value
|
|
965
965
|
} : {
|
|
@@ -979,19 +979,19 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
979
979
|
}
|
|
980
980
|
};
|
|
981
981
|
});
|
|
982
|
-
|
|
983
|
-
P.value.table.show || (e && P.value.table.useDialog &&
|
|
982
|
+
Ue(() => V.value.showTable, (e) => {
|
|
983
|
+
P.value.table.show || (e && P.value.table.useDialog && Yt.value ? Yt.value.open() : "close" in Yt.value && Yt.value.close());
|
|
984
984
|
});
|
|
985
985
|
function _r() {
|
|
986
|
-
V.value.showTable = !1,
|
|
986
|
+
V.value.showTable = !1, Xt.value && Xt.value.setTableIconState(!1);
|
|
987
987
|
}
|
|
988
|
-
let vr =
|
|
988
|
+
let vr = f(() => P.value.style.chart.backgroundColor), { exportSvg: yr, getSvg: br } = ve({
|
|
989
989
|
svg: I,
|
|
990
|
-
title:
|
|
990
|
+
title: f(() => P.value.style.chart.title),
|
|
991
991
|
backgroundColor: vr
|
|
992
992
|
});
|
|
993
993
|
async function xr({ isCb: e }) {
|
|
994
|
-
|
|
994
|
+
Qt.value = !0, await Ie();
|
|
995
995
|
try {
|
|
996
996
|
if (e) {
|
|
997
997
|
let { blob: e, url: t, text: n, dataUrl: r } = await br();
|
|
@@ -1003,22 +1003,22 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1003
1003
|
}));
|
|
1004
1004
|
} else await Promise.resolve(yr());
|
|
1005
1005
|
} finally {
|
|
1006
|
-
|
|
1006
|
+
Qt.value = !1;
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
1009
|
function Sr(e) {
|
|
1010
1010
|
if (e?.stage === "start") {
|
|
1011
|
-
|
|
1011
|
+
Zt.value = !0;
|
|
1012
1012
|
return;
|
|
1013
1013
|
}
|
|
1014
1014
|
if (e?.stage === "end") {
|
|
1015
|
-
|
|
1015
|
+
Zt.value = !1;
|
|
1016
1016
|
return;
|
|
1017
1017
|
}
|
|
1018
1018
|
Sn();
|
|
1019
1019
|
}
|
|
1020
1020
|
async function Cr() {
|
|
1021
|
-
if (
|
|
1021
|
+
if (zt("copyAlt", {
|
|
1022
1022
|
config: P.value,
|
|
1023
1023
|
dataset: J.value
|
|
1024
1024
|
}), !P.value.userOptions.callbacks.altCopy) {
|
|
@@ -1036,11 +1036,11 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1036
1036
|
function Tr(e) {
|
|
1037
1037
|
return J.value[e]?.plots ?? [];
|
|
1038
1038
|
}
|
|
1039
|
-
function Er(e =
|
|
1039
|
+
function Er(e = M.value, t = rn.value) {
|
|
1040
1040
|
return !Number.isInteger(e) || !Number.isInteger(t) ? null : Tr(e)[t] ?? null;
|
|
1041
1041
|
}
|
|
1042
1042
|
function Dr() {
|
|
1043
|
-
|
|
1043
|
+
M.value = null, rn.value = null, N.value = "pointer", A.value = !1, Q.value = null;
|
|
1044
1044
|
}
|
|
1045
1045
|
function Or(e) {
|
|
1046
1046
|
if (!e || !I.value) return;
|
|
@@ -1052,14 +1052,14 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1052
1052
|
}
|
|
1053
1053
|
function kr(e, t) {
|
|
1054
1054
|
let n = Er(e, t);
|
|
1055
|
-
n && (
|
|
1055
|
+
n && (M.value = e, rn.value = t, N.value = "keyboard", Or(n), tr({
|
|
1056
1056
|
datapoint: n,
|
|
1057
1057
|
seriesIndex: e,
|
|
1058
1058
|
triggerMode: "keyboard"
|
|
1059
1059
|
}));
|
|
1060
1060
|
}
|
|
1061
1061
|
function Ar() {
|
|
1062
|
-
on.value = !0,
|
|
1062
|
+
on.value = !0, M.value = null, rn.value = null;
|
|
1063
1063
|
}
|
|
1064
1064
|
function jr() {
|
|
1065
1065
|
on.value = !1, Dr();
|
|
@@ -1072,7 +1072,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1072
1072
|
Dr();
|
|
1073
1073
|
return;
|
|
1074
1074
|
}
|
|
1075
|
-
let s =
|
|
1075
|
+
let s = M.value, c = rn.value;
|
|
1076
1076
|
if (s === null || c === null) s = 0, c = 0;
|
|
1077
1077
|
else if (t || n) {
|
|
1078
1078
|
let e = wr();
|
|
@@ -1090,17 +1090,17 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1090
1090
|
if (!e) return;
|
|
1091
1091
|
$n({
|
|
1092
1092
|
datapoint: e,
|
|
1093
|
-
seriesIndex:
|
|
1093
|
+
seriesIndex: M.value
|
|
1094
1094
|
});
|
|
1095
1095
|
return;
|
|
1096
1096
|
}
|
|
1097
1097
|
kr(s, c);
|
|
1098
1098
|
}
|
|
1099
|
-
let Nr =
|
|
1099
|
+
let Nr = f(() => ({
|
|
1100
1100
|
headers: or.value?.colNames ?? [],
|
|
1101
1101
|
rows: or.value?.body?.map((e) => e.map((e) => e && typeof e == "object" && "name" in e ? e.name : e)) ?? []
|
|
1102
1102
|
}));
|
|
1103
|
-
return
|
|
1103
|
+
return Te({
|
|
1104
1104
|
getData: cr,
|
|
1105
1105
|
getImage: mr,
|
|
1106
1106
|
generatePdf: xn,
|
|
@@ -1113,22 +1113,22 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1113
1113
|
toggleAnnotator: pr,
|
|
1114
1114
|
toggleFullscreen: sr,
|
|
1115
1115
|
copyAlt: Cr
|
|
1116
|
-
}), (e, t) => (
|
|
1116
|
+
}), (e, t) => (x(), h("div", {
|
|
1117
1117
|
ref_key: "stripPlotChart",
|
|
1118
|
-
ref:
|
|
1119
|
-
class:
|
|
1120
|
-
style:
|
|
1121
|
-
id: `strip-plot_${
|
|
1122
|
-
onMouseenter: t[2] ||= () =>
|
|
1123
|
-
onMouseleave: t[3] ||= () =>
|
|
1118
|
+
ref: j,
|
|
1119
|
+
class: Le(`vue-data-ui-component vue-ui-strip-plot ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1120
|
+
style: b(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor};${P.value.responsive ? "height:100%" : ""}`),
|
|
1121
|
+
id: `strip-plot_${k.value}`,
|
|
1122
|
+
onMouseenter: t[2] ||= () => E(pn)(!0),
|
|
1123
|
+
onMouseleave: t[3] ||= () => E(pn)(!1)
|
|
1124
1124
|
}, [
|
|
1125
|
-
|
|
1126
|
-
id: `chart-instructions-${
|
|
1125
|
+
g("div", {
|
|
1126
|
+
id: `chart-instructions-${k.value}`,
|
|
1127
1127
|
class: "sr-only"
|
|
1128
|
-
}, [
|
|
1129
|
-
Nr.value?.rows?.length ? (
|
|
1128
|
+
}, [g("p", null, T(P.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
|
|
1129
|
+
Nr.value?.rows?.length ? (x(), p(Oe, {
|
|
1130
1130
|
key: 0,
|
|
1131
|
-
uid:
|
|
1131
|
+
uid: k.value,
|
|
1132
1132
|
head: Nr.value.headers,
|
|
1133
1133
|
body: Nr.value.rows,
|
|
1134
1134
|
notice: P.value.a11y.translations.tableAvailable,
|
|
@@ -1139,22 +1139,22 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1139
1139
|
"body",
|
|
1140
1140
|
"notice",
|
|
1141
1141
|
"caption"
|
|
1142
|
-
])) :
|
|
1143
|
-
P.value.userOptions.buttons.annotator ? (
|
|
1142
|
+
])) : m("", !0),
|
|
1143
|
+
P.value.userOptions.buttons.annotator ? (x(), p(E(Mt), {
|
|
1144
1144
|
key: 1,
|
|
1145
|
-
svgRef:
|
|
1145
|
+
svgRef: E(I),
|
|
1146
1146
|
backgroundColor: P.value.style.chart.backgroundColor,
|
|
1147
1147
|
color: P.value.style.chart.color,
|
|
1148
1148
|
active: fr.value,
|
|
1149
1149
|
isCursorPointer: F.value,
|
|
1150
1150
|
onClose: pr
|
|
1151
1151
|
}, {
|
|
1152
|
-
"annotator-action-close":
|
|
1153
|
-
"annotator-action-color":
|
|
1154
|
-
"annotator-action-draw":
|
|
1155
|
-
"annotator-action-undo":
|
|
1156
|
-
"annotator-action-redo":
|
|
1157
|
-
"annotator-action-delete":
|
|
1152
|
+
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1153
|
+
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
|
|
1154
|
+
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(v({ mode: t })), void 0, !0)]),
|
|
1155
|
+
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(v({ disabled: t })), void 0, !0)]),
|
|
1156
|
+
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(v({ disabled: t })), void 0, !0)]),
|
|
1157
|
+
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(v({ disabled: t })), void 0, !0)]),
|
|
1158
1158
|
_: 3
|
|
1159
1159
|
}, 8, [
|
|
1160
1160
|
"svgRef",
|
|
@@ -1162,21 +1162,21 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1162
1162
|
"color",
|
|
1163
1163
|
"active",
|
|
1164
1164
|
"isCursorPointer"
|
|
1165
|
-
])) :
|
|
1166
|
-
Cn.value ? (
|
|
1165
|
+
])) : m("", !0),
|
|
1166
|
+
Cn.value ? (x(), h("div", {
|
|
1167
1167
|
key: 2,
|
|
1168
1168
|
ref_key: "noTitle",
|
|
1169
|
-
ref:
|
|
1169
|
+
ref: Gt,
|
|
1170
1170
|
class: "vue-data-ui-no-title-space",
|
|
1171
1171
|
style: "height:36px; width: 100%;background:transparent"
|
|
1172
|
-
}, null, 512)) :
|
|
1173
|
-
P.value.style.chart.title.text ? (
|
|
1172
|
+
}, null, 512)) : m("", !0),
|
|
1173
|
+
P.value.style.chart.title.text ? (x(), h("div", {
|
|
1174
1174
|
key: 3,
|
|
1175
1175
|
ref_key: "chartTitle",
|
|
1176
|
-
ref:
|
|
1176
|
+
ref: Ut,
|
|
1177
1177
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
1178
|
-
}, [(
|
|
1179
|
-
key: `title_${
|
|
1178
|
+
}, [(x(), p(Ce, {
|
|
1179
|
+
key: `title_${qt.value}`,
|
|
1180
1180
|
config: {
|
|
1181
1181
|
title: {
|
|
1182
1182
|
cy: "donut-div-title",
|
|
@@ -1187,16 +1187,16 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1187
1187
|
...P.value.style.chart.title.subtitle
|
|
1188
1188
|
}
|
|
1189
1189
|
}
|
|
1190
|
-
}, null, 8, ["config"]))], 512)) :
|
|
1191
|
-
P.value.userOptions.show &&
|
|
1190
|
+
}, null, 8, ["config"]))], 512)) : m("", !0),
|
|
1191
|
+
P.value.userOptions.show && Bt.value && (E(mn) || E(fn)) ? (x(), p(E(jt), {
|
|
1192
1192
|
ref_key: "userOptionsRef",
|
|
1193
|
-
ref:
|
|
1194
|
-
key: `user_option_${
|
|
1193
|
+
ref: Xt,
|
|
1194
|
+
key: `user_option_${Vt.value}`,
|
|
1195
1195
|
backgroundColor: P.value.style.chart.backgroundColor,
|
|
1196
1196
|
color: P.value.style.chart.color,
|
|
1197
|
-
isPrinting:
|
|
1198
|
-
isImaging:
|
|
1199
|
-
uid:
|
|
1197
|
+
isPrinting: E(yn),
|
|
1198
|
+
isImaging: E(bn),
|
|
1199
|
+
uid: k.value,
|
|
1200
1200
|
hasTooltip: P.value.userOptions.buttons.tooltip && P.value.style.chart.tooltip.show,
|
|
1201
1201
|
hasPdf: P.value.userOptions.buttons.pdf,
|
|
1202
1202
|
hasXls: P.value.userOptions.buttons.csv,
|
|
@@ -1209,7 +1209,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1209
1209
|
isTooltip: V.value.showTooltip,
|
|
1210
1210
|
isFullscreen: $.value,
|
|
1211
1211
|
titles: { ...P.value.userOptions.buttonTitles },
|
|
1212
|
-
chartElement:
|
|
1212
|
+
chartElement: j.value,
|
|
1213
1213
|
position: P.value.userOptions.position,
|
|
1214
1214
|
hasAnnotator: P.value.userOptions.buttons.annotator,
|
|
1215
1215
|
isAnnotation: fr.value,
|
|
@@ -1218,7 +1218,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1218
1218
|
tableDialog: P.value.table.useDialog,
|
|
1219
1219
|
isCursorPointer: F.value,
|
|
1220
1220
|
onToggleFullscreen: sr,
|
|
1221
|
-
onGeneratePdf:
|
|
1221
|
+
onGeneratePdf: E(xn),
|
|
1222
1222
|
onGenerateCsv: ar,
|
|
1223
1223
|
onGenerateImage: Sr,
|
|
1224
1224
|
onGenerateSvg: xr,
|
|
@@ -1227,11 +1227,11 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1227
1227
|
onToggleTooltip: dr,
|
|
1228
1228
|
onToggleAnnotator: pr,
|
|
1229
1229
|
onCopyAlt: Cr,
|
|
1230
|
-
style:
|
|
1231
|
-
},
|
|
1230
|
+
style: b({ visibility: E(mn) ? E(fn) ? "visible" : "hidden" : "visible" })
|
|
1231
|
+
}, Me({ _: 2 }, [
|
|
1232
1232
|
e.$slots.menuIcon ? {
|
|
1233
1233
|
name: "menuIcon",
|
|
1234
|
-
fn:
|
|
1234
|
+
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(v({
|
|
1235
1235
|
isOpen: t,
|
|
1236
1236
|
color: n
|
|
1237
1237
|
})), void 0, !0)]),
|
|
@@ -1239,42 +1239,42 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1239
1239
|
} : void 0,
|
|
1240
1240
|
e.$slots.optionTooltip ? {
|
|
1241
1241
|
name: "optionTooltip",
|
|
1242
|
-
fn:
|
|
1242
|
+
fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1243
1243
|
key: "1"
|
|
1244
1244
|
} : void 0,
|
|
1245
1245
|
e.$slots.optionPdf ? {
|
|
1246
1246
|
name: "optionPdf",
|
|
1247
|
-
fn:
|
|
1247
|
+
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1248
1248
|
key: "2"
|
|
1249
1249
|
} : void 0,
|
|
1250
1250
|
e.$slots.optionCsv ? {
|
|
1251
1251
|
name: "optionCsv",
|
|
1252
|
-
fn:
|
|
1252
|
+
fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1253
1253
|
key: "3"
|
|
1254
1254
|
} : void 0,
|
|
1255
1255
|
e.$slots.optionImg ? {
|
|
1256
1256
|
name: "optionImg",
|
|
1257
|
-
fn:
|
|
1257
|
+
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1258
1258
|
key: "4"
|
|
1259
1259
|
} : void 0,
|
|
1260
1260
|
e.$slots.optionSvg ? {
|
|
1261
1261
|
name: "optionSvg",
|
|
1262
|
-
fn:
|
|
1262
|
+
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1263
1263
|
key: "5"
|
|
1264
1264
|
} : void 0,
|
|
1265
1265
|
e.$slots.optionTable ? {
|
|
1266
1266
|
name: "optionTable",
|
|
1267
|
-
fn:
|
|
1267
|
+
fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1268
1268
|
key: "6"
|
|
1269
1269
|
} : void 0,
|
|
1270
1270
|
e.$slots.optionLabels ? {
|
|
1271
1271
|
name: "optionLabels",
|
|
1272
|
-
fn:
|
|
1272
|
+
fn: D(() => [w(e.$slots, "optionLabels", {}, void 0, !0)]),
|
|
1273
1273
|
key: "7"
|
|
1274
1274
|
} : void 0,
|
|
1275
1275
|
e.$slots.optionFullscreen ? {
|
|
1276
1276
|
name: "optionFullscreen",
|
|
1277
|
-
fn:
|
|
1277
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(v({
|
|
1278
1278
|
toggleFullscreen: t,
|
|
1279
1279
|
isFullscreen: n
|
|
1280
1280
|
})), void 0, !0)]),
|
|
@@ -1282,7 +1282,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1282
1282
|
} : void 0,
|
|
1283
1283
|
e.$slots.optionAnnotator ? {
|
|
1284
1284
|
name: "optionAnnotator",
|
|
1285
|
-
fn:
|
|
1285
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(v({
|
|
1286
1286
|
toggleAnnotator: t,
|
|
1287
1287
|
isAnnotator: n
|
|
1288
1288
|
})), void 0, !0)]),
|
|
@@ -1290,47 +1290,47 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1290
1290
|
} : void 0,
|
|
1291
1291
|
e.$slots.optionAltCopy ? {
|
|
1292
1292
|
name: "optionAltCopy",
|
|
1293
|
-
fn:
|
|
1293
|
+
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(v({ altCopy: t })), void 0, !0)]),
|
|
1294
1294
|
key: "10"
|
|
1295
1295
|
} : void 0,
|
|
1296
1296
|
e.$slots["custom-menu-before"] ? {
|
|
1297
1297
|
name: "custom-menu-before",
|
|
1298
|
-
fn:
|
|
1298
|
+
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1299
1299
|
key: "11"
|
|
1300
1300
|
} : void 0,
|
|
1301
1301
|
e.$slots["custom-menu-after"] ? {
|
|
1302
1302
|
name: "custom-menu-after",
|
|
1303
|
-
fn:
|
|
1303
|
+
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1304
1304
|
key: "12"
|
|
1305
1305
|
} : void 0
|
|
1306
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
1307
|
-
|
|
1306
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : m("", !0),
|
|
1307
|
+
g("div", Je, [(x(), h("svg", {
|
|
1308
1308
|
ref_key: "svgRef",
|
|
1309
1309
|
ref: I,
|
|
1310
|
-
xmlns:
|
|
1311
|
-
class:
|
|
1310
|
+
xmlns: E(ue),
|
|
1311
|
+
class: Le({
|
|
1312
1312
|
"vue-data-ui-fullscreen--on": $.value,
|
|
1313
1313
|
"vue-data-ui-fulscreen--off": !$.value
|
|
1314
1314
|
}),
|
|
1315
1315
|
viewBox: `0 0 ${z.value} ${B.value}`,
|
|
1316
|
-
style:
|
|
1317
|
-
"aria-describedby": `chart-instructions-${
|
|
1316
|
+
style: b(`max-width:100%; overflow: visible; background:transparent;color:${P.value.style.chart.color};`),
|
|
1317
|
+
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1318
1318
|
tabindex: "0",
|
|
1319
1319
|
onFocus: Ar,
|
|
1320
1320
|
onBlur: jr,
|
|
1321
1321
|
onKeydown: Mr
|
|
1322
1322
|
}, [
|
|
1323
|
-
|
|
1324
|
-
e.$slots["chart-background"] ? (
|
|
1323
|
+
Pe(E(Nt)),
|
|
1324
|
+
e.$slots["chart-background"] ? (x(), h("foreignObject", {
|
|
1325
1325
|
key: 0,
|
|
1326
1326
|
x: W.value.left,
|
|
1327
1327
|
y: W.value.top,
|
|
1328
1328
|
width: Math.max(.1, W.value.width),
|
|
1329
1329
|
height: Math.max(.1, W.value.height),
|
|
1330
1330
|
style: { pointerEvents: "none" }
|
|
1331
|
-
}, [
|
|
1332
|
-
P.value.style.chart.grid.show ? (
|
|
1333
|
-
P.value.style.chart.grid.horizontalGrid.show ? (
|
|
1331
|
+
}, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : m("", !0),
|
|
1332
|
+
P.value.style.chart.grid.show ? (x(), h("g", Ze, [
|
|
1333
|
+
P.value.style.chart.grid.horizontalGrid.show ? (x(), h("g", Qe, [(x(!0), h(d, null, C(Xn.value, (e) => (x(), h("line", {
|
|
1334
1334
|
x1: e.x1,
|
|
1335
1335
|
x2: e.x2,
|
|
1336
1336
|
y1: e.y,
|
|
@@ -1339,8 +1339,8 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1339
1339
|
"stroke-width": P.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
1340
1340
|
"stroke-dasharray": P.value.style.chart.grid.horizontalGrid.strokeDasharray,
|
|
1341
1341
|
"stroke-linecap": "round"
|
|
1342
|
-
}, null, 8,
|
|
1343
|
-
P.value.style.chart.grid.verticalGrid.show ? (
|
|
1342
|
+
}, null, 8, $e))), 256))])) : m("", !0),
|
|
1343
|
+
P.value.style.chart.grid.verticalGrid.show ? (x(), h("g", et, [(x(!0), h(d, null, C(K.value, (e, t) => (x(), h("line", {
|
|
1344
1344
|
x1: W.value.left + (t + 1) * W.value.stripWidth,
|
|
1345
1345
|
x2: W.value.left + (t + 1) * W.value.stripWidth,
|
|
1346
1346
|
y1: W.value.top,
|
|
@@ -1349,8 +1349,8 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1349
1349
|
"stroke-width": P.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
1350
1350
|
"stroke-dasharray": P.value.style.chart.grid.verticalGrid.strokeDasharray,
|
|
1351
1351
|
"stroke-linecap": "round"
|
|
1352
|
-
}, null, 8,
|
|
1353
|
-
|
|
1352
|
+
}, null, 8, tt))), 256))])) : m("", !0),
|
|
1353
|
+
g("line", {
|
|
1354
1354
|
x1: W.value.left,
|
|
1355
1355
|
x2: W.value.left,
|
|
1356
1356
|
y1: W.value.top,
|
|
@@ -1358,8 +1358,8 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1358
1358
|
stroke: P.value.style.chart.grid.stroke,
|
|
1359
1359
|
"stroke-width": P.value.style.chart.grid.strokeWidth,
|
|
1360
1360
|
"stroke-linecap": "round"
|
|
1361
|
-
}, null, 8,
|
|
1362
|
-
|
|
1361
|
+
}, null, 8, nt),
|
|
1362
|
+
g("line", {
|
|
1363
1363
|
x1: W.value.left,
|
|
1364
1364
|
x2: W.value.right,
|
|
1365
1365
|
y1: W.value.bottom,
|
|
@@ -1367,19 +1367,19 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1367
1367
|
stroke: P.value.style.chart.grid.stroke,
|
|
1368
1368
|
"stroke-width": P.value.style.chart.grid.strokeWidth,
|
|
1369
1369
|
"stroke-linecap": "round"
|
|
1370
|
-
}, null, 8,
|
|
1371
|
-
])) :
|
|
1372
|
-
P.value.style.chart.labels.yAxisLabels.show ? (
|
|
1370
|
+
}, null, 8, rt)
|
|
1371
|
+
])) : m("", !0),
|
|
1372
|
+
P.value.style.chart.labels.yAxisLabels.show ? (x(), h("g", {
|
|
1373
1373
|
key: 2,
|
|
1374
1374
|
ref_key: "scaleLabels",
|
|
1375
|
-
ref:
|
|
1376
|
-
}, [(
|
|
1375
|
+
ref: nn
|
|
1376
|
+
}, [(x(!0), h(d, null, C(Xn.value, (e, t) => (x(), h("text", {
|
|
1377
1377
|
x: e.x1 + P.value.style.chart.labels.yAxisLabels.offsetX - 5,
|
|
1378
1378
|
y: e.y + P.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
1379
1379
|
fill: P.value.style.chart.labels.yAxisLabels.color,
|
|
1380
1380
|
"font-size": P.value.style.chart.labels.yAxisLabels.fontSize,
|
|
1381
1381
|
"text-anchor": "end"
|
|
1382
|
-
}, E(
|
|
1382
|
+
}, T(E(oe)(P.value.style.chart.labels.formatter, e.value, E(ce)({
|
|
1383
1383
|
p: P.value.style.chart.labels.prefix,
|
|
1384
1384
|
v: e.value,
|
|
1385
1385
|
s: P.value.style.chart.labels.suffix,
|
|
@@ -1387,95 +1387,95 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1387
1387
|
}), {
|
|
1388
1388
|
datapoint: e,
|
|
1389
1389
|
seriesIndex: t
|
|
1390
|
-
})), 9,
|
|
1391
|
-
P.value.style.chart.labels.xAxisLabels.show ? (
|
|
1390
|
+
})), 9, it))), 256))], 512)) : m("", !0),
|
|
1391
|
+
P.value.style.chart.labels.xAxisLabels.show ? (x(), h("g", {
|
|
1392
1392
|
key: 3,
|
|
1393
1393
|
ref_key: "timeLabelsEls",
|
|
1394
|
-
ref:
|
|
1395
|
-
}, [(
|
|
1394
|
+
ref: tn
|
|
1395
|
+
}, [(x(!0), h(d, null, C(hr.value, (e, t) => (x(), h("g", null, [String(e).includes("\n") ? (x(), h("text", {
|
|
1396
1396
|
key: 1,
|
|
1397
1397
|
class: "vue-ui-strip-plot-category-name",
|
|
1398
1398
|
transform: `translate(${W.value.left + (t + 1) * W.value.stripWidth - W.value.stripWidth / 2}, ${W.value.bottom + P.value.style.chart.labels.xAxisLabels.fontSize * 2 + P.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${P.value.style.chart.labels.xAxisLabels.rotation})`,
|
|
1399
1399
|
"font-size": P.value.style.chart.labels.xAxisLabels.fontSize,
|
|
1400
1400
|
fill: P.value.style.chart.labels.xAxisLabels.color,
|
|
1401
1401
|
"text-anchor": P.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : P.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
1402
|
-
innerHTML:
|
|
1403
|
-
content:
|
|
1402
|
+
innerHTML: E(r)({
|
|
1403
|
+
content: E(le)(String(e)),
|
|
1404
1404
|
fontSize: P.value.style.chart.labels.xAxisLabels.fontSize,
|
|
1405
1405
|
fill: P.value.style.chart.labels.xAxisLabels.color,
|
|
1406
1406
|
x: 0,
|
|
1407
1407
|
y: 0
|
|
1408
1408
|
})
|
|
1409
|
-
}, null, 8,
|
|
1409
|
+
}, null, 8, ot)) : (x(), h("text", {
|
|
1410
1410
|
key: 0,
|
|
1411
1411
|
class: "vue-ui-strip-plot-category-name",
|
|
1412
1412
|
transform: `translate(${W.value.left + (t + 1) * W.value.stripWidth - W.value.stripWidth / 2}, ${W.value.bottom + P.value.style.chart.labels.xAxisLabels.fontSize * 2 + P.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${P.value.style.chart.labels.xAxisLabels.rotation})`,
|
|
1413
1413
|
"font-size": P.value.style.chart.labels.xAxisLabels.fontSize,
|
|
1414
1414
|
fill: P.value.style.chart.labels.xAxisLabels.color,
|
|
1415
1415
|
"text-anchor": P.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : P.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
|
|
1416
|
-
},
|
|
1417
|
-
P.value.style.chart.labels.axis.yLabel ? (
|
|
1416
|
+
}, T(String(e)), 9, at))]))), 256))], 512)) : m("", !0),
|
|
1417
|
+
P.value.style.chart.labels.axis.yLabel ? (x(), h("text", {
|
|
1418
1418
|
key: 4,
|
|
1419
1419
|
ref_key: "yAxisLabel",
|
|
1420
|
-
ref:
|
|
1420
|
+
ref: en,
|
|
1421
1421
|
fill: P.value.style.chart.labels.axis.color,
|
|
1422
1422
|
"font-size": P.value.style.chart.labels.axis.fontSize,
|
|
1423
1423
|
transform: `translate(${P.value.style.chart.labels.axis.fontSize}, ${W.value.top + W.value.height / 2}) rotate(-90)`,
|
|
1424
1424
|
"text-anchor": "middle"
|
|
1425
|
-
},
|
|
1426
|
-
P.value.style.chart.labels.axis.xLabel ? (
|
|
1425
|
+
}, T(P.value.style.chart.labels.axis.yLabel), 9, st)) : m("", !0),
|
|
1426
|
+
P.value.style.chart.labels.axis.xLabel ? (x(), h("text", {
|
|
1427
1427
|
key: 5,
|
|
1428
1428
|
ref_key: "xAxisLabel",
|
|
1429
|
-
ref:
|
|
1429
|
+
ref: $t,
|
|
1430
1430
|
fill: P.value.style.chart.labels.axis.color,
|
|
1431
1431
|
"font-size": P.value.style.chart.labels.axis.fontSize,
|
|
1432
1432
|
x: W.value.left + W.value.width / 2,
|
|
1433
1433
|
y: B.value - P.value.style.chart.labels.axis.fontSize / 3,
|
|
1434
1434
|
"text-anchor": "middle"
|
|
1435
|
-
},
|
|
1436
|
-
Q.value ? (
|
|
1437
|
-
|
|
1435
|
+
}, T(P.value.style.chart.labels.axis.xLabel), 9, ct)) : m("", !0),
|
|
1436
|
+
Q.value ? (x(), h(d, { key: 6 }, [
|
|
1437
|
+
g("line", {
|
|
1438
1438
|
x1: W.value.left,
|
|
1439
1439
|
x2: W.value.right,
|
|
1440
1440
|
y1: Q.value.y,
|
|
1441
1441
|
y2: Q.value.y,
|
|
1442
1442
|
stroke: Q.value.color,
|
|
1443
1443
|
"stroke-width": 1,
|
|
1444
|
-
class:
|
|
1445
|
-
}, null, 10,
|
|
1446
|
-
|
|
1444
|
+
class: Le({ "select-circle": P.value.useCssAnimation })
|
|
1445
|
+
}, null, 10, lt),
|
|
1446
|
+
g("circle", {
|
|
1447
1447
|
cx: W.value.left,
|
|
1448
1448
|
cy: Q.value.y,
|
|
1449
1449
|
r: 3,
|
|
1450
1450
|
fill: Q.value.color,
|
|
1451
|
-
class:
|
|
1452
|
-
}, null, 10,
|
|
1453
|
-
|
|
1451
|
+
class: Le({ "select-circle": P.value.useCssAnimation })
|
|
1452
|
+
}, null, 10, ut),
|
|
1453
|
+
g("circle", {
|
|
1454
1454
|
cx: W.value.right,
|
|
1455
1455
|
cy: Q.value.y,
|
|
1456
1456
|
r: 3,
|
|
1457
1457
|
fill: Q.value.color,
|
|
1458
|
-
class:
|
|
1459
|
-
}, null, 10,
|
|
1460
|
-
], 64)) :
|
|
1461
|
-
|
|
1458
|
+
class: Le({ "select-circle": P.value.useCssAnimation })
|
|
1459
|
+
}, null, 10, dt)
|
|
1460
|
+
], 64)) : m("", !0),
|
|
1461
|
+
g("defs", null, [(x(!0), h(d, null, C(K.value, (e) => (x(), h("radialGradient", {
|
|
1462
1462
|
id: e.id,
|
|
1463
1463
|
fy: "30%"
|
|
1464
1464
|
}, [
|
|
1465
|
-
|
|
1465
|
+
g("stop", {
|
|
1466
1466
|
offset: "10%",
|
|
1467
|
-
"stop-color":
|
|
1468
|
-
}, null, 8, ft),
|
|
1469
|
-
_("stop", {
|
|
1470
|
-
offset: "90%",
|
|
1471
|
-
"stop-color": D(i)(e.color, .1)
|
|
1467
|
+
"stop-color": E(pe)(e.color, P.value.style.chart.plots.gradient.intensity / 100)
|
|
1472
1468
|
}, null, 8, pt),
|
|
1473
|
-
|
|
1469
|
+
g("stop", {
|
|
1470
|
+
offset: "90%",
|
|
1471
|
+
"stop-color": E(a)(e.color, .1)
|
|
1472
|
+
}, null, 8, mt),
|
|
1473
|
+
g("stop", {
|
|
1474
1474
|
offset: "100%",
|
|
1475
1475
|
"stop-color": e.color
|
|
1476
|
-
}, null, 8,
|
|
1477
|
-
], 8,
|
|
1478
|
-
(
|
|
1476
|
+
}, null, 8, ht)
|
|
1477
|
+
], 8, ft))), 256))]),
|
|
1478
|
+
(x(!0), h(d, null, C(Hn.value, (e, n) => (x(), h(d, { key: e.id }, [e.path ? (x(), h("path", {
|
|
1479
1479
|
key: 0,
|
|
1480
1480
|
d: e.path,
|
|
1481
1481
|
fill: e.fill,
|
|
@@ -1483,17 +1483,17 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1483
1483
|
"fill-opacity": P.value.style.chart.violin.opacity,
|
|
1484
1484
|
"stroke-opacity": P.value.style.chart.violin.strokeOpacity,
|
|
1485
1485
|
"stroke-width": P.value.style.chart.violin.strokeWidth,
|
|
1486
|
-
style:
|
|
1486
|
+
style: b({
|
|
1487
1487
|
pointerEvents: Y.value ? "auto" : "none",
|
|
1488
1488
|
cursor: Y.value && F.value ? "pointer" : "default"
|
|
1489
1489
|
}),
|
|
1490
|
-
onMouseenter: (e) => Y.value &&
|
|
1491
|
-
boxPlot:
|
|
1490
|
+
onMouseenter: (e) => Y.value && X.value[n] && rr({
|
|
1491
|
+
boxPlot: X.value[n],
|
|
1492
1492
|
seriesIndex: n,
|
|
1493
1493
|
triggerMode: "pointer"
|
|
1494
1494
|
}),
|
|
1495
1495
|
onMouseleave: t[0] ||= (e) => Y.value && nr()
|
|
1496
|
-
}, null, 44,
|
|
1496
|
+
}, null, 44, gt)) : m("", !0), (x(!0), h(d, null, C(e.connectors, (t, n) => (x(), h("line", {
|
|
1497
1497
|
key: `violin_connector_${e.id}_${n}`,
|
|
1498
1498
|
x1: t.x,
|
|
1499
1499
|
x2: t.x,
|
|
@@ -1504,10 +1504,10 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1504
1504
|
"stroke-width": P.value.style.chart.violin.strokeWidth,
|
|
1505
1505
|
"stroke-linecap": "round",
|
|
1506
1506
|
style: { "pointer-events": "none" }
|
|
1507
|
-
}, null, 8,
|
|
1508
|
-
(
|
|
1507
|
+
}, null, 8, _t))), 128))], 64))), 128)),
|
|
1508
|
+
(x(!0), h(d, null, C(X.value, (e, t) => (x(), h("g", {
|
|
1509
1509
|
key: `boxplot_${e.id}`,
|
|
1510
|
-
style:
|
|
1510
|
+
style: b({ cursor: F.value ? "pointer" : "default" }),
|
|
1511
1511
|
onMouseenter: (n) => rr({
|
|
1512
1512
|
boxPlot: e,
|
|
1513
1513
|
seriesIndex: t,
|
|
@@ -1515,37 +1515,37 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1515
1515
|
}),
|
|
1516
1516
|
onMouseleave: nr
|
|
1517
1517
|
}, [
|
|
1518
|
-
|
|
1518
|
+
g("line", {
|
|
1519
1519
|
x1: e.centerX,
|
|
1520
1520
|
x2: e.centerX,
|
|
1521
1521
|
y1: e.upperY,
|
|
1522
1522
|
y2: e.lowerY,
|
|
1523
|
-
stroke:
|
|
1523
|
+
stroke: E(a)(e.boxPlotColor, .2),
|
|
1524
1524
|
"stroke-width": Math.max(1, P.value.style.chart.violin.strokeWidth),
|
|
1525
1525
|
"stroke-linecap": "round"
|
|
1526
|
-
}, null, 8,
|
|
1527
|
-
|
|
1526
|
+
}, null, 8, yt),
|
|
1527
|
+
g("rect", {
|
|
1528
1528
|
x: e.boxLeft,
|
|
1529
1529
|
y: Math.min(e.q1Y, e.q3Y),
|
|
1530
1530
|
width: e.boxWidth,
|
|
1531
1531
|
height: Math.max(1, Math.abs(e.q3Y - e.q1Y)),
|
|
1532
1532
|
fill: e.boxPlotColor,
|
|
1533
|
-
stroke:
|
|
1533
|
+
stroke: E(a)(e.boxPlotColor, .2),
|
|
1534
1534
|
"stroke-width": Math.max(1, P.value.style.chart.violin.strokeWidth),
|
|
1535
1535
|
rx: e.boxWidth / 20
|
|
1536
|
-
}, null, 8,
|
|
1537
|
-
|
|
1536
|
+
}, null, 8, bt),
|
|
1537
|
+
g("circle", {
|
|
1538
1538
|
cx: e.boxLeft + e.boxWidth / 2,
|
|
1539
1539
|
cy: e.medianY,
|
|
1540
1540
|
r: e.boxWidth / 3 * Math.min(1, P.value.style.chart.violin.boxPlot.medianCircleRadiusRatio),
|
|
1541
1541
|
fill: P.value.style.chart.violin.boxPlot.medianCircleFill,
|
|
1542
|
-
stroke:
|
|
1543
|
-
}, null, 8,
|
|
1544
|
-
], 44,
|
|
1545
|
-
(
|
|
1542
|
+
stroke: E(a)(e.boxPlotColor, .2)
|
|
1543
|
+
}, null, 8, xt)
|
|
1544
|
+
], 44, vt))), 128)),
|
|
1545
|
+
(x(!0), h(d, null, C(J.value, (t, n) => (x(), h(d, null, [Y.value ? m("", !0) : (x(!0), h(d, { key: 0 }, C(t.plots, (n, r) => (x(), p(we, Fe({ ref_for: !0 }, e.$attrs, {
|
|
1546
1546
|
plot: {
|
|
1547
1547
|
x: n.x,
|
|
1548
|
-
y:
|
|
1548
|
+
y: Kt.value ? n.y : W.value.top
|
|
1549
1549
|
},
|
|
1550
1550
|
radius: Q.value && Q.value.id === n.id ? H.value * 1.5 : H.value,
|
|
1551
1551
|
shape: P.value.style.chart.plots.shape,
|
|
@@ -1554,7 +1554,7 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1554
1554
|
color: P.value.style.chart.plots.gradient.show ? `url(#${t.id})` : t.color,
|
|
1555
1555
|
style: `transition: all 0.2s ease-in-out; opacity:${Q.value ? Q.value.id === n.id ? 1 : .2 : P.value.style.chart.plots.opacity};${Tn.value ? `transition-delay:${r * 50}ms` : ""}`,
|
|
1556
1556
|
class: {
|
|
1557
|
-
"vue-ui-strip-plot-animated": P.value.useCssAnimation && Tn.value && !
|
|
1557
|
+
"vue-ui-strip-plot-animated": P.value.useCssAnimation && Tn.value && !E(ln),
|
|
1558
1558
|
"vue-ui-strip-plot-select-circle": P.value.useCssAnimation && !Tn.value
|
|
1559
1559
|
},
|
|
1560
1560
|
onMouseenter: (e) => tr({
|
|
@@ -1582,15 +1582,15 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1582
1582
|
"onMouseenter",
|
|
1583
1583
|
"onMouseleave",
|
|
1584
1584
|
"onClick"
|
|
1585
|
-
]))), 256)), V.value.dataLabels.show && !Y.value ? (
|
|
1585
|
+
]))), 256)), V.value.dataLabels.show && !Y.value ? (x(), h("g", St, [(x(!0), h(d, null, C(t.plots, (e, n) => (x(), h(d, null, [n === t.plots.length - 1 || Q.value && Q.value.id === e.id && !V.value.showTooltip ? (x(), h("text", {
|
|
1586
1586
|
key: 0,
|
|
1587
1587
|
x: e.x,
|
|
1588
1588
|
y: e.y + P.value.style.chart.labels.bestPlotLabel.offsetY - H.value * (Q.value && Q.value.id === e.id && !V.value.showTooltip ? 2 : 1.5),
|
|
1589
1589
|
"font-size": P.value.style.chart.labels.bestPlotLabel.fontSize,
|
|
1590
1590
|
fill: P.value.style.chart.labels.bestPlotLabel.color,
|
|
1591
1591
|
"text-anchor": "middle",
|
|
1592
|
-
style:
|
|
1593
|
-
},
|
|
1592
|
+
style: b(`opacity:${P.value.useCssAnimation ? +!Tn.value : 1};transition:opacity 0.2s ease-in;`)
|
|
1593
|
+
}, T(e.name) + " " + T(P.value.style.chart.labels.bestPlotLabel.showValue ? E(oe)(P.value.style.chart.labels.formatter, e.value, E(ce)({
|
|
1594
1594
|
p: `(${P.value.style.chart.labels.prefix}`,
|
|
1595
1595
|
v: e.value,
|
|
1596
1596
|
s: `${P.value.style.chart.labels.suffix})`,
|
|
@@ -1598,28 +1598,28 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1598
1598
|
}), {
|
|
1599
1599
|
datapoint: e,
|
|
1600
1600
|
seriesIndex: n
|
|
1601
|
-
}) : ""), 13,
|
|
1602
|
-
|
|
1601
|
+
}) : ""), 13, Ct)) : m("", !0)], 64))), 256))])) : m("", !0)], 64))), 256)),
|
|
1602
|
+
w(e.$slots, "svg", { svg: {
|
|
1603
1603
|
...W.value,
|
|
1604
|
-
isPrintingImg:
|
|
1605
|
-
isPrintingSvg:
|
|
1606
|
-
boxPlotSummaries:
|
|
1604
|
+
isPrintingImg: E(yn) || E(bn) || Zt.value,
|
|
1605
|
+
isPrintingSvg: Qt.value,
|
|
1606
|
+
boxPlotSummaries: X.value,
|
|
1607
1607
|
series: K.value
|
|
1608
1608
|
} }, void 0, !0)
|
|
1609
|
-
], 46,
|
|
1609
|
+
], 46, Ye)), e.$slots.hint ? (x(), h("div", wt, [w(e.$slots, "hint", y(v({
|
|
1610
1610
|
hint: P.value.a11y.translations.keyboardNavigation,
|
|
1611
1611
|
isVisible: on.value
|
|
1612
|
-
})), void 0, !0)])) :
|
|
1613
|
-
e.$slots.watermark ? (
|
|
1614
|
-
e.$slots.source ? (
|
|
1612
|
+
})), void 0, !0)])) : m("", !0)]),
|
|
1613
|
+
e.$slots.watermark ? (x(), h("div", Tt, [w(e.$slots, "watermark", y(v({ isPrinting: E(yn) || E(bn) || Zt.value || Qt.value })), void 0, !0)])) : m("", !0),
|
|
1614
|
+
e.$slots.source ? (x(), h("div", {
|
|
1615
1615
|
key: 6,
|
|
1616
1616
|
ref_key: "source",
|
|
1617
|
-
ref:
|
|
1617
|
+
ref: Wt,
|
|
1618
1618
|
dir: "auto"
|
|
1619
|
-
}, [
|
|
1620
|
-
|
|
1619
|
+
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
1620
|
+
Pe(E(Dt), {
|
|
1621
1621
|
teleportTo: P.value.style.chart.tooltip.teleportTo,
|
|
1622
|
-
show: V.value.showTooltip &&
|
|
1622
|
+
show: V.value.showTooltip && A.value,
|
|
1623
1623
|
backgroundColor: P.value.style.chart.tooltip.backgroundColor,
|
|
1624
1624
|
color: P.value.style.chart.tooltip.color,
|
|
1625
1625
|
borderRadius: P.value.style.chart.tooltip.borderRadius,
|
|
@@ -1630,10 +1630,10 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1630
1630
|
position: P.value.style.chart.tooltip.position,
|
|
1631
1631
|
offsetX: P.value.style.chart.tooltip.offsetX,
|
|
1632
1632
|
offsetY: P.value.style.chart.tooltip.offsetY,
|
|
1633
|
-
parent:
|
|
1634
|
-
content:
|
|
1633
|
+
parent: j.value,
|
|
1634
|
+
content: Ht.value,
|
|
1635
1635
|
isFullscreen: $.value,
|
|
1636
|
-
isCustom:
|
|
1636
|
+
isCustom: E(ne)(P.value.style.chart.tooltip.customFormat),
|
|
1637
1637
|
smooth: P.value.style.chart.tooltip.smooth,
|
|
1638
1638
|
backdropFilter: P.value.style.chart.tooltip.backdropFilter,
|
|
1639
1639
|
smoothForce: P.value.style.chart.tooltip.smoothForce,
|
|
@@ -1641,9 +1641,9 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1641
1641
|
isA11yMode: N.value === "keyboard",
|
|
1642
1642
|
a11yPosition: an.value
|
|
1643
1643
|
}, {
|
|
1644
|
-
"tooltip-before":
|
|
1645
|
-
tooltip:
|
|
1646
|
-
"tooltip-after":
|
|
1644
|
+
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(v({ ...Zn.value })), void 0, !0)]),
|
|
1645
|
+
tooltip: D(() => [w(e.$slots, "tooltip", y(v({ ...Zn.value })), void 0, !0)]),
|
|
1646
|
+
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(v({ ...Zn.value })), void 0, !0)]),
|
|
1647
1647
|
_: 3
|
|
1648
1648
|
}, 8, [
|
|
1649
1649
|
"teleportTo",
|
|
@@ -1669,13 +1669,13 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1669
1669
|
"isA11yMode",
|
|
1670
1670
|
"a11yPosition"
|
|
1671
1671
|
]),
|
|
1672
|
-
|
|
1672
|
+
Bt.value && P.value.userOptions.buttons.table ? (x(), p(Be(gr.value.component), Fe({ key: 7 }, gr.value.props, {
|
|
1673
1673
|
ref_key: "tableUnit",
|
|
1674
|
-
ref:
|
|
1674
|
+
ref: Yt,
|
|
1675
1675
|
onClose: _r
|
|
1676
|
-
}),
|
|
1677
|
-
content:
|
|
1678
|
-
key: `table_${
|
|
1676
|
+
}), Me({
|
|
1677
|
+
content: D(() => [(x(), p(E(At), {
|
|
1678
|
+
key: `table_${Jt.value}`,
|
|
1679
1679
|
colNames: or.value.colNames,
|
|
1680
1680
|
head: or.value.head,
|
|
1681
1681
|
body: or.value.body,
|
|
@@ -1685,14 +1685,14 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1685
1685
|
isCursorPointer: F.value,
|
|
1686
1686
|
onClose: _r
|
|
1687
1687
|
}, {
|
|
1688
|
-
th:
|
|
1688
|
+
th: D(({ th: e }) => [g("div", {
|
|
1689
1689
|
innerHTML: e,
|
|
1690
1690
|
style: {
|
|
1691
1691
|
display: "flex",
|
|
1692
1692
|
"align-items": "center"
|
|
1693
1693
|
}
|
|
1694
|
-
}, null, 8,
|
|
1695
|
-
td:
|
|
1694
|
+
}, null, 8, Et)]),
|
|
1695
|
+
td: D(({ td: e }) => [Ne(T(e.name || e), 1)]),
|
|
1696
1696
|
_: 1
|
|
1697
1697
|
}, 8, [
|
|
1698
1698
|
"colNames",
|
|
@@ -1706,24 +1706,24 @@ var We = /* @__PURE__ */ e({ default: () => Et }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1706
1706
|
_: 2
|
|
1707
1707
|
}, [P.value.table.useDialog ? {
|
|
1708
1708
|
name: "title",
|
|
1709
|
-
fn:
|
|
1709
|
+
fn: D(() => [Ne(T(gr.value.title), 1)]),
|
|
1710
1710
|
key: "0"
|
|
1711
1711
|
} : void 0, P.value.table.useDialog ? {
|
|
1712
1712
|
name: "actions",
|
|
1713
|
-
fn:
|
|
1713
|
+
fn: D(() => [g("button", {
|
|
1714
1714
|
tabindex: "0",
|
|
1715
1715
|
class: "vue-ui-user-options-button",
|
|
1716
1716
|
onClick: t[1] ||= (e) => ar(P.value.userOptions.callbacks.csv),
|
|
1717
|
-
style:
|
|
1718
|
-
}, [
|
|
1717
|
+
style: b({ cursor: F.value ? "pointer" : "default" })
|
|
1718
|
+
}, [Pe(E(Ot), {
|
|
1719
1719
|
name: "fileCsv",
|
|
1720
1720
|
stroke: gr.value.props.color
|
|
1721
1721
|
}, null, 8, ["stroke"])], 4)]),
|
|
1722
1722
|
key: "1"
|
|
1723
|
-
} : void 0]), 1040)) :
|
|
1724
|
-
|
|
1725
|
-
], 46,
|
|
1723
|
+
} : void 0]), 1040)) : m("", !0),
|
|
1724
|
+
w(e.$slots, "skeleton", {}, () => [E(ln) ? (x(), p(_e, { key: 0 })) : m("", !0)], !0)
|
|
1725
|
+
], 46, Ke));
|
|
1726
1726
|
}
|
|
1727
1727
|
}, [["__scopeId", "data-v-2a046a41"]]);
|
|
1728
1728
|
//#endregion
|
|
1729
|
-
export {
|
|
1729
|
+
export { Ge as n, Dt as t };
|