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,26 +1,27 @@
|
|
|
1
|
-
import { computed as p, ref as i, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import
|
|
8
|
-
import { L as
|
|
9
|
-
import { D as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { u as Se } from "./useNestedProp-
|
|
13
|
-
import { _ as
|
|
14
|
-
import { P as
|
|
15
|
-
import { u as
|
|
16
|
-
import {
|
|
17
|
-
|
|
1
|
+
import { computed as p, ref as i, watch as He, onMounted as Ye, onBeforeUnmount as Qe, createElementBlock as n, openBlock as r, unref as c, normalizeStyle as W, normalizeClass as R, createBlock as _, createCommentVNode as d, createElementVNode as $, createVNode as ee, createSlots as Je, withCtx as m, renderSlot as f, normalizeProps as z, guardReactiveProps as M, Fragment as T, renderList as P, toDisplayString as U, createTextVNode as Pe, nextTick as Ke } from "vue";
|
|
2
|
+
import { u as Ze, c as et, t as tt, p as x, a as at, o as ot, e as S, b as lt, g as xe, d as Ae, P as Oe, v as rt, i as Fe, f as V, X as st, s as te, w as nt, Q as Ne, q as ut, r as it, x as ct, y as dt } from "./index-9EeNZMz1.js";
|
|
3
|
+
import { t as vt, u as ht } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as pt } from "./Title-BI8etrRU.js";
|
|
5
|
+
import { u as gt, U as ft } from "./usePrinter-ngrh00Ym.js";
|
|
6
|
+
import { _ as yt } from "./Tooltip-Cxc8c50d.js";
|
|
7
|
+
import mt from "./vue-ui-sparkbar-CYRORE5i.js";
|
|
8
|
+
import { L as bt } from "./Legend-NKGwxkI7.js";
|
|
9
|
+
import { D as kt } from "./DataTable-TjJIVFlL.js";
|
|
10
|
+
import Ct from "./vue-ui-skeleton-BmJiYGtE.js";
|
|
11
|
+
import wt from "./vue-ui-accordion-Qo8JxnIN.js";
|
|
12
|
+
import { u as Se } from "./useNestedProp-df_bKQEI.js";
|
|
13
|
+
import { _ as _t } from "./PackageVersion-QRvxRYPv.js";
|
|
14
|
+
import { P as $t } from "./PenAndPaper-CxC1lWGK.js";
|
|
15
|
+
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
|
+
import { u as Pt } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
+
import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
const At = ["id"], Ot = ["xmlns", "viewBox"], Ft = ["width", "height"], Nt = ["id"], St = ["stop-color"], It = ["stop-color"], Lt = { key: 1 }, Rt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], zt = { key: 0 }, Mt = ["d", "stroke", "stroke-width"], Ut = ["d", "stroke", "stroke-width"], Vt = { key: 2 }, Et = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Bt = ["points", "stroke", "stroke-width"], Dt = ["points", "stroke", "stroke-width", "fill"], Gt = { key: 3 }, Wt = ["cx", "cy", "fill", "r", "stroke"], Xt = {
|
|
18
19
|
key: 5,
|
|
19
20
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
21
|
+
}, jt = ["onClick"], qt = {
|
|
21
22
|
key: 0,
|
|
22
23
|
style: { "max-width": "200px", margin: "0 auto" }
|
|
23
|
-
},
|
|
24
|
+
}, Ht = {
|
|
24
25
|
__name: "vue-ui-radar",
|
|
25
26
|
props: {
|
|
26
27
|
config: {
|
|
@@ -37,35 +38,35 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
37
38
|
}
|
|
38
39
|
},
|
|
39
40
|
emits: ["selectLegend"],
|
|
40
|
-
setup(Ie, { expose: Le, emit:
|
|
41
|
-
const { vue_ui_radar:
|
|
41
|
+
setup(Ie, { expose: Le, emit: Re }) {
|
|
42
|
+
const { vue_ui_radar: ze } = Ze(), g = Ie, I = p(() => !!g.dataset && Object.keys(g.dataset).length), w = i(et()), Me = i(null), X = i(!1), j = i(""), ae = i(0), A = i(null), oe = i(null), le = i(null), re = i(null), se = i(null), ne = i(0), ue = i(0), ie = i(0), e = p({
|
|
42
43
|
get: () => ve(),
|
|
43
44
|
set: (t) => t
|
|
44
|
-
}), { userOptionsVisible: q, setUserOptionsVisibility:
|
|
45
|
+
}), { userOptionsVisible: q, setUserOptionsVisibility: ce, keepUserOptionState: de } = Tt({ config: e.value }), { svgRef: Ue } = Pt({ config: e.value.style.chart.title });
|
|
45
46
|
function ve() {
|
|
46
47
|
const t = Se({
|
|
47
48
|
userConfig: g.config,
|
|
48
|
-
defaultConfig:
|
|
49
|
+
defaultConfig: ze
|
|
49
50
|
});
|
|
50
51
|
return t.theme ? {
|
|
51
52
|
...Se({
|
|
52
|
-
userConfig:
|
|
53
|
+
userConfig: at.vue_ui_radar[t.theme] || g.config,
|
|
53
54
|
defaultConfig: t
|
|
54
55
|
}),
|
|
55
|
-
customPalette:
|
|
56
|
+
customPalette: tt[t.theme] || x
|
|
56
57
|
} : t;
|
|
57
58
|
}
|
|
58
|
-
|
|
59
|
+
He(() => g.config, (t) => {
|
|
59
60
|
e.value = ve(), q.value = !e.value.userOptions.showOnChartHover, he(), ne.value += 1, ue.value += 1, ie.value += 1, b.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, b.value.showTable = e.value.table.show, b.value.showTooltip = e.value.style.chart.tootlip.show;
|
|
60
61
|
}, { deep: !0 });
|
|
61
62
|
const E = i(null);
|
|
62
63
|
function he() {
|
|
63
|
-
if (
|
|
64
|
+
if (ot(g.dataset) && S({
|
|
64
65
|
componentName: "VueUiRadar",
|
|
65
66
|
type: "dataset"
|
|
66
67
|
}), e.value.responsive) {
|
|
67
|
-
const t =
|
|
68
|
-
const { width: a, height: o } =
|
|
68
|
+
const t = vt(() => {
|
|
69
|
+
const { width: a, height: o } = ht({
|
|
69
70
|
chart: A.value,
|
|
70
71
|
title: e.value.style.chart.title.text ? oe.value : null,
|
|
71
72
|
legend: e.value.style.chart.legend.show ? le.value : null,
|
|
@@ -79,21 +80,21 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
79
80
|
E.value = new ResizeObserver(t), E.value.observe(A.value.parentNode);
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
|
-
|
|
83
|
+
Ye(() => {
|
|
83
84
|
he();
|
|
84
|
-
}),
|
|
85
|
+
}), Qe(() => {
|
|
85
86
|
E.value && E.value.disconnect();
|
|
86
87
|
});
|
|
87
|
-
const { isPrinting: pe, isImaging: ge, generatePdf: fe, generateImage: ye } =
|
|
88
|
+
const { isPrinting: pe, isImaging: ge, generatePdf: fe, generateImage: ye } = gt({
|
|
88
89
|
elementId: `vue-ui-radar_${w.value}`,
|
|
89
90
|
fileName: e.value.style.chart.title.text || "vue-ui-radar"
|
|
90
|
-
}),
|
|
91
|
+
}), Ve = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), me = p(() => lt(e.value.customPalette)), b = i({
|
|
91
92
|
dataLabels: {
|
|
92
93
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
93
94
|
},
|
|
94
95
|
showTable: e.value.table.show,
|
|
95
96
|
showTooltip: e.value.style.chart.tooltip.show
|
|
96
|
-
}),
|
|
97
|
+
}), Ee = p(() => ({
|
|
97
98
|
style: {
|
|
98
99
|
backgroundColor: "#FFFFFF00",
|
|
99
100
|
animation: {
|
|
@@ -114,19 +115,19 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
114
115
|
})), u = i({
|
|
115
116
|
height: 312,
|
|
116
117
|
width: 512
|
|
117
|
-
}),
|
|
118
|
+
}), Be = Re, v = i([]), L = i(null), O = i(!1);
|
|
118
119
|
function be(t) {
|
|
119
120
|
O.value = !0, v.value.includes(t) ? (L.value = t, v.value = v.value.filter((a) => a !== t), setTimeout(() => {
|
|
120
121
|
O.value = !1, L.value = null;
|
|
121
122
|
}, 500)) : (v.value.push(t), setTimeout(() => {
|
|
122
123
|
O.value = !1;
|
|
123
|
-
}, 500)),
|
|
124
|
+
}, 500)), Be("selectLegend", F.value.filter((a, o) => !v.value.includes(o)).map((a) => ({
|
|
124
125
|
name: a.name,
|
|
125
126
|
color: a.color,
|
|
126
127
|
proportion: a.totalProportion
|
|
127
128
|
})));
|
|
128
129
|
}
|
|
129
|
-
function
|
|
130
|
+
function De() {
|
|
130
131
|
return F.value.map((t) => ({
|
|
131
132
|
name: t.name,
|
|
132
133
|
color: t.color,
|
|
@@ -186,13 +187,13 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
186
187
|
radius: H.value,
|
|
187
188
|
sides: Ce.value,
|
|
188
189
|
rotation: 0
|
|
189
|
-
})),
|
|
190
|
+
})), Ge = p(() => {
|
|
190
191
|
const t = [];
|
|
191
192
|
for (let a = 0; a < H.value; a += H.value / e.value.style.chart.layout.grid.graduations)
|
|
192
193
|
t.push(a);
|
|
193
194
|
return t;
|
|
194
195
|
}), C = p(() => we.value.coordinates.map((t, a) => {
|
|
195
|
-
const o = k.value[a].values.map((l) =>
|
|
196
|
+
const o = k.value[a].values.map((l) => We({
|
|
196
197
|
centerX: u.value.width / 2,
|
|
197
198
|
centerY: u.value.height / 2,
|
|
198
199
|
apexX: t.x,
|
|
@@ -209,7 +210,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
209
210
|
let o = "middle";
|
|
210
211
|
return t = Math.round(t), a = Math.round(a), t > u.value.width / 2 && (t += 12, o = "start"), t < u.value.width / 2 && (t -= 12, o = "end"), a > u.value.height / 2 && (a += 20), a < u.value.height / 2 && (a -= 12), a === u.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
|
|
211
212
|
}
|
|
212
|
-
function
|
|
213
|
+
function We({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: s }) {
|
|
213
214
|
return {
|
|
214
215
|
x: t + (o - t) * s,
|
|
215
216
|
y: a + (l - a) * s
|
|
@@ -219,13 +220,13 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
219
220
|
const t = k.value.map((a, o) => a.values.map((l) => l / (a.target || ke.value)));
|
|
220
221
|
return y.value.map((a, o) => ({
|
|
221
222
|
...a,
|
|
222
|
-
totalProportion:
|
|
223
|
+
totalProportion: rt(t.map((l) => l[o]).reduce((l, s) => l + s, 0) / k.value.length),
|
|
223
224
|
shape: "circle",
|
|
224
225
|
opacity: v.value.includes(o) ? 0.5 : 1,
|
|
225
226
|
segregate: () => be(o),
|
|
226
227
|
isSegregated: v.value.includes(o)
|
|
227
228
|
}));
|
|
228
|
-
}),
|
|
229
|
+
}), Xe = p(() => ({
|
|
229
230
|
cy: "radar-div-legend",
|
|
230
231
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
231
232
|
color: e.value.style.chart.legend.color,
|
|
@@ -273,7 +274,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
273
274
|
};
|
|
274
275
|
return { head: t, body: a, config: o, colNames: t };
|
|
275
276
|
}), D = i(null), Q = i([]), J = i(null);
|
|
276
|
-
function
|
|
277
|
+
function je(t, a) {
|
|
277
278
|
Q.value = [], D.value = a, X.value = !0;
|
|
278
279
|
let o = "";
|
|
279
280
|
J.value = {
|
|
@@ -287,7 +288,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
287
288
|
config: e.value
|
|
288
289
|
};
|
|
289
290
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
290
|
-
if (
|
|
291
|
+
if (ct(l) && dt(() => l({
|
|
291
292
|
seriesIndex: a,
|
|
292
293
|
datapoint: t,
|
|
293
294
|
series: { categories: y.value, datapoints: k.value, radar: C.value },
|
|
@@ -315,16 +316,16 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
315
316
|
}
|
|
316
317
|
}
|
|
317
318
|
function _e() {
|
|
318
|
-
|
|
319
|
-
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...F.value.flatMap((h) => [[h.name], ["%"]])], o = g.dataset.series.map((h,
|
|
319
|
+
Ke(() => {
|
|
320
|
+
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...F.value.flatMap((h) => [[h.name], ["%"]])], o = g.dataset.series.map((h, Yt) => [h.name, h.target, ...h.values.flatMap((Z) => [
|
|
320
321
|
Z,
|
|
321
322
|
isNaN(Z / h.target) ? "" : Z / h.target * 100
|
|
322
|
-
])]), l = t.concat([a]).concat(o), s =
|
|
323
|
-
|
|
323
|
+
])]), l = t.concat([a]).concat(o), s = ut(l);
|
|
324
|
+
it({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-radar" });
|
|
324
325
|
});
|
|
325
326
|
}
|
|
326
327
|
const N = i(!1);
|
|
327
|
-
function
|
|
328
|
+
function qe(t) {
|
|
328
329
|
N.value = t, ae.value += 1;
|
|
329
330
|
}
|
|
330
331
|
function $e() {
|
|
@@ -338,7 +339,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
338
339
|
G.value = !G.value;
|
|
339
340
|
}
|
|
340
341
|
return Le({
|
|
341
|
-
getData:
|
|
342
|
+
getData: De,
|
|
342
343
|
generatePdf: fe,
|
|
343
344
|
generateCsv: _e,
|
|
344
345
|
generateImage: ye,
|
|
@@ -346,36 +347,36 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
346
347
|
toggleTooltip: Te,
|
|
347
348
|
toggleAnnotator: K
|
|
348
349
|
}), (t, a) => (r(), n("div", {
|
|
349
|
-
class:
|
|
350
|
+
class: R(`vue-ui-radar ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
350
351
|
ref_key: "radarChart",
|
|
351
352
|
ref: A,
|
|
352
353
|
id: `vue-ui-radar_${w.value}`,
|
|
353
354
|
style: W(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
354
|
-
onMouseenter: a[3] || (a[3] = () =>
|
|
355
|
-
onMouseleave: a[4] || (a[4] = () =>
|
|
355
|
+
onMouseenter: a[3] || (a[3] = () => c(ce)(!0)),
|
|
356
|
+
onMouseleave: a[4] || (a[4] = () => c(ce)(!1))
|
|
356
357
|
}, [
|
|
357
|
-
e.value.userOptions.buttons.annotator ? (r(), _(
|
|
358
|
+
e.value.userOptions.buttons.annotator ? (r(), _($t, {
|
|
358
359
|
key: 0,
|
|
359
360
|
parent: A.value,
|
|
360
361
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
361
362
|
color: e.value.style.chart.color,
|
|
362
363
|
active: G.value,
|
|
363
364
|
onClose: K
|
|
364
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
365
|
-
|
|
365
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
|
|
366
|
+
Ve.value ? (r(), n("div", {
|
|
366
367
|
key: 1,
|
|
367
368
|
ref_key: "noTitle",
|
|
368
369
|
ref: se,
|
|
369
370
|
class: "vue-data-ui-no-title-space",
|
|
370
371
|
style: "height:36px; width: 100%;background:transparent"
|
|
371
|
-
}, null, 512)) :
|
|
372
|
+
}, null, 512)) : d("", !0),
|
|
372
373
|
e.value.style.chart.title.text ? (r(), n("div", {
|
|
373
374
|
key: 2,
|
|
374
375
|
ref_key: "chartTitle",
|
|
375
376
|
ref: oe,
|
|
376
377
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
377
378
|
}, [
|
|
378
|
-
(r(), _(
|
|
379
|
+
(r(), _(pt, {
|
|
379
380
|
key: `title_${ne.value}`,
|
|
380
381
|
config: {
|
|
381
382
|
title: {
|
|
@@ -388,15 +389,15 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
388
389
|
}
|
|
389
390
|
}
|
|
390
391
|
}, null, 8, ["config"]))
|
|
391
|
-
], 512)) :
|
|
392
|
-
e.value.userOptions.show && I.value && (
|
|
392
|
+
], 512)) : d("", !0),
|
|
393
|
+
e.value.userOptions.show && I.value && (c(de) || c(q)) ? (r(), _(ft, {
|
|
393
394
|
ref_key: "details",
|
|
394
|
-
ref:
|
|
395
|
+
ref: Me,
|
|
395
396
|
key: `user_options_${ae.value}`,
|
|
396
397
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
397
398
|
color: e.value.style.chart.color,
|
|
398
|
-
isImaging:
|
|
399
|
-
isPrinting:
|
|
399
|
+
isImaging: c(ge),
|
|
400
|
+
isPrinting: c(pe),
|
|
400
401
|
uid: w.value,
|
|
401
402
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
402
403
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -411,17 +412,17 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
411
412
|
position: e.value.userOptions.position,
|
|
412
413
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
413
414
|
isAnnotation: G.value,
|
|
414
|
-
onToggleFullscreen:
|
|
415
|
-
onGeneratePdf:
|
|
415
|
+
onToggleFullscreen: qe,
|
|
416
|
+
onGeneratePdf: c(fe),
|
|
416
417
|
onGenerateCsv: _e,
|
|
417
|
-
onGenerateImage:
|
|
418
|
+
onGenerateImage: c(ye),
|
|
418
419
|
onToggleTable: $e,
|
|
419
420
|
onToggleTooltip: Te,
|
|
420
421
|
onToggleAnnotator: K,
|
|
421
422
|
style: W({
|
|
422
|
-
visibility:
|
|
423
|
+
visibility: c(de) ? c(q) ? "visible" : "hidden" : "visible"
|
|
423
424
|
})
|
|
424
|
-
},
|
|
425
|
+
}, Je({ _: 2 }, [
|
|
425
426
|
t.$slots.optionTooltip ? {
|
|
426
427
|
name: "optionTooltip",
|
|
427
428
|
fn: m(() => [
|
|
@@ -460,26 +461,28 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
460
461
|
t.$slots.optionFullscreen ? {
|
|
461
462
|
name: "optionFullscreen",
|
|
462
463
|
fn: m(({ toggleFullscreen: o, isFullscreen: l }) => [
|
|
463
|
-
f(t.$slots, "optionFullscreen", M(
|
|
464
|
+
f(t.$slots, "optionFullscreen", z(M({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
|
|
464
465
|
]),
|
|
465
466
|
key: "5"
|
|
466
467
|
} : void 0,
|
|
467
468
|
t.$slots.optionAnnotator ? {
|
|
468
469
|
name: "optionAnnotator",
|
|
469
470
|
fn: m(({ toggleAnnotator: o, isAnnotator: l }) => [
|
|
470
|
-
f(t.$slots, "optionAnnotator", M(
|
|
471
|
+
f(t.$slots, "optionAnnotator", z(M({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
|
|
471
472
|
]),
|
|
472
473
|
key: "6"
|
|
473
474
|
} : void 0
|
|
474
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
475
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
|
|
475
476
|
I.value ? (r(), n("svg", {
|
|
476
477
|
key: 4,
|
|
477
|
-
|
|
478
|
-
|
|
478
|
+
ref_key: "svgRef",
|
|
479
|
+
ref: Ue,
|
|
480
|
+
xmlns: c(st),
|
|
481
|
+
class: R({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
479
482
|
viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
|
|
480
483
|
style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
481
484
|
}, [
|
|
482
|
-
ee(
|
|
485
|
+
ee(_t),
|
|
483
486
|
t.$slots["chart-background"] ? (r(), n("foreignObject", {
|
|
484
487
|
key: 0,
|
|
485
488
|
x: 0,
|
|
@@ -491,7 +494,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
491
494
|
}
|
|
492
495
|
}, [
|
|
493
496
|
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
494
|
-
], 8,
|
|
497
|
+
], 8, Ft)) : d("", !0),
|
|
495
498
|
$("defs", null, [
|
|
496
499
|
(r(!0), n(T, null, P(y.value, (o, l) => (r(), n("radialGradient", {
|
|
497
500
|
cx: "50%",
|
|
@@ -503,15 +506,15 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
503
506
|
}, [
|
|
504
507
|
$("stop", {
|
|
505
508
|
offset: "0%",
|
|
506
|
-
"stop-color":
|
|
507
|
-
}, null, 8,
|
|
509
|
+
"stop-color": c(te)(c(nt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
|
|
510
|
+
}, null, 8, St),
|
|
508
511
|
$("stop", {
|
|
509
512
|
offset: "100%",
|
|
510
|
-
"stop-color":
|
|
511
|
-
}, null, 8,
|
|
512
|
-
], 8,
|
|
513
|
+
"stop-color": c(te)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
514
|
+
}, null, 8, It)
|
|
515
|
+
], 8, Nt))), 256))
|
|
513
516
|
]),
|
|
514
|
-
e.value.style.chart.layout.grid.show ? (r(), n("g",
|
|
517
|
+
e.value.style.chart.layout.grid.show ? (r(), n("g", Lt, [
|
|
515
518
|
(r(!0), n(T, null, P(C.value, (o) => (r(), n("line", {
|
|
516
519
|
x1: u.value.width / 2,
|
|
517
520
|
y1: u.value.height / 2,
|
|
@@ -519,10 +522,10 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
519
522
|
y2: o.y,
|
|
520
523
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
521
524
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
522
|
-
}, null, 8,
|
|
523
|
-
e.value.style.chart.layout.grid.graduations > 0 ? (r(), n("g",
|
|
524
|
-
(r(!0), n(T, null, P(
|
|
525
|
-
d:
|
|
525
|
+
}, null, 8, Rt))), 256)),
|
|
526
|
+
e.value.style.chart.layout.grid.graduations > 0 ? (r(), n("g", zt, [
|
|
527
|
+
(r(!0), n(T, null, P(Ge.value, (o) => (r(), n("path", {
|
|
528
|
+
d: c(Oe)({
|
|
526
529
|
plot: { x: u.value.width / 2, y: u.value.height / 2 },
|
|
527
530
|
radius: o,
|
|
528
531
|
sides: Ce.value,
|
|
@@ -531,9 +534,9 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
531
534
|
fill: "none",
|
|
532
535
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
533
536
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
534
|
-
}, null, 8,
|
|
535
|
-
])) :
|
|
536
|
-
])) :
|
|
537
|
+
}, null, 8, Mt))), 256))
|
|
538
|
+
])) : d("", !0)
|
|
539
|
+
])) : d("", !0),
|
|
537
540
|
$("path", {
|
|
538
541
|
d: we.value.path,
|
|
539
542
|
fill: "none",
|
|
@@ -541,41 +544,41 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
541
544
|
"stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
542
545
|
"stroke-linejoin": "round",
|
|
543
546
|
"stroke-linecap": "round"
|
|
544
|
-
}, null, 8,
|
|
545
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (r(), n("g",
|
|
547
|
+
}, null, 8, Ut),
|
|
548
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (r(), n("g", Vt, [
|
|
546
549
|
(r(!0), n(T, null, P(C.value, (o, l) => (r(), n("text", {
|
|
547
550
|
x: Y(o).x,
|
|
548
551
|
y: Y(o).y,
|
|
549
552
|
"text-anchor": Y(o).anchor,
|
|
550
553
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
551
554
|
fill: e.value.style.chart.layout.labels.dataLabels.color,
|
|
552
|
-
onMouseenter: (s) =>
|
|
555
|
+
onMouseenter: (s) => je(o, l),
|
|
553
556
|
onMouseleave: a[0] || (a[0] = (s) => {
|
|
554
557
|
X.value = !1, D.value = null;
|
|
555
558
|
})
|
|
556
|
-
}, U(o.name), 41,
|
|
557
|
-
])) :
|
|
559
|
+
}, U(o.name), 41, Et))), 256))
|
|
560
|
+
])) : d("", !0),
|
|
558
561
|
(r(!0), n(T, null, P(y.value, (o, l) => (r(), n("g", null, [
|
|
559
562
|
$("g", null, [
|
|
560
563
|
e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), n("polygon", {
|
|
561
564
|
key: 0,
|
|
562
|
-
points:
|
|
565
|
+
points: c(Ne)(C.value.map((s) => s.plots[l]), !1, !0),
|
|
563
566
|
stroke: e.value.style.chart.backgroundColor,
|
|
564
567
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
565
568
|
fill: "none",
|
|
566
|
-
class:
|
|
567
|
-
}, null, 10,
|
|
569
|
+
class: R({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && L.value === l && e.value.useCssAnimation })
|
|
570
|
+
}, null, 10, Bt)) : d("", !0),
|
|
568
571
|
e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), n("polygon", {
|
|
569
572
|
key: 1,
|
|
570
|
-
points:
|
|
573
|
+
points: c(Ne)(C.value.map((s) => s.plots[l]), !1, !0),
|
|
571
574
|
stroke: o.color,
|
|
572
575
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
573
|
-
fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${w.value}_${l})` :
|
|
574
|
-
class:
|
|
575
|
-
}, null, 10,
|
|
576
|
+
fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${w.value}_${l})` : c(te)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
|
|
577
|
+
class: R({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && L.value === l && e.value.useCssAnimation })
|
|
578
|
+
}, null, 10, Dt)) : d("", !0)
|
|
576
579
|
])
|
|
577
580
|
]))), 256)),
|
|
578
|
-
e.value.style.chart.layout.plots.show ? (r(), n("g",
|
|
581
|
+
e.value.style.chart.layout.plots.show ? (r(), n("g", Gt, [
|
|
579
582
|
(r(!0), n(T, null, P(C.value, (o, l) => (r(), n("g", null, [
|
|
580
583
|
(r(!0), n(T, null, P(o.plots, (s, h) => (r(), n("circle", {
|
|
581
584
|
cx: s.x,
|
|
@@ -584,16 +587,16 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
584
587
|
r: D.value !== null && D.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
|
|
585
588
|
stroke: v.value.includes(h) ? "transparent" : e.value.style.chart.backgroundColor,
|
|
586
589
|
"stroke-width": 0.5,
|
|
587
|
-
class:
|
|
588
|
-
}, null, 10,
|
|
590
|
+
class: R({ "animated-out": v.value.includes(h) && e.value.useCssAnimation, "animated-in": O.value && L.value === h && e.value.useCssAnimation })
|
|
591
|
+
}, null, 10, Wt))), 256))
|
|
589
592
|
]))), 256))
|
|
590
|
-
])) :
|
|
593
|
+
])) : d("", !0),
|
|
591
594
|
f(t.$slots, "svg", { svg: u.value }, void 0, !0)
|
|
592
|
-
], 14,
|
|
593
|
-
t.$slots.watermark ? (r(), n("div",
|
|
594
|
-
f(t.$slots, "watermark", M(
|
|
595
|
-
])) :
|
|
596
|
-
I.value ?
|
|
595
|
+
], 14, Ot)) : d("", !0),
|
|
596
|
+
t.$slots.watermark ? (r(), n("div", Xt, [
|
|
597
|
+
f(t.$slots, "watermark", z(M({ isPrinting: c(pe) || c(ge) })), void 0, !0)
|
|
598
|
+
])) : d("", !0),
|
|
599
|
+
I.value ? d("", !0) : (r(), _(Ct, {
|
|
597
600
|
key: 6,
|
|
598
601
|
config: {
|
|
599
602
|
type: "radar",
|
|
@@ -614,22 +617,21 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
614
617
|
ref_key: "chartLegend",
|
|
615
618
|
ref: le
|
|
616
619
|
}, [
|
|
617
|
-
e.value.style.chart.legend.show ? (r(), _(
|
|
620
|
+
e.value.style.chart.legend.show ? (r(), _(bt, {
|
|
618
621
|
key: `legend_${ie.value}`,
|
|
619
622
|
legendSet: F.value,
|
|
620
|
-
config:
|
|
623
|
+
config: Xe.value,
|
|
621
624
|
onClickMarker: a[1] || (a[1] = ({ i: o }) => be(o))
|
|
622
625
|
}, {
|
|
623
626
|
item: m(({ legend: o, index: l }) => [
|
|
624
627
|
$("div", {
|
|
625
|
-
"data-cy-legend-item": "",
|
|
626
628
|
onClick: (s) => o.segregate(),
|
|
627
629
|
style: W(`opacity:${v.value.includes(l) ? 0.5 : 1}`)
|
|
628
|
-
}, U(o.name) + ": " + U(
|
|
630
|
+
}, U(o.name) + ": " + U(c(V)({
|
|
629
631
|
v: o.totalProportion * 100,
|
|
630
632
|
s: "%",
|
|
631
633
|
r: e.value.style.chart.legend.roundingPercentage
|
|
632
|
-
})), 13,
|
|
634
|
+
})), 13, jt)
|
|
633
635
|
]),
|
|
634
636
|
_: 1
|
|
635
637
|
}, 8, ["legendSet", "config"])) : f(t.$slots, "legend", {
|
|
@@ -644,8 +646,8 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
644
646
|
dir: "auto"
|
|
645
647
|
}, [
|
|
646
648
|
f(t.$slots, "source", {}, void 0, !0)
|
|
647
|
-
], 512)) :
|
|
648
|
-
ee(
|
|
649
|
+
], 512)) : d("", !0),
|
|
650
|
+
ee(yt, {
|
|
649
651
|
show: b.value.showTooltip && X.value,
|
|
650
652
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
651
653
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -662,21 +664,21 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
662
664
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
663
665
|
}, {
|
|
664
666
|
"tooltip-before": m(() => [
|
|
665
|
-
f(t.$slots, "tooltip-before", M(
|
|
667
|
+
f(t.$slots, "tooltip-before", z(M({ ...J.value })), void 0, !0)
|
|
666
668
|
]),
|
|
667
669
|
"tooltip-after": m(() => [
|
|
668
|
-
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ?
|
|
669
|
-
ee(
|
|
670
|
+
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? d("", !0) : (r(), n("div", qt, [
|
|
671
|
+
ee(mt, {
|
|
670
672
|
dataset: Q.value,
|
|
671
|
-
config:
|
|
673
|
+
config: Ee.value,
|
|
672
674
|
backgroundOpacity: 0
|
|
673
675
|
}, null, 8, ["dataset", "config"])
|
|
674
676
|
])),
|
|
675
|
-
f(t.$slots, "tooltip-after", M(
|
|
677
|
+
f(t.$slots, "tooltip-after", z(M({ ...J.value })), void 0, !0)
|
|
676
678
|
]),
|
|
677
679
|
_: 3
|
|
678
680
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
679
|
-
I.value ? (r(), _(
|
|
681
|
+
I.value ? (r(), _(wt, {
|
|
680
682
|
key: 8,
|
|
681
683
|
hideDetails: "",
|
|
682
684
|
config: {
|
|
@@ -693,7 +695,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
693
695
|
}
|
|
694
696
|
}, {
|
|
695
697
|
content: m(() => [
|
|
696
|
-
(r(), _(
|
|
698
|
+
(r(), _(kt, {
|
|
697
699
|
key: `table_${ue.value}`,
|
|
698
700
|
colNames: B.value.colNames,
|
|
699
701
|
head: B.value.head,
|
|
@@ -712,10 +714,10 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
712
714
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
713
715
|
]),
|
|
714
716
|
_: 1
|
|
715
|
-
}, 8, ["config"])) :
|
|
716
|
-
], 46,
|
|
717
|
+
}, 8, ["config"])) : d("", !0)
|
|
718
|
+
], 46, At));
|
|
717
719
|
}
|
|
718
|
-
},
|
|
720
|
+
}, ha = /* @__PURE__ */ xt(Ht, [["__scopeId", "data-v-9ba7e341"]]);
|
|
719
721
|
export {
|
|
720
|
-
|
|
722
|
+
ha as default
|
|
721
723
|
};
|