vue-data-ui 3.20.10 → 3.21.0
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-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
- package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
- package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
- package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
- package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
- package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
- package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
- package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
- package/dist/{PackageVersion-BbgWxFC4.js → PackageVersion-DYLo3MRd.js} +1 -1
- package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
- package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
- package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
- package/dist/SlicerPreview-CXLgqXX8.js +1676 -0
- package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
- package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
- package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
- package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
- package/dist/exposedLib-BJbE_A8E.js +19 -0
- package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
- package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
- package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
- package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
- package/dist/ssr.js +1366 -0
- package/dist/style.css +1 -1
- package/dist/types/ssr.d.ts +128 -0
- package/dist/types/vue-data-ui.d.ts +135 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
- package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
- package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
- package/dist/utils.js +8 -8
- package/dist/{vue-data-ui-CBjd88aV.js → vue-data-ui-D2dM3IQZ.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
- package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
- package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
- package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
- package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
- package/dist/{vue-ui-bump-S-FGGlPW.js → vue-ui-bump-BVCYywuS.js} +253 -253
- package/dist/{vue-ui-candlestick-BaaswVai.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
- package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
- package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
- package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
- package/dist/{vue-ui-circle-pack--4oUO8hO.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
- package/dist/{vue-ui-cursor-C7zZVebz.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
- package/dist/{vue-ui-dag-DsCnV6f0.js → vue-ui-dag-lL0juBzN.js} +20 -20
- package/dist/{vue-ui-dashboard-CmTnG8CS.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
- package/dist/{vue-ui-digits-BQ0e9Czq.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
- package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
- package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
- package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
- package/dist/{vue-ui-flow-jBINqYMb.js → vue-ui-flow-BXfzMTXx.js} +57 -57
- package/dist/{vue-ui-funnel-B9DsneCv.js → vue-ui-funnel-BpnC82m0.js} +32 -32
- package/dist/{vue-ui-galaxy-SAZjgllD.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
- package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
- package/dist/{vue-ui-geo-B41ZRCPC.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
- package/dist/{vue-ui-gizmo-PL2TAIV_.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
- package/dist/{vue-ui-heatmap-NkJ_KGMs.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
- package/dist/{vue-ui-history-plot-B9KX1kKs.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
- package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
- package/dist/{vue-ui-kpi-Bo4x1-vC.js → vue-ui-kpi-B9bdicir.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
- package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
- package/dist/{vue-ui-mood-radar-DE71e1H_.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
- package/dist/{vue-ui-nested-donuts-DQhSwNYF.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
- package/dist/{vue-ui-onion-X9anqRDz.js → vue-ui-onion-3fJB4mfC.js} +45 -45
- package/dist/{vue-ui-parallel-coordinate-plot-aN0OHwgH.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
- package/dist/{vue-ui-quadrant-CpKMBoX9.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
- package/dist/{vue-ui-quick-chart-BwD7IGYx.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
- package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
- package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
- package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
- package/dist/{vue-ui-ridgeline-68X0PTKo.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
- package/dist/{vue-ui-rings-cDPIzhPb.js → vue-ui-rings-BgFO7NYF.js} +81 -81
- package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
- package/dist/{vue-ui-skeleton-BD0JzrcV.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
- package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
- package/dist/{vue-ui-spark-trend-DLXJpfGh.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
- package/dist/{vue-ui-sparkbar-5pFFPu5l.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
- package/dist/{vue-ui-sparkgauge--CihPbUW.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
- package/dist/{vue-ui-sparkhistogram-CjrIcako.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
- package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-Dlg1W_fF.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
- package/dist/{vue-ui-stackbar-DltfPoDm.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
- package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
- package/dist/{vue-ui-strip-plot-CEE-cw3d.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
- package/dist/{vue-ui-table-C7AvFChf.js → vue-ui-table-R-aXpHvF.js} +86 -86
- package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
- package/dist/{vue-ui-table-sparkline-DgTHhaZI.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
- package/dist/{vue-ui-thermometer-Cg7jcmgc.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
- package/dist/{vue-ui-timer-U045embk.js → vue-ui-timer-AlYvthQ6.js} +23 -23
- package/dist/{vue-ui-tiremarks-T55IpHYP.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
- package/dist/{vue-ui-treemap-BPQ-Ekq4.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
- package/dist/{vue-ui-waffle-DNCJGwEA.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
- package/dist/{vue-ui-wheel-5GuVbUOq.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
- package/dist/{vue-ui-word-cloud-Cs-MBJJU.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
- package/dist/{vue-ui-world-D3v5f6dU.js → vue-ui-world-B93iq1ZM.js} +445 -445
- package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
- package/dist/{vue-ui-xy-canvas-Ww81eEZ6.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
- package/package.json +6 -2
- package/dist/SlicerPreview-CpvCUAIM.js +0 -1669
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/vue-ui-3d-bar-DmMi_eVe.js +0 -1757
- package/dist/vue-ui-age-pyramid-CbJDodNj.js +0 -1238
- package/dist/vue-ui-bullet-rCmOch09.js +0 -710
- package/dist/vue-ui-carousel-table-DFUP6c1B.js +0 -455
- package/dist/vue-ui-chestnut-DKNsQA7h.js +0 -2010
- package/dist/vue-ui-chord-BMkz02R6.js +0 -1391
- package/dist/vue-ui-donut-BLlR2VgI.js +0 -2410
- package/dist/vue-ui-donut-evolution-kXDchwtH.js +0 -1510
- package/dist/vue-ui-dumbbell-BWuXbccQ.js +0 -1530
- package/dist/vue-ui-gauge-NSzY9L6X.js +0 -920
- package/dist/vue-ui-horizontal-bar-mmoqYnkA.js +0 -1681
- package/dist/vue-ui-molecule-QoXYCfyP.js +0 -925
- package/dist/vue-ui-radar-TfxsgQrA.js +0 -1229
- package/dist/vue-ui-relation-circle-CMqV9U6C.js +0 -924
- package/dist/vue-ui-scatter-8nirnHQi.js +0 -2413
- package/dist/vue-ui-sparkline-DPZm7RqN.js +0 -1507
- package/dist/vue-ui-stackline-6agFEYxZ.js +0 -2398
- package/dist/vue-ui-xy-C0kcCaFA.js +0 -4747
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Bt as t,
|
|
2
|
+
import { Bt as t, G as n, H as r, Ht as i, J as a, Ot as o, S as ee, Tt as te, X as ne, ht as re, i as ie, it as ae, t as oe, x as se, y as ce } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as le } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
-
import { t as ue } from "./usePrinter-
|
|
4
|
+
import { t as ue } from "./usePrinter-6n2MzVyV.js";
|
|
5
5
|
import { n as de, t as fe } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
6
|
import { t as pe } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as me } from "./useNestedProp-
|
|
7
|
+
import { t as me } from "./useNestedProp-DtcXIg7n.js";
|
|
8
8
|
import { t as he } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as ge } from "./img-
|
|
10
|
-
import { n as _e } from "./Title-
|
|
9
|
+
import { t as ge } from "./img-C_RNNswI.js";
|
|
10
|
+
import { n as _e } from "./Title-DH6G8_cZ.js";
|
|
11
11
|
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as ye } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as be } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
-
import { t as xe } from "./BaseLegendToggle-
|
|
14
|
+
import { t as xe } from "./BaseLegendToggle-BNRi408o.js";
|
|
15
15
|
import { t as Se } from "./A11yDataTable-BCbtxMU6.js";
|
|
16
16
|
import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as we } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as Te } from "./labelUtils-
|
|
19
|
-
import { t as Ee } from "./Legend-
|
|
20
|
-
import { t as De } from "./useAutoSizeLabelsInsideViewbox-
|
|
18
|
+
import { t as Te } from "./labelUtils-Bycs-017.js";
|
|
19
|
+
import { t as Ee } from "./Legend-BLhREbj7.js";
|
|
20
|
+
import { t as De } from "./useAutoSizeLabelsInsideViewbox-kjVKQz36.js";
|
|
21
21
|
import { t as Oe } from "./vue_ui_onion-1FTFFS46.js";
|
|
22
22
|
import { Fragment as s, Teleport as ke, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Ae, createTextVNode as je, createVNode as Me, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as Ne, nextTick as Pe, normalizeClass as Fe, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as Ie, onMounted as Le, openBlock as _, ref as v, renderList as y, renderSlot as b, resolveDynamicComponent as Re, shallowRef as ze, toDisplayString as x, toRefs as Be, unref as S, watch as C, withCtx as w } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-onion.vue
|
|
@@ -99,10 +99,10 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
99
99
|
},
|
|
100
100
|
emits: ["selectLegend", "copyAlt"],
|
|
101
101
|
setup(e, { expose: ve, emit: Ve }) {
|
|
102
|
-
let lt = p(() => import("./Tooltip-
|
|
102
|
+
let lt = p(() => import("./Tooltip-979Ytd8R.js")), ut = p(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), dt = p(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), ft = p(() => import("./DataTable-DweDyHc1.js")), pt = p(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), mt = p(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), ht = p(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), gt = p(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_onion: _t } = le(), { isThemeValid: vt, warnInvalidTheme: yt } = he(), T = e, bt = c(() => !!T.dataset && T.dataset.length), E = v(r()), xt = v(null), St = v(0), D = v(!1), Ct = v(""), O = v([]), k = v(null), wt = v(null), Tt = v(null), Et = v(null), Dt = v(null), Ot = v(0), kt = v(0), At = v(0), A = v(!1), jt = v(!1), j = v(null), M = v(!1), Mt = v(!1), N = v(null), Nt = v({
|
|
103
103
|
x: 0,
|
|
104
104
|
y: 0
|
|
105
|
-
}), P = v("pointer"), Pt = v(!1), F = v(Vt()), I = c(() => F.value.userOptions.useCursorPointer), Ft = c(() =>
|
|
105
|
+
}), P = v("pointer"), Pt = v(!1), F = v(Vt()), I = c(() => F.value.userOptions.useCursorPointer), Ft = c(() => i({
|
|
106
106
|
defaultConfig: {
|
|
107
107
|
userOptions: { show: !1 },
|
|
108
108
|
table: { show: !1 },
|
|
@@ -151,7 +151,7 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
151
151
|
color: "#969696"
|
|
152
152
|
}
|
|
153
153
|
],
|
|
154
|
-
skeletonConfig:
|
|
154
|
+
skeletonConfig: i({
|
|
155
155
|
defaultConfig: F.value,
|
|
156
156
|
userConfig: Ft.value
|
|
157
157
|
})
|
|
@@ -160,19 +160,19 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
160
160
|
let e = me({
|
|
161
161
|
userConfig: T.config,
|
|
162
162
|
defaultConfig: _t
|
|
163
|
-
}),
|
|
164
|
-
if (!
|
|
163
|
+
}), n = e.theme;
|
|
164
|
+
if (!n) return e;
|
|
165
165
|
if (!vt.value(e)) return yt(e), e;
|
|
166
|
-
let
|
|
167
|
-
userConfig: Oe[
|
|
166
|
+
let r = me({
|
|
167
|
+
userConfig: Oe[n] || T.config,
|
|
168
168
|
defaultConfig: e
|
|
169
169
|
}), i = me({
|
|
170
170
|
userConfig: T.config,
|
|
171
|
-
defaultConfig:
|
|
171
|
+
defaultConfig: r
|
|
172
172
|
});
|
|
173
173
|
return {
|
|
174
174
|
...i,
|
|
175
|
-
customPalette: i.customPalette.length ? i.customPalette :
|
|
175
|
+
customPalette: i.customPalette.length ? i.customPalette : t[n] || o
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
C(() => T.config, (e) => {
|
|
@@ -217,11 +217,11 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
217
217
|
labelClass: ".vue-ui-onion-label"
|
|
218
218
|
}), Xt = c(() => F.value.debug), Zt = null;
|
|
219
219
|
function Qt() {
|
|
220
|
-
if (
|
|
220
|
+
if (te(T.dataset) && (ne({
|
|
221
221
|
componentName: "VueUiOnion",
|
|
222
222
|
type: "dataset",
|
|
223
223
|
debug: Xt.value
|
|
224
|
-
}), Lt.value = !0),
|
|
224
|
+
}), Lt.value = !0), te(T.dataset) || (Lt.value = F.value.loading), F.value.responsive) {
|
|
225
225
|
let e = 64 / 512, t = ye(() => {
|
|
226
226
|
Zt && clearTimeout(Zt), A.value = !0;
|
|
227
227
|
let { width: t, height: n } = be({
|
|
@@ -273,7 +273,7 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
273
273
|
...e,
|
|
274
274
|
percentage: e.percentage || 0,
|
|
275
275
|
targetPercentage: e.percentage || 0,
|
|
276
|
-
color: ce(e.color) || qt.value[t] ||
|
|
276
|
+
color: ce(e.color) || qt.value[t] || o[t],
|
|
277
277
|
id: n,
|
|
278
278
|
shape: "circle",
|
|
279
279
|
opacity: O.value.includes(n) ? .5 : 1,
|
|
@@ -282,16 +282,16 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
282
282
|
isSegregated: O.value.includes(n)
|
|
283
283
|
};
|
|
284
284
|
}))), G = c(() => W.value.map((e, t) => {
|
|
285
|
-
let
|
|
286
|
-
showVal:
|
|
287
|
-
showPercentage:
|
|
288
|
-
val:
|
|
285
|
+
let r = F.value.style.chart.legend.showValue, i = F.value.style.chart.legend.showPercentage, a = bn({
|
|
286
|
+
showVal: r,
|
|
287
|
+
showPercentage: i,
|
|
288
|
+
val: ie(F.value.style.chart.layout.labels.value.formatter, e.value, n({
|
|
289
289
|
p: e.prefix || "",
|
|
290
290
|
v: e.value,
|
|
291
291
|
s: e.suffix || "",
|
|
292
292
|
r: F.value.style.chart.legend.roundingValue
|
|
293
293
|
})),
|
|
294
|
-
percentage:
|
|
294
|
+
percentage: n({
|
|
295
295
|
v: e.percentage ?? 0,
|
|
296
296
|
s: "%",
|
|
297
297
|
r: F.value.style.chart.legend.roundingPercentage
|
|
@@ -300,7 +300,7 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
300
300
|
});
|
|
301
301
|
return {
|
|
302
302
|
...e,
|
|
303
|
-
display: `${e.name}${
|
|
303
|
+
display: `${e.name}${r || i ? ": " : ""}${a}`
|
|
304
304
|
};
|
|
305
305
|
})), K = v(W.value), $t = c(() => F.value.useStartAnimation), en = v(null), tn = c(() => Math.max(...W.value.map((e) => e.percentage))), nn = v(!1);
|
|
306
306
|
C(() => W.value, rn, {
|
|
@@ -438,8 +438,8 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
438
438
|
[F.value.style.chart.title.text],
|
|
439
439
|
[F.value.style.chart.title.subtitle.text],
|
|
440
440
|
[""]
|
|
441
|
-
], n = hn.value.head, r = hn.value.body, i =
|
|
442
|
-
e ? e(i) :
|
|
441
|
+
], n = hn.value.head, r = hn.value.body, i = ee(t.concat([n]).concat(r));
|
|
442
|
+
e ? e(i) : a({
|
|
443
443
|
csvContent: i,
|
|
444
444
|
title: F.value.style.chart.title.text || "vue-ui-onion"
|
|
445
445
|
});
|
|
@@ -471,11 +471,11 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
471
471
|
});
|
|
472
472
|
}
|
|
473
473
|
function xn(e, t) {
|
|
474
|
-
let
|
|
474
|
+
let r = F.value.style.chart.layout.labels.value.show, i = F.value.style.chart.layout.labels.percentage.show, a = bn({
|
|
475
475
|
config: F.value.style.chart.layout.labels,
|
|
476
|
-
showVal:
|
|
477
|
-
showPercentage:
|
|
478
|
-
val:
|
|
476
|
+
showVal: r,
|
|
477
|
+
showPercentage: i,
|
|
478
|
+
val: ie(F.value.style.chart.layout.labels.value.formatter, e.value, n({
|
|
479
479
|
p: e.prefix || "",
|
|
480
480
|
v: e.value || 0,
|
|
481
481
|
s: e.suffix || "",
|
|
@@ -484,29 +484,29 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
484
484
|
datapoint: e,
|
|
485
485
|
seriesIndex: t
|
|
486
486
|
}),
|
|
487
|
-
percentage:
|
|
487
|
+
percentage: n({
|
|
488
488
|
v: e.percentage,
|
|
489
489
|
s: "%",
|
|
490
490
|
r: F.value.style.chart.layout.labels.roundingPercentage
|
|
491
491
|
})
|
|
492
492
|
});
|
|
493
|
-
return `${e.name}${
|
|
493
|
+
return `${e.name}${r || i ? ": " : ""}${a}`;
|
|
494
494
|
}
|
|
495
495
|
let Sn = v(null);
|
|
496
|
-
function Cn({ datapoint: e, seriesIndex: t, show:
|
|
496
|
+
function Cn({ datapoint: e, seriesIndex: t, show: r = !0, triggerMode: i = "pointer" }) {
|
|
497
497
|
F.value.events.datapointEnter && F.value.events.datapointEnter({
|
|
498
498
|
datapoint: e,
|
|
499
499
|
seriesIndex: e.absoluteIndex
|
|
500
|
-
}), P.value =
|
|
500
|
+
}), P.value = i, N.value = t;
|
|
501
501
|
let a = e.absoluteIndex;
|
|
502
502
|
X.value = t, Sn.value = {
|
|
503
503
|
datapoint: e,
|
|
504
504
|
seriesIndex: a,
|
|
505
505
|
series: W.value,
|
|
506
506
|
config: F.value
|
|
507
|
-
}, D.value =
|
|
507
|
+
}, D.value = r;
|
|
508
508
|
let o = "", ee = F.value.style.chart.tooltip.customFormat;
|
|
509
|
-
if (
|
|
509
|
+
if (re(ee) && ae(() => ee({
|
|
510
510
|
seriesIndex: a,
|
|
511
511
|
datapoint: e,
|
|
512
512
|
series: W.value,
|
|
@@ -518,12 +518,12 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
518
518
|
config: F.value
|
|
519
519
|
});
|
|
520
520
|
else {
|
|
521
|
-
let
|
|
521
|
+
let r = F.value.style.chart.tooltip.showPercentage, i = F.value.style.chart.tooltip.showValue;
|
|
522
522
|
o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${e.color}"/></svg>`, o += `<b>${bn({
|
|
523
523
|
config: F.value.style.chart.tooltip,
|
|
524
|
-
showVal:
|
|
525
|
-
showPercentage:
|
|
526
|
-
val: `<span>${
|
|
524
|
+
showVal: i,
|
|
525
|
+
showPercentage: r,
|
|
526
|
+
val: `<span>${ie(F.value.style.chart.layout.labels.value.formatter, e.value, n({
|
|
527
527
|
p: e.prefix || "",
|
|
528
528
|
v: e.value,
|
|
529
529
|
s: e.suffix || "",
|
|
@@ -532,7 +532,7 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
532
532
|
datapoint: e,
|
|
533
533
|
seriesIndex: t
|
|
534
534
|
})}</span>`,
|
|
535
|
-
percentage:
|
|
535
|
+
percentage: n({
|
|
536
536
|
v: e.percentage,
|
|
537
537
|
s: "%",
|
|
538
538
|
r: F.value.style.chart.tooltip.roundingPercentage
|
|
@@ -1110,7 +1110,7 @@ var Ve = /* @__PURE__ */ e({ default: () => lt }), He = ["id"], Ue = ["id"], We
|
|
|
1110
1110
|
parent: k.value,
|
|
1111
1111
|
content: Ct.value,
|
|
1112
1112
|
isFullscreen: Z.value,
|
|
1113
|
-
isCustom: S(
|
|
1113
|
+
isCustom: S(re)(F.value.style.chart.tooltip.customFormat),
|
|
1114
1114
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
1115
1115
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
1116
1116
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { B as t, Bt as n,
|
|
2
|
+
import { B as t, Bt as n, G as r, H as i, Ht as a, I as o, J as ee, Ot as s, S as te, Tt as ne, Vt as re, X as ie, ct as ae, h as oe, ht as se, i as ce, it as le, k as ue, t as de, ut as fe, x as pe, y as me, zt as he } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as ge } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
-
import { t as _e } from "./usePrinter-
|
|
4
|
+
import { t as _e } from "./usePrinter-6n2MzVyV.js";
|
|
5
5
|
import { n as ve, t as ye } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
6
|
import { t as be } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as xe } from "./useNestedProp-
|
|
7
|
+
import { t as xe } from "./useNestedProp-DtcXIg7n.js";
|
|
8
8
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
10
|
-
import { t as we } from "./img-
|
|
11
|
-
import { n as Te } from "./Title-
|
|
12
|
-
import { t as Ee } from "./Shape-
|
|
10
|
+
import { t as we } from "./img-C_RNNswI.js";
|
|
11
|
+
import { n as Te } from "./Title-DH6G8_cZ.js";
|
|
12
|
+
import { t as Ee } from "./Shape-BxFtoF1z.js";
|
|
13
13
|
import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { c as Oe } from "./canvas-lib-BOP_HS11.js";
|
|
15
15
|
import { t as ke } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
-
import { t as Ae } from "./BaseLegendToggle-
|
|
16
|
+
import { t as Ae } from "./BaseLegendToggle-BNRi408o.js";
|
|
17
17
|
import { t as je } from "./A11yDataTable-BCbtxMU6.js";
|
|
18
18
|
import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as Pe } from "./Legend-
|
|
20
|
+
import { t as Pe } from "./Legend-BLhREbj7.js";
|
|
21
21
|
import { t as Fe } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
|
|
22
22
|
import { Fragment as c, Teleport as Ie, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Be, nextTick as Ve, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as He, onMounted as Ue, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as We, shallowRef as Ge, toDisplayString as C, toRefs as Ke, unref as w, watch as qe, watchEffect as Je, withCtx as T } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-parallel-coordinate-plot.vue
|
|
@@ -128,7 +128,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
128
128
|
"copyAlt"
|
|
129
129
|
],
|
|
130
130
|
setup(e, { expose: De, emit: Ye }) {
|
|
131
|
-
let xt = m(() => import("./Tooltip-
|
|
131
|
+
let xt = m(() => import("./Tooltip-979Ytd8R.js")), St = m(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), wt = m(() => import("./DataTable-DweDyHc1.js")), Tt = m(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), Et = m(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), Ot = m(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: kt } = ge(), { isThemeValid: At, warnInvalidTheme: jt } = Se(), E = e, Mt = l({
|
|
132
132
|
get() {
|
|
133
133
|
return !!E.dataset && E.dataset.length;
|
|
134
134
|
},
|
|
@@ -138,11 +138,11 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
138
138
|
}), Nt = b(0), D = b(null), Pt = b(null), Ft = b(null), It = b(null), Lt = b(null), Rt = b(0), zt = b(0), Bt = b(0), Vt = b(!1), O = b(null), Ht = b(null), Ut = b(!1), Wt = b(!1), Gt = b(null), k = b(null), Kt = b({
|
|
139
139
|
x: 0,
|
|
140
140
|
y: 0
|
|
141
|
-
}), qt = b("pointer"), Jt = b(!1), A = b(
|
|
141
|
+
}), qt = b("pointer"), Jt = b(!1), A = b(i()), j = b(!1);
|
|
142
142
|
function Yt(e) {
|
|
143
143
|
j.value = e, Nt.value += 1;
|
|
144
144
|
}
|
|
145
|
-
let M = b(nn()), N = l(() => M.value.userOptions.useCursorPointer), Xt = l(() =>
|
|
145
|
+
let M = b(nn()), N = l(() => M.value.userOptions.useCursorPointer), Xt = l(() => a({
|
|
146
146
|
defaultConfig: {
|
|
147
147
|
useCssAnimation: !1,
|
|
148
148
|
userOptions: { show: !1 },
|
|
@@ -217,7 +217,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
217
217
|
}]
|
|
218
218
|
}
|
|
219
219
|
],
|
|
220
|
-
skeletonConfig:
|
|
220
|
+
skeletonConfig: a({
|
|
221
221
|
defaultConfig: M.value,
|
|
222
222
|
userConfig: Xt.value
|
|
223
223
|
})
|
|
@@ -229,16 +229,16 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
229
229
|
}), t = e.theme;
|
|
230
230
|
if (!t) return e;
|
|
231
231
|
if (!At.value(e)) return jt(e), e;
|
|
232
|
-
let
|
|
232
|
+
let r = xe({
|
|
233
233
|
userConfig: Fe[t] || E.config,
|
|
234
234
|
defaultConfig: e
|
|
235
|
-
}),
|
|
235
|
+
}), i = xe({
|
|
236
236
|
userConfig: E.config,
|
|
237
|
-
defaultConfig:
|
|
237
|
+
defaultConfig: r
|
|
238
238
|
});
|
|
239
239
|
return {
|
|
240
|
-
...
|
|
241
|
-
customPalette:
|
|
240
|
+
...i,
|
|
241
|
+
customPalette: i.customPalette.length ? i.customPalette : n[t] || s
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
qe(() => E.config, (e) => {
|
|
@@ -252,12 +252,12 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
252
252
|
});
|
|
253
253
|
let rn = l(() => !!M.value.debug);
|
|
254
254
|
function an() {
|
|
255
|
-
if (
|
|
255
|
+
if (ne(E.dataset) ? (ie({
|
|
256
256
|
componentName: "VueUiParallelCoordinatePlot",
|
|
257
257
|
type: "dataset",
|
|
258
258
|
debug: rn.value
|
|
259
259
|
}), Qt.value = !0) : E.dataset.forEach((e, t) => {
|
|
260
|
-
|
|
260
|
+
ae({
|
|
261
261
|
datasetObject: e,
|
|
262
262
|
requiredAttributes: ["name", "series"]
|
|
263
263
|
}).forEach((e) => {
|
|
@@ -269,7 +269,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
269
269
|
debug: rn.value
|
|
270
270
|
});
|
|
271
271
|
});
|
|
272
|
-
}),
|
|
272
|
+
}), ne(E.dataset) || (Qt.value = M.value.loading), M.value.responsive) {
|
|
273
273
|
let e = Oe(() => {
|
|
274
274
|
let { width: e, height: t } = ke({
|
|
275
275
|
chart: D.value,
|
|
@@ -279,25 +279,25 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
279
279
|
noTitle: Lt.value
|
|
280
280
|
});
|
|
281
281
|
requestAnimationFrame(() => {
|
|
282
|
-
R.value.width = e, R.value.height = t - 12, M.value.responsiveProportionalSizing ? (R.value.plotSize =
|
|
282
|
+
R.value.width = e, R.value.height = t - 12, M.value.responsiveProportionalSizing ? (R.value.plotSize = re({
|
|
283
283
|
relator: Math.min(e, t),
|
|
284
284
|
adjuster: 600,
|
|
285
285
|
source: M.value.style.chart.plots.radius,
|
|
286
286
|
threshold: 2,
|
|
287
287
|
fallback: 2
|
|
288
|
-
}), R.value.ticksFontSize =
|
|
288
|
+
}), R.value.ticksFontSize = re({
|
|
289
289
|
relator: Math.min(e, t),
|
|
290
290
|
adjuster: 600,
|
|
291
291
|
source: M.value.style.chart.yAxis.labels.ticks.fontSize,
|
|
292
292
|
threshold: 10,
|
|
293
293
|
fallback: 10
|
|
294
|
-
}), R.value.datapointFontSize =
|
|
294
|
+
}), R.value.datapointFontSize = re({
|
|
295
295
|
relator: Math.min(e, t),
|
|
296
296
|
adjuster: 600,
|
|
297
297
|
source: M.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
298
298
|
threshold: 10,
|
|
299
299
|
fallback: 10
|
|
300
|
-
}), R.value.axisNameFontSize =
|
|
300
|
+
}), R.value.axisNameFontSize = re({
|
|
301
301
|
relator: Math.min(e, t),
|
|
302
302
|
adjuster: 600,
|
|
303
303
|
source: M.value.style.chart.yAxis.labels.axisNamesFontSize,
|
|
@@ -368,17 +368,17 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
368
368
|
H.value.includes(e) ? H.value = H.value.filter((t) => t !== e) : H.value.push(e), An("selectLegend", K.value);
|
|
369
369
|
}
|
|
370
370
|
let U = l(() => Zt.value.map((e, t) => {
|
|
371
|
-
let n = me(e.color) || mn.value[t] ||
|
|
371
|
+
let n = me(e.color) || mn.value[t] || s[t] || s[t % s.length];
|
|
372
372
|
return {
|
|
373
373
|
...e,
|
|
374
374
|
series: e.series.map((e) => ({
|
|
375
375
|
...e,
|
|
376
|
-
id:
|
|
376
|
+
id: i(),
|
|
377
377
|
color: n
|
|
378
378
|
})),
|
|
379
379
|
seriesIndex: t,
|
|
380
380
|
color: n,
|
|
381
|
-
id:
|
|
381
|
+
id: i(),
|
|
382
382
|
shape: e.shape || "circle"
|
|
383
383
|
};
|
|
384
384
|
}));
|
|
@@ -446,7 +446,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
446
446
|
})).map((e) => ({
|
|
447
447
|
...e,
|
|
448
448
|
series: e.series.map((e) => {
|
|
449
|
-
let t =
|
|
449
|
+
let t = o(e.datapoints), n = ue(e.datapoints, .12), r = fe(M.value.style.chart.lines.smooth ? `M ${n}` : `M ${t}`);
|
|
450
450
|
return {
|
|
451
451
|
...e,
|
|
452
452
|
smoothPath: n,
|
|
@@ -464,7 +464,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
464
464
|
key: `${t}_${r}`
|
|
465
465
|
}))));
|
|
466
466
|
function Sn({ value: e, index: t, datapoint: n }) {
|
|
467
|
-
return
|
|
467
|
+
return ce(M.value.style.chart.yAxis.labels.formatters[t] || null, e, r({
|
|
468
468
|
p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
|
|
469
469
|
v: e,
|
|
470
470
|
s: M.value.style.chart.yAxis.labels.suffixes[t] || "",
|
|
@@ -490,10 +490,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
490
490
|
if (!F.value || !e?.datapoints?.length) return;
|
|
491
491
|
let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
|
|
492
492
|
if (!t) return;
|
|
493
|
-
let n =
|
|
493
|
+
let n = he(t.x, t.y, F.value);
|
|
494
494
|
n && (Kt.value = n);
|
|
495
495
|
}
|
|
496
|
-
function Q({ shape: e, serieName: t, serie: n, relativeIndex:
|
|
496
|
+
function Q({ shape: e, serieName: t, serie: n, relativeIndex: i, seriesIndex: a, S: o, triggerMode: ee = "pointer" }) {
|
|
497
497
|
M.value.events.datapointEnter && M.value.events.datapointEnter({
|
|
498
498
|
datapoint: {
|
|
499
499
|
...n,
|
|
@@ -504,13 +504,13 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
504
504
|
config: M.value,
|
|
505
505
|
datapoint: n,
|
|
506
506
|
serie: n,
|
|
507
|
-
relativeIndex:
|
|
508
|
-
seriesIndex:
|
|
507
|
+
relativeIndex: i,
|
|
508
|
+
seriesIndex: a,
|
|
509
509
|
series: U.value,
|
|
510
510
|
scales: q.value
|
|
511
511
|
}, wn.value = !0, X.value = n.id;
|
|
512
512
|
let s = "", te = M.value.style.chart.tooltip.customFormat;
|
|
513
|
-
|
|
513
|
+
se(te) && le(() => te({
|
|
514
514
|
serie: n,
|
|
515
515
|
seriesIndex: n.seriesIndex,
|
|
516
516
|
series: U.value,
|
|
@@ -527,7 +527,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
527
527
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
528
528
|
<span>${e}: </span>
|
|
529
529
|
<span>
|
|
530
|
-
${
|
|
530
|
+
${ce(M.value.style.chart.yAxis.labels.formatters[t] || null, n.datapoints[t].value, r({
|
|
531
531
|
p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
|
|
532
532
|
v: n.datapoints[t].value,
|
|
533
533
|
s: M.value.style.chart.yAxis.labels.suffixes[t] || "",
|
|
@@ -580,8 +580,8 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
580
580
|
[M.value.style.chart.title.text],
|
|
581
581
|
[M.value.style.chart.title.subtitle.text],
|
|
582
582
|
[""]
|
|
583
|
-
], n = On.value.head, r = On.value.body, i =
|
|
584
|
-
e ? e(i) :
|
|
583
|
+
], n = On.value.head, r = On.value.body, i = te(t.concat([n]).concat(r));
|
|
584
|
+
e ? e(i) : ee({
|
|
585
585
|
csvContent: i,
|
|
586
586
|
title: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
|
|
587
587
|
});
|
|
@@ -1013,7 +1013,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1013
1013
|
p("div", $e, [(y(), f("svg", {
|
|
1014
1014
|
ref_key: "svgRef",
|
|
1015
1015
|
ref: F,
|
|
1016
|
-
xmlns: w(
|
|
1016
|
+
xmlns: w(de),
|
|
1017
1017
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1018
1018
|
class: g({
|
|
1019
1019
|
"vue-data-ui-fullscreen--on": j.value,
|
|
@@ -1326,7 +1326,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1326
1326
|
parent: D.value,
|
|
1327
1327
|
content: Tn.value,
|
|
1328
1328
|
isFullscreen: j.value,
|
|
1329
|
-
isCustom: w(
|
|
1329
|
+
isCustom: w(se)(M.value.style.chart.tooltip.customFormat),
|
|
1330
1330
|
smooth: M.value.style.chart.tooltip.smooth,
|
|
1331
1331
|
backdropFilter: M.value.style.chart.tooltip.backdropFilter,
|
|
1332
1332
|
smoothForce: M.value.style.chart.tooltip.smoothForce,
|