vue-data-ui 2.4.1 → 2.4.3
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-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
- package/dist/BaseIcon-uALK38Ov.cjs +1 -0
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
- package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +22 -17
- package/dist/types/vue-data-ui.d.ts +22 -17
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/usePrinter-CSRFnDBU.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
- package/dist/vue-data-ui-Bduq4f2p.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-B-P7PMHs.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
- package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
- package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
- package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
- package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
- package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
- package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
- package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
- package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
- package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
- package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
- package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
- package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
- 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/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- 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-carousel-table-C0GDDSW9.cjs +0 -1
- 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-D9o6Rcgu.js +0 -617
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
- 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-skeleton-CGV1dEUD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
- package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
- package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-DT3aKNeV.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-table-heatmap-Chvdf2Gi.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DUUYQ5dH.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-CieqHVD5.js +0 -828
- 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,32 @@
|
|
|
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 u, normalizeClass as K, normalizeStyle as x, createBlock as G, createCommentVNode as c, unref as i, createSlots as Fe, withCtx as w, renderSlot as f, normalizeProps as X, guardReactiveProps as H, createVNode as oe, Fragment as A, renderList as S, createElementVNode as n, toDisplayString as b, 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-Bya_q1J-.js";
|
|
3
|
+
import { _ as We } from "./Title-C5pIfQAz.js";
|
|
4
|
+
import { u as qe, U as Ke } from "./usePrinter-CiHd1FwD.js";
|
|
5
|
+
import { _ as Je } from "./Tooltip-Cz24YLfw.js";
|
|
6
|
+
import Qe from "./vue-ui-skeleton-BYssP0K4.js";
|
|
7
|
+
import Ze from "./BaseIcon-BbvG1AlW.js";
|
|
8
|
+
import et from "./vue-ui-accordion-DfUfL2dI.js";
|
|
9
|
+
import { u as ke } from "./useNestedProp-B33hazbH.js";
|
|
10
|
+
import { _ as tt } from "./PackageVersion-VkaUzgmt.js";
|
|
11
|
+
import { P as lt } from "./PenAndPaper-DAZYA8Ew.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 = {
|
|
26
|
+
key: 5,
|
|
27
|
+
ref: "source",
|
|
28
|
+
dir: "auto"
|
|
29
|
+
}, It = { class: "vue-ui-data-table" }, Bt = { key: 0 }, Rt = ["data-cell"], Et = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Gt = ["data-cell"], Xt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ht = {
|
|
25
30
|
__name: "vue-ui-heatmap",
|
|
26
31
|
props: {
|
|
27
32
|
config: {
|
|
@@ -37,88 +42,88 @@ const tt = ["id"], lt = {
|
|
|
37
42
|
}
|
|
38
43
|
}
|
|
39
44
|
},
|
|
40
|
-
setup(
|
|
41
|
-
const r =
|
|
42
|
-
|
|
43
|
-
"
|
|
45
|
+
setup(D, { expose: $e }) {
|
|
46
|
+
const r = D;
|
|
47
|
+
Oe((t) => ({
|
|
48
|
+
"7cf48471": t.tdo
|
|
44
49
|
}));
|
|
45
|
-
const { vue_ui_heatmap:
|
|
46
|
-
|
|
50
|
+
const { vue_ui_heatmap: Ce } = Be(), U = h(() => !!r.dataset && r.dataset.length);
|
|
51
|
+
Re(r.dataset) && _e({
|
|
47
52
|
componentName: "VueUiHeatmap",
|
|
48
53
|
type: "dataset"
|
|
49
54
|
});
|
|
50
|
-
const
|
|
51
|
-
get: () =>
|
|
55
|
+
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({
|
|
56
|
+
get: () => ce(),
|
|
52
57
|
set: (t) => t
|
|
53
58
|
});
|
|
54
|
-
function
|
|
55
|
-
const t =
|
|
59
|
+
function ce() {
|
|
60
|
+
const t = ke({
|
|
56
61
|
userConfig: r.config,
|
|
57
|
-
defaultConfig:
|
|
62
|
+
defaultConfig: Ce
|
|
58
63
|
});
|
|
59
64
|
let a = {};
|
|
60
65
|
return t.theme ? a = {
|
|
61
|
-
...
|
|
62
|
-
userConfig:
|
|
66
|
+
...ke({
|
|
67
|
+
userConfig: Ee.vue_ui_heatmap[t.theme] || r.config,
|
|
63
68
|
defaultConfig: t
|
|
64
69
|
})
|
|
65
|
-
} : a = t, r.config &&
|
|
70
|
+
} : 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
71
|
}
|
|
67
|
-
|
|
68
|
-
e.value =
|
|
69
|
-
}, { deep: !0 }),
|
|
70
|
-
|
|
72
|
+
we(() => r.config, (t) => {
|
|
73
|
+
e.value = ce(), Z(), ye.value += 1;
|
|
74
|
+
}, { deep: !0 }), we(() => r.dataset, () => {
|
|
75
|
+
Z();
|
|
71
76
|
}, { deep: !0 });
|
|
72
|
-
const { isPrinting:
|
|
73
|
-
elementId: `heatmap__${
|
|
77
|
+
const { isPrinting: he, isImaging: pe, generatePdf: ge, generateImage: fe } = qe({
|
|
78
|
+
elementId: `heatmap__${P.value}`,
|
|
74
79
|
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
75
|
-
}),
|
|
80
|
+
}), _ = p({
|
|
76
81
|
showTable: e.value.table.show,
|
|
77
82
|
showTooltip: e.value.style.tooltip.show
|
|
78
|
-
}),
|
|
79
|
-
function
|
|
83
|
+
}), Ae = h(() => e.value.table.responsiveBreakpoint);
|
|
84
|
+
function ze() {
|
|
80
85
|
new ResizeObserver((a) => {
|
|
81
86
|
a.forEach((o) => {
|
|
82
|
-
|
|
87
|
+
de.value = o.contentRect.width < Ae.value;
|
|
83
88
|
});
|
|
84
|
-
}).observe(
|
|
89
|
+
}).observe(ve.value);
|
|
85
90
|
}
|
|
86
|
-
|
|
87
|
-
function
|
|
88
|
-
|
|
91
|
+
Ne(Z);
|
|
92
|
+
function Z() {
|
|
93
|
+
ze();
|
|
89
94
|
}
|
|
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 + (
|
|
95
|
+
const N = h(() => Math.max(...r.dataset.flatMap((t) => (t.values || []).length))), k = h(() => {
|
|
96
|
+
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
97
|
return {
|
|
93
98
|
height: t,
|
|
94
99
|
heightWithLegend: o,
|
|
95
100
|
width: a
|
|
96
101
|
};
|
|
97
|
-
}),
|
|
102
|
+
}), j = h(() => e.value.style.legend.position), l = h(() => ({
|
|
98
103
|
top: e.value.style.layout.padding.top,
|
|
99
104
|
left: e.value.style.layout.padding.left,
|
|
100
|
-
right:
|
|
101
|
-
bottom:
|
|
102
|
-
height:
|
|
103
|
-
width:
|
|
104
|
-
})),
|
|
105
|
+
right: k.value.width - e.value.style.layout.padding.right - (j.value === "right" && e.value.style.legend.show ? 92 : 0),
|
|
106
|
+
bottom: k.value.height - e.value.style.layout.padding.bottom,
|
|
107
|
+
height: k.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
108
|
+
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)
|
|
109
|
+
})), ee = h(() => d.value.height * r.dataset.length), m = h(() => Math.max(...r.dataset.flatMap((t) => t.values))), T = h(() => Math.min(...r.dataset.flatMap((t) => t.values))), M = h(() => {
|
|
105
110
|
const t = r.dataset.flatMap((o) => o.values);
|
|
106
111
|
return t.reduce((o, v) => o + v, 0) / t.length;
|
|
107
112
|
}), d = h(() => ({
|
|
108
|
-
width: l.value.width /
|
|
109
|
-
height: l.value.width / (
|
|
113
|
+
width: l.value.width / N.value,
|
|
114
|
+
height: l.value.width / (N.value < r.dataset.length ? r.dataset.length : N.value)
|
|
110
115
|
})), $ = h(() => {
|
|
111
116
|
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
117
|
return {
|
|
113
118
|
yLabels: t,
|
|
114
|
-
xLabels: a.slice(0,
|
|
119
|
+
xLabels: a.slice(0, N.value)
|
|
115
120
|
};
|
|
116
|
-
}),
|
|
117
|
-
|
|
121
|
+
}), W = h(() => (r.dataset.forEach((t, a) => {
|
|
122
|
+
Xe({
|
|
118
123
|
datasetObject: t,
|
|
119
124
|
requiredAttributes: ["values"]
|
|
120
125
|
}).forEach((o) => {
|
|
121
|
-
|
|
126
|
+
_e({
|
|
122
127
|
componentName: "VueUiHeatmap",
|
|
123
128
|
type: "datasetSerieAttribute",
|
|
124
129
|
property: "values",
|
|
@@ -129,64 +134,64 @@ const tt = ["id"], lt = {
|
|
|
129
134
|
...t,
|
|
130
135
|
temperatures: (t.values || []).map((a, o) => a >= M.value ? {
|
|
131
136
|
side: "up",
|
|
132
|
-
color:
|
|
133
|
-
ratio: Math.abs(Math.abs(a - M.value) / Math.abs(
|
|
137
|
+
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, m.value, a),
|
|
138
|
+
ratio: Math.abs(Math.abs(a - M.value) / Math.abs(m.value - M.value)) > 1 ? 1 : Math.abs(Math.abs(a - M.value) / Math.abs(m.value - M.value)),
|
|
134
139
|
value: a,
|
|
135
140
|
yAxisName: t.name,
|
|
136
141
|
xAxisName: $.value.xLabels[o],
|
|
137
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
142
|
+
id: `vue-data-ui-heatmap-cell-${se()}`
|
|
138
143
|
} : {
|
|
139
144
|
side: "down",
|
|
140
145
|
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:
|
|
146
|
+
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, m.value, a),
|
|
142
147
|
value: a,
|
|
143
148
|
yAxisName: t.name,
|
|
144
149
|
xAxisName: $.value.xLabels[o],
|
|
145
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
150
|
+
id: `vue-data-ui-heatmap-cell-${se()}`
|
|
146
151
|
})
|
|
147
152
|
})))), C = p(null), I = p(null);
|
|
148
|
-
function
|
|
149
|
-
|
|
150
|
-
const { value: y, yAxisName: g, xAxisName: L, id:
|
|
151
|
-
|
|
153
|
+
function Te(t, a, o, v) {
|
|
154
|
+
V.value = { x: o, y: v };
|
|
155
|
+
const { value: y, yAxisName: g, xAxisName: L, id: Se } = t;
|
|
156
|
+
ie.value = Se, C.value = y, I.value = {
|
|
152
157
|
datapoint: t,
|
|
153
158
|
seriesIndex: a,
|
|
154
|
-
series:
|
|
159
|
+
series: W.value,
|
|
155
160
|
config: e.value
|
|
156
|
-
},
|
|
157
|
-
let
|
|
158
|
-
const
|
|
159
|
-
|
|
161
|
+
}, J.value = !0;
|
|
162
|
+
let le = "";
|
|
163
|
+
const ae = e.value.style.tooltip.customFormat;
|
|
164
|
+
De(ae) && Ue(() => ae({
|
|
160
165
|
datapoint: t,
|
|
161
166
|
seriesIndex: a,
|
|
162
|
-
series:
|
|
167
|
+
series: W.value,
|
|
163
168
|
config: e.value
|
|
164
|
-
})) ?
|
|
169
|
+
})) ? Q.value = ae({
|
|
165
170
|
datapoint: t,
|
|
166
171
|
seriesIndex: a,
|
|
167
|
-
series:
|
|
172
|
+
series: W.value,
|
|
168
173
|
config: e.value
|
|
169
|
-
}) : (
|
|
174
|
+
}) : (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, m.value, y)}">⬤</span><span>${isNaN(y) ? "-" : F(
|
|
170
175
|
e.value.style.layout.cells.value.formatter,
|
|
171
176
|
y,
|
|
172
|
-
|
|
177
|
+
O({
|
|
173
178
|
p: e.value.style.layout.dataLabels.prefix,
|
|
174
179
|
v: y,
|
|
175
180
|
s: e.value.style.layout.dataLabels.suffix,
|
|
176
181
|
r: e.value.style.tooltip.roundingValue
|
|
177
182
|
}),
|
|
178
183
|
{ datapoint: t, seriesIndex: a }
|
|
179
|
-
)}</span></div>`,
|
|
184
|
+
)}</span></div>`, Q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${le}</div>`);
|
|
180
185
|
}
|
|
181
|
-
const B = h(() => l.value.top +
|
|
186
|
+
const B = h(() => l.value.top + ee.value * (1 - C.value / m.value)), R = h(() => l.value.left + (k.value.width - l.value.left - e.value.style.layout.padding.right) * (C.value / m.value));
|
|
182
187
|
h(() => {
|
|
183
188
|
const t = r.dataset.map((o) => ({
|
|
184
189
|
name: o.name
|
|
185
190
|
})), a = r.dataset.map((o) => o.values);
|
|
186
191
|
return { head: t, body: a };
|
|
187
192
|
});
|
|
188
|
-
function
|
|
189
|
-
|
|
193
|
+
function be() {
|
|
194
|
+
Ie(() => {
|
|
190
195
|
const t = ["", ...r.dataset.map((y, g) => y.name)], a = [];
|
|
191
196
|
for (let y = 0; y < $.value.xLabels.length; y += 1) {
|
|
192
197
|
const g = [$.value.xLabels[y]];
|
|
@@ -194,36 +199,49 @@ const tt = ["id"], lt = {
|
|
|
194
199
|
g.push([r.dataset[L].values[y]]);
|
|
195
200
|
a.push(g);
|
|
196
201
|
}
|
|
197
|
-
const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), v =
|
|
198
|
-
|
|
202
|
+
const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), v = Ye(o);
|
|
203
|
+
je({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
199
204
|
});
|
|
200
205
|
}
|
|
201
206
|
const E = p(!1);
|
|
202
|
-
function
|
|
203
|
-
E.value = t,
|
|
207
|
+
function Me(t) {
|
|
208
|
+
E.value = t, re.value += 1;
|
|
204
209
|
}
|
|
205
|
-
function
|
|
206
|
-
|
|
210
|
+
function me() {
|
|
211
|
+
_.value.showTable = !_.value.showTable;
|
|
207
212
|
}
|
|
208
|
-
function
|
|
209
|
-
|
|
213
|
+
function xe() {
|
|
214
|
+
_.value.showTooltip = !_.value.showTooltip;
|
|
210
215
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
const q = p(!1);
|
|
217
|
+
function te() {
|
|
218
|
+
q.value = !q.value;
|
|
219
|
+
}
|
|
220
|
+
return $e({
|
|
221
|
+
generatePdf: ge,
|
|
222
|
+
generateCsv: be,
|
|
223
|
+
generateImage: fe,
|
|
224
|
+
toggleTable: me,
|
|
225
|
+
toggleTooltip: xe,
|
|
226
|
+
toggleAnnotator: te
|
|
227
|
+
}), (t, a) => (s(), u("div", {
|
|
218
228
|
ref_key: "heatmapChart",
|
|
219
|
-
ref:
|
|
220
|
-
class:
|
|
221
|
-
style:
|
|
222
|
-
id: `heatmap__${
|
|
229
|
+
ref: Y,
|
|
230
|
+
class: K(`vue-ui-heatmap ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
231
|
+
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}`),
|
|
232
|
+
id: `heatmap__${P.value}`
|
|
223
233
|
}, [
|
|
224
|
-
e.value.
|
|
225
|
-
|
|
226
|
-
|
|
234
|
+
e.value.userOptions.buttons.annotator ? (s(), G(lt, {
|
|
235
|
+
key: 0,
|
|
236
|
+
parent: Y.value,
|
|
237
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
238
|
+
color: e.value.style.color,
|
|
239
|
+
active: q.value,
|
|
240
|
+
onClose: te
|
|
241
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
242
|
+
e.value.style.title.text ? (s(), u("div", st, [
|
|
243
|
+
(s(), G(We, {
|
|
244
|
+
key: `title_${ye.value}`,
|
|
227
245
|
config: {
|
|
228
246
|
title: {
|
|
229
247
|
cy: "heatmap-div-title",
|
|
@@ -236,15 +254,15 @@ const tt = ["id"], lt = {
|
|
|
236
254
|
}
|
|
237
255
|
}, null, 8, ["config"]))
|
|
238
256
|
])) : c("", !0),
|
|
239
|
-
e.value.userOptions.show &&
|
|
257
|
+
e.value.userOptions.show && U.value ? (s(), G(Ke, {
|
|
240
258
|
ref_key: "details",
|
|
241
|
-
ref:
|
|
242
|
-
key: `user_options_${
|
|
259
|
+
ref: Le,
|
|
260
|
+
key: `user_options_${re.value}`,
|
|
243
261
|
backgroundColor: e.value.style.backgroundColor,
|
|
244
262
|
color: e.value.style.color,
|
|
245
|
-
isImaging: i(
|
|
246
|
-
isPrinting: i(
|
|
247
|
-
uid:
|
|
263
|
+
isImaging: i(pe),
|
|
264
|
+
isPrinting: i(he),
|
|
265
|
+
uid: P.value,
|
|
248
266
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
249
267
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
250
268
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -252,71 +270,81 @@ const tt = ["id"], lt = {
|
|
|
252
270
|
hasTable: e.value.userOptions.buttons.table,
|
|
253
271
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
254
272
|
isFullscreen: E.value,
|
|
255
|
-
isTooltip:
|
|
273
|
+
isTooltip: _.value.showTooltip,
|
|
256
274
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
257
|
-
chartElement:
|
|
275
|
+
chartElement: Y.value,
|
|
258
276
|
position: e.value.userOptions.position,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
277
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
278
|
+
isAnnotation: q.value,
|
|
279
|
+
onToggleFullscreen: Me,
|
|
280
|
+
onGeneratePdf: i(ge),
|
|
281
|
+
onGenerateCsv: be,
|
|
282
|
+
onGenerateImage: i(fe),
|
|
283
|
+
onToggleTable: me,
|
|
284
|
+
onToggleTooltip: xe,
|
|
285
|
+
onToggleAnnotator: te
|
|
286
|
+
}, Fe({ _: 2 }, [
|
|
266
287
|
t.$slots.optionTooltip ? {
|
|
267
288
|
name: "optionTooltip",
|
|
268
|
-
fn:
|
|
269
|
-
|
|
289
|
+
fn: w(() => [
|
|
290
|
+
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
270
291
|
]),
|
|
271
292
|
key: "0"
|
|
272
293
|
} : void 0,
|
|
273
294
|
t.$slots.optionPdf ? {
|
|
274
295
|
name: "optionPdf",
|
|
275
|
-
fn:
|
|
276
|
-
|
|
296
|
+
fn: w(() => [
|
|
297
|
+
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
277
298
|
]),
|
|
278
299
|
key: "1"
|
|
279
300
|
} : void 0,
|
|
280
301
|
t.$slots.optionCsv ? {
|
|
281
302
|
name: "optionCsv",
|
|
282
|
-
fn:
|
|
283
|
-
|
|
303
|
+
fn: w(() => [
|
|
304
|
+
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
284
305
|
]),
|
|
285
306
|
key: "2"
|
|
286
307
|
} : void 0,
|
|
287
308
|
t.$slots.optionImg ? {
|
|
288
309
|
name: "optionImg",
|
|
289
|
-
fn:
|
|
290
|
-
|
|
310
|
+
fn: w(() => [
|
|
311
|
+
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
291
312
|
]),
|
|
292
313
|
key: "3"
|
|
293
314
|
} : void 0,
|
|
294
315
|
t.$slots.optionTable ? {
|
|
295
316
|
name: "optionTable",
|
|
296
|
-
fn:
|
|
297
|
-
|
|
317
|
+
fn: w(() => [
|
|
318
|
+
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
298
319
|
]),
|
|
299
320
|
key: "4"
|
|
300
321
|
} : void 0,
|
|
301
322
|
t.$slots.optionFullscreen ? {
|
|
302
323
|
name: "optionFullscreen",
|
|
303
|
-
fn:
|
|
304
|
-
|
|
324
|
+
fn: w(({ toggleFullscreen: o, isFullscreen: v }) => [
|
|
325
|
+
f(t.$slots, "optionFullscreen", X(H({ toggleFullscreen: o, isFullscreen: v })), void 0, !0)
|
|
305
326
|
]),
|
|
306
327
|
key: "5"
|
|
328
|
+
} : void 0,
|
|
329
|
+
t.$slots.optionAnnotator ? {
|
|
330
|
+
name: "optionAnnotator",
|
|
331
|
+
fn: w(({ toggleAnnotator: o, isAnnotator: v }) => [
|
|
332
|
+
f(t.$slots, "optionAnnotator", X(H({ toggleAnnotator: o, isAnnotator: v })), void 0, !0)
|
|
333
|
+
]),
|
|
334
|
+
key: "6"
|
|
307
335
|
} : 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:
|
|
336
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
337
|
+
U.value ? (s(), u("svg", {
|
|
338
|
+
key: 3,
|
|
339
|
+
xmlns: i(He),
|
|
340
|
+
class: K({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
341
|
+
viewBox: `0 0 ${k.value.width} ${k.value.heightWithLegend}`,
|
|
342
|
+
style: x(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
315
343
|
}, [
|
|
316
|
-
|
|
317
|
-
(s(!0),
|
|
318
|
-
(s(!0),
|
|
319
|
-
|
|
344
|
+
oe(tt),
|
|
345
|
+
(s(!0), u(A, null, S(W.value, (o, v) => (s(), u("g", null, [
|
|
346
|
+
(s(!0), u(A, null, S(o.temperatures, (y, g) => (s(), u("g", null, [
|
|
347
|
+
n("rect", {
|
|
320
348
|
x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
321
349
|
y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
322
350
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
@@ -324,8 +352,8 @@ const tt = ["id"], lt = {
|
|
|
324
352
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
325
353
|
stroke: e.value.style.backgroundColor,
|
|
326
354
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
327
|
-
}, null, 8,
|
|
328
|
-
|
|
355
|
+
}, null, 8, nt),
|
|
356
|
+
n("rect", {
|
|
329
357
|
x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
330
358
|
y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
331
359
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
@@ -333,226 +361,229 @@ const tt = ["id"], lt = {
|
|
|
333
361
|
fill: y.color,
|
|
334
362
|
stroke: e.value.style.backgroundColor,
|
|
335
363
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
336
|
-
}, null, 8,
|
|
337
|
-
e.value.style.layout.cells.value.show ? (s(),
|
|
364
|
+
}, null, 8, it),
|
|
365
|
+
e.value.style.layout.cells.value.show ? (s(), u("text", {
|
|
338
366
|
key: 0,
|
|
339
367
|
"text-anchor": "middle",
|
|
340
368
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
341
369
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
342
|
-
fill: i(
|
|
370
|
+
fill: i(ne)(y.color),
|
|
343
371
|
x: l.value.left + d.value.width * g + d.value.width / 2,
|
|
344
372
|
y: l.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
345
|
-
},
|
|
373
|
+
}, b(i(F)(
|
|
346
374
|
e.value.style.layout.cells.value.formatter,
|
|
347
375
|
y.value,
|
|
348
|
-
i(
|
|
376
|
+
i(O)({
|
|
349
377
|
p: e.value.style.layout.dataLabels.prefix,
|
|
350
378
|
v: y.value,
|
|
351
379
|
s: e.value.style.layout.dataLabels.suffix,
|
|
352
380
|
r: e.value.style.layout.cells.value.roundingValue
|
|
353
381
|
}),
|
|
354
382
|
{ datapoint: y }
|
|
355
|
-
)), 9,
|
|
383
|
+
)), 9, rt)) : c("", !0)
|
|
356
384
|
]))), 256)),
|
|
357
|
-
(s(!0),
|
|
358
|
-
|
|
385
|
+
(s(!0), u(A, null, S(o.temperatures, (y, g) => (s(), u("g", null, [
|
|
386
|
+
n("rect", {
|
|
359
387
|
x: l.value.left + d.value.width * g,
|
|
360
388
|
y: l.value.top + d.value.height * v,
|
|
361
389
|
width: d.value.width,
|
|
362
390
|
height: d.value.height,
|
|
363
391
|
fill: "transparent",
|
|
364
392
|
stroke: "none",
|
|
365
|
-
onMouseover: (L) =>
|
|
393
|
+
onMouseover: (L) => Te(y, v, l.value.left + d.value.width * g, l.value.top + d.value.height * v),
|
|
366
394
|
onMouseout: a[0] || (a[0] = (L) => {
|
|
367
|
-
|
|
395
|
+
J.value = !1, ie.value = void 0, C.value = null, V.value = null;
|
|
368
396
|
})
|
|
369
|
-
}, null, 40,
|
|
397
|
+
}, null, 40, vt)
|
|
370
398
|
]))), 256)),
|
|
371
|
-
e.value.style.layout.dataLabels.yAxis.show ? (s(),
|
|
372
|
-
|
|
399
|
+
e.value.style.layout.dataLabels.yAxis.show ? (s(), u("g", dt, [
|
|
400
|
+
n("text", {
|
|
373
401
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
374
402
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
375
403
|
x: l.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
|
|
376
404
|
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
405
|
"text-anchor": "end",
|
|
378
406
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
379
|
-
},
|
|
407
|
+
}, b($.value.yLabels[v]), 9, yt)
|
|
380
408
|
])) : c("", !0)
|
|
381
409
|
]))), 256)),
|
|
382
|
-
e.value.style.layout.dataLabels.xAxis.show ? (s(),
|
|
383
|
-
(s(!0),
|
|
384
|
-
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (s(),
|
|
410
|
+
e.value.style.layout.dataLabels.xAxis.show ? (s(), u("g", ct, [
|
|
411
|
+
(s(!0), u(A, null, S($.value.xLabels, (o, v) => (s(), u(A, null, [
|
|
412
|
+
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (s(), u("text", {
|
|
385
413
|
key: 0,
|
|
386
414
|
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
387
415
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
388
416
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
389
417
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
390
418
|
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
|
-
},
|
|
419
|
+
}, b(o), 9, ht)) : c("", !0)
|
|
392
420
|
], 64))), 256))
|
|
393
421
|
])) : c("", !0),
|
|
394
|
-
|
|
395
|
-
|
|
422
|
+
V.value ? (s(), u("g", pt, [
|
|
423
|
+
n("rect", {
|
|
396
424
|
style: { "pointer-events": "none" },
|
|
397
|
-
x:
|
|
398
|
-
y:
|
|
425
|
+
x: V.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
426
|
+
y: V.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
399
427
|
width: d.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
400
428
|
height: d.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
401
429
|
fill: "transparent",
|
|
402
430
|
stroke: e.value.style.layout.cells.selected.color,
|
|
403
431
|
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
404
432
|
rx: 1
|
|
405
|
-
}, null, 8,
|
|
433
|
+
}, null, 8, gt)
|
|
406
434
|
])) : c("", !0),
|
|
407
|
-
e.value.style.legend.show &&
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
id: `colorScaleVertical_${
|
|
435
|
+
e.value.style.legend.show && j.value === "right" ? (s(), u("g", ft, [
|
|
436
|
+
n("defs", null, [
|
|
437
|
+
n("linearGradient", {
|
|
438
|
+
id: `colorScaleVertical_${P.value}`,
|
|
411
439
|
x2: "0%",
|
|
412
440
|
y2: "100%"
|
|
413
441
|
}, [
|
|
414
|
-
|
|
442
|
+
n("stop", {
|
|
415
443
|
offset: "0%",
|
|
416
444
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
417
|
-
}, null, 8,
|
|
418
|
-
|
|
445
|
+
}, null, 8, mt),
|
|
446
|
+
n("stop", {
|
|
419
447
|
offset: "100%",
|
|
420
448
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
421
|
-
}, null, 8,
|
|
422
|
-
], 8,
|
|
449
|
+
}, null, 8, xt)
|
|
450
|
+
], 8, bt)
|
|
423
451
|
]),
|
|
424
|
-
|
|
452
|
+
n("text", {
|
|
425
453
|
x: l.value.right + 36 + 18,
|
|
426
454
|
y: l.value.top - e.value.style.legend.fontSize * 1.5,
|
|
427
455
|
"text-anchor": "middle",
|
|
428
456
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
429
457
|
fill: e.value.style.legend.color
|
|
430
|
-
},
|
|
458
|
+
}, b(i(F)(
|
|
431
459
|
e.value.style.layout.cells.value.formatter,
|
|
432
|
-
i(z)(
|
|
433
|
-
i(
|
|
460
|
+
i(z)(m.value),
|
|
461
|
+
i(O)({
|
|
434
462
|
p: e.value.style.layout.dataLabels.prefix,
|
|
435
|
-
v: i(z)(
|
|
463
|
+
v: i(z)(m.value),
|
|
436
464
|
s: e.value.style.layout.dataLabels.suffix,
|
|
437
465
|
r: e.value.style.legend.roundingValue
|
|
438
466
|
})
|
|
439
|
-
)), 9,
|
|
440
|
-
|
|
467
|
+
)), 9, wt),
|
|
468
|
+
n("rect", {
|
|
441
469
|
x: l.value.right + 36,
|
|
442
470
|
y: l.value.top,
|
|
443
471
|
width: 36,
|
|
444
|
-
height:
|
|
472
|
+
height: ee.value,
|
|
445
473
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
446
|
-
fill: `url(#colorScaleVertical_${
|
|
447
|
-
}, null, 8,
|
|
448
|
-
|
|
474
|
+
fill: `url(#colorScaleVertical_${P.value})`
|
|
475
|
+
}, null, 8, _t),
|
|
476
|
+
n("text", {
|
|
449
477
|
x: l.value.right + 36 + 18,
|
|
450
|
-
y: l.value.top +
|
|
478
|
+
y: l.value.top + ee.value + e.value.style.legend.fontSize * 2.5,
|
|
451
479
|
"text-anchor": "middle",
|
|
452
480
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
453
481
|
fill: e.value.style.legend.color
|
|
454
|
-
},
|
|
482
|
+
}, b(i(F)(
|
|
455
483
|
e.value.style.layout.cells.value.formatter,
|
|
456
484
|
i(z)(T.value),
|
|
457
|
-
i(
|
|
485
|
+
i(O)({
|
|
458
486
|
p: e.value.style.layout.dataLabels.prefix,
|
|
459
487
|
v: i(z)(T.value),
|
|
460
488
|
s: e.value.style.layout.dataLabels.suffix,
|
|
461
489
|
r: e.value.style.legend.roundingValue
|
|
462
490
|
})
|
|
463
|
-
)), 9,
|
|
464
|
-
C.value !== null ? (s(),
|
|
491
|
+
)), 9, kt),
|
|
492
|
+
C.value !== null ? (s(), u("line", {
|
|
465
493
|
key: 0,
|
|
466
|
-
stroke: i(
|
|
494
|
+
stroke: i(ne)(I.value.datapoint.color),
|
|
467
495
|
"stroke-width": "2",
|
|
468
496
|
x1: l.value.right + 36,
|
|
469
497
|
x2: l.value.right + 72,
|
|
470
498
|
y1: B.value,
|
|
471
499
|
y2: B.value
|
|
472
|
-
}, null, 8,
|
|
473
|
-
C.value !== null ? (s(),
|
|
500
|
+
}, null, 8, $t)) : c("", !0),
|
|
501
|
+
C.value !== null ? (s(), u("path", {
|
|
474
502
|
key: 1,
|
|
475
503
|
fill: e.value.style.color,
|
|
476
504
|
stroke: "none",
|
|
477
505
|
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,
|
|
506
|
+
}, null, 8, Ct)) : c("", !0)
|
|
479
507
|
])) : c("", !0),
|
|
480
|
-
e.value.style.legend.show &&
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
508
|
+
e.value.style.legend.show && j.value === "bottom" ? (s(), u("g", Lt, [
|
|
509
|
+
n("defs", null, [
|
|
510
|
+
n("linearGradient", At, [
|
|
511
|
+
n("stop", {
|
|
484
512
|
offset: "0%",
|
|
485
513
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
486
|
-
}, null, 8,
|
|
487
|
-
|
|
514
|
+
}, null, 8, zt),
|
|
515
|
+
n("stop", {
|
|
488
516
|
offset: "100%",
|
|
489
517
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
490
|
-
}, null, 8,
|
|
518
|
+
}, null, 8, Tt)
|
|
491
519
|
])
|
|
492
520
|
]),
|
|
493
|
-
|
|
521
|
+
n("rect", {
|
|
494
522
|
x: l.value.left,
|
|
495
523
|
y: l.value.bottom + e.value.style.layout.cells.height,
|
|
496
|
-
width:
|
|
524
|
+
width: k.value.width - l.value.left - e.value.style.layout.padding.right,
|
|
497
525
|
height: e.value.style.layout.cells.height,
|
|
498
526
|
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
527
|
fill: "url(#colorScaleHorizontal)"
|
|
500
|
-
}, null, 8,
|
|
501
|
-
|
|
528
|
+
}, null, 8, Mt),
|
|
529
|
+
n("text", {
|
|
502
530
|
x: l.value.left,
|
|
503
531
|
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
504
532
|
"text-anchor": "start",
|
|
505
533
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
506
534
|
fill: e.value.style.legend.color
|
|
507
|
-
},
|
|
535
|
+
}, b(i(F)(
|
|
508
536
|
e.value.style.layout.cells.value.formatter,
|
|
509
537
|
i(z)(T.value),
|
|
510
|
-
i(
|
|
538
|
+
i(O)({
|
|
511
539
|
p: e.value.style.layout.dataLabels.prefix,
|
|
512
540
|
v: i(z)(T.value),
|
|
513
541
|
s: e.value.style.layout.dataLabels.suffix,
|
|
514
542
|
r: e.value.style.legend.roundingValue
|
|
515
543
|
})
|
|
516
|
-
)), 9,
|
|
517
|
-
|
|
544
|
+
)), 9, St),
|
|
545
|
+
n("text", {
|
|
518
546
|
x: l.value.right,
|
|
519
547
|
y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
520
548
|
"text-anchor": "end",
|
|
521
549
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
522
550
|
fill: e.value.style.legend.color
|
|
523
|
-
},
|
|
551
|
+
}, b(i(F)(
|
|
524
552
|
e.value.style.layout.cells.value.formatter,
|
|
525
|
-
i(z)(
|
|
526
|
-
i(
|
|
553
|
+
i(z)(m.value),
|
|
554
|
+
i(O)({
|
|
527
555
|
p: e.value.style.layout.dataLabels.prefix,
|
|
528
|
-
v: i(z)(
|
|
556
|
+
v: i(z)(m.value),
|
|
529
557
|
s: e.value.style.layout.dataLabels.suffix,
|
|
530
558
|
r: e.value.style.legend.roundingValue
|
|
531
559
|
})
|
|
532
|
-
)), 9,
|
|
533
|
-
C.value !== null ? (s(),
|
|
560
|
+
)), 9, Ot),
|
|
561
|
+
C.value !== null ? (s(), u("line", {
|
|
534
562
|
key: 0,
|
|
535
|
-
stroke: i(
|
|
563
|
+
stroke: i(ne)(I.value.datapoint.color),
|
|
536
564
|
"stroke-width": "2",
|
|
537
565
|
x1: R.value,
|
|
538
566
|
x2: R.value,
|
|
539
567
|
y1: l.value.bottom + e.value.style.layout.cells.height,
|
|
540
568
|
y2: l.value.bottom + e.value.style.layout.cells.height * 2
|
|
541
|
-
}, null, 8,
|
|
542
|
-
C.value !== null ? (s(),
|
|
569
|
+
}, null, 8, Nt)) : c("", !0),
|
|
570
|
+
C.value !== null ? (s(), u("path", {
|
|
543
571
|
key: 1,
|
|
544
572
|
fill: e.value.style.color,
|
|
545
573
|
stroke: "none",
|
|
546
574
|
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,
|
|
575
|
+
}, null, 8, Ft)) : c("", !0)
|
|
548
576
|
])) : c("", !0),
|
|
549
|
-
|
|
550
|
-
], 14,
|
|
551
|
-
t.$slots.watermark ? (s(),
|
|
552
|
-
|
|
577
|
+
f(t.$slots, "svg", { svg: k.value }, void 0, !0)
|
|
578
|
+
], 14, ut)) : c("", !0),
|
|
579
|
+
t.$slots.watermark ? (s(), u("div", Pt, [
|
|
580
|
+
f(t.$slots, "watermark", X(H({ isPrinting: i(he) || i(pe) })), void 0, !0)
|
|
553
581
|
])) : c("", !0),
|
|
554
|
-
|
|
555
|
-
|
|
582
|
+
t.$slots.source ? (s(), u("div", Vt, [
|
|
583
|
+
f(t.$slots, "source", {}, void 0, !0)
|
|
584
|
+
], 512)) : c("", !0),
|
|
585
|
+
U.value ? c("", !0) : (s(), G(Qe, {
|
|
586
|
+
key: 6,
|
|
556
587
|
config: {
|
|
557
588
|
type: "heatmap",
|
|
558
589
|
style: {
|
|
@@ -563,8 +594,8 @@ const tt = ["id"], lt = {
|
|
|
563
594
|
}
|
|
564
595
|
}
|
|
565
596
|
}, null, 8, ["config"])),
|
|
566
|
-
|
|
567
|
-
show:
|
|
597
|
+
oe(Je, {
|
|
598
|
+
show: _.value.showTooltip && J.value,
|
|
568
599
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
569
600
|
color: e.value.style.tooltip.color,
|
|
570
601
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -574,23 +605,23 @@ const tt = ["id"], lt = {
|
|
|
574
605
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
575
606
|
position: e.value.style.tooltip.position,
|
|
576
607
|
offsetY: e.value.style.tooltip.offsetY,
|
|
577
|
-
parent:
|
|
578
|
-
content:
|
|
608
|
+
parent: Y.value,
|
|
609
|
+
content: Q.value,
|
|
579
610
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
580
611
|
}, {
|
|
581
|
-
"tooltip-before":
|
|
582
|
-
|
|
612
|
+
"tooltip-before": w(() => [
|
|
613
|
+
f(t.$slots, "tooltip-before", X(H({ ...I.value })), void 0, !0)
|
|
583
614
|
]),
|
|
584
|
-
"tooltip-after":
|
|
585
|
-
|
|
615
|
+
"tooltip-after": w(() => [
|
|
616
|
+
f(t.$slots, "tooltip-after", X(H({ ...I.value })), void 0, !0)
|
|
586
617
|
]),
|
|
587
618
|
_: 3
|
|
588
619
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
589
|
-
|
|
590
|
-
key:
|
|
620
|
+
U.value ? (s(), G(et, {
|
|
621
|
+
key: 7,
|
|
591
622
|
hideDetails: "",
|
|
592
623
|
config: {
|
|
593
|
-
open:
|
|
624
|
+
open: _.value.showTable,
|
|
594
625
|
maxHeight: 1e4,
|
|
595
626
|
body: {
|
|
596
627
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -602,70 +633,70 @@ const tt = ["id"], lt = {
|
|
|
602
633
|
}
|
|
603
634
|
}
|
|
604
635
|
}, {
|
|
605
|
-
content:
|
|
606
|
-
|
|
636
|
+
content: w(() => [
|
|
637
|
+
n("div", {
|
|
607
638
|
ref_key: "tableContainer",
|
|
608
|
-
ref:
|
|
639
|
+
ref: ve,
|
|
609
640
|
class: "vue-ui-heatmap-table"
|
|
610
641
|
}, [
|
|
611
|
-
|
|
642
|
+
n("div", {
|
|
612
643
|
style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
|
|
613
|
-
class:
|
|
644
|
+
class: K({ "vue-ui-responsive": de.value })
|
|
614
645
|
}, [
|
|
615
|
-
|
|
646
|
+
n("div", {
|
|
616
647
|
role: "button",
|
|
617
648
|
tabindex: "0",
|
|
618
|
-
style:
|
|
619
|
-
onClick: a[1] || (a[1] = (o) =>
|
|
620
|
-
onKeypress: a[2] || (a[2] =
|
|
649
|
+
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};`),
|
|
650
|
+
onClick: a[1] || (a[1] = (o) => _.value.showTable = !1),
|
|
651
|
+
onKeypress: a[2] || (a[2] = Pe((o) => _.value.showTable = !1, ["enter"]))
|
|
621
652
|
}, [
|
|
622
|
-
|
|
653
|
+
oe(Ze, {
|
|
623
654
|
name: "close",
|
|
624
655
|
stroke: e.value.table.th.color,
|
|
625
656
|
"stroke-width": 2
|
|
626
657
|
}, null, 8, ["stroke"])
|
|
627
658
|
], 36),
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
style:
|
|
659
|
+
n("table", It, [
|
|
660
|
+
n("caption", {
|
|
661
|
+
style: x(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
631
662
|
}, [
|
|
632
|
-
|
|
633
|
-
e.value.style.title.subtitle.text ? (s(),
|
|
663
|
+
Ve(b(e.value.style.title.text) + " ", 1),
|
|
664
|
+
e.value.style.title.subtitle.text ? (s(), u("span", Bt, b(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
634
665
|
], 4),
|
|
635
|
-
|
|
636
|
-
|
|
666
|
+
n("thead", null, [
|
|
667
|
+
n("tr", {
|
|
637
668
|
role: "row",
|
|
638
|
-
style:
|
|
669
|
+
style: x(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
639
670
|
}, [
|
|
640
|
-
|
|
641
|
-
style:
|
|
671
|
+
n("th", {
|
|
672
|
+
style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
642
673
|
}, null, 4),
|
|
643
|
-
(s(!0),
|
|
674
|
+
(s(!0), u(A, null, S(D.dataset, (o, v) => (s(), u("th", {
|
|
644
675
|
align: "right",
|
|
645
|
-
style:
|
|
646
|
-
},
|
|
676
|
+
style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
677
|
+
}, b(o.name), 5))), 256))
|
|
647
678
|
], 4)
|
|
648
679
|
]),
|
|
649
|
-
|
|
650
|
-
(s(!0),
|
|
680
|
+
n("tbody", null, [
|
|
681
|
+
(s(!0), u(A, null, S($.value.xLabels, (o, v) => (s(), u("tr", {
|
|
651
682
|
role: "row",
|
|
652
|
-
class:
|
|
653
|
-
style:
|
|
683
|
+
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 }),
|
|
684
|
+
style: x(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
654
685
|
}, [
|
|
655
|
-
|
|
686
|
+
n("td", {
|
|
656
687
|
"data-cell": e.value.table.colNames.xAxis,
|
|
657
688
|
class: "vue-ui-data-table__tbody__td",
|
|
658
|
-
style:
|
|
689
|
+
style: x(`outline:${e.value.table.td.outline}`)
|
|
659
690
|
}, [
|
|
660
|
-
|
|
661
|
-
], 12,
|
|
662
|
-
(s(!0),
|
|
691
|
+
n("div", Et, b(o), 1)
|
|
692
|
+
], 12, Rt),
|
|
693
|
+
(s(!0), u(A, null, S(D.dataset, (y, g) => (s(), u("td", {
|
|
663
694
|
class: "vue-ui-data-table__tbody__td",
|
|
664
|
-
"data-cell":
|
|
665
|
-
style:
|
|
695
|
+
"data-cell": D.dataset[g].name,
|
|
696
|
+
style: x(`outline:${e.value.table.td.outline}`)
|
|
666
697
|
}, [
|
|
667
|
-
|
|
668
|
-
], 12,
|
|
698
|
+
n("div", Xt, b(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)
|
|
699
|
+
], 12, Gt))), 256))
|
|
669
700
|
], 6))), 256))
|
|
670
701
|
])
|
|
671
702
|
])
|
|
@@ -674,9 +705,9 @@ const tt = ["id"], lt = {
|
|
|
674
705
|
]),
|
|
675
706
|
_: 1
|
|
676
707
|
}, 8, ["config"])) : c("", !0)
|
|
677
|
-
], 14,
|
|
708
|
+
], 14, ot));
|
|
678
709
|
}
|
|
679
|
-
},
|
|
710
|
+
}, ll = /* @__PURE__ */ at(Ht, [["__scopeId", "data-v-f1071e4f"]]);
|
|
680
711
|
export {
|
|
681
|
-
|
|
712
|
+
ll as default
|
|
682
713
|
};
|