vue-data-ui 3.23.10 → 3.23.12
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/README.md +40 -40
- package/dist/{Arrow-bwmME0jw.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-DBVHlhQZ.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-B4n7br_R.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-wRhcG_-q.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZjzzyQo.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker-B9kUMLSz.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-DMsScfkx.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-IWPfuceW.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-DWEFXq9E.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Crs4-xWz.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-DNTJUKh1.js → PackageVersion-CT8FfP7h.js} +1 -1
- package/dist/{PenAndPaper-DJ607Hx6.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-BAhF1ToV.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-sXtk2ZZ2.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-BE50SZQH.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BGLPsoA9.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DO4-MVhc.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-HQyukyl2.js → UserOptions-WH7-49V0.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/{dom-to-png-Cg_3vpOo.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-tU9mMt9W.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-C_lMnQRs.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-AT2PUyyh.js → lib-Dqr_-I6Y.js} +165 -162
- package/dist/{package-enC-Nivt.js → package-CXgp_UWC.js} +1 -1
- package/dist/{pdf-ColHHJFH.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-CqcoYfCA.js → render-common-D9TESN6N.js} +12 -12
- 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 +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-CW0vJS1B.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-BFS7d6eb.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DD7J3yor.js → vue-data-ui-BTHfxD0A.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-qYgLQzCk.js +1829 -0
- package/dist/{vue-ui-accordion-DJNjilyy.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DI8b5E2H.js → vue-ui-age-pyramid-DlDqWHMv.js} +27 -27
- package/dist/{vue-ui-annotator-7ZVfFskI.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-KPROgHpN.js +700 -0
- package/dist/{vue-ui-bump-DzB3WQnq.js → vue-ui-bump-_ccDjRda.js} +237 -237
- package/dist/{vue-ui-candlestick--YWEtek_.js → vue-ui-candlestick-C_21KIXE.js} +245 -245
- package/dist/{vue-ui-carousel-table-Dn3RZU0p.js → vue-ui-carousel-table--JukD8gC.js} +108 -108
- package/dist/{vue-ui-chestnut-BIsXeXiU.js → vue-ui-chestnut-BWvgfxnY.js} +86 -86
- package/dist/vue-ui-chord-CGkWt2XK.js +1345 -0
- package/dist/vue-ui-circle-pack-BWaN2mEB.js +1633 -0
- package/dist/{vue-ui-cursor-C-P2D5i6.js → vue-ui-cursor-YbxnsOd1.js} +3 -3
- package/dist/{vue-ui-dag-CThnMMWA.js → vue-ui-dag-B-X2eE3W.js} +923 -885
- package/dist/{vue-ui-dashboard-D0NNTRO3.js → vue-ui-dashboard-DgayqETw.js} +69 -69
- package/dist/{vue-ui-digits-9tGjGzZh.js → vue-ui-digits-1ULOKtDh.js} +3 -3
- package/dist/{vue-ui-donut-EZu8p7HF.js → vue-ui-donut-Bz2ZI_vO.js} +85 -85
- package/dist/{vue-ui-donut-DLN9uPOi.js → vue-ui-donut-Ci2MsJLu.js} +64 -64
- package/dist/{vue-ui-donut-evolution-mu-iGTIn.js → vue-ui-donut-evolution-Bo54mlFQ.js} +347 -347
- package/dist/{vue-ui-dumbbell-Dvldi3Oo.js → vue-ui-dumbbell-D2bJ_P7K.js} +229 -229
- package/dist/vue-ui-flow-D9m-k3tM.js +1214 -0
- package/dist/vue-ui-funnel-DyETq2KE.js +747 -0
- package/dist/{vue-ui-galaxy-D6eYN8Ut.js → vue-ui-galaxy-pjGKZLrq.js} +64 -64
- package/dist/vue-ui-gauge-BO5lLCyJ.js +932 -0
- package/dist/{vue-ui-geo-CQqNemR6.js → vue-ui-geo-DpyLvk_B.js} +34 -34
- package/dist/{vue-ui-gizmo-ClunTUxX.js → vue-ui-gizmo-CUl8dgmV.js} +10 -10
- package/dist/{vue-ui-heatmap-B_pSQNzO.js → vue-ui-heatmap-CiV3kCrx.js} +472 -472
- package/dist/{vue-ui-hill-Byp0Tnny.js → vue-ui-hill-CkMtYGo2.js} +10 -10
- package/dist/vue-ui-history-plot-X2gQI4TY.js +1695 -0
- package/dist/vue-ui-horizontal-bar-DVT1wthh.js +1708 -0
- package/dist/{vue-ui-kpi-BKw5t-rX.js → vue-ui-kpi-CWPmkLKR.js} +3 -3
- package/dist/{vue-ui-mini-loader-BNm0MQDw.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-DRwQV5hN.js → vue-ui-molecule-DnW5HYZP.js} +176 -176
- package/dist/{vue-ui-mood-radar-Bj3KTWYj.js → vue-ui-mood-radar-FovwTDLw.js} +20 -20
- package/dist/{vue-ui-nested-donuts-83Wh2w6z.js → vue-ui-nested-donuts-DHCOlxTO.js} +104 -104
- package/dist/vue-ui-onion-CzAEqZ0B.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-BZN75P6u.js +1430 -0
- package/dist/{vue-ui-quadrant-_J-Qr7-K.js → vue-ui-quadrant-CNeP5WEC.js} +32 -32
- package/dist/{vue-ui-quick-chart-DcOUq4ym.js → vue-ui-quick-chart-Bnj8oh82.js} +153 -153
- package/dist/{vue-ui-radar-FlRlsoAd.js → vue-ui-radar-DMyMAtx7.js} +41 -41
- package/dist/{vue-ui-rating-eCxEZD8C.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DFj5V39I.js +903 -0
- package/dist/vue-ui-ridgeline-BaplQZZK.js +1614 -0
- package/dist/vue-ui-rings-B9QJ1Rnb.js +1250 -0
- package/dist/vue-ui-scatter-UH0wqUO5.js +2403 -0
- package/dist/{vue-ui-skeleton-CNOam3kC.js → vue-ui-skeleton-DkoEclfa.js} +3 -3
- package/dist/{vue-ui-smiley-YdyidjBH.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CS5GLtYL.js → vue-ui-spark-trend-BW8WYOva.js} +23 -23
- package/dist/{vue-ui-sparkbar-DDHwgP4k.js → vue-ui-sparkbar-ADRsH-GZ.js} +24 -24
- package/dist/{vue-ui-sparkgauge-BcQu9V3h.js → vue-ui-sparkgauge-BYs1L6I7.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-CPsA5P6c.js → vue-ui-sparkhistogram-D1Paq9X0.js} +15 -15
- package/dist/vue-ui-sparkline-D2Hf_NP-.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-4tsTxMe2.js → vue-ui-sparkstackbar-Uy6Q0X15.js} +207 -207
- package/dist/vue-ui-stackbar-Vt9AjazE.js +2332 -0
- package/dist/{vue-ui-stackline-BNCWO_jG.js → vue-ui-stackline-CBIGhWpn.js} +605 -605
- package/dist/{vue-ui-strip-plot-2Y1c02Ek.js → vue-ui-strip-plot-DhZV1Sl6.js} +57 -57
- package/dist/vue-ui-table-DqMxdgj4.js +1352 -0
- package/dist/{vue-ui-table-heatmap-BacaEjQy.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-B8oAU5yr.js → vue-ui-table-sparkline-2KZ2UoEA.js} +11 -11
- package/dist/vue-ui-thermometer-mVP2GqO7.js +756 -0
- package/dist/{vue-ui-timer-CWZgSpP8.js → vue-ui-timer-CGrqG8H3.js} +12 -12
- package/dist/{vue-ui-tiremarks-LLVCPyg9.js → vue-ui-tiremarks-DyFUPB5s.js} +12 -12
- package/dist/{vue-ui-treemap-ehBl9JMC.js → vue-ui-treemap-BVFHSTfq.js} +44 -44
- package/dist/vue-ui-waffle-DNZsc5x0.js +1619 -0
- package/dist/{vue-ui-wheel-C4OHPrtC.js → vue-ui-wheel-Cg4oNFmH.js} +28 -28
- package/dist/{vue-ui-word-cloud-CDHn3Kwa.js → vue-ui-word-cloud-CUf1h_L1.js} +32 -32
- package/dist/{vue-ui-world-ao1xf04I.js → vue-ui-world-CIcrI3zP.js} +116 -116
- package/dist/{vue-ui-xy-DmJDCl3c.js → vue-ui-xy-8V-CU7No.js} +99 -99
- package/dist/{vue-ui-xy-_U3wmtCf.js → vue-ui-xy-CJ5ZixIL.js} +304 -304
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/package.json +1 -1
- package/dist/exposedLib-vfRiIvq_.js +0 -28
- package/dist/vue-ui-3d-bar-DgrcdAgz.js +0 -1829
- package/dist/vue-ui-bullet-Dyd5F1Wa.js +0 -700
- package/dist/vue-ui-chord-BimXqVsF.js +0 -1345
- package/dist/vue-ui-circle-pack-DKQEhL-L.js +0 -1633
- package/dist/vue-ui-flow-DYZBT5Cb.js +0 -1214
- package/dist/vue-ui-funnel--NaxO0cZ.js +0 -747
- package/dist/vue-ui-gauge-DTIEl2Xb.js +0 -932
- package/dist/vue-ui-history-plot-CMu8ST1E.js +0 -1695
- package/dist/vue-ui-horizontal-bar-BQn7WxQ-.js +0 -1708
- package/dist/vue-ui-onion-C27GpneA.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-BklOszr1.js +0 -1430
- package/dist/vue-ui-relation-circle-DnsxHv7t.js +0 -903
- package/dist/vue-ui-ridgeline-TopTLyaE.js +0 -1614
- package/dist/vue-ui-rings-obVfb09j.js +0 -1250
- package/dist/vue-ui-scatter-BHSuA506.js +0 -2403
- package/dist/vue-ui-sparkline-CnbO-GkM.js +0 -1584
- package/dist/vue-ui-stackbar-2_SrMFNT.js +0 -2332
- package/dist/vue-ui-table-DJZxHo5N.js +0 -1352
- package/dist/vue-ui-thermometer-BGtxNU9T.js +0 -756
- package/dist/vue-ui-waffle-DpBAXbhh.js +0 -1610
- package/dist/vue-ui-xy-canvas-Bx-9y53V.js +0 -1823
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, D as n, Ht as r, It as i, Jt as a, K as o, Nt as s, Pt as c, S as l, St as u, Ut as ee, X as d, Xt as te, b as f, f as p, h as ne, i as m, j as h, jt as re, mt as ie, nt as ae, ot as oe, p as g, q as se, s as ce, st as le, t as ue, tt as de, w as fe } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as pe, t as me } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as he } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as ge } from "./usePrinter-
|
|
5
|
+
import { t as ge } from "./usePrinter-CEiH1b6R.js";
|
|
6
6
|
import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ye } from "./useNestedProp-
|
|
7
|
+
import { t as ye } from "./useNestedProp-CulPqtou.js";
|
|
8
8
|
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as xe } from "./useChartExport-DNiwdPmb.js";
|
|
10
|
-
import { t as Se } from "./img-
|
|
11
|
-
import { n as Ce } from "./Title-
|
|
12
|
-
import { t as we } from "./Shape-
|
|
10
|
+
import { t as Se } from "./img-Bkzj3lDD.js";
|
|
11
|
+
import { n as Ce } from "./Title-CaVA8EIw.js";
|
|
12
|
+
import { t as we } from "./Shape-BAL5bQmA.js";
|
|
13
13
|
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as Ee, t as De } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as Oe } from "./DefGrad-DVBqDjhO.js";
|
|
16
|
-
import { t as ke } from "./BaseLegendToggle-
|
|
16
|
+
import { t as ke } from "./BaseLegendToggle-CtEdLr4R.js";
|
|
17
17
|
import { t as Ae } from "./A11yDataTable-DdRsVULz.js";
|
|
18
18
|
import { t as je } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as Me } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { n as Ne, t as Pe } from "./labelUtils-
|
|
20
|
+
import { n as Ne, t as Pe } from "./labelUtils-iX76cA2-.js";
|
|
21
21
|
import { t as Fe } from "./vue_ui_donut-BDGqG07h.js";
|
|
22
|
-
import { t as Ie } from "./Legend-
|
|
22
|
+
import { t as Ie } from "./Legend-BJtY2RA9.js";
|
|
23
23
|
import { Fragment as _, Teleport as Le, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as Ve, guardReactiveProps as C, mergeProps as He, nextTick as Ue, normalizeClass as We, normalizeProps as w, normalizeStyle as T, onBeforeUnmount as Ge, onMounted as Ke, openBlock as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as qe, shallowRef as Je, toDisplayString as A, toRefs as Ye, unref as j, useSlots as Xe, vShow as Ze, watch as Qe, withCtx as M, withDirectives as $e } from "vue";
|
|
24
24
|
//#region src/useSmallArcLayouts.js
|
|
25
25
|
function et(e) {
|
|
26
|
-
let { FINAL_CONFIG: t, noGhostDonut: n, svg: r, padding: i, labels_inline_fontSize: a, minSize: o, findArcMidpoint: s, calcMarkerOffsetX: c, calcMarkerOffsetY: l, animatingIndex: u, segregated:
|
|
26
|
+
let { FINAL_CONFIG: t, noGhostDonut: n, svg: r, padding: i, labels_inline_fontSize: a, minSize: o, findArcMidpoint: s, calcMarkerOffsetX: c, calcMarkerOffsetY: l, animatingIndex: u, segregated: ee, isSmallArc: d } = e;
|
|
27
27
|
return { smallArcLayoutsClassic: v(() => {
|
|
28
28
|
if (t.value.type !== "classic") return {};
|
|
29
29
|
let e = {}, te = n.value || [];
|
|
30
30
|
if (!te.length) return e;
|
|
31
|
-
let f = r.value.width / 2, p = r.value.height / 2, ne = i.value.top + 16, m = r.value.height - i.value.bottom - 16, h = a.value, re = h / 3, ie = h * 1.5, ae = f - (o.value + 6),
|
|
31
|
+
let f = r.value.width / 2, p = r.value.height / 2, ne = i.value.top + 16, m = r.value.height - i.value.bottom - 16, h = a.value, re = h / 3, ie = h * 1.5, ae = f - (o.value + 6), oe = f + (o.value + 6), g = !!t.value.style.chart.layout.curvedMarkers;
|
|
32
32
|
function se({ midX: e, midY: t, bandX: n, bandY: r }) {
|
|
33
|
-
if (!
|
|
34
|
-
let i = n < f ? -1 : 1, a = n - e, o = r - t, s = Math.sqrt(a * a + o * o) || 1, c = e - f, l = t - p, u = Math.sqrt(c * c + l * l) || 1,
|
|
33
|
+
if (!g) return `M ${e} ${t} L ${e} ${r} L ${n} ${r}`;
|
|
34
|
+
let i = n < f ? -1 : 1, a = n - e, o = r - t, s = Math.sqrt(a * a + o * o) || 1, c = e - f, l = t - p, u = Math.sqrt(c * c + l * l) || 1, ee = c / u, d = l / u, te = u + 9;
|
|
35
35
|
function ne({ x: e, y: t }) {
|
|
36
36
|
let n = e - f, r = t - p, i = Math.sqrt(n * n + r * r) || 1;
|
|
37
37
|
if (i >= te) return {
|
|
@@ -47,11 +47,11 @@ function et(e) {
|
|
|
47
47
|
if (s < 56) {
|
|
48
48
|
let i = a / s, c = -(o / s), l = i, u = (e + n) * .5, te = (t + r) * .5, m = u + c, h = te + l, re = (m - f) * (m - f) + (h - p) * (h - p), ie = u - c, ae = te - l;
|
|
49
49
|
(ie - f) * (ie - f) + (ae - p) * (ae - p) > re && (c = -c, l = -l);
|
|
50
|
-
let
|
|
50
|
+
let oe = .78, g = e + a * oe, se = t + o * oe, ce = Math.max(0, Math.min(1, (s - 18) / 44)), le = ce * ce * (3 - 2 * ce), ue = 2.5 + le * 4, de = 1 + le * 2.5;
|
|
51
51
|
ue *= .9;
|
|
52
52
|
let fe = ne({
|
|
53
|
-
x:
|
|
54
|
-
y: se + l * ue +
|
|
53
|
+
x: g + c * ue + ee * de,
|
|
54
|
+
y: se + l * ue + d * de
|
|
55
55
|
});
|
|
56
56
|
return `M ${e} ${t} Q ${fe.x} ${fe.y} ${n} ${r}`;
|
|
57
57
|
}
|
|
@@ -60,13 +60,13 @@ function et(e) {
|
|
|
60
60
|
let h = s * .46;
|
|
61
61
|
h < 22 && (h = 22), h > 70 && (h = 70);
|
|
62
62
|
let re = {
|
|
63
|
-
x: e +
|
|
64
|
-
y: t +
|
|
63
|
+
x: e + ee * m,
|
|
64
|
+
y: t + d * m
|
|
65
65
|
}, ie = f + i * Math.max(Math.abs(n - f), te), ae = {
|
|
66
66
|
x: n - i * Math.min(h, Math.abs(ie - n) * .75),
|
|
67
67
|
y: r
|
|
68
|
-
},
|
|
69
|
-
return `M ${e} ${t} C ${
|
|
68
|
+
}, oe = ne(re), se = ne(ae);
|
|
69
|
+
return `M ${e} ${t} C ${oe.x} ${oe.y} ${se.x} ${se.y} ${n} ${r}`;
|
|
70
70
|
}
|
|
71
71
|
function ce(e) {
|
|
72
72
|
let t = String(e ?? "").split(/\n/g), n = Math.max(0, t.length - 1) * (h * 1.2);
|
|
@@ -86,7 +86,7 @@ function et(e) {
|
|
|
86
86
|
}
|
|
87
87
|
function ue(e) {
|
|
88
88
|
let { arc: t } = e, n = t.seriesIndex ?? 0;
|
|
89
|
-
return u.value === n ||
|
|
89
|
+
return u.value === n || ee.value.includes(n) ? !1 : d(t, n);
|
|
90
90
|
}
|
|
91
91
|
function de(e) {
|
|
92
92
|
let t = e.inlineMarkerY < p, n = e.inlineMarkerX < f;
|
|
@@ -115,18 +115,18 @@ function et(e) {
|
|
|
115
115
|
t.forEach((t) => {
|
|
116
116
|
let { index: i, midX: s, midY: c, labelHeight: l } = t, u;
|
|
117
117
|
a === "down" ? (u = o, o += l) : (o -= l, u = o);
|
|
118
|
-
let
|
|
118
|
+
let ee = u, d = se({
|
|
119
119
|
midX: s,
|
|
120
120
|
midY: c,
|
|
121
121
|
bandX: r,
|
|
122
|
-
bandY:
|
|
122
|
+
bandY: ee
|
|
123
123
|
});
|
|
124
124
|
e[i] = pe({
|
|
125
125
|
side: n,
|
|
126
126
|
markerX: r,
|
|
127
|
-
markerY:
|
|
127
|
+
markerY: ee,
|
|
128
128
|
labelY: u,
|
|
129
|
-
connectorPath:
|
|
129
|
+
connectorPath: d
|
|
130
130
|
});
|
|
131
131
|
});
|
|
132
132
|
}
|
|
@@ -152,7 +152,7 @@ function et(e) {
|
|
|
152
152
|
}), me({
|
|
153
153
|
candidateList: ge.TR,
|
|
154
154
|
side: "right",
|
|
155
|
-
bandMarkerX:
|
|
155
|
+
bandMarkerX: oe,
|
|
156
156
|
startY: ne,
|
|
157
157
|
direction: "down"
|
|
158
158
|
}), ge.BL.length > 1 && me({
|
|
@@ -164,7 +164,7 @@ function et(e) {
|
|
|
164
164
|
}), ge.BR.length > 1 && me({
|
|
165
165
|
candidateList: ge.BR,
|
|
166
166
|
side: "right",
|
|
167
|
-
bandMarkerX:
|
|
167
|
+
bandMarkerX: oe,
|
|
168
168
|
startY: m,
|
|
169
169
|
direction: "up"
|
|
170
170
|
}), e;
|
|
@@ -401,7 +401,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
401
401
|
"copyAlt"
|
|
402
402
|
],
|
|
403
403
|
setup(e, { expose: Te, emit: tt }) {
|
|
404
|
-
let gn = Ve(() => import("./Tooltip-
|
|
404
|
+
let gn = Ve(() => import("./Tooltip-CVxJe3UW.js")), _n = Ve(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), vn = Ve(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), yn = Ve(() => import("./DataTable-CmyEubtT.js")), bn = Ve(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), xn = Ve(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), Sn = Ve(() => import("./PackageVersion-CT8FfP7h.js").then((e) => e.t)), Cn = Ve(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_donut: wn } = he(), { isThemeValid: Tn, warnInvalidTheme: En } = be(), Dn = Xe(), N = e, On = v({
|
|
405
405
|
get() {
|
|
406
406
|
return !!N.dataset && N.dataset.length;
|
|
407
407
|
},
|
|
@@ -485,16 +485,16 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
485
485
|
});
|
|
486
486
|
let $n = v(() => R.value.debug);
|
|
487
487
|
function er() {
|
|
488
|
-
if (
|
|
488
|
+
if (s(N.dataset) ? (ae({
|
|
489
489
|
componentName: "VueUiDonut",
|
|
490
490
|
type: "dataset",
|
|
491
491
|
debug: $n.value
|
|
492
492
|
}), On.value = !1, lr.value = !0) : (N.dataset.forEach((e, t) => {
|
|
493
|
-
|
|
493
|
+
ie({
|
|
494
494
|
datasetObject: e,
|
|
495
495
|
requiredAttributes: ["name", "values"]
|
|
496
496
|
}).forEach((e) => {
|
|
497
|
-
|
|
497
|
+
ae({
|
|
498
498
|
componentName: "VueUiDonut",
|
|
499
499
|
type: "datasetSerieAttribute",
|
|
500
500
|
property: e,
|
|
@@ -503,13 +503,13 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
503
503
|
}), On.value = !1, lr.value = !0;
|
|
504
504
|
});
|
|
505
505
|
}), $n.value && N.dataset.forEach((e, t) => {
|
|
506
|
-
(!e.name || e.name === "") &&
|
|
506
|
+
(!e.name || e.name === "") && ae({
|
|
507
507
|
componentName: "VueUiDonut",
|
|
508
508
|
type: "datasetAttributeEmpty",
|
|
509
509
|
property: "name",
|
|
510
510
|
index: t
|
|
511
511
|
});
|
|
512
|
-
})),
|
|
512
|
+
})), s(N.dataset) || (lr.value = R.value.loading), R.value.responsive) {
|
|
513
513
|
let e = Ee(() => {
|
|
514
514
|
let { width: e, height: t } = De({
|
|
515
515
|
chart: P.value,
|
|
@@ -544,7 +544,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
544
544
|
userConfig: N.config,
|
|
545
545
|
defaultConfig: r
|
|
546
546
|
}),
|
|
547
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
547
|
+
customPalette: e.customPalette.length ? e.customPalette : a[n] || i
|
|
548
548
|
};
|
|
549
549
|
}
|
|
550
550
|
return t;
|
|
@@ -571,7 +571,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
571
571
|
}
|
|
572
572
|
]
|
|
573
573
|
});
|
|
574
|
-
let ar = v(() => R.value.userOptions.useCursorPointer), or = v(() =>
|
|
574
|
+
let ar = v(() => R.value.userOptions.useCursorPointer), or = v(() => te({
|
|
575
575
|
defaultConfig: {
|
|
576
576
|
useCssAnimation: !1,
|
|
577
577
|
table: { show: !1 },
|
|
@@ -620,7 +620,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
620
620
|
color: "#CACACA"
|
|
621
621
|
}
|
|
622
622
|
],
|
|
623
|
-
skeletonConfig:
|
|
623
|
+
skeletonConfig: te({
|
|
624
624
|
defaultConfig: R.value,
|
|
625
625
|
userConfig: or.value
|
|
626
626
|
})
|
|
@@ -629,7 +629,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
629
629
|
return new Promise((t) => {
|
|
630
630
|
let n = performance.now();
|
|
631
631
|
function r(i) {
|
|
632
|
-
let a = i - n, o = Math.min(a / e, 1), s =
|
|
632
|
+
let a = i - n, o = Math.min(a / e, 1), s = de(o);
|
|
633
633
|
dr.value = s, o < 1 ? pr = requestAnimationFrame(r) : (dr.value = 1, pr = null, t());
|
|
634
634
|
}
|
|
635
635
|
pr !== null && cancelAnimationFrame(pr), dr.value = 0, pr = requestAnimationFrame(r);
|
|
@@ -663,7 +663,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
663
663
|
elementId: `donut__${I.value}`,
|
|
664
664
|
fileName: R.value.style.chart.title.text || "vue-ui-donut",
|
|
665
665
|
options: R.value.userOptions.print
|
|
666
|
-
}), Tr = v(() => R.value.userOptions.show && !R.value.style.chart.title.text), Er = v(() =>
|
|
666
|
+
}), Tr = v(() => R.value.userOptions.show && !R.value.style.chart.title.text), Er = v(() => fe(R.value.customPalette)), V = D({
|
|
667
667
|
dataLabels: { show: R.value.style.chart.layout.labels.dataLabels.show },
|
|
668
668
|
showTable: R.value.table.show,
|
|
669
669
|
showTooltip: R.value.style.chart.tooltip.show
|
|
@@ -687,8 +687,8 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
687
687
|
return e.ghost && !t.ghost ? 1 : t.ghost && !e.ghost ? -1 : r - n;
|
|
688
688
|
}).map((e, t) => ({
|
|
689
689
|
name: e.name,
|
|
690
|
-
color: l(e.color) || Er.value[t] ||
|
|
691
|
-
value:
|
|
690
|
+
color: l(e.color) || Er.value[t] || i[t] || i[t % i.length],
|
|
691
|
+
value: f(e.values.reduce((e, t) => e + t, 0)),
|
|
692
692
|
absoluteValues: e.values,
|
|
693
693
|
comment: e.comment || "",
|
|
694
694
|
patternIndex: t,
|
|
@@ -718,7 +718,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
718
718
|
value: e.value
|
|
719
719
|
})));
|
|
720
720
|
}
|
|
721
|
-
function Nr({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a =
|
|
721
|
+
function Nr({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = de }) {
|
|
722
722
|
let o = performance.now();
|
|
723
723
|
function s(c) {
|
|
724
724
|
let l = Math.min((c - o) / n, 1), u = a(l);
|
|
@@ -824,7 +824,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
824
824
|
let n = (e.values || []).reduce((e, t) => e + t, 0), r = n / cr.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0);
|
|
825
825
|
return {
|
|
826
826
|
name: e.name,
|
|
827
|
-
color: l(e.color) || Er.value[t] ||
|
|
827
|
+
color: l(e.color) || Er.value[t] || i[t] || i[t % i.length],
|
|
828
828
|
value: n,
|
|
829
829
|
shape: "circle",
|
|
830
830
|
patternIndex: t,
|
|
@@ -867,7 +867,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
867
867
|
})), K = v(() => {
|
|
868
868
|
let e = R.value.style.chart.layout.donut.radiusRatio, t = Math.max(.1, Math.min(.50001, e)), n = Math.min(H.value.width * t, H.value.height * t);
|
|
869
869
|
return Math.max(12, n);
|
|
870
|
-
}), q = v(() =>
|
|
870
|
+
}), q = v(() => re({ series: Br.value }, H.value.width / 2, H.value.height / 2, K.value, K.value, 1.99999, 2, 1, 360, 105.25, Dr.value)), Ur = v(() => Math.abs(Br.value.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0), Wr = v(() => re({ series: [{
|
|
871
871
|
value: 1,
|
|
872
872
|
color: R.value.style.chart.layout.donut.emptyFill,
|
|
873
873
|
name: "_",
|
|
@@ -891,13 +891,13 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
891
891
|
return e.x > H.value.width / 2 + 6 ? "start" : e.x < H.value.width / 2 - 6 ? "end" : "middle";
|
|
892
892
|
}
|
|
893
893
|
function Kr(e) {
|
|
894
|
-
return e.middlePoint.y > H.value.height / 2 ?
|
|
894
|
+
return e.middlePoint.y > H.value.height / 2 ? c({
|
|
895
895
|
initX: e.middlePoint.x,
|
|
896
896
|
initY: e.middlePoint.y,
|
|
897
897
|
offset: 100,
|
|
898
898
|
centerX: H.value.width / 2,
|
|
899
899
|
centerY: H.value.height / 2
|
|
900
|
-
}).y :
|
|
900
|
+
}).y : c({
|
|
901
901
|
initX: e.middlePoint.x,
|
|
902
902
|
initY: e.middlePoint.y,
|
|
903
903
|
offset: 0,
|
|
@@ -919,7 +919,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
919
919
|
padding: br,
|
|
920
920
|
labels_inline_fontSize: Yn,
|
|
921
921
|
minSize: K,
|
|
922
|
-
findArcMidpoint:
|
|
922
|
+
findArcMidpoint: oe,
|
|
923
923
|
calcMarkerOffsetX: p,
|
|
924
924
|
calcMarkerOffsetY: g,
|
|
925
925
|
animatingIndex: jr,
|
|
@@ -962,7 +962,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
962
962
|
series: U.value
|
|
963
963
|
}, tr.value = r, L.value = t;
|
|
964
964
|
let a = "", o = R.value.style.chart.tooltip.customFormat;
|
|
965
|
-
if (ei.value = !1,
|
|
965
|
+
if (ei.value = !1, u(o)) try {
|
|
966
966
|
let t = o({
|
|
967
967
|
seriesIndex: n,
|
|
968
968
|
datapoint: e,
|
|
@@ -1042,7 +1042,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1042
1042
|
}), r === "end" ? `${R.value.style.chart.layout.labels.name.show ? c : ""}${o}` : `${o}${R.value.style.chart.layout.labels.name.show ? c : ""}`;
|
|
1043
1043
|
}
|
|
1044
1044
|
function ii(e, t) {
|
|
1045
|
-
let n = Y.value[t].middlePoint, r = Gr(n), i =
|
|
1045
|
+
let n = Y.value[t].middlePoint, r = Gr(n), i = c({
|
|
1046
1046
|
initX: n.x,
|
|
1047
1047
|
initY: n.y,
|
|
1048
1048
|
offset: 42,
|
|
@@ -1050,7 +1050,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1050
1050
|
centerY: H.value.height / 2
|
|
1051
1051
|
}), a = i.x;
|
|
1052
1052
|
i.y;
|
|
1053
|
-
let o = hi(e),
|
|
1053
|
+
let o = hi(e), s = `
|
|
1054
1054
|
<tspan
|
|
1055
1055
|
class="vue-data-ui-datalabel-value"
|
|
1056
1056
|
fill="${R.value.style.chart.layout.labels.percentage.color}"
|
|
@@ -1076,7 +1076,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1076
1076
|
style="font-weight:${R.value.style.chart.layout.labels.name.bold ? "bold" : "normal"}"
|
|
1077
1077
|
>${e}</tspan>
|
|
1078
1078
|
`;
|
|
1079
|
-
}), r === "end" ? `${R.value.style.chart.layout.labels.name.show ? u : ""}${
|
|
1079
|
+
}), r === "end" ? `${R.value.style.chart.layout.labels.name.show ? u : ""}${s}` : `${s}${R.value.style.chart.layout.labels.name.show ? u : ""}`;
|
|
1080
1080
|
}
|
|
1081
1081
|
function ai(e) {
|
|
1082
1082
|
return R.value.useBlurOnHover && ![null, void 0].includes(L.value) && L.value !== e ? `url(#blur_${I.value})` : "";
|
|
@@ -1095,7 +1095,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1095
1095
|
}));
|
|
1096
1096
|
function ci(e = null) {
|
|
1097
1097
|
Ue(() => {
|
|
1098
|
-
let
|
|
1098
|
+
let r = si.value.head.map((e, t) => [
|
|
1099
1099
|
[e.name],
|
|
1100
1100
|
[si.value.body[t]],
|
|
1101
1101
|
[isNaN(si.value.body[t] / Q.value) ? "-" : si.value.body[t] / Q.value * 100]
|
|
@@ -1107,7 +1107,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1107
1107
|
["val"],
|
|
1108
1108
|
["%"]
|
|
1109
1109
|
]
|
|
1110
|
-
].concat(
|
|
1110
|
+
].concat(r), a = n(i);
|
|
1111
1111
|
e ? e(a) : t({
|
|
1112
1112
|
csvContent: a,
|
|
1113
1113
|
title: R.value.style.chart.title.text || "vue-ui-donut"
|
|
@@ -1333,7 +1333,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1333
1333
|
if (R.value.type === "classic") {
|
|
1334
1334
|
let r = J.value[e];
|
|
1335
1335
|
if (!r?.arcSlice) return;
|
|
1336
|
-
let i =
|
|
1336
|
+
let i = oe(r.arcSlice);
|
|
1337
1337
|
if (!i) return;
|
|
1338
1338
|
t = i.x, n = i.y;
|
|
1339
1339
|
} else {
|
|
@@ -1367,7 +1367,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1367
1367
|
toggleAnnotator: xi,
|
|
1368
1368
|
toggleFullscreen: di,
|
|
1369
1369
|
copyAlt: Pi
|
|
1370
|
-
}), (t,
|
|
1370
|
+
}), (t, n) => (E(), x("div", {
|
|
1371
1371
|
ref_key: "donutChart",
|
|
1372
1372
|
ref: P,
|
|
1373
1373
|
class: We(`vue-data-ui-component vue-ui-donut ${ui.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${R.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -1563,7 +1563,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1563
1563
|
S("div", at, [(E(), x("svg", {
|
|
1564
1564
|
ref_key: "svgRef",
|
|
1565
1565
|
ref: B,
|
|
1566
|
-
xmlns: j(
|
|
1566
|
+
xmlns: j(ue),
|
|
1567
1567
|
"aria-describedby": `chart-instructions-${I.value}`,
|
|
1568
1568
|
class: We({
|
|
1569
1569
|
"vue-data-ui-fullscreen--on": ui.value,
|
|
@@ -1597,22 +1597,22 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1597
1597
|
stops: [
|
|
1598
1598
|
[
|
|
1599
1599
|
"0%",
|
|
1600
|
-
j(
|
|
1600
|
+
j(r)(R.value.style.chart.backgroundColor, 0),
|
|
1601
1601
|
0
|
|
1602
1602
|
],
|
|
1603
1603
|
[
|
|
1604
1604
|
`${(1 - Dr.value / K.value) * 100}%`,
|
|
1605
|
-
j(
|
|
1605
|
+
j(r)("#FFFFFF", 0),
|
|
1606
1606
|
0
|
|
1607
1607
|
],
|
|
1608
1608
|
[
|
|
1609
1609
|
`${(1 - Dr.value / K.value / 2) * 100}%`,
|
|
1610
|
-
j(
|
|
1610
|
+
j(r)("#FFFFFF", R.value.style.chart.gradientIntensity),
|
|
1611
1611
|
1
|
|
1612
1612
|
],
|
|
1613
1613
|
[
|
|
1614
1614
|
"100%",
|
|
1615
|
-
j(
|
|
1615
|
+
j(r)(R.value.style.chart.backgroundColor, 0),
|
|
1616
1616
|
0
|
|
1617
1617
|
]
|
|
1618
1618
|
]
|
|
@@ -1626,7 +1626,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1626
1626
|
r: "62%",
|
|
1627
1627
|
stops: [[
|
|
1628
1628
|
"0%",
|
|
1629
|
-
j(
|
|
1629
|
+
j(ee)(q.value[t].color, .05),
|
|
1630
1630
|
R.value.style.chart.gradientIntensity / 100
|
|
1631
1631
|
], [
|
|
1632
1632
|
"100%",
|
|
@@ -1650,7 +1650,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1650
1650
|
in: "SourceGraphic",
|
|
1651
1651
|
stdDeviation: 2,
|
|
1652
1652
|
id: `blur_std_${I.value}`
|
|
1653
|
-
}, null, 8, dt),
|
|
1653
|
+
}, null, 8, dt), n[5] ||= S("feColorMatrix", {
|
|
1654
1654
|
type: "saturate",
|
|
1655
1655
|
values: "0"
|
|
1656
1656
|
}, null, -1)], 8, ut),
|
|
@@ -1694,13 +1694,13 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1694
1694
|
}, null, 8, gt)) : b("", !0)]))), 256)) : b("", !0),
|
|
1695
1695
|
R.value.type === "polar" ? (E(!0), x(_, { key: 4 }, O(q.value.filter((e) => !e.ghost), (e, t) => (E(), x("g", null, [X(e) && V.value.dataLabels.show ? (E(), x("path", {
|
|
1696
1696
|
key: 0,
|
|
1697
|
-
d: `M ${j(
|
|
1697
|
+
d: `M ${j(c)({
|
|
1698
1698
|
initX: Y.value[t].middlePoint.x,
|
|
1699
1699
|
initY: Y.value[t].middlePoint.y,
|
|
1700
1700
|
offset: 24,
|
|
1701
1701
|
centerX: H.value.width / 2,
|
|
1702
1702
|
centerY: H.value.height / 2
|
|
1703
|
-
}).x},${j(
|
|
1703
|
+
}).x},${j(c)({
|
|
1704
1704
|
initX: Y.value[t].middlePoint.x,
|
|
1705
1705
|
initY: Y.value[t].middlePoint.y,
|
|
1706
1706
|
offset: 24,
|
|
@@ -1851,17 +1851,17 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1851
1851
|
cy: H.value.height / 2,
|
|
1852
1852
|
r: K.value,
|
|
1853
1853
|
fill: "transparent",
|
|
1854
|
-
onMouseenter:
|
|
1854
|
+
onMouseenter: n[0] ||= (e) => $({
|
|
1855
1855
|
datapoint: q.value[0],
|
|
1856
1856
|
relativeIndex: 0,
|
|
1857
1857
|
seriesIndex: q.value[0].seriesIndex,
|
|
1858
1858
|
show: !0
|
|
1859
1859
|
}),
|
|
1860
|
-
onMouseleave:
|
|
1860
|
+
onMouseleave: n[1] ||= (e) => ti({
|
|
1861
1861
|
datapoint: q.value[0],
|
|
1862
1862
|
seriesIndex: q.value[0].seriesIndex
|
|
1863
1863
|
}),
|
|
1864
|
-
onClick:
|
|
1864
|
+
onClick: n[2] ||= (e) => gi(q.value[0], t.i)
|
|
1865
1865
|
}, null, 40, Ht)]))], 64)) : b("", !0),
|
|
1866
1866
|
R.value.type === "classic" ? (E(), x("g", {
|
|
1867
1867
|
key: 12,
|
|
@@ -1908,9 +1908,9 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
1908
1908
|
fill: R.value.style.chart.layout.labels.hollow.average.value.color,
|
|
1909
1909
|
"font-size": R.value.style.chart.layout.labels.hollow.average.value.fontSize,
|
|
1910
1910
|
style: T(`font-weight:${R.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
|
|
1911
|
-
}, A(Ar.value || z.value ? "--" : j(m)(R.value.style.chart.layout.labels.hollow.average.value.formatter, j(
|
|
1911
|
+
}, A(Ar.value || z.value ? "--" : j(m)(R.value.style.chart.layout.labels.hollow.average.value.formatter, j(le)(Zr.value), j(d)({
|
|
1912
1912
|
p: R.value.style.chart.layout.labels.hollow.average.value.prefix,
|
|
1913
|
-
v: j(
|
|
1913
|
+
v: j(le)(Zr.value),
|
|
1914
1914
|
s: R.value.style.chart.layout.labels.hollow.average.value.suffix,
|
|
1915
1915
|
r: R.value.style.chart.layout.labels.hollow.average.value.rounding
|
|
1916
1916
|
}))), 13, Kt)) : b("", !0)
|
|
@@ -2009,7 +2009,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
2009
2009
|
datapoint: e,
|
|
2010
2010
|
seriesIndex: e.seriesIndex
|
|
2011
2011
|
}),
|
|
2012
|
-
innerHTML: j(
|
|
2012
|
+
innerHTML: j(o)({
|
|
2013
2013
|
content: e.name,
|
|
2014
2014
|
fontSize: F.value,
|
|
2015
2015
|
fill: R.value.style.chart.layout.labels.name.color,
|
|
@@ -2018,14 +2018,14 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
2018
2018
|
})
|
|
2019
2019
|
}, null, 44, en), [[Ze, X(e, !0, 12) && V.value.dataLabels.show && R.value.style.chart.layout.labels.name.show]])], 64))], 64)) : b("", !0), R.value.type === "polar" ? (E(), x(_, { key: 1 }, [X(e) && V.value.dataLabels.show ? (E(), x("circle", {
|
|
2020
2020
|
key: 0,
|
|
2021
|
-
cx: j(
|
|
2021
|
+
cx: j(c)({
|
|
2022
2022
|
initX: Y.value[n].middlePoint.x,
|
|
2023
2023
|
initY: Y.value[n].middlePoint.y,
|
|
2024
2024
|
offset: 24,
|
|
2025
2025
|
centerX: H.value.width / 2,
|
|
2026
2026
|
centerY: H.value.height / 2
|
|
2027
2027
|
}).x,
|
|
2028
|
-
cy: j(
|
|
2028
|
+
cy: j(c)({
|
|
2029
2029
|
initX: Y.value[n].middlePoint.x,
|
|
2030
2030
|
initY: Y.value[n].middlePoint.y,
|
|
2031
2031
|
offset: 24,
|
|
@@ -2053,14 +2053,14 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
2053
2053
|
key: 1,
|
|
2054
2054
|
class: "vue-data-ui-datalabel-inline",
|
|
2055
2055
|
"text-anchor": Gr(Y.value[n].middlePoint),
|
|
2056
|
-
x: j(
|
|
2056
|
+
x: j(c)({
|
|
2057
2057
|
initX: Y.value[n].middlePoint.x,
|
|
2058
2058
|
initY: Y.value[n].middlePoint.y,
|
|
2059
2059
|
offset: 42,
|
|
2060
2060
|
centerX: H.value.width / 2,
|
|
2061
2061
|
centerY: H.value.height / 2
|
|
2062
2062
|
}).x,
|
|
2063
|
-
y: j(
|
|
2063
|
+
y: j(c)({
|
|
2064
2064
|
initX: Y.value[n].middlePoint.x,
|
|
2065
2065
|
initY: Y.value[n].middlePoint.y,
|
|
2066
2066
|
offset: 42,
|
|
@@ -2084,14 +2084,14 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
2084
2084
|
key: 0,
|
|
2085
2085
|
class: "vue-data-ui-datalabel-value",
|
|
2086
2086
|
"text-anchor": Gr(Y.value[n].middlePoint),
|
|
2087
|
-
x: j(
|
|
2087
|
+
x: j(c)({
|
|
2088
2088
|
initX: Y.value[n].middlePoint.x,
|
|
2089
2089
|
initY: Y.value[n].middlePoint.y,
|
|
2090
2090
|
offset: 42,
|
|
2091
2091
|
centerX: H.value.width / 2,
|
|
2092
2092
|
centerY: H.value.height / 2
|
|
2093
2093
|
}).x,
|
|
2094
|
-
y: j(
|
|
2094
|
+
y: j(c)({
|
|
2095
2095
|
initX: Y.value[n].middlePoint.x,
|
|
2096
2096
|
initY: Y.value[n].middlePoint.y,
|
|
2097
2097
|
offset: 42,
|
|
@@ -2119,14 +2119,14 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
2119
2119
|
key: 1,
|
|
2120
2120
|
class: "vue-data-ui-datalabel-name",
|
|
2121
2121
|
"text-anchor": Gr(Y.value[n].middlePoint),
|
|
2122
|
-
x: j(
|
|
2122
|
+
x: j(c)({
|
|
2123
2123
|
initX: Y.value[n].middlePoint.x,
|
|
2124
2124
|
initY: Y.value[n].middlePoint.y,
|
|
2125
2125
|
offset: 42,
|
|
2126
2126
|
centerX: H.value.width / 2,
|
|
2127
2127
|
centerY: H.value.height / 2
|
|
2128
2128
|
}).x,
|
|
2129
|
-
y: j(
|
|
2129
|
+
y: j(c)({
|
|
2130
2130
|
initX: Y.value[n].middlePoint.x,
|
|
2131
2131
|
initY: Y.value[n].middlePoint.y,
|
|
2132
2132
|
offset: 42,
|
|
@@ -2150,18 +2150,18 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
2150
2150
|
datapoint: e,
|
|
2151
2151
|
seriesIndex: e.seriesIndex
|
|
2152
2152
|
}),
|
|
2153
|
-
innerHTML: j(
|
|
2153
|
+
innerHTML: j(o)({
|
|
2154
2154
|
content: e.name,
|
|
2155
2155
|
fontSize: F.value,
|
|
2156
2156
|
fill: R.value.style.chart.layout.labels.name.color,
|
|
2157
|
-
x: j(
|
|
2157
|
+
x: j(c)({
|
|
2158
2158
|
initX: Y.value[n].middlePoint.x,
|
|
2159
2159
|
initY: Y.value[n].middlePoint.y,
|
|
2160
2160
|
offset: 42,
|
|
2161
2161
|
centerX: H.value.width / 2,
|
|
2162
2162
|
centerY: H.value.height / 2
|
|
2163
2163
|
}).x,
|
|
2164
|
-
y: j(
|
|
2164
|
+
y: j(c)({
|
|
2165
2165
|
initX: Y.value[n].middlePoint.x,
|
|
2166
2166
|
initY: Y.value[n].middlePoint.y,
|
|
2167
2167
|
offset: 42,
|
|
@@ -2186,19 +2186,19 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
2186
2186
|
isFirstLoad: z.value
|
|
2187
2187
|
} }, void 0, !0)])], 8, sn)) : b("", !0), X(e) && R.value.type === "polar" ? (E(), x("foreignObject", {
|
|
2188
2188
|
key: 1,
|
|
2189
|
-
x: R.value.style.chart.comments.offsetX + (Gr(Y.value[n].middlePoint) === "end" ? j(
|
|
2189
|
+
x: R.value.style.chart.comments.offsetX + (Gr(Y.value[n].middlePoint) === "end" ? j(c)({
|
|
2190
2190
|
initX: Y.value[n].middlePoint.x,
|
|
2191
2191
|
initY: Y.value[n].middlePoint.y,
|
|
2192
2192
|
offset: 42,
|
|
2193
2193
|
centerX: H.value.width / 2,
|
|
2194
2194
|
centerY: H.value.height / 2
|
|
2195
|
-
}).x - R.value.style.chart.comments.width : Gr(Y.value[n].middlePoint) === "middle" ? j(
|
|
2195
|
+
}).x - R.value.style.chart.comments.width : Gr(Y.value[n].middlePoint) === "middle" ? j(c)({
|
|
2196
2196
|
initX: Y.value[n].middlePoint.x,
|
|
2197
2197
|
initY: Y.value[n].middlePoint.y,
|
|
2198
2198
|
offset: 42,
|
|
2199
2199
|
centerX: H.value.width / 2,
|
|
2200
2200
|
centerY: H.value.height / 2
|
|
2201
|
-
}).x - R.value.style.chart.comments.width / 2 : j(
|
|
2201
|
+
}).x - R.value.style.chart.comments.width / 2 : j(c)({
|
|
2202
2202
|
initX: Y.value[n].middlePoint.x,
|
|
2203
2203
|
initY: Y.value[n].middlePoint.y,
|
|
2204
2204
|
offset: 42,
|
|
@@ -2241,7 +2241,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
2241
2241
|
key: `legend_${Bn.value}`,
|
|
2242
2242
|
legendSet: Vr.value,
|
|
2243
2243
|
config: Hr.value,
|
|
2244
|
-
onClickMarker:
|
|
2244
|
+
onClickMarker: n[3] ||= ({ i: e }) => Fr(e),
|
|
2245
2245
|
isCursorPointer: ar.value
|
|
2246
2246
|
}, Re({
|
|
2247
2247
|
item: M(({ legend: e, index: t }) => [S("div", {
|
|
@@ -2397,7 +2397,7 @@ var tt = /* @__PURE__ */ e({ default: () => gn }), nt = ["id"], rt = ["id"], it
|
|
|
2397
2397
|
fn: M(() => [S("button", {
|
|
2398
2398
|
tabindex: "0",
|
|
2399
2399
|
class: "vue-ui-user-options-button",
|
|
2400
|
-
onClick:
|
|
2400
|
+
onClick: n[4] ||= (e) => ci(R.value.userOptions.callbacks.csv),
|
|
2401
2401
|
style: T({ cursor: ar.value ? "pointer" : "default" })
|
|
2402
2402
|
}, [Be(j(_n), {
|
|
2403
2403
|
name: "fileCsv",
|