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,33 +1,33 @@
|
|
|
1
|
-
import { useCssVars as Ie, computed as h, ref as p, watch as $e, onMounted as Be, openBlock as o, createElementBlock as n, normalizeClass as K, normalizeStyle as
|
|
2
|
-
import { u as He, o as Xe, e as Ce, c as ue, t as De, C as
|
|
3
|
-
import { _ as Ze } from "./Title-
|
|
4
|
-
import { u as et, U as tt } from "./usePrinter-
|
|
5
|
-
import { _ as lt } from "./Tooltip-
|
|
6
|
-
import at from "./vue-ui-skeleton-
|
|
7
|
-
import ot from "./BaseIcon-
|
|
8
|
-
import st from "./vue-ui-accordion-
|
|
9
|
-
import { u as Le } from "./useNestedProp-
|
|
10
|
-
import { _ as ut } from "./PackageVersion-
|
|
11
|
-
import { P as nt } from "./PenAndPaper-
|
|
1
|
+
import { useCssVars as Ie, computed as h, ref as p, watch as $e, onMounted as Be, openBlock as o, createElementBlock as n, normalizeClass as K, normalizeStyle as w, unref as u, createBlock as G, createCommentVNode as c, createSlots as Re, withCtx as k, renderSlot as f, normalizeProps as U, guardReactiveProps as H, createVNode as se, Fragment as A, renderList as O, createElementVNode as i, toDisplayString as b, withKeys as Ee, createTextVNode as Ge, nextTick as Ue } from "vue";
|
|
2
|
+
import { u as He, o as Xe, e as Ce, c as ue, t as De, C as je, g as We, N as ne, X as Ye, G as ie, i as V, f as S, v as T, x as qe, y as Ke, q as Je, r as Qe } from "./index-B9RAElpI.js";
|
|
3
|
+
import { _ as Ze } from "./Title-zZtEcB9F.js";
|
|
4
|
+
import { u as et, U as tt } from "./usePrinter-CwTAwqtF.js";
|
|
5
|
+
import { _ as lt } from "./Tooltip-DDJ2Wvjy.js";
|
|
6
|
+
import at from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
7
|
+
import ot from "./BaseIcon-BbU81zOd.js";
|
|
8
|
+
import st from "./vue-ui-accordion-rNA598L6.js";
|
|
9
|
+
import { u as Le } from "./useNestedProp-DuruL3Nt.js";
|
|
10
|
+
import { _ as ut } from "./PackageVersion-C_FFs0BP.js";
|
|
11
|
+
import { P as nt } from "./PenAndPaper-Dx24BtRW.js";
|
|
12
12
|
import { u as it } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
13
|
import { _ as rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const vt = ["id"], dt = {
|
|
15
15
|
key: 2,
|
|
16
16
|
style: "width:100%;background:transparent"
|
|
17
|
-
}, yt = ["xmlns", "viewBox"], ct = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"],
|
|
17
|
+
}, yt = ["xmlns", "viewBox"], ct = ["width", "height"], ht = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], pt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], gt = ["font-size", "font-weight", "fill", "x", "y"], ft = ["x", "y", "width", "height", "onMouseover"], bt = { key: 0 }, mt = ["font-size", "fill", "x", "y", "font-weight"], xt = { key: 1 }, wt = ["text-anchor", "font-size", "fill", "font-weight", "transform"], kt = { key: 2 }, _t = ["x", "y", "width", "height", "stroke", "stroke-width"], $t = { key: 3 }, Ct = ["id"], Lt = ["stop-color"], At = ["stop-color"], Tt = ["x", "y", "font-size", "fill"], zt = ["x", "y", "height", "rx", "fill"], Mt = ["x", "y", "font-size", "fill"], Ot = ["stroke", "x1", "x2", "y1", "y2"], St = ["fill", "d"], Nt = { key: 4 }, Ft = {
|
|
18
18
|
id: "colorScaleHorizontal",
|
|
19
19
|
x1: "0%",
|
|
20
20
|
x2: "100%",
|
|
21
21
|
y1: "0%",
|
|
22
22
|
y2: "0%"
|
|
23
|
-
},
|
|
23
|
+
}, Vt = ["stop-color"], Pt = ["stop-color"], It = ["x", "y", "width", "height", "rx"], Bt = ["x", "y", "font-size", "fill"], Rt = ["x", "y", "font-size", "fill"], Et = ["stroke", "x1", "x2", "y1", "y2"], Gt = ["fill", "d"], Ut = {
|
|
24
24
|
key: 5,
|
|
25
25
|
class: "vue-data-ui-watermark"
|
|
26
|
-
},
|
|
26
|
+
}, Ht = {
|
|
27
27
|
key: 6,
|
|
28
28
|
ref: "source",
|
|
29
29
|
dir: "auto"
|
|
30
|
-
},
|
|
30
|
+
}, Xt = { class: "vue-ui-data-table" }, Dt = { key: 0 }, jt = ["data-cell"], Wt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Yt = ["data-cell"], qt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Kt = {
|
|
31
31
|
__name: "vue-ui-heatmap",
|
|
32
32
|
props: {
|
|
33
33
|
config: {
|
|
@@ -46,14 +46,14 @@ const vt = ["id"], dt = {
|
|
|
46
46
|
setup(X, { expose: Ae }) {
|
|
47
47
|
const r = X;
|
|
48
48
|
Ie((t) => ({
|
|
49
|
-
"
|
|
49
|
+
"34a51a7c": t.tdo
|
|
50
50
|
}));
|
|
51
51
|
const { vue_ui_heatmap: Te } = He(), D = h(() => !!r.dataset && r.dataset.length);
|
|
52
52
|
Xe(r.dataset) && Ce({
|
|
53
53
|
componentName: "VueUiHeatmap",
|
|
54
54
|
type: "dataset"
|
|
55
55
|
});
|
|
56
|
-
const P = p(ue()),
|
|
56
|
+
const P = p(ue()), j = p(null), ze = p(null), J = p(!1), Q = p(""), re = p(void 0), I = p(null), ve = p(0), de = p(null), Me = p(null), ye = p(!1), ce = p(0), e = h({
|
|
57
57
|
get: () => ge(),
|
|
58
58
|
set: (t) => t
|
|
59
59
|
}), { userOptionsVisible: Z, setUserOptionsVisibility: he, keepUserOptionState: pe } = it({ config: e.value });
|
|
@@ -68,7 +68,7 @@ const vt = ["id"], dt = {
|
|
|
68
68
|
userConfig: De.vue_ui_heatmap[t.theme] || r.config,
|
|
69
69
|
defaultConfig: t
|
|
70
70
|
})
|
|
71
|
-
} : l = t, r.config &&
|
|
71
|
+
} : l = t, r.config && je(r.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? l.style.layout.dataLabels.xAxis.showOnlyAtModulo = r.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : l.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, l;
|
|
72
72
|
}
|
|
73
73
|
$e(() => r.config, (t) => {
|
|
74
74
|
e.value = ge(), Z.value = !e.value.showOnChartHover, ee(), ce.value += 1;
|
|
@@ -93,21 +93,21 @@ const vt = ["id"], dt = {
|
|
|
93
93
|
function ee() {
|
|
94
94
|
Ne();
|
|
95
95
|
}
|
|
96
|
-
const N = h(() => Math.max(...r.dataset.flatMap((t) => (t.values || []).length))),
|
|
96
|
+
const N = h(() => Math.max(...r.dataset.flatMap((t) => (t.values || []).length))), m = h(() => {
|
|
97
97
|
const t = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + r.dataset.length * e.value.style.layout.cells.height, l = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (N.value < r.dataset.length ? r.dataset.length : N.value) * e.value.style.layout.cells.height, s = t + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
|
|
98
98
|
return {
|
|
99
99
|
height: t,
|
|
100
100
|
heightWithLegend: s,
|
|
101
101
|
width: l
|
|
102
102
|
};
|
|
103
|
-
}),
|
|
103
|
+
}), W = h(() => e.value.style.legend.position), a = h(() => ({
|
|
104
104
|
top: e.value.style.layout.padding.top,
|
|
105
105
|
left: e.value.style.layout.padding.left,
|
|
106
|
-
right:
|
|
107
|
-
bottom:
|
|
108
|
-
height:
|
|
109
|
-
width:
|
|
110
|
-
})), te = h(() => d.value.height * r.dataset.length),
|
|
106
|
+
right: m.value.width - e.value.style.layout.padding.right - (W.value === "right" && e.value.style.legend.show ? 92 : 0),
|
|
107
|
+
bottom: m.value.height - e.value.style.layout.padding.bottom,
|
|
108
|
+
height: m.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
109
|
+
width: m.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (W.value === "right" && e.value.style.legend.show ? 92 : 0)
|
|
110
|
+
})), te = h(() => d.value.height * r.dataset.length), x = h(() => Math.max(...r.dataset.flatMap((t) => t.values))), z = h(() => Math.min(...r.dataset.flatMap((t) => t.values))), M = h(() => {
|
|
111
111
|
const t = r.dataset.flatMap((s) => s.values);
|
|
112
112
|
return t.reduce((s, v) => s + v, 0) / t.length;
|
|
113
113
|
}), d = h(() => ({
|
|
@@ -119,8 +119,8 @@ const vt = ["id"], dt = {
|
|
|
119
119
|
yLabels: t,
|
|
120
120
|
xLabels: l.slice(0, N.value)
|
|
121
121
|
};
|
|
122
|
-
}),
|
|
123
|
-
|
|
122
|
+
}), Y = h(() => (r.dataset.forEach((t, l) => {
|
|
123
|
+
We({
|
|
124
124
|
datasetObject: t,
|
|
125
125
|
requiredAttributes: ["values"]
|
|
126
126
|
}).forEach((s) => {
|
|
@@ -135,8 +135,8 @@ const vt = ["id"], dt = {
|
|
|
135
135
|
...t,
|
|
136
136
|
temperatures: (t.values || []).map((l, s) => l >= M.value ? {
|
|
137
137
|
side: "up",
|
|
138
|
-
color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value,
|
|
139
|
-
ratio: Math.abs(Math.abs(l - M.value) / Math.abs(
|
|
138
|
+
color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, x.value, l),
|
|
139
|
+
ratio: Math.abs(Math.abs(l - M.value) / Math.abs(x.value - M.value)) > 1 ? 1 : Math.abs(Math.abs(l - M.value) / Math.abs(x.value - M.value)),
|
|
140
140
|
value: l,
|
|
141
141
|
yAxisName: t.name,
|
|
142
142
|
xAxisName: $.value.xLabels[s],
|
|
@@ -144,7 +144,7 @@ const vt = ["id"], dt = {
|
|
|
144
144
|
} : {
|
|
145
145
|
side: "down",
|
|
146
146
|
ratio: Math.abs(1 - Math.abs(l) / Math.abs(M.value)) > 1 ? 1 : Math.abs(1 - Math.abs(l) / Math.abs(M.value)),
|
|
147
|
-
color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value,
|
|
147
|
+
color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, x.value, l),
|
|
148
148
|
value: l,
|
|
149
149
|
yAxisName: t.name,
|
|
150
150
|
xAxisName: $.value.xLabels[s],
|
|
@@ -157,7 +157,7 @@ const vt = ["id"], dt = {
|
|
|
157
157
|
re.value = Pe, C.value = y, B.value = {
|
|
158
158
|
datapoint: t,
|
|
159
159
|
seriesIndex: l,
|
|
160
|
-
series:
|
|
160
|
+
series: Y.value,
|
|
161
161
|
config: e.value
|
|
162
162
|
}, J.value = !0;
|
|
163
163
|
let ae = "";
|
|
@@ -165,14 +165,14 @@ const vt = ["id"], dt = {
|
|
|
165
165
|
qe(oe) && Ke(() => oe({
|
|
166
166
|
datapoint: t,
|
|
167
167
|
seriesIndex: l,
|
|
168
|
-
series:
|
|
168
|
+
series: Y.value,
|
|
169
169
|
config: e.value
|
|
170
170
|
})) ? Q.value = oe({
|
|
171
171
|
datapoint: t,
|
|
172
172
|
seriesIndex: l,
|
|
173
|
-
series:
|
|
173
|
+
series: Y.value,
|
|
174
174
|
config: e.value
|
|
175
|
-
}) : (ae += `<div>${g} ${L ? `${L}` : ""}</div>`, ae += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value,
|
|
175
|
+
}) : (ae += `<div>${g} ${L ? `${L}` : ""}</div>`, ae += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, x.value, y)}">⬤</span><span>${isNaN(y) ? "-" : V(
|
|
176
176
|
e.value.style.layout.cells.value.formatter,
|
|
177
177
|
y,
|
|
178
178
|
S({
|
|
@@ -184,7 +184,7 @@ const vt = ["id"], dt = {
|
|
|
184
184
|
{ datapoint: t, seriesIndex: l }
|
|
185
185
|
)}</span></div>`, Q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${ae}</div>`);
|
|
186
186
|
}
|
|
187
|
-
const R = h(() => a.value.top + te.value * (1 - C.value /
|
|
187
|
+
const R = h(() => a.value.top + te.value * (1 - C.value / x.value)), E = h(() => a.value.left + (m.value.width - a.value.left - e.value.style.layout.padding.right) * (C.value / x.value));
|
|
188
188
|
h(() => {
|
|
189
189
|
const t = r.dataset.map((s) => ({
|
|
190
190
|
name: s.name
|
|
@@ -192,7 +192,7 @@ const vt = ["id"], dt = {
|
|
|
192
192
|
return { head: t, body: l };
|
|
193
193
|
});
|
|
194
194
|
function we() {
|
|
195
|
-
|
|
195
|
+
Ue(() => {
|
|
196
196
|
const t = ["", ...r.dataset.map((y, g) => y.name)], l = [];
|
|
197
197
|
for (let y = 0; y < $.value.xLabels.length; y += 1) {
|
|
198
198
|
const g = [$.value.xLabels[y]];
|
|
@@ -208,10 +208,10 @@ const vt = ["id"], dt = {
|
|
|
208
208
|
function Ve(t) {
|
|
209
209
|
F.value = t, ve.value += 1;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function ke() {
|
|
212
212
|
_.value.showTable = !_.value.showTable;
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function _e() {
|
|
215
215
|
_.value.showTooltip = !_.value.showTooltip;
|
|
216
216
|
}
|
|
217
217
|
const q = p(!1);
|
|
@@ -222,21 +222,21 @@ const vt = ["id"], dt = {
|
|
|
222
222
|
generatePdf: me,
|
|
223
223
|
generateCsv: we,
|
|
224
224
|
generateImage: xe,
|
|
225
|
-
toggleTable:
|
|
226
|
-
toggleTooltip:
|
|
225
|
+
toggleTable: ke,
|
|
226
|
+
toggleTooltip: _e,
|
|
227
227
|
toggleAnnotator: le
|
|
228
228
|
}), (t, l) => (o(), n("div", {
|
|
229
229
|
ref_key: "heatmapChart",
|
|
230
|
-
ref:
|
|
230
|
+
ref: j,
|
|
231
231
|
class: K(`vue-ui-heatmap ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
232
|
-
style:
|
|
232
|
+
style: w(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
|
|
233
233
|
id: `heatmap__${P.value}`,
|
|
234
234
|
onMouseenter: l[3] || (l[3] = () => u(he)(!0)),
|
|
235
235
|
onMouseleave: l[4] || (l[4] = () => u(he)(!1))
|
|
236
236
|
}, [
|
|
237
|
-
e.value.userOptions.buttons.annotator ? (o(),
|
|
237
|
+
e.value.userOptions.buttons.annotator ? (o(), G(nt, {
|
|
238
238
|
key: 0,
|
|
239
|
-
parent:
|
|
239
|
+
parent: j.value,
|
|
240
240
|
backgroundColor: e.value.style.backgroundColor,
|
|
241
241
|
color: e.value.style.color,
|
|
242
242
|
active: q.value,
|
|
@@ -250,7 +250,7 @@ const vt = ["id"], dt = {
|
|
|
250
250
|
style: "height:36px; width: 100%;background:transparent"
|
|
251
251
|
}, null, 512)) : c("", !0),
|
|
252
252
|
e.value.style.title.text ? (o(), n("div", dt, [
|
|
253
|
-
(o(),
|
|
253
|
+
(o(), G(Ze, {
|
|
254
254
|
key: `title_${ce.value}`,
|
|
255
255
|
config: {
|
|
256
256
|
title: {
|
|
@@ -264,7 +264,7 @@ const vt = ["id"], dt = {
|
|
|
264
264
|
}
|
|
265
265
|
}, null, 8, ["config"]))
|
|
266
266
|
])) : c("", !0),
|
|
267
|
-
e.value.userOptions.show && D.value && (u(pe) || u(Z)) ? (o(),
|
|
267
|
+
e.value.userOptions.show && D.value && (u(pe) || u(Z)) ? (o(), G(tt, {
|
|
268
268
|
ref_key: "details",
|
|
269
269
|
ref: ze,
|
|
270
270
|
key: `user_options_${ve.value}`,
|
|
@@ -282,7 +282,7 @@ const vt = ["id"], dt = {
|
|
|
282
282
|
isFullscreen: F.value,
|
|
283
283
|
isTooltip: _.value.showTooltip,
|
|
284
284
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
285
|
-
chartElement:
|
|
285
|
+
chartElement: j.value,
|
|
286
286
|
position: e.value.userOptions.position,
|
|
287
287
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
288
288
|
isAnnotation: q.value,
|
|
@@ -290,72 +290,84 @@ const vt = ["id"], dt = {
|
|
|
290
290
|
onGeneratePdf: u(me),
|
|
291
291
|
onGenerateCsv: we,
|
|
292
292
|
onGenerateImage: u(xe),
|
|
293
|
-
onToggleTable:
|
|
294
|
-
onToggleTooltip:
|
|
293
|
+
onToggleTable: ke,
|
|
294
|
+
onToggleTooltip: _e,
|
|
295
295
|
onToggleAnnotator: le,
|
|
296
|
-
style:
|
|
296
|
+
style: w({
|
|
297
297
|
visibility: u(pe) ? u(Z) ? "visible" : "hidden" : "visible"
|
|
298
298
|
})
|
|
299
299
|
}, Re({ _: 2 }, [
|
|
300
300
|
t.$slots.optionTooltip ? {
|
|
301
301
|
name: "optionTooltip",
|
|
302
|
-
fn:
|
|
302
|
+
fn: k(() => [
|
|
303
303
|
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
304
304
|
]),
|
|
305
305
|
key: "0"
|
|
306
306
|
} : void 0,
|
|
307
307
|
t.$slots.optionPdf ? {
|
|
308
308
|
name: "optionPdf",
|
|
309
|
-
fn:
|
|
309
|
+
fn: k(() => [
|
|
310
310
|
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
311
311
|
]),
|
|
312
312
|
key: "1"
|
|
313
313
|
} : void 0,
|
|
314
314
|
t.$slots.optionCsv ? {
|
|
315
315
|
name: "optionCsv",
|
|
316
|
-
fn:
|
|
316
|
+
fn: k(() => [
|
|
317
317
|
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
318
318
|
]),
|
|
319
319
|
key: "2"
|
|
320
320
|
} : void 0,
|
|
321
321
|
t.$slots.optionImg ? {
|
|
322
322
|
name: "optionImg",
|
|
323
|
-
fn:
|
|
323
|
+
fn: k(() => [
|
|
324
324
|
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
325
325
|
]),
|
|
326
326
|
key: "3"
|
|
327
327
|
} : void 0,
|
|
328
328
|
t.$slots.optionTable ? {
|
|
329
329
|
name: "optionTable",
|
|
330
|
-
fn:
|
|
330
|
+
fn: k(() => [
|
|
331
331
|
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
332
332
|
]),
|
|
333
333
|
key: "4"
|
|
334
334
|
} : void 0,
|
|
335
335
|
t.$slots.optionFullscreen ? {
|
|
336
336
|
name: "optionFullscreen",
|
|
337
|
-
fn:
|
|
338
|
-
f(t.$slots, "optionFullscreen",
|
|
337
|
+
fn: k(({ toggleFullscreen: s, isFullscreen: v }) => [
|
|
338
|
+
f(t.$slots, "optionFullscreen", U(H({ toggleFullscreen: s, isFullscreen: v })), void 0, !0)
|
|
339
339
|
]),
|
|
340
340
|
key: "5"
|
|
341
341
|
} : void 0,
|
|
342
342
|
t.$slots.optionAnnotator ? {
|
|
343
343
|
name: "optionAnnotator",
|
|
344
|
-
fn:
|
|
345
|
-
f(t.$slots, "optionAnnotator",
|
|
344
|
+
fn: k(({ toggleAnnotator: s, isAnnotator: v }) => [
|
|
345
|
+
f(t.$slots, "optionAnnotator", U(H({ toggleAnnotator: s, isAnnotator: v })), void 0, !0)
|
|
346
346
|
]),
|
|
347
347
|
key: "6"
|
|
348
348
|
} : void 0
|
|
349
349
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
350
350
|
D.value ? (o(), n("svg", {
|
|
351
351
|
key: 4,
|
|
352
|
-
xmlns: u(
|
|
352
|
+
xmlns: u(Ye),
|
|
353
353
|
class: K({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
|
|
354
|
-
viewBox: `0 0 ${
|
|
355
|
-
style:
|
|
354
|
+
viewBox: `0 0 ${m.value.width} ${m.value.heightWithLegend}`,
|
|
355
|
+
style: w(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
356
356
|
}, [
|
|
357
357
|
se(ut),
|
|
358
|
-
|
|
358
|
+
t.$slots["chart-background"] ? (o(), n("foreignObject", {
|
|
359
|
+
key: 0,
|
|
360
|
+
x: 0,
|
|
361
|
+
y: 0,
|
|
362
|
+
width: m.value.width,
|
|
363
|
+
height: m.value.heightWithLegend,
|
|
364
|
+
style: {
|
|
365
|
+
pointerEvents: "none"
|
|
366
|
+
}
|
|
367
|
+
}, [
|
|
368
|
+
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
369
|
+
], 8, ct)) : c("", !0),
|
|
370
|
+
(o(!0), n(A, null, O(Y.value, (s, v) => (o(), n("g", null, [
|
|
359
371
|
(o(!0), n(A, null, O(s.temperatures, (y, g) => (o(), n("g", null, [
|
|
360
372
|
i("rect", {
|
|
361
373
|
x: a.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
@@ -365,7 +377,7 @@ const vt = ["id"], dt = {
|
|
|
365
377
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
366
378
|
stroke: e.value.style.backgroundColor,
|
|
367
379
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
368
|
-
}, null, 8,
|
|
380
|
+
}, null, 8, ht),
|
|
369
381
|
i("rect", {
|
|
370
382
|
x: a.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
371
383
|
y: a.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
@@ -374,7 +386,7 @@ const vt = ["id"], dt = {
|
|
|
374
386
|
fill: y.color,
|
|
375
387
|
stroke: e.value.style.backgroundColor,
|
|
376
388
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
377
|
-
}, null, 8,
|
|
389
|
+
}, null, 8, pt),
|
|
378
390
|
e.value.style.layout.cells.value.show ? (o(), n("text", {
|
|
379
391
|
key: 0,
|
|
380
392
|
"text-anchor": "middle",
|
|
@@ -393,7 +405,7 @@ const vt = ["id"], dt = {
|
|
|
393
405
|
r: e.value.style.layout.cells.value.roundingValue
|
|
394
406
|
}),
|
|
395
407
|
{ datapoint: y }
|
|
396
|
-
)), 9,
|
|
408
|
+
)), 9, gt)) : c("", !0)
|
|
397
409
|
]))), 256)),
|
|
398
410
|
(o(!0), n(A, null, O(s.temperatures, (y, g) => (o(), n("g", null, [
|
|
399
411
|
i("rect", {
|
|
@@ -407,9 +419,9 @@ const vt = ["id"], dt = {
|
|
|
407
419
|
onMouseout: l[0] || (l[0] = (L) => {
|
|
408
420
|
J.value = !1, re.value = void 0, C.value = null, I.value = null;
|
|
409
421
|
})
|
|
410
|
-
}, null, 40,
|
|
422
|
+
}, null, 40, ft)
|
|
411
423
|
]))), 256)),
|
|
412
|
-
e.value.style.layout.dataLabels.yAxis.show ? (o(), n("g",
|
|
424
|
+
e.value.style.layout.dataLabels.yAxis.show ? (o(), n("g", bt, [
|
|
413
425
|
i("text", {
|
|
414
426
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
415
427
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
@@ -417,10 +429,10 @@ const vt = ["id"], dt = {
|
|
|
417
429
|
y: a.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
418
430
|
"text-anchor": "end",
|
|
419
431
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
420
|
-
}, b($.value.yLabels[v]), 9,
|
|
432
|
+
}, b($.value.yLabels[v]), 9, mt)
|
|
421
433
|
])) : c("", !0)
|
|
422
434
|
]))), 256)),
|
|
423
|
-
e.value.style.layout.dataLabels.xAxis.show ? (o(), n("g",
|
|
435
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), n("g", xt, [
|
|
424
436
|
(o(!0), n(A, null, O($.value.xLabels, (s, v) => (o(), n(A, null, [
|
|
425
437
|
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (o(), n("text", {
|
|
426
438
|
key: 0,
|
|
@@ -429,10 +441,10 @@ const vt = ["id"], dt = {
|
|
|
429
441
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
430
442
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
431
443
|
transform: `translate(${a.value.left + d.value.width / 2 + a.value.width / $.value.xLabels.length * v + e.value.style.layout.dataLabels.xAxis.offsetX}, ${a.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
432
|
-
}, b(s), 9,
|
|
444
|
+
}, b(s), 9, wt)) : c("", !0)
|
|
433
445
|
], 64))), 256))
|
|
434
446
|
])) : c("", !0),
|
|
435
|
-
I.value ? (o(), n("g",
|
|
447
|
+
I.value ? (o(), n("g", kt, [
|
|
436
448
|
i("rect", {
|
|
437
449
|
style: { "pointer-events": "none" },
|
|
438
450
|
x: I.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
@@ -445,7 +457,7 @@ const vt = ["id"], dt = {
|
|
|
445
457
|
rx: 1
|
|
446
458
|
}, null, 8, _t)
|
|
447
459
|
])) : c("", !0),
|
|
448
|
-
e.value.style.legend.show &&
|
|
460
|
+
e.value.style.legend.show && W.value === "right" ? (o(), n("g", $t, [
|
|
449
461
|
i("defs", null, [
|
|
450
462
|
i("linearGradient", {
|
|
451
463
|
id: `colorScaleVertical_${P.value}`,
|
|
@@ -455,12 +467,12 @@ const vt = ["id"], dt = {
|
|
|
455
467
|
i("stop", {
|
|
456
468
|
offset: "0%",
|
|
457
469
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
458
|
-
}, null, 8,
|
|
470
|
+
}, null, 8, Lt),
|
|
459
471
|
i("stop", {
|
|
460
472
|
offset: "100%",
|
|
461
473
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
462
|
-
}, null, 8,
|
|
463
|
-
], 8,
|
|
474
|
+
}, null, 8, At)
|
|
475
|
+
], 8, Ct)
|
|
464
476
|
]),
|
|
465
477
|
i("text", {
|
|
466
478
|
x: a.value.right + 36 + 18,
|
|
@@ -470,14 +482,14 @@ const vt = ["id"], dt = {
|
|
|
470
482
|
fill: e.value.style.legend.color
|
|
471
483
|
}, b(u(V)(
|
|
472
484
|
e.value.style.layout.cells.value.formatter,
|
|
473
|
-
u(T)(
|
|
485
|
+
u(T)(x.value),
|
|
474
486
|
u(S)({
|
|
475
487
|
p: e.value.style.layout.dataLabels.prefix,
|
|
476
|
-
v: u(T)(
|
|
488
|
+
v: u(T)(x.value),
|
|
477
489
|
s: e.value.style.layout.dataLabels.suffix,
|
|
478
490
|
r: e.value.style.legend.roundingValue
|
|
479
491
|
})
|
|
480
|
-
)), 9,
|
|
492
|
+
)), 9, Tt),
|
|
481
493
|
i("rect", {
|
|
482
494
|
x: a.value.right + 36,
|
|
483
495
|
y: a.value.top,
|
|
@@ -485,7 +497,7 @@ const vt = ["id"], dt = {
|
|
|
485
497
|
height: te.value,
|
|
486
498
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
487
499
|
fill: `url(#colorScaleVertical_${P.value})`
|
|
488
|
-
}, null, 8,
|
|
500
|
+
}, null, 8, zt),
|
|
489
501
|
i("text", {
|
|
490
502
|
x: a.value.right + 36 + 18,
|
|
491
503
|
y: a.value.top + te.value + e.value.style.legend.fontSize * 2.5,
|
|
@@ -501,7 +513,7 @@ const vt = ["id"], dt = {
|
|
|
501
513
|
s: e.value.style.layout.dataLabels.suffix,
|
|
502
514
|
r: e.value.style.legend.roundingValue
|
|
503
515
|
})
|
|
504
|
-
)), 9,
|
|
516
|
+
)), 9, Mt),
|
|
505
517
|
C.value !== null ? (o(), n("line", {
|
|
506
518
|
key: 0,
|
|
507
519
|
stroke: u(ie)(B.value.datapoint.color),
|
|
@@ -510,35 +522,35 @@ const vt = ["id"], dt = {
|
|
|
510
522
|
x2: a.value.right + 72,
|
|
511
523
|
y1: R.value,
|
|
512
524
|
y2: R.value
|
|
513
|
-
}, null, 8,
|
|
525
|
+
}, null, 8, Ot)) : c("", !0),
|
|
514
526
|
C.value !== null ? (o(), n("path", {
|
|
515
527
|
key: 1,
|
|
516
528
|
fill: e.value.style.color,
|
|
517
529
|
stroke: "none",
|
|
518
530
|
d: `M ${a.value.right + 36},${R.value} ${a.value.right + 26},${R.value - 8} ${a.value.right + 26},${R.value + 8}z`
|
|
519
|
-
}, null, 8,
|
|
531
|
+
}, null, 8, St)) : c("", !0)
|
|
520
532
|
])) : c("", !0),
|
|
521
|
-
e.value.style.legend.show &&
|
|
533
|
+
e.value.style.legend.show && W.value === "bottom" ? (o(), n("g", Nt, [
|
|
522
534
|
i("defs", null, [
|
|
523
|
-
i("linearGradient",
|
|
535
|
+
i("linearGradient", Ft, [
|
|
524
536
|
i("stop", {
|
|
525
537
|
offset: "0%",
|
|
526
538
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
527
|
-
}, null, 8,
|
|
539
|
+
}, null, 8, Vt),
|
|
528
540
|
i("stop", {
|
|
529
541
|
offset: "100%",
|
|
530
542
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
531
|
-
}, null, 8,
|
|
543
|
+
}, null, 8, Pt)
|
|
532
544
|
])
|
|
533
545
|
]),
|
|
534
546
|
i("rect", {
|
|
535
547
|
x: a.value.left,
|
|
536
548
|
y: a.value.bottom + e.value.style.layout.cells.height,
|
|
537
|
-
width:
|
|
549
|
+
width: m.value.width - a.value.left - e.value.style.layout.padding.right,
|
|
538
550
|
height: e.value.style.layout.cells.height,
|
|
539
551
|
rx: e.value.style.legend.scaleBorderRadius > e.value.style.layout.cells.height / 2 ? e.value.style.layout.cells.height / 2 : e.value.style.legend.scaleBorderRadius,
|
|
540
552
|
fill: "url(#colorScaleHorizontal)"
|
|
541
|
-
}, null, 8,
|
|
553
|
+
}, null, 8, It),
|
|
542
554
|
i("text", {
|
|
543
555
|
x: a.value.left,
|
|
544
556
|
y: a.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -554,7 +566,7 @@ const vt = ["id"], dt = {
|
|
|
554
566
|
s: e.value.style.layout.dataLabels.suffix,
|
|
555
567
|
r: e.value.style.legend.roundingValue
|
|
556
568
|
})
|
|
557
|
-
)), 9,
|
|
569
|
+
)), 9, Bt),
|
|
558
570
|
i("text", {
|
|
559
571
|
x: a.value.right,
|
|
560
572
|
y: a.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -563,39 +575,39 @@ const vt = ["id"], dt = {
|
|
|
563
575
|
fill: e.value.style.legend.color
|
|
564
576
|
}, b(u(V)(
|
|
565
577
|
e.value.style.layout.cells.value.formatter,
|
|
566
|
-
u(T)(
|
|
578
|
+
u(T)(x.value),
|
|
567
579
|
u(S)({
|
|
568
580
|
p: e.value.style.layout.dataLabels.prefix,
|
|
569
|
-
v: u(T)(
|
|
581
|
+
v: u(T)(x.value),
|
|
570
582
|
s: e.value.style.layout.dataLabels.suffix,
|
|
571
583
|
r: e.value.style.legend.roundingValue
|
|
572
584
|
})
|
|
573
|
-
)), 9,
|
|
585
|
+
)), 9, Rt),
|
|
574
586
|
C.value !== null ? (o(), n("line", {
|
|
575
587
|
key: 0,
|
|
576
588
|
stroke: u(ie)(B.value.datapoint.color),
|
|
577
589
|
"stroke-width": "2",
|
|
578
|
-
x1:
|
|
579
|
-
x2:
|
|
590
|
+
x1: E.value,
|
|
591
|
+
x2: E.value,
|
|
580
592
|
y1: a.value.bottom + e.value.style.layout.cells.height,
|
|
581
593
|
y2: a.value.bottom + e.value.style.layout.cells.height * 2
|
|
582
|
-
}, null, 8,
|
|
594
|
+
}, null, 8, Et)) : c("", !0),
|
|
583
595
|
C.value !== null ? (o(), n("path", {
|
|
584
596
|
key: 1,
|
|
585
597
|
fill: e.value.style.color,
|
|
586
598
|
stroke: "none",
|
|
587
|
-
d: `M ${
|
|
599
|
+
d: `M ${E.value},${a.value.bottom + e.value.style.layout.cells.height} ${E.value - 12},${a.value.bottom + e.value.style.layout.cells.height - 20} ${E.value + 12},${a.value.bottom + e.value.style.layout.cells.height - 20}z`
|
|
588
600
|
}, null, 8, Gt)) : c("", !0)
|
|
589
601
|
])) : c("", !0),
|
|
590
|
-
f(t.$slots, "svg", { svg:
|
|
602
|
+
f(t.$slots, "svg", { svg: m.value }, void 0, !0)
|
|
591
603
|
], 14, yt)) : c("", !0),
|
|
592
604
|
t.$slots.watermark ? (o(), n("div", Ut, [
|
|
593
|
-
f(t.$slots, "watermark",
|
|
605
|
+
f(t.$slots, "watermark", U(H({ isPrinting: u(fe) || u(be) })), void 0, !0)
|
|
594
606
|
])) : c("", !0),
|
|
595
|
-
t.$slots.source ? (o(), n("div",
|
|
607
|
+
t.$slots.source ? (o(), n("div", Ht, [
|
|
596
608
|
f(t.$slots, "source", {}, void 0, !0)
|
|
597
609
|
], 512)) : c("", !0),
|
|
598
|
-
D.value ? c("", !0) : (o(),
|
|
610
|
+
D.value ? c("", !0) : (o(), G(at, {
|
|
599
611
|
key: 7,
|
|
600
612
|
config: {
|
|
601
613
|
type: "heatmap",
|
|
@@ -618,20 +630,20 @@ const vt = ["id"], dt = {
|
|
|
618
630
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
619
631
|
position: e.value.style.tooltip.position,
|
|
620
632
|
offsetY: e.value.style.tooltip.offsetY,
|
|
621
|
-
parent:
|
|
633
|
+
parent: j.value,
|
|
622
634
|
content: Q.value,
|
|
623
635
|
isFullscreen: F.value,
|
|
624
636
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
625
637
|
}, {
|
|
626
|
-
"tooltip-before":
|
|
627
|
-
f(t.$slots, "tooltip-before",
|
|
638
|
+
"tooltip-before": k(() => [
|
|
639
|
+
f(t.$slots, "tooltip-before", U(H({ ...B.value })), void 0, !0)
|
|
628
640
|
]),
|
|
629
|
-
"tooltip-after":
|
|
630
|
-
f(t.$slots, "tooltip-after",
|
|
641
|
+
"tooltip-after": k(() => [
|
|
642
|
+
f(t.$slots, "tooltip-after", U(H({ ...B.value })), void 0, !0)
|
|
631
643
|
]),
|
|
632
644
|
_: 3
|
|
633
645
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
634
|
-
D.value ? (o(),
|
|
646
|
+
D.value ? (o(), G(st, {
|
|
635
647
|
key: 8,
|
|
636
648
|
hideDetails: "",
|
|
637
649
|
config: {
|
|
@@ -647,7 +659,7 @@ const vt = ["id"], dt = {
|
|
|
647
659
|
}
|
|
648
660
|
}
|
|
649
661
|
}, {
|
|
650
|
-
content:
|
|
662
|
+
content: k(() => [
|
|
651
663
|
i("div", {
|
|
652
664
|
ref_key: "tableContainer",
|
|
653
665
|
ref: de,
|
|
@@ -660,9 +672,9 @@ const vt = ["id"], dt = {
|
|
|
660
672
|
i("div", {
|
|
661
673
|
role: "button",
|
|
662
674
|
tabindex: "0",
|
|
663
|
-
style:
|
|
675
|
+
style: w(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
664
676
|
onClick: l[1] || (l[1] = (s) => _.value.showTable = !1),
|
|
665
|
-
onKeypress: l[2] || (l[2] =
|
|
677
|
+
onKeypress: l[2] || (l[2] = Ee((s) => _.value.showTable = !1, ["enter"]))
|
|
666
678
|
}, [
|
|
667
679
|
se(ot, {
|
|
668
680
|
name: "close",
|
|
@@ -670,24 +682,24 @@ const vt = ["id"], dt = {
|
|
|
670
682
|
"stroke-width": 2
|
|
671
683
|
}, null, 8, ["stroke"])
|
|
672
684
|
], 36),
|
|
673
|
-
i("table",
|
|
685
|
+
i("table", Xt, [
|
|
674
686
|
i("caption", {
|
|
675
|
-
style:
|
|
687
|
+
style: w(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
676
688
|
}, [
|
|
677
|
-
|
|
678
|
-
e.value.style.title.subtitle.text ? (o(), n("span",
|
|
689
|
+
Ge(b(e.value.style.title.text) + " ", 1),
|
|
690
|
+
e.value.style.title.subtitle.text ? (o(), n("span", Dt, b(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
679
691
|
], 4),
|
|
680
692
|
i("thead", null, [
|
|
681
693
|
i("tr", {
|
|
682
694
|
role: "row",
|
|
683
|
-
style:
|
|
695
|
+
style: w(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
684
696
|
}, [
|
|
685
697
|
i("th", {
|
|
686
|
-
style:
|
|
698
|
+
style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
687
699
|
}, null, 4),
|
|
688
700
|
(o(!0), n(A, null, O(X.dataset, (s, v) => (o(), n("th", {
|
|
689
701
|
align: "right",
|
|
690
|
-
style:
|
|
702
|
+
style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
691
703
|
}, b(s.name), 5))), 256))
|
|
692
704
|
], 4)
|
|
693
705
|
]),
|
|
@@ -695,22 +707,22 @@ const vt = ["id"], dt = {
|
|
|
695
707
|
(o(!0), n(A, null, O($.value.xLabels, (s, v) => (o(), n("tr", {
|
|
696
708
|
role: "row",
|
|
697
709
|
class: K({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": v % 2 === 0, "vue-ui-data-table__tbody__row-odd": v % 2 !== 0 }),
|
|
698
|
-
style:
|
|
710
|
+
style: w(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
699
711
|
}, [
|
|
700
712
|
i("td", {
|
|
701
713
|
"data-cell": e.value.table.colNames.xAxis,
|
|
702
714
|
class: "vue-ui-data-table__tbody__td",
|
|
703
|
-
style:
|
|
715
|
+
style: w(`outline:${e.value.table.td.outline}`)
|
|
704
716
|
}, [
|
|
705
|
-
i("div",
|
|
706
|
-
], 12,
|
|
717
|
+
i("div", Wt, b(s), 1)
|
|
718
|
+
], 12, jt),
|
|
707
719
|
(o(!0), n(A, null, O(X.dataset, (y, g) => (o(), n("td", {
|
|
708
720
|
class: "vue-ui-data-table__tbody__td",
|
|
709
721
|
"data-cell": X.dataset[g].name,
|
|
710
|
-
style:
|
|
722
|
+
style: w(`outline:${e.value.table.td.outline}`)
|
|
711
723
|
}, [
|
|
712
|
-
i("div",
|
|
713
|
-
], 12,
|
|
724
|
+
i("div", qt, b(isNaN(y.values[v]) ? "-" : u(S)({ p: e.value.style.layout.dataLabels.prefix, v: y.values[v], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
725
|
+
], 12, Yt))), 256))
|
|
714
726
|
], 6))), 256))
|
|
715
727
|
])
|
|
716
728
|
])
|
|
@@ -721,7 +733,7 @@ const vt = ["id"], dt = {
|
|
|
721
733
|
}, 8, ["config"])) : c("", !0)
|
|
722
734
|
], 46, vt));
|
|
723
735
|
}
|
|
724
|
-
},
|
|
736
|
+
}, vl = /* @__PURE__ */ rt(Kt, [["__scopeId", "data-v-51a5f6f3"]]);
|
|
725
737
|
export {
|
|
726
|
-
|
|
738
|
+
vl as default
|
|
727
739
|
};
|