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,31 +1,31 @@
|
|
|
1
|
-
import { computed as d, ref as c, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
const
|
|
1
|
+
import { useSlots as tt, onMounted as ze, computed as d, ref as c, watch as Ne, onBeforeUnmount as lt, openBlock as s, createElementBlock as n, normalizeClass as Be, normalizeStyle as X, unref as v, createBlock as z, createCommentVNode as y, createSlots as at, withCtx as b, renderSlot as g, normalizeProps as U, guardReactiveProps as G, createVNode as Ve, createElementVNode as k, Fragment as I, renderList as R, toDisplayString as S, createTextVNode as Me, nextTick as ot, pushScopeId as ut, popScopeId as st } from "vue";
|
|
2
|
+
import { u as rt, c as nt, t as it, a as ct, p as N, o as vt, e as re, g as dt, b as ht, i as W, f as x, X as pt, s as ft, w as yt, G as gt, L as bt, d as mt, x as wt, y as kt, q as xt, r as Ct } from "./index-B9RAElpI.js";
|
|
3
|
+
import { t as _t, u as $t } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as Tt } from "./Title-zZtEcB9F.js";
|
|
5
|
+
import { u as It, U as St } from "./usePrinter-CwTAwqtF.js";
|
|
6
|
+
import { _ as Pt } from "./Tooltip-DDJ2Wvjy.js";
|
|
7
|
+
import { D as Lt } from "./DataTable-CFUKU8PU.js";
|
|
8
|
+
import { L as Ot } from "./Legend-f52bnttJ.js";
|
|
9
|
+
import At from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
10
|
+
import Ft from "./vue-ui-accordion-rNA598L6.js";
|
|
11
|
+
import { u as De } from "./useNestedProp-DuruL3Nt.js";
|
|
12
|
+
import { _ as zt } from "./PackageVersion-C_FFs0BP.js";
|
|
13
|
+
import { P as Nt } from "./PenAndPaper-Dx24BtRW.js";
|
|
14
|
+
import { u as Bt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"], Rt = ["stop-color"], Wt = ["id"], jt = /* @__PURE__ */ Ue(() => /* @__PURE__ */ k("feGaussianBlur", {
|
|
17
17
|
in: "SourceGraphic",
|
|
18
18
|
stdDeviation: 2
|
|
19
|
-
}, null, -1)),
|
|
19
|
+
}, null, -1)), Et = /* @__PURE__ */ Ue(() => /* @__PURE__ */ k("feColorMatrix", {
|
|
20
20
|
type: "saturate",
|
|
21
21
|
values: "0"
|
|
22
|
-
}, null, -1)),
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
],
|
|
22
|
+
}, null, -1)), qt = [
|
|
23
|
+
jt,
|
|
24
|
+
Et
|
|
25
|
+
], Ht = ["x", "y", "height", "width"], Xt = ["height", "width"], Yt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Jt = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Kt = ["x", "y", "height", "width", "filter"], Qt = { key: 0 }, Zt = { key: 1 }, el = { key: 2 }, tl = { key: 3 }, ll = ["onMouseover", "x", "y", "height", "width"], al = {
|
|
26
26
|
key: 5,
|
|
27
27
|
class: "vue-data-ui-watermark"
|
|
28
|
-
},
|
|
28
|
+
}, ol = ["onClick"], ul = { key: 0 }, sl = { key: 1 }, rl = ["innerHTML"], nl = {
|
|
29
29
|
__name: "vue-ui-waffle",
|
|
30
30
|
props: {
|
|
31
31
|
config: {
|
|
@@ -42,34 +42,38 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
emits: ["selectLegend"],
|
|
45
|
-
setup(
|
|
46
|
-
const m =
|
|
45
|
+
setup(j, { expose: Ge, emit: Re }) {
|
|
46
|
+
const m = j, { vue_ui_waffle: We } = rt(), je = tt();
|
|
47
|
+
ze(() => {
|
|
48
|
+
je["chart-background"] && console.warn("VueUiWaffle does not support the #chart-background slot.");
|
|
49
|
+
});
|
|
50
|
+
const Y = d(() => !!m.dataset && m.dataset.length), P = c(nt()), Ee = c(null), ee = c(!1), te = c(""), B = c(null), ne = c(0), V = c(null), ie = c(null), ce = c(null), ve = c(null), de = c(null), he = c(0), pe = c(0), fe = c(0), e = d({
|
|
47
51
|
get: () => be(),
|
|
48
52
|
set: (t) => t
|
|
49
|
-
}), { userOptionsVisible: le, setUserOptionsVisibility:
|
|
53
|
+
}), { userOptionsVisible: le, setUserOptionsVisibility: ye, keepUserOptionState: ge } = Bt({ config: e.value });
|
|
50
54
|
function be() {
|
|
51
|
-
const t =
|
|
55
|
+
const t = De({
|
|
52
56
|
userConfig: m.config,
|
|
53
|
-
defaultConfig:
|
|
57
|
+
defaultConfig: We
|
|
54
58
|
});
|
|
55
59
|
return t.theme ? {
|
|
56
|
-
...
|
|
57
|
-
userConfig:
|
|
60
|
+
...De({
|
|
61
|
+
userConfig: it.vue_ui_waffle[t.theme] || m.config,
|
|
58
62
|
defaultConfig: t
|
|
59
63
|
}),
|
|
60
|
-
customPalette:
|
|
64
|
+
customPalette: ct[t.theme] || N
|
|
61
65
|
} : t;
|
|
62
66
|
}
|
|
63
|
-
|
|
64
|
-
e.value = be(), le.value = !e.value.showOnChartHover, me(), he.value += 1, pe.value += 1,
|
|
67
|
+
Ne(() => m.config, (t) => {
|
|
68
|
+
e.value = be(), le.value = !e.value.showOnChartHover, me(), he.value += 1, pe.value += 1, fe.value += 1;
|
|
65
69
|
}, { deep: !0 });
|
|
66
70
|
const J = c(null);
|
|
67
71
|
function me() {
|
|
68
|
-
if (
|
|
72
|
+
if (vt(m.dataset) ? re({
|
|
69
73
|
componentName: "VueUiWaffle",
|
|
70
74
|
type: "dataset"
|
|
71
75
|
}) : m.dataset.forEach((t, a) => {
|
|
72
|
-
|
|
76
|
+
dt({
|
|
73
77
|
datasetObject: t,
|
|
74
78
|
requiredAttributes: ["name", "values"]
|
|
75
79
|
}).forEach((l) => {
|
|
@@ -81,8 +85,8 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
81
85
|
});
|
|
82
86
|
});
|
|
83
87
|
}), e.value.responsive) {
|
|
84
|
-
const t =
|
|
85
|
-
const { width: a, height: l } =
|
|
88
|
+
const t = _t(() => {
|
|
89
|
+
const { width: a, height: l } = $t({
|
|
86
90
|
chart: V.value,
|
|
87
91
|
title: e.value.style.chart.title.text ? ie.value : null,
|
|
88
92
|
legend: e.value.style.chart.legend.show ? ce.value : null,
|
|
@@ -94,15 +98,15 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
94
98
|
J.value = new ResizeObserver(t), J.value.observe(V.value.parentNode);
|
|
95
99
|
}
|
|
96
100
|
}
|
|
97
|
-
|
|
101
|
+
ze(() => {
|
|
98
102
|
me();
|
|
99
|
-
}),
|
|
103
|
+
}), lt(() => {
|
|
100
104
|
J.value && J.value.disconnect();
|
|
101
105
|
});
|
|
102
|
-
const { isPrinting: we, isImaging: ke, generatePdf: xe, generateImage: Ce } =
|
|
106
|
+
const { isPrinting: we, isImaging: ke, generatePdf: xe, generateImage: Ce } = It({
|
|
103
107
|
elementId: `vue-ui-waffle_${P.value}`,
|
|
104
108
|
fileName: e.value.style.chart.title.text || "vue-ui-waffle"
|
|
105
|
-
}),
|
|
109
|
+
}), qe = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), _e = d(() => ht(e.value.customPalette)), T = c({
|
|
106
110
|
showTable: e.value.table.show,
|
|
107
111
|
showTooltip: e.value.style.chart.tooltip.show
|
|
108
112
|
}), L = c({
|
|
@@ -113,32 +117,32 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
113
117
|
left: 0,
|
|
114
118
|
height: 512,
|
|
115
119
|
width: 512
|
|
116
|
-
}), O = d(() => (C.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), A = d(() => (C.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size),
|
|
120
|
+
}), O = d(() => (C.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), A = d(() => (C.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), E = d(() => C.value.width / e.value.style.chart.layout.grid.size), K = d(() => C.value.height / e.value.style.chart.layout.grid.size);
|
|
117
121
|
function $e(t) {
|
|
118
122
|
const a = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((w, se) => w + se, 0), o = t.map((w) => w / l * a), u = o.map(Math.floor), i = o.map((w) => w % 1);
|
|
119
|
-
let
|
|
120
|
-
for (;
|
|
123
|
+
let f = a - u.reduce((w, se) => w + se, 0);
|
|
124
|
+
for (; f > 0; ) {
|
|
121
125
|
let w = i.indexOf(Math.max(...i));
|
|
122
|
-
u[w] += 1, i[w] = 0,
|
|
126
|
+
u[w] += 1, i[w] = 0, f -= 1;
|
|
123
127
|
}
|
|
124
128
|
return u;
|
|
125
129
|
}
|
|
126
130
|
function Te() {
|
|
127
131
|
return m.dataset.map((t, a) => ({
|
|
128
132
|
...t,
|
|
129
|
-
color:
|
|
133
|
+
color: mt(t.color) || _e.value[a] || N[a] || N[a % N.length],
|
|
130
134
|
uid: `serie_${a}`,
|
|
131
135
|
absoluteIndex: a
|
|
132
136
|
}));
|
|
133
137
|
}
|
|
134
138
|
const Ie = d(() => Te()), h = c(Ie.value);
|
|
135
|
-
|
|
139
|
+
Ne(() => m.dataset, (t) => {
|
|
136
140
|
h.value = Te();
|
|
137
141
|
}, { deep: !0 });
|
|
138
|
-
const
|
|
142
|
+
const He = d(() => {
|
|
139
143
|
const t = h.value.filter((a, l) => !p.value.includes(a.uid)).map((a, l) => (a.values || []).reduce((o, u) => o + u, 0));
|
|
140
144
|
return $e(t);
|
|
141
|
-
}),
|
|
145
|
+
}), Xe = d(() => {
|
|
142
146
|
const t = h.value.map((a, l) => (a.values || []).reduce((o, u) => o + u));
|
|
143
147
|
return $e(t);
|
|
144
148
|
}), q = d(() => (m.dataset.forEach((t, a) => {
|
|
@@ -155,37 +159,37 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
155
159
|
color: t.color,
|
|
156
160
|
value: (t.values || []).reduce((l, o) => l + o, 0),
|
|
157
161
|
absoluteValues: t.values || [],
|
|
158
|
-
proportion:
|
|
159
|
-
})))),
|
|
162
|
+
proportion: He.value[a]
|
|
163
|
+
})))), Ye = d(() => h.value.map((t, a) => ({
|
|
160
164
|
absoluteIndex: t.absoluteIndex,
|
|
161
165
|
uid: t.uid,
|
|
162
166
|
name: t.name,
|
|
163
167
|
color: t.color,
|
|
164
168
|
value: (t.values || []).reduce((l, o) => l + o, 0),
|
|
165
169
|
absoluteValues: t.values || [],
|
|
166
|
-
proportion:
|
|
170
|
+
proportion: Xe.value[a]
|
|
167
171
|
})));
|
|
168
|
-
function
|
|
169
|
-
return
|
|
172
|
+
function Je() {
|
|
173
|
+
return Ye.value.map((t) => ({
|
|
170
174
|
name: t.name,
|
|
171
175
|
color: t.color,
|
|
172
176
|
value: t.value,
|
|
173
177
|
proportion: t.proportion
|
|
174
178
|
}));
|
|
175
179
|
}
|
|
176
|
-
const
|
|
180
|
+
const Ke = d(() => {
|
|
177
181
|
let t = 0;
|
|
178
182
|
return q.value.map((a, l) => {
|
|
179
183
|
const o = t, u = o + a.proportion, i = [];
|
|
180
|
-
for (let
|
|
181
|
-
i.push(
|
|
184
|
+
for (let f = Math.floor(o); f < Math.floor(u); f += 1)
|
|
185
|
+
i.push(f);
|
|
182
186
|
return t = u, {
|
|
183
187
|
...a,
|
|
184
188
|
start: o,
|
|
185
189
|
rects: i
|
|
186
190
|
};
|
|
187
191
|
});
|
|
188
|
-
}), r = d(() =>
|
|
192
|
+
}), r = d(() => Ke.value.flatMap((t, a) => t.rects.map((l, o) => ({
|
|
189
193
|
isFirst: o === 0,
|
|
190
194
|
isLongEnough: l.length > 2,
|
|
191
195
|
name: t.name,
|
|
@@ -219,20 +223,20 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
219
223
|
let o = l;
|
|
220
224
|
if (p.value.includes(t)) {
|
|
221
225
|
let i = function() {
|
|
222
|
-
o > u ? (cancelAnimationFrame(Se.value), h.value = h.value.map((
|
|
223
|
-
...
|
|
226
|
+
o > u ? (cancelAnimationFrame(Se.value), h.value = h.value.map((f, w) => f.uid === t ? {
|
|
227
|
+
...f,
|
|
224
228
|
values: [u]
|
|
225
|
-
} :
|
|
226
|
-
...
|
|
229
|
+
} : f), F.value = !1) : (F.value = !0, o += u * 0.025, h.value = h.value.map((f, w) => f.uid === t ? {
|
|
230
|
+
...f,
|
|
227
231
|
values: [o]
|
|
228
|
-
} :
|
|
232
|
+
} : f), Se.value = requestAnimationFrame(i));
|
|
229
233
|
};
|
|
230
|
-
p.value = p.value.filter((
|
|
234
|
+
p.value = p.value.filter((f) => f !== t);
|
|
231
235
|
const u = a;
|
|
232
236
|
i();
|
|
233
237
|
} else if (p.value.length < M.value.length - 1 && M.value.length > 1) {
|
|
234
238
|
let u = function() {
|
|
235
|
-
o < l / 100 ? (cancelAnimationFrame(Pe.value), p.value.push(t), h.value = h.value.map((i,
|
|
239
|
+
o < l / 100 ? (cancelAnimationFrame(Pe.value), p.value.push(t), h.value = h.value.map((i, f) => i.uid === t ? {
|
|
236
240
|
...i,
|
|
237
241
|
values: [0]
|
|
238
242
|
} : i), F.value = !1) : (F.value = !0, o /= 1.15, h.value = h.value.map((i) => i.uid === t ? {
|
|
@@ -242,7 +246,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
242
246
|
};
|
|
243
247
|
u();
|
|
244
248
|
}
|
|
245
|
-
|
|
249
|
+
Re("selectLegend", q.value.map((u) => ({
|
|
246
250
|
name: u.name,
|
|
247
251
|
color: u.color,
|
|
248
252
|
value: u.value,
|
|
@@ -261,7 +265,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
261
265
|
opacity: p.value.includes(t.uid) ? 0.5 : 1,
|
|
262
266
|
segregate: () => Le(t.uid),
|
|
263
267
|
isSegregated: p.value.includes(t.uid)
|
|
264
|
-
}))),
|
|
268
|
+
}))), Qe = d(() => ({
|
|
265
269
|
cy: "waffle-div-legend",
|
|
266
270
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
267
271
|
color: e.value.style.chart.legend.color,
|
|
@@ -269,7 +273,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
269
273
|
paddingBottom: 12,
|
|
270
274
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
271
275
|
})), _ = d(() => q.value.map((t) => t.value).reduce((t, a) => t + a, 0)), ae = c(null);
|
|
272
|
-
function
|
|
276
|
+
function Ze(t) {
|
|
273
277
|
if (p.value.length === m.dataset.length) return;
|
|
274
278
|
const a = r.value[t];
|
|
275
279
|
ae.value = {
|
|
@@ -279,7 +283,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
279
283
|
config: e.value
|
|
280
284
|
}, ee.value = !0, B.value = r.value[t].serieIndex;
|
|
281
285
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
282
|
-
if (
|
|
286
|
+
if (wt(l) && kt(() => l({
|
|
283
287
|
seriesIndex: r.value[t].absoluteIndex,
|
|
284
288
|
datapoint: a,
|
|
285
289
|
series: h.value,
|
|
@@ -293,7 +297,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
293
297
|
});
|
|
294
298
|
else {
|
|
295
299
|
let o = "";
|
|
296
|
-
if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" rx="1" fill="${a.color}" /></svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${
|
|
300
|
+
if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" rx="1" fill="${a.color}" /></svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${W(
|
|
297
301
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
298
302
|
a.value,
|
|
299
303
|
x({
|
|
@@ -329,17 +333,17 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
329
333
|
return e.value.useBlurOnHover && ![null, void 0].includes(B.value) && B.value !== t ? `url(#blur_${P.value})` : "";
|
|
330
334
|
}
|
|
331
335
|
function Oe() {
|
|
332
|
-
|
|
336
|
+
ot(() => {
|
|
333
337
|
const t = $.value.head.map((o, u) => [[
|
|
334
338
|
o.name
|
|
335
|
-
], [$.value.body[u]], [isNaN($.value.body[u] / _.value) ? "-" : $.value.body[u] / _.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l =
|
|
336
|
-
|
|
339
|
+
], [$.value.body[u]], [isNaN($.value.body[u] / _.value) ? "-" : $.value.body[u] / _.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = xt(a);
|
|
340
|
+
Ct({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
|
|
337
341
|
});
|
|
338
342
|
}
|
|
339
343
|
const Q = d(() => {
|
|
340
344
|
const t = [
|
|
341
345
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
342
|
-
|
|
346
|
+
W(
|
|
343
347
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
344
348
|
_.value,
|
|
345
349
|
x({
|
|
@@ -355,7 +359,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
355
359
|
color: u.color,
|
|
356
360
|
name: u.name
|
|
357
361
|
},
|
|
358
|
-
|
|
362
|
+
W(
|
|
359
363
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
360
364
|
$.value.body[i],
|
|
361
365
|
x({
|
|
@@ -395,7 +399,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
395
399
|
colNames: o
|
|
396
400
|
};
|
|
397
401
|
}), D = c(!1);
|
|
398
|
-
function
|
|
402
|
+
function et(t) {
|
|
399
403
|
D.value = t, ne.value += 1;
|
|
400
404
|
}
|
|
401
405
|
function Ae() {
|
|
@@ -408,8 +412,8 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
408
412
|
function ue() {
|
|
409
413
|
Z.value = !Z.value;
|
|
410
414
|
}
|
|
411
|
-
return
|
|
412
|
-
getData:
|
|
415
|
+
return Ge({
|
|
416
|
+
getData: Je,
|
|
413
417
|
generatePdf: xe,
|
|
414
418
|
generateCsv: Oe,
|
|
415
419
|
generateImage: Ce,
|
|
@@ -417,36 +421,36 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
417
421
|
toggleTooltip: Fe,
|
|
418
422
|
toggleAnnotator: ue
|
|
419
423
|
}), (t, a) => (s(), n("div", {
|
|
420
|
-
class:
|
|
424
|
+
class: Be(`vue-ui-waffle ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
421
425
|
ref_key: "waffleChart",
|
|
422
426
|
ref: V,
|
|
423
427
|
id: `vue-ui-waffle_${P.value}`,
|
|
424
428
|
style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
425
|
-
onMouseenter: a[3] || (a[3] = () => v(
|
|
426
|
-
onMouseleave: a[4] || (a[4] = () => v(
|
|
429
|
+
onMouseenter: a[3] || (a[3] = () => v(ye)(!0)),
|
|
430
|
+
onMouseleave: a[4] || (a[4] = () => v(ye)(!1))
|
|
427
431
|
}, [
|
|
428
|
-
e.value.userOptions.buttons.annotator ? (s(), z(
|
|
432
|
+
e.value.userOptions.buttons.annotator ? (s(), z(Nt, {
|
|
429
433
|
key: 0,
|
|
430
434
|
parent: V.value,
|
|
431
435
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
432
436
|
color: e.value.style.chart.color,
|
|
433
437
|
active: Z.value,
|
|
434
438
|
onClose: ue
|
|
435
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
436
|
-
|
|
439
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
440
|
+
qe.value ? (s(), n("div", {
|
|
437
441
|
key: 1,
|
|
438
442
|
ref_key: "noTitle",
|
|
439
443
|
ref: de,
|
|
440
444
|
class: "vue-data-ui-no-title-space",
|
|
441
445
|
style: "height:36px; width: 100%;background:transparent"
|
|
442
|
-
}, null, 512)) :
|
|
446
|
+
}, null, 512)) : y("", !0),
|
|
443
447
|
e.value.style.chart.title.text ? (s(), n("div", {
|
|
444
448
|
key: 2,
|
|
445
449
|
ref_key: "chartTitle",
|
|
446
450
|
ref: ie,
|
|
447
451
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
448
452
|
}, [
|
|
449
|
-
(s(), z(
|
|
453
|
+
(s(), z(Tt, {
|
|
450
454
|
key: `title_${he.value}`,
|
|
451
455
|
config: {
|
|
452
456
|
title: {
|
|
@@ -459,10 +463,10 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
459
463
|
}
|
|
460
464
|
}
|
|
461
465
|
}, null, 8, ["config"]))
|
|
462
|
-
], 512)) :
|
|
463
|
-
e.value.userOptions.show && Y.value && (v(ge) || v(le)) ? (s(), z(
|
|
466
|
+
], 512)) : y("", !0),
|
|
467
|
+
e.value.userOptions.show && Y.value && (v(ge) || v(le)) ? (s(), z(St, {
|
|
464
468
|
ref_key: "details",
|
|
465
|
-
ref:
|
|
469
|
+
ref: Ee,
|
|
466
470
|
key: `user_options_${ne.value}`,
|
|
467
471
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
468
472
|
color: e.value.style.chart.color,
|
|
@@ -482,7 +486,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
482
486
|
position: e.value.userOptions.position,
|
|
483
487
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
484
488
|
isAnnotation: Z.value,
|
|
485
|
-
onToggleFullscreen:
|
|
489
|
+
onToggleFullscreen: et,
|
|
486
490
|
onGeneratePdf: v(xe),
|
|
487
491
|
onGenerateCsv: Oe,
|
|
488
492
|
onGenerateImage: v(Ce),
|
|
@@ -492,7 +496,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
492
496
|
style: X({
|
|
493
497
|
visibility: v(ge) ? v(le) ? "visible" : "hidden" : "visible"
|
|
494
498
|
})
|
|
495
|
-
},
|
|
499
|
+
}, at({ _: 2 }, [
|
|
496
500
|
t.$slots.optionTooltip ? {
|
|
497
501
|
name: "optionTooltip",
|
|
498
502
|
fn: b(() => [
|
|
@@ -542,15 +546,15 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
542
546
|
]),
|
|
543
547
|
key: "6"
|
|
544
548
|
} : void 0
|
|
545
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
549
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
546
550
|
Y.value ? (s(), n("svg", {
|
|
547
551
|
key: 4,
|
|
548
|
-
xmlns: v(
|
|
549
|
-
class:
|
|
552
|
+
xmlns: v(pt),
|
|
553
|
+
class: Be({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
550
554
|
viewBox: `0 0 ${L.value.width <= 0 ? 10 : L.value.width} ${L.value.height <= 0 ? 10 : L.value.height}`,
|
|
551
555
|
style: X(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
552
556
|
}, [
|
|
553
|
-
|
|
557
|
+
Ve(zt),
|
|
554
558
|
k("defs", null, [
|
|
555
559
|
(s(!0), n(I, null, R(r.value, (l, o) => (s(), n("radialGradient", {
|
|
556
560
|
cx: "50%",
|
|
@@ -562,13 +566,13 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
562
566
|
}, [
|
|
563
567
|
k("stop", {
|
|
564
568
|
offset: "0%",
|
|
565
|
-
"stop-color": v(
|
|
566
|
-
}, null, 8,
|
|
569
|
+
"stop-color": v(ft)(v(yt)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
|
|
570
|
+
}, null, 8, Gt),
|
|
567
571
|
k("stop", {
|
|
568
572
|
offset: "100%",
|
|
569
573
|
"stop-color": l.color
|
|
570
|
-
}, null, 8,
|
|
571
|
-
], 8,
|
|
574
|
+
}, null, 8, Rt)
|
|
575
|
+
], 8, Ut))), 256))
|
|
572
576
|
]),
|
|
573
577
|
k("defs", null, [
|
|
574
578
|
k("filter", {
|
|
@@ -577,7 +581,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
577
581
|
y: "-50%",
|
|
578
582
|
width: "200%",
|
|
579
583
|
height: "200%"
|
|
580
|
-
},
|
|
584
|
+
}, qt, 8, Wt)
|
|
581
585
|
]),
|
|
582
586
|
e.value.useCustomCells && r.value.length ? (s(!0), n(I, { key: 0 }, R(H.value, (l, o) => (s(), n("foreignObject", {
|
|
583
587
|
x: l.x,
|
|
@@ -587,7 +591,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
587
591
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
588
592
|
}, [
|
|
589
593
|
g(t.$slots, "cell", U(G({ cell: { ...l, color: r.value[o].color, ...r.value[o] }, isSelected: [null, void 0].includes(B.value) ? !0 : r.value[o].serieIndex === B.value })), void 0, !0)
|
|
590
|
-
], 8,
|
|
594
|
+
], 8, Ht))), 256)) : y("", !0),
|
|
591
595
|
!r.value.length && !e.value.useCustomCells ? (s(), n("rect", {
|
|
592
596
|
key: 1,
|
|
593
597
|
x: 12,
|
|
@@ -597,7 +601,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
597
601
|
rx: 3,
|
|
598
602
|
fill: "none",
|
|
599
603
|
stroke: "black"
|
|
600
|
-
}, null, 8,
|
|
604
|
+
}, null, 8, Xt)) : r.value.length && !e.value.useCustomCells ? (s(), n(I, { key: 2 }, [
|
|
601
605
|
(s(!0), n(I, null, R(H.value, (l, o) => (s(), n("rect", {
|
|
602
606
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
603
607
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -608,7 +612,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
608
612
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
609
613
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
610
614
|
filter: oe(r.value[o].serieIndex)
|
|
611
|
-
}, null, 8,
|
|
615
|
+
}, null, 8, Yt))), 256)),
|
|
612
616
|
(s(!0), n(I, null, R(H.value, (l, o) => (s(), n("rect", {
|
|
613
617
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
614
618
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -619,24 +623,24 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
619
623
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
620
624
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
621
625
|
filter: oe(r.value[o].serieIndex)
|
|
622
|
-
}, null, 8,
|
|
623
|
-
], 64)) :
|
|
626
|
+
}, null, 8, Jt))), 256))
|
|
627
|
+
], 64)) : y("", !0),
|
|
624
628
|
(s(!0), n(I, null, R(H.value, (l, o) => (s(), n(I, null, [
|
|
625
629
|
r.value.length && !F.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (r.value[o].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || r.value[o].isAbsoluteFirst && o % e.value.style.chart.layout.grid.size === 0 && r.value[o].absoluteStartIndex) ? (s(), n("foreignObject", {
|
|
626
630
|
key: 0,
|
|
627
631
|
x: l.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
628
632
|
y: l.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
629
633
|
height: K.value <= 0 ? 1e-4 : K.value,
|
|
630
|
-
width:
|
|
634
|
+
width: E.value * e.value.style.chart.layout.grid.size <= 0 ? 1e-4 : E.value * e.value.style.chart.layout.grid.size,
|
|
631
635
|
filter: oe(r.value[o].serieIndex)
|
|
632
636
|
}, [
|
|
633
637
|
k("div", {
|
|
634
638
|
class: "vue-ui-waffle-caption",
|
|
635
|
-
style: X(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${
|
|
639
|
+
style: X(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${E.value / 12}px;color:${v(gt)(r.value[o].color)};gap:2px`)
|
|
636
640
|
}, [
|
|
637
|
-
e.value.style.chart.layout.labels.captions.showSerieName ? (s(), n("span",
|
|
638
|
-
e.value.style.chart.layout.labels.captions.showPercentage ? (s(), n("span",
|
|
639
|
-
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span",
|
|
641
|
+
e.value.style.chart.layout.labels.captions.showSerieName ? (s(), n("span", Qt, S(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? v(bt)({ source: r.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : r.value[o].name) + ": ", 1)) : y("", !0),
|
|
642
|
+
e.value.style.chart.layout.labels.captions.showPercentage ? (s(), n("span", Zt, S(v(x)({ v: r.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : y("", !0),
|
|
643
|
+
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", el, " (" + S(v(W)(
|
|
640
644
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
641
645
|
r.value[o].value,
|
|
642
646
|
v(x)({
|
|
@@ -646,8 +650,8 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
646
650
|
r: e.value.style.chart.layout.labels.captions.roundingValue
|
|
647
651
|
}),
|
|
648
652
|
{ datapoint: r.value[o], position: l }
|
|
649
|
-
)) + ") ", 1)) :
|
|
650
|
-
!e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span",
|
|
653
|
+
)) + ") ", 1)) : y("", !0),
|
|
654
|
+
!e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", tl, S(v(W)(
|
|
651
655
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
652
656
|
r.value[o].value,
|
|
653
657
|
v(x)({
|
|
@@ -657,28 +661,28 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
657
661
|
r: e.value.style.chart.layout.labels.captions.roundingValue
|
|
658
662
|
}),
|
|
659
663
|
{ datapoint: r.value[o], position: l }
|
|
660
|
-
)), 1)) :
|
|
664
|
+
)), 1)) : y("", !0)
|
|
661
665
|
], 4)
|
|
662
|
-
], 8,
|
|
666
|
+
], 8, Kt)) : y("", !0)
|
|
663
667
|
], 64))), 256)),
|
|
664
668
|
(s(!0), n(I, null, R(H.value, (l, o) => (s(), n("rect", {
|
|
665
|
-
onMouseover: (u) =>
|
|
669
|
+
onMouseover: (u) => Ze(o),
|
|
666
670
|
onMouseleave: a[0] || (a[0] = (u) => {
|
|
667
671
|
ee.value = !1, B.value = null;
|
|
668
672
|
}),
|
|
669
673
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
670
674
|
y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
671
675
|
height: K.value <= 0 ? 1e-4 : K.value,
|
|
672
|
-
width:
|
|
676
|
+
width: E.value <= 0 ? 1e-4 : E.value,
|
|
673
677
|
fill: "transparent",
|
|
674
678
|
stroke: "none"
|
|
675
|
-
}, null, 40,
|
|
679
|
+
}, null, 40, ll))), 256)),
|
|
676
680
|
g(t.$slots, "svg", { svg: L.value }, void 0, !0)
|
|
677
|
-
], 14,
|
|
678
|
-
t.$slots.watermark ? (s(), n("div",
|
|
681
|
+
], 14, Dt)) : y("", !0),
|
|
682
|
+
t.$slots.watermark ? (s(), n("div", al, [
|
|
679
683
|
g(t.$slots, "watermark", U(G({ isPrinting: v(we) || v(ke) })), void 0, !0)
|
|
680
|
-
])) :
|
|
681
|
-
Y.value ?
|
|
684
|
+
])) : y("", !0),
|
|
685
|
+
Y.value ? y("", !0) : (s(), z(At, {
|
|
682
686
|
key: 6,
|
|
683
687
|
config: {
|
|
684
688
|
type: "waffle",
|
|
@@ -694,10 +698,10 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
694
698
|
ref_key: "chartLegend",
|
|
695
699
|
ref: ce
|
|
696
700
|
}, [
|
|
697
|
-
e.value.style.chart.legend.show ? (s(), z(
|
|
698
|
-
key: `legend_${
|
|
701
|
+
e.value.style.chart.legend.show ? (s(), z(Ot, {
|
|
702
|
+
key: `legend_${fe.value}`,
|
|
699
703
|
legendSet: M.value,
|
|
700
|
-
config:
|
|
704
|
+
config: Qe.value,
|
|
701
705
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => Le(l.uid))
|
|
702
706
|
}, {
|
|
703
707
|
item: b(({ legend: l }) => [
|
|
@@ -705,7 +709,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
705
709
|
onClick: (o) => l.segregate(),
|
|
706
710
|
style: X(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
|
|
707
711
|
}, [
|
|
708
|
-
|
|
712
|
+
Me(S(l.name) + ": " + S(v(W)(
|
|
709
713
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
710
714
|
l.value,
|
|
711
715
|
v(x)({
|
|
@@ -717,8 +721,8 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
717
721
|
}),
|
|
718
722
|
{ datapoint: l }
|
|
719
723
|
)) + " ", 1),
|
|
720
|
-
p.value.includes(l.uid) ? (s(), n("span",
|
|
721
|
-
], 12,
|
|
724
|
+
p.value.includes(l.uid) ? (s(), n("span", sl, " ( - % ) ")) : (s(), n("span", ul, " (" + S(isNaN(l.value / _.value) ? "-" : v(x)({ v: l.value / _.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: F.value })) + ") ", 1))
|
|
725
|
+
], 12, ol)
|
|
722
726
|
]),
|
|
723
727
|
_: 1
|
|
724
728
|
}, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
|
|
@@ -733,8 +737,8 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
733
737
|
dir: "auto"
|
|
734
738
|
}, [
|
|
735
739
|
g(t.$slots, "source", {}, void 0, !0)
|
|
736
|
-
], 512)) :
|
|
737
|
-
|
|
740
|
+
], 512)) : y("", !0),
|
|
741
|
+
Ve(Pt, {
|
|
738
742
|
show: T.value.showTooltip && ee.value && p.value.length < m.dataset.length,
|
|
739
743
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
740
744
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -758,7 +762,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
758
762
|
]),
|
|
759
763
|
_: 3
|
|
760
764
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen"]),
|
|
761
|
-
Y.value ? (s(), z(
|
|
765
|
+
Y.value ? (s(), z(Ft, {
|
|
762
766
|
key: 8,
|
|
763
767
|
hideDetails: "",
|
|
764
768
|
config: {
|
|
@@ -775,7 +779,7 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
775
779
|
}
|
|
776
780
|
}, {
|
|
777
781
|
content: b(() => [
|
|
778
|
-
(s(), z(
|
|
782
|
+
(s(), z(Lt, {
|
|
779
783
|
key: `table_${pe.value}`,
|
|
780
784
|
colNames: Q.value.colNames,
|
|
781
785
|
head: Q.value.head,
|
|
@@ -788,19 +792,19 @@ const De = (E) => (at("data-v-1d032eba"), E = E(), ot(), E), Bt = ["id"], Vt = [
|
|
|
788
792
|
k("div", {
|
|
789
793
|
innerHTML: l,
|
|
790
794
|
style: { display: "flex", "align-items": "center" }
|
|
791
|
-
}, null, 8,
|
|
795
|
+
}, null, 8, rl)
|
|
792
796
|
]),
|
|
793
797
|
td: b(({ td: l }) => [
|
|
794
|
-
|
|
798
|
+
Me(S(l.name || l), 1)
|
|
795
799
|
]),
|
|
796
800
|
_: 1
|
|
797
801
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
798
802
|
]),
|
|
799
803
|
_: 1
|
|
800
|
-
}, 8, ["config"])) :
|
|
801
|
-
], 46,
|
|
804
|
+
}, 8, ["config"])) : y("", !0)
|
|
805
|
+
], 46, Mt));
|
|
802
806
|
}
|
|
803
|
-
},
|
|
807
|
+
}, _l = /* @__PURE__ */ Vt(nl, [["__scopeId", "data-v-a0b27ef9"]]);
|
|
804
808
|
export {
|
|
805
|
-
|
|
809
|
+
_l as default
|
|
806
810
|
};
|