vue-data-ui 2.4.85 → 2.4.87
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-Ajt3NMEa.cjs → Arrow-B6C-c2DT.cjs} +1 -1
- package/dist/{Arrow-Qayb_B0s.js → Arrow-C8PrFeHS.js} +1 -1
- package/dist/{BaseIcon-BVrsMbvi.cjs → BaseIcon-CdOKZmHr.cjs} +1 -1
- package/dist/{BaseIcon-B8U62FEj.js → BaseIcon-plElWres.js} +1 -1
- package/dist/{DataTable-1PQD-SFb.cjs → DataTable-BmKl4AAb.cjs} +1 -1
- package/dist/{DataTable-C0tCPQ9i.js → DataTable-CKke7C6w.js} +2 -2
- package/dist/{Legend-BJ2Wbqut.cjs → Legend-CY6wjCYY.cjs} +1 -1
- package/dist/{Legend-BTpe6qQB.js → Legend-DMeEvZOT.js} +2 -2
- package/dist/{PackageVersion-BjfedMsH.cjs → PackageVersion-DvDNPRrJ.cjs} +1 -1
- package/dist/{PackageVersion-CENy3Lm2.js → PackageVersion-Rh3rgo6A.js} +1 -1
- package/dist/{PenAndPaper-nqRtAh6J.cjs → PenAndPaper--xHLJRME.cjs} +1 -1
- package/dist/{PenAndPaper-Dr7ndoP_.js → PenAndPaper-DqVsdeLc.js} +3 -3
- package/dist/{Shape-zFv85Gc2.js → Shape-CL3HglYL.js} +1 -1
- package/dist/{Shape-Boa32JEn.cjs → Shape-DEwnzwRB.cjs} +1 -1
- package/dist/{Slicer-D6QLMg5N.cjs → Slicer-CnNbe-dl.cjs} +1 -1
- package/dist/{Slicer-BUYuk07t.js → Slicer-ZryQKOl5.js} +2 -2
- package/dist/{Title-CaET2xuF.js → Title-BU5Aq1_x.js} +1 -1
- package/dist/{Title-DJUxOiaO.cjs → Title-C10173bN.cjs} +1 -1
- package/dist/{Tooltip-C5QuW94e.cjs → Tooltip-CL7aSMgq.cjs} +1 -1
- package/dist/{Tooltip-Bkc4233T.js → Tooltip-Dm-obTbx.js} +1 -1
- package/dist/{index-COIn1phv.cjs → index-1HOIfTy2.cjs} +1 -1
- package/dist/{index-B7nCQFK0.js → index-BG5J_ybN.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CbMuGGl3.cjs → useNestedProp-BFNnjpX-.cjs} +1 -1
- package/dist/{useNestedProp-C9rlBRTT.js → useNestedProp-BN1ZmAKT.js} +1 -1
- package/dist/{usePrinter-CQMn1b4E.js → usePrinter-CWeJt84b.js} +1 -1
- package/dist/{usePrinter-CXXfgFFN.cjs → usePrinter-i-j4CdEi.cjs} +1 -1
- package/dist/{vue-data-ui-Bu_VIHgr.cjs → vue-data-ui-549nX1yu.cjs} +1 -1
- package/dist/{vue-data-ui-BnsKGbqb.js → vue-data-ui-B5u9V9lC.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-V5FBS9MA.js → vue-ui-3d-bar-DBtozgXL.js} +38 -38
- package/dist/{vue-ui-3d-bar-D39F2dKF.cjs → vue-ui-3d-bar-J7LkJgTZ.cjs} +11 -11
- package/dist/{vue-ui-accordion-CGlnNTr8.cjs → vue-ui-accordion-Cd6GaDwU.cjs} +1 -1
- package/dist/{vue-ui-accordion-B8ptB5BQ.js → vue-ui-accordion-JBOceVq2.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Bjp1R8Ku.js → vue-ui-age-pyramid-BIkYjL8e.js} +29 -29
- package/dist/vue-ui-age-pyramid-DeryBRqg.cjs +1 -0
- package/dist/{vue-ui-annotator-V9m5fTGG.js → vue-ui-annotator-Bt90Iec6.js} +1 -1
- package/dist/{vue-ui-annotator-BoWZZRPg.cjs → vue-ui-annotator-Dw8cVACs.cjs} +1 -1
- package/dist/{vue-ui-bullet-DLIxlhFF.cjs → vue-ui-bullet-BMAYQESQ.cjs} +1 -1
- package/dist/{vue-ui-bullet-Bqvb5PV-.js → vue-ui-bullet-DzosZUYl.js} +8 -8
- package/dist/{vue-ui-candlestick-D4BD8LyJ.cjs → vue-ui-candlestick-BaLnAKB9.cjs} +2 -2
- package/dist/{vue-ui-candlestick-DHCtmsh3.js → vue-ui-candlestick-dTATEFOU.js} +48 -48
- package/dist/{vue-ui-carousel-table-VIuoh2QI.cjs → vue-ui-carousel-table-CWNI7Ri5.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Cn2RJkSb.js → vue-ui-carousel-table-rMcj65Bo.js} +4 -4
- package/dist/{vue-ui-chestnut-C5qUO1uK.js → vue-ui-chestnut-B_NLFSaY.js} +29 -29
- package/dist/{vue-ui-chestnut-ClG9HZoC.cjs → vue-ui-chestnut-DjOEVM3w.cjs} +2 -2
- package/dist/{vue-ui-cursor-Bo8et-dD.cjs → vue-ui-cursor-CBUwAZd1.cjs} +1 -1
- package/dist/{vue-ui-cursor-eJau3iyr.js → vue-ui-cursor-CTvVj3YO.js} +2 -2
- package/dist/{vue-ui-dashboard-DnaH9bCw.js → vue-ui-dashboard-CG9J3DLT.js} +2 -2
- package/dist/{vue-ui-dashboard-WJqGQ8iR.cjs → vue-ui-dashboard-DcfhPFVi.cjs} +1 -1
- package/dist/{vue-ui-digits-qIckO4-r.cjs → vue-ui-digits-B8lUQcKK.cjs} +1 -1
- package/dist/{vue-ui-digits-Cqjts2eq.js → vue-ui-digits-CF6qbsmO.js} +2 -2
- package/dist/{vue-ui-donut-pprcnbIw.js → vue-ui-donut-Bbkz0M-R.js} +76 -76
- package/dist/vue-ui-donut-CzmOCuxn.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-EzYvP11F.js → vue-ui-donut-evolution-BkE-sAyn.js} +66 -66
- package/dist/vue-ui-donut-evolution-CjFUAKXU.cjs +1 -0
- package/dist/vue-ui-dumbbell-BiHzKPGP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DaxcxmnU.js → vue-ui-dumbbell-D8JuHhzi.js} +28 -28
- package/dist/vue-ui-flow-CR1Qo5Rt.cjs +1 -0
- package/dist/{vue-ui-flow-DbRgaKBu.js → vue-ui-flow-Cie8iHDK.js} +31 -31
- package/dist/vue-ui-funnel-B8uRuzDx.cjs +1 -0
- package/dist/{vue-ui-funnel-B2del8KB.js → vue-ui-funnel-tW6PGqcE.js} +32 -32
- package/dist/vue-ui-galaxy-BfbYEvnO.cjs +1 -0
- package/dist/{vue-ui-galaxy-pUYeASJf.js → vue-ui-galaxy-p4j0h3ZX.js} +81 -81
- package/dist/{vue-ui-gauge-DpsXpEaW.js → vue-ui-gauge-CtVmazzP.js} +7 -7
- package/dist/{vue-ui-gauge-BOXoAgWk.cjs → vue-ui-gauge-DnTOvr4T.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Bq9uAmqd.cjs → vue-ui-gizmo-BdlVxVqD.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BpYrhkon.js → vue-ui-gizmo-wjZJgWPe.js} +3 -3
- package/dist/{vue-ui-heatmap-Cz6_9Veh.js → vue-ui-heatmap-DJXLmzGL.js} +63 -63
- package/dist/vue-ui-heatmap-Gd3nkwzC.cjs +1 -0
- package/dist/vue-ui-history-plot-CevSrT7E.cjs +1 -0
- package/dist/{vue-ui-history-plot-DAotUjSF.js → vue-ui-history-plot-DJQck-9N.js} +69 -69
- package/dist/{vue-ui-kpi-D6mp6EQ2.cjs → vue-ui-kpi-D8NVXEfO.cjs} +1 -1
- package/dist/{vue-ui-kpi-Ch2p7m-i.js → vue-ui-kpi-MK6JH8yi.js} +3 -3
- package/dist/{vue-ui-mini-loader-E13lmwfO.js → vue-ui-mini-loader-UiC0NYsO.js} +2 -2
- package/dist/{vue-ui-mini-loader-CO-KGVlC.cjs → vue-ui-mini-loader-a8JZaxIy.cjs} +1 -1
- package/dist/vue-ui-molecule-CXgKUNCL.cjs +1 -0
- package/dist/{vue-ui-molecule-C69K6EPO.js → vue-ui-molecule-Cz9zZQ95.js} +155 -155
- package/dist/vue-ui-mood-radar-B-PSds5c.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DDtky572.js → vue-ui-mood-radar-BMMCFkEk.js} +33 -33
- package/dist/{vue-ui-nested-donuts-DMCd6DqT.cjs → vue-ui-nested-donuts-Cdx6UQwF.cjs} +5 -5
- package/dist/{vue-ui-nested-donuts-AYPYIRrE.js → vue-ui-nested-donuts-Da9c-H0Y.js} +147 -147
- package/dist/{vue-ui-onion-Bsa88sKK.js → vue-ui-onion-D1wExDGP.js} +44 -44
- package/dist/{vue-ui-onion-BedLvfFe.cjs → vue-ui-onion-HAS4P8nS.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-KCEb4iRs.js → vue-ui-parallel-coordinate-plot-BH0xKZAE.js} +79 -79
- package/dist/{vue-ui-parallel-coordinate-plot-CSOMIABF.cjs → vue-ui-parallel-coordinate-plot-BYeyzJnE.cjs} +3 -3
- package/dist/{vue-ui-quadrant-Bd_88Eht.js → vue-ui-quadrant-BDkbMaNf.js} +108 -108
- package/dist/vue-ui-quadrant-DbWSZWfP.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CXAYKYHa.js → vue-ui-quick-chart-D3b2YwMY.js} +212 -212
- package/dist/vue-ui-quick-chart-qnbmA75J.cjs +15 -0
- package/dist/{vue-ui-radar-De397oTB.js → vue-ui-radar--Bt67L0i.js} +107 -107
- package/dist/vue-ui-radar-DSZpmaIZ.cjs +1 -0
- package/dist/{vue-ui-rating-wK3_ZWE5.js → vue-ui-rating-Bgr7tvIq.js} +2 -2
- package/dist/{vue-ui-rating-BjiMVoyX.cjs → vue-ui-rating-Z_ANkBeZ.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BEGyr1h-.cjs → vue-ui-relation-circle-3cgv8yC-.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BxlK8MVs.js → vue-ui-relation-circle-B22VP_p1.js} +7 -7
- package/dist/{vue-ui-rings-BcNMBXxq.cjs → vue-ui-rings-DZEwaUv5.cjs} +2 -2
- package/dist/{vue-ui-rings-BXrtMSML.js → vue-ui-rings-DgzfAEvJ.js} +66 -66
- package/dist/{vue-ui-scatter-BWZfLJ9P.js → vue-ui-scatter-BwlbShJE.js} +85 -85
- package/dist/vue-ui-scatter-CSI15Dgp.cjs +1 -0
- package/dist/{vue-ui-screenshot-BJgOwFMW.cjs → vue-ui-screenshot-DK2xyINC.cjs} +1 -1
- package/dist/{vue-ui-screenshot-hw4PC9Uu.js → vue-ui-screenshot-Dk0TqQpi.js} +1 -1
- package/dist/{vue-ui-skeleton-BIqMxXV7.cjs → vue-ui-skeleton-CLiDRcQX.cjs} +1 -1
- package/dist/{vue-ui-skeleton-D66ZIUln.js → vue-ui-skeleton-c211TxZ8.js} +3 -3
- package/dist/{vue-ui-smiley-Duy5Xo-j.cjs → vue-ui-smiley-Kr6bQ-7L.cjs} +1 -1
- package/dist/{vue-ui-smiley-DWPYdcDB.js → vue-ui-smiley-hIooew3m.js} +2 -2
- package/dist/{vue-ui-spark-trend-Ce4IaqPz.js → vue-ui-spark-trend-CgpDYM8f.js} +5 -5
- package/dist/{vue-ui-spark-trend-DP5foaNi.cjs → vue-ui-spark-trend-SVqMwS1X.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bbns4V16.cjs → vue-ui-sparkbar-DY1J0X8K.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Fa-Kc9Fr.js → vue-ui-sparkbar-D_HgtfBM.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BrLrvNLH.cjs → vue-ui-sparkgauge-C4p0nAHp.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DUWcJ7cM.js → vue-ui-sparkgauge-jO5jKAyz.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-PgC-c-5a.js → vue-ui-sparkhistogram-BpQfz14e.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-B0rhs_UN.cjs → vue-ui-sparkhistogram-gSNvSVcP.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BqNlrKjb.js → vue-ui-sparkline-BTgaJjMj.js} +4 -4
- package/dist/{vue-ui-sparkline-c5Awoj8J.cjs → vue-ui-sparkline-D53BDGCi.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DyJIUulr.js → vue-ui-sparkstackbar-COm1EqFN.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BmYIcpVZ.cjs → vue-ui-sparkstackbar-DcEhBuvP.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BebRtOYL.js → vue-ui-stackbar-BHyysJyj.js} +51 -51
- package/dist/{vue-ui-stackbar-DJ9NH_l1.cjs → vue-ui-stackbar-D4-vrvMz.cjs} +3 -3
- package/dist/{vue-ui-strip-plot-BGHj1BHd.js → vue-ui-strip-plot-BOLWDlTl.js} +118 -118
- package/dist/vue-ui-strip-plot-iUjpocRA.cjs +1 -0
- package/dist/{vue-ui-table-BFdGppRF.cjs → vue-ui-table-DG3-RAEv.cjs} +1 -1
- package/dist/{vue-ui-table-ClPMKcMn.js → vue-ui-table-XThR7HtD.js} +1 -1
- package/dist/{vue-ui-table-heatmap-B7wTjM-H.cjs → vue-ui-table-heatmap-B82Dmfv2.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DVQtPt-M.js → vue-ui-table-heatmap-DxWQ3cdf.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DjxKXWQm.js → vue-ui-table-sparkline-BIQAc-eX.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DaKODjfM.cjs → vue-ui-table-sparkline-C3JrSwmi.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CV_9k37V.js → vue-ui-thermometer-Ci0OBAEN.js} +7 -7
- package/dist/{vue-ui-thermometer-DE9r0emf.cjs → vue-ui-thermometer-t1cul6jD.cjs} +1 -1
- package/dist/{vue-ui-timer-Ct-KYWSX.cjs → vue-ui-timer-BLqulQx5.cjs} +1 -1
- package/dist/{vue-ui-timer-2w5Ayq7G.js → vue-ui-timer-CwJoQApu.js} +5 -5
- package/dist/{vue-ui-tiremarks-BJnh0GBj.js → vue-ui-tiremarks-CFVl_w7d.js} +7 -7
- package/dist/{vue-ui-tiremarks-Cf04zARl.cjs → vue-ui-tiremarks-_d9WOe-N.cjs} +1 -1
- package/dist/vue-ui-treemap-BaQFfbqL.cjs +1 -0
- package/dist/{vue-ui-treemap-BD546LBi.js → vue-ui-treemap-BtjPxOzu.js} +108 -108
- package/dist/{vue-ui-vertical-bar-D3QKHHnS.cjs → vue-ui-vertical-bar-BcjM9qCI.cjs} +3 -3
- package/dist/{vue-ui-vertical-bar-E5CTb1Bd.js → vue-ui-vertical-bar-xnQDjCLE.js} +54 -54
- package/dist/{vue-ui-waffle-BAJIMbZK.js → vue-ui-waffle-BMFtG4mh.js} +99 -99
- package/dist/vue-ui-waffle-DGarEDP5.cjs +1 -0
- package/dist/{vue-ui-wheel-CPPLUSFq.js → vue-ui-wheel-DIr8JQt0.js} +7 -7
- package/dist/{vue-ui-wheel-Dy_B7BTG.cjs → vue-ui-wheel-DLFWUmdm.cjs} +1 -1
- package/dist/vue-ui-word-cloud-CDQ4rkP-.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BVZcDY7m.js → vue-ui-word-cloud-CrSkUMkN.js} +81 -81
- package/dist/{vue-ui-xy-tB-6IP2y.js → vue-ui-xy-DPT3SYuU.js} +815 -818
- package/dist/vue-ui-xy-DfnDyl8o.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-DFUfTZwz.js → vue-ui-xy-canvas-C3iMSkvP.js} +35 -35
- package/dist/{vue-ui-xy-canvas-BSZTrqci.cjs → vue-ui-xy-canvas-DEyhDtC-.cjs} +3 -3
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-BdseHKUc.cjs +0 -1
- package/dist/vue-ui-donut-BP7yj2DU.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Cz8uFJp8.cjs +0 -1
- package/dist/vue-ui-dumbbell-CYqHCr2S.cjs +0 -9
- package/dist/vue-ui-flow-HeRCplGL.cjs +0 -1
- package/dist/vue-ui-funnel-DxniWNkD.cjs +0 -1
- package/dist/vue-ui-galaxy-BDA64dud.cjs +0 -1
- package/dist/vue-ui-heatmap-CbKgGLtN.cjs +0 -1
- package/dist/vue-ui-history-plot-BoMdvItE.cjs +0 -1
- package/dist/vue-ui-molecule-CeoDnPXB.cjs +0 -1
- package/dist/vue-ui-mood-radar-BwOqQUuT.cjs +0 -1
- package/dist/vue-ui-quadrant-BXQVOvpY.cjs +0 -1
- package/dist/vue-ui-quick-chart-dLItYwM_.cjs +0 -15
- package/dist/vue-ui-radar-BuNtocmn.cjs +0 -1
- package/dist/vue-ui-scatter-DTy3yPVu.cjs +0 -1
- package/dist/vue-ui-strip-plot-f7vejZht.cjs +0 -1
- package/dist/vue-ui-treemap-D0vi4bv4.cjs +0 -1
- package/dist/vue-ui-waffle-BL0e3Yeq.cjs +0 -1
- package/dist/vue-ui-word-cloud-BPoAoeWZ.cjs +0 -1
- package/dist/vue-ui-xy-D4hRtHAi.cjs +0 -3
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as it, c as dt, t as ct, a as vt, p as j, o as ht, e as M, b as ft, J as Ee, d as yt, m as Re, f as C, X as pt, s as Ge, L as bt, k as U, n as de, i as G, x as Ye, y as gt, q as mt, r as kt } from "./index-
|
|
1
|
+
import { computed as m, ref as i, watch as Ue, onMounted as at, onBeforeUnmount as ot, openBlock as u, createElementBlock as n, normalizeClass as P, normalizeStyle as Q, unref as r, createBlock as D, createCommentVNode as h, createSlots as st, withCtx as k, renderSlot as w, normalizeProps as E, guardReactiveProps as R, createVNode as Be, createElementVNode as b, Fragment as _, renderList as F, toDisplayString as N, createTextVNode as Z, nextTick as ut, pushScopeId as nt, popScopeId as rt } from "vue";
|
|
2
|
+
import { u as it, c as dt, t as ct, a as vt, p as j, o as ht, e as M, b as ft, J as Ee, d as yt, m as Re, f as C, X as pt, s as Ge, L as bt, k as U, n as de, i as G, x as Ye, y as gt, q as mt, r as kt } from "./index-BG5J_ybN.js";
|
|
3
3
|
import { t as wt, u as $t } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as Lt } from "./Title-
|
|
5
|
-
import { u as _t, U as Ct } from "./usePrinter-
|
|
6
|
-
import { D as xt } from "./DataTable-
|
|
7
|
-
import { _ as
|
|
8
|
-
import { L as
|
|
9
|
-
import St from "./vue-ui-skeleton-
|
|
10
|
-
import Nt from "./vue-ui-accordion-
|
|
11
|
-
import { u as Xe } from "./useNestedProp-
|
|
12
|
-
import { _ as Ot } from "./PackageVersion-
|
|
13
|
-
import { P as It } from "./PenAndPaper-
|
|
4
|
+
import { _ as Lt } from "./Title-BU5Aq1_x.js";
|
|
5
|
+
import { u as _t, U as Ct } from "./usePrinter-CWeJt84b.js";
|
|
6
|
+
import { D as xt } from "./DataTable-CKke7C6w.js";
|
|
7
|
+
import { _ as Tt } from "./Tooltip-Dm-obTbx.js";
|
|
8
|
+
import { L as Ft } from "./Legend-DMeEvZOT.js";
|
|
9
|
+
import St from "./vue-ui-skeleton-c211TxZ8.js";
|
|
10
|
+
import Nt from "./vue-ui-accordion-JBOceVq2.js";
|
|
11
|
+
import { u as Xe } from "./useNestedProp-BN1ZmAKT.js";
|
|
12
|
+
import { _ as Ot } from "./PackageVersion-Rh3rgo6A.js";
|
|
13
|
+
import { P as It } from "./PenAndPaper-DqVsdeLc.js";
|
|
14
14
|
import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const ce = (B) => (nt("data-v-
|
|
16
|
+
const ce = (B) => (nt("data-v-847f409d"), B = B(), rt(), B), Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["id"], Ut = /* @__PURE__ */ ce(() => /* @__PURE__ */ b("stop", {
|
|
17
17
|
offset: "0%",
|
|
18
18
|
"stop-color": "#FFFFFF",
|
|
19
19
|
"stop-opacity": "0"
|
|
20
|
-
}, null, -1)), Bt = ["offset", "stop-color"], Et = ["offset", "stop-opacity"], Rt = /* @__PURE__ */ ce(() => /* @__PURE__ */
|
|
20
|
+
}, null, -1)), Bt = ["offset", "stop-color"], Et = ["offset", "stop-opacity"], Rt = /* @__PURE__ */ ce(() => /* @__PURE__ */ b("stop", {
|
|
21
21
|
offset: "100%",
|
|
22
22
|
"stop-color": "#FFFFFF",
|
|
23
23
|
"stop-opacity": "0"
|
|
24
|
-
}, null, -1)), Gt = ["id"], Yt = ["id"], Xt = /* @__PURE__ */ ce(() => /* @__PURE__ */
|
|
24
|
+
}, null, -1)), Gt = ["id"], Yt = ["id"], Xt = /* @__PURE__ */ ce(() => /* @__PURE__ */ b("feColorMatrix", {
|
|
25
25
|
type: "saturate",
|
|
26
26
|
values: "0"
|
|
27
27
|
}, null, -1)), Ht = ["id"], Wt = ["flood-color"], qt = ["d", "fill", "stroke", "stroke-width", "filter"], Jt = { key: 1 }, Kt = ["d", "fill"], Qt = { key: 2 }, Zt = ["x", "y", "font-size", "font-weight", "fill"], jt = { key: 3 }, el = ["filter"], tl = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], ll = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], al = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], ol = ["d", "fill", "onMouseenter", "onClick"], sl = {
|
|
@@ -48,11 +48,11 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
48
48
|
},
|
|
49
49
|
emits: ["selectLegend", "selectDatapoint"],
|
|
50
50
|
setup(B, { expose: He, emit: ve }) {
|
|
51
|
-
const O = B, { vue_ui_nested_donuts: We } = it(), Y =
|
|
51
|
+
const O = B, { vue_ui_nested_donuts: We } = it(), Y = m(() => !!O.dataset && O.dataset.length), $ = i(dt()), ee = i(!1), te = i(""), qe = i(null), he = i(0), z = i(null), fe = i(null), le = i(null), ye = i(null), pe = i(null), be = i(0), ge = i(0), me = i(0), V = i(!1);
|
|
52
52
|
function Je(t) {
|
|
53
53
|
V.value = t, he.value += 1;
|
|
54
54
|
}
|
|
55
|
-
const e =
|
|
55
|
+
const e = m({
|
|
56
56
|
get: () => $e(),
|
|
57
57
|
set: (t) => t
|
|
58
58
|
}), { userOptionsVisible: ae, setUserOptionsVisibility: ke, keepUserOptionState: we } = At({ config: e.value });
|
|
@@ -70,7 +70,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
70
70
|
} : t;
|
|
71
71
|
}
|
|
72
72
|
Ue(() => O.config, (t) => {
|
|
73
|
-
e.value = $e(), ae.value = !e.value.showOnChartHover, Le(), be.value += 1, ge.value += 1, me.value += 1;
|
|
73
|
+
e.value = $e(), ae.value = !e.value.showOnChartHover, Le(), be.value += 1, ge.value += 1, me.value += 1, y.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, y.value.showTable = e.value.table.show, y.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
74
74
|
}, { deep: !0 });
|
|
75
75
|
const X = i(null);
|
|
76
76
|
at(() => {
|
|
@@ -99,10 +99,10 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
99
99
|
ot(() => {
|
|
100
100
|
X.value && X.value.disconnect();
|
|
101
101
|
});
|
|
102
|
-
const { isPrinting: _e, isImaging: Ce, generatePdf: xe, generateImage:
|
|
103
|
-
elementId: `nested_donuts_${
|
|
102
|
+
const { isPrinting: _e, isImaging: Ce, generatePdf: xe, generateImage: Te } = _t({
|
|
103
|
+
elementId: `nested_donuts_${$.value}`,
|
|
104
104
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
105
|
-
}), Ke =
|
|
105
|
+
}), Ke = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = m(() => ft(e.value.customPalette)), y = i({
|
|
106
106
|
dataLabels: {
|
|
107
107
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
108
108
|
},
|
|
@@ -115,7 +115,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
115
115
|
function Ze({ datapoint: t, index: s }) {
|
|
116
116
|
ve("selectDatapoint", { datapoint: t, index: s });
|
|
117
117
|
}
|
|
118
|
-
const
|
|
118
|
+
const p = i([]), x = m(() => (O.dataset.forEach((t, s) => {
|
|
119
119
|
[null, void 0].includes(t.name) && M({
|
|
120
120
|
componentName: "VueUiNestedDonuts",
|
|
121
121
|
type: "datasetSerieAttribute",
|
|
@@ -147,26 +147,26 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
147
147
|
});
|
|
148
148
|
}), O.dataset.map((t, s) => ({
|
|
149
149
|
...t,
|
|
150
|
-
total: t.series.filter((a) => !
|
|
150
|
+
total: t.series.filter((a) => !p.value.includes(a.id)).map((a) => Ee(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
|
|
151
151
|
datasetIndex: s,
|
|
152
|
-
id: `${
|
|
152
|
+
id: `${$.value}_${s}`,
|
|
153
153
|
series: t.series.map((a, o) => ({
|
|
154
154
|
name: a.name,
|
|
155
155
|
arcOf: t.name,
|
|
156
|
-
arcOfId: `${
|
|
157
|
-
id: `${
|
|
156
|
+
arcOfId: `${$.value}_${s}`,
|
|
157
|
+
id: `${$.value}_${s}_${o}`,
|
|
158
158
|
seriesIndex: o,
|
|
159
159
|
datasetIndex: s,
|
|
160
160
|
color: yt(a.color) || Qe.value[o] || j[o] || j[o % j.length],
|
|
161
161
|
value: Ee(a.values).reduce((l, d) => l + d, 0),
|
|
162
162
|
absoluteValues: a.values || []
|
|
163
163
|
}))
|
|
164
|
-
})))),
|
|
165
|
-
const a = t.series.filter((o) => !
|
|
164
|
+
})))), T = m(() => Math.min(v.value.height, v.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), Fe = m(() => [...x.value].map((t, s) => {
|
|
165
|
+
const a = t.series.filter((o) => !p.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
|
|
166
166
|
return {
|
|
167
167
|
...t,
|
|
168
168
|
total: a,
|
|
169
|
-
series: t.series.filter((o) => !
|
|
169
|
+
series: t.series.filter((o) => !p.value.includes(o.id)).map((o) => ({
|
|
170
170
|
...o,
|
|
171
171
|
proportion: o.value / a
|
|
172
172
|
}))
|
|
@@ -178,15 +178,15 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
178
178
|
a.includes(t[l]) && (o += 1);
|
|
179
179
|
return o < s;
|
|
180
180
|
}
|
|
181
|
-
const f = i(
|
|
182
|
-
Ue(() =>
|
|
181
|
+
const f = i(Fe.value);
|
|
182
|
+
Ue(() => Fe.value, (t) => f.value = t);
|
|
183
183
|
const Se = i(null), Ne = i(null);
|
|
184
184
|
function oe(t) {
|
|
185
185
|
ve("selectLegend", t);
|
|
186
186
|
const s = x.value.flatMap((c) => c.series).find((c) => c.id === t.id), a = f.value.flatMap((c) => c.series).find((c) => c.id === t.id);
|
|
187
187
|
let l = a ? a.value : 0;
|
|
188
|
-
const d = x.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id),
|
|
189
|
-
if (
|
|
188
|
+
const d = x.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), g = je(d, d.length - 1, p.value);
|
|
189
|
+
if (p.value.includes(t.id)) {
|
|
190
190
|
let c = function() {
|
|
191
191
|
l > s.value ? (cancelAnimationFrame(Se.value), f.value = f.value.map((L) => ({
|
|
192
192
|
...L,
|
|
@@ -202,10 +202,10 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
202
202
|
} : S)
|
|
203
203
|
})), Se.value = requestAnimationFrame(c));
|
|
204
204
|
};
|
|
205
|
-
|
|
206
|
-
} else if (
|
|
205
|
+
p.value = p.value.filter((L) => L !== t.id), c();
|
|
206
|
+
} else if (g) {
|
|
207
207
|
let c = function() {
|
|
208
|
-
l < 0.1 ? (cancelAnimationFrame(Ne.value),
|
|
208
|
+
l < 0.1 ? (cancelAnimationFrame(Ne.value), p.value.push(t.id), f.value = f.value.map((L, S) => ({
|
|
209
209
|
...L,
|
|
210
210
|
series: L.series.map((A) => A.id === t.id ? {
|
|
211
211
|
...A,
|
|
@@ -222,17 +222,17 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
222
222
|
c();
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
const se =
|
|
226
|
-
const a = s *
|
|
225
|
+
const se = m(() => T.value / x.value.length * e.value.style.chart.layout.donut.spacingRatio), Oe = m(() => f.value.map((t, s) => T.value - s * T.value / x.value.length)), H = m(() => f.value.map((t, s) => {
|
|
226
|
+
const a = s * T.value / x.value.length;
|
|
227
227
|
return {
|
|
228
228
|
...t,
|
|
229
|
-
radius:
|
|
229
|
+
radius: T.value - a,
|
|
230
230
|
donut: Re(
|
|
231
231
|
{ series: t.series },
|
|
232
232
|
v.value.width / 2,
|
|
233
233
|
v.value.height / 2,
|
|
234
|
-
|
|
235
|
-
|
|
234
|
+
T.value - a,
|
|
235
|
+
T.value - a,
|
|
236
236
|
1.99999,
|
|
237
237
|
2,
|
|
238
238
|
1,
|
|
@@ -241,22 +241,22 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
241
241
|
se.value
|
|
242
242
|
)
|
|
243
243
|
};
|
|
244
|
-
})), Ie =
|
|
245
|
-
const a = s *
|
|
244
|
+
})), Ie = m(() => [...x.value].map((t, s) => {
|
|
245
|
+
const a = s * T.value / x.value.length;
|
|
246
246
|
return {
|
|
247
247
|
sizeRatio: a,
|
|
248
248
|
donut: Re(
|
|
249
249
|
{ series: [{ value: 1 }] },
|
|
250
250
|
v.value.width / 2,
|
|
251
251
|
v.value.height / 2,
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
T.value - a,
|
|
253
|
+
T.value - a,
|
|
254
254
|
1.99999,
|
|
255
255
|
2,
|
|
256
256
|
1,
|
|
257
257
|
360,
|
|
258
258
|
105.25,
|
|
259
|
-
|
|
259
|
+
T.value / x.value.length * e.value.style.chart.layout.donut.spacingRatio
|
|
260
260
|
)[0]
|
|
261
261
|
};
|
|
262
262
|
})), Ae = i(null), W = i(null), q = i(null), ue = i(null);
|
|
@@ -282,18 +282,18 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
282
282
|
});
|
|
283
283
|
else {
|
|
284
284
|
let l = "";
|
|
285
|
-
if (e.value.style.chart.tooltip.showAllItemsAtIndex &&
|
|
286
|
-
const d = f.value.map((
|
|
287
|
-
d.forEach((
|
|
288
|
-
if (!
|
|
285
|
+
if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0) {
|
|
286
|
+
const d = f.value.map((g) => g.series.find((c) => c.seriesIndex === a));
|
|
287
|
+
d.forEach((g, c) => {
|
|
288
|
+
if (!g) return "";
|
|
289
289
|
l += `
|
|
290
290
|
<div style="display:flex; flex-direction: column; justify-content:flex-start; align-items:flex-start;padding:6px 0; ${c < d.length - 1 ? `border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor}` : ""}">
|
|
291
291
|
<div style="display:flex; flex-direction: row; gap: 3px; justify-content:flex-start; align-items:center;">
|
|
292
292
|
<svg viewBox="0 0 20 20" height="${e.value.style.chart.tooltip.fontSize}" width="${e.value.style.chart.tooltip.fontSize}">
|
|
293
|
-
<circle cx="10" cy="10" r="10" fill="${
|
|
293
|
+
<circle cx="10" cy="10" r="10" fill="${g.color}"/>
|
|
294
294
|
</svg>
|
|
295
295
|
<span>
|
|
296
|
-
${
|
|
296
|
+
${g.arcOf ?? ""} - ${g.name}
|
|
297
297
|
</span>
|
|
298
298
|
</div>
|
|
299
299
|
<span>
|
|
@@ -310,7 +310,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
310
310
|
)}
|
|
311
311
|
</b>` : ""}
|
|
312
312
|
${e.value.style.chart.tooltip.showPercentage ? `(${C({
|
|
313
|
-
v:
|
|
313
|
+
v: g.proportion * 100,
|
|
314
314
|
s: "%",
|
|
315
315
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
316
316
|
})})` : ""}
|
|
@@ -348,12 +348,12 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
348
348
|
function Pe(t, s) {
|
|
349
349
|
if (!e.value.useBlurOnHover)
|
|
350
350
|
return "";
|
|
351
|
-
if (e.value.style.chart.tooltip.showAllItemsAtIndex &&
|
|
352
|
-
return [null, void 0].includes(q.value) || q.value === s ? "" : `url(#blur_${
|
|
353
|
-
if (!e.value.style.chart.tooltip.showAllItemsAtIndex ||
|
|
354
|
-
return [null, void 0].includes(W.value) || W.value === t.id ? "" : `url(#blur_${
|
|
351
|
+
if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0)
|
|
352
|
+
return [null, void 0].includes(q.value) || q.value === s ? "" : `url(#blur_${$.value})`;
|
|
353
|
+
if (!e.value.style.chart.tooltip.showAllItemsAtIndex || p.value.length)
|
|
354
|
+
return [null, void 0].includes(W.value) || W.value === t.id ? "" : `url(#blur_${$.value})`;
|
|
355
355
|
}
|
|
356
|
-
const re =
|
|
356
|
+
const re = m(() => x.value.map((t, s) => t.series.map((a, o) => ({
|
|
357
357
|
name: a.name,
|
|
358
358
|
color: a.color,
|
|
359
359
|
value: a.value,
|
|
@@ -362,20 +362,20 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
362
362
|
id: a.id,
|
|
363
363
|
seriesIndex: o,
|
|
364
364
|
datasetIndex: s,
|
|
365
|
-
total: t.series.filter((l) => !
|
|
365
|
+
total: t.series.filter((l) => !p.value.includes(l.id)).map((l) => l.value).reduce((l, d) => l + d, 0)
|
|
366
366
|
})).map((a) => ({
|
|
367
367
|
...a,
|
|
368
|
-
opacity:
|
|
368
|
+
opacity: p.value.includes(a.id) ? 0.5 : 1,
|
|
369
369
|
segregate: () => oe(a),
|
|
370
|
-
isSegregated:
|
|
371
|
-
})))), tt =
|
|
370
|
+
isSegregated: p.value.includes(a.id)
|
|
371
|
+
})))), tt = m(() => ({
|
|
372
372
|
cy: "nested-donuts-legend",
|
|
373
373
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
374
374
|
color: e.value.style.chart.legend.color,
|
|
375
375
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
376
376
|
paddingBottom: 12,
|
|
377
377
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
378
|
-
})), I =
|
|
378
|
+
})), I = m(() => {
|
|
379
379
|
const t = f.value.flatMap((a) => a.series.map((o) => ({
|
|
380
380
|
name: `${a.name} - ${o.name}`,
|
|
381
381
|
color: o.color,
|
|
@@ -391,19 +391,19 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
391
391
|
kt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
|
|
392
392
|
});
|
|
393
393
|
}
|
|
394
|
-
const J =
|
|
394
|
+
const J = m(() => {
|
|
395
395
|
const t = [
|
|
396
396
|
e.value.table.columnNames.series,
|
|
397
397
|
e.value.table.columnNames.value,
|
|
398
398
|
e.value.table.columnNames.percentage
|
|
399
399
|
], s = I.value.head.map((l, d) => {
|
|
400
|
-
const
|
|
400
|
+
const g = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: I.value.body[d], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
401
401
|
return [
|
|
402
402
|
{
|
|
403
403
|
color: l.color,
|
|
404
404
|
name: l.name
|
|
405
405
|
},
|
|
406
|
-
|
|
406
|
+
g,
|
|
407
407
|
isNaN(I.value.body[d] / l.total) ? "-" : C({
|
|
408
408
|
v: I.value.body[d] / l.total * 100,
|
|
409
409
|
s: "%",
|
|
@@ -438,13 +438,13 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
438
438
|
return x.value;
|
|
439
439
|
}
|
|
440
440
|
function ze() {
|
|
441
|
-
|
|
441
|
+
y.value.showTable = !y.value.showTable;
|
|
442
442
|
}
|
|
443
443
|
function Ve() {
|
|
444
|
-
|
|
444
|
+
y.value.dataLabels.show = !y.value.dataLabels.show;
|
|
445
445
|
}
|
|
446
446
|
function Me() {
|
|
447
|
-
|
|
447
|
+
y.value.showTooltip = !y.value.showTooltip;
|
|
448
448
|
}
|
|
449
449
|
const K = i(!1);
|
|
450
450
|
function ie() {
|
|
@@ -454,7 +454,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
454
454
|
getData: lt,
|
|
455
455
|
generatePdf: xe,
|
|
456
456
|
generateCsv: De,
|
|
457
|
-
generateImage:
|
|
457
|
+
generateImage: Te,
|
|
458
458
|
toggleTable: ze,
|
|
459
459
|
toggleLabels: Ve,
|
|
460
460
|
toggleTooltip: Me,
|
|
@@ -464,7 +464,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
464
464
|
ref: z,
|
|
465
465
|
class: P(`vue-ui-nested-donuts ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
466
466
|
style: Q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
467
|
-
id: `nested_donuts_${
|
|
467
|
+
id: `nested_donuts_${$.value}`,
|
|
468
468
|
onMouseenter: s[3] || (s[3] = () => r(ke)(!0)),
|
|
469
469
|
onMouseleave: s[4] || (s[4] = () => r(ke)(!1))
|
|
470
470
|
}, [
|
|
@@ -509,7 +509,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
509
509
|
color: e.value.style.chart.color,
|
|
510
510
|
isPrinting: r(_e),
|
|
511
511
|
isImaging: r(Ce),
|
|
512
|
-
uid:
|
|
512
|
+
uid: $.value,
|
|
513
513
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
514
514
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
515
515
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -518,7 +518,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
518
518
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
519
519
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
520
520
|
isFullscreen: V.value,
|
|
521
|
-
isTooltip:
|
|
521
|
+
isTooltip: y.value.showTooltip,
|
|
522
522
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
523
523
|
chartElement: z.value,
|
|
524
524
|
position: e.value.userOptions.position,
|
|
@@ -527,7 +527,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
527
527
|
onToggleFullscreen: Je,
|
|
528
528
|
onGeneratePdf: r(xe),
|
|
529
529
|
onGenerateCsv: De,
|
|
530
|
-
onGenerateImage: r(
|
|
530
|
+
onGenerateImage: r(Te),
|
|
531
531
|
onToggleTable: ze,
|
|
532
532
|
onToggleLabels: Ve,
|
|
533
533
|
onToggleTooltip: Me,
|
|
@@ -538,57 +538,57 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
538
538
|
}, st({ _: 2 }, [
|
|
539
539
|
t.$slots.optionTooltip ? {
|
|
540
540
|
name: "optionTooltip",
|
|
541
|
-
fn:
|
|
542
|
-
|
|
541
|
+
fn: k(() => [
|
|
542
|
+
w(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
543
543
|
]),
|
|
544
544
|
key: "0"
|
|
545
545
|
} : void 0,
|
|
546
546
|
t.$slots.optionPdf ? {
|
|
547
547
|
name: "optionPdf",
|
|
548
|
-
fn:
|
|
549
|
-
|
|
548
|
+
fn: k(() => [
|
|
549
|
+
w(t.$slots, "optionPdf", {}, void 0, !0)
|
|
550
550
|
]),
|
|
551
551
|
key: "1"
|
|
552
552
|
} : void 0,
|
|
553
553
|
t.$slots.optionCsv ? {
|
|
554
554
|
name: "optionCsv",
|
|
555
|
-
fn:
|
|
556
|
-
|
|
555
|
+
fn: k(() => [
|
|
556
|
+
w(t.$slots, "optionCsv", {}, void 0, !0)
|
|
557
557
|
]),
|
|
558
558
|
key: "2"
|
|
559
559
|
} : void 0,
|
|
560
560
|
t.$slots.optionImg ? {
|
|
561
561
|
name: "optionImg",
|
|
562
|
-
fn:
|
|
563
|
-
|
|
562
|
+
fn: k(() => [
|
|
563
|
+
w(t.$slots, "optionImg", {}, void 0, !0)
|
|
564
564
|
]),
|
|
565
565
|
key: "3"
|
|
566
566
|
} : void 0,
|
|
567
567
|
t.$slots.optionTable ? {
|
|
568
568
|
name: "optionTable",
|
|
569
|
-
fn:
|
|
570
|
-
|
|
569
|
+
fn: k(() => [
|
|
570
|
+
w(t.$slots, "optionTable", {}, void 0, !0)
|
|
571
571
|
]),
|
|
572
572
|
key: "4"
|
|
573
573
|
} : void 0,
|
|
574
574
|
t.$slots.optionLabels ? {
|
|
575
575
|
name: "optionLabels",
|
|
576
|
-
fn:
|
|
577
|
-
|
|
576
|
+
fn: k(() => [
|
|
577
|
+
w(t.$slots, "optionLabels", {}, void 0, !0)
|
|
578
578
|
]),
|
|
579
579
|
key: "5"
|
|
580
580
|
} : void 0,
|
|
581
581
|
t.$slots.optionFullscreen ? {
|
|
582
582
|
name: "optionFullscreen",
|
|
583
|
-
fn:
|
|
584
|
-
|
|
583
|
+
fn: k(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
584
|
+
w(t.$slots, "optionFullscreen", E(R({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
585
585
|
]),
|
|
586
586
|
key: "6"
|
|
587
587
|
} : void 0,
|
|
588
588
|
t.$slots.optionAnnotator ? {
|
|
589
589
|
name: "optionAnnotator",
|
|
590
|
-
fn:
|
|
591
|
-
|
|
590
|
+
fn: k(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
591
|
+
w(t.$slots, "optionAnnotator", E(R({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
592
592
|
]),
|
|
593
593
|
key: "7"
|
|
594
594
|
} : void 0
|
|
@@ -611,19 +611,19 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
611
611
|
pointerEvents: "none"
|
|
612
612
|
}
|
|
613
613
|
}, [
|
|
614
|
-
|
|
614
|
+
w(t.$slots, "chart-background", {}, void 0, !0)
|
|
615
615
|
], 8, Vt)) : h("", !0),
|
|
616
|
-
|
|
617
|
-
(u(!0), n(_, null,
|
|
618
|
-
id: `radial_${
|
|
616
|
+
b("defs", null, [
|
|
617
|
+
(u(!0), n(_, null, F(Ie.value, (a, o) => (u(), n("radialGradient", {
|
|
618
|
+
id: `radial_${$.value}_${o}`
|
|
619
619
|
}, [
|
|
620
620
|
Ut,
|
|
621
|
-
|
|
621
|
+
b("stop", {
|
|
622
622
|
offset: `${(1 - se.value / Oe.value[o]) * 100}%`,
|
|
623
623
|
"stop-color": r(Ge)("#FFFFFF", 0),
|
|
624
624
|
"stop-opacity": "0"
|
|
625
625
|
}, null, 8, Bt),
|
|
626
|
-
|
|
626
|
+
b("stop", {
|
|
627
627
|
offset: `${(1 - se.value / Oe.value[o] / 2) * 100}%`,
|
|
628
628
|
"stop-color": "#FFFFFF",
|
|
629
629
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
@@ -631,26 +631,26 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
631
631
|
Rt
|
|
632
632
|
], 8, Mt))), 256))
|
|
633
633
|
]),
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
id: `blur_${
|
|
634
|
+
b("defs", null, [
|
|
635
|
+
b("filter", {
|
|
636
|
+
id: `blur_${$.value}`,
|
|
637
637
|
x: "-50%",
|
|
638
638
|
y: "-50%",
|
|
639
639
|
width: "200%",
|
|
640
640
|
height: "200%"
|
|
641
641
|
}, [
|
|
642
|
-
|
|
642
|
+
b("feGaussianBlur", {
|
|
643
643
|
in: "SourceGraphic",
|
|
644
644
|
stdDeviation: 2,
|
|
645
|
-
id: `blur_std_${
|
|
645
|
+
id: `blur_std_${$.value}`
|
|
646
646
|
}, null, 8, Yt),
|
|
647
647
|
Xt
|
|
648
648
|
], 8, Gt),
|
|
649
|
-
|
|
650
|
-
id: `shadow_${
|
|
649
|
+
b("filter", {
|
|
650
|
+
id: `shadow_${$.value}`,
|
|
651
651
|
"color-interpolation-filters": "sRGB"
|
|
652
652
|
}, [
|
|
653
|
-
|
|
653
|
+
b("feDropShadow", {
|
|
654
654
|
dx: "0",
|
|
655
655
|
dy: "0",
|
|
656
656
|
stdDeviation: "10",
|
|
@@ -659,9 +659,9 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
659
659
|
}, null, 8, Wt)
|
|
660
660
|
], 8, Ht)
|
|
661
661
|
]),
|
|
662
|
-
(u(!0), n(_, null,
|
|
663
|
-
(u(!0), n(_, null,
|
|
664
|
-
|
|
662
|
+
(u(!0), n(_, null, F(H.value, (a, o) => (u(), n("g", null, [
|
|
663
|
+
(u(!0), n(_, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
664
|
+
b("path", {
|
|
665
665
|
class: "vue-ui-donut-arc-path",
|
|
666
666
|
d: l.arcSlice,
|
|
667
667
|
fill: r(Ge)(l.color, 80),
|
|
@@ -672,18 +672,18 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
672
672
|
]))), 256))
|
|
673
673
|
]))), 256)),
|
|
674
674
|
e.value.style.chart.useGradient ? (u(), n("g", Jt, [
|
|
675
|
-
(u(!0), n(_, null,
|
|
676
|
-
|
|
675
|
+
(u(!0), n(_, null, F(Ie.value, (a, o) => (u(), n("g", null, [
|
|
676
|
+
b("path", {
|
|
677
677
|
d: a.donut.arcSlice,
|
|
678
|
-
fill: `url(#radial_${
|
|
678
|
+
fill: `url(#radial_${$.value}_${o})`,
|
|
679
679
|
stroke: "transparent",
|
|
680
680
|
"stroke-width": "0"
|
|
681
681
|
}, null, 8, Kt)
|
|
682
682
|
]))), 256))
|
|
683
683
|
])) : h("", !0),
|
|
684
684
|
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Qt, [
|
|
685
|
-
(u(!0), n(_, null,
|
|
686
|
-
(u(!0), n(_, null,
|
|
685
|
+
(u(!0), n(_, null, F(H.value, (a, o) => (u(), n("g", null, [
|
|
686
|
+
(u(!0), n(_, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
687
687
|
d === 0 && v.value.width && v.value.height ? (u(), n("text", {
|
|
688
688
|
key: 0,
|
|
689
689
|
class: P({ animated: e.value.useCssAnimation }),
|
|
@@ -698,11 +698,11 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
698
698
|
]))), 256))
|
|
699
699
|
])) : h("", !0),
|
|
700
700
|
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", jt, [
|
|
701
|
-
(u(!0), n(_, null,
|
|
702
|
-
(u(!0), n(_, null,
|
|
701
|
+
(u(!0), n(_, null, F(H.value, (a, o) => (u(), n("g", null, [
|
|
702
|
+
(u(!0), n(_, null, F(a.donut, (l, d) => (u(), n("g", {
|
|
703
703
|
filter: Pe(l, d)
|
|
704
704
|
}, [
|
|
705
|
-
ne(l) &&
|
|
705
|
+
ne(l) && y.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
|
|
706
706
|
key: 0,
|
|
707
707
|
class: P({ animated: e.value.useCssAnimation }),
|
|
708
708
|
"text-anchor": r(U)(l, !0).anchor,
|
|
@@ -712,7 +712,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
712
712
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
713
713
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
714
714
|
}, N(r(C)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, tl)) : h("", !0),
|
|
715
|
-
ne(l) &&
|
|
715
|
+
ne(l) && y.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
716
716
|
key: 1,
|
|
717
717
|
class: P({ animated: e.value.useCssAnimation }),
|
|
718
718
|
"text-anchor": r(U)(l, !0).anchor,
|
|
@@ -732,7 +732,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
732
732
|
}),
|
|
733
733
|
{ datapoint: l, seriesIndex: o, datapointIndex: d }
|
|
734
734
|
)) + ") ", 11, ll)) : h("", !0),
|
|
735
|
-
ne(l) &&
|
|
735
|
+
ne(l) && y.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
736
736
|
key: 2,
|
|
737
737
|
class: P({ animated: e.value.useCssAnimation }),
|
|
738
738
|
"text-anchor": r(U)(l, !0).anchor,
|
|
@@ -755,28 +755,28 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
755
755
|
], 8, el))), 256))
|
|
756
756
|
]))), 256))
|
|
757
757
|
])) : h("", !0),
|
|
758
|
-
(u(!0), n(_, null,
|
|
759
|
-
(u(!0), n(_, null,
|
|
760
|
-
|
|
758
|
+
(u(!0), n(_, null, F(H.value, (a, o) => (u(), n("g", null, [
|
|
759
|
+
(u(!0), n(_, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
760
|
+
b("path", {
|
|
761
761
|
"data-cy-donut-trap": "",
|
|
762
762
|
d: l.arcSlice,
|
|
763
763
|
fill: qe.value === o ? "rgba(0,0,0,0.1)" : "transparent",
|
|
764
|
-
onMouseenter: (
|
|
764
|
+
onMouseenter: (g) => et({
|
|
765
765
|
datapoint: l,
|
|
766
766
|
relativeIndex: o,
|
|
767
767
|
seriesIndex: l.seriesIndex
|
|
768
768
|
}),
|
|
769
|
-
onClick: (
|
|
770
|
-
onMouseleave: s[0] || (s[0] = (
|
|
769
|
+
onClick: (g) => Ze({ datapoint: l, index: d }),
|
|
770
|
+
onMouseleave: s[0] || (s[0] = (g) => {
|
|
771
771
|
ee.value = !1, Ae.value = null, W.value = null, q.value = null;
|
|
772
772
|
})
|
|
773
773
|
}, null, 40, ol)
|
|
774
774
|
]))), 256))
|
|
775
775
|
]))), 256)),
|
|
776
|
-
|
|
776
|
+
w(t.$slots, "svg", { svg: v.value }, void 0, !0)
|
|
777
777
|
], 14, zt)) : h("", !0),
|
|
778
778
|
t.$slots.watermark ? (u(), n("div", sl, [
|
|
779
|
-
|
|
779
|
+
w(t.$slots, "watermark", E(R({ isPrinting: r(_e) || r(Ce) })), void 0, !0)
|
|
780
780
|
])) : h("", !0),
|
|
781
781
|
Y.value ? h("", !0) : (u(), D(St, {
|
|
782
782
|
key: 6,
|
|
@@ -790,8 +790,8 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
790
790
|
}
|
|
791
791
|
}
|
|
792
792
|
}, null, 8, ["config"])),
|
|
793
|
-
Be(
|
|
794
|
-
show:
|
|
793
|
+
Be(Tt, {
|
|
794
|
+
show: y.value.showTooltip && ee.value,
|
|
795
795
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
796
796
|
color: e.value.style.chart.tooltip.color,
|
|
797
797
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -806,11 +806,11 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
806
806
|
isFullscreen: V.value,
|
|
807
807
|
isCustom: r(Ye)(e.value.style.chart.tooltip.customFormat)
|
|
808
808
|
}, {
|
|
809
|
-
"tooltip-before":
|
|
810
|
-
|
|
809
|
+
"tooltip-before": k(() => [
|
|
810
|
+
w(t.$slots, "tooltip-before", E(R({ ...ue.value })), void 0, !0)
|
|
811
811
|
]),
|
|
812
|
-
"tooltip-after":
|
|
813
|
-
|
|
812
|
+
"tooltip-after": k(() => [
|
|
813
|
+
w(t.$slots, "tooltip-after", E(R({ ...ue.value })), void 0, !0)
|
|
814
814
|
]),
|
|
815
815
|
_: 3
|
|
816
816
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -820,19 +820,19 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
820
820
|
ref: le,
|
|
821
821
|
class: P({ "vue-ui-nested-donuts-legend": re.value.length > 1 })
|
|
822
822
|
}, [
|
|
823
|
-
(u(!0), n(_, null,
|
|
823
|
+
(u(!0), n(_, null, F(re.value, (a, o) => (u(), D(Ft, {
|
|
824
824
|
key: `legend_${o}_${me.value}`,
|
|
825
825
|
legendSet: a,
|
|
826
826
|
config: tt.value,
|
|
827
827
|
onClickMarker: s[1] || (s[1] = ({ legend: l }) => oe(l))
|
|
828
828
|
}, {
|
|
829
|
-
legendTitle:
|
|
829
|
+
legendTitle: k(({ titleSet: l }) => [
|
|
830
830
|
l[0] && l[0].arcOf ? (u(), n("div", ul, N(l[0].arcOf), 1)) : h("", !0)
|
|
831
831
|
]),
|
|
832
|
-
item:
|
|
833
|
-
|
|
834
|
-
onClick: (
|
|
835
|
-
style: Q(`opacity:${
|
|
832
|
+
item: k(({ legend: l, index: d }) => [
|
|
833
|
+
b("div", {
|
|
834
|
+
onClick: (g) => oe(l),
|
|
835
|
+
style: Q(`opacity:${p.value.includes(l.id) ? 0.5 : 1}`)
|
|
836
836
|
}, [
|
|
837
837
|
Z(N(l.name) + ": " + N(r(G)(
|
|
838
838
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
@@ -845,7 +845,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
845
845
|
}),
|
|
846
846
|
{ datapoint: l, seriesIndex: d }
|
|
847
847
|
)) + " ", 1),
|
|
848
|
-
|
|
848
|
+
p.value.includes(l.id) ? (u(), n(_, { key: 1 }, [
|
|
849
849
|
Z(" ( - % ) ")
|
|
850
850
|
], 64)) : (u(), n(_, { key: 0 }, [
|
|
851
851
|
Z(" (" + N(isNaN(l.value / l.total) ? "-" : r(C)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
|
|
@@ -860,7 +860,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
860
860
|
ref_key: "chartLegend",
|
|
861
861
|
ref: le
|
|
862
862
|
}, [
|
|
863
|
-
|
|
863
|
+
w(t.$slots, "legend", { legend: re.value }, void 0, !0)
|
|
864
864
|
], 512)),
|
|
865
865
|
t.$slots.source ? (u(), n("div", {
|
|
866
866
|
key: 9,
|
|
@@ -868,13 +868,13 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
868
868
|
ref: ye,
|
|
869
869
|
dir: "auto"
|
|
870
870
|
}, [
|
|
871
|
-
|
|
871
|
+
w(t.$slots, "source", {}, void 0, !0)
|
|
872
872
|
], 512)) : h("", !0),
|
|
873
873
|
Y.value ? (u(), D(Nt, {
|
|
874
874
|
key: 10,
|
|
875
875
|
hideDetails: "",
|
|
876
876
|
config: {
|
|
877
|
-
open:
|
|
877
|
+
open: y.value.showTable,
|
|
878
878
|
maxHeight: 1e4,
|
|
879
879
|
body: {
|
|
880
880
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -886,7 +886,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
886
886
|
}
|
|
887
887
|
}
|
|
888
888
|
}, {
|
|
889
|
-
content:
|
|
889
|
+
content: k(() => [
|
|
890
890
|
(u(), D(xt, {
|
|
891
891
|
key: `table_${ge.value}`,
|
|
892
892
|
colNames: J.value.colNames,
|
|
@@ -894,15 +894,15 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
894
894
|
body: J.value.body,
|
|
895
895
|
config: J.value.config,
|
|
896
896
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
897
|
-
onClose: s[2] || (s[2] = (a) =>
|
|
897
|
+
onClose: s[2] || (s[2] = (a) => y.value.showTable = !1)
|
|
898
898
|
}, {
|
|
899
|
-
th:
|
|
900
|
-
|
|
899
|
+
th: k(({ th: a }) => [
|
|
900
|
+
b("div", {
|
|
901
901
|
innerHTML: a,
|
|
902
902
|
style: { display: "flex", "align-items": "center" }
|
|
903
903
|
}, null, 8, rl)
|
|
904
904
|
]),
|
|
905
|
-
td:
|
|
905
|
+
td: k(({ td: a }) => [
|
|
906
906
|
Z(N(a.name || a), 1)
|
|
907
907
|
]),
|
|
908
908
|
_: 1
|
|
@@ -912,7 +912,7 @@ const ce = (B) => (nt("data-v-25e0eecb"), B = B(), rt(), B), Dt = ["id"], zt = [
|
|
|
912
912
|
}, 8, ["config"])) : h("", !0)
|
|
913
913
|
], 46, Dt));
|
|
914
914
|
}
|
|
915
|
-
}, Cl = /* @__PURE__ */ Pt(il, [["__scopeId", "data-v-
|
|
915
|
+
}, Cl = /* @__PURE__ */ Pt(il, [["__scopeId", "data-v-847f409d"]]);
|
|
916
916
|
export {
|
|
917
917
|
Cl as default
|
|
918
918
|
};
|