vue-data-ui 2.6.5 → 2.6.7
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-DfGZcZu4.js → Arrow-BxUmDF04.js} +1 -1
- package/dist/{Arrow-CyeGXbbD.cjs → Arrow-PPbxds1Q.cjs} +1 -1
- package/dist/{BaseIcon-B5DvqSYe.cjs → BaseIcon-BmVwfJg2.cjs} +1 -1
- package/dist/{BaseIcon-BzuvxztF.js → BaseIcon-CDx9pxUG.js} +1 -1
- package/dist/{DataTable-zpYtivMM.cjs → DataTable-Cv_TVAas.cjs} +1 -1
- package/dist/{DataTable-BCCBpyhr.js → DataTable-TjJIVFlL.js} +2 -2
- package/dist/{Legend-CJkkmRNE.cjs → Legend-DunrYGuw.cjs} +1 -1
- package/dist/{Legend-CyJrN721.js → Legend-NKGwxkI7.js} +2 -2
- package/dist/{PackageVersion-Dv25_ZxF.cjs → PackageVersion-DJKkRuOD.cjs} +1 -1
- package/dist/{PackageVersion-PZr4BkQ5.js → PackageVersion-QRvxRYPv.js} +1 -1
- package/dist/{PenAndPaper-Cniu2YEX.js → PenAndPaper-CxC1lWGK.js} +3 -3
- package/dist/{PenAndPaper-Cx3_Liuv.cjs → PenAndPaper-MTTJ3Gd9.cjs} +1 -1
- package/dist/{Shape-BXTmpde5.js → Shape-58uyOuYc.js} +26 -23
- package/dist/Shape-D_1vUjCL.cjs +1 -0
- package/dist/{Slicer-DzKrIvL0.cjs → Slicer-BGEieXKn.cjs} +1 -1
- package/dist/{Slicer-D3tEQT9Z.js → Slicer-C7ormJRw.js} +2 -2
- package/dist/{Title-CXBc1TH6.js → Title-BI8etrRU.js} +1 -1
- package/dist/{Title-DdUtciJN.cjs → Title-Dk92HYMu.cjs} +1 -1
- package/dist/Tooltip-ClMeqejQ.cjs +1 -0
- package/dist/{Tooltip-C9lPh5bN.js → Tooltip-Cxc8c50d.js} +23 -20
- package/dist/{index-DLCyjPV0.js → index-9EeNZMz1.js} +6 -1
- package/dist/index-DEnRHTzk.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +89 -62
- package/dist/types/vue-data-ui.d.ts +89 -62
- package/dist/useChartAccessibility-BWojgys7.js +13 -0
- package/dist/useChartAccessibility-Cm7nkzTG.cjs +1 -0
- package/dist/{useNestedProp-BdTohsDJ.cjs → useNestedProp-BNT60LxO.cjs} +1 -1
- package/dist/{useNestedProp-q86V3_LA.js → useNestedProp-df_bKQEI.js} +1 -1
- package/dist/{usePrinter-CPqTP09H.cjs → usePrinter-dyVny55M.cjs} +1 -1
- package/dist/{usePrinter-CpHZjw3G.js → usePrinter-ngrh00Ym.js} +1 -1
- package/dist/{vue-data-ui-CR9Dof80.cjs → vue-data-ui-BYX-I7HQ.cjs} +1 -1
- package/dist/{vue-data-ui-CzqznXmA.js → vue-data-ui-CDD7JcMs.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DvHdA_uo.js → vue-ui-3d-bar-BArLjlrc.js} +171 -168
- package/dist/vue-ui-3d-bar-DegdXf_S.cjs +19 -0
- package/dist/{vue-ui-accordion-FM16tlk7.cjs → vue-ui-accordion-D2qxHGzp.cjs} +1 -1
- package/dist/{vue-ui-accordion-DR2qjfsa.js → vue-ui-accordion-Qo8JxnIN.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BoXxK9_W.js → vue-ui-age-pyramid-Biz02m7c.js} +85 -82
- package/dist/vue-ui-age-pyramid-kpaaJ2Gx.cjs +1 -0
- package/dist/{vue-ui-annotator-5tI8NuFh.cjs → vue-ui-annotator-By6XNYm0.cjs} +1 -1
- package/dist/{vue-ui-annotator-D4kCCpAK.js → vue-ui-annotator-MXs48Lua.js} +1 -1
- package/dist/{vue-ui-bullet-X3Xa_OZ6.js → vue-ui-bullet-CtBs_r3I.js} +92 -89
- package/dist/vue-ui-bullet-Dkz6vX0T.cjs +34 -0
- package/dist/vue-ui-candlestick-DiEUIuW8.cjs +2 -0
- package/dist/{vue-ui-candlestick-BTW5toA5.js → vue-ui-candlestick-gPztmuJE.js} +155 -152
- package/dist/{vue-ui-carousel-table-Cmnwv9Y3.cjs → vue-ui-carousel-table-CYeXP21y.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-D7s_SrJR.js → vue-ui-carousel-table-D9ckYNKZ.js} +4 -4
- package/dist/{vue-ui-chestnut-DN9EZShg.js → vue-ui-chestnut-DWjn-jcN.js} +186 -183
- package/dist/vue-ui-chestnut-oZtRERnV.cjs +6 -0
- package/dist/{vue-ui-circle-pack-ts3rurGX.js → vue-ui-circle-pack-Bz5yVvAM.js} +99 -96
- package/dist/vue-ui-circle-pack-DCJ6N00S.cjs +1 -0
- package/dist/{vue-ui-cursor-SW96fYT3.js → vue-ui-cursor-BrrVDy1u.js} +2 -2
- package/dist/{vue-ui-cursor-CpWkrHpR.cjs → vue-ui-cursor-DZhRygRy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BZcfgajg.js → vue-ui-dashboard-DEmGN8Js.js} +2 -2
- package/dist/{vue-ui-dashboard-Buh9xBz-.cjs → vue-ui-dashboard-o8Ju_cXW.cjs} +1 -1
- package/dist/{vue-ui-digits-rB78vJRR.cjs → vue-ui-digits-CgyYdrQ5.cjs} +1 -1
- package/dist/{vue-ui-digits-C00yOT24.js → vue-ui-digits-DbOrROu7.js} +2 -2
- package/dist/vue-ui-donut-9pWaRwf3.cjs +1 -0
- package/dist/{vue-ui-donut-BkGR2Q-_.js → vue-ui-donut-CP5uWglM.js} +158 -156
- package/dist/{vue-ui-donut-evolution-B7WrjiTO.js → vue-ui-donut-evolution-BAMD1wQ5.js} +133 -131
- package/dist/vue-ui-donut-evolution-Ci_gIrkO.cjs +1 -0
- package/dist/{vue-ui-dumbbell-gQadUH53.js → vue-ui-dumbbell-CFYd-Ypn.js} +125 -122
- package/dist/vue-ui-dumbbell-DUNYoZxT.cjs +9 -0
- package/dist/{vue-ui-flow-CqSTZbgP.js → vue-ui-flow-CdvGWFzv.js} +96 -93
- package/dist/vue-ui-flow-W89ofPB-.cjs +1 -0
- package/dist/{vue-ui-funnel-Jr9TMTsq.js → vue-ui-funnel-DYutKyoz.js} +88 -85
- package/dist/vue-ui-funnel-RvdVrhFu.cjs +1 -0
- package/dist/{vue-ui-galaxy-BrQ10tPo.js → vue-ui-galaxy-BCBRlYS1.js} +123 -120
- package/dist/vue-ui-galaxy-Djdx-ca8.cjs +1 -0
- package/dist/{vue-ui-gauge-DOMio6Mv.js → vue-ui-gauge-BNAAZt4F.js} +86 -83
- package/dist/vue-ui-gauge-BVVmf09x.cjs +1 -0
- package/dist/{vue-ui-gizmo-SKS1idHb.js → vue-ui-gizmo-BFQ_KgLX.js} +3 -3
- package/dist/{vue-ui-gizmo-C3NimqVM.cjs → vue-ui-gizmo-Ceh0oFY3.cjs} +1 -1
- package/dist/vue-ui-heatmap-CiZpI-tA.cjs +1 -0
- package/dist/{vue-ui-heatmap-l4vCjb6f.js → vue-ui-heatmap-Ct3qaBv7.js} +109 -106
- package/dist/vue-ui-history-plot-Ci8Y2EFg.cjs +1 -0
- package/dist/{vue-ui-history-plot-B05tJML1.js → vue-ui-history-plot-shn74MJ6.js} +130 -127
- package/dist/{vue-ui-kpi-DF4U5E1w.js → vue-ui-kpi-B_pV-2JJ.js} +3 -3
- package/dist/{vue-ui-kpi-DQJr571M.cjs → vue-ui-kpi-DfYrbxlX.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BMARnOW4.js → vue-ui-mini-loader-BFnWQs5p.js} +2 -2
- package/dist/{vue-ui-mini-loader-BZkVKkqn.cjs → vue-ui-mini-loader-LIqf62jk.cjs} +1 -1
- package/dist/vue-ui-molecule-D8YuYTKv.cjs +1 -0
- package/dist/{vue-ui-molecule-C1ycekVJ.js → vue-ui-molecule-DNz1m8XZ.js} +147 -144
- package/dist/{vue-ui-mood-radar-_Kd-Lhpm.js → vue-ui-mood-radar-DiYB_zhM.js} +97 -94
- package/dist/vue-ui-mood-radar-uvH7qUHy.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DIwRSn-O.js → vue-ui-nested-donuts-9hn-g4ir.js} +99 -96
- package/dist/vue-ui-nested-donuts-C7ikDjp7.cjs +17 -0
- package/dist/vue-ui-onion-5Rqvd4Fw.cjs +5 -0
- package/dist/{vue-ui-onion-Dqb0gwGl.js → vue-ui-onion-DCWfNTNu.js} +105 -102
- package/dist/{vue-ui-parallel-coordinate-plot-De-tYNNy.js → vue-ui-parallel-coordinate-plot-CaPFL9_1.js} +97 -94
- package/dist/vue-ui-parallel-coordinate-plot-tlgTbaNX.cjs +8 -0
- package/dist/vue-ui-quadrant-B0Sw5NGo.cjs +1 -0
- package/dist/{vue-ui-quadrant-BQ5maxJq.js → vue-ui-quadrant-BoQZ375K.js} +155 -153
- package/dist/vue-ui-quick-chart-D3zV1d7t.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DF_510YT.js → vue-ui-quick-chart-vfMN8F1q.js} +164 -161
- package/dist/{vue-ui-radar-DDHd0AYs.js → vue-ui-radar-CAuu6wkh.js} +129 -127
- package/dist/vue-ui-radar-CNMJCAwo.cjs +1 -0
- package/dist/{vue-ui-rating-Chi3OOtp.js → vue-ui-rating-Bm0HZ3du.js} +2 -2
- package/dist/{vue-ui-rating-D9kQcY2a.cjs → vue-ui-rating-dsRDRL98.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CV1xQOok.js → vue-ui-relation-circle-5OZMN9jR.js} +127 -124
- package/dist/vue-ui-relation-circle-iD7BufNH.cjs +1 -0
- package/dist/{vue-ui-rings-D2ezwyae.js → vue-ui-rings-COefBaQT.js} +114 -112
- package/dist/vue-ui-rings-DC4WG4sK.cjs +2 -0
- package/dist/vue-ui-scatter-5ny76dmi.cjs +1 -0
- package/dist/{vue-ui-scatter-BxbUYPk1.js → vue-ui-scatter-DhO83TZZ.js} +157 -154
- package/dist/{vue-ui-screenshot-Bc7Lv1i8.cjs → vue-ui-screenshot-DABH_phE.cjs} +1 -1
- package/dist/{vue-ui-screenshot-cxDgcXJB.js → vue-ui-screenshot-brillPo5.js} +1 -1
- package/dist/{vue-ui-skeleton-D6ojufhb.js → vue-ui-skeleton-BmJiYGtE.js} +3 -3
- package/dist/{vue-ui-skeleton-DvdPnQbR.cjs → vue-ui-skeleton-_DN0U6W6.cjs} +1 -1
- package/dist/{vue-ui-smiley-DEJ6S-We.cjs → vue-ui-smiley-CW6714mb.cjs} +1 -1
- package/dist/{vue-ui-smiley-9nGRDSn7.js → vue-ui-smiley-D9NRimij.js} +2 -2
- package/dist/{vue-ui-spark-trend-DiNeAGXR.js → vue-ui-spark-trend-BKZj03CQ.js} +5 -5
- package/dist/{vue-ui-spark-trend-BosbwgVe.cjs → vue-ui-spark-trend-expbkxgR.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DNf_Majv.js → vue-ui-sparkbar-CYRORE5i.js} +4 -4
- package/dist/{vue-ui-sparkbar-DGFKrcg0.cjs → vue-ui-sparkbar-Cr9FtevP.cjs} +1 -1
- package/dist/vue-ui-sparkgauge-BHXFhvTv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-D89HjxSK.js → vue-ui-sparkgauge-JV4tYB7P.js} +56 -53
- package/dist/{vue-ui-sparkhistogram-CU1_P6AJ.js → vue-ui-sparkhistogram-DKINHX2q.js} +93 -90
- package/dist/vue-ui-sparkhistogram-T4a3DDck.cjs +1 -0
- package/dist/{vue-ui-sparkline-C2McLmh5.js → vue-ui-sparkline-CbRTHtig.js} +109 -106
- package/dist/vue-ui-sparkline-Dc6Sf3n8.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-Cu4aG9PB.js → vue-ui-sparkstackbar-6u9-2nG4.js} +59 -56
- package/dist/vue-ui-sparkstackbar-CV5SkdsP.cjs +1 -0
- package/dist/{vue-ui-stackbar-6m5CpvNM.js → vue-ui-stackbar-CUppObfj.js} +136 -133
- package/dist/vue-ui-stackbar-CXB-nd71.cjs +6 -0
- package/dist/vue-ui-strip-plot-6IXF_U6-.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DlZ2Eez4.js → vue-ui-strip-plot-doaNZAW4.js} +127 -124
- package/dist/{vue-ui-table-U0_3I0fu.js → vue-ui-table-CZsNuDR5.js} +1 -1
- package/dist/{vue-ui-table-BjhcV9qB.cjs → vue-ui-table-S66UCskD.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Bfqytiv5.cjs → vue-ui-table-heatmap-BU9UU15H.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BrGkCaOG.js → vue-ui-table-heatmap-CjohHqDV.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CXlnp8E3.cjs → vue-ui-table-sparkline-CHFFTD0a.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-C1wNBDqO.js → vue-ui-table-sparkline-ab2rwdKB.js} +5 -5
- package/dist/{vue-ui-thermometer-Bx2abW1B.js → vue-ui-thermometer-C72mHwUi.js} +84 -81
- package/dist/vue-ui-thermometer-Ccd6RGh8.cjs +1 -0
- package/dist/vue-ui-timer-C8Fn2B0b.cjs +64 -0
- package/dist/{vue-ui-timer-3UkgrtEj.js → vue-ui-timer-D-LNi6lz.js} +183 -180
- package/dist/{vue-ui-tiremarks-C_xuD4De.js → vue-ui-tiremarks-Bo8EWsJ8.js} +59 -56
- package/dist/vue-ui-tiremarks-SOzvMOz4.cjs +1 -0
- package/dist/vue-ui-treemap-BqTTQrVh.cjs +1 -0
- package/dist/{vue-ui-treemap-BjDSR72h.js → vue-ui-treemap-uj94elVB.js} +123 -120
- package/dist/{vue-ui-vertical-bar-DUhOoSNl.js → vue-ui-vertical-bar-BUTOw-DK.js} +108 -106
- package/dist/vue-ui-vertical-bar-C4Sxun4Q.cjs +4 -0
- package/dist/{vue-ui-waffle-Dpox5n5s.js → vue-ui-waffle-CTWA1frT.js} +107 -104
- package/dist/vue-ui-waffle-DYWGRKdT.cjs +1 -0
- package/dist/vue-ui-wheel-8K72ZKda.js +330 -0
- package/dist/vue-ui-wheel-Cz5-0klT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-u5S86-Ft.js → vue-ui-word-cloud-CSwBPDB8.js} +97 -94
- package/dist/vue-ui-word-cloud-D39riLZb.cjs +1 -0
- package/dist/vue-ui-xy-BbWXjajH.cjs +3 -0
- package/dist/{vue-ui-xy-0nBQDwL2.js → vue-ui-xy-DpDKutd7.js} +65 -58
- package/dist/{vue-ui-xy-canvas-yQlThVu7.cjs → vue-ui-xy-canvas-BCj0SCqe.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DI7LiD4U.js → vue-ui-xy-canvas-BQm9gah4.js} +82 -81
- package/package.json +1 -1
- package/dist/Shape-GAZUIBfN.cjs +0 -1
- package/dist/Tooltip-BlGVq6xj.cjs +0 -1
- package/dist/index-DSGAenF3.cjs +0 -9
- package/dist/vue-ui-3d-bar-vvpkf_bv.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CMMnrI3R.cjs +0 -1
- package/dist/vue-ui-bullet-nXPlud-q.cjs +0 -34
- package/dist/vue-ui-candlestick-B6T0LhEG.cjs +0 -2
- package/dist/vue-ui-chestnut-D8Gq_i77.cjs +0 -6
- package/dist/vue-ui-circle-pack-DCz3OWlu.cjs +0 -1
- package/dist/vue-ui-donut-BpgK-I9o.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BVJCDPQ2.cjs +0 -1
- package/dist/vue-ui-dumbbell-DRcemHVG.cjs +0 -9
- package/dist/vue-ui-flow-DdQsK5DR.cjs +0 -1
- package/dist/vue-ui-funnel-Bq4yoTfd.cjs +0 -1
- package/dist/vue-ui-galaxy-ia1UNlpc.cjs +0 -1
- package/dist/vue-ui-gauge-C3FbYOSi.cjs +0 -1
- package/dist/vue-ui-heatmap-BCau2Z3U.cjs +0 -1
- package/dist/vue-ui-history-plot-DL7VjOd0.cjs +0 -1
- package/dist/vue-ui-molecule-B5XDGmLx.cjs +0 -1
- package/dist/vue-ui-mood-radar-DyMCJKFb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-B4Am-r6T.cjs +0 -17
- package/dist/vue-ui-onion-YeBdJrdx.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CoecETlm.cjs +0 -8
- package/dist/vue-ui-quadrant-Btzq3qNJ.cjs +0 -1
- package/dist/vue-ui-quick-chart-5cWjffLJ.cjs +0 -15
- package/dist/vue-ui-radar-t22bqFiQ.cjs +0 -1
- package/dist/vue-ui-relation-circle-CWgGPxDJ.cjs +0 -1
- package/dist/vue-ui-rings-CiLJkRwa.cjs +0 -2
- package/dist/vue-ui-scatter-B24gGA8q.cjs +0 -1
- package/dist/vue-ui-sparkgauge-DwK7dzdJ.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-DKoI6_TT.cjs +0 -1
- package/dist/vue-ui-sparkline-Bp7GMRrA.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-Dayxdcr7.cjs +0 -1
- package/dist/vue-ui-stackbar-C21xTVy9.cjs +0 -6
- package/dist/vue-ui-strip-plot-DAo8FMup.cjs +0 -1
- package/dist/vue-ui-thermometer-CBdAwYdC.cjs +0 -1
- package/dist/vue-ui-timer-CRDQbqJ_.cjs +0 -64
- package/dist/vue-ui-tiremarks-C78mfaBr.cjs +0 -1
- package/dist/vue-ui-treemap-CP__1pdb.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DTB8r4LH.cjs +0 -4
- package/dist/vue-ui-waffle-CrVyCF7k.cjs +0 -1
- package/dist/vue-ui-wheel-DV2zgr4d.cjs +0 -1
- package/dist/vue-ui-wheel-ykD8OULJ.js +0 -319
- package/dist/vue-ui-word-cloud-DBkAo2uX.cjs +0 -1
- package/dist/vue-ui-xy-mEVVQr_U.cjs +0 -3
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { computed as v, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as nt } from "./Title-
|
|
5
|
-
import { u as
|
|
6
|
-
import { L as
|
|
7
|
-
import { D as
|
|
8
|
-
import { _ as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as xe } from "./useNestedProp-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
import {
|
|
16
|
-
|
|
1
|
+
import { computed as v, ref as n, watch as ke, onMounted as Xe, onBeforeUnmount as Ge, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as B, normalizeClass as U, createBlock as C, createCommentVNode as f, createElementVNode as O, createVNode as we, createSlots as Ee, withCtx as g, renderSlot as h, normalizeProps as S, guardReactiveProps as F, Fragment as M, renderList as N, toDisplayString as P, createTextVNode as He, nextTick as We } from "vue";
|
|
2
|
+
import { u as je, c as qe, t as Je, p as $e, a as Ke, b as Qe, o as Ze, e as K, d as et, X as tt, f as R, i as Q, x as Ce, q as at, r as lt, y as ot } from "./index-9EeNZMz1.js";
|
|
3
|
+
import { t as rt, u as st } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as nt } from "./Title-BI8etrRU.js";
|
|
5
|
+
import { u as ut, U as it } from "./usePrinter-ngrh00Ym.js";
|
|
6
|
+
import { L as ct } from "./Legend-NKGwxkI7.js";
|
|
7
|
+
import { D as dt } from "./DataTable-TjJIVFlL.js";
|
|
8
|
+
import { _ as vt } from "./Tooltip-Cxc8c50d.js";
|
|
9
|
+
import ht from "./vue-ui-skeleton-BmJiYGtE.js";
|
|
10
|
+
import ft from "./vue-ui-accordion-Qo8JxnIN.js";
|
|
11
|
+
import { u as xe } from "./useNestedProp-df_bKQEI.js";
|
|
12
|
+
import { _ as gt } from "./PackageVersion-QRvxRYPv.js";
|
|
13
|
+
import { P as pt } from "./PenAndPaper-CxC1lWGK.js";
|
|
14
|
+
import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { u as mt } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
+
import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], xt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Tt = ["id"], _t = ["stdDeviation"], Ot = ["filter"], Pt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], At = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], It = { key: 2 }, St = ["onMouseenter"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Mt = {
|
|
17
18
|
key: 5,
|
|
18
19
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
20
|
+
}, Nt = ["onClick"], Rt = ["innerHTML"], Dt = {
|
|
20
21
|
__name: "vue-ui-onion",
|
|
21
22
|
props: {
|
|
22
23
|
config: {
|
|
@@ -34,10 +35,10 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
34
35
|
},
|
|
35
36
|
emits: ["selectLegend"],
|
|
36
37
|
setup(Te, { expose: _e, emit: Oe }) {
|
|
37
|
-
const { vue_ui_onion: Pe } =
|
|
38
|
+
const { vue_ui_onion: Pe } = je(), w = Te, D = v(() => !!w.dataset && w.dataset.length), x = n(qe()), Ae = n(null), Z = n(0), L = n(!1), X = n(""), y = n([]), T = n(null), ee = n(null), te = n(null), ae = n(null), le = n(null), oe = n(0), re = n(0), se = n(0), e = v({
|
|
38
39
|
get: () => ie(),
|
|
39
40
|
set: (t) => t
|
|
40
|
-
}), { userOptionsVisible: G, setUserOptionsVisibility:
|
|
41
|
+
}), { userOptionsVisible: G, setUserOptionsVisibility: ne, keepUserOptionState: ue } = yt({ config: e.value }), { svgRef: Ie } = mt({ config: e.value.style.chart.title });
|
|
41
42
|
function ie() {
|
|
42
43
|
const t = xe({
|
|
43
44
|
userConfig: w.config,
|
|
@@ -45,22 +46,22 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
45
46
|
});
|
|
46
47
|
return t.theme ? {
|
|
47
48
|
...xe({
|
|
48
|
-
userConfig:
|
|
49
|
+
userConfig: Ke.vue_ui_onion[t.theme] || w.config,
|
|
49
50
|
defaultConfig: t
|
|
50
51
|
}),
|
|
51
|
-
customPalette:
|
|
52
|
+
customPalette: Je[t.theme] || $e
|
|
52
53
|
} : t;
|
|
53
54
|
}
|
|
54
55
|
ke(() => w.config, (t) => {
|
|
55
|
-
e.value = ie(), G.value = !e.value.userOptions.showOnChartHover, fe(), oe.value += 1, re.value += 1,
|
|
56
|
+
e.value = ie(), G.value = !e.value.userOptions.showOnChartHover, fe(), oe.value += 1, re.value += 1, se.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
56
57
|
}, { deep: !0 });
|
|
57
|
-
const { isPrinting: ce, isImaging: de, generatePdf: ve, generateImage: he } =
|
|
58
|
+
const { isPrinting: ce, isImaging: de, generatePdf: ve, generateImage: he } = ut({
|
|
58
59
|
elementId: `vue-ui-onion_${x.value}`,
|
|
59
60
|
fileName: e.value.style.chart.title.text || "vue-ui-onion"
|
|
60
|
-
}),
|
|
61
|
+
}), Se = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = v(() => Qe(e.value.customPalette)), m = n({
|
|
61
62
|
showTable: e.value.table.show,
|
|
62
63
|
showTooltip: e.value.style.chart.tooltip.show
|
|
63
|
-
}), r =
|
|
64
|
+
}), r = n({
|
|
64
65
|
height: 512,
|
|
65
66
|
width: 512,
|
|
66
67
|
padding: {
|
|
@@ -70,17 +71,17 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
70
71
|
bottom: 64
|
|
71
72
|
},
|
|
72
73
|
minRadius: 64
|
|
73
|
-
}), V =
|
|
74
|
-
|
|
74
|
+
}), V = n(null);
|
|
75
|
+
Xe(() => {
|
|
75
76
|
fe();
|
|
76
77
|
});
|
|
77
78
|
function fe() {
|
|
78
|
-
if (
|
|
79
|
+
if (Ze(w.dataset) && K({
|
|
79
80
|
componentName: "VueUiOnion",
|
|
80
81
|
type: "dataset"
|
|
81
82
|
}), e.value.responsive) {
|
|
82
|
-
const o =
|
|
83
|
-
const { width: a, height: l } =
|
|
83
|
+
const o = rt(() => {
|
|
84
|
+
const { width: a, height: l } = st({
|
|
84
85
|
chart: T.value,
|
|
85
86
|
title: e.value.style.chart.title.text ? ee.value : null,
|
|
86
87
|
legend: e.value.style.chart.legend.show ? te.value : null,
|
|
@@ -94,7 +95,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
94
95
|
V.value = new ResizeObserver(o), V.value.observe(T.value.parentNode);
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
|
-
|
|
98
|
+
Ge(() => {
|
|
98
99
|
V.value && V.value.disconnect();
|
|
99
100
|
});
|
|
100
101
|
const c = v(() => ({
|
|
@@ -126,7 +127,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
126
127
|
...t,
|
|
127
128
|
percentage: t.percentage || 0,
|
|
128
129
|
targetPercentage: t.percentage || 0,
|
|
129
|
-
color:
|
|
130
|
+
color: et(t.color) || Fe.value[o] || $e[o],
|
|
130
131
|
id: a,
|
|
131
132
|
shape: "circle",
|
|
132
133
|
opacity: y.value.includes(a) ? 0.5 : 1,
|
|
@@ -134,12 +135,12 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
134
135
|
segregate: () => ge(a),
|
|
135
136
|
isSegregated: y.value.includes(a)
|
|
136
137
|
};
|
|
137
|
-
}))), A =
|
|
138
|
-
ke(() => d.value,
|
|
139
|
-
function
|
|
140
|
-
if (
|
|
138
|
+
}))), A = n(d.value), Me = v(() => e.value.useStartAnimation), Ne = n(null), Re = v(() => Math.max(...d.value.map((t) => t.percentage))), E = n(!1);
|
|
139
|
+
ke(() => d.value, De, { immediate: !0 });
|
|
140
|
+
function De() {
|
|
141
|
+
if (Me.value && !E.value) {
|
|
141
142
|
let o = function() {
|
|
142
|
-
t >=
|
|
143
|
+
t >= Re.value ? (cancelAnimationFrame(Ne.value), A.value = d.value, E.value = !0) : (A.value = d.value.map((a) => ({
|
|
143
144
|
...a,
|
|
144
145
|
percentage: t < a.targetPercentage ? t : a.targetPercentage
|
|
145
146
|
})), t += 1, requestAnimationFrame(o), E.value = !0);
|
|
@@ -153,30 +154,30 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
153
154
|
} else
|
|
154
155
|
A.value = d.value;
|
|
155
156
|
}
|
|
156
|
-
const
|
|
157
|
+
const Le = v(() => ({
|
|
157
158
|
cy: "onion-div-legend",
|
|
158
159
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
159
160
|
color: e.value.style.chart.legend.color,
|
|
160
161
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
161
162
|
paddingBottom: 12,
|
|
162
163
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
163
|
-
})),
|
|
164
|
+
})), Ve = v(() => d.value.filter((t) => !y.value.includes(t.id)).length), $ = v(() => {
|
|
164
165
|
const t = Math.min(c.value.width, c.value.height) / 2 / d.value.length;
|
|
165
166
|
return {
|
|
166
167
|
gutter: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.gutter.width,
|
|
167
168
|
track: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.track.width
|
|
168
169
|
};
|
|
169
170
|
}), b = v(() => A.value.filter((t) => !y.value.includes(t.id)).map((t, o) => {
|
|
170
|
-
const a = (c.value.maxRadius - $.value.track) /
|
|
171
|
+
const a = (c.value.maxRadius - $.value.track) / Ve.value / 2 * (1 + o), l = c.value.centerY - a;
|
|
171
172
|
return {
|
|
172
173
|
percentage: t.percentage || 0,
|
|
173
174
|
...t,
|
|
174
175
|
labelY: l,
|
|
175
176
|
radius: a,
|
|
176
|
-
path:
|
|
177
|
+
path: ze(a, t.percentage || 0)
|
|
177
178
|
};
|
|
178
179
|
}));
|
|
179
|
-
function
|
|
180
|
+
function ze(t, o) {
|
|
180
181
|
const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`, I = l * (1 - o / 100);
|
|
181
182
|
return {
|
|
182
183
|
bgDashArray: `${l} ${a}`,
|
|
@@ -191,11 +192,11 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
191
192
|
`.trim()
|
|
192
193
|
};
|
|
193
194
|
}
|
|
194
|
-
const
|
|
195
|
+
const Ye = Oe;
|
|
195
196
|
function ge(t) {
|
|
196
|
-
y.value.includes(t) ? y.value = y.value.filter((o) => o !== t) : y.value.push(t),
|
|
197
|
+
y.value.includes(t) ? y.value = y.value.filter((o) => o !== t) : y.value.push(t), Ye("selectLegend", b.value);
|
|
197
198
|
}
|
|
198
|
-
function
|
|
199
|
+
function Be() {
|
|
199
200
|
return b.value;
|
|
200
201
|
}
|
|
201
202
|
const H = v(() => {
|
|
@@ -226,16 +227,16 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
226
227
|
return { head: t, body: o, config: a, colNames: t };
|
|
227
228
|
});
|
|
228
229
|
function pe() {
|
|
229
|
-
|
|
230
|
-
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = H.value.head, a = H.value.body, l = t.concat([o]).concat(a), p =
|
|
231
|
-
|
|
230
|
+
We(() => {
|
|
231
|
+
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = H.value.head, a = H.value.body, l = t.concat([o]).concat(a), p = at(l);
|
|
232
|
+
lt({ csvContent: p, title: e.value.style.chart.title.text || "vue-ui-onion" });
|
|
232
233
|
});
|
|
233
234
|
}
|
|
234
|
-
const k =
|
|
235
|
-
function
|
|
235
|
+
const k = n(void 0), _ = n(!1);
|
|
236
|
+
function Ue(t) {
|
|
236
237
|
_.value = t, Z.value += 1;
|
|
237
238
|
}
|
|
238
|
-
const W =
|
|
239
|
+
const W = n(null);
|
|
239
240
|
function ye({ datapoint: t, seriesIndex: o, show: a = !0 }) {
|
|
240
241
|
const l = t.absoluteIndex;
|
|
241
242
|
k.value = o, W.value = {
|
|
@@ -246,7 +247,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
246
247
|
}, L.value = a;
|
|
247
248
|
let p = "";
|
|
248
249
|
const I = e.value.style.chart.tooltip.customFormat;
|
|
249
|
-
if (Ce(I) &&
|
|
250
|
+
if (Ce(I) && ot(() => I({
|
|
250
251
|
seriesIndex: l,
|
|
251
252
|
datapoint: t,
|
|
252
253
|
series: d.value,
|
|
@@ -279,28 +280,28 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
279
280
|
function be() {
|
|
280
281
|
m.value.showTooltip = !m.value.showTooltip;
|
|
281
282
|
}
|
|
282
|
-
const Y =
|
|
283
|
+
const Y = n(!1);
|
|
283
284
|
function j() {
|
|
284
285
|
Y.value = !Y.value;
|
|
285
286
|
}
|
|
286
287
|
return _e({
|
|
287
|
-
getData:
|
|
288
|
+
getData: Be,
|
|
288
289
|
generatePdf: ve,
|
|
289
290
|
generateCsv: pe,
|
|
290
291
|
generateImage: he,
|
|
291
292
|
toggleTable: me,
|
|
292
293
|
toggleTooltip: be,
|
|
293
294
|
toggleAnnotator: j
|
|
294
|
-
}), (t, o) => (
|
|
295
|
+
}), (t, o) => (s(), u("div", {
|
|
295
296
|
class: U(`vue-ui-onion ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
296
297
|
ref_key: "onionChart",
|
|
297
298
|
ref: T,
|
|
298
299
|
id: `vue-ui-onion_${x.value}`,
|
|
299
300
|
style: B(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
300
|
-
onMouseenter: o[4] || (o[4] = () => i(
|
|
301
|
-
onMouseleave: o[5] || (o[5] = () => i(
|
|
301
|
+
onMouseenter: o[4] || (o[4] = () => i(ne)(!0)),
|
|
302
|
+
onMouseleave: o[5] || (o[5] = () => i(ne)(!1))
|
|
302
303
|
}, [
|
|
303
|
-
e.value.userOptions.buttons.annotator ? (
|
|
304
|
+
e.value.userOptions.buttons.annotator ? (s(), C(pt, {
|
|
304
305
|
key: 0,
|
|
305
306
|
parent: T.value,
|
|
306
307
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -308,20 +309,20 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
308
309
|
active: Y.value,
|
|
309
310
|
onClose: j
|
|
310
311
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
311
|
-
|
|
312
|
+
Se.value ? (s(), u("div", {
|
|
312
313
|
key: 1,
|
|
313
314
|
ref_key: "noTitle",
|
|
314
315
|
ref: le,
|
|
315
316
|
class: "vue-data-ui-no-title-space",
|
|
316
317
|
style: "height:36px; width: 100%;background:transparent"
|
|
317
318
|
}, null, 512)) : f("", !0),
|
|
318
|
-
e.value.style.chart.title.text ? (
|
|
319
|
+
e.value.style.chart.title.text ? (s(), u("div", {
|
|
319
320
|
key: 2,
|
|
320
321
|
ref_key: "chartTitle",
|
|
321
322
|
ref: ee,
|
|
322
323
|
style: "width:100%;background:transparent"
|
|
323
324
|
}, [
|
|
324
|
-
(
|
|
325
|
+
(s(), C(nt, {
|
|
325
326
|
key: `title_${oe.value}`,
|
|
326
327
|
config: {
|
|
327
328
|
title: {
|
|
@@ -335,7 +336,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
335
336
|
}
|
|
336
337
|
}, null, 8, ["config"]))
|
|
337
338
|
], 512)) : f("", !0),
|
|
338
|
-
e.value.userOptions.show && D.value && (i(ue) || i(G)) ? (
|
|
339
|
+
e.value.userOptions.show && D.value && (i(ue) || i(G)) ? (s(), C(it, {
|
|
339
340
|
ref_key: "details",
|
|
340
341
|
ref: Ae,
|
|
341
342
|
key: `user_options${Z.value}`,
|
|
@@ -357,7 +358,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
357
358
|
position: e.value.userOptions.position,
|
|
358
359
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
359
360
|
isAnnotation: Y.value,
|
|
360
|
-
onToggleFullscreen:
|
|
361
|
+
onToggleFullscreen: Ue,
|
|
361
362
|
onGeneratePdf: i(ve),
|
|
362
363
|
onGenerateCsv: pe,
|
|
363
364
|
onGenerateImage: i(he),
|
|
@@ -367,7 +368,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
367
368
|
style: B({
|
|
368
369
|
visibility: i(ue) ? i(G) ? "visible" : "hidden" : "visible"
|
|
369
370
|
})
|
|
370
|
-
},
|
|
371
|
+
}, Ee({ _: 2 }, [
|
|
371
372
|
t.$slots.optionTooltip ? {
|
|
372
373
|
name: "optionTooltip",
|
|
373
374
|
fn: g(() => [
|
|
@@ -418,15 +419,17 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
418
419
|
key: "6"
|
|
419
420
|
} : void 0
|
|
420
421
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
421
|
-
D.value ? (
|
|
422
|
+
D.value ? (s(), u("svg", {
|
|
422
423
|
key: 4,
|
|
423
|
-
|
|
424
|
+
ref_key: "svgRef",
|
|
425
|
+
ref: Ie,
|
|
426
|
+
xmlns: i(tt),
|
|
424
427
|
class: U({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
|
|
425
428
|
viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
|
|
426
429
|
style: B(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
427
430
|
}, [
|
|
428
|
-
we(
|
|
429
|
-
t.$slots["chart-background"] ? (
|
|
431
|
+
we(gt),
|
|
432
|
+
t.$slots["chart-background"] ? (s(), u("foreignObject", {
|
|
430
433
|
key: 0,
|
|
431
434
|
x: 0,
|
|
432
435
|
y: 0,
|
|
@@ -437,8 +440,8 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
437
440
|
}
|
|
438
441
|
}, [
|
|
439
442
|
h(t.$slots, "chart-background", {}, void 0, !0)
|
|
440
|
-
], 8,
|
|
441
|
-
(
|
|
443
|
+
], 8, $t)) : f("", !0),
|
|
444
|
+
(s(!0), u(M, null, N(b.value, (a, l) => (s(), u("circle", {
|
|
442
445
|
cx: c.value.centerX,
|
|
443
446
|
cy: c.value.centerY,
|
|
444
447
|
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
@@ -450,8 +453,8 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
450
453
|
"stroke-linecap": "round",
|
|
451
454
|
class: U({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(k.value) && k.value !== l }),
|
|
452
455
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
453
|
-
}, null, 10,
|
|
454
|
-
(
|
|
456
|
+
}, null, 10, Ct))), 256)),
|
|
457
|
+
(s(!0), u(M, null, N(b.value, (a, l) => (s(), u("circle", {
|
|
455
458
|
cx: c.value.centerX,
|
|
456
459
|
cy: c.value.centerY,
|
|
457
460
|
r: a.radius < 0 ? 1e-4 : a.radius,
|
|
@@ -463,7 +466,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
463
466
|
class: U({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(k.value) && k.value !== l }),
|
|
464
467
|
"stroke-linecap": "round",
|
|
465
468
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
466
|
-
}, null, 10,
|
|
469
|
+
}, null, 10, xt))), 256)),
|
|
467
470
|
O("defs", null, [
|
|
468
471
|
O("filter", {
|
|
469
472
|
id: `blur_${x.value}`,
|
|
@@ -475,14 +478,14 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
475
478
|
O("feGaussianBlur", {
|
|
476
479
|
in: "SourceGraphic",
|
|
477
480
|
stdDeviation: 100 / e.value.style.chart.gradientIntensity
|
|
478
|
-
}, null, 8,
|
|
479
|
-
], 8,
|
|
481
|
+
}, null, 8, _t)
|
|
482
|
+
], 8, Tt)
|
|
480
483
|
]),
|
|
481
|
-
e.value.style.chart.useGradient ? (
|
|
484
|
+
e.value.style.chart.useGradient ? (s(), u("g", {
|
|
482
485
|
key: 1,
|
|
483
486
|
filter: `url(#blur_${x.value})`
|
|
484
487
|
}, [
|
|
485
|
-
(
|
|
488
|
+
(s(!0), u(M, null, N(b.value, (a, l) => (s(), u("circle", {
|
|
486
489
|
cx: c.value.centerX,
|
|
487
490
|
cy: c.value.centerY,
|
|
488
491
|
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
@@ -493,9 +496,9 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
493
496
|
"stroke-dasharray": a.path.dashArray,
|
|
494
497
|
"stroke-dashoffset": a.path.dashOffset,
|
|
495
498
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
496
|
-
}, null, 8,
|
|
497
|
-
], 8,
|
|
498
|
-
(
|
|
499
|
+
}, null, 8, Pt))), 256))
|
|
500
|
+
], 8, Ot)) : f("", !0),
|
|
501
|
+
(s(!0), u(M, null, N(b.value, (a, l) => (s(), u("circle", {
|
|
499
502
|
cx: c.value.centerX,
|
|
500
503
|
cy: c.value.centerY,
|
|
501
504
|
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
@@ -515,9 +518,9 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
515
518
|
onMouseleave: o[0] || (o[0] = (p) => {
|
|
516
519
|
k.value = void 0, L.value = !1;
|
|
517
520
|
})
|
|
518
|
-
}, null, 40,
|
|
519
|
-
e.value.style.chart.layout.labels.show ? (
|
|
520
|
-
(
|
|
521
|
+
}, null, 40, At))), 256)),
|
|
522
|
+
e.value.style.chart.layout.labels.show ? (s(), u("g", It, [
|
|
523
|
+
(s(!0), u(M, null, N(b.value, (a, l) => (s(), u("g", {
|
|
521
524
|
onMouseenter: (p) => ye({
|
|
522
525
|
datapoint: a,
|
|
523
526
|
show: !0,
|
|
@@ -527,7 +530,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
527
530
|
k.value = void 0, L.value = !1;
|
|
528
531
|
})
|
|
529
532
|
}, [
|
|
530
|
-
y.value.includes(a.id) ? f("", !0) : (
|
|
533
|
+
y.value.includes(a.id) ? f("", !0) : (s(), u("text", {
|
|
531
534
|
key: 0,
|
|
532
535
|
x: r.value.width / 2 - $.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
|
|
533
536
|
y: a.labelY + e.value.style.chart.layout.labels.offsetY,
|
|
@@ -559,15 +562,15 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
559
562
|
r: e.value.style.chart.layout.labels.roundingValue
|
|
560
563
|
}),
|
|
561
564
|
{ datapoint: a, seriesIndex: l }
|
|
562
|
-
)})` : ""}`), 9,
|
|
563
|
-
], 40,
|
|
565
|
+
)})` : ""}`), 9, Ft))
|
|
566
|
+
], 40, St))), 256))
|
|
564
567
|
])) : f("", !0),
|
|
565
568
|
h(t.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
566
|
-
], 14,
|
|
567
|
-
t.$slots.watermark ? (
|
|
569
|
+
], 14, wt)) : f("", !0),
|
|
570
|
+
t.$slots.watermark ? (s(), u("div", Mt, [
|
|
568
571
|
h(t.$slots, "watermark", S(F({ isPrinting: i(ce) || i(de) })), void 0, !0)
|
|
569
572
|
])) : f("", !0),
|
|
570
|
-
D.value ? f("", !0) : (
|
|
573
|
+
D.value ? f("", !0) : (s(), C(ht, {
|
|
571
574
|
key: 6,
|
|
572
575
|
config: {
|
|
573
576
|
type: "onion",
|
|
@@ -583,10 +586,10 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
583
586
|
ref_key: "chartLegend",
|
|
584
587
|
ref: te
|
|
585
588
|
}, [
|
|
586
|
-
e.value.style.chart.legend.show ? (
|
|
587
|
-
key: `legend_${
|
|
589
|
+
e.value.style.chart.legend.show ? (s(), C(ct, {
|
|
590
|
+
key: `legend_${se.value}`,
|
|
588
591
|
legendSet: d.value,
|
|
589
|
-
config:
|
|
592
|
+
config: Le.value,
|
|
590
593
|
onClickMarker: o[2] || (o[2] = ({ legend: a }) => ge(a.id))
|
|
591
594
|
}, {
|
|
592
595
|
item: g(({ legend: a }) => [
|
|
@@ -594,7 +597,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
594
597
|
"data-cy-legend-item": "",
|
|
595
598
|
onClick: (l) => a.segregate(),
|
|
596
599
|
style: B(`opacity:${y.value.includes(a.id) ? 0.5 : 1}`)
|
|
597
|
-
}, P(a.name ? a.name + ": " : "") + " " + P((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13,
|
|
600
|
+
}, P(a.name ? a.name + ": " : "") + " " + P((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, Nt)
|
|
598
601
|
]),
|
|
599
602
|
_: 1
|
|
600
603
|
}, 8, ["legendSet", "config"])) : h(t.$slots, "legend", {
|
|
@@ -602,7 +605,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
602
605
|
legend: d.value
|
|
603
606
|
}, void 0, !0)
|
|
604
607
|
], 512),
|
|
605
|
-
t.$slots.source ? (
|
|
608
|
+
t.$slots.source ? (s(), u("div", {
|
|
606
609
|
key: 7,
|
|
607
610
|
ref_key: "source",
|
|
608
611
|
ref: ae,
|
|
@@ -610,7 +613,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
610
613
|
}, [
|
|
611
614
|
h(t.$slots, "source", {}, void 0, !0)
|
|
612
615
|
], 512)) : f("", !0),
|
|
613
|
-
we(
|
|
616
|
+
we(vt, {
|
|
614
617
|
show: m.value.showTooltip && L.value,
|
|
615
618
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
616
619
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -634,7 +637,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
634
637
|
]),
|
|
635
638
|
_: 3
|
|
636
639
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
637
|
-
D.value ? (
|
|
640
|
+
D.value ? (s(), C(ft, {
|
|
638
641
|
key: 8,
|
|
639
642
|
hideDetails: "",
|
|
640
643
|
config: {
|
|
@@ -651,7 +654,7 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
651
654
|
}
|
|
652
655
|
}, {
|
|
653
656
|
content: g(() => [
|
|
654
|
-
(
|
|
657
|
+
(s(), C(dt, {
|
|
655
658
|
key: `table_${re.value}`,
|
|
656
659
|
colNames: z.value.colNames,
|
|
657
660
|
head: z.value.head,
|
|
@@ -661,19 +664,19 @@ const mt = ["id"], bt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = ["c
|
|
|
661
664
|
onClose: o[3] || (o[3] = (a) => m.value.showTable = !1)
|
|
662
665
|
}, {
|
|
663
666
|
th: g(({ th: a }) => [
|
|
664
|
-
|
|
667
|
+
He(P(a), 1)
|
|
665
668
|
]),
|
|
666
669
|
td: g(({ td: a }) => [
|
|
667
|
-
O("div", { innerHTML: a }, null, 8,
|
|
670
|
+
O("div", { innerHTML: a }, null, 8, Rt)
|
|
668
671
|
]),
|
|
669
672
|
_: 1
|
|
670
673
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
671
674
|
]),
|
|
672
675
|
_: 1
|
|
673
676
|
}, 8, ["config"])) : f("", !0)
|
|
674
|
-
], 46,
|
|
677
|
+
], 46, kt));
|
|
675
678
|
}
|
|
676
|
-
},
|
|
679
|
+
}, Zt = /* @__PURE__ */ bt(Dt, [["__scopeId", "data-v-4407a21a"]]);
|
|
677
680
|
export {
|
|
678
|
-
|
|
681
|
+
Zt as default
|
|
679
682
|
};
|