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,21 +1,22 @@
|
|
|
1
|
-
import { computed as g, ref as d, watch as ye, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as
|
|
7
|
-
import
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import { u as Ce } from "./useNestedProp-
|
|
11
|
-
import { _ as
|
|
12
|
-
import { P as
|
|
13
|
-
import { u as
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { computed as g, ref as d, watch as ye, onMounted as fe, onBeforeUnmount as Ge, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as F, normalizeClass as be, createBlock as L, createCommentVNode as v, createElementVNode as i, createSlots as Me, withCtx as _, renderSlot as m, normalizeProps as W, guardReactiveProps as U, createVNode as De, Fragment as C, renderList as $, toDisplayString as A, createTextVNode as ge, nextTick as Ie } from "vue";
|
|
2
|
+
import { u as Fe, c as pe, a as Ve, o as Ee, e as me, g as He, v as _e, D as Re, f as z, X as ke, i as B, l as xe, h as we, q as We, r as Ue } from "./index-9EeNZMz1.js";
|
|
3
|
+
import { t as Be, u as je } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as qe } from "./Title-BI8etrRU.js";
|
|
5
|
+
import { u as Ye, U as Ze } from "./usePrinter-ngrh00Ym.js";
|
|
6
|
+
import { D as Je } from "./DataTable-TjJIVFlL.js";
|
|
7
|
+
import Ke from "./vue-ui-skeleton-BmJiYGtE.js";
|
|
8
|
+
import { L as Qe } from "./Legend-NKGwxkI7.js";
|
|
9
|
+
import et from "./vue-ui-accordion-Qo8JxnIN.js";
|
|
10
|
+
import { u as Ce } from "./useNestedProp-df_bKQEI.js";
|
|
11
|
+
import { _ as tt } from "./PackageVersion-QRvxRYPv.js";
|
|
12
|
+
import { P as lt } from "./PenAndPaper-CxC1lWGK.js";
|
|
13
|
+
import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
|
+
import { u as st } from "./useChartAccessibility-BWojgys7.js";
|
|
15
|
+
import { _ as ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const rt = ["id"], nt = ["xmlns", "viewBox"], ut = ["x", "y", "width", "height"], it = { key: 1 }, ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], dt = { key: 2 }, vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], yt = { key: 3 }, ft = ["x", "y", "font-size", "fill", "font-weight"], bt = ["x", "y", "font-size", "fill"], gt = { key: 4 }, pt = ["x", "y", "font-size", "fill", "font-weight"], mt = ["id"], _t = ["stop-color"], kt = ["stop-color"], xt = ["stop-color"], wt = ["id"], Ct = ["stop-color"], $t = ["stop-color"], Lt = ["stop-color"], At = ["id"], zt = ["stop-color"], St = ["stop-color"], Xt = ["id"], Nt = ["stop-color"], Tt = ["stop-color"], Pt = { key: 0 }, Ot = ["d", "fill"], Gt = { key: 1 }, Mt = ["x", "y", "height", "width", "fill"], Dt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], It = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ft = { key: 5 }, Vt = ["x", "y", "fill", "font-size"], Et = { key: 6 }, Ht = ["x", "y", "fill", "font-size"], Rt = {
|
|
16
17
|
key: 5,
|
|
17
18
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
19
|
+
}, Wt = ["xmlns", "height", "width"], Ut = ["fill"], Bt = ["innerHTML"], jt = {
|
|
19
20
|
__name: "vue-ui-dumbbell",
|
|
20
21
|
props: {
|
|
21
22
|
config: {
|
|
@@ -32,10 +33,10 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
emits: ["selectDatapoint"],
|
|
35
|
-
setup($e, { expose: Le, emit:
|
|
36
|
-
const { vue_ui_dumbbell: Ae } =
|
|
36
|
+
setup($e, { expose: Le, emit: qt }) {
|
|
37
|
+
const { vue_ui_dumbbell: Ae } = Fe(), b = $e, S = g({
|
|
37
38
|
get() {
|
|
38
|
-
return !!
|
|
39
|
+
return !!b.dataset && b.dataset.length;
|
|
39
40
|
},
|
|
40
41
|
set(l) {
|
|
41
42
|
return l;
|
|
@@ -43,34 +44,34 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
43
44
|
}), y = d(pe()), j = d(0), X = d(null), q = d(null), Y = d(null), Z = d(null), J = d(null), K = d(0), Q = d(0), ee = d(0), e = g({
|
|
44
45
|
get: () => ae(),
|
|
45
46
|
set: (l) => l
|
|
46
|
-
}), { userOptionsVisible: V, setUserOptionsVisibility: te, keepUserOptionState: le } =
|
|
47
|
+
}), { userOptionsVisible: V, setUserOptionsVisibility: te, keepUserOptionState: le } = at({ config: e.value }), { svgRef: ze } = st({ config: e.value.style.chart.title });
|
|
47
48
|
function ae() {
|
|
48
49
|
const l = Ce({
|
|
49
|
-
userConfig:
|
|
50
|
+
userConfig: b.config,
|
|
50
51
|
defaultConfig: Ae
|
|
51
52
|
});
|
|
52
53
|
return l.theme ? {
|
|
53
54
|
...Ce({
|
|
54
|
-
userConfig:
|
|
55
|
+
userConfig: Ve.vue_ui_dumbbell[l.theme] || b.config,
|
|
55
56
|
defaultConfig: l
|
|
56
57
|
})
|
|
57
58
|
} : l;
|
|
58
59
|
}
|
|
59
|
-
ye(() =>
|
|
60
|
+
ye(() => b.config, (l) => {
|
|
60
61
|
e.value = ae(), V.value = !e.value.userOptions.showOnChartHover, se(), K.value += 1, Q.value += 1, ee.value += 1, h.value = e.value.style.chart.rowHeight, T.value = e.value.style.chart.width, N.value.showTable = e.value.table.show;
|
|
61
|
-
}, { deep: !0 }), ye(() =>
|
|
62
|
+
}, { deep: !0 }), ye(() => b.dataset, (l) => {
|
|
62
63
|
ce();
|
|
63
64
|
}, { deep: !0 });
|
|
64
65
|
const O = d(null);
|
|
65
|
-
|
|
66
|
+
fe(() => {
|
|
66
67
|
se();
|
|
67
68
|
});
|
|
68
69
|
function se() {
|
|
69
|
-
if (
|
|
70
|
+
if (Ee(b.dataset) ? me({
|
|
70
71
|
componentName: "VueUiDumbbell",
|
|
71
72
|
type: "dataset"
|
|
72
|
-
}) :
|
|
73
|
-
|
|
73
|
+
}) : b.dataset.forEach((l, n) => {
|
|
74
|
+
He({
|
|
74
75
|
datasetObject: l,
|
|
75
76
|
requiredAttributes: ["name", "start", "end"]
|
|
76
77
|
}).forEach((t) => {
|
|
@@ -82,8 +83,8 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
82
83
|
});
|
|
83
84
|
});
|
|
84
85
|
}), e.value.responsive) {
|
|
85
|
-
const l =
|
|
86
|
-
const { width: n, height: t } =
|
|
86
|
+
const l = Be(() => {
|
|
87
|
+
const { width: n, height: t } = je({
|
|
87
88
|
chart: X.value,
|
|
88
89
|
title: e.value.style.chart.title.text ? q.value : null,
|
|
89
90
|
legend: e.value.style.chart.legend.show ? Y.value : null,
|
|
@@ -91,21 +92,21 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
91
92
|
noTitle: J.value
|
|
92
93
|
});
|
|
93
94
|
requestAnimationFrame(() => {
|
|
94
|
-
T.value = n, h.value = t /
|
|
95
|
+
T.value = n, h.value = t / b.dataset.length, f.value = G();
|
|
95
96
|
});
|
|
96
97
|
});
|
|
97
98
|
O.value = new ResizeObserver(l), O.value.observe(X.value.parentNode);
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
|
-
|
|
101
|
+
Ge(() => {
|
|
101
102
|
O.value && O.value.disconnect();
|
|
102
103
|
});
|
|
103
|
-
const { isPrinting: oe, isImaging: re, generatePdf: ne, generateImage: ue } =
|
|
104
|
+
const { isPrinting: oe, isImaging: re, generatePdf: ne, generateImage: ue } = Ye({
|
|
104
105
|
elementId: `dumbbell_${y.value}`,
|
|
105
106
|
fileName: e.value.style.chart.title.text || "vue-ui-dumbbell"
|
|
106
|
-
}),
|
|
107
|
+
}), Se = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), N = d({
|
|
107
108
|
showTable: e.value.table.show
|
|
108
|
-
}), k = g(() =>
|
|
109
|
+
}), k = g(() => b.dataset.map((l, n) => ({
|
|
109
110
|
...l,
|
|
110
111
|
start: _e(l.start),
|
|
111
112
|
end: _e(l.end),
|
|
@@ -113,15 +114,15 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
113
114
|
}))), E = g(() => ({
|
|
114
115
|
max: Math.max(...k.value.flatMap((l) => [l.start, l.end])),
|
|
115
116
|
min: Math.min(...k.value.flatMap((l) => [l.start, l.end]))
|
|
116
|
-
})), c = g(() =>
|
|
117
|
-
const l = h.value, n = e.value.style.chart.padding.left + e.value.style.chart.padding.right + T.value, t = e.value.style.chart.padding.top + e.value.style.chart.padding.bottom + l *
|
|
117
|
+
})), c = g(() => Re(E.value.min < 0 ? E.value.min : 0, E.value.max, e.value.style.chart.grid.scaleSteps)), h = d(e.value.style.chart.rowHeight), T = d(e.value.style.chart.width), s = g(() => {
|
|
118
|
+
const l = h.value, n = e.value.style.chart.padding.left + e.value.style.chart.padding.right + T.value, t = e.value.style.chart.padding.top + e.value.style.chart.padding.bottom + l * b.dataset.length, a = c.value.ticks.length * (T.value / c.value.ticks.length);
|
|
118
119
|
return {
|
|
119
120
|
left: e.value.style.chart.padding.left,
|
|
120
121
|
right: n - e.value.style.chart.padding.right,
|
|
121
122
|
top: e.value.style.chart.padding.top,
|
|
122
123
|
bottom: t - e.value.style.chart.padding.bottom,
|
|
123
124
|
width: T.value,
|
|
124
|
-
height: l *
|
|
125
|
+
height: l * b.dataset.length,
|
|
125
126
|
rowHeight: l,
|
|
126
127
|
absoluteHeight: t,
|
|
127
128
|
absoluteWidth: n,
|
|
@@ -141,34 +142,34 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
141
142
|
};
|
|
142
143
|
});
|
|
143
144
|
}
|
|
144
|
-
const
|
|
145
|
-
|
|
145
|
+
const f = d([]), ie = d(null), Xe = g(() => k.value.map((l) => l.end).reduce((l, n) => l + n, 0));
|
|
146
|
+
fe(() => {
|
|
146
147
|
ce();
|
|
147
148
|
});
|
|
148
149
|
function ce() {
|
|
149
|
-
|
|
150
|
-
let l =
|
|
150
|
+
f.value = G();
|
|
151
|
+
let l = f.value.map((t) => t.start).reduce((t, a) => t + a, 0);
|
|
151
152
|
function n() {
|
|
152
153
|
const t = k.value.map((a) => a.end - a.start);
|
|
153
|
-
l >=
|
|
154
|
+
l >= Xe.value ? (cancelAnimationFrame(ie.value), f.value = G()) : (f.value = f.value.map((a, p) => {
|
|
154
155
|
a.endVal += t[p] * (e.value.animationSpeed / 100);
|
|
155
|
-
const w = s.value.left + (a.start + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, I = s.value.left + (a.endVal + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference,
|
|
156
|
+
const w = s.value.left + (a.start + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, I = s.value.left + (a.endVal + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, R = w + (I - w) / 2;
|
|
156
157
|
return {
|
|
157
158
|
...a,
|
|
158
159
|
startX: w,
|
|
159
160
|
endX: I,
|
|
160
|
-
centerX:
|
|
161
|
+
centerX: R,
|
|
161
162
|
y: s.value.top + p * h.value + h.value / 2,
|
|
162
163
|
endVal: a.endVal
|
|
163
164
|
};
|
|
164
|
-
}), l =
|
|
165
|
+
}), l = f.value.map((a) => a.endVal).reduce((a, p) => a + p, 0), ie.value = requestAnimationFrame(n));
|
|
165
166
|
}
|
|
166
|
-
e.value.useAnimation ? n() :
|
|
167
|
+
e.value.useAnimation ? n() : f.value = G();
|
|
167
168
|
}
|
|
168
169
|
const de = g(() => [
|
|
169
170
|
{ name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${y.value})` : e.value.style.chart.plots.startColor },
|
|
170
171
|
{ name: e.value.style.chart.legend.labelEnd, color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${y.value})` : e.value.style.chart.plots.endColor }
|
|
171
|
-
]),
|
|
172
|
+
]), Ne = g(() => ({
|
|
172
173
|
cy: "donut-div-legend",
|
|
173
174
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
174
175
|
color: e.value.style.chart.legend.color,
|
|
@@ -177,9 +178,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
177
178
|
paddingTop: 12,
|
|
178
179
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
179
180
|
})), x = g(() => {
|
|
180
|
-
const l =
|
|
181
|
+
const l = f.value.map((t) => ({
|
|
181
182
|
name: t.name
|
|
182
|
-
})), n =
|
|
183
|
+
})), n = f.value.map((t) => ({
|
|
183
184
|
start: t.start,
|
|
184
185
|
end: t.end
|
|
185
186
|
}));
|
|
@@ -196,12 +197,12 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
196
197
|
v: x.value.body[w].start,
|
|
197
198
|
s: e.value.style.chart.labels.suffix,
|
|
198
199
|
r: e.value.table.td.roundingValue
|
|
199
|
-
}),
|
|
200
|
+
}), R = z({
|
|
200
201
|
p: e.value.style.chart.labels.prefix,
|
|
201
202
|
v: x.value.body[w].end,
|
|
202
203
|
s: e.value.style.chart.labels.suffix,
|
|
203
204
|
r: e.value.table.td.roundingValue
|
|
204
|
-
}),
|
|
205
|
+
}), Oe = z({
|
|
205
206
|
v: 100 * (x.value.body[w].end / x.value.body[w].start - 1),
|
|
206
207
|
s: "%",
|
|
207
208
|
r: e.value.table.td.roundingPercentage
|
|
@@ -209,8 +210,8 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
209
210
|
return [
|
|
210
211
|
{ name: p.name },
|
|
211
212
|
I,
|
|
212
|
-
|
|
213
|
-
|
|
213
|
+
R,
|
|
214
|
+
Oe
|
|
214
215
|
];
|
|
215
216
|
}), t = {
|
|
216
217
|
th: {
|
|
@@ -238,7 +239,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
238
239
|
};
|
|
239
240
|
});
|
|
240
241
|
function ve() {
|
|
241
|
-
|
|
242
|
+
Ie(() => {
|
|
242
243
|
const l = x.value.head.map((a, p) => [[
|
|
243
244
|
a.name
|
|
244
245
|
], [x.value.body[p].start], [x.value.body[p].end]]), n = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(l), t = We(n);
|
|
@@ -246,11 +247,11 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
246
247
|
});
|
|
247
248
|
}
|
|
248
249
|
const P = d(!1);
|
|
249
|
-
function
|
|
250
|
+
function Te(l) {
|
|
250
251
|
P.value = l, j.value += 1;
|
|
251
252
|
}
|
|
252
|
-
function
|
|
253
|
-
return
|
|
253
|
+
function Pe() {
|
|
254
|
+
return f.value;
|
|
254
255
|
}
|
|
255
256
|
function he() {
|
|
256
257
|
N.value.showTable = !N.value.showTable;
|
|
@@ -260,7 +261,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
260
261
|
D.value = !D.value;
|
|
261
262
|
}
|
|
262
263
|
return Le({
|
|
263
|
-
getData:
|
|
264
|
+
getData: Pe,
|
|
264
265
|
generatePdf: ne,
|
|
265
266
|
generateCsv: ve,
|
|
266
267
|
generateImage: ue,
|
|
@@ -269,13 +270,13 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
269
270
|
}), (l, n) => (o(), r("div", {
|
|
270
271
|
ref_key: "dumbbellChart",
|
|
271
272
|
ref: X,
|
|
272
|
-
class:
|
|
273
|
+
class: be(`vue-ui-dumbbell ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
273
274
|
style: F(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
274
275
|
id: `dumbbell_${y.value}`,
|
|
275
276
|
onMouseenter: n[1] || (n[1] = () => u(te)(!0)),
|
|
276
277
|
onMouseleave: n[2] || (n[2] = () => u(te)(!1))
|
|
277
278
|
}, [
|
|
278
|
-
e.value.userOptions.buttons.annotator ? (o(), L(
|
|
279
|
+
e.value.userOptions.buttons.annotator ? (o(), L(lt, {
|
|
279
280
|
key: 0,
|
|
280
281
|
parent: X.value,
|
|
281
282
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -283,7 +284,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
283
284
|
active: D.value,
|
|
284
285
|
onClose: H
|
|
285
286
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
|
|
286
|
-
|
|
287
|
+
Se.value ? (o(), r("div", {
|
|
287
288
|
key: 1,
|
|
288
289
|
ref_key: "noTitle",
|
|
289
290
|
ref: J,
|
|
@@ -296,7 +297,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
296
297
|
ref: q,
|
|
297
298
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
298
299
|
}, [
|
|
299
|
-
(o(), L(
|
|
300
|
+
(o(), L(qe, {
|
|
300
301
|
key: `title_${K.value}`,
|
|
301
302
|
config: {
|
|
302
303
|
title: {
|
|
@@ -310,7 +311,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
310
311
|
}
|
|
311
312
|
}, null, 8, ["config"]))
|
|
312
313
|
], 512)) : v("", !0),
|
|
313
|
-
e.value.userOptions.show && S.value && (u(le) || u(V)) ? (o(), L(
|
|
314
|
+
e.value.userOptions.show && S.value && (u(le) || u(V)) ? (o(), L(Ze, {
|
|
314
315
|
ref: "details",
|
|
315
316
|
key: `user_option_${j.value}`,
|
|
316
317
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -329,7 +330,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
329
330
|
position: e.value.userOptions.position,
|
|
330
331
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
331
332
|
isAnnotation: D.value,
|
|
332
|
-
onToggleFullscreen:
|
|
333
|
+
onToggleFullscreen: Te,
|
|
333
334
|
onGeneratePdf: u(ne),
|
|
334
335
|
onGenerateCsv: ve,
|
|
335
336
|
onGenerateImage: u(ue),
|
|
@@ -338,7 +339,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
338
339
|
style: F({
|
|
339
340
|
visibility: u(le) ? u(V) ? "visible" : "hidden" : "visible"
|
|
340
341
|
})
|
|
341
|
-
},
|
|
342
|
+
}, Me({ _: 2 }, [
|
|
342
343
|
l.$slots.optionPdf ? {
|
|
343
344
|
name: "optionPdf",
|
|
344
345
|
fn: _(() => [
|
|
@@ -370,26 +371,28 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
370
371
|
l.$slots.optionFullscreen ? {
|
|
371
372
|
name: "optionFullscreen",
|
|
372
373
|
fn: _(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
373
|
-
m(l.$slots, "optionFullscreen", U(
|
|
374
|
+
m(l.$slots, "optionFullscreen", W(U({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
|
|
374
375
|
]),
|
|
375
376
|
key: "4"
|
|
376
377
|
} : void 0,
|
|
377
378
|
l.$slots.optionAnnotator ? {
|
|
378
379
|
name: "optionAnnotator",
|
|
379
380
|
fn: _(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
380
|
-
m(l.$slots, "optionAnnotator", U(
|
|
381
|
+
m(l.$slots, "optionAnnotator", W(U({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
|
|
381
382
|
]),
|
|
382
383
|
key: "5"
|
|
383
384
|
} : void 0
|
|
384
385
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
385
386
|
S.value ? (o(), r("svg", {
|
|
386
387
|
key: 4,
|
|
388
|
+
ref_key: "svgRef",
|
|
389
|
+
ref: ze,
|
|
387
390
|
xmlns: u(ke),
|
|
388
|
-
class:
|
|
391
|
+
class: be({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
389
392
|
viewBox: `0 0 ${s.value.absoluteWidth <= 0 ? 10 : s.value.absoluteWidth} ${s.value.absoluteHeight <= 0 ? 10 : s.value.absoluteHeight}`,
|
|
390
393
|
style: F(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
391
394
|
}, [
|
|
392
|
-
|
|
395
|
+
De(tt),
|
|
393
396
|
l.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
394
397
|
key: 0,
|
|
395
398
|
x: s.value.left,
|
|
@@ -401,8 +404,8 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
401
404
|
}
|
|
402
405
|
}, [
|
|
403
406
|
m(l.$slots, "chart-background", {}, void 0, !0)
|
|
404
|
-
], 8,
|
|
405
|
-
e.value.style.chart.grid.verticalGrid.show ? (o(), r("g",
|
|
407
|
+
], 8, ut)) : v("", !0),
|
|
408
|
+
e.value.style.chart.grid.verticalGrid.show ? (o(), r("g", it, [
|
|
406
409
|
(o(!0), r(C, null, $(c.value.ticks, (t, a) => (o(), r("line", {
|
|
407
410
|
x1: s.value.left + a * s.value.width / (c.value.ticks.length - 1),
|
|
408
411
|
x2: s.value.left + a * s.value.width / (c.value.ticks.length - 1),
|
|
@@ -411,9 +414,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
411
414
|
stroke: e.value.style.chart.grid.verticalGrid.stroke,
|
|
412
415
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
413
416
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
414
|
-
}, null, 8,
|
|
417
|
+
}, null, 8, ct))), 256))
|
|
415
418
|
])) : v("", !0),
|
|
416
|
-
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g",
|
|
419
|
+
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g", dt, [
|
|
417
420
|
(o(!0), r(C, null, $(k.value, (t, a) => (o(), r("line", {
|
|
418
421
|
x1: s.value.left,
|
|
419
422
|
x2: s.value.right,
|
|
@@ -422,7 +425,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
422
425
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
423
426
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
424
427
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
425
|
-
}, null, 8,
|
|
428
|
+
}, null, 8, vt))), 256)),
|
|
426
429
|
i("line", {
|
|
427
430
|
x1: s.value.left,
|
|
428
431
|
x2: s.value.right,
|
|
@@ -431,9 +434,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
431
434
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
432
435
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
433
436
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
434
|
-
}, null, 8,
|
|
437
|
+
}, null, 8, ht)
|
|
435
438
|
])) : v("", !0),
|
|
436
|
-
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g",
|
|
439
|
+
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g", yt, [
|
|
437
440
|
(o(!0), r(C, null, $(k.value, (t, a) => (o(), r("text", {
|
|
438
441
|
x: s.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
439
442
|
y: s.value.top + a * h.value + (e.value.style.chart.labels.yAxisLabels.showProgression ? h.value / 3 : h.value / 2) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
@@ -441,7 +444,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
441
444
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
442
445
|
"font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
443
446
|
"text-anchor": "end"
|
|
444
|
-
}, A(t.name), 9,
|
|
447
|
+
}, A(t.name), 9, ft))), 256)),
|
|
445
448
|
e.value.style.chart.labels.yAxisLabels.showProgression ? (o(!0), r(C, { key: 0 }, $(k.value, (t, a) => (o(), r("text", {
|
|
446
449
|
x: s.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
447
450
|
y: s.value.top + a * h.value + h.value / 1.3 + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
@@ -452,9 +455,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
452
455
|
v: 100 * (t.end / t.start - 1),
|
|
453
456
|
s: "%",
|
|
454
457
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
455
|
-
})), 9,
|
|
458
|
+
})), 9, bt))), 256)) : v("", !0)
|
|
456
459
|
])) : v("", !0),
|
|
457
|
-
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g",
|
|
460
|
+
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g", gt, [
|
|
458
461
|
(o(!0), r(C, null, $(c.value.ticks, (t, a) => (o(), r("text", {
|
|
459
462
|
x: s.value.left + a * (s.value.width / (c.value.ticks.length - 1)),
|
|
460
463
|
y: s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
@@ -472,7 +475,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
472
475
|
r: e.value.style.chart.labels.xAxisLabels.rounding
|
|
473
476
|
}),
|
|
474
477
|
{ datapoint: t, seriesIndex: a }
|
|
475
|
-
)), 9,
|
|
478
|
+
)), 9, pt))), 256))
|
|
476
479
|
])) : v("", !0),
|
|
477
480
|
i("defs", null, [
|
|
478
481
|
i("radialGradient", {
|
|
@@ -482,16 +485,16 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
482
485
|
i("stop", {
|
|
483
486
|
offset: "10%",
|
|
484
487
|
"stop-color": u(xe)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
485
|
-
}, null, 8,
|
|
488
|
+
}, null, 8, _t),
|
|
486
489
|
i("stop", {
|
|
487
490
|
offset: "90%",
|
|
488
491
|
"stop-color": u(we)(e.value.style.chart.plots.startColor, 0.1)
|
|
489
|
-
}, null, 8,
|
|
492
|
+
}, null, 8, kt),
|
|
490
493
|
i("stop", {
|
|
491
494
|
offset: "100%",
|
|
492
495
|
"stop-color": e.value.style.chart.plots.startColor
|
|
493
|
-
}, null, 8,
|
|
494
|
-
], 8,
|
|
496
|
+
}, null, 8, xt)
|
|
497
|
+
], 8, mt),
|
|
495
498
|
i("radialGradient", {
|
|
496
499
|
id: `end_grad_${y.value}`,
|
|
497
500
|
fy: "30%"
|
|
@@ -499,18 +502,18 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
499
502
|
i("stop", {
|
|
500
503
|
offset: "10%",
|
|
501
504
|
"stop-color": u(xe)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
502
|
-
}, null, 8,
|
|
505
|
+
}, null, 8, Ct),
|
|
503
506
|
i("stop", {
|
|
504
507
|
offset: "90%",
|
|
505
508
|
"stop-color": u(we)(e.value.style.chart.plots.endColor, 0.1)
|
|
506
|
-
}, null, 8,
|
|
509
|
+
}, null, 8, $t),
|
|
507
510
|
i("stop", {
|
|
508
511
|
offset: "100%",
|
|
509
512
|
"stop-color": e.value.style.chart.plots.endColor
|
|
510
|
-
}, null, 8,
|
|
511
|
-
], 8,
|
|
513
|
+
}, null, 8, Lt)
|
|
514
|
+
], 8, wt)
|
|
512
515
|
]),
|
|
513
|
-
(o(!0), r(C, null, $(
|
|
516
|
+
(o(!0), r(C, null, $(f.value, (t, a) => (o(), r("g", null, [
|
|
514
517
|
i("defs", null, [
|
|
515
518
|
i("linearGradient", {
|
|
516
519
|
id: `grad_positive_${y.value}`,
|
|
@@ -522,12 +525,12 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
522
525
|
i("stop", {
|
|
523
526
|
offset: "0%",
|
|
524
527
|
"stop-color": e.value.style.chart.plots.startColor
|
|
525
|
-
}, null, 8,
|
|
528
|
+
}, null, 8, zt),
|
|
526
529
|
i("stop", {
|
|
527
530
|
offset: "100%",
|
|
528
531
|
"stop-color": e.value.style.chart.plots.endColor
|
|
529
|
-
}, null, 8,
|
|
530
|
-
], 8,
|
|
532
|
+
}, null, 8, St)
|
|
533
|
+
], 8, At),
|
|
531
534
|
i("linearGradient", {
|
|
532
535
|
id: `grad_negative_${y.value}`,
|
|
533
536
|
x1: "0%",
|
|
@@ -538,14 +541,14 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
538
541
|
i("stop", {
|
|
539
542
|
offset: "0%",
|
|
540
543
|
"stop-color": e.value.style.chart.plots.endColor
|
|
541
|
-
}, null, 8,
|
|
544
|
+
}, null, 8, Nt),
|
|
542
545
|
i("stop", {
|
|
543
546
|
offset: "100%",
|
|
544
547
|
"stop-color": e.value.style.chart.plots.startColor
|
|
545
|
-
}, null, 8,
|
|
546
|
-
], 8,
|
|
548
|
+
}, null, 8, Tt)
|
|
549
|
+
], 8, Xt)
|
|
547
550
|
]),
|
|
548
|
-
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g",
|
|
551
|
+
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g", Pt, [
|
|
549
552
|
i("path", {
|
|
550
553
|
d: `M
|
|
551
554
|
${t.startX},${t.y + e.value.style.chart.plots.radius / 2}
|
|
@@ -557,15 +560,15 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
557
560
|
Z
|
|
558
561
|
`,
|
|
559
562
|
fill: t.endX > t.startX ? `url(#grad_positive_${y.value})` : `url(#grad_negative_${y.value})`
|
|
560
|
-
}, null, 8,
|
|
561
|
-
])) : (o(), r("g",
|
|
563
|
+
}, null, 8, Ot)
|
|
564
|
+
])) : (o(), r("g", Gt, [
|
|
562
565
|
i("rect", {
|
|
563
566
|
x: t.endX > t.startX ? t.startX : t.endX,
|
|
564
567
|
y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
|
|
565
568
|
height: e.value.style.chart.plots.link.strokeWidth,
|
|
566
569
|
width: Math.abs(t.endX - t.startX),
|
|
567
570
|
fill: t.endX > t.startX ? `url(#grad_positive_${y.value})` : `url(#grad_negative_${y.value})`
|
|
568
|
-
}, null, 8,
|
|
571
|
+
}, null, 8, Mt)
|
|
569
572
|
])),
|
|
570
573
|
i("circle", {
|
|
571
574
|
cx: t.startX,
|
|
@@ -574,7 +577,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
574
577
|
fill: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${y.value})` : e.value.style.chart.plots.startColor,
|
|
575
578
|
stroke: e.value.style.chart.plots.stroke,
|
|
576
579
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
577
|
-
}, null, 8,
|
|
580
|
+
}, null, 8, Dt),
|
|
578
581
|
i("circle", {
|
|
579
582
|
cx: t.endX,
|
|
580
583
|
cy: t.y,
|
|
@@ -582,10 +585,10 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
582
585
|
fill: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${y.value})` : e.value.style.chart.plots.endColor,
|
|
583
586
|
stroke: e.value.style.chart.plots.stroke,
|
|
584
587
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
585
|
-
}, null, 8,
|
|
588
|
+
}, null, 8, It)
|
|
586
589
|
]))), 256)),
|
|
587
|
-
e.value.style.chart.labels.startLabels.show ? (o(), r("g",
|
|
588
|
-
(o(!0), r(C, null, $(
|
|
590
|
+
e.value.style.chart.labels.startLabels.show ? (o(), r("g", Ft, [
|
|
591
|
+
(o(!0), r(C, null, $(f.value, (t, a) => (o(), r("text", {
|
|
589
592
|
x: t.startX,
|
|
590
593
|
y: s.value.top + (a + 1) * h.value - e.value.style.chart.labels.startLabels.fontSize / 3 + e.value.style.chart.labels.startLabels.offsetY,
|
|
591
594
|
fill: e.value.style.chart.labels.startLabels.useStartColor ? e.value.style.chart.plots.startColor : e.value.style.chart.labels.startLabels.color,
|
|
@@ -601,10 +604,10 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
601
604
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
602
605
|
}),
|
|
603
606
|
{ datapoint: t, seriesIndex: a }
|
|
604
|
-
)), 9,
|
|
607
|
+
)), 9, Vt))), 256))
|
|
605
608
|
])) : v("", !0),
|
|
606
|
-
e.value.style.chart.labels.endLabels.show ? (o(), r("g",
|
|
607
|
-
(o(!0), r(C, null, $(
|
|
609
|
+
e.value.style.chart.labels.endLabels.show ? (o(), r("g", Et, [
|
|
610
|
+
(o(!0), r(C, null, $(f.value, (t, a) => (o(), r("text", {
|
|
608
611
|
x: t.endX,
|
|
609
612
|
y: s.value.top + a * h.value + e.value.style.chart.labels.endLabels.fontSize + e.value.style.chart.labels.endLabels.offsetY,
|
|
610
613
|
fill: e.value.style.chart.labels.endLabels.useEndColor ? e.value.style.chart.plots.endColor : e.value.style.chart.labels.endLabels.color,
|
|
@@ -620,14 +623,14 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
620
623
|
r: e.value.style.chart.labels.endLabels.rounding
|
|
621
624
|
}),
|
|
622
625
|
{ datapoint: t, seriesIndex: a }
|
|
623
|
-
)), 9,
|
|
626
|
+
)), 9, Ht))), 256))
|
|
624
627
|
])) : v("", !0),
|
|
625
628
|
m(l.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
626
|
-
], 14,
|
|
627
|
-
l.$slots.watermark ? (o(), r("div",
|
|
628
|
-
m(l.$slots, "watermark", U(
|
|
629
|
+
], 14, nt)) : v("", !0),
|
|
630
|
+
l.$slots.watermark ? (o(), r("div", Rt, [
|
|
631
|
+
m(l.$slots, "watermark", W(U({ isPrinting: u(oe) || u(re) })), void 0, !0)
|
|
629
632
|
])) : v("", !0),
|
|
630
|
-
S.value ? v("", !0) : (o(), L(
|
|
633
|
+
S.value ? v("", !0) : (o(), L(Ke, {
|
|
631
634
|
key: 6,
|
|
632
635
|
config: {
|
|
633
636
|
type: "dumbbell",
|
|
@@ -643,10 +646,10 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
643
646
|
ref_key: "chartLegend",
|
|
644
647
|
ref: Y
|
|
645
648
|
}, [
|
|
646
|
-
e.value.style.chart.legend.show && S.value ? (o(), L(
|
|
649
|
+
e.value.style.chart.legend.show && S.value ? (o(), L(Qe, {
|
|
647
650
|
key: `legend_${ee.value}`,
|
|
648
651
|
legendSet: de.value,
|
|
649
|
-
config:
|
|
652
|
+
config: Ne.value
|
|
650
653
|
}, {
|
|
651
654
|
item: _(({ legend: t }) => [
|
|
652
655
|
i("div", {
|
|
@@ -663,8 +666,8 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
663
666
|
cy: 10,
|
|
664
667
|
r: 9,
|
|
665
668
|
fill: t.color
|
|
666
|
-
}, null, 8,
|
|
667
|
-
], 8,
|
|
669
|
+
}, null, 8, Ut)
|
|
670
|
+
], 8, Wt)),
|
|
668
671
|
ge(" " + A(t.name), 1)
|
|
669
672
|
], 4)
|
|
670
673
|
]),
|
|
@@ -682,7 +685,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
682
685
|
}, [
|
|
683
686
|
m(l.$slots, "source", {}, void 0, !0)
|
|
684
687
|
], 512)) : v("", !0),
|
|
685
|
-
S.value ? (o(), L(
|
|
688
|
+
S.value ? (o(), L(et, {
|
|
686
689
|
key: 8,
|
|
687
690
|
hideDetails: "",
|
|
688
691
|
config: {
|
|
@@ -699,7 +702,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
699
702
|
}
|
|
700
703
|
}, {
|
|
701
704
|
content: _(() => [
|
|
702
|
-
(o(), L(
|
|
705
|
+
(o(), L(Je, {
|
|
703
706
|
key: `table_${Q.value}`,
|
|
704
707
|
colNames: M.value.colNames,
|
|
705
708
|
head: M.value.head,
|
|
@@ -712,7 +715,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
712
715
|
i("div", {
|
|
713
716
|
innerHTML: t,
|
|
714
717
|
style: { display: "flex", "align-items": "center" }
|
|
715
|
-
}, null, 8,
|
|
718
|
+
}, null, 8, Bt)
|
|
716
719
|
]),
|
|
717
720
|
td: _(({ td: t }) => [
|
|
718
721
|
ge(A(t.name || t), 1)
|
|
@@ -722,9 +725,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
722
725
|
]),
|
|
723
726
|
_: 1
|
|
724
727
|
}, 8, ["config"])) : v("", !0)
|
|
725
|
-
], 46,
|
|
728
|
+
], 46, rt));
|
|
726
729
|
}
|
|
727
|
-
},
|
|
730
|
+
}, cl = /* @__PURE__ */ ot(jt, [["__scopeId", "data-v-922fa05c"]]);
|
|
728
731
|
export {
|
|
729
|
-
|
|
732
|
+
cl as default
|
|
730
733
|
};
|