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,23 +1,24 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { L as Ee } from "./Legend-
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as He } from "./useNestedProp-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as We } from "./Shape-
|
|
16
|
-
import {
|
|
17
|
-
|
|
1
|
+
import { useCssVars as ct, useSlots as ht, computed as b, ref as i, watch as Re, onMounted as Ue, onBeforeUnmount as pt, createElementBlock as r, openBlock as u, unref as d, normalizeStyle as c, normalizeClass as A, createBlock as B, createCommentVNode as p, renderSlot as m, createVNode as j, createSlots as ce, withCtx as k, normalizeProps as q, guardReactiveProps as Y, createElementVNode as n, toDisplayString as h, Fragment as E, renderList as H, mergeProps as yt, withKeys as gt, createTextVNode as ft } from "vue";
|
|
2
|
+
import { u as bt, c as mt, t as _t, p as D, a as kt, b as $t, o as Xe, e as K, v as N, d as he, i as le, f as R, X as xt, s as pe, w as wt, q as Ct, r as Tt, x as Lt, y as Nt } from "./index-9EeNZMz1.js";
|
|
3
|
+
import { t as Pt, u as St } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as Vt } from "./Title-BI8etrRU.js";
|
|
5
|
+
import { u as It, U as Ot } from "./usePrinter-ngrh00Ym.js";
|
|
6
|
+
import { _ as Ft } from "./Tooltip-Cxc8c50d.js";
|
|
7
|
+
import { L as Ee } from "./Legend-NKGwxkI7.js";
|
|
8
|
+
import Mt from "./vue-ui-skeleton-BmJiYGtE.js";
|
|
9
|
+
import zt from "./BaseIcon-CDx9pxUG.js";
|
|
10
|
+
import At from "./vue-ui-accordion-Qo8JxnIN.js";
|
|
11
|
+
import { u as He } from "./useNestedProp-df_bKQEI.js";
|
|
12
|
+
import { _ as Bt } from "./PackageVersion-QRvxRYPv.js";
|
|
13
|
+
import { P as Dt } from "./PenAndPaper-CxC1lWGK.js";
|
|
14
|
+
import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as We } from "./Shape-58uyOuYc.js";
|
|
16
|
+
import { u as Ut } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
+
import { _ as Xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "height"], jt = ["id"], qt = ["stop-color"], Yt = ["stop-color"], Kt = { key: 1 }, Jt = ["x", "y", "width", "height", "fill", "rx"], Qt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Zt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], ea = ["x2", "y1", "y2", "stroke", "stroke-width"], ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], aa = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], la = ["x", "y", "font-size", "fill", "font-weight"], oa = ["x", "y", "font-size", "fill", "font-weight"], na = ["x", "y", "font-size", "fill", "font-weight"], ua = ["y", "width", "height", "fill", "onMouseenter"], sa = {
|
|
18
19
|
key: 6,
|
|
19
20
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
21
|
+
}, ra = ["onClick"], ia = { style: "width:100%;padding-top: 36px;position:relative" }, da = { class: "vue-ui-data-table" }, va = { key: 0 }, ca = { style: { width: "100%" } }, ha = ["data-cell"], pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ya = ["data-cell"], ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = ["data-cell"], _a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ka = ["data-cell"], $a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, xa = ["data-cell"], wa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ca = ["data-cell"], Ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, La = {
|
|
21
22
|
__name: "vue-ui-vertical-bar",
|
|
22
23
|
props: {
|
|
23
24
|
config: {
|
|
@@ -35,13 +36,13 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
35
36
|
},
|
|
36
37
|
emits: ["selectLegend"],
|
|
37
38
|
setup(Ge, { expose: je, emit: qe }) {
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
ct((a) => ({
|
|
40
|
+
bd03f0e4: a.tdo
|
|
40
41
|
}));
|
|
41
|
-
const { vue_ui_vertical_bar: Ye } =
|
|
42
|
+
const { vue_ui_vertical_bar: Ye } = bt(), Ke = ht(), T = Ge, J = b(() => !!T.dataset && T.dataset.length), C = i(mt()), Je = i(null), oe = i(!1), ne = i(""), Q = i(0), Qe = i(null), ye = i(0), U = i(null), ge = i(null), ue = i(null), fe = i(null), be = i(null), me = i(0), se = i(0), Ze = qe, e = b({
|
|
42
43
|
get: () => $e(),
|
|
43
44
|
set: (a) => a
|
|
44
|
-
}), { userOptionsVisible: re, setUserOptionsVisibility: _e, keepUserOptionState: ke } =
|
|
45
|
+
}), { userOptionsVisible: re, setUserOptionsVisibility: _e, keepUserOptionState: ke } = Rt({ config: e.value }), { svgRef: et } = Ut({ config: e.value.style.chart.title });
|
|
45
46
|
function $e() {
|
|
46
47
|
const a = He({
|
|
47
48
|
userConfig: T.config,
|
|
@@ -49,19 +50,19 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
49
50
|
});
|
|
50
51
|
return a.theme ? {
|
|
51
52
|
...He({
|
|
52
|
-
userConfig:
|
|
53
|
+
userConfig: kt.vue_ui_vertical_bar[a.theme] || T.config,
|
|
53
54
|
defaultConfig: a
|
|
54
55
|
}),
|
|
55
|
-
customPalette:
|
|
56
|
+
customPalette: _t[a.theme] || D
|
|
56
57
|
} : a;
|
|
57
58
|
}
|
|
58
59
|
Re(() => T.config, (a) => {
|
|
59
60
|
e.value = $e(), re.value = !e.value.userOptions.showOnChartHover, Se(), me.value += 1, se.value += 1, v.value = e.value.style.chart.layout.bars.height, g.value = e.value.style.chart.layout.bars.gap, $.value.showTable = e.value.table.show, $.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", $.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
60
61
|
}, { deep: !0 }), Re(() => T.dataset, ee, { deep: !0 });
|
|
61
|
-
const { isPrinting: xe, isImaging: we, generatePdf: Ce, generateImage: Te } =
|
|
62
|
+
const { isPrinting: xe, isImaging: we, generatePdf: Ce, generateImage: Te } = It({
|
|
62
63
|
elementId: `vue-ui-vertical-bar_${C.value}`,
|
|
63
64
|
fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
|
|
64
|
-
}),
|
|
65
|
+
}), tt = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Le = b(() => $t(e.value.customPalette)), Ne = i(null), Pe = i(!1), at = b(() => e.value.table.responsiveBreakpoint), Z = i(null);
|
|
65
66
|
Ue(() => {
|
|
66
67
|
Se();
|
|
67
68
|
});
|
|
@@ -69,9 +70,9 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
69
70
|
if (Xe(T.dataset) && K({
|
|
70
71
|
componentName: "VueUiVerticalBar",
|
|
71
72
|
type: "dataset"
|
|
72
|
-
}), Q.value = T.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0),
|
|
73
|
-
const a =
|
|
74
|
-
const { width: l, height: t } =
|
|
73
|
+
}), Q.value = T.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), lt(), e.value.responsive) {
|
|
74
|
+
const a = Pt(() => {
|
|
75
|
+
const { width: l, height: t } = St({
|
|
75
76
|
chart: U.value,
|
|
76
77
|
title: e.value.style.chart.title.text ? ge.value : null,
|
|
77
78
|
legend: e.value.style.chart.legend.show ? ue.value : null,
|
|
@@ -85,13 +86,13 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
85
86
|
Z.value = new ResizeObserver(a), Z.value.observe(U.value.parentNode);
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
|
-
|
|
89
|
+
pt(() => {
|
|
89
90
|
Z.value && Z.value.disconnect();
|
|
90
91
|
});
|
|
91
|
-
function
|
|
92
|
+
function lt() {
|
|
92
93
|
new ResizeObserver((l) => {
|
|
93
94
|
l.forEach((t) => {
|
|
94
|
-
Pe.value = t.contentRect.width <
|
|
95
|
+
Pe.value = t.contentRect.width < at.value;
|
|
95
96
|
});
|
|
96
97
|
}).observe(Ne.value);
|
|
97
98
|
}
|
|
@@ -158,9 +159,9 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
158
159
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
159
160
|
paddingBottom: 12,
|
|
160
161
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
161
|
-
})), v = i(e.value.style.chart.layout.bars.height), g = i(e.value.style.chart.layout.bars.gap),
|
|
162
|
+
})), v = i(e.value.style.chart.layout.bars.height), g = i(e.value.style.chart.layout.bars.gap), ot = b(() => (v.value + g.value) * Q.value), Oe = i(512), y = b(() => ({
|
|
162
163
|
width: Oe.value,
|
|
163
|
-
height:
|
|
164
|
+
height: ot.value,
|
|
164
165
|
padding: {
|
|
165
166
|
top: 12,
|
|
166
167
|
left: 128 + e.value.style.chart.layout.bars.offsetX,
|
|
@@ -190,12 +191,12 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
190
191
|
r: t
|
|
191
192
|
}) : Math.abs(a) / S.value;
|
|
192
193
|
}
|
|
193
|
-
const M = b(() => F.value.flatMap((a) => a.hasChildren ? a.children : a)), z = b(() => M.value.map((a) => a.sign).includes(-1)),
|
|
194
|
+
const M = b(() => F.value.flatMap((a) => a.hasChildren ? a.children : a)), z = b(() => M.value.map((a) => a.sign).includes(-1)), nt = b(() => Math.max(...F.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
|
|
194
195
|
function x(a) {
|
|
195
|
-
const l = a /
|
|
196
|
+
const l = a / nt.value;
|
|
196
197
|
return s.value.width / (z.value ? 2 : 1) * l;
|
|
197
198
|
}
|
|
198
|
-
function
|
|
199
|
+
function ut(a) {
|
|
199
200
|
return x(a) + s.value.left;
|
|
200
201
|
}
|
|
201
202
|
function G(a, l) {
|
|
@@ -208,11 +209,11 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
208
209
|
sign: t.sign
|
|
209
210
|
};
|
|
210
211
|
}
|
|
211
|
-
function
|
|
212
|
+
function st() {
|
|
212
213
|
return F.value;
|
|
213
214
|
}
|
|
214
215
|
const ie = i(null), de = i(null);
|
|
215
|
-
function
|
|
216
|
+
function rt(a, l) {
|
|
216
217
|
de.value = {
|
|
217
218
|
datapoint: a,
|
|
218
219
|
seriesIndex: l,
|
|
@@ -221,7 +222,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
221
222
|
}, oe.value = !0, ie.value = a.id;
|
|
222
223
|
let t = "";
|
|
223
224
|
const o = a.isChild ? a.parentName : a.name, _ = a.isChild ? a.name : "", f = e.value.style.chart.tooltip.customFormat;
|
|
224
|
-
|
|
225
|
+
Lt(f) && Nt(() => f({
|
|
225
226
|
datapoint: a,
|
|
226
227
|
series: O.value,
|
|
227
228
|
config: e.value,
|
|
@@ -318,17 +319,17 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
318
319
|
f.childValue,
|
|
319
320
|
f.childPercentageToParent,
|
|
320
321
|
f.childPercentageToTotal
|
|
321
|
-
]), o = a.concat([l]).concat(t), _ =
|
|
322
|
-
|
|
322
|
+
]), o = a.concat([l]).concat(t), _ = Ct(o);
|
|
323
|
+
Tt({ csvContent: _, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
|
|
323
324
|
}
|
|
324
325
|
const X = i(!1);
|
|
325
|
-
function
|
|
326
|
+
function it(a) {
|
|
326
327
|
X.value = a, ye.value += 1;
|
|
327
328
|
}
|
|
328
329
|
function Ae() {
|
|
329
330
|
$.value.showTable = !$.value.showTable;
|
|
330
331
|
}
|
|
331
|
-
const
|
|
332
|
+
const dt = i({
|
|
332
333
|
none: 0,
|
|
333
334
|
asc: 1,
|
|
334
335
|
desc: 2
|
|
@@ -339,13 +340,13 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
339
340
|
type: "attributeWrongValue",
|
|
340
341
|
property: "style.chart.layout.bars.sort",
|
|
341
342
|
key: e.value.style.chart.layout.bars.sort
|
|
342
|
-
}), I.value =
|
|
343
|
+
}), I.value = dt.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = I.value === 2, te.value = I.value === 0;
|
|
343
344
|
});
|
|
344
|
-
function
|
|
345
|
+
function vt() {
|
|
345
346
|
I.value += 1, I.value > 2 && (I.value = 0);
|
|
346
347
|
}
|
|
347
348
|
function Be() {
|
|
348
|
-
|
|
349
|
+
vt(), $.value.sortDesc = I.value === 2, te.value = I.value === 0, ee();
|
|
349
350
|
}
|
|
350
351
|
function De() {
|
|
351
352
|
$.value.showTooltip = !$.value.showTooltip;
|
|
@@ -355,7 +356,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
355
356
|
ae.value = !ae.value;
|
|
356
357
|
}
|
|
357
358
|
return je({
|
|
358
|
-
getData:
|
|
359
|
+
getData: st,
|
|
359
360
|
recalculateHeight: ee,
|
|
360
361
|
generatePdf: Ce,
|
|
361
362
|
generateCsv: ze,
|
|
@@ -373,7 +374,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
373
374
|
onMouseenter: l[5] || (l[5] = () => d(_e)(!0)),
|
|
374
375
|
onMouseleave: l[6] || (l[6] = () => d(_e)(!1))
|
|
375
376
|
}, [
|
|
376
|
-
e.value.userOptions.buttons.annotator ? (u(), B(
|
|
377
|
+
e.value.userOptions.buttons.annotator ? (u(), B(Dt, {
|
|
377
378
|
key: 0,
|
|
378
379
|
parent: U.value,
|
|
379
380
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -381,7 +382,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
381
382
|
active: ae.value,
|
|
382
383
|
onClose: ve
|
|
383
384
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : p("", !0),
|
|
384
|
-
|
|
385
|
+
tt.value ? (u(), r("div", {
|
|
385
386
|
key: 1,
|
|
386
387
|
ref_key: "noTitle",
|
|
387
388
|
ref: be,
|
|
@@ -394,7 +395,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
394
395
|
ref: ge,
|
|
395
396
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
396
397
|
}, [
|
|
397
|
-
(u(), B(
|
|
398
|
+
(u(), B(Vt, {
|
|
398
399
|
key: `title_${me.value}`,
|
|
399
400
|
config: {
|
|
400
401
|
title: {
|
|
@@ -408,7 +409,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
408
409
|
}
|
|
409
410
|
}, null, 8, ["config"]))
|
|
410
411
|
], 512)) : p("", !0),
|
|
411
|
-
e.value.userOptions.show && J.value && (d(ke) || d(re)) ? (u(), B(
|
|
412
|
+
e.value.userOptions.show && J.value && (d(ke) || d(re)) ? (u(), B(Ot, {
|
|
412
413
|
ref_key: "details",
|
|
413
414
|
ref: Je,
|
|
414
415
|
key: `user_options_${ye.value}`,
|
|
@@ -431,7 +432,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
431
432
|
position: e.value.userOptions.position,
|
|
432
433
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
433
434
|
isAnnotation: ae.value,
|
|
434
|
-
onToggleFullscreen:
|
|
435
|
+
onToggleFullscreen: it,
|
|
435
436
|
onGeneratePdf: d(Ce),
|
|
436
437
|
onGenerateCsv: ze,
|
|
437
438
|
onGenerateImage: d(Te),
|
|
@@ -520,7 +521,6 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
520
521
|
}, ce({
|
|
521
522
|
item: k(({ legend: t, index: o }) => [
|
|
522
523
|
n("div", {
|
|
523
|
-
"data-cy-legend-item": "",
|
|
524
524
|
onClick: (_) => W(t.id),
|
|
525
525
|
style: c(`opacity:${P.value.includes(t.id) ? 0.5 : 1}`)
|
|
526
526
|
}, h(t.name) + ": " + h(d(le)(
|
|
@@ -533,7 +533,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
533
533
|
r: e.value.style.chart.legend.roundingValue
|
|
534
534
|
}),
|
|
535
535
|
{ datapoint: t, seriesIndex: o }
|
|
536
|
-
)), 13,
|
|
536
|
+
)), 13, Ht)
|
|
537
537
|
]),
|
|
538
538
|
_: 2
|
|
539
539
|
}, [
|
|
@@ -554,12 +554,14 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
554
554
|
], 512)) : p("", !0),
|
|
555
555
|
J.value ? (u(), r("svg", {
|
|
556
556
|
key: 5,
|
|
557
|
-
|
|
557
|
+
ref_key: "svgRef",
|
|
558
|
+
ref: et,
|
|
559
|
+
xmlns: d(xt),
|
|
558
560
|
class: A({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
|
|
559
561
|
viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
|
|
560
562
|
style: c(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
561
563
|
}, [
|
|
562
|
-
j(
|
|
564
|
+
j(Bt),
|
|
563
565
|
a.$slots["chart-background"] ? (u(), r("foreignObject", {
|
|
564
566
|
key: 0,
|
|
565
567
|
x: 0,
|
|
@@ -571,7 +573,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
571
573
|
}
|
|
572
574
|
}, [
|
|
573
575
|
m(a.$slots, "chart-background", {}, void 0, !0)
|
|
574
|
-
], 8,
|
|
576
|
+
], 8, Gt)) : p("", !0),
|
|
575
577
|
(u(!0), r(E, null, H(M.value, (t, o) => (u(), r("linearGradient", {
|
|
576
578
|
x1: "0%",
|
|
577
579
|
y1: "0%",
|
|
@@ -582,15 +584,15 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
582
584
|
n("stop", {
|
|
583
585
|
offset: "0%",
|
|
584
586
|
"stop-color": t.color
|
|
585
|
-
}, null, 8,
|
|
587
|
+
}, null, 8, qt),
|
|
586
588
|
n("stop", {
|
|
587
589
|
offset: "100%",
|
|
588
|
-
"stop-color": d(pe)(d(
|
|
589
|
-
}, null, 8,
|
|
590
|
-
], 8,
|
|
591
|
-
a.$slots.pattern ? (u(), r("g",
|
|
590
|
+
"stop-color": d(pe)(d(wt)(t.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
|
|
591
|
+
}, null, 8, Yt)
|
|
592
|
+
], 8, jt))), 256)),
|
|
593
|
+
a.$slots.pattern ? (u(), r("g", Kt, [
|
|
592
594
|
(u(!0), r(E, null, H(M.value, (t) => (u(), r("defs", null, [
|
|
593
|
-
m(a.$slots, "pattern",
|
|
595
|
+
m(a.$slots, "pattern", yt({ ref_for: !0 }, { seriesIndex: t.absoluteIndex, patternId: `pattern_${C.value}_${t.absoluteIndex}` }), void 0, !0)
|
|
594
596
|
]))), 256))
|
|
595
597
|
])) : p("", !0),
|
|
596
598
|
(u(!0), r(E, null, H(M.value, (t, o) => (u(), r("g", null, [
|
|
@@ -602,7 +604,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
602
604
|
fill: e.value.style.chart.layout.bars.underlayerColor,
|
|
603
605
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
604
606
|
class: A({ animated: e.value.useCssAnimation })
|
|
605
|
-
}, null, 10,
|
|
607
|
+
}, null, 10, Jt)
|
|
606
608
|
]))), 256)),
|
|
607
609
|
(u(!0), r(E, null, H(M.value, (t, o) => (u(), r("g", null, [
|
|
608
610
|
n("rect", {
|
|
@@ -615,7 +617,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
615
617
|
stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
|
|
616
618
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
617
619
|
class: A({ animated: e.value.useCssAnimation })
|
|
618
|
-
}, null, 10,
|
|
620
|
+
}, null, 10, Qt),
|
|
619
621
|
a.$slots.pattern ? (u(), r("rect", {
|
|
620
622
|
key: 0,
|
|
621
623
|
x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : x(t.value) <= 0 ? 1e-4 : x(t.value)) : s.value.left),
|
|
@@ -627,7 +629,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
627
629
|
stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
|
|
628
630
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
629
631
|
class: A({ animated: e.value.useCssAnimation })
|
|
630
|
-
}, null, 10,
|
|
632
|
+
}, null, 10, Zt)) : p("", !0),
|
|
631
633
|
(!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== M.value.length - 1 ? (u(), r("line", {
|
|
632
634
|
key: 1,
|
|
633
635
|
x1: 0,
|
|
@@ -637,7 +639,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
637
639
|
stroke: e.value.style.chart.layout.separators.color,
|
|
638
640
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
639
641
|
"stroke-linecap": "round"
|
|
640
|
-
}, null, 8,
|
|
642
|
+
}, null, 8, ea)) : p("", !0),
|
|
641
643
|
z.value && e.value.style.chart.layout.separators.show ? (u(), r("line", {
|
|
642
644
|
key: 2,
|
|
643
645
|
x1: s.value.left + s.value.width / 2,
|
|
@@ -647,15 +649,15 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
647
649
|
stroke: e.value.style.chart.layout.separators.color,
|
|
648
650
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
649
651
|
"stroke-linecap": "round"
|
|
650
|
-
}, null, 8,
|
|
652
|
+
}, null, 8, ta)) : p("", !0),
|
|
651
653
|
n("text", {
|
|
652
|
-
x: z.value ? s.value.left + s.value.width / 2 + (t.sign === 1 ? -12 : 12) + (t.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) :
|
|
654
|
+
x: z.value ? s.value.left + s.value.width / 2 + (t.sign === 1 ? -12 : 12) + (t.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : ut(t.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
|
|
653
655
|
y: s.value.top + (g.value + v.value) * o + v.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
|
|
654
656
|
"text-anchor": !z.value || t.sign === -1 ? "start" : "end",
|
|
655
657
|
"font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
|
|
656
658
|
fill: e.value.style.chart.layout.bars.dataLabels.color,
|
|
657
659
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
|
|
658
|
-
}, h(Me(t.value, t, o, t.sign)), 9,
|
|
660
|
+
}, h(Me(t.value, t, o, t.sign)), 9, aa),
|
|
659
661
|
(t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), r("text", {
|
|
660
662
|
key: 3,
|
|
661
663
|
"text-anchor": "end",
|
|
@@ -664,7 +666,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
664
666
|
"font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
665
667
|
fill: e.value.style.chart.layout.bars.nameLabels.color,
|
|
666
668
|
"font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
|
|
667
|
-
}, h(t.name), 9,
|
|
669
|
+
}, h(t.name), 9, la)) : p("", !0),
|
|
668
670
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), r("text", {
|
|
669
671
|
key: 4,
|
|
670
672
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
@@ -673,7 +675,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
673
675
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
674
676
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
675
677
|
"text-anchor": "start"
|
|
676
|
-
}, h(G(t, o).name), 9,
|
|
678
|
+
}, h(G(t, o).name), 9, oa)) : p("", !0),
|
|
677
679
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), r("text", {
|
|
678
680
|
key: 5,
|
|
679
681
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
@@ -682,25 +684,25 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
682
684
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
683
685
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
684
686
|
"text-anchor": "start"
|
|
685
|
-
}, h(Me(G(t, o).value), G(t, o), o, t.parentSign || t.sign), 9,
|
|
687
|
+
}, h(Me(G(t, o).value), G(t, o), o, t.parentSign || t.sign), 9, na)) : p("", !0),
|
|
686
688
|
n("rect", {
|
|
687
689
|
x: 0,
|
|
688
690
|
y: s.value.top + (g.value + v.value) * o - g.value / 2,
|
|
689
691
|
width: y.value.width <= 0 ? 1e-4 : y.value.width,
|
|
690
692
|
height: v.value + g.value <= 0 ? 1e-4 : v.value + g.value,
|
|
691
693
|
fill: ie.value === t.id ? d(pe)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
|
|
692
|
-
onMouseenter: (_) =>
|
|
694
|
+
onMouseenter: (_) => rt(t, o),
|
|
693
695
|
onMouseleave: l[1] || (l[1] = (_) => {
|
|
694
696
|
Qe.value = null, oe.value = !1, ie.value = null;
|
|
695
697
|
})
|
|
696
|
-
}, null, 40,
|
|
698
|
+
}, null, 40, ua)
|
|
697
699
|
]))), 256)),
|
|
698
700
|
m(a.$slots, "svg", { svg: y.value }, void 0, !0)
|
|
699
|
-
], 14,
|
|
700
|
-
a.$slots.watermark ? (u(), r("div",
|
|
701
|
+
], 14, Wt)) : p("", !0),
|
|
702
|
+
a.$slots.watermark ? (u(), r("div", sa, [
|
|
701
703
|
m(a.$slots, "watermark", q(Y({ isPrinting: d(xe) || d(we) })), void 0, !0)
|
|
702
704
|
])) : p("", !0),
|
|
703
|
-
J.value ? p("", !0) : (u(), B(
|
|
705
|
+
J.value ? p("", !0) : (u(), B(Mt, {
|
|
704
706
|
key: 7,
|
|
705
707
|
config: {
|
|
706
708
|
type: "verticalBar",
|
|
@@ -740,7 +742,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
740
742
|
r: e.value.style.chart.legend.roundingValue
|
|
741
743
|
}),
|
|
742
744
|
{ datapoint: t, seriesIndex: o }
|
|
743
|
-
)), 13,
|
|
745
|
+
)), 13, ra)
|
|
744
746
|
]),
|
|
745
747
|
_: 2
|
|
746
748
|
}, [
|
|
@@ -768,7 +770,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
768
770
|
}, [
|
|
769
771
|
m(a.$slots, "source", {}, void 0, !0)
|
|
770
772
|
], 512)) : p("", !0),
|
|
771
|
-
j(
|
|
773
|
+
j(Ft, {
|
|
772
774
|
show: $.value.showTooltip && oe.value && P.value.length < T.dataset.length,
|
|
773
775
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
774
776
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -792,7 +794,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
792
794
|
]),
|
|
793
795
|
_: 3
|
|
794
796
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
795
|
-
J.value ? (u(), B(
|
|
797
|
+
J.value ? (u(), B(At, {
|
|
796
798
|
key: 10,
|
|
797
799
|
hideDetails: "",
|
|
798
800
|
config: {
|
|
@@ -814,15 +816,15 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
814
816
|
ref: Ne,
|
|
815
817
|
class: "vue-ui-vertical-bar-table atom-data-table"
|
|
816
818
|
}, [
|
|
817
|
-
n("div",
|
|
819
|
+
n("div", ia, [
|
|
818
820
|
n("div", {
|
|
819
821
|
role: "button",
|
|
820
822
|
tabindex: "0",
|
|
821
823
|
style: c(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
822
824
|
onClick: l[3] || (l[3] = (t) => $.value.showTable = !1),
|
|
823
|
-
onKeypress: l[4] || (l[4] =
|
|
825
|
+
onKeypress: l[4] || (l[4] = gt((t) => $.value.showTable = !1, ["enter"]))
|
|
824
826
|
}, [
|
|
825
|
-
j(
|
|
827
|
+
j(zt, {
|
|
826
828
|
name: "close",
|
|
827
829
|
stroke: e.value.table.th.color,
|
|
828
830
|
"stroke-width": 2
|
|
@@ -832,13 +834,13 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
832
834
|
style: { width: "100%", "container-type": "inline-size" },
|
|
833
835
|
class: A({ "vue-ui-responsive": Pe.value })
|
|
834
836
|
}, [
|
|
835
|
-
n("table",
|
|
837
|
+
n("table", da, [
|
|
836
838
|
n("caption", {
|
|
837
839
|
style: c({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
838
840
|
class: "vue-ui-data-table__caption"
|
|
839
841
|
}, [
|
|
840
|
-
|
|
841
|
-
e.value.style.chart.title.subtitle.text ? (u(), r("span",
|
|
842
|
+
ft(h(e.value.style.chart.title.text) + " ", 1),
|
|
843
|
+
e.value.style.chart.title.subtitle.text ? (u(), r("span", va, h(e.value.style.chart.title.subtitle.text), 1)) : p("", !0)
|
|
842
844
|
], 4),
|
|
843
845
|
n("thead", null, [
|
|
844
846
|
n("tr", {
|
|
@@ -848,7 +850,7 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
848
850
|
(u(!0), r(E, null, H(L.value.head, (t) => (u(), r("th", {
|
|
849
851
|
style: c(`outline:${e.value.table.th.outline}`)
|
|
850
852
|
}, [
|
|
851
|
-
n("div",
|
|
853
|
+
n("div", ca, h(t), 1)
|
|
852
854
|
], 4))), 256))
|
|
853
855
|
], 4),
|
|
854
856
|
n("tr", null, [
|
|
@@ -885,56 +887,56 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
885
887
|
style: c(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
|
|
886
888
|
"data-cell": L.value.head[0] ?? ""
|
|
887
889
|
}, [
|
|
888
|
-
n("div",
|
|
890
|
+
n("div", pa, [
|
|
889
891
|
t.color ? (u(), r("span", {
|
|
890
892
|
key: 0,
|
|
891
893
|
style: c(`color:${t.color};margin-right:3px`)
|
|
892
894
|
}, "⬤", 4)) : p("", !0),
|
|
893
895
|
n("span", null, h(t.parentName), 1)
|
|
894
896
|
])
|
|
895
|
-
], 12,
|
|
897
|
+
], 12, ha),
|
|
896
898
|
n("td", {
|
|
897
899
|
class: "vue-ui-data-table__tbody__td",
|
|
898
900
|
style: c(`outline:${e.value.table.td.outline}`),
|
|
899
901
|
"data-cell": L.value.head[1] ?? ""
|
|
900
902
|
}, [
|
|
901
|
-
n("div",
|
|
902
|
-
], 12,
|
|
903
|
+
n("div", ga, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(t.parentValue) ? "" : t.parentValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
|
|
904
|
+
], 12, ya),
|
|
903
905
|
n("td", {
|
|
904
906
|
class: "vue-ui-data-table__tbody__td",
|
|
905
907
|
style: c(`outline:${e.value.table.td.outline}`),
|
|
906
908
|
"data-cell": L.value.head[2] ?? ""
|
|
907
909
|
}, [
|
|
908
|
-
n("div",
|
|
909
|
-
], 12,
|
|
910
|
+
n("div", ba, h(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
911
|
+
], 12, fa),
|
|
910
912
|
n("td", {
|
|
911
913
|
class: "vue-ui-data-table__tbody__td",
|
|
912
914
|
style: c(`outline:${e.value.table.td.outline}`),
|
|
913
915
|
"data-cell": L.value.head[3] ?? ""
|
|
914
916
|
}, [
|
|
915
|
-
n("div",
|
|
916
|
-
], 12,
|
|
917
|
+
n("div", _a, h(t.childName), 1)
|
|
918
|
+
], 12, ma),
|
|
917
919
|
n("td", {
|
|
918
920
|
class: "vue-ui-data-table__tbody__td",
|
|
919
921
|
style: c(`outline:${e.value.table.td.outline}`),
|
|
920
922
|
"data-cell": L.value.head[4] ?? ""
|
|
921
923
|
}, [
|
|
922
|
-
n("div",
|
|
923
|
-
], 12,
|
|
924
|
+
n("div", $a, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
|
|
925
|
+
], 12, ka),
|
|
924
926
|
n("td", {
|
|
925
927
|
class: "vue-ui-data-table__tbody__td",
|
|
926
928
|
style: c(`outline:${e.value.table.td.outline}`),
|
|
927
929
|
"data-cell": L.value.head[5] ?? ""
|
|
928
930
|
}, [
|
|
929
|
-
n("div",
|
|
930
|
-
], 12,
|
|
931
|
+
n("div", wa, h(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
932
|
+
], 12, xa),
|
|
931
933
|
n("td", {
|
|
932
934
|
class: "vue-ui-data-table__tbody__td",
|
|
933
935
|
style: c(`outline:${e.value.table.td.outline}`),
|
|
934
936
|
"data-cell": L.value.head[6] ?? ""
|
|
935
937
|
}, [
|
|
936
|
-
n("div",
|
|
937
|
-
], 12,
|
|
938
|
+
n("div", Ta, h(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
939
|
+
], 12, Ca)
|
|
938
940
|
], 6))), 256))
|
|
939
941
|
])
|
|
940
942
|
])
|
|
@@ -944,9 +946,9 @@ const Ut = ["id"], Xt = ["onClick"], Et = ["xmlns", "viewBox"], Ht = ["width", "
|
|
|
944
946
|
]),
|
|
945
947
|
_: 1
|
|
946
948
|
}, 8, ["config"])) : p("", !0)
|
|
947
|
-
], 46,
|
|
949
|
+
], 46, Et));
|
|
948
950
|
}
|
|
949
|
-
},
|
|
951
|
+
}, Wa = /* @__PURE__ */ Xt(La, [["__scopeId", "data-v-9777dcec"]]);
|
|
950
952
|
export {
|
|
951
|
-
|
|
953
|
+
Wa as default
|
|
952
954
|
};
|