vue-data-ui 2.4.57 → 2.4.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -51
- package/dist/{Arrow-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
- package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
- package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
- package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
- package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
- package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
- package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
- package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
- package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
- package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
- package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
- package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
- package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
- package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
- package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
- package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
- package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
- package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
- package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
- package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
- package/dist/documentation/installation.md +48 -48
- package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
- package/dist/index-DaDv7p0W.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
- package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
- package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
- package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
- package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
- package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
- package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
- package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
- package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
- package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
- package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
- package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
- package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
- package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
- package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
- package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
- package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
- package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
- package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
- package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
- package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
- package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
- package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
- package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
- package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
- package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
- package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
- package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
- package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
- package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
- package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
- package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
- package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
- package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
- package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
- package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
- package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
- package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
- package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
- package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
- package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
- package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
- package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
- package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
- package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
- package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
- package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
- package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
- package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
- package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
- package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
- package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
- package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
- package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
- package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
- package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
- package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
- package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
- package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
- package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
- package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
- package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
- package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
- package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
- package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
- package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
- package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
- package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
- package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
- package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
- package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
- package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
- package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
- package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
- package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
- package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
- package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
- package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
- package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
- package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
- package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
- package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
- package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
- package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
- package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
- package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
- package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
- package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
- package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
- package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
- package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
- package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
- package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
- package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
- package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
- package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
- package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
- package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
- package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
- package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
- package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
- package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
- package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
- package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
- package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
- package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
- package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
- package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
- package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
- package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
- package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
- package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
- package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
- package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
- package/package.json +1 -1
- package/dist/index-o6tXRhOr.cjs +0 -9
- package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
- package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
- package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
- package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
- package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
- package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
- package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
- package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
- package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
- package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
- package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
- package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
- package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
- package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
- package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
- package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
- package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
- package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
- package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
- package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
- package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
- package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
- package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
- package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
- package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
- package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
- package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
- package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
- package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
- package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
- package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
- package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
- package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
- package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
- package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
- package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
- package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
- package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
- package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { computed as m, ref as v, watch as ye, onMounted as fe, onBeforeUnmount as Oe, openBlock as o, createElementBlock as r, normalizeClass as be, normalizeStyle as F, unref as u, createBlock as L, createCommentVNode as
|
|
2
|
-
import { u as Ie, c as pe, t as Fe, o as Ve, e as me, g as Ee, v as _e, D as He, f as z, X as ke, i as B, l as xe, h as
|
|
1
|
+
import { computed as m, ref as v, watch as ye, onMounted as fe, onBeforeUnmount as Oe, openBlock as o, createElementBlock as r, normalizeClass as be, normalizeStyle as F, unref as u, createBlock as L, createCommentVNode as h, createSlots as Ge, withCtx as k, renderSlot as _, normalizeProps as U, guardReactiveProps as R, createVNode as Me, Fragment as C, renderList as $, createElementVNode as i, toDisplayString as A, createTextVNode as ge, nextTick as De } from "vue";
|
|
2
|
+
import { u as Ie, c as pe, t as Fe, o as Ve, e as me, g as Ee, v as _e, D as He, f as z, X as ke, i as B, l as xe, h as we, q as We, r as Ue } from "./index-B9RAElpI.js";
|
|
3
3
|
import { t as Re, u as Be } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as je } from "./Title-
|
|
5
|
-
import { u as qe, U as Ye } from "./usePrinter-
|
|
6
|
-
import { D as Ze } from "./DataTable-
|
|
7
|
-
import Je from "./vue-ui-skeleton-
|
|
8
|
-
import { L as Ke } from "./Legend-
|
|
9
|
-
import Qe from "./vue-ui-accordion-
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as et } from "./PackageVersion-
|
|
12
|
-
import { P as tt } from "./PenAndPaper-
|
|
4
|
+
import { _ as je } from "./Title-zZtEcB9F.js";
|
|
5
|
+
import { u as qe, U as Ye } from "./usePrinter-CwTAwqtF.js";
|
|
6
|
+
import { D as Ze } from "./DataTable-CFUKU8PU.js";
|
|
7
|
+
import Je from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
8
|
+
import { L as Ke } from "./Legend-f52bnttJ.js";
|
|
9
|
+
import Qe from "./vue-ui-accordion-rNA598L6.js";
|
|
10
|
+
import { u as Ce } from "./useNestedProp-DuruL3Nt.js";
|
|
11
|
+
import { _ as et } from "./PackageVersion-C_FFs0BP.js";
|
|
12
|
+
import { P as tt } from "./PenAndPaper-Dx24BtRW.js";
|
|
13
13
|
import { u as lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key:
|
|
15
|
+
const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"], nt = { key: 1 }, ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], it = { key: 2 }, ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], vt = { key: 3 }, ht = ["x", "y", "font-size", "fill", "font-weight"], yt = ["x", "y", "font-size", "fill"], ft = { key: 4 }, bt = ["x", "y", "font-size", "fill", "font-weight"], gt = ["id"], pt = ["stop-color"], mt = ["stop-color"], _t = ["stop-color"], kt = ["id"], xt = ["stop-color"], wt = ["stop-color"], Ct = ["stop-color"], $t = ["id"], Lt = ["stop-color"], At = ["stop-color"], zt = ["id"], St = ["stop-color"], Xt = ["stop-color"], Nt = { key: 0 }, Tt = ["d", "fill"], Pt = { key: 1 }, Ot = ["x", "y", "height", "width", "fill"], Gt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Mt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Dt = { key: 2 }, It = ["x", "y", "fill", "font-size"], Ft = { key: 3 }, Vt = ["x", "y", "fill", "font-size"], Et = {
|
|
16
16
|
key: 5,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
18
|
+
}, Ht = ["xmlns", "height", "width"], Wt = ["fill"], Ut = ["innerHTML"], Rt = {
|
|
19
19
|
__name: "vue-ui-dumbbell",
|
|
20
20
|
props: {
|
|
21
21
|
config: {
|
|
@@ -32,7 +32,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectDatapoint"],
|
|
35
|
-
setup($e, { expose: Le, emit:
|
|
35
|
+
setup($e, { expose: Le, emit: Bt }) {
|
|
36
36
|
const p = $e, { vue_ui_dumbbell: Ae } = Ie(), S = m({
|
|
37
37
|
get() {
|
|
38
38
|
return !!p.dataset && p.dataset.length;
|
|
@@ -45,19 +45,19 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
45
45
|
set: (l) => l
|
|
46
46
|
}), { userOptionsVisible: V, setUserOptionsVisibility: te, keepUserOptionState: le } = lt({ config: e.value });
|
|
47
47
|
function ae() {
|
|
48
|
-
const l =
|
|
48
|
+
const l = Ce({
|
|
49
49
|
userConfig: p.config,
|
|
50
50
|
defaultConfig: Ae
|
|
51
51
|
});
|
|
52
52
|
return l.theme ? {
|
|
53
|
-
...
|
|
53
|
+
...Ce({
|
|
54
54
|
userConfig: Fe.vue_ui_dumbbell[l.theme] || p.config,
|
|
55
55
|
defaultConfig: l
|
|
56
56
|
})
|
|
57
57
|
} : l;
|
|
58
58
|
}
|
|
59
59
|
ye(() => p.config, (l) => {
|
|
60
|
-
e.value = ae(), V.value = !e.value.showOnChartHover, se(), K.value += 1, Q.value += 1, ee.value += 1,
|
|
60
|
+
e.value = ae(), V.value = !e.value.showOnChartHover, se(), K.value += 1, Q.value += 1, ee.value += 1, y.value = e.value.style.chart.rowHeight, N.value = e.value.style.chart.width;
|
|
61
61
|
}, { deep: !0 }), ye(() => p.dataset, (l) => {
|
|
62
62
|
ce();
|
|
63
63
|
}, { deep: !0 });
|
|
@@ -90,7 +90,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
90
90
|
source: Z.value,
|
|
91
91
|
noTitle: J.value
|
|
92
92
|
});
|
|
93
|
-
N.value = n,
|
|
93
|
+
N.value = n, y.value = t / p.dataset.length, b.value = G();
|
|
94
94
|
});
|
|
95
95
|
P.value = new ResizeObserver(l), P.value.observe(X.value.parentNode);
|
|
96
96
|
}
|
|
@@ -111,8 +111,8 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
111
111
|
}))), E = m(() => ({
|
|
112
112
|
max: Math.max(...x.value.flatMap((l) => [l.start, l.end])),
|
|
113
113
|
min: Math.min(...x.value.flatMap((l) => [l.start, l.end]))
|
|
114
|
-
})), d = m(() => He(E.value.min < 0 ? E.value.min : 0, E.value.max, e.value.style.chart.grid.scaleSteps)),
|
|
115
|
-
const l =
|
|
114
|
+
})), d = m(() => He(E.value.min < 0 ? E.value.min : 0, E.value.max, e.value.style.chart.grid.scaleSteps)), y = v(e.value.style.chart.rowHeight), N = v(e.value.style.chart.width), a = m(() => {
|
|
115
|
+
const l = y.value, n = e.value.style.chart.padding.left + e.value.style.chart.padding.right + N.value, t = e.value.style.chart.padding.top + e.value.style.chart.padding.bottom + l * p.dataset.length, s = d.value.ticks.length * (N.value / d.value.ticks.length);
|
|
116
116
|
return {
|
|
117
117
|
left: e.value.style.chart.padding.left,
|
|
118
118
|
right: n - e.value.style.chart.padding.right,
|
|
@@ -123,18 +123,18 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
123
123
|
rowHeight: l,
|
|
124
124
|
absoluteHeight: t,
|
|
125
125
|
absoluteWidth: n,
|
|
126
|
-
widthPlotReference:
|
|
126
|
+
widthPlotReference: s
|
|
127
127
|
};
|
|
128
128
|
});
|
|
129
129
|
function G() {
|
|
130
130
|
return x.value.map((l, n) => {
|
|
131
|
-
const t =
|
|
131
|
+
const t = a.value.left + (l.start + Math.abs(d.value.min)) / (d.value.max + Math.abs(d.value.min)) * a.value.widthPlotReference, s = a.value.left + (l.end + Math.abs(d.value.min)) / (d.value.max + Math.abs(d.value.min)) * a.value.widthPlotReference, c = t + (s - t) / 2;
|
|
132
132
|
return {
|
|
133
133
|
...l,
|
|
134
134
|
startX: t,
|
|
135
|
-
endX:
|
|
135
|
+
endX: s,
|
|
136
136
|
centerX: c,
|
|
137
|
-
y:
|
|
137
|
+
y: a.value.top + n * y.value + y.value / 2,
|
|
138
138
|
endVal: l.start
|
|
139
139
|
};
|
|
140
140
|
});
|
|
@@ -145,21 +145,21 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
145
145
|
});
|
|
146
146
|
function ce() {
|
|
147
147
|
b.value = G();
|
|
148
|
-
let l = b.value.map((t) => t.start).reduce((t,
|
|
148
|
+
let l = b.value.map((t) => t.start).reduce((t, s) => t + s, 0);
|
|
149
149
|
function n() {
|
|
150
|
-
const t = x.value.map((
|
|
151
|
-
l >= Se.value ? (cancelAnimationFrame(ie.value), b.value = G()) : (b.value = b.value.map((
|
|
152
|
-
|
|
153
|
-
const g =
|
|
150
|
+
const t = x.value.map((s) => s.end - s.start);
|
|
151
|
+
l >= Se.value ? (cancelAnimationFrame(ie.value), b.value = G()) : (b.value = b.value.map((s, c) => {
|
|
152
|
+
s.endVal += t[c] * (e.value.animationSpeed / 100);
|
|
153
|
+
const g = a.value.left + (s.start + Math.abs(d.value.min)) / (d.value.max + Math.abs(d.value.min)) * a.value.widthPlotReference, I = a.value.left + (s.endVal + Math.abs(d.value.min)) / (d.value.max + Math.abs(d.value.min)) * a.value.widthPlotReference, W = g + (I - g) / 2;
|
|
154
154
|
return {
|
|
155
|
-
...
|
|
155
|
+
...s,
|
|
156
156
|
startX: g,
|
|
157
157
|
endX: I,
|
|
158
158
|
centerX: W,
|
|
159
|
-
y:
|
|
160
|
-
endVal:
|
|
159
|
+
y: a.value.top + c * y.value + y.value / 2,
|
|
160
|
+
endVal: s.endVal
|
|
161
161
|
};
|
|
162
|
-
}), l = b.value.map((
|
|
162
|
+
}), l = b.value.map((s) => s.endVal).reduce((s, c) => s + c, 0), ie.value = requestAnimationFrame(n));
|
|
163
163
|
}
|
|
164
164
|
e.value.useAnimation ? n() : b.value = G();
|
|
165
165
|
}
|
|
@@ -174,7 +174,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
174
174
|
paddingBottom: 12,
|
|
175
175
|
paddingTop: 12,
|
|
176
176
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
177
|
-
})),
|
|
177
|
+
})), w = m(() => {
|
|
178
178
|
const l = b.value.map((t) => ({
|
|
179
179
|
name: t.name
|
|
180
180
|
})), n = b.value.map((t) => ({
|
|
@@ -188,19 +188,19 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
188
188
|
e.value.table.columnNames.start,
|
|
189
189
|
e.value.table.columnNames.end,
|
|
190
190
|
e.value.table.columnNames.progression
|
|
191
|
-
], n =
|
|
191
|
+
], n = w.value.head.map((c, g) => {
|
|
192
192
|
const I = z({
|
|
193
193
|
p: e.value.style.chart.labels.prefix,
|
|
194
|
-
v:
|
|
194
|
+
v: w.value.body[g].start,
|
|
195
195
|
s: e.value.style.chart.labels.suffix,
|
|
196
196
|
r: e.value.table.td.roundingValue
|
|
197
197
|
}), W = z({
|
|
198
198
|
p: e.value.style.chart.labels.prefix,
|
|
199
|
-
v:
|
|
199
|
+
v: w.value.body[g].end,
|
|
200
200
|
s: e.value.style.chart.labels.suffix,
|
|
201
201
|
r: e.value.table.td.roundingValue
|
|
202
202
|
}), Pe = z({
|
|
203
|
-
v: 100 * (
|
|
203
|
+
v: 100 * (w.value.body[g].end / w.value.body[g].start - 1),
|
|
204
204
|
s: "%",
|
|
205
205
|
r: e.value.table.td.roundingPercentage
|
|
206
206
|
});
|
|
@@ -237,9 +237,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
237
237
|
});
|
|
238
238
|
function ve() {
|
|
239
239
|
De(() => {
|
|
240
|
-
const l =
|
|
241
|
-
|
|
242
|
-
], [
|
|
240
|
+
const l = w.value.head.map((s, c) => [[
|
|
241
|
+
s.name
|
|
242
|
+
], [w.value.body[c].start], [w.value.body[c].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);
|
|
243
243
|
Ue({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
|
|
244
244
|
});
|
|
245
245
|
}
|
|
@@ -280,14 +280,14 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
280
280
|
color: e.value.style.chart.color,
|
|
281
281
|
active: D.value,
|
|
282
282
|
onClose: H
|
|
283
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
283
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
|
|
284
284
|
ze.value ? (o(), r("div", {
|
|
285
285
|
key: 1,
|
|
286
286
|
ref_key: "noTitle",
|
|
287
287
|
ref: J,
|
|
288
288
|
class: "vue-data-ui-no-title-space",
|
|
289
289
|
style: "height:36px; width: 100%;background:transparent"
|
|
290
|
-
}, null, 512)) :
|
|
290
|
+
}, null, 512)) : h("", !0),
|
|
291
291
|
e.value.style.chart.title.text ? (o(), r("div", {
|
|
292
292
|
key: 2,
|
|
293
293
|
ref_key: "chartTitle",
|
|
@@ -307,7 +307,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
}, null, 8, ["config"]))
|
|
310
|
-
], 512)) :
|
|
310
|
+
], 512)) : h("", !0),
|
|
311
311
|
e.value.userOptions.show && S.value && (u(le) || u(V)) ? (o(), L(Ye, {
|
|
312
312
|
ref: "details",
|
|
313
313
|
key: `user_option_${j.value}`,
|
|
@@ -339,98 +339,110 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
339
339
|
}, Ge({ _: 2 }, [
|
|
340
340
|
l.$slots.optionPdf ? {
|
|
341
341
|
name: "optionPdf",
|
|
342
|
-
fn:
|
|
343
|
-
|
|
342
|
+
fn: k(() => [
|
|
343
|
+
_(l.$slots, "optionPdf", {}, void 0, !0)
|
|
344
344
|
]),
|
|
345
345
|
key: "0"
|
|
346
346
|
} : void 0,
|
|
347
347
|
l.$slots.optionCsv ? {
|
|
348
348
|
name: "optionCsv",
|
|
349
|
-
fn:
|
|
350
|
-
|
|
349
|
+
fn: k(() => [
|
|
350
|
+
_(l.$slots, "optionCsv", {}, void 0, !0)
|
|
351
351
|
]),
|
|
352
352
|
key: "1"
|
|
353
353
|
} : void 0,
|
|
354
354
|
l.$slots.optionImg ? {
|
|
355
355
|
name: "optionImg",
|
|
356
|
-
fn:
|
|
357
|
-
|
|
356
|
+
fn: k(() => [
|
|
357
|
+
_(l.$slots, "optionImg", {}, void 0, !0)
|
|
358
358
|
]),
|
|
359
359
|
key: "2"
|
|
360
360
|
} : void 0,
|
|
361
361
|
l.$slots.optionTable ? {
|
|
362
362
|
name: "optionTable",
|
|
363
|
-
fn:
|
|
364
|
-
|
|
363
|
+
fn: k(() => [
|
|
364
|
+
_(l.$slots, "optionTable", {}, void 0, !0)
|
|
365
365
|
]),
|
|
366
366
|
key: "3"
|
|
367
367
|
} : void 0,
|
|
368
368
|
l.$slots.optionFullscreen ? {
|
|
369
369
|
name: "optionFullscreen",
|
|
370
|
-
fn:
|
|
371
|
-
|
|
370
|
+
fn: k(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
371
|
+
_(l.$slots, "optionFullscreen", U(R({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
372
372
|
]),
|
|
373
373
|
key: "4"
|
|
374
374
|
} : void 0,
|
|
375
375
|
l.$slots.optionAnnotator ? {
|
|
376
376
|
name: "optionAnnotator",
|
|
377
|
-
fn:
|
|
378
|
-
|
|
377
|
+
fn: k(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
378
|
+
_(l.$slots, "optionAnnotator", U(R({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
379
379
|
]),
|
|
380
380
|
key: "5"
|
|
381
381
|
} : void 0
|
|
382
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
382
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
383
383
|
S.value ? (o(), r("svg", {
|
|
384
384
|
key: 4,
|
|
385
385
|
xmlns: u(ke),
|
|
386
386
|
class: be({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
|
|
387
|
-
viewBox: `0 0 ${
|
|
387
|
+
viewBox: `0 0 ${a.value.absoluteWidth <= 0 ? 10 : a.value.absoluteWidth} ${a.value.absoluteHeight <= 0 ? 10 : a.value.absoluteHeight}`,
|
|
388
388
|
style: F(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
389
389
|
}, [
|
|
390
390
|
Me(et),
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
391
|
+
l.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
392
|
+
key: 0,
|
|
393
|
+
x: a.value.left,
|
|
394
|
+
y: a.value.top,
|
|
395
|
+
width: a.value.width,
|
|
396
|
+
height: a.value.height,
|
|
397
|
+
style: {
|
|
398
|
+
pointerEvents: "none"
|
|
399
|
+
}
|
|
400
|
+
}, [
|
|
401
|
+
_(l.$slots, "chart-background", {}, void 0, !0)
|
|
402
|
+
], 8, rt)) : h("", !0),
|
|
403
|
+
e.value.style.chart.grid.verticalGrid.show ? (o(), r("g", nt, [
|
|
404
|
+
(o(!0), r(C, null, $(d.value.ticks, (t, s) => (o(), r("line", {
|
|
405
|
+
x1: a.value.left + s * a.value.width / (d.value.ticks.length - 1),
|
|
406
|
+
x2: a.value.left + s * a.value.width / (d.value.ticks.length - 1),
|
|
407
|
+
y1: a.value.top,
|
|
408
|
+
y2: a.value.bottom,
|
|
397
409
|
stroke: e.value.style.chart.grid.verticalGrid.stroke,
|
|
398
410
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
399
411
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
400
|
-
}, null, 8,
|
|
401
|
-
])) :
|
|
402
|
-
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g",
|
|
403
|
-
(o(!0), r(
|
|
404
|
-
x1:
|
|
405
|
-
x2:
|
|
406
|
-
y1:
|
|
407
|
-
y2:
|
|
412
|
+
}, null, 8, ut))), 256))
|
|
413
|
+
])) : h("", !0),
|
|
414
|
+
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g", it, [
|
|
415
|
+
(o(!0), r(C, null, $(x.value, (t, s) => (o(), r("line", {
|
|
416
|
+
x1: a.value.left,
|
|
417
|
+
x2: a.value.right,
|
|
418
|
+
y1: a.value.top + s * y.value,
|
|
419
|
+
y2: a.value.top + s * y.value,
|
|
408
420
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
409
421
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
410
422
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
411
|
-
}, null, 8,
|
|
423
|
+
}, null, 8, ct))), 256)),
|
|
412
424
|
i("line", {
|
|
413
|
-
x1:
|
|
414
|
-
x2:
|
|
415
|
-
y1:
|
|
416
|
-
y2:
|
|
425
|
+
x1: a.value.left,
|
|
426
|
+
x2: a.value.right,
|
|
427
|
+
y1: a.value.bottom,
|
|
428
|
+
y2: a.value.bottom,
|
|
417
429
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
418
430
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
419
431
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
420
|
-
}, null, 8,
|
|
421
|
-
])) :
|
|
422
|
-
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g",
|
|
423
|
-
(o(!0), r(
|
|
424
|
-
x:
|
|
425
|
-
y:
|
|
432
|
+
}, null, 8, dt)
|
|
433
|
+
])) : h("", !0),
|
|
434
|
+
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g", vt, [
|
|
435
|
+
(o(!0), r(C, null, $(x.value, (t, s) => (o(), r("text", {
|
|
436
|
+
x: a.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
437
|
+
y: a.value.top + s * y.value + (e.value.style.chart.labels.yAxisLabels.showProgression ? y.value / 3 : y.value / 2) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
426
438
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
427
439
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
428
440
|
"font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
429
441
|
"text-anchor": "end"
|
|
430
|
-
}, A(t.name), 9,
|
|
431
|
-
e.value.style.chart.labels.yAxisLabels.showProgression ? (o(!0), r(
|
|
432
|
-
x:
|
|
433
|
-
y:
|
|
442
|
+
}, A(t.name), 9, ht))), 256)),
|
|
443
|
+
e.value.style.chart.labels.yAxisLabels.showProgression ? (o(!0), r(C, { key: 0 }, $(x.value, (t, s) => (o(), r("text", {
|
|
444
|
+
x: a.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
445
|
+
y: a.value.top + s * y.value + y.value / 1.3 + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
434
446
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
435
447
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
436
448
|
"text-anchor": "end"
|
|
@@ -438,12 +450,12 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
438
450
|
v: 100 * (t.end / t.start - 1),
|
|
439
451
|
s: "%",
|
|
440
452
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
441
|
-
})), 9,
|
|
442
|
-
])) :
|
|
443
|
-
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g",
|
|
444
|
-
(o(!0), r(
|
|
445
|
-
x:
|
|
446
|
-
y:
|
|
453
|
+
})), 9, yt))), 256)) : h("", !0)
|
|
454
|
+
])) : h("", !0),
|
|
455
|
+
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g", ft, [
|
|
456
|
+
(o(!0), r(C, null, $(d.value.ticks, (t, s) => (o(), r("text", {
|
|
457
|
+
x: a.value.left + s * (a.value.width / (d.value.ticks.length - 1)),
|
|
458
|
+
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
447
459
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
448
460
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
449
461
|
"font-weight": e.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
|
|
@@ -457,9 +469,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
457
469
|
s: e.value.style.chart.labels.suffix,
|
|
458
470
|
r: e.value.style.chart.labels.xAxisLabels.rounding
|
|
459
471
|
}),
|
|
460
|
-
{ datapoint: t, seriesIndex:
|
|
461
|
-
)), 9,
|
|
462
|
-
])) :
|
|
472
|
+
{ datapoint: t, seriesIndex: s }
|
|
473
|
+
)), 9, bt))), 256))
|
|
474
|
+
])) : h("", !0),
|
|
463
475
|
i("defs", null, [
|
|
464
476
|
i("radialGradient", {
|
|
465
477
|
id: `start_grad_${f.value}`,
|
|
@@ -468,16 +480,16 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
468
480
|
i("stop", {
|
|
469
481
|
offset: "10%",
|
|
470
482
|
"stop-color": u(xe)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
471
|
-
}, null, 8,
|
|
483
|
+
}, null, 8, pt),
|
|
472
484
|
i("stop", {
|
|
473
485
|
offset: "90%",
|
|
474
|
-
"stop-color": u(
|
|
475
|
-
}, null, 8,
|
|
486
|
+
"stop-color": u(we)(e.value.style.chart.plots.startColor, 0.1)
|
|
487
|
+
}, null, 8, mt),
|
|
476
488
|
i("stop", {
|
|
477
489
|
offset: "100%",
|
|
478
490
|
"stop-color": e.value.style.chart.plots.startColor
|
|
479
|
-
}, null, 8,
|
|
480
|
-
], 8,
|
|
491
|
+
}, null, 8, _t)
|
|
492
|
+
], 8, gt),
|
|
481
493
|
i("radialGradient", {
|
|
482
494
|
id: `end_grad_${f.value}`,
|
|
483
495
|
fy: "30%"
|
|
@@ -485,18 +497,18 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
485
497
|
i("stop", {
|
|
486
498
|
offset: "10%",
|
|
487
499
|
"stop-color": u(xe)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
488
|
-
}, null, 8,
|
|
500
|
+
}, null, 8, xt),
|
|
489
501
|
i("stop", {
|
|
490
502
|
offset: "90%",
|
|
491
|
-
"stop-color": u(
|
|
492
|
-
}, null, 8,
|
|
503
|
+
"stop-color": u(we)(e.value.style.chart.plots.endColor, 0.1)
|
|
504
|
+
}, null, 8, wt),
|
|
493
505
|
i("stop", {
|
|
494
506
|
offset: "100%",
|
|
495
507
|
"stop-color": e.value.style.chart.plots.endColor
|
|
496
508
|
}, null, 8, Ct)
|
|
497
|
-
], 8,
|
|
509
|
+
], 8, kt)
|
|
498
510
|
]),
|
|
499
|
-
(o(!0), r(
|
|
511
|
+
(o(!0), r(C, null, $(b.value, (t, s) => (o(), r("g", null, [
|
|
500
512
|
i("defs", null, [
|
|
501
513
|
i("linearGradient", {
|
|
502
514
|
id: `grad_positive_${f.value}`,
|
|
@@ -508,12 +520,12 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
508
520
|
i("stop", {
|
|
509
521
|
offset: "0%",
|
|
510
522
|
"stop-color": e.value.style.chart.plots.startColor
|
|
511
|
-
}, null, 8,
|
|
523
|
+
}, null, 8, Lt),
|
|
512
524
|
i("stop", {
|
|
513
525
|
offset: "100%",
|
|
514
526
|
"stop-color": e.value.style.chart.plots.endColor
|
|
515
|
-
}, null, 8,
|
|
516
|
-
], 8,
|
|
527
|
+
}, null, 8, At)
|
|
528
|
+
], 8, $t),
|
|
517
529
|
i("linearGradient", {
|
|
518
530
|
id: `grad_negative_${f.value}`,
|
|
519
531
|
x1: "0%",
|
|
@@ -524,14 +536,14 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
524
536
|
i("stop", {
|
|
525
537
|
offset: "0%",
|
|
526
538
|
"stop-color": e.value.style.chart.plots.endColor
|
|
527
|
-
}, null, 8,
|
|
539
|
+
}, null, 8, St),
|
|
528
540
|
i("stop", {
|
|
529
541
|
offset: "100%",
|
|
530
542
|
"stop-color": e.value.style.chart.plots.startColor
|
|
531
|
-
}, null, 8,
|
|
532
|
-
], 8,
|
|
543
|
+
}, null, 8, Xt)
|
|
544
|
+
], 8, zt)
|
|
533
545
|
]),
|
|
534
|
-
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g",
|
|
546
|
+
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g", Nt, [
|
|
535
547
|
i("path", {
|
|
536
548
|
d: `M
|
|
537
549
|
${t.startX},${t.y + e.value.style.chart.plots.radius / 2}
|
|
@@ -543,15 +555,15 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
543
555
|
Z
|
|
544
556
|
`,
|
|
545
557
|
fill: t.endX > t.startX ? `url(#grad_positive_${f.value})` : `url(#grad_negative_${f.value})`
|
|
546
|
-
}, null, 8,
|
|
547
|
-
])) : (o(), r("g",
|
|
558
|
+
}, null, 8, Tt)
|
|
559
|
+
])) : (o(), r("g", Pt, [
|
|
548
560
|
i("rect", {
|
|
549
561
|
x: t.endX > t.startX ? t.startX : t.endX,
|
|
550
562
|
y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
|
|
551
563
|
height: e.value.style.chart.plots.link.strokeWidth,
|
|
552
564
|
width: Math.abs(t.endX - t.startX),
|
|
553
565
|
fill: t.endX > t.startX ? `url(#grad_positive_${f.value})` : `url(#grad_negative_${f.value})`
|
|
554
|
-
}, null, 8,
|
|
566
|
+
}, null, 8, Ot)
|
|
555
567
|
])),
|
|
556
568
|
i("circle", {
|
|
557
569
|
cx: t.startX,
|
|
@@ -560,7 +572,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
560
572
|
fill: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${f.value})` : e.value.style.chart.plots.startColor,
|
|
561
573
|
stroke: e.value.style.chart.plots.stroke,
|
|
562
574
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
563
|
-
}, null, 8,
|
|
575
|
+
}, null, 8, Gt),
|
|
564
576
|
i("circle", {
|
|
565
577
|
cx: t.endX,
|
|
566
578
|
cy: t.y,
|
|
@@ -568,11 +580,11 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
568
580
|
fill: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${f.value})` : e.value.style.chart.plots.endColor,
|
|
569
581
|
stroke: e.value.style.chart.plots.stroke,
|
|
570
582
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
571
|
-
}, null, 8,
|
|
572
|
-
e.value.style.chart.labels.startLabels.show ? (o(), r("g",
|
|
573
|
-
(o(!0), r(
|
|
583
|
+
}, null, 8, Mt),
|
|
584
|
+
e.value.style.chart.labels.startLabels.show ? (o(), r("g", Dt, [
|
|
585
|
+
(o(!0), r(C, null, $(b.value, (c, g) => (o(), r("text", {
|
|
574
586
|
x: c.startX,
|
|
575
|
-
y:
|
|
587
|
+
y: a.value.top + (g + 1) * y.value - e.value.style.chart.labels.startLabels.fontSize / 3 + e.value.style.chart.labels.startLabels.offsetY,
|
|
576
588
|
fill: e.value.style.chart.labels.startLabels.useStartColor ? e.value.style.chart.plots.startColor : e.value.style.chart.labels.startLabels.color,
|
|
577
589
|
"font-size": e.value.style.chart.labels.startLabels.fontSize,
|
|
578
590
|
"text-anchor": "middle"
|
|
@@ -586,12 +598,12 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
586
598
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
587
599
|
}),
|
|
588
600
|
{ datapoint: c, seriesIndex: g }
|
|
589
|
-
)), 9,
|
|
590
|
-
])) :
|
|
591
|
-
e.value.style.chart.labels.endLabels.show ? (o(), r("g",
|
|
592
|
-
(o(!0), r(
|
|
601
|
+
)), 9, It))), 256))
|
|
602
|
+
])) : h("", !0),
|
|
603
|
+
e.value.style.chart.labels.endLabels.show ? (o(), r("g", Ft, [
|
|
604
|
+
(o(!0), r(C, null, $(b.value, (c, g) => (o(), r("text", {
|
|
593
605
|
x: c.endX,
|
|
594
|
-
y:
|
|
606
|
+
y: a.value.top + g * y.value + e.value.style.chart.labels.endLabels.fontSize + e.value.style.chart.labels.endLabels.offsetY,
|
|
595
607
|
fill: e.value.style.chart.labels.endLabels.useEndColor ? e.value.style.chart.plots.endColor : e.value.style.chart.labels.endLabels.color,
|
|
596
608
|
"font-size": e.value.style.chart.labels.endLabels.fontSize,
|
|
597
609
|
"text-anchor": "middle"
|
|
@@ -605,15 +617,15 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
605
617
|
r: e.value.style.chart.labels.endLabels.rounding
|
|
606
618
|
}),
|
|
607
619
|
{ datapoint: c, seriesIndex: g }
|
|
608
|
-
)), 9,
|
|
609
|
-
])) :
|
|
620
|
+
)), 9, Vt))), 256))
|
|
621
|
+
])) : h("", !0)
|
|
610
622
|
]))), 256)),
|
|
611
|
-
|
|
612
|
-
], 14, ot)) :
|
|
613
|
-
l.$slots.watermark ? (o(), r("div",
|
|
614
|
-
|
|
615
|
-
])) :
|
|
616
|
-
S.value ?
|
|
623
|
+
_(l.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
624
|
+
], 14, ot)) : h("", !0),
|
|
625
|
+
l.$slots.watermark ? (o(), r("div", Et, [
|
|
626
|
+
_(l.$slots, "watermark", U(R({ isPrinting: u(oe) || u(re) })), void 0, !0)
|
|
627
|
+
])) : h("", !0),
|
|
628
|
+
S.value ? h("", !0) : (o(), L(Je, {
|
|
617
629
|
key: 6,
|
|
618
630
|
config: {
|
|
619
631
|
type: "dumbbell",
|
|
@@ -634,7 +646,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
634
646
|
legendSet: de.value,
|
|
635
647
|
config: Xe.value
|
|
636
648
|
}, {
|
|
637
|
-
item:
|
|
649
|
+
item: k(({ legend: t }) => [
|
|
638
650
|
i("div", {
|
|
639
651
|
style: F(`display:flex;align-items:center;gap:4px;font-size:${e.value.style.chart.legend.fontSize}px`)
|
|
640
652
|
}, [
|
|
@@ -649,13 +661,13 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
649
661
|
cy: 10,
|
|
650
662
|
r: 9,
|
|
651
663
|
fill: t.color
|
|
652
|
-
}, null, 8,
|
|
653
|
-
], 8,
|
|
664
|
+
}, null, 8, Wt)
|
|
665
|
+
], 8, Ht)),
|
|
654
666
|
ge(" " + A(t.name), 1)
|
|
655
667
|
], 4)
|
|
656
668
|
]),
|
|
657
669
|
_: 1
|
|
658
|
-
}, 8, ["legendSet", "config"])) :
|
|
670
|
+
}, 8, ["legendSet", "config"])) : _(l.$slots, "legend", {
|
|
659
671
|
key: 1,
|
|
660
672
|
legend: de.value
|
|
661
673
|
}, void 0, !0)
|
|
@@ -666,8 +678,8 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
666
678
|
ref: Z,
|
|
667
679
|
dir: "auto"
|
|
668
680
|
}, [
|
|
669
|
-
|
|
670
|
-
], 512)) :
|
|
681
|
+
_(l.$slots, "source", {}, void 0, !0)
|
|
682
|
+
], 512)) : h("", !0),
|
|
671
683
|
S.value ? (o(), L(Qe, {
|
|
672
684
|
key: 8,
|
|
673
685
|
hideDetails: "",
|
|
@@ -684,7 +696,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
684
696
|
}
|
|
685
697
|
}
|
|
686
698
|
}, {
|
|
687
|
-
content:
|
|
699
|
+
content: k(() => [
|
|
688
700
|
(o(), L(Ze, {
|
|
689
701
|
key: `table_${Q.value}`,
|
|
690
702
|
colNames: M.value.colNames,
|
|
@@ -694,23 +706,23 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = { key: 0 }, nt = ["x1", "x2",
|
|
|
694
706
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
695
707
|
onClose: n[0] || (n[0] = (t) => O.value.showTable = !1)
|
|
696
708
|
}, {
|
|
697
|
-
th:
|
|
709
|
+
th: k(({ th: t }) => [
|
|
698
710
|
i("div", {
|
|
699
711
|
innerHTML: t,
|
|
700
712
|
style: { display: "flex", "align-items": "center" }
|
|
701
|
-
}, null, 8,
|
|
713
|
+
}, null, 8, Ut)
|
|
702
714
|
]),
|
|
703
|
-
td:
|
|
715
|
+
td: k(({ td: t }) => [
|
|
704
716
|
ge(A(t.name || t), 1)
|
|
705
717
|
]),
|
|
706
718
|
_: 1
|
|
707
719
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
708
720
|
]),
|
|
709
721
|
_: 1
|
|
710
|
-
}, 8, ["config"])) :
|
|
722
|
+
}, 8, ["config"])) : h("", !0)
|
|
711
723
|
], 46, st));
|
|
712
724
|
}
|
|
713
|
-
},
|
|
725
|
+
}, nl = /* @__PURE__ */ at(Rt, [["__scopeId", "data-v-2f5ef017"]]);
|
|
714
726
|
export {
|
|
715
|
-
|
|
727
|
+
nl as default
|
|
716
728
|
};
|