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,19 +1,20 @@
|
|
|
1
|
-
import { useCssVars as _e, computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as be } from "./useNestedProp-
|
|
4
|
-
import { u as Re, U as
|
|
5
|
-
import { _ as He } from "./Title-
|
|
6
|
-
import { P as Xe } from "./PenAndPaper-
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { t as
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
|
|
1
|
+
import { useCssVars as _e, computed as v, onMounted as Le, ref as c, watch as Te, openBlock as s, createElementBlock as u, normalizeClass as T, normalizeStyle as x, unref as r, createBlock as A, createCommentVNode as f, createSlots as Ae, withCtx as k, renderSlot as y, normalizeProps as H, guardReactiveProps as X, createVNode as Ne, createElementVNode as C, mergeProps as Y, Fragment as M, renderList as V, toDisplayString as B, createTextVNode as Oe, nextTick as ze } from "vue";
|
|
2
|
+
import { u as Se, o as Pe, e as fe, g as Fe, c as De, d as Ie, l as Me, i as U, f as E, X as Ve, G as Be, t as Ue, q as Ee, r as Ge, F as q } from "./index-B9RAElpI.js";
|
|
3
|
+
import { u as be } from "./useNestedProp-DuruL3Nt.js";
|
|
4
|
+
import { u as Re, U as je } from "./usePrinter-CwTAwqtF.js";
|
|
5
|
+
import { _ as He } from "./Title-zZtEcB9F.js";
|
|
6
|
+
import { P as Xe } from "./PenAndPaper-Dx24BtRW.js";
|
|
7
|
+
import { D as Ye } from "./DataTable-CFUKU8PU.js";
|
|
8
|
+
import qe from "./vue-ui-accordion-rNA598L6.js";
|
|
9
|
+
import { t as We, u as Je } from "./useResponsive-CoxXLe23.js";
|
|
10
|
+
import Ke from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
11
|
+
import { u as Qe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
|
+
import { _ as Ze } from "./PackageVersion-C_FFs0BP.js";
|
|
13
|
+
import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["id"], ot = ["stop-color"], nt = ["stop-color"], rt = ["stop-color"], ut = ["stroke", "stroke-width"], it = ["stroke", "stroke-width"], ct = ["x", "y", "font-size", "fill", "font-weight"], vt = ["points", "fill"], dt = ["stroke", "stroke-width", "rx"], ht = ["x", "y", "font-size", "fill", "font-weight"], ft = ["x", "y", "font-size", "fill", "font-weight"], bt = {
|
|
14
15
|
key: 5,
|
|
15
16
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
17
|
+
}, mt = ["innerHTML"], yt = {
|
|
17
18
|
__name: "vue-ui-funnel",
|
|
18
19
|
props: {
|
|
19
20
|
config: {
|
|
@@ -31,183 +32,183 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
|
|
|
31
32
|
},
|
|
32
33
|
setup(me, { expose: ye }) {
|
|
33
34
|
const m = me;
|
|
34
|
-
_e((
|
|
35
|
-
"
|
|
35
|
+
_e((t) => ({
|
|
36
|
+
"427f8ea6": $e.value
|
|
36
37
|
}));
|
|
37
|
-
const { vue_ui_funnel: ge } =
|
|
38
|
+
const { vue_ui_funnel: ge } = Se(), _ = v(() => !!m.dataset && m.dataset.length);
|
|
38
39
|
Le(W);
|
|
39
40
|
function W() {
|
|
40
|
-
if (
|
|
41
|
+
if (Pe(m.dataset) ? fe({
|
|
41
42
|
componentName: "VueUiFunnel",
|
|
42
43
|
type: "dataset"
|
|
43
|
-
}) : m.dataset.forEach((
|
|
44
|
-
|
|
45
|
-
datasetObject:
|
|
44
|
+
}) : m.dataset.forEach((t, l) => {
|
|
45
|
+
Fe({
|
|
46
|
+
datasetObject: t,
|
|
46
47
|
requiredAttributes: ["name", "value"]
|
|
47
|
-
}).forEach((
|
|
48
|
+
}).forEach((a) => {
|
|
48
49
|
_.value = !1, fe({
|
|
49
50
|
componentName: "VueUiFunnel",
|
|
50
51
|
type: "datasetSerieAttribute",
|
|
51
|
-
property:
|
|
52
|
+
property: a,
|
|
52
53
|
index: l
|
|
53
54
|
});
|
|
54
55
|
});
|
|
55
56
|
}), e.value.responsive) {
|
|
56
|
-
const
|
|
57
|
-
const { width: l, height:
|
|
57
|
+
const t = We(() => {
|
|
58
|
+
const { width: l, height: a } = Je({
|
|
58
59
|
chart: N.value,
|
|
59
60
|
title: e.value.style.chart.title.text ? te.value : null,
|
|
60
61
|
source: ee.value,
|
|
61
62
|
noTitle: Z.value
|
|
62
63
|
});
|
|
63
|
-
|
|
64
|
-
relator: Math.min(l,
|
|
64
|
+
i.value.height = a, i.value.width = l, p.value = ce(), d.value.circles = q({
|
|
65
|
+
relator: Math.min(l, a),
|
|
65
66
|
adjuster: 600,
|
|
66
67
|
source: e.value.style.chart.circles.dataLabels.fontSize,
|
|
67
68
|
threshold: 10,
|
|
68
69
|
fallback: 10
|
|
69
|
-
}),
|
|
70
|
-
relator: Math.min(l,
|
|
70
|
+
}), d.value.names = q({
|
|
71
|
+
relator: Math.min(l, a),
|
|
71
72
|
adjuster: 600,
|
|
72
73
|
source: e.value.style.chart.bars.dataLabels.name.fontSize,
|
|
73
74
|
threshold: 10,
|
|
74
75
|
fallback: 10
|
|
75
|
-
}),
|
|
76
|
-
relator: Math.min(l,
|
|
76
|
+
}), d.value.values = q({
|
|
77
|
+
relator: Math.min(l, a),
|
|
77
78
|
adjuster: 600,
|
|
78
79
|
source: e.value.style.chart.bars.dataLabels.value.fontSize,
|
|
79
80
|
threshold: 10,
|
|
80
81
|
fallback: 10
|
|
81
82
|
});
|
|
82
83
|
});
|
|
83
|
-
ae.value = new ResizeObserver(
|
|
84
|
+
ae.value = new ResizeObserver(t), ae.value.observe(N.value.parentNode);
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
|
-
const N =
|
|
87
|
+
const N = c(null), O = c(De()), J = c(0), K = c(0), Q = c(0), Z = c(null), ee = c(null), te = c(null), ae = c(null), w = c(!1);
|
|
87
88
|
function le() {
|
|
88
|
-
const
|
|
89
|
+
const t = be({
|
|
89
90
|
userConfig: m.config,
|
|
90
91
|
defaultConfig: ge
|
|
91
92
|
});
|
|
92
|
-
return
|
|
93
|
+
return t.theme ? {
|
|
93
94
|
...be({
|
|
94
|
-
userConfig: Ue.vue_ui_funnel[
|
|
95
|
-
defaultConfig:
|
|
95
|
+
userConfig: Ue.vue_ui_funnel[t.theme] || m.config,
|
|
96
|
+
defaultConfig: t
|
|
96
97
|
})
|
|
97
|
-
} :
|
|
98
|
+
} : t;
|
|
98
99
|
}
|
|
99
|
-
const e =
|
|
100
|
+
const e = v({
|
|
100
101
|
get: () => le(),
|
|
101
|
-
set: (
|
|
102
|
-
}), { userOptionsVisible:
|
|
103
|
-
Te(() => m.config, (
|
|
104
|
-
e.value = le(),
|
|
102
|
+
set: (t) => t
|
|
103
|
+
}), { userOptionsVisible: G, setUserOptionsVisibility: se, keepUserOptionState: oe } = Qe({ config: e.value });
|
|
104
|
+
Te(() => m.config, (t) => {
|
|
105
|
+
e.value = le(), G.value = !e.value.showOnChartHover, W(), K.value += 1, Q.value += 1, d.value.circles = e.value.style.chart.circles.dataLabels.fontSize, d.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, d.value.values = e.value.style.chart.bars.dataLabels.value.fontSize;
|
|
105
106
|
}, { deep: !0 });
|
|
106
107
|
const { isPrinting: ne, isImaging: re, generatePdf: ue, generateImage: ie } = Re({
|
|
107
|
-
elementId: `funnel_${
|
|
108
|
+
elementId: `funnel_${O.value}`,
|
|
108
109
|
fileName: e.value.style.chart.title.text || "vue-ui-funnel"
|
|
109
|
-
}), pe =
|
|
110
|
+
}), pe = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = c({
|
|
110
111
|
showTable: e.value.table.show
|
|
111
|
-
}),
|
|
112
|
+
}), d = c({
|
|
112
113
|
circles: e.value.style.chart.circles.dataLabels.fontSize,
|
|
113
114
|
names: e.value.style.chart.bars.dataLabels.name.fontSize,
|
|
114
115
|
values: e.value.style.chart.bars.dataLabels.value.fontSize
|
|
115
|
-
}),
|
|
116
|
+
}), i = v({
|
|
116
117
|
get: () => ({
|
|
117
118
|
height: e.value.style.chart.height,
|
|
118
119
|
width: e.value.style.chart.width
|
|
119
120
|
}),
|
|
120
|
-
set: (
|
|
121
|
-
}),
|
|
122
|
-
...
|
|
123
|
-
color:
|
|
121
|
+
set: (t) => t
|
|
122
|
+
}), g = v(() => _.value ? m.dataset.map((t, l) => ({
|
|
123
|
+
...t,
|
|
124
|
+
color: t.color ? Ie(t.color) : Me(e.value.style.chart.bars.defaultColor, l / m.dataset.length)
|
|
124
125
|
})) : []);
|
|
125
126
|
setTimeout(() => {
|
|
126
127
|
w.value = !0;
|
|
127
|
-
},
|
|
128
|
+
}, g.value.length * 150);
|
|
128
129
|
function ce() {
|
|
129
|
-
const
|
|
130
|
+
const t = e.value.style.chart.padding.left, l = e.value.style.chart.padding.top;
|
|
130
131
|
return {
|
|
131
|
-
left:
|
|
132
|
+
left: t,
|
|
132
133
|
top: l,
|
|
133
|
-
right:
|
|
134
|
-
bottom:
|
|
135
|
-
width:
|
|
136
|
-
height:
|
|
134
|
+
right: i.value.width - e.value.style.chart.padding.right,
|
|
135
|
+
bottom: i.value.height - e.value.style.chart.padding.bottom,
|
|
136
|
+
width: i.value.width - t - e.value.style.chart.padding.right,
|
|
137
|
+
height: i.value.height - l - e.value.style.chart.padding.bottom
|
|
137
138
|
};
|
|
138
139
|
}
|
|
139
|
-
const
|
|
140
|
-
const
|
|
140
|
+
const p = c(ce()), L = v(() => p.value.height / m.dataset.length), $ = v(() => L.value * e.value.style.chart.bars.gapRatio), ve = v(() => p.value.width * e.value.style.chart.barCircleSpacingRatio), o = v(() => g.value.map((t, l) => {
|
|
141
|
+
const a = L.value - $.value, n = p.value.top + $.value / 2 * l + (L.value - $.value / 2) * l + $.value / 2, b = t.value / g.value[0].value, h = (p.value.width - a - ve.value) * (t.value / g.value[0].value);
|
|
141
142
|
return {
|
|
142
|
-
...
|
|
143
|
-
cx:
|
|
144
|
-
cy: n +
|
|
143
|
+
...t,
|
|
144
|
+
cx: p.value.left + a / 2,
|
|
145
|
+
cy: n + a / 2,
|
|
145
146
|
datapointIndex: l,
|
|
146
|
-
fill:
|
|
147
|
-
height: Math.max(
|
|
148
|
-
proportion:
|
|
149
|
-
r: Math.max(
|
|
150
|
-
width: Math.max(
|
|
151
|
-
x:
|
|
147
|
+
fill: t.color,
|
|
148
|
+
height: Math.max(a, 0),
|
|
149
|
+
proportion: b,
|
|
150
|
+
r: Math.max(a / 2, 0),
|
|
151
|
+
width: Math.max(h, 0),
|
|
152
|
+
x: p.value.left + a + ve.value,
|
|
152
153
|
y: n
|
|
153
154
|
};
|
|
154
|
-
})), ke =
|
|
155
|
-
const
|
|
156
|
-
return `${o.value[0].x},${o.value[0].y + (L.value -
|
|
157
|
-
}), Ce =
|
|
155
|
+
})), ke = v(() => {
|
|
156
|
+
const t = o.value.map((l) => `${l.x + l.width},${l.y + (L.value - $.value) / 2}`);
|
|
157
|
+
return `${o.value[0].x},${o.value[0].y + (L.value - $.value) / 2} ${t.toString()} ${o.value.at(-1).x},${o.value.at(-1).y + (L.value - $.value) / 2}`;
|
|
158
|
+
}), Ce = v(() => ({
|
|
158
159
|
x1: o.value[0].cx,
|
|
159
160
|
y1: o.value[0].cy,
|
|
160
161
|
x2: o.value.at(-1).cx,
|
|
161
162
|
y2: o.value.at(-1).cy
|
|
162
|
-
})),
|
|
163
|
-
function we(
|
|
164
|
-
|
|
163
|
+
})), z = c(!1);
|
|
164
|
+
function we(t) {
|
|
165
|
+
z.value = t, J.value += 1;
|
|
165
166
|
}
|
|
166
|
-
const
|
|
167
|
-
function
|
|
167
|
+
const $e = v(() => `${g.value.length * 150}ms`), D = c(!1);
|
|
168
|
+
function R() {
|
|
168
169
|
D.value = !D.value;
|
|
169
170
|
}
|
|
170
171
|
function de() {
|
|
171
172
|
F.value.showTable = !F.value.showTable;
|
|
172
173
|
}
|
|
173
|
-
const S =
|
|
174
|
-
const
|
|
175
|
-
name:
|
|
176
|
-
color:
|
|
177
|
-
})), l =
|
|
178
|
-
return { head:
|
|
179
|
-
}), I =
|
|
180
|
-
const
|
|
174
|
+
const S = v(() => {
|
|
175
|
+
const t = g.value.map((a) => ({
|
|
176
|
+
name: a.name,
|
|
177
|
+
color: a.color
|
|
178
|
+
})), l = g.value.map((a) => a.value);
|
|
179
|
+
return { head: t, body: l };
|
|
180
|
+
}), I = v(() => {
|
|
181
|
+
const t = [
|
|
181
182
|
e.value.table.columnNames.series,
|
|
182
183
|
e.value.table.columnNames.value,
|
|
183
184
|
e.value.table.columnNames.percentage
|
|
184
|
-
], l = S.value.head.map((
|
|
185
|
-
const P =
|
|
185
|
+
], l = S.value.head.map((b, h) => {
|
|
186
|
+
const P = U(
|
|
186
187
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
187
|
-
S.value.body[
|
|
188
|
-
|
|
188
|
+
S.value.body[h],
|
|
189
|
+
E({
|
|
189
190
|
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
190
|
-
v: S.value.body[
|
|
191
|
+
v: S.value.body[h],
|
|
191
192
|
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
192
193
|
r: e.value.table.td.roundingValue
|
|
193
194
|
}),
|
|
194
|
-
{ datapoint: o.value[
|
|
195
|
-
),
|
|
195
|
+
{ datapoint: o.value[h] }
|
|
196
|
+
), j = U(
|
|
196
197
|
e.value.style.chart.circles.dataLabels.formatter,
|
|
197
|
-
o.value[
|
|
198
|
-
|
|
199
|
-
v: o.value[
|
|
198
|
+
o.value[h].proportion * 100,
|
|
199
|
+
E({
|
|
200
|
+
v: o.value[h].proportion * 100,
|
|
200
201
|
s: "%",
|
|
201
202
|
r: e.value.table.td.roundingPercentage
|
|
202
203
|
}),
|
|
203
|
-
{ datapoint: o.value[
|
|
204
|
+
{ datapoint: o.value[h] }
|
|
204
205
|
);
|
|
205
206
|
return [
|
|
206
|
-
{ color:
|
|
207
|
+
{ color: b.color, name: b.name },
|
|
207
208
|
P,
|
|
208
|
-
|
|
209
|
+
j
|
|
209
210
|
];
|
|
210
|
-
}),
|
|
211
|
+
}), a = {
|
|
211
212
|
th: {
|
|
212
213
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
213
214
|
color: e.value.table.th.color,
|
|
@@ -226,35 +227,35 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
|
|
|
226
227
|
e.value.table.columnNames.value,
|
|
227
228
|
e.value.table.columnNames.percentage
|
|
228
229
|
],
|
|
229
|
-
head:
|
|
230
|
+
head: t,
|
|
230
231
|
body: l,
|
|
231
|
-
config:
|
|
232
|
+
config: a
|
|
232
233
|
};
|
|
233
234
|
});
|
|
234
235
|
function he() {
|
|
235
236
|
ze(() => {
|
|
236
|
-
const
|
|
237
|
+
const t = S.value.head.map((n, b) => [[
|
|
237
238
|
n.name
|
|
238
|
-
], [S.value.body[
|
|
239
|
-
Ge({ csvContent:
|
|
239
|
+
], [S.value.body[b]], [o.value[b].proportion * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(t), a = Ee(l);
|
|
240
|
+
Ge({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-funnel" });
|
|
240
241
|
});
|
|
241
242
|
}
|
|
242
|
-
function
|
|
243
|
-
return
|
|
243
|
+
function xe() {
|
|
244
|
+
return g.value;
|
|
244
245
|
}
|
|
245
246
|
return ye({
|
|
246
|
-
getData:
|
|
247
|
+
getData: xe,
|
|
247
248
|
generatePdf: ue,
|
|
248
249
|
generateCsv: he,
|
|
249
250
|
generateImage: ie,
|
|
250
251
|
toggleTable: de,
|
|
251
|
-
toggleAnnotator:
|
|
252
|
-
}), (
|
|
252
|
+
toggleAnnotator: R
|
|
253
|
+
}), (t, l) => (s(), u("div", {
|
|
253
254
|
ref_key: "funnelChart",
|
|
254
255
|
ref: N,
|
|
255
|
-
class: T(`vue-ui-funnel ${
|
|
256
|
-
style:
|
|
257
|
-
id: `funnel_${
|
|
256
|
+
class: T(`vue-ui-funnel ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
257
|
+
style: x(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
258
|
+
id: `funnel_${O.value}`,
|
|
258
259
|
onMouseenter: l[1] || (l[1] = () => r(se)(!0)),
|
|
259
260
|
onMouseleave: l[2] || (l[2] = () => r(se)(!1))
|
|
260
261
|
}, [
|
|
@@ -264,15 +265,15 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
|
|
|
264
265
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
265
266
|
color: e.value.style.chart.color,
|
|
266
267
|
active: D.value,
|
|
267
|
-
onClose:
|
|
268
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
268
|
+
onClose: R
|
|
269
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
269
270
|
pe.value ? (s(), u("div", {
|
|
270
271
|
key: 1,
|
|
271
272
|
ref_key: "noTitle",
|
|
272
273
|
ref: Z,
|
|
273
274
|
class: "vue-data-ui-no-title-space",
|
|
274
275
|
style: "height:36px; width: 100%;background:transparent"
|
|
275
|
-
}, null, 512)) :
|
|
276
|
+
}, null, 512)) : f("", !0),
|
|
276
277
|
e.value.style.chart.title.text ? (s(), u("div", {
|
|
277
278
|
key: 2,
|
|
278
279
|
ref_key: "chartTitle",
|
|
@@ -292,15 +293,15 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
|
|
|
292
293
|
}
|
|
293
294
|
}
|
|
294
295
|
}, null, 8, ["config"]))
|
|
295
|
-
], 512)) :
|
|
296
|
-
e.value.userOptions.show && _.value && (r(oe) || r(
|
|
296
|
+
], 512)) : f("", !0),
|
|
297
|
+
e.value.userOptions.show && _.value && (r(oe) || r(G)) ? (s(), A(je, {
|
|
297
298
|
ref: "details",
|
|
298
299
|
key: `user_option_${J.value}`,
|
|
299
300
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
300
301
|
color: e.value.style.chart.color,
|
|
301
302
|
isPrinting: r(ne),
|
|
302
303
|
isImaging: r(re),
|
|
303
|
-
uid:
|
|
304
|
+
uid: O.value,
|
|
304
305
|
hasTooltip: !1,
|
|
305
306
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
306
307
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -308,75 +309,88 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
|
|
|
308
309
|
hasTable: e.value.userOptions.buttons.table,
|
|
309
310
|
hasLabel: !1,
|
|
310
311
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
311
|
-
isFullscreen:
|
|
312
|
+
isFullscreen: z.value,
|
|
312
313
|
chartElement: N.value,
|
|
313
314
|
position: e.value.userOptions.position,
|
|
314
315
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
315
316
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
316
317
|
isAnnotation: D.value,
|
|
317
|
-
onToggleAnnotator:
|
|
318
|
+
onToggleAnnotator: R,
|
|
318
319
|
onToggleFullscreen: we,
|
|
319
320
|
onGeneratePdf: r(ue),
|
|
320
321
|
onGenerateImage: r(ie),
|
|
321
322
|
onToggleTable: de,
|
|
322
323
|
onGenerateCsv: he,
|
|
323
|
-
style:
|
|
324
|
-
visibility: r(oe) ? r(
|
|
324
|
+
style: x({
|
|
325
|
+
visibility: r(oe) ? r(G) ? "visible" : "hidden" : "visible"
|
|
325
326
|
})
|
|
326
327
|
}, Ae({ _: 2 }, [
|
|
327
|
-
|
|
328
|
+
t.$slots.optionPdf ? {
|
|
328
329
|
name: "optionPdf",
|
|
329
|
-
fn:
|
|
330
|
-
|
|
330
|
+
fn: k(() => [
|
|
331
|
+
y(t.$slots, "optionPdf", {}, void 0, !0)
|
|
331
332
|
]),
|
|
332
333
|
key: "0"
|
|
333
334
|
} : void 0,
|
|
334
|
-
|
|
335
|
+
t.$slots.optionCsv ? {
|
|
335
336
|
name: "optionCsv",
|
|
336
|
-
fn:
|
|
337
|
-
|
|
337
|
+
fn: k(() => [
|
|
338
|
+
y(t.$slots, "optionCsv", {}, void 0, !0)
|
|
338
339
|
]),
|
|
339
340
|
key: "1"
|
|
340
341
|
} : void 0,
|
|
341
|
-
|
|
342
|
+
t.$slots.optionImg ? {
|
|
342
343
|
name: "optionImg",
|
|
343
|
-
fn:
|
|
344
|
-
|
|
344
|
+
fn: k(() => [
|
|
345
|
+
y(t.$slots, "optionImg", {}, void 0, !0)
|
|
345
346
|
]),
|
|
346
347
|
key: "2"
|
|
347
348
|
} : void 0,
|
|
348
|
-
|
|
349
|
+
t.$slots.optionTable ? {
|
|
349
350
|
name: "optionTable",
|
|
350
|
-
fn:
|
|
351
|
-
|
|
351
|
+
fn: k(() => [
|
|
352
|
+
y(t.$slots, "optionTable", {}, void 0, !0)
|
|
352
353
|
]),
|
|
353
354
|
key: "3"
|
|
354
355
|
} : void 0,
|
|
355
|
-
|
|
356
|
+
t.$slots.optionFullscreen ? {
|
|
356
357
|
name: "optionFullscreen",
|
|
357
|
-
fn:
|
|
358
|
-
|
|
358
|
+
fn: k(({ toggleFullscreen: a, isFullscreen: n }) => [
|
|
359
|
+
y(t.$slots, "optionFullscreen", H(X({ toggleFullscreen: a, isFullscreen: n })), void 0, !0)
|
|
359
360
|
]),
|
|
360
361
|
key: "4"
|
|
361
362
|
} : void 0,
|
|
362
|
-
|
|
363
|
+
t.$slots.optionAnnotator ? {
|
|
363
364
|
name: "optionAnnotator",
|
|
364
|
-
fn:
|
|
365
|
-
|
|
365
|
+
fn: k(({ toggleAnnotator: a, isAnnotator: n }) => [
|
|
366
|
+
y(t.$slots, "optionAnnotator", H(X({ toggleAnnotator: a, isAnnotator: n })), void 0, !0)
|
|
366
367
|
]),
|
|
367
368
|
key: "5"
|
|
368
369
|
} : void 0
|
|
369
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
370
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
370
371
|
_.value ? (s(), u("svg", {
|
|
371
372
|
key: 4,
|
|
372
|
-
xmlns: r(
|
|
373
|
-
class: T({ "vue-data-ui-fullscreen--on":
|
|
374
|
-
viewBox: `0 0 ${
|
|
375
|
-
style:
|
|
373
|
+
xmlns: r(Ve),
|
|
374
|
+
class: T({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
|
|
375
|
+
viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
|
|
376
|
+
style: x(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
376
377
|
}, [
|
|
378
|
+
Ne(Ze),
|
|
379
|
+
t.$slots["chart-background"] ? (s(), u("foreignObject", {
|
|
380
|
+
key: 0,
|
|
381
|
+
x: 0,
|
|
382
|
+
y: 0,
|
|
383
|
+
width: i.value.width <= 0 ? 10 : i.value.width,
|
|
384
|
+
height: i.value.height <= 0 ? 10 : i.value.height,
|
|
385
|
+
style: {
|
|
386
|
+
pointerEvents: "none"
|
|
387
|
+
}
|
|
388
|
+
}, [
|
|
389
|
+
y(t.$slots, "chart-background", {}, void 0, !0)
|
|
390
|
+
], 8, lt)) : f("", !0),
|
|
377
391
|
C("defs", null, [
|
|
378
392
|
C("linearGradient", {
|
|
379
|
-
id: `funnel_area_${
|
|
393
|
+
id: `funnel_area_${O.value}`,
|
|
380
394
|
x1: "0%",
|
|
381
395
|
x2: "100%",
|
|
382
396
|
y1: "0%",
|
|
@@ -386,18 +400,18 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
|
|
|
386
400
|
offset: "0%",
|
|
387
401
|
"stop-color": e.value.style.chart.backgroundColor,
|
|
388
402
|
"stop-opacity": 0
|
|
389
|
-
}, null, 8,
|
|
403
|
+
}, null, 8, ot),
|
|
390
404
|
C("stop", {
|
|
391
405
|
offset: "20%",
|
|
392
406
|
"stop-color": e.value.style.chart.area.color
|
|
393
|
-
}, null, 8,
|
|
407
|
+
}, null, 8, nt),
|
|
394
408
|
C("stop", {
|
|
395
409
|
offset: "100%",
|
|
396
410
|
"stop-color": e.value.style.chart.area.color
|
|
397
|
-
}, null, 8,
|
|
398
|
-
], 8,
|
|
411
|
+
}, null, 8, rt)
|
|
412
|
+
], 8, st)
|
|
399
413
|
]),
|
|
400
|
-
e.value.style.chart.circleLinks.show ? (s(), u("line", Y({ key:
|
|
414
|
+
e.value.style.chart.circleLinks.show ? (s(), u("line", Y({ key: 1 }, Ce.value, {
|
|
401
415
|
stroke: e.value.style.chart.circleLinks.color,
|
|
402
416
|
"stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
|
|
403
417
|
"stroke-linecap": "round",
|
|
@@ -405,11 +419,11 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
|
|
|
405
419
|
animated: e.value.useCssAnimation
|
|
406
420
|
},
|
|
407
421
|
style: {
|
|
408
|
-
strokeDasharray: e.value.useCssAnimation ?
|
|
409
|
-
strokeDashoffset: e.value.useCssAnimation ?
|
|
422
|
+
strokeDasharray: e.value.useCssAnimation ? p.value.height : 0,
|
|
423
|
+
strokeDashoffset: e.value.useCssAnimation ? p.value.height : 0
|
|
410
424
|
}
|
|
411
|
-
}), null, 16,
|
|
412
|
-
(s(!0), u(M, null,
|
|
425
|
+
}), null, 16, ut)) : f("", !0),
|
|
426
|
+
(s(!0), u(M, null, V(o.value, ({ cx: a, cy: n, r: b, fill: h }, P) => (s(), u("circle", Y({ cx: a, cy: n, r: b, fill: h }, {
|
|
413
427
|
stroke: e.value.style.chart.circles.stroke,
|
|
414
428
|
"stroke-width": e.value.style.chart.circles.strokeWidth,
|
|
415
429
|
class: {
|
|
@@ -418,42 +432,42 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
|
|
|
418
432
|
style: {
|
|
419
433
|
animationDelay: `${150 * P}ms`
|
|
420
434
|
}
|
|
421
|
-
}), null, 16,
|
|
422
|
-
(s(!0), u(M, null,
|
|
423
|
-
x:
|
|
424
|
-
y:
|
|
435
|
+
}), null, 16, it))), 256)),
|
|
436
|
+
(s(!0), u(M, null, V(o.value, (a, n) => (s(), u("text", {
|
|
437
|
+
x: a.cx,
|
|
438
|
+
y: a.cy + d.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
|
|
425
439
|
"text-anchor": "middle",
|
|
426
|
-
"font-size":
|
|
427
|
-
fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? r(Be)(
|
|
440
|
+
"font-size": d.value.circles,
|
|
441
|
+
fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? r(Be)(a.color) : e.value.style.chart.circles.dataLabels.color,
|
|
428
442
|
"font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
|
|
429
443
|
class: T({
|
|
430
444
|
animated: e.value.useCssAnimation && !w.value
|
|
431
445
|
}),
|
|
432
|
-
style:
|
|
446
|
+
style: x({
|
|
433
447
|
animationDelay: `${150 * n}ms`
|
|
434
448
|
})
|
|
435
|
-
},
|
|
449
|
+
}, B(r(U)(
|
|
436
450
|
e.value.style.chart.circles.dataLabels.formatter,
|
|
437
|
-
|
|
438
|
-
r(
|
|
439
|
-
v:
|
|
451
|
+
a.proportion * 100,
|
|
452
|
+
r(E)({
|
|
453
|
+
v: a.proportion * 100,
|
|
440
454
|
s: "%",
|
|
441
455
|
r: e.value.style.chart.circles.dataLabels.rounding
|
|
442
456
|
}),
|
|
443
|
-
{ datapoint:
|
|
444
|
-
)), 15,
|
|
457
|
+
{ datapoint: a }
|
|
458
|
+
)), 15, ct))), 256)),
|
|
445
459
|
e.value.style.chart.area.show ? (s(), u("polygon", {
|
|
446
|
-
key:
|
|
460
|
+
key: 2,
|
|
447
461
|
points: ke.value,
|
|
448
|
-
fill: `url(#funnel_area_${
|
|
462
|
+
fill: `url(#funnel_area_${O.value})`,
|
|
449
463
|
class: T({
|
|
450
464
|
animated: e.value.useCssAnimation && !w.value
|
|
451
465
|
}),
|
|
452
|
-
style:
|
|
453
|
-
transition: e.value.useCssAnimation ? `all ${150 *
|
|
466
|
+
style: x({
|
|
467
|
+
transition: e.value.useCssAnimation ? `all ${150 * g.value.length}ms ease-in` : "none"
|
|
454
468
|
})
|
|
455
|
-
}, null, 14,
|
|
456
|
-
(s(!0), u(M, null,
|
|
469
|
+
}, null, 14, vt)) : f("", !0),
|
|
470
|
+
(s(!0), u(M, null, V(o.value, ({ x: a, y: n, height: b, width: h, fill: P }, j) => (s(), u("rect", Y({ x: a, y: n, height: b, width: h, fill: P }, {
|
|
457
471
|
stroke: e.value.style.chart.bars.stroke,
|
|
458
472
|
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
459
473
|
rx: e.value.style.chart.bars.borderRadius,
|
|
@@ -461,55 +475,55 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
|
|
|
461
475
|
animated: e.value.useCssAnimation && !w.value
|
|
462
476
|
},
|
|
463
477
|
style: {
|
|
464
|
-
animationDelay: `${150 *
|
|
478
|
+
animationDelay: `${150 * j}ms`
|
|
465
479
|
}
|
|
466
|
-
}), null, 16,
|
|
467
|
-
(s(!0), u(M, null,
|
|
480
|
+
}), null, 16, dt))), 256)),
|
|
481
|
+
(s(!0), u(M, null, V(o.value, (a, n) => (s(), u("g", null, [
|
|
468
482
|
C("text", {
|
|
469
|
-
x:
|
|
470
|
-
y:
|
|
483
|
+
x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
|
|
484
|
+
y: a.cy - d.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
|
|
471
485
|
"text-anchor": "start",
|
|
472
|
-
"font-size":
|
|
486
|
+
"font-size": d.value.names,
|
|
473
487
|
fill: e.value.style.chart.bars.dataLabels.name.color,
|
|
474
488
|
"font-weight": e.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
|
|
475
489
|
class: T({
|
|
476
490
|
animated: e.value.useCssAnimation && !w.value
|
|
477
491
|
}),
|
|
478
|
-
style:
|
|
492
|
+
style: x({
|
|
479
493
|
animationDelay: `${150 * n}ms`
|
|
480
494
|
})
|
|
481
|
-
},
|
|
495
|
+
}, B(a.name), 15, ht),
|
|
482
496
|
C("text", {
|
|
483
|
-
x:
|
|
484
|
-
y:
|
|
497
|
+
x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
|
|
498
|
+
y: a.cy + d.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
|
|
485
499
|
"text-anchor": "start",
|
|
486
|
-
"font-size":
|
|
500
|
+
"font-size": d.value.values,
|
|
487
501
|
fill: e.value.style.chart.bars.dataLabels.value.color,
|
|
488
502
|
"font-weight": e.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
|
|
489
503
|
class: T({
|
|
490
504
|
animated: e.value.useCssAnimation && !w.value
|
|
491
505
|
}),
|
|
492
|
-
style:
|
|
506
|
+
style: x({
|
|
493
507
|
animationDelay: `${150 * n}ms`
|
|
494
508
|
})
|
|
495
|
-
},
|
|
509
|
+
}, B(r(U)(
|
|
496
510
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
497
|
-
|
|
498
|
-
r(
|
|
511
|
+
a.value,
|
|
512
|
+
r(E)({
|
|
499
513
|
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
500
|
-
v:
|
|
514
|
+
v: a.value,
|
|
501
515
|
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
502
516
|
r: e.value.style.chart.bars.dataLabels.value.rounding
|
|
503
517
|
}),
|
|
504
|
-
{ datapoint:
|
|
505
|
-
)), 15,
|
|
518
|
+
{ datapoint: a }
|
|
519
|
+
)), 15, ft)
|
|
506
520
|
]))), 256)),
|
|
507
|
-
|
|
508
|
-
], 14,
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
])) :
|
|
512
|
-
_.value ?
|
|
521
|
+
y(t.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
522
|
+
], 14, at)) : f("", !0),
|
|
523
|
+
t.$slots.watermark ? (s(), u("div", bt, [
|
|
524
|
+
y(t.$slots, "watermark", H(X({ isPrinting: r(ne) || r(re) })), void 0, !0)
|
|
525
|
+
])) : f("", !0),
|
|
526
|
+
_.value ? f("", !0) : (s(), A(Ke, {
|
|
513
527
|
key: 6,
|
|
514
528
|
config: {
|
|
515
529
|
type: "verticalBar",
|
|
@@ -524,15 +538,15 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
|
|
|
524
538
|
}
|
|
525
539
|
}
|
|
526
540
|
}, null, 8, ["config"])),
|
|
527
|
-
|
|
541
|
+
t.$slots.source ? (s(), u("div", {
|
|
528
542
|
key: 7,
|
|
529
543
|
ref_key: "source",
|
|
530
544
|
ref: ee,
|
|
531
545
|
dir: "auto"
|
|
532
546
|
}, [
|
|
533
|
-
|
|
534
|
-
], 512)) :
|
|
535
|
-
_.value ? (s(), A(
|
|
547
|
+
y(t.$slots, "source", {}, void 0, !0)
|
|
548
|
+
], 512)) : f("", !0),
|
|
549
|
+
_.value ? (s(), A(qe, {
|
|
536
550
|
key: 8,
|
|
537
551
|
hideDetails: "",
|
|
538
552
|
config: {
|
|
@@ -548,33 +562,33 @@ const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"],
|
|
|
548
562
|
}
|
|
549
563
|
}
|
|
550
564
|
}, {
|
|
551
|
-
content:
|
|
552
|
-
(s(), A(
|
|
565
|
+
content: k(() => [
|
|
566
|
+
(s(), A(Ye, {
|
|
553
567
|
key: `table_${Q.value}`,
|
|
554
568
|
colNames: I.value.colNames,
|
|
555
569
|
head: I.value.head,
|
|
556
570
|
body: I.value.body,
|
|
557
571
|
config: I.value.config,
|
|
558
572
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
559
|
-
onClose: l[0] || (l[0] = (
|
|
573
|
+
onClose: l[0] || (l[0] = (a) => F.value.showTable = !1)
|
|
560
574
|
}, {
|
|
561
|
-
th:
|
|
575
|
+
th: k(({ th: a }) => [
|
|
562
576
|
C("div", {
|
|
563
|
-
innerHTML:
|
|
577
|
+
innerHTML: a,
|
|
564
578
|
style: { display: "flex", "align-items": "center" }
|
|
565
|
-
}, null, 8,
|
|
579
|
+
}, null, 8, mt)
|
|
566
580
|
]),
|
|
567
|
-
td:
|
|
568
|
-
|
|
581
|
+
td: k(({ td: a }) => [
|
|
582
|
+
Oe(B(a.name ? a.name : a), 1)
|
|
569
583
|
]),
|
|
570
584
|
_: 1
|
|
571
585
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
572
586
|
]),
|
|
573
587
|
_: 1
|
|
574
|
-
}, 8, ["config"])) :
|
|
575
|
-
], 46,
|
|
588
|
+
}, 8, ["config"])) : f("", !0)
|
|
589
|
+
], 46, tt));
|
|
576
590
|
}
|
|
577
|
-
},
|
|
591
|
+
}, zt = /* @__PURE__ */ et(yt, [["__scopeId", "data-v-bf9e380b"]]);
|
|
578
592
|
export {
|
|
579
|
-
|
|
593
|
+
zt as default
|
|
580
594
|
};
|