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,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
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-
|
|
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
|
-
import { t as de } from "./useTimeLabels-
|
|
5
|
-
import { t as fe } from "./useConfig-
|
|
6
|
-
import { t as pe } from "./usePrinter-
|
|
4
|
+
import { t as de } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
|
+
import { t as fe } from "./useConfig-DlNpz6P8.js";
|
|
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
|
-
import { t as Se } from "./img-
|
|
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-
|
|
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
|
}),
|
|
@@ -1149,7 +1149,13 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1149
1149
|
killTooltip: oe,
|
|
1150
1150
|
selectDatapoint: se
|
|
1151
1151
|
};
|
|
1152
|
-
}), Wr = h(() => {
|
|
1152
|
+
}), Wr = h(() => G.value === A.LINE ? Z.value?.drawingArea ?? null : G.value === A.BAR ? Q.value?.drawingArea ?? null : null), Gr = h(() => {
|
|
1153
|
+
let e = Wr.value, t = K.value.width;
|
|
1154
|
+
return !e || t <= 0 || !z.value.zoomXyAutoFit ? null : e.left / t;
|
|
1155
|
+
}), Kr = h(() => {
|
|
1156
|
+
let e = Wr.value, t = K.value.width;
|
|
1157
|
+
return !e || t <= 0 || !z.value.zoomXyAutoFit ? null : (t - e.right) / t;
|
|
1158
|
+
}), qr = h(() => {
|
|
1153
1159
|
if (G.value === A.LINE) return Z.value.legend.map((e) => (Math.min(...e.absoluteValues.map((e) => e ?? 0)), {
|
|
1154
1160
|
...e,
|
|
1155
1161
|
isVisible: !L.value.includes(e.id),
|
|
@@ -1162,9 +1168,9 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1162
1168
|
type: "bar",
|
|
1163
1169
|
series: e.absoluteValues
|
|
1164
1170
|
}));
|
|
1165
|
-
}), $ = w([]),
|
|
1171
|
+
}), $ = w([]), Jr = 0;
|
|
1166
1172
|
Ue(() => {
|
|
1167
|
-
let e = ++
|
|
1173
|
+
let e = ++Jr;
|
|
1168
1174
|
(async () => {
|
|
1169
1175
|
let t = await de({
|
|
1170
1176
|
values: z.value.xyPeriods,
|
|
@@ -1173,24 +1179,24 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1173
1179
|
start: X.value.start,
|
|
1174
1180
|
end: X.value.end
|
|
1175
1181
|
});
|
|
1176
|
-
e ===
|
|
1182
|
+
e === Jr && ($.value = t);
|
|
1177
1183
|
})();
|
|
1178
1184
|
});
|
|
1179
|
-
let
|
|
1185
|
+
let Yr = h(() => {
|
|
1180
1186
|
let e = z.value.xyPeriodsModulo;
|
|
1181
1187
|
return z.value.xyPeriods.length ? Math.min(e, [...new Set($.value.map((e) => e.text))].length) : e;
|
|
1182
|
-
}),
|
|
1183
|
-
function
|
|
1184
|
-
|
|
1188
|
+
}), Xr = w(!1);
|
|
1189
|
+
function Zr(e) {
|
|
1190
|
+
Xr.value = e, Pn.value += 1;
|
|
1185
1191
|
}
|
|
1186
|
-
function
|
|
1192
|
+
function Qr() {
|
|
1187
1193
|
xr.value.showTooltip = !xr.value.showTooltip;
|
|
1188
1194
|
}
|
|
1189
|
-
let
|
|
1190
|
-
function
|
|
1191
|
-
|
|
1195
|
+
let $r = w(!1);
|
|
1196
|
+
function ei() {
|
|
1197
|
+
$r.value = !$r.value;
|
|
1192
1198
|
}
|
|
1193
|
-
async function
|
|
1199
|
+
async function ti({ scale: e = 2 } = {}) {
|
|
1194
1200
|
if (!N.value) return;
|
|
1195
1201
|
let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
|
|
1196
1202
|
domElement: N.value,
|
|
@@ -1207,7 +1213,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1207
1213
|
aspectRatio: r
|
|
1208
1214
|
};
|
|
1209
1215
|
}
|
|
1210
|
-
let
|
|
1216
|
+
let ni = h(() => K.value.width), ri = h(() => K.value.height);
|
|
1211
1217
|
xe({
|
|
1212
1218
|
timeLabelsEls: R,
|
|
1213
1219
|
timeLabels: $,
|
|
@@ -1217,42 +1223,33 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1217
1223
|
autoRotatePath: ["xyPeriodLabelsAutoRotate", "enable"],
|
|
1218
1224
|
isAutoSize: !1,
|
|
1219
1225
|
rotation: z.value.xyPeriodLabelsAutoRotate.angle,
|
|
1220
|
-
height:
|
|
1221
|
-
width:
|
|
1226
|
+
height: ri.value,
|
|
1227
|
+
width: ni.value
|
|
1222
1228
|
});
|
|
1223
|
-
let
|
|
1229
|
+
let ii = h(() => z.value.backgroundColor), ai = h(() => G.value === A.DONUT ? Y.value.legend : G.value === A.LINE ? Z.value.legend : Q.value.legend), oi = h(() => ({
|
|
1224
1230
|
show: z.value.showLegend,
|
|
1225
1231
|
bold: !1,
|
|
1226
1232
|
backgroundColor: z.value.backgroundColor,
|
|
1227
1233
|
color: z.value.color,
|
|
1228
1234
|
fontSize: z.value.legendFontSize,
|
|
1229
1235
|
position: z.value.legendPosition
|
|
1230
|
-
})),
|
|
1236
|
+
})), si = h(() => ({
|
|
1237
|
+
text: z.value.title,
|
|
1238
|
+
color: z.value.color,
|
|
1239
|
+
fontSize: z.value.titleFontSize,
|
|
1240
|
+
bold: z.value.titleBold,
|
|
1241
|
+
textAlign: z.value.titleTextAlign,
|
|
1242
|
+
subtitle: { text: "" }
|
|
1243
|
+
})), { generateSvg: ci, onGenerateImage: li } = ve({
|
|
1231
1244
|
svg: or,
|
|
1232
|
-
title:
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
subtitle: { text: "" }
|
|
1239
|
-
})),
|
|
1240
|
-
legend: ri,
|
|
1241
|
-
legendItems: ni,
|
|
1242
|
-
backgroundColor: ti
|
|
1245
|
+
title: si,
|
|
1246
|
+
legend: oi,
|
|
1247
|
+
legendItems: ai,
|
|
1248
|
+
backgroundColor: ii,
|
|
1249
|
+
getSvgCallback: () => z.value.userOptionsCallbacks.svg,
|
|
1250
|
+
generateImage: yr
|
|
1243
1251
|
});
|
|
1244
|
-
async function
|
|
1245
|
-
if (e) {
|
|
1246
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await ai();
|
|
1247
|
-
z.value.userOptionsCallbacks.svg({
|
|
1248
|
-
blob: e,
|
|
1249
|
-
url: t,
|
|
1250
|
-
text: n,
|
|
1251
|
-
dataUrl: r
|
|
1252
|
-
});
|
|
1253
|
-
} else ii();
|
|
1254
|
-
}
|
|
1255
|
-
async function si() {
|
|
1252
|
+
async function ui() {
|
|
1256
1253
|
if (U("copyAlt", {
|
|
1257
1254
|
config: z.value,
|
|
1258
1255
|
dataset: {
|
|
@@ -1273,18 +1270,18 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1273
1270
|
}
|
|
1274
1271
|
}));
|
|
1275
1272
|
}
|
|
1276
|
-
function
|
|
1273
|
+
function di(e, t) {
|
|
1277
1274
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), t());
|
|
1278
1275
|
}
|
|
1279
|
-
let
|
|
1280
|
-
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() {
|
|
1281
1278
|
V.value = null, tr.value = !0;
|
|
1282
1279
|
}
|
|
1283
|
-
function
|
|
1280
|
+
function mi() {
|
|
1284
1281
|
V.value = null, H.value = "pointer", F.value = !1, I.value = null, J.value = null, tr.value = !1;
|
|
1285
1282
|
}
|
|
1286
|
-
function
|
|
1287
|
-
if (!or.value ||
|
|
1283
|
+
function hi(e) {
|
|
1284
|
+
if (!or.value || $r.value || document.activeElement !== or.value || !fi.value) return;
|
|
1288
1285
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
1289
1286
|
if (!t && !n && !r && !i) return;
|
|
1290
1287
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
@@ -1312,11 +1309,11 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1312
1309
|
}
|
|
1313
1310
|
return;
|
|
1314
1311
|
}
|
|
1315
|
-
let a = V.value, o = J.value, ee = a !== null && a >= 0 && a <
|
|
1316
|
-
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) {
|
|
1317
1314
|
let e = Y.value?.chart?.[a];
|
|
1318
1315
|
if (!e) return;
|
|
1319
|
-
|
|
1316
|
+
gi(a), Y.value.useTooltip({
|
|
1320
1317
|
datapoint: e,
|
|
1321
1318
|
seriesIndex: a,
|
|
1322
1319
|
triggerMode: "keyboard"
|
|
@@ -1324,12 +1321,12 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1324
1321
|
return;
|
|
1325
1322
|
}
|
|
1326
1323
|
if (G.value === A.LINE) {
|
|
1327
|
-
|
|
1324
|
+
gi(a), Z.value?.useTooltip(a, "keyboard");
|
|
1328
1325
|
return;
|
|
1329
1326
|
}
|
|
1330
|
-
G.value === A.BAR && (
|
|
1327
|
+
G.value === A.BAR && (gi(a), Q.value?.useTooltip(a, "keyboard"));
|
|
1331
1328
|
}
|
|
1332
|
-
function
|
|
1329
|
+
function gi(e) {
|
|
1333
1330
|
if (!Number.isFinite(e) || !or.value) return;
|
|
1334
1331
|
let t = 0, n = 0;
|
|
1335
1332
|
if (G.value === A.DONUT) {
|
|
@@ -1353,7 +1350,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1353
1350
|
y: r.top + n / K.value.height * r.height
|
|
1354
1351
|
};
|
|
1355
1352
|
}
|
|
1356
|
-
let
|
|
1353
|
+
let _i = h(() => {
|
|
1357
1354
|
if (G.value === A.DONUT) return {
|
|
1358
1355
|
headers: [
|
|
1359
1356
|
"Series",
|
|
@@ -1399,14 +1396,14 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1399
1396
|
};
|
|
1400
1397
|
});
|
|
1401
1398
|
return Ce({
|
|
1402
|
-
getImage:
|
|
1399
|
+
getImage: ti,
|
|
1403
1400
|
generatePdf: vr,
|
|
1404
1401
|
generateImage: yr,
|
|
1405
|
-
generateSvg:
|
|
1406
|
-
toggleTooltip:
|
|
1407
|
-
toggleAnnotator:
|
|
1408
|
-
toggleFullscreen:
|
|
1409
|
-
copyAlt:
|
|
1402
|
+
generateSvg: ci,
|
|
1403
|
+
toggleTooltip: Qr,
|
|
1404
|
+
toggleAnnotator: ei,
|
|
1405
|
+
toggleFullscreen: Zr,
|
|
1406
|
+
copyAlt: ui
|
|
1410
1407
|
}), (e, n) => hr.value ? (C(), _("div", {
|
|
1411
1408
|
key: 0,
|
|
1412
1409
|
id: `${G.value}_${P.value}`,
|
|
@@ -1415,7 +1412,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1415
1412
|
class: b({
|
|
1416
1413
|
"vue-data-ui-component": !0,
|
|
1417
1414
|
"vue-ui-quick-chart": !0,
|
|
1418
|
-
"vue-data-ui-wrapper-fullscreen":
|
|
1415
|
+
"vue-data-ui-wrapper-fullscreen": Xr.value
|
|
1419
1416
|
}),
|
|
1420
1417
|
style: S(`background:${z.value.backgroundColor};color:${z.value.color};font-family:${z.value.fontFamily}; position: relative; ${z.value.responsive ? "height: 100%" : ""}`),
|
|
1421
1418
|
onMouseenter: n[2] ||= () => dr(!0),
|
|
@@ -1425,11 +1422,11 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1425
1422
|
id: `chart-instructions-${P.value}`,
|
|
1426
1423
|
class: "sr-only"
|
|
1427
1424
|
}, [v("p", null, D(z.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
|
|
1428
|
-
|
|
1425
|
+
_i.value.rows.length ? (C(), Me(Oe, {
|
|
1429
1426
|
key: 0,
|
|
1430
1427
|
uid: P.value,
|
|
1431
|
-
head:
|
|
1432
|
-
body:
|
|
1428
|
+
head: _i.value.headers,
|
|
1429
|
+
body: _i.value.rows,
|
|
1433
1430
|
notice: z.value.a11y.translations.tableAvailable,
|
|
1434
1431
|
caption: z.value.a11y.translations.tableCaption
|
|
1435
1432
|
}, null, 8, [
|
|
@@ -1444,9 +1441,9 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1444
1441
|
svgRef: O(or),
|
|
1445
1442
|
backgroundColor: z.value.backgroundColor,
|
|
1446
1443
|
color: z.value.color,
|
|
1447
|
-
active:
|
|
1444
|
+
active: $r.value,
|
|
1448
1445
|
isCursorPointer: $n.value,
|
|
1449
|
-
onClose:
|
|
1446
|
+
onClose: ei
|
|
1450
1447
|
}, {
|
|
1451
1448
|
"annotator-action-close": k(() => [E(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1452
1449
|
"annotator-action-color": k(({ color: t }) => [E(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
|
|
@@ -1485,22 +1482,22 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1485
1482
|
hasAltCopy: z.value.userOptionsButtons.altCopy,
|
|
1486
1483
|
hasXls: !1,
|
|
1487
1484
|
isTooltip: xr.value.showTooltip,
|
|
1488
|
-
isFullscreen:
|
|
1485
|
+
isFullscreen: Xr.value,
|
|
1489
1486
|
titles: { ...z.value.userOptionsButtonTitles },
|
|
1490
1487
|
chartElement: N.value,
|
|
1491
1488
|
position: z.value.userOptionsPosition,
|
|
1492
1489
|
hasAnnotator: z.value.userOptionsButtons.annotator,
|
|
1493
|
-
isAnnotation:
|
|
1490
|
+
isAnnotation: $r.value,
|
|
1494
1491
|
callbacks: z.value.userOptionsCallbacks,
|
|
1495
1492
|
printScale: z.value.userOptionsPrint.scale,
|
|
1496
1493
|
isCursorPointer: $n.value,
|
|
1497
|
-
onToggleFullscreen:
|
|
1494
|
+
onToggleFullscreen: Zr,
|
|
1498
1495
|
onGeneratePdf: O(vr),
|
|
1499
|
-
onGenerateImage: O(
|
|
1500
|
-
onGenerateSvg:
|
|
1501
|
-
onToggleTooltip:
|
|
1502
|
-
onToggleAnnotator:
|
|
1503
|
-
onCopyAlt:
|
|
1496
|
+
onGenerateImage: O(li),
|
|
1497
|
+
onGenerateSvg: O(ci),
|
|
1498
|
+
onToggleTooltip: Qr,
|
|
1499
|
+
onToggleAnnotator: ei,
|
|
1500
|
+
onCopyAlt: ui,
|
|
1504
1501
|
style: S({ visibility: cr.value ? lr.value ? "visible" : "hidden" : "visible" })
|
|
1505
1502
|
}, Ne({ _: 2 }, [
|
|
1506
1503
|
e.$slots.menuIcon ? {
|
|
@@ -1586,6 +1583,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1586
1583
|
"isCursorPointer",
|
|
1587
1584
|
"onGeneratePdf",
|
|
1588
1585
|
"onGenerateImage",
|
|
1586
|
+
"onGenerateSvg",
|
|
1589
1587
|
"style"
|
|
1590
1588
|
])) : g("", !0),
|
|
1591
1589
|
z.value.title ? (C(), _("div", {
|
|
@@ -1606,9 +1604,9 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1606
1604
|
style: S(`max-width:100%;overflow:visible;background:transparent;color:${z.value.color}`),
|
|
1607
1605
|
class: b({ "vue-data-ui-no-transition": !O(B) }),
|
|
1608
1606
|
tabindex: "0",
|
|
1609
|
-
onFocus:
|
|
1610
|
-
onBlur:
|
|
1611
|
-
onKeydown:
|
|
1607
|
+
onFocus: pi,
|
|
1608
|
+
onBlur: mi,
|
|
1609
|
+
onKeydown: hi
|
|
1612
1610
|
}, [
|
|
1613
1611
|
Pe(O(qe)),
|
|
1614
1612
|
e.$slots["chart-background"] && G.value === A.BAR ? (C(), _("foreignObject", {
|
|
@@ -1823,7 +1821,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1823
1821
|
datapoint: e,
|
|
1824
1822
|
seriesIndex: t
|
|
1825
1823
|
})), 11, Nt)) : g("", !0)], 64))), 128))], 512)) : g("", !0),
|
|
1826
|
-
z.value.xyShowScale && z.value.xyPeriods.length ? (C(), _("g", Pt, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, t) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) /
|
|
1824
|
+
z.value.xyShowScale && z.value.xyPeriods.length ? (C(), _("g", Pt, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, t) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && t % Math.floor((X.value.end - X.value.start) / Yr.value) === 0 || X.value.end - X.value.start <= Yr.value ? (C(), _("line", {
|
|
1827
1825
|
key: 0,
|
|
1828
1826
|
x1: Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2,
|
|
1829
1827
|
x2: Z.value.drawingArea.left + Z.value.slotSize * (t + 1) - Z.value.slotSize / 2,
|
|
@@ -1835,7 +1833,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
1835
1833
|
}, null, 8, Ft)) : g("", !0)], 64))), 256)), v("g", {
|
|
1836
1834
|
ref_key: "timeLabelsEls",
|
|
1837
1835
|
ref: R
|
|
1838
|
-
}, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, n) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && n % Math.floor((X.value.end - X.value.start) /
|
|
1836
|
+
}, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, n) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && n % Math.floor((X.value.end - X.value.start) / Yr.value) === 0 || X.value.end - X.value.start <= Yr.value ? (C(), _("g", It, [String(e).includes("\n") ? (C(), _("text", {
|
|
1839
1837
|
key: 1,
|
|
1840
1838
|
class: "vue-data-ui-time-label",
|
|
1841
1839
|
"font-size": z.value.xyLabelsXFontSize,
|
|
@@ -2017,7 +2015,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2017
2015
|
}, null, 8, an))), 256)), v("g", {
|
|
2018
2016
|
ref_key: "timeLabelsEls",
|
|
2019
2017
|
ref: R
|
|
2020
|
-
}, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, n) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && n % Math.floor((X.value.end - X.value.start) /
|
|
2018
|
+
}, [(C(!0), _(m, null, T($.value.map((e) => e.text), (e, n) => (C(), _(m, null, [!z.value.xyPeriodsShowOnlyAtModulo || z.value.xyPeriodsShowOnlyAtModulo && n % Math.floor((X.value.end - X.value.start) / Yr.value) === 0 || X.value.end - X.value.start <= Yr.value ? (C(), _("g", on, [String(e).includes("\n") ? (C(), _("text", {
|
|
2021
2019
|
key: 1,
|
|
2022
2020
|
class: "vue-data-ui-time-label",
|
|
2023
2021
|
"font-size": z.value.xyLabelsXFontSize,
|
|
@@ -2131,16 +2129,15 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2131
2129
|
key: `slicer_${Fn.value}`,
|
|
2132
2130
|
ref_key: "quickChartSlicer",
|
|
2133
2131
|
ref: kn
|
|
2134
|
-
}, [(C(), Me(
|
|
2132
|
+
}, [(C(), Me(Ee, {
|
|
2135
2133
|
ref_key: "slicerComponent",
|
|
2136
2134
|
ref: Ir,
|
|
2137
2135
|
key: `slicer_${Fn.value}`,
|
|
2136
|
+
timeLabels: $.value,
|
|
2138
2137
|
background: z.value.zoomColor,
|
|
2139
2138
|
borderColor: z.value.backgroundColor,
|
|
2140
2139
|
fontSize: z.value.zoomFontSize,
|
|
2141
2140
|
useResetSlot: z.value.zoomUseResetSlot,
|
|
2142
|
-
labelLeft: z.value.xyPeriods[X.value.start] && $.value[0] ? $.value[0].text : "",
|
|
2143
|
-
labelRight: z.value.xyPeriods[X.value.end - 1] && $.value?.length ? $.value.at(-1).text : "",
|
|
2144
2141
|
textColor: z.value.color,
|
|
2145
2142
|
inputColor: z.value.zoomColor,
|
|
2146
2143
|
selectColor: z.value.zoomHighlightColor,
|
|
@@ -2167,7 +2164,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2167
2164
|
enableSelectionDrag: z.value.zoomEnableSelectionDrag,
|
|
2168
2165
|
minimapCompact: z.value.zoomMinimap.compact,
|
|
2169
2166
|
minimapMerged: z.value.zoomMinimap.merged,
|
|
2170
|
-
allMinimaps:
|
|
2167
|
+
allMinimaps: qr.value,
|
|
2171
2168
|
minimapFrameColor: z.value.zoomMinimap.frameColor,
|
|
2172
2169
|
additionalMinimapHeight: z.value.zoomMinimap.additionalHeight,
|
|
2173
2170
|
handleType: z.value.zoomMinimap.handleType,
|
|
@@ -2179,12 +2176,14 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2179
2176
|
focusOnDrag: z.value.zoomFocusOnDrag,
|
|
2180
2177
|
focusRangeRatio: z.value.zoomFocusRangeRatio,
|
|
2181
2178
|
maxWidth: z.value.zoomMaxWidth,
|
|
2179
|
+
minimapLeftInsetRatio: Gr.value,
|
|
2180
|
+
minimapRightInsetRatio: Kr.value,
|
|
2182
2181
|
onReset: Fr,
|
|
2183
2182
|
onTrapMouse: Nr
|
|
2184
2183
|
}, {
|
|
2185
2184
|
"reset-action": k(({ reset: t }) => [E(e.$slots, "reset-action", x(y({ reset: t })), void 0, !0)]),
|
|
2186
2185
|
_: 3
|
|
2187
|
-
}, 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),
|
|
2188
2187
|
v("div", { id: `legend-bottom-${P.value}` }, null, 8, Sn),
|
|
2189
2188
|
In.value && z.value.showLegend ? (C(), Me(je, {
|
|
2190
2189
|
key: 7,
|
|
@@ -2196,7 +2195,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2196
2195
|
class: "vue-ui-quick-chart-legend",
|
|
2197
2196
|
style: S(`background:transparent;color:${z.value.color}`)
|
|
2198
2197
|
}, [
|
|
2199
|
-
(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, {
|
|
2200
2199
|
key: 0,
|
|
2201
2200
|
backgroundColor: z.value.legendSelectAllToggleBackgroundColor,
|
|
2202
2201
|
color: z.value.legendSelectAllToggleColor,
|
|
@@ -2218,7 +2217,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2218
2217
|
role: "button",
|
|
2219
2218
|
tabindex: "0",
|
|
2220
2219
|
onKeydown: (e) => {
|
|
2221
|
-
|
|
2220
|
+
di(e, () => {
|
|
2222
2221
|
Mr(t, Y.value.dataset);
|
|
2223
2222
|
});
|
|
2224
2223
|
}
|
|
@@ -2272,7 +2271,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2272
2271
|
role: "button",
|
|
2273
2272
|
tabindex: "0",
|
|
2274
2273
|
onKeydown: (e) => {
|
|
2275
|
-
|
|
2274
|
+
di(e, () => {
|
|
2276
2275
|
Or(t.id, Z.value.legend.length - 1), U("selectLegend", Z.value.dataset);
|
|
2277
2276
|
});
|
|
2278
2277
|
}
|
|
@@ -2300,7 +2299,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2300
2299
|
role: "button",
|
|
2301
2300
|
tabindex: "0",
|
|
2302
2301
|
onKeydown: (e) => {
|
|
2303
|
-
|
|
2302
|
+
di(e, () => {
|
|
2304
2303
|
Or(t.id, Q.value.legend.length - 1), U("selectLegend", Q.value.dataset);
|
|
2305
2304
|
});
|
|
2306
2305
|
}
|
|
@@ -2341,7 +2340,7 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2341
2340
|
offsetY: z.value.tooltipOffsetY,
|
|
2342
2341
|
parent: N.value,
|
|
2343
2342
|
content: jn.value,
|
|
2344
|
-
isFullscreen:
|
|
2343
|
+
isFullscreen: Xr.value,
|
|
2345
2344
|
isCustom: O(ce)(z.value.tooltipCustomFormat),
|
|
2346
2345
|
smooth: z.value.tooltipSmooth,
|
|
2347
2346
|
smoothForce: z.value.tooltipSmoothForce,
|
|
@@ -2384,6 +2383,6 @@ var N = /* @__PURE__ */ e({ default: () => Dn }), tt = ["id"], nt = ["id"], rt =
|
|
|
2384
2383
|
stroke: "red"
|
|
2385
2384
|
}), n[5] ||= v("span", null, "Dataset is not processable", -1)]));
|
|
2386
2385
|
}
|
|
2387
|
-
}, [["__scopeId", "data-v-
|
|
2386
|
+
}, [["__scopeId", "data-v-4bec8cdd"]]);
|
|
2388
2387
|
//#endregion
|
|
2389
2388
|
export { N as n, Dn as t };
|