vue-data-ui 2.4.49 → 2.4.51
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 +12 -0
- package/dist/{Arrow-CTukks_V.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-Q0cOmO5p.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-2ZD3jgGz.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-CaYP30Aq.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CO5C8Cmb.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-kMUhutQ4.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-FZN9UHoI.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-DPHcmrzd.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-rnWHRWGI.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-DYk2hOG1.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BQl9-uX0.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-BfgS_5ux.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-BqkMzXqo.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BblkpCyL.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-yEeqKUDF.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-DlgqsI5C.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-5Vedk01J.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-DED-PQ7X.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-DjCKBAC4.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-CHseiJu8.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-igxqCP2w.js → index-BbPeL8Gp.js} +5 -1
- package/dist/index-DhDYBLBe.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-CSVnZVwZ.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-CwpqC_aE.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-DVgxBO4o.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-CnZYDQXB.js → usePrinter-DaybDVqP.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-BrRTkOqu.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-B--WWkUM.js → vue-data-ui-Ckbp-yIf.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
- package/dist/{vue-ui-3d-bar-OzzLYbUl.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-lF7yVkiT.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CRVWlHxs.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-5Vj8AtW1.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-BmO78L3H.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-D8Hx1BFF.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-DwFD41hN.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-By609gwn.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-wwMoteEN.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
- package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
- package/dist/{vue-ui-chestnut-hqorA5EW.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-BCg5VZUb.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-GSkn7N7Z.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-Bkm9bcAc.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DIoYWyXB.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-niqTltAv.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-CpBBTAI9.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-XQp6R0e_.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-DfufBrkk.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DSS8sHHU.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BBNuPVgI.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BDGggRXE.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-6Odi2CwM.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
- package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
- package/dist/{vue-ui-gauge-DeYvNVnR.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-DXQt_8D0.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BcAr2dTN.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-Btm1mK6D.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-OY6N31Ka.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-CQIbWQMk.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-D5oNUDVm.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjqV22Co.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-ByDKGMAp.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-FsLf3YTj.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-31BX-GNG.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BMJW2oHk.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-BUpGgnWA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
- package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-9I00rQEM.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
- package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
- package/dist/{vue-ui-quadrant-CEmoMAL7.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-T_oeRTqY.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DG_Zir8w.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-Juprijdi.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-gswAA28b.js → vue-ui-rating-DQRuqev5.js} +2 -2
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
- package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
- package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
- package/dist/{vue-ui-rings-D3g-ORch.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-DBO-XViT.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-3MDyr6v3.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-K0a-DVD6.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-CWjNNx-k.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-DUNkS05l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cbqg-N-L.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-MwX1c6qK.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-CN5JUPhn.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D9eWTtbE.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-IphZ8jXh.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CPF7YNDd.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B29V7ZTv.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BRMGqR9Z.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-BJTgOWF5.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-rvYaVHmw.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BI9jqI0h.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DX79otAB.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DuollcwK.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-vP28A6AT.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-DnJEgIaA.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DqcHBwd_.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-BMJ0I5nr.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8cgqIJl.js → vue-ui-table-CsEajH9S.js} +1 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
- package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-B_Po0RuC.js → vue-ui-table-sparkline-YV8DUOqh.js} +256 -239
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-C6nfW6uY.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-ldINTqND.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-CfwmMRdZ.js → vue-ui-timer-DvE_nqd9.js} +5 -5
- package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
- package/dist/{vue-ui-treemap-CwMnkcOi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-BZR4YOLh.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-D2BccJmB.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
- package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DiG8DHOr.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-DicLnkBA.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-D6CYL9A8.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
- package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-BHQZE19X.cjs +0 -9
- package/dist/vue-ui-3d-bar-BGVLnjCh.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Cv0Rddsx.cjs +0 -1
- package/dist/vue-ui-bullet-C0Q2Vs5p.cjs +0 -34
- package/dist/vue-ui-candlestick-C7kRHFF3.cjs +0 -2
- package/dist/vue-ui-carousel-table-1_Hy8sGL.cjs +0 -1
- package/dist/vue-ui-chestnut-D3LGylRp.cjs +0 -6
- package/dist/vue-ui-donut-CQEOtlxM.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Dg_XJyX8.cjs +0 -1
- package/dist/vue-ui-dumbbell-RAkNYRoJ.cjs +0 -9
- package/dist/vue-ui-flow-BUmSGSmR.cjs +0 -1
- package/dist/vue-ui-funnel-B9HR0owO.cjs +0 -1
- package/dist/vue-ui-galaxy-DmsMWB1a.cjs +0 -1
- package/dist/vue-ui-gauge-Dvv0v56Z.cjs +0 -1
- package/dist/vue-ui-heatmap-DZ02dS5q.cjs +0 -1
- package/dist/vue-ui-history-plot-DPQWcN0P.cjs +0 -1
- package/dist/vue-ui-molecule-C8O_ViVy.cjs +0 -1
- package/dist/vue-ui-mood-radar-4u98wGWl.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BPc_OBoe.cjs +0 -17
- package/dist/vue-ui-onion-IhkIHn1A.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DzjggyLA.cjs +0 -8
- package/dist/vue-ui-quadrant-EZqQ-7Ev.cjs +0 -1
- package/dist/vue-ui-quick-chart-BKUUR-A1.cjs +0 -15
- package/dist/vue-ui-radar-QBwo6ybW.cjs +0 -1
- package/dist/vue-ui-relation-circle-BWX8zrfH.cjs +0 -1
- package/dist/vue-ui-relation-circle-DtnXrnOP.js +0 -492
- package/dist/vue-ui-rings-Damuv7g9.cjs +0 -2
- package/dist/vue-ui-scatter-RUeAe7Sx.cjs +0 -1
- package/dist/vue-ui-stackbar-BumFmZZF.cjs +0 -6
- package/dist/vue-ui-strip-plot-DupREfRd.cjs +0 -1
- package/dist/vue-ui-table-heatmap-D43pTFli.cjs +0 -1
- package/dist/vue-ui-table-heatmap-D4qeClXn.js +0 -256
- package/dist/vue-ui-table-sparkline-B7OPOium.cjs +0 -1
- package/dist/vue-ui-thermometer-CaV3JF3h.cjs +0 -1
- package/dist/vue-ui-tiremarks-BlyxL_IU.cjs +0 -1
- package/dist/vue-ui-tiremarks-iNKMnu3P.js +0 -317
- package/dist/vue-ui-treemap-YdRDlSHA.cjs +0 -1
- package/dist/vue-ui-vertical-bar-Bji3-X8i.cjs +0 -4
- package/dist/vue-ui-waffle-rO_LJaHR.cjs +0 -1
- package/dist/vue-ui-wheel-BTrpdV-C.cjs +0 -1
- package/dist/vue-ui-wheel-GqWFopE1.js +0 -299
- package/dist/vue-ui-word-cloud-DD-pKUen.cjs +0 -1
- package/dist/vue-ui-xy-C32KNdyx.cjs +0 -3
- package/dist/vue-ui-xy-canvas-9e630nJX.cjs +0 -9
|
@@ -1,32 +1,33 @@
|
|
|
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 { P as
|
|
12
|
-
import {
|
|
13
|
-
|
|
1
|
+
import { useCssVars as Ie, computed as h, ref as p, watch as $e, onMounted as Be, openBlock as o, createElementBlock as n, normalizeClass as K, normalizeStyle as x, unref as u, createBlock as U, createCommentVNode as c, createSlots as Re, withCtx as w, renderSlot as f, normalizeProps as E, guardReactiveProps as X, createVNode as oe, Fragment as A, renderList as S, createElementVNode as i, toDisplayString as b, withKeys as Ge, createTextVNode as Ue, nextTick as Ee } from "vue";
|
|
2
|
+
import { u as Xe, o as He, e as Ce, c as se, t as De, C as Ye, g as je, N as ue, X as We, G as ne, i as V, f as O, v as T, x as qe, y as Ke, q as Je, r as Qe } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { _ as Ze } from "./Title-aSAft5dl.js";
|
|
4
|
+
import { u as et, U as tt } from "./usePrinter-DaybDVqP.js";
|
|
5
|
+
import { _ as lt } from "./Tooltip-smutPF--.js";
|
|
6
|
+
import at from "./vue-ui-skeleton-Bniq21d9.js";
|
|
7
|
+
import ot from "./BaseIcon-CmiukQBl.js";
|
|
8
|
+
import st from "./vue-ui-accordion-5d5iVpr7.js";
|
|
9
|
+
import { u as Le } from "./useNestedProp-BN8claGG.js";
|
|
10
|
+
import { _ as ut } from "./PackageVersion-CxJghxYD.js";
|
|
11
|
+
import { P as nt } from "./PenAndPaper-ZdZEumki.js";
|
|
12
|
+
import { u as it } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
|
+
import { _ as rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const vt = ["id"], dt = {
|
|
14
15
|
key: 2,
|
|
15
16
|
style: "width:100%;background:transparent"
|
|
16
|
-
},
|
|
17
|
+
}, yt = ["xmlns", "viewBox"], ct = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ht = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], pt = ["font-size", "font-weight", "fill", "x", "y"], gt = ["x", "y", "width", "height", "onMouseover"], ft = { key: 0 }, bt = ["font-size", "fill", "x", "y", "font-weight"], mt = { key: 0 }, xt = ["text-anchor", "font-size", "fill", "font-weight", "transform"], wt = { key: 1 }, _t = ["x", "y", "width", "height", "stroke", "stroke-width"], kt = { key: 2 }, $t = ["id"], Ct = ["stop-color"], Lt = ["stop-color"], At = ["x", "y", "font-size", "fill"], Tt = ["x", "y", "height", "rx", "fill"], zt = ["x", "y", "font-size", "fill"], Mt = ["stroke", "x1", "x2", "y1", "y2"], St = ["fill", "d"], Ot = { key: 3 }, Nt = {
|
|
17
18
|
id: "colorScaleHorizontal",
|
|
18
19
|
x1: "0%",
|
|
19
20
|
x2: "100%",
|
|
20
21
|
y1: "0%",
|
|
21
22
|
y2: "0%"
|
|
22
|
-
},
|
|
23
|
+
}, Ft = ["stop-color"], Vt = ["stop-color"], Pt = ["x", "y", "width", "height", "rx"], It = ["x", "y", "font-size", "fill"], Bt = ["x", "y", "font-size", "fill"], Rt = ["stroke", "x1", "x2", "y1", "y2"], Gt = ["fill", "d"], Ut = {
|
|
23
24
|
key: 5,
|
|
24
25
|
class: "vue-data-ui-watermark"
|
|
25
|
-
},
|
|
26
|
+
}, Et = {
|
|
26
27
|
key: 6,
|
|
27
28
|
ref: "source",
|
|
28
29
|
dir: "auto"
|
|
29
|
-
},
|
|
30
|
+
}, Xt = { class: "vue-ui-data-table" }, Ht = { key: 0 }, Dt = ["data-cell"], Yt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, jt = ["data-cell"], Wt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qt = {
|
|
30
31
|
__name: "vue-ui-heatmap",
|
|
31
32
|
props: {
|
|
32
33
|
config: {
|
|
@@ -42,64 +43,64 @@ const ut = ["id"], nt = {
|
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
},
|
|
45
|
-
setup(
|
|
46
|
-
const r =
|
|
47
|
-
|
|
48
|
-
"
|
|
46
|
+
setup(H, { expose: Ae }) {
|
|
47
|
+
const r = H;
|
|
48
|
+
Ie((t) => ({
|
|
49
|
+
"035c69dc": t.tdo
|
|
49
50
|
}));
|
|
50
|
-
const { vue_ui_heatmap:
|
|
51
|
-
|
|
51
|
+
const { vue_ui_heatmap: Te } = Xe(), D = h(() => !!r.dataset && r.dataset.length);
|
|
52
|
+
He(r.dataset) && Ce({
|
|
52
53
|
componentName: "VueUiHeatmap",
|
|
53
54
|
type: "dataset"
|
|
54
55
|
});
|
|
55
|
-
const
|
|
56
|
-
get: () =>
|
|
56
|
+
const P = p(se()), Y = p(null), ze = p(null), J = p(!1), Q = p(""), ie = p(void 0), I = p(null), re = p(0), ve = p(null), Me = p(null), de = p(!1), ye = p(0), e = h({
|
|
57
|
+
get: () => ge(),
|
|
57
58
|
set: (t) => t
|
|
58
|
-
});
|
|
59
|
-
function
|
|
60
|
-
const t =
|
|
59
|
+
}), { userOptionsVisible: ce, setUserOptionsVisibility: he, keepUserOptionState: pe } = it({ config: e.value });
|
|
60
|
+
function ge() {
|
|
61
|
+
const t = Le({
|
|
61
62
|
userConfig: r.config,
|
|
62
|
-
defaultConfig:
|
|
63
|
+
defaultConfig: Te
|
|
63
64
|
});
|
|
64
|
-
let
|
|
65
|
-
return t.theme ?
|
|
66
|
-
...
|
|
67
|
-
userConfig:
|
|
65
|
+
let l = {};
|
|
66
|
+
return t.theme ? l = {
|
|
67
|
+
...Le({
|
|
68
|
+
userConfig: De.vue_ui_heatmap[t.theme] || r.config,
|
|
68
69
|
defaultConfig: t
|
|
69
70
|
})
|
|
70
|
-
} :
|
|
71
|
+
} : l = t, r.config && Ye(r.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? l.style.layout.dataLabels.xAxis.showOnlyAtModulo = r.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : l.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, l;
|
|
71
72
|
}
|
|
72
|
-
|
|
73
|
-
e.value =
|
|
74
|
-
}, { deep: !0 }),
|
|
73
|
+
$e(() => r.config, (t) => {
|
|
74
|
+
e.value = ge(), Z(), ye.value += 1;
|
|
75
|
+
}, { deep: !0 }), $e(() => r.dataset, () => {
|
|
75
76
|
Z();
|
|
76
77
|
}, { deep: !0 });
|
|
77
|
-
const { isPrinting:
|
|
78
|
-
elementId: `heatmap__${
|
|
78
|
+
const { isPrinting: fe, isImaging: be, generatePdf: me, generateImage: xe } = et({
|
|
79
|
+
elementId: `heatmap__${P.value}`,
|
|
79
80
|
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
80
|
-
}),
|
|
81
|
+
}), Se = h(() => e.value.userOptions.show && !e.value.style.title.text), _ = p({
|
|
81
82
|
showTable: e.value.table.show,
|
|
82
83
|
showTooltip: e.value.style.tooltip.show
|
|
83
|
-
}),
|
|
84
|
-
function
|
|
85
|
-
new ResizeObserver((
|
|
86
|
-
|
|
87
|
-
de.value = s.contentRect.width <
|
|
84
|
+
}), Oe = h(() => e.value.table.responsiveBreakpoint);
|
|
85
|
+
function Ne() {
|
|
86
|
+
new ResizeObserver((l) => {
|
|
87
|
+
l.forEach((s) => {
|
|
88
|
+
de.value = s.contentRect.width < Oe.value;
|
|
88
89
|
});
|
|
89
90
|
}).observe(ve.value);
|
|
90
91
|
}
|
|
91
|
-
|
|
92
|
+
Be(Z);
|
|
92
93
|
function Z() {
|
|
93
|
-
|
|
94
|
+
Ne();
|
|
94
95
|
}
|
|
95
96
|
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,
|
|
97
|
+
const t = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + r.dataset.length * e.value.style.layout.cells.height, l = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (N.value < r.dataset.length ? r.dataset.length : N.value) * e.value.style.layout.cells.height, s = t + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
|
|
97
98
|
return {
|
|
98
99
|
height: t,
|
|
99
100
|
heightWithLegend: s,
|
|
100
|
-
width:
|
|
101
|
+
width: l
|
|
101
102
|
};
|
|
102
|
-
}), j = h(() => e.value.style.legend.position),
|
|
103
|
+
}), j = h(() => e.value.style.legend.position), a = h(() => ({
|
|
103
104
|
top: e.value.style.layout.padding.top,
|
|
104
105
|
left: e.value.style.layout.padding.left,
|
|
105
106
|
right: k.value.width - e.value.style.layout.padding.right - (j.value === "right" && e.value.style.legend.show ? 92 : 0),
|
|
@@ -110,68 +111,68 @@ const ut = ["id"], nt = {
|
|
|
110
111
|
const t = r.dataset.flatMap((s) => s.values);
|
|
111
112
|
return t.reduce((s, v) => s + v, 0) / t.length;
|
|
112
113
|
}), d = h(() => ({
|
|
113
|
-
width:
|
|
114
|
-
height:
|
|
114
|
+
width: a.value.width / N.value,
|
|
115
|
+
height: a.value.width / (N.value < r.dataset.length ? r.dataset.length : N.value)
|
|
115
116
|
})), $ = h(() => {
|
|
116
|
-
const t = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : r.dataset.map((s) => s.name),
|
|
117
|
+
const t = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : r.dataset.map((s) => s.name), l = e.value.style.layout.dataLabels.xAxis.values;
|
|
117
118
|
return {
|
|
118
119
|
yLabels: t,
|
|
119
|
-
xLabels:
|
|
120
|
+
xLabels: l.slice(0, N.value)
|
|
120
121
|
};
|
|
121
|
-
}), W = h(() => (r.dataset.forEach((t,
|
|
122
|
-
|
|
122
|
+
}), W = h(() => (r.dataset.forEach((t, l) => {
|
|
123
|
+
je({
|
|
123
124
|
datasetObject: t,
|
|
124
125
|
requiredAttributes: ["values"]
|
|
125
126
|
}).forEach((s) => {
|
|
126
|
-
|
|
127
|
+
Ce({
|
|
127
128
|
componentName: "VueUiHeatmap",
|
|
128
129
|
type: "datasetSerieAttribute",
|
|
129
130
|
property: "values",
|
|
130
|
-
index:
|
|
131
|
+
index: l
|
|
131
132
|
});
|
|
132
133
|
});
|
|
133
134
|
}), r.dataset.map((t) => ({
|
|
134
135
|
...t,
|
|
135
|
-
temperatures: (t.values || []).map((
|
|
136
|
+
temperatures: (t.values || []).map((l, s) => l >= M.value ? {
|
|
136
137
|
side: "up",
|
|
137
|
-
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, m.value,
|
|
138
|
-
ratio: Math.abs(Math.abs(
|
|
139
|
-
value:
|
|
138
|
+
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, m.value, l),
|
|
139
|
+
ratio: Math.abs(Math.abs(l - M.value) / Math.abs(m.value - M.value)) > 1 ? 1 : Math.abs(Math.abs(l - M.value) / Math.abs(m.value - M.value)),
|
|
140
|
+
value: l,
|
|
140
141
|
yAxisName: t.name,
|
|
141
142
|
xAxisName: $.value.xLabels[s],
|
|
142
143
|
id: `vue-data-ui-heatmap-cell-${se()}`
|
|
143
144
|
} : {
|
|
144
145
|
side: "down",
|
|
145
|
-
ratio: Math.abs(1 - Math.abs(
|
|
146
|
-
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, m.value,
|
|
147
|
-
value:
|
|
146
|
+
ratio: Math.abs(1 - Math.abs(l) / Math.abs(M.value)) > 1 ? 1 : Math.abs(1 - Math.abs(l) / Math.abs(M.value)),
|
|
147
|
+
color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, m.value, l),
|
|
148
|
+
value: l,
|
|
148
149
|
yAxisName: t.name,
|
|
149
150
|
xAxisName: $.value.xLabels[s],
|
|
150
151
|
id: `vue-data-ui-heatmap-cell-${se()}`
|
|
151
152
|
})
|
|
152
153
|
})))), C = p(null), B = p(null);
|
|
153
|
-
function
|
|
154
|
+
function Fe(t, l, s, v) {
|
|
154
155
|
I.value = { x: s, y: v };
|
|
155
|
-
const { value: y, yAxisName: g, xAxisName: L, id:
|
|
156
|
-
ie.value =
|
|
156
|
+
const { value: y, yAxisName: g, xAxisName: L, id: Pe } = t;
|
|
157
|
+
ie.value = Pe, C.value = y, B.value = {
|
|
157
158
|
datapoint: t,
|
|
158
|
-
seriesIndex:
|
|
159
|
+
seriesIndex: l,
|
|
159
160
|
series: W.value,
|
|
160
161
|
config: e.value
|
|
161
162
|
}, J.value = !0;
|
|
162
163
|
let le = "";
|
|
163
164
|
const ae = e.value.style.tooltip.customFormat;
|
|
164
|
-
|
|
165
|
+
qe(ae) && Ke(() => ae({
|
|
165
166
|
datapoint: t,
|
|
166
|
-
seriesIndex:
|
|
167
|
+
seriesIndex: l,
|
|
167
168
|
series: W.value,
|
|
168
169
|
config: e.value
|
|
169
170
|
})) ? Q.value = ae({
|
|
170
171
|
datapoint: t,
|
|
171
|
-
seriesIndex:
|
|
172
|
+
seriesIndex: l,
|
|
172
173
|
series: W.value,
|
|
173
174
|
config: e.value
|
|
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, z.value, m.value, y)}">⬤</span><span>${isNaN(y) ? "-" :
|
|
175
|
+
}) : (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, z.value, m.value, y)}">⬤</span><span>${isNaN(y) ? "-" : V(
|
|
175
176
|
e.value.style.layout.cells.value.formatter,
|
|
176
177
|
y,
|
|
177
178
|
O({
|
|
@@ -180,58 +181,60 @@ const ut = ["id"], nt = {
|
|
|
180
181
|
s: e.value.style.layout.dataLabels.suffix,
|
|
181
182
|
r: e.value.style.tooltip.roundingValue
|
|
182
183
|
}),
|
|
183
|
-
{ datapoint: t, seriesIndex:
|
|
184
|
+
{ datapoint: t, seriesIndex: l }
|
|
184
185
|
)}</span></div>`, Q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${le}</div>`);
|
|
185
186
|
}
|
|
186
|
-
const R = h(() =>
|
|
187
|
+
const R = h(() => a.value.top + ee.value * (1 - C.value / m.value)), G = h(() => a.value.left + (k.value.width - a.value.left - e.value.style.layout.padding.right) * (C.value / m.value));
|
|
187
188
|
h(() => {
|
|
188
189
|
const t = r.dataset.map((s) => ({
|
|
189
190
|
name: s.name
|
|
190
|
-
})),
|
|
191
|
-
return { head: t, body:
|
|
191
|
+
})), l = r.dataset.map((s) => s.values);
|
|
192
|
+
return { head: t, body: l };
|
|
192
193
|
});
|
|
193
|
-
function
|
|
194
|
-
|
|
195
|
-
const t = ["", ...r.dataset.map((y, g) => y.name)],
|
|
194
|
+
function we() {
|
|
195
|
+
Ee(() => {
|
|
196
|
+
const t = ["", ...r.dataset.map((y, g) => y.name)], l = [];
|
|
196
197
|
for (let y = 0; y < $.value.xLabels.length; y += 1) {
|
|
197
198
|
const g = [$.value.xLabels[y]];
|
|
198
199
|
for (let L = 0; L < r.dataset.length; L += 1)
|
|
199
200
|
g.push([r.dataset[L].values[y]]);
|
|
200
|
-
|
|
201
|
+
l.push(g);
|
|
201
202
|
}
|
|
202
|
-
const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(
|
|
203
|
-
|
|
203
|
+
const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(l), v = Je(s);
|
|
204
|
+
Qe({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
204
205
|
});
|
|
205
206
|
}
|
|
206
207
|
const F = p(!1);
|
|
207
|
-
function
|
|
208
|
+
function Ve(t) {
|
|
208
209
|
F.value = t, re.value += 1;
|
|
209
210
|
}
|
|
210
|
-
function
|
|
211
|
+
function _e() {
|
|
211
212
|
_.value.showTable = !_.value.showTable;
|
|
212
213
|
}
|
|
213
|
-
function
|
|
214
|
+
function ke() {
|
|
214
215
|
_.value.showTooltip = !_.value.showTooltip;
|
|
215
216
|
}
|
|
216
217
|
const q = p(!1);
|
|
217
218
|
function te() {
|
|
218
219
|
q.value = !q.value;
|
|
219
220
|
}
|
|
220
|
-
return
|
|
221
|
-
generatePdf:
|
|
222
|
-
generateCsv:
|
|
223
|
-
generateImage:
|
|
224
|
-
toggleTable:
|
|
225
|
-
toggleTooltip:
|
|
221
|
+
return Ae({
|
|
222
|
+
generatePdf: me,
|
|
223
|
+
generateCsv: we,
|
|
224
|
+
generateImage: xe,
|
|
225
|
+
toggleTable: _e,
|
|
226
|
+
toggleTooltip: ke,
|
|
226
227
|
toggleAnnotator: te
|
|
227
|
-
}), (t,
|
|
228
|
+
}), (t, l) => (o(), n("div", {
|
|
228
229
|
ref_key: "heatmapChart",
|
|
229
230
|
ref: Y,
|
|
230
231
|
class: K(`vue-ui-heatmap ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
231
232
|
style: x(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
|
|
232
|
-
id: `heatmap__${
|
|
233
|
+
id: `heatmap__${P.value}`,
|
|
234
|
+
onMouseenter: l[3] || (l[3] = () => u(he)(!0)),
|
|
235
|
+
onMouseleave: l[4] || (l[4] = () => u(he)(!1))
|
|
233
236
|
}, [
|
|
234
|
-
e.value.userOptions.buttons.annotator ? (o(),
|
|
237
|
+
e.value.userOptions.buttons.annotator ? (o(), U(nt, {
|
|
235
238
|
key: 0,
|
|
236
239
|
parent: Y.value,
|
|
237
240
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -239,15 +242,15 @@ const ut = ["id"], nt = {
|
|
|
239
242
|
active: q.value,
|
|
240
243
|
onClose: te
|
|
241
244
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
242
|
-
|
|
245
|
+
Se.value ? (o(), n("div", {
|
|
243
246
|
key: 1,
|
|
244
247
|
ref_key: "noTitle",
|
|
245
|
-
ref:
|
|
248
|
+
ref: Me,
|
|
246
249
|
class: "vue-data-ui-no-title-space",
|
|
247
250
|
style: "height:36px; width: 100%;background:transparent"
|
|
248
251
|
}, null, 512)) : c("", !0),
|
|
249
|
-
e.value.style.title.text ? (o(),
|
|
250
|
-
(o(),
|
|
252
|
+
e.value.style.title.text ? (o(), n("div", dt, [
|
|
253
|
+
(o(), U(Ze, {
|
|
251
254
|
key: `title_${ye.value}`,
|
|
252
255
|
config: {
|
|
253
256
|
title: {
|
|
@@ -261,15 +264,15 @@ const ut = ["id"], nt = {
|
|
|
261
264
|
}
|
|
262
265
|
}, null, 8, ["config"]))
|
|
263
266
|
])) : c("", !0),
|
|
264
|
-
e.value.userOptions.show &&
|
|
267
|
+
e.value.userOptions.show && D.value && (u(pe) || u(ce)) ? (o(), U(tt, {
|
|
265
268
|
ref_key: "details",
|
|
266
|
-
ref:
|
|
269
|
+
ref: ze,
|
|
267
270
|
key: `user_options_${re.value}`,
|
|
268
271
|
backgroundColor: e.value.style.backgroundColor,
|
|
269
272
|
color: e.value.style.color,
|
|
270
|
-
isImaging:
|
|
271
|
-
isPrinting:
|
|
272
|
-
uid:
|
|
273
|
+
isImaging: u(be),
|
|
274
|
+
isPrinting: u(fe),
|
|
275
|
+
uid: P.value,
|
|
273
276
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
274
277
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
275
278
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -283,14 +286,17 @@ const ut = ["id"], nt = {
|
|
|
283
286
|
position: e.value.userOptions.position,
|
|
284
287
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
285
288
|
isAnnotation: q.value,
|
|
286
|
-
onToggleFullscreen:
|
|
287
|
-
onGeneratePdf:
|
|
288
|
-
onGenerateCsv:
|
|
289
|
-
onGenerateImage:
|
|
290
|
-
onToggleTable:
|
|
291
|
-
onToggleTooltip:
|
|
292
|
-
onToggleAnnotator: te
|
|
293
|
-
|
|
289
|
+
onToggleFullscreen: Ve,
|
|
290
|
+
onGeneratePdf: u(me),
|
|
291
|
+
onGenerateCsv: we,
|
|
292
|
+
onGenerateImage: u(xe),
|
|
293
|
+
onToggleTable: _e,
|
|
294
|
+
onToggleTooltip: ke,
|
|
295
|
+
onToggleAnnotator: te,
|
|
296
|
+
style: x({
|
|
297
|
+
visibility: u(pe) ? u(ce) ? "visible" : "hidden" : "visible"
|
|
298
|
+
})
|
|
299
|
+
}, Re({ _: 2 }, [
|
|
294
300
|
t.$slots.optionTooltip ? {
|
|
295
301
|
name: "optionTooltip",
|
|
296
302
|
fn: w(() => [
|
|
@@ -329,105 +335,105 @@ const ut = ["id"], nt = {
|
|
|
329
335
|
t.$slots.optionFullscreen ? {
|
|
330
336
|
name: "optionFullscreen",
|
|
331
337
|
fn: w(({ toggleFullscreen: s, isFullscreen: v }) => [
|
|
332
|
-
f(t.$slots, "optionFullscreen", X(
|
|
338
|
+
f(t.$slots, "optionFullscreen", E(X({ toggleFullscreen: s, isFullscreen: v })), void 0, !0)
|
|
333
339
|
]),
|
|
334
340
|
key: "5"
|
|
335
341
|
} : void 0,
|
|
336
342
|
t.$slots.optionAnnotator ? {
|
|
337
343
|
name: "optionAnnotator",
|
|
338
344
|
fn: w(({ toggleAnnotator: s, isAnnotator: v }) => [
|
|
339
|
-
f(t.$slots, "optionAnnotator", X(
|
|
345
|
+
f(t.$slots, "optionAnnotator", E(X({ toggleAnnotator: s, isAnnotator: v })), void 0, !0)
|
|
340
346
|
]),
|
|
341
347
|
key: "6"
|
|
342
348
|
} : void 0
|
|
343
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
344
|
-
|
|
349
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
350
|
+
D.value ? (o(), n("svg", {
|
|
345
351
|
key: 4,
|
|
346
|
-
xmlns:
|
|
352
|
+
xmlns: u(We),
|
|
347
353
|
class: K({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
|
|
348
354
|
viewBox: `0 0 ${k.value.width} ${k.value.heightWithLegend}`,
|
|
349
355
|
style: x(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
350
356
|
}, [
|
|
351
|
-
oe(
|
|
352
|
-
(o(!0),
|
|
353
|
-
(o(!0),
|
|
354
|
-
|
|
355
|
-
x:
|
|
356
|
-
y:
|
|
357
|
+
oe(ut),
|
|
358
|
+
(o(!0), n(A, null, S(W.value, (s, v) => (o(), n("g", null, [
|
|
359
|
+
(o(!0), n(A, null, S(s.temperatures, (y, g) => (o(), n("g", null, [
|
|
360
|
+
i("rect", {
|
|
361
|
+
x: a.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
362
|
+
y: a.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
357
363
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
358
364
|
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
359
365
|
fill: e.value.style.layout.cells.colors.underlayer,
|
|
360
366
|
stroke: e.value.style.backgroundColor,
|
|
361
367
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
362
|
-
}, null, 8,
|
|
363
|
-
|
|
364
|
-
x:
|
|
365
|
-
y:
|
|
368
|
+
}, null, 8, ct),
|
|
369
|
+
i("rect", {
|
|
370
|
+
x: a.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
371
|
+
y: a.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
366
372
|
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
367
373
|
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
368
374
|
fill: y.color,
|
|
369
375
|
stroke: e.value.style.backgroundColor,
|
|
370
376
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
371
|
-
}, null, 8,
|
|
372
|
-
e.value.style.layout.cells.value.show ? (o(),
|
|
377
|
+
}, null, 8, ht),
|
|
378
|
+
e.value.style.layout.cells.value.show ? (o(), n("text", {
|
|
373
379
|
key: 0,
|
|
374
380
|
"text-anchor": "middle",
|
|
375
381
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
376
382
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
377
|
-
fill:
|
|
378
|
-
x:
|
|
379
|
-
y:
|
|
380
|
-
}, b(
|
|
383
|
+
fill: u(ne)(y.color),
|
|
384
|
+
x: a.value.left + d.value.width * g + d.value.width / 2,
|
|
385
|
+
y: a.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
386
|
+
}, b(u(V)(
|
|
381
387
|
e.value.style.layout.cells.value.formatter,
|
|
382
388
|
y.value,
|
|
383
|
-
|
|
389
|
+
u(O)({
|
|
384
390
|
p: e.value.style.layout.dataLabels.prefix,
|
|
385
391
|
v: y.value,
|
|
386
392
|
s: e.value.style.layout.dataLabels.suffix,
|
|
387
393
|
r: e.value.style.layout.cells.value.roundingValue
|
|
388
394
|
}),
|
|
389
395
|
{ datapoint: y }
|
|
390
|
-
)), 9,
|
|
396
|
+
)), 9, pt)) : c("", !0)
|
|
391
397
|
]))), 256)),
|
|
392
|
-
(o(!0),
|
|
393
|
-
|
|
394
|
-
x:
|
|
395
|
-
y:
|
|
398
|
+
(o(!0), n(A, null, S(s.temperatures, (y, g) => (o(), n("g", null, [
|
|
399
|
+
i("rect", {
|
|
400
|
+
x: a.value.left + d.value.width * g,
|
|
401
|
+
y: a.value.top + d.value.height * v,
|
|
396
402
|
width: d.value.width,
|
|
397
403
|
height: d.value.height,
|
|
398
404
|
fill: "transparent",
|
|
399
405
|
stroke: "none",
|
|
400
|
-
onMouseover: (L) =>
|
|
401
|
-
onMouseout:
|
|
406
|
+
onMouseover: (L) => Fe(y, v, a.value.left + d.value.width * g, a.value.top + d.value.height * v),
|
|
407
|
+
onMouseout: l[0] || (l[0] = (L) => {
|
|
402
408
|
J.value = !1, ie.value = void 0, C.value = null, I.value = null;
|
|
403
409
|
})
|
|
404
|
-
}, null, 40,
|
|
410
|
+
}, null, 40, gt)
|
|
405
411
|
]))), 256)),
|
|
406
|
-
e.value.style.layout.dataLabels.yAxis.show ? (o(),
|
|
407
|
-
|
|
412
|
+
e.value.style.layout.dataLabels.yAxis.show ? (o(), n("g", ft, [
|
|
413
|
+
i("text", {
|
|
408
414
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
409
415
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
410
|
-
x:
|
|
411
|
-
y:
|
|
416
|
+
x: a.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
|
|
417
|
+
y: a.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
412
418
|
"text-anchor": "end",
|
|
413
419
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
414
|
-
}, b($.value.yLabels[v]), 9,
|
|
420
|
+
}, b($.value.yLabels[v]), 9, bt)
|
|
415
421
|
])) : c("", !0)
|
|
416
422
|
]))), 256)),
|
|
417
|
-
e.value.style.layout.dataLabels.xAxis.show ? (o(),
|
|
418
|
-
(o(!0),
|
|
419
|
-
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (o(),
|
|
423
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), n("g", mt, [
|
|
424
|
+
(o(!0), n(A, null, S($.value.xLabels, (s, v) => (o(), n(A, null, [
|
|
425
|
+
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (o(), n("text", {
|
|
420
426
|
key: 0,
|
|
421
427
|
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
422
428
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
423
429
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
424
430
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
425
|
-
transform: `translate(${
|
|
426
|
-
}, b(s), 9,
|
|
431
|
+
transform: `translate(${a.value.left + d.value.width / 2 + a.value.width / $.value.xLabels.length * v + e.value.style.layout.dataLabels.xAxis.offsetX}, ${a.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
432
|
+
}, b(s), 9, xt)) : c("", !0)
|
|
427
433
|
], 64))), 256))
|
|
428
434
|
])) : c("", !0),
|
|
429
|
-
I.value ? (o(),
|
|
430
|
-
|
|
435
|
+
I.value ? (o(), n("g", wt, [
|
|
436
|
+
i("rect", {
|
|
431
437
|
style: { "pointer-events": "none" },
|
|
432
438
|
x: I.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
433
439
|
y: I.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
@@ -437,159 +443,159 @@ const ut = ["id"], nt = {
|
|
|
437
443
|
stroke: e.value.style.layout.cells.selected.color,
|
|
438
444
|
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
439
445
|
rx: 1
|
|
440
|
-
}, null, 8,
|
|
446
|
+
}, null, 8, _t)
|
|
441
447
|
])) : c("", !0),
|
|
442
|
-
e.value.style.legend.show && j.value === "right" ? (o(),
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
id: `colorScaleVertical_${
|
|
448
|
+
e.value.style.legend.show && j.value === "right" ? (o(), n("g", kt, [
|
|
449
|
+
i("defs", null, [
|
|
450
|
+
i("linearGradient", {
|
|
451
|
+
id: `colorScaleVertical_${P.value}`,
|
|
446
452
|
x2: "0%",
|
|
447
453
|
y2: "100%"
|
|
448
454
|
}, [
|
|
449
|
-
|
|
455
|
+
i("stop", {
|
|
450
456
|
offset: "0%",
|
|
451
457
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
452
|
-
}, null, 8,
|
|
453
|
-
|
|
458
|
+
}, null, 8, Ct),
|
|
459
|
+
i("stop", {
|
|
454
460
|
offset: "100%",
|
|
455
461
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
456
|
-
}, null, 8,
|
|
457
|
-
], 8,
|
|
462
|
+
}, null, 8, Lt)
|
|
463
|
+
], 8, $t)
|
|
458
464
|
]),
|
|
459
|
-
|
|
460
|
-
x:
|
|
461
|
-
y:
|
|
465
|
+
i("text", {
|
|
466
|
+
x: a.value.right + 36 + 18,
|
|
467
|
+
y: a.value.top - e.value.style.legend.fontSize * 1.5,
|
|
462
468
|
"text-anchor": "middle",
|
|
463
469
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
464
470
|
fill: e.value.style.legend.color
|
|
465
|
-
}, b(
|
|
471
|
+
}, b(u(V)(
|
|
466
472
|
e.value.style.layout.cells.value.formatter,
|
|
467
|
-
|
|
468
|
-
|
|
473
|
+
u(T)(m.value),
|
|
474
|
+
u(O)({
|
|
469
475
|
p: e.value.style.layout.dataLabels.prefix,
|
|
470
|
-
v:
|
|
476
|
+
v: u(T)(m.value),
|
|
471
477
|
s: e.value.style.layout.dataLabels.suffix,
|
|
472
478
|
r: e.value.style.legend.roundingValue
|
|
473
479
|
})
|
|
474
|
-
)), 9,
|
|
475
|
-
|
|
476
|
-
x:
|
|
477
|
-
y:
|
|
480
|
+
)), 9, At),
|
|
481
|
+
i("rect", {
|
|
482
|
+
x: a.value.right + 36,
|
|
483
|
+
y: a.value.top,
|
|
478
484
|
width: 36,
|
|
479
485
|
height: ee.value,
|
|
480
486
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
481
|
-
fill: `url(#colorScaleVertical_${
|
|
482
|
-
}, null, 8,
|
|
483
|
-
|
|
484
|
-
x:
|
|
485
|
-
y:
|
|
487
|
+
fill: `url(#colorScaleVertical_${P.value})`
|
|
488
|
+
}, null, 8, Tt),
|
|
489
|
+
i("text", {
|
|
490
|
+
x: a.value.right + 36 + 18,
|
|
491
|
+
y: a.value.top + ee.value + e.value.style.legend.fontSize * 2.5,
|
|
486
492
|
"text-anchor": "middle",
|
|
487
493
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
488
494
|
fill: e.value.style.legend.color
|
|
489
|
-
}, b(
|
|
495
|
+
}, b(u(V)(
|
|
490
496
|
e.value.style.layout.cells.value.formatter,
|
|
491
|
-
|
|
492
|
-
|
|
497
|
+
u(T)(z.value),
|
|
498
|
+
u(O)({
|
|
493
499
|
p: e.value.style.layout.dataLabels.prefix,
|
|
494
|
-
v:
|
|
500
|
+
v: u(T)(z.value),
|
|
495
501
|
s: e.value.style.layout.dataLabels.suffix,
|
|
496
502
|
r: e.value.style.legend.roundingValue
|
|
497
503
|
})
|
|
498
|
-
)), 9,
|
|
499
|
-
C.value !== null ? (o(),
|
|
504
|
+
)), 9, zt),
|
|
505
|
+
C.value !== null ? (o(), n("line", {
|
|
500
506
|
key: 0,
|
|
501
|
-
stroke:
|
|
507
|
+
stroke: u(ne)(B.value.datapoint.color),
|
|
502
508
|
"stroke-width": "2",
|
|
503
|
-
x1:
|
|
504
|
-
x2:
|
|
509
|
+
x1: a.value.right + 36,
|
|
510
|
+
x2: a.value.right + 72,
|
|
505
511
|
y1: R.value,
|
|
506
512
|
y2: R.value
|
|
507
|
-
}, null, 8,
|
|
508
|
-
C.value !== null ? (o(),
|
|
513
|
+
}, null, 8, Mt)) : c("", !0),
|
|
514
|
+
C.value !== null ? (o(), n("path", {
|
|
509
515
|
key: 1,
|
|
510
516
|
fill: e.value.style.color,
|
|
511
517
|
stroke: "none",
|
|
512
|
-
d: `M ${
|
|
513
|
-
}, null, 8,
|
|
518
|
+
d: `M ${a.value.right + 36},${R.value} ${a.value.right + 26},${R.value - 8} ${a.value.right + 26},${R.value + 8}z`
|
|
519
|
+
}, null, 8, St)) : c("", !0)
|
|
514
520
|
])) : c("", !0),
|
|
515
|
-
e.value.style.legend.show && j.value === "bottom" ? (o(),
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
521
|
+
e.value.style.legend.show && j.value === "bottom" ? (o(), n("g", Ot, [
|
|
522
|
+
i("defs", null, [
|
|
523
|
+
i("linearGradient", Nt, [
|
|
524
|
+
i("stop", {
|
|
519
525
|
offset: "0%",
|
|
520
526
|
"stop-color": e.value.style.layout.cells.colors.cold
|
|
521
|
-
}, null, 8,
|
|
522
|
-
|
|
527
|
+
}, null, 8, Ft),
|
|
528
|
+
i("stop", {
|
|
523
529
|
offset: "100%",
|
|
524
530
|
"stop-color": e.value.style.layout.cells.colors.hot
|
|
525
|
-
}, null, 8,
|
|
531
|
+
}, null, 8, Vt)
|
|
526
532
|
])
|
|
527
533
|
]),
|
|
528
|
-
|
|
529
|
-
x:
|
|
530
|
-
y:
|
|
531
|
-
width: k.value.width -
|
|
534
|
+
i("rect", {
|
|
535
|
+
x: a.value.left,
|
|
536
|
+
y: a.value.bottom + e.value.style.layout.cells.height,
|
|
537
|
+
width: k.value.width - a.value.left - e.value.style.layout.padding.right,
|
|
532
538
|
height: e.value.style.layout.cells.height,
|
|
533
539
|
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,
|
|
534
540
|
fill: "url(#colorScaleHorizontal)"
|
|
535
|
-
}, null, 8,
|
|
536
|
-
|
|
537
|
-
x:
|
|
538
|
-
y:
|
|
541
|
+
}, null, 8, Pt),
|
|
542
|
+
i("text", {
|
|
543
|
+
x: a.value.left,
|
|
544
|
+
y: a.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
539
545
|
"text-anchor": "start",
|
|
540
546
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
541
547
|
fill: e.value.style.legend.color
|
|
542
|
-
}, b(
|
|
548
|
+
}, b(u(V)(
|
|
543
549
|
e.value.style.layout.cells.value.formatter,
|
|
544
|
-
|
|
545
|
-
|
|
550
|
+
u(T)(z.value),
|
|
551
|
+
u(O)({
|
|
546
552
|
p: e.value.style.layout.dataLabels.prefix,
|
|
547
|
-
v:
|
|
553
|
+
v: u(T)(z.value),
|
|
548
554
|
s: e.value.style.layout.dataLabels.suffix,
|
|
549
555
|
r: e.value.style.legend.roundingValue
|
|
550
556
|
})
|
|
551
|
-
)), 9,
|
|
552
|
-
|
|
553
|
-
x:
|
|
554
|
-
y:
|
|
557
|
+
)), 9, It),
|
|
558
|
+
i("text", {
|
|
559
|
+
x: a.value.right,
|
|
560
|
+
y: a.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
555
561
|
"text-anchor": "end",
|
|
556
562
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
557
563
|
fill: e.value.style.legend.color
|
|
558
|
-
}, b(
|
|
564
|
+
}, b(u(V)(
|
|
559
565
|
e.value.style.layout.cells.value.formatter,
|
|
560
|
-
|
|
561
|
-
|
|
566
|
+
u(T)(m.value),
|
|
567
|
+
u(O)({
|
|
562
568
|
p: e.value.style.layout.dataLabels.prefix,
|
|
563
|
-
v:
|
|
569
|
+
v: u(T)(m.value),
|
|
564
570
|
s: e.value.style.layout.dataLabels.suffix,
|
|
565
571
|
r: e.value.style.legend.roundingValue
|
|
566
572
|
})
|
|
567
|
-
)), 9,
|
|
568
|
-
C.value !== null ? (o(),
|
|
573
|
+
)), 9, Bt),
|
|
574
|
+
C.value !== null ? (o(), n("line", {
|
|
569
575
|
key: 0,
|
|
570
|
-
stroke:
|
|
576
|
+
stroke: u(ne)(B.value.datapoint.color),
|
|
571
577
|
"stroke-width": "2",
|
|
572
578
|
x1: G.value,
|
|
573
579
|
x2: G.value,
|
|
574
|
-
y1:
|
|
575
|
-
y2:
|
|
576
|
-
}, null, 8,
|
|
577
|
-
C.value !== null ? (o(),
|
|
580
|
+
y1: a.value.bottom + e.value.style.layout.cells.height,
|
|
581
|
+
y2: a.value.bottom + e.value.style.layout.cells.height * 2
|
|
582
|
+
}, null, 8, Rt)) : c("", !0),
|
|
583
|
+
C.value !== null ? (o(), n("path", {
|
|
578
584
|
key: 1,
|
|
579
585
|
fill: e.value.style.color,
|
|
580
586
|
stroke: "none",
|
|
581
|
-
d: `M ${G.value},${
|
|
582
|
-
}, null, 8,
|
|
587
|
+
d: `M ${G.value},${a.value.bottom + e.value.style.layout.cells.height} ${G.value - 12},${a.value.bottom + e.value.style.layout.cells.height - 20} ${G.value + 12},${a.value.bottom + e.value.style.layout.cells.height - 20}z`
|
|
588
|
+
}, null, 8, Gt)) : c("", !0)
|
|
583
589
|
])) : c("", !0),
|
|
584
590
|
f(t.$slots, "svg", { svg: k.value }, void 0, !0)
|
|
585
|
-
], 14,
|
|
586
|
-
t.$slots.watermark ? (o(),
|
|
587
|
-
f(t.$slots, "watermark", X(
|
|
591
|
+
], 14, yt)) : c("", !0),
|
|
592
|
+
t.$slots.watermark ? (o(), n("div", Ut, [
|
|
593
|
+
f(t.$slots, "watermark", E(X({ isPrinting: u(fe) || u(be) })), void 0, !0)
|
|
588
594
|
])) : c("", !0),
|
|
589
|
-
t.$slots.source ? (o(),
|
|
595
|
+
t.$slots.source ? (o(), n("div", Et, [
|
|
590
596
|
f(t.$slots, "source", {}, void 0, !0)
|
|
591
597
|
], 512)) : c("", !0),
|
|
592
|
-
|
|
598
|
+
D.value ? c("", !0) : (o(), U(at, {
|
|
593
599
|
key: 7,
|
|
594
600
|
config: {
|
|
595
601
|
type: "heatmap",
|
|
@@ -601,7 +607,7 @@ const ut = ["id"], nt = {
|
|
|
601
607
|
}
|
|
602
608
|
}
|
|
603
609
|
}, null, 8, ["config"])),
|
|
604
|
-
oe(
|
|
610
|
+
oe(lt, {
|
|
605
611
|
show: _.value.showTooltip && J.value,
|
|
606
612
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
607
613
|
color: e.value.style.tooltip.color,
|
|
@@ -618,14 +624,14 @@ const ut = ["id"], nt = {
|
|
|
618
624
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
619
625
|
}, {
|
|
620
626
|
"tooltip-before": w(() => [
|
|
621
|
-
f(t.$slots, "tooltip-before", X(
|
|
627
|
+
f(t.$slots, "tooltip-before", E(X({ ...B.value })), void 0, !0)
|
|
622
628
|
]),
|
|
623
629
|
"tooltip-after": w(() => [
|
|
624
|
-
f(t.$slots, "tooltip-after", X(
|
|
630
|
+
f(t.$slots, "tooltip-after", E(X({ ...B.value })), void 0, !0)
|
|
625
631
|
]),
|
|
626
632
|
_: 3
|
|
627
633
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
628
|
-
|
|
634
|
+
D.value ? (o(), U(st, {
|
|
629
635
|
key: 8,
|
|
630
636
|
hideDetails: "",
|
|
631
637
|
config: {
|
|
@@ -642,69 +648,69 @@ const ut = ["id"], nt = {
|
|
|
642
648
|
}
|
|
643
649
|
}, {
|
|
644
650
|
content: w(() => [
|
|
645
|
-
|
|
651
|
+
i("div", {
|
|
646
652
|
ref_key: "tableContainer",
|
|
647
653
|
ref: ve,
|
|
648
654
|
class: "vue-ui-heatmap-table"
|
|
649
655
|
}, [
|
|
650
|
-
|
|
656
|
+
i("div", {
|
|
651
657
|
style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
|
|
652
658
|
class: K({ "vue-ui-responsive": de.value })
|
|
653
659
|
}, [
|
|
654
|
-
|
|
660
|
+
i("div", {
|
|
655
661
|
role: "button",
|
|
656
662
|
tabindex: "0",
|
|
657
663
|
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};`),
|
|
658
|
-
onClick:
|
|
659
|
-
onKeypress:
|
|
664
|
+
onClick: l[1] || (l[1] = (s) => _.value.showTable = !1),
|
|
665
|
+
onKeypress: l[2] || (l[2] = Ge((s) => _.value.showTable = !1, ["enter"]))
|
|
660
666
|
}, [
|
|
661
|
-
oe(
|
|
667
|
+
oe(ot, {
|
|
662
668
|
name: "close",
|
|
663
669
|
stroke: e.value.table.th.color,
|
|
664
670
|
"stroke-width": 2
|
|
665
671
|
}, null, 8, ["stroke"])
|
|
666
672
|
], 36),
|
|
667
|
-
|
|
668
|
-
|
|
673
|
+
i("table", Xt, [
|
|
674
|
+
i("caption", {
|
|
669
675
|
style: x(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
670
676
|
}, [
|
|
671
|
-
|
|
672
|
-
e.value.style.title.subtitle.text ? (o(),
|
|
677
|
+
Ue(b(e.value.style.title.text) + " ", 1),
|
|
678
|
+
e.value.style.title.subtitle.text ? (o(), n("span", Ht, b(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
673
679
|
], 4),
|
|
674
|
-
|
|
675
|
-
|
|
680
|
+
i("thead", null, [
|
|
681
|
+
i("tr", {
|
|
676
682
|
role: "row",
|
|
677
683
|
style: x(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
678
684
|
}, [
|
|
679
|
-
|
|
685
|
+
i("th", {
|
|
680
686
|
style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
681
687
|
}, null, 4),
|
|
682
|
-
(o(!0),
|
|
688
|
+
(o(!0), n(A, null, S(H.dataset, (s, v) => (o(), n("th", {
|
|
683
689
|
align: "right",
|
|
684
690
|
style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
685
691
|
}, b(s.name), 5))), 256))
|
|
686
692
|
], 4)
|
|
687
693
|
]),
|
|
688
|
-
|
|
689
|
-
(o(!0),
|
|
694
|
+
i("tbody", null, [
|
|
695
|
+
(o(!0), n(A, null, S($.value.xLabels, (s, v) => (o(), n("tr", {
|
|
690
696
|
role: "row",
|
|
691
697
|
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 }),
|
|
692
698
|
style: x(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
693
699
|
}, [
|
|
694
|
-
|
|
700
|
+
i("td", {
|
|
695
701
|
"data-cell": e.value.table.colNames.xAxis,
|
|
696
702
|
class: "vue-ui-data-table__tbody__td",
|
|
697
703
|
style: x(`outline:${e.value.table.td.outline}`)
|
|
698
704
|
}, [
|
|
699
|
-
|
|
700
|
-
], 12,
|
|
701
|
-
(o(!0),
|
|
705
|
+
i("div", Yt, b(s), 1)
|
|
706
|
+
], 12, Dt),
|
|
707
|
+
(o(!0), n(A, null, S(H.dataset, (y, g) => (o(), n("td", {
|
|
702
708
|
class: "vue-ui-data-table__tbody__td",
|
|
703
|
-
"data-cell":
|
|
709
|
+
"data-cell": H.dataset[g].name,
|
|
704
710
|
style: x(`outline:${e.value.table.td.outline}`)
|
|
705
711
|
}, [
|
|
706
|
-
|
|
707
|
-
], 12,
|
|
712
|
+
i("div", Wt, b(isNaN(y.values[v]) ? "-" : u(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)
|
|
713
|
+
], 12, jt))), 256))
|
|
708
714
|
], 6))), 256))
|
|
709
715
|
])
|
|
710
716
|
])
|
|
@@ -713,9 +719,9 @@ const ut = ["id"], nt = {
|
|
|
713
719
|
]),
|
|
714
720
|
_: 1
|
|
715
721
|
}, 8, ["config"])) : c("", !0)
|
|
716
|
-
],
|
|
722
|
+
], 46, vt));
|
|
717
723
|
}
|
|
718
|
-
},
|
|
724
|
+
}, rl = /* @__PURE__ */ rt(qt, [["__scopeId", "data-v-776c5b2e"]]);
|
|
719
725
|
export {
|
|
720
|
-
|
|
726
|
+
rl as default
|
|
721
727
|
};
|