vue-data-ui 3.23.0 → 3.23.1
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-D6d8SCp9.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/Slicer-CIk57nL4.js +1163 -0
- 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-KvlL5CqE.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-oDYGTc5P.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 +3 -0
- package/dist/{useConfig-BilxnBNr.js → useConfig-D3scuR88.js} +7 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-Brg8mm5J.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
- 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-DGWDPCwC.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-C_Su9fve.js} +45 -45
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-BxGriZik.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CgnPWA93.js → vue-ui-age-pyramid-D4k1MkAL.js} +41 -40
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-CCtnM8Rv.js} +41 -68
- package/dist/{vue-ui-bullet-Bc3-WaN1.js → vue-ui-bullet-DLZr2Uk8.js} +21 -21
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-CcdzJZ9n.js} +32 -32
- package/dist/{vue-ui-candlestick-DvvsrIdp.js → vue-ui-candlestick-EEEt7ORC.js} +50 -48
- package/dist/{vue-ui-carousel-table-DtsNVim8.js → vue-ui-carousel-table-BicIpNAD.js} +8 -8
- package/dist/vue-ui-chestnut-BI7mC5dd.js +2068 -0
- package/dist/{vue-ui-chord-xX5gWZy8.js → vue-ui-chord-DXaq8ZMu.js} +46 -46
- package/dist/{vue-ui-circle-pack-D8wykmqg.js → vue-ui-circle-pack-XHJBMG51.js} +362 -341
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-BqHr0n1Z.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-jMLVoQkb.js} +715 -720
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-DVAUFETR.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Dy4gG6qm.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-C0cWRLbU.js} +48 -47
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-CYpxGBhl.js} +18 -17
- package/dist/{vue-ui-donut-evolution-D6vH_hfx.js → vue-ui-donut-evolution-DwR47A2r.js} +58 -53
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-DxVbRjKR.js} +85 -85
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-DWaZF4FS.js} +37 -37
- package/dist/{vue-ui-funnel-CjYosIik.js → vue-ui-funnel-Bmpx5GHR.js} +24 -24
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-CWBP9oH9.js} +151 -151
- package/dist/{vue-ui-gauge-CByT0_vF.js → vue-ui-gauge-ByE_txav.js} +20 -20
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-ZA7CBy8f.js} +186 -186
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-SQCou0bQ.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-CHd9gs_p.js} +385 -385
- package/dist/vue-ui-hill-BT183G-_.js +1768 -0
- package/dist/{vue-ui-history-plot-BhcU94Pt.js → vue-ui-history-plot-BwnlC1mx.js} +511 -510
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-BUar2HUH.js} +235 -235
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-BF_9WWoo.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CvfukjXi.js} +3 -3
- package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-_zpbmvJs.js} +50 -50
- package/dist/{vue-ui-nested-donuts-aS4YzaB3.js → vue-ui-nested-donuts-qHZAJ70u.js} +43 -43
- package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-BUwt-apg.js} +54 -54
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-CoROD3er.js} +74 -74
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-BcH7eY4-.js} +96 -88
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-DGbaXGme.js} +191 -191
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-Bo3zD3yW.js} +3 -3
- package/dist/{vue-ui-relation-circle-FLs8vOxQ.js → vue-ui-relation-circle-DaU1eTsG.js} +32 -32
- package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-BJUBn8_b.js} +40 -40
- package/dist/{vue-ui-scatter-CNA7jF-o.js → vue-ui-scatter-Pcft1bUt.js} +50 -50
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-EeJcGbCo.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-D0gibt5c.js} +3 -3
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-BRoQ7JpQ.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-DFp2k7-7.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-D0Bq85Hs.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-BPln7v63.js} +13 -13
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-C6Q45Dqp.js} +7 -6
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-CjK4bcQg.js} +5 -5
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-Ca8EPf3e.js} +83 -80
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Pz5WWlWT.js} +189 -186
- package/dist/{vue-ui-strip-plot-ACeYOoHj.js → vue-ui-strip-plot-Dw4MGDSO.js} +66 -66
- package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-ljeYW8Wc.js} +10 -10
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-iRFmtK5S.js} +8 -8
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-D8uiOaeA.js} +26 -26
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-CYw983oL.js} +6 -6
- package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-h4VbnqPA.js} +77 -77
- package/dist/{vue-ui-waffle-iPpdk1Bm.js → vue-ui-waffle-cu0w_s6L.js} +41 -41
- package/dist/vue-ui-wheel-tLvJadk5.js +892 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-BjpGSsod.js} +68 -68
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-B4fCS3jN.js} +184 -184
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-7ZT9IRD8.js} +60 -60
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-BnLEwBpi.js} +20 -18
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-gyNS0yH0.js} +329 -326
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-chestnut-ArloORzP.js +0 -2068
- package/dist/vue-ui-hill-D7LYAgAL.js +0 -1768
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, G as r, Jt as i, Kt as a, Ot as o, Pt as s, S as c, X as l, Y as u, Zt as ee, _ as te, b as ne, ct as re, i as ie, jt as ae, pt as oe, q as se, qt as ce, t as le, tt as ue, w as de, x as d, xt as fe } from "./lib-
|
|
2
|
+
import { $ as t, D as n, G as r, Jt as i, Kt as a, Ot as o, Pt as s, S as c, X as l, Y as u, Zt as ee, _ as te, b as ne, ct as re, i as ie, jt as ae, pt as oe, q as se, qt as ce, t as le, tt as ue, w as de, x as d, xt as fe } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as pe, t as me } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as he } from "./useConfig-
|
|
5
|
-
import { t as ge } from "./usePrinter-
|
|
4
|
+
import { t as he } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as ge } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ye } from "./useSvgExport-
|
|
8
|
-
import { t as be } from "./useNestedProp
|
|
7
|
+
import { t as ye } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as be } from "./useNestedProp-vPNvh7rV.js";
|
|
9
9
|
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as Se } from "./useTransitions-g_zBREk2.js";
|
|
11
11
|
import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as we } from "./img-
|
|
13
|
-
import { n as Te } from "./Title-
|
|
14
|
-
import { t as Ee } from "./Shape-
|
|
12
|
+
import { t as we } from "./img-Bnokohej.js";
|
|
13
|
+
import { n as Te } from "./Title-BE3qg9xl.js";
|
|
14
|
+
import { t as Ee } from "./Shape-C21CMlWS.js";
|
|
15
15
|
import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { l as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
|
|
17
17
|
import { t as Ae } from "./DefGrad-DVBqDjhO.js";
|
|
@@ -172,7 +172,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
172
172
|
},
|
|
173
173
|
emits: ["selectDatapoint", "copyAlt"],
|
|
174
174
|
setup(e, { expose: De, emit: Je }) {
|
|
175
|
-
let Et = v(() => import("./Tooltip-
|
|
175
|
+
let Et = v(() => import("./Tooltip-DhjyfHwz.js")), Dt = v(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Ot = v(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), kt = v(() => import("./DataTable-BbKgJ5UI.js")), At = v(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), jt = v(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Mt = v(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Nt = v(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), Pt = [
|
|
176
176
|
"classic",
|
|
177
177
|
"scatter",
|
|
178
178
|
"violin"
|
|
@@ -826,13 +826,13 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
826
826
|
[e.iqr],
|
|
827
827
|
[e.count]
|
|
828
828
|
])) : r = ar.value.head.map((e, t) => [[e.name], [ar.value.body[t]]]);
|
|
829
|
-
let a =
|
|
829
|
+
let a = [
|
|
830
830
|
[P.value.style.chart.title.text],
|
|
831
831
|
[P.value.style.chart.title.subtitle.text],
|
|
832
832
|
i.map((e) => [e])
|
|
833
|
-
].concat(r));
|
|
834
|
-
e ? e(
|
|
835
|
-
csvContent:
|
|
833
|
+
].concat(r), o = n(a);
|
|
834
|
+
e ? e(o) : t({
|
|
835
|
+
csvContent: o,
|
|
836
836
|
title: P.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
837
837
|
});
|
|
838
838
|
});
|
|
@@ -938,14 +938,14 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
938
938
|
aspectRatio: r
|
|
939
939
|
};
|
|
940
940
|
}
|
|
941
|
-
let gr = p(() => K.value.map((e) => e.name))
|
|
941
|
+
let gr = p(() => K.value.map((e) => e.name)), _r = C({
|
|
942
|
+
start: 0,
|
|
943
|
+
end: K.value.length
|
|
944
|
+
});
|
|
942
945
|
Ce({
|
|
943
946
|
timeLabelsEls: en,
|
|
944
947
|
timeLabels: gr,
|
|
945
|
-
slicer:
|
|
946
|
-
start: 0,
|
|
947
|
-
end: K.value.length
|
|
948
|
-
}),
|
|
948
|
+
slicer: _r,
|
|
949
949
|
configRef: P,
|
|
950
950
|
rotationPath: [
|
|
951
951
|
"style",
|
|
@@ -968,7 +968,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
968
968
|
targetClass: ".vue-ui-strip-plot-category-name",
|
|
969
969
|
rotation: P.value.style.chart.labels.xAxisLabels.autoRotate.angle
|
|
970
970
|
});
|
|
971
|
-
let
|
|
971
|
+
let vr = p(() => {
|
|
972
972
|
let e = P.value.table.useDialog && !P.value.table.show, t = V.value.showTable;
|
|
973
973
|
return {
|
|
974
974
|
component: e ? Nt : Ot,
|
|
@@ -1002,31 +1002,31 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1002
1002
|
Ke(() => V.value.showTable, (e) => {
|
|
1003
1003
|
P.value.table.show || (e && P.value.table.useDialog && Jt.value ? Jt.value.open() : "close" in Jt.value && Jt.value.close());
|
|
1004
1004
|
});
|
|
1005
|
-
function
|
|
1005
|
+
function yr() {
|
|
1006
1006
|
V.value.showTable = !1, Yt.value && Yt.value.setTableIconState(!1);
|
|
1007
1007
|
}
|
|
1008
|
-
let
|
|
1008
|
+
let br = p(() => P.value.style.chart.backgroundColor), xr = p(() => P.value.style.chart.title), { exportSvg: Sr, getSvg: Cr } = ye({
|
|
1009
1009
|
svg: I,
|
|
1010
|
-
title:
|
|
1011
|
-
backgroundColor:
|
|
1010
|
+
title: xr,
|
|
1011
|
+
backgroundColor: br
|
|
1012
1012
|
});
|
|
1013
|
-
async function
|
|
1013
|
+
async function wr({ isCb: e }) {
|
|
1014
1014
|
Zt.value = !0, await ze();
|
|
1015
1015
|
try {
|
|
1016
1016
|
if (e) {
|
|
1017
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
1017
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Cr();
|
|
1018
1018
|
await Promise.resolve(P.value.userOptions.callbacks.svg({
|
|
1019
1019
|
blob: e,
|
|
1020
1020
|
url: t,
|
|
1021
1021
|
text: n,
|
|
1022
1022
|
dataUrl: r
|
|
1023
1023
|
}));
|
|
1024
|
-
} else await Promise.resolve(
|
|
1024
|
+
} else await Promise.resolve(Sr());
|
|
1025
1025
|
} finally {
|
|
1026
1026
|
Zt.value = !1;
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1029
|
+
function Tr(e) {
|
|
1030
1030
|
if (e?.stage === "start") {
|
|
1031
1031
|
Xt.value = !0;
|
|
1032
1032
|
return;
|
|
@@ -1037,7 +1037,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1037
1037
|
}
|
|
1038
1038
|
Cn();
|
|
1039
1039
|
}
|
|
1040
|
-
async function
|
|
1040
|
+
async function Er() {
|
|
1041
1041
|
if (Rt("copyAlt", {
|
|
1042
1042
|
config: P.value,
|
|
1043
1043
|
dataset: J.value
|
|
@@ -1050,19 +1050,19 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1050
1050
|
dataset: J.value
|
|
1051
1051
|
}));
|
|
1052
1052
|
}
|
|
1053
|
-
function
|
|
1053
|
+
function Dr() {
|
|
1054
1054
|
return J.value.length;
|
|
1055
1055
|
}
|
|
1056
|
-
function
|
|
1056
|
+
function Or(e) {
|
|
1057
1057
|
return J.value[e]?.plots ?? [];
|
|
1058
1058
|
}
|
|
1059
|
-
function
|
|
1060
|
-
return !Number.isInteger(e) || !Number.isInteger(t) ? null :
|
|
1059
|
+
function kr(e = nn.value, t = rn.value) {
|
|
1060
|
+
return !Number.isInteger(e) || !Number.isInteger(t) ? null : Or(e)[t] ?? null;
|
|
1061
1061
|
}
|
|
1062
|
-
function
|
|
1062
|
+
function Ar() {
|
|
1063
1063
|
nn.value = null, rn.value = null, N.value = "pointer", j.value = !1, Q.value = null;
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1065
|
+
function jr(e) {
|
|
1066
1066
|
if (!e || !I.value) return;
|
|
1067
1067
|
let t = I.value.getBoundingClientRect();
|
|
1068
1068
|
an.value = {
|
|
@@ -1070,43 +1070,43 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1070
1070
|
y: t.top + e.y / B.value * t.height
|
|
1071
1071
|
};
|
|
1072
1072
|
}
|
|
1073
|
-
function
|
|
1074
|
-
let n =
|
|
1075
|
-
n && (nn.value = e, rn.value = t, N.value = "keyboard",
|
|
1073
|
+
function Mr(e, t) {
|
|
1074
|
+
let n = kr(e, t);
|
|
1075
|
+
n && (nn.value = e, rn.value = t, N.value = "keyboard", jr(n), nr({
|
|
1076
1076
|
datapoint: n,
|
|
1077
1077
|
seriesIndex: e,
|
|
1078
1078
|
triggerMode: "keyboard"
|
|
1079
1079
|
}));
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1081
|
+
function Nr() {
|
|
1082
1082
|
on.value = !0, nn.value = null, rn.value = null;
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1085
|
-
on.value = !1,
|
|
1084
|
+
function Pr() {
|
|
1085
|
+
on.value = !1, Ar();
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1088
|
-
if (!I.value || pr.value || document.activeElement !== I.value || !
|
|
1087
|
+
function Fr(e) {
|
|
1088
|
+
if (!I.value || pr.value || document.activeElement !== I.value || !Dr()) return;
|
|
1089
1089
|
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
1090
1090
|
if (!t && !n && !r && !i && !a && !o) return;
|
|
1091
1091
|
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
1092
|
-
|
|
1092
|
+
Ar();
|
|
1093
1093
|
return;
|
|
1094
1094
|
}
|
|
1095
1095
|
let s = nn.value, c = rn.value;
|
|
1096
1096
|
if (s === null || c === null) s = 0, c = 0;
|
|
1097
1097
|
else if (t || n) {
|
|
1098
|
-
let e =
|
|
1098
|
+
let e = Dr();
|
|
1099
1099
|
s = n ? (s + 1) % e : (s - 1 + e) % e;
|
|
1100
|
-
let t =
|
|
1100
|
+
let t = Or(s);
|
|
1101
1101
|
if (!t.length) return;
|
|
1102
1102
|
c = Math.min(c, t.length - 1);
|
|
1103
1103
|
} else if (r || i) {
|
|
1104
|
-
let e =
|
|
1104
|
+
let e = Or(s);
|
|
1105
1105
|
if (!e.length) return;
|
|
1106
1106
|
c = r ? (c + 1) % e.length : (c - 1 + e.length) % e.length;
|
|
1107
1107
|
}
|
|
1108
1108
|
if (a) {
|
|
1109
|
-
let e =
|
|
1109
|
+
let e = kr();
|
|
1110
1110
|
if (!e) return;
|
|
1111
1111
|
er({
|
|
1112
1112
|
datapoint: e,
|
|
@@ -1114,9 +1114,9 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1114
1114
|
});
|
|
1115
1115
|
return;
|
|
1116
1116
|
}
|
|
1117
|
-
|
|
1117
|
+
Mr(s, c);
|
|
1118
1118
|
}
|
|
1119
|
-
let
|
|
1119
|
+
let Ir = p(() => ({
|
|
1120
1120
|
headers: sr.value?.colNames ?? [],
|
|
1121
1121
|
rows: sr.value?.body?.map((e) => e.map((e) => e && typeof e == "object" && "name" in e ? e.name : e)) ?? []
|
|
1122
1122
|
}));
|
|
@@ -1126,13 +1126,13 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1126
1126
|
generatePdf: Sn,
|
|
1127
1127
|
generateCsv: or,
|
|
1128
1128
|
generateImage: Cn,
|
|
1129
|
-
generateSvg:
|
|
1129
|
+
generateSvg: wr,
|
|
1130
1130
|
toggleTable: ur,
|
|
1131
1131
|
toggleLabels: dr,
|
|
1132
1132
|
toggleTooltip: fr,
|
|
1133
1133
|
toggleAnnotator: mr,
|
|
1134
1134
|
toggleFullscreen: cr,
|
|
1135
|
-
copyAlt:
|
|
1135
|
+
copyAlt: Er
|
|
1136
1136
|
}), (e, t) => (S(), g("div", {
|
|
1137
1137
|
ref_key: "stripPlotChart",
|
|
1138
1138
|
ref: M,
|
|
@@ -1146,11 +1146,11 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1146
1146
|
id: `chart-instructions-${A.value}`,
|
|
1147
1147
|
class: "sr-only"
|
|
1148
1148
|
}, [_("p", null, E(P.value.a11y.translations.keyboardNavigation), 1)], 8, Xe),
|
|
1149
|
-
|
|
1149
|
+
Ir.value?.rows?.length ? (S(), m(je, {
|
|
1150
1150
|
key: 0,
|
|
1151
1151
|
uid: A.value,
|
|
1152
|
-
head:
|
|
1153
|
-
body:
|
|
1152
|
+
head: Ir.value.headers,
|
|
1153
|
+
body: Ir.value.rows,
|
|
1154
1154
|
notice: P.value.a11y.translations.tableAvailable,
|
|
1155
1155
|
caption: P.value.a11y.translations.tableCaption
|
|
1156
1156
|
}, null, 8, [
|
|
@@ -1240,13 +1240,13 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1240
1240
|
onToggleFullscreen: cr,
|
|
1241
1241
|
onGeneratePdf: D(Sn),
|
|
1242
1242
|
onGenerateCsv: or,
|
|
1243
|
-
onGenerateImage:
|
|
1244
|
-
onGenerateSvg:
|
|
1243
|
+
onGenerateImage: Tr,
|
|
1244
|
+
onGenerateSvg: wr,
|
|
1245
1245
|
onToggleTable: ur,
|
|
1246
1246
|
onToggleLabels: dr,
|
|
1247
1247
|
onToggleTooltip: fr,
|
|
1248
1248
|
onToggleAnnotator: mr,
|
|
1249
|
-
onCopyAlt:
|
|
1249
|
+
onCopyAlt: Er,
|
|
1250
1250
|
style: x({ visibility: D(hn) ? D(pn) ? "visible" : "hidden" : "visible" })
|
|
1251
1251
|
}, Fe({ _: 2 }, [
|
|
1252
1252
|
e.$slots.menuIcon ? {
|
|
@@ -1337,9 +1337,9 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1337
1337
|
style: x(`max-width:100%; overflow: visible; background:transparent;color:${P.value.style.chart.color};`),
|
|
1338
1338
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1339
1339
|
tabindex: "0",
|
|
1340
|
-
onFocus:
|
|
1341
|
-
onBlur:
|
|
1342
|
-
onKeydown:
|
|
1340
|
+
onFocus: Nr,
|
|
1341
|
+
onBlur: Pr,
|
|
1342
|
+
onKeydown: Fr
|
|
1343
1343
|
}, [
|
|
1344
1344
|
Le(D(Mt)),
|
|
1345
1345
|
e.$slots["chart-background"] ? (S(), g("foreignObject", {
|
|
@@ -1697,10 +1697,10 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1697
1697
|
"isA11yMode",
|
|
1698
1698
|
"a11yPosition"
|
|
1699
1699
|
]),
|
|
1700
|
-
zt.value && P.value.userOptions.buttons.table ? (S(), m(Ue(
|
|
1700
|
+
zt.value && P.value.userOptions.buttons.table ? (S(), m(Ue(vr.value.component), Re({ key: 7 }, vr.value.props, {
|
|
1701
1701
|
ref_key: "tableUnit",
|
|
1702
1702
|
ref: Jt,
|
|
1703
|
-
onClose:
|
|
1703
|
+
onClose: yr
|
|
1704
1704
|
}), Fe({
|
|
1705
1705
|
content: O(() => [(S(), m(D(kt), {
|
|
1706
1706
|
key: `table_${qt.value}`,
|
|
@@ -1708,10 +1708,10 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1708
1708
|
head: sr.value.head,
|
|
1709
1709
|
body: sr.value.body,
|
|
1710
1710
|
config: sr.value.config,
|
|
1711
|
-
title: P.value.table.useDialog ? "" :
|
|
1711
|
+
title: P.value.table.useDialog ? "" : vr.value.title,
|
|
1712
1712
|
withCloseButton: !P.value.table.useDialog,
|
|
1713
1713
|
isCursorPointer: F.value,
|
|
1714
|
-
onClose:
|
|
1714
|
+
onClose: yr
|
|
1715
1715
|
}, {
|
|
1716
1716
|
th: O(({ th: e }) => [_("div", {
|
|
1717
1717
|
innerHTML: e,
|
|
@@ -1734,7 +1734,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1734
1734
|
_: 2
|
|
1735
1735
|
}, [P.value.table.useDialog ? {
|
|
1736
1736
|
name: "title",
|
|
1737
|
-
fn: O(() => [Ie(E(
|
|
1737
|
+
fn: O(() => [Ie(E(vr.value.title), 1)]),
|
|
1738
1738
|
key: "0"
|
|
1739
1739
|
} : void 0, P.value.table.useDialog ? {
|
|
1740
1740
|
name: "actions",
|
|
@@ -1745,7 +1745,7 @@ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1745
1745
|
style: x({ cursor: F.value ? "pointer" : "default" })
|
|
1746
1746
|
}, [Le(D(Dt), {
|
|
1747
1747
|
name: "fileCsv",
|
|
1748
|
-
stroke:
|
|
1748
|
+
stroke: vr.value.props.color
|
|
1749
1749
|
}, null, 8, ["stroke"])], 4)]),
|
|
1750
1750
|
key: "1"
|
|
1751
1751
|
} : void 0]), 1040)) : h("", !0),
|