vue-data-ui 2.4.41 → 2.4.42
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-6z0ZQva_.js → Arrow-DE71uBJZ.js} +1 -1
- package/dist/{Arrow-Cht76m69.cjs → Arrow-DTscDttD.cjs} +1 -1
- package/dist/{BaseIcon-DCE3wRiG.js → BaseIcon-C8XxmpRq.js} +1 -1
- package/dist/{BaseIcon-D-JUZiGA.cjs → BaseIcon-COOfxsl_.cjs} +1 -1
- package/dist/{DataTable-Cr3Xkxe4.cjs → DataTable-DEdQvqB1.cjs} +1 -1
- package/dist/{DataTable-B5DiCrf_.js → DataTable-D_w08xos.js} +2 -2
- package/dist/{Legend-DzxQIjDO.js → Legend-BWDoQii_.js} +1 -1
- package/dist/{Legend-BXG_XPom.cjs → Legend-C4rlR-Ge.cjs} +1 -1
- package/dist/{PackageVersion-S7OD_s5u.js → PackageVersion-CH6MCx6T.js} +1 -1
- package/dist/{PackageVersion-CMtZxTqq.cjs → PackageVersion-DKyD7D76.cjs} +1 -1
- package/dist/{PenAndPaper-BxJZd7k9.js → PenAndPaper-BWTR3U2d.js} +3 -3
- package/dist/{PenAndPaper-DWYhyZye.cjs → PenAndPaper-Dc2zn4C0.cjs} +1 -1
- package/dist/{Shape-CvL90fNe.cjs → Shape-BLS-KzBD.cjs} +1 -1
- package/dist/{Shape-C3ywBhkW.js → Shape-xrlfL_v4.js} +1 -1
- package/dist/Slicer-8gKX0l4Q.cjs +1 -0
- package/dist/Slicer-DIYseEL1.js +423 -0
- package/dist/{Title-D9gPXVTT.cjs → Title-B-xkTfi8.cjs} +1 -1
- package/dist/{Title-BB0O0yol.js → Title-Cnl9ySNH.js} +1 -1
- package/dist/Tooltip-Brbj6DqX.cjs +1 -0
- package/dist/{Tooltip-GvLaModr.js → Tooltip-DEAOBZ8h.js} +33 -25
- package/dist/index-B68kzBN9.cjs +9 -0
- package/dist/{index-B6Q1Fyk0.js → index-DnukYspq.js} +45 -41
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -0
- package/dist/types/vue-data-ui.d.ts +4 -0
- package/dist/{useNestedProp-DQpuJSz3.js → useNestedProp-CVOQGx-X.js} +1 -1
- package/dist/{useNestedProp-bZitLnbb.cjs → useNestedProp-es9bVqY_.cjs} +1 -1
- package/dist/{usePrinter-DtpFEgOX.cjs → usePrinter-C9yUesCc.cjs} +1 -1
- package/dist/{usePrinter-D8dIU7aG.js → usePrinter-DVIALk5e.js} +1 -1
- package/dist/{vue-data-ui-H24TWcBx.js → vue-data-ui-BmmjmNbb.js} +60 -60
- package/dist/{vue-data-ui-DBN7iJHU.cjs → vue-data-ui-LA94HAVo.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +3 -3
- package/dist/{vue-ui-3d-bar-BA2CQYGW.js → vue-ui-3d-bar-CnVJAgFO.js} +9 -9
- package/dist/{vue-ui-3d-bar-BaNI_M3v.cjs → vue-ui-3d-bar-DYswbvC_.cjs} +1 -1
- package/dist/{vue-ui-accordion-u4xDSvRn.cjs → vue-ui-accordion-D_K9gNUR.cjs} +1 -1
- package/dist/{vue-ui-accordion-BOHicozd.js → vue-ui-accordion-f9NTID9e.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DN25tjv-.cjs → vue-ui-age-pyramid-Bj9K08ws.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-vKWko9vn.js → vue-ui-age-pyramid-CL0RB7mU.js} +42 -41
- package/dist/{vue-ui-annotator-D4KNucw5.js → vue-ui-annotator-C82vEb7R.js} +1 -1
- package/dist/{vue-ui-annotator-BcxUQ5tM.cjs → vue-ui-annotator-DhwUZ4WB.cjs} +1 -1
- package/dist/{vue-ui-bullet-DZgtd_qb.js → vue-ui-bullet-BxYYiFnu.js} +15 -15
- package/dist/{vue-ui-bullet-C3DKTZbg.cjs → vue-ui-bullet-D6KC5yoe.cjs} +1 -1
- package/dist/vue-ui-candlestick-Duf3yfwR.js +740 -0
- package/dist/vue-ui-candlestick-lunuQ9Ka.cjs +2 -0
- package/dist/{vue-ui-carousel-table-C62szGjt.cjs → vue-ui-carousel-table-4z9ZACSk.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Bpsrlbx9.js → vue-ui-carousel-table-DQymYeK0.js} +4 -4
- package/dist/{vue-ui-chestnut-DhPSNM96.js → vue-ui-chestnut-DDNLUSav.js} +8 -8
- package/dist/{vue-ui-chestnut-VWwSZnUX.cjs → vue-ui-chestnut-iRODkXaw.cjs} +1 -1
- package/dist/{vue-ui-cursor-BM2OiZnZ.js → vue-ui-cursor-Bdud_Fxg.js} +2 -2
- package/dist/{vue-ui-cursor-BwnZYB4D.cjs → vue-ui-cursor-Bt_SieMc.cjs} +1 -1
- package/dist/{vue-ui-dashboard-D8FU1GbE.cjs → vue-ui-dashboard-BzRR9Ra7.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BcnW7vDs.js → vue-ui-dashboard-CeVkJPeG.js} +2 -2
- package/dist/{vue-ui-digits-BmQBwho3.cjs → vue-ui-digits-DF3oLaaR.cjs} +1 -1
- package/dist/{vue-ui-digits-M4Pvrg0n.js → vue-ui-digits-DtNvb8lM.js} +2 -2
- package/dist/{vue-ui-donut-BgsQjURe.js → vue-ui-donut-C028OlzU.js} +99 -98
- package/dist/vue-ui-donut-evolution-2vQPsBFq.cjs +1 -0
- package/dist/vue-ui-donut-evolution-CprYApXF.js +908 -0
- package/dist/{vue-ui-donut-CZZfvbPk.cjs → vue-ui-donut-o09QqVJO.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-zv7yiPPM.js → vue-ui-dumbbell-BV2LN5qt.js} +10 -10
- package/dist/{vue-ui-dumbbell-CsMqgiGr.cjs → vue-ui-dumbbell-CS8pY-mj.cjs} +1 -1
- package/dist/{vue-ui-flow-BqtIWBkz.js → vue-ui-flow-QRimZUXT.js} +46 -46
- package/dist/{vue-ui-flow-E5MkZ3Yb.cjs → vue-ui-flow-iNWWhp7U.cjs} +1 -1
- package/dist/{vue-ui-funnel-QU0_JscL.cjs → vue-ui-funnel-BL8vtmsw.cjs} +1 -1
- package/dist/{vue-ui-funnel-CmVLAttG.js → vue-ui-funnel-CBymVSdd.js} +19 -19
- package/dist/{vue-ui-galaxy-BPDH-9KW.cjs → vue-ui-galaxy-DSJrMBzj.cjs} +1 -1
- package/dist/{vue-ui-galaxy-sy8zvgcg.js → vue-ui-galaxy-KP3A9HVX.js} +53 -52
- package/dist/{vue-ui-gauge--hARSvgz.js → vue-ui-gauge-BuU0DDG0.js} +7 -7
- package/dist/{vue-ui-gauge-D_yokJMS.cjs → vue-ui-gauge-H9j8Dq5h.cjs} +1 -1
- package/dist/{vue-ui-gizmo-AUJq3EQL.cjs → vue-ui-gizmo-Bl9JoMk1.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CvTeq5j0.js → vue-ui-gizmo-M7RalwJ6.js} +3 -3
- package/dist/{vue-ui-heatmap-D-xNLuqW.cjs → vue-ui-heatmap-BXWWh4iN.cjs} +1 -1
- package/dist/{vue-ui-heatmap-lI8oO-nh.js → vue-ui-heatmap-DSkfyl8j.js} +60 -59
- package/dist/{vue-ui-history-plot-BC0Rvo-r.cjs → vue-ui-history-plot-BUoUHKx6.cjs} +1 -1
- package/dist/{vue-ui-history-plot-D3CwJpll.js → vue-ui-history-plot-CYSDr-GH.js} +60 -59
- package/dist/{vue-ui-kpi-B4FQKZ_r.cjs → vue-ui-kpi-BXe7HQIh.cjs} +1 -1
- package/dist/{vue-ui-kpi-C0agq-Os.js → vue-ui-kpi-BvUaC7JA.js} +3 -3
- package/dist/{vue-ui-mini-loader-CkjJ5pRO.js → vue-ui-mini-loader-DM8ShcKo.js} +2 -2
- package/dist/{vue-ui-mini-loader-BJ70GAEv.cjs → vue-ui-mini-loader-zbjxzJTp.cjs} +1 -1
- package/dist/{vue-ui-molecule-CsQfkIEE.cjs → vue-ui-molecule-BdIRpOM9.cjs} +1 -1
- package/dist/{vue-ui-molecule-V9UFJHeV.js → vue-ui-molecule-CZi84tUl.js} +26 -25
- package/dist/{vue-ui-mood-radar-Cj_wOEbY.js → vue-ui-mood-radar-DDnbuNdv.js} +11 -11
- package/dist/{vue-ui-mood-radar-CdU2vusL.cjs → vue-ui-mood-radar-DipV_UPN.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DFVQwbHg.js → vue-ui-nested-donuts-Chuuvtu-.js} +78 -77
- package/dist/{vue-ui-nested-donuts-DevV-xZr.cjs → vue-ui-nested-donuts-DuxVLzDH.cjs} +2 -2
- package/dist/{vue-ui-onion-BJ-PjA7d.js → vue-ui-onion-CIRGvycb.js} +49 -48
- package/dist/{vue-ui-onion-DGWktnME.cjs → vue-ui-onion-CvlwZgpu.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-CjxZbVNa.cjs → vue-ui-parallel-coordinate-plot-eJMnJ_u2.cjs} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-33naX1Ss.js → vue-ui-parallel-coordinate-plot-jv7L5_x8.js} +70 -69
- package/dist/{vue-ui-quadrant-xJaZzXgo.js → vue-ui-quadrant-CjjXU43-.js} +55 -54
- package/dist/{vue-ui-quadrant-DqZqBb2L.cjs → vue-ui-quadrant-ks_4yK85.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BwN9eLye.js → vue-ui-quick-chart-BAVQ2SJ2.js} +637 -622
- package/dist/vue-ui-quick-chart-Br2gTOPk.cjs +15 -0
- package/dist/{vue-ui-radar-B4EXwJDY.js → vue-ui-radar-CXXAYowO.js} +38 -37
- package/dist/{vue-ui-radar-CQ66YUG5.cjs → vue-ui-radar-kjh9y4cm.cjs} +1 -1
- package/dist/{vue-ui-rating-DNkygw1i.js → vue-ui-rating-DOqMciYJ.js} +2 -2
- package/dist/{vue-ui-rating-D334I4ju.cjs → vue-ui-rating-EEIqiBgY.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CP2Z6IWV.cjs → vue-ui-relation-circle-BEv568py.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BKeSh28h.js → vue-ui-relation-circle-CR3iWQV_.js} +19 -19
- package/dist/{vue-ui-rings-D6M3UNSE.js → vue-ui-rings-B--CFaNX.js} +49 -48
- package/dist/vue-ui-rings-CgvWaw5N.cjs +2 -0
- package/dist/{vue-ui-scatter-JUPbbsO7.js → vue-ui-scatter-C-RD4h73.js} +26 -25
- package/dist/{vue-ui-scatter-C9ZoWV1q.cjs → vue-ui-scatter-ChWlgb1L.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DmLDHfF9.js → vue-ui-screenshot-C6-MOj7h.js} +1 -1
- package/dist/{vue-ui-screenshot-JMBX_AWn.cjs → vue-ui-screenshot-CtjCOun0.cjs} +1 -1
- package/dist/{vue-ui-skeleton-D7rg5vFC.js → vue-ui-skeleton-CXdyOF4T.js} +3 -3
- package/dist/{vue-ui-skeleton-E9_X0-sa.cjs → vue-ui-skeleton-DGCkWrND.cjs} +1 -1
- package/dist/{vue-ui-smiley-aRTznf8z.cjs → vue-ui-smiley-AYBZK1EE.cjs} +1 -1
- package/dist/{vue-ui-smiley-BAlHZm8H.js → vue-ui-smiley-CHXnJeLu.js} +2 -2
- package/dist/{vue-ui-spark-trend-DZR6Fqu5.cjs → vue-ui-spark-trend-D2wIBOvT.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-J9swikF_.js → vue-ui-spark-trend-DO5rDGRm.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bjmi8pMf.cjs → vue-ui-sparkbar-COUcdDjn.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-B0tCpwZ9.js → vue-ui-sparkbar-CU3UNgHm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DVX2pIC3.js → vue-ui-sparkgauge-0810df6b.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dhzbkn67.cjs → vue-ui-sparkgauge-DrJzwEAh.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Wd6q0mqj.js → vue-ui-sparkhistogram-CENPsEeO.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-gIaXDrFh.cjs → vue-ui-sparkhistogram-j7MGEYYJ.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DYT-gts9.js → vue-ui-sparkline-BOYreaxT.js} +4 -4
- package/dist/{vue-ui-sparkline-B5ySeM9y.cjs → vue-ui-sparkline-CXMea9Ki.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-ilvB3RBv.cjs → vue-ui-sparkstackbar-BJIo5y1n.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BMGA05VR.js → vue-ui-sparkstackbar-JvKmnoEy.js} +5 -5
- package/dist/vue-ui-stackbar-BOAmp-no.cjs +6 -0
- package/dist/{vue-ui-stackbar-BZbOagnf.js → vue-ui-stackbar-C3-hx7VM.js} +390 -377
- package/dist/{vue-ui-strip-plot-B-r4luYX.js → vue-ui-strip-plot-8MxOeTM_.js} +71 -70
- package/dist/{vue-ui-strip-plot-DPo7osh_.cjs → vue-ui-strip-plot-CmIS1Osx.cjs} +1 -1
- package/dist/{vue-ui-table-wlXHwJVW.js → vue-ui-table-CS-NSZjj.js} +1 -1
- package/dist/{vue-ui-table-C6z56ODT.cjs → vue-ui-table-hVmeT8wY.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CM-c7n0F.js → vue-ui-table-heatmap-CGHYZFJy.js} +9 -9
- package/dist/{vue-ui-table-heatmap-B05GifSw.cjs → vue-ui-table-heatmap-k9e_RrhC.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DHaEHFG_.js → vue-ui-table-sparkline-CRnJVQmO.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Dx-ePVqW.cjs → vue-ui-table-sparkline-DiMZ_mh6.cjs} +1 -1
- package/dist/{vue-ui-thermometer-HCpOZBHv.cjs → vue-ui-thermometer-43jmlgFC.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BU_ckSdu.js → vue-ui-thermometer-D2BUcsvF.js} +7 -7
- package/dist/{vue-ui-timer-CUChwyzF.cjs → vue-ui-timer-BO9Ipy0W.cjs} +1 -1
- package/dist/{vue-ui-timer-DiRZ849L.js → vue-ui-timer-Dc6zOjxq.js} +9 -9
- package/dist/{vue-ui-tiremarks-yoQtfbj7.cjs → vue-ui-tiremarks-CMUTe1vY.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BHMNb_tq.js → vue-ui-tiremarks-ejt0fqPg.js} +7 -7
- package/dist/{vue-ui-treemap-BpD6OdL3.js → vue-ui-treemap-DD8tFk9R.js} +98 -97
- package/dist/{vue-ui-treemap-BInwLSes.cjs → vue-ui-treemap-DqSHqaJK.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-CBNWMmCg.js → vue-ui-vertical-bar-CxydSPHF.js} +58 -57
- package/dist/{vue-ui-vertical-bar-hS4gzdKs.cjs → vue-ui-vertical-bar-D4dYglan.cjs} +2 -2
- package/dist/{vue-ui-waffle-Cmq6zhD8.cjs → vue-ui-waffle-CHWAepdl.cjs} +1 -1
- package/dist/{vue-ui-waffle-BE8iTrGF.js → vue-ui-waffle-DYdcFM17.js} +79 -78
- package/dist/{vue-ui-wheel-BXSIBRLM.js → vue-ui-wheel-CxtgGGpt.js} +7 -7
- package/dist/{vue-ui-wheel-BT0mLxln.cjs → vue-ui-wheel-_ynSyF3l.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-3wvSYRbp.js → vue-ui-word-cloud-B0AhPT0k.js} +10 -10
- package/dist/{vue-ui-word-cloud-BXHlm41O.cjs → vue-ui-word-cloud-Ct16Xxaw.cjs} +1 -1
- package/dist/{vue-ui-xy-D8XvOgW6.js → vue-ui-xy-B3346TfB.js} +195 -185
- package/dist/vue-ui-xy-DHYbKvBg.cjs +3 -0
- package/dist/vue-ui-xy-canvas-DtPqmu7B.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-Cx7vPyfT.js → vue-ui-xy-canvas-W7YGqG7f.js} +378 -365
- package/package.json +1 -1
- package/dist/Slicer-B2aHb4bj.cjs +0 -1
- package/dist/Slicer-D9ASV60L.js +0 -400
- package/dist/Tooltip-ypQtmi99.cjs +0 -1
- package/dist/index-B5Ugkauv.cjs +0 -9
- package/dist/vue-ui-candlestick-C8yBMu8-.js +0 -725
- package/dist/vue-ui-candlestick-DVEofXBZ.cjs +0 -2
- package/dist/vue-ui-donut-evolution-BO2-ARBX.js +0 -895
- package/dist/vue-ui-donut-evolution-DP14ctdf.cjs +0 -1
- package/dist/vue-ui-quick-chart-BzpXJYR_.cjs +0 -15
- package/dist/vue-ui-rings-2oDSTctd.cjs +0 -2
- package/dist/vue-ui-stackbar-BZKwsAjO.cjs +0 -6
- package/dist/vue-ui-xy-CfduqTWA.cjs +0 -3
- package/dist/vue-ui-xy-canvas-BTR-cL02.cjs +0 -9
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { computed as _, ref as d, onMounted as tt, onBeforeUnmount as lt, watch as Be, openBlock as o, createElementBlock as s, normalizeClass as ce, normalizeStyle as Y, createBlock as
|
|
2
|
-
import { u as nt, o as rt, e as
|
|
1
|
+
import { computed as _, ref as d, onMounted as tt, onBeforeUnmount as lt, watch as Be, openBlock as o, createElementBlock as s, normalizeClass as ce, normalizeStyle as Y, createBlock as G, createCommentVNode as i, renderSlot as m, unref as n, createSlots as at, withCtx as P, normalizeProps as E, guardReactiveProps as W, createVNode as Me, createElementVNode as h, Fragment as w, renderList as X, toDisplayString as x, createTextVNode as Ve, nextTick as ot, pushScopeId as ut, popScopeId as st } from "vue";
|
|
2
|
+
import { u as nt, o as rt, e as Ge, g as it, c as vt, b as ct, d as je, p as j, m as dt, H as ht, f as F, X as yt, s as ee, w as ft, j as pt, I as L, i as A, k as b, n as te, t as gt, a as bt, x as mt, q as wt, r as kt } from "./index-DnukYspq.js";
|
|
3
3
|
import { t as _t, u as xt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as Ct } from "./Title-
|
|
5
|
-
import { u as $t, U as Pt } from "./usePrinter-
|
|
6
|
-
import { D as St } from "./DataTable-
|
|
7
|
-
import { _ as
|
|
8
|
-
import { L as
|
|
9
|
-
import Tt from "./vue-ui-skeleton-
|
|
10
|
-
import zt from "./vue-ui-accordion-
|
|
11
|
-
import { u as He } from "./useNestedProp-
|
|
12
|
-
import { _ as Yt } from "./PackageVersion-
|
|
13
|
-
import { P as At } from "./PenAndPaper-
|
|
4
|
+
import { _ as Ct } from "./Title-Cnl9ySNH.js";
|
|
5
|
+
import { u as $t, U as Pt } from "./usePrinter-DVIALk5e.js";
|
|
6
|
+
import { D as St } from "./DataTable-D_w08xos.js";
|
|
7
|
+
import { _ as Ft } from "./Tooltip-DEAOBZ8h.js";
|
|
8
|
+
import { L as Lt } from "./Legend-BWDoQii_.js";
|
|
9
|
+
import Tt from "./vue-ui-skeleton-CXdyOF4T.js";
|
|
10
|
+
import zt from "./vue-ui-accordion-f9NTID9e.js";
|
|
11
|
+
import { u as He } from "./useNestedProp-CVOQGx-X.js";
|
|
12
|
+
import { _ as Yt } from "./PackageVersion-CH6MCx6T.js";
|
|
13
|
+
import { P as At } from "./PenAndPaper-BWTR3U2d.js";
|
|
14
14
|
import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const Ot = (
|
|
15
|
+
const Ot = (q) => (ut("data-v-e8ce79cc"), q = q(), st(), q), Xt = ["id"], It = ["xmlns", "viewBox"], Dt = { key: 0 }, Bt = ["id"], Mt = ["stop-color"], Vt = ["offset", "stop-color"], Gt = ["offset", "stop-color"], jt = ["stop-color"], Ht = { key: 1 }, Rt = ["id", "cx", "cy"], Ut = ["stop-color", "stop-opacity"], Et = ["stop-color"], Wt = ["id"], qt = ["id"], Jt = /* @__PURE__ */ Ot(() => /* @__PURE__ */ h("feColorMatrix", {
|
|
16
16
|
type: "saturate",
|
|
17
17
|
values: "0"
|
|
18
|
-
}, null, -1)), Kt = ["id"], Qt = ["flood-color"], Zt = ["id"], el = ["flood-color"], tl = ["d", "stroke", "filter"], ll = ["x1", "y1", "x2", "y2", "stroke", "filter"], al = ["cx", "cy", "r", "fill", "filter"], ol = ["stroke", "d"], ul = ["d", "fill", "stroke", "stroke-width", "filter"], sl = { key: 0 }, nl = ["stroke", "d"], rl = { key: 0 }, il = ["d", "stroke", "stroke-width", "filter"], vl = ["d", "fill", "stroke", "stroke-width", "filter"], cl = { key: 1 }, dl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], hl = ["cx", "cy", "r", "stroke"], yl = ["cx", "cy", "r", "fill"], fl = { key: 0 }, pl = ["d", "fill", "onMouseenter", "onClick"], gl = { key: 1 }, bl = ["cx", "cy", "r", "fill"], ml = ["x", "y", "fill", "font-size"], wl = ["x", "y", "fill", "font-size"], kl = ["x", "y", "fill", "font-size"], _l = ["x", "y", "fill", "font-size"], xl = ["filter"], Cl = { key: 0 }, $l = ["x", "y"], Pl = { key: 1 }, Sl = ["cx", "cy", "fill", "stroke", "filter", "onClick"],
|
|
18
|
+
}, null, -1)), Kt = ["id"], Qt = ["flood-color"], Zt = ["id"], el = ["flood-color"], tl = ["d", "stroke", "filter"], ll = ["x1", "y1", "x2", "y2", "stroke", "filter"], al = ["cx", "cy", "r", "fill", "filter"], ol = ["stroke", "d"], ul = ["d", "fill", "stroke", "stroke-width", "filter"], sl = { key: 0 }, nl = ["stroke", "d"], rl = { key: 0 }, il = ["d", "stroke", "stroke-width", "filter"], vl = ["d", "fill", "stroke", "stroke-width", "filter"], cl = { key: 1 }, dl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], hl = ["cx", "cy", "r", "stroke"], yl = ["cx", "cy", "r", "fill"], fl = { key: 0 }, pl = ["d", "fill", "onMouseenter", "onClick"], gl = { key: 1 }, bl = ["cx", "cy", "r", "fill"], ml = ["x", "y", "fill", "font-size"], wl = ["x", "y", "fill", "font-size"], kl = ["x", "y", "fill", "font-size"], _l = ["x", "y", "fill", "font-size"], xl = ["filter"], Cl = { key: 0 }, $l = ["x", "y"], Pl = { key: 1 }, Sl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Fl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ll = ["text-anchor", "x", "y", "fill", "font-size", "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 = { key: 2 }, Nl = ["x", "y", "width"], Ol = ["x", "y", "width"], Xl = {
|
|
19
19
|
key: 5,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
21
|
}, Il = ["onClick"], Dl = {
|
|
22
22
|
key: 0,
|
|
23
23
|
style: { "font-variant-numeric": "tabular-nums" }
|
|
24
|
-
}, Bl = { key: 1 }, Ml = ["innerHTML"],
|
|
24
|
+
}, Bl = { key: 1 }, Ml = ["innerHTML"], Vl = {
|
|
25
25
|
__name: "vue-ui-donut",
|
|
26
26
|
props: {
|
|
27
27
|
config: {
|
|
@@ -38,8 +38,8 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
emits: ["selectLegend", "selectDatapoint"],
|
|
41
|
-
setup(
|
|
42
|
-
const N =
|
|
41
|
+
setup(q, { expose: Re, emit: de }) {
|
|
42
|
+
const N = q, { vue_ui_donut: Ue } = nt(), J = _({
|
|
43
43
|
get() {
|
|
44
44
|
return !!N.dataset && N.dataset.length;
|
|
45
45
|
},
|
|
@@ -53,7 +53,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
53
53
|
le.value && le.value.disconnect();
|
|
54
54
|
});
|
|
55
55
|
function we() {
|
|
56
|
-
if (rt(N.dataset) ?
|
|
56
|
+
if (rt(N.dataset) ? Ge({
|
|
57
57
|
componentName: "VueUiDonut",
|
|
58
58
|
type: "dataset"
|
|
59
59
|
}) : N.dataset.forEach((l, r) => {
|
|
@@ -61,7 +61,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
61
61
|
datasetObject: l,
|
|
62
62
|
requiredAttributes: ["name", "values"]
|
|
63
63
|
}).forEach((t) => {
|
|
64
|
-
|
|
64
|
+
J.value = !1, Ge({
|
|
65
65
|
componentName: "VueUiDonut",
|
|
66
66
|
type: "datasetSerieAttribute",
|
|
67
67
|
property: t,
|
|
@@ -115,7 +115,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
115
115
|
}), u = d({
|
|
116
116
|
height: 360,
|
|
117
117
|
width: 512
|
|
118
|
-
}),
|
|
118
|
+
}), K = _(() => {
|
|
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
121
|
}), M = _(() => N.dataset.map((l, r) => ({
|
|
@@ -133,32 +133,32 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
133
133
|
value: l.value
|
|
134
134
|
}));
|
|
135
135
|
}
|
|
136
|
-
const O = d([]),
|
|
136
|
+
const O = d([]), Fe = d(null), Le = d(null), V = d(!1);
|
|
137
137
|
function Te(l) {
|
|
138
138
|
const r = M.value.find((v, g) => g === l);
|
|
139
139
|
let a = T.value.find((v, g) => g === l).value;
|
|
140
140
|
if (O.value.includes(l)) {
|
|
141
141
|
let g = function() {
|
|
142
|
-
a > v ? (cancelAnimationFrame(
|
|
142
|
+
a > v ? (cancelAnimationFrame(Fe.value), T.value = T.value.map((p, ve) => l === ve ? {
|
|
143
143
|
...p,
|
|
144
144
|
value: v
|
|
145
|
-
} : p),
|
|
145
|
+
} : p), V.value = !1) : (V.value = !0, a += v * 0.025, T.value = T.value.map((p, ve) => l === ve ? {
|
|
146
146
|
...p,
|
|
147
147
|
value: a
|
|
148
|
-
} : p),
|
|
148
|
+
} : p), Fe.value = requestAnimationFrame(g));
|
|
149
149
|
};
|
|
150
150
|
O.value = O.value.filter((p) => p !== l);
|
|
151
151
|
const v = r.value;
|
|
152
152
|
g();
|
|
153
153
|
} else if (O.value.length < M.value.length - 1) {
|
|
154
154
|
let v = function() {
|
|
155
|
-
a < 0.1 ? (cancelAnimationFrame(
|
|
155
|
+
a < 0.1 ? (cancelAnimationFrame(Le.value), O.value.push(l), T.value = T.value.map((g, p) => l === p ? {
|
|
156
156
|
...g,
|
|
157
157
|
value: 0
|
|
158
|
-
} : g),
|
|
158
|
+
} : g), V.value = !1) : (V.value = !0, a /= 1.1, T.value = T.value.map((g, p) => l === p ? {
|
|
159
159
|
...g,
|
|
160
160
|
value: a
|
|
161
|
-
} : g),
|
|
161
|
+
} : g), Le.value = requestAnimationFrame(v));
|
|
162
162
|
};
|
|
163
163
|
v();
|
|
164
164
|
}
|
|
@@ -198,7 +198,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
198
198
|
})), C = _(() => {
|
|
199
199
|
const l = Math.min(u.value.width / 3, u.value.height / 3);
|
|
200
200
|
return l < 55 ? 55 : l;
|
|
201
|
-
}), f = _(() => dt({ series: I.value }, u.value.width / 2, u.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25,
|
|
201
|
+
}), f = _(() => dt({ 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 = _(() => {
|
|
202
202
|
const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
|
|
203
203
|
return ht({
|
|
204
204
|
series: r,
|
|
@@ -213,7 +213,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
213
213
|
return l.x > u.value.width / 2 + 6 ? "start" : l.x < u.value.width / 2 - 6 ? "end" : "middle";
|
|
214
214
|
}
|
|
215
215
|
function Ke(l) {
|
|
216
|
-
return l.middlePoint.y > u.value.height / 2 ?
|
|
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;
|
|
@@ -223,7 +223,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
223
223
|
return isNaN(t) ? 0 : A(
|
|
224
224
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
225
225
|
t * 100,
|
|
226
|
-
|
|
226
|
+
F({
|
|
227
227
|
v: t * 100,
|
|
228
228
|
s: "%",
|
|
229
229
|
r: e.value.style.chart.layout.labels.percentage.rounding
|
|
@@ -234,12 +234,12 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
234
234
|
function Qe(l) {
|
|
235
235
|
return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
|
|
236
236
|
}
|
|
237
|
-
const $ = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Ye = _(() => $.value / I.value.length), re = d(null),
|
|
237
|
+
const $ = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Ye = _(() => $.value / I.value.length), re = d(null), Q = d(!1);
|
|
238
238
|
function Ae({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
|
|
239
239
|
re.value = { datapoint: l, seriesIndex: t, config: e.value, series: M.value }, ae.value = a, S.value = r;
|
|
240
240
|
let v = "";
|
|
241
241
|
const g = e.value.style.chart.tooltip.customFormat;
|
|
242
|
-
if (
|
|
242
|
+
if (Q.value = !1, mt(g))
|
|
243
243
|
try {
|
|
244
244
|
const p = g({
|
|
245
245
|
seriesIndex: t,
|
|
@@ -247,15 +247,15 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
247
247
|
series: M.value,
|
|
248
248
|
config: e.value
|
|
249
249
|
});
|
|
250
|
-
typeof p == "string" && (se.value = p,
|
|
250
|
+
typeof p == "string" && (se.value = p, Q.value = !0);
|
|
251
251
|
} catch {
|
|
252
|
-
console.warn("Custom format cannot be applied."),
|
|
252
|
+
console.warn("Custom format cannot be applied."), Q.value = !1;
|
|
253
253
|
}
|
|
254
|
-
if (!
|
|
254
|
+
if (!Q.value) {
|
|
255
255
|
if (v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, v += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (v += `<b>${A(
|
|
256
256
|
e.value.style.chart.layout.labels.value.formatter,
|
|
257
257
|
l.value,
|
|
258
|
-
|
|
258
|
+
F({
|
|
259
259
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
260
260
|
v: l.value,
|
|
261
261
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -270,7 +270,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
270
270
|
const p = A(
|
|
271
271
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
272
272
|
l.proportion * 100,
|
|
273
|
-
|
|
273
|
+
F({
|
|
274
274
|
v: l.proportion * 100,
|
|
275
275
|
s: "%",
|
|
276
276
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
@@ -286,7 +286,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
286
286
|
e.value.style.chart.comments.showInTooltip && l.comment && (v += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; margin-top:6px; border-left: 1px solid ${l.color}">${l.comment}</div>`), se.value = `<div>${v}</div>`;
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
|
-
function
|
|
289
|
+
function Z(l) {
|
|
290
290
|
return e.value.useBlurOnHover && ![null, void 0].includes(S.value) && S.value !== l ? `url(#blur_${k.value})` : "";
|
|
291
291
|
}
|
|
292
292
|
const D = _(() => {
|
|
@@ -307,10 +307,10 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
307
307
|
const oe = _(() => {
|
|
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
|
-
|
|
310
|
+
F({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.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
|
-
const p =
|
|
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 });
|
|
314
314
|
return [
|
|
315
315
|
{
|
|
316
316
|
color: v.color,
|
|
@@ -342,9 +342,9 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
342
342
|
body: r,
|
|
343
343
|
config: t
|
|
344
344
|
};
|
|
345
|
-
}),
|
|
345
|
+
}), U = d(!1);
|
|
346
346
|
function Ze(l) {
|
|
347
|
-
|
|
347
|
+
U.value = l, ke.value += 1;
|
|
348
348
|
}
|
|
349
349
|
const Oe = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
|
|
350
350
|
function et(l) {
|
|
@@ -378,11 +378,11 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
378
378
|
}), (l, r) => (o(), s("div", {
|
|
379
379
|
ref_key: "donutChart",
|
|
380
380
|
ref: H,
|
|
381
|
-
class: ce(`vue-ui-donut ${
|
|
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
383
|
id: `donut__${k.value}`
|
|
384
384
|
}, [
|
|
385
|
-
e.value.userOptions.buttons.annotator ? (o(),
|
|
385
|
+
e.value.userOptions.buttons.annotator ? (o(), G(At, {
|
|
386
386
|
key: 0,
|
|
387
387
|
parent: H.value,
|
|
388
388
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -404,7 +404,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
404
404
|
ref: he,
|
|
405
405
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
406
406
|
}, [
|
|
407
|
-
(o(),
|
|
407
|
+
(o(), G(Ct, {
|
|
408
408
|
key: `title_${ge.value}`,
|
|
409
409
|
config: {
|
|
410
410
|
title: {
|
|
@@ -418,7 +418,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
418
418
|
}
|
|
419
419
|
}, null, 8, ["config"]))
|
|
420
420
|
], 512)) : i("", !0),
|
|
421
|
-
e.value.userOptions.show &&
|
|
421
|
+
e.value.userOptions.show && J.value ? (o(), G(Pt, {
|
|
422
422
|
ref_key: "details",
|
|
423
423
|
ref: Ee,
|
|
424
424
|
key: `user_option_${ke.value}`,
|
|
@@ -434,7 +434,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
434
434
|
hasTable: e.value.userOptions.buttons.table,
|
|
435
435
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
436
436
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
437
|
-
isFullscreen:
|
|
437
|
+
isFullscreen: U.value,
|
|
438
438
|
chartElement: H.value,
|
|
439
439
|
position: e.value.userOptions.position,
|
|
440
440
|
isTooltip: y.value.showTooltip,
|
|
@@ -495,22 +495,22 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
495
495
|
l.$slots.optionFullscreen ? {
|
|
496
496
|
name: "optionFullscreen",
|
|
497
497
|
fn: P(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
498
|
-
m(l.$slots, "optionFullscreen",
|
|
498
|
+
m(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
504
|
fn: P(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
505
|
-
m(l.$slots, "optionAnnotator",
|
|
505
|
+
m(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
512
|
xmlns: n(yt),
|
|
513
|
-
class: ce({ "vue-data-ui-fullscreen--on":
|
|
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
|
}, [
|
|
@@ -526,14 +526,14 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
526
526
|
"stop-opacity": "0"
|
|
527
527
|
}, null, 8, Mt),
|
|
528
528
|
h("stop", {
|
|
529
|
-
offset: `${(1 -
|
|
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, Vt),
|
|
533
533
|
h("stop", {
|
|
534
|
-
offset: `${(1 -
|
|
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, Gt),
|
|
537
537
|
h("stop", {
|
|
538
538
|
offset: "100%",
|
|
539
539
|
"stop-color": n(ee)(e.value.style.chart.backgroundColor, 0),
|
|
@@ -606,20 +606,20 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
606
606
|
e.value.type === "classic" ? (o(!0), s(w, { 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(pt)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1,
|
|
609
|
+
d: n(pt)(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
|
-
filter:
|
|
615
|
+
filter: Z(a)
|
|
616
616
|
}, null, 8, tl)) : i("", !0)
|
|
617
617
|
]))), 256)) : i("", !0),
|
|
618
618
|
e.value.type === "polar" ? (o(!0), s(w, { 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
|
-
x1: n(
|
|
622
|
-
y1: n(
|
|
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,
|
|
622
|
+
y1: 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 }).y,
|
|
623
623
|
x2: c.value[a].middlePoint.x,
|
|
624
624
|
y2: c.value[a].middlePoint.y,
|
|
625
625
|
stroke: t.color,
|
|
@@ -627,7 +627,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
627
627
|
"stroke-linecap": "round",
|
|
628
628
|
"stroke-linejoin": "round",
|
|
629
629
|
fill: "none",
|
|
630
|
-
filter:
|
|
630
|
+
filter: Z(a)
|
|
631
631
|
}, null, 8, ll)) : i("", !0)
|
|
632
632
|
]))), 256)) : i("", !0),
|
|
633
633
|
e.value.type === "classic" ? (o(), s("circle", {
|
|
@@ -650,7 +650,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
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
|
-
filter:
|
|
653
|
+
filter: Z(a)
|
|
654
654
|
}, null, 8, ul))), 256))
|
|
655
655
|
], 64)) : i("", !0),
|
|
656
656
|
$.value && e.value.type === "polar" ? (o(), s(w, { key: 6 }, [
|
|
@@ -676,7 +676,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
676
676
|
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${k.value})` : t.color,
|
|
677
677
|
stroke: e.value.style.chart.backgroundColor,
|
|
678
678
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
679
|
-
filter:
|
|
679
|
+
filter: Z(a)
|
|
680
680
|
}, null, 8, vl))), 256))
|
|
681
681
|
])) : (o(), s("g", cl, [
|
|
682
682
|
h("circle", {
|
|
@@ -764,7 +764,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
764
764
|
}, x(n(A)(
|
|
765
765
|
e.value.style.chart.layout.labels.hollow.total.value.formatter,
|
|
766
766
|
$.value,
|
|
767
|
-
n(
|
|
767
|
+
n(F)({
|
|
768
768
|
p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
|
|
769
769
|
v: $.value,
|
|
770
770
|
s: e.value.style.chart.layout.labels.hollow.total.value.suffix
|
|
@@ -787,10 +787,10 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
787
787
|
fill: e.value.style.chart.layout.labels.hollow.average.value.color,
|
|
788
788
|
"font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
|
|
789
789
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
|
|
790
|
-
}, x(
|
|
790
|
+
}, x(V.value ? "--" : n(A)(
|
|
791
791
|
e.value.style.chart.layout.labels.hollow.average.value.formatter,
|
|
792
792
|
Ye.value,
|
|
793
|
-
n(
|
|
793
|
+
n(F)({
|
|
794
794
|
p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
|
|
795
795
|
v: Ye.value,
|
|
796
796
|
s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
|
|
@@ -799,7 +799,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
799
799
|
)), 13, _l)) : i("", !0)
|
|
800
800
|
], 64)) : i("", !0),
|
|
801
801
|
(o(!0), s(w, null, X(f.value, (t, a) => (o(), s("g", {
|
|
802
|
-
filter:
|
|
802
|
+
filter: Z(a),
|
|
803
803
|
class: ce({ animated: e.value.useCssAnimation })
|
|
804
804
|
}, [
|
|
805
805
|
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), s("g", Cl, [
|
|
@@ -811,7 +811,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
811
811
|
style: { overflow: "visible" }
|
|
812
812
|
}, [
|
|
813
813
|
h("div", null, [
|
|
814
|
-
m(l.$slots, "dataLabel",
|
|
814
|
+
m(l.$slots, "dataLabel", E(W({
|
|
815
815
|
datapoint: t,
|
|
816
816
|
isBlur: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a,
|
|
817
817
|
isSafari: Oe.value,
|
|
@@ -839,15 +839,15 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
839
839
|
e.value.type === "polar" ? (o(), s(w, { key: 1 }, [
|
|
840
840
|
z(t) && y.value.dataLabels.show ? (o(), s("circle", {
|
|
841
841
|
key: 0,
|
|
842
|
-
cx: n(
|
|
843
|
-
cy: n(
|
|
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,
|
|
843
|
+
cy: 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 }).y,
|
|
844
844
|
fill: t.color,
|
|
845
845
|
stroke: e.value.style.chart.backgroundColor,
|
|
846
846
|
"stroke-width": 1,
|
|
847
847
|
r: 3,
|
|
848
848
|
filter: !e.value.useBlurOnHover || [null, void 0].includes(S.value) || S.value === a ? "" : `url(#blur_${k.value})`,
|
|
849
849
|
onClick: (v) => B(t, a)
|
|
850
|
-
}, null, 8,
|
|
850
|
+
}, null, 8, Fl)) : i("", !0)
|
|
851
851
|
], 64)) : i("", !0),
|
|
852
852
|
e.value.type === "classic" ? (o(), s(w, { key: 2 }, [
|
|
853
853
|
z(t) && y.value.dataLabels.show ? (o(), s("text", {
|
|
@@ -862,14 +862,14 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
862
862
|
}, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${n(A)(
|
|
863
863
|
e.value.style.chart.layout.labels.value.formatter,
|
|
864
864
|
t.value,
|
|
865
|
-
n(
|
|
865
|
+
n(F)({
|
|
866
866
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
867
867
|
v: t.value,
|
|
868
868
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
869
869
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
870
870
|
}),
|
|
871
871
|
{ datapoint: t }
|
|
872
|
-
)})` : ""), 13,
|
|
872
|
+
)})` : ""), 13, Ll)) : 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,
|
|
@@ -885,8 +885,8 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
885
885
|
z(t) && y.value.dataLabels.show ? (o(), s("text", {
|
|
886
886
|
key: 0,
|
|
887
887
|
"text-anchor": R(c.value[a].middlePoint),
|
|
888
|
-
x: n(
|
|
889
|
-
y: n(
|
|
888
|
+
x: 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,
|
|
889
|
+
y: 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 }).y,
|
|
890
890
|
fill: e.value.style.chart.layout.labels.percentage.color,
|
|
891
891
|
"font-size": e.value.style.chart.layout.labels.percentage.fontSize,
|
|
892
892
|
style: Y(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
|
|
@@ -894,7 +894,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
894
894
|
}, x(ne(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${n(A)(
|
|
895
895
|
e.value.style.chart.layout.labels.value.formatter,
|
|
896
896
|
t.value,
|
|
897
|
-
n(
|
|
897
|
+
n(F)({
|
|
898
898
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
899
899
|
v: t.value,
|
|
900
900
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -905,8 +905,8 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
905
905
|
z(t) && y.value.dataLabels.show ? (o(), s("text", {
|
|
906
906
|
key: 1,
|
|
907
907
|
"text-anchor": R(c.value[a].middlePoint),
|
|
908
|
-
x: n(
|
|
909
|
-
y: n(
|
|
908
|
+
x: 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,
|
|
909
|
+
y: 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 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
|
|
910
910
|
fill: e.value.style.chart.layout.labels.name.color,
|
|
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" : ""}`),
|
|
@@ -931,7 +931,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
931
931
|
], 8, Nl)) : i("", !0),
|
|
932
932
|
z(t) && e.value.type === "polar" ? (o(), s("foreignObject", {
|
|
933
933
|
key: 1,
|
|
934
|
-
x: e.value.style.chart.comments.offsetX + (R(c.value[a].middlePoint) === "end" ? n(
|
|
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
935
|
y: Ke(c.value[a]) + e.value.style.chart.comments.offsetY,
|
|
936
936
|
width: e.value.style.chart.comments.width,
|
|
937
937
|
height: "200",
|
|
@@ -948,9 +948,9 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
948
948
|
m(l.$slots, "svg", { svg: u.value }, void 0, !0)
|
|
949
949
|
], 14, It)) : i("", !0),
|
|
950
950
|
l.$slots.watermark ? (o(), s("div", Xl, [
|
|
951
|
-
m(l.$slots, "watermark",
|
|
951
|
+
m(l.$slots, "watermark", E(W({ isPrinting: n(xe) || n(Ce) })), void 0, !0)
|
|
952
952
|
])) : i("", !0),
|
|
953
|
-
|
|
953
|
+
J.value ? i("", !0) : (o(), G(Tt, {
|
|
954
954
|
key: 6,
|
|
955
955
|
config: {
|
|
956
956
|
type: "donut",
|
|
@@ -958,7 +958,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
958
958
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
959
959
|
donut: {
|
|
960
960
|
color: "#CCCCCC",
|
|
961
|
-
strokeWidth:
|
|
961
|
+
strokeWidth: K.value * 0.8
|
|
962
962
|
}
|
|
963
963
|
}
|
|
964
964
|
}
|
|
@@ -967,7 +967,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
967
967
|
ref_key: "chartLegend",
|
|
968
968
|
ref: ye
|
|
969
969
|
}, [
|
|
970
|
-
e.value.style.chart.legend.show ? (o(),
|
|
970
|
+
e.value.style.chart.legend.show ? (o(), G(Lt, {
|
|
971
971
|
key: `legend_${me.value}`,
|
|
972
972
|
legendSet: ze.value,
|
|
973
973
|
config: Je.value,
|
|
@@ -978,10 +978,10 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
978
978
|
onClick: (v) => t.segregate(),
|
|
979
979
|
style: Y(`opacity:${O.value.includes(a) ? 0.5 : 1}`)
|
|
980
980
|
}, [
|
|
981
|
-
|
|
981
|
+
Ve(x(t.name) + ": " + x(n(A)(
|
|
982
982
|
e.value.style.chart.layout.labels.value.formatter,
|
|
983
983
|
t.value,
|
|
984
|
-
n(
|
|
984
|
+
n(F)({
|
|
985
985
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
986
986
|
v: t.value,
|
|
987
987
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -994,9 +994,9 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
994
994
|
)) + " ", 1),
|
|
995
995
|
O.value.includes(a) ? (o(), s("span", Bl, " ( " + x(et(t.proportion * 100)) + " % ) ", 1)) : (o(), s("span", Dl, " (" + x(isNaN(t.value / $.value) ? "-" : n(A)(
|
|
996
996
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
997
|
-
|
|
998
|
-
n(
|
|
999
|
-
v:
|
|
997
|
+
V.value ? t.proportion * 100 : t.value / $.value * 100,
|
|
998
|
+
n(F)({
|
|
999
|
+
v: V.value ? t.proportion * 100 : t.value / $.value * 100,
|
|
1000
1000
|
s: "%",
|
|
1001
1001
|
r: e.value.style.chart.legend.roundingPercentage
|
|
1002
1002
|
})
|
|
@@ -1015,7 +1015,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
1015
1015
|
}, [
|
|
1016
1016
|
m(l.$slots, "source", {}, void 0, !0)
|
|
1017
1017
|
], 512)) : i("", !0),
|
|
1018
|
-
Me(
|
|
1018
|
+
Me(Ft, {
|
|
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,
|
|
@@ -1028,17 +1028,18 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
1028
1028
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1029
1029
|
parent: H.value,
|
|
1030
1030
|
content: se.value,
|
|
1031
|
-
isCustom:
|
|
1031
|
+
isCustom: Q.value,
|
|
1032
|
+
isFullscreen: U.value
|
|
1032
1033
|
}, {
|
|
1033
1034
|
"tooltip-before": P(() => [
|
|
1034
|
-
m(l.$slots, "tooltip-before",
|
|
1035
|
+
m(l.$slots, "tooltip-before", E(W({ ...re.value })), void 0, !0)
|
|
1035
1036
|
]),
|
|
1036
1037
|
"tooltip-after": P(() => [
|
|
1037
|
-
m(l.$slots, "tooltip-after",
|
|
1038
|
+
m(l.$slots, "tooltip-after", E(W({ ...re.value })), void 0, !0)
|
|
1038
1039
|
]),
|
|
1039
1040
|
_: 3
|
|
1040
|
-
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
1041
|
-
|
|
1041
|
+
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
|
|
1042
|
+
J.value ? (o(), G(zt, {
|
|
1042
1043
|
key: 8,
|
|
1043
1044
|
hideDetails: "",
|
|
1044
1045
|
config: {
|
|
@@ -1055,7 +1056,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
1055
1056
|
}
|
|
1056
1057
|
}, {
|
|
1057
1058
|
content: P(() => [
|
|
1058
|
-
(o(),
|
|
1059
|
+
(o(), G(St, {
|
|
1059
1060
|
key: `table_${be.value}`,
|
|
1060
1061
|
colNames: oe.value.colNames,
|
|
1061
1062
|
head: oe.value.head,
|
|
@@ -1071,10 +1072,10 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
1071
1072
|
}, null, 8, Ml)
|
|
1072
1073
|
]),
|
|
1073
1074
|
td: P(({ td: t }) => [
|
|
1074
|
-
|
|
1075
|
+
Ve(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
|
|
1075
1076
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1076
1077
|
t,
|
|
1077
|
-
n(
|
|
1078
|
+
n(F)({
|
|
1078
1079
|
v: t,
|
|
1079
1080
|
s: "%",
|
|
1080
1081
|
r: e.value.style.chart.layout.labels.percentage.rounding
|
|
@@ -1082,7 +1083,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
1082
1083
|
) : n(A)(
|
|
1083
1084
|
e.value.style.chart.layout.labels.value.formatter,
|
|
1084
1085
|
t,
|
|
1085
|
-
n(
|
|
1086
|
+
n(F)({
|
|
1086
1087
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
1087
1088
|
v: t,
|
|
1088
1089
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -1097,7 +1098,7 @@ const Ot = (W) => (ut("data-v-897a9187"), W = W(), st(), W), Xt = ["id"], It = [
|
|
|
1097
1098
|
}, 8, ["config"])) : i("", !0)
|
|
1098
1099
|
], 14, Xt));
|
|
1099
1100
|
}
|
|
1100
|
-
}, la = /* @__PURE__ */ Nt(
|
|
1101
|
+
}, la = /* @__PURE__ */ Nt(Vl, [["__scopeId", "data-v-e8ce79cc"]]);
|
|
1101
1102
|
export {
|
|
1102
1103
|
la as default
|
|
1103
1104
|
};
|