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,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, q as a, t as o, tt as s, z as c } from "./lib-
|
|
2
|
+
import { Vt as t, X as n, i as r, jt as i, q as a, t as o, tt as s, z as c } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as ee, t as l } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as u } from "./useConfig-
|
|
5
|
-
import { t as d } from "./useNestedProp
|
|
4
|
+
import { t as u } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as d } from "./useNestedProp-vPNvh7rV.js";
|
|
6
6
|
import { t as f } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { t as p } from "./DefGrad-DVBqDjhO.js";
|
|
8
8
|
import { Fragment as m, computed as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createVNode as y, mergeProps 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, withKeys as j } from "vue";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Jt as t, Kt as n, Pt as r, X as i, i as a, jt as o, pt as ee, q as te, qt as s, r as ne, t as re, tt as ie, w as ae } from "./lib-
|
|
2
|
+
import { Jt as t, Kt as n, Pt as r, X as i, i as a, jt as o, pt as ee, q as te, qt as s, r as ne, t as re, tt as ie, w as ae } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ce } from "./useConfig-
|
|
5
|
-
import { t as le } from "./usePrinter-
|
|
4
|
+
import { t as ce } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as le } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as fe } from "./useSvgExport-
|
|
8
|
-
import { t as pe } from "./useNestedProp
|
|
7
|
+
import { t as fe } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as pe } from "./useNestedProp-vPNvh7rV.js";
|
|
9
9
|
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
-
import { t as he } from "./img-
|
|
11
|
-
import { n as ge } from "./Title-
|
|
10
|
+
import { t as he } from "./img-Bnokohej.js";
|
|
11
|
+
import { n as ge } from "./Title-BE3qg9xl.js";
|
|
12
12
|
import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as be } from "./A11yDataTable-DdRsVULz.js";
|
|
@@ -118,7 +118,7 @@ var Re = /* @__PURE__ */ e({ default: () => at }), ze = ["id"], Be = ["id"], Ve
|
|
|
118
118
|
v119a74b9: Mt.value,
|
|
119
119
|
v5de8e2db: Pt.value
|
|
120
120
|
}));
|
|
121
|
-
let at = Oe(() => import("./PenAndPaper-
|
|
121
|
+
let at = Oe(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), ot = Oe(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), st = Oe(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), { vue_ui_relation_circle: ct } = ce(), { isThemeValid: lt, warnInvalidTheme: ut } = me(), w = e, dt = Re, ft = l(() => !!w.dataset && Object.keys(w.dataset).length), T = v(te()), pt = v(0), E = v(null), mt = v(null), ht = v(null), gt = v(null), _t = v(0), D = v(!1), O = v(!1), k = v(null), A = v(!1), j = v(Ct());
|
|
122
122
|
oe({
|
|
123
123
|
config: () => j.value,
|
|
124
124
|
dataset: () => w.dataset,
|
|
@@ -385,8 +385,8 @@ var Re = /* @__PURE__ */ e({ default: () => at }), ze = ["id"], Be = ["id"], Ve
|
|
|
385
385
|
y: G.value.height / 2 + j.value.style.circle.offsetY
|
|
386
386
|
}, a = .5;
|
|
387
387
|
return {
|
|
388
|
-
x:
|
|
389
|
-
y:
|
|
388
|
+
x: .5 ** 3 * t.x + 3 * .5 ** 2 * a * r.x + 1.5 * a ** 2 * i.x + a ** 3 * n.x,
|
|
389
|
+
y: .5 ** 3 * t.y + 3 * .5 ** 2 * a * r.y + 1.5 * a ** 2 * i.y + a ** 3 * n.y
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
392
|
let Ut = l(() => Math.max(...L.value.map((e) => e.weight)));
|
|
@@ -465,28 +465,28 @@ var Re = /* @__PURE__ */ e({ default: () => at }), ze = ["id"], Be = ["id"], Ve
|
|
|
465
465
|
aspectRatio: r
|
|
466
466
|
};
|
|
467
467
|
}
|
|
468
|
-
let an = l(() => j.value.style.backgroundColor), { exportSvg:
|
|
468
|
+
let an = l(() => j.value.style.backgroundColor), on = l(() => j.value.style.title), { exportSvg: sn, getSvg: cn } = fe({
|
|
469
469
|
svg: F,
|
|
470
|
-
title:
|
|
470
|
+
title: on,
|
|
471
471
|
backgroundColor: an
|
|
472
472
|
});
|
|
473
|
-
async function
|
|
473
|
+
async function ln({ isCb: e }) {
|
|
474
474
|
O.value = !0, await Ae();
|
|
475
475
|
try {
|
|
476
476
|
if (e) {
|
|
477
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
477
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await cn();
|
|
478
478
|
await Promise.resolve(j.value.userOptions.callbacks.svg({
|
|
479
479
|
blob: e,
|
|
480
480
|
url: t,
|
|
481
481
|
text: n,
|
|
482
482
|
dataUrl: r
|
|
483
483
|
}));
|
|
484
|
-
} else await Promise.resolve(
|
|
484
|
+
} else await Promise.resolve(sn());
|
|
485
485
|
} finally {
|
|
486
486
|
O.value = !1;
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function un(e) {
|
|
490
490
|
if (e?.stage === "start") {
|
|
491
491
|
D.value = !0;
|
|
492
492
|
return;
|
|
@@ -497,7 +497,7 @@ var Re = /* @__PURE__ */ e({ default: () => at }), ze = ["id"], Be = ["id"], Ve
|
|
|
497
497
|
}
|
|
498
498
|
Dt();
|
|
499
499
|
}
|
|
500
|
-
async function
|
|
500
|
+
async function dn() {
|
|
501
501
|
if (dt("copyAlt", {
|
|
502
502
|
config: j.value,
|
|
503
503
|
dataset: B.value
|
|
@@ -510,13 +510,13 @@ var Re = /* @__PURE__ */ e({ default: () => at }), ze = ["id"], Be = ["id"], Ve
|
|
|
510
510
|
dataset: B.value
|
|
511
511
|
}));
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function fn() {
|
|
514
514
|
A.value = !0, I.value.length && k.value === null && (k.value = 0);
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function pn() {
|
|
517
517
|
A.value = !1, k.value = null;
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function mn(e) {
|
|
520
520
|
if (!F.value || $.value || document.activeElement !== F.value || !I.value.length) return;
|
|
521
521
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
522
522
|
if (!t && !n && !r && !i) return;
|
|
@@ -539,7 +539,7 @@ var Re = /* @__PURE__ */ e({ default: () => at }), ze = ["id"], Be = ["id"], Ve
|
|
|
539
539
|
seriesIndex: a
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
let
|
|
542
|
+
let hn = l(() => ({
|
|
543
543
|
headers: [
|
|
544
544
|
"ID",
|
|
545
545
|
"Label",
|
|
@@ -561,11 +561,11 @@ var Re = /* @__PURE__ */ e({ default: () => at }), ze = ["id"], Be = ["id"], Ve
|
|
|
561
561
|
return _e({
|
|
562
562
|
getImage: rn,
|
|
563
563
|
generatePdf: Et,
|
|
564
|
-
generateSvg:
|
|
564
|
+
generateSvg: ln,
|
|
565
565
|
generateImage: Dt,
|
|
566
566
|
toggleAnnotator: nn,
|
|
567
567
|
toggleFullscreen: tn,
|
|
568
|
-
copyAlt:
|
|
568
|
+
copyAlt: dn
|
|
569
569
|
}), (e, t) => (_(), f("div", {
|
|
570
570
|
ref_key: "relationCircleChart",
|
|
571
571
|
ref: E,
|
|
@@ -579,11 +579,11 @@ var Re = /* @__PURE__ */ e({ default: () => at }), ze = ["id"], Be = ["id"], Ve
|
|
|
579
579
|
id: `chart-instructions-${T.value}`,
|
|
580
580
|
class: "sr-only"
|
|
581
581
|
}, [p("p", null, x(j.value.a11y.translations.keyboardNavigation), 1)], 8, Be),
|
|
582
|
-
|
|
582
|
+
hn.value?.rows?.length ? (_(), u(be, {
|
|
583
583
|
key: 0,
|
|
584
584
|
uid: T.value,
|
|
585
|
-
head:
|
|
586
|
-
body:
|
|
585
|
+
head: hn.value.headers,
|
|
586
|
+
body: hn.value.rows,
|
|
587
587
|
notice: j.value.a11y.translations.tableAvailable,
|
|
588
588
|
caption: j.value.a11y.translations.tableCaption
|
|
589
589
|
}, null, 8, [
|
|
@@ -666,10 +666,10 @@ var Re = /* @__PURE__ */ e({ default: () => at }), ze = ["id"], Be = ["id"], Ve
|
|
|
666
666
|
isCursorPointer: M.value,
|
|
667
667
|
onToggleFullscreen: tn,
|
|
668
668
|
onGeneratePdf: S(Et),
|
|
669
|
-
onGenerateImage:
|
|
670
|
-
onGenerateSvg:
|
|
669
|
+
onGenerateImage: un,
|
|
670
|
+
onGenerateSvg: ln,
|
|
671
671
|
onToggleAnnotator: nn,
|
|
672
|
-
onCopyAlt:
|
|
672
|
+
onCopyAlt: dn,
|
|
673
673
|
style: g({ visibility: S(St) ? S(P) ? "visible" : "hidden" : "visible" })
|
|
674
674
|
}, Te({ _: 2 }, [
|
|
675
675
|
e.$slots.menuIcon ? {
|
|
@@ -762,9 +762,9 @@ var Re = /* @__PURE__ */ e({ default: () => at }), ze = ["id"], Be = ["id"], Ve
|
|
|
762
762
|
style: "user-select:none; background:transparent",
|
|
763
763
|
"aria-describedby": `chart-instructions-${T.value}`,
|
|
764
764
|
tabindex: "0",
|
|
765
|
-
onFocus:
|
|
766
|
-
onBlur:
|
|
767
|
-
onKeydown:
|
|
765
|
+
onFocus: fn,
|
|
766
|
+
onBlur: pn,
|
|
767
|
+
onKeydown: mn
|
|
768
768
|
}, [
|
|
769
769
|
De(S(st)),
|
|
770
770
|
e.$slots["chart-background"] ? (_(), f("foreignObject", {
|