vue-data-ui 2.4.1 → 2.4.2
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 +44 -44
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-DLTRnzcG.cjs} +1 -1
- package/dist/{Arrow-BIs_9yK8.js → Arrow-JuK2z9IB.js} +1 -1
- package/dist/BaseIcon-BGExhz6v.cjs +1 -0
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-rRli6Sfv.js} +7 -4
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DJzhv96s.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DTk7C4Pr.js} +2 -2
- package/dist/{Legend-DXLiSLHd.js → Legend-CYF2gpXG.js} +1 -1
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-YZ7Hz3o1.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-CvCRsT5_.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
- package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
- package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-BpPn4eWR.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-X2F-QV_B.cjs} +1 -1
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-CL0tP5a5.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-CU7dRZR0.js} +2 -2
- package/dist/{Title-DYNLqCCT.js → Title-5VmBwT4i.js} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-Co5jI5ed.cjs} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cj4EF7v1.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-DnVHQ2xI.js} +880 -842
- package/dist/index-FfZRtJ6A.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +18 -16
- package/dist/types/vue-data-ui.d.ts +18 -16
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-Cox0K0Y5.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
- package/dist/usePrinter-BCAFeO_J.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-BEeNAqS5.js} +230 -185
- package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
- package/dist/vue-data-ui-W7nnqn0v.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
- package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DspS4q3f.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-BOofWpzv.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
- package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
- package/dist/{vue-ui-carousel-table-C0GDDSW9.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-BM74l93B.js} +2 -2
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-DioaBnkB.js} +2 -2
- package/dist/vue-ui-donut-CplNylps.cjs +1 -0
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-ldqSm_JV.js} +345 -321
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
- package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
- package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
- package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
- package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
- package/dist/{vue-ui-onion-D9o6Rcgu.js → vue-ui-onion-LsEhBe4x.js} +226 -202
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BcYrYXhG.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
- package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-20QhOUer.js} +255 -231
- package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-DRWJsve1.js} +2 -2
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
- package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
- package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
- package/dist/{vue-ui-skeleton-CGV1dEUD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-ChNvxygm.js} +2 -2
- package/dist/{vue-ui-spark-trend-BfoEoJEy.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
- package/dist/{vue-ui-sparkbar-DB2DeXti.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CJepIY2u.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B7B36LLT.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
- package/dist/{vue-ui-sparkline-BcqmwDAb.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DT3aKNeV.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
- package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
- package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-DQORPCDJ.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
- package/dist/{vue-ui-table-heatmap-Chvdf2Gi.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DUUYQ5dH.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
- package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-pi1SazTU.js} +5 -5
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
- package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
- package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CieqHVD5.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
- package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
- package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
- package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
- package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-CqlRuFMc.js} +775 -751
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
- package/package.json +1 -1
- package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
- package/dist/index-C7_6YjWN.cjs +0 -9
- package/dist/usePrinter-8EP4iaGm.cjs +0 -1
- package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
- package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
- package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
- package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
- package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
- package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
- package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
- package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
- package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
- package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
- package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
- package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
- package/dist/vue-ui-gauge-BXiy515T.js +0 -494
- package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
- package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
- package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
- package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
- package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
- package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
- package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
- package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
- package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
- package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
- package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
- package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
- package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
- package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
- package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
- package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
- package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
- package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
- package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
- package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
- package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
- package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
- package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
- package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
- package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
- package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
- package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
- package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
- package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
- package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { u as
|
|
10
|
-
import { _ as
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { useCssVars as Oe, computed as h, ref as p, watch as we, onMounted as Ne, openBlock as s, createElementBlock as n, normalizeClass as K, normalizeStyle as x, createBlock as G, createCommentVNode as c, unref as i, createSlots as Fe, withCtx as w, renderSlot as m, normalizeProps as X, guardReactiveProps as H, createVNode as oe, Fragment as A, renderList as S, createElementVNode as u, toDisplayString as f, withKeys as Pe, createTextVNode as Ve, nextTick as Ie } from "vue";
|
|
2
|
+
import { u as Be, o as Re, e as _e, c as se, t as Ee, M as Ge, g as Xe, N as ue, X as He, F as ne, i as F, f as O, v as z, x as De, y as Ue, q as Ye, r as je } from "./index-DnVHQ2xI.js";
|
|
3
|
+
import { _ as We } from "./Title-5VmBwT4i.js";
|
|
4
|
+
import { u as qe, U as Ke } from "./usePrinter-BEeNAqS5.js";
|
|
5
|
+
import { _ as Je } from "./Tooltip-Cj4EF7v1.js";
|
|
6
|
+
import Qe from "./vue-ui-skeleton-aZmkNzAe.js";
|
|
7
|
+
import Ze from "./BaseIcon-rRli6Sfv.js";
|
|
8
|
+
import et from "./vue-ui-accordion-DspS4q3f.js";
|
|
9
|
+
import { u as ke } from "./useNestedProp-Cox0K0Y5.js";
|
|
10
|
+
import { _ as tt } from "./PackageVersion-CvCRsT5_.js";
|
|
11
|
+
import { P as lt } from "./PenAndPaper-Jb0pLt3G.js";
|
|
12
|
+
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const ot = ["id"], st = {
|
|
14
|
+
key: 1,
|
|
14
15
|
style: "width:100%;background:transparent"
|
|
15
|
-
},
|
|
16
|
+
}, ut = ["xmlns", "viewBox"], nt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], it = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], rt = ["font-size", "font-weight", "fill", "x", "y"], vt = ["x", "y", "width", "height", "onMouseover"], dt = { key: 0 }, yt = ["font-size", "fill", "x", "y", "font-weight"], ct = { key: 0 }, ht = ["text-anchor", "font-size", "fill", "font-weight", "transform"], pt = { key: 1 }, gt = ["x", "y", "width", "height", "stroke", "stroke-width"], ft = { key: 2 }, bt = ["id"], mt = ["stop-color"], xt = ["stop-color"], wt = ["x", "y", "font-size", "fill"], _t = ["x", "y", "height", "rx", "fill"], kt = ["x", "y", "font-size", "fill"], $t = ["stroke", "x1", "x2", "y1", "y2"], Ct = ["fill", "d"], Lt = { key: 3 }, At = {
|
|
16
17
|
id: "colorScaleHorizontal",
|
|
17
18
|
x1: "0%",
|
|
18
19
|
x2: "100%",
|
|
19
20
|
y1: "0%",
|
|
20
21
|
y2: "0%"
|
|
21
|
-
},
|
|
22
|
-
key:
|
|
22
|
+
}, zt = ["stop-color"], Tt = ["stop-color"], Mt = ["x", "y", "width", "height", "rx"], St = ["x", "y", "font-size", "fill"], Ot = ["x", "y", "font-size", "fill"], Nt = ["stroke", "x1", "x2", "y1", "y2"], Ft = ["fill", "d"], Pt = {
|
|
23
|
+
key: 4,
|
|
23
24
|
class: "vue-data-ui-watermark"
|
|
24
|
-
},
|
|
25
|
+
}, Vt = { class: "vue-ui-data-table" }, It = { key: 0 }, Bt = ["data-cell"], Rt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Et = ["data-cell"], Gt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Xt = {
|
|
25
26
|
__name: "vue-ui-heatmap",
|
|
26
27
|
props: {
|
|
27
28
|
config: {
|
|
@@ -37,88 +38,88 @@ const tt = ["id"], lt = {
|
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
},
|
|
40
|
-
setup(
|
|
41
|
-
const r =
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
setup(D, { expose: $e }) {
|
|
42
|
+
const r = D;
|
|
43
|
+
Oe((t) => ({
|
|
44
|
+
ac37324c: t.tdo
|
|
44
45
|
}));
|
|
45
|
-
const { vue_ui_heatmap:
|
|
46
|
-
|
|
46
|
+
const { vue_ui_heatmap: Ce } = Be(), U = h(() => !!r.dataset && r.dataset.length);
|
|
47
|
+
Re(r.dataset) && _e({
|
|
47
48
|
componentName: "VueUiHeatmap",
|
|
48
49
|
type: "dataset"
|
|
49
50
|
});
|
|
50
|
-
const
|
|
51
|
-
get: () =>
|
|
51
|
+
const P = p(se()), Y = p(null), Le = p(null), J = p(!1), Q = p(""), ie = p(void 0), V = p(null), re = p(0), ve = p(null), de = p(!1), ye = p(0), e = h({
|
|
52
|
+
get: () => ce(),
|
|
52
53
|
set: (t) => t
|
|
53
54
|
});
|
|
54
|
-
function
|
|
55
|
-
const t =
|
|
55
|
+
function ce() {
|
|
56
|
+
const t = ke({
|
|
56
57
|
userConfig: r.config,
|
|
57
|
-
defaultConfig:
|
|
58
|
+
defaultConfig: Ce
|
|
58
59
|
});
|
|
59
60
|
let a = {};
|
|
60
61
|
return t.theme ? a = {
|
|
61
|
-
...
|
|
62
|
-
userConfig:
|
|
62
|
+
...ke({
|
|
63
|
+
userConfig: Ee.vue_ui_heatmap[t.theme] || r.config,
|
|
63
64
|
defaultConfig: t
|
|
64
65
|
})
|
|
65
|
-
} : a = t, r.config &&
|
|
66
|
+
} : a = t, r.config && Ge(r.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? a.style.layout.dataLabels.xAxis.showOnlyAtModulo = r.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : a.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, a;
|
|
66
67
|
}
|
|
67
|
-
|
|
68
|
-
e.value =
|
|
69
|
-
}, { deep: !0 }),
|
|
70
|
-
|
|
68
|
+
we(() => r.config, (t) => {
|
|
69
|
+
e.value = ce(), Z(), ye.value += 1;
|
|
70
|
+
}, { deep: !0 }), we(() => r.dataset, () => {
|
|
71
|
+
Z();
|
|
71
72
|
}, { deep: !0 });
|
|
72
|
-
const { isPrinting:
|
|
73
|
-
elementId: `heatmap__${
|
|
73
|
+
const { isPrinting: he, isImaging: pe, generatePdf: ge, generateImage: fe } = qe({
|
|
74
|
+
elementId: `heatmap__${P.value}`,
|
|
74
75
|
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
75
|
-
}),
|
|
76
|
+
}), _ = p({
|
|
76
77
|
showTable: e.value.table.show,
|
|
77
78
|
showTooltip: e.value.style.tooltip.show
|
|
78
|
-
}),
|
|
79
|
-
function
|
|
79
|
+
}), Ae = h(() => e.value.table.responsiveBreakpoint);
|
|
80
|
+
function ze() {
|
|
80
81
|
new ResizeObserver((a) => {
|
|
81
82
|
a.forEach((o) => {
|
|
82
|
-
|
|
83
|
+
de.value = o.contentRect.width < Ae.value;
|
|
83
84
|
});
|
|
84
|
-
}).observe(
|
|
85
|
+
}).observe(ve.value);
|
|
85
86
|
}
|
|
86
|
-
|
|
87
|
-
function
|
|
88
|
-
|
|
87
|
+
Ne(Z);
|
|
88
|
+
function Z() {
|
|
89
|
+
ze();
|
|
89
90
|
}
|
|
90
|
-
const
|
|
91
|
-
const t = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + r.dataset.length * e.value.style.layout.cells.height, a = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (
|
|
91
|
+
const N = h(() => Math.max(...r.dataset.flatMap((t) => (t.values || []).length))), k = h(() => {
|
|
92
|
+
const t = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + r.dataset.length * e.value.style.layout.cells.height, a = 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, o = t + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
|
|
92
93
|
return {
|
|
93
94
|
height: t,
|
|
94
95
|
heightWithLegend: o,
|
|
95
96
|
width: a
|
|
96
97
|
};
|
|
97
|
-
}),
|
|
98
|
+
}), j = h(() => e.value.style.legend.position), l = h(() => ({
|
|
98
99
|
top: e.value.style.layout.padding.top,
|
|
99
100
|
left: e.value.style.layout.padding.left,
|
|
100
|
-
right:
|
|
101
|
-
bottom:
|
|
102
|
-
height:
|
|
103
|
-
width:
|
|
104
|
-
})),
|
|
101
|
+
right: k.value.width - e.value.style.layout.padding.right - (j.value === "right" && e.value.style.legend.show ? 92 : 0),
|
|
102
|
+
bottom: k.value.height - e.value.style.layout.padding.bottom,
|
|
103
|
+
height: k.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
104
|
+
width: k.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (j.value === "right" && e.value.style.legend.show ? 92 : 0)
|
|
105
|
+
})), ee = h(() => d.value.height * r.dataset.length), b = h(() => Math.max(...r.dataset.flatMap((t) => t.values))), T = h(() => Math.min(...r.dataset.flatMap((t) => t.values))), M = h(() => {
|
|
105
106
|
const t = r.dataset.flatMap((o) => o.values);
|
|
106
107
|
return t.reduce((o, v) => o + v, 0) / t.length;
|
|
107
108
|
}), d = h(() => ({
|
|
108
|
-
width: l.value.width /
|
|
109
|
-
height: l.value.width / (
|
|
109
|
+
width: l.value.width / N.value,
|
|
110
|
+
height: l.value.width / (N.value < r.dataset.length ? r.dataset.length : N.value)
|
|
110
111
|
})), $ = h(() => {
|
|
111
112
|
const t = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : r.dataset.map((o) => o.name), a = e.value.style.layout.dataLabels.xAxis.values;
|
|
112
113
|
return {
|
|
113
114
|
yLabels: t,
|
|
114
|
-
xLabels: a.slice(0,
|
|
115
|
+
xLabels: a.slice(0, N.value)
|
|
115
116
|
};
|
|
116
|
-
}),
|
|
117
|
-
|
|
117
|
+
}), W = h(() => (r.dataset.forEach((t, a) => {
|
|
118
|
+
Xe({
|
|
118
119
|
datasetObject: t,
|
|
119
120
|
requiredAttributes: ["values"]
|
|
120
121
|
}).forEach((o) => {
|
|
121
|
-
|
|
122
|
+
_e({
|
|
122
123
|
componentName: "VueUiHeatmap",
|
|
123
124
|
type: "datasetSerieAttribute",
|
|
124
125
|
property: "values",
|
|
@@ -129,64 +130,64 @@ const tt = ["id"], lt = {
|
|
|
129
130
|
...t,
|
|
130
131
|
temperatures: (t.values || []).map((a, o) => a >= M.value ? {
|
|
131
132
|
side: "up",
|
|
132
|
-
color:
|
|
133
|
+
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
|
|
133
134
|
ratio: Math.abs(Math.abs(a - M.value) / Math.abs(b.value - M.value)) > 1 ? 1 : Math.abs(Math.abs(a - M.value) / Math.abs(b.value - M.value)),
|
|
134
135
|
value: a,
|
|
135
136
|
yAxisName: t.name,
|
|
136
137
|
xAxisName: $.value.xLabels[o],
|
|
137
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
138
|
+
id: `vue-data-ui-heatmap-cell-${se()}`
|
|
138
139
|
} : {
|
|
139
140
|
side: "down",
|
|
140
141
|
ratio: Math.abs(1 - Math.abs(a) / Math.abs(M.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(M.value)),
|
|
141
|
-
color:
|
|
142
|
+
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
|
|
142
143
|
value: a,
|
|
143
144
|
yAxisName: t.name,
|
|
144
145
|
xAxisName: $.value.xLabels[o],
|
|
145
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
146
|
+
id: `vue-data-ui-heatmap-cell-${se()}`
|
|
146
147
|
})
|
|
147
148
|
})))), C = p(null), I = p(null);
|
|
148
|
-
function
|
|
149
|
-
|
|
150
|
-
const { value: y, yAxisName: g, xAxisName: L, id:
|
|
151
|
-
|
|
149
|
+
function Te(t, a, o, v) {
|
|
150
|
+
V.value = { x: o, y: v };
|
|
151
|
+
const { value: y, yAxisName: g, xAxisName: L, id: Se } = t;
|
|
152
|
+
ie.value = Se, C.value = y, I.value = {
|
|
152
153
|
datapoint: t,
|
|
153
154
|
seriesIndex: a,
|
|
154
|
-
series:
|
|
155
|
+
series: W.value,
|
|
155
156
|
config: e.value
|
|
156
|
-
},
|
|
157
|
-
let
|
|
158
|
-
const
|
|
159
|
-
|
|
157
|
+
}, J.value = !0;
|
|
158
|
+
let le = "";
|
|
159
|
+
const ae = e.value.style.tooltip.customFormat;
|
|
160
|
+
De(ae) && Ue(() => ae({
|
|
160
161
|
datapoint: t,
|
|
161
162
|
seriesIndex: a,
|
|
162
|
-
series:
|
|
163
|
+
series: W.value,
|
|
163
164
|
config: e.value
|
|
164
|
-
})) ?
|
|
165
|
+
})) ? Q.value = ae({
|
|
165
166
|
datapoint: t,
|
|
166
167
|
seriesIndex: a,
|
|
167
|
-
series:
|
|
168
|
+
series: W.value,
|
|
168
169
|
config: e.value
|
|
169
|
-
}) : (
|
|
170
|
+
}) : (le += `<div>${g} ${L ? `${L}` : ""}</div>`, le += `<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:${ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, y)}">⬤</span><span>${isNaN(y) ? "-" : F(
|
|
170
171
|
e.value.style.layout.cells.value.formatter,
|
|
171
172
|
y,
|
|
172
|
-
|
|
173
|
+
O({
|
|
173
174
|
p: e.value.style.layout.dataLabels.prefix,
|
|
174
175
|
v: y,
|
|
175
176
|
s: e.value.style.layout.dataLabels.suffix,
|
|
176
177
|
r: e.value.style.tooltip.roundingValue
|
|
177
178
|
}),
|
|
178
179
|
{ datapoint: t, seriesIndex: a }
|
|
179
|
-
)}</span></div>`,
|
|
180
|
+
)}</span></div>`, Q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${le}</div>`);
|
|
180
181
|
}
|
|
181
|
-
const B = h(() => l.value.top +
|
|
182
|
+
const B = h(() => l.value.top + ee.value * (1 - C.value / b.value)), R = h(() => l.value.left + (k.value.width - l.value.left - e.value.style.layout.padding.right) * (C.value / b.value));
|
|
182
183
|
h(() => {
|
|
183
184
|
const t = r.dataset.map((o) => ({
|
|
184
185
|
name: o.name
|
|
185
186
|
})), a = r.dataset.map((o) => o.values);
|
|
186
187
|
return { head: t, body: a };
|
|
187
188
|
});
|
|
188
|
-
function
|
|
189
|
-
|
|
189
|
+
function be() {
|
|
190
|
+
Ie(() => {
|
|
190
191
|
const t = ["", ...r.dataset.map((y, g) => y.name)], a = [];
|
|
191
192
|
for (let y = 0; y < $.value.xLabels.length; y += 1) {
|
|
192
193
|
const g = [$.value.xLabels[y]];
|
|
@@ -194,36 +195,49 @@ const tt = ["id"], lt = {
|
|
|
194
195
|
g.push([r.dataset[L].values[y]]);
|
|
195
196
|
a.push(g);
|
|
196
197
|
}
|
|
197
|
-
const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), v =
|
|
198
|
-
|
|
198
|
+
const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), v = Ye(o);
|
|
199
|
+
je({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
199
200
|
});
|
|
200
201
|
}
|
|
201
202
|
const E = p(!1);
|
|
202
|
-
function
|
|
203
|
-
E.value = t,
|
|
203
|
+
function Me(t) {
|
|
204
|
+
E.value = t, re.value += 1;
|
|
204
205
|
}
|
|
205
|
-
function
|
|
206
|
-
|
|
206
|
+
function me() {
|
|
207
|
+
_.value.showTable = !_.value.showTable;
|
|
207
208
|
}
|
|
208
|
-
function
|
|
209
|
-
|
|
209
|
+
function xe() {
|
|
210
|
+
_.value.showTooltip = !_.value.showTooltip;
|
|
211
|
+
}
|
|
212
|
+
const q = p(!1);
|
|
213
|
+
function te() {
|
|
214
|
+
q.value = !q.value;
|
|
210
215
|
}
|
|
211
|
-
return
|
|
212
|
-
generatePdf:
|
|
213
|
-
generateCsv:
|
|
214
|
-
generateImage:
|
|
215
|
-
toggleTable:
|
|
216
|
-
toggleTooltip:
|
|
216
|
+
return $e({
|
|
217
|
+
generatePdf: ge,
|
|
218
|
+
generateCsv: be,
|
|
219
|
+
generateImage: fe,
|
|
220
|
+
toggleTable: me,
|
|
221
|
+
toggleTooltip: xe,
|
|
222
|
+
toggleAnnotator: te
|
|
217
223
|
}), (t, a) => (s(), n("div", {
|
|
218
224
|
ref_key: "heatmapChart",
|
|
219
|
-
ref:
|
|
220
|
-
class:
|
|
221
|
-
style:
|
|
222
|
-
id: `heatmap__${
|
|
225
|
+
ref: Y,
|
|
226
|
+
class: K(`vue-ui-heatmap ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
227
|
+
style: x(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}`),
|
|
228
|
+
id: `heatmap__${P.value}`
|
|
223
229
|
}, [
|
|
224
|
-
e.value.
|
|
225
|
-
|
|
226
|
-
|
|
230
|
+
e.value.userOptions.buttons.annotator ? (s(), G(lt, {
|
|
231
|
+
key: 0,
|
|
232
|
+
parent: Y.value,
|
|
233
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
234
|
+
color: e.value.style.color,
|
|
235
|
+
active: q.value,
|
|
236
|
+
onClose: te
|
|
237
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
238
|
+
e.value.style.title.text ? (s(), n("div", st, [
|
|
239
|
+
(s(), G(We, {
|
|
240
|
+
key: `title_${ye.value}`,
|
|
227
241
|
config: {
|
|
228
242
|
title: {
|
|
229
243
|
cy: "heatmap-div-title",
|
|
@@ -236,15 +250,15 @@ const tt = ["id"], lt = {
|
|
|
236
250
|
}
|
|
237
251
|
}, null, 8, ["config"]))
|
|
238
252
|
])) : c("", !0),
|
|
239
|
-
e.value.userOptions.show &&
|
|
253
|
+
e.value.userOptions.show && U.value ? (s(), G(Ke, {
|
|
240
254
|
ref_key: "details",
|
|
241
|
-
ref:
|
|
242
|
-
key: `user_options_${
|
|
255
|
+
ref: Le,
|
|
256
|
+
key: `user_options_${re.value}`,
|
|
243
257
|
backgroundColor: e.value.style.backgroundColor,
|
|
244
258
|
color: e.value.style.color,
|
|
245
|
-
isImaging: i(
|
|
246
|
-
isPrinting: i(
|
|
247
|
-
uid:
|
|
259
|
+
isImaging: i(pe),
|
|
260
|
+
isPrinting: i(he),
|
|
261
|
+
uid: P.value,
|
|
248
262
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
249
263
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
250
264
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -252,69 +266,79 @@ const tt = ["id"], lt = {
|
|
|
252
266
|
hasTable: e.value.userOptions.buttons.table,
|
|
253
267
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
254
268
|
isFullscreen: E.value,
|
|
255
|
-
isTooltip:
|
|
269
|
+
isTooltip: _.value.showTooltip,
|
|
256
270
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
257
|
-
chartElement:
|
|
271
|
+
chartElement: Y.value,
|
|
258
272
|
position: e.value.userOptions.position,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
273
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
274
|
+
isAnnotation: q.value,
|
|
275
|
+
onToggleFullscreen: Me,
|
|
276
|
+
onGeneratePdf: i(ge),
|
|
277
|
+
onGenerateCsv: be,
|
|
278
|
+
onGenerateImage: i(fe),
|
|
279
|
+
onToggleTable: me,
|
|
280
|
+
onToggleTooltip: xe,
|
|
281
|
+
onToggleAnnotator: te
|
|
282
|
+
}, Fe({ _: 2 }, [
|
|
266
283
|
t.$slots.optionTooltip ? {
|
|
267
284
|
name: "optionTooltip",
|
|
268
|
-
fn:
|
|
269
|
-
|
|
285
|
+
fn: w(() => [
|
|
286
|
+
m(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
270
287
|
]),
|
|
271
288
|
key: "0"
|
|
272
289
|
} : void 0,
|
|
273
290
|
t.$slots.optionPdf ? {
|
|
274
291
|
name: "optionPdf",
|
|
275
|
-
fn:
|
|
276
|
-
|
|
292
|
+
fn: w(() => [
|
|
293
|
+
m(t.$slots, "optionPdf", {}, void 0, !0)
|
|
277
294
|
]),
|
|
278
295
|
key: "1"
|
|
279
296
|
} : void 0,
|
|
280
297
|
t.$slots.optionCsv ? {
|
|
281
298
|
name: "optionCsv",
|
|
282
|
-
fn:
|
|
283
|
-
|
|
299
|
+
fn: w(() => [
|
|
300
|
+
m(t.$slots, "optionCsv", {}, void 0, !0)
|
|
284
301
|
]),
|
|
285
302
|
key: "2"
|
|
286
303
|
} : void 0,
|
|
287
304
|
t.$slots.optionImg ? {
|
|
288
305
|
name: "optionImg",
|
|
289
|
-
fn:
|
|
290
|
-
|
|
306
|
+
fn: w(() => [
|
|
307
|
+
m(t.$slots, "optionImg", {}, void 0, !0)
|
|
291
308
|
]),
|
|
292
309
|
key: "3"
|
|
293
310
|
} : void 0,
|
|
294
311
|
t.$slots.optionTable ? {
|
|
295
312
|
name: "optionTable",
|
|
296
|
-
fn:
|
|
297
|
-
|
|
313
|
+
fn: w(() => [
|
|
314
|
+
m(t.$slots, "optionTable", {}, void 0, !0)
|
|
298
315
|
]),
|
|
299
316
|
key: "4"
|
|
300
317
|
} : void 0,
|
|
301
318
|
t.$slots.optionFullscreen ? {
|
|
302
319
|
name: "optionFullscreen",
|
|
303
|
-
fn:
|
|
304
|
-
|
|
320
|
+
fn: w(({ toggleFullscreen: o, isFullscreen: v }) => [
|
|
321
|
+
m(t.$slots, "optionFullscreen", X(H({ toggleFullscreen: o, isFullscreen: v })), void 0, !0)
|
|
305
322
|
]),
|
|
306
323
|
key: "5"
|
|
324
|
+
} : void 0,
|
|
325
|
+
t.$slots.optionAnnotator ? {
|
|
326
|
+
name: "optionAnnotator",
|
|
327
|
+
fn: w(({ toggleAnnotator: o, isAnnotator: v }) => [
|
|
328
|
+
m(t.$slots, "optionAnnotator", X(H({ toggleAnnotator: o, isAnnotator: v })), void 0, !0)
|
|
329
|
+
]),
|
|
330
|
+
key: "6"
|
|
307
331
|
} : void 0
|
|
308
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
309
|
-
|
|
310
|
-
key:
|
|
311
|
-
xmlns: i(
|
|
312
|
-
class:
|
|
313
|
-
viewBox: `0 0 ${
|
|
314
|
-
style:
|
|
332
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
333
|
+
U.value ? (s(), n("svg", {
|
|
334
|
+
key: 3,
|
|
335
|
+
xmlns: i(He),
|
|
336
|
+
class: K({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
337
|
+
viewBox: `0 0 ${k.value.width} ${k.value.heightWithLegend}`,
|
|
338
|
+
style: x(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
315
339
|
}, [
|
|
316
|
-
|
|
317
|
-
(s(!0), n(A, null, S(
|
|
340
|
+
oe(tt),
|
|
341
|
+
(s(!0), n(A, null, S(W.value, (o, v) => (s(), n("g", null, [
|
|
318
342
|
(s(!0), n(A, null, S(o.temperatures, (y, g) => (s(), n("g", null, [
|
|
319
343
|
u("rect", {
|
|
320
344
|
x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
@@ -324,7 +348,7 @@ const tt = ["id"], lt = {
|
|
|
324
348
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
325
349
|
stroke: e.value.style.backgroundColor,
|
|
326
350
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
327
|
-
}, null, 8,
|
|
351
|
+
}, null, 8, nt),
|
|
328
352
|
u("rect", {
|
|
329
353
|
x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
330
354
|
y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
@@ -333,26 +357,26 @@ const tt = ["id"], lt = {
|
|
|
333
357
|
fill: y.color,
|
|
334
358
|
stroke: e.value.style.backgroundColor,
|
|
335
359
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
336
|
-
}, null, 8,
|
|
360
|
+
}, null, 8, it),
|
|
337
361
|
e.value.style.layout.cells.value.show ? (s(), n("text", {
|
|
338
362
|
key: 0,
|
|
339
363
|
"text-anchor": "middle",
|
|
340
364
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
341
365
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
342
|
-
fill: i(
|
|
366
|
+
fill: i(ne)(y.color),
|
|
343
367
|
x: l.value.left + d.value.width * g + d.value.width / 2,
|
|
344
368
|
y: l.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
345
369
|
}, f(i(F)(
|
|
346
370
|
e.value.style.layout.cells.value.formatter,
|
|
347
371
|
y.value,
|
|
348
|
-
i(
|
|
372
|
+
i(O)({
|
|
349
373
|
p: e.value.style.layout.dataLabels.prefix,
|
|
350
374
|
v: y.value,
|
|
351
375
|
s: e.value.style.layout.dataLabels.suffix,
|
|
352
376
|
r: e.value.style.layout.cells.value.roundingValue
|
|
353
377
|
}),
|
|
354
378
|
{ datapoint: y }
|
|
355
|
-
)), 9,
|
|
379
|
+
)), 9, rt)) : c("", !0)
|
|
356
380
|
]))), 256)),
|
|
357
381
|
(s(!0), n(A, null, S(o.temperatures, (y, g) => (s(), n("g", null, [
|
|
358
382
|
u("rect", {
|
|
@@ -362,13 +386,13 @@ const tt = ["id"], lt = {
|
|
|
362
386
|
height: d.value.height,
|
|
363
387
|
fill: "transparent",
|
|
364
388
|
stroke: "none",
|
|
365
|
-
onMouseover: (L) =>
|
|
389
|
+
onMouseover: (L) => Te(y, v, l.value.left + d.value.width * g, l.value.top + d.value.height * v),
|
|
366
390
|
onMouseout: a[0] || (a[0] = (L) => {
|
|
367
|
-
|
|
391
|
+
J.value = !1, ie.value = void 0, C.value = null, V.value = null;
|
|
368
392
|
})
|
|
369
|
-
}, null, 40,
|
|
393
|
+
}, null, 40, vt)
|
|
370
394
|
]))), 256)),
|
|
371
|
-
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g",
|
|
395
|
+
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", dt, [
|
|
372
396
|
u("text", {
|
|
373
397
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
374
398
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
@@ -376,10 +400,10 @@ const tt = ["id"], lt = {
|
|
|
376
400
|
y: l.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,
|
|
377
401
|
"text-anchor": "end",
|
|
378
402
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
379
|
-
}, f($.value.yLabels[v]), 9,
|
|
403
|
+
}, f($.value.yLabels[v]), 9, yt)
|
|
380
404
|
])) : c("", !0)
|
|
381
405
|
]))), 256)),
|
|
382
|
-
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g",
|
|
406
|
+
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", ct, [
|
|
383
407
|
(s(!0), n(A, null, S($.value.xLabels, (o, v) => (s(), n(A, null, [
|
|
384
408
|
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (s(), n("text", {
|
|
385
409
|
key: 0,
|
|
@@ -388,38 +412,38 @@ const tt = ["id"], lt = {
|
|
|
388
412
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
389
413
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
390
414
|
transform: `translate(${l.value.left + d.value.width / 2 + l.value.width / $.value.xLabels.length * v + e.value.style.layout.dataLabels.xAxis.offsetX}, ${l.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
391
|
-
}, f(o), 9,
|
|
415
|
+
}, f(o), 9, ht)) : c("", !0)
|
|
392
416
|
], 64))), 256))
|
|
393
417
|
])) : c("", !0),
|
|
394
|
-
|
|
418
|
+
V.value ? (s(), n("g", pt, [
|
|
395
419
|
u("rect", {
|
|
396
420
|
style: { "pointer-events": "none" },
|
|
397
|
-
x:
|
|
398
|
-
y:
|
|
421
|
+
x: V.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
422
|
+
y: V.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
399
423
|
width: d.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
400
424
|
height: d.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
401
425
|
fill: "transparent",
|
|
402
426
|
stroke: e.value.style.layout.cells.selected.color,
|
|
403
427
|
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
404
428
|
rx: 1
|
|
405
|
-
}, null, 8,
|
|
429
|
+
}, null, 8, gt)
|
|
406
430
|
])) : c("", !0),
|
|
407
|
-
e.value.style.legend.show &&
|
|
431
|
+
e.value.style.legend.show && j.value === "right" ? (s(), n("g", ft, [
|
|
408
432
|
u("defs", null, [
|
|
409
433
|
u("linearGradient", {
|
|
410
|
-
id: `colorScaleVertical_${
|
|
434
|
+
id: `colorScaleVertical_${P.value}`,
|
|
411
435
|
x2: "0%",
|
|
412
436
|
y2: "100%"
|
|
413
437
|
}, [
|
|
414
438
|
u("stop", {
|
|
415
439
|
offset: "0%",
|
|
416
440
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
417
|
-
}, null, 8,
|
|
441
|
+
}, null, 8, mt),
|
|
418
442
|
u("stop", {
|
|
419
443
|
offset: "100%",
|
|
420
444
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
421
|
-
}, null, 8,
|
|
422
|
-
], 8,
|
|
445
|
+
}, null, 8, xt)
|
|
446
|
+
], 8, bt)
|
|
423
447
|
]),
|
|
424
448
|
u("text", {
|
|
425
449
|
x: l.value.right + 36 + 18,
|
|
@@ -430,74 +454,74 @@ const tt = ["id"], lt = {
|
|
|
430
454
|
}, f(i(F)(
|
|
431
455
|
e.value.style.layout.cells.value.formatter,
|
|
432
456
|
i(z)(b.value),
|
|
433
|
-
i(
|
|
457
|
+
i(O)({
|
|
434
458
|
p: e.value.style.layout.dataLabels.prefix,
|
|
435
459
|
v: i(z)(b.value),
|
|
436
460
|
s: e.value.style.layout.dataLabels.suffix,
|
|
437
461
|
r: e.value.style.legend.roundingValue
|
|
438
462
|
})
|
|
439
|
-
)), 9,
|
|
463
|
+
)), 9, wt),
|
|
440
464
|
u("rect", {
|
|
441
465
|
x: l.value.right + 36,
|
|
442
466
|
y: l.value.top,
|
|
443
467
|
width: 36,
|
|
444
|
-
height:
|
|
468
|
+
height: ee.value,
|
|
445
469
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
446
|
-
fill: `url(#colorScaleVertical_${
|
|
447
|
-
}, null, 8,
|
|
470
|
+
fill: `url(#colorScaleVertical_${P.value})`
|
|
471
|
+
}, null, 8, _t),
|
|
448
472
|
u("text", {
|
|
449
473
|
x: l.value.right + 36 + 18,
|
|
450
|
-
y: l.value.top +
|
|
474
|
+
y: l.value.top + ee.value + e.value.style.legend.fontSize * 2.5,
|
|
451
475
|
"text-anchor": "middle",
|
|
452
476
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
453
477
|
fill: e.value.style.legend.color
|
|
454
478
|
}, f(i(F)(
|
|
455
479
|
e.value.style.layout.cells.value.formatter,
|
|
456
480
|
i(z)(T.value),
|
|
457
|
-
i(
|
|
481
|
+
i(O)({
|
|
458
482
|
p: e.value.style.layout.dataLabels.prefix,
|
|
459
483
|
v: i(z)(T.value),
|
|
460
484
|
s: e.value.style.layout.dataLabels.suffix,
|
|
461
485
|
r: e.value.style.legend.roundingValue
|
|
462
486
|
})
|
|
463
|
-
)), 9,
|
|
487
|
+
)), 9, kt),
|
|
464
488
|
C.value !== null ? (s(), n("line", {
|
|
465
489
|
key: 0,
|
|
466
|
-
stroke: i(
|
|
490
|
+
stroke: i(ne)(I.value.datapoint.color),
|
|
467
491
|
"stroke-width": "2",
|
|
468
492
|
x1: l.value.right + 36,
|
|
469
493
|
x2: l.value.right + 72,
|
|
470
494
|
y1: B.value,
|
|
471
495
|
y2: B.value
|
|
472
|
-
}, null, 8,
|
|
496
|
+
}, null, 8, $t)) : c("", !0),
|
|
473
497
|
C.value !== null ? (s(), n("path", {
|
|
474
498
|
key: 1,
|
|
475
499
|
fill: e.value.style.color,
|
|
476
500
|
stroke: "none",
|
|
477
501
|
d: `M ${l.value.right + 36},${B.value} ${l.value.right + 26},${B.value - 8} ${l.value.right + 26},${B.value + 8}z`
|
|
478
|
-
}, null, 8,
|
|
502
|
+
}, null, 8, Ct)) : c("", !0)
|
|
479
503
|
])) : c("", !0),
|
|
480
|
-
e.value.style.legend.show &&
|
|
504
|
+
e.value.style.legend.show && j.value === "bottom" ? (s(), n("g", Lt, [
|
|
481
505
|
u("defs", null, [
|
|
482
|
-
u("linearGradient",
|
|
506
|
+
u("linearGradient", At, [
|
|
483
507
|
u("stop", {
|
|
484
508
|
offset: "0%",
|
|
485
509
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
486
|
-
}, null, 8,
|
|
510
|
+
}, null, 8, zt),
|
|
487
511
|
u("stop", {
|
|
488
512
|
offset: "100%",
|
|
489
513
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
490
|
-
}, null, 8,
|
|
514
|
+
}, null, 8, Tt)
|
|
491
515
|
])
|
|
492
516
|
]),
|
|
493
517
|
u("rect", {
|
|
494
518
|
x: l.value.left,
|
|
495
519
|
y: l.value.bottom + e.value.style.layout.cells.height,
|
|
496
|
-
width:
|
|
520
|
+
width: k.value.width - l.value.left - e.value.style.layout.padding.right,
|
|
497
521
|
height: e.value.style.layout.cells.height,
|
|
498
522
|
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,
|
|
499
523
|
fill: "url(#colorScaleHorizontal)"
|
|
500
|
-
}, null, 8,
|
|
524
|
+
}, null, 8, Mt),
|
|
501
525
|
u("text", {
|
|
502
526
|
x: l.value.left,
|
|
503
527
|
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -507,13 +531,13 @@ const tt = ["id"], lt = {
|
|
|
507
531
|
}, f(i(F)(
|
|
508
532
|
e.value.style.layout.cells.value.formatter,
|
|
509
533
|
i(z)(T.value),
|
|
510
|
-
i(
|
|
534
|
+
i(O)({
|
|
511
535
|
p: e.value.style.layout.dataLabels.prefix,
|
|
512
536
|
v: i(z)(T.value),
|
|
513
537
|
s: e.value.style.layout.dataLabels.suffix,
|
|
514
538
|
r: e.value.style.legend.roundingValue
|
|
515
539
|
})
|
|
516
|
-
)), 9,
|
|
540
|
+
)), 9, St),
|
|
517
541
|
u("text", {
|
|
518
542
|
x: l.value.right,
|
|
519
543
|
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
@@ -523,36 +547,36 @@ const tt = ["id"], lt = {
|
|
|
523
547
|
}, f(i(F)(
|
|
524
548
|
e.value.style.layout.cells.value.formatter,
|
|
525
549
|
i(z)(b.value),
|
|
526
|
-
i(
|
|
550
|
+
i(O)({
|
|
527
551
|
p: e.value.style.layout.dataLabels.prefix,
|
|
528
552
|
v: i(z)(b.value),
|
|
529
553
|
s: e.value.style.layout.dataLabels.suffix,
|
|
530
554
|
r: e.value.style.legend.roundingValue
|
|
531
555
|
})
|
|
532
|
-
)), 9,
|
|
556
|
+
)), 9, Ot),
|
|
533
557
|
C.value !== null ? (s(), n("line", {
|
|
534
558
|
key: 0,
|
|
535
|
-
stroke: i(
|
|
559
|
+
stroke: i(ne)(I.value.datapoint.color),
|
|
536
560
|
"stroke-width": "2",
|
|
537
561
|
x1: R.value,
|
|
538
562
|
x2: R.value,
|
|
539
563
|
y1: l.value.bottom + e.value.style.layout.cells.height,
|
|
540
564
|
y2: l.value.bottom + e.value.style.layout.cells.height * 2
|
|
541
|
-
}, null, 8,
|
|
565
|
+
}, null, 8, Nt)) : c("", !0),
|
|
542
566
|
C.value !== null ? (s(), n("path", {
|
|
543
567
|
key: 1,
|
|
544
568
|
fill: e.value.style.color,
|
|
545
569
|
stroke: "none",
|
|
546
570
|
d: `M ${R.value},${l.value.bottom + e.value.style.layout.cells.height} ${R.value - 12},${l.value.bottom + e.value.style.layout.cells.height - 20} ${R.value + 12},${l.value.bottom + e.value.style.layout.cells.height - 20}z`
|
|
547
|
-
}, null, 8,
|
|
571
|
+
}, null, 8, Ft)) : c("", !0)
|
|
548
572
|
])) : c("", !0),
|
|
549
|
-
|
|
550
|
-
], 14,
|
|
551
|
-
t.$slots.watermark ? (s(), n("div",
|
|
552
|
-
|
|
573
|
+
m(t.$slots, "svg", { svg: k.value }, void 0, !0)
|
|
574
|
+
], 14, ut)) : c("", !0),
|
|
575
|
+
t.$slots.watermark ? (s(), n("div", Pt, [
|
|
576
|
+
m(t.$slots, "watermark", X(H({ isPrinting: i(he) || i(pe) })), void 0, !0)
|
|
553
577
|
])) : c("", !0),
|
|
554
|
-
|
|
555
|
-
key:
|
|
578
|
+
U.value ? c("", !0) : (s(), G(Qe, {
|
|
579
|
+
key: 5,
|
|
556
580
|
config: {
|
|
557
581
|
type: "heatmap",
|
|
558
582
|
style: {
|
|
@@ -563,8 +587,8 @@ const tt = ["id"], lt = {
|
|
|
563
587
|
}
|
|
564
588
|
}
|
|
565
589
|
}, null, 8, ["config"])),
|
|
566
|
-
|
|
567
|
-
show:
|
|
590
|
+
oe(Je, {
|
|
591
|
+
show: _.value.showTooltip && J.value,
|
|
568
592
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
569
593
|
color: e.value.style.tooltip.color,
|
|
570
594
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -574,23 +598,23 @@ const tt = ["id"], lt = {
|
|
|
574
598
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
575
599
|
position: e.value.style.tooltip.position,
|
|
576
600
|
offsetY: e.value.style.tooltip.offsetY,
|
|
577
|
-
parent:
|
|
578
|
-
content:
|
|
601
|
+
parent: Y.value,
|
|
602
|
+
content: Q.value,
|
|
579
603
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
580
604
|
}, {
|
|
581
|
-
"tooltip-before":
|
|
582
|
-
|
|
605
|
+
"tooltip-before": w(() => [
|
|
606
|
+
m(t.$slots, "tooltip-before", X(H({ ...I.value })), void 0, !0)
|
|
583
607
|
]),
|
|
584
|
-
"tooltip-after":
|
|
585
|
-
|
|
608
|
+
"tooltip-after": w(() => [
|
|
609
|
+
m(t.$slots, "tooltip-after", X(H({ ...I.value })), void 0, !0)
|
|
586
610
|
]),
|
|
587
611
|
_: 3
|
|
588
612
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
589
|
-
|
|
590
|
-
key:
|
|
613
|
+
U.value ? (s(), G(et, {
|
|
614
|
+
key: 6,
|
|
591
615
|
hideDetails: "",
|
|
592
616
|
config: {
|
|
593
|
-
open:
|
|
617
|
+
open: _.value.showTable,
|
|
594
618
|
maxHeight: 1e4,
|
|
595
619
|
body: {
|
|
596
620
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -602,70 +626,70 @@ const tt = ["id"], lt = {
|
|
|
602
626
|
}
|
|
603
627
|
}
|
|
604
628
|
}, {
|
|
605
|
-
content:
|
|
629
|
+
content: w(() => [
|
|
606
630
|
u("div", {
|
|
607
631
|
ref_key: "tableContainer",
|
|
608
|
-
ref:
|
|
632
|
+
ref: ve,
|
|
609
633
|
class: "vue-ui-heatmap-table"
|
|
610
634
|
}, [
|
|
611
635
|
u("div", {
|
|
612
636
|
style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
|
|
613
|
-
class:
|
|
637
|
+
class: K({ "vue-ui-responsive": de.value })
|
|
614
638
|
}, [
|
|
615
639
|
u("div", {
|
|
616
640
|
role: "button",
|
|
617
641
|
tabindex: "0",
|
|
618
|
-
style:
|
|
619
|
-
onClick: a[1] || (a[1] = (o) =>
|
|
620
|
-
onKeypress: a[2] || (a[2] =
|
|
642
|
+
style: x(`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};`),
|
|
643
|
+
onClick: a[1] || (a[1] = (o) => _.value.showTable = !1),
|
|
644
|
+
onKeypress: a[2] || (a[2] = Pe((o) => _.value.showTable = !1, ["enter"]))
|
|
621
645
|
}, [
|
|
622
|
-
|
|
646
|
+
oe(Ze, {
|
|
623
647
|
name: "close",
|
|
624
648
|
stroke: e.value.table.th.color,
|
|
625
649
|
"stroke-width": 2
|
|
626
650
|
}, null, 8, ["stroke"])
|
|
627
651
|
], 36),
|
|
628
|
-
u("table",
|
|
652
|
+
u("table", Vt, [
|
|
629
653
|
u("caption", {
|
|
630
|
-
style:
|
|
654
|
+
style: x(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
631
655
|
}, [
|
|
632
|
-
|
|
633
|
-
e.value.style.title.subtitle.text ? (s(), n("span",
|
|
656
|
+
Ve(f(e.value.style.title.text) + " ", 1),
|
|
657
|
+
e.value.style.title.subtitle.text ? (s(), n("span", It, f(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
634
658
|
], 4),
|
|
635
659
|
u("thead", null, [
|
|
636
660
|
u("tr", {
|
|
637
661
|
role: "row",
|
|
638
|
-
style:
|
|
662
|
+
style: x(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
639
663
|
}, [
|
|
640
664
|
u("th", {
|
|
641
|
-
style:
|
|
665
|
+
style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
642
666
|
}, null, 4),
|
|
643
|
-
(s(!0), n(A, null, S(
|
|
667
|
+
(s(!0), n(A, null, S(D.dataset, (o, v) => (s(), n("th", {
|
|
644
668
|
align: "right",
|
|
645
|
-
style:
|
|
669
|
+
style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
646
670
|
}, f(o.name), 5))), 256))
|
|
647
671
|
], 4)
|
|
648
672
|
]),
|
|
649
673
|
u("tbody", null, [
|
|
650
674
|
(s(!0), n(A, null, S($.value.xLabels, (o, v) => (s(), n("tr", {
|
|
651
675
|
role: "row",
|
|
652
|
-
class:
|
|
653
|
-
style:
|
|
676
|
+
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 }),
|
|
677
|
+
style: x(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
654
678
|
}, [
|
|
655
679
|
u("td", {
|
|
656
680
|
"data-cell": e.value.table.colNames.xAxis,
|
|
657
681
|
class: "vue-ui-data-table__tbody__td",
|
|
658
|
-
style:
|
|
682
|
+
style: x(`outline:${e.value.table.td.outline}`)
|
|
659
683
|
}, [
|
|
660
|
-
u("div",
|
|
661
|
-
], 12,
|
|
662
|
-
(s(!0), n(A, null, S(
|
|
684
|
+
u("div", Rt, f(o), 1)
|
|
685
|
+
], 12, Bt),
|
|
686
|
+
(s(!0), n(A, null, S(D.dataset, (y, g) => (s(), n("td", {
|
|
663
687
|
class: "vue-ui-data-table__tbody__td",
|
|
664
|
-
"data-cell":
|
|
665
|
-
style:
|
|
688
|
+
"data-cell": D.dataset[g].name,
|
|
689
|
+
style: x(`outline:${e.value.table.td.outline}`)
|
|
666
690
|
}, [
|
|
667
|
-
u("div",
|
|
668
|
-
], 12,
|
|
691
|
+
u("div", Gt, f(isNaN(y.values[v]) ? "-" : i(O)({ 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)
|
|
692
|
+
], 12, Et))), 256))
|
|
669
693
|
], 6))), 256))
|
|
670
694
|
])
|
|
671
695
|
])
|
|
@@ -674,9 +698,9 @@ const tt = ["id"], lt = {
|
|
|
674
698
|
]),
|
|
675
699
|
_: 1
|
|
676
700
|
}, 8, ["config"])) : c("", !0)
|
|
677
|
-
], 14,
|
|
701
|
+
], 14, ot));
|
|
678
702
|
}
|
|
679
|
-
},
|
|
703
|
+
}, tl = /* @__PURE__ */ at(Xt, [["__scopeId", "data-v-247d7da4"]]);
|
|
680
704
|
export {
|
|
681
|
-
|
|
705
|
+
tl as default
|
|
682
706
|
};
|