vue-data-ui 3.20.11 → 3.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
- package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
- package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
- package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
- package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
- package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
- package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
- package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
- package/dist/{PackageVersion-eS823iMF.js → PackageVersion-DYLo3MRd.js} +1 -1
- package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
- package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
- package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
- package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
- package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
- package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
- package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
- package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
- package/dist/exposedLib-BJbE_A8E.js +19 -0
- package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
- package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
- package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
- package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
- package/dist/ssr.js +1366 -0
- package/dist/types/ssr.d.ts +128 -0
- package/dist/types/vue-data-ui.d.ts +135 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
- package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
- package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
- package/dist/utils.js +8 -8
- package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-D2dM3IQZ.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
- package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
- package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
- package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
- package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
- package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-BVCYywuS.js} +253 -253
- package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
- package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
- package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
- package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
- package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
- package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
- package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-lL0juBzN.js} +20 -20
- package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
- package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
- package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
- package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
- package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
- package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-BXfzMTXx.js} +57 -57
- package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-BpnC82m0.js} +32 -32
- package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
- package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
- package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
- package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
- package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
- package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
- package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
- package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-B9bdicir.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
- package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
- package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
- package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
- package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-3fJB4mfC.js} +45 -45
- package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
- package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
- package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
- package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
- package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
- package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
- package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
- package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-BgFO7NYF.js} +81 -81
- package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
- package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
- package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
- package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
- package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
- package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
- package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
- package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
- package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
- package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
- package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
- package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-R-aXpHvF.js} +78 -78
- package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
- package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
- package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
- package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-AlYvthQ6.js} +23 -23
- package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
- package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
- package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
- package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
- package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
- package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-B93iq1ZM.js} +445 -445
- package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
- package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
- package/package.json +5 -1
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
- package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
- package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
- package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
- package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
- package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
- package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
- package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
- package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
- package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
- package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
- package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
- package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
- package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
- package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
- package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
- package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
- package/dist/vue-ui-xy-omDIF90L.js +0 -4744
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { B as t, Bt as n,
|
|
2
|
+
import { B as t, Bt as n, G as r, H as i, Ht as a, I as ee, It as o, J as s, O as te, Ot as c, S as ne, Tt as re, X as ie, ct as ae, i as l, k as oe, q as se, r as ce, t as le, ut as ue, x as de, y as fe } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as pe } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
4
|
import { t as me } from "./useConfig-DnH7Pf_2.js";
|
|
5
|
-
import { t as he } from "./usePrinter-
|
|
5
|
+
import { t as he } from "./usePrinter-6n2MzVyV.js";
|
|
6
6
|
import { n as ge, t as _e } from "./BaseScanner-Dr2a1Msy.js";
|
|
7
7
|
import { t as ve } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as ye } from "./useNestedProp-
|
|
8
|
+
import { t as ye } from "./useNestedProp-DtcXIg7n.js";
|
|
9
9
|
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
-
import { t as Se } from "./img-
|
|
12
|
-
import { n as Ce } from "./Title-
|
|
13
|
-
import { t as we } from "./Shape-
|
|
11
|
+
import { t as Se } from "./img-C_RNNswI.js";
|
|
12
|
+
import { n as Ce } from "./Title-DH6G8_cZ.js";
|
|
13
|
+
import { t as we } from "./Shape-BxFtoF1z.js";
|
|
14
14
|
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
15
|
import { c as Ee } from "./canvas-lib-BOP_HS11.js";
|
|
16
16
|
import { t as De } from "./useResponsive-BfnK0KxU.js";
|
|
17
|
-
import { t as Oe } from "./BaseLegendToggle-
|
|
17
|
+
import { t as Oe } from "./BaseLegendToggle-BNRi408o.js";
|
|
18
18
|
import { t as ke } from "./A11yDataTable-BCbtxMU6.js";
|
|
19
19
|
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
20
|
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
-
import { t as Me } from "./Legend-
|
|
21
|
+
import { t as Me } from "./Legend-BLhREbj7.js";
|
|
22
22
|
import { t as Ne } from "./vue_ui_ridgeline-VM8_mx4J.js";
|
|
23
23
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Le, nextTick as Re, normalizeClass as ze, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Be, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as w, toRefs as Ue, unref as T, watch as E, watchEffect as We, withCtx as D } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-ridgeline.vue
|
|
@@ -137,14 +137,14 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
137
137
|
"copyAlt"
|
|
138
138
|
],
|
|
139
139
|
setup(e, { expose: Te, emit: Ge }) {
|
|
140
|
-
let Tt = g(() => import("./vue-ui-xy-
|
|
140
|
+
let Tt = g(() => import("./vue-ui-xy-DzuOBbPL.js").then((e) => e.n)), Et = g(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), Dt = g(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), Ot = g(() => import("./DataTable-DweDyHc1.js")), kt = g(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), At = g(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), jt = g(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), Mt = g(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_ridgeline: Nt } = me(), { isThemeValid: Pt, warnInvalidTheme: Ft } = be(), O = e, It = d({
|
|
141
141
|
get() {
|
|
142
142
|
return Array.isArray(z.value) && z.value.length > 0;
|
|
143
143
|
},
|
|
144
144
|
set(e) {
|
|
145
145
|
return e;
|
|
146
146
|
}
|
|
147
|
-
}), Lt = Ge, k = x(null), Rt = x(null), zt = x(null), A = He(null), j = He(null), Bt = x(null), Vt = x(null), Ht = x(0), Ut = x(0), Wt = x(0), M = x(
|
|
147
|
+
}), Lt = Ge, k = x(null), Rt = x(null), zt = x(null), A = He(null), j = He(null), Bt = x(null), Vt = x(null), Ht = x(0), Ut = x(0), Wt = x(0), M = x(i()), Gt = x(0), Kt = x(0), qt = x(512), N = x(null), P = x(null), Jt = x(null), Yt = x(0), Xt = x(null), Zt = x(null), Qt = x(null), $t = x(!1), en = x(!1), F = x(null), tn = x(!1);
|
|
148
148
|
function nn() {
|
|
149
149
|
let e = ye({
|
|
150
150
|
userConfig: O.config,
|
|
@@ -152,19 +152,19 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
152
152
|
}), t = e.theme;
|
|
153
153
|
if (!t) return e;
|
|
154
154
|
if (!Pt.value(e)) return Ft(e), e;
|
|
155
|
-
let
|
|
155
|
+
let r = ye({
|
|
156
156
|
userConfig: Ne[t] || O.config,
|
|
157
157
|
defaultConfig: e
|
|
158
|
-
}),
|
|
158
|
+
}), i = ye({
|
|
159
159
|
userConfig: O.config,
|
|
160
|
-
defaultConfig:
|
|
160
|
+
defaultConfig: r
|
|
161
161
|
});
|
|
162
162
|
return {
|
|
163
|
-
...
|
|
164
|
-
customPalette:
|
|
163
|
+
...i,
|
|
164
|
+
customPalette: i.customPalette.length ? i.customPalette : n[t] || c
|
|
165
165
|
};
|
|
166
166
|
}
|
|
167
|
-
let I = x(nn()), L = d(() => I.value.userOptions.useCursorPointer), rn = d(() =>
|
|
167
|
+
let I = x(nn()), L = d(() => I.value.userOptions.useCursorPointer), rn = d(() => a({
|
|
168
168
|
defaultConfig: {
|
|
169
169
|
userOptions: { show: !1 },
|
|
170
170
|
table: { show: !1 },
|
|
@@ -420,7 +420,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
420
420
|
}]
|
|
421
421
|
}
|
|
422
422
|
],
|
|
423
|
-
skeletonConfig:
|
|
423
|
+
skeletonConfig: a({
|
|
424
424
|
defaultConfig: I.value,
|
|
425
425
|
userConfig: rn.value
|
|
426
426
|
})
|
|
@@ -436,7 +436,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
436
436
|
return;
|
|
437
437
|
}
|
|
438
438
|
if (e.forEach((e, t) => {
|
|
439
|
-
|
|
439
|
+
ae({
|
|
440
440
|
datasetObject: e,
|
|
441
441
|
requiredAttributes: ["name", "datapoints"]
|
|
442
442
|
}).forEach((e) => {
|
|
@@ -448,7 +448,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
448
448
|
debug: ln.value
|
|
449
449
|
});
|
|
450
450
|
}), Array.isArray(e.datapoints) && e.datapoints.length && e.datapoints.forEach((e, n) => {
|
|
451
|
-
|
|
451
|
+
ae({
|
|
452
452
|
datasetObject: e,
|
|
453
453
|
requiredAttributes: ["name", "values"]
|
|
454
454
|
}).forEach((e) => {
|
|
@@ -461,7 +461,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
461
461
|
});
|
|
462
462
|
});
|
|
463
463
|
});
|
|
464
|
-
}), Kt.value = e.length, B.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight),
|
|
464
|
+
}), Kt.value = e.length, B.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), re(O.dataset) || (an.value = I.value.loading), I.value.responsive) {
|
|
465
465
|
let t = Ee(() => {
|
|
466
466
|
let { width: t, height: n } = De({
|
|
467
467
|
chart: k.value,
|
|
@@ -521,9 +521,9 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
521
521
|
let U = d(() => It.value ? (z.value || []).map((e) => ({
|
|
522
522
|
...e,
|
|
523
523
|
labelLen: In(e.name, I.value.style.chart.yAxis.labels.fontSize),
|
|
524
|
-
uid:
|
|
524
|
+
uid: i(),
|
|
525
525
|
datapoints: e.datapoints.map((e, t) => {
|
|
526
|
-
let n = e.color ? fe(e.color) : gn.value[t] ||
|
|
526
|
+
let n = e.color ? fe(e.color) : gn.value[t] || c[t] || c[t % c.length], r = o(e.name);
|
|
527
527
|
return {
|
|
528
528
|
...e,
|
|
529
529
|
color: n,
|
|
@@ -625,21 +625,21 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
625
625
|
}
|
|
626
626
|
let J = d(() => {
|
|
627
627
|
B.value;
|
|
628
|
-
let e = Math.max(...U.value.map((e) => e.labelLen)), t = Math.max(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), n = Math.min(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = W.value.padding.left + e + 16 + I.value.style.chart.yAxis.labels.offsetX,
|
|
629
|
-
function
|
|
630
|
-
return isNaN(e /
|
|
628
|
+
let e = Math.max(...U.value.map((e) => e.labelLen)), t = Math.max(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), n = Math.min(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = W.value.padding.left + e + 16 + I.value.style.chart.yAxis.labels.offsetX, a = (G.value.width - r) / On.value, o = Math.abs(Math.min(n, 0)), s = t + o;
|
|
629
|
+
function c(e) {
|
|
630
|
+
return isNaN(e / s) ? 0 : e / s;
|
|
631
631
|
}
|
|
632
632
|
return U.value.map((e, t) => {
|
|
633
|
-
let n = G.value.top + B.value * t,
|
|
633
|
+
let n = G.value.top + B.value * t, s = G.value.top + n + B.value * _n.value * (1 - c(o));
|
|
634
634
|
return {
|
|
635
635
|
...e,
|
|
636
636
|
label: {
|
|
637
637
|
x: r - I.value.style.chart.yAxis.labels.fontSize,
|
|
638
|
-
y:
|
|
638
|
+
y: s
|
|
639
639
|
},
|
|
640
640
|
datapoints: e.datapoints.map((e) => {
|
|
641
|
-
let t = e.values.map((t,
|
|
642
|
-
let
|
|
641
|
+
let t = e.values.map((t, i) => {
|
|
642
|
+
let ee = isNaN(t) || [
|
|
643
643
|
void 0,
|
|
644
644
|
null,
|
|
645
645
|
"NaN",
|
|
@@ -648,23 +648,23 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
648
648
|
-Infinity
|
|
649
649
|
].includes(t) ? 0 : t || 0;
|
|
650
650
|
return {
|
|
651
|
-
x: r +
|
|
652
|
-
y: G.value.top + n + B.value * _n.value * (1 -
|
|
651
|
+
x: r + a * i,
|
|
652
|
+
y: G.value.top + n + B.value * _n.value * (1 - c(ee + o)),
|
|
653
653
|
value: t,
|
|
654
654
|
isMaxPoint: t === Math.max(...e.values),
|
|
655
|
-
zero:
|
|
655
|
+
zero: s
|
|
656
656
|
};
|
|
657
|
-
}), ne = `${
|
|
657
|
+
}), ne = `${te(t, s, !1, !1)}`, re = `M ${r},${s} ${ee(t)} ${t.at(-1).x},${s}`, ie = `M ${r},${s} ${t.at(-1).x},${s}`, ae = `M ${oe(t)}`, l = `M ${ee(t)}`, se = ue(I.value.style.chart.areas.smooth ? ae : l);
|
|
658
658
|
return {
|
|
659
659
|
...e,
|
|
660
|
-
uid:
|
|
660
|
+
uid: i(),
|
|
661
661
|
plots: t,
|
|
662
662
|
smoothPath: ne,
|
|
663
663
|
straightPath: re,
|
|
664
664
|
zeroPath: ie,
|
|
665
|
-
pathLength:
|
|
666
|
-
smoothPathRidge:
|
|
667
|
-
straightPathRidge:
|
|
665
|
+
pathLength: se,
|
|
666
|
+
smoothPathRidge: ae,
|
|
667
|
+
straightPathRidge: l
|
|
668
668
|
};
|
|
669
669
|
}).filter((e) => !Y.value.includes(e.id))
|
|
670
670
|
};
|
|
@@ -674,7 +674,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
674
674
|
let t = /* @__PURE__ */ new Map();
|
|
675
675
|
return e.forEach((e) => {
|
|
676
676
|
e.datapoints.forEach((e, n) => {
|
|
677
|
-
let r =
|
|
677
|
+
let r = o(e.name);
|
|
678
678
|
t.has(r) || t.set(r, {
|
|
679
679
|
id: r,
|
|
680
680
|
name: e.name,
|
|
@@ -707,7 +707,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
707
707
|
useArea: !0,
|
|
708
708
|
smooth: I.value.style.chart.areas.smooth,
|
|
709
709
|
series: e.values
|
|
710
|
-
})), P.value = e, Bn.value =
|
|
710
|
+
})), P.value = e, Bn.value = se({
|
|
711
711
|
...I.value.style.chart.dialog.xyChart,
|
|
712
712
|
responsive: !0,
|
|
713
713
|
chart: {
|
|
@@ -789,8 +789,8 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
789
789
|
});
|
|
790
790
|
function Yn(e = null) {
|
|
791
791
|
Re(() => {
|
|
792
|
-
let t = [[I.value.table.columnNames.series, ...K.map((e) => [e.text])], ...Jn.value.body.map((e, t) => [e[0].name, ...e.slice(1)])], n =
|
|
793
|
-
e ? e(n) :
|
|
792
|
+
let t = [[I.value.table.columnNames.series, ...K.map((e) => [e.text])], ...Jn.value.body.map((e, t) => [e[0].name, ...e.slice(1)])], n = ne([[I.value.style.chart.title.text], [I.value.style.chart.title.subtitle.text]].concat(t));
|
|
793
|
+
e ? e(n) : s({
|
|
794
794
|
csvContent: n,
|
|
795
795
|
title: I.value.style.chart.title.text || "vue-ui-ridgeline"
|
|
796
796
|
});
|
|
@@ -945,9 +945,9 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
945
945
|
}
|
|
946
946
|
function ur(e) {
|
|
947
947
|
if (!V.value || Gn.value || document.activeElement !== V.value || !J.value.length) return;
|
|
948
|
-
let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ",
|
|
949
|
-
if (!t && !n && !r && !i && !a && !
|
|
950
|
-
if (e.preventDefault(), e.stopPropagation(),
|
|
948
|
+
let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ", ee = e.key === "Escape";
|
|
949
|
+
if (!t && !n && !r && !i && !a && !ee) return;
|
|
950
|
+
if (e.preventDefault(), e.stopPropagation(), ee) {
|
|
951
951
|
pr();
|
|
952
952
|
return;
|
|
953
953
|
}
|
|
@@ -966,10 +966,10 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
966
966
|
return;
|
|
967
967
|
}
|
|
968
968
|
if (!q.value.length) return;
|
|
969
|
-
let
|
|
970
|
-
|
|
971
|
-
let
|
|
972
|
-
|
|
969
|
+
let o = N.value?.index ?? null;
|
|
970
|
+
o = o === null ? i ? 0 : q.value.length - 1 : fr(o + (i ? 1 : -1));
|
|
971
|
+
let s = q.value[o];
|
|
972
|
+
s && jn(s);
|
|
973
973
|
}
|
|
974
974
|
function dr(e) {
|
|
975
975
|
let t = J.value.length;
|
|
@@ -1220,7 +1220,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1220
1220
|
h("div", Je, [(b(), m("svg", {
|
|
1221
1221
|
ref_key: "svgRef",
|
|
1222
1222
|
ref: V,
|
|
1223
|
-
xmlns: T(
|
|
1223
|
+
xmlns: T(le),
|
|
1224
1224
|
"aria-describedby": `chart-instructions-${M.value}`,
|
|
1225
1225
|
class: ze({
|
|
1226
1226
|
"vue-data-ui-fullscreen--on": Z.value,
|
|
@@ -1342,7 +1342,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1342
1342
|
y1: e.y,
|
|
1343
1343
|
x2: e.x,
|
|
1344
1344
|
y2: e.zero,
|
|
1345
|
-
stroke: I.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? T(
|
|
1345
|
+
stroke: I.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? T(ce)(t.color) : I.value.style.chart.areas.maxPoint.stroke,
|
|
1346
1346
|
"stroke-width": I.value.style.chart.areas.maxPoint.strokeWidth,
|
|
1347
1347
|
"stroke-linecap": "round",
|
|
1348
1348
|
"stroke-dasharray": I.value.style.chart.areas.maxPoint.strokeDasharray
|
|
@@ -1443,14 +1443,14 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1443
1443
|
style: { pointerEvents: "none" }
|
|
1444
1444
|
}, null, 8, yt)) : p("", !0), N.value && N.value.index === n ? (b(), m("text", {
|
|
1445
1445
|
key: 1,
|
|
1446
|
-
x: Fn(t.x, T(l)(I.value.style.chart.selector.labels.formatter, t.value, T(
|
|
1446
|
+
x: Fn(t.x, T(l)(I.value.style.chart.selector.labels.formatter, t.value, T(r)({
|
|
1447
1447
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1448
1448
|
v: t.value,
|
|
1449
1449
|
s: I.value.style.chart.xAxis.labels.suffix,
|
|
1450
1450
|
r: I.value.style.chart.selector.labels.rounding
|
|
1451
1451
|
})), I.value.style.chart.selector.labels.fontSize) ? t.x - I.value.style.chart.selector.labels.fontSize / 2 : t.x + I.value.style.chart.selector.labels.fontSize / 2,
|
|
1452
1452
|
y: t.y + I.value.style.chart.selector.labels.fontSize / 3,
|
|
1453
|
-
"text-anchor": Fn(t.x, T(l)(I.value.style.chart.selector.labels.formatter, t.value, T(
|
|
1453
|
+
"text-anchor": Fn(t.x, T(l)(I.value.style.chart.selector.labels.formatter, t.value, T(r)({
|
|
1454
1454
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1455
1455
|
v: t.value,
|
|
1456
1456
|
s: I.value.style.chart.xAxis.labels.suffix,
|
|
@@ -1459,7 +1459,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1459
1459
|
"font-size": I.value.style.chart.selector.labels.fontSize,
|
|
1460
1460
|
fill: I.value.style.chart.selector.labels.color,
|
|
1461
1461
|
style: { pointerEvents: "none" }
|
|
1462
|
-
}, w(T(l)(I.value.style.chart.selector.labels.formatter, t.value, T(
|
|
1462
|
+
}, w(T(l)(I.value.style.chart.selector.labels.formatter, t.value, T(r)({
|
|
1463
1463
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1464
1464
|
v: t.value,
|
|
1465
1465
|
s: I.value.style.chart.xAxis.labels.suffix,
|
|
@@ -1549,7 +1549,7 @@ var Ge = /* @__PURE__ */ e({ default: () => Tt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1549
1549
|
onClose: $n
|
|
1550
1550
|
}, {
|
|
1551
1551
|
th: D(({ th: e }) => [h("div", { innerHTML: e }, null, 8, wt)]),
|
|
1552
|
-
td: D(({ td: e }) => [Fe(w(e.name ? e.name : T(l)(I.value.style.chart.selector.labels.formatter, e, T(
|
|
1552
|
+
td: D(({ td: e }) => [Fe(w(e.name ? e.name : T(l)(I.value.style.chart.selector.labels.formatter, e, T(r)({
|
|
1553
1553
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1554
1554
|
v: e,
|
|
1555
1555
|
s: I.value.style.chart.xAxis.labels.suffix,
|