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,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Bt as n, D as r, G as i, Jt as a, Kt as ee, Pt as o, Rt as te, S as ne, Vt as re, X as s, b as ie, ct as ae, i as oe, jt as se, pt as ce, q as le, t as ue, tt as de, w as fe, xt as pe } from "./lib-
|
|
2
|
+
import { $ as t, Bt as n, D as r, G as i, Jt as a, Kt as ee, Pt as o, Rt as te, S as ne, Vt as re, X as s, b as ie, ct as ae, i as oe, jt as se, pt as ce, q as le, t as ue, tt as de, w as fe, xt as pe } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ge } from "./useConfig-
|
|
5
|
-
import { t as _e } from "./usePrinter-
|
|
4
|
+
import { t as ge } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as _e } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as be } from "./useSvgExport-
|
|
8
|
-
import { t as xe } from "./useNestedProp
|
|
7
|
+
import { t as be } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as xe } from "./useNestedProp-vPNvh7rV.js";
|
|
9
9
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as Ce } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as we } from "./img-
|
|
12
|
-
import { n as Te } from "./Title-
|
|
13
|
-
import { t as Ee } from "./Shape-
|
|
11
|
+
import { t as we } from "./img-Bnokohej.js";
|
|
12
|
+
import { n as Te } from "./Title-BE3qg9xl.js";
|
|
13
|
+
import { t as Ee } from "./Shape-C21CMlWS.js";
|
|
14
14
|
import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
15
|
import { l as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
|
|
16
16
|
import { t as Ae } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
-
import { t as je } from "./BaseLegendToggle-
|
|
17
|
+
import { t as je } from "./BaseLegendToggle-DZVucLnv.js";
|
|
18
18
|
import { t as Me } from "./A11yDataTable-DdRsVULz.js";
|
|
19
19
|
import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
20
|
import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
-
import { t as Fe } from "./labelUtils-
|
|
22
|
-
import { t as Ie } from "./Legend-
|
|
21
|
+
import { t as Fe } from "./labelUtils-BeVpDvTJ.js";
|
|
22
|
+
import { t as Ie } from "./Legend-CQxUgOd-.js";
|
|
23
23
|
import { t as Le } from "./vue_ui_rings-BVgD2aMn.js";
|
|
24
24
|
import { Fragment as Re, Teleport as ze, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as Ue, nextTick as We, normalizeClass as h, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Ge, onMounted as Ke, openBlock as v, ref as y, renderList as qe, renderSlot as b, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as Xe, toRefs as Ze, unref as x, useSlots as Qe, watch as $e, withCtx as S } from "vue";
|
|
25
25
|
//#region src/components/vue-ui-rings.vue
|
|
@@ -108,7 +108,7 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
108
108
|
},
|
|
109
109
|
emits: ["selectLegend", "copyAlt"],
|
|
110
110
|
setup(e, { expose: De, emit: et }) {
|
|
111
|
-
let bt = p(() => import("./Tooltip-
|
|
111
|
+
let bt = p(() => import("./Tooltip-DhjyfHwz.js")), xt = p(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), St = p(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), Ct = p(() => import("./DataTable-BbKgJ5UI.js")), wt = p(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Tt = p(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Et = p(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Dt = p(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_rings: Ot } = ge(), { isThemeValid: kt, warnInvalidTheme: At } = Se(), jt = Qe(), C = e, w = y(!1), Mt = c(() => !!C.dataset && C.dataset.length), T = y(le()), E = y(!1), Nt = y(""), D = y(null), Pt = y(0), O = y(null), Ft = y(null), It = y(null), Lt = y(null), Rt = y(null), zt = y(0), Bt = y(0), Vt = y(0), Ht = y(!1), Ut = y(!1), k = y(null), Wt = y(null), Gt = y(!1), Kt = y(!1), A = y(null), qt = y({
|
|
112
112
|
x: 0,
|
|
113
113
|
y: 0
|
|
114
114
|
}), j = y("pointer"), Jt = y(!1), M = y(tn());
|
|
@@ -552,7 +552,7 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
552
552
|
[e.name],
|
|
553
553
|
[Z.value.body[t]],
|
|
554
554
|
[isNaN(Z.value.body[t] / K.value) ? "-" : Z.value.body[t] / K.value * 100]
|
|
555
|
-
]), i =
|
|
555
|
+
]), i = [
|
|
556
556
|
[M.value.style.chart.title.text],
|
|
557
557
|
[M.value.style.chart.title.subtitle.text],
|
|
558
558
|
[
|
|
@@ -560,9 +560,9 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
560
560
|
["val"],
|
|
561
561
|
["%"]
|
|
562
562
|
]
|
|
563
|
-
].concat(n));
|
|
564
|
-
e ? e(
|
|
565
|
-
csvContent:
|
|
563
|
+
].concat(n), a = r(i);
|
|
564
|
+
e ? e(a) : t({
|
|
565
|
+
csvContent: a,
|
|
566
566
|
title: M.value.style.chart.title.text || "vue-ui-rings"
|
|
567
567
|
});
|
|
568
568
|
});
|
|
@@ -641,30 +641,30 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
641
641
|
let Bn = c(() => G.value.map((e) => ({
|
|
642
642
|
...e,
|
|
643
643
|
name: e.display
|
|
644
|
-
}))), Vn = c(() => M.value.style.chart.backgroundColor), Hn = c(() => M.value.style.chart.legend), { exportSvg:
|
|
644
|
+
}))), Vn = c(() => M.value.style.chart.backgroundColor), Hn = c(() => M.value.style.chart.legend), Un = c(() => M.value.style.chart.title), { exportSvg: Wn, getSvg: Gn } = be({
|
|
645
645
|
svg: I,
|
|
646
|
-
title:
|
|
646
|
+
title: Un,
|
|
647
647
|
legend: Hn,
|
|
648
648
|
legendItems: Bn,
|
|
649
649
|
backgroundColor: Vn
|
|
650
650
|
});
|
|
651
|
-
async function
|
|
651
|
+
async function Kn({ isCb: e }) {
|
|
652
652
|
Kt.value = !0, await We();
|
|
653
653
|
try {
|
|
654
654
|
if (e) {
|
|
655
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
655
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Gn();
|
|
656
656
|
await Promise.resolve(M.value.userOptions.callbacks.svg({
|
|
657
657
|
blob: e,
|
|
658
658
|
url: t,
|
|
659
659
|
text: n,
|
|
660
660
|
dataUrl: r
|
|
661
661
|
}));
|
|
662
|
-
} else await Promise.resolve(
|
|
662
|
+
} else await Promise.resolve(Wn());
|
|
663
663
|
} finally {
|
|
664
664
|
Kt.value = !1;
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function qn(e) {
|
|
668
668
|
if (e?.stage === "start") {
|
|
669
669
|
Gt.value = !0;
|
|
670
670
|
return;
|
|
@@ -675,7 +675,7 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
675
675
|
}
|
|
676
676
|
ln();
|
|
677
677
|
}
|
|
678
|
-
async function
|
|
678
|
+
async function Jn() {
|
|
679
679
|
if (pn("copyAlt", {
|
|
680
680
|
config: M.value,
|
|
681
681
|
dataset: q.value
|
|
@@ -688,13 +688,13 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
688
688
|
dataset: q.value
|
|
689
689
|
}));
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function Yn() {
|
|
692
692
|
A.value = null, Jt.value = !0;
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function Xn() {
|
|
695
695
|
A.value = null, j.value = "pointer", E.value = !1, D.value = null, Jt.value = !1;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function Zn(e) {
|
|
698
698
|
if (!I.value || Fn.value || document.activeElement !== I.value || !q.value.length || H.value.length === C.dataset.length) return;
|
|
699
699
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
700
700
|
if (!t && !n && !r && !i) return;
|
|
@@ -712,9 +712,9 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
712
712
|
let a = A.value;
|
|
713
713
|
a === null || a < 0 || a >= q.value.length ? a = n ? 0 : q.value.length - 1 : n ? (a += 1, a >= q.value.length && (a = 0)) : t && (--a, a < 0 && (a = q.value.length - 1));
|
|
714
714
|
let ee = q.value[a];
|
|
715
|
-
ee && (
|
|
715
|
+
ee && (Qn(a), kn(ee, a, "keyboard"));
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function Qn(e) {
|
|
718
718
|
if (!Number.isFinite(e) || !I.value) return;
|
|
719
719
|
let t = q.value[e];
|
|
720
720
|
if (!t) return;
|
|
@@ -724,7 +724,7 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
724
724
|
y: r.top + n.y / V.value.height * r.height
|
|
725
725
|
};
|
|
726
726
|
}
|
|
727
|
-
let
|
|
727
|
+
let $n = c(() => ({
|
|
728
728
|
headers: Q.value?.colNames ?? [],
|
|
729
729
|
rows: Q.value?.a11yBody ?? []
|
|
730
730
|
}));
|
|
@@ -734,7 +734,7 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
734
734
|
generatePdf: cn,
|
|
735
735
|
generateCsv: An,
|
|
736
736
|
generateImage: ln,
|
|
737
|
-
generateSvg:
|
|
737
|
+
generateSvg: Kn,
|
|
738
738
|
hideSeries: vn,
|
|
739
739
|
showSeries: _n,
|
|
740
740
|
toggleTable: Mn,
|
|
@@ -742,7 +742,7 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
742
742
|
toggleAnnotator: In,
|
|
743
743
|
toggleFullscreen: jn,
|
|
744
744
|
toggleLabels: Pn,
|
|
745
|
-
copyAlt:
|
|
745
|
+
copyAlt: Jn
|
|
746
746
|
}), (e, t) => (v(), d("div", {
|
|
747
747
|
ref_key: "ringsChart",
|
|
748
748
|
ref: O,
|
|
@@ -758,11 +758,11 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
758
758
|
id: `chart-instructions-${T.value}`,
|
|
759
759
|
class: "sr-only"
|
|
760
760
|
}, [f("p", null, Xe(M.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
|
|
761
|
-
|
|
761
|
+
$n.value?.rows?.length ? (v(), l(Me, {
|
|
762
762
|
key: 0,
|
|
763
763
|
uid: T.value,
|
|
764
|
-
head:
|
|
765
|
-
body:
|
|
764
|
+
head: $n.value.headers,
|
|
765
|
+
body: $n.value.rows,
|
|
766
766
|
notice: M.value.a11y.translations.tableAvailable,
|
|
767
767
|
caption: M.value.a11y.translations.tableCaption
|
|
768
768
|
}, null, 8, [
|
|
@@ -853,13 +853,13 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
853
853
|
onToggleFullscreen: jn,
|
|
854
854
|
onGeneratePdf: x(cn),
|
|
855
855
|
onGenerateCsv: An,
|
|
856
|
-
onGenerateImage:
|
|
857
|
-
onGenerateSvg:
|
|
856
|
+
onGenerateImage: qn,
|
|
857
|
+
onGenerateSvg: Kn,
|
|
858
858
|
onToggleTable: Mn,
|
|
859
859
|
onToggleTooltip: Nn,
|
|
860
860
|
onToggleAnnotator: In,
|
|
861
861
|
onToggleLabels: Pn,
|
|
862
|
-
onCopyAlt:
|
|
862
|
+
onCopyAlt: Jn,
|
|
863
863
|
style: _({ visibility: x(en) ? x(Qt) ? "visible" : "hidden" : "visible" })
|
|
864
864
|
}, Be({ _: 2 }, [
|
|
865
865
|
e.$slots.menuIcon ? {
|
|
@@ -951,9 +951,9 @@ var et = /* @__PURE__ */ e({ default: () => bt }), tt = ["id"], nt = ["id"], rt
|
|
|
951
951
|
style: _(`max-width:100%;overflow:hidden;background:transparent;color:${M.value.style.chart.color}`),
|
|
952
952
|
"aria-describedby": `chart-instructions-${T.value}`,
|
|
953
953
|
tabindex: "0",
|
|
954
|
-
onFocus:
|
|
955
|
-
onBlur:
|
|
956
|
-
onKeydown:
|
|
954
|
+
onFocus: Yn,
|
|
955
|
+
onBlur: Xn,
|
|
956
|
+
onKeydown: Zn
|
|
957
957
|
}, [
|
|
958
958
|
He(x(Et)),
|
|
959
959
|
e.$slots["chart-background"] ? (v(), d("foreignObject", {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Bt as n, D as r, F as i, Gt as a, Jt as o, Kt as s, P as c, Pt as l, S as u, Tt as d, X as f, _ as p, _t as m, b as h, ct as ee, i as g, jt as te, pt as ne, q as re, t as ie, tt as ae, v as oe, w as se, xt as ce } from "./lib-
|
|
2
|
+
import { $ as t, Bt as n, D as r, F as i, Gt as a, Jt as o, Kt as s, P as c, Pt as l, S as u, Tt as d, X as f, _ as p, _t as m, b as h, ct as ee, i as g, jt as te, pt as ne, q as re, t as ie, tt as ae, v 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 "./useConfig-
|
|
5
|
-
import { t as fe } from "./usePrinter-
|
|
4
|
+
import { t as de } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as fe } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as he } from "./useSvgExport-
|
|
8
|
-
import { t as ge } from "./useNestedProp
|
|
7
|
+
import { t as he } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as ge } from "./useNestedProp-vPNvh7rV.js";
|
|
9
9
|
import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as ve } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as ye } from "./img-
|
|
12
|
-
import { n as be } from "./Title-
|
|
13
|
-
import { t as xe } from "./Shape-
|
|
11
|
+
import { t as ye } from "./img-Bnokohej.js";
|
|
12
|
+
import { n as be } from "./Title-BE3qg9xl.js";
|
|
13
|
+
import { t as xe } from "./Shape-C21CMlWS.js";
|
|
14
14
|
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
15
|
import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
|
|
16
16
|
import { t as Te } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
-
import { t as Ee } from "./BaseLegendToggle-
|
|
17
|
+
import { t as Ee } from "./BaseLegendToggle-DZVucLnv.js";
|
|
18
18
|
import { t as De } from "./A11yDataTable-DdRsVULz.js";
|
|
19
19
|
import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
20
|
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
-
import { t as Ae } from "./Legend-
|
|
21
|
+
import { t as Ae } from "./Legend-CQxUgOd-.js";
|
|
22
22
|
import { t as je } from "./vue_ui_scatter-I0POnicu.js";
|
|
23
23
|
import { Fragment as _, Teleport as Me, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as C, guardReactiveProps as w, mergeProps as Ie, nextTick as Le, normalizeClass as Re, normalizeProps as T, normalizeStyle as E, onBeforeUnmount as ze, onMounted as Be, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as j, toRefs as Ue, unref as M, watch as We, withCtx as N } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-scatter.vue
|
|
@@ -379,7 +379,7 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
379
379
|
},
|
|
380
380
|
emits: ["copyAlt", "selectLegend"],
|
|
381
381
|
setup(e, { expose: Se, emit: Ge }) {
|
|
382
|
-
let gn = C(() => import("./Tooltip-
|
|
382
|
+
let gn = C(() => import("./Tooltip-DhjyfHwz.js")), _n = C(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), vn = C(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), yn = C(() => import("./DataTable-BbKgJ5UI.js")), bn = C(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), xn = C(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Sn = C(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Cn = C(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_scatter: wn } = de(), { isThemeValid: Tn, warnInvalidTheme: En } = _e(), P = e, Dn = Ge, On = v(() => !!P.dataset && P.dataset.length), F = O(re()), kn = O(!1), An = O(""), jn = O(0), I = O(null), Mn = O(null), Nn = O(null), Pn = O(null), Fn = O(null), In = O(0), Ln = O(0), Rn = O(0), L = O([]), zn = O(!1), Bn = O(null), Vn = O(null), Hn = O(null), Un = O(null), Wn = O(!1), Gn = O(!1), Kn = O(null), qn = O(null), Jn = O(null), Yn = O(null), Xn = O(null), Zn = O(null), Qn = O(null), $n = O({
|
|
383
383
|
x: 0,
|
|
384
384
|
y: 0
|
|
385
385
|
}), er = O("pointer"), tr = O(!1), nr = O(null), R = O(mr());
|
|
@@ -971,7 +971,7 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
971
971
|
R.value.events.datapointLeave && R.value.events.datapointLeave({
|
|
972
972
|
datapoint: e,
|
|
973
973
|
seriesIndex: t
|
|
974
|
-
}),
|
|
974
|
+
}), (er.value !== "keyboard" || Qn.value !== e?.id) && (kn.value = !1, Y.value = void 0, X.value = null);
|
|
975
975
|
}
|
|
976
976
|
function ri(e, t) {
|
|
977
977
|
R.value.events.datapointClick && R.value.events.datapointClick({
|
|
@@ -1012,7 +1012,7 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1012
1012
|
e.plots.length,
|
|
1013
1013
|
e.plots.map((e) => e.v.x).reduce((e, t) => e + t, 0) / e.plots.length,
|
|
1014
1014
|
e.plots.map((e) => e.v.y).reduce((e, t) => e + t, 0) / e.plots.length
|
|
1015
|
-
]), a =
|
|
1015
|
+
]), a = [
|
|
1016
1016
|
[R.value.style.title.text],
|
|
1017
1017
|
[R.value.style.title.subtitle.text],
|
|
1018
1018
|
[
|
|
@@ -1021,9 +1021,9 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1021
1021
|
[""]
|
|
1022
1022
|
],
|
|
1023
1023
|
n
|
|
1024
|
-
].concat(i));
|
|
1025
|
-
e ? e(
|
|
1026
|
-
csvContent:
|
|
1024
|
+
].concat(i), o = r(a);
|
|
1025
|
+
e ? e(o) : t({
|
|
1026
|
+
csvContent: o,
|
|
1027
1027
|
title: R.value.style.title.text || "vue-ui-heatmap"
|
|
1028
1028
|
});
|
|
1029
1029
|
});
|
|
@@ -1270,30 +1270,30 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1270
1270
|
function ki() {
|
|
1271
1271
|
B.value.showTable = !1, Un.value && Un.value.setTableIconState(!1);
|
|
1272
1272
|
}
|
|
1273
|
-
let Ai = v(() => R.value.style.backgroundColor), ji = v(() => R.value.style.legend), { exportSvg:
|
|
1273
|
+
let Ai = v(() => R.value.style.backgroundColor), ji = v(() => R.value.style.legend), Mi = v(() => R.value.style.title), { exportSvg: Ni, getSvg: Pi } = he({
|
|
1274
1274
|
svg: pr,
|
|
1275
|
-
title:
|
|
1275
|
+
title: Mi,
|
|
1276
1276
|
legend: ji,
|
|
1277
1277
|
legendItems: G,
|
|
1278
1278
|
backgroundColor: Ai
|
|
1279
1279
|
});
|
|
1280
|
-
async function
|
|
1280
|
+
async function Fi({ isCb: e }) {
|
|
1281
1281
|
Gn.value = !0, await Le();
|
|
1282
1282
|
try {
|
|
1283
1283
|
if (e) {
|
|
1284
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
1284
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Pi();
|
|
1285
1285
|
await Promise.resolve(R.value.userOptions.callbacks.svg({
|
|
1286
1286
|
blob: e,
|
|
1287
1287
|
url: t,
|
|
1288
1288
|
text: n,
|
|
1289
1289
|
dataUrl: r
|
|
1290
1290
|
}));
|
|
1291
|
-
} else await Promise.resolve(
|
|
1291
|
+
} else await Promise.resolve(Ni());
|
|
1292
1292
|
} finally {
|
|
1293
1293
|
Gn.value = !1;
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
|
-
function
|
|
1296
|
+
function Ii(e) {
|
|
1297
1297
|
if (e?.stage === "start") {
|
|
1298
1298
|
Wn.value = !0;
|
|
1299
1299
|
return;
|
|
@@ -1304,7 +1304,7 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1304
1304
|
}
|
|
1305
1305
|
xr();
|
|
1306
1306
|
}
|
|
1307
|
-
async function
|
|
1307
|
+
async function Li() {
|
|
1308
1308
|
if (Dn("copyAlt", {
|
|
1309
1309
|
config: R.value,
|
|
1310
1310
|
dataset: Vr.value
|
|
@@ -1317,8 +1317,8 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1317
1317
|
dataset: Vr.value
|
|
1318
1318
|
}));
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1321
|
-
let n =
|
|
1320
|
+
function Ri(e, t) {
|
|
1321
|
+
let n = Ui.value.filter((t) => t.id !== e.id);
|
|
1322
1322
|
if (!n.length) return null;
|
|
1323
1323
|
let r = ((n) => {
|
|
1324
1324
|
if (!n.length) return null;
|
|
@@ -1354,14 +1354,14 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1354
1354
|
return Math.abs(t === "right" || t === "left" ? r.y - e.y : r.x - e.x) < i ? r : n;
|
|
1355
1355
|
}, null) : null;
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function zi() {
|
|
1358
1358
|
nr.value = null, Qn.value = null, tr.value = !0;
|
|
1359
1359
|
}
|
|
1360
|
-
function
|
|
1360
|
+
function Bi() {
|
|
1361
1361
|
Jr(), er.value = "pointer", tr.value = !1;
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1364
|
-
if (!pr.value || hi.value || document.activeElement !== pr.value || !
|
|
1363
|
+
function Vi(e) {
|
|
1364
|
+
if (!pr.value || hi.value || document.activeElement !== pr.value || !Ui.value.length) return;
|
|
1365
1365
|
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";
|
|
1366
1366
|
if (!t && !n && !r && !i && !a && !o) return;
|
|
1367
1367
|
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
@@ -1370,7 +1370,7 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1370
1370
|
}
|
|
1371
1371
|
if (a) {
|
|
1372
1372
|
if (nr.value === null) return;
|
|
1373
|
-
let e =
|
|
1373
|
+
let e = Ui.value[nr.value];
|
|
1374
1374
|
if (!e) return;
|
|
1375
1375
|
ri(e, e.seriesIndex);
|
|
1376
1376
|
return;
|
|
@@ -1379,7 +1379,7 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1379
1379
|
if (n && (s = "right"), t && (s = "left"), i && (s = "down"), r && (s = "up"), Qn.value === null) {
|
|
1380
1380
|
let e = X.value;
|
|
1381
1381
|
if (e && e.id) {
|
|
1382
|
-
let t =
|
|
1382
|
+
let t = Ri(e, s);
|
|
1383
1383
|
if (!t) {
|
|
1384
1384
|
let t = $.value.get(e.id);
|
|
1385
1385
|
if (t === void 0) return;
|
|
@@ -1391,7 +1391,7 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1391
1391
|
ti(t, t.seriesIndex, "keyboard", n);
|
|
1392
1392
|
return;
|
|
1393
1393
|
}
|
|
1394
|
-
let t =
|
|
1394
|
+
let t = Ui.value[0];
|
|
1395
1395
|
if (!t) return;
|
|
1396
1396
|
let n = $.value.get(t.id) ?? 0;
|
|
1397
1397
|
ti(t, t.seriesIndex, "keyboard", n);
|
|
@@ -1399,14 +1399,14 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1399
1399
|
}
|
|
1400
1400
|
let c = $.value.get(Qn.value);
|
|
1401
1401
|
if (c === void 0) return;
|
|
1402
|
-
let l =
|
|
1402
|
+
let l = Ui.value[c];
|
|
1403
1403
|
if (!l) return;
|
|
1404
|
-
let u =
|
|
1404
|
+
let u = Ri(l, s);
|
|
1405
1405
|
if (!u) return;
|
|
1406
1406
|
let d = $.value.get(u.id);
|
|
1407
1407
|
d !== void 0 && ti(u, u.seriesIndex, "keyboard", d);
|
|
1408
1408
|
}
|
|
1409
|
-
let
|
|
1409
|
+
let Hi = v(() => {
|
|
1410
1410
|
if (!X.value) return "";
|
|
1411
1411
|
let e = X.value, t = isNaN(e.v.x) ? "-" : g(R.value.style.layout.plots.selectors.labels.x.formatter, e.v.x, f({
|
|
1412
1412
|
p: R.value.style.tooltip.prefix,
|
|
@@ -1431,7 +1431,7 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1431
1431
|
`${R.value.style.layout.dataLabels.xAxis.name}: ${t}`,
|
|
1432
1432
|
`${R.value.style.layout.dataLabels.yAxis.name}: ${n}`
|
|
1433
1433
|
].filter(Boolean).join(". ");
|
|
1434
|
-
}),
|
|
1434
|
+
}), Ui = v(() => K.value.flatMap((e, t) => e.plots.map((n) => ({
|
|
1435
1435
|
...n,
|
|
1436
1436
|
seriesIndex: t,
|
|
1437
1437
|
seriesId: e.id,
|
|
@@ -1440,10 +1440,10 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1440
1440
|
color: e.color
|
|
1441
1441
|
})))), $ = v(() => {
|
|
1442
1442
|
let e = /* @__PURE__ */ new Map();
|
|
1443
|
-
return
|
|
1443
|
+
return Ui.value.forEach((t, n) => {
|
|
1444
1444
|
e.set(t.id, n);
|
|
1445
1445
|
}), e;
|
|
1446
|
-
}),
|
|
1446
|
+
}), Wi = v(() => ({
|
|
1447
1447
|
headers: ui.value?.colNames ?? [],
|
|
1448
1448
|
rows: ui.value?.a11yBody ?? []
|
|
1449
1449
|
}));
|
|
@@ -1453,14 +1453,14 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1453
1453
|
generatePdf: br,
|
|
1454
1454
|
generateCsv: li,
|
|
1455
1455
|
generateImage: xr,
|
|
1456
|
-
generateSvg:
|
|
1456
|
+
generateSvg: Fi,
|
|
1457
1457
|
hideSeries: ci,
|
|
1458
1458
|
showSeries: si,
|
|
1459
1459
|
toggleTable: pi,
|
|
1460
1460
|
toggleTooltip: mi,
|
|
1461
1461
|
toggleAnnotator: gi,
|
|
1462
1462
|
toggleFullscreen: fi,
|
|
1463
|
-
copyAlt:
|
|
1463
|
+
copyAlt: Li
|
|
1464
1464
|
}), (e, t) => (D(), x("div", {
|
|
1465
1465
|
class: Re(`vue-data-ui-component vue-ui-scatter ${di.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${R.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1466
1466
|
ref_key: "scatterChart",
|
|
@@ -1476,12 +1476,12 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1476
1476
|
id: `chart-instructions-${F.value}`,
|
|
1477
1477
|
class: "sr-only"
|
|
1478
1478
|
}, [S("p", null, j(R.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
|
|
1479
|
-
B.value.showTooltip ? b("", !0) : (D(), x("div", Je, j(
|
|
1480
|
-
|
|
1479
|
+
B.value.showTooltip ? b("", !0) : (D(), x("div", Je, j(Hi.value), 1)),
|
|
1480
|
+
Wi.value?.rows?.length && On.value ? (D(), y(De, {
|
|
1481
1481
|
key: 1,
|
|
1482
1482
|
uid: F.value,
|
|
1483
|
-
head:
|
|
1484
|
-
body:
|
|
1483
|
+
head: Wi.value.headers,
|
|
1484
|
+
body: Wi.value.rows,
|
|
1485
1485
|
notice: R.value.a11y.translations.tableAvailable,
|
|
1486
1486
|
caption: R.value.a11y.translations.tableCaption
|
|
1487
1487
|
}, null, 8, [
|
|
@@ -1571,12 +1571,12 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1571
1571
|
onToggleFullscreen: fi,
|
|
1572
1572
|
onGeneratePdf: M(br),
|
|
1573
1573
|
onGenerateCsv: li,
|
|
1574
|
-
onGenerateImage:
|
|
1575
|
-
onGenerateSvg:
|
|
1574
|
+
onGenerateImage: Ii,
|
|
1575
|
+
onGenerateSvg: Fi,
|
|
1576
1576
|
onToggleTable: pi,
|
|
1577
1577
|
onToggleTooltip: mi,
|
|
1578
1578
|
onToggleAnnotator: gi,
|
|
1579
|
-
onCopyAlt:
|
|
1579
|
+
onCopyAlt: Li,
|
|
1580
1580
|
style: E({ visibility: M(fr) ? M(ur) ? "visible" : "hidden" : "visible" })
|
|
1581
1581
|
}, Ne({ _: 2 }, [
|
|
1582
1582
|
e.$slots.menuIcon ? {
|
|
@@ -1663,9 +1663,9 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
|
|
|
1663
1663
|
style: E(`max-width:100%;overflow:visible;background:transparent;color:${R.value.style.color}`),
|
|
1664
1664
|
onMouseleave: bi,
|
|
1665
1665
|
tabindex: "0",
|
|
1666
|
-
onFocus:
|
|
1667
|
-
onBlur:
|
|
1668
|
-
onKeydown:
|
|
1666
|
+
onFocus: zi,
|
|
1667
|
+
onBlur: Bi,
|
|
1668
|
+
onKeydown: Vi
|
|
1669
1669
|
}, [
|
|
1670
1670
|
Fe(M(Sn)),
|
|
1671
1671
|
e.$slots["chart-background"] ? (D(), x("foreignObject", {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Bt as t, M as n, q as r, t as i, z as ee } from "./lib-
|
|
2
|
+
import { Bt as t, M as n, q as r, t as i, z as ee } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as te, t as ne } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as re } from "./useConfig-
|
|
5
|
-
import { t as ie } from "./useNestedProp
|
|
4
|
+
import { t as re } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as ie } from "./useNestedProp-vPNvh7rV.js";
|
|
6
6
|
import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { t as ae } from "./DefGrad-DVBqDjhO.js";
|
|
8
|
-
import { n as o } from "./PackageVersion
|
|
8
|
+
import { n as o } from "./PackageVersion-D6d8SCp9.js";
|
|
9
9
|
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createStaticVNode as f, createVNode as p, normalizeClass as oe, normalizeStyle as m, openBlock as h, ref as g, renderList as _, unref as v } from "vue";
|
|
10
10
|
//#region src/components/vue-ui-skeleton.vue
|
|
11
11
|
var y = /* @__PURE__ */ e({ default: () => K }), se = ["id"], ce = ["xmlns"], le = { transform: "translate(300, 300)" }, b = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Vt as t, X as n, i as r, jt as i, t as a, tt as o } from "./lib-
|
|
2
|
+
import { Vt as t, X as n, i as r, jt as i, t as a, tt as o } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as s, t as c } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as l } from "./useConfig-
|
|
5
|
-
import { t as u } from "./useNestedProp
|
|
4
|
+
import { t as l } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as u } from "./useNestedProp-vPNvh7rV.js";
|
|
6
6
|
import { t as d } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { t as f } from "./DefGrad-DVBqDjhO.js";
|
|
8
8
|
import { Fragment as p, computed as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, normalizeClass as b, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, unref as O, useSlots as k, watch as A, withCtx as j, withKeys as M } from "vue";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Bt as t, Et as n, Jt as r, P as i, X as a, b as o, g as ee, i as s, jt as c, q as te, t as ne, tt as re } from "./lib-
|
|
2
|
+
import { Bt as t, Et as n, Jt as r, P as i, X as a, b as o, g as ee, i as s, jt as c, q as te, t as ne, tt as re } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as oe } from "./useConfig-
|
|
4
|
+
import { t as oe } from "./useConfig-D3scuR88.js";
|
|
5
5
|
import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as l } from "./useNestedProp
|
|
6
|
+
import { t as l } from "./useNestedProp-vPNvh7rV.js";
|
|
7
7
|
import { t as le } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
8
|
import { t as u } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
9
|
import { l as ue, t as de } from "./useResponsive-ZtArZtUf.js";
|
|
@@ -64,7 +64,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
setup(e) {
|
|
67
|
-
let u = ve(() => import("./PackageVersion
|
|
67
|
+
let u = ve(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), { vue_ui_spark_trend: S } = oe(), { isThemeValid: C, warnInvalidTheme: Le } = le(), w = pe(), T = e, E = _(null), Re = _(null), ze = _(null), D = _(null), O = _(null), k = _(!1), A = _(null), j = _(te()), M = _(I());
|
|
68
68
|
ie({
|
|
69
69
|
config: () => M.value,
|
|
70
70
|
dataset: () => T.dataset,
|
|
@@ -289,11 +289,11 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
289
289
|
return J.value.forEach((t) => {
|
|
290
290
|
e.push(`${t.x},${t.y} `);
|
|
291
291
|
}), `M ${e.toString()}`;
|
|
292
|
-
}), Q = d(() => U.value / 2 - M.value.style.trendLabel.fontSize), { fitText: $ } = me({
|
|
292
|
+
}), Q = d(() => U.value / 2 - M.value.style.trendLabel.fontSize), Je = d(() => G.value.left * .8), { fitText: $ } = me({
|
|
293
293
|
svgRef: Re,
|
|
294
|
-
unitWidth:
|
|
294
|
+
unitWidth: Je,
|
|
295
295
|
fontSize: M.value.style.trendLabel.fontSize
|
|
296
|
-
}),
|
|
296
|
+
}), Ye = d(() => {
|
|
297
297
|
if (N.value || k.value) return "Trend chart loading";
|
|
298
298
|
let e = J.value?.at(-1), t = e?.value, n = a({
|
|
299
299
|
p: Y.value > 0 ? "+" : "",
|
|
@@ -307,7 +307,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
307
307
|
r: M.value.style.dataLabel.rounding
|
|
308
308
|
}), { datapoint: e });
|
|
309
309
|
return `Progression ${X.value === "positive" ? `up ${n}` : X.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${r}.`;
|
|
310
|
-
}),
|
|
310
|
+
}), Xe = d(() => `sparktrend-a11y-${j.value}`);
|
|
311
311
|
return (e, n) => (g(), p("div", {
|
|
312
312
|
ref_key: "sparkTrendChart",
|
|
313
313
|
ref: E,
|
|
@@ -315,13 +315,13 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
315
315
|
id: j.value,
|
|
316
316
|
style: ye(`width:100%;font-family:${M.value.style.fontFamily};background:${M.value.style.backgroundColor}`),
|
|
317
317
|
role: "img",
|
|
318
|
-
"aria-describedby":
|
|
318
|
+
"aria-describedby": Xe.value
|
|
319
319
|
}, [
|
|
320
320
|
_e("p", {
|
|
321
|
-
id:
|
|
321
|
+
id: Xe.value,
|
|
322
322
|
class: "sr-only",
|
|
323
323
|
"aria-live": "polite"
|
|
324
|
-
}, y(
|
|
324
|
+
}, y(Ye.value), 9, Ce),
|
|
325
325
|
(g(), p("svg", {
|
|
326
326
|
key: He.value,
|
|
327
327
|
ref_key: "svgRef",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Bt as t, Jt as n, Kt as r, Pt as i, S as a, Vt as ee, X as o, i as s, jt as te, pt as ne, q as re, t as ie, tt as c, w as ae } from "./lib-
|
|
2
|
+
import { Bt as t, Jt as n, Kt as r, Pt as i, S as a, Vt as ee, X as o, i as s, jt as te, pt as ne, q as re, t as ie, tt as c, w as ae } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as oe, t as l } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as u } from "./useConfig-
|
|
4
|
+
import { t as u } from "./useConfig-D3scuR88.js";
|
|
5
5
|
import { n as d, t as se } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as f } from "./useNestedProp
|
|
6
|
+
import { t as f } from "./useNestedProp-vPNvh7rV.js";
|
|
7
7
|
import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
8
|
import { t as le } from "./DefGrad-DVBqDjhO.js";
|
|
9
9
|
import { t as ue } from "./usePrefersMotion-BC-CsqR1.js";
|
|
@@ -58,7 +58,7 @@ var j = /* @__PURE__ */ e({ default: () => R }), M = [
|
|
|
58
58
|
},
|
|
59
59
|
emits: ["selectDatapoint"],
|
|
60
60
|
setup(e, { emit: j }) {
|
|
61
|
-
let R = pe(() => import("./PackageVersion
|
|
61
|
+
let R = pe(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), { vue_ui_sparkbar: z } = u(), { isThemeValid: ve, warnInvalidTheme: ye } = ce(), B = ue(), V = e, be = k();
|
|
62
62
|
S(() => {
|
|
63
63
|
be["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
64
64
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Jt as t, X as n, b as r, i, jt as ee, pt as te, q as ne, t as re, tt as a, yt as ie } from "./lib-
|
|
2
|
+
import { Jt as t, X as n, b as r, i, jt as ee, pt as te, q as ne, t as re, tt as a, yt as ie } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as ae, t as oe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as se } from "./useConfig-
|
|
4
|
+
import { t as se } from "./useConfig-D3scuR88.js";
|
|
5
5
|
import { n as ce, t as o } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as s } from "./useNestedProp
|
|
6
|
+
import { t as s } from "./useNestedProp-vPNvh7rV.js";
|
|
7
7
|
import { t as c } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
8
|
import { t as le } from "./DefGrad-DVBqDjhO.js";
|
|
9
9
|
import { t as l } from "./useChartAccessibility-DYqac8yF.js";
|
|
@@ -52,7 +52,7 @@ var w = /* @__PURE__ */ e({ default: () => j }), ge = ["xmlns", "viewBox"], T =
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
setup(e) {
|
|
55
|
-
let w = pe(() => import("./PackageVersion
|
|
55
|
+
let w = pe(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = se(), { isThemeValid: M, warnInvalidTheme: N } = c(), P = ue(), F = y(null), I = e, L = y(ne()), R = y(W());
|
|
56
56
|
ae({
|
|
57
57
|
config: () => R.value,
|
|
58
58
|
dataset: () => I.dataset,
|