vue-data-ui 3.23.9 → 3.23.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-CF0VFcBH.js → Arrow-bwmME0jw.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-DBVHlhQZ.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-B4n7br_R.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-wRhcG_-q.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-BZjzzyQo.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-B9kUMLSz.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-DMsScfkx.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-IWPfuceW.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-DWEFXq9E.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-Crs4-xWz.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-DNTJUKh1.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-DJ607Hx6.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAhF1ToV.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-sXtk2ZZ2.js} +2 -2
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-BE50SZQH.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-BGLPsoA9.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-DO4-MVhc.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-HQyukyl2.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BYIvdTe8.js → dom-to-png-Cg_3vpOo.js} +1 -1
- package/dist/{exposedLib-C0DPCgFj.js → exposedLib-vfRiIvq_.js} +1 -1
- package/dist/{img-Bnokohej.js → img-tU9mMt9W.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-C_lMnQRs.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-AT2PUyyh.js} +1 -1
- package/dist/{package-C01DAl-Z.js → package-enC-Nivt.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-ColHHJFH.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-CqcoYfCA.js} +2 -2
- 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/{useNestedProp-vPNvh7rV.js → useNestedProp-CW0vJS1B.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-BFS7d6eb.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-DD7J3yor.js} +69 -69
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-DgrcdAgz.js +1829 -0
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-DJNjilyy.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-DI8b5E2H.js} +6 -6
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-7ZVfFskI.js} +6 -6
- package/dist/{vue-ui-bullet-GgRg9sbN.js → vue-ui-bullet-Dyd5F1Wa.js} +7 -7
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-DzB3WQnq.js} +166 -166
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick--YWEtek_.js} +7 -7
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-Dn3RZU0p.js} +4 -4
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-BIsXeXiU.js} +5 -5
- package/dist/{vue-ui-chord-eOIKOfDO.js → vue-ui-chord-BimXqVsF.js} +8 -8
- package/dist/{vue-ui-circle-pack-kCN1R-pw.js → vue-ui-circle-pack-DKQEhL-L.js} +13 -16
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-C-P2D5i6.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-CThnMMWA.js} +7 -7
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-D0NNTRO3.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-9tGjGzZh.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-DLN9uPOi.js} +2 -2
- package/dist/vue-ui-donut-EZu8p7HF.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-mu-iGTIn.js} +9 -9
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-Dvldi3Oo.js} +13 -16
- package/dist/{vue-ui-flow-R-fW_EeT.js → vue-ui-flow-DYZBT5Cb.js} +13 -16
- package/dist/{vue-ui-funnel-CT3ixpCM.js → vue-ui-funnel--NaxO0cZ.js} +13 -16
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-D6eYN8Ut.js} +291 -293
- package/dist/{vue-ui-gauge-DRXsVxYq.js → vue-ui-gauge-DTIEl2Xb.js} +6 -6
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-CQqNemR6.js} +7 -7
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-ClunTUxX.js} +3 -3
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-B_pSQNzO.js} +7 -7
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-Byp0Tnny.js} +6 -6
- package/dist/{vue-ui-history-plot-Bn_M0AFg.js → vue-ui-history-plot-CMu8ST1E.js} +14 -17
- package/dist/{vue-ui-horizontal-bar-CkRRidx3.js → vue-ui-horizontal-bar-BQn7WxQ-.js} +10 -10
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-BKw5t-rX.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BNm0MQDw.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-DRwQV5hN.js} +232 -238
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-Bj3KTWYj.js} +298 -300
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-83Wh2w6z.js} +15 -18
- package/dist/{vue-ui-onion-Bix9MN3w.js → vue-ui-onion-C27GpneA.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-6SI2vJOo.js → vue-ui-parallel-coordinate-plot-BklOszr1.js} +212 -212
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-_J-Qr7-K.js} +9 -9
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-DcOUq4ym.js} +7 -7
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-FlRlsoAd.js} +8 -8
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-eCxEZD8C.js} +2 -2
- package/dist/{vue-ui-relation-circle-CZ68uWhc.js → vue-ui-relation-circle-DnsxHv7t.js} +6 -6
- package/dist/{vue-ui-ridgeline-BSiPLA08.js → vue-ui-ridgeline-TopTLyaE.js} +485 -485
- package/dist/vue-ui-rings-obVfb09j.js +1250 -0
- package/dist/{vue-ui-scatter-C0PouRMY.js → vue-ui-scatter-BHSuA506.js} +9 -9
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-CNOam3kC.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-YdyidjBH.js} +2 -2
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-CS5GLtYL.js} +3 -3
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-DDHwgP4k.js} +3 -3
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BcQu9V3h.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-CPsA5P6c.js} +4 -4
- package/dist/{vue-ui-sparkline-CyJKVGYw.js → vue-ui-sparkline-CnbO-GkM.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-4tsTxMe2.js} +4 -4
- package/dist/{vue-ui-stackbar-J5QzbBaA.js → vue-ui-stackbar-2_SrMFNT.js} +575 -571
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-BNCWO_jG.js} +612 -608
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-2Y1c02Ek.js} +13 -16
- package/dist/{vue-ui-table-CBdCPS2r.js → vue-ui-table-DJZxHo5N.js} +5 -5
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-BacaEjQy.js} +5 -5
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B8oAU5yr.js} +4 -4
- package/dist/{vue-ui-thermometer-DWmM_Hn9.js → vue-ui-thermometer-BGtxNU9T.js} +6 -6
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-CWZgSpP8.js} +5 -5
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-LLVCPyg9.js} +6 -6
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-ehBl9JMC.js} +16 -19
- package/dist/{vue-ui-waffle-C1ksX6OD.js → vue-ui-waffle-DpBAXbhh.js} +288 -290
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-C4OHPrtC.js} +6 -6
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-CDHn3Kwa.js} +13 -16
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-ao1xf04I.js} +13 -16
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-DmJDCl3c.js} +2 -2
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-_U3wmtCf.js} +1499 -1495
- package/dist/{vue-ui-xy-canvas-B-KxaFGF.js → vue-ui-xy-canvas-Bx-9y53V.js} +334 -330
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-C9Y9Uklb.js +0 -1831
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, G as r, Gt as i, Jt as a, Kt as o, P as s, Pt as c, S as ee, V as te, X as ne, _ as re, ct as ie, ht as ae, i as oe, jt as se, pt as ce, q as le, qt as ue, t as de, tt as fe, w as pe, xt as me } from "./lib-
|
|
2
|
+
import { $ as t, D as n, G as r, Gt as i, Jt as a, Kt as o, P as s, Pt as c, S as ee, V as te, X as ne, _ as re, ct as ie, ht as ae, i as oe, jt as se, pt as ce, q as le, qt as ue, t as de, tt as fe, w as pe, xt as me } from "./lib-AT2PUyyh.js";
|
|
3
3
|
import { n as he, t as ge } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as _e } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as ve } from "./usePrinter-
|
|
5
|
+
import { t as ve } from "./usePrinter-BFS7d6eb.js";
|
|
6
6
|
import { n as ye, t as be } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as xe } from "./useNestedProp-
|
|
7
|
+
import { t as xe } from "./useNestedProp-CW0vJS1B.js";
|
|
8
8
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as Ce } from "./useChartExport-DNiwdPmb.js";
|
|
10
10
|
import { t as we } from "./useTransitions-g_zBREk2.js";
|
|
11
11
|
import { t as Te } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as Ee } from "./img-
|
|
13
|
-
import { n as De } from "./Title-
|
|
14
|
-
import { t as Oe } from "./Shape-
|
|
12
|
+
import { t as Ee } from "./img-tU9mMt9W.js";
|
|
13
|
+
import { n as De } from "./Title-BGLPsoA9.js";
|
|
14
|
+
import { t as Oe } from "./Shape-BAhF1ToV.js";
|
|
15
15
|
import { t as ke } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { l as Ae, t as je } from "./useResponsive-ZtArZtUf.js";
|
|
17
|
-
import { t as Me } from "./BaseLegendToggle-
|
|
17
|
+
import { t as Me } from "./BaseLegendToggle-wRhcG_-q.js";
|
|
18
18
|
import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
|
|
19
19
|
import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
20
|
import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
-
import { t as Ie } from "./Legend-
|
|
21
|
+
import { t as Ie } from "./Legend-DWEFXq9E.js";
|
|
22
22
|
import { t as Le } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
|
|
23
23
|
import { Fragment as l, Teleport as Re, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as ze, createTextVNode as Be, createVNode as Ve, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as He, nextTick as Ue, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as We, onMounted as Ge, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as w, toRefs as Je, unref as T, watch as Ye, watchEffect as Xe, withCtx as E } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-parallel-coordinate-plot.vue
|
|
25
|
-
var Ze = /* @__PURE__ */ e({ default: () =>
|
|
25
|
+
var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et = ["id"], tt = { style: { position: "relative" } }, nt = [
|
|
26
26
|
"xmlns",
|
|
27
27
|
"aria-describedby",
|
|
28
28
|
"viewBox"
|
|
@@ -103,7 +103,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
103
103
|
}, yt = {
|
|
104
104
|
key: 5,
|
|
105
105
|
class: "vue-data-ui-watermark"
|
|
106
|
-
}, bt = ["id"], xt = ["onClick"], St =
|
|
106
|
+
}, bt = ["id"], xt = ["onClick"], St = /*#__PURE__*/ ke({
|
|
107
107
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
108
108
|
props: {
|
|
109
109
|
config: {
|
|
@@ -125,21 +125,21 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
125
125
|
"copyAlt"
|
|
126
126
|
],
|
|
127
127
|
setup(e, { expose: ke, emit: Ze }) {
|
|
128
|
-
let
|
|
128
|
+
let St = h(() => import("./Tooltip-DO4-MVhc.js")), Ct = h(() => import("./BaseIcon-B4n7br_R.js").then((e) => e.n)), wt = h(() => import("./vue-ui-accordion-DJNjilyy.js").then((e) => e.n)), Tt = h(() => import("./DataTable-DMsScfkx.js")), Et = h(() => import("./PenAndPaper-DJ607Hx6.js").then((e) => e.t)), Dt = h(() => import("./UserOptions-HQyukyl2.js").then((e) => e.n)), Ot = h(() => import("./PackageVersion-DNTJUKh1.js").then((e) => e.t)), kt = h(() => import("./BaseDraggableDialog-DBVHlhQZ.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: At } = _e(), { isThemeValid: jt, warnInvalidTheme: Mt } = Se(), D = e, Nt = u({
|
|
129
129
|
get() {
|
|
130
130
|
return !!D.dataset && D.dataset.length;
|
|
131
131
|
},
|
|
132
132
|
set(e) {
|
|
133
133
|
return e;
|
|
134
134
|
}
|
|
135
|
-
}),
|
|
135
|
+
}), Pt = x(0), O = x(null), Ft = x(null), It = x(null), Lt = x(null), Rt = x(null), zt = x(0), Bt = x(0), Vt = x(0), Ht = x(!1), k = x(null), Ut = x(null), Wt = x(null), A = x(null), Gt = x({
|
|
136
136
|
x: 0,
|
|
137
137
|
y: 0
|
|
138
|
-
}),
|
|
139
|
-
function
|
|
140
|
-
M.value = e,
|
|
138
|
+
}), Kt = x("pointer"), qt = x(!1), j = x(le()), M = x(!1);
|
|
139
|
+
function Jt(e) {
|
|
140
|
+
M.value = e, Pt.value += 1;
|
|
141
141
|
}
|
|
142
|
-
let N = x(
|
|
142
|
+
let N = x(nn()), { transitionEnabled: P } = we({
|
|
143
143
|
config: () => N.value.transitions,
|
|
144
144
|
dataset: () => D.dataset
|
|
145
145
|
});
|
|
@@ -175,7 +175,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
175
175
|
}
|
|
176
176
|
]
|
|
177
177
|
});
|
|
178
|
-
let F = u(() => N.value.userOptions.useCursorPointer),
|
|
178
|
+
let F = u(() => N.value.userOptions.useCursorPointer), Yt = u(() => a({
|
|
179
179
|
defaultConfig: {
|
|
180
180
|
useCssAnimation: !1,
|
|
181
181
|
userOptions: { show: !1 },
|
|
@@ -197,10 +197,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
197
197
|
} }
|
|
198
198
|
},
|
|
199
199
|
userConfig: N.value.skeletonConfig ?? {}
|
|
200
|
-
})), { loading:
|
|
200
|
+
})), { loading: Xt, FINAL_DATASET: Zt, manualLoading: Qt } = ye({
|
|
201
201
|
...Je(D),
|
|
202
202
|
FINAL_CONFIG: N,
|
|
203
|
-
prepareConfig:
|
|
203
|
+
prepareConfig: nn,
|
|
204
204
|
callback: () => {
|
|
205
205
|
Promise.resolve().then(async () => {
|
|
206
206
|
await Ue(), H.value.showTable = N.value.table.show;
|
|
@@ -252,16 +252,16 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
252
252
|
],
|
|
253
253
|
skeletonConfig: a({
|
|
254
254
|
defaultConfig: N.value,
|
|
255
|
-
userConfig:
|
|
255
|
+
userConfig: Yt.value
|
|
256
256
|
})
|
|
257
|
-
}), { userOptionsVisible:
|
|
258
|
-
function
|
|
257
|
+
}), { userOptionsVisible: $t, setUserOptionsVisibility: en, keepUserOptionState: tn } = Pe({ config: N.value }), { svgRef: I } = Fe({ config: N.value.style.chart.title });
|
|
258
|
+
function nn() {
|
|
259
259
|
let e = xe({
|
|
260
260
|
userConfig: D.config,
|
|
261
|
-
defaultConfig:
|
|
261
|
+
defaultConfig: At
|
|
262
262
|
}), t = e.theme;
|
|
263
263
|
if (!t) return e;
|
|
264
|
-
if (!
|
|
264
|
+
if (!jt.value(e)) return Mt(e), e;
|
|
265
265
|
let n = xe({
|
|
266
266
|
userConfig: Le[t] || D.config,
|
|
267
267
|
defaultConfig: e
|
|
@@ -275,41 +275,41 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
277
|
Ye(() => D.config, (e) => {
|
|
278
|
-
|
|
278
|
+
Xt.value || (N.value = nn()), $t.value = !N.value.userOptions.showOnChartHover, an(), zt.value += 1, Vt.value += 1, Bt.value += 1, H.value.dataLabels.show = N.value.style.chart.yAxis.labels.datapoints.show, H.value.showTable = N.value.table.show, H.value.showTooltip = N.value.style.chart.tooltip.show;
|
|
279
279
|
}, { deep: !0 }), Ye(() => D.dataset, (e) => {
|
|
280
|
-
Array.isArray(e) && e.length > 0 && (
|
|
280
|
+
Array.isArray(e) && e.length > 0 && (Qt.value = !1);
|
|
281
281
|
}, { deep: !0 });
|
|
282
282
|
let L = qe(null), R = qe(null);
|
|
283
283
|
Ge(() => {
|
|
284
|
-
|
|
284
|
+
Ht.value = !0, an();
|
|
285
285
|
});
|
|
286
|
-
let
|
|
287
|
-
function
|
|
286
|
+
let rn = u(() => N.value.debug);
|
|
287
|
+
function an() {
|
|
288
288
|
if (se(D.dataset) ? (fe({
|
|
289
289
|
componentName: "VueUiParallelCoordinatePlot",
|
|
290
290
|
type: "dataset",
|
|
291
|
-
debug:
|
|
292
|
-
}),
|
|
291
|
+
debug: rn.value
|
|
292
|
+
}), Qt.value = !0) : D.dataset.forEach((e, t) => {
|
|
293
293
|
ce({
|
|
294
294
|
datasetObject: e,
|
|
295
295
|
requiredAttributes: ["name", "series"]
|
|
296
296
|
}).forEach((e) => {
|
|
297
|
-
|
|
297
|
+
Nt.value = !1, fe({
|
|
298
298
|
componentName: "VueUiParallelCoordinatePlot",
|
|
299
299
|
type: "datasetSerieAttribute",
|
|
300
300
|
property: e,
|
|
301
301
|
index: t,
|
|
302
|
-
debug:
|
|
302
|
+
debug: rn.value
|
|
303
303
|
});
|
|
304
304
|
});
|
|
305
|
-
}), se(D.dataset) || (
|
|
305
|
+
}), se(D.dataset) || (Qt.value = N.value.loading), N.value.responsive) {
|
|
306
306
|
let e = Ae(() => {
|
|
307
307
|
let { width: e, height: t } = je({
|
|
308
308
|
chart: O.value,
|
|
309
|
-
title: N.value.style.chart.title.text ?
|
|
310
|
-
legend: N.value.style.chart.legend.show ?
|
|
311
|
-
source:
|
|
312
|
-
noTitle:
|
|
309
|
+
title: N.value.style.chart.title.text ? Ft.value : null,
|
|
310
|
+
legend: N.value.style.chart.legend.show ? It.value : null,
|
|
311
|
+
source: Lt.value,
|
|
312
|
+
noTitle: Rt.value
|
|
313
313
|
});
|
|
314
314
|
requestAnimationFrame(() => {
|
|
315
315
|
z.value.width = e, z.value.height = t - 12, N.value.responsiveProportionalSizing ? (z.value.plotSize = ue({
|
|
@@ -345,30 +345,30 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
345
345
|
We(() => {
|
|
346
346
|
L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect());
|
|
347
347
|
});
|
|
348
|
-
let { isPrinting:
|
|
348
|
+
let { isPrinting: on, isImaging: sn, generatePdf: cn, generateImage: ln } = ve({
|
|
349
349
|
elementId: `pcp_${j.value}`,
|
|
350
350
|
fileName: N.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
|
|
351
351
|
options: N.value.userOptions.print
|
|
352
|
-
}),
|
|
352
|
+
}), un = u(() => N.value.userOptions.show && !N.value.style.chart.title.text), z = x({
|
|
353
353
|
height: N.value.style.chart.height,
|
|
354
354
|
width: N.value.style.chart.width,
|
|
355
355
|
plotSize: N.value.style.chart.plots.radius,
|
|
356
356
|
ticksFontSize: N.value.style.chart.yAxis.labels.ticks.fontSize,
|
|
357
357
|
datapointFontSize: N.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
358
358
|
axisNameFontSize: N.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
359
|
-
}),
|
|
359
|
+
}), dn = u(() => z.value.width), fn = u(() => z.value.height), B = x(0), pn = Ae((e) => {
|
|
360
360
|
B.value = e;
|
|
361
361
|
}, 100);
|
|
362
362
|
Xe((e) => {
|
|
363
|
-
let t =
|
|
363
|
+
let t = Wt.value;
|
|
364
364
|
if (!t) return;
|
|
365
365
|
let n = new ResizeObserver((e) => {
|
|
366
|
-
|
|
366
|
+
pn(e[0].contentRect.height);
|
|
367
367
|
});
|
|
368
368
|
n.observe(t), e(() => n.disconnect());
|
|
369
369
|
});
|
|
370
370
|
let V = u(() => {
|
|
371
|
-
let { top: e, right: t, bottom: n, left: r } = N.value.style.chart.padding, i =
|
|
371
|
+
let { top: e, right: t, bottom: n, left: r } = N.value.style.chart.padding, i = fn.value, a = dn.value;
|
|
372
372
|
return {
|
|
373
373
|
chartHeight: Math.max(.001, i),
|
|
374
374
|
chartWidth: Math.max(.001, a),
|
|
@@ -379,7 +379,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
379
379
|
right: a - t,
|
|
380
380
|
bottom: i - n - z.value.datapointFontSize
|
|
381
381
|
};
|
|
382
|
-
}),
|
|
382
|
+
}), mn = u(() => pe(N.value.customPalette)), H = x({
|
|
383
383
|
dataLabels: { show: N.value.style.chart.yAxis.labels.datapoints.show },
|
|
384
384
|
showTable: N.value.table.show,
|
|
385
385
|
showTooltip: N.value.style.chart.tooltip.show
|
|
@@ -392,16 +392,16 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
392
392
|
};
|
|
393
393
|
}, { immediate: !0 });
|
|
394
394
|
let U = x([]);
|
|
395
|
-
function
|
|
395
|
+
function hn() {
|
|
396
396
|
U.value.length ? U.value = [] : G.value.forEach((e) => {
|
|
397
397
|
U.value.push(e.id);
|
|
398
|
-
}),
|
|
398
|
+
}), Mn("selectLegend", Sn.value);
|
|
399
399
|
}
|
|
400
|
-
function
|
|
401
|
-
U.value.includes(e) ? U.value = U.value.filter((t) => t !== e) : U.value.push(e),
|
|
400
|
+
function gn(e) {
|
|
401
|
+
U.value.includes(e) ? U.value = U.value.filter((t) => t !== e) : U.value.push(e), Mn("selectLegend", Sn.value);
|
|
402
402
|
}
|
|
403
|
-
let W = u(() =>
|
|
404
|
-
let n = ee(e.color) ||
|
|
403
|
+
let W = u(() => Zt.value.map((e, t) => {
|
|
404
|
+
let n = ee(e.color) || mn.value[t] || c[t] || c[t % c.length];
|
|
405
405
|
return {
|
|
406
406
|
...e,
|
|
407
407
|
series: e.series.map((e) => ({
|
|
@@ -415,34 +415,34 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
415
415
|
shape: e.shape || "circle"
|
|
416
416
|
};
|
|
417
417
|
}));
|
|
418
|
+
function _n(e) {
|
|
419
|
+
return W.value.length ? W.value.find((t) => t.name === e) || (rn.value && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (rn.value && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
|
|
420
|
+
}
|
|
418
421
|
function vn(e) {
|
|
419
|
-
|
|
422
|
+
let t = _n(e);
|
|
423
|
+
t !== null && U.value.includes(t.id) && gn(t.id);
|
|
420
424
|
}
|
|
421
425
|
function yn(e) {
|
|
422
|
-
let t =
|
|
423
|
-
t !== null && U.value.includes(t.id)
|
|
424
|
-
}
|
|
425
|
-
function bn(e) {
|
|
426
|
-
let t = vn(e);
|
|
427
|
-
t !== null && (U.value.includes(t.id) || _n(t.id));
|
|
426
|
+
let t = _n(e);
|
|
427
|
+
t !== null && (U.value.includes(t.id) || gn(t.id));
|
|
428
428
|
}
|
|
429
429
|
let G = u(() => W.value.map((e) => ({
|
|
430
430
|
...e,
|
|
431
431
|
opacity: U.value.includes(e.id) ? .5 : 1,
|
|
432
|
-
segregate: () =>
|
|
432
|
+
segregate: () => gn(e.id),
|
|
433
433
|
isSegregated: U.value.includes(e.id),
|
|
434
434
|
shape: e.shape || "circle"
|
|
435
|
-
}))),
|
|
435
|
+
}))), bn = u(() => ({
|
|
436
436
|
cy: "pcp-div-legend",
|
|
437
437
|
backgroundColor: N.value.style.chart.legend.backgroundColor,
|
|
438
438
|
color: N.value.style.chart.legend.color,
|
|
439
439
|
fontSize: N.value.style.chart.legend.fontSize,
|
|
440
440
|
paddingBottom: 12,
|
|
441
441
|
fontWeight: N.value.style.chart.legend.bold ? "bold" : ""
|
|
442
|
-
})),
|
|
442
|
+
})), xn = u(() => Math.max(...W.value.filter((e) => !U.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), K = u(() => V.value.width / xn.value), Sn = u(() => W.value.filter((e) => !U.value.includes(e.id))), q = u(() => {
|
|
443
443
|
let e = [];
|
|
444
|
-
for (let t = 0; t <
|
|
445
|
-
let n = Math.min(...
|
|
444
|
+
for (let t = 0; t < xn.value; t += 1) {
|
|
445
|
+
let n = Math.min(...Sn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...Sn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = r === n ? n / 4 : n, a = r === n ? r * 2 : r, o = re(i, a, N.value.style.chart.yAxis.scaleTicks), s = o.ticks.map((e, n) => {
|
|
446
446
|
let r = o.min < 0 ? e + Math.abs(o.min) : e - Math.abs(o.min), i = o.min < 0 ? o.max + Math.abs(o.min) : o.max - Math.abs(o.min);
|
|
447
447
|
return {
|
|
448
448
|
y: V.value.bottom - V.value.height * (r / i),
|
|
@@ -457,7 +457,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
457
457
|
});
|
|
458
458
|
}
|
|
459
459
|
return e;
|
|
460
|
-
}), J = u(() =>
|
|
460
|
+
}), J = u(() => Sn.value.map((e, t) => ({
|
|
461
461
|
...e,
|
|
462
462
|
series: e.series.map((n, r) => ({
|
|
463
463
|
...n,
|
|
@@ -496,7 +496,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
496
496
|
S: t,
|
|
497
497
|
key: `${t}_${r}`
|
|
498
498
|
}))));
|
|
499
|
-
function
|
|
499
|
+
function Cn({ value: e, index: t, datapoint: n }) {
|
|
500
500
|
return oe(N.value.style.chart.yAxis.labels.formatters[t] || null, e, ne({
|
|
501
501
|
p: N.value.style.chart.yAxis.labels.prefixes[t] || "",
|
|
502
502
|
v: e,
|
|
@@ -507,7 +507,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
507
507
|
seriesIndex: t
|
|
508
508
|
});
|
|
509
509
|
}
|
|
510
|
-
let X = x(null),
|
|
510
|
+
let X = x(null), wn = x(null), Tn = x(!1), En = x("");
|
|
511
511
|
function Z({ shape: e, serie: t, S: n }) {
|
|
512
512
|
N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
513
513
|
datapoint: {
|
|
@@ -517,23 +517,23 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
517
517
|
seriesIndex: n
|
|
518
518
|
});
|
|
519
519
|
let r = A.value === null ? null : Y.value[A.value];
|
|
520
|
-
|
|
520
|
+
Kt.value === "keyboard" && r && r.serie.id === t.id || (X.value = null, Tn.value = !1);
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Dn(e) {
|
|
523
523
|
if (!I.value || !e?.datapoints?.length) return;
|
|
524
524
|
let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
|
|
525
525
|
if (!t) return;
|
|
526
526
|
let n = i(t.x, t.y, I.value);
|
|
527
|
-
n && (
|
|
527
|
+
n && (Gt.value = n);
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function On({ shape: e, serieName: t, serie: n, relativeIndex: r, seriesIndex: i, S: a, triggerMode: o = "pointer" }) {
|
|
530
530
|
N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
531
531
|
datapoint: {
|
|
532
532
|
...n,
|
|
533
533
|
shape: e
|
|
534
534
|
},
|
|
535
535
|
seriesIndex: a
|
|
536
|
-
}),
|
|
536
|
+
}), Kt.value = o, wn.value = {
|
|
537
537
|
config: N.value,
|
|
538
538
|
datapoint: n,
|
|
539
539
|
serie: n,
|
|
@@ -541,7 +541,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
541
541
|
seriesIndex: i,
|
|
542
542
|
series: W.value,
|
|
543
543
|
scales: q.value
|
|
544
|
-
},
|
|
544
|
+
}, Tn.value = !0, X.value = n.id;
|
|
545
545
|
let s = "", c = N.value.style.chart.tooltip.customFormat;
|
|
546
546
|
me(c) && ie(() => c({
|
|
547
547
|
serie: n,
|
|
@@ -549,7 +549,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
549
549
|
series: W.value,
|
|
550
550
|
config: N.value,
|
|
551
551
|
scales: q.value
|
|
552
|
-
})) ?
|
|
552
|
+
})) ? En.value = c({
|
|
553
553
|
serie: n,
|
|
554
554
|
seriesIndex: n.seriesIndex,
|
|
555
555
|
series: W.value,
|
|
@@ -572,11 +572,11 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
572
572
|
</span>
|
|
573
573
|
</div>
|
|
574
574
|
`, N.value.style.chart.comments.showInTooltip && n.datapoints[t].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${n.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${n.color}">${n.datapoints[t].comment}</div>`);
|
|
575
|
-
}),
|
|
576
|
-
|
|
575
|
+
}), En.value = `<div>${s}</div>`), o === "keyboard" && Ue(() => {
|
|
576
|
+
Dn(n);
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function kn() {
|
|
580
580
|
return W.value;
|
|
581
581
|
}
|
|
582
582
|
let Q = u(() => {
|
|
@@ -599,7 +599,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
599
599
|
},
|
|
600
600
|
colNames: [N.value.table.columnNames.series, N.value.table.columnNames.item].concat(q.value.map((e) => e.name))
|
|
601
601
|
};
|
|
602
|
-
}),
|
|
602
|
+
}), An = u(() => J.value.length === 0 ? {
|
|
603
603
|
head: [],
|
|
604
604
|
body: [],
|
|
605
605
|
config: {},
|
|
@@ -608,41 +608,41 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
608
608
|
head: Q.value.head,
|
|
609
609
|
body: Q.value.body
|
|
610
610
|
});
|
|
611
|
-
function
|
|
611
|
+
function jn(e = null) {
|
|
612
612
|
let r = [
|
|
613
613
|
[N.value.style.chart.title.text],
|
|
614
614
|
[N.value.style.chart.title.subtitle.text],
|
|
615
615
|
[""]
|
|
616
|
-
], i =
|
|
616
|
+
], i = An.value.head, a = An.value.body, o = r.concat([i]).concat(a), s = n(o);
|
|
617
617
|
e ? e(s) : t({
|
|
618
618
|
csvContent: s,
|
|
619
619
|
title: N.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
|
|
620
620
|
});
|
|
621
621
|
}
|
|
622
|
-
let
|
|
623
|
-
function
|
|
622
|
+
let Mn = Ze;
|
|
623
|
+
function Nn({ serie: e, shape: t, S: n }) {
|
|
624
624
|
N.value.events.datapointClick && N.value.events.datapointClick({
|
|
625
625
|
datapoint: {
|
|
626
626
|
...e,
|
|
627
627
|
shape: t
|
|
628
628
|
},
|
|
629
629
|
seriesIndex: n
|
|
630
|
-
}),
|
|
630
|
+
}), Mn("selectDatapoint", e);
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function Pn() {
|
|
633
633
|
H.value.showTable = !H.value.showTable;
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function Fn() {
|
|
636
636
|
H.value.dataLabels.show = !H.value.dataLabels.show;
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function In() {
|
|
639
639
|
H.value.showTooltip = !H.value.showTooltip;
|
|
640
640
|
}
|
|
641
|
-
let
|
|
642
|
-
function
|
|
643
|
-
|
|
641
|
+
let Ln = x(!1);
|
|
642
|
+
function Rn() {
|
|
643
|
+
Ln.value = !Ln.value;
|
|
644
644
|
}
|
|
645
|
-
async function
|
|
645
|
+
async function zn({ scale: e = 2 } = {}) {
|
|
646
646
|
if (!O.value) return;
|
|
647
647
|
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ee({
|
|
648
648
|
domElement: O.value,
|
|
@@ -659,14 +659,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
659
659
|
aspectRatio: r
|
|
660
660
|
};
|
|
661
661
|
}
|
|
662
|
-
let
|
|
662
|
+
let Bn = x({
|
|
663
663
|
start: 0,
|
|
664
664
|
end: 1
|
|
665
|
-
}),
|
|
665
|
+
}), Vn = u(() => q.value.map((e) => e.name));
|
|
666
666
|
Te({
|
|
667
|
-
timeLabelsEls:
|
|
668
|
-
timeLabels:
|
|
669
|
-
slicer:
|
|
667
|
+
timeLabelsEls: Wt,
|
|
668
|
+
timeLabels: Vn,
|
|
669
|
+
slicer: Bn,
|
|
670
670
|
configRef: N,
|
|
671
671
|
rotationPath: [
|
|
672
672
|
"style",
|
|
@@ -684,15 +684,15 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
684
684
|
"enable"
|
|
685
685
|
],
|
|
686
686
|
isAutoSize: !1,
|
|
687
|
-
width:
|
|
688
|
-
height:
|
|
687
|
+
width: dn,
|
|
688
|
+
height: fn,
|
|
689
689
|
targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
|
|
690
690
|
rotation: N.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
|
|
691
691
|
});
|
|
692
|
-
let
|
|
692
|
+
let Hn = u(() => {
|
|
693
693
|
let e = N.value.table.useDialog && !N.value.table.show, t = H.value.showTable;
|
|
694
694
|
return {
|
|
695
|
-
component: e ?
|
|
695
|
+
component: e ? kt : wt,
|
|
696
696
|
title: `${N.value.style.chart.title.text}${N.value.style.chart.title.subtitle.text ? `: ${N.value.style.chart.title.subtitle.text}` : ""}`,
|
|
697
697
|
props: e ? {
|
|
698
698
|
backgroundColor: N.value.table.th.backgroundColor,
|
|
@@ -723,20 +723,20 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
723
723
|
Ye(() => H.value.showTable, (e) => {
|
|
724
724
|
N.value.table.show || (e && N.value.table.useDialog && k.value ? k.value.open() : "close" in k.value && k.value.close());
|
|
725
725
|
});
|
|
726
|
-
function
|
|
727
|
-
H.value.showTable = !1,
|
|
726
|
+
function Un() {
|
|
727
|
+
H.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
|
|
728
728
|
}
|
|
729
|
-
let
|
|
729
|
+
let Wn = u(() => N.value.style.chart.backgroundColor), Gn = u(() => N.value.style.chart.legend), Kn = u(() => N.value.style.chart.title), { isCallbackImaging: qn, isCallbackSvg: Jn, generateSvg: Yn, onGenerateImage: Xn } = Ce({
|
|
730
730
|
svg: I,
|
|
731
|
-
title:
|
|
732
|
-
legend:
|
|
731
|
+
title: Kn,
|
|
732
|
+
legend: Gn,
|
|
733
733
|
legendItems: G,
|
|
734
|
-
backgroundColor:
|
|
734
|
+
backgroundColor: Wn,
|
|
735
735
|
getSvgCallback: () => N.value.userOptions.callbacks.svg,
|
|
736
|
-
generateImage:
|
|
736
|
+
generateImage: ln
|
|
737
737
|
});
|
|
738
|
-
async function
|
|
739
|
-
if (
|
|
738
|
+
async function Zn() {
|
|
739
|
+
if (Mn("copyAlt", {
|
|
740
740
|
config: N.value,
|
|
741
741
|
dataset: J.value
|
|
742
742
|
}), !N.value.userOptions.callbacks.altCopy) {
|
|
@@ -748,11 +748,11 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
748
748
|
dataset: J.value
|
|
749
749
|
}));
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function Qn(e) {
|
|
752
752
|
let t = Y.value.length;
|
|
753
753
|
return t ? (e % t + t) % t : null;
|
|
754
754
|
}
|
|
755
|
-
function
|
|
755
|
+
function $n() {
|
|
756
756
|
if (A.value !== null) {
|
|
757
757
|
let e = Y.value[A.value];
|
|
758
758
|
e && Z({
|
|
@@ -761,27 +761,27 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
761
761
|
S: e.S
|
|
762
762
|
});
|
|
763
763
|
}
|
|
764
|
-
A.value = null,
|
|
764
|
+
A.value = null, Kt.value = "pointer", X.value = null, Tn.value = !1;
|
|
765
765
|
}
|
|
766
|
-
function
|
|
767
|
-
A.value = null,
|
|
766
|
+
function er() {
|
|
767
|
+
A.value = null, qt.value = !0;
|
|
768
768
|
}
|
|
769
|
-
function
|
|
770
|
-
|
|
769
|
+
function tr() {
|
|
770
|
+
$n(), qt.value = !1;
|
|
771
771
|
}
|
|
772
|
-
function
|
|
773
|
-
if (!I.value ||
|
|
772
|
+
function nr(e) {
|
|
773
|
+
if (!I.value || Ln.value || document.activeElement !== I.value || !Y.value.length) return;
|
|
774
774
|
let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
775
775
|
if (!t && !n && !r && !i) return;
|
|
776
776
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
777
|
-
|
|
777
|
+
$n();
|
|
778
778
|
return;
|
|
779
779
|
}
|
|
780
780
|
if (r) {
|
|
781
781
|
if (A.value === null) return;
|
|
782
782
|
let e = Y.value[A.value];
|
|
783
783
|
if (!e) return;
|
|
784
|
-
|
|
784
|
+
Nn({
|
|
785
785
|
serie: e.serie,
|
|
786
786
|
shape: e.shape,
|
|
787
787
|
S: e.S
|
|
@@ -789,9 +789,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
789
789
|
return;
|
|
790
790
|
}
|
|
791
791
|
let a = A.value;
|
|
792
|
-
a = a === null ? n ? 0 : Y.value.length - 1 :
|
|
792
|
+
a = a === null ? n ? 0 : Y.value.length - 1 : Qn(a + (n ? 1 : -1));
|
|
793
793
|
let o = Y.value[a];
|
|
794
|
-
o && (A.value = a,
|
|
794
|
+
o && (A.value = a, On({
|
|
795
795
|
shape: o.shape,
|
|
796
796
|
serieName: o.serieName,
|
|
797
797
|
serie: o.serie,
|
|
@@ -812,28 +812,28 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
812
812
|
notice: N.value.a11y.translations.tableAvailable
|
|
813
813
|
}));
|
|
814
814
|
return ke({
|
|
815
|
-
getData:
|
|
816
|
-
getImage:
|
|
817
|
-
generateCsv:
|
|
818
|
-
generatePdf:
|
|
819
|
-
generateImage:
|
|
820
|
-
generateSvg:
|
|
821
|
-
hideSeries:
|
|
822
|
-
showSeries:
|
|
823
|
-
toggleTable:
|
|
824
|
-
toggleLabels:
|
|
825
|
-
toggleTooltip:
|
|
826
|
-
toggleAnnotator:
|
|
827
|
-
toggleFullscreen:
|
|
828
|
-
copyAlt:
|
|
815
|
+
getData: kn,
|
|
816
|
+
getImage: zn,
|
|
817
|
+
generateCsv: jn,
|
|
818
|
+
generatePdf: cn,
|
|
819
|
+
generateImage: ln,
|
|
820
|
+
generateSvg: Yn,
|
|
821
|
+
hideSeries: yn,
|
|
822
|
+
showSeries: vn,
|
|
823
|
+
toggleTable: Pn,
|
|
824
|
+
toggleLabels: Fn,
|
|
825
|
+
toggleTooltip: In,
|
|
826
|
+
toggleAnnotator: Rn,
|
|
827
|
+
toggleFullscreen: Jt,
|
|
828
|
+
copyAlt: Zn
|
|
829
829
|
}), (e, t) => (b(), p("div", {
|
|
830
830
|
ref_key: "pcpChart",
|
|
831
831
|
ref: O,
|
|
832
832
|
class: _(`vue-data-ui-component vue-ui-pcp ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
833
833
|
style: y(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${N.value.style.chart.backgroundColor};${N.value.responsive ? "height:100%" : ""}`),
|
|
834
834
|
id: `pcp_${j.value}`,
|
|
835
|
-
onMouseenter: t[2] ||= () => T(
|
|
836
|
-
onMouseleave: t[3] ||= () => T(
|
|
835
|
+
onMouseenter: t[2] ||= () => T(en)(!0),
|
|
836
|
+
onMouseleave: t[3] ||= () => T(en)(!1)
|
|
837
837
|
}, [
|
|
838
838
|
m("div", {
|
|
839
839
|
id: `chart-instructions-${j.value}`,
|
|
@@ -853,14 +853,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
853
853
|
"caption",
|
|
854
854
|
"notice"
|
|
855
855
|
])) : f("", !0),
|
|
856
|
-
N.value.userOptions.buttons.annotator ? (b(), d(T(
|
|
856
|
+
N.value.userOptions.buttons.annotator ? (b(), d(T(Et), {
|
|
857
857
|
key: 1,
|
|
858
858
|
svgRef: T(I),
|
|
859
859
|
backgroundColor: N.value.style.chart.backgroundColor,
|
|
860
860
|
color: N.value.style.chart.color,
|
|
861
|
-
active:
|
|
861
|
+
active: Ln.value,
|
|
862
862
|
isCursorPointer: F.value,
|
|
863
|
-
onClose:
|
|
863
|
+
onClose: Rn
|
|
864
864
|
}, {
|
|
865
865
|
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
866
866
|
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
@@ -876,20 +876,20 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
876
876
|
"active",
|
|
877
877
|
"isCursorPointer"
|
|
878
878
|
])) : f("", !0),
|
|
879
|
-
|
|
879
|
+
un.value ? (b(), p("div", {
|
|
880
880
|
key: 2,
|
|
881
881
|
ref_key: "noTitle",
|
|
882
|
-
ref:
|
|
882
|
+
ref: Rt,
|
|
883
883
|
class: "vue-data-ui-no-title-space",
|
|
884
884
|
style: "height:36px; width: 100%;background:transparent"
|
|
885
885
|
}, null, 512)) : f("", !0),
|
|
886
886
|
N.value.style.chart.title.text ? (b(), p("div", {
|
|
887
887
|
key: 3,
|
|
888
888
|
ref_key: "chartTitle",
|
|
889
|
-
ref:
|
|
889
|
+
ref: Ft,
|
|
890
890
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
891
891
|
}, [(b(), d(De, {
|
|
892
|
-
key: `title_${
|
|
892
|
+
key: `title_${zt.value}`,
|
|
893
893
|
config: {
|
|
894
894
|
title: {
|
|
895
895
|
cy: "pcp-div-title",
|
|
@@ -902,14 +902,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
902
902
|
}
|
|
903
903
|
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
904
904
|
m("div", { id: `legend-top-${j.value}` }, null, 8, et),
|
|
905
|
-
N.value.userOptions.show &&
|
|
905
|
+
N.value.userOptions.show && Nt.value && (T(tn) || T($t)) ? (b(), d(T(Dt), {
|
|
906
906
|
ref_key: "userOptionsRef",
|
|
907
|
-
ref:
|
|
908
|
-
key: `user_options_${
|
|
907
|
+
ref: Ut,
|
|
908
|
+
key: `user_options_${Pt.value}`,
|
|
909
909
|
backgroundColor: N.value.style.chart.backgroundColor,
|
|
910
910
|
color: N.value.style.chart.color,
|
|
911
|
-
isPrinting: T(
|
|
912
|
-
isImaging: T(
|
|
911
|
+
isPrinting: T(on),
|
|
912
|
+
isImaging: T(sn),
|
|
913
913
|
uid: j.value,
|
|
914
914
|
hasTooltip: N.value.userOptions.buttons.tooltip && N.value.style.chart.tooltip.show,
|
|
915
915
|
hasPdf: N.value.userOptions.buttons.pdf,
|
|
@@ -926,22 +926,22 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
926
926
|
chartElement: O.value,
|
|
927
927
|
position: N.value.userOptions.position,
|
|
928
928
|
hasAnnotator: N.value.userOptions.buttons.annotator,
|
|
929
|
-
isAnnotation:
|
|
929
|
+
isAnnotation: Ln.value,
|
|
930
930
|
callbacks: N.value.userOptions.callbacks,
|
|
931
931
|
printScale: N.value.userOptions.print.scale,
|
|
932
932
|
tableDialog: N.value.table.useDialog,
|
|
933
933
|
isCursorPointer: F.value,
|
|
934
|
-
onToggleFullscreen:
|
|
935
|
-
onGeneratePdf: T(
|
|
936
|
-
onGenerateCsv:
|
|
937
|
-
onGenerateImage: T(
|
|
938
|
-
onGenerateSvg: T(
|
|
939
|
-
onToggleTable:
|
|
940
|
-
onToggleLabels:
|
|
941
|
-
onToggleTooltip:
|
|
942
|
-
onToggleAnnotator:
|
|
943
|
-
onCopyAlt:
|
|
944
|
-
style: y({ visibility: T(
|
|
934
|
+
onToggleFullscreen: Jt,
|
|
935
|
+
onGeneratePdf: T(cn),
|
|
936
|
+
onGenerateCsv: jn,
|
|
937
|
+
onGenerateImage: T(Xn),
|
|
938
|
+
onGenerateSvg: T(Yn),
|
|
939
|
+
onToggleTable: Pn,
|
|
940
|
+
onToggleLabels: Fn,
|
|
941
|
+
onToggleTooltip: In,
|
|
942
|
+
onToggleAnnotator: Rn,
|
|
943
|
+
onCopyAlt: Zn,
|
|
944
|
+
style: y({ visibility: T(tn) ? T($t) ? "visible" : "hidden" : "visible" })
|
|
945
945
|
}, ze({ _: 2 }, [
|
|
946
946
|
e.$slots.menuIcon ? {
|
|
947
947
|
name: "menuIcon",
|
|
@@ -1031,11 +1031,11 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1031
1031
|
viewBox: `0 0 ${V.value.chartWidth <= 0 ? 10 : V.value.chartWidth} ${V.value.chartHeight <= 0 ? 10 : V.value.chartHeight}`,
|
|
1032
1032
|
style: y(`max-width:100%; overflow: visible; background:transparent;color:${N.value.style.chart.color}`),
|
|
1033
1033
|
tabindex: "0",
|
|
1034
|
-
onFocus:
|
|
1035
|
-
onBlur:
|
|
1036
|
-
onKeydown:
|
|
1034
|
+
onFocus: er,
|
|
1035
|
+
onBlur: tr,
|
|
1036
|
+
onKeydown: nr
|
|
1037
1037
|
}, [
|
|
1038
|
-
Ve(T(
|
|
1038
|
+
Ve(T(Ot)),
|
|
1039
1039
|
e.$slots["chart-background"] ? (b(), p("foreignObject", {
|
|
1040
1040
|
key: 0,
|
|
1041
1041
|
x: V.value.left,
|
|
@@ -1058,7 +1058,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1058
1058
|
stroke: N.value.style.chart.yAxis.stroke,
|
|
1059
1059
|
"stroke-width": N.value.style.chart.yAxis.strokeWidth,
|
|
1060
1060
|
style: y(`opacity:${X.value && !H.value.showTooltip ? .2 : 1}`)
|
|
1061
|
-
}, null, 14, ot))), 128)), T(
|
|
1061
|
+
}, null, 14, ot))), 128)), T(Xt) ? f("", !0) : (b(), p("g", st, [(b(!0), p(l, null, S(e.ticks, (n, r) => (b(), p("text", {
|
|
1062
1062
|
key: `tl_${e.name}_${r}`,
|
|
1063
1063
|
class: _({ "vue-data-ui-transition": T(P) }),
|
|
1064
1064
|
transform: `translate(${n.x - 12 + N.value.style.chart.yAxis.labels.ticks.offsetX}, ${n.y + N.value.style.chart.yAxis.labels.ticks.offsetY + z.value.ticksFontSize / 3})`,
|
|
@@ -1067,7 +1067,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1067
1067
|
"font-size": z.value.ticksFontSize,
|
|
1068
1068
|
"font-weight": N.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
1069
1069
|
style: y(`opacity:${X.value && !H.value.showTooltip ? .2 : 1}`)
|
|
1070
|
-
}, w(
|
|
1070
|
+
}, w(Cn({
|
|
1071
1071
|
value: n.value,
|
|
1072
1072
|
index: t,
|
|
1073
1073
|
datapoint: n
|
|
@@ -1075,7 +1075,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1075
1075
|
N.value.style.chart.yAxis.labels.showAxisNames ? (b(), p("g", {
|
|
1076
1076
|
key: 1,
|
|
1077
1077
|
ref_key: "xAxisLabels",
|
|
1078
|
-
ref:
|
|
1078
|
+
ref: Wt
|
|
1079
1079
|
}, [(b(!0), p(l, null, S(q.value, (e, t) => (b(), p(l, null, [String(e.name).includes("\n") ? (b(), p("text", {
|
|
1080
1080
|
key: 1,
|
|
1081
1081
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
@@ -1112,7 +1112,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1112
1112
|
radius: t.shape === "triangle" ? z.value.plotSize * 1.2 : z.value.plotSize,
|
|
1113
1113
|
stroke: N.value.style.chart.backgroundColor,
|
|
1114
1114
|
strokeWidth: .5,
|
|
1115
|
-
onMouseenter: (e) =>
|
|
1115
|
+
onMouseenter: (e) => On({
|
|
1116
1116
|
shape: t.shape,
|
|
1117
1117
|
serieName: t.name,
|
|
1118
1118
|
serie: r,
|
|
@@ -1127,7 +1127,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1127
1127
|
S: n
|
|
1128
1128
|
}),
|
|
1129
1129
|
style: y(`opacity:${X.value ? X.value === r.id ? N.value.style.chart.plots.opacity : .2 : N.value.style.chart.plots.opacity}`),
|
|
1130
|
-
onClick: () =>
|
|
1130
|
+
onClick: () => Nn({
|
|
1131
1131
|
serie: r,
|
|
1132
1132
|
shape: t.shape,
|
|
1133
1133
|
S: n
|
|
@@ -1173,7 +1173,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1173
1173
|
"vue-ui-pcp-animated vue-data-ui-line-animated": N.value.useCssAnimation,
|
|
1174
1174
|
"vue-data-ui-transition": T(P)
|
|
1175
1175
|
}),
|
|
1176
|
-
onMouseenter: (e) =>
|
|
1176
|
+
onMouseenter: (e) => On({
|
|
1177
1177
|
shape: t.shape,
|
|
1178
1178
|
serieName: t.name,
|
|
1179
1179
|
serie: r,
|
|
@@ -1187,7 +1187,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1187
1187
|
shape: t.shape,
|
|
1188
1188
|
S: n
|
|
1189
1189
|
}),
|
|
1190
|
-
onClick: () =>
|
|
1190
|
+
onClick: () => Nn({
|
|
1191
1191
|
serie: r,
|
|
1192
1192
|
shape: t.shape,
|
|
1193
1193
|
S: n
|
|
@@ -1204,7 +1204,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1204
1204
|
"vue-ui-pcp-animated vue-data-ui-line-animated": N.value.useCssAnimation,
|
|
1205
1205
|
"vue-data-ui-transition": T(P)
|
|
1206
1206
|
}),
|
|
1207
|
-
onMouseenter: (e) =>
|
|
1207
|
+
onMouseenter: (e) => On({
|
|
1208
1208
|
shape: t.shape,
|
|
1209
1209
|
serieName: t.name,
|
|
1210
1210
|
serie: r,
|
|
@@ -1218,7 +1218,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1218
1218
|
shape: t.shape,
|
|
1219
1219
|
S: n
|
|
1220
1220
|
}),
|
|
1221
|
-
onClick: () =>
|
|
1221
|
+
onClick: () => Nn({
|
|
1222
1222
|
serie: r,
|
|
1223
1223
|
shape: t.shape,
|
|
1224
1224
|
S: n
|
|
@@ -1226,7 +1226,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1226
1226
|
style: { opacity: "0" }
|
|
1227
1227
|
}, null, 42, gt)) : f("", !0)
|
|
1228
1228
|
]))), 256))]))), 256)),
|
|
1229
|
-
(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("g", null, [(b(!0), p(l, null, S(e.series, (n, r) => (b(), p("g", null, [!T(
|
|
1229
|
+
(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("g", null, [(b(!0), p(l, null, S(e.series, (n, r) => (b(), p("g", null, [!T(Xt) && (H.value.dataLabels.show || X.value && X.value === n.id) ? (b(!0), p(l, { key: 0 }, S(n.datapoints, (i, a) => (b(), p("text", {
|
|
1230
1230
|
key: `pl_${n.id}_${a}`,
|
|
1231
1231
|
transform: `translate(${i.x + 12 + N.value.style.chart.yAxis.labels.datapoints.offsetX}, ${i.y + N.value.style.chart.yAxis.labels.datapoints.offsetY + z.value.datapointFontSize / 3})`,
|
|
1232
1232
|
fill: N.value.style.chart.yAxis.labels.datapoints.useSerieColor ? e.color : N.value.style.chart.yAxis.labels.datapoints.color,
|
|
@@ -1242,7 +1242,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1242
1242
|
"stroke-linecap": "round",
|
|
1243
1243
|
"stroke-linejoin": "round",
|
|
1244
1244
|
"paint-order": "stroke fill",
|
|
1245
|
-
onMouseenter: (i) =>
|
|
1245
|
+
onMouseenter: (i) => On({
|
|
1246
1246
|
shape: e.shape,
|
|
1247
1247
|
serieName: e.name,
|
|
1248
1248
|
serie: n,
|
|
@@ -1256,55 +1256,55 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1256
1256
|
shape: e.shape,
|
|
1257
1257
|
S: t
|
|
1258
1258
|
}),
|
|
1259
|
-
onClick: () =>
|
|
1259
|
+
onClick: () => Nn({
|
|
1260
1260
|
serie: n,
|
|
1261
1261
|
shape: e.shape,
|
|
1262
1262
|
S: t
|
|
1263
1263
|
}),
|
|
1264
1264
|
style: y(`opacity:${X.value ? X.value === n.id ? 1 : .2 : 1}`)
|
|
1265
|
-
}, w(
|
|
1265
|
+
}, w(Cn({
|
|
1266
1266
|
value: i.value,
|
|
1267
1267
|
index: a,
|
|
1268
1268
|
datapoint: i
|
|
1269
1269
|
})), 47, _t))), 128)) : f("", !0)]))), 256))]))), 256)),
|
|
1270
1270
|
C(e.$slots, "svg", { svg: {
|
|
1271
1271
|
...V.value,
|
|
1272
|
-
isPrintingImg: T(
|
|
1273
|
-
isPrintingSvg: T(
|
|
1272
|
+
isPrintingImg: T(on) || T(sn) || T(qn),
|
|
1273
|
+
isPrintingSvg: T(Jn)
|
|
1274
1274
|
} }, void 0, !0)
|
|
1275
1275
|
], 46, nt)), e.$slots.hint ? (b(), p("div", vt, [C(e.$slots, "hint", v(g({
|
|
1276
1276
|
hint: N.value.a11y.translations.keyboardNavigation,
|
|
1277
|
-
isVisible:
|
|
1277
|
+
isVisible: qt.value
|
|
1278
1278
|
})), void 0, !0)])) : f("", !0)]),
|
|
1279
|
-
e.$slots.watermark ? (b(), p("div", yt, [C(e.$slots, "watermark", v(g({ isPrinting: T(
|
|
1279
|
+
e.$slots.watermark ? (b(), p("div", yt, [C(e.$slots, "watermark", v(g({ isPrinting: T(on) || T(sn) || T(qn) || T(Jn) })), void 0, !0)])) : f("", !0),
|
|
1280
1280
|
m("div", { id: `legend-bottom-${j.value}` }, null, 8, bt),
|
|
1281
|
-
|
|
1281
|
+
Ht.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (b(), d(Re, {
|
|
1282
1282
|
key: 6,
|
|
1283
1283
|
to: N.value.style.chart.legend.position === "top" ? `#legend-top-${j.value}` : `#legend-bottom-${j.value}`
|
|
1284
1284
|
}, [m("div", {
|
|
1285
1285
|
ref_key: "chartLegend",
|
|
1286
|
-
ref:
|
|
1287
|
-
}, [C(e.$slots, "legend", { legend: G.value }, () => [N.value.style.chart.legend.show &&
|
|
1288
|
-
key: `legend_${
|
|
1286
|
+
ref: It
|
|
1287
|
+
}, [C(e.$slots, "legend", { legend: G.value }, () => [N.value.style.chart.legend.show && Nt.value ? (b(), d(Ie, {
|
|
1288
|
+
key: `legend_${Bt.value}`,
|
|
1289
1289
|
legendSet: G.value,
|
|
1290
|
-
config:
|
|
1290
|
+
config: bn.value,
|
|
1291
1291
|
isCursorPointer: F.value,
|
|
1292
1292
|
onClickMarker: t[0] ||= ({ legend: e }) => {
|
|
1293
|
-
|
|
1293
|
+
gn(e.id);
|
|
1294
1294
|
}
|
|
1295
1295
|
}, {
|
|
1296
1296
|
item: E(({ legend: e, index: t }) => [m("div", {
|
|
1297
1297
|
onClick: (t) => e.segregate(),
|
|
1298
1298
|
style: y(`opacity:${U.value.includes(e.id) ? .5 : 1}`)
|
|
1299
1299
|
}, w(e.name), 13, xt)]),
|
|
1300
|
-
legendToggle: E(() => [G.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !T(
|
|
1300
|
+
legendToggle: E(() => [G.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !T(Xt) ? (b(), d(Me, {
|
|
1301
1301
|
key: 0,
|
|
1302
1302
|
backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1303
1303
|
color: N.value.style.chart.legend.selectAllToggle.color,
|
|
1304
1304
|
fontSize: N.value.style.chart.legend.fontSize,
|
|
1305
1305
|
checked: U.value.length > 0,
|
|
1306
1306
|
isCursorPointer: F.value,
|
|
1307
|
-
onToggle:
|
|
1307
|
+
onToggle: hn
|
|
1308
1308
|
}, null, 8, [
|
|
1309
1309
|
"backgroundColor",
|
|
1310
1310
|
"color",
|
|
@@ -1321,12 +1321,12 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1321
1321
|
e.$slots.source ? (b(), p("div", {
|
|
1322
1322
|
key: 7,
|
|
1323
1323
|
ref_key: "source",
|
|
1324
|
-
ref:
|
|
1324
|
+
ref: Lt,
|
|
1325
1325
|
dir: "auto"
|
|
1326
1326
|
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1327
|
-
Ve(T(
|
|
1327
|
+
Ve(T(St), {
|
|
1328
1328
|
teleportTo: N.value.style.chart.tooltip.teleportTo,
|
|
1329
|
-
show: H.value.showTooltip &&
|
|
1329
|
+
show: H.value.showTooltip && Tn.value,
|
|
1330
1330
|
backgroundColor: N.value.style.chart.tooltip.backgroundColor,
|
|
1331
1331
|
color: N.value.style.chart.tooltip.color,
|
|
1332
1332
|
fontSize: N.value.style.chart.tooltip.fontSize,
|
|
@@ -1338,19 +1338,19 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1338
1338
|
offsetX: N.value.style.chart.tooltip.offsetX,
|
|
1339
1339
|
offsetY: N.value.style.chart.tooltip.offsetY,
|
|
1340
1340
|
parent: O.value,
|
|
1341
|
-
content:
|
|
1341
|
+
content: En.value,
|
|
1342
1342
|
isFullscreen: M.value,
|
|
1343
1343
|
isCustom: T(me)(N.value.style.chart.tooltip.customFormat),
|
|
1344
1344
|
smooth: N.value.style.chart.tooltip.smooth,
|
|
1345
1345
|
backdropFilter: N.value.style.chart.tooltip.backdropFilter,
|
|
1346
1346
|
smoothForce: N.value.style.chart.tooltip.smoothForce,
|
|
1347
1347
|
smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1348
|
-
isA11yMode:
|
|
1349
|
-
a11yPosition:
|
|
1348
|
+
isA11yMode: Kt.value === "keyboard",
|
|
1349
|
+
a11yPosition: Gt.value
|
|
1350
1350
|
}, {
|
|
1351
|
-
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...
|
|
1352
|
-
tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...
|
|
1353
|
-
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...
|
|
1351
|
+
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...wn.value })), void 0, !0)]),
|
|
1352
|
+
tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...wn.value })), void 0, !0)]),
|
|
1353
|
+
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...wn.value })), void 0, !0)]),
|
|
1354
1354
|
_: 3
|
|
1355
1355
|
}, 8, [
|
|
1356
1356
|
"teleportTo",
|
|
@@ -1376,23 +1376,23 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1376
1376
|
"isA11yMode",
|
|
1377
1377
|
"a11yPosition"
|
|
1378
1378
|
]),
|
|
1379
|
-
|
|
1379
|
+
Nt.value && N.value.userOptions.buttons.table ? (b(), d(Ke(Hn.value.component), He({ key: 8 }, Hn.value.props, {
|
|
1380
1380
|
ref_key: "tableUnit",
|
|
1381
1381
|
ref: k,
|
|
1382
|
-
onClose:
|
|
1382
|
+
onClose: Un
|
|
1383
1383
|
}), ze({
|
|
1384
|
-
content: E(() => [(b(), d(T(
|
|
1385
|
-
key: `table_${
|
|
1384
|
+
content: E(() => [(b(), d(T(Tt), {
|
|
1385
|
+
key: `table_${Vt.value}`,
|
|
1386
1386
|
colNames: Q.value.colNames,
|
|
1387
1387
|
head: Q.value.head,
|
|
1388
1388
|
body: Q.value.body,
|
|
1389
1389
|
config: Q.value.config,
|
|
1390
|
-
title: N.value.table.useDialog ? "" :
|
|
1390
|
+
title: N.value.table.useDialog ? "" : Hn.value.title,
|
|
1391
1391
|
withCloseButton: !N.value.table.useDialog,
|
|
1392
1392
|
isCursorPointer: F.value,
|
|
1393
|
-
onClose:
|
|
1393
|
+
onClose: Un
|
|
1394
1394
|
}, {
|
|
1395
|
-
th: E(({ th: e }) => [m("div",
|
|
1395
|
+
th: E(({ th: e }) => [m("div", null, w(e), 1)]),
|
|
1396
1396
|
td: E(({ td: e }) => [Be(w(e), 1)]),
|
|
1397
1397
|
_: 1
|
|
1398
1398
|
}, 8, [
|
|
@@ -1407,24 +1407,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1407
1407
|
_: 2
|
|
1408
1408
|
}, [N.value.table.useDialog ? {
|
|
1409
1409
|
name: "title",
|
|
1410
|
-
fn: E(() => [Be(w(
|
|
1410
|
+
fn: E(() => [Be(w(Hn.value.title), 1)]),
|
|
1411
1411
|
key: "0"
|
|
1412
1412
|
} : void 0, N.value.table.useDialog ? {
|
|
1413
1413
|
name: "actions",
|
|
1414
1414
|
fn: E(() => [m("button", {
|
|
1415
1415
|
tabindex: "0",
|
|
1416
1416
|
class: "vue-ui-user-options-button",
|
|
1417
|
-
onClick: t[1] ||= (e) =>
|
|
1417
|
+
onClick: t[1] ||= (e) => jn(N.value.userOptions.callbacks.csv),
|
|
1418
1418
|
style: y({ cursor: F.value ? "pointer" : "default" })
|
|
1419
|
-
}, [Ve(T(
|
|
1419
|
+
}, [Ve(T(Ct), {
|
|
1420
1420
|
name: "fileCsv",
|
|
1421
|
-
stroke:
|
|
1421
|
+
stroke: Hn.value.props.color
|
|
1422
1422
|
}, null, 8, ["stroke"])], 4)]),
|
|
1423
1423
|
key: "1"
|
|
1424
1424
|
} : void 0]), 1040)) : f("", !0),
|
|
1425
|
-
C(e.$slots, "skeleton", {}, () => [T(
|
|
1425
|
+
C(e.$slots, "skeleton", {}, () => [T(Xt) ? (b(), d(be, { key: 0 })) : f("", !0)], !0)
|
|
1426
1426
|
], 46, Qe));
|
|
1427
1427
|
}
|
|
1428
|
-
}, [["__scopeId", "data-v-
|
|
1428
|
+
}, [["__scopeId", "data-v-b9d21e86"]]);
|
|
1429
1429
|
//#endregion
|
|
1430
|
-
export { Ze as n,
|
|
1430
|
+
export { Ze as n, St as t };
|