vue-data-ui 3.23.0 → 3.23.2
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-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
- package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
- package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
- package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
- package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
- package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
- package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
- package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
- package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
- package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.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/composables.js +1 -1
- package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
- package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.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/types/vue-data-ui.d.ts +9 -0
- package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
- package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
- package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
- package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
- package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
- package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
- package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
- package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
- package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
- package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
- package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
- package/dist/vue-ui-gauge-CJstpakj.js +932 -0
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
- package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
- package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
- package/dist/vue-ui-molecule-paWHp18h.js +935 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
- package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
- package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
- package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
- package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
- package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
- package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
- package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
- package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
- package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
- package/dist/vue-ui-wheel-DrefGLos.js +871 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
- package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
- package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
- package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
- package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
- package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
- package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
- package/dist/vue-ui-funnel-CjYosIik.js +0 -797
- package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
- package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
- package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,24 +1,24 @@
|
|
|
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-Bttd6u5E.js";
|
|
3
3
|
import { n as he, t as ge } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as _e } from "./useConfig-
|
|
5
|
-
import { t as ve } from "./usePrinter-
|
|
4
|
+
import { t as _e } from "./useConfig-DlNpz6P8.js";
|
|
5
|
+
import { t as ve } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as ye, t as be } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as xe } from "./
|
|
8
|
-
import { t as Se } from "./
|
|
9
|
-
import { t as Ce } from "./
|
|
7
|
+
import { t as xe } from "./useNestedProp-vPNvh7rV.js";
|
|
8
|
+
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
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-Bnokohej.js";
|
|
13
|
+
import { n as De } from "./Title-BE3qg9xl.js";
|
|
14
|
+
import { t as Oe } from "./Shape-C21CMlWS.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-DZVucLnv.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-CQxUgOd-.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
|
|
@@ -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 Ct = h(() => import("./Tooltip-
|
|
128
|
+
let Ct = h(() => import("./Tooltip-DhjyfHwz.js")), wt = h(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Tt = h(() => import("./vue-ui-accordion-DegI2lzR.js").then((e) => e.n)), Et = h(() => import("./DataTable-BbKgJ5UI.js")), Dt = h(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Ot = h(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), kt = h(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), At = h(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: jt } = _e(), { isThemeValid: Mt, warnInvalidTheme: Nt } = Se(), D = e, Pt = 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
|
-
}), Ft = x(0), O = x(null), It = x(null), Lt = x(null), Rt = x(null), zt = x(null), Bt = x(0), Vt = x(0), Ht = x(0), Ut = x(!1), k = x(null), Wt = x(null), Gt = x(
|
|
135
|
+
}), Ft = x(0), O = x(null), It = x(null), Lt = x(null), Rt = x(null), zt = x(null), Bt = x(0), Vt = x(0), Ht = x(0), Ut = x(!1), k = x(null), Wt = x(null), Gt = x(null), A = x(null), Kt = x({
|
|
136
136
|
x: 0,
|
|
137
137
|
y: 0
|
|
138
|
-
}),
|
|
139
|
-
function
|
|
138
|
+
}), qt = x("pointer"), Jt = x(!1), j = x(le()), M = x(!1);
|
|
139
|
+
function Yt(e) {
|
|
140
140
|
M.value = e, Ft.value += 1;
|
|
141
141
|
}
|
|
142
|
-
let N = x(
|
|
142
|
+
let N = x(rn()), { 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), Xt = 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: Zt, FINAL_DATASET: Qt, manualLoading: $t } = ye({
|
|
201
201
|
...Je(D),
|
|
202
202
|
FINAL_CONFIG: N,
|
|
203
|
-
prepareConfig:
|
|
203
|
+
prepareConfig: rn,
|
|
204
204
|
callback: () => {
|
|
205
205
|
Promise.resolve().then(async () => {
|
|
206
206
|
await Ue(), H.value.showTable = N.value.table.show;
|
|
@@ -252,20 +252,20 @@ 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: Xt.value
|
|
256
256
|
})
|
|
257
|
-
}), { userOptionsVisible:
|
|
258
|
-
function
|
|
259
|
-
let e =
|
|
257
|
+
}), { userOptionsVisible: en, setUserOptionsVisibility: tn, keepUserOptionState: nn } = Pe({ config: N.value }), { svgRef: I } = Fe({ config: N.value.style.chart.title });
|
|
258
|
+
function rn() {
|
|
259
|
+
let e = xe({
|
|
260
260
|
userConfig: D.config,
|
|
261
261
|
defaultConfig: jt
|
|
262
262
|
}), t = e.theme;
|
|
263
263
|
if (!t) return e;
|
|
264
264
|
if (!Mt.value(e)) return Nt(e), e;
|
|
265
|
-
let n =
|
|
265
|
+
let n = xe({
|
|
266
266
|
userConfig: Le[t] || D.config,
|
|
267
267
|
defaultConfig: e
|
|
268
|
-
}), r =
|
|
268
|
+
}), r = xe({
|
|
269
269
|
userConfig: D.config,
|
|
270
270
|
defaultConfig: n
|
|
271
271
|
});
|
|
@@ -275,21 +275,21 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
277
|
Ye(() => D.config, (e) => {
|
|
278
|
-
|
|
278
|
+
Zt.value || (N.value = rn()), en.value = !N.value.userOptions.showOnChartHover, on(), Bt.value += 1, Ht.value += 1, Vt.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 && ($t.value = !1);
|
|
281
281
|
}, { deep: !0 });
|
|
282
282
|
let L = qe(null), R = qe(null);
|
|
283
283
|
Ge(() => {
|
|
284
|
-
Ut.value = !0,
|
|
284
|
+
Ut.value = !0, on();
|
|
285
285
|
});
|
|
286
|
-
let
|
|
287
|
-
function
|
|
286
|
+
let an = u(() => N.value.debug);
|
|
287
|
+
function on() {
|
|
288
288
|
if (se(D.dataset) ? (fe({
|
|
289
289
|
componentName: "VueUiParallelCoordinatePlot",
|
|
290
290
|
type: "dataset",
|
|
291
|
-
debug:
|
|
292
|
-
}),
|
|
291
|
+
debug: an.value
|
|
292
|
+
}), $t.value = !0) : D.dataset.forEach((e, t) => {
|
|
293
293
|
ce({
|
|
294
294
|
datasetObject: e,
|
|
295
295
|
requiredAttributes: ["name", "series"]
|
|
@@ -299,10 +299,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
299
299
|
type: "datasetSerieAttribute",
|
|
300
300
|
property: e,
|
|
301
301
|
index: t,
|
|
302
|
-
debug:
|
|
302
|
+
debug: an.value
|
|
303
303
|
});
|
|
304
304
|
});
|
|
305
|
-
}), se(D.dataset) || (
|
|
305
|
+
}), se(D.dataset) || ($t.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,
|
|
@@ -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: sn, isImaging: cn, generatePdf: ln, generateImage: un } = 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
|
+
}), dn = 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
|
+
}), fn = u(() => z.value.width), pn = u(() => z.value.height), B = x(0), mn = Ae((e) => {
|
|
360
360
|
B.value = e;
|
|
361
361
|
}, 100);
|
|
362
362
|
Xe((e) => {
|
|
363
|
-
let t =
|
|
363
|
+
let t = Gt.value;
|
|
364
364
|
if (!t) return;
|
|
365
365
|
let n = new ResizeObserver((e) => {
|
|
366
|
-
|
|
366
|
+
mn(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 = pn.value, a = fn.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
|
+
}), hn = 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 gn() {
|
|
396
396
|
U.value.length ? U.value = [] : G.value.forEach((e) => {
|
|
397
397
|
U.value.push(e.id);
|
|
398
|
-
}),
|
|
398
|
+
}), Nn("selectLegend", Cn.value);
|
|
399
399
|
}
|
|
400
|
-
function
|
|
401
|
-
U.value.includes(e) ? U.value = U.value.filter((t) => t !== e) : U.value.push(e),
|
|
400
|
+
function _n(e) {
|
|
401
|
+
U.value.includes(e) ? U.value = U.value.filter((t) => t !== e) : U.value.push(e), Nn("selectLegend", Cn.value);
|
|
402
402
|
}
|
|
403
|
-
let W = u(() =>
|
|
404
|
-
let n = ee(e.color) ||
|
|
403
|
+
let W = u(() => Qt.value.map((e, t) => {
|
|
404
|
+
let n = ee(e.color) || hn.value[t] || c[t] || c[t % c.length];
|
|
405
405
|
return {
|
|
406
406
|
...e,
|
|
407
407
|
series: e.series.map((e) => ({
|
|
@@ -415,49 +415,49 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
415
415
|
shape: e.shape || "circle"
|
|
416
416
|
};
|
|
417
417
|
}));
|
|
418
|
-
function
|
|
419
|
-
return W.value.length ? W.value.find((t) => t.name === e) || (
|
|
418
|
+
function vn(e) {
|
|
419
|
+
return W.value.length ? W.value.find((t) => t.name === e) || (an.value && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (an.value && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
422
|
-
let t =
|
|
423
|
-
t !== null && U.value.includes(t.id) &&
|
|
421
|
+
function yn(e) {
|
|
422
|
+
let t = vn(e);
|
|
423
|
+
t !== null && U.value.includes(t.id) && _n(t.id);
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
let t =
|
|
427
|
-
t !== null && (U.value.includes(t.id) ||
|
|
425
|
+
function bn(e) {
|
|
426
|
+
let t = vn(e);
|
|
427
|
+
t !== null && (U.value.includes(t.id) || _n(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: () => _n(e.id),
|
|
433
433
|
isSegregated: U.value.includes(e.id),
|
|
434
434
|
shape: e.shape || "circle"
|
|
435
|
-
}))),
|
|
435
|
+
}))), xn = 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
|
+
})), Sn = 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 / Sn.value), Cn = 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(...
|
|
446
|
-
let r =
|
|
444
|
+
for (let t = 0; t < Sn.value; t += 1) {
|
|
445
|
+
let n = Math.min(...Cn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...Cn.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
|
+
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
|
-
y: V.value.bottom - V.value.height * (r /
|
|
448
|
+
y: V.value.bottom - V.value.height * (r / i),
|
|
449
449
|
x: V.value.left + K.value * t + K.value / 2,
|
|
450
450
|
value: e
|
|
451
451
|
};
|
|
452
452
|
});
|
|
453
453
|
e.push({
|
|
454
|
-
scale:
|
|
455
|
-
ticks:
|
|
454
|
+
scale: o,
|
|
455
|
+
ticks: s,
|
|
456
456
|
name: N.value.style.chart.yAxis.labels.axisNames[t] || `Y-${t + 1}`
|
|
457
457
|
});
|
|
458
458
|
}
|
|
459
459
|
return e;
|
|
460
|
-
}), J = u(() =>
|
|
460
|
+
}), J = u(() => Cn.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 wn({ 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,8 +507,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
507
507
|
seriesIndex: t
|
|
508
508
|
});
|
|
509
509
|
}
|
|
510
|
-
let X = x(null),
|
|
511
|
-
function
|
|
510
|
+
let X = x(null), Tn = x(null), En = x(!1), Dn = x("");
|
|
511
|
+
function Z({ shape: e, serie: t, S: n }) {
|
|
512
512
|
N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
513
513
|
datapoint: {
|
|
514
514
|
...t,
|
|
@@ -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
|
+
qt.value === "keyboard" && r && r.serie.id === t.id || (X.value = null, En.value = !1);
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function On(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 && (Kt.value = n);
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function kn({ 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
|
+
}), qt.value = o, Tn.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
|
+
}, En.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
|
+
})) ? Dn.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
|
+
}), Dn.value = `<div>${s}</div>`), o === "keyboard" && Ue(() => {
|
|
576
|
+
On(n);
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function An() {
|
|
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
|
+
}), jn = 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 Mn(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 =
|
|
617
|
-
e ? e(
|
|
618
|
-
csvContent:
|
|
616
|
+
], i = jn.value.head, a = jn.value.body, o = r.concat([i]).concat(a), s = n(o);
|
|
617
|
+
e ? e(s) : t({
|
|
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 Nn = Ze;
|
|
623
|
+
function Pn({ 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
|
+
}), Nn("selectDatapoint", e);
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function Fn() {
|
|
633
633
|
H.value.showTable = !H.value.showTable;
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function In() {
|
|
636
636
|
H.value.dataLabels.show = !H.value.dataLabels.show;
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function Ln() {
|
|
639
639
|
H.value.showTooltip = !H.value.showTooltip;
|
|
640
640
|
}
|
|
641
|
-
let
|
|
642
|
-
function
|
|
643
|
-
|
|
641
|
+
let Rn = x(!1);
|
|
642
|
+
function zn() {
|
|
643
|
+
Rn.value = !Rn.value;
|
|
644
644
|
}
|
|
645
|
-
async function
|
|
645
|
+
async function Bn({ 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 Vn = x({
|
|
663
663
|
start: 0,
|
|
664
664
|
end: 1
|
|
665
|
-
});
|
|
665
|
+
}), Hn = u(() => q.value.map((e) => e.name));
|
|
666
666
|
Te({
|
|
667
|
-
timeLabelsEls:
|
|
668
|
-
timeLabels:
|
|
669
|
-
slicer:
|
|
667
|
+
timeLabelsEls: Gt,
|
|
668
|
+
timeLabels: Hn,
|
|
669
|
+
slicer: Vn,
|
|
670
670
|
configRef: N,
|
|
671
671
|
rotationPath: [
|
|
672
672
|
"style",
|
|
@@ -684,12 +684,12 @@ 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: fn,
|
|
688
|
+
height: pn,
|
|
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 Un = u(() => {
|
|
693
693
|
let e = N.value.table.useDialog && !N.value.table.show, t = H.value.showTable;
|
|
694
694
|
return {
|
|
695
695
|
component: e ? At : Tt,
|
|
@@ -723,45 +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
|
|
726
|
+
function Wn() {
|
|
727
727
|
H.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
|
|
728
728
|
}
|
|
729
|
-
let
|
|
729
|
+
let Gn = u(() => N.value.style.chart.backgroundColor), Kn = u(() => N.value.style.chart.legend), qn = u(() => N.value.style.chart.title), { isCallbackImaging: Jn, isCallbackSvg: Yn, generateSvg: Xn, onGenerateImage: Zn } = Ce({
|
|
730
730
|
svg: I,
|
|
731
|
-
title:
|
|
732
|
-
legend:
|
|
731
|
+
title: qn,
|
|
732
|
+
legend: Kn,
|
|
733
733
|
legendItems: G,
|
|
734
|
-
backgroundColor:
|
|
734
|
+
backgroundColor: Gn,
|
|
735
|
+
getSvgCallback: () => N.value.userOptions.callbacks.svg,
|
|
736
|
+
generateImage: un
|
|
735
737
|
});
|
|
736
|
-
async function Xn({ isCb: e }) {
|
|
737
|
-
Kt.value = !0, await Ue();
|
|
738
|
-
try {
|
|
739
|
-
if (e) {
|
|
740
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await Yn();
|
|
741
|
-
await Promise.resolve(N.value.userOptions.callbacks.svg({
|
|
742
|
-
blob: e,
|
|
743
|
-
url: t,
|
|
744
|
-
text: n,
|
|
745
|
-
dataUrl: r
|
|
746
|
-
}));
|
|
747
|
-
} else await Promise.resolve(Jn());
|
|
748
|
-
} finally {
|
|
749
|
-
Kt.value = !1;
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
function Zn(e) {
|
|
753
|
-
if (e?.stage === "start") {
|
|
754
|
-
Gt.value = !0;
|
|
755
|
-
return;
|
|
756
|
-
}
|
|
757
|
-
if (e?.stage === "end") {
|
|
758
|
-
Gt.value = !1;
|
|
759
|
-
return;
|
|
760
|
-
}
|
|
761
|
-
fn();
|
|
762
|
-
}
|
|
763
738
|
async function Qn() {
|
|
764
|
-
if (
|
|
739
|
+
if (Nn("copyAlt", {
|
|
765
740
|
config: N.value,
|
|
766
741
|
dataset: J.value
|
|
767
742
|
}), !N.value.userOptions.callbacks.altCopy) {
|
|
@@ -780,22 +755,22 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
780
755
|
function er() {
|
|
781
756
|
if (A.value !== null) {
|
|
782
757
|
let e = Y.value[A.value];
|
|
783
|
-
e &&
|
|
758
|
+
e && Z({
|
|
784
759
|
shape: e.shape,
|
|
785
760
|
serie: e.serie,
|
|
786
761
|
S: e.S
|
|
787
762
|
});
|
|
788
763
|
}
|
|
789
|
-
A.value = null,
|
|
764
|
+
A.value = null, qt.value = "pointer", X.value = null, En.value = !1;
|
|
790
765
|
}
|
|
791
766
|
function tr() {
|
|
792
|
-
A.value = null,
|
|
767
|
+
A.value = null, Jt.value = !0;
|
|
793
768
|
}
|
|
794
769
|
function nr() {
|
|
795
|
-
er(),
|
|
770
|
+
er(), Jt.value = !1;
|
|
796
771
|
}
|
|
797
772
|
function rr(e) {
|
|
798
|
-
if (!I.value ||
|
|
773
|
+
if (!I.value || Rn.value || document.activeElement !== I.value || !Y.value.length) return;
|
|
799
774
|
let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
800
775
|
if (!t && !n && !r && !i) return;
|
|
801
776
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
@@ -806,7 +781,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
806
781
|
if (A.value === null) return;
|
|
807
782
|
let e = Y.value[A.value];
|
|
808
783
|
if (!e) return;
|
|
809
|
-
|
|
784
|
+
Pn({
|
|
810
785
|
serie: e.serie,
|
|
811
786
|
shape: e.shape,
|
|
812
787
|
S: e.S
|
|
@@ -816,7 +791,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
816
791
|
let a = A.value;
|
|
817
792
|
a = a === null ? n ? 0 : Y.value.length - 1 : $n(a + (n ? 1 : -1));
|
|
818
793
|
let o = Y.value[a];
|
|
819
|
-
o && (A.value = a,
|
|
794
|
+
o && (A.value = a, kn({
|
|
820
795
|
shape: o.shape,
|
|
821
796
|
serieName: o.serieName,
|
|
822
797
|
serie: o.serie,
|
|
@@ -837,19 +812,19 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
837
812
|
notice: N.value.a11y.translations.tableAvailable
|
|
838
813
|
}));
|
|
839
814
|
return ke({
|
|
840
|
-
getData:
|
|
841
|
-
getImage:
|
|
842
|
-
generateCsv:
|
|
843
|
-
generatePdf:
|
|
844
|
-
generateImage:
|
|
815
|
+
getData: An,
|
|
816
|
+
getImage: Bn,
|
|
817
|
+
generateCsv: Mn,
|
|
818
|
+
generatePdf: ln,
|
|
819
|
+
generateImage: un,
|
|
845
820
|
generateSvg: Xn,
|
|
846
|
-
hideSeries:
|
|
847
|
-
showSeries:
|
|
848
|
-
toggleTable:
|
|
849
|
-
toggleLabels:
|
|
850
|
-
toggleTooltip:
|
|
851
|
-
toggleAnnotator:
|
|
852
|
-
toggleFullscreen:
|
|
821
|
+
hideSeries: bn,
|
|
822
|
+
showSeries: yn,
|
|
823
|
+
toggleTable: Fn,
|
|
824
|
+
toggleLabels: In,
|
|
825
|
+
toggleTooltip: Ln,
|
|
826
|
+
toggleAnnotator: zn,
|
|
827
|
+
toggleFullscreen: Yt,
|
|
853
828
|
copyAlt: Qn
|
|
854
829
|
}), (e, t) => (b(), p("div", {
|
|
855
830
|
ref_key: "pcpChart",
|
|
@@ -857,8 +832,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
857
832
|
class: _(`vue-data-ui-component vue-ui-pcp ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
858
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%" : ""}`),
|
|
859
834
|
id: `pcp_${j.value}`,
|
|
860
|
-
onMouseenter: t[2] ||= () => T(
|
|
861
|
-
onMouseleave: t[3] ||= () => T(
|
|
835
|
+
onMouseenter: t[2] ||= () => T(tn)(!0),
|
|
836
|
+
onMouseleave: t[3] ||= () => T(tn)(!1)
|
|
862
837
|
}, [
|
|
863
838
|
m("div", {
|
|
864
839
|
id: `chart-instructions-${j.value}`,
|
|
@@ -883,9 +858,9 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
883
858
|
svgRef: T(I),
|
|
884
859
|
backgroundColor: N.value.style.chart.backgroundColor,
|
|
885
860
|
color: N.value.style.chart.color,
|
|
886
|
-
active:
|
|
861
|
+
active: Rn.value,
|
|
887
862
|
isCursorPointer: F.value,
|
|
888
|
-
onClose:
|
|
863
|
+
onClose: zn
|
|
889
864
|
}, {
|
|
890
865
|
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
891
866
|
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
@@ -901,7 +876,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
901
876
|
"active",
|
|
902
877
|
"isCursorPointer"
|
|
903
878
|
])) : f("", !0),
|
|
904
|
-
|
|
879
|
+
dn.value ? (b(), p("div", {
|
|
905
880
|
key: 2,
|
|
906
881
|
ref_key: "noTitle",
|
|
907
882
|
ref: zt,
|
|
@@ -927,14 +902,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
927
902
|
}
|
|
928
903
|
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
929
904
|
m("div", { id: `legend-top-${j.value}` }, null, 8, et),
|
|
930
|
-
N.value.userOptions.show && Pt.value && (T(
|
|
905
|
+
N.value.userOptions.show && Pt.value && (T(nn) || T(en)) ? (b(), d(T(Ot), {
|
|
931
906
|
ref_key: "userOptionsRef",
|
|
932
907
|
ref: Wt,
|
|
933
908
|
key: `user_options_${Ft.value}`,
|
|
934
909
|
backgroundColor: N.value.style.chart.backgroundColor,
|
|
935
910
|
color: N.value.style.chart.color,
|
|
936
|
-
isPrinting: T(
|
|
937
|
-
isImaging: T(
|
|
911
|
+
isPrinting: T(sn),
|
|
912
|
+
isImaging: T(cn),
|
|
938
913
|
uid: j.value,
|
|
939
914
|
hasTooltip: N.value.userOptions.buttons.tooltip && N.value.style.chart.tooltip.show,
|
|
940
915
|
hasPdf: N.value.userOptions.buttons.pdf,
|
|
@@ -951,22 +926,22 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
951
926
|
chartElement: O.value,
|
|
952
927
|
position: N.value.userOptions.position,
|
|
953
928
|
hasAnnotator: N.value.userOptions.buttons.annotator,
|
|
954
|
-
isAnnotation:
|
|
929
|
+
isAnnotation: Rn.value,
|
|
955
930
|
callbacks: N.value.userOptions.callbacks,
|
|
956
931
|
printScale: N.value.userOptions.print.scale,
|
|
957
932
|
tableDialog: N.value.table.useDialog,
|
|
958
933
|
isCursorPointer: F.value,
|
|
959
|
-
onToggleFullscreen:
|
|
960
|
-
onGeneratePdf: T(
|
|
961
|
-
onGenerateCsv:
|
|
962
|
-
onGenerateImage: Zn,
|
|
963
|
-
onGenerateSvg: Xn,
|
|
964
|
-
onToggleTable:
|
|
965
|
-
onToggleLabels:
|
|
966
|
-
onToggleTooltip:
|
|
967
|
-
onToggleAnnotator:
|
|
934
|
+
onToggleFullscreen: Yt,
|
|
935
|
+
onGeneratePdf: T(ln),
|
|
936
|
+
onGenerateCsv: Mn,
|
|
937
|
+
onGenerateImage: T(Zn),
|
|
938
|
+
onGenerateSvg: T(Xn),
|
|
939
|
+
onToggleTable: Fn,
|
|
940
|
+
onToggleLabels: In,
|
|
941
|
+
onToggleTooltip: Ln,
|
|
942
|
+
onToggleAnnotator: zn,
|
|
968
943
|
onCopyAlt: Qn,
|
|
969
|
-
style: y({ visibility: T(
|
|
944
|
+
style: y({ visibility: T(nn) ? T(en) ? "visible" : "hidden" : "visible" })
|
|
970
945
|
}, ze({ _: 2 }, [
|
|
971
946
|
e.$slots.menuIcon ? {
|
|
972
947
|
name: "menuIcon",
|
|
@@ -1042,7 +1017,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1042
1017
|
fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1043
1018
|
key: "12"
|
|
1044
1019
|
} : void 0
|
|
1045
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : f("", !0),
|
|
1020
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : f("", !0),
|
|
1046
1021
|
m("div", tt, [(b(), p("svg", {
|
|
1047
1022
|
ref_key: "svgRef",
|
|
1048
1023
|
ref: I,
|
|
@@ -1083,7 +1058,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1083
1058
|
stroke: N.value.style.chart.yAxis.stroke,
|
|
1084
1059
|
"stroke-width": N.value.style.chart.yAxis.strokeWidth,
|
|
1085
1060
|
style: y(`opacity:${X.value && !H.value.showTooltip ? .2 : 1}`)
|
|
1086
|
-
}, null, 14, ot))), 128)), T(
|
|
1061
|
+
}, null, 14, ot))), 128)), T(Zt) ? f("", !0) : (b(), p("g", st, [(b(!0), p(l, null, S(e.ticks, (n, r) => (b(), p("text", {
|
|
1087
1062
|
key: `tl_${e.name}_${r}`,
|
|
1088
1063
|
class: _({ "vue-data-ui-transition": T(P) }),
|
|
1089
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})`,
|
|
@@ -1092,7 +1067,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1092
1067
|
"font-size": z.value.ticksFontSize,
|
|
1093
1068
|
"font-weight": N.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
1094
1069
|
style: y(`opacity:${X.value && !H.value.showTooltip ? .2 : 1}`)
|
|
1095
|
-
}, w(
|
|
1070
|
+
}, w(wn({
|
|
1096
1071
|
value: n.value,
|
|
1097
1072
|
index: t,
|
|
1098
1073
|
datapoint: n
|
|
@@ -1100,7 +1075,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1100
1075
|
N.value.style.chart.yAxis.labels.showAxisNames ? (b(), p("g", {
|
|
1101
1076
|
key: 1,
|
|
1102
1077
|
ref_key: "xAxisLabels",
|
|
1103
|
-
ref:
|
|
1078
|
+
ref: Gt
|
|
1104
1079
|
}, [(b(!0), p(l, null, S(q.value, (e, t) => (b(), p(l, null, [String(e.name).includes("\n") ? (b(), p("text", {
|
|
1105
1080
|
key: 1,
|
|
1106
1081
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
@@ -1137,7 +1112,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1137
1112
|
radius: t.shape === "triangle" ? z.value.plotSize * 1.2 : z.value.plotSize,
|
|
1138
1113
|
stroke: N.value.style.chart.backgroundColor,
|
|
1139
1114
|
strokeWidth: .5,
|
|
1140
|
-
onMouseenter: (e) =>
|
|
1115
|
+
onMouseenter: (e) => kn({
|
|
1141
1116
|
shape: t.shape,
|
|
1142
1117
|
serieName: t.name,
|
|
1143
1118
|
serie: r,
|
|
@@ -1146,13 +1121,13 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1146
1121
|
S: n,
|
|
1147
1122
|
triggerMode: "pointer"
|
|
1148
1123
|
}),
|
|
1149
|
-
onMouseleave: (e) =>
|
|
1124
|
+
onMouseleave: (e) => Z({
|
|
1150
1125
|
serie: r,
|
|
1151
1126
|
shape: t.shape,
|
|
1152
1127
|
S: n
|
|
1153
1128
|
}),
|
|
1154
1129
|
style: y(`opacity:${X.value ? X.value === r.id ? N.value.style.chart.plots.opacity : .2 : N.value.style.chart.plots.opacity}`),
|
|
1155
|
-
onClick: () =>
|
|
1130
|
+
onClick: () => Pn({
|
|
1156
1131
|
serie: r,
|
|
1157
1132
|
shape: t.shape,
|
|
1158
1133
|
S: n
|
|
@@ -1198,7 +1173,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1198
1173
|
"vue-ui-pcp-animated vue-data-ui-line-animated": N.value.useCssAnimation,
|
|
1199
1174
|
"vue-data-ui-transition": T(P)
|
|
1200
1175
|
}),
|
|
1201
|
-
onMouseenter: (e) =>
|
|
1176
|
+
onMouseenter: (e) => kn({
|
|
1202
1177
|
shape: t.shape,
|
|
1203
1178
|
serieName: t.name,
|
|
1204
1179
|
serie: r,
|
|
@@ -1207,12 +1182,12 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1207
1182
|
S: n,
|
|
1208
1183
|
triggerMode: "pointer"
|
|
1209
1184
|
}),
|
|
1210
|
-
onMouseleave: (e) =>
|
|
1185
|
+
onMouseleave: (e) => Z({
|
|
1211
1186
|
serie: r,
|
|
1212
1187
|
shape: t.shape,
|
|
1213
1188
|
S: n
|
|
1214
1189
|
}),
|
|
1215
|
-
onClick: () =>
|
|
1190
|
+
onClick: () => Pn({
|
|
1216
1191
|
serie: r,
|
|
1217
1192
|
shape: t.shape,
|
|
1218
1193
|
S: n
|
|
@@ -1229,7 +1204,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1229
1204
|
"vue-ui-pcp-animated vue-data-ui-line-animated": N.value.useCssAnimation,
|
|
1230
1205
|
"vue-data-ui-transition": T(P)
|
|
1231
1206
|
}),
|
|
1232
|
-
onMouseenter: (e) =>
|
|
1207
|
+
onMouseenter: (e) => kn({
|
|
1233
1208
|
shape: t.shape,
|
|
1234
1209
|
serieName: t.name,
|
|
1235
1210
|
serie: r,
|
|
@@ -1238,12 +1213,12 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1238
1213
|
S: n,
|
|
1239
1214
|
triggerMode: "pointer"
|
|
1240
1215
|
}),
|
|
1241
|
-
onMouseleave: (e) =>
|
|
1216
|
+
onMouseleave: (e) => Z({
|
|
1242
1217
|
serie: r,
|
|
1243
1218
|
shape: t.shape,
|
|
1244
1219
|
S: n
|
|
1245
1220
|
}),
|
|
1246
|
-
onClick: () =>
|
|
1221
|
+
onClick: () => Pn({
|
|
1247
1222
|
serie: r,
|
|
1248
1223
|
shape: t.shape,
|
|
1249
1224
|
S: n
|
|
@@ -1251,7 +1226,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1251
1226
|
style: { opacity: "0" }
|
|
1252
1227
|
}, null, 42, gt)) : f("", !0)
|
|
1253
1228
|
]))), 256))]))), 256)),
|
|
1254
|
-
(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(Zt) && (H.value.dataLabels.show || X.value && X.value === n.id) ? (b(!0), p(l, { key: 0 }, S(n.datapoints, (i, a) => (b(), p("text", {
|
|
1255
1230
|
key: `pl_${n.id}_${a}`,
|
|
1256
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})`,
|
|
1257
1232
|
fill: N.value.style.chart.yAxis.labels.datapoints.useSerieColor ? e.color : N.value.style.chart.yAxis.labels.datapoints.color,
|
|
@@ -1267,7 +1242,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1267
1242
|
"stroke-linecap": "round",
|
|
1268
1243
|
"stroke-linejoin": "round",
|
|
1269
1244
|
"paint-order": "stroke fill",
|
|
1270
|
-
onMouseenter: (i) =>
|
|
1245
|
+
onMouseenter: (i) => kn({
|
|
1271
1246
|
shape: e.shape,
|
|
1272
1247
|
serieName: e.name,
|
|
1273
1248
|
serie: n,
|
|
@@ -1276,32 +1251,32 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1276
1251
|
S: t,
|
|
1277
1252
|
triggerMode: "pointer"
|
|
1278
1253
|
}),
|
|
1279
|
-
onMouseleave: (r) =>
|
|
1254
|
+
onMouseleave: (r) => Z({
|
|
1280
1255
|
serie: n,
|
|
1281
1256
|
shape: e.shape,
|
|
1282
1257
|
S: t
|
|
1283
1258
|
}),
|
|
1284
|
-
onClick: () =>
|
|
1259
|
+
onClick: () => Pn({
|
|
1285
1260
|
serie: n,
|
|
1286
1261
|
shape: e.shape,
|
|
1287
1262
|
S: t
|
|
1288
1263
|
}),
|
|
1289
1264
|
style: y(`opacity:${X.value ? X.value === n.id ? 1 : .2 : 1}`)
|
|
1290
|
-
}, w(
|
|
1265
|
+
}, w(wn({
|
|
1291
1266
|
value: i.value,
|
|
1292
1267
|
index: a,
|
|
1293
1268
|
datapoint: i
|
|
1294
1269
|
})), 47, _t))), 128)) : f("", !0)]))), 256))]))), 256)),
|
|
1295
1270
|
C(e.$slots, "svg", { svg: {
|
|
1296
1271
|
...V.value,
|
|
1297
|
-
isPrintingImg: T(
|
|
1298
|
-
isPrintingSvg:
|
|
1272
|
+
isPrintingImg: T(sn) || T(cn) || T(Jn),
|
|
1273
|
+
isPrintingSvg: T(Yn)
|
|
1299
1274
|
} }, void 0, !0)
|
|
1300
1275
|
], 46, nt)), e.$slots.hint ? (b(), p("div", vt, [C(e.$slots, "hint", v(g({
|
|
1301
1276
|
hint: N.value.a11y.translations.keyboardNavigation,
|
|
1302
|
-
isVisible:
|
|
1277
|
+
isVisible: Jt.value
|
|
1303
1278
|
})), void 0, !0)])) : f("", !0)]),
|
|
1304
|
-
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(sn) || T(cn) || T(Jn) || T(Yn) })), void 0, !0)])) : f("", !0),
|
|
1305
1280
|
m("div", { id: `legend-bottom-${j.value}` }, null, 8, bt),
|
|
1306
1281
|
Ut.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (b(), d(Re, {
|
|
1307
1282
|
key: 6,
|
|
@@ -1312,24 +1287,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1312
1287
|
}, [C(e.$slots, "legend", { legend: G.value }, () => [N.value.style.chart.legend.show && Pt.value ? (b(), d(Ie, {
|
|
1313
1288
|
key: `legend_${Vt.value}`,
|
|
1314
1289
|
legendSet: G.value,
|
|
1315
|
-
config:
|
|
1290
|
+
config: xn.value,
|
|
1316
1291
|
isCursorPointer: F.value,
|
|
1317
1292
|
onClickMarker: t[0] ||= ({ legend: e }) => {
|
|
1318
|
-
|
|
1293
|
+
_n(e.id);
|
|
1319
1294
|
}
|
|
1320
1295
|
}, {
|
|
1321
1296
|
item: E(({ legend: e, index: t }) => [m("div", {
|
|
1322
1297
|
onClick: (t) => e.segregate(),
|
|
1323
1298
|
style: y(`opacity:${U.value.includes(e.id) ? .5 : 1}`)
|
|
1324
1299
|
}, w(e.name), 13, xt)]),
|
|
1325
|
-
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(Zt) ? (b(), d(Me, {
|
|
1326
1301
|
key: 0,
|
|
1327
1302
|
backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1328
1303
|
color: N.value.style.chart.legend.selectAllToggle.color,
|
|
1329
1304
|
fontSize: N.value.style.chart.legend.fontSize,
|
|
1330
1305
|
checked: U.value.length > 0,
|
|
1331
1306
|
isCursorPointer: F.value,
|
|
1332
|
-
onToggle:
|
|
1307
|
+
onToggle: gn
|
|
1333
1308
|
}, null, 8, [
|
|
1334
1309
|
"backgroundColor",
|
|
1335
1310
|
"color",
|
|
@@ -1351,7 +1326,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1351
1326
|
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1352
1327
|
Ve(T(Ct), {
|
|
1353
1328
|
teleportTo: N.value.style.chart.tooltip.teleportTo,
|
|
1354
|
-
show: H.value.showTooltip &&
|
|
1329
|
+
show: H.value.showTooltip && En.value,
|
|
1355
1330
|
backgroundColor: N.value.style.chart.tooltip.backgroundColor,
|
|
1356
1331
|
color: N.value.style.chart.tooltip.color,
|
|
1357
1332
|
fontSize: N.value.style.chart.tooltip.fontSize,
|
|
@@ -1363,19 +1338,19 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1363
1338
|
offsetX: N.value.style.chart.tooltip.offsetX,
|
|
1364
1339
|
offsetY: N.value.style.chart.tooltip.offsetY,
|
|
1365
1340
|
parent: O.value,
|
|
1366
|
-
content:
|
|
1341
|
+
content: Dn.value,
|
|
1367
1342
|
isFullscreen: M.value,
|
|
1368
1343
|
isCustom: T(me)(N.value.style.chart.tooltip.customFormat),
|
|
1369
1344
|
smooth: N.value.style.chart.tooltip.smooth,
|
|
1370
1345
|
backdropFilter: N.value.style.chart.tooltip.backdropFilter,
|
|
1371
1346
|
smoothForce: N.value.style.chart.tooltip.smoothForce,
|
|
1372
1347
|
smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1373
|
-
isA11yMode:
|
|
1374
|
-
a11yPosition:
|
|
1348
|
+
isA11yMode: qt.value === "keyboard",
|
|
1349
|
+
a11yPosition: Kt.value
|
|
1375
1350
|
}, {
|
|
1376
|
-
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...
|
|
1377
|
-
tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...
|
|
1378
|
-
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...
|
|
1351
|
+
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...Tn.value })), void 0, !0)]),
|
|
1352
|
+
tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...Tn.value })), void 0, !0)]),
|
|
1353
|
+
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...Tn.value })), void 0, !0)]),
|
|
1379
1354
|
_: 3
|
|
1380
1355
|
}, 8, [
|
|
1381
1356
|
"teleportTo",
|
|
@@ -1401,10 +1376,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1401
1376
|
"isA11yMode",
|
|
1402
1377
|
"a11yPosition"
|
|
1403
1378
|
]),
|
|
1404
|
-
Pt.value && N.value.userOptions.buttons.table ? (b(), d(Ke(
|
|
1379
|
+
Pt.value && N.value.userOptions.buttons.table ? (b(), d(Ke(Un.value.component), He({ key: 8 }, Un.value.props, {
|
|
1405
1380
|
ref_key: "tableUnit",
|
|
1406
1381
|
ref: k,
|
|
1407
|
-
onClose:
|
|
1382
|
+
onClose: Wn
|
|
1408
1383
|
}), ze({
|
|
1409
1384
|
content: E(() => [(b(), d(T(Et), {
|
|
1410
1385
|
key: `table_${Ht.value}`,
|
|
@@ -1412,10 +1387,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1412
1387
|
head: Q.value.head,
|
|
1413
1388
|
body: Q.value.body,
|
|
1414
1389
|
config: Q.value.config,
|
|
1415
|
-
title: N.value.table.useDialog ? "" :
|
|
1390
|
+
title: N.value.table.useDialog ? "" : Un.value.title,
|
|
1416
1391
|
withCloseButton: !N.value.table.useDialog,
|
|
1417
1392
|
isCursorPointer: F.value,
|
|
1418
|
-
onClose:
|
|
1393
|
+
onClose: Wn
|
|
1419
1394
|
}, {
|
|
1420
1395
|
th: E(({ th: e }) => [m("div", { innerHTML: e }, null, 8, St)]),
|
|
1421
1396
|
td: E(({ td: e }) => [Be(w(e), 1)]),
|
|
@@ -1432,24 +1407,24 @@ var Ze = /* @__PURE__ */ e({ default: () => Ct }), Qe = ["id"], $e = ["id"], et
|
|
|
1432
1407
|
_: 2
|
|
1433
1408
|
}, [N.value.table.useDialog ? {
|
|
1434
1409
|
name: "title",
|
|
1435
|
-
fn: E(() => [Be(w(
|
|
1410
|
+
fn: E(() => [Be(w(Un.value.title), 1)]),
|
|
1436
1411
|
key: "0"
|
|
1437
1412
|
} : void 0, N.value.table.useDialog ? {
|
|
1438
1413
|
name: "actions",
|
|
1439
1414
|
fn: E(() => [m("button", {
|
|
1440
1415
|
tabindex: "0",
|
|
1441
1416
|
class: "vue-ui-user-options-button",
|
|
1442
|
-
onClick: t[1] ||= (e) =>
|
|
1417
|
+
onClick: t[1] ||= (e) => Mn(N.value.userOptions.callbacks.csv),
|
|
1443
1418
|
style: y({ cursor: F.value ? "pointer" : "default" })
|
|
1444
1419
|
}, [Ve(T(wt), {
|
|
1445
1420
|
name: "fileCsv",
|
|
1446
|
-
stroke:
|
|
1421
|
+
stroke: Un.value.props.color
|
|
1447
1422
|
}, null, 8, ["stroke"])], 4)]),
|
|
1448
1423
|
key: "1"
|
|
1449
1424
|
} : void 0]), 1040)) : f("", !0),
|
|
1450
|
-
C(e.$slots, "skeleton", {}, () => [T(
|
|
1425
|
+
C(e.$slots, "skeleton", {}, () => [T(Zt) ? (b(), d(be, { key: 0 })) : f("", !0)], !0)
|
|
1451
1426
|
], 46, Qe));
|
|
1452
1427
|
}
|
|
1453
|
-
}, [["__scopeId", "data-v-
|
|
1428
|
+
}, [["__scopeId", "data-v-519f368b"]]);
|
|
1454
1429
|
//#endregion
|
|
1455
1430
|
export { Ze as n, Ct as t };
|