vue-data-ui 3.22.6 → 3.22.8
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-Ds4xmpiQ.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
- package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
- package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BO4VFL8O.js → UserOptions-16uF1ayB.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_y5qDdm.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
- package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-CUAlQvAQ.js → render-common-CLn1VXJ9.js} +20 -20
- 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/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +23 -23
- package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/{vue-ui-3d-bar-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
- package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/{vue-ui-chestnut-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
- package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
- package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
- package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
- package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
- package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
- package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
- package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
- package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
- package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
- package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
- package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
- package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
- package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
- package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
- package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
- package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
- package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
- package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
- package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
- package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
- package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
- package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
- package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
- package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
- package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
- package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
- package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
- package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
- package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
- package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
- package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
- package/package.json +1 -1
- package/dist/exposedLib-CjwriUaG.js +0 -19
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
- package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
- package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
- package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
- package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
- package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
- package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
- package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
- package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
- package/dist/vue-ui-horizontal-bar-CwB4sc6M.js +0 -1683
- package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
- package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
- package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
- package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
- package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
- package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
- package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
- package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
- package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
- package/dist/vue-ui-stackline-C0NHBUaE.js +0 -2416
- package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
- package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
- package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, G as n, Gt as r, J as i, Kt as a, M as o, Mt as s, S as c, T as ee, U as te, Ut as ne, Wt as re, Z as ie, b as ae, dt as oe, h as se, i as ce, kt as le, ot as ue, pt as de, t as fe, yt as pe, z as me } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as he } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as ge } from "./usePrinter-
|
|
4
|
+
import { t as ge } from "./usePrinter-CqqHmnBI.js";
|
|
5
5
|
import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ye } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as be } from "./useNestedProp-
|
|
7
|
+
import { t as be } from "./useNestedProp-DIuuzG1r.js";
|
|
8
8
|
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as Se } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
10
|
-
import { t as Ce } from "./img-
|
|
11
|
-
import { n as we } from "./Title-
|
|
12
|
-
import { t as Te } from "./Shape-
|
|
10
|
+
import { t as Ce } from "./img-DnP3eXuv.js";
|
|
11
|
+
import { n as we } from "./Title-CcNiYzEo.js";
|
|
12
|
+
import { t as Te } from "./Shape-UpH0a4Ur.js";
|
|
13
13
|
import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { c as De } from "./canvas-lib-BOP_HS11.js";
|
|
15
15
|
import { t as Oe } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
-
import { t as ke } from "./BaseLegendToggle-
|
|
16
|
+
import { t as ke } from "./BaseLegendToggle-DtQ8vyfr.js";
|
|
17
17
|
import { t as Ae } from "./A11yDataTable-DdRsVULz.js";
|
|
18
18
|
import { t as je } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as Me } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as Ne } from "./Legend-
|
|
20
|
+
import { t as Ne } from "./Legend-ROt6ugzW.js";
|
|
21
21
|
import { t as Pe } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
|
|
22
22
|
import { Fragment as l, Teleport as Fe, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as ze, nextTick as Be, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Ve, onMounted as He, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ue, shallowRef as We, toDisplayString as w, toRefs as Ge, unref as T, watch as Ke, watchEffect as qe, withCtx as E } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-parallel-coordinate-plot.vue
|
|
@@ -128,7 +128,7 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
128
128
|
"copyAlt"
|
|
129
129
|
],
|
|
130
130
|
setup(e, { expose: Ee, emit: Je }) {
|
|
131
|
-
let bt = h(() => import("./Tooltip-
|
|
131
|
+
let bt = h(() => import("./Tooltip-CxOrWlFy.js")), xt = h(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), St = h(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Ct = h(() => import("./DataTable-D9NvewTT.js")), wt = h(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Tt = h(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), Et = h(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), Dt = h(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: Ot } = he(), { isThemeValid: kt, warnInvalidTheme: At } = xe(), D = e, jt = u({
|
|
132
132
|
get() {
|
|
133
133
|
return !!D.dataset && D.dataset.length;
|
|
134
134
|
},
|
|
@@ -138,11 +138,11 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
138
138
|
}), Mt = x(0), O = x(null), Nt = x(null), Pt = x(null), Ft = x(null), It = x(null), Lt = x(0), Rt = x(0), zt = x(0), Bt = x(!1), k = x(null), Vt = x(null), Ht = x(!1), Ut = x(!1), Wt = x(null), A = x(null), Gt = x({
|
|
139
139
|
x: 0,
|
|
140
140
|
y: 0
|
|
141
|
-
}), Kt = x("pointer"), qt = x(!1), j = x(
|
|
141
|
+
}), Kt = x("pointer"), qt = x(!1), j = x(n()), M = x(!1);
|
|
142
142
|
function Jt(e) {
|
|
143
143
|
M.value = e, Mt.value += 1;
|
|
144
144
|
}
|
|
145
|
-
let N = x(tn()), P = u(() => N.value.userOptions.useCursorPointer), Yt = u(() =>
|
|
145
|
+
let N = x(tn()), P = u(() => N.value.userOptions.useCursorPointer), Yt = u(() => a({
|
|
146
146
|
defaultConfig: {
|
|
147
147
|
useCssAnimation: !1,
|
|
148
148
|
userOptions: { show: !1 },
|
|
@@ -217,7 +217,7 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
217
217
|
}]
|
|
218
218
|
}
|
|
219
219
|
],
|
|
220
|
-
skeletonConfig:
|
|
220
|
+
skeletonConfig: a({
|
|
221
221
|
defaultConfig: N.value,
|
|
222
222
|
userConfig: Yt.value
|
|
223
223
|
})
|
|
@@ -226,19 +226,19 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
226
226
|
let e = be({
|
|
227
227
|
userConfig: D.config,
|
|
228
228
|
defaultConfig: Ot
|
|
229
|
-
}),
|
|
230
|
-
if (!
|
|
229
|
+
}), t = e.theme;
|
|
230
|
+
if (!t) return e;
|
|
231
231
|
if (!kt.value(e)) return At(e), e;
|
|
232
|
-
let
|
|
233
|
-
userConfig: Pe[
|
|
232
|
+
let n = be({
|
|
233
|
+
userConfig: Pe[t] || D.config,
|
|
234
234
|
defaultConfig: e
|
|
235
|
-
}),
|
|
235
|
+
}), r = be({
|
|
236
236
|
userConfig: D.config,
|
|
237
|
-
defaultConfig:
|
|
237
|
+
defaultConfig: n
|
|
238
238
|
});
|
|
239
239
|
return {
|
|
240
|
-
...
|
|
241
|
-
customPalette:
|
|
240
|
+
...r,
|
|
241
|
+
customPalette: r.customPalette.length ? r.customPalette : re[t] || s
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
Ke(() => D.config, (e) => {
|
|
@@ -252,24 +252,24 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
252
252
|
});
|
|
253
253
|
let nn = u(() => !!N.value.debug);
|
|
254
254
|
function rn() {
|
|
255
|
-
if (
|
|
255
|
+
if (le(D.dataset) ? (t({
|
|
256
256
|
componentName: "VueUiParallelCoordinatePlot",
|
|
257
257
|
type: "dataset",
|
|
258
258
|
debug: nn.value
|
|
259
|
-
}), Zt.value = !0) : D.dataset.forEach((e,
|
|
260
|
-
|
|
259
|
+
}), Zt.value = !0) : D.dataset.forEach((e, n) => {
|
|
260
|
+
oe({
|
|
261
261
|
datasetObject: e,
|
|
262
262
|
requiredAttributes: ["name", "series"]
|
|
263
263
|
}).forEach((e) => {
|
|
264
|
-
jt.value = !1,
|
|
264
|
+
jt.value = !1, t({
|
|
265
265
|
componentName: "VueUiParallelCoordinatePlot",
|
|
266
266
|
type: "datasetSerieAttribute",
|
|
267
267
|
property: e,
|
|
268
|
-
index:
|
|
268
|
+
index: n,
|
|
269
269
|
debug: nn.value
|
|
270
270
|
});
|
|
271
271
|
});
|
|
272
|
-
}),
|
|
272
|
+
}), le(D.dataset) || (Zt.value = N.value.loading), N.value.responsive) {
|
|
273
273
|
let e = De(() => {
|
|
274
274
|
let { width: e, height: t } = Oe({
|
|
275
275
|
chart: O.value,
|
|
@@ -279,25 +279,25 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
279
279
|
noTitle: It.value
|
|
280
280
|
});
|
|
281
281
|
requestAnimationFrame(() => {
|
|
282
|
-
z.value.width = e, z.value.height = t - 12, N.value.responsiveProportionalSizing ? (z.value.plotSize =
|
|
282
|
+
z.value.width = e, z.value.height = t - 12, N.value.responsiveProportionalSizing ? (z.value.plotSize = r({
|
|
283
283
|
relator: Math.min(e, t),
|
|
284
284
|
adjuster: 600,
|
|
285
285
|
source: N.value.style.chart.plots.radius,
|
|
286
286
|
threshold: 2,
|
|
287
287
|
fallback: 2
|
|
288
|
-
}), z.value.ticksFontSize =
|
|
288
|
+
}), z.value.ticksFontSize = r({
|
|
289
289
|
relator: Math.min(e, t),
|
|
290
290
|
adjuster: 600,
|
|
291
291
|
source: N.value.style.chart.yAxis.labels.ticks.fontSize,
|
|
292
292
|
threshold: 10,
|
|
293
293
|
fallback: 10
|
|
294
|
-
}), z.value.datapointFontSize =
|
|
294
|
+
}), z.value.datapointFontSize = r({
|
|
295
295
|
relator: Math.min(e, t),
|
|
296
296
|
adjuster: 600,
|
|
297
297
|
source: N.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
298
298
|
threshold: 10,
|
|
299
299
|
fallback: 10
|
|
300
|
-
}), z.value.axisNameFontSize =
|
|
300
|
+
}), z.value.axisNameFontSize = r({
|
|
301
301
|
relator: Math.min(e, t),
|
|
302
302
|
adjuster: 600,
|
|
303
303
|
source: N.value.style.chart.yAxis.labels.axisNamesFontSize,
|
|
@@ -346,7 +346,7 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
346
346
|
right: a - t,
|
|
347
347
|
bottom: i - n - z.value.datapointFontSize
|
|
348
348
|
};
|
|
349
|
-
}), pn = u(() =>
|
|
349
|
+
}), pn = u(() => c(N.value.customPalette)), H = x({
|
|
350
350
|
dataLabels: { show: N.value.style.chart.yAxis.labels.datapoints.show },
|
|
351
351
|
showTable: N.value.table.show,
|
|
352
352
|
showTooltip: N.value.style.chart.tooltip.show
|
|
@@ -367,18 +367,18 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
367
367
|
function hn(e) {
|
|
368
368
|
U.value.includes(e) ? U.value = U.value.filter((t) => t !== e) : U.value.push(e), An("selectLegend", q.value);
|
|
369
369
|
}
|
|
370
|
-
let W = u(() => Xt.value.map((e,
|
|
371
|
-
let r =
|
|
370
|
+
let W = u(() => Xt.value.map((e, t) => {
|
|
371
|
+
let r = ae(e.color) || pn.value[t] || s[t] || s[t % s.length];
|
|
372
372
|
return {
|
|
373
373
|
...e,
|
|
374
374
|
series: e.series.map((e) => ({
|
|
375
375
|
...e,
|
|
376
|
-
id:
|
|
376
|
+
id: n(),
|
|
377
377
|
color: r
|
|
378
378
|
})),
|
|
379
|
-
seriesIndex:
|
|
379
|
+
seriesIndex: t,
|
|
380
380
|
color: r,
|
|
381
|
-
id:
|
|
381
|
+
id: n(),
|
|
382
382
|
shape: e.shape || "circle"
|
|
383
383
|
};
|
|
384
384
|
}));
|
|
@@ -409,7 +409,7 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
409
409
|
})), bn = 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 / bn.value), q = u(() => W.value.filter((e) => !U.value.includes(e.id))), J = u(() => {
|
|
410
410
|
let e = [];
|
|
411
411
|
for (let t = 0; t < bn.value; t += 1) {
|
|
412
|
-
let n = Math.min(...q.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...q.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i =
|
|
412
|
+
let n = Math.min(...q.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...q.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = se(r === n ? n / 4 : n, r === n ? r * 2 : r, N.value.style.chart.yAxis.scaleTicks), a = i.ticks.map((e, n) => {
|
|
413
413
|
let r = i.min < 0 ? e + Math.abs(i.min) : e - Math.abs(i.min), a = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
414
414
|
return {
|
|
415
415
|
y: V.value.bottom - V.value.height * (r / a),
|
|
@@ -446,7 +446,7 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
446
446
|
})).map((e) => ({
|
|
447
447
|
...e,
|
|
448
448
|
series: e.series.map((e) => {
|
|
449
|
-
let t =
|
|
449
|
+
let t = me(e.datapoints), n = o(e.datapoints, .12), r = de(N.value.style.chart.lines.smooth ? `M ${n}` : `M ${t}`);
|
|
450
450
|
return {
|
|
451
451
|
...e,
|
|
452
452
|
smoothPath: n,
|
|
@@ -464,7 +464,7 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
464
464
|
key: `${t}_${r}`
|
|
465
465
|
}))));
|
|
466
466
|
function xn({ value: e, index: t, datapoint: n }) {
|
|
467
|
-
return
|
|
467
|
+
return ce(N.value.style.chart.yAxis.labels.formatters[t] || null, e, i({
|
|
468
468
|
p: N.value.style.chart.yAxis.labels.prefixes[t] || "",
|
|
469
469
|
v: e,
|
|
470
470
|
s: N.value.style.chart.yAxis.labels.suffixes[t] || "",
|
|
@@ -490,44 +490,44 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
490
490
|
if (!I.value || !e?.datapoints?.length) return;
|
|
491
491
|
let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
|
|
492
492
|
if (!t) return;
|
|
493
|
-
let n =
|
|
493
|
+
let n = ne(t.x, t.y, I.value);
|
|
494
494
|
n && (Gt.value = n);
|
|
495
495
|
}
|
|
496
|
-
function En({ shape: e, serieName: t, serie: n, relativeIndex: r, seriesIndex:
|
|
496
|
+
function En({ shape: e, serieName: t, serie: n, relativeIndex: r, seriesIndex: a, S: o, triggerMode: s = "pointer" }) {
|
|
497
497
|
N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
498
498
|
datapoint: {
|
|
499
499
|
...n,
|
|
500
500
|
shape: e
|
|
501
501
|
},
|
|
502
|
-
seriesIndex:
|
|
503
|
-
}), Kt.value =
|
|
502
|
+
seriesIndex: o
|
|
503
|
+
}), Kt.value = s, Sn.value = {
|
|
504
504
|
config: N.value,
|
|
505
505
|
datapoint: n,
|
|
506
506
|
serie: n,
|
|
507
507
|
relativeIndex: r,
|
|
508
|
-
seriesIndex:
|
|
508
|
+
seriesIndex: a,
|
|
509
509
|
series: W.value,
|
|
510
510
|
scales: J.value
|
|
511
511
|
}, Cn.value = !0, Z.value = n.id;
|
|
512
|
-
let
|
|
513
|
-
|
|
512
|
+
let c = "", ee = N.value.style.chart.tooltip.customFormat;
|
|
513
|
+
pe(ee) && ue(() => ee({
|
|
514
514
|
serie: n,
|
|
515
515
|
seriesIndex: n.seriesIndex,
|
|
516
516
|
series: W.value,
|
|
517
517
|
config: N.value,
|
|
518
518
|
scales: J.value
|
|
519
|
-
})) ? wn.value =
|
|
519
|
+
})) ? wn.value = ee({
|
|
520
520
|
serie: n,
|
|
521
521
|
seriesIndex: n.seriesIndex,
|
|
522
522
|
series: W.value,
|
|
523
523
|
config: N.value,
|
|
524
524
|
scales: J.value
|
|
525
|
-
}) : (
|
|
526
|
-
|
|
525
|
+
}) : (c += `<div style="width:100%;text-align:center;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t ? t + " - " : ""}${n.name}</div>`, J.value.map((e) => e.name).forEach((e, t) => {
|
|
526
|
+
c += `
|
|
527
527
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
528
528
|
<span>${e}: </span>
|
|
529
529
|
<span>
|
|
530
|
-
${
|
|
530
|
+
${ce(N.value.style.chart.yAxis.labels.formatters[t] || null, n.datapoints[t].value, i({
|
|
531
531
|
p: N.value.style.chart.yAxis.labels.prefixes[t] || "",
|
|
532
532
|
v: n.datapoints[t].value,
|
|
533
533
|
s: N.value.style.chart.yAxis.labels.suffixes[t] || "",
|
|
@@ -538,8 +538,8 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
538
538
|
})}
|
|
539
539
|
</span>
|
|
540
540
|
</div>
|
|
541
|
-
`, N.value.style.chart.comments.showInTooltip && n.datapoints[t].comment && (
|
|
542
|
-
}), wn.value = `<div>${
|
|
541
|
+
`, N.value.style.chart.comments.showInTooltip && n.datapoints[t].comment && (c += `<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>`);
|
|
542
|
+
}), wn.value = `<div>${c}</div>`), s === "keyboard" && Be(() => {
|
|
543
543
|
Tn(n);
|
|
544
544
|
});
|
|
545
545
|
}
|
|
@@ -580,8 +580,8 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
580
580
|
[N.value.style.chart.title.text],
|
|
581
581
|
[N.value.style.chart.title.subtitle.text],
|
|
582
582
|
[""]
|
|
583
|
-
], n = On.value.head, r = On.value.body, i =
|
|
584
|
-
e ? e(i) :
|
|
583
|
+
], n = On.value.head, r = On.value.body, i = ee(t.concat([n]).concat(r));
|
|
584
|
+
e ? e(i) : ie({
|
|
585
585
|
csvContent: i,
|
|
586
586
|
title: N.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
|
|
587
587
|
});
|
|
@@ -1013,7 +1013,7 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1013
1013
|
m("div", Qe, [(b(), p("svg", {
|
|
1014
1014
|
ref_key: "svgRef",
|
|
1015
1015
|
ref: I,
|
|
1016
|
-
xmlns: T(
|
|
1016
|
+
xmlns: T(fe),
|
|
1017
1017
|
"aria-describedby": `chart-instructions-${j.value}`,
|
|
1018
1018
|
class: _({
|
|
1019
1019
|
"vue-data-ui-fullscreen--on": M.value,
|
|
@@ -1075,7 +1075,7 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1075
1075
|
"font-weight": N.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
1076
1076
|
"text-anchor": N.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : N.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
1077
1077
|
transform: `translate(${V.value.left + K.value * t + K.value / 2}, ${B.value - z.value.axisNameFontSize}), rotate(${N.value.style.chart.yAxis.labels.axisNamesRotation})`,
|
|
1078
|
-
innerHTML: T(
|
|
1078
|
+
innerHTML: T(te)({
|
|
1079
1079
|
content: String(e.name),
|
|
1080
1080
|
fontSize: z.value.axisNameFontSize,
|
|
1081
1081
|
fill: N.value.style.chart.yAxis.labels.axisNamesColor,
|
|
@@ -1326,7 +1326,7 @@ var Je = /* @__PURE__ */ e({ default: () => bt }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1326
1326
|
parent: O.value,
|
|
1327
1327
|
content: wn.value,
|
|
1328
1328
|
isFullscreen: M.value,
|
|
1329
|
-
isCustom: T(
|
|
1329
|
+
isCustom: T(pe)(N.value.style.chart.tooltip.customFormat),
|
|
1330
1330
|
smooth: N.value.style.chart.tooltip.smooth,
|
|
1331
1331
|
backdropFilter: N.value.style.chart.tooltip.backdropFilter,
|
|
1332
1332
|
smoothForce: N.value.style.chart.tooltip.smoothForce,
|