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,22 +1,22 @@
|
|
|
1
1
|
import { computed as x, ref as L, onMounted as Xe, openBlock as a, createElementBlock as u, normalizeClass as F, normalizeStyle as B, createVNode as Le, createCommentVNode as d, createBlock as R, unref as c, createSlots as Ge, withCtx as P, renderSlot as T, normalizeProps as ae, guardReactiveProps as ue, createElementVNode as v, Fragment as m, renderList as p, toDisplayString as b, withKeys as Be, createTextVNode as $e, nextTick as je } from "vue";
|
|
2
|
-
import { u as Ye, o as Ke, e as j, g as qe, c as Se, t as Je, a as Qe, p as Y, b as Ze, d as oe,
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { D as
|
|
6
|
-
import { L as
|
|
7
|
-
import
|
|
8
|
-
import { S as
|
|
9
|
-
import
|
|
10
|
-
import { u as Pe } from "./useNestedProp-
|
|
11
|
-
import { _ as
|
|
12
|
-
const
|
|
2
|
+
import { u as Ye, o as Ke, e as j, g as qe, c as Se, t as Je, a as Qe, p as Y, b as Ze, F as et, d as oe, B as Ae, m as se, X as tt, w as re, C as lt, i as ne, f as K, j as Ne, k as q, n as ze, G as Fe, q as at, r as ut } from "./index-BshV7sX1.js";
|
|
3
|
+
import { _ as ot } from "./Title-fb3BzoXj.js";
|
|
4
|
+
import { u as st, U as rt } from "./usePrinter-Culo-aKo.js";
|
|
5
|
+
import { D as nt } from "./DataTable-luIjNnne.js";
|
|
6
|
+
import { L as it } from "./Legend-B9dawQa7.js";
|
|
7
|
+
import ct from "./vue-ui-skeleton-7qakoAGH.js";
|
|
8
|
+
import { S as vt } from "./Slicer-iGmqxtRQ.js";
|
|
9
|
+
import dt from "./vue-ui-accordion-B6AxEnAr.js";
|
|
10
|
+
import { u as Pe } from "./useNestedProp-B235bkr5.js";
|
|
11
|
+
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"], xt = ["stop-color"], mt = ["id"], pt = ["stop-color"], kt = ["stop-color"], _t = ["stop-color"], Ct = { key: 0 }, wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $t = { key: 0 }, St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "font-size", "fill", "font-weight"], zt = ["text-anchor", "font-size", "fill", "transform"], Ft = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Pt = { key: 1 }, Dt = ["cx", "cy", "r", "fill"], Tt = { key: 0 }, It = { key: 0 }, Et = ["d", "stroke"], Ot = ["text-anchor", "x", "y", "fill"], Vt = ["cx", "cy", "r", "fill"], Ht = { key: 0 }, Mt = ["cx", "cy", "fill"], Wt = { key: 1 }, Rt = ["d", "fill", "stroke"], Ut = { key: 2 }, Xt = ["d", "fill", "stroke"], Gt = ["x", "y", "font-size", "fill"], Bt = ["x", "y", "width", "fill", "onClick"], jt = ["x", "y", "width", "height", "onMouseenter", "onClick"], Yt = {
|
|
13
13
|
key: 3,
|
|
14
14
|
"data-cy-zoom": "",
|
|
15
15
|
class: "vue-ui-donut-evolution-dialog"
|
|
16
|
-
},
|
|
16
|
+
}, Kt = ["x", "y", "width", "height", "fill"], qt = ["x1", "y1", "x2", "y2", "stroke"], Jt = ["x1", "y2", "x2", "y1", "stroke"], Qt = ["onKeypress", "cx", "cy", "r"], Zt = ["d", "stroke"], el = ["cx", "cy", "r", "fill"], tl = ["d", "fill", "stroke"], ll = { class: "vue-ui-donut-evolution-focus" }, al = ["text-anchor", "x", "y", "fill"], ul = ["cx", "cy", "r", "fill"], ol = ["cx", "cy", "r", "fill"], sl = ["x", "y", "fill"], rl = ["x", "y", "font-size", "fill"], nl = {
|
|
17
17
|
key: 3,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, il = ["onClick"], cl = { key: 0 }, vl = { key: 1 }, dl = { key: 0 }, hl = { key: 1 }, yl = {
|
|
20
20
|
__name: "vue-ui-donut-evolution",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -34,11 +34,11 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend"],
|
|
36
36
|
setup(De, { expose: Te, emit: ie }) {
|
|
37
|
-
const z = De, { vue_ui_donut_evolution:
|
|
37
|
+
const z = De, { vue_ui_donut_evolution: Ie } = Ye(), U = x(() => !!z.dataset && z.dataset.length), h = L({
|
|
38
38
|
start: 0,
|
|
39
39
|
end: Math.max(...z.dataset.map((l) => l.values.length))
|
|
40
40
|
});
|
|
41
|
-
function
|
|
41
|
+
function Ee() {
|
|
42
42
|
h.value = {
|
|
43
43
|
start: 0,
|
|
44
44
|
end: M.value
|
|
@@ -62,10 +62,10 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
62
62
|
});
|
|
63
63
|
});
|
|
64
64
|
});
|
|
65
|
-
const
|
|
65
|
+
const I = L(Se()), k = L([]), g = L(null), J = L(null), $ = L(!1), S = L(null), ce = L(null), ve = L(0), de = L(0), e = x(() => {
|
|
66
66
|
const l = Pe({
|
|
67
67
|
userConfig: z.config,
|
|
68
|
-
defaultConfig:
|
|
68
|
+
defaultConfig: Ie
|
|
69
69
|
});
|
|
70
70
|
return l.theme ? {
|
|
71
71
|
...Pe({
|
|
@@ -74,8 +74,8 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
74
74
|
}),
|
|
75
75
|
customPalette: Qe[l.theme] || Y
|
|
76
76
|
} : l;
|
|
77
|
-
}), { isPrinting: he, isImaging: ye, generatePdf: fe, generateImage: ge } =
|
|
78
|
-
elementId:
|
|
77
|
+
}), { isPrinting: he, isImaging: ye, generatePdf: fe, generateImage: ge } = st({
|
|
78
|
+
elementId: I.value,
|
|
79
79
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
80
80
|
}), Oe = x(() => Ze(e.value.customPalette)), X = L({
|
|
81
81
|
showTable: e.value.table.show
|
|
@@ -108,7 +108,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
108
108
|
});
|
|
109
109
|
}), z.dataset.map((l, i) => ({
|
|
110
110
|
...l,
|
|
111
|
-
values: l.values
|
|
111
|
+
values: et(l.values),
|
|
112
112
|
color: oe(l.color) || Oe.value[i] || Y[i] || Y[i % Y.length],
|
|
113
113
|
length: (l.values || []).length,
|
|
114
114
|
uid: Se()
|
|
@@ -176,14 +176,14 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
176
176
|
const Q = x(() => ({
|
|
177
177
|
max: Math.max(..._.value.map((l) => l.subtotal)),
|
|
178
178
|
min: 0
|
|
179
|
-
})),
|
|
179
|
+
})), E = x(() => {
|
|
180
180
|
const l = _.value.length === 1 ? Q.value.max * 2 : Q.value.max;
|
|
181
181
|
return Ae(Q.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
182
182
|
});
|
|
183
183
|
function Ve(l) {
|
|
184
|
-
return l /
|
|
184
|
+
return l / E.value.max;
|
|
185
185
|
}
|
|
186
|
-
const He = x(() =>
|
|
186
|
+
const He = x(() => E.value.ticks.map((l) => ({
|
|
187
187
|
y: r.value.absoluteHeight - s.value.bottom - r.value.height * Ve(l),
|
|
188
188
|
value: l
|
|
189
189
|
})));
|
|
@@ -266,8 +266,8 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
266
266
|
}
|
|
267
267
|
function _e() {
|
|
268
268
|
je(() => {
|
|
269
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...O.value.head.map((f) => f.name ?? f)], t = [...O.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), o =
|
|
270
|
-
|
|
269
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...O.value.head.map((f) => f.name ?? f)], t = [...O.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), o = at(n);
|
|
270
|
+
ut({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
271
271
|
});
|
|
272
272
|
}
|
|
273
273
|
const W = L(!1);
|
|
@@ -288,14 +288,14 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
288
288
|
ref: ce,
|
|
289
289
|
class: F(`vue-ui-donut-evolution ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
290
290
|
style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
291
|
-
id:
|
|
291
|
+
id: I.value
|
|
292
292
|
}, [
|
|
293
293
|
e.value.style.chart.title.text ? (a(), u("div", {
|
|
294
294
|
key: 0,
|
|
295
295
|
style: B(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`),
|
|
296
296
|
onMouseleave: xe
|
|
297
297
|
}, [
|
|
298
|
-
Le(
|
|
298
|
+
Le(ot, {
|
|
299
299
|
config: {
|
|
300
300
|
title: {
|
|
301
301
|
cy: "donut-evolution-div-title",
|
|
@@ -308,14 +308,14 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
308
308
|
}
|
|
309
309
|
}, null, 8, ["config"])
|
|
310
310
|
], 36)) : d("", !0),
|
|
311
|
-
e.value.userOptions.show && U.value ? (a(), R(
|
|
311
|
+
e.value.userOptions.show && U.value ? (a(), R(rt, {
|
|
312
312
|
ref: "details",
|
|
313
313
|
key: `user_options_${ve.value}`,
|
|
314
314
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
315
315
|
color: e.value.style.chart.color,
|
|
316
316
|
isPrinting: c(he),
|
|
317
317
|
isImaging: c(ye),
|
|
318
|
-
uid:
|
|
318
|
+
uid: I.value,
|
|
319
319
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
320
320
|
hasImg: e.value.userOptions.buttons.img,
|
|
321
321
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -368,14 +368,14 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
368
368
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
369
369
|
U.value ? (a(), u("svg", {
|
|
370
370
|
key: 2,
|
|
371
|
-
xmlns: c(
|
|
371
|
+
xmlns: c(tt),
|
|
372
372
|
class: F({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
|
|
373
373
|
viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
|
|
374
374
|
style: B(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
375
375
|
}, [
|
|
376
376
|
v("defs", null, [
|
|
377
377
|
v("linearGradient", {
|
|
378
|
-
id: `hover_${
|
|
378
|
+
id: `hover_${I.value}`,
|
|
379
379
|
x1: "0%",
|
|
380
380
|
y1: "0%",
|
|
381
381
|
x2: "0%",
|
|
@@ -384,30 +384,30 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
384
384
|
v("stop", {
|
|
385
385
|
offset: "0%",
|
|
386
386
|
"stop-color": `${e.value.style.chart.backgroundColor}${c(re)[e.value.style.chart.layout.highlighter.opacity]}`
|
|
387
|
-
}, null, 8,
|
|
387
|
+
}, null, 8, bt),
|
|
388
388
|
v("stop", {
|
|
389
389
|
offset: "100%",
|
|
390
390
|
"stop-color": `${e.value.style.chart.layout.highlighter.color}${c(re)[e.value.style.chart.layout.highlighter.opacity]}`
|
|
391
|
-
}, null, 8,
|
|
392
|
-
], 8,
|
|
391
|
+
}, null, 8, xt)
|
|
392
|
+
], 8, gt),
|
|
393
393
|
v("radialGradient", {
|
|
394
|
-
id: `focus_${
|
|
394
|
+
id: `focus_${I.value}`
|
|
395
395
|
}, [
|
|
396
396
|
v("stop", {
|
|
397
397
|
offset: "0%",
|
|
398
398
|
"stop-color": `${c(oe)(e.value.style.chart.backgroundColor)}00`
|
|
399
|
-
}, null, 8,
|
|
399
|
+
}, null, 8, pt),
|
|
400
400
|
v("stop", {
|
|
401
401
|
offset: "77%",
|
|
402
402
|
"stop-color": "#FFFFFF" + c(re)[30]
|
|
403
|
-
}, null, 8,
|
|
403
|
+
}, null, 8, kt),
|
|
404
404
|
v("stop", {
|
|
405
405
|
offset: "100%",
|
|
406
406
|
"stop-color": `${c(oe)(e.value.style.chart.backgroundColor)}00`
|
|
407
|
-
}, null, 8,
|
|
408
|
-
], 8,
|
|
407
|
+
}, null, 8, _t)
|
|
408
|
+
], 8, mt)
|
|
409
409
|
]),
|
|
410
|
-
e.value.style.chart.layout.grid.show ? (a(), u("g",
|
|
410
|
+
e.value.style.chart.layout.grid.show ? (a(), u("g", Ct, [
|
|
411
411
|
v("line", {
|
|
412
412
|
x1: s.value.left,
|
|
413
413
|
x2: s.value.left,
|
|
@@ -416,7 +416,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
416
416
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
417
417
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
418
418
|
"stroke-linecap": "round"
|
|
419
|
-
}, null, 8,
|
|
419
|
+
}, null, 8, wt),
|
|
420
420
|
v("line", {
|
|
421
421
|
x1: s.value.left,
|
|
422
422
|
x2: r.value.absoluteWidth - s.value.right,
|
|
@@ -425,8 +425,8 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
425
425
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
426
426
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
427
427
|
"stroke-linecap": "round"
|
|
428
|
-
}, null, 8,
|
|
429
|
-
e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g",
|
|
428
|
+
}, null, 8, Lt),
|
|
429
|
+
e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g", $t, [
|
|
430
430
|
(a(!0), u(m, null, p(h.value.end - h.value.start, (t, n) => (a(), u("line", {
|
|
431
431
|
x1: s.value.left + (n + 1) * C.value,
|
|
432
432
|
x2: s.value.left + (n + 1) * C.value,
|
|
@@ -435,7 +435,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
435
435
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
436
436
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
437
437
|
"stroke-linecap": "round"
|
|
438
|
-
}, null, 8,
|
|
438
|
+
}, null, 8, St))), 256))
|
|
439
439
|
])) : d("", !0)
|
|
440
440
|
])) : d("", !0),
|
|
441
441
|
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), u("g", {
|
|
@@ -443,7 +443,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
443
443
|
class: F({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value })
|
|
444
444
|
}, [
|
|
445
445
|
(a(!0), u(m, null, p(He.value, (t, n) => (a(), u("g", null, [
|
|
446
|
-
t.value >=
|
|
446
|
+
t.value >= E.value.min && t.value <= E.value.max ? (a(), u("line", {
|
|
447
447
|
key: 0,
|
|
448
448
|
x1: s.value.left,
|
|
449
449
|
x2: s.value.left - 5,
|
|
@@ -451,8 +451,8 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
451
451
|
y2: t.y,
|
|
452
452
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
453
453
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
454
|
-
}, null, 8,
|
|
455
|
-
t.value >=
|
|
454
|
+
}, null, 8, At)) : d("", !0),
|
|
455
|
+
t.value >= E.value.min && t.value <= E.value.max ? (a(), u("text", {
|
|
456
456
|
key: 1,
|
|
457
457
|
x: s.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
|
|
458
458
|
y: t.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
|
|
@@ -460,7 +460,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
460
460
|
"text-anchor": "end",
|
|
461
461
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
462
462
|
"font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
463
|
-
}, b(c(
|
|
463
|
+
}, b(c(lt)(t.value) ? c(ne)(
|
|
464
464
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
465
465
|
t.value,
|
|
466
466
|
c(K)({
|
|
@@ -470,7 +470,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
470
470
|
r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
471
471
|
}),
|
|
472
472
|
{ datapoint: t, seriesIndex: n }
|
|
473
|
-
) : ""), 9,
|
|
473
|
+
) : ""), 9, Nt)) : d("", !0)
|
|
474
474
|
]))), 256))
|
|
475
475
|
], 2)) : d("", !0),
|
|
476
476
|
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), u("g", {
|
|
@@ -484,7 +484,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
484
484
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
485
485
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
486
486
|
transform: `translate(${s.value.left + C.value * n + C.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + r.value.absoluteHeight - s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
487
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9,
|
|
487
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9, zt)) : d("", !0)
|
|
488
488
|
]))), 256))
|
|
489
489
|
], 2)) : d("", !0),
|
|
490
490
|
(a(!0), u(m, null, p(_.value, (t, n) => (a(), u("g", null, [
|
|
@@ -499,22 +499,22 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
499
499
|
"stroke-width": e.value.style.chart.layout.line.strokeWidth,
|
|
500
500
|
"stroke-linecap": "round",
|
|
501
501
|
"stroke-linejoin": "round"
|
|
502
|
-
}, null, 10,
|
|
503
|
-
t.subtotal !== null ? (a(), u("g",
|
|
502
|
+
}, null, 10, Ft)) : d("", !0),
|
|
503
|
+
t.subtotal !== null ? (a(), u("g", Pt, [
|
|
504
504
|
t.subtotal ? (a(), u("circle", {
|
|
505
505
|
key: 0,
|
|
506
506
|
cx: t.x,
|
|
507
507
|
cy: t.y,
|
|
508
508
|
r: t.activeRadius,
|
|
509
509
|
fill: e.value.style.chart.backgroundColor
|
|
510
|
-
}, null, 8,
|
|
510
|
+
}, null, 8, Dt)) : d("", !0)
|
|
511
511
|
])) : d("", !0)
|
|
512
512
|
]))), 256)),
|
|
513
513
|
(a(!0), u(m, null, p(_.value, (t, n) => (a(), u("g", {
|
|
514
514
|
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
|
|
515
515
|
}, [
|
|
516
|
-
t.subtotal ? (a(), u("g",
|
|
517
|
-
g.value !== null && g.value === n ? (a(), u("g",
|
|
516
|
+
t.subtotal ? (a(), u("g", Tt, [
|
|
517
|
+
g.value !== null && g.value === n ? (a(), u("g", It, [
|
|
518
518
|
(a(!0), u(m, null, p(t.donutHover, (o) => (a(), u("g", null, [
|
|
519
519
|
v("path", {
|
|
520
520
|
d: c(Ne)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: t.x, y: t.y }, !0),
|
|
@@ -534,7 +534,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
534
534
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
535
535
|
"font-size": 8,
|
|
536
536
|
"font-weight": "bold"
|
|
537
|
-
}, b(o.name) + ": " + b(be(o, t.donut)) + " (" + b(o.value === null ? "-" : G(o.value, o, f)) + ") ", 9,
|
|
537
|
+
}, b(o.name) + ": " + b(be(o, t.donut)) + " (" + b(o.value === null ? "-" : G(o.value, o, f)) + ") ", 9, Ot)
|
|
538
538
|
]))), 256)),
|
|
539
539
|
v("g", null, [
|
|
540
540
|
v("circle", {
|
|
@@ -542,7 +542,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
542
542
|
cy: t.y,
|
|
543
543
|
r: t.hoverRadius,
|
|
544
544
|
fill: e.value.style.chart.backgroundColor
|
|
545
|
-
}, null, 8,
|
|
545
|
+
}, null, 8, Vt)
|
|
546
546
|
])
|
|
547
547
|
])) : d("", !0)
|
|
548
548
|
])) : d("", !0)
|
|
@@ -550,27 +550,27 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
550
550
|
(a(!0), u(m, null, p(_.value, (t, n) => (a(), u("g", {
|
|
551
551
|
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
|
|
552
552
|
}, [
|
|
553
|
-
t.subtotal !== null ? (a(), u("g",
|
|
553
|
+
t.subtotal !== null ? (a(), u("g", Ht, [
|
|
554
554
|
t.subtotal === 0 ? (a(), u("circle", {
|
|
555
555
|
key: 0,
|
|
556
556
|
cx: t.x,
|
|
557
557
|
cy: t.y,
|
|
558
558
|
r: 3,
|
|
559
559
|
fill: e.value.style.chart.color
|
|
560
|
-
}, null, 8,
|
|
560
|
+
}, null, 8, Mt)) : g.value !== null && g.value === n ? (a(), u("g", Wt, [
|
|
561
561
|
(a(!0), u(m, null, p(t.donutHover, (o, f) => (a(), u("path", {
|
|
562
562
|
d: o.arcSlice,
|
|
563
563
|
fill: `${o.color}`,
|
|
564
564
|
"stroke-width": 1,
|
|
565
565
|
stroke: e.value.style.chart.backgroundColor
|
|
566
|
-
}, null, 8,
|
|
567
|
-
])) : (a(), u("g",
|
|
566
|
+
}, null, 8, Rt))), 256))
|
|
567
|
+
])) : (a(), u("g", Ut, [
|
|
568
568
|
(a(!0), u(m, null, p(t.donut, (o, f) => (a(), u("path", {
|
|
569
569
|
d: o.arcSlice,
|
|
570
570
|
fill: `${o.color}`,
|
|
571
571
|
"stroke-width": 0.5,
|
|
572
572
|
stroke: e.value.style.chart.backgroundColor
|
|
573
|
-
}, null, 8,
|
|
573
|
+
}, null, 8, Xt))), 256))
|
|
574
574
|
]))
|
|
575
575
|
])) : d("", !0)
|
|
576
576
|
], 2))), 256)),
|
|
@@ -585,17 +585,17 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
585
585
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
586
586
|
"font-weight": "bold",
|
|
587
587
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
588
|
-
}, b(G(t.subtotal, t, n)), 9,
|
|
588
|
+
}, b(G(t.subtotal, t, n)), 9, Gt)) : d("", !0)
|
|
589
589
|
], 2))), 256)),
|
|
590
590
|
(a(!0), u(m, null, p(_.value, (t, n) => (a(), u("rect", {
|
|
591
591
|
x: s.value.left + n * C.value,
|
|
592
592
|
y: r.value.absoluteHeight - s.value.bottom - 10,
|
|
593
593
|
width: C.value,
|
|
594
594
|
height: 10,
|
|
595
|
-
fill: g.value === t.index ? `url(#hover_${
|
|
595
|
+
fill: g.value === t.index ? `url(#hover_${I.value})` : "transparent",
|
|
596
596
|
onClick: (o) => ee(t, n),
|
|
597
597
|
class: F({ "donut-hover": g.value === t.index && t.subtotal })
|
|
598
|
-
}, null, 10,
|
|
598
|
+
}, null, 10, Bt))), 256)),
|
|
599
599
|
(a(!0), u(m, null, p(_.value, (t, n) => (a(), u("rect", {
|
|
600
600
|
"data-cy-trap": "",
|
|
601
601
|
x: s.value.left + n * C.value,
|
|
@@ -607,8 +607,8 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
607
607
|
onMouseleave: xe,
|
|
608
608
|
onClick: (o) => ee(t, n),
|
|
609
609
|
class: F({ "donut-hover": g.value === t.index && t.subtotal })
|
|
610
|
-
}, null, 42,
|
|
611
|
-
$.value ? (a(), u("g",
|
|
610
|
+
}, null, 42, jt))), 256)),
|
|
611
|
+
$.value ? (a(), u("g", Yt, [
|
|
612
612
|
v("rect", {
|
|
613
613
|
rx: 4,
|
|
614
614
|
x: s.value.left,
|
|
@@ -617,7 +617,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
617
617
|
height: r.value.height,
|
|
618
618
|
fill: e.value.style.chart.backgroundColor,
|
|
619
619
|
style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
|
|
620
|
-
}, null, 8,
|
|
620
|
+
}, null, 8, Kt),
|
|
621
621
|
v("line", {
|
|
622
622
|
"data-html2canvas-ignore": "",
|
|
623
623
|
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
@@ -627,7 +627,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
627
627
|
"stroke-linecap": "round",
|
|
628
628
|
stroke: e.value.style.chart.color,
|
|
629
629
|
"stroke-width": "1.5"
|
|
630
|
-
}, null, 8,
|
|
630
|
+
}, null, 8, qt),
|
|
631
631
|
v("line", {
|
|
632
632
|
"data-html2canvas-ignore": "",
|
|
633
633
|
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
@@ -637,7 +637,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
637
637
|
"stroke-linecap": "round",
|
|
638
638
|
stroke: e.value.style.chart.color,
|
|
639
639
|
"stroke-width": "1.5"
|
|
640
|
-
}, null, 8,
|
|
640
|
+
}, null, 8, Jt),
|
|
641
641
|
v("circle", {
|
|
642
642
|
"data-cy-close": "",
|
|
643
643
|
onClick: me,
|
|
@@ -648,7 +648,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
648
648
|
fill: "transparent",
|
|
649
649
|
style: { cursor: "pointer" },
|
|
650
650
|
tabindex: "0"
|
|
651
|
-
}, null, 40,
|
|
651
|
+
}, null, 40, Qt),
|
|
652
652
|
(a(!0), u(m, null, p(S.value.donutFocus, (t) => (a(), u("g", null, [
|
|
653
653
|
v("path", {
|
|
654
654
|
"data-cy-zoom-donut": "",
|
|
@@ -659,22 +659,22 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
659
659
|
"stroke-linejoin": "round",
|
|
660
660
|
fill: "none",
|
|
661
661
|
class: "vue-ui-donut-evolution-focus"
|
|
662
|
-
}, null, 8,
|
|
662
|
+
}, null, 8, Zt)
|
|
663
663
|
]))), 256)),
|
|
664
664
|
v("circle", {
|
|
665
665
|
cx: s.value.left + r.value.width / 2,
|
|
666
666
|
cy: s.value.top + r.value.height / 2,
|
|
667
667
|
r: r.value.height / 7,
|
|
668
668
|
fill: e.value.style.chart.backgroundColor
|
|
669
|
-
}, null, 8,
|
|
669
|
+
}, null, 8, el),
|
|
670
670
|
(a(!0), u(m, null, p(S.value.donutFocus, (t, n) => (a(), u("path", {
|
|
671
671
|
d: t.arcSlice,
|
|
672
672
|
fill: `${t.color}`,
|
|
673
673
|
"stroke-width": 1,
|
|
674
674
|
stroke: e.value.style.chart.backgroundColor,
|
|
675
675
|
class: "vue-ui-donut-evolution-focus"
|
|
676
|
-
}, null, 8,
|
|
677
|
-
(a(!0), u(m, null, p(S.value.donutFocus, (t, n) => (a(), u("g",
|
|
676
|
+
}, null, 8, tl))), 256)),
|
|
677
|
+
(a(!0), u(m, null, p(S.value.donutFocus, (t, n) => (a(), u("g", ll, [
|
|
678
678
|
v("text", {
|
|
679
679
|
"text-anchor": c(q)(t, !0, 20).anchor,
|
|
680
680
|
x: c(q)(t, !0, 10).x,
|
|
@@ -682,20 +682,20 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
682
682
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
683
683
|
"font-size": 10,
|
|
684
684
|
"font-weight": "bold"
|
|
685
|
-
}, b(t.name) + ": " + b(be(t, S.value.donutFocus)) + " (" + b(t.value === null ? "-" : G(t.value, t, n)) + ") ", 9,
|
|
685
|
+
}, b(t.name) + ": " + b(be(t, S.value.donutFocus)) + " (" + b(t.value === null ? "-" : G(t.value, t, n)) + ") ", 9, al)
|
|
686
686
|
]))), 256)),
|
|
687
687
|
v("circle", {
|
|
688
688
|
cx: s.value.left + r.value.width / 2,
|
|
689
689
|
cy: s.value.top + r.value.height / 2,
|
|
690
690
|
r: r.value.height / 3.8,
|
|
691
|
-
fill: `url(#focus_${
|
|
692
|
-
}, null, 8,
|
|
691
|
+
fill: `url(#focus_${I.value})`
|
|
692
|
+
}, null, 8, ul),
|
|
693
693
|
v("circle", {
|
|
694
694
|
cx: s.value.left + r.value.width / 2,
|
|
695
695
|
cy: s.value.top + r.value.height / 2,
|
|
696
696
|
r: r.value.height / 7.7,
|
|
697
697
|
fill: e.value.style.chart.backgroundColor
|
|
698
|
-
}, null, 8,
|
|
698
|
+
}, null, 8, ol),
|
|
699
699
|
v("text", {
|
|
700
700
|
"text-anchor": "middle",
|
|
701
701
|
x: s.value.left + r.value.width / 2,
|
|
@@ -704,21 +704,21 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
704
704
|
"font-weight": "bold",
|
|
705
705
|
fill: e.value.style.chart.layout.dataLabels.color,
|
|
706
706
|
class: "vue-ui-donut-evolution-focus"
|
|
707
|
-
}, b(G(S.value.subtotal, S.value, l.i)), 9,
|
|
707
|
+
}, b(G(S.value.subtotal, S.value, l.i)), 9, sl),
|
|
708
708
|
e.value.style.chart.layout.grid.xAxis.dataLabels.values[S.value.index] ? (a(), u("text", {
|
|
709
709
|
key: 0,
|
|
710
710
|
x: s.value.left + 6,
|
|
711
711
|
y: s.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
712
712
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
|
|
713
713
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
714
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(S.value.index) + Number(h.value.start)]), 9,
|
|
714
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(S.value.index) + Number(h.value.start)]), 9, rl)) : d("", !0)
|
|
715
715
|
])) : d("", !0),
|
|
716
716
|
T(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
717
|
-
], 14,
|
|
718
|
-
l.$slots.watermark ? (a(), u("div",
|
|
717
|
+
], 14, ft)) : d("", !0),
|
|
718
|
+
l.$slots.watermark ? (a(), u("div", nl, [
|
|
719
719
|
T(l.$slots, "watermark", ae(ue({ isPrinting: c(he) || c(ye) })), void 0, !0)
|
|
720
720
|
])) : d("", !0),
|
|
721
|
-
U.value ? d("", !0) : (a(), R(
|
|
721
|
+
U.value ? d("", !0) : (a(), R(ct, {
|
|
722
722
|
key: 4,
|
|
723
723
|
config: {
|
|
724
724
|
type: "donutEvolution",
|
|
@@ -735,7 +735,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
}, null, 8, ["config"])),
|
|
738
|
-
M.value > 1 && e.value.style.chart.zoom.show ? (a(), R(
|
|
738
|
+
M.value > 1 && e.value.style.chart.zoom.show ? (a(), R(vt, {
|
|
739
739
|
key: `slicer_${de.value}`,
|
|
740
740
|
background: e.value.style.chart.zoom.color,
|
|
741
741
|
borderColor: e.value.style.chart.backgroundColor,
|
|
@@ -754,14 +754,14 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
754
754
|
"onUpdate:start": i[0] || (i[0] = (t) => h.value.start = t),
|
|
755
755
|
end: h.value.end,
|
|
756
756
|
"onUpdate:end": i[1] || (i[1] = (t) => h.value.end = t),
|
|
757
|
-
onReset:
|
|
757
|
+
onReset: Ee
|
|
758
758
|
}, {
|
|
759
759
|
"reset-action": P(({ reset: t }) => [
|
|
760
760
|
T(l.$slots, "reset-action", ae(ue({ reset: t })), void 0, !0)
|
|
761
761
|
]),
|
|
762
762
|
_: 3
|
|
763
763
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : d("", !0),
|
|
764
|
-
e.value.style.chart.legend.show ? (a(), R(
|
|
764
|
+
e.value.style.chart.legend.show ? (a(), R(it, {
|
|
765
765
|
key: 6,
|
|
766
766
|
legendSet: pe.value,
|
|
767
767
|
config: We.value,
|
|
@@ -784,17 +784,17 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
784
784
|
}),
|
|
785
785
|
{ datapoint: t, seriesIndex: n }
|
|
786
786
|
)) + " ", 1),
|
|
787
|
-
k.value.includes(t.uid) ? (a(), u("span",
|
|
787
|
+
k.value.includes(t.uid) ? (a(), u("span", vl, " ( - % ) ")) : (a(), u("span", cl, " (" + b(isNaN(t.value / ke.value) ? "-" : c(K)({
|
|
788
788
|
v: t.value / ke.value * 100,
|
|
789
789
|
s: "%",
|
|
790
790
|
r: e.value.style.chart.legend.roundingPercentage
|
|
791
791
|
})) + ") ", 1))
|
|
792
|
-
], 12,
|
|
792
|
+
], 12, il)
|
|
793
793
|
]),
|
|
794
794
|
_: 1
|
|
795
795
|
}, 8, ["legendSet", "config"])) : d("", !0),
|
|
796
796
|
T(l.$slots, "legend", { legend: pe.value }, void 0, !0),
|
|
797
|
-
U.value ? (a(), R(
|
|
797
|
+
U.value ? (a(), R(dt, {
|
|
798
798
|
key: 7,
|
|
799
799
|
hideDetails: "",
|
|
800
800
|
config: {
|
|
@@ -811,7 +811,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
811
811
|
}
|
|
812
812
|
}, {
|
|
813
813
|
content: P(() => [
|
|
814
|
-
Le(
|
|
814
|
+
Le(nt, {
|
|
815
815
|
colNames: O.value.colNames,
|
|
816
816
|
head: O.value.head,
|
|
817
817
|
body: O.value.body,
|
|
@@ -823,7 +823,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
823
823
|
$e(b(t.name ?? t), 1)
|
|
824
824
|
]),
|
|
825
825
|
td: P(({ td: t }) => [
|
|
826
|
-
t.value === null ? (a(), u("span",
|
|
826
|
+
t.value === null ? (a(), u("span", dl, "-")) : (a(), u("b", hl, b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + b(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
827
827
|
v("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
828
828
|
]),
|
|
829
829
|
_: 1
|
|
@@ -831,9 +831,9 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
831
831
|
]),
|
|
832
832
|
_: 1
|
|
833
833
|
}, 8, ["config"])) : d("", !0)
|
|
834
|
-
], 14,
|
|
834
|
+
], 14, yt));
|
|
835
835
|
}
|
|
836
|
-
},
|
|
836
|
+
}, $l = /* @__PURE__ */ ht(yl, [["__scopeId", "data-v-29ce04eb"]]);
|
|
837
837
|
export {
|
|
838
|
-
|
|
838
|
+
$l as default
|
|
839
839
|
};
|