vue-data-ui 3.23.9 → 3.23.11
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-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.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-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
- package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.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-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
- package/dist/vue-ui-chord-BuConnPN.js +1345 -0
- package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
- package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
- package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
- package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
- package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
- package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
- package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-C0DPCgFj.js +0 -28
- package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
- package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
- package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
- package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
- package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
- package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
- package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
- package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
- package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
- package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
- package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
- package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
- package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
- package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
- package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
- package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
- package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
|
@@ -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,
|
|
2
|
+
import { $ as t, Bt as n, D as r, Ht as i, It as a, Jt as o, Lt as s, Nt as c, S as l, St as ee, X as u, Xt as te, b as ne, f as d, i as re, jt as ie, lt as ae, n as oe, nt as se, p as ce, q 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-
|
|
10
|
+
import { t as Se } from "./img-Bkzj3lDD.js";
|
|
11
|
+
import { n as Ce } from "./Title-CaVA8EIw.js";
|
|
12
12
|
import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as De } from "./DefGrad-DVBqDjhO.js";
|
|
15
|
-
import { t as Oe } from "./BaseLegendToggle-
|
|
15
|
+
import { t as Oe } from "./BaseLegendToggle-CtEdLr4R.js";
|
|
16
16
|
import { t as ke } from "./A11yDataTable-DdRsVULz.js";
|
|
17
17
|
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as Me } from "./labelUtils-
|
|
20
|
-
import { t as Ne } from "./Legend-
|
|
19
|
+
import { t as Me } from "./labelUtils-iX76cA2-.js";
|
|
20
|
+
import { t as Ne } from "./Legend-BJtY2RA9.js";
|
|
21
21
|
import { t as Pe } from "./vue_ui_nested_donuts-B8csIoVO.js";
|
|
22
22
|
import { Fragment as f, Teleport as Fe, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as ze, nextTick as Be, normalizeClass as Ve, normalizeProps as b, normalizeStyle as He, onBeforeUnmount as Ue, onMounted as We, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as T, toRefs as qe, unref as E, vShow as Je, watch as Ye, withCtx as D, withDirectives as Xe } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-nested-donuts.vue
|
|
@@ -85,7 +85,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
85
85
|
}, wt = ["id"], Tt = {
|
|
86
86
|
key: 0,
|
|
87
87
|
class: "vue-ui-nested-donuts-legend-title"
|
|
88
|
-
}, Et = ["onClick"], Dt =
|
|
88
|
+
}, Et = ["onClick"], Dt = { style: {
|
|
89
|
+
display: "flex",
|
|
90
|
+
"align-items": "center"
|
|
91
|
+
} }, Ot = /*#__PURE__*/ we({
|
|
89
92
|
__name: "vue-ui-nested-donuts",
|
|
90
93
|
props: {
|
|
91
94
|
config: {
|
|
@@ -107,14 +110,14 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
107
110
|
"copyAlt"
|
|
108
111
|
],
|
|
109
112
|
setup(e, { expose: we, emit: Ze }) {
|
|
110
|
-
let Ot = v(() => import("./Tooltip-
|
|
113
|
+
let Ot = v(() => import("./Tooltip-CVxJe3UW.js")), kt = v(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), At = v(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), jt = v(() => import("./DataTable-CmyEubtT.js")), Mt = v(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), Nt = v(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), Pt = v(() => import("./PackageVersion-C0b7KAMa.js").then((e) => e.t)), Ft = v(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_nested_donuts: It } = he(), { isThemeValid: Lt, warnInvalidTheme: Rt } = be(), O = e, zt = p({
|
|
111
114
|
get() {
|
|
112
115
|
return !!O.dataset && O.dataset.length;
|
|
113
116
|
},
|
|
114
117
|
set(e) {
|
|
115
118
|
return e;
|
|
116
119
|
}
|
|
117
|
-
}), k = S(
|
|
120
|
+
}), k = S(le()), Bt = S(!1), Vt = S(""), Ht = S(null), Ut = S(0), A = S(null), Wt = S(null), Gt = S(null), Kt = S(null), qt = S(null), Jt = S(0), Yt = S(0), Xt = S(0), j = S(!0), M = S([]), Zt = S([]), Qt = S(!1), $t = S(null), en = S(null), N = S(null), tn = S({
|
|
118
121
|
x: 0,
|
|
119
122
|
y: 0
|
|
120
123
|
}), nn = S("pointer"), rn = S(!1), P = S(!1);
|
|
@@ -179,7 +182,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
179
182
|
color: "#CACACA"
|
|
180
183
|
}
|
|
181
184
|
]
|
|
182
|
-
}, sn = p(() =>
|
|
185
|
+
}, sn = p(() => te({
|
|
183
186
|
defaultConfig: {
|
|
184
187
|
useCssAnimation: !1,
|
|
185
188
|
table: { show: !1 },
|
|
@@ -210,7 +213,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
210
213
|
});
|
|
211
214
|
},
|
|
212
215
|
skeletonDataset: O.config?.skeletonDataset ?? [on, on],
|
|
213
|
-
skeletonConfig:
|
|
216
|
+
skeletonConfig: te({
|
|
214
217
|
defaultConfig: F.value,
|
|
215
218
|
userConfig: sn.value
|
|
216
219
|
})
|
|
@@ -231,7 +234,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
231
234
|
userConfig: O.config,
|
|
232
235
|
defaultConfig: r
|
|
233
236
|
}),
|
|
234
|
-
customPalette: e.customPalette.length ? e.customPalette : o[n] ||
|
|
237
|
+
customPalette: e.customPalette.length ? e.customPalette : o[n] || a
|
|
235
238
|
};
|
|
236
239
|
}
|
|
237
240
|
else t = e;
|
|
@@ -250,21 +253,21 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
250
253
|
left: r
|
|
251
254
|
};
|
|
252
255
|
});
|
|
253
|
-
function hn(e, t = 1e3,
|
|
254
|
-
return new Promise((
|
|
255
|
-
let
|
|
256
|
-
M.value = Array(
|
|
257
|
-
let
|
|
258
|
-
e.forEach((e,
|
|
256
|
+
function hn(e, t = 1e3, r = 50) {
|
|
257
|
+
return new Promise((i) => {
|
|
258
|
+
let a = e.length;
|
|
259
|
+
M.value = Array(a).fill(0), Zt.value = [];
|
|
260
|
+
let o = 0;
|
|
261
|
+
e.forEach((e, s) => {
|
|
259
262
|
setTimeout(() => {
|
|
260
|
-
let
|
|
261
|
-
function
|
|
262
|
-
let
|
|
263
|
-
M.value[
|
|
264
|
-
let
|
|
263
|
+
let r = performance.now();
|
|
264
|
+
function c(l) {
|
|
265
|
+
let ee = Math.min((l - r) / t, 1), u = e * de(ee);
|
|
266
|
+
M.value[s] = u, M.value = [...M.value];
|
|
267
|
+
let te = [], d = 0;
|
|
265
268
|
O.dataset.forEach((e, t) => {
|
|
266
|
-
let
|
|
267
|
-
|
|
269
|
+
let r = ne(e.series.reduce((e, t) => e + ne(n(t.values).reduce((e, t) => e + t, 0)), 0)) - ne(M.value.slice(d, d + e.series.length).reduce((e, t) => e + t, 0));
|
|
270
|
+
r > Number.MIN_VALUE && te.push({
|
|
268
271
|
name: "__ghost__",
|
|
269
272
|
arcOf: e.name,
|
|
270
273
|
arcOfId: `${k.value}_${t}`,
|
|
@@ -272,23 +275,23 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
272
275
|
seriesIndex: -1,
|
|
273
276
|
datasetIndex: t,
|
|
274
277
|
color: "transparent",
|
|
275
|
-
value:
|
|
276
|
-
fullValue:
|
|
278
|
+
value: r,
|
|
279
|
+
fullValue: r,
|
|
277
280
|
absoluteValues: [],
|
|
278
281
|
ghost: !0
|
|
279
282
|
}), d += e.series.length;
|
|
280
|
-
}), Zt.value =
|
|
283
|
+
}), Zt.value = te, ee < 1 ? requestAnimationFrame(c) : (o += 1, o === a && i());
|
|
281
284
|
}
|
|
282
|
-
requestAnimationFrame(
|
|
283
|
-
},
|
|
285
|
+
requestAnimationFrame(c);
|
|
286
|
+
}, s * r);
|
|
284
287
|
});
|
|
285
288
|
});
|
|
286
289
|
}
|
|
287
290
|
async function gn() {
|
|
288
291
|
if (F.value.startAnimation?.show) {
|
|
289
|
-
let e = L.value.flatMap((e) => e.series).map((e) =>
|
|
292
|
+
let e = L.value.flatMap((e) => e.series).map((e) => n(e.values).reduce((e, t) => e + t, 0));
|
|
290
293
|
M.value = e.map(() => 0), j.value = !0, Zt.value = L.value.map((e, t) => {
|
|
291
|
-
let
|
|
294
|
+
let r = e.series.reduce((e, t) => e + n(t.values).reduce((e, t) => e + t, 0), 0);
|
|
292
295
|
return {
|
|
293
296
|
name: "__ghost__",
|
|
294
297
|
arcOf: e.name,
|
|
@@ -297,8 +300,8 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
297
300
|
seriesIndex: -1,
|
|
298
301
|
datasetIndex: t,
|
|
299
302
|
color: "transparent",
|
|
300
|
-
value:
|
|
301
|
-
fullValue:
|
|
303
|
+
value: r,
|
|
304
|
+
fullValue: r,
|
|
302
305
|
absoluteValues: [],
|
|
303
306
|
ghost: !0
|
|
304
307
|
};
|
|
@@ -312,7 +315,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
312
315
|
});
|
|
313
316
|
let z = Ke(null), _n = Ke(null), B = p(() => F.value.debug);
|
|
314
317
|
function vn() {
|
|
315
|
-
if (
|
|
318
|
+
if (c(O.dataset) ? (se({
|
|
316
319
|
componentName: "VueUiNestedDonuts",
|
|
317
320
|
type: "dataset",
|
|
318
321
|
debug: B.value
|
|
@@ -340,7 +343,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
340
343
|
elementId: `nested_donuts_${k.value}`,
|
|
341
344
|
fileName: F.value.style.chart.title.text || "vue-ui-nested-donuts",
|
|
342
345
|
options: F.value.userOptions.print
|
|
343
|
-
}), Cn = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), wn = p(() =>
|
|
346
|
+
}), Cn = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), wn = p(() => fe(F.value.customPalette)), V = S({
|
|
344
347
|
dataLabels: { show: F.value.style.chart.layout.labels.dataLabels.show },
|
|
345
348
|
showTable: F.value.table.show,
|
|
346
349
|
showTooltip: F.value.style.chart.tooltip.show
|
|
@@ -365,42 +368,42 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
365
368
|
index: t
|
|
366
369
|
});
|
|
367
370
|
}
|
|
368
|
-
function En({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a =
|
|
371
|
+
function En({ from: e, to: t, duration: n, onUpdate: r, onDone: i, easing: a = de }) {
|
|
369
372
|
let o = performance.now();
|
|
370
373
|
function s(c) {
|
|
371
|
-
let l = Math.min((c - o) / n, 1),
|
|
372
|
-
r(e + (t - e) *
|
|
374
|
+
let l = Math.min((c - o) / n, 1), ee = a(l);
|
|
375
|
+
r(e + (t - e) * ee, l), l < 1 ? requestAnimationFrame(s) : (r(t, 1), i && i());
|
|
373
376
|
}
|
|
374
377
|
requestAnimationFrame(s);
|
|
375
378
|
}
|
|
376
379
|
let W = S([]), G = p(() => {
|
|
377
380
|
cn.value, L.value.forEach((e, t) => {
|
|
378
|
-
[null, void 0].includes(e.name) &&
|
|
381
|
+
[null, void 0].includes(e.name) && se({
|
|
379
382
|
componentName: "VueUiNestedDonuts",
|
|
380
383
|
type: "datasetSerieAttribute",
|
|
381
384
|
property: "name",
|
|
382
385
|
index: t,
|
|
383
386
|
debug: B.value
|
|
384
|
-
}), [null, void 0].includes(e.series) ?
|
|
387
|
+
}), [null, void 0].includes(e.series) ? se({
|
|
385
388
|
componentName: "VueUiNestedDonuts",
|
|
386
389
|
type: "datasetSerieAttribute",
|
|
387
390
|
property: "series",
|
|
388
391
|
index: t,
|
|
389
392
|
debug: B.value
|
|
390
|
-
}) : e.series.length === 0 ?
|
|
393
|
+
}) : e.series.length === 0 ? se({
|
|
391
394
|
componentName: "VueUiNestedDonuts",
|
|
392
395
|
type: "datasetAttributeEmpty",
|
|
393
396
|
property: `series at index ${t}`,
|
|
394
397
|
debug: B.value
|
|
395
398
|
}) : e.series.forEach((e, t) => {
|
|
396
|
-
[null, void 0].includes(e.name) &&
|
|
399
|
+
[null, void 0].includes(e.name) && se({
|
|
397
400
|
componentName: "VueUiNestedDonuts",
|
|
398
401
|
type: "datasetSerieAttribute",
|
|
399
402
|
property: "name",
|
|
400
403
|
index: t,
|
|
401
404
|
key: "serie",
|
|
402
405
|
debug: B.value
|
|
403
|
-
}), [null, void 0].includes(e.values) &&
|
|
406
|
+
}), [null, void 0].includes(e.values) && se({
|
|
404
407
|
componentName: "VueUiNestedDonuts",
|
|
405
408
|
type: "datasetSerieAttribute",
|
|
406
409
|
property: "values",
|
|
@@ -411,23 +414,23 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
411
414
|
});
|
|
412
415
|
});
|
|
413
416
|
let e = 0;
|
|
414
|
-
return L.value.map((t,
|
|
417
|
+
return L.value.map((t, r) => ({
|
|
415
418
|
...t,
|
|
416
|
-
total: t.series.filter((e) => !W.value.includes(e.id)).map((e) =>
|
|
417
|
-
datasetIndex:
|
|
418
|
-
id: `${k.value}_${
|
|
419
|
-
series: t.series.map((
|
|
420
|
-
let
|
|
419
|
+
total: t.series.filter((e) => !W.value.includes(e.id)).map((e) => n(e.values).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
|
|
420
|
+
datasetIndex: r,
|
|
421
|
+
id: `${k.value}_${r}`,
|
|
422
|
+
series: t.series.map((i, o) => {
|
|
423
|
+
let s = n(i.values).reduce((e, t) => e + t, 0);
|
|
421
424
|
return {
|
|
422
|
-
name:
|
|
425
|
+
name: i.name,
|
|
423
426
|
arcOf: t.name,
|
|
424
|
-
arcOfId: `${k.value}_${
|
|
425
|
-
id: `${k.value}_${
|
|
426
|
-
seriesIndex:
|
|
427
|
-
datasetIndex:
|
|
428
|
-
color: l(
|
|
429
|
-
value: j.value ? M.value[e++] ?? 0 :
|
|
430
|
-
absoluteValues:
|
|
427
|
+
arcOfId: `${k.value}_${r}`,
|
|
428
|
+
id: `${k.value}_${r}_${o}`,
|
|
429
|
+
seriesIndex: o,
|
|
430
|
+
datasetIndex: r,
|
|
431
|
+
color: l(i.color) || wn.value[o] || a[o % a.length],
|
|
432
|
+
value: j.value ? M.value[e++] ?? 0 : s,
|
|
433
|
+
absoluteValues: i.values || []
|
|
431
434
|
};
|
|
432
435
|
})
|
|
433
436
|
}));
|
|
@@ -462,18 +465,18 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
462
465
|
U("selectLegend", q.value);
|
|
463
466
|
}
|
|
464
467
|
function Y(e) {
|
|
465
|
-
let t = O.dataset.flatMap((e, t) => e.series.map((e,
|
|
466
|
-
value:
|
|
467
|
-
id: `${k.value}_${t}_${
|
|
468
|
+
let t = O.dataset.flatMap((e, t) => e.series.map((e, r) => ({
|
|
469
|
+
value: n(e.values).reduce((e, t) => e + t, 0),
|
|
470
|
+
id: `${k.value}_${t}_${r}`,
|
|
468
471
|
arcOfId: `${k.value}_${t}`
|
|
469
472
|
}))).find((t) => t.id === e.id);
|
|
470
473
|
if (!t) return;
|
|
471
|
-
let
|
|
472
|
-
if (!
|
|
473
|
-
let
|
|
474
|
+
let r = G.value.flatMap((e) => e.series).find((t) => t.id === e.id)?.value ?? 0, i = J.value.flatMap((e) => e.series).find((t) => t.id === e.id), a = i ? i.value : 0, o = G.value.find((e) => e.id === t.arcOfId);
|
|
475
|
+
if (!o) return;
|
|
476
|
+
let s = o.series.map((e) => e.id), c = Dn(s, s.length - 1, W.value);
|
|
474
477
|
W.value.includes(e.id) ? (W.value = W.value.filter((t) => t !== e.id), F.value.serieToggleAnimation.show ? En({
|
|
475
|
-
from:
|
|
476
|
-
to:
|
|
478
|
+
from: a,
|
|
479
|
+
to: r,
|
|
477
480
|
duration: F.value.serieToggleAnimation.durationMs,
|
|
478
481
|
onUpdate: (t) => {
|
|
479
482
|
J.value = J.value.map((n) => ({
|
|
@@ -491,10 +494,10 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
491
494
|
...t,
|
|
492
495
|
series: t.series.map((t) => t.id === e.id ? {
|
|
493
496
|
...t,
|
|
494
|
-
value:
|
|
497
|
+
value: r
|
|
495
498
|
} : t)
|
|
496
|
-
})), U("selectLegend", q.value))) :
|
|
497
|
-
from:
|
|
499
|
+
})), U("selectLegend", q.value))) : c && (F.value.serieToggleAnimation.show ? En({
|
|
500
|
+
from: a,
|
|
498
501
|
to: 0,
|
|
499
502
|
duration: F.value.serieToggleAnimation.durationMs,
|
|
500
503
|
onUpdate: (t) => {
|
|
@@ -536,7 +539,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
536
539
|
let n = Math.abs(e.series.map((e) => e.value).reduce((e, t) => e + t, 0)) > 0, r = K.value - t * K.value / J.value.length, i = j.value ? Zt.value.find((e) => e.datasetIndex === t) : null, a = [...e.series, ...i ? [i] : []].map((e) => ({
|
|
537
540
|
...e,
|
|
538
541
|
value: e.value < 1e-11 ? Number.MIN_VALUE : e.value
|
|
539
|
-
})), o =
|
|
542
|
+
})), o = ie({ series: [{
|
|
540
543
|
name: "_",
|
|
541
544
|
color: F.value.style.chart.layout.donut.emptyFill,
|
|
542
545
|
value: 1
|
|
@@ -549,13 +552,13 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
549
552
|
radius: r,
|
|
550
553
|
skeleton: o,
|
|
551
554
|
fullCirclePath: s,
|
|
552
|
-
donut:
|
|
555
|
+
donut: ie({ series: a }, H.value.width / 2, H.value.height / 2, r, r, 1.99999, 2, 1, 360, 105.25, Mn.value)
|
|
553
556
|
};
|
|
554
557
|
})), Pn = p(() => [...G.value].map((e, t) => {
|
|
555
558
|
let n = t * K.value / G.value.length;
|
|
556
559
|
return {
|
|
557
560
|
sizeRatio: n,
|
|
558
|
-
donut:
|
|
561
|
+
donut: ie({ series: [{ value: 1 }] }, H.value.width / 2, H.value.height / 2, K.value - n, K.value - n, 1.99999, 2, 1, 360, 105.25, K.value / G.value.length * F.value.style.chart.layout.donut.spacingRatio)[0]
|
|
559
562
|
};
|
|
560
563
|
})), Fn = S(null), In = S(null), Z = S(null), Ln = S(null);
|
|
561
564
|
function Rn({ datapoint: e, seriesIndex: t }) {
|
|
@@ -584,7 +587,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
584
587
|
config: F.value
|
|
585
588
|
};
|
|
586
589
|
let i = F.value.style.chart.tooltip.customFormat;
|
|
587
|
-
if (
|
|
590
|
+
if (ee(i) && ae(() => i({
|
|
588
591
|
seriesIndex: n,
|
|
589
592
|
datapoint: e,
|
|
590
593
|
series: J.value,
|
|
@@ -617,7 +620,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
617
620
|
config: F.value.style.chart.tooltip,
|
|
618
621
|
showVal: F.value.style.chart.tooltip.showValue,
|
|
619
622
|
showPercentage: F.value.style.chart.tooltip.showPercentage,
|
|
620
|
-
val:
|
|
623
|
+
val: re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
|
|
621
624
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
622
625
|
v: e.value,
|
|
623
626
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -637,7 +640,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
637
640
|
</div>
|
|
638
641
|
`;
|
|
639
642
|
});
|
|
640
|
-
} else t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, F.value.style.chart.tooltip.showValue && (t += `<b>${
|
|
643
|
+
} else t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, F.value.style.chart.tooltip.showValue && (t += `<b>${re(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
|
|
641
644
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
642
645
|
v: e.value,
|
|
643
646
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -667,42 +670,42 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
667
670
|
if (!F.value.style.chart.tooltip.showAllItemsAtIndex || W.value.length) return [null, void 0].includes(In.value) || In.value === e.id ? "" : `url(#blur_${k.value})`;
|
|
668
671
|
}
|
|
669
672
|
let Un = p(() => G.value.map((e, t) => {
|
|
670
|
-
let
|
|
671
|
-
let
|
|
672
|
-
return
|
|
673
|
-
}).reduce((e, t) => e + t, 0) :
|
|
674
|
-
return e.series.map((e,
|
|
675
|
-
let
|
|
676
|
-
val:
|
|
673
|
+
let r = e.series.filter((e) => !W.value.includes(e.id)), i = j.value ? r.map((e) => {
|
|
674
|
+
let r = L.value[t].series.findIndex((t) => t.name === e.name);
|
|
675
|
+
return n(L.value[t].series[r].values).reduce((e, t) => e + t, 0);
|
|
676
|
+
}).reduce((e, t) => e + t, 0) : r.map((e) => e.value).reduce((e, t) => e + t, 0);
|
|
677
|
+
return e.series.map((e, r) => {
|
|
678
|
+
let a = n(L.value[t].series[r].values).reduce((e, t) => e + t, 0), o = j.value ? a : e.value, s = zn({
|
|
679
|
+
val: re(F.value.style.chart.layout.labels.dataLabels.formatter, o, u({
|
|
677
680
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
678
|
-
v:
|
|
681
|
+
v: o,
|
|
679
682
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
680
683
|
r: F.value.style.chart.legend.roundingValue
|
|
681
684
|
}), {
|
|
682
685
|
datapoint: e,
|
|
683
|
-
seriesIndex:
|
|
686
|
+
seriesIndex: r
|
|
684
687
|
}),
|
|
685
|
-
percentage: isNaN(
|
|
686
|
-
v:
|
|
688
|
+
percentage: isNaN(o / i) || W.value.includes(e.id) ? "-" : u({
|
|
689
|
+
v: o / i * 100,
|
|
687
690
|
s: "%",
|
|
688
691
|
r: F.value.style.chart.legend.roundingPercentage
|
|
689
692
|
}),
|
|
690
693
|
showVal: F.value.style.chart.legend.showValue,
|
|
691
694
|
showPercentage: F.value.style.chart.legend.showPercentage,
|
|
692
695
|
config: F.value.style.chart.legend
|
|
693
|
-
}),
|
|
696
|
+
}), c = `${e.name}${F.value.style.chart.legend.showPercentage || F.value.style.chart.legend.showValue ? ": " : ""}${s}`;
|
|
694
697
|
return {
|
|
695
698
|
name: e.name,
|
|
696
699
|
color: e.color,
|
|
697
|
-
value:
|
|
698
|
-
display:
|
|
699
|
-
svgDisplay: `${e.arcOf ? `${e.arcOf} - ` : ""}${
|
|
700
|
+
value: o,
|
|
701
|
+
display: c,
|
|
702
|
+
svgDisplay: `${e.arcOf ? `${e.arcOf} - ` : ""}${c}`,
|
|
700
703
|
shape: "circle",
|
|
701
704
|
arcOf: e.arcOf,
|
|
702
705
|
id: e.id,
|
|
703
|
-
seriesIndex:
|
|
706
|
+
seriesIndex: r,
|
|
704
707
|
datasetIndex: t,
|
|
705
|
-
total:
|
|
708
|
+
total: i,
|
|
706
709
|
opacity: W.value.includes(e.id) ? .5 : 1,
|
|
707
710
|
segregate: () => Y(e),
|
|
708
711
|
isSegregated: W.value.includes(e.id)
|
|
@@ -1153,7 +1156,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
1153
1156
|
_("div", tt, [(x(), g("svg", {
|
|
1154
1157
|
ref_key: "svgRef",
|
|
1155
1158
|
ref: R,
|
|
1156
|
-
xmlns: E(
|
|
1159
|
+
xmlns: E(ue),
|
|
1157
1160
|
"aria-describedby": `chart-instructions-${k.value}`,
|
|
1158
1161
|
class: Ve({
|
|
1159
1162
|
"vue-data-ui-fullscreen--on": P.value,
|
|
@@ -1192,7 +1195,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
1192
1195
|
],
|
|
1193
1196
|
[
|
|
1194
1197
|
`${(1 - Mn.value / Nn.value[t]) * 100}%`,
|
|
1195
|
-
E(
|
|
1198
|
+
E(i)("#FFFFFF", 0),
|
|
1196
1199
|
0
|
|
1197
1200
|
],
|
|
1198
1201
|
[
|
|
@@ -1286,25 +1289,25 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
1286
1289
|
}) : e.name), 9, gt)) : h("", !0)]))), 256))]))), 256))])) : h("", !0),
|
|
1287
1290
|
F.value.style.chart.layout.labels.dataLabels.show ? (x(), g("g", _t, [(x(!0), g(f, null, C(X.value, (e, t) => (x(), g("g", null, [(x(!0), g(f, null, C(e.donut.filter((e) => !e.ghost), (e, n) => (x(), g("g", { filter: Hn(e, n) }, [Xe(_("text", {
|
|
1288
1291
|
opacity: +!!Vn(e),
|
|
1289
|
-
"text-anchor": E(
|
|
1290
|
-
x: E(
|
|
1291
|
-
y: E(
|
|
1292
|
+
"text-anchor": E(d)(e, !0).anchor,
|
|
1293
|
+
x: E(d)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
1294
|
+
y: E(ce)(e, F.value.style.chart.layout.labels.dataLabels.offsetY, F.value.style.chart.layout.labels.dataLabels.offsetY) + (F.value.style.chart.layout.labels.dataLabels.showValueFirst && F.value.style.chart.layout.labels.dataLabels.showValue ? F.value.style.chart.layout.labels.dataLabels.fontSize : 0),
|
|
1292
1295
|
fill: F.value.style.chart.layout.labels.dataLabels.useSerieColor ? e.color : F.value.style.chart.layout.labels.dataLabels.color,
|
|
1293
1296
|
"font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1294
1297
|
"font-weight": F.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
1295
|
-
}, T(E(
|
|
1298
|
+
}, T(E(s)(E(u)({
|
|
1296
1299
|
v: e.proportion * 100,
|
|
1297
1300
|
s: "%",
|
|
1298
1301
|
r: F.value.style.chart.layout.labels.dataLabels.roundingPercentage
|
|
1299
1302
|
}), F.value.style.chart.layout.labels.dataLabels.usePercentageParens ? "(" : "", F.value.style.chart.layout.labels.dataLabels.usePercentageParens ? ")" : "")), 9, yt), [[Je, V.value.dataLabels.show && F.value.style.chart.layout.labels.dataLabels.showPercentage]]), Xe(_("text", {
|
|
1300
1303
|
opacity: +!!Vn(e),
|
|
1301
|
-
"text-anchor": E(
|
|
1302
|
-
x: E(
|
|
1303
|
-
y: E(
|
|
1304
|
+
"text-anchor": E(d)(e, !0).anchor,
|
|
1305
|
+
x: E(d)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
1306
|
+
y: E(ce)(e, F.value.style.chart.layout.labels.dataLabels.offsetY, F.value.style.chart.layout.labels.dataLabels.offsetY) + (F.value.style.chart.layout.labels.dataLabels.showValueFirst || !F.value.style.chart.layout.labels.dataLabels.showPercentage ? 0 : F.value.style.chart.layout.labels.dataLabels.fontSize),
|
|
1304
1307
|
fill: F.value.style.chart.layout.labels.dataLabels.useSerieColor ? e.color : F.value.style.chart.layout.labels.dataLabels.color,
|
|
1305
1308
|
"font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1306
1309
|
"font-weight": F.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
|
|
1307
|
-
}, T(E(
|
|
1310
|
+
}, T(E(s)(E(re)(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, E(u)({
|
|
1308
1311
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
1309
1312
|
v: e.value,
|
|
1310
1313
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -1358,7 +1361,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
1358
1361
|
parent: A.value,
|
|
1359
1362
|
content: Vt.value,
|
|
1360
1363
|
isFullscreen: P.value,
|
|
1361
|
-
isCustom: E(
|
|
1364
|
+
isCustom: E(ee)(F.value.style.chart.tooltip.customFormat),
|
|
1362
1365
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
1363
1366
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
1364
1367
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|
|
@@ -1459,13 +1462,7 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
1459
1462
|
isCursorPointer: I.value,
|
|
1460
1463
|
onClose: rr
|
|
1461
1464
|
}, {
|
|
1462
|
-
th: D(({ th: e }) => [_("div",
|
|
1463
|
-
innerHTML: e,
|
|
1464
|
-
style: {
|
|
1465
|
-
display: "flex",
|
|
1466
|
-
"align-items": "center"
|
|
1467
|
-
}
|
|
1468
|
-
}, null, 8, Dt)]),
|
|
1465
|
+
th: D(({ th: e }) => [_("div", Dt, T(e), 1)]),
|
|
1469
1466
|
td: D(({ td: e }) => [Le(T(e.name || e), 1)]),
|
|
1470
1467
|
_: 1
|
|
1471
1468
|
}, 8, [
|
|
@@ -1498,6 +1495,6 @@ var Ze = /* @__PURE__ */ e({ default: () => Ot }), Qe = ["id"], $e = ["id"], et
|
|
|
1498
1495
|
w(e.$slots, "skeleton", {}, () => [E(cn) ? (x(), m(ve, { key: 0 })) : h("", !0)], !0)
|
|
1499
1496
|
], 46, Qe));
|
|
1500
1497
|
}
|
|
1501
|
-
}, [["__scopeId", "data-v-
|
|
1498
|
+
}, [["__scopeId", "data-v-bbf98f8b"]]);
|
|
1502
1499
|
//#endregion
|
|
1503
1500
|
export { Ze as n, Ot as t };
|