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,21 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, At as n, Bt as r, D as i, Jt as a, M as ee, Vt as te, X as o, i as ne, jt as re, q as ie, t as ae, tt as oe } from "./lib-
|
|
2
|
+
import { $ as t, At as n, Bt as r, D as i, Jt as a, M as ee, Vt as te, X as o, i as ne, jt as re, q as ie, t as ae, tt as oe } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as le } from "./useConfig-
|
|
5
|
-
import { t as ue } from "./usePrinter-
|
|
4
|
+
import { t as le } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as ue } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as pe } from "./useSvgExport-
|
|
8
|
-
import { t as me } from "./useNestedProp
|
|
7
|
+
import { t as pe } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as me } from "./useNestedProp-vPNvh7rV.js";
|
|
9
9
|
import { t as he } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
-
import { t as ge } from "./img-
|
|
11
|
-
import { n as _e } from "./Title-
|
|
10
|
+
import { t as ge } from "./img-Bnokohej.js";
|
|
11
|
+
import { n as _e } from "./Title-BE3qg9xl.js";
|
|
12
12
|
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as xe } from "./DefGrad-DVBqDjhO.js";
|
|
15
15
|
import { t as Se } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as we } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as Te } from "./Legend-
|
|
18
|
+
import { t as Te } from "./Legend-CQxUgOd-.js";
|
|
19
19
|
import { t as Ee } from "./vue_ui_mood_radar-BA6LAKhk.js";
|
|
20
20
|
import { Fragment as De, Teleport as Oe, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as ke, createTextVNode as Ae, createVNode as f, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as je, nextTick as Me, normalizeClass as Ne, normalizeProps as h, normalizeStyle as g, onMounted as Pe, openBlock as _, ref as v, renderList as Fe, renderSlot as y, resolveDynamicComponent as Ie, toDisplayString as b, toRefs as Le, unref as x, watch as Re, withCtx as S } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-mood-radar.vue
|
|
@@ -95,7 +95,7 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
95
95
|
},
|
|
96
96
|
emits: ["copyAlt"],
|
|
97
97
|
setup(e, { expose: ve, emit: ze }) {
|
|
98
|
-
let C = p(() => import("./BaseIcon-
|
|
98
|
+
let C = p(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), bt = p(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), xt = p(() => import("./DataTable-BbKgJ5UI.js")), St = p(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Ct = p(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), wt = p(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Tt = p(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_mood_radar: Et } = le(), { isThemeValid: Dt, warnInvalidTheme: Ot } = he(), w = e, kt = ze, T = v(ie()), E = v(null), D = v(null), At = v(null), jt = v(0), Mt = v(0), Nt = v(0), Pt = v(null), Ft = v(null), O = v(null), k = v(null), It = v(null), Lt = v(!1), A = v(null), Rt = v(null), j = v(!1), M = v(!1), N = v(null), zt = v(!1), Bt = s(() => !!w.dataset && Object.keys(w.dataset).length), P = v(Jt());
|
|
99
99
|
se({
|
|
100
100
|
config: () => P.value,
|
|
101
101
|
dataset: () => w.dataset,
|
|
@@ -351,7 +351,7 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
351
351
|
[e.name],
|
|
352
352
|
[q.value.body[t]],
|
|
353
353
|
[isNaN(q.value.body[t] / V.value) ? "-" : q.value.body[t] / V.value * 100]
|
|
354
|
-
]), r =
|
|
354
|
+
]), r = [
|
|
355
355
|
[P.value.style.chart.title.text],
|
|
356
356
|
[P.value.style.chart.title.subtitle.text],
|
|
357
357
|
[
|
|
@@ -359,9 +359,9 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
359
359
|
["val"],
|
|
360
360
|
["%"]
|
|
361
361
|
]
|
|
362
|
-
].concat(n));
|
|
363
|
-
e ? e(
|
|
364
|
-
csvContent:
|
|
362
|
+
].concat(n), a = i(r);
|
|
363
|
+
e ? e(a) : t({
|
|
364
|
+
csvContent: a,
|
|
365
365
|
title: P.value.style.chart.title.text || "vue-ui-mood-radar"
|
|
366
366
|
});
|
|
367
367
|
});
|
|
@@ -471,30 +471,30 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
471
471
|
...e,
|
|
472
472
|
name: e.display,
|
|
473
473
|
shape: "circle"
|
|
474
|
-
}))), _n = s(() => P.value.style.chart.backgroundColor), vn = s(() => P.value.style.chart.legend), { exportSvg:
|
|
474
|
+
}))), _n = s(() => P.value.style.chart.backgroundColor), vn = s(() => P.value.style.chart.legend), yn = s(() => P.value.style.chart.title), { exportSvg: bn, getSvg: xn } = pe({
|
|
475
475
|
svg: L,
|
|
476
|
-
title:
|
|
476
|
+
title: yn,
|
|
477
477
|
legend: vn,
|
|
478
478
|
legendItems: gn,
|
|
479
479
|
backgroundColor: _n
|
|
480
480
|
});
|
|
481
|
-
async function
|
|
481
|
+
async function Sn({ isCb: e }) {
|
|
482
482
|
M.value = !0, await Me();
|
|
483
483
|
try {
|
|
484
484
|
if (e) {
|
|
485
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
485
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await xn();
|
|
486
486
|
await Promise.resolve(P.value.userOptions.callbacks.svg({
|
|
487
487
|
blob: e,
|
|
488
488
|
url: t,
|
|
489
489
|
text: n,
|
|
490
490
|
dataUrl: r
|
|
491
491
|
}));
|
|
492
|
-
} else await Promise.resolve(
|
|
492
|
+
} else await Promise.resolve(bn());
|
|
493
493
|
} finally {
|
|
494
494
|
M.value = !1;
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function Cn(e) {
|
|
498
498
|
if (e?.stage === "start") {
|
|
499
499
|
j.value = !0;
|
|
500
500
|
return;
|
|
@@ -505,7 +505,7 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
505
505
|
}
|
|
506
506
|
Qt();
|
|
507
507
|
}
|
|
508
|
-
async function
|
|
508
|
+
async function wn() {
|
|
509
509
|
if (kt("copyAlt", {
|
|
510
510
|
config: P.value,
|
|
511
511
|
dataset: H.value
|
|
@@ -519,16 +519,16 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
519
519
|
}));
|
|
520
520
|
}
|
|
521
521
|
let Q = s(() => H.value.map((e) => String(e.key)));
|
|
522
|
-
function
|
|
522
|
+
function Tn() {
|
|
523
523
|
Kt(!0);
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function En() {
|
|
526
526
|
Kt(!1);
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function Dn(e) {
|
|
529
529
|
return H.value.find((t) => String(t.key) === String(e));
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function On(e, t, n) {
|
|
532
532
|
return ne(P.value.style.chart.layout.dataLabel.formatter, e, o({
|
|
533
533
|
p: P.value.style.chart.layout.dataLabel.prefix,
|
|
534
534
|
v: e,
|
|
@@ -539,7 +539,7 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
539
539
|
seriesIndex: t
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function kn(e) {
|
|
543
543
|
return o({
|
|
544
544
|
v: V.value ? e / V.value * 100 : 0,
|
|
545
545
|
s: "%",
|
|
@@ -547,20 +547,20 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
547
547
|
});
|
|
548
548
|
}
|
|
549
549
|
function $(e) {
|
|
550
|
-
let t =
|
|
551
|
-
return t ? `${e}, ${
|
|
550
|
+
let t = Dn(e);
|
|
551
|
+
return t ? `${e}, ${On(t.value, t.index, t)}, ${kn(t.value)}` : `${e}`;
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function An(e) {
|
|
554
554
|
let t = Q.value[e];
|
|
555
555
|
t && (N.value = e, D.value = t);
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function jn() {
|
|
558
558
|
zt.value = !0;
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function Mn() {
|
|
561
561
|
N.value = null, D.value = null, zt.value = !1;
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function Nn(e) {
|
|
564
564
|
if (!L.value || !Q.value.length || X.value || document.activeElement !== L.value) return;
|
|
565
565
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
566
566
|
if (!t && !n && !r && !i) return;
|
|
@@ -576,9 +576,9 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
576
576
|
return;
|
|
577
577
|
}
|
|
578
578
|
let a = N.value;
|
|
579
|
-
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)),
|
|
579
|
+
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)), An(a);
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function Pn(e, t) {
|
|
582
582
|
let n = e.key === "Enter" || e.key === " ", r = e.key === "Escape";
|
|
583
583
|
if (!(!n && !r)) {
|
|
584
584
|
if (e.preventDefault(), e.stopPropagation(), r) {
|
|
@@ -588,12 +588,12 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
588
588
|
U(String(t));
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
let
|
|
591
|
+
let Fn = s(() => ({
|
|
592
592
|
headers: J.value?.colNames ?? [],
|
|
593
593
|
rows: H.value.map((e) => [
|
|
594
594
|
String(e.key),
|
|
595
|
-
|
|
596
|
-
|
|
595
|
+
On(e.value, e.index, e),
|
|
596
|
+
kn(e.value)
|
|
597
597
|
])
|
|
598
598
|
}));
|
|
599
599
|
return ve({
|
|
@@ -602,29 +602,29 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
602
602
|
generatePdf: Zt,
|
|
603
603
|
generateCsv: ln,
|
|
604
604
|
generateImage: Qt,
|
|
605
|
-
generateSvg:
|
|
605
|
+
generateSvg: Sn,
|
|
606
606
|
toggleTable: dn,
|
|
607
607
|
toggleAnnotator: pn,
|
|
608
608
|
toggleFullscreen: fn,
|
|
609
|
-
copyAlt:
|
|
609
|
+
copyAlt: wn
|
|
610
610
|
}), (e, t) => (_(), u("div", {
|
|
611
611
|
class: Ne(`vue-data-ui-component vue-ui-mood-radar ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
612
612
|
ref_key: "moodRadarChart",
|
|
613
613
|
ref: E,
|
|
614
614
|
id: `${T.value}`,
|
|
615
615
|
style: g(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor}`),
|
|
616
|
-
onMouseenter:
|
|
617
|
-
onMouseleave:
|
|
616
|
+
onMouseenter: Tn,
|
|
617
|
+
onMouseleave: En
|
|
618
618
|
}, [
|
|
619
619
|
d("div", {
|
|
620
620
|
id: `chart-instructions-${T.value}`,
|
|
621
621
|
class: "sr-only"
|
|
622
622
|
}, [d("p", null, b(P.value.a11y.translations.keyboardNavigation), 1)], 8, Ve),
|
|
623
|
-
|
|
623
|
+
Fn.value?.rows?.length ? (_(), c(Se, {
|
|
624
624
|
key: 0,
|
|
625
625
|
uid: T.value,
|
|
626
|
-
head:
|
|
627
|
-
body:
|
|
626
|
+
head: Fn.value.headers,
|
|
627
|
+
body: Fn.value.rows,
|
|
628
628
|
notice: P.value.a11y.translations.tableAvailable,
|
|
629
629
|
caption: P.value.a11y.translations.tableCaption
|
|
630
630
|
}, null, 8, [
|
|
@@ -709,11 +709,11 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
709
709
|
onToggleFullscreen: fn,
|
|
710
710
|
onGeneratePdf: x(Zt),
|
|
711
711
|
onGenerateCsv: ln,
|
|
712
|
-
onGenerateImage:
|
|
713
|
-
onGenerateSvg:
|
|
712
|
+
onGenerateImage: Cn,
|
|
713
|
+
onGenerateSvg: Sn,
|
|
714
714
|
onToggleTable: dn,
|
|
715
715
|
onToggleAnnotator: pn,
|
|
716
|
-
onCopyAlt:
|
|
716
|
+
onCopyAlt: wn,
|
|
717
717
|
style: g({ visibility: x(qt) ? x(Gt) ? "visible" : "hidden" : "visible" })
|
|
718
718
|
}, ke({ _: 2 }, [
|
|
719
719
|
e.$slots.menuIcon ? {
|
|
@@ -818,9 +818,9 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
818
818
|
}),
|
|
819
819
|
style: g(`overflow:visible;background:transparent;color:${P.value.style.chart.color}`),
|
|
820
820
|
tabindex: "0",
|
|
821
|
-
onFocus:
|
|
822
|
-
onBlur:
|
|
823
|
-
onKeydown:
|
|
821
|
+
onFocus: jn,
|
|
822
|
+
onBlur: Mn,
|
|
823
|
+
onKeydown: Nn
|
|
824
824
|
}, [
|
|
825
825
|
f(x(wt)),
|
|
826
826
|
e.$slots["chart-background"] ? (_(), u("foreignObject", {
|
|
@@ -1052,7 +1052,7 @@ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He =
|
|
|
1052
1052
|
"align-items": "center",
|
|
1053
1053
|
margin: "3px 0"
|
|
1054
1054
|
},
|
|
1055
|
-
onKeydown: (t) =>
|
|
1055
|
+
onKeydown: (t) => Pn(t, String(e.key))
|
|
1056
1056
|
}, [
|
|
1057
1057
|
e.key == 1 ? (_(), c(x(C), {
|
|
1058
1058
|
key: 0,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Bt as n, D as r, Ft as i, Jt as a, Kt as o, Pt as s, Rt as c, S as l, X as u, b as ee, ct as te, et as ne, f as re, i as d, jt as ie, kt as ae, n as oe, p as se, q as ce, t as le, tt as f, w as ue, xt as de } from "./lib-
|
|
2
|
+
import { $ as t, Bt as n, D as r, Ft as i, Jt as a, Kt as o, Pt as s, Rt as c, S as l, X as u, b as ee, ct as te, et as ne, f as re, i as d, jt as ie, kt as ae, n as oe, p as se, q as ce, t as le, tt as f, w as ue, xt as de } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as me } from "./useConfig-
|
|
5
|
-
import { t as he } from "./usePrinter-
|
|
4
|
+
import { t as me } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as he } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ve } from "./useSvgExport-
|
|
8
|
-
import { t as ye } from "./useNestedProp
|
|
7
|
+
import { t as ve } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as ye } from "./useNestedProp-vPNvh7rV.js";
|
|
9
9
|
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
-
import { t as xe } from "./img-
|
|
11
|
-
import { n as Se } from "./Title-
|
|
10
|
+
import { t as xe } from "./img-Bnokohej.js";
|
|
11
|
+
import { n as Se } from "./Title-BE3qg9xl.js";
|
|
12
12
|
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as we, t as Te } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as Ee } from "./DefGrad-DVBqDjhO.js";
|
|
15
|
-
import { t as De } from "./BaseLegendToggle-
|
|
15
|
+
import { t as De } from "./BaseLegendToggle-DZVucLnv.js";
|
|
16
16
|
import { t as Oe } from "./A11yDataTable-DdRsVULz.js";
|
|
17
17
|
import { t as ke } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as Ae } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as je } from "./labelUtils-
|
|
20
|
-
import { t as Me } from "./Legend-
|
|
19
|
+
import { t as je } from "./labelUtils-BeVpDvTJ.js";
|
|
20
|
+
import { t as Me } from "./Legend-CQxUgOd-.js";
|
|
21
21
|
import { t as Ne } from "./vue_ui_nested_donuts-B8csIoVO.js";
|
|
22
22
|
import { Fragment as p, Teleport as Pe, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as y, guardReactiveProps as b, mergeProps as Re, nextTick as ze, normalizeClass as Be, normalizeProps as x, normalizeStyle as Ve, onBeforeUnmount as He, onMounted as Ue, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as We, shallowRef as Ge, toDisplayString as E, toRefs as Ke, unref as D, vShow as qe, watch as Je, withCtx as O, withDirectives as Ye } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-nested-donuts.vue
|
|
@@ -107,7 +107,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
107
107
|
"copyAlt"
|
|
108
108
|
],
|
|
109
109
|
setup(e, { expose: Ce, emit: Xe }) {
|
|
110
|
-
let Dt = y(() => import("./Tooltip-
|
|
110
|
+
let Dt = y(() => import("./Tooltip-DhjyfHwz.js")), Ot = y(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), kt = y(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), At = y(() => import("./DataTable-BbKgJ5UI.js")), jt = y(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Mt = y(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Nt = y(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Pt = y(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_nested_donuts: Ft } = me(), { isThemeValid: It, warnInvalidTheme: Lt } = be(), k = e, Rt = m({
|
|
111
111
|
get() {
|
|
112
112
|
return !!k.dataset && k.dataset.length;
|
|
113
113
|
},
|
|
@@ -729,7 +729,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
729
729
|
[e.name],
|
|
730
730
|
[Q.value.body[t]],
|
|
731
731
|
[isNaN(Q.value.body[t] / e.total) ? "-" : Q.value.body[t] / e.total * 100]
|
|
732
|
-
]), i =
|
|
732
|
+
]), i = [
|
|
733
733
|
[I.value.style.chart.title.text],
|
|
734
734
|
[I.value.style.chart.title.subtitle.text],
|
|
735
735
|
[
|
|
@@ -737,9 +737,9 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
737
737
|
["val"],
|
|
738
738
|
["%"]
|
|
739
739
|
]
|
|
740
|
-
].concat(n));
|
|
741
|
-
e ? e(
|
|
742
|
-
csvContent:
|
|
740
|
+
].concat(n), a = r(i);
|
|
741
|
+
e ? e(a) : t({
|
|
742
|
+
csvContent: a,
|
|
743
743
|
title: I.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
744
744
|
});
|
|
745
745
|
});
|
|
@@ -869,33 +869,33 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
869
869
|
function ar() {
|
|
870
870
|
V.value.showTable = !1, $t.value && $t.value.setTableIconState(!1);
|
|
871
871
|
}
|
|
872
|
-
let or = m(() => I.value.style.chart.backgroundColor), sr = m(() => I.value.style.chart.legend),
|
|
872
|
+
let or = m(() => I.value.style.chart.backgroundColor), sr = m(() => I.value.style.chart.legend), cr = m(() => I.value.style.chart.title), lr = m(() => Gn.value.flat().map((e) => ({
|
|
873
|
+
...e,
|
|
874
|
+
name: e.svgDisplay
|
|
875
|
+
}))), { exportSvg: ur, getSvg: dr } = ve({
|
|
873
876
|
svg: z,
|
|
874
|
-
title:
|
|
877
|
+
title: cr,
|
|
875
878
|
legend: sr,
|
|
876
|
-
legendItems:
|
|
877
|
-
...e,
|
|
878
|
-
name: e.svgDisplay
|
|
879
|
-
}))),
|
|
879
|
+
legendItems: lr,
|
|
880
880
|
backgroundColor: or
|
|
881
881
|
});
|
|
882
|
-
async function
|
|
882
|
+
async function fr({ isCb: e }) {
|
|
883
883
|
tn.value = !0, await ze();
|
|
884
884
|
try {
|
|
885
885
|
if (e) {
|
|
886
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
886
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await dr();
|
|
887
887
|
await Promise.resolve(I.value.userOptions.callbacks.svg({
|
|
888
888
|
blob: e,
|
|
889
889
|
url: t,
|
|
890
890
|
text: n,
|
|
891
891
|
dataUrl: r
|
|
892
892
|
}));
|
|
893
|
-
} else await Promise.resolve(
|
|
893
|
+
} else await Promise.resolve(ur());
|
|
894
894
|
} finally {
|
|
895
895
|
tn.value = !1;
|
|
896
896
|
}
|
|
897
897
|
}
|
|
898
|
-
function
|
|
898
|
+
function pr(e) {
|
|
899
899
|
if (e?.stage === "start") {
|
|
900
900
|
en.value = !0;
|
|
901
901
|
return;
|
|
@@ -906,7 +906,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
906
906
|
}
|
|
907
907
|
wn();
|
|
908
908
|
}
|
|
909
|
-
async function
|
|
909
|
+
async function mr() {
|
|
910
910
|
if (U("copyAlt", {
|
|
911
911
|
config: I.value,
|
|
912
912
|
dataset: J.value
|
|
@@ -920,13 +920,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
920
920
|
}));
|
|
921
921
|
}
|
|
922
922
|
let $ = m(() => X.value.flatMap((e) => e.donut.filter((e) => !e.ghost)));
|
|
923
|
-
function
|
|
923
|
+
function hr() {
|
|
924
924
|
P.value = null, an.value = !0;
|
|
925
925
|
}
|
|
926
|
-
function
|
|
926
|
+
function gr() {
|
|
927
927
|
P.value = null, rn.value = "pointer", zt.value = !1, Ln.value = null, Vt.value = null, Rn.value = null, Z.value = null, an.value = !1;
|
|
928
928
|
}
|
|
929
|
-
function
|
|
929
|
+
function _r(e) {
|
|
930
930
|
if (!z.value || $n.value || document.activeElement !== z.value || !$.value.length) return;
|
|
931
931
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
932
932
|
if (!t && !n && !r && !i) return;
|
|
@@ -948,7 +948,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
948
948
|
let a = P.value, o = Z.value, s = a !== null && a >= 0 && a < $.value.length, c = o !== null && o >= 0 && o < $.value.length;
|
|
949
949
|
s ? n ? (a += 1, a >= $.value.length && (a = 0)) : t && (--a, a < 0 && (a = $.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
|
|
950
950
|
let l = $.value[a];
|
|
951
|
-
l && (P.value = a,
|
|
951
|
+
l && (P.value = a, vr(), Hn({
|
|
952
952
|
datapoint: l,
|
|
953
953
|
relativeIndex: a,
|
|
954
954
|
seriesIndex: l.seriesIndex,
|
|
@@ -956,7 +956,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
956
956
|
triggerMode: "keyboard"
|
|
957
957
|
}));
|
|
958
958
|
}
|
|
959
|
-
function
|
|
959
|
+
function vr() {
|
|
960
960
|
if (!z.value) return;
|
|
961
961
|
let e = z.value.getBoundingClientRect();
|
|
962
962
|
nn.value = {
|
|
@@ -964,7 +964,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
964
964
|
y: e.top + e.height / 2
|
|
965
965
|
};
|
|
966
966
|
}
|
|
967
|
-
let
|
|
967
|
+
let yr = m(() => ({
|
|
968
968
|
headers: Jn.value?.colNames ?? [],
|
|
969
969
|
rows: Jn.value?.a11yBody ?? []
|
|
970
970
|
}));
|
|
@@ -975,7 +975,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
975
975
|
generatePdf: Cn,
|
|
976
976
|
generateCsv: qn,
|
|
977
977
|
generateImage: wn,
|
|
978
|
-
generateSvg:
|
|
978
|
+
generateSvg: fr,
|
|
979
979
|
hideSeries: Nn,
|
|
980
980
|
showSeries: Mn,
|
|
981
981
|
toggleTable: Xn,
|
|
@@ -983,7 +983,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
983
983
|
toggleTooltip: Qn,
|
|
984
984
|
toggleAnnotator: er,
|
|
985
985
|
toggleFullscreen: on,
|
|
986
|
-
copyAlt:
|
|
986
|
+
copyAlt: mr
|
|
987
987
|
}), (e, t) => (S(), _("div", {
|
|
988
988
|
ref_key: "nestedDonutsChart",
|
|
989
989
|
ref: j,
|
|
@@ -997,11 +997,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
997
997
|
id: `chart-instructions-${A.value}`,
|
|
998
998
|
class: "sr-only"
|
|
999
999
|
}, [v("p", null, E(I.value.a11y.translations.keyboardNavigation), 1)], 8, Qe),
|
|
1000
|
-
|
|
1000
|
+
yr.value?.rows?.length ? (S(), h(Oe, {
|
|
1001
1001
|
key: 0,
|
|
1002
1002
|
uid: A.value,
|
|
1003
|
-
head:
|
|
1004
|
-
body:
|
|
1003
|
+
head: yr.value.headers,
|
|
1004
|
+
body: yr.value.rows,
|
|
1005
1005
|
notice: I.value.a11y.translations.tableAvailable,
|
|
1006
1006
|
caption: I.value.a11y.translations.tableCaption
|
|
1007
1007
|
}, null, 8, [
|
|
@@ -1091,13 +1091,13 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1091
1091
|
onToggleFullscreen: on,
|
|
1092
1092
|
onGeneratePdf: D(Cn),
|
|
1093
1093
|
onGenerateCsv: qn,
|
|
1094
|
-
onGenerateImage:
|
|
1095
|
-
onGenerateSvg:
|
|
1094
|
+
onGenerateImage: pr,
|
|
1095
|
+
onGenerateSvg: fr,
|
|
1096
1096
|
onToggleTable: Xn,
|
|
1097
1097
|
onToggleLabels: Zn,
|
|
1098
1098
|
onToggleTooltip: Qn,
|
|
1099
1099
|
onToggleAnnotator: er,
|
|
1100
|
-
onCopyAlt:
|
|
1100
|
+
onCopyAlt: mr,
|
|
1101
1101
|
style: Ve({ visibility: D(pn) ? D(dn) ? "visible" : "hidden" : "visible" })
|
|
1102
1102
|
}, Fe({ _: 2 }, [
|
|
1103
1103
|
e.$slots.menuIcon ? {
|
|
@@ -1188,9 +1188,9 @@ var Xe = /* @__PURE__ */ e({ default: () => Dt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1188
1188
|
viewBox: `0 0 ${H.value.width <= 0 ? .001 : H.value.width} ${H.value.height < 0 ? .001 : H.value.height}`,
|
|
1189
1189
|
style: Ve(`max-width:100%; overflow: visible; background:transparent;color:${I.value.style.chart.color};${hn.value.css}`),
|
|
1190
1190
|
tabindex: "0",
|
|
1191
|
-
onFocus:
|
|
1192
|
-
onBlur:
|
|
1193
|
-
onKeydown:
|
|
1191
|
+
onFocus: hr,
|
|
1192
|
+
onBlur: gr,
|
|
1193
|
+
onKeydown: _r
|
|
1194
1194
|
}, [v("g", {
|
|
1195
1195
|
ref_key: "G",
|
|
1196
1196
|
ref: nr,
|