vue-data-ui 2.4.3 → 2.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
- package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
- package/dist/PenAndPaper-C-KjtyNA.js +308 -0
- package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
- package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
- package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
- package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
- package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
- package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
- package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
- package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
- package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
- package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
- package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
- package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
- package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
- package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
- package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
- package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
- package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
- package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
- package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
- package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
- package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
- package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
- package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
- package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
- package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
- package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
- package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
- package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
- package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
- package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
- package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
- package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
- package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
- package/package.json +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
- package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { computed as d, ref as s, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { L as
|
|
7
|
-
import { D as
|
|
8
|
-
import { _ as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { _ as
|
|
15
|
-
const
|
|
16
|
-
key:
|
|
1
|
+
import { computed as d, ref as s, watch as ye, onMounted as ze, onBeforeUnmount as Ye, openBlock as n, createElementBlock as u, normalizeClass as V, normalizeStyle as q, createBlock as C, createCommentVNode as g, unref as v, createSlots as Be, withCtx as h, renderSlot as f, normalizeProps as S, guardReactiveProps as M, createVNode as me, Fragment as F, renderList as N, createElementVNode as _, toDisplayString as O, createTextVNode as Ve, nextTick as Xe } from "vue";
|
|
2
|
+
import { u as Ge, c as Ue, t as Ee, a as He, p as be, b as We, o as je, e as J, d as qe, X as Je, f as R, i as K, x as ke, q as Ke, r as Qe, y as Ze } from "./index-C1GB0E49.js";
|
|
3
|
+
import { t as et, u as tt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as at } from "./Title-W7iJGPjg.js";
|
|
5
|
+
import { u as lt, U as ot } from "./usePrinter-y5uHyknw.js";
|
|
6
|
+
import { L as rt } from "./Legend-DrmUpnIK.js";
|
|
7
|
+
import { D as nt } from "./DataTable-rs_YrvMR.js";
|
|
8
|
+
import { _ as st } from "./Tooltip-Pv3Bhir5.js";
|
|
9
|
+
import ut from "./vue-ui-skeleton-CE6ibl1T.js";
|
|
10
|
+
import it from "./vue-ui-accordion-DWyRC3-h.js";
|
|
11
|
+
import { u as $e } from "./useNestedProp-CNAPgW6E.js";
|
|
12
|
+
import { _ as ct } from "./PackageVersion-D9rYHrFZ.js";
|
|
13
|
+
import { P as dt } from "./PenAndPaper-C-KjtyNA.js";
|
|
14
|
+
import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], pt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], yt = ["id"], mt = ["stdDeviation"], bt = ["filter"], kt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], $t = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], wt = { key: 1 }, Ct = ["onMouseenter"], xt = ["x", "y", "font-size", "fill", "font-weight"], Tt = {
|
|
16
|
+
key: 5,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
18
|
+
}, _t = ["onClick"], Ot = ["innerHTML"], Pt = {
|
|
19
19
|
__name: "vue-ui-onion",
|
|
20
20
|
props: {
|
|
21
21
|
config: {
|
|
@@ -32,31 +32,31 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectLegend"],
|
|
35
|
-
setup(
|
|
36
|
-
const k =
|
|
37
|
-
get: () =>
|
|
35
|
+
setup(we, { expose: Ce, emit: xe }) {
|
|
36
|
+
const k = we, { vue_ui_onion: Te } = Ge(), D = d(() => !!k.dataset && k.dataset.length), x = s(Ue()), _e = s(null), Q = s(0), L = s(!1), X = s(""), y = s([]), T = s(null), Z = s(null), ee = s(null), te = s(null), ae = s(null), le = s(0), oe = s(0), re = s(0), e = d({
|
|
37
|
+
get: () => ne(),
|
|
38
38
|
set: (t) => t
|
|
39
39
|
});
|
|
40
|
-
function
|
|
41
|
-
const t =
|
|
40
|
+
function ne() {
|
|
41
|
+
const t = $e({
|
|
42
42
|
userConfig: k.config,
|
|
43
|
-
defaultConfig:
|
|
43
|
+
defaultConfig: Te
|
|
44
44
|
});
|
|
45
45
|
return t.theme ? {
|
|
46
|
-
|
|
47
|
-
userConfig:
|
|
46
|
+
...$e({
|
|
47
|
+
userConfig: Ee.vue_ui_onion[t.theme] || k.config,
|
|
48
48
|
defaultConfig: t
|
|
49
49
|
}),
|
|
50
|
-
customPalette:
|
|
50
|
+
customPalette: He[t.theme] || be
|
|
51
51
|
} : t;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
e.value =
|
|
53
|
+
ye(() => k.config, (t) => {
|
|
54
|
+
e.value = ne(), de(), le.value += 1, oe.value += 1, re.value += 1;
|
|
55
55
|
}, { deep: !0 });
|
|
56
|
-
const { isPrinting:
|
|
56
|
+
const { isPrinting: se, isImaging: ue, generatePdf: ie, generateImage: ce } = lt({
|
|
57
57
|
elementId: `vue-ui-onion_${x.value}`,
|
|
58
58
|
fileName: e.value.style.chart.title.text || "vue-ui-onion"
|
|
59
|
-
}),
|
|
59
|
+
}), Oe = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pe = d(() => We(e.value.customPalette)), $ = s({
|
|
60
60
|
showTable: e.value.table.show,
|
|
61
61
|
showTooltip: e.value.style.chart.tooltip.show
|
|
62
62
|
}), r = s({
|
|
@@ -70,27 +70,28 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
70
70
|
},
|
|
71
71
|
minRadius: 64
|
|
72
72
|
}), z = s(null);
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
ze(() => {
|
|
74
|
+
de();
|
|
75
75
|
});
|
|
76
|
-
function
|
|
77
|
-
if (
|
|
76
|
+
function de() {
|
|
77
|
+
if (je(k.dataset) && J({
|
|
78
78
|
componentName: "VueUiOnion",
|
|
79
79
|
type: "dataset"
|
|
80
80
|
}), e.value.responsive) {
|
|
81
|
-
const o =
|
|
82
|
-
const { width: a, height: l } =
|
|
81
|
+
const o = et(() => {
|
|
82
|
+
const { width: a, height: l } = tt({
|
|
83
83
|
chart: T.value,
|
|
84
84
|
title: e.value.style.chart.title.text ? Z.value : null,
|
|
85
85
|
legend: e.value.style.chart.legend.show ? ee.value : null,
|
|
86
|
-
source: te.value
|
|
86
|
+
source: te.value,
|
|
87
|
+
noTitle: ae.value
|
|
87
88
|
});
|
|
88
89
|
r.value.width = a, r.value.height = l, r.value.padding.top = Math.max(a, l) * 0.125, r.value.padding.right = Math.max(a, l) * 0.125, r.value.padding.bottom = Math.max(a, l) * 0.125, r.value.padding.left = Math.max(a, l) * 0.125, r.value.minRadius = Math.min(a, l) * 0.125;
|
|
89
90
|
});
|
|
90
91
|
z.value = new ResizeObserver(o), z.value.observe(T.value.parentNode);
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
|
-
|
|
94
|
+
Ye(() => {
|
|
94
95
|
z.value && z.value.disconnect();
|
|
95
96
|
});
|
|
96
97
|
const i = d(() => ({
|
|
@@ -122,62 +123,62 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
122
123
|
...t,
|
|
123
124
|
percentage: t.percentage || 0,
|
|
124
125
|
targetPercentage: t.percentage || 0,
|
|
125
|
-
color:
|
|
126
|
+
color: qe(t.color) || Pe.value[o] || be[o],
|
|
126
127
|
id: a,
|
|
127
128
|
shape: "circle",
|
|
128
129
|
opacity: y.value.includes(a) ? 0.5 : 1,
|
|
129
130
|
absoluteIndex: o,
|
|
130
|
-
segregate: () =>
|
|
131
|
+
segregate: () => ve(a),
|
|
131
132
|
isSegregated: y.value.includes(a)
|
|
132
133
|
};
|
|
133
|
-
}))),
|
|
134
|
-
|
|
135
|
-
function
|
|
136
|
-
if (
|
|
134
|
+
}))), P = s(c.value), Ae = d(() => e.value.useStartAnimation), Ie = s(null), Se = d(() => Math.max(...c.value.map((t) => t.percentage))), G = s(!1);
|
|
135
|
+
ye(() => c.value, Me, { immediate: !0 });
|
|
136
|
+
function Me() {
|
|
137
|
+
if (Ae.value && !G.value) {
|
|
137
138
|
let o = function() {
|
|
138
|
-
t >=
|
|
139
|
+
t >= Se.value ? (cancelAnimationFrame(Ie.value), P.value = c.value, G.value = !0) : (P.value = c.value.map((a) => ({
|
|
139
140
|
...a,
|
|
140
141
|
percentage: t < a.targetPercentage ? t : a.targetPercentage
|
|
141
142
|
})), t += 1, requestAnimationFrame(o), G.value = !0);
|
|
142
143
|
};
|
|
143
|
-
|
|
144
|
+
P.value = c.value.map((a) => ({
|
|
144
145
|
...a,
|
|
145
146
|
percentage: 0
|
|
146
147
|
}));
|
|
147
148
|
let t = 0;
|
|
148
149
|
o();
|
|
149
150
|
} else
|
|
150
|
-
|
|
151
|
+
P.value = c.value;
|
|
151
152
|
}
|
|
152
|
-
const
|
|
153
|
+
const Fe = d(() => ({
|
|
153
154
|
cy: "onion-div-legend",
|
|
154
155
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
155
156
|
color: e.value.style.chart.legend.color,
|
|
156
157
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
157
158
|
paddingBottom: 12,
|
|
158
159
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
159
|
-
})),
|
|
160
|
+
})), Ne = d(() => c.value.filter((t) => !y.value.includes(t.id)).length), w = d(() => {
|
|
160
161
|
const t = Math.min(i.value.width, i.value.height) / 2 / c.value.length;
|
|
161
162
|
return {
|
|
162
163
|
gutter: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.gutter.width,
|
|
163
164
|
track: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.track.width
|
|
164
165
|
};
|
|
165
|
-
}), m = d(() =>
|
|
166
|
-
const a = (i.value.maxRadius - w.value.track) /
|
|
166
|
+
}), m = d(() => P.value.filter((t) => !y.value.includes(t.id)).map((t, o) => {
|
|
167
|
+
const a = (i.value.maxRadius - w.value.track) / Ne.value / 2 * (1 + o), l = i.value.centerY - a;
|
|
167
168
|
return {
|
|
168
169
|
percentage: t.percentage || 0,
|
|
169
170
|
...t,
|
|
170
171
|
labelY: l,
|
|
171
172
|
radius: a,
|
|
172
|
-
path:
|
|
173
|
+
path: Re(a, t.percentage || 0)
|
|
173
174
|
};
|
|
174
175
|
}));
|
|
175
|
-
function
|
|
176
|
-
const a = 2 * Math.PI * t, l = a * 0.75,
|
|
176
|
+
function Re(t, o) {
|
|
177
|
+
const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`, I = l * (1 - o / 100);
|
|
177
178
|
return {
|
|
178
179
|
bgDashArray: `${l} ${a}`,
|
|
179
180
|
bgDashOffset: 0,
|
|
180
|
-
dashArray:
|
|
181
|
+
dashArray: p,
|
|
181
182
|
dashOffset: I,
|
|
182
183
|
fullOffset: 0,
|
|
183
184
|
active: `
|
|
@@ -187,10 +188,10 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
187
188
|
`.trim()
|
|
188
189
|
};
|
|
189
190
|
}
|
|
190
|
-
function
|
|
191
|
-
y.value.includes(t) ? y.value = y.value.filter((o) => o !== t) : y.value.push(t),
|
|
191
|
+
function ve(t) {
|
|
192
|
+
y.value.includes(t) ? y.value = y.value.filter((o) => o !== t) : y.value.push(t), xe("selectLegend", m.value);
|
|
192
193
|
}
|
|
193
|
-
function
|
|
194
|
+
function De() {
|
|
194
195
|
return m.value;
|
|
195
196
|
}
|
|
196
197
|
const U = d(() => {
|
|
@@ -220,18 +221,18 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
220
221
|
};
|
|
221
222
|
return { head: t, body: o, config: a, colNames: t };
|
|
222
223
|
});
|
|
223
|
-
function
|
|
224
|
-
|
|
225
|
-
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = U.value.head, a = U.value.body, l = t.concat([o]).concat(a),
|
|
226
|
-
|
|
224
|
+
function he() {
|
|
225
|
+
Xe(() => {
|
|
226
|
+
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = U.value.head, a = U.value.body, l = t.concat([o]).concat(a), p = Ke(l);
|
|
227
|
+
Qe({ csvContent: p, title: e.value.style.chart.title.text || "vue-ui-onion" });
|
|
227
228
|
});
|
|
228
229
|
}
|
|
229
230
|
const b = s(void 0), A = s(!1);
|
|
230
|
-
function
|
|
231
|
+
function Le(t) {
|
|
231
232
|
A.value = t, Q.value += 1;
|
|
232
233
|
}
|
|
233
234
|
const E = s(null);
|
|
234
|
-
function
|
|
235
|
+
function fe({ datapoint: t, seriesIndex: o, show: a = !0 }) {
|
|
235
236
|
const l = t.absoluteIndex;
|
|
236
237
|
b.value = o, E.value = {
|
|
237
238
|
datapoint: t,
|
|
@@ -239,9 +240,9 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
239
240
|
series: c.value,
|
|
240
241
|
config: e.value
|
|
241
242
|
}, L.value = a;
|
|
242
|
-
let
|
|
243
|
+
let p = "";
|
|
243
244
|
const I = e.value.style.chart.tooltip.customFormat;
|
|
244
|
-
if (
|
|
245
|
+
if (ke(I) && Ze(() => I({
|
|
245
246
|
seriesIndex: l,
|
|
246
247
|
datapoint: t,
|
|
247
248
|
series: c.value,
|
|
@@ -255,7 +256,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
255
256
|
});
|
|
256
257
|
else {
|
|
257
258
|
const W = e.value.style.chart.tooltip.showPercentage, j = e.value.style.chart.tooltip.showValue;
|
|
258
|
-
|
|
259
|
+
p += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span></span>${t.name}</span></div>`, p += `<div style="width:100%;text-align:left;"><b>${W ? R({ p: "", v: t.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${W && j ? "(" : ""}${j ? K(
|
|
259
260
|
e.value.style.chart.layout.labels.value.formatter,
|
|
260
261
|
t.value,
|
|
261
262
|
R({
|
|
@@ -265,26 +266,26 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
265
266
|
r: e.value.style.chart.tooltip.roundingValue
|
|
266
267
|
}),
|
|
267
268
|
{ datapoint: t, seriesIndex: o }
|
|
268
|
-
) : ""}${W && j ? ")" : ""}</div>`, X.value = `<div>${
|
|
269
|
+
) : ""}${W && j ? ")" : ""}</div>`, X.value = `<div>${p}</div>`;
|
|
269
270
|
}
|
|
270
271
|
}
|
|
271
|
-
function
|
|
272
|
+
function ge() {
|
|
272
273
|
$.value.showTable = !$.value.showTable;
|
|
273
274
|
}
|
|
274
|
-
function
|
|
275
|
+
function pe() {
|
|
275
276
|
$.value.showTooltip = !$.value.showTooltip;
|
|
276
277
|
}
|
|
277
278
|
const B = s(!1);
|
|
278
279
|
function H() {
|
|
279
280
|
B.value = !B.value;
|
|
280
281
|
}
|
|
281
|
-
return
|
|
282
|
-
getData:
|
|
283
|
-
generatePdf:
|
|
284
|
-
generateCsv:
|
|
285
|
-
generateImage:
|
|
286
|
-
toggleTable:
|
|
287
|
-
toggleTooltip:
|
|
282
|
+
return Ce({
|
|
283
|
+
getData: De,
|
|
284
|
+
generatePdf: ie,
|
|
285
|
+
generateCsv: he,
|
|
286
|
+
generateImage: ce,
|
|
287
|
+
toggleTable: ge,
|
|
288
|
+
toggleTooltip: pe,
|
|
288
289
|
toggleAnnotator: H
|
|
289
290
|
}), (t, o) => (n(), u("div", {
|
|
290
291
|
class: V(`vue-ui-onion ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -293,22 +294,29 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
293
294
|
id: `vue-ui-onion_${x.value}`,
|
|
294
295
|
style: q(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`)
|
|
295
296
|
}, [
|
|
296
|
-
e.value.userOptions.buttons.annotator ? (n(), C(
|
|
297
|
+
e.value.userOptions.buttons.annotator ? (n(), C(dt, {
|
|
297
298
|
key: 0,
|
|
298
299
|
parent: T.value,
|
|
299
300
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
300
301
|
color: e.value.style.chart.color,
|
|
301
302
|
active: B.value,
|
|
302
303
|
onClose: H
|
|
303
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
304
|
-
|
|
304
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : g("", !0),
|
|
305
|
+
Oe.value ? (n(), u("div", {
|
|
305
306
|
key: 1,
|
|
307
|
+
ref_key: "noTitle",
|
|
308
|
+
ref: ae,
|
|
309
|
+
class: "vue-data-ui-no-title-space",
|
|
310
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
311
|
+
}, null, 512)) : g("", !0),
|
|
312
|
+
e.value.style.chart.title.text ? (n(), u("div", {
|
|
313
|
+
key: 2,
|
|
306
314
|
ref_key: "chartTitle",
|
|
307
315
|
ref: Z,
|
|
308
316
|
style: "width:100%;background:transparent"
|
|
309
317
|
}, [
|
|
310
|
-
(n(), C(
|
|
311
|
-
key: `title_${
|
|
318
|
+
(n(), C(at, {
|
|
319
|
+
key: `title_${le.value}`,
|
|
312
320
|
config: {
|
|
313
321
|
title: {
|
|
314
322
|
cy: "onion-div-title",
|
|
@@ -320,15 +328,15 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
320
328
|
}
|
|
321
329
|
}
|
|
322
330
|
}, null, 8, ["config"]))
|
|
323
|
-
], 512)) :
|
|
324
|
-
e.value.userOptions.show && D.value ? (n(), C(
|
|
331
|
+
], 512)) : g("", !0),
|
|
332
|
+
e.value.userOptions.show && D.value ? (n(), C(ot, {
|
|
325
333
|
ref_key: "details",
|
|
326
|
-
ref:
|
|
334
|
+
ref: _e,
|
|
327
335
|
key: `user_options${Q.value}`,
|
|
328
336
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
329
337
|
color: e.value.style.chart.color,
|
|
330
|
-
isImaging: v(
|
|
331
|
-
isPrinting: v(
|
|
338
|
+
isImaging: v(ue),
|
|
339
|
+
isPrinting: v(se),
|
|
332
340
|
uid: x.value,
|
|
333
341
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
334
342
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -343,14 +351,14 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
343
351
|
position: e.value.userOptions.position,
|
|
344
352
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
345
353
|
isAnnotation: B.value,
|
|
346
|
-
onToggleFullscreen:
|
|
347
|
-
onGeneratePdf: v(
|
|
348
|
-
onGenerateCsv:
|
|
349
|
-
onGenerateImage: v(
|
|
350
|
-
onToggleTable:
|
|
351
|
-
onToggleTooltip:
|
|
354
|
+
onToggleFullscreen: Le,
|
|
355
|
+
onGeneratePdf: v(ie),
|
|
356
|
+
onGenerateCsv: he,
|
|
357
|
+
onGenerateImage: v(ce),
|
|
358
|
+
onToggleTable: ge,
|
|
359
|
+
onToggleTooltip: pe,
|
|
352
360
|
onToggleAnnotator: H
|
|
353
|
-
},
|
|
361
|
+
}, Be({ _: 2 }, [
|
|
354
362
|
t.$slots.optionTooltip ? {
|
|
355
363
|
name: "optionTooltip",
|
|
356
364
|
fn: h(() => [
|
|
@@ -400,15 +408,15 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
400
408
|
]),
|
|
401
409
|
key: "6"
|
|
402
410
|
} : void 0
|
|
403
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
411
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : g("", !0),
|
|
404
412
|
D.value ? (n(), u("svg", {
|
|
405
|
-
key:
|
|
406
|
-
xmlns: v(
|
|
413
|
+
key: 4,
|
|
414
|
+
xmlns: v(Je),
|
|
407
415
|
class: V({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
|
|
408
416
|
viewBox: `0 0 ${r.value.width <= 0 ? 1e-4 : r.value.width} ${r.value.height <= 0 ? 1e-4 : r.value.height}`,
|
|
409
417
|
style: q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
410
418
|
}, [
|
|
411
|
-
|
|
419
|
+
me(ct),
|
|
412
420
|
(n(!0), u(F, null, N(m.value, (a, l) => (n(), u("circle", {
|
|
413
421
|
cx: i.value.centerX,
|
|
414
422
|
cy: i.value.centerY,
|
|
@@ -421,7 +429,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
421
429
|
"stroke-linecap": "round",
|
|
422
430
|
class: V({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value !== l }),
|
|
423
431
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
424
|
-
}, null, 10,
|
|
432
|
+
}, null, 10, gt))), 256)),
|
|
425
433
|
(n(!0), u(F, null, N(m.value, (a, l) => (n(), u("circle", {
|
|
426
434
|
cx: i.value.centerX,
|
|
427
435
|
cy: i.value.centerY,
|
|
@@ -434,7 +442,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
434
442
|
class: V({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value !== l }),
|
|
435
443
|
"stroke-linecap": "round",
|
|
436
444
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
437
|
-
}, null, 10,
|
|
445
|
+
}, null, 10, pt))), 256)),
|
|
438
446
|
_("defs", null, [
|
|
439
447
|
_("filter", {
|
|
440
448
|
id: `blur_${x.value}`,
|
|
@@ -446,8 +454,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
446
454
|
_("feGaussianBlur", {
|
|
447
455
|
in: "SourceGraphic",
|
|
448
456
|
stdDeviation: 100 / e.value.style.chart.gradientIntensity
|
|
449
|
-
}, null, 8,
|
|
450
|
-
], 8,
|
|
457
|
+
}, null, 8, mt)
|
|
458
|
+
], 8, yt)
|
|
451
459
|
]),
|
|
452
460
|
e.value.style.chart.useGradient ? (n(), u("g", {
|
|
453
461
|
key: 0,
|
|
@@ -464,8 +472,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
464
472
|
"stroke-dasharray": a.path.dashArray,
|
|
465
473
|
"stroke-dashoffset": a.path.dashOffset,
|
|
466
474
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
467
|
-
}, null, 8,
|
|
468
|
-
], 8,
|
|
475
|
+
}, null, 8, kt))), 256))
|
|
476
|
+
], 8, bt)) : g("", !0),
|
|
469
477
|
(n(!0), u(F, null, N(m.value, (a, l) => (n(), u("circle", {
|
|
470
478
|
"data-cy-trap": "",
|
|
471
479
|
cx: i.value.centerX,
|
|
@@ -479,27 +487,27 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
479
487
|
"stroke-linecap": "round",
|
|
480
488
|
class: "vue-ui-onion-path",
|
|
481
489
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" },
|
|
482
|
-
onMouseenter: (
|
|
490
|
+
onMouseenter: (p) => fe({
|
|
483
491
|
datapoint: a,
|
|
484
492
|
show: !0,
|
|
485
493
|
seriesIndex: l
|
|
486
494
|
}),
|
|
487
|
-
onMouseleave: o[0] || (o[0] = (
|
|
495
|
+
onMouseleave: o[0] || (o[0] = (p) => {
|
|
488
496
|
b.value = void 0, L.value = !1;
|
|
489
497
|
})
|
|
490
|
-
}, null, 40,
|
|
491
|
-
e.value.style.chart.layout.labels.show ? (n(), u("g",
|
|
498
|
+
}, null, 40, $t))), 256)),
|
|
499
|
+
e.value.style.chart.layout.labels.show ? (n(), u("g", wt, [
|
|
492
500
|
(n(!0), u(F, null, N(m.value, (a, l) => (n(), u("g", {
|
|
493
|
-
onMouseenter: (
|
|
501
|
+
onMouseenter: (p) => fe({
|
|
494
502
|
datapoint: a,
|
|
495
503
|
show: !0,
|
|
496
504
|
seriesIndex: l
|
|
497
505
|
}),
|
|
498
|
-
onMouseleave: o[1] || (o[1] = (
|
|
506
|
+
onMouseleave: o[1] || (o[1] = (p) => {
|
|
499
507
|
b.value = void 0, L.value = !1;
|
|
500
508
|
})
|
|
501
509
|
}, [
|
|
502
|
-
y.value.includes(a.id) ?
|
|
510
|
+
y.value.includes(a.id) ? g("", !0) : (n(), u("text", {
|
|
503
511
|
key: 0,
|
|
504
512
|
x: r.value.width / 2 - w.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
|
|
505
513
|
y: a.labelY + e.value.style.chart.layout.labels.offsetY,
|
|
@@ -507,11 +515,11 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
507
515
|
"font-size": e.value.style.chart.layout.labels.fontSize,
|
|
508
516
|
fill: e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value === l ? a.color : e.value.style.chart.layout.labels.color,
|
|
509
517
|
"font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
|
|
510
|
-
},
|
|
518
|
+
}, O(a.name ? a.name + ": " : "") + " " + O(e.value.style.chart.layout.labels.percentage.show ? v(R)({
|
|
511
519
|
v: a.percentage,
|
|
512
520
|
s: "%",
|
|
513
521
|
r: e.value.style.chart.layout.labels.roundingPercentage
|
|
514
|
-
}) : "") + " " +
|
|
522
|
+
}) : "") + " " + O(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${v(K)(
|
|
515
523
|
e.value.style.chart.layout.labels.value.formatter,
|
|
516
524
|
a.value,
|
|
517
525
|
v(R)({
|
|
@@ -531,16 +539,16 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
531
539
|
r: e.value.style.chart.layout.labels.roundingValue
|
|
532
540
|
}),
|
|
533
541
|
{ datapoint: a, seriesIndex: l }
|
|
534
|
-
)})` : ""}`), 9,
|
|
535
|
-
], 40,
|
|
536
|
-
])) :
|
|
542
|
+
)})` : ""}`), 9, xt))
|
|
543
|
+
], 40, Ct))), 256))
|
|
544
|
+
])) : g("", !0),
|
|
537
545
|
f(t.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
538
|
-
], 14,
|
|
539
|
-
t.$slots.watermark ? (n(), u("div",
|
|
540
|
-
f(t.$slots, "watermark", S(M({ isPrinting: v(
|
|
541
|
-
])) :
|
|
542
|
-
D.value ?
|
|
543
|
-
key:
|
|
546
|
+
], 14, ft)) : g("", !0),
|
|
547
|
+
t.$slots.watermark ? (n(), u("div", Tt, [
|
|
548
|
+
f(t.$slots, "watermark", S(M({ isPrinting: v(se) || v(ue) })), void 0, !0)
|
|
549
|
+
])) : g("", !0),
|
|
550
|
+
D.value ? g("", !0) : (n(), C(ut, {
|
|
551
|
+
key: 6,
|
|
544
552
|
config: {
|
|
545
553
|
type: "onion",
|
|
546
554
|
style: {
|
|
@@ -555,18 +563,18 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
555
563
|
ref_key: "chartLegend",
|
|
556
564
|
ref: ee
|
|
557
565
|
}, [
|
|
558
|
-
e.value.style.chart.legend.show ? (n(), C(
|
|
559
|
-
key: `legend_${
|
|
566
|
+
e.value.style.chart.legend.show ? (n(), C(rt, {
|
|
567
|
+
key: `legend_${re.value}`,
|
|
560
568
|
legendSet: c.value,
|
|
561
|
-
config:
|
|
562
|
-
onClickMarker: o[2] || (o[2] = ({ legend: a }) =>
|
|
569
|
+
config: Fe.value,
|
|
570
|
+
onClickMarker: o[2] || (o[2] = ({ legend: a }) => ve(a.id))
|
|
563
571
|
}, {
|
|
564
572
|
item: h(({ legend: a }) => [
|
|
565
573
|
_("div", {
|
|
566
574
|
"data-cy-legend-item": "",
|
|
567
575
|
onClick: (l) => a.segregate(),
|
|
568
576
|
style: q(`opacity:${y.value.includes(a.id) ? 0.5 : 1}`)
|
|
569
|
-
},
|
|
577
|
+
}, O(a.name ? a.name + ": " : "") + " " + O((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, _t)
|
|
570
578
|
]),
|
|
571
579
|
_: 1
|
|
572
580
|
}, 8, ["legendSet", "config"])) : f(t.$slots, "legend", {
|
|
@@ -575,14 +583,14 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
575
583
|
}, void 0, !0)
|
|
576
584
|
], 512),
|
|
577
585
|
t.$slots.source ? (n(), u("div", {
|
|
578
|
-
key:
|
|
586
|
+
key: 7,
|
|
579
587
|
ref_key: "source",
|
|
580
588
|
ref: te,
|
|
581
589
|
dir: "auto"
|
|
582
590
|
}, [
|
|
583
591
|
f(t.$slots, "source", {}, void 0, !0)
|
|
584
|
-
], 512)) :
|
|
585
|
-
|
|
592
|
+
], 512)) : g("", !0),
|
|
593
|
+
me(st, {
|
|
586
594
|
show: $.value.showTooltip && L.value,
|
|
587
595
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
588
596
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -595,7 +603,7 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
595
603
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
596
604
|
parent: T.value,
|
|
597
605
|
content: X.value,
|
|
598
|
-
isCustom: v(
|
|
606
|
+
isCustom: v(ke)(e.value.style.chart.tooltip.customFormat)
|
|
599
607
|
}, {
|
|
600
608
|
"tooltip-before": h(() => [
|
|
601
609
|
f(t.$slots, "tooltip-before", S(M({ ...E.value })), void 0, !0)
|
|
@@ -605,8 +613,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
605
613
|
]),
|
|
606
614
|
_: 3
|
|
607
615
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
608
|
-
D.value ? (n(), C(
|
|
609
|
-
key:
|
|
616
|
+
D.value ? (n(), C(it, {
|
|
617
|
+
key: 8,
|
|
610
618
|
hideDetails: "",
|
|
611
619
|
config: {
|
|
612
620
|
open: $.value.showTable,
|
|
@@ -622,8 +630,8 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
622
630
|
}
|
|
623
631
|
}, {
|
|
624
632
|
content: h(() => [
|
|
625
|
-
(n(), C(
|
|
626
|
-
key: `table_${
|
|
633
|
+
(n(), C(nt, {
|
|
634
|
+
key: `table_${oe.value}`,
|
|
627
635
|
colNames: Y.value.colNames,
|
|
628
636
|
head: Y.value.head,
|
|
629
637
|
body: Y.value.body,
|
|
@@ -632,19 +640,19 @@ const dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["cx", "cy", "r", "stroke", "
|
|
|
632
640
|
onClose: o[3] || (o[3] = (a) => $.value.showTable = !1)
|
|
633
641
|
}, {
|
|
634
642
|
th: h(({ th: a }) => [
|
|
635
|
-
|
|
643
|
+
Ve(O(a), 1)
|
|
636
644
|
]),
|
|
637
645
|
td: h(({ td: a }) => [
|
|
638
|
-
_("div", { innerHTML: a }, null, 8,
|
|
646
|
+
_("div", { innerHTML: a }, null, 8, Ot)
|
|
639
647
|
]),
|
|
640
648
|
_: 1
|
|
641
649
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
642
650
|
]),
|
|
643
651
|
_: 1
|
|
644
|
-
}, 8, ["config"])) :
|
|
645
|
-
], 14,
|
|
652
|
+
}, 8, ["config"])) : g("", !0)
|
|
653
|
+
], 14, ht));
|
|
646
654
|
}
|
|
647
|
-
},
|
|
655
|
+
}, Gt = /* @__PURE__ */ vt(Pt, [["__scopeId", "data-v-cd5ffaad"]]);
|
|
648
656
|
export {
|
|
649
|
-
|
|
657
|
+
Gt as default
|
|
650
658
|
};
|