vue-data-ui 2.3.60 → 2.3.62
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-BJ47KXjY.js → Arrow-Dho8ylDy.js} +1 -1
- package/dist/{Arrow-VxZlHkwt.cjs → Arrow-ov-EIAPu.cjs} +1 -1
- package/dist/{BaseIcon-Bv5uh10R.cjs → BaseIcon-B6v-Txn-.cjs} +1 -1
- package/dist/{BaseIcon-Fm7sUbd2.js → BaseIcon-BNStcP8c.js} +1 -1
- package/dist/{DataTable-1VV0us-8.js → DataTable-luIjNnne.js} +2 -2
- package/dist/{DataTable-CPAt686N.cjs → DataTable-yf_eyv8c.cjs} +1 -1
- package/dist/{Legend-BJ2Mynop.cjs → Legend-6JY5pUsT.cjs} +1 -1
- package/dist/{Legend-DB6v_LvZ.js → Legend-B9dawQa7.js} +1 -1
- package/dist/{Shape-DWZSJJ6-.cjs → Shape-BoXM3HKY.cjs} +1 -1
- package/dist/{Shape-B_f1_6Ob.js → Shape-BsAETTif.js} +1 -1
- package/dist/Slicer-DoMAeSUY.cjs +1 -0
- package/dist/{Slicer-CHiUxRAh.js → Slicer-iGmqxtRQ.js} +51 -54
- package/dist/{Title-CR-JDJwq.cjs → Title-CBcoQe02.cjs} +1 -1
- package/dist/{Title-xP0rAF4q.js → Title-fb3BzoXj.js} +1 -1
- package/dist/{Tooltip-B4DNihSF.cjs → Tooltip-BhuD1Kc5.cjs} +1 -1
- package/dist/{Tooltip-DfBa_7Ur.js → Tooltip-CBugtvWB.js} +5 -5
- package/dist/{index-CpHoINpJ.js → index-BshV7sX1.js} +538 -515
- package/dist/{index-CDK3omwG.cjs → index-D2ZScauW.cjs} +4 -4
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BOjw3Yqn.js → useNestedProp-B235bkr5.js} +1 -1
- package/dist/{useNestedProp-CaaW8JIS.cjs → useNestedProp-BU7yyXFA.cjs} +1 -1
- package/dist/{usePrinter-BHy-mfVg.js → usePrinter-Culo-aKo.js} +1 -1
- package/dist/{usePrinter-vQu-8tRD.cjs → usePrinter-eqT4IYET.cjs} +1 -1
- package/dist/{vue-data-ui-Ccdrn4OV.cjs → vue-data-ui-B7ebF4_E.cjs} +1 -1
- package/dist/{vue-data-ui-Dcg7DPMn.js → vue-data-ui-aJ6K70wA.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +7 -7
- package/dist/{vue-ui-3d-bar-BqtnNU7h.js → vue-ui-3d-bar-BYgxIW27.js} +7 -7
- package/dist/{vue-ui-3d-bar-DdBlV5AX.cjs → vue-ui-3d-bar-DFv8qpsI.cjs} +1 -1
- package/dist/{vue-ui-accordion-BZloYo0L.js → vue-ui-accordion-B6AxEnAr.js} +3 -3
- package/dist/{vue-ui-accordion-EVAolVkD.cjs → vue-ui-accordion-BhCJcWDd.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BBRjCRtS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CTxkOn4v.js → vue-ui-age-pyramid-yZrvdnPP.js} +226 -226
- package/dist/{vue-ui-annotator-D_AK0JCi.cjs → vue-ui-annotator-CEVmAufb.cjs} +1 -1
- package/dist/{vue-ui-annotator-BDWKiQ6S.js → vue-ui-annotator-ZKUlOqUq.js} +1 -1
- package/dist/{vue-ui-candlestick-CIKgu0F2.cjs → vue-ui-candlestick-CUNLZRIM.cjs} +2 -2
- package/dist/{vue-ui-candlestick-ByA9FGZb.js → vue-ui-candlestick-De4WgpPk.js} +158 -158
- package/dist/{vue-ui-carousel-table-ez9gbOZ7.cjs → vue-ui-carousel-table-C968uL6J.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BnYxbq5A.js → vue-ui-carousel-table-DJ0AWPea.js} +4 -4
- package/dist/{vue-ui-chestnut-BumsSmCv.js → vue-ui-chestnut-Cl0UKWsI.js} +65 -64
- package/dist/{vue-ui-chestnut-CnYqa2Fx.cjs → vue-ui-chestnut-DmjmL02K.cjs} +3 -3
- package/dist/{vue-ui-cursor-D-4-MMw7.js → vue-ui-cursor-BWyE3tgm.js} +2 -2
- package/dist/{vue-ui-cursor-Drl8jibt.cjs → vue-ui-cursor-D5XEblLW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CX0jA181.cjs → vue-ui-dashboard-BJLi81kg.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_iV-3hq.js → vue-ui-dashboard-D9dQIIti.js} +2 -2
- package/dist/{vue-ui-digits-DMhl9plv.js → vue-ui-digits-DkYpomD9.js} +2 -2
- package/dist/{vue-ui-digits-RAZl_4Kb.cjs → vue-ui-digits-IIiSTczs.cjs} +1 -1
- package/dist/{vue-ui-donut-BG28U01c.cjs → vue-ui-donut-Bq66xmG0.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DPU-Nd8y.js → vue-ui-donut-evolution-Bto1ZaWx.js} +95 -95
- package/dist/vue-ui-donut-evolution-CNVUtEEk.cjs +1 -0
- package/dist/{vue-ui-donut-BpQC9-Uz.js → vue-ui-donut-uujhj36t.js} +42 -42
- package/dist/vue-ui-dumbbell-CLNVYG0j.cjs +9 -0
- package/dist/{vue-ui-dumbbell-C4JnuC1b.js → vue-ui-dumbbell-D6Xyfvff.js} +72 -72
- package/dist/vue-ui-flow-BwrqexSU.cjs +1 -0
- package/dist/vue-ui-flow-Cg4oKZz8.js +469 -0
- package/dist/{vue-ui-galaxy-148JtEdK.js → vue-ui-galaxy-D_s9dfYN.js} +91 -91
- package/dist/vue-ui-galaxy-DixlciaO.cjs +1 -0
- package/dist/{vue-ui-gauge-DOJ98R_N.js → vue-ui-gauge-DGQVW6UO.js} +84 -84
- package/dist/vue-ui-gauge-Jse5ZYyj.cjs +1 -0
- package/dist/{vue-ui-gizmo-KeWvd226.js → vue-ui-gizmo-DDTaLaSI.js} +2 -2
- package/dist/{vue-ui-gizmo-a6WNWyf7.cjs → vue-ui-gizmo-sgq75uBG.cjs} +1 -1
- package/dist/vue-ui-heatmap-4-gnNgQ_.cjs +1 -0
- package/dist/{vue-ui-heatmap-BGsSOTPJ.js → vue-ui-heatmap-Dvd5ZGVw.js} +257 -239
- package/dist/{vue-ui-kpi-Dhah6Fgx.cjs → vue-ui-kpi-Co1WqN3k.cjs} +1 -1
- package/dist/{vue-ui-kpi-Leb1rK38.js → vue-ui-kpi-aLwUkIjv.js} +3 -3
- package/dist/{vue-ui-mini-loader-BLH4ncUB.js → vue-ui-mini-loader-Bm2xpTIh.js} +2 -2
- package/dist/{vue-ui-mini-loader-Dpa9uYkn.cjs → vue-ui-mini-loader-D98KCpoT.cjs} +1 -1
- package/dist/{vue-ui-molecule-DjvOvDUa.cjs → vue-ui-molecule-C3-9ojnv.cjs} +1 -1
- package/dist/{vue-ui-molecule-DuPAOQcj.js → vue-ui-molecule-Dv4hYPVd.js} +20 -20
- package/dist/{vue-ui-mood-radar-AOHK6R10.cjs → vue-ui-mood-radar-Dh3Q2NiI.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-BmcIz0JR.js → vue-ui-mood-radar-DsIPsXTh.js} +9 -9
- package/dist/{vue-ui-nested-donuts-CMmcmAd9.cjs → vue-ui-nested-donuts-CFC8tyGY.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-BYLc86qs.js → vue-ui-nested-donuts-CZ9vcclX.js} +120 -120
- package/dist/{vue-ui-onion-BjG8xbMh.cjs → vue-ui-onion-BLV33CBr.cjs} +1 -1
- package/dist/{vue-ui-onion-shZ4g9mJ.js → vue-ui-onion-CI9ARfRM.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-O7lS6u2q.cjs → vue-ui-parallel-coordinate-plot-CIhpHeCI.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-wv0O9t7U.js → vue-ui-parallel-coordinate-plot-CxzFJuza.js} +69 -69
- package/dist/{vue-ui-quadrant-CuB8sYgF.cjs → vue-ui-quadrant-CS3LAiCu.cjs} +1 -1
- package/dist/{vue-ui-quadrant-BRF5Czj4.js → vue-ui-quadrant-DenUcNcS.js} +36 -36
- package/dist/{vue-ui-quick-chart-BQdUHrm2.js → vue-ui-quick-chart-BdpKv0ES.js} +549 -515
- package/dist/vue-ui-quick-chart-UxaO0jzI.cjs +15 -0
- package/dist/vue-ui-radar-CQ-LymAS.cjs +1 -0
- package/dist/{vue-ui-radar-CLUs0tD9.js → vue-ui-radar-Dd24aGwh.js} +59 -59
- package/dist/{vue-ui-rating-Dcy1l1PB.js → vue-ui-rating-CQWK2lk1.js} +9 -9
- package/dist/{vue-ui-rating-CA25nHJe.cjs → vue-ui-rating-DTuDjrt8.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DC-RFa9X.js → vue-ui-relation-circle-BcOzK8Iz.js} +5 -5
- package/dist/{vue-ui-relation-circle-Drr6Gdnq.cjs → vue-ui-relation-circle-DMhNCwpg.cjs} +1 -1
- package/dist/vue-ui-rings--pu1fIcl.cjs +2 -0
- package/dist/{vue-ui-rings-DbPbelCU.js → vue-ui-rings-yyFx2W1b.js} +188 -185
- package/dist/{vue-ui-scatter-D2jYZ4Wu.js → vue-ui-scatter-BV4sXNqz.js} +378 -375
- package/dist/{vue-ui-scatter-xyLvaw0d.cjs → vue-ui-scatter-CrmsJjjl.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DXCBzrPZ.js → vue-ui-screenshot-C6wYv3cc.js} +6 -6
- package/dist/{vue-ui-screenshot-DGqjaE1x.cjs → vue-ui-screenshot-eoAWixSo.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DuM6yey6.js → vue-ui-skeleton-7qakoAGH.js} +23 -23
- package/dist/{vue-ui-skeleton-DRDC3yxK.cjs → vue-ui-skeleton-BLhbQje-.cjs} +1 -1
- package/dist/{vue-ui-smiley-DQrvx_S9.js → vue-ui-smiley-DG3_ORXA.js} +2 -2
- package/dist/{vue-ui-smiley-BCmY1siL.cjs → vue-ui-smiley-sS92V85O.cjs} +1 -1
- package/dist/vue-ui-spark-trend-C9Ii4Ue5.cjs +1 -0
- package/dist/vue-ui-spark-trend-D8_rEspZ.js +251 -0
- package/dist/{vue-ui-sparkbar-C_vNsxM_.cjs → vue-ui-sparkbar-CQz9GWxh.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DiU5Yt-V.js → vue-ui-sparkbar-DuNNnbs9.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BnF9Vbs0.js → vue-ui-sparkgauge-Buo2ms6b.js} +64 -64
- package/dist/vue-ui-sparkgauge-Dxsnkehz.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-BUBwn9A4.cjs → vue-ui-sparkhistogram-Cw-w_Rhv.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CsOfCo_3.js → vue-ui-sparkhistogram-edeeQ1HN.js} +4 -4
- package/dist/{vue-ui-sparkline-CoUeD8Np.cjs → vue-ui-sparkline-Cyddej9t.cjs} +1 -1
- package/dist/{vue-ui-sparkline-B628G3Nl.js → vue-ui-sparkline-DGIqGoR2.js} +25 -25
- package/dist/{vue-ui-sparkstackbar-Cr-Q7uDo.cjs → vue-ui-sparkstackbar-DN0XiDpQ.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DIHGbrF5.js → vue-ui-sparkstackbar-G7Ojd39B.js} +3 -3
- package/dist/{vue-ui-stackbar-DCbJhdZy.js → vue-ui-stackbar-CfK9lv_E.js} +35 -35
- package/dist/{vue-ui-stackbar-DMyP3IRK.cjs → vue-ui-stackbar-kiZ9J1eh.cjs} +1 -1
- package/dist/vue-ui-strip-plot-Bd4NwUia.cjs +1 -0
- package/dist/{vue-ui-strip-plot-CNb3VtYF.js → vue-ui-strip-plot-d-bNHZDG.js} +64 -64
- package/dist/{vue-ui-table-CjuXpy2d.cjs → vue-ui-table-ChORiy2h.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D6px_Z1a.cjs → vue-ui-table-heatmap-BcA1TmV1.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-nbBDuSiw.js → vue-ui-table-heatmap-BcPqaYXz.js} +26 -26
- package/dist/{vue-ui-table-BqcI8E7E.js → vue-ui-table-ipCsGZPx.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Blbaz2zX.js → vue-ui-table-sparkline-BwwiWOX_.js} +13 -13
- package/dist/{vue-ui-table-sparkline-CqNPx5Zw.cjs → vue-ui-table-sparkline-dXyBTv6X.cjs} +1 -1
- package/dist/vue-ui-thermometer-DpWtOskJ.cjs +1 -0
- package/dist/{vue-ui-thermometer-BCGHbgj9.js → vue-ui-thermometer-U5IIot6j.js} +116 -116
- package/dist/{vue-ui-timer-BjqbxjQO.cjs → vue-ui-timer-DqVQjRdU.cjs} +1 -1
- package/dist/{vue-ui-timer-DhpBvc_5.js → vue-ui-timer-cCfNkOpe.js} +4 -4
- package/dist/{vue-ui-tiremarks-CNhB7Iqe.js → vue-ui-tiremarks-BcXrnO0N.js} +71 -71
- package/dist/vue-ui-tiremarks-C8pNPR_E.cjs +1 -0
- package/dist/vue-ui-treemap-24TuOX-H.cjs +1 -0
- package/dist/{vue-ui-treemap-C4memkYu.js → vue-ui-treemap-CVCaxcwW.js} +89 -82
- package/dist/{vue-ui-vertical-bar-LZ-GMZ2T.js → vue-ui-vertical-bar-Cuz2Qxi6.js} +246 -242
- package/dist/vue-ui-vertical-bar-kZxc3vG5.cjs +4 -0
- package/dist/{vue-ui-waffle-Cd4IU62n.js → vue-ui-waffle-BVFZf7mm.js} +44 -44
- package/dist/{vue-ui-waffle-CtY5CSX9.cjs → vue-ui-waffle-X-mNfs6F.cjs} +1 -1
- package/dist/{vue-ui-wheel-Do3pWPFB.cjs → vue-ui-wheel-CWOh-9CT.cjs} +1 -1
- package/dist/{vue-ui-wheel-CaEAQhJt.js → vue-ui-wheel-SUtbKs4l.js} +5 -5
- package/dist/vue-ui-word-cloud-BE_jkp2h.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BSalPYqO.js → vue-ui-word-cloud-DAa0far7.js} +68 -65
- package/dist/vue-ui-xy-BTocPMsA.cjs +3 -0
- package/dist/{vue-ui-xy-C7tpVpGu.js → vue-ui-xy-B_dmMYPU.js} +82 -82
- package/dist/vue-ui-xy-canvas-BtuD8xjy.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-rHcYmvec.js → vue-ui-xy-canvas-jq1j84oA.js} +122 -121
- package/package.json +1 -1
- package/dist/Slicer-PPS43jOo.cjs +0 -1
- package/dist/vue-ui-age-pyramid-Ce3DbeqC.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BWvrYKlH.cjs +0 -1
- package/dist/vue-ui-dumbbell-2Lsks-8o.cjs +0 -9
- package/dist/vue-ui-flow-DBhdVKxF.cjs +0 -1
- package/dist/vue-ui-flow-DSdWqWgh.js +0 -465
- package/dist/vue-ui-galaxy-BMsdd9Rh.cjs +0 -1
- package/dist/vue-ui-gauge-fVk9B_1W.cjs +0 -1
- package/dist/vue-ui-heatmap-DFpSo2gr.cjs +0 -1
- package/dist/vue-ui-quick-chart-DsVFRO68.cjs +0 -15
- package/dist/vue-ui-radar-lcS6n5TC.cjs +0 -1
- package/dist/vue-ui-rings-DxqSAs9h.cjs +0 -2
- package/dist/vue-ui-spark-trend-B9PR0wxN.js +0 -251
- package/dist/vue-ui-spark-trend-Kj1bJmBL.cjs +0 -1
- package/dist/vue-ui-sparkgauge-SlYA1lqc.cjs +0 -1
- package/dist/vue-ui-strip-plot-Da_TQpOq.cjs +0 -1
- package/dist/vue-ui-thermometer-coTC0T6k.cjs +0 -1
- package/dist/vue-ui-tiremarks-DgbTo_Cb.cjs +0 -1
- package/dist/vue-ui-treemap-B5moKzuO.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DtkGW5Tk.cjs +0 -4
- package/dist/vue-ui-word-cloud-pzaBe3Et.cjs +0 -1
- package/dist/vue-ui-xy-BgLF5ZNP.cjs +0 -3
- package/dist/vue-ui-xy-canvas-OuDGiOOW.cjs +0 -9
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { computed as L, ref as c, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
const re = (V) => (
|
|
1
|
+
import { computed as L, ref as c, onMounted as Ue, onBeforeUnmount as Re, watch as Ee, openBlock as u, createElementBlock as n, normalizeClass as P, normalizeStyle as se, createVNode as ue, createCommentVNode as y, createBlock as H, unref as r, createSlots as Ge, withCtx as m, renderSlot as _, normalizeProps as q, guardReactiveProps as J, createElementVNode as b, Fragment as w, renderList as $, toDisplayString as F, createTextVNode as K, nextTick as Ye, pushScopeId as Xe, popScopeId as We } from "vue";
|
|
2
|
+
import { u as He, c as qe, t as Je, a as Ke, p as Q, o as Qe, e as O, b as Ze, F as Ce, d as je, m as Ne, f as C, X as et, H as tt, k as A, n as ne, i as R, x as Se, y as lt, q as at, r as ot } from "./index-BshV7sX1.js";
|
|
3
|
+
import { t as st, u as ut } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as nt } from "./Title-fb3BzoXj.js";
|
|
5
|
+
import { u as rt, U as it } from "./usePrinter-Culo-aKo.js";
|
|
6
|
+
import { D as dt } from "./DataTable-luIjNnne.js";
|
|
7
|
+
import { _ as ct } from "./Tooltip-CBugtvWB.js";
|
|
8
|
+
import { L as vt } from "./Legend-B9dawQa7.js";
|
|
9
|
+
import ht from "./vue-ui-skeleton-7qakoAGH.js";
|
|
10
|
+
import ft from "./vue-ui-accordion-B6AxEnAr.js";
|
|
11
|
+
import { u as Te } from "./useNestedProp-B235bkr5.js";
|
|
12
|
+
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = ["xmlns", "viewBox"], gt = ["id", "fr"], mt = /* @__PURE__ */ re(() => /* @__PURE__ */ b("stop", {
|
|
14
14
|
offset: "0%",
|
|
15
15
|
"stop-color": "#FFFFFF",
|
|
16
16
|
"stop-opacity": "0"
|
|
17
|
-
}, null, -1)),
|
|
17
|
+
}, null, -1)), wt = ["offset", "stop-opacity"], xt = /* @__PURE__ */ re(() => /* @__PURE__ */ b("stop", {
|
|
18
18
|
offset: "100%",
|
|
19
19
|
"stop-color": "#FFFFFF",
|
|
20
20
|
"stop-opacity": "0"
|
|
21
|
-
}, null, -1)),
|
|
21
|
+
}, null, -1)), kt = ["id"], Lt = ["id"], _t = /* @__PURE__ */ re(() => /* @__PURE__ */ b("feColorMatrix", {
|
|
22
22
|
type: "saturate",
|
|
23
23
|
values: "0"
|
|
24
|
-
}, null, -1)),
|
|
24
|
+
}, null, -1)), $t = ["id"], Ct = ["flood-color"], Nt = ["cx", "cy", "r", "fill", "filter"], St = ["d", "fill", "stroke", "stroke-width", "filter"], Tt = { key: 0 }, Ft = ["d", "fill"], It = { key: 1 }, Dt = ["x", "y", "font-size", "font-weight", "fill"], zt = { key: 2 }, Pt = ["filter"], Ot = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], At = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Vt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Mt = ["d", "fill", "onMouseenter", "onClick"], Bt = {
|
|
25
25
|
key: 3,
|
|
26
26
|
class: "vue-data-ui-watermark"
|
|
27
|
-
},
|
|
27
|
+
}, Ut = {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: "vue-ui-nested-donuts-legend-title"
|
|
30
|
-
},
|
|
30
|
+
}, Rt = ["onClick"], Et = ["innerHTML"], Gt = {
|
|
31
31
|
__name: "vue-ui-nested-donuts",
|
|
32
32
|
props: {
|
|
33
33
|
config: {
|
|
@@ -44,31 +44,31 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
emits: ["selectLegend", "selectDatapoint"],
|
|
47
|
-
setup(V, { expose:
|
|
48
|
-
const D = V, { vue_ui_nested_donuts:
|
|
49
|
-
function
|
|
47
|
+
setup(V, { expose: Fe, emit: ie }) {
|
|
48
|
+
const D = V, { vue_ui_nested_donuts: Ie } = He(), E = L(() => !!D.dataset && D.dataset.length), p = c(qe()), Z = c(!1), j = c(""), De = c(null), de = c(0), M = c(null), ce = c(null), ee = c(null), B = c(!1);
|
|
49
|
+
function ze(t) {
|
|
50
50
|
B.value = t, de.value += 1;
|
|
51
51
|
}
|
|
52
52
|
const e = L(() => {
|
|
53
|
-
const t =
|
|
53
|
+
const t = Te({
|
|
54
54
|
userConfig: D.config,
|
|
55
|
-
defaultConfig:
|
|
55
|
+
defaultConfig: Ie
|
|
56
56
|
});
|
|
57
57
|
return t.theme ? {
|
|
58
|
-
...
|
|
59
|
-
userConfig:
|
|
58
|
+
...Te({
|
|
59
|
+
userConfig: Je.vue_ui_nested_donuts[t.theme] || D.config,
|
|
60
60
|
defaultConfig: t
|
|
61
61
|
}),
|
|
62
|
-
customPalette:
|
|
62
|
+
customPalette: Ke[t.theme] || Q
|
|
63
63
|
} : t;
|
|
64
64
|
}), G = c(null);
|
|
65
|
-
|
|
66
|
-
if (
|
|
65
|
+
Ue(() => {
|
|
66
|
+
if (Qe(D.dataset) && O({
|
|
67
67
|
componentName: "VueUiNestedDonuts",
|
|
68
68
|
type: "dataset"
|
|
69
69
|
}), e.value.responsive) {
|
|
70
|
-
const t =
|
|
71
|
-
const { width: s, height: l } =
|
|
70
|
+
const t = st(() => {
|
|
71
|
+
const { width: s, height: l } = ut({
|
|
72
72
|
chart: M.value,
|
|
73
73
|
title: e.value.style.chart.title.text ? ce.value : null,
|
|
74
74
|
legend: e.value.style.chart.legend.show ? ee.value : null
|
|
@@ -77,13 +77,13 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
77
77
|
});
|
|
78
78
|
G.value = new ResizeObserver(t), G.value.observe(M.value.parentNode);
|
|
79
79
|
}
|
|
80
|
-
}),
|
|
80
|
+
}), Re(() => {
|
|
81
81
|
G.value && G.value.disconnect();
|
|
82
82
|
});
|
|
83
|
-
const { isPrinting: ve, isImaging: he, generatePdf: fe, generateImage: ye } =
|
|
83
|
+
const { isPrinting: ve, isImaging: he, generatePdf: fe, generateImage: ye } = rt({
|
|
84
84
|
elementId: `nested_donuts_${p.value}`,
|
|
85
85
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
86
|
-
}), Pe = L(() =>
|
|
86
|
+
}), Pe = L(() => Ze(e.value.customPalette)), x = c({
|
|
87
87
|
dataLabels: {
|
|
88
88
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
89
89
|
},
|
|
@@ -93,10 +93,10 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
93
93
|
height: 512,
|
|
94
94
|
width: 512
|
|
95
95
|
});
|
|
96
|
-
function
|
|
96
|
+
function Oe({ datapoint: t, index: s }) {
|
|
97
97
|
ie("selectDatapoint", { datapoint: t, index: s });
|
|
98
98
|
}
|
|
99
|
-
const f = c([]),
|
|
99
|
+
const f = c([]), N = L(() => (D.dataset.forEach((t, s) => {
|
|
100
100
|
[null, void 0].includes(t.name) && O({
|
|
101
101
|
componentName: "VueUiNestedDonuts",
|
|
102
102
|
type: "datasetSerieAttribute",
|
|
@@ -128,7 +128,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
128
128
|
});
|
|
129
129
|
}), D.dataset.map((t, s) => ({
|
|
130
130
|
...t,
|
|
131
|
-
total: t.series.filter((l) => !f.value.includes(l.id)).map((l) => (l.values
|
|
131
|
+
total: t.series.filter((l) => !f.value.includes(l.id)).map((l) => Ce(l.values).reduce((a, o) => a + o, 0)).reduce((l, a) => l + a, 0),
|
|
132
132
|
datasetIndex: s,
|
|
133
133
|
id: `${p.value}_${s}`,
|
|
134
134
|
series: t.series.map((l, a) => ({
|
|
@@ -138,13 +138,13 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
138
138
|
id: `${p.value}_${s}_${a}`,
|
|
139
139
|
seriesIndex: a,
|
|
140
140
|
datasetIndex: s,
|
|
141
|
-
color:
|
|
142
|
-
value: (l.values
|
|
141
|
+
color: je(l.color) || Pe.value[a] || Q[a] || Q[a % Q.length],
|
|
142
|
+
value: Ce(l.values).reduce((o, i) => o + i, 0),
|
|
143
143
|
absoluteValues: l.values || []
|
|
144
144
|
}))
|
|
145
145
|
}))));
|
|
146
146
|
c(e.value.style.chart.layout.donut.strokeWidth);
|
|
147
|
-
const
|
|
147
|
+
const S = L(() => Math.min(v.value.height, v.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), be = L(() => [...N.value].map((t, s) => {
|
|
148
148
|
const l = t.series.filter((a) => !f.value.includes(a.id)).map((a) => a.value).reduce((a, o) => a + o, 0);
|
|
149
149
|
return {
|
|
150
150
|
...t,
|
|
@@ -155,20 +155,20 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
155
155
|
}))
|
|
156
156
|
};
|
|
157
157
|
}));
|
|
158
|
-
function
|
|
158
|
+
function Ae(t, s, l) {
|
|
159
159
|
let a = 0;
|
|
160
160
|
for (let o = 0; o < t.length; o += 1)
|
|
161
161
|
l.includes(t[o]) && (a += 1);
|
|
162
162
|
return a < s;
|
|
163
163
|
}
|
|
164
164
|
const h = c(be.value);
|
|
165
|
-
|
|
165
|
+
Ee(() => be.value, (t) => h.value = t);
|
|
166
166
|
const pe = c(null), ge = c(null);
|
|
167
167
|
function te(t) {
|
|
168
168
|
ie("selectLegend", t);
|
|
169
|
-
const s =
|
|
169
|
+
const s = N.value.flatMap((d) => d.series).find((d) => d.id === t.id), l = h.value.flatMap((d) => d.series).find((d) => d.id === t.id);
|
|
170
170
|
let o = l ? l.value : 0;
|
|
171
|
-
const i =
|
|
171
|
+
const i = N.value.find((d) => d.id === s.arcOfId).series.map((d) => d.id), g = Ae(i, i.length - 1, f.value);
|
|
172
172
|
if (f.value.includes(t.id)) {
|
|
173
173
|
let d = function() {
|
|
174
174
|
o > s.value ? (cancelAnimationFrame(pe.value), h.value = h.value.map((k) => ({
|
|
@@ -190,60 +190,60 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
190
190
|
let d = function() {
|
|
191
191
|
o < 0.1 ? (cancelAnimationFrame(ge.value), f.value.push(t.id), h.value = h.value.map((k, T) => ({
|
|
192
192
|
...k,
|
|
193
|
-
series: k.series.map((
|
|
194
|
-
...
|
|
193
|
+
series: k.series.map((z) => z.id === t.id ? {
|
|
194
|
+
...z,
|
|
195
195
|
value: 0
|
|
196
|
-
} :
|
|
196
|
+
} : z)
|
|
197
197
|
}))) : (o /= 1.1, h.value = h.value.map((k, T) => ({
|
|
198
198
|
...k,
|
|
199
|
-
series: k.series.map((
|
|
200
|
-
...
|
|
199
|
+
series: k.series.map((z) => z.id === t.id ? {
|
|
200
|
+
...z,
|
|
201
201
|
value: o
|
|
202
|
-
} :
|
|
202
|
+
} : z)
|
|
203
203
|
})), ge.value = requestAnimationFrame(d));
|
|
204
204
|
};
|
|
205
205
|
d();
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
const U = L(() => h.value.map((t, s) => {
|
|
209
|
-
const l = s *
|
|
209
|
+
const l = s * S.value / N.value.length;
|
|
210
210
|
return {
|
|
211
211
|
...t,
|
|
212
|
-
radius:
|
|
213
|
-
donut:
|
|
212
|
+
radius: S.value - l,
|
|
213
|
+
donut: Ne(
|
|
214
214
|
{ series: t.series },
|
|
215
215
|
v.value.width / 2,
|
|
216
216
|
v.value.height / 2,
|
|
217
|
-
|
|
218
|
-
|
|
217
|
+
S.value - l,
|
|
218
|
+
S.value - l,
|
|
219
219
|
1.99999,
|
|
220
220
|
2,
|
|
221
221
|
1,
|
|
222
222
|
360,
|
|
223
223
|
105.25,
|
|
224
|
-
|
|
224
|
+
S.value / N.value.length * e.value.style.chart.layout.donut.spacingRatio
|
|
225
225
|
)
|
|
226
226
|
};
|
|
227
|
-
})), me = L(() => [...
|
|
228
|
-
const l = s *
|
|
227
|
+
})), me = L(() => [...N.value].map((t, s) => {
|
|
228
|
+
const l = s * S.value / N.value.length;
|
|
229
229
|
return {
|
|
230
230
|
sizeRatio: l,
|
|
231
|
-
donut:
|
|
231
|
+
donut: Ne(
|
|
232
232
|
{ series: [{ value: 1 }] },
|
|
233
233
|
v.value.width / 2,
|
|
234
234
|
v.value.height / 2,
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
S.value - l,
|
|
236
|
+
S.value - l,
|
|
237
237
|
1.99999,
|
|
238
238
|
2,
|
|
239
239
|
1,
|
|
240
240
|
360,
|
|
241
241
|
105.25,
|
|
242
|
-
|
|
242
|
+
S.value / N.value.length * e.value.style.chart.layout.donut.spacingRatio
|
|
243
243
|
)[0]
|
|
244
244
|
};
|
|
245
245
|
})), we = c(null), Y = c(null), X = c(null), le = c(null);
|
|
246
|
-
function
|
|
246
|
+
function Ve({ datapoint: t, _relativeIndex: s, seriesIndex: l }) {
|
|
247
247
|
we.value = t.arcOfId, Y.value = t.id, X.value = l, le.value = {
|
|
248
248
|
datapoint: t,
|
|
249
249
|
seriesIndex: l,
|
|
@@ -251,7 +251,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
251
251
|
config: e.value
|
|
252
252
|
};
|
|
253
253
|
const a = e.value.style.chart.tooltip.customFormat;
|
|
254
|
-
if (Se(a) &&
|
|
254
|
+
if (Se(a) && lt(() => a({
|
|
255
255
|
seriesIndex: l,
|
|
256
256
|
datapoint: t,
|
|
257
257
|
series: h.value,
|
|
@@ -336,7 +336,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
336
336
|
if (!e.value.style.chart.tooltip.showAllItemsAtIndex || f.value.length)
|
|
337
337
|
return [null, void 0].includes(Y.value) || Y.value === t.id ? "" : `url(#blur_${p.value})`;
|
|
338
338
|
}
|
|
339
|
-
const oe = L(() =>
|
|
339
|
+
const oe = L(() => N.value.map((t, s) => t.series.map((l, a) => ({
|
|
340
340
|
name: l.name,
|
|
341
341
|
color: l.color,
|
|
342
342
|
value: l.value,
|
|
@@ -351,7 +351,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
351
351
|
opacity: f.value.includes(l.id) ? 0.5 : 1,
|
|
352
352
|
segregate: () => te(l),
|
|
353
353
|
isSegregated: f.value.includes(l.id)
|
|
354
|
-
})))),
|
|
354
|
+
})))), Me = L(() => ({
|
|
355
355
|
cy: "nested-donuts-legend",
|
|
356
356
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
357
357
|
color: e.value.style.chart.legend.color,
|
|
@@ -367,11 +367,11 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
367
367
|
return { head: t, body: s };
|
|
368
368
|
});
|
|
369
369
|
function ke() {
|
|
370
|
-
|
|
370
|
+
Ye(() => {
|
|
371
371
|
const t = I.value.head.map((a, o) => [[
|
|
372
372
|
a.name
|
|
373
|
-
], [I.value.body[o]], [isNaN(I.value.body[o] / a.total) ? "-" : I.value.body[o] / a.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l =
|
|
374
|
-
|
|
373
|
+
], [I.value.body[o]], [isNaN(I.value.body[o] / a.total) ? "-" : I.value.body[o] / a.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = at(s);
|
|
374
|
+
ot({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
377
|
const W = L(() => {
|
|
@@ -417,8 +417,8 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
417
417
|
config: l
|
|
418
418
|
};
|
|
419
419
|
});
|
|
420
|
-
function
|
|
421
|
-
return
|
|
420
|
+
function Be() {
|
|
421
|
+
return N.value;
|
|
422
422
|
}
|
|
423
423
|
function Le() {
|
|
424
424
|
x.value.showTable = !x.value.showTable;
|
|
@@ -429,8 +429,8 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
429
429
|
function $e() {
|
|
430
430
|
x.value.showTooltip = !x.value.showTooltip;
|
|
431
431
|
}
|
|
432
|
-
return
|
|
433
|
-
getData:
|
|
432
|
+
return Fe({
|
|
433
|
+
getData: Be,
|
|
434
434
|
generatePdf: fe,
|
|
435
435
|
generateCsv: ke,
|
|
436
436
|
generateImage: ye,
|
|
@@ -440,7 +440,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
440
440
|
}), (t, s) => (u(), n("div", {
|
|
441
441
|
ref_key: "nestedDonutsChart",
|
|
442
442
|
ref: M,
|
|
443
|
-
class:
|
|
443
|
+
class: P(`vue-ui-nested-donuts ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
444
444
|
style: se(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${!e.value.style.chart.title.text && e.value.userOptions.show ? "padding-top:36px" : ""};background:${e.value.style.chart.backgroundColor}`),
|
|
445
445
|
id: `nested_donuts_${p.value}`
|
|
446
446
|
}, [
|
|
@@ -449,7 +449,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
449
449
|
ref_key: "chartTitle",
|
|
450
450
|
ref: ce
|
|
451
451
|
}, [
|
|
452
|
-
ue(
|
|
452
|
+
ue(nt, {
|
|
453
453
|
config: {
|
|
454
454
|
title: {
|
|
455
455
|
cy: "donut-div-title",
|
|
@@ -462,7 +462,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
462
462
|
}
|
|
463
463
|
}, null, 8, ["config"])
|
|
464
464
|
], 512)) : y("", !0),
|
|
465
|
-
e.value.userOptions.show && E.value ? (u(), H(
|
|
465
|
+
e.value.userOptions.show && E.value ? (u(), H(it, {
|
|
466
466
|
ref: "details",
|
|
467
467
|
key: `user_option_${de.value}`,
|
|
468
468
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -481,14 +481,14 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
481
481
|
isTooltip: x.value.showTooltip,
|
|
482
482
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
483
483
|
chartElement: M.value,
|
|
484
|
-
onToggleFullscreen:
|
|
484
|
+
onToggleFullscreen: ze,
|
|
485
485
|
onGeneratePdf: r(fe),
|
|
486
486
|
onGenerateCsv: ke,
|
|
487
487
|
onGenerateImage: r(ye),
|
|
488
488
|
onToggleTable: Le,
|
|
489
489
|
onToggleLabels: _e,
|
|
490
490
|
onToggleTooltip: $e
|
|
491
|
-
},
|
|
491
|
+
}, Ge({ _: 2 }, [
|
|
492
492
|
t.$slots.optionTooltip ? {
|
|
493
493
|
name: "optionTooltip",
|
|
494
494
|
fn: m(() => [
|
|
@@ -541,8 +541,8 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
541
541
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
542
542
|
E.value ? (u(), n("svg", {
|
|
543
543
|
key: 2,
|
|
544
|
-
xmlns: r(
|
|
545
|
-
class:
|
|
544
|
+
xmlns: r(et),
|
|
545
|
+
class: P({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
|
|
546
546
|
viewBox: `0 0 ${v.value.width <= 0 ? 1e-3 : v.value.width} ${v.value.height < 0 ? 1e-3 : v.value.height}`,
|
|
547
547
|
style: se(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
548
548
|
}, [
|
|
@@ -554,14 +554,14 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
554
554
|
r: "50%",
|
|
555
555
|
fr: 30 - 1 * (a + 1) + "%"
|
|
556
556
|
}, [
|
|
557
|
-
|
|
557
|
+
mt,
|
|
558
558
|
b("stop", {
|
|
559
559
|
offset: 70 - 20 * a + "%",
|
|
560
560
|
"stop-color": "#FFFFFF",
|
|
561
561
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
562
|
-
}, null, 8,
|
|
563
|
-
|
|
564
|
-
], 8,
|
|
562
|
+
}, null, 8, wt),
|
|
563
|
+
xt
|
|
564
|
+
], 8, gt))), 256))
|
|
565
565
|
]),
|
|
566
566
|
b("defs", null, [
|
|
567
567
|
b("filter", {
|
|
@@ -575,9 +575,9 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
575
575
|
in: "SourceGraphic",
|
|
576
576
|
stdDeviation: 2,
|
|
577
577
|
id: `blur_std_${p.value}`
|
|
578
|
-
}, null, 8,
|
|
579
|
-
|
|
580
|
-
], 8,
|
|
578
|
+
}, null, 8, Lt),
|
|
579
|
+
_t
|
|
580
|
+
], 8, kt),
|
|
581
581
|
b("filter", {
|
|
582
582
|
id: `shadow_${p.value}`,
|
|
583
583
|
"color-interpolation-filters": "sRGB"
|
|
@@ -588,8 +588,8 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
588
588
|
stdDeviation: "10",
|
|
589
589
|
"flood-opacity": "0.5",
|
|
590
590
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
591
|
-
}, null, 8,
|
|
592
|
-
], 8,
|
|
591
|
+
}, null, 8, Ct)
|
|
592
|
+
], 8, $t)
|
|
593
593
|
]),
|
|
594
594
|
(u(!0), n(w, null, $(U.value, (l) => (u(), n("circle", {
|
|
595
595
|
cx: v.value.width / 2,
|
|
@@ -597,7 +597,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
597
597
|
r: l.radius < 0 ? 1e-5 : l.radius,
|
|
598
598
|
fill: e.value.style.chart.backgroundColor,
|
|
599
599
|
filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${p.value})` : ""
|
|
600
|
-
}, null, 8,
|
|
600
|
+
}, null, 8, Nt))), 256)),
|
|
601
601
|
(u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
|
|
602
602
|
(u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", null, [
|
|
603
603
|
b("path", {
|
|
@@ -610,50 +610,50 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
610
610
|
}, null, 8, St)
|
|
611
611
|
]))), 256))
|
|
612
612
|
]))), 256)),
|
|
613
|
-
e.value.style.chart.useGradient ? (u(), n("g",
|
|
613
|
+
e.value.style.chart.useGradient ? (u(), n("g", Tt, [
|
|
614
614
|
(u(!0), n(w, null, $(me.value, (l, a) => (u(), n("g", null, [
|
|
615
615
|
b("path", {
|
|
616
616
|
d: l.donut.arcSlice,
|
|
617
617
|
fill: `url(#radial_${p.value}_${a})`,
|
|
618
618
|
stroke: "transparent",
|
|
619
619
|
"stroke-width": "0"
|
|
620
|
-
}, null, 8,
|
|
620
|
+
}, null, 8, Ft)
|
|
621
621
|
]))), 256))
|
|
622
622
|
])) : y("", !0),
|
|
623
|
-
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g",
|
|
623
|
+
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", It, [
|
|
624
624
|
(u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
|
|
625
625
|
(u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", null, [
|
|
626
626
|
i === 0 && v.value.width && v.value.height ? (u(), n("text", {
|
|
627
627
|
key: 0,
|
|
628
|
-
class:
|
|
628
|
+
class: P({ animated: e.value.useCssAnimation }),
|
|
629
629
|
x: v.value.width / 2,
|
|
630
630
|
y: o.startY - e.value.style.chart.layout.labels.dataLabels.fontSize + e.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,
|
|
631
631
|
"text-anchor": "middle",
|
|
632
632
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
633
633
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
634
634
|
fill: e.value.style.chart.layout.labels.dataLabels.color
|
|
635
|
-
}, F(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(
|
|
635
|
+
}, F(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(tt)({ source: l.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : l.name), 11, Dt)) : y("", !0)
|
|
636
636
|
]))), 256))
|
|
637
637
|
]))), 256))
|
|
638
638
|
])) : y("", !0),
|
|
639
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g",
|
|
639
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", zt, [
|
|
640
640
|
(u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
|
|
641
641
|
(u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", {
|
|
642
642
|
filter: xe(o, i)
|
|
643
643
|
}, [
|
|
644
644
|
ae(o) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
|
|
645
645
|
key: 0,
|
|
646
|
-
class:
|
|
646
|
+
class: P({ animated: e.value.useCssAnimation }),
|
|
647
647
|
"text-anchor": r(A)(o, !0).anchor,
|
|
648
648
|
x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
649
649
|
y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
|
|
650
650
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? o.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
651
651
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
652
652
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
653
|
-
}, F(r(C)({ v: o.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11,
|
|
653
|
+
}, F(r(C)({ v: o.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Ot)) : y("", !0),
|
|
654
654
|
ae(o) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
655
655
|
key: 1,
|
|
656
|
-
class:
|
|
656
|
+
class: P({ animated: e.value.useCssAnimation }),
|
|
657
657
|
"text-anchor": r(A)(o, !0).anchor,
|
|
658
658
|
x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
659
659
|
y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY) + e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
@@ -670,10 +670,10 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
670
670
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
671
671
|
}),
|
|
672
672
|
{ datapoint: o, seriesIndex: a, datapointIndex: i }
|
|
673
|
-
)) + ") ", 11,
|
|
673
|
+
)) + ") ", 11, At)) : y("", !0),
|
|
674
674
|
ae(o) && x.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
675
675
|
key: 2,
|
|
676
|
-
class:
|
|
676
|
+
class: P({ animated: e.value.useCssAnimation }),
|
|
677
677
|
"text-anchor": r(A)(o, !0).anchor,
|
|
678
678
|
x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
679
679
|
y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
|
|
@@ -690,7 +690,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
690
690
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
691
691
|
}),
|
|
692
692
|
{ datapoint: o, seriesIndex: a, datapointIndex: i }
|
|
693
|
-
)), 11,
|
|
693
|
+
)), 11, Vt)) : y("", !0)
|
|
694
694
|
], 8, Pt))), 256))
|
|
695
695
|
]))), 256))
|
|
696
696
|
])) : y("", !0),
|
|
@@ -699,25 +699,25 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
699
699
|
b("path", {
|
|
700
700
|
"data-cy-donut-trap": "",
|
|
701
701
|
d: o.arcSlice,
|
|
702
|
-
fill:
|
|
703
|
-
onMouseenter: (g) =>
|
|
702
|
+
fill: De.value === a ? "rgba(0,0,0,0.1)" : "transparent",
|
|
703
|
+
onMouseenter: (g) => Ve({
|
|
704
704
|
datapoint: o,
|
|
705
705
|
relativeIndex: a,
|
|
706
706
|
seriesIndex: o.seriesIndex
|
|
707
707
|
}),
|
|
708
|
-
onClick: (g) =>
|
|
708
|
+
onClick: (g) => Oe({ datapoint: o, index: i }),
|
|
709
709
|
onMouseleave: s[0] || (s[0] = (g) => {
|
|
710
710
|
Z.value = !1, we.value = null, Y.value = null, X.value = null;
|
|
711
711
|
})
|
|
712
|
-
}, null, 40,
|
|
712
|
+
}, null, 40, Mt)
|
|
713
713
|
]))), 256))
|
|
714
714
|
]))), 256)),
|
|
715
715
|
_(t.$slots, "svg", { svg: v.value }, void 0, !0)
|
|
716
|
-
], 14,
|
|
717
|
-
t.$slots.watermark ? (u(), n("div",
|
|
716
|
+
], 14, pt)) : y("", !0),
|
|
717
|
+
t.$slots.watermark ? (u(), n("div", Bt, [
|
|
718
718
|
_(t.$slots, "watermark", q(J({ isPrinting: r(ve) || r(he) })), void 0, !0)
|
|
719
719
|
])) : y("", !0),
|
|
720
|
-
E.value ? y("", !0) : (u(), H(
|
|
720
|
+
E.value ? y("", !0) : (u(), H(ht, {
|
|
721
721
|
key: 4,
|
|
722
722
|
config: {
|
|
723
723
|
type: "donut",
|
|
@@ -729,7 +729,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
731
|
}, null, 8, ["config"])),
|
|
732
|
-
ue(
|
|
732
|
+
ue(ct, {
|
|
733
733
|
show: x.value.showTooltip && Z.value,
|
|
734
734
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
735
735
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -756,15 +756,15 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
756
756
|
key: 5,
|
|
757
757
|
ref_key: "chartLegend",
|
|
758
758
|
ref: ee,
|
|
759
|
-
class:
|
|
759
|
+
class: P({ "vue-ui-nested-donuts-legend": oe.value.length > 1 })
|
|
760
760
|
}, [
|
|
761
|
-
(u(!0), n(w, null, $(oe.value, (l) => (u(), H(
|
|
761
|
+
(u(!0), n(w, null, $(oe.value, (l) => (u(), H(vt, {
|
|
762
762
|
legendSet: l,
|
|
763
|
-
config:
|
|
763
|
+
config: Me.value,
|
|
764
764
|
onClickMarker: s[1] || (s[1] = ({ legend: a }) => te(a))
|
|
765
765
|
}, {
|
|
766
766
|
legendTitle: m(({ titleSet: a }) => [
|
|
767
|
-
a[0].arcOf ? (u(), n("div",
|
|
767
|
+
a[0] && a[0].arcOf ? (u(), n("div", Ut, F(a[0].arcOf), 1)) : y("", !0)
|
|
768
768
|
]),
|
|
769
769
|
item: m(({ legend: a, index: o }) => [
|
|
770
770
|
b("div", {
|
|
@@ -787,7 +787,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
787
787
|
], 64)) : (u(), n(w, { key: 0 }, [
|
|
788
788
|
K(" (" + F(isNaN(a.value / a.total) ? "-" : r(C)({ v: a.value / a.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
|
|
789
789
|
], 64))
|
|
790
|
-
], 12,
|
|
790
|
+
], 12, Rt)
|
|
791
791
|
]),
|
|
792
792
|
_: 2
|
|
793
793
|
}, 1032, ["legendSet", "config"]))), 256))
|
|
@@ -799,7 +799,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
799
799
|
}, [
|
|
800
800
|
_(t.$slots, "legend", { legend: oe.value }, void 0, !0)
|
|
801
801
|
], 512)),
|
|
802
|
-
E.value ? (u(), H(
|
|
802
|
+
E.value ? (u(), H(ft, {
|
|
803
803
|
key: 7,
|
|
804
804
|
hideDetails: "",
|
|
805
805
|
config: {
|
|
@@ -816,7 +816,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
816
816
|
}
|
|
817
817
|
}, {
|
|
818
818
|
content: m(() => [
|
|
819
|
-
ue(
|
|
819
|
+
ue(dt, {
|
|
820
820
|
colNames: W.value.colNames,
|
|
821
821
|
head: W.value.head,
|
|
822
822
|
body: W.value.body,
|
|
@@ -828,7 +828,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
828
828
|
b("div", {
|
|
829
829
|
innerHTML: l,
|
|
830
830
|
style: { display: "flex", "align-items": "center" }
|
|
831
|
-
}, null, 8,
|
|
831
|
+
}, null, 8, Et)
|
|
832
832
|
]),
|
|
833
833
|
td: m(({ td: l }) => [
|
|
834
834
|
K(F(l.name || l), 1)
|
|
@@ -838,9 +838,9 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
838
838
|
]),
|
|
839
839
|
_: 1
|
|
840
840
|
}, 8, ["config"])) : y("", !0)
|
|
841
|
-
], 14,
|
|
841
|
+
], 14, bt));
|
|
842
842
|
}
|
|
843
|
-
},
|
|
843
|
+
}, ll = /* @__PURE__ */ yt(Gt, [["__scopeId", "data-v-7f596bd8"]]);
|
|
844
844
|
export {
|
|
845
|
-
|
|
845
|
+
ll as default
|
|
846
846
|
};
|