vue-data-ui 3.23.1 → 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/{PackageVersion-D6d8SCp9.js → PackageVersion-DXU7nRr9.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-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/{package-KvlL5CqE.js → package-bsfpO6y3.js} +1 -1
- package/dist/{render-common-oDYGTc5P.js → render-common-C0PEe9so.js} +1 -1
- 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 +6 -0
- package/dist/{useSvgExport-DH-FfcqQ.js → useChartExport-DNiwdPmb.js} +47 -1
- package/dist/{useConfig-D3scuR88.js → useConfig-DlNpz6P8.js} +6 -0
- package/dist/{useObjectBindings-Brg8mm5J.js → useObjectBindings-BeWS5v0i.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-DGWDPCwC.js → vue-data-ui-BNxtW8pK.js} +68 -68
- package/dist/vue-data-ui.js +69 -69
- package/dist/{vue-ui-3d-bar-C_Su9fve.js → vue-ui-3d-bar-BYumVxZG.js} +164 -182
- package/dist/{vue-ui-accordion-BxGriZik.js → vue-ui-accordion-DegI2lzR.js} +1 -1
- package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
- package/dist/{vue-ui-annotator-CCtnM8Rv.js → vue-ui-annotator-DfG79D4r.js} +2 -2
- package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
- package/dist/{vue-ui-bump-CcdzJZ9n.js → vue-ui-bump-mKysp0KO.js} +213 -263
- package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
- package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
- package/dist/vue-ui-chestnut-Dpklo-VE.js +2014 -0
- 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-BqHr0n1Z.js → vue-ui-cursor-DIt7vOwc.js} +2 -2
- package/dist/{vue-ui-dag-jMLVoQkb.js → vue-ui-dag-Cl0WdSLb.js} +492 -515
- package/dist/{vue-ui-dashboard-DVAUFETR.js → vue-ui-dashboard-BwxRLR4E.js} +65 -65
- package/dist/{vue-ui-digits-Dy4gG6qm.js → vue-ui-digits-Bp1OH_t1.js} +2 -2
- package/dist/{vue-ui-donut-C0cWRLbU.js → vue-ui-donut-BZUT7QYt.js} +333 -359
- package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
- package/dist/{vue-ui-donut-CYpxGBhl.js → vue-ui-donut-y6tOAVyY.js} +2 -2
- package/dist/{vue-ui-dumbbell-DxVbRjKR.js → vue-ui-dumbbell-BtKZcAOV.js} +378 -428
- package/dist/{vue-ui-flow-DWaZF4FS.js → vue-ui-flow-BF_cndsv.js} +182 -207
- package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
- package/dist/{vue-ui-galaxy-CWBP9oH9.js → vue-ui-galaxy-ClWaSOmM.js} +308 -334
- package/dist/vue-ui-gauge-CJstpakj.js +932 -0
- package/dist/{vue-ui-geo-ZA7CBy8f.js → vue-ui-geo-B1tOD3HC.js} +362 -413
- package/dist/{vue-ui-gizmo-SQCou0bQ.js → vue-ui-gizmo-foatosAv.js} +2 -2
- package/dist/{vue-ui-heatmap-CHd9gs_p.js → vue-ui-heatmap-By33A9dZ.js} +292 -315
- package/dist/vue-ui-hill-ewqkK9s5.js +1745 -0
- package/dist/{vue-ui-history-plot-BwnlC1mx.js → vue-ui-history-plot-FEIwXlsz.js} +258 -283
- package/dist/{vue-ui-horizontal-bar-BUar2HUH.js → vue-ui-horizontal-bar-D51sAeVu.js} +273 -298
- package/dist/{vue-ui-kpi-BF_9WWoo.js → vue-ui-kpi-y3EkgqJQ.js} +2 -2
- package/dist/{vue-ui-mini-loader-CvfukjXi.js → vue-ui-mini-loader-CtTewZJG.js} +1 -1
- package/dist/vue-ui-molecule-paWHp18h.js +935 -0
- package/dist/{vue-ui-mood-radar-_zpbmvJs.js → vue-ui-mood-radar-wBRTZI5k.js} +337 -386
- package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
- package/dist/{vue-ui-onion-CB5RYIy5.js → vue-ui-onion-B2Q2n55x.js} +257 -282
- package/dist/{vue-ui-parallel-coordinate-plot-BUwt-apg.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +190 -215
- package/dist/{vue-ui-quadrant-CoROD3er.js → vue-ui-quadrant-DOPuejDE.js} +213 -243
- package/dist/{vue-ui-quick-chart-BcH7eY4-.js → vue-ui-quick-chart-CgHX9njq.js} +52 -61
- package/dist/{vue-ui-radar-DGbaXGme.js → vue-ui-radar-BLvG-_zE.js} +343 -370
- package/dist/{vue-ui-rating-Bo3zD3yW.js → vue-ui-rating-BDVSVFA0.js} +8 -9
- package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
- package/dist/{vue-ui-ridgeline-BCaGcyfk.js → vue-ui-ridgeline-BbrnXvBo.js} +267 -317
- package/dist/{vue-ui-rings-BJUBn8_b.js → vue-ui-rings-B3cKfMWy.js} +407 -432
- package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
- package/dist/{vue-ui-skeleton-EeJcGbCo.js → vue-ui-skeleton-DwKxd7fk.js} +2 -2
- package/dist/{vue-ui-smiley-D0gibt5c.js → vue-ui-smiley-5iHJeTPc.js} +62 -63
- package/dist/{vue-ui-spark-trend-BRoQ7JpQ.js → vue-ui-spark-trend-MpvrV5Wd.js} +2 -2
- package/dist/{vue-ui-sparkbar-DFp2k7-7.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
- package/dist/{vue-ui-sparkgauge-D0Bq85Hs.js → vue-ui-sparkgauge-B-BYVv4p.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-BPln7v63.js → vue-ui-sparkhistogram-D7D4NHdi.js} +7 -8
- package/dist/{vue-ui-sparkline-C6Q45Dqp.js → vue-ui-sparkline-RbeYtLWp.js} +6 -7
- package/dist/{vue-ui-sparkstackbar-CjK4bcQg.js → vue-ui-sparkstackbar-ohN7mtbg.js} +191 -195
- package/dist/{vue-ui-stackbar-Ca8EPf3e.js → vue-ui-stackbar-D2bpvQYt.js} +524 -549
- package/dist/{vue-ui-stackline-Pz5WWlWT.js → vue-ui-stackline-Bo1oE8yq.js} +570 -595
- package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
- package/dist/{vue-ui-table-Bjg-ujJu.js → vue-ui-table-3PPiJPV6.js} +3 -3
- package/dist/{vue-ui-table-heatmap-ljeYW8Wc.js → vue-ui-table-heatmap-D1bbPXKG.js} +48 -49
- package/dist/{vue-ui-table-sparkline-iRFmtK5S.js → vue-ui-table-sparkline-l1cUX3ny.js} +7 -9
- package/dist/{vue-ui-thermometer-D8uiOaeA.js → vue-ui-thermometer-DltAELO7.js} +240 -261
- package/dist/{vue-ui-timer-CYw983oL.js → vue-ui-timer-DWNdx47q.js} +2 -2
- package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
- package/dist/{vue-ui-treemap-h4VbnqPA.js → vue-ui-treemap-DjNlnOG5.js} +498 -524
- package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
- package/dist/{vue-ui-wheel-tLvJadk5.js → vue-ui-wheel-DrefGLos.js} +188 -209
- package/dist/{vue-ui-word-cloud-BjpGSsod.js → vue-ui-word-cloud-CQZ8AyOi.js} +375 -398
- package/dist/{vue-ui-world-B4fCS3jN.js → vue-ui-world-Y7a3VEjq.js} +428 -453
- package/dist/{vue-ui-xy-7ZT9IRD8.js → vue-ui-xy-CJcdttNL.js} +857 -883
- package/dist/{vue-ui-xy-gyNS0yH0.js → vue-ui-xy-DPxtkYGc.js} +2 -2
- package/dist/{vue-ui-xy-canvas-BnLEwBpi.js → vue-ui-xy-canvas-1rbwMA1m.js} +13 -12
- package/package.json +1 -1
- package/dist/Slicer-CIk57nL4.js +0 -1163
- package/dist/vue-ui-age-pyramid-D4k1MkAL.js +0 -1264
- package/dist/vue-ui-bullet-DLZr2Uk8.js +0 -724
- package/dist/vue-ui-candlestick-EEEt7ORC.js +0 -1866
- package/dist/vue-ui-carousel-table-BicIpNAD.js +0 -463
- package/dist/vue-ui-chestnut-BI7mC5dd.js +0 -2068
- package/dist/vue-ui-chord-DXaq8ZMu.js +0 -1396
- package/dist/vue-ui-circle-pack-XHJBMG51.js +0 -1659
- package/dist/vue-ui-donut-evolution-DwR47A2r.js +0 -1603
- package/dist/vue-ui-funnel-Bmpx5GHR.js +0 -797
- package/dist/vue-ui-gauge-ByE_txav.js +0 -953
- package/dist/vue-ui-hill-BT183G-_.js +0 -1768
- package/dist/vue-ui-molecule-Bi2CKHer.js +0 -958
- package/dist/vue-ui-nested-donuts-qHZAJ70u.js +0 -1528
- package/dist/vue-ui-relation-circle-DaU1eTsG.js +0 -925
- package/dist/vue-ui-scatter-Pcft1bUt.js +0 -2428
- package/dist/vue-ui-strip-plot-Dw4MGDSO.js +0 -1757
- package/dist/vue-ui-tiremarks-CekiW2Ru.js +0 -559
- package/dist/vue-ui-waffle-cu0w_s6L.js +0 -1412
|
@@ -2,22 +2,22 @@ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
|
2
2
|
import { G as t, Jt as n, Kt as r, P as i, Pt as a, Rt as o, S as ee, X as s, _ as c, b as l, ct as te, f as u, h as d, i as f, jt as ne, kt as re, p, q as ie, t as ae, tt as oe, w as se, xt as ce } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as de } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
|
-
import { t as fe } from "./useConfig-
|
|
5
|
+
import { t as fe } from "./useConfig-DlNpz6P8.js";
|
|
6
6
|
import { t as pe } from "./usePrinter-DN5bYhTG.js";
|
|
7
7
|
import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
-
import { t as ge } from "./
|
|
9
|
-
import { t as _e } from "./
|
|
10
|
-
import { t as ve } from "./
|
|
8
|
+
import { t as ge } from "./useNestedProp-vPNvh7rV.js";
|
|
9
|
+
import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as ve } from "./useChartExport-DNiwdPmb.js";
|
|
11
11
|
import { t as ye } from "./useTransitions-g_zBREk2.js";
|
|
12
12
|
import { t as be } from "./useStableElementSize-C7KADDKj.js";
|
|
13
13
|
import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
14
14
|
import { t as Se } from "./img-Bnokohej.js";
|
|
15
15
|
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { l as we, t as Te } from "./useResponsive-ZtArZtUf.js";
|
|
17
|
-
import { t as Ee } from "./
|
|
18
|
-
import { t as De } from "./
|
|
19
|
-
import { t as Oe } from "./
|
|
20
|
-
import { t as ke } from "./
|
|
17
|
+
import { t as Ee } from "./SlicerPreview-wUw1hFwe.js";
|
|
18
|
+
import { t as De } from "./BaseLegendToggle-DZVucLnv.js";
|
|
19
|
+
import { t as Oe } from "./A11yDataTable-DdRsVULz.js";
|
|
20
|
+
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
21
|
import { t as Ae } from "./vue_ui_quick_chart-mZBdml3Z.js";
|
|
22
22
|
import { Fragment as m, Teleport as je, computed as h, createBlock as Me, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as Ne, createVNode as Pe, defineAsyncComponent as Fe, guardReactiveProps as y, mergeProps as Ie, nextTick as Le, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Re, onMounted as ze, openBlock as C, ref as w, renderList as T, renderSlot as E, shallowRef as Be, toDisplayString as D, toRefs as Ve, unref as O, watch as He, watchEffect as Ue, withCtx as k } from "vue";
|
|
23
23
|
//#region src/chartDetector.js
|
|
@@ -432,7 +432,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
432
432
|
"copyAlt"
|
|
433
433
|
],
|
|
434
434
|
setup(e, { expose: Ce, emit: We }) {
|
|
435
|
-
let Ke = Fe(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), qe = Fe(() => import("./PackageVersion-
|
|
435
|
+
let Ke = Fe(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), qe = Fe(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), Ye = Fe(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Xe = Fe(() => import("./Tooltip-DhjyfHwz.js")), Ze = Fe(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), { vue_ui_quick_chart: Qe } = fe(), { isThemeValid: $e, warnInvalidTheme: et } = _e(), M = e, N = w(null), Dn = w(null), On = w(null), kn = w(null), P = w(ie()), F = w(!1), An = w(null), jn = w(""), I = w(null), Mn = w(null), Nn = w(null), L = w([]), Pn = w(0), Fn = w(0), In = w(!1), Ln = w(null), Rn = w(null), R = w(null), zn = w(null), Bn = w(null), Vn = w(null), Hn = Be(null), Un = w(!1), Wn = w(0), Gn = w(0), Kn = w(!1);
|
|
436
436
|
function qn() {
|
|
437
437
|
Hn.value = N.value?.parentNode ?? null;
|
|
438
438
|
}
|
|
@@ -482,7 +482,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
482
482
|
let { transitionEnabled: B } = ye({
|
|
483
483
|
config: () => z.value.transitions,
|
|
484
484
|
dataset: () => M.dataset
|
|
485
|
-
}), Qn = h(() =>
|
|
485
|
+
}), Qn = h(() => z.value.debug), $n = h(() => z.value.useCursorPointer), V = w(null), er = w({
|
|
486
486
|
x: 0,
|
|
487
487
|
y: 0
|
|
488
488
|
}), H = w("pointer"), tr = w(!1), nr = h(() => n({
|
|
@@ -526,23 +526,23 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
526
526
|
defaultConfig: z.value,
|
|
527
527
|
userConfig: nr.value
|
|
528
528
|
})
|
|
529
|
-
}), { svgRef: or } =
|
|
529
|
+
}), { svgRef: or } = ke({ config: { text: z.value.title } }), sr = h(() => z.value.showUserOptionsOnChartHover), cr = h(() => z.value.keepUserOptionsStateOnChartLeave), lr = w(!z.value.showUserOptionsOnChartHover), ur = w(!1);
|
|
530
530
|
function dr(e = !1) {
|
|
531
531
|
ur.value = e, sr.value && (lr.value = e);
|
|
532
532
|
}
|
|
533
533
|
function fr() {
|
|
534
|
-
let e =
|
|
534
|
+
let e = ge({
|
|
535
535
|
userConfig: M.config,
|
|
536
536
|
defaultConfig: Qe
|
|
537
537
|
}), t = {}, n = e.theme;
|
|
538
538
|
if (n) if (!$e.value(e)) et(e), t = e;
|
|
539
539
|
else {
|
|
540
|
-
let i =
|
|
540
|
+
let i = ge({
|
|
541
541
|
userConfig: Ae[n] || M.config,
|
|
542
542
|
defaultConfig: e
|
|
543
543
|
});
|
|
544
544
|
t = {
|
|
545
|
-
...
|
|
545
|
+
...ge({
|
|
546
546
|
userConfig: M.config,
|
|
547
547
|
defaultConfig: i
|
|
548
548
|
}),
|
|
@@ -1240,25 +1240,16 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1240
1240
|
bold: z.value.titleBold,
|
|
1241
1241
|
textAlign: z.value.titleTextAlign,
|
|
1242
1242
|
subtitle: { text: "" }
|
|
1243
|
-
})), {
|
|
1243
|
+
})), { generateSvg: ci, onGenerateImage: li } = ve({
|
|
1244
1244
|
svg: or,
|
|
1245
1245
|
title: si,
|
|
1246
1246
|
legend: oi,
|
|
1247
1247
|
legendItems: ai,
|
|
1248
|
-
backgroundColor: ii
|
|
1248
|
+
backgroundColor: ii,
|
|
1249
|
+
getSvgCallback: () => z.value.userOptionsCallbacks.svg,
|
|
1250
|
+
generateImage: yr
|
|
1249
1251
|
});
|
|
1250
|
-
async function ui(
|
|
1251
|
-
if (e) {
|
|
1252
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await li();
|
|
1253
|
-
z.value.userOptionsCallbacks.svg({
|
|
1254
|
-
blob: e,
|
|
1255
|
-
url: t,
|
|
1256
|
-
text: n,
|
|
1257
|
-
dataUrl: r
|
|
1258
|
-
});
|
|
1259
|
-
} else ci();
|
|
1260
|
-
}
|
|
1261
|
-
async function di() {
|
|
1252
|
+
async function ui() {
|
|
1262
1253
|
if (U("copyAlt", {
|
|
1263
1254
|
config: z.value,
|
|
1264
1255
|
dataset: {
|
|
@@ -1279,18 +1270,18 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1279
1270
|
}
|
|
1280
1271
|
}));
|
|
1281
1272
|
}
|
|
1282
|
-
function
|
|
1273
|
+
function di(e, t) {
|
|
1283
1274
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), t());
|
|
1284
1275
|
}
|
|
1285
|
-
let
|
|
1286
|
-
function
|
|
1276
|
+
let fi = h(() => G.value === A.DONUT ? Y.value?.chart?.length ?? 0 : G.value === A.LINE ? Z.value?.extremes?.maxSeries ?? 0 : G.value === A.BAR ? Q.value?.extremes?.maxSeries ?? 0 : 0);
|
|
1277
|
+
function pi() {
|
|
1287
1278
|
V.value = null, tr.value = !0;
|
|
1288
1279
|
}
|
|
1289
|
-
function
|
|
1280
|
+
function mi() {
|
|
1290
1281
|
V.value = null, H.value = "pointer", F.value = !1, I.value = null, J.value = null, tr.value = !1;
|
|
1291
1282
|
}
|
|
1292
|
-
function
|
|
1293
|
-
if (!or.value || $r.value || document.activeElement !== or.value || !
|
|
1283
|
+
function hi(e) {
|
|
1284
|
+
if (!or.value || $r.value || document.activeElement !== or.value || !fi.value) return;
|
|
1294
1285
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
1295
1286
|
if (!t && !n && !r && !i) return;
|
|
1296
1287
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
@@ -1318,11 +1309,11 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1318
1309
|
}
|
|
1319
1310
|
return;
|
|
1320
1311
|
}
|
|
1321
|
-
let a = V.value, o = J.value, ee = a !== null && a >= 0 && a <
|
|
1322
|
-
if (ee ? n ? (a += 1, a >=
|
|
1312
|
+
let a = V.value, o = J.value, ee = a !== null && a >= 0 && a < fi.value, s = o !== null && o >= 0 && o < fi.value;
|
|
1313
|
+
if (ee ? n ? (a += 1, a >= fi.value && (a = 0)) : t && (--a, a < 0 && (a = fi.value - 1)) : s ? (a = n ? o + 1 : o - 1, a >= fi.value && (a = 0), a < 0 && (a = fi.value - 1)) : a = n ? 0 : fi.value - 1, G.value === A.DONUT) {
|
|
1323
1314
|
let e = Y.value?.chart?.[a];
|
|
1324
1315
|
if (!e) return;
|
|
1325
|
-
|
|
1316
|
+
gi(a), Y.value.useTooltip({
|
|
1326
1317
|
datapoint: e,
|
|
1327
1318
|
seriesIndex: a,
|
|
1328
1319
|
triggerMode: "keyboard"
|
|
@@ -1330,12 +1321,12 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1330
1321
|
return;
|
|
1331
1322
|
}
|
|
1332
1323
|
if (G.value === A.LINE) {
|
|
1333
|
-
|
|
1324
|
+
gi(a), Z.value?.useTooltip(a, "keyboard");
|
|
1334
1325
|
return;
|
|
1335
1326
|
}
|
|
1336
|
-
G.value === A.BAR && (
|
|
1327
|
+
G.value === A.BAR && (gi(a), Q.value?.useTooltip(a, "keyboard"));
|
|
1337
1328
|
}
|
|
1338
|
-
function
|
|
1329
|
+
function gi(e) {
|
|
1339
1330
|
if (!Number.isFinite(e) || !or.value) return;
|
|
1340
1331
|
let t = 0, n = 0;
|
|
1341
1332
|
if (G.value === A.DONUT) {
|
|
@@ -1359,7 +1350,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1359
1350
|
y: r.top + n / K.value.height * r.height
|
|
1360
1351
|
};
|
|
1361
1352
|
}
|
|
1362
|
-
let
|
|
1353
|
+
let _i = h(() => {
|
|
1363
1354
|
if (G.value === A.DONUT) return {
|
|
1364
1355
|
headers: [
|
|
1365
1356
|
"Series",
|
|
@@ -1408,11 +1399,11 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1408
1399
|
getImage: ti,
|
|
1409
1400
|
generatePdf: vr,
|
|
1410
1401
|
generateImage: yr,
|
|
1411
|
-
generateSvg:
|
|
1402
|
+
generateSvg: ci,
|
|
1412
1403
|
toggleTooltip: Qr,
|
|
1413
1404
|
toggleAnnotator: ei,
|
|
1414
1405
|
toggleFullscreen: Zr,
|
|
1415
|
-
copyAlt:
|
|
1406
|
+
copyAlt: ui
|
|
1416
1407
|
}), (e, n) => hr.value ? (C(), _("div", {
|
|
1417
1408
|
key: 0,
|
|
1418
1409
|
id: `${G.value}_${P.value}`,
|
|
@@ -1431,11 +1422,11 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1431
1422
|
id: `chart-instructions-${P.value}`,
|
|
1432
1423
|
class: "sr-only"
|
|
1433
1424
|
}, [v("p", null, D(z.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
|
|
1434
|
-
|
|
1425
|
+
_i.value.rows.length ? (C(), Me(Oe, {
|
|
1435
1426
|
key: 0,
|
|
1436
1427
|
uid: P.value,
|
|
1437
|
-
head:
|
|
1438
|
-
body:
|
|
1428
|
+
head: _i.value.headers,
|
|
1429
|
+
body: _i.value.rows,
|
|
1439
1430
|
notice: z.value.a11y.translations.tableAvailable,
|
|
1440
1431
|
caption: z.value.a11y.translations.tableCaption
|
|
1441
1432
|
}, null, 8, [
|
|
@@ -1502,11 +1493,11 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1502
1493
|
isCursorPointer: $n.value,
|
|
1503
1494
|
onToggleFullscreen: Zr,
|
|
1504
1495
|
onGeneratePdf: O(vr),
|
|
1505
|
-
onGenerateImage: O(
|
|
1506
|
-
onGenerateSvg:
|
|
1496
|
+
onGenerateImage: O(li),
|
|
1497
|
+
onGenerateSvg: O(ci),
|
|
1507
1498
|
onToggleTooltip: Qr,
|
|
1508
1499
|
onToggleAnnotator: ei,
|
|
1509
|
-
onCopyAlt:
|
|
1500
|
+
onCopyAlt: ui,
|
|
1510
1501
|
style: S({ visibility: cr.value ? lr.value ? "visible" : "hidden" : "visible" })
|
|
1511
1502
|
}, Ne({ _: 2 }, [
|
|
1512
1503
|
e.$slots.menuIcon ? {
|
|
@@ -1592,6 +1583,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1592
1583
|
"isCursorPointer",
|
|
1593
1584
|
"onGeneratePdf",
|
|
1594
1585
|
"onGenerateImage",
|
|
1586
|
+
"onGenerateSvg",
|
|
1595
1587
|
"style"
|
|
1596
1588
|
])) : g("", !0),
|
|
1597
1589
|
z.value.title ? (C(), _("div", {
|
|
@@ -1612,9 +1604,9 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1612
1604
|
style: S(`max-width:100%;overflow:visible;background:transparent;color:${z.value.color}`),
|
|
1613
1605
|
class: b({ "vue-data-ui-no-transition": !O(B) }),
|
|
1614
1606
|
tabindex: "0",
|
|
1615
|
-
onFocus:
|
|
1616
|
-
onBlur:
|
|
1617
|
-
onKeydown:
|
|
1607
|
+
onFocus: pi,
|
|
1608
|
+
onBlur: mi,
|
|
1609
|
+
onKeydown: hi
|
|
1618
1610
|
}, [
|
|
1619
1611
|
Pe(O(qe)),
|
|
1620
1612
|
e.$slots["chart-background"] && G.value === A.BAR ? (C(), _("foreignObject", {
|
|
@@ -2137,16 +2129,15 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2137
2129
|
key: `slicer_${Fn.value}`,
|
|
2138
2130
|
ref_key: "quickChartSlicer",
|
|
2139
2131
|
ref: kn
|
|
2140
|
-
}, [(C(), Me(
|
|
2132
|
+
}, [(C(), Me(Ee, {
|
|
2141
2133
|
ref_key: "slicerComponent",
|
|
2142
2134
|
ref: Ir,
|
|
2143
2135
|
key: `slicer_${Fn.value}`,
|
|
2136
|
+
timeLabels: $.value,
|
|
2144
2137
|
background: z.value.zoomColor,
|
|
2145
2138
|
borderColor: z.value.backgroundColor,
|
|
2146
2139
|
fontSize: z.value.zoomFontSize,
|
|
2147
2140
|
useResetSlot: z.value.zoomUseResetSlot,
|
|
2148
|
-
labelLeft: z.value.xyPeriods[X.value.start] && $.value[0] ? $.value[0].text : "",
|
|
2149
|
-
labelRight: z.value.xyPeriods[X.value.end - 1] && $.value?.length ? $.value.at(-1).text : "",
|
|
2150
2141
|
textColor: z.value.color,
|
|
2151
2142
|
inputColor: z.value.zoomColor,
|
|
2152
2143
|
selectColor: z.value.zoomHighlightColor,
|
|
@@ -2192,7 +2183,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2192
2183
|
}, {
|
|
2193
2184
|
"reset-action": k(({ reset: t }) => [E(e.$slots, "reset-action", x(y({ reset: t })), void 0, !0)]),
|
|
2194
2185
|
_: 3
|
|
2195
|
-
}, 8, /* @__PURE__ */ "background.borderColor.fontSize.useResetSlot.
|
|
2186
|
+
}, 8, /* @__PURE__ */ "timeLabels.background.borderColor.fontSize.useResetSlot.textColor.inputColor.selectColor.max.valueStart.valueEnd.smoothMinimap.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectionRadius.minimapLineColor.minimap.minimapIndicatorColor.verticalHandles.minimapSelectedIndex.start.end.refreshStartPoint.refreshEndPoint.enableRangeHandles.enableSelectionDrag.minimapCompact.minimapMerged.allMinimaps.minimapFrameColor.additionalMinimapHeight.handleType.handleWidth.handleBorderWidth.handleIconColor.handleBorderColor.handleFill.focusOnDrag.focusRangeRatio.maxWidth.minimapLeftInsetRatio.minimapRightInsetRatio".split(".")))])) : g("", !0),
|
|
2196
2187
|
v("div", { id: `legend-bottom-${P.value}` }, null, 8, Sn),
|
|
2197
2188
|
In.value && z.value.showLegend ? (C(), Me(je, {
|
|
2198
2189
|
key: 7,
|
|
@@ -2204,7 +2195,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2204
2195
|
class: "vue-ui-quick-chart-legend",
|
|
2205
2196
|
style: S(`background:transparent;color:${z.value.color}`)
|
|
2206
2197
|
}, [
|
|
2207
|
-
(Y.value?.legend?.length > 2 || Z.value?.legend?.length > 2 || Q.value?.legend?.length > 2) && z.value.showLegendSelectAllToggle && !O(rr) ? (C(), Me(
|
|
2198
|
+
(Y.value?.legend?.length > 2 || Z.value?.legend?.length > 2 || Q.value?.legend?.length > 2) && z.value.showLegendSelectAllToggle && !O(rr) ? (C(), Me(De, {
|
|
2208
2199
|
key: 0,
|
|
2209
2200
|
backgroundColor: z.value.legendSelectAllToggleBackgroundColor,
|
|
2210
2201
|
color: z.value.legendSelectAllToggleColor,
|
|
@@ -2226,7 +2217,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2226
2217
|
role: "button",
|
|
2227
2218
|
tabindex: "0",
|
|
2228
2219
|
onKeydown: (e) => {
|
|
2229
|
-
|
|
2220
|
+
di(e, () => {
|
|
2230
2221
|
Mr(t, Y.value.dataset);
|
|
2231
2222
|
});
|
|
2232
2223
|
}
|
|
@@ -2280,7 +2271,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2280
2271
|
role: "button",
|
|
2281
2272
|
tabindex: "0",
|
|
2282
2273
|
onKeydown: (e) => {
|
|
2283
|
-
|
|
2274
|
+
di(e, () => {
|
|
2284
2275
|
Or(t.id, Z.value.legend.length - 1), U("selectLegend", Z.value.dataset);
|
|
2285
2276
|
});
|
|
2286
2277
|
}
|
|
@@ -2308,7 +2299,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2308
2299
|
role: "button",
|
|
2309
2300
|
tabindex: "0",
|
|
2310
2301
|
onKeydown: (e) => {
|
|
2311
|
-
|
|
2302
|
+
di(e, () => {
|
|
2312
2303
|
Or(t.id, Q.value.legend.length - 1), U("selectLegend", Q.value.dataset);
|
|
2313
2304
|
});
|
|
2314
2305
|
}
|
|
@@ -2392,6 +2383,6 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2392
2383
|
stroke: "red"
|
|
2393
2384
|
}), n[5] ||= v("span", null, "Dataset is not processable", -1)]));
|
|
2394
2385
|
}
|
|
2395
|
-
}, [["__scopeId", "data-v-
|
|
2386
|
+
}, [["__scopeId", "data-v-4bec8cdd"]]);
|
|
2396
2387
|
//#endregion
|
|
2397
2388
|
export { N as n, Dn as t };
|