vue-data-ui 2.4.42 → 2.4.44
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 +34 -34
- package/dist/{Arrow-DTscDttD.cjs → Arrow-D7FfpPjv.cjs} +1 -1
- package/dist/{Arrow-DE71uBJZ.js → Arrow-DabU4Tq7.js} +1 -1
- package/dist/{BaseIcon-C8XxmpRq.js → BaseIcon-DgOZGFA6.js} +1 -1
- package/dist/{BaseIcon-COOfxsl_.cjs → BaseIcon-vmPfwVXS.cjs} +1 -1
- package/dist/{DataTable-D_w08xos.js → DataTable-ByILXTgq.js} +2 -2
- package/dist/{DataTable-DEdQvqB1.cjs → DataTable-WzoXT7XP.cjs} +1 -1
- package/dist/{Legend-BWDoQii_.js → Legend-CJAbBncx.js} +1 -1
- package/dist/{Legend-C4rlR-Ge.cjs → Legend-eRHr8IFu.cjs} +1 -1
- package/dist/{PackageVersion-CH6MCx6T.js → PackageVersion-2fR7Awu1.js} +1 -1
- package/dist/{PackageVersion-DKyD7D76.cjs → PackageVersion-DylCZJMA.cjs} +1 -1
- package/dist/{PenAndPaper-Dc2zn4C0.cjs → PenAndPaper-2aIJsXNH.cjs} +1 -1
- package/dist/{PenAndPaper-BWTR3U2d.js → PenAndPaper-wVL9QD9U.js} +3 -3
- package/dist/{Shape-xrlfL_v4.js → Shape-JMJZs7By.js} +1 -1
- package/dist/{Shape-BLS-KzBD.cjs → Shape-nGoGILeB.cjs} +1 -1
- package/dist/{Slicer-8gKX0l4Q.cjs → Slicer-BLuFaL8r.cjs} +1 -1
- package/dist/{Slicer-DIYseEL1.js → Slicer-Ce0VzdTY.js} +2 -2
- package/dist/{Title-B-xkTfi8.cjs → Title-CtfsoH8U.cjs} +1 -1
- package/dist/{Title-Cnl9ySNH.js → Title-Dj5wajqV.js} +1 -1
- package/dist/{Tooltip-Brbj6DqX.cjs → Tooltip-6D9aABEX.cjs} +1 -1
- package/dist/{Tooltip-DEAOBZ8h.js → Tooltip-Zrcwpy3T.js} +6 -6
- package/dist/documentation/installation.md +34 -34
- package/dist/{index-DnukYspq.js → index-D3_dyp9t.js} +4 -2
- package/dist/index-ZAR4YEAn.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -0
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useNestedProp-es9bVqY_.cjs → useNestedProp-C8Y0yWDq.cjs} +1 -1
- package/dist/{useNestedProp-CVOQGx-X.js → useNestedProp-qwG6HgrL.js} +1 -1
- package/dist/{usePrinter-DVIALk5e.js → usePrinter-41NUZdgl.js} +1 -1
- package/dist/{usePrinter-C9yUesCc.cjs → usePrinter-Cw4E_LYe.cjs} +1 -1
- package/dist/{vue-data-ui-BmmjmNbb.js → vue-data-ui-CKlgRX2w.js} +60 -60
- package/dist/{vue-data-ui-LA94HAVo.cjs → vue-data-ui-DPujYnT2.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DYswbvC_.cjs → vue-ui-3d-bar-CURLeBAg.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-CnVJAgFO.js → vue-ui-3d-bar-DFqYSjKF.js} +9 -9
- package/dist/{vue-ui-accordion-f9NTID9e.js → vue-ui-accordion-DbKFz7vP.js} +3 -3
- package/dist/{vue-ui-accordion-D_K9gNUR.cjs → vue-ui-accordion-zOz2K8wY.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Bj9K08ws.cjs → vue-ui-age-pyramid-BzwQxubx.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CL0RB7mU.js → vue-ui-age-pyramid-DVjZHG-c.js} +10 -10
- package/dist/{vue-ui-annotator-DhwUZ4WB.cjs → vue-ui-annotator-CU8bDkP0.cjs} +1 -1
- package/dist/{vue-ui-annotator-C82vEb7R.js → vue-ui-annotator-ZDqHg-kV.js} +1 -1
- package/dist/{vue-ui-bullet-BxYYiFnu.js → vue-ui-bullet-BaQJ3acV.js} +8 -8
- package/dist/{vue-ui-bullet-D6KC5yoe.cjs → vue-ui-bullet-Dt0Ki37L.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Duf3yfwR.js → vue-ui-candlestick-C5Pzu7U1.js} +11 -11
- package/dist/{vue-ui-candlestick-lunuQ9Ka.cjs → vue-ui-candlestick-CMubhqre.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-4z9ZACSk.cjs → vue-ui-carousel-table-CL6njZH4.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DQymYeK0.js → vue-ui-carousel-table-CPE1nggj.js} +4 -4
- package/dist/{vue-ui-chestnut-DDNLUSav.js → vue-ui-chestnut-B7zSDFfA.js} +8 -8
- package/dist/{vue-ui-chestnut-iRODkXaw.cjs → vue-ui-chestnut-DHF2jlte.cjs} +1 -1
- package/dist/{vue-ui-cursor-Bdud_Fxg.js → vue-ui-cursor-GKguDqwJ.js} +2 -2
- package/dist/{vue-ui-cursor-Bt_SieMc.cjs → vue-ui-cursor-PG2njvGA.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BzRR9Ra7.cjs → vue-ui-dashboard-D2w_aK31.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CeVkJPeG.js → vue-ui-dashboard-u_haUFHY.js} +2 -2
- package/dist/{vue-ui-digits-DF3oLaaR.cjs → vue-ui-digits-DQetGFnZ.cjs} +1 -1
- package/dist/{vue-ui-digits-DtNvb8lM.js → vue-ui-digits-DjMZxTuZ.js} +2 -2
- package/dist/{vue-ui-donut-C028OlzU.js → vue-ui-donut-CmRH-JB2.js} +243 -243
- package/dist/vue-ui-donut-DQcISN6U.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-2vQPsBFq.cjs → vue-ui-donut-evolution-XrPuyr-U.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CprYApXF.js → vue-ui-donut-evolution-YntzBUIL.js} +11 -11
- package/dist/{vue-ui-dumbbell-CS8pY-mj.cjs → vue-ui-dumbbell-CCwYiUwP.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-BV2LN5qt.js → vue-ui-dumbbell-DmgUkc9m.js} +10 -10
- package/dist/{vue-ui-flow-QRimZUXT.js → vue-ui-flow-CZkXzt4D.js} +9 -9
- package/dist/{vue-ui-flow-iNWWhp7U.cjs → vue-ui-flow-Ca2cA45D.cjs} +1 -1
- package/dist/{vue-ui-funnel-BL8vtmsw.cjs → vue-ui-funnel-CJAT8_1R.cjs} +1 -1
- package/dist/{vue-ui-funnel-CBymVSdd.js → vue-ui-funnel-z2OgL3Q1.js} +8 -8
- package/dist/{vue-ui-galaxy-KP3A9HVX.js → vue-ui-galaxy-CGhDJ3tA.js} +11 -11
- package/dist/{vue-ui-galaxy-DSJrMBzj.cjs → vue-ui-galaxy-bgA3s7VZ.cjs} +1 -1
- package/dist/{vue-ui-gauge-H9j8Dq5h.cjs → vue-ui-gauge-F-bvIFfG.cjs} +1 -1
- package/dist/{vue-ui-gauge-BuU0DDG0.js → vue-ui-gauge-NtnSEvX5.js} +7 -7
- package/dist/{vue-ui-gizmo-M7RalwJ6.js → vue-ui-gizmo-Bq56LDKo.js} +3 -3
- package/dist/{vue-ui-gizmo-Bl9JoMk1.cjs → vue-ui-gizmo-DBIefin8.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BXWWh4iN.cjs → vue-ui-heatmap-C0NUwPN7.cjs} +1 -1
- package/dist/{vue-ui-heatmap-DSkfyl8j.js → vue-ui-heatmap-Dbrlismo.js} +10 -10
- package/dist/{vue-ui-history-plot-CYSDr-GH.js → vue-ui-history-plot-CMAu0w0K.js} +11 -11
- package/dist/{vue-ui-history-plot-BUoUHKx6.cjs → vue-ui-history-plot-Cd0Qgkox.cjs} +1 -1
- package/dist/{vue-ui-kpi-BXe7HQIh.cjs → vue-ui-kpi-C1a3ONse.cjs} +1 -1
- package/dist/{vue-ui-kpi-BvUaC7JA.js → vue-ui-kpi-CkRUVNcg.js} +3 -3
- package/dist/{vue-ui-mini-loader-DM8ShcKo.js → vue-ui-mini-loader-BVvBbruK.js} +2 -2
- package/dist/{vue-ui-mini-loader-zbjxzJTp.cjs → vue-ui-mini-loader-DZ1q-GO6.cjs} +1 -1
- package/dist/{vue-ui-molecule-BdIRpOM9.cjs → vue-ui-molecule-C-tmrnHA.cjs} +1 -1
- package/dist/{vue-ui-molecule-CZi84tUl.js → vue-ui-molecule-DlXNe42L.js} +11 -11
- package/dist/{vue-ui-mood-radar-DipV_UPN.cjs → vue-ui-mood-radar-DYXE1dDD.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DDnbuNdv.js → vue-ui-mood-radar-DzHvFqno.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DuxVLzDH.cjs → vue-ui-nested-donuts-BpcKwKFO.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-Chuuvtu-.js → vue-ui-nested-donuts-DDpYr89I.js} +11 -11
- package/dist/{vue-ui-onion-CIRGvycb.js → vue-ui-onion-B9CAGc1E.js} +11 -11
- package/dist/{vue-ui-onion-CvlwZgpu.cjs → vue-ui-onion-_WXwSygI.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-jv7L5_x8.js → vue-ui-parallel-coordinate-plot-CdvYxx2S.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-eJMnJ_u2.cjs → vue-ui-parallel-coordinate-plot-DL5vZwuT.cjs} +1 -1
- package/dist/{vue-ui-quadrant-CjjXU43-.js → vue-ui-quadrant-CILC-e-o.js} +12 -12
- package/dist/{vue-ui-quadrant-ks_4yK85.cjs → vue-ui-quadrant-ivKVYVXn.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-Br2gTOPk.cjs → vue-ui-quick-chart-DW3XlvkG.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BAVQ2SJ2.js → vue-ui-quick-chart-NIE0zUjt.js} +9 -9
- package/dist/{vue-ui-radar-CXXAYowO.js → vue-ui-radar-BonXp2ML.js} +12 -12
- package/dist/{vue-ui-radar-kjh9y4cm.cjs → vue-ui-radar-D9WtkmKW.cjs} +1 -1
- package/dist/{vue-ui-rating-EEIqiBgY.cjs → vue-ui-rating-3akEkZ0G.cjs} +1 -1
- package/dist/{vue-ui-rating-DOqMciYJ.js → vue-ui-rating-DblWs0Ay.js} +2 -2
- package/dist/{vue-ui-relation-circle-CR3iWQV_.js → vue-ui-relation-circle-BaPqJcbF.js} +7 -7
- package/dist/{vue-ui-relation-circle-BEv568py.cjs → vue-ui-relation-circle-Bv5QA1FA.cjs} +1 -1
- package/dist/{vue-ui-rings-B--CFaNX.js → vue-ui-rings-DHa-dc3s.js} +11 -11
- package/dist/{vue-ui-rings-CgvWaw5N.cjs → vue-ui-rings-KRi0yCa1.cjs} +1 -1
- package/dist/{vue-ui-scatter-ChWlgb1L.cjs → vue-ui-scatter-C-0G6tO_.cjs} +1 -1
- package/dist/{vue-ui-scatter-C-RD4h73.js → vue-ui-scatter-CKnKyeDJ.js} +12 -12
- package/dist/{vue-ui-screenshot-CtjCOun0.cjs → vue-ui-screenshot-BIvS3Dva.cjs} +1 -1
- package/dist/{vue-ui-screenshot-C6-MOj7h.js → vue-ui-screenshot-BnQlv1n0.js} +1 -1
- package/dist/{vue-ui-skeleton-CXdyOF4T.js → vue-ui-skeleton-CaV7JuCg.js} +3 -3
- package/dist/{vue-ui-skeleton-DGCkWrND.cjs → vue-ui-skeleton-urNi7er0.cjs} +1 -1
- package/dist/{vue-ui-smiley-AYBZK1EE.cjs → vue-ui-smiley-BDJWFNUb.cjs} +1 -1
- package/dist/{vue-ui-smiley-CHXnJeLu.js → vue-ui-smiley-BkKHZRcE.js} +2 -2
- package/dist/{vue-ui-spark-trend-DO5rDGRm.js → vue-ui-spark-trend-C6B6URVX.js} +5 -5
- package/dist/{vue-ui-spark-trend-D2wIBOvT.cjs → vue-ui-spark-trend-Jrg-tgH_.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-COUcdDjn.cjs → vue-ui-sparkbar-CcPXRX01.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CU3UNgHm.js → vue-ui-sparkbar-D7A9EKVi.js} +4 -4
- package/dist/{vue-ui-sparkgauge-0810df6b.js → vue-ui-sparkgauge-C1kcwrm9.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DrJzwEAh.cjs → vue-ui-sparkgauge-ZQOdaaF1.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-j7MGEYYJ.cjs → vue-ui-sparkhistogram-CZQzNQHQ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CENPsEeO.js → vue-ui-sparkhistogram-DkMaK9FC.js} +5 -5
- package/dist/{vue-ui-sparkline-CXMea9Ki.cjs → vue-ui-sparkline-DuJlR_56.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BOYreaxT.js → vue-ui-sparkline-JNv27Q7M.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-JvKmnoEy.js → vue-ui-sparkstackbar-4YKk6S2y.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BJIo5y1n.cjs → vue-ui-sparkstackbar-BStYMSiJ.cjs} +1 -1
- package/dist/vue-ui-stackbar-BKhScZJ4.cjs +6 -0
- package/dist/vue-ui-stackbar-BrBToOgd.js +1026 -0
- package/dist/{vue-ui-strip-plot-8MxOeTM_.js → vue-ui-strip-plot-BB9AjuXc.js} +11 -11
- package/dist/{vue-ui-strip-plot-CmIS1Osx.cjs → vue-ui-strip-plot-BSbIVJLB.cjs} +1 -1
- package/dist/{vue-ui-table-CS-NSZjj.js → vue-ui-table-BkfBNufP.js} +1 -1
- package/dist/{vue-ui-table-hVmeT8wY.cjs → vue-ui-table-CTwEo09l.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-k9e_RrhC.cjs → vue-ui-table-heatmap-BRa-idSR.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CGHYZFJy.js → vue-ui-table-heatmap-t6NXIulS.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CRnJVQmO.js → vue-ui-table-sparkline-CtVdHOeS.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DiMZ_mh6.cjs → vue-ui-table-sparkline-LRvAe8DG.cjs} +1 -1
- package/dist/{vue-ui-thermometer-43jmlgFC.cjs → vue-ui-thermometer-Bkj9olK0.cjs} +1 -1
- package/dist/{vue-ui-thermometer-D2BUcsvF.js → vue-ui-thermometer-Dqy_A9Ka.js} +7 -7
- package/dist/{vue-ui-timer-Dc6zOjxq.js → vue-ui-timer-BkWR-FS3.js} +5 -5
- package/dist/{vue-ui-timer-BO9Ipy0W.cjs → vue-ui-timer-C2WYUfS1.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CMUTe1vY.cjs → vue-ui-tiremarks-BXumbUyZ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-ejt0fqPg.js → vue-ui-tiremarks-Dl881FpL.js} +7 -7
- package/dist/{vue-ui-treemap-DqSHqaJK.cjs → vue-ui-treemap-CvNWsOoE.cjs} +1 -1
- package/dist/{vue-ui-treemap-DD8tFk9R.js → vue-ui-treemap-Vl47y-4n.js} +11 -11
- package/dist/{vue-ui-vertical-bar-CxydSPHF.js → vue-ui-vertical-bar-BzkqxE45.js} +11 -11
- package/dist/{vue-ui-vertical-bar-D4dYglan.cjs → vue-ui-vertical-bar-D1EoKlII.cjs} +1 -1
- package/dist/{vue-ui-waffle-DYdcFM17.js → vue-ui-waffle-Bd4Wn4LE.js} +11 -11
- package/dist/{vue-ui-waffle-CHWAepdl.cjs → vue-ui-waffle-C6cN0uw8.cjs} +1 -1
- package/dist/{vue-ui-wheel-CxtgGGpt.js → vue-ui-wheel-D1SsLAru.js} +7 -7
- package/dist/{vue-ui-wheel-_ynSyF3l.cjs → vue-ui-wheel-OGoTipOg.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-B0AhPT0k.js → vue-ui-word-cloud-C6vq-XKZ.js} +10 -10
- package/dist/{vue-ui-word-cloud-Ct16Xxaw.cjs → vue-ui-word-cloud-Da4dHp_U.cjs} +1 -1
- package/dist/{vue-ui-xy-B3346TfB.js → vue-ui-xy-Bbih4XkZ.js} +847 -805
- package/dist/vue-ui-xy-DXLSyett.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-W7YGqG7f.js → vue-ui-xy-canvas-Dtv9a_jF.js} +11 -11
- package/dist/{vue-ui-xy-canvas-DtPqmu7B.cjs → vue-ui-xy-canvas-GffgFKCU.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-B68kzBN9.cjs +0 -9
- package/dist/vue-ui-donut-o09QqVJO.cjs +0 -1
- package/dist/vue-ui-stackbar-BOAmp-no.cjs +0 -6
- package/dist/vue-ui-stackbar-C3-hx7VM.js +0 -960
- package/dist/vue-ui-xy-DHYbKvBg.cjs +0 -3
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { computed 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
|
-
import { P as
|
|
14
|
-
import { _ as
|
|
15
|
-
const
|
|
1
|
+
import { computed as m, ref as d, onMounted as lt, onBeforeUnmount as at, watch as Me, openBlock as o, createElementBlock as s, normalizeClass as ce, normalizeStyle as Y, createBlock as G, createCommentVNode as i, renderSlot as w, unref as n, createSlots as ot, withCtx as $, normalizeProps as E, guardReactiveProps as W, createVNode as Ve, createElementVNode as h, Fragment as k, renderList as X, toDisplayString as x, createTextVNode as Ge, nextTick as ut, pushScopeId as st, popScopeId as nt } from "vue";
|
|
2
|
+
import { u as rt, o as it, e as je, g as vt, c as ct, b as dt, d as He, p as j, m as ht, H as yt, f as F, X as ft, s as ee, w as pt, j as gt, I as L, i as A, k as b, n as te, t as bt, a as mt, x as wt, q as kt, r as _t } from "./index-D3_dyp9t.js";
|
|
3
|
+
import { t as xt, u as Ct } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as $t } from "./Title-Dj5wajqV.js";
|
|
5
|
+
import { u as Pt, U as St } from "./usePrinter-41NUZdgl.js";
|
|
6
|
+
import { D as Ft } from "./DataTable-ByILXTgq.js";
|
|
7
|
+
import { _ as Lt } from "./Tooltip-Zrcwpy3T.js";
|
|
8
|
+
import { L as Tt } from "./Legend-CJAbBncx.js";
|
|
9
|
+
import zt from "./vue-ui-skeleton-CaV7JuCg.js";
|
|
10
|
+
import Yt from "./vue-ui-accordion-DbKFz7vP.js";
|
|
11
|
+
import { u as Re } from "./useNestedProp-qwG6HgrL.js";
|
|
12
|
+
import { _ as At } from "./PackageVersion-2fR7Awu1.js";
|
|
13
|
+
import { P as Nt } from "./PenAndPaper-wVL9QD9U.js";
|
|
14
|
+
import { _ as Ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const Xt = (q) => (st("data-v-e317c02f"), q = q(), nt(), q), It = ["id"], Dt = ["xmlns", "viewBox"], Bt = { key: 0 }, Mt = ["id"], Vt = ["stop-color"], Gt = ["offset", "stop-color"], jt = ["offset", "stop-color"], Ht = ["stop-color"], Rt = { key: 1 }, Ut = ["id", "cx", "cy"], Et = ["stop-color", "stop-opacity"], Wt = ["stop-color"], qt = ["id"], Jt = ["id"], Kt = /* @__PURE__ */ Xt(() => /* @__PURE__ */ h("feColorMatrix", {
|
|
16
16
|
type: "saturate",
|
|
17
17
|
values: "0"
|
|
18
|
-
}, null, -1)),
|
|
18
|
+
}, null, -1)), Qt = ["id"], Zt = ["flood-color"], el = ["id"], tl = ["flood-color"], ll = ["d", "stroke", "filter"], al = ["x1", "y1", "x2", "y2", "stroke", "filter"], ol = ["cx", "cy", "r", "fill", "filter"], ul = ["stroke", "d"], sl = ["d", "fill", "stroke", "stroke-width", "filter"], nl = { key: 0 }, rl = ["stroke", "d"], il = { key: 0 }, vl = ["d", "stroke", "stroke-width", "filter"], cl = ["d", "fill", "stroke", "stroke-width", "filter"], dl = { key: 1 }, hl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], yl = ["cx", "cy", "r", "stroke"], fl = ["cx", "cy", "r", "fill"], pl = { key: 0 }, gl = ["d", "fill", "onMouseenter", "onClick"], bl = { key: 1 }, ml = ["cx", "cy", "r", "fill"], wl = ["x", "y", "fill", "font-size"], kl = ["x", "y", "fill", "font-size"], _l = ["x", "y", "fill", "font-size"], xl = ["x", "y", "fill", "font-size"], Cl = ["filter"], $l = { key: 0 }, Pl = ["x", "y"], Sl = { key: 1 }, Fl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ll = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Tl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], zl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Yl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Al = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Nl = { key: 2 }, Ol = ["x", "y", "width"], Xl = ["x", "y", "width"], Il = {
|
|
19
19
|
key: 5,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
21
|
+
}, Dl = ["onClick"], Bl = {
|
|
22
22
|
key: 0,
|
|
23
23
|
style: { "font-variant-numeric": "tabular-nums" }
|
|
24
|
-
},
|
|
24
|
+
}, Ml = { key: 1 }, Vl = ["innerHTML"], Gl = {
|
|
25
25
|
__name: "vue-ui-donut",
|
|
26
26
|
props: {
|
|
27
27
|
config: {
|
|
@@ -38,8 +38,8 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
emits: ["selectLegend", "selectDatapoint"],
|
|
41
|
-
setup(q, { expose:
|
|
42
|
-
const N = q, { vue_ui_donut:
|
|
41
|
+
setup(q, { expose: Ue, emit: de }) {
|
|
42
|
+
const N = q, { vue_ui_donut: Ee } = rt(), J = m({
|
|
43
43
|
get() {
|
|
44
44
|
return !!N.dataset && N.dataset.length;
|
|
45
45
|
},
|
|
@@ -47,21 +47,21 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
47
47
|
return l;
|
|
48
48
|
}
|
|
49
49
|
}), H = d(null), he = d(null), ye = d(null), le = d(null), fe = d(null), pe = d(null), ge = d(0), be = d(0), me = d(0);
|
|
50
|
-
|
|
50
|
+
lt(() => {
|
|
51
51
|
we();
|
|
52
|
-
}),
|
|
52
|
+
}), at(() => {
|
|
53
53
|
le.value && le.value.disconnect();
|
|
54
54
|
});
|
|
55
55
|
function we() {
|
|
56
|
-
if (
|
|
56
|
+
if (it(N.dataset) ? je({
|
|
57
57
|
componentName: "VueUiDonut",
|
|
58
58
|
type: "dataset"
|
|
59
59
|
}) : N.dataset.forEach((l, r) => {
|
|
60
|
-
|
|
60
|
+
vt({
|
|
61
61
|
datasetObject: l,
|
|
62
62
|
requiredAttributes: ["name", "values"]
|
|
63
63
|
}).forEach((t) => {
|
|
64
|
-
J.value = !1,
|
|
64
|
+
J.value = !1, je({
|
|
65
65
|
componentName: "VueUiDonut",
|
|
66
66
|
type: "datasetSerieAttribute",
|
|
67
67
|
property: t,
|
|
@@ -69,8 +69,8 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
71
|
}), e.value.responsive) {
|
|
72
|
-
const l =
|
|
73
|
-
const { width: r, height: t } =
|
|
72
|
+
const l = xt(() => {
|
|
73
|
+
const { width: r, height: t } = Ct({
|
|
74
74
|
chart: H.value,
|
|
75
75
|
title: e.value.style.chart.title.text ? he.value : null,
|
|
76
76
|
legend: e.value.style.chart.legend.show ? ye.value : null,
|
|
@@ -82,31 +82,31 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
82
82
|
le.value = new ResizeObserver(l), le.value.observe(H.value.parentNode);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
const
|
|
85
|
+
const _ = d(ct()), We = d(null), ae = d(!1), se = d(""), P = d(null), ke = d(0);
|
|
86
86
|
function _e() {
|
|
87
|
-
const l =
|
|
87
|
+
const l = Re({
|
|
88
88
|
userConfig: N.config,
|
|
89
|
-
defaultConfig:
|
|
89
|
+
defaultConfig: Ee
|
|
90
90
|
});
|
|
91
91
|
return l.theme ? {
|
|
92
|
-
...
|
|
93
|
-
userConfig:
|
|
92
|
+
...Re({
|
|
93
|
+
userConfig: bt.vue_ui_donut[l.theme] || N.config,
|
|
94
94
|
defaultConfig: l
|
|
95
95
|
}),
|
|
96
|
-
customPalette:
|
|
96
|
+
customPalette: mt[l.theme] || j
|
|
97
97
|
} : l;
|
|
98
98
|
}
|
|
99
|
-
const e =
|
|
99
|
+
const e = m({
|
|
100
100
|
get: () => _e(),
|
|
101
101
|
set: (l) => l
|
|
102
102
|
});
|
|
103
|
-
|
|
103
|
+
Me(() => N.config, (l) => {
|
|
104
104
|
e.value = _e(), we(), ge.value += 1, be.value += 1, me.value += 1;
|
|
105
105
|
}, { deep: !0 });
|
|
106
|
-
const { isPrinting: xe, isImaging: Ce, generatePdf: $e, generateImage: Pe } =
|
|
107
|
-
elementId: `donut__${
|
|
106
|
+
const { isPrinting: xe, isImaging: Ce, generatePdf: $e, generateImage: Pe } = Pt({
|
|
107
|
+
elementId: `donut__${_.value}`,
|
|
108
108
|
fileName: e.value.style.chart.title.text || "vue-ui-donut"
|
|
109
|
-
}),
|
|
109
|
+
}), qe = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = m(() => dt(e.value.customPalette)), y = d({
|
|
110
110
|
dataLabels: {
|
|
111
111
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
112
112
|
},
|
|
@@ -115,18 +115,18 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
115
115
|
}), u = d({
|
|
116
116
|
height: 360,
|
|
117
117
|
width: 512
|
|
118
|
-
}), K =
|
|
118
|
+
}), K = m(() => {
|
|
119
119
|
const l = e.value.style.chart.layout.donut.strokeWidth / 512, r = u.value.width * l, t = r > C.value ? C.value : r;
|
|
120
120
|
return t < 24 ? 24 : t;
|
|
121
|
-
}), M =
|
|
121
|
+
}), M = m(() => N.dataset.map((l, r) => ({
|
|
122
122
|
name: l.name,
|
|
123
|
-
color:
|
|
123
|
+
color: He(l.color) || Se.value[r] || j[r] || j[r % j.length],
|
|
124
124
|
value: l.values.reduce((t, a) => t + a, 0),
|
|
125
125
|
absoluteValues: l.values,
|
|
126
126
|
comment: l.comment || ""
|
|
127
127
|
}))), T = d(M.value);
|
|
128
|
-
|
|
129
|
-
function
|
|
128
|
+
Me(() => M.value, (l) => T.value = l);
|
|
129
|
+
function Je() {
|
|
130
130
|
return M.value.map((l) => ({
|
|
131
131
|
name: l.name,
|
|
132
132
|
color: l.color,
|
|
@@ -168,7 +168,7 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
168
168
|
value: v.value
|
|
169
169
|
})));
|
|
170
170
|
}
|
|
171
|
-
const I =
|
|
171
|
+
const I = m(() => (T.value.forEach((l, r) => {
|
|
172
172
|
if ([null, void 0].includes(l.values))
|
|
173
173
|
return {
|
|
174
174
|
...l,
|
|
@@ -177,30 +177,30 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
177
177
|
}), T.value.map((l, r) => ({
|
|
178
178
|
...l,
|
|
179
179
|
seriesIndex: r
|
|
180
|
-
})).filter((l, r) => !O.value.includes(r)))), ze =
|
|
180
|
+
})).filter((l, r) => !O.value.includes(r)))), ze = m(() => N.dataset.map((l, r) => ({
|
|
181
181
|
name: l.name,
|
|
182
|
-
color:
|
|
182
|
+
color: He(l.color) || Se.value[r] || j[r] || j[r % j.length],
|
|
183
183
|
value: (l.values || []).reduce((t, a) => t + a, 0),
|
|
184
184
|
shape: "circle"
|
|
185
185
|
})).map((l, r) => ({
|
|
186
186
|
...l,
|
|
187
187
|
proportion: l.value / N.dataset.map((t) => (t.values || []).reduce((a, v) => a + v, 0)).reduce((t, a) => t + a, 0),
|
|
188
188
|
opacity: O.value.includes(r) ? 0.5 : 1,
|
|
189
|
-
segregate: () => Te(r),
|
|
189
|
+
segregate: () => !V.value && Te(r),
|
|
190
190
|
isSegregated: O.value.includes(r)
|
|
191
|
-
}))),
|
|
191
|
+
}))), Ke = m(() => ({
|
|
192
192
|
cy: "donut-div-legend",
|
|
193
193
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
194
194
|
color: e.value.style.chart.legend.color,
|
|
195
195
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
196
196
|
paddingBottom: 12,
|
|
197
197
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
198
|
-
})), C =
|
|
198
|
+
})), C = m(() => {
|
|
199
199
|
const l = Math.min(u.value.width / 3, u.value.height / 3);
|
|
200
200
|
return l < 55 ? 55 : l;
|
|
201
|
-
}), f =
|
|
201
|
+
}), f = m(() => ht({ series: I.value }, u.value.width / 2, u.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25, K.value)), c = m(() => {
|
|
202
202
|
const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
|
|
203
|
-
return
|
|
203
|
+
return yt({
|
|
204
204
|
series: r,
|
|
205
205
|
center: {
|
|
206
206
|
x: u.value.width / 2,
|
|
@@ -212,14 +212,14 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
212
212
|
function R(l) {
|
|
213
213
|
return l.x > u.value.width / 2 + 6 ? "start" : l.x < u.value.width / 2 - 6 ? "end" : "middle";
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Qe(l) {
|
|
216
216
|
return l.middlePoint.y > u.value.height / 2 ? L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y : L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y - 100;
|
|
217
217
|
}
|
|
218
218
|
function z(l) {
|
|
219
219
|
return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
220
220
|
}
|
|
221
221
|
function ne(l, r) {
|
|
222
|
-
const t = l.value /
|
|
222
|
+
const t = l.value / Ze(r);
|
|
223
223
|
return isNaN(t) ? 0 : A(
|
|
224
224
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
225
225
|
t * 100,
|
|
@@ -231,15 +231,15 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
231
231
|
{ datapoint: l }
|
|
232
232
|
);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Ze(l) {
|
|
235
235
|
return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
|
|
236
236
|
}
|
|
237
|
-
const
|
|
238
|
-
function
|
|
239
|
-
re.value = { datapoint: l, seriesIndex: t, config: e.value, series: M.value }, ae.value = a,
|
|
237
|
+
const S = m(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Ye = m(() => S.value / I.value.length), Ae = m(() => (l) => V.value ? l.proportion * 100 : l.value / S.value * 100), re = d(null), Q = d(!1);
|
|
238
|
+
function Ne({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
|
|
239
|
+
re.value = { datapoint: l, seriesIndex: t, config: e.value, series: M.value }, ae.value = a, P.value = r;
|
|
240
240
|
let v = "";
|
|
241
241
|
const g = e.value.style.chart.tooltip.customFormat;
|
|
242
|
-
if (Q.value = !1,
|
|
242
|
+
if (Q.value = !1, wt(g))
|
|
243
243
|
try {
|
|
244
244
|
const p = g({
|
|
245
245
|
seriesIndex: t,
|
|
@@ -287,27 +287,27 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
function Z(l) {
|
|
290
|
-
return e.value.useBlurOnHover && ![null, void 0].includes(
|
|
290
|
+
return e.value.useBlurOnHover && ![null, void 0].includes(P.value) && P.value !== l ? `url(#blur_${_.value})` : "";
|
|
291
291
|
}
|
|
292
|
-
const D =
|
|
292
|
+
const D = m(() => {
|
|
293
293
|
const l = I.value.map((t) => ({
|
|
294
294
|
name: t.name,
|
|
295
295
|
color: t.color
|
|
296
296
|
})), r = I.value.map((t) => t.value);
|
|
297
297
|
return { head: l, body: r };
|
|
298
298
|
});
|
|
299
|
-
function
|
|
300
|
-
|
|
299
|
+
function Oe() {
|
|
300
|
+
ut(() => {
|
|
301
301
|
const l = D.value.head.map((a, v) => [[
|
|
302
302
|
a.name
|
|
303
|
-
], [D.value.body[v]], [isNaN(D.value.body[v] /
|
|
304
|
-
|
|
303
|
+
], [D.value.body[v]], [isNaN(D.value.body[v] / S.value) ? "-" : D.value.body[v] / S.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = kt(r);
|
|
304
|
+
_t({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
|
|
305
305
|
});
|
|
306
306
|
}
|
|
307
|
-
const oe =
|
|
307
|
+
const oe = m(() => {
|
|
308
308
|
const l = [
|
|
309
309
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
310
|
-
F({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v:
|
|
310
|
+
F({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: S.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
311
311
|
"100%"
|
|
312
312
|
], r = D.value.head.map((v, g) => {
|
|
313
313
|
const p = F({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: D.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
@@ -317,7 +317,7 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
317
317
|
name: v.name
|
|
318
318
|
},
|
|
319
319
|
p,
|
|
320
|
-
isNaN(D.value.body[g] /
|
|
320
|
+
isNaN(D.value.body[g] / S.value) ? "-" : (D.value.body[g] / S.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
|
|
321
321
|
];
|
|
322
322
|
}), t = {
|
|
323
323
|
th: {
|
|
@@ -343,46 +343,46 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
343
343
|
config: t
|
|
344
344
|
};
|
|
345
345
|
}), U = d(!1);
|
|
346
|
-
function
|
|
346
|
+
function et(l) {
|
|
347
347
|
U.value = l, ke.value += 1;
|
|
348
348
|
}
|
|
349
|
-
const
|
|
350
|
-
function
|
|
349
|
+
const Xe = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
|
|
350
|
+
function tt(l) {
|
|
351
351
|
return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
|
|
352
352
|
}
|
|
353
353
|
function B(l, r) {
|
|
354
354
|
de("selectDatapoint", { datapoint: l, index: r });
|
|
355
355
|
}
|
|
356
|
-
function
|
|
356
|
+
function Ie() {
|
|
357
357
|
y.value.showTable = !y.value.showTable;
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function De() {
|
|
360
360
|
y.value.dataLabels.show = !y.value.dataLabels.show;
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function Be() {
|
|
363
363
|
y.value.showTooltip = !y.value.showTooltip;
|
|
364
364
|
}
|
|
365
365
|
const ue = d(!1);
|
|
366
366
|
function ie() {
|
|
367
367
|
ue.value = !ue.value;
|
|
368
368
|
}
|
|
369
|
-
return
|
|
370
|
-
getData:
|
|
369
|
+
return Ue({
|
|
370
|
+
getData: Je,
|
|
371
371
|
generatePdf: $e,
|
|
372
|
-
generateCsv:
|
|
372
|
+
generateCsv: Oe,
|
|
373
373
|
generateImage: Pe,
|
|
374
|
-
toggleTable:
|
|
375
|
-
toggleLabels:
|
|
376
|
-
toggleTooltip:
|
|
374
|
+
toggleTable: Ie,
|
|
375
|
+
toggleLabels: De,
|
|
376
|
+
toggleTooltip: Be,
|
|
377
377
|
toggleAnnotator: ie
|
|
378
378
|
}), (l, r) => (o(), s("div", {
|
|
379
379
|
ref_key: "donutChart",
|
|
380
380
|
ref: H,
|
|
381
381
|
class: ce(`vue-ui-donut ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
382
382
|
style: Y(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
383
|
-
id: `donut__${
|
|
383
|
+
id: `donut__${_.value}`
|
|
384
384
|
}, [
|
|
385
|
-
e.value.userOptions.buttons.annotator ? (o(), G(
|
|
385
|
+
e.value.userOptions.buttons.annotator ? (o(), G(Nt, {
|
|
386
386
|
key: 0,
|
|
387
387
|
parent: H.value,
|
|
388
388
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -390,8 +390,8 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
390
390
|
active: ue.value,
|
|
391
391
|
onClose: ie
|
|
392
392
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
|
|
393
|
-
|
|
394
|
-
|
|
393
|
+
w(l.$slots, "userConfig", {}, void 0, !0),
|
|
394
|
+
qe.value ? (o(), s("div", {
|
|
395
395
|
key: 1,
|
|
396
396
|
ref_key: "noTitle",
|
|
397
397
|
ref: pe,
|
|
@@ -404,7 +404,7 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
404
404
|
ref: he,
|
|
405
405
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
406
406
|
}, [
|
|
407
|
-
(o(), G(
|
|
407
|
+
(o(), G($t, {
|
|
408
408
|
key: `title_${ge.value}`,
|
|
409
409
|
config: {
|
|
410
410
|
title: {
|
|
@@ -418,15 +418,15 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
418
418
|
}
|
|
419
419
|
}, null, 8, ["config"]))
|
|
420
420
|
], 512)) : i("", !0),
|
|
421
|
-
e.value.userOptions.show && J.value ? (o(), G(
|
|
421
|
+
e.value.userOptions.show && J.value ? (o(), G(St, {
|
|
422
422
|
ref_key: "details",
|
|
423
|
-
ref:
|
|
423
|
+
ref: We,
|
|
424
424
|
key: `user_option_${ke.value}`,
|
|
425
425
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
426
426
|
color: e.value.style.chart.color,
|
|
427
427
|
isPrinting: n(xe),
|
|
428
428
|
isImaging: n(Ce),
|
|
429
|
-
uid:
|
|
429
|
+
uid: _.value,
|
|
430
430
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
431
431
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
432
432
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -441,127 +441,127 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
441
441
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
442
442
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
443
443
|
isAnnotation: ue.value,
|
|
444
|
-
onToggleFullscreen:
|
|
444
|
+
onToggleFullscreen: et,
|
|
445
445
|
onGeneratePdf: n($e),
|
|
446
|
-
onGenerateCsv:
|
|
446
|
+
onGenerateCsv: Oe,
|
|
447
447
|
onGenerateImage: n(Pe),
|
|
448
|
-
onToggleTable:
|
|
449
|
-
onToggleLabels:
|
|
450
|
-
onToggleTooltip:
|
|
448
|
+
onToggleTable: Ie,
|
|
449
|
+
onToggleLabels: De,
|
|
450
|
+
onToggleTooltip: Be,
|
|
451
451
|
onToggleAnnotator: ie
|
|
452
|
-
},
|
|
452
|
+
}, ot({ _: 2 }, [
|
|
453
453
|
l.$slots.optionTooltip ? {
|
|
454
454
|
name: "optionTooltip",
|
|
455
|
-
fn:
|
|
456
|
-
|
|
455
|
+
fn: $(() => [
|
|
456
|
+
w(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
457
457
|
]),
|
|
458
458
|
key: "0"
|
|
459
459
|
} : void 0,
|
|
460
460
|
l.$slots.optionPdf ? {
|
|
461
461
|
name: "optionPdf",
|
|
462
|
-
fn:
|
|
463
|
-
|
|
462
|
+
fn: $(() => [
|
|
463
|
+
w(l.$slots, "optionPdf", {}, void 0, !0)
|
|
464
464
|
]),
|
|
465
465
|
key: "1"
|
|
466
466
|
} : void 0,
|
|
467
467
|
l.$slots.optionCsv ? {
|
|
468
468
|
name: "optionCsv",
|
|
469
|
-
fn:
|
|
470
|
-
|
|
469
|
+
fn: $(() => [
|
|
470
|
+
w(l.$slots, "optionCsv", {}, void 0, !0)
|
|
471
471
|
]),
|
|
472
472
|
key: "2"
|
|
473
473
|
} : void 0,
|
|
474
474
|
l.$slots.optionImg ? {
|
|
475
475
|
name: "optionImg",
|
|
476
|
-
fn:
|
|
477
|
-
|
|
476
|
+
fn: $(() => [
|
|
477
|
+
w(l.$slots, "optionImg", {}, void 0, !0)
|
|
478
478
|
]),
|
|
479
479
|
key: "3"
|
|
480
480
|
} : void 0,
|
|
481
481
|
l.$slots.optionTable ? {
|
|
482
482
|
name: "optionTable",
|
|
483
|
-
fn:
|
|
484
|
-
|
|
483
|
+
fn: $(() => [
|
|
484
|
+
w(l.$slots, "optionTable", {}, void 0, !0)
|
|
485
485
|
]),
|
|
486
486
|
key: "4"
|
|
487
487
|
} : void 0,
|
|
488
488
|
l.$slots.optionLabels ? {
|
|
489
489
|
name: "optionLabels",
|
|
490
|
-
fn:
|
|
491
|
-
|
|
490
|
+
fn: $(() => [
|
|
491
|
+
w(l.$slots, "optionLabels", {}, void 0, !0)
|
|
492
492
|
]),
|
|
493
493
|
key: "5"
|
|
494
494
|
} : void 0,
|
|
495
495
|
l.$slots.optionFullscreen ? {
|
|
496
496
|
name: "optionFullscreen",
|
|
497
|
-
fn:
|
|
498
|
-
|
|
497
|
+
fn: $(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
498
|
+
w(l.$slots, "optionFullscreen", E(W({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
|
|
499
499
|
]),
|
|
500
500
|
key: "6"
|
|
501
501
|
} : void 0,
|
|
502
502
|
l.$slots.optionAnnotator ? {
|
|
503
503
|
name: "optionAnnotator",
|
|
504
|
-
fn:
|
|
505
|
-
|
|
504
|
+
fn: $(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
505
|
+
w(l.$slots, "optionAnnotator", E(W({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
|
|
506
506
|
]),
|
|
507
507
|
key: "7"
|
|
508
508
|
} : void 0
|
|
509
509
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : i("", !0),
|
|
510
510
|
J.value ? (o(), s("svg", {
|
|
511
511
|
key: 4,
|
|
512
|
-
xmlns: n(
|
|
512
|
+
xmlns: n(ft),
|
|
513
513
|
class: ce({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
|
|
514
514
|
viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
|
|
515
515
|
style: Y(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
516
516
|
}, [
|
|
517
|
-
|
|
518
|
-
e.value.type === "classic" ? (o(), s("defs",
|
|
517
|
+
Ve(At),
|
|
518
|
+
e.value.type === "classic" ? (o(), s("defs", Bt, [
|
|
519
519
|
e.value.style.chart.useGradient ? (o(), s("radialGradient", {
|
|
520
520
|
key: 0,
|
|
521
|
-
id: `gradient_${
|
|
521
|
+
id: `gradient_${_.value}`
|
|
522
522
|
}, [
|
|
523
523
|
h("stop", {
|
|
524
524
|
offset: "0%",
|
|
525
525
|
"stop-color": n(ee)(e.value.style.chart.backgroundColor, 0),
|
|
526
526
|
"stop-opacity": "0"
|
|
527
|
-
}, null, 8,
|
|
527
|
+
}, null, 8, Vt),
|
|
528
528
|
h("stop", {
|
|
529
529
|
offset: `${(1 - K.value / C.value) * 100}%`,
|
|
530
530
|
"stop-color": n(ee)("#FFFFFF", 0),
|
|
531
531
|
"stop-opacity": "0"
|
|
532
|
-
}, null, 8,
|
|
532
|
+
}, null, 8, Gt),
|
|
533
533
|
h("stop", {
|
|
534
534
|
offset: `${(1 - K.value / C.value / 2) * 100}%`,
|
|
535
535
|
"stop-color": n(ee)("#FFFFFF", e.value.style.chart.gradientIntensity)
|
|
536
|
-
}, null, 8,
|
|
536
|
+
}, null, 8, jt),
|
|
537
537
|
h("stop", {
|
|
538
538
|
offset: "100%",
|
|
539
539
|
"stop-color": n(ee)(e.value.style.chart.backgroundColor, 0),
|
|
540
540
|
"stop-opacity": "0"
|
|
541
|
-
}, null, 8,
|
|
542
|
-
], 8,
|
|
541
|
+
}, null, 8, Ht)
|
|
542
|
+
], 8, Mt)) : i("", !0)
|
|
543
543
|
])) : i("", !0),
|
|
544
|
-
e.value.type === "polar" ? (o(), s("defs",
|
|
545
|
-
(o(!0), s(
|
|
546
|
-
id: `polar_gradient_${a}_${
|
|
544
|
+
e.value.type === "polar" ? (o(), s("defs", Rt, [
|
|
545
|
+
(o(!0), s(k, null, X(c.value, (t, a) => (o(), s("radialGradient", {
|
|
546
|
+
id: `polar_gradient_${a}_${_.value}`,
|
|
547
547
|
cx: t.middlePoint.x / u.value.width * 100 + "%",
|
|
548
548
|
cy: t.middlePoint.y / u.value.height * 100 + "%",
|
|
549
549
|
r: "62%"
|
|
550
550
|
}, [
|
|
551
551
|
h("stop", {
|
|
552
552
|
offset: "0%",
|
|
553
|
-
"stop-color": n(
|
|
553
|
+
"stop-color": n(pt)(f.value[a].color, 0.05),
|
|
554
554
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
555
|
-
}, null, 8,
|
|
555
|
+
}, null, 8, Et),
|
|
556
556
|
h("stop", {
|
|
557
557
|
offset: "100%",
|
|
558
558
|
"stop-color": f.value[a].color
|
|
559
|
-
}, null, 8,
|
|
560
|
-
], 8,
|
|
559
|
+
}, null, 8, Wt)
|
|
560
|
+
], 8, Ut))), 256))
|
|
561
561
|
])) : i("", !0),
|
|
562
562
|
h("defs", null, [
|
|
563
563
|
h("filter", {
|
|
564
|
-
id: `blur_${
|
|
564
|
+
id: `blur_${_.value}`,
|
|
565
565
|
x: "-50%",
|
|
566
566
|
y: "-50%",
|
|
567
567
|
width: "200%",
|
|
@@ -570,12 +570,12 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
570
570
|
h("feGaussianBlur", {
|
|
571
571
|
in: "SourceGraphic",
|
|
572
572
|
stdDeviation: 2,
|
|
573
|
-
id: `blur_std_${
|
|
574
|
-
}, null, 8,
|
|
575
|
-
|
|
576
|
-
], 8,
|
|
573
|
+
id: `blur_std_${_.value}`
|
|
574
|
+
}, null, 8, Jt),
|
|
575
|
+
Kt
|
|
576
|
+
], 8, qt),
|
|
577
577
|
h("filter", {
|
|
578
|
-
id: `shadow_${
|
|
578
|
+
id: `shadow_${_.value}`,
|
|
579
579
|
"color-interpolation-filters": "sRGB"
|
|
580
580
|
}, [
|
|
581
581
|
h("feDropShadow", {
|
|
@@ -584,10 +584,10 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
584
584
|
stdDeviation: "10",
|
|
585
585
|
"flood-opacity": "0.5",
|
|
586
586
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
587
|
-
}, null, 8,
|
|
588
|
-
], 8,
|
|
587
|
+
}, null, 8, Zt)
|
|
588
|
+
], 8, Qt),
|
|
589
589
|
h("filter", {
|
|
590
|
-
id: `drop_shadow_${
|
|
590
|
+
id: `drop_shadow_${_.value}`,
|
|
591
591
|
"color-interpolation-filters": "sRGB",
|
|
592
592
|
x: "-50%",
|
|
593
593
|
y: "-50%",
|
|
@@ -600,22 +600,22 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
600
600
|
stdDeviation: "3",
|
|
601
601
|
"flood-opacity": "1",
|
|
602
602
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
603
|
-
}, null, 8,
|
|
604
|
-
], 8,
|
|
603
|
+
}, null, 8, tl)
|
|
604
|
+
], 8, el)
|
|
605
605
|
]),
|
|
606
|
-
e.value.type === "classic" ? (o(!0), s(
|
|
606
|
+
e.value.type === "classic" ? (o(!0), s(k, { key: 2 }, X(f.value, (t, a) => (o(), s("g", null, [
|
|
607
607
|
z(t) && y.value.dataLabels.show ? (o(), s("path", {
|
|
608
608
|
key: 0,
|
|
609
|
-
d: n(
|
|
609
|
+
d: n(gt)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1, K.value),
|
|
610
610
|
stroke: t.color,
|
|
611
611
|
"stroke-width": "1",
|
|
612
612
|
"stroke-linecap": "round",
|
|
613
613
|
"stroke-linejoin": "round",
|
|
614
614
|
fill: "none",
|
|
615
615
|
filter: Z(a)
|
|
616
|
-
}, null, 8,
|
|
616
|
+
}, null, 8, ll)) : i("", !0)
|
|
617
617
|
]))), 256)) : i("", !0),
|
|
618
|
-
e.value.type === "polar" ? (o(!0), s(
|
|
618
|
+
e.value.type === "polar" ? (o(!0), s(k, { key: 3 }, X(f.value, (t, a) => (o(), s("g", null, [
|
|
619
619
|
z(t) && y.value.dataLabels.show ? (o(), s("line", {
|
|
620
620
|
key: 0,
|
|
621
621
|
x1: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
|
|
@@ -628,7 +628,7 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
628
628
|
"stroke-linejoin": "round",
|
|
629
629
|
fill: "none",
|
|
630
630
|
filter: Z(a)
|
|
631
|
-
}, null, 8,
|
|
631
|
+
}, null, 8, al)) : i("", !0)
|
|
632
632
|
]))), 256)) : i("", !0),
|
|
633
633
|
e.value.type === "classic" ? (o(), s("circle", {
|
|
634
634
|
key: 4,
|
|
@@ -636,57 +636,57 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
636
636
|
cy: u.value.height / 2,
|
|
637
637
|
r: C.value <= 0 ? 10 : C.value,
|
|
638
638
|
fill: e.value.style.chart.backgroundColor,
|
|
639
|
-
filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${
|
|
640
|
-
}, null, 8,
|
|
641
|
-
|
|
642
|
-
(o(!0), s(
|
|
639
|
+
filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${_.value})` : ""
|
|
640
|
+
}, null, 8, ol)) : i("", !0),
|
|
641
|
+
S.value && e.value.type === "classic" ? (o(), s(k, { key: 5 }, [
|
|
642
|
+
(o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
|
|
643
643
|
stroke: e.value.style.chart.backgroundColor,
|
|
644
644
|
d: t.arcSlice,
|
|
645
645
|
fill: "#FFFFFF"
|
|
646
|
-
}, null, 8,
|
|
647
|
-
(o(!0), s(
|
|
646
|
+
}, null, 8, ul))), 256)),
|
|
647
|
+
(o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
|
|
648
648
|
class: "vue-ui-donut-arc-path",
|
|
649
649
|
d: t.arcSlice,
|
|
650
650
|
fill: n(ee)(t.color, 80),
|
|
651
651
|
stroke: e.value.style.chart.backgroundColor,
|
|
652
652
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
653
653
|
filter: Z(a)
|
|
654
|
-
}, null, 8,
|
|
654
|
+
}, null, 8, sl))), 256))
|
|
655
655
|
], 64)) : i("", !0),
|
|
656
|
-
|
|
657
|
-
f.value.length > 1 ? (o(), s("g",
|
|
658
|
-
(o(!0), s(
|
|
656
|
+
S.value && e.value.type === "polar" ? (o(), s(k, { key: 6 }, [
|
|
657
|
+
f.value.length > 1 ? (o(), s("g", nl, [
|
|
658
|
+
(o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
|
|
659
659
|
stroke: e.value.style.chart.backgroundColor,
|
|
660
660
|
d: c.value[a].path,
|
|
661
661
|
fill: "#FFFFFF"
|
|
662
|
-
}, null, 8,
|
|
663
|
-
e.value.style.chart.layout.donut.useShadow ? (o(), s("g",
|
|
664
|
-
(o(!0), s(
|
|
662
|
+
}, null, 8, rl))), 256)),
|
|
663
|
+
e.value.style.chart.layout.donut.useShadow ? (o(), s("g", il, [
|
|
664
|
+
(o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
|
|
665
665
|
class: "vue-ui-donut-arc-path",
|
|
666
666
|
d: c.value[a].path,
|
|
667
667
|
fill: "transparent",
|
|
668
668
|
stroke: e.value.style.chart.backgroundColor,
|
|
669
669
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
670
|
-
filter: `url(#drop_shadow_${
|
|
671
|
-
}, null, 8,
|
|
670
|
+
filter: `url(#drop_shadow_${_.value})`
|
|
671
|
+
}, null, 8, vl))), 256))
|
|
672
672
|
])) : i("", !0),
|
|
673
|
-
(o(!0), s(
|
|
673
|
+
(o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
|
|
674
674
|
class: "vue-ui-donut-arc-path",
|
|
675
675
|
d: c.value[a].path,
|
|
676
|
-
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${
|
|
676
|
+
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${_.value})` : t.color,
|
|
677
677
|
stroke: e.value.style.chart.backgroundColor,
|
|
678
678
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
679
679
|
filter: Z(a)
|
|
680
|
-
}, null, 8,
|
|
681
|
-
])) : (o(), s("g",
|
|
680
|
+
}, null, 8, cl))), 256))
|
|
681
|
+
])) : (o(), s("g", dl, [
|
|
682
682
|
h("circle", {
|
|
683
683
|
cx: u.value.width / 2,
|
|
684
684
|
cy: u.value.height / 2,
|
|
685
685
|
r: C.value,
|
|
686
|
-
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${
|
|
686
|
+
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${_.value})` : f.value[0].color,
|
|
687
687
|
stroke: e.value.style.chart.backgroundColor,
|
|
688
688
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
689
|
-
}, null, 8,
|
|
689
|
+
}, null, 8, hl)
|
|
690
690
|
]))
|
|
691
691
|
], 64)) : (o(), s("circle", {
|
|
692
692
|
key: 7,
|
|
@@ -695,7 +695,7 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
695
695
|
r: C.value <= 0 ? 10 : C.value,
|
|
696
696
|
fill: "transparent",
|
|
697
697
|
stroke: e.value.style.chart.backgroundColor
|
|
698
|
-
}, null, 8,
|
|
698
|
+
}, null, 8, yl)),
|
|
699
699
|
e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), s("circle", {
|
|
700
700
|
key: 8,
|
|
701
701
|
cx: u.value.width / 2,
|
|
@@ -704,46 +704,46 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
704
704
|
/* This might require adjustments */
|
|
705
705
|
C.value <= 0 ? 10 : C.value
|
|
706
706
|
),
|
|
707
|
-
fill: `url(#gradient_${
|
|
708
|
-
}, null, 8,
|
|
709
|
-
|
|
710
|
-
f.value.length > 1 || e.value.type === "classic" ? (o(), s("g",
|
|
711
|
-
(o(!0), s(
|
|
707
|
+
fill: `url(#gradient_${_.value})`
|
|
708
|
+
}, null, 8, fl)) : i("", !0),
|
|
709
|
+
S.value ? (o(), s(k, { key: 9 }, [
|
|
710
|
+
f.value.length > 1 || e.value.type === "classic" ? (o(), s("g", pl, [
|
|
711
|
+
(o(!0), s(k, null, X(f.value, (t, a) => (o(), s("path", {
|
|
712
712
|
"data-cy-donut-trap": "",
|
|
713
713
|
d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
|
|
714
|
-
fill:
|
|
715
|
-
onMouseenter: (v) =>
|
|
714
|
+
fill: P.value === a ? "rgba(0,0,0,0.1)" : "transparent",
|
|
715
|
+
onMouseenter: (v) => Ne({
|
|
716
716
|
datapoint: t,
|
|
717
717
|
relativeIndex: a,
|
|
718
718
|
seriesIndex: t.seriesIndex,
|
|
719
719
|
show: !0
|
|
720
720
|
}),
|
|
721
721
|
onMouseleave: r[0] || (r[0] = (v) => {
|
|
722
|
-
ae.value = !1,
|
|
722
|
+
ae.value = !1, P.value = null;
|
|
723
723
|
}),
|
|
724
724
|
onClick: (v) => B(t, a)
|
|
725
|
-
}, null, 40,
|
|
726
|
-
])) : (o(), s("g",
|
|
725
|
+
}, null, 40, gl))), 256))
|
|
726
|
+
])) : (o(), s("g", bl, [
|
|
727
727
|
h("circle", {
|
|
728
728
|
cx: u.value.width / 2,
|
|
729
729
|
cy: u.value.height / 2,
|
|
730
730
|
r: C.value,
|
|
731
|
-
fill:
|
|
731
|
+
fill: P.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
|
|
732
732
|
"data-cy-donut-trap": "",
|
|
733
|
-
onMouseenter: r[1] || (r[1] = (t) =>
|
|
733
|
+
onMouseenter: r[1] || (r[1] = (t) => Ne({
|
|
734
734
|
datapoint: f.value[0],
|
|
735
735
|
relativeIndex: 0,
|
|
736
736
|
seriesIndex: f.value[0].seriesIndex,
|
|
737
737
|
show: !0
|
|
738
738
|
})),
|
|
739
739
|
onMouseleave: r[2] || (r[2] = (t) => {
|
|
740
|
-
ae.value = !1,
|
|
740
|
+
ae.value = !1, P.value = null;
|
|
741
741
|
}),
|
|
742
742
|
onClick: r[3] || (r[3] = (t) => B(f.value[0], l.i))
|
|
743
|
-
}, null, 40,
|
|
743
|
+
}, null, 40, ml)
|
|
744
744
|
]))
|
|
745
745
|
], 64)) : i("", !0),
|
|
746
|
-
e.value.type === "classic" ? (o(), s(
|
|
746
|
+
e.value.type === "classic" ? (o(), s(k, { key: 10 }, [
|
|
747
747
|
e.value.style.chart.layout.labels.hollow.total.show ? (o(), s("text", {
|
|
748
748
|
key: 0,
|
|
749
749
|
"text-anchor": "middle",
|
|
@@ -752,7 +752,7 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
752
752
|
fill: e.value.style.chart.layout.labels.hollow.total.color,
|
|
753
753
|
"font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
|
|
754
754
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
|
|
755
|
-
}, x(e.value.style.chart.layout.labels.hollow.total.text), 13,
|
|
755
|
+
}, x(e.value.style.chart.layout.labels.hollow.total.text), 13, wl)) : i("", !0),
|
|
756
756
|
e.value.style.chart.layout.labels.hollow.total.show ? (o(), s("text", {
|
|
757
757
|
key: 1,
|
|
758
758
|
"text-anchor": "middle",
|
|
@@ -763,13 +763,13 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
763
763
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
|
|
764
764
|
}, x(n(A)(
|
|
765
765
|
e.value.style.chart.layout.labels.hollow.total.value.formatter,
|
|
766
|
-
|
|
766
|
+
S.value,
|
|
767
767
|
n(F)({
|
|
768
768
|
p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
|
|
769
|
-
v:
|
|
769
|
+
v: S.value,
|
|
770
770
|
s: e.value.style.chart.layout.labels.hollow.total.value.suffix
|
|
771
771
|
})
|
|
772
|
-
)), 13,
|
|
772
|
+
)), 13, kl)) : i("", !0),
|
|
773
773
|
e.value.style.chart.layout.labels.hollow.average.show ? (o(), s("text", {
|
|
774
774
|
key: 2,
|
|
775
775
|
"text-anchor": "middle",
|
|
@@ -778,7 +778,7 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
778
778
|
fill: e.value.style.chart.layout.labels.hollow.average.color,
|
|
779
779
|
"font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
|
|
780
780
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
|
|
781
|
-
}, x(e.value.style.chart.layout.labels.hollow.average.text), 13,
|
|
781
|
+
}, x(e.value.style.chart.layout.labels.hollow.average.text), 13, _l)) : i("", !0),
|
|
782
782
|
e.value.style.chart.layout.labels.hollow.average.show ? (o(), s("text", {
|
|
783
783
|
key: 3,
|
|
784
784
|
"text-anchor": "middle",
|
|
@@ -796,34 +796,34 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
796
796
|
s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
|
|
797
797
|
r: e.value.style.chart.layout.labels.hollow.average.value.rounding
|
|
798
798
|
})
|
|
799
|
-
)), 13,
|
|
799
|
+
)), 13, xl)) : i("", !0)
|
|
800
800
|
], 64)) : i("", !0),
|
|
801
|
-
(o(!0), s(
|
|
801
|
+
(o(!0), s(k, null, X(f.value, (t, a) => (o(), s("g", {
|
|
802
802
|
filter: Z(a),
|
|
803
803
|
class: ce({ animated: e.value.useCssAnimation })
|
|
804
804
|
}, [
|
|
805
|
-
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), s("g",
|
|
805
|
+
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), s("g", $l, [
|
|
806
806
|
(o(), s("foreignObject", {
|
|
807
807
|
x: n(b)(t, !0).anchor === "end" ? n(b)(t).x - 120 : n(b)(t, !0).anchor === "middle" ? n(b)(t).x - 60 : n(b)(t).x,
|
|
808
|
-
y: n(te)(t) - (
|
|
808
|
+
y: n(te)(t) - (Xe.value ? 20 : 0),
|
|
809
809
|
width: "120",
|
|
810
810
|
height: "60",
|
|
811
811
|
style: { overflow: "visible" }
|
|
812
812
|
}, [
|
|
813
813
|
h("div", null, [
|
|
814
|
-
|
|
814
|
+
w(l.$slots, "dataLabel", E(W({
|
|
815
815
|
datapoint: t,
|
|
816
|
-
isBlur: !e.value.useBlurOnHover || [null, void 0].includes(
|
|
817
|
-
isSafari:
|
|
816
|
+
isBlur: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a,
|
|
817
|
+
isSafari: Xe.value,
|
|
818
818
|
isVisible: z(t) && y.value.dataLabels.show,
|
|
819
819
|
textAlign: n(b)(t, !0, 16, !0).anchor,
|
|
820
820
|
flexAlign: n(b)(t, !0, 16).anchor,
|
|
821
821
|
percentage: ne(t, f.value)
|
|
822
822
|
})), void 0, !0)
|
|
823
823
|
])
|
|
824
|
-
], 8,
|
|
825
|
-
])) : (o(), s("g",
|
|
826
|
-
e.value.type === "classic" ? (o(), s(
|
|
824
|
+
], 8, Pl))
|
|
825
|
+
])) : (o(), s("g", Sl, [
|
|
826
|
+
e.value.type === "classic" ? (o(), s(k, { key: 0 }, [
|
|
827
827
|
z(t) && y.value.dataLabels.show ? (o(), s("circle", {
|
|
828
828
|
key: 0,
|
|
829
829
|
cx: n(b)(t).x,
|
|
@@ -832,11 +832,11 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
832
832
|
stroke: e.value.style.chart.backgroundColor,
|
|
833
833
|
"stroke-width": 1,
|
|
834
834
|
r: 3,
|
|
835
|
-
filter: !e.value.useBlurOnHover || [null, void 0].includes(
|
|
835
|
+
filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${_.value})`,
|
|
836
836
|
onClick: (v) => B(t, a)
|
|
837
|
-
}, null, 8,
|
|
837
|
+
}, null, 8, Fl)) : i("", !0)
|
|
838
838
|
], 64)) : i("", !0),
|
|
839
|
-
e.value.type === "polar" ? (o(), s(
|
|
839
|
+
e.value.type === "polar" ? (o(), s(k, { key: 1 }, [
|
|
840
840
|
z(t) && y.value.dataLabels.show ? (o(), s("circle", {
|
|
841
841
|
key: 0,
|
|
842
842
|
cx: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
|
|
@@ -845,11 +845,11 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
845
845
|
stroke: e.value.style.chart.backgroundColor,
|
|
846
846
|
"stroke-width": 1,
|
|
847
847
|
r: 3,
|
|
848
|
-
filter: !e.value.useBlurOnHover || [null, void 0].includes(
|
|
848
|
+
filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${_.value})`,
|
|
849
849
|
onClick: (v) => B(t, a)
|
|
850
|
-
}, null, 8,
|
|
850
|
+
}, null, 8, Ll)) : i("", !0)
|
|
851
851
|
], 64)) : i("", !0),
|
|
852
|
-
e.value.type === "classic" ? (o(), s(
|
|
852
|
+
e.value.type === "classic" ? (o(), s(k, { key: 2 }, [
|
|
853
853
|
z(t) && y.value.dataLabels.show ? (o(), s("text", {
|
|
854
854
|
key: 0,
|
|
855
855
|
"text-anchor": n(b)(t, !0, 12).anchor,
|
|
@@ -869,7 +869,7 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
869
869
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
870
870
|
}),
|
|
871
871
|
{ datapoint: t }
|
|
872
|
-
)})` : ""), 13,
|
|
872
|
+
)})` : ""), 13, Tl)) : i("", !0),
|
|
873
873
|
z(t) && y.value.dataLabels.show ? (o(), s("text", {
|
|
874
874
|
key: 1,
|
|
875
875
|
"text-anchor": n(b)(t).anchor,
|
|
@@ -879,9 +879,9 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
879
879
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
880
880
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
881
881
|
onClick: (v) => B(t, a)
|
|
882
|
-
}, x(t.name), 13,
|
|
882
|
+
}, x(t.name), 13, zl)) : i("", !0)
|
|
883
883
|
], 64)) : i("", !0),
|
|
884
|
-
e.value.type === "polar" ? (o(), s(
|
|
884
|
+
e.value.type === "polar" ? (o(), s(k, { key: 3 }, [
|
|
885
885
|
z(t) && y.value.dataLabels.show ? (o(), s("text", {
|
|
886
886
|
key: 0,
|
|
887
887
|
"text-anchor": R(c.value[a].middlePoint),
|
|
@@ -901,7 +901,7 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
901
901
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
902
902
|
}),
|
|
903
903
|
{ datapoint: t }
|
|
904
|
-
)})` : ""), 13,
|
|
904
|
+
)})` : ""), 13, Yl)) : i("", !0),
|
|
905
905
|
z(t) && y.value.dataLabels.show ? (o(), s("text", {
|
|
906
906
|
key: 1,
|
|
907
907
|
"text-anchor": R(c.value[a].middlePoint),
|
|
@@ -911,10 +911,10 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
911
911
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
912
912
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
913
913
|
onClick: (v) => B(t, a)
|
|
914
|
-
}, x(t.name), 13,
|
|
914
|
+
}, x(t.name), 13, Al)) : i("", !0)
|
|
915
915
|
], 64)) : i("", !0)
|
|
916
916
|
])),
|
|
917
|
-
y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), s("g",
|
|
917
|
+
y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), s("g", Nl, [
|
|
918
918
|
z(t) && e.value.type === "classic" ? (o(), s("foreignObject", {
|
|
919
919
|
key: 0,
|
|
920
920
|
x: e.value.style.chart.comments.offsetX + (n(b)(t, !0).anchor === "end" ? n(b)(t).x - e.value.style.chart.comments.width : n(b)(t, !0).anchor === "middle" ? n(b)(t).x - e.value.style.chart.comments.width / 2 : n(b)(t).x),
|
|
@@ -924,33 +924,33 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
924
924
|
style: { overflow: "visible", "pointer-events": "none" }
|
|
925
925
|
}, [
|
|
926
926
|
h("div", null, [
|
|
927
|
-
|
|
927
|
+
w(l.$slots, "plot-comment", {
|
|
928
928
|
plot: { ...t, textAlign: n(b)(t, !0, 16, !0).anchor, flexAlign: n(b)(t, !0, 16).anchor }
|
|
929
929
|
}, void 0, !0)
|
|
930
930
|
])
|
|
931
|
-
], 8,
|
|
931
|
+
], 8, Ol)) : i("", !0),
|
|
932
932
|
z(t) && e.value.type === "polar" ? (o(), s("foreignObject", {
|
|
933
933
|
key: 1,
|
|
934
934
|
x: e.value.style.chart.comments.offsetX + (R(c.value[a].middlePoint) === "end" ? n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width : R(c.value[a].middlePoint) === "middle" ? n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x),
|
|
935
|
-
y:
|
|
935
|
+
y: Qe(c.value[a]) + e.value.style.chart.comments.offsetY,
|
|
936
936
|
width: e.value.style.chart.comments.width,
|
|
937
937
|
height: "200",
|
|
938
938
|
style: { overflow: "visible", "pointer-events": "none" }
|
|
939
939
|
}, [
|
|
940
940
|
h("div", null, [
|
|
941
|
-
|
|
941
|
+
w(l.$slots, "plot-comment", {
|
|
942
942
|
plot: { ...t, textAlign: R(c.value[a].middlePoint), flexAlign: R(c.value[a].middlePoint) }
|
|
943
943
|
}, void 0, !0)
|
|
944
944
|
])
|
|
945
|
-
], 8,
|
|
945
|
+
], 8, Xl)) : i("", !0)
|
|
946
946
|
])) : i("", !0)
|
|
947
|
-
], 10,
|
|
948
|
-
|
|
949
|
-
], 14,
|
|
950
|
-
l.$slots.watermark ? (o(), s("div",
|
|
951
|
-
|
|
947
|
+
], 10, Cl))), 256)),
|
|
948
|
+
w(l.$slots, "svg", { svg: u.value }, void 0, !0)
|
|
949
|
+
], 14, Dt)) : i("", !0),
|
|
950
|
+
l.$slots.watermark ? (o(), s("div", Il, [
|
|
951
|
+
w(l.$slots, "watermark", E(W({ isPrinting: n(xe) || n(Ce) })), void 0, !0)
|
|
952
952
|
])) : i("", !0),
|
|
953
|
-
J.value ? i("", !0) : (o(), G(
|
|
953
|
+
J.value ? i("", !0) : (o(), G(zt, {
|
|
954
954
|
key: 6,
|
|
955
955
|
config: {
|
|
956
956
|
type: "donut",
|
|
@@ -967,18 +967,18 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
967
967
|
ref_key: "chartLegend",
|
|
968
968
|
ref: ye
|
|
969
969
|
}, [
|
|
970
|
-
e.value.style.chart.legend.show ? (o(), G(
|
|
970
|
+
e.value.style.chart.legend.show ? (o(), G(Tt, {
|
|
971
971
|
key: `legend_${me.value}`,
|
|
972
972
|
legendSet: ze.value,
|
|
973
|
-
config:
|
|
973
|
+
config: Ke.value,
|
|
974
974
|
onClickMarker: r[4] || (r[4] = ({ i: t }) => Te(t))
|
|
975
975
|
}, {
|
|
976
|
-
item:
|
|
976
|
+
item: $(({ legend: t, index: a }) => [
|
|
977
977
|
h("div", {
|
|
978
|
-
|
|
979
|
-
|
|
978
|
+
style: Y(`opacity:${O.value.includes(a) ? 0.5 : 1}`),
|
|
979
|
+
onClick: (v) => t.segregate()
|
|
980
980
|
}, [
|
|
981
|
-
|
|
981
|
+
Ge(x(t.name) + ": " + x(n(A)(
|
|
982
982
|
e.value.style.chart.layout.labels.value.formatter,
|
|
983
983
|
t.value,
|
|
984
984
|
n(F)({
|
|
@@ -992,20 +992,20 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
992
992
|
index: a
|
|
993
993
|
}
|
|
994
994
|
)) + " ", 1),
|
|
995
|
-
O.value.includes(a) ? (o(), s("span",
|
|
995
|
+
O.value.includes(a) ? (o(), s("span", Ml, " ( " + x(tt(t.proportion * 100)) + " % ) ", 1)) : (o(), s("span", Bl, " (" + x(isNaN(t.value / S.value) ? "-" : n(A)(
|
|
996
996
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
997
|
-
|
|
997
|
+
Ae.value(t),
|
|
998
998
|
n(F)({
|
|
999
|
-
v:
|
|
999
|
+
v: Ae.value(t),
|
|
1000
1000
|
s: "%",
|
|
1001
1001
|
r: e.value.style.chart.legend.roundingPercentage
|
|
1002
1002
|
})
|
|
1003
1003
|
)) + ") ", 1))
|
|
1004
|
-
], 12,
|
|
1004
|
+
], 12, Dl)
|
|
1005
1005
|
]),
|
|
1006
1006
|
_: 1
|
|
1007
1007
|
}, 8, ["legendSet", "config"])) : i("", !0),
|
|
1008
|
-
|
|
1008
|
+
w(l.$slots, "legend", { legend: ze.value }, void 0, !0)
|
|
1009
1009
|
], 512),
|
|
1010
1010
|
l.$slots.source ? (o(), s("div", {
|
|
1011
1011
|
key: 7,
|
|
@@ -1013,9 +1013,9 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
1013
1013
|
ref: fe,
|
|
1014
1014
|
dir: "auto"
|
|
1015
1015
|
}, [
|
|
1016
|
-
|
|
1016
|
+
w(l.$slots, "source", {}, void 0, !0)
|
|
1017
1017
|
], 512)) : i("", !0),
|
|
1018
|
-
|
|
1018
|
+
Ve(Lt, {
|
|
1019
1019
|
show: y.value.showTooltip && ae.value,
|
|
1020
1020
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1021
1021
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -1031,15 +1031,15 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
1031
1031
|
isCustom: Q.value,
|
|
1032
1032
|
isFullscreen: U.value
|
|
1033
1033
|
}, {
|
|
1034
|
-
"tooltip-before":
|
|
1035
|
-
|
|
1034
|
+
"tooltip-before": $(() => [
|
|
1035
|
+
w(l.$slots, "tooltip-before", E(W({ ...re.value })), void 0, !0)
|
|
1036
1036
|
]),
|
|
1037
|
-
"tooltip-after":
|
|
1038
|
-
|
|
1037
|
+
"tooltip-after": $(() => [
|
|
1038
|
+
w(l.$slots, "tooltip-after", E(W({ ...re.value })), void 0, !0)
|
|
1039
1039
|
]),
|
|
1040
1040
|
_: 3
|
|
1041
1041
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
|
|
1042
|
-
J.value ? (o(), G(
|
|
1042
|
+
J.value ? (o(), G(Yt, {
|
|
1043
1043
|
key: 8,
|
|
1044
1044
|
hideDetails: "",
|
|
1045
1045
|
config: {
|
|
@@ -1055,8 +1055,8 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
1055
1055
|
}
|
|
1056
1056
|
}
|
|
1057
1057
|
}, {
|
|
1058
|
-
content:
|
|
1059
|
-
(o(), G(
|
|
1058
|
+
content: $(() => [
|
|
1059
|
+
(o(), G(Ft, {
|
|
1060
1060
|
key: `table_${be.value}`,
|
|
1061
1061
|
colNames: oe.value.colNames,
|
|
1062
1062
|
head: oe.value.head,
|
|
@@ -1065,14 +1065,14 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
1065
1065
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1066
1066
|
onClose: r[5] || (r[5] = (t) => y.value.showTable = !1)
|
|
1067
1067
|
}, {
|
|
1068
|
-
th:
|
|
1068
|
+
th: $(({ th: t }) => [
|
|
1069
1069
|
h("div", {
|
|
1070
1070
|
innerHTML: t,
|
|
1071
1071
|
style: { display: "flex", "align-items": "center" }
|
|
1072
|
-
}, null, 8,
|
|
1072
|
+
}, null, 8, Vl)
|
|
1073
1073
|
]),
|
|
1074
|
-
td:
|
|
1075
|
-
|
|
1074
|
+
td: $(({ td: t }) => [
|
|
1075
|
+
Ge(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
|
|
1076
1076
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1077
1077
|
t,
|
|
1078
1078
|
n(F)({
|
|
@@ -1096,9 +1096,9 @@ const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = [
|
|
|
1096
1096
|
]),
|
|
1097
1097
|
_: 1
|
|
1098
1098
|
}, 8, ["config"])) : i("", !0)
|
|
1099
|
-
], 14,
|
|
1099
|
+
], 14, It));
|
|
1100
1100
|
}
|
|
1101
|
-
},
|
|
1101
|
+
}, aa = /* @__PURE__ */ Ot(Gl, [["__scopeId", "data-v-e317c02f"]]);
|
|
1102
1102
|
export {
|
|
1103
|
-
|
|
1103
|
+
aa as default
|
|
1104
1104
|
};
|