vue-data-ui 2.4.51 → 2.4.53
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/dist/{Arrow-2a_SwBgz.cjs → Arrow-BGjtcB03.cjs} +1 -1
- package/dist/{Arrow-BUz63pb2.js → Arrow-XbzVXHDF.js} +1 -1
- package/dist/{BaseIcon-CmiukQBl.js → BaseIcon-CiQzR1fE.js} +1 -1
- package/dist/{BaseIcon-BASl_NFX.cjs → BaseIcon-DGRZS55E.cjs} +1 -1
- package/dist/{DataTable-G3ICK-5h.cjs → DataTable-DWQiMziO.cjs} +1 -1
- package/dist/{DataTable-DGf6RrOJ.js → DataTable-jvL0XGWl.js} +2 -2
- package/dist/{Legend-BiuPlEMg.cjs → Legend-BstxUr4T.cjs} +1 -1
- package/dist/{Legend-BLaZxMge.js → Legend-DcIfRSNC.js} +1 -1
- package/dist/{PackageVersion-Bj34UNnQ.cjs → PackageVersion-CeJ2R9gK.cjs} +1 -1
- package/dist/{PackageVersion-CxJghxYD.js → PackageVersion-Ve0s76sL.js} +1 -1
- package/dist/{PenAndPaper-D9yQnc0e.cjs → PenAndPaper-DQPbe0G_.cjs} +1 -1
- package/dist/{PenAndPaper-ZdZEumki.js → PenAndPaper-IHG7xTmx.js} +3 -3
- package/dist/{Shape-yducHWd0.cjs → Shape-Bzx4qKcd.cjs} +1 -1
- package/dist/{Shape-DIKzzpFm.js → Shape-Rg6yW7m3.js} +1 -1
- package/dist/{Slicer-Cxdl3cDt.js → Slicer-CP2Z31Lc.js} +2 -2
- package/dist/{Slicer-BHS9W4MJ.cjs → Slicer-CPp7_WWa.cjs} +1 -1
- package/dist/{Title-Bk_55doC.cjs → Title-CSyDhu3S.cjs} +1 -1
- package/dist/{Title-aSAft5dl.js → Title-DLo3Zo2_.js} +1 -1
- package/dist/{Tooltip-smutPF--.js → Tooltip-CA1QhFeE.js} +1 -1
- package/dist/{Tooltip-G7ENx87_.cjs → Tooltip-D88h1zvE.cjs} +1 -1
- package/dist/{index-DhDYBLBe.cjs → index-C3wsuQ2C.cjs} +1 -1
- package/dist/{index-BbPeL8Gp.js → index-DhxnZ6ZS.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BN8claGG.js → useNestedProp-BcqToEU0.js} +1 -1
- package/dist/{useNestedProp-BphUExEh.cjs → useNestedProp-CFwQtnNB.cjs} +1 -1
- package/dist/{usePrinter-2_QjJFdH.cjs → usePrinter-Dglf1bsw.cjs} +1 -1
- package/dist/{usePrinter-DaybDVqP.js → usePrinter-mDGfOQZA.js} +1 -1
- package/dist/{vue-data-ui-C5vsHRHD.cjs → vue-data-ui-BM5qFlPf.cjs} +1 -1
- package/dist/{vue-data-ui-Ckbp-yIf.js → vue-data-ui-C6tJVggL.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-wDYs3sVe.js → vue-ui-3d-bar-BFzCyxbR.js} +30 -30
- package/dist/{vue-ui-3d-bar-DUgumRsg.cjs → vue-ui-3d-bar-DiL5x37F.cjs} +2 -2
- package/dist/{vue-ui-accordion-5d5iVpr7.js → vue-ui-accordion-DDp8hUlk.js} +3 -3
- package/dist/{vue-ui-accordion-B7tNzRWB.cjs → vue-ui-accordion-kv5FuXqU.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BH1khaaq.js → vue-ui-age-pyramid-ORFLMq65.js} +42 -42
- package/dist/vue-ui-age-pyramid-xYMc6DPS.cjs +1 -0
- package/dist/{vue-ui-annotator-B9VKE_qz.js → vue-ui-annotator-CYyuSx8D.js} +1 -1
- package/dist/{vue-ui-annotator-jXkB5XnD.cjs → vue-ui-annotator-J_Ssv585.cjs} +1 -1
- package/dist/vue-ui-bullet-BbOqOHbK.cjs +34 -0
- package/dist/{vue-ui-bullet-BLi9CSZw.js → vue-ui-bullet-D8w5qQKc.js} +41 -41
- package/dist/{vue-ui-candlestick-Bjz1uFbv.js → vue-ui-candlestick-B7jJlgII.js} +61 -61
- package/dist/{vue-ui-candlestick-Da4ygGXR.cjs → vue-ui-candlestick-BbKj6Lt5.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-B6zgTL-W.js → vue-ui-carousel-table-3ntrCePt.js} +50 -50
- package/dist/vue-ui-carousel-table-Cazhvs3E.cjs +1 -0
- package/dist/{vue-ui-chestnut-C_N7EbjQ.cjs → vue-ui-chestnut-DyFTfNZi.cjs} +3 -3
- package/dist/{vue-ui-chestnut-D5HpkuIa.js → vue-ui-chestnut-apUInPn_.js} +66 -66
- package/dist/{vue-ui-cursor-DZNIbvR2.js → vue-ui-cursor-CFTO66GQ.js} +2 -2
- package/dist/{vue-ui-cursor-A_siHYBc.cjs → vue-ui-cursor-CsNO0-Tw.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DCqe4BZg.js → vue-ui-dashboard-C-pDSWwi.js} +2 -2
- package/dist/{vue-ui-dashboard-BfPJyiY9.cjs → vue-ui-dashboard-DddJvm7i.cjs} +1 -1
- package/dist/{vue-ui-digits-BEhLa3jI.cjs → vue-ui-digits-DSqN9pA7.cjs} +1 -1
- package/dist/{vue-ui-digits-BEWCnojc.js → vue-ui-digits-DWAbSFx3.js} +2 -2
- package/dist/{vue-ui-donut-g5ZLhYPx.js → vue-ui-donut-DSeDfu4H.js} +57 -57
- package/dist/vue-ui-donut-DrAes-Cb.cjs +1 -0
- package/dist/vue-ui-donut-evolution-CYtTDj7r.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Cu6dmlT2.js → vue-ui-donut-evolution-D7h33-ti.js} +66 -66
- package/dist/vue-ui-dumbbell-DAK7iUrl.cjs +9 -0
- package/dist/{vue-ui-dumbbell-bb4-Ep6o.js → vue-ui-dumbbell-LF5uy2pG.js} +46 -46
- package/dist/{vue-ui-flow-hD0F6mTK.js → vue-ui-flow-ClPKB4R5.js} +43 -43
- package/dist/vue-ui-flow-u3UVnWTH.cjs +1 -0
- package/dist/{vue-ui-funnel-hcbE4yky.js → vue-ui-funnel-BIXUXI8z.js} +59 -59
- package/dist/vue-ui-funnel-BY7rqfpW.cjs +1 -0
- package/dist/{vue-ui-galaxy-ByKjxVWV.js → vue-ui-galaxy-CEnGrqn3.js} +54 -54
- package/dist/vue-ui-galaxy-DBnbXO8c.cjs +1 -0
- package/dist/{vue-ui-gauge-PGirbe6O.js → vue-ui-gauge-C7Qchm0R.js} +70 -70
- package/dist/vue-ui-gauge-CJYWRyeq.cjs +1 -0
- package/dist/{vue-ui-gizmo-CHMApil6.cjs → vue-ui-gizmo-C9_Ciat_.cjs} +1 -1
- package/dist/{vue-ui-gizmo-ChSfBYZ_.js → vue-ui-gizmo-CKZRt29V.js} +3 -3
- package/dist/{vue-ui-heatmap-CK3FIWpo.js → vue-ui-heatmap-BlbOJnS0.js} +87 -87
- package/dist/vue-ui-heatmap-olBNo_Ui.cjs +1 -0
- package/dist/{vue-ui-history-plot-EmQ-Byiz.js → vue-ui-history-plot-CBpL_OyR.js} +75 -75
- package/dist/vue-ui-history-plot-Cyd53pxt.cjs +1 -0
- package/dist/{vue-ui-kpi-DjC68pSz.js → vue-ui-kpi-C2XDua17.js} +3 -3
- package/dist/{vue-ui-kpi-BdungaO2.cjs → vue-ui-kpi-CkcQ40VT.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-jwL_pZjb.cjs → vue-ui-mini-loader-CpeOqmXd.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CzrblCCD.js → vue-ui-mini-loader-DXF2Zpi6.js} +2 -2
- package/dist/{vue-ui-molecule-DBQJQs4Y.js → vue-ui-molecule-ekgpnwl8.js} +52 -52
- package/dist/vue-ui-molecule-qQjh4AkD.cjs +1 -0
- package/dist/{vue-ui-mood-radar-Ca9wPZpJ.js → vue-ui-mood-radar-CV30YU_f.js} +35 -35
- package/dist/vue-ui-mood-radar-KoW8hhxL.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DEdS6dpj.cjs → vue-ui-nested-donuts-AkaYvLCi.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-C8at93dN.js → vue-ui-nested-donuts-DZ_eS-bB.js} +90 -90
- package/dist/{vue-ui-onion-B2ioudP5.cjs → vue-ui-onion-Bl1UUCFU.cjs} +2 -2
- package/dist/{vue-ui-onion-B-PXxNu6.js → vue-ui-onion-YfHn7AeD.js} +52 -52
- package/dist/{vue-ui-parallel-coordinate-plot-ByM3So9k.js → vue-ui-parallel-coordinate-plot-BEqbS5A6.js} +62 -62
- package/dist/{vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs → vue-ui-parallel-coordinate-plot-Dv_UD2bi.cjs} +2 -2
- package/dist/{vue-ui-quadrant-BqOJBcsI.js → vue-ui-quadrant-BU_pD15l.js} +50 -50
- package/dist/vue-ui-quadrant-DO6afeTp.cjs +1 -0
- package/dist/{vue-ui-quick-chart-Bt9KA82P.cjs → vue-ui-quick-chart-ByDBV3lo.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BfXxT3KM.js → vue-ui-quick-chart-U-1paiOI.js} +9 -9
- package/dist/{vue-ui-radar-BKpD9xDr.js → vue-ui-radar-B5FUXS1e.js} +59 -59
- package/dist/vue-ui-radar-DLsIiPBR.cjs +1 -0
- package/dist/{vue-ui-rating-BE545aI4.cjs → vue-ui-rating-D4-ebrWA.cjs} +1 -1
- package/dist/{vue-ui-rating-DQRuqev5.js → vue-ui-rating-DcCUrP6L.js} +2 -2
- package/dist/{vue-ui-relation-circle-nZ2nBpWX.js → vue-ui-relation-circle-2i7B4Yf-.js} +56 -56
- package/dist/vue-ui-relation-circle-jPx6gmw1.cjs +1 -0
- package/dist/{vue-ui-rings-B7JzZ3ub.cjs → vue-ui-rings-6JF72UH8.cjs} +2 -2
- package/dist/{vue-ui-rings-C1PV0873.js → vue-ui-rings-DG0DQD21.js} +65 -65
- package/dist/vue-ui-scatter-CfbMuDQy.cjs +1 -0
- package/dist/{vue-ui-scatter-dgs1m3-2.js → vue-ui-scatter-j6SU-TUb.js} +102 -102
- package/dist/{vue-ui-screenshot-Dxj0l8Jg.js → vue-ui-screenshot-B6hhgFz_.js} +1 -1
- package/dist/{vue-ui-screenshot--cHV0jG3.cjs → vue-ui-screenshot-BKfP266_.cjs} +1 -1
- package/dist/{vue-ui-skeleton-lkPDknHn.cjs → vue-ui-skeleton-99lBQ_mF.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Bniq21d9.js → vue-ui-skeleton-pdtGfiV6.js} +3 -3
- package/dist/{vue-ui-smiley-CozXoiti.cjs → vue-ui-smiley-8UembS7P.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4DAZIpA.js → vue-ui-smiley-fOlIEhGS.js} +2 -2
- package/dist/{vue-ui-spark-trend-ZqrwhwqS.js → vue-ui-spark-trend-BkPSkOrh.js} +5 -5
- package/dist/{vue-ui-spark-trend-CSqyvI_K.cjs → vue-ui-spark-trend-CV5Uq241.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bph8KIjk.cjs → vue-ui-sparkbar-DUNqm_AP.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-q0G4GvFm.js → vue-ui-sparkbar-qB9reaJo.js} +4 -4
- package/dist/{vue-ui-sparkgauge-nSAW83dN.cjs → vue-ui-sparkgauge-D0hLQuMH.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DA_h9jcN.js → vue-ui-sparkgauge-Mmm3mt-c.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B1WyBiq_.js → vue-ui-sparkhistogram-9yQ-E0co.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-BLYhRNpt.cjs → vue-ui-sparkhistogram-CuB-M26R.cjs} +1 -1
- package/dist/{vue-ui-sparkline-ccfl0s3m.js → vue-ui-sparkline-D_QkkgS-.js} +4 -4
- package/dist/{vue-ui-sparkline-PNix1-R9.cjs → vue-ui-sparkline-Du8Hm28x.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-PNKwVRu8.js → vue-ui-sparkstackbar-BDubVDPN.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-DpuvEumy.cjs → vue-ui-sparkstackbar-B_I1tmuS.cjs} +1 -1
- package/dist/vue-ui-stackbar-DHnilreT.cjs +6 -0
- package/dist/{vue-ui-stackbar-BBYnF8qm.js → vue-ui-stackbar-rNiqr7aF.js} +43 -43
- package/dist/{vue-ui-strip-plot-TVlnzXFq.js → vue-ui-strip-plot-DPn3qgdB.js} +78 -78
- package/dist/vue-ui-strip-plot-DlRej1u9.cjs +1 -0
- package/dist/{vue-ui-table-CsEajH9S.js → vue-ui-table-BrZ__Cd2.js} +1 -1
- package/dist/{vue-ui-table-CHdv3KuM.cjs → vue-ui-table-DLcFdjyM.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-DIkXPyqe.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-CubRipoB.js → vue-ui-table-heatmap-DQXI2uPZ.js} +38 -38
- package/dist/vue-ui-table-sparkline-BUNsAEVY.js +647 -0
- package/dist/vue-ui-table-sparkline-BazGMr3R.cjs +1 -0
- package/dist/{vue-ui-thermometer-DmMjSLc1.js → vue-ui-thermometer-DMkD9fS8.js} +74 -74
- package/dist/vue-ui-thermometer-_gbnwB1j.cjs +1 -0
- package/dist/{vue-ui-timer-DteYgv9y.cjs → vue-ui-timer-BTfgxjIc.cjs} +1 -1
- package/dist/{vue-ui-timer-DvE_nqd9.js → vue-ui-timer-Dv-GSUf1.js} +5 -5
- package/dist/{vue-ui-tiremarks-CCrkDgjX.js → vue-ui-tiremarks-CEMrBJPF.js} +46 -46
- package/dist/vue-ui-tiremarks-Ct9y13Sl.cjs +1 -0
- package/dist/vue-ui-treemap-D7SBHWJ2.cjs +1 -0
- package/dist/{vue-ui-treemap-C4A4spvg.js → vue-ui-treemap-D8AkLDqM.js} +91 -91
- package/dist/{vue-ui-vertical-bar-8iL1xiaz.js → vue-ui-vertical-bar-BnhysoC9.js} +67 -67
- package/dist/{vue-ui-vertical-bar-B60lSXNq.cjs → vue-ui-vertical-bar-_EQI8SXm.cjs} +2 -2
- package/dist/vue-ui-waffle-DOhi1BWD.cjs +1 -0
- package/dist/{vue-ui-waffle-CaYNz-Kd.js → vue-ui-waffle-DfRmWfrG.js} +48 -48
- package/dist/vue-ui-wheel-BbDtndmW.cjs +1 -0
- package/dist/{vue-ui-wheel-BRR2rGou.js → vue-ui-wheel-CU6-VBD1.js} +36 -36
- package/dist/vue-ui-word-cloud-CRarnngT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-y2GGxwoq.js → vue-ui-word-cloud-CbuHwEkP.js} +66 -66
- package/dist/{vue-ui-xy-CbM75yXK.cjs → vue-ui-xy-BRTegbdr.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-D7MrUJj7.js → vue-ui-xy-canvas-DsTqLLWp.js} +53 -53
- package/dist/{vue-ui-xy-canvas-DWvIvSry.cjs → vue-ui-xy-canvas-hn3ncIFk.cjs} +2 -2
- package/dist/{vue-ui-xy-CXoWP8bh.js → vue-ui-xy-pSvq591u.js} +14 -14
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +0 -1
- package/dist/vue-ui-bullet-QrXtipbT.cjs +0 -34
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +0 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +0 -1
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +0 -9
- package/dist/vue-ui-flow-CCvTnu7z.cjs +0 -1
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +0 -1
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +0 -1
- package/dist/vue-ui-gauge-BFA_unjg.cjs +0 -1
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +0 -1
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +0 -1
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +0 -1
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +0 -1
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +0 -1
- package/dist/vue-ui-radar-Czmsd_uv.cjs +0 -1
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +0 -1
- package/dist/vue-ui-scatter-CTI943ks.cjs +0 -1
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +0 -6
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +0 -1
- package/dist/vue-ui-table-sparkline-YV8DUOqh.js +0 -600
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +0 -1
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +0 -1
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +0 -1
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +0 -1
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +0 -1
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
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
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as Ze } from "./Title-
|
|
4
|
-
import { u as et, U as tt } from "./usePrinter-
|
|
5
|
-
import { _ as lt } from "./Tooltip-
|
|
6
|
-
import at from "./vue-ui-skeleton-
|
|
7
|
-
import ot from "./BaseIcon-
|
|
8
|
-
import st from "./vue-ui-accordion-
|
|
9
|
-
import { u as Le } from "./useNestedProp-
|
|
10
|
-
import { _ as ut } from "./PackageVersion-
|
|
11
|
-
import { P as nt } from "./PenAndPaper-
|
|
1
|
+
import { useCssVars as Ie, computed as h, ref as p, watch as $e, onMounted as Be, openBlock as o, createElementBlock as n, normalizeClass as K, normalizeStyle as x, unref as u, createBlock as U, createCommentVNode as c, createSlots as Re, withCtx as w, renderSlot as f, normalizeProps as E, guardReactiveProps as H, createVNode as se, Fragment as A, renderList as O, createElementVNode as i, toDisplayString as b, withKeys as Ge, createTextVNode as Ue, nextTick as Ee } from "vue";
|
|
2
|
+
import { u as He, o as Xe, e as Ce, c as ue, t as De, C as Ye, g as je, N as ne, X as We, G as ie, i as V, f as S, v as T, x as qe, y as Ke, q as Je, r as Qe } from "./index-DhxnZ6ZS.js";
|
|
3
|
+
import { _ as Ze } from "./Title-DLo3Zo2_.js";
|
|
4
|
+
import { u as et, U as tt } from "./usePrinter-mDGfOQZA.js";
|
|
5
|
+
import { _ as lt } from "./Tooltip-CA1QhFeE.js";
|
|
6
|
+
import at from "./vue-ui-skeleton-pdtGfiV6.js";
|
|
7
|
+
import ot from "./BaseIcon-CiQzR1fE.js";
|
|
8
|
+
import st from "./vue-ui-accordion-DDp8hUlk.js";
|
|
9
|
+
import { u as Le } from "./useNestedProp-BcqToEU0.js";
|
|
10
|
+
import { _ as ut } from "./PackageVersion-Ve0s76sL.js";
|
|
11
|
+
import { P as nt } from "./PenAndPaper-IHG7xTmx.js";
|
|
12
12
|
import { u as it } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
13
|
import { _ as rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const vt = ["id"], dt = {
|
|
15
15
|
key: 2,
|
|
16
16
|
style: "width:100%;background:transparent"
|
|
17
|
-
}, yt = ["xmlns", "viewBox"], ct = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], 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"],
|
|
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"], Ot = ["fill", "d"], St = { key: 3 }, Nt = {
|
|
18
18
|
id: "colorScaleHorizontal",
|
|
19
19
|
x1: "0%",
|
|
20
20
|
x2: "100%",
|
|
@@ -27,7 +27,7 @@ const vt = ["id"], dt = {
|
|
|
27
27
|
key: 6,
|
|
28
28
|
ref: "source",
|
|
29
29
|
dir: "auto"
|
|
30
|
-
},
|
|
30
|
+
}, Ht = { class: "vue-ui-data-table" }, Xt = { 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 = {
|
|
31
31
|
__name: "vue-ui-heatmap",
|
|
32
32
|
props: {
|
|
33
33
|
config: {
|
|
@@ -43,20 +43,20 @@ const vt = ["id"], dt = {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
setup(
|
|
47
|
-
const r =
|
|
46
|
+
setup(X, { expose: Ae }) {
|
|
47
|
+
const r = X;
|
|
48
48
|
Ie((t) => ({
|
|
49
|
-
"
|
|
49
|
+
"144dc876": t.tdo
|
|
50
50
|
}));
|
|
51
|
-
const { vue_ui_heatmap: Te } =
|
|
52
|
-
|
|
51
|
+
const { vue_ui_heatmap: Te } = He(), D = h(() => !!r.dataset && r.dataset.length);
|
|
52
|
+
Xe(r.dataset) && Ce({
|
|
53
53
|
componentName: "VueUiHeatmap",
|
|
54
54
|
type: "dataset"
|
|
55
55
|
});
|
|
56
|
-
const P = p(
|
|
56
|
+
const P = p(ue()), Y = p(null), ze = p(null), J = p(!1), Q = p(""), re = p(void 0), I = p(null), ve = p(0), de = p(null), Me = p(null), ye = p(!1), ce = p(0), e = h({
|
|
57
57
|
get: () => ge(),
|
|
58
58
|
set: (t) => t
|
|
59
|
-
}), { userOptionsVisible:
|
|
59
|
+
}), { userOptionsVisible: Z, setUserOptionsVisibility: he, keepUserOptionState: pe } = it({ config: e.value });
|
|
60
60
|
function ge() {
|
|
61
61
|
const t = Le({
|
|
62
62
|
userConfig: r.config,
|
|
@@ -71,26 +71,26 @@ const vt = ["id"], dt = {
|
|
|
71
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;
|
|
72
72
|
}
|
|
73
73
|
$e(() => r.config, (t) => {
|
|
74
|
-
e.value = ge(), Z(),
|
|
74
|
+
e.value = ge(), Z.value = !e.value.showOnChartHover, ee(), ce.value += 1;
|
|
75
75
|
}, { deep: !0 }), $e(() => r.dataset, () => {
|
|
76
|
-
|
|
76
|
+
ee();
|
|
77
77
|
}, { deep: !0 });
|
|
78
78
|
const { isPrinting: fe, isImaging: be, generatePdf: me, generateImage: xe } = et({
|
|
79
79
|
elementId: `heatmap__${P.value}`,
|
|
80
80
|
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
81
|
-
}),
|
|
81
|
+
}), Oe = h(() => e.value.userOptions.show && !e.value.style.title.text), _ = p({
|
|
82
82
|
showTable: e.value.table.show,
|
|
83
83
|
showTooltip: e.value.style.tooltip.show
|
|
84
|
-
}),
|
|
84
|
+
}), Se = h(() => e.value.table.responsiveBreakpoint);
|
|
85
85
|
function Ne() {
|
|
86
86
|
new ResizeObserver((l) => {
|
|
87
87
|
l.forEach((s) => {
|
|
88
|
-
|
|
88
|
+
ye.value = s.contentRect.width < Se.value;
|
|
89
89
|
});
|
|
90
|
-
}).observe(
|
|
90
|
+
}).observe(de.value);
|
|
91
91
|
}
|
|
92
|
-
Be(
|
|
93
|
-
function
|
|
92
|
+
Be(ee);
|
|
93
|
+
function ee() {
|
|
94
94
|
Ne();
|
|
95
95
|
}
|
|
96
96
|
const N = h(() => Math.max(...r.dataset.flatMap((t) => (t.values || []).length))), k = h(() => {
|
|
@@ -107,7 +107,7 @@ const vt = ["id"], dt = {
|
|
|
107
107
|
bottom: k.value.height - e.value.style.layout.padding.bottom,
|
|
108
108
|
height: k.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
109
109
|
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)
|
|
110
|
-
})),
|
|
110
|
+
})), te = h(() => d.value.height * r.dataset.length), m = h(() => Math.max(...r.dataset.flatMap((t) => t.values))), z = h(() => Math.min(...r.dataset.flatMap((t) => t.values))), M = h(() => {
|
|
111
111
|
const t = r.dataset.flatMap((s) => s.values);
|
|
112
112
|
return t.reduce((s, v) => s + v, 0) / t.length;
|
|
113
113
|
}), d = h(() => ({
|
|
@@ -135,56 +135,56 @@ const vt = ["id"], dt = {
|
|
|
135
135
|
...t,
|
|
136
136
|
temperatures: (t.values || []).map((l, s) => l >= M.value ? {
|
|
137
137
|
side: "up",
|
|
138
|
-
color:
|
|
138
|
+
color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, m.value, l),
|
|
139
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
140
|
value: l,
|
|
141
141
|
yAxisName: t.name,
|
|
142
142
|
xAxisName: $.value.xLabels[s],
|
|
143
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
143
|
+
id: `vue-data-ui-heatmap-cell-${ue()}`
|
|
144
144
|
} : {
|
|
145
145
|
side: "down",
|
|
146
146
|
ratio: Math.abs(1 - Math.abs(l) / Math.abs(M.value)) > 1 ? 1 : Math.abs(1 - Math.abs(l) / Math.abs(M.value)),
|
|
147
|
-
color:
|
|
147
|
+
color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, m.value, l),
|
|
148
148
|
value: l,
|
|
149
149
|
yAxisName: t.name,
|
|
150
150
|
xAxisName: $.value.xLabels[s],
|
|
151
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
151
|
+
id: `vue-data-ui-heatmap-cell-${ue()}`
|
|
152
152
|
})
|
|
153
153
|
})))), C = p(null), B = p(null);
|
|
154
154
|
function Fe(t, l, s, v) {
|
|
155
155
|
I.value = { x: s, y: v };
|
|
156
156
|
const { value: y, yAxisName: g, xAxisName: L, id: Pe } = t;
|
|
157
|
-
|
|
157
|
+
re.value = Pe, C.value = y, B.value = {
|
|
158
158
|
datapoint: t,
|
|
159
159
|
seriesIndex: l,
|
|
160
160
|
series: W.value,
|
|
161
161
|
config: e.value
|
|
162
162
|
}, J.value = !0;
|
|
163
|
-
let
|
|
164
|
-
const
|
|
165
|
-
qe(
|
|
163
|
+
let ae = "";
|
|
164
|
+
const oe = e.value.style.tooltip.customFormat;
|
|
165
|
+
qe(oe) && Ke(() => oe({
|
|
166
166
|
datapoint: t,
|
|
167
167
|
seriesIndex: l,
|
|
168
168
|
series: W.value,
|
|
169
169
|
config: e.value
|
|
170
|
-
})) ? Q.value =
|
|
170
|
+
})) ? Q.value = oe({
|
|
171
171
|
datapoint: t,
|
|
172
172
|
seriesIndex: l,
|
|
173
173
|
series: W.value,
|
|
174
174
|
config: e.value
|
|
175
|
-
}) : (
|
|
175
|
+
}) : (ae += `<div>${g} ${L ? `${L}` : ""}</div>`, ae += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, m.value, y)}">⬤</span><span>${isNaN(y) ? "-" : V(
|
|
176
176
|
e.value.style.layout.cells.value.formatter,
|
|
177
177
|
y,
|
|
178
|
-
|
|
178
|
+
S({
|
|
179
179
|
p: e.value.style.layout.dataLabels.prefix,
|
|
180
180
|
v: y,
|
|
181
181
|
s: e.value.style.layout.dataLabels.suffix,
|
|
182
182
|
r: e.value.style.tooltip.roundingValue
|
|
183
183
|
}),
|
|
184
184
|
{ datapoint: t, seriesIndex: l }
|
|
185
|
-
)}</span></div>`, Q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${
|
|
185
|
+
)}</span></div>`, Q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${ae}</div>`);
|
|
186
186
|
}
|
|
187
|
-
const R = h(() => a.value.top +
|
|
187
|
+
const R = h(() => a.value.top + te.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));
|
|
188
188
|
h(() => {
|
|
189
189
|
const t = r.dataset.map((s) => ({
|
|
190
190
|
name: s.name
|
|
@@ -206,7 +206,7 @@ const vt = ["id"], dt = {
|
|
|
206
206
|
}
|
|
207
207
|
const F = p(!1);
|
|
208
208
|
function Ve(t) {
|
|
209
|
-
F.value = t,
|
|
209
|
+
F.value = t, ve.value += 1;
|
|
210
210
|
}
|
|
211
211
|
function _e() {
|
|
212
212
|
_.value.showTable = !_.value.showTable;
|
|
@@ -215,7 +215,7 @@ const vt = ["id"], dt = {
|
|
|
215
215
|
_.value.showTooltip = !_.value.showTooltip;
|
|
216
216
|
}
|
|
217
217
|
const q = p(!1);
|
|
218
|
-
function
|
|
218
|
+
function le() {
|
|
219
219
|
q.value = !q.value;
|
|
220
220
|
}
|
|
221
221
|
return Ae({
|
|
@@ -224,7 +224,7 @@ const vt = ["id"], dt = {
|
|
|
224
224
|
generateImage: xe,
|
|
225
225
|
toggleTable: _e,
|
|
226
226
|
toggleTooltip: ke,
|
|
227
|
-
toggleAnnotator:
|
|
227
|
+
toggleAnnotator: le
|
|
228
228
|
}), (t, l) => (o(), n("div", {
|
|
229
229
|
ref_key: "heatmapChart",
|
|
230
230
|
ref: Y,
|
|
@@ -240,9 +240,9 @@ const vt = ["id"], dt = {
|
|
|
240
240
|
backgroundColor: e.value.style.backgroundColor,
|
|
241
241
|
color: e.value.style.color,
|
|
242
242
|
active: q.value,
|
|
243
|
-
onClose:
|
|
243
|
+
onClose: le
|
|
244
244
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
245
|
-
|
|
245
|
+
Oe.value ? (o(), n("div", {
|
|
246
246
|
key: 1,
|
|
247
247
|
ref_key: "noTitle",
|
|
248
248
|
ref: Me,
|
|
@@ -251,7 +251,7 @@ const vt = ["id"], dt = {
|
|
|
251
251
|
}, null, 512)) : c("", !0),
|
|
252
252
|
e.value.style.title.text ? (o(), n("div", dt, [
|
|
253
253
|
(o(), U(Ze, {
|
|
254
|
-
key: `title_${
|
|
254
|
+
key: `title_${ce.value}`,
|
|
255
255
|
config: {
|
|
256
256
|
title: {
|
|
257
257
|
cy: "heatmap-div-title",
|
|
@@ -264,10 +264,10 @@ const vt = ["id"], dt = {
|
|
|
264
264
|
}
|
|
265
265
|
}, null, 8, ["config"]))
|
|
266
266
|
])) : c("", !0),
|
|
267
|
-
e.value.userOptions.show && D.value && (u(pe) || u(
|
|
267
|
+
e.value.userOptions.show && D.value && (u(pe) || u(Z)) ? (o(), U(tt, {
|
|
268
268
|
ref_key: "details",
|
|
269
269
|
ref: ze,
|
|
270
|
-
key: `user_options_${
|
|
270
|
+
key: `user_options_${ve.value}`,
|
|
271
271
|
backgroundColor: e.value.style.backgroundColor,
|
|
272
272
|
color: e.value.style.color,
|
|
273
273
|
isImaging: u(be),
|
|
@@ -292,9 +292,9 @@ const vt = ["id"], dt = {
|
|
|
292
292
|
onGenerateImage: u(xe),
|
|
293
293
|
onToggleTable: _e,
|
|
294
294
|
onToggleTooltip: ke,
|
|
295
|
-
onToggleAnnotator:
|
|
295
|
+
onToggleAnnotator: le,
|
|
296
296
|
style: x({
|
|
297
|
-
visibility: u(pe) ? u(
|
|
297
|
+
visibility: u(pe) ? u(Z) ? "visible" : "hidden" : "visible"
|
|
298
298
|
})
|
|
299
299
|
}, Re({ _: 2 }, [
|
|
300
300
|
t.$slots.optionTooltip ? {
|
|
@@ -335,14 +335,14 @@ const vt = ["id"], dt = {
|
|
|
335
335
|
t.$slots.optionFullscreen ? {
|
|
336
336
|
name: "optionFullscreen",
|
|
337
337
|
fn: w(({ toggleFullscreen: s, isFullscreen: v }) => [
|
|
338
|
-
f(t.$slots, "optionFullscreen", E(
|
|
338
|
+
f(t.$slots, "optionFullscreen", E(H({ toggleFullscreen: s, isFullscreen: v })), void 0, !0)
|
|
339
339
|
]),
|
|
340
340
|
key: "5"
|
|
341
341
|
} : void 0,
|
|
342
342
|
t.$slots.optionAnnotator ? {
|
|
343
343
|
name: "optionAnnotator",
|
|
344
344
|
fn: w(({ toggleAnnotator: s, isAnnotator: v }) => [
|
|
345
|
-
f(t.$slots, "optionAnnotator", E(
|
|
345
|
+
f(t.$slots, "optionAnnotator", E(H({ toggleAnnotator: s, isAnnotator: v })), void 0, !0)
|
|
346
346
|
]),
|
|
347
347
|
key: "6"
|
|
348
348
|
} : void 0
|
|
@@ -354,9 +354,9 @@ const vt = ["id"], dt = {
|
|
|
354
354
|
viewBox: `0 0 ${k.value.width} ${k.value.heightWithLegend}`,
|
|
355
355
|
style: x(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
356
356
|
}, [
|
|
357
|
-
|
|
358
|
-
(o(!0), n(A, null,
|
|
359
|
-
(o(!0), n(A, null,
|
|
357
|
+
se(ut),
|
|
358
|
+
(o(!0), n(A, null, O(W.value, (s, v) => (o(), n("g", null, [
|
|
359
|
+
(o(!0), n(A, null, O(s.temperatures, (y, g) => (o(), n("g", null, [
|
|
360
360
|
i("rect", {
|
|
361
361
|
x: a.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
362
362
|
y: a.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
|
|
@@ -380,13 +380,13 @@ const vt = ["id"], dt = {
|
|
|
380
380
|
"text-anchor": "middle",
|
|
381
381
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
382
382
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
383
|
-
fill: u(
|
|
383
|
+
fill: u(ie)(y.color),
|
|
384
384
|
x: a.value.left + d.value.width * g + d.value.width / 2,
|
|
385
385
|
y: a.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
386
386
|
}, b(u(V)(
|
|
387
387
|
e.value.style.layout.cells.value.formatter,
|
|
388
388
|
y.value,
|
|
389
|
-
u(
|
|
389
|
+
u(S)({
|
|
390
390
|
p: e.value.style.layout.dataLabels.prefix,
|
|
391
391
|
v: y.value,
|
|
392
392
|
s: e.value.style.layout.dataLabels.suffix,
|
|
@@ -395,7 +395,7 @@ const vt = ["id"], dt = {
|
|
|
395
395
|
{ datapoint: y }
|
|
396
396
|
)), 9, pt)) : c("", !0)
|
|
397
397
|
]))), 256)),
|
|
398
|
-
(o(!0), n(A, null,
|
|
398
|
+
(o(!0), n(A, null, O(s.temperatures, (y, g) => (o(), n("g", null, [
|
|
399
399
|
i("rect", {
|
|
400
400
|
x: a.value.left + d.value.width * g,
|
|
401
401
|
y: a.value.top + d.value.height * v,
|
|
@@ -405,7 +405,7 @@ const vt = ["id"], dt = {
|
|
|
405
405
|
stroke: "none",
|
|
406
406
|
onMouseover: (L) => Fe(y, v, a.value.left + d.value.width * g, a.value.top + d.value.height * v),
|
|
407
407
|
onMouseout: l[0] || (l[0] = (L) => {
|
|
408
|
-
J.value = !1,
|
|
408
|
+
J.value = !1, re.value = void 0, C.value = null, I.value = null;
|
|
409
409
|
})
|
|
410
410
|
}, null, 40, gt)
|
|
411
411
|
]))), 256)),
|
|
@@ -421,7 +421,7 @@ const vt = ["id"], dt = {
|
|
|
421
421
|
])) : c("", !0)
|
|
422
422
|
]))), 256)),
|
|
423
423
|
e.value.style.layout.dataLabels.xAxis.show ? (o(), n("g", mt, [
|
|
424
|
-
(o(!0), n(A, null,
|
|
424
|
+
(o(!0), n(A, null, O($.value.xLabels, (s, v) => (o(), n(A, null, [
|
|
425
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", {
|
|
426
426
|
key: 0,
|
|
427
427
|
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
@@ -471,7 +471,7 @@ const vt = ["id"], dt = {
|
|
|
471
471
|
}, b(u(V)(
|
|
472
472
|
e.value.style.layout.cells.value.formatter,
|
|
473
473
|
u(T)(m.value),
|
|
474
|
-
u(
|
|
474
|
+
u(S)({
|
|
475
475
|
p: e.value.style.layout.dataLabels.prefix,
|
|
476
476
|
v: u(T)(m.value),
|
|
477
477
|
s: e.value.style.layout.dataLabels.suffix,
|
|
@@ -482,20 +482,20 @@ const vt = ["id"], dt = {
|
|
|
482
482
|
x: a.value.right + 36,
|
|
483
483
|
y: a.value.top,
|
|
484
484
|
width: 36,
|
|
485
|
-
height:
|
|
485
|
+
height: te.value,
|
|
486
486
|
rx: e.value.style.legend.scaleBorderRadius,
|
|
487
487
|
fill: `url(#colorScaleVertical_${P.value})`
|
|
488
488
|
}, null, 8, Tt),
|
|
489
489
|
i("text", {
|
|
490
490
|
x: a.value.right + 36 + 18,
|
|
491
|
-
y: a.value.top +
|
|
491
|
+
y: a.value.top + te.value + e.value.style.legend.fontSize * 2.5,
|
|
492
492
|
"text-anchor": "middle",
|
|
493
493
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
494
494
|
fill: e.value.style.legend.color
|
|
495
495
|
}, b(u(V)(
|
|
496
496
|
e.value.style.layout.cells.value.formatter,
|
|
497
497
|
u(T)(z.value),
|
|
498
|
-
u(
|
|
498
|
+
u(S)({
|
|
499
499
|
p: e.value.style.layout.dataLabels.prefix,
|
|
500
500
|
v: u(T)(z.value),
|
|
501
501
|
s: e.value.style.layout.dataLabels.suffix,
|
|
@@ -504,7 +504,7 @@ const vt = ["id"], dt = {
|
|
|
504
504
|
)), 9, zt),
|
|
505
505
|
C.value !== null ? (o(), n("line", {
|
|
506
506
|
key: 0,
|
|
507
|
-
stroke: u(
|
|
507
|
+
stroke: u(ie)(B.value.datapoint.color),
|
|
508
508
|
"stroke-width": "2",
|
|
509
509
|
x1: a.value.right + 36,
|
|
510
510
|
x2: a.value.right + 72,
|
|
@@ -516,9 +516,9 @@ const vt = ["id"], dt = {
|
|
|
516
516
|
fill: e.value.style.color,
|
|
517
517
|
stroke: "none",
|
|
518
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,
|
|
519
|
+
}, null, 8, Ot)) : c("", !0)
|
|
520
520
|
])) : c("", !0),
|
|
521
|
-
e.value.style.legend.show && j.value === "bottom" ? (o(), n("g",
|
|
521
|
+
e.value.style.legend.show && j.value === "bottom" ? (o(), n("g", St, [
|
|
522
522
|
i("defs", null, [
|
|
523
523
|
i("linearGradient", Nt, [
|
|
524
524
|
i("stop", {
|
|
@@ -548,7 +548,7 @@ const vt = ["id"], dt = {
|
|
|
548
548
|
}, b(u(V)(
|
|
549
549
|
e.value.style.layout.cells.value.formatter,
|
|
550
550
|
u(T)(z.value),
|
|
551
|
-
u(
|
|
551
|
+
u(S)({
|
|
552
552
|
p: e.value.style.layout.dataLabels.prefix,
|
|
553
553
|
v: u(T)(z.value),
|
|
554
554
|
s: e.value.style.layout.dataLabels.suffix,
|
|
@@ -564,7 +564,7 @@ const vt = ["id"], dt = {
|
|
|
564
564
|
}, b(u(V)(
|
|
565
565
|
e.value.style.layout.cells.value.formatter,
|
|
566
566
|
u(T)(m.value),
|
|
567
|
-
u(
|
|
567
|
+
u(S)({
|
|
568
568
|
p: e.value.style.layout.dataLabels.prefix,
|
|
569
569
|
v: u(T)(m.value),
|
|
570
570
|
s: e.value.style.layout.dataLabels.suffix,
|
|
@@ -573,7 +573,7 @@ const vt = ["id"], dt = {
|
|
|
573
573
|
)), 9, Bt),
|
|
574
574
|
C.value !== null ? (o(), n("line", {
|
|
575
575
|
key: 0,
|
|
576
|
-
stroke: u(
|
|
576
|
+
stroke: u(ie)(B.value.datapoint.color),
|
|
577
577
|
"stroke-width": "2",
|
|
578
578
|
x1: G.value,
|
|
579
579
|
x2: G.value,
|
|
@@ -590,7 +590,7 @@ const vt = ["id"], dt = {
|
|
|
590
590
|
f(t.$slots, "svg", { svg: k.value }, void 0, !0)
|
|
591
591
|
], 14, yt)) : c("", !0),
|
|
592
592
|
t.$slots.watermark ? (o(), n("div", Ut, [
|
|
593
|
-
f(t.$slots, "watermark", E(
|
|
593
|
+
f(t.$slots, "watermark", E(H({ isPrinting: u(fe) || u(be) })), void 0, !0)
|
|
594
594
|
])) : c("", !0),
|
|
595
595
|
t.$slots.source ? (o(), n("div", Et, [
|
|
596
596
|
f(t.$slots, "source", {}, void 0, !0)
|
|
@@ -607,7 +607,7 @@ const vt = ["id"], dt = {
|
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
}, null, 8, ["config"])),
|
|
610
|
-
|
|
610
|
+
se(lt, {
|
|
611
611
|
show: _.value.showTooltip && J.value,
|
|
612
612
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
613
613
|
color: e.value.style.tooltip.color,
|
|
@@ -624,10 +624,10 @@ const vt = ["id"], dt = {
|
|
|
624
624
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
625
625
|
}, {
|
|
626
626
|
"tooltip-before": w(() => [
|
|
627
|
-
f(t.$slots, "tooltip-before", E(
|
|
627
|
+
f(t.$slots, "tooltip-before", E(H({ ...B.value })), void 0, !0)
|
|
628
628
|
]),
|
|
629
629
|
"tooltip-after": w(() => [
|
|
630
|
-
f(t.$slots, "tooltip-after", E(
|
|
630
|
+
f(t.$slots, "tooltip-after", E(H({ ...B.value })), void 0, !0)
|
|
631
631
|
]),
|
|
632
632
|
_: 3
|
|
633
633
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -650,12 +650,12 @@ const vt = ["id"], dt = {
|
|
|
650
650
|
content: w(() => [
|
|
651
651
|
i("div", {
|
|
652
652
|
ref_key: "tableContainer",
|
|
653
|
-
ref:
|
|
653
|
+
ref: de,
|
|
654
654
|
class: "vue-ui-heatmap-table"
|
|
655
655
|
}, [
|
|
656
656
|
i("div", {
|
|
657
657
|
style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
|
|
658
|
-
class: K({ "vue-ui-responsive":
|
|
658
|
+
class: K({ "vue-ui-responsive": ye.value })
|
|
659
659
|
}, [
|
|
660
660
|
i("div", {
|
|
661
661
|
role: "button",
|
|
@@ -664,18 +664,18 @@ const vt = ["id"], dt = {
|
|
|
664
664
|
onClick: l[1] || (l[1] = (s) => _.value.showTable = !1),
|
|
665
665
|
onKeypress: l[2] || (l[2] = Ge((s) => _.value.showTable = !1, ["enter"]))
|
|
666
666
|
}, [
|
|
667
|
-
|
|
667
|
+
se(ot, {
|
|
668
668
|
name: "close",
|
|
669
669
|
stroke: e.value.table.th.color,
|
|
670
670
|
"stroke-width": 2
|
|
671
671
|
}, null, 8, ["stroke"])
|
|
672
672
|
], 36),
|
|
673
|
-
i("table",
|
|
673
|
+
i("table", Ht, [
|
|
674
674
|
i("caption", {
|
|
675
675
|
style: x(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
676
676
|
}, [
|
|
677
677
|
Ue(b(e.value.style.title.text) + " ", 1),
|
|
678
|
-
e.value.style.title.subtitle.text ? (o(), n("span",
|
|
678
|
+
e.value.style.title.subtitle.text ? (o(), n("span", Xt, b(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
679
679
|
], 4),
|
|
680
680
|
i("thead", null, [
|
|
681
681
|
i("tr", {
|
|
@@ -685,14 +685,14 @@ const vt = ["id"], dt = {
|
|
|
685
685
|
i("th", {
|
|
686
686
|
style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
687
687
|
}, null, 4),
|
|
688
|
-
(o(!0), n(A, null,
|
|
688
|
+
(o(!0), n(A, null, O(X.dataset, (s, v) => (o(), n("th", {
|
|
689
689
|
align: "right",
|
|
690
690
|
style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
691
691
|
}, b(s.name), 5))), 256))
|
|
692
692
|
], 4)
|
|
693
693
|
]),
|
|
694
694
|
i("tbody", null, [
|
|
695
|
-
(o(!0), n(A, null,
|
|
695
|
+
(o(!0), n(A, null, O($.value.xLabels, (s, v) => (o(), n("tr", {
|
|
696
696
|
role: "row",
|
|
697
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 }),
|
|
698
698
|
style: x(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
@@ -704,12 +704,12 @@ const vt = ["id"], dt = {
|
|
|
704
704
|
}, [
|
|
705
705
|
i("div", Yt, b(s), 1)
|
|
706
706
|
], 12, Dt),
|
|
707
|
-
(o(!0), n(A, null,
|
|
707
|
+
(o(!0), n(A, null, O(X.dataset, (y, g) => (o(), n("td", {
|
|
708
708
|
class: "vue-ui-data-table__tbody__td",
|
|
709
|
-
"data-cell":
|
|
709
|
+
"data-cell": X.dataset[g].name,
|
|
710
710
|
style: x(`outline:${e.value.table.td.outline}`)
|
|
711
711
|
}, [
|
|
712
|
-
i("div", Wt, b(isNaN(y.values[v]) ? "-" : u(
|
|
712
|
+
i("div", Wt, b(isNaN(y.values[v]) ? "-" : u(S)({ p: e.value.style.layout.dataLabels.prefix, v: y.values[v], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
713
713
|
], 12, jt))), 256))
|
|
714
714
|
], 6))), 256))
|
|
715
715
|
])
|
|
@@ -721,7 +721,7 @@ const vt = ["id"], dt = {
|
|
|
721
721
|
}, 8, ["config"])) : c("", !0)
|
|
722
722
|
], 46, vt));
|
|
723
723
|
}
|
|
724
|
-
}, rl = /* @__PURE__ */ rt(qt, [["__scopeId", "data-v-
|
|
724
|
+
}, rl = /* @__PURE__ */ rt(qt, [["__scopeId", "data-v-e8a5fa5f"]]);
|
|
725
725
|
export {
|
|
726
726
|
rl as default
|
|
727
727
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-C3wsuQ2C.cjs"),pe=require("./Title-CSyDhu3S.cjs"),le=require("./usePrinter-Dglf1bsw.cjs"),he=require("./Tooltip-D88h1zvE.cjs"),fe=require("./vue-ui-skeleton-99lBQ_mF.cjs"),ge=require("./BaseIcon-DGRZS55E.cjs"),me=require("./vue-ui-accordion-kv5FuXqU.cjs"),ae=require("./useNestedProp-CFwQtnNB.cjs"),be=require("./PackageVersion-CeJ2R9gK.cjs"),ke=require("./PenAndPaper-DQPbe0G_.cjs"),xe=require("./useUserOptionState-BgepsfED.cjs"),we=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ce=["id"],_e={key:2,style:"width:100%;background:transparent"},Ne=["xmlns","viewBox"],Be=["x","y","width","height","fill","stroke","stroke-width"],Le=["x","y","width","height","fill","stroke","stroke-width"],Ve=["font-size","font-weight","fill","x","y"],$e=["x","y","width","height","onMouseover"],Ee={key:0},Se=["font-size","fill","x","y","font-weight"],Ae={key:0},ze=["text-anchor","font-size","fill","font-weight","transform"],Te={key:1},Me=["x","y","width","height","stroke","stroke-width"],Oe={key:2},Pe=["id"],Fe=["stop-color"],De=["stop-color"],Ie=["x","y","font-size","fill"],Re=["x","y","height","rx","fill"],qe=["x","y","font-size","fill"],Ue=["stroke","x1","x2","y1","y2"],He=["fill","d"],Ge={key:3},Xe={id:"colorScaleHorizontal",x1:"0%",x2:"100%",y1:"0%",y2:"0%"},je=["stop-color"],Ye=["stop-color"],We=["x","y","width","height","rx"],Ke=["x","y","font-size","fill"],Je=["x","y","font-size","fill"],Qe=["stroke","x1","x2","y1","y2"],Ze=["fill","d"],et={key:5,class:"vue-data-ui-watermark"},tt={key:6,ref:"source",dir:"auto"},lt={class:"vue-ui-data-table"},at={key:0},ot=["data-cell"],st={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},ut=["data-cell"],nt={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},rt={__name:"vue-ui-heatmap",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(L,{expose:oe}){const n=L;e.useCssVars(l=>({"144dc876":l.tdo}));const{vue_ui_heatmap:se}=s.useConfig(),V=e.computed(()=>!!n.dataset&&n.dataset.length);s.objectIsEmpty(n.dataset)&&s.error({componentName:"VueUiHeatmap",type:"dataset"});const w=e.ref(s.createUid()),$=e.ref(null),ue=e.ref(null),z=e.ref(!1),T=e.ref(""),R=e.ref(void 0),C=e.ref(null),q=e.ref(0),U=e.ref(null),ne=e.ref(null),H=e.ref(!1),G=e.ref(0),t=e.computed({get:()=>Y(),set:l=>l}),{userOptionsVisible:M,setUserOptionsVisibility:X,keepUserOptionState:j}=xe.useUserOptionState({config:t.value});function Y(){const l=ae.useNestedProp({userConfig:n.config,defaultConfig:se});let a={};return l.theme?a={...ae.useNestedProp({userConfig:s.themes.vue_ui_heatmap[l.theme]||n.config,defaultConfig:l})}:a=l,n.config&&s.hasDeepProperty(n.config,"style.layout.dataLabels.xAxis.showOnlyAtModulo")?a.style.layout.dataLabels.xAxis.showOnlyAtModulo=n.config.style.layout.dataLabels.xAxis.showOnlyAtModulo:a.style.layout.dataLabels.xAxis.showOnlyAtModulo=null,a}e.watch(()=>n.config,l=>{t.value=Y(),M.value=!t.value.showOnChartHover,O(),G.value+=1},{deep:!0}),e.watch(()=>n.dataset,()=>{O()},{deep:!0});const{isPrinting:W,isImaging:K,generatePdf:J,generateImage:Q}=le.usePrinter({elementId:`heatmap__${w.value}`,fileName:t.value.style.title.text||"vue-ui-heatmap"}),re=e.computed(()=>t.value.userOptions.show&&!t.value.style.title.text),y=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.tooltip.show}),ie=e.computed(()=>t.value.table.responsiveBreakpoint);function de(){new ResizeObserver(a=>{a.forEach(u=>{H.value=u.contentRect.width<ie.value})}).observe(U.value)}e.onMounted(O);function O(){de()}const k=e.computed(()=>Math.max(...n.dataset.flatMap(l=>(l.values||[]).length))),p=e.computed(()=>{const l=t.value.style.layout.padding.top+t.value.style.layout.padding.bottom+n.dataset.length*t.value.style.layout.cells.height,a=t.value.style.layout.padding.left+t.value.style.layout.padding.right+(k.value<n.dataset.length?n.dataset.length:k.value)*t.value.style.layout.cells.height,u=l+(t.value.style.legend.show?t.value.style.legend.position==="right"?0:t.value.style.layout.cells.height*2:0);return{height:l,heightWithLegend:u,width:a}}),E=e.computed(()=>t.value.style.legend.position),o=e.computed(()=>({top:t.value.style.layout.padding.top,left:t.value.style.layout.padding.left,right:p.value.width-t.value.style.layout.padding.right-(E.value==="right"&&t.value.style.legend.show?92:0),bottom:p.value.height-t.value.style.layout.padding.bottom,height:p.value.height-t.value.style.layout.padding.top-t.value.style.layout.padding.bottom,width:p.value.width-t.value.style.layout.padding.right-t.value.style.layout.padding.left-(E.value==="right"&&t.value.style.legend.show?92:0)})),P=e.computed(()=>i.value.height*n.dataset.length),v=e.computed(()=>Math.max(...n.dataset.flatMap(l=>l.values))),m=e.computed(()=>Math.min(...n.dataset.flatMap(l=>l.values))),b=e.computed(()=>{const l=n.dataset.flatMap(u=>u.values);return l.reduce((u,r)=>u+r,0)/l.length}),i=e.computed(()=>({width:o.value.width/k.value,height:o.value.width/(k.value<n.dataset.length?n.dataset.length:k.value)})),h=e.computed(()=>{const l=t.value.style.layout.dataLabels.yAxis.values.length?t.value.style.layout.dataLabels.yAxis.values:n.dataset.map(u=>u.name),a=t.value.style.layout.dataLabels.xAxis.values;return{yLabels:l,xLabels:a.slice(0,k.value)}}),S=e.computed(()=>(n.dataset.forEach((l,a)=>{s.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["values"]}).forEach(u=>{s.error({componentName:"VueUiHeatmap",type:"datasetSerieAttribute",property:"values",index:a})})}),n.dataset.map(l=>({...l,temperatures:(l.values||[]).map((a,u)=>a>=b.value?{side:"up",color:s.interpolateColorHex(t.value.style.layout.cells.colors.cold,t.value.style.layout.cells.colors.hot,m.value,v.value,a),ratio:Math.abs(Math.abs(a-b.value)/Math.abs(v.value-b.value))>1?1:Math.abs(Math.abs(a-b.value)/Math.abs(v.value-b.value)),value:a,yAxisName:l.name,xAxisName:h.value.xLabels[u],id:`vue-data-ui-heatmap-cell-${s.createUid()}`}:{side:"down",ratio:Math.abs(1-Math.abs(a)/Math.abs(b.value))>1?1:Math.abs(1-Math.abs(a)/Math.abs(b.value)),color:s.interpolateColorHex(t.value.style.layout.cells.colors.cold,t.value.style.layout.cells.colors.hot,m.value,v.value,a),value:a,yAxisName:l.name,xAxisName:h.value.xLabels[u],id:`vue-data-ui-heatmap-cell-${s.createUid()}`})})))),f=e.ref(null),_=e.ref(null);function ce(l,a,u,r){C.value={x:u,y:r};const{value:d,yAxisName:c,xAxisName:g,id:ye}=l;R.value=ye,f.value=d,_.value={datapoint:l,seriesIndex:a,series:S.value,config:t.value},z.value=!0;let D="";const I=t.value.style.tooltip.customFormat;s.isFunction(I)&&s.functionReturnsString(()=>I({datapoint:l,seriesIndex:a,series:S.value,config:t.value}))?T.value=I({datapoint:l,seriesIndex:a,series:S.value,config:t.value}):(D+=`<div>${c} ${g?`${g}`:""}</div>`,D+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${s.interpolateColorHex(t.value.style.layout.cells.colors.cold,t.value.style.layout.cells.colors.hot,m.value,v.value,d)}">⬤</span><span>${isNaN(d)?"-":s.applyDataLabel(t.value.style.layout.cells.value.formatter,d,s.dataLabel({p:t.value.style.layout.dataLabels.prefix,v:d,s:t.value.style.layout.dataLabels.suffix,r:t.value.style.tooltip.roundingValue}),{datapoint:l,seriesIndex:a})}</span></div>`,T.value=`<div style="font-size:${t.value.style.tooltip.fontSize}px">${D}</div>`)}const N=e.computed(()=>o.value.top+P.value*(1-f.value/v.value)),B=e.computed(()=>o.value.left+(p.value.width-o.value.left-t.value.style.layout.padding.right)*(f.value/v.value));e.computed(()=>{const l=n.dataset.map(u=>({name:u.name})),a=n.dataset.map(u=>u.values);return{head:l,body:a}});function Z(){e.nextTick(()=>{const l=["",...n.dataset.map((d,c)=>d.name)],a=[];for(let d=0;d<h.value.xLabels.length;d+=1){const c=[h.value.xLabels[d]];for(let g=0;g<n.dataset.length;g+=1)c.push([n.dataset[g].values[d]]);a.push(c)}const u=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([l]).concat(a),r=s.createCsvContent(u);s.downloadCsv({csvContent:r,title:t.value.style.title.text||"vue-ui-heatmap"})})}const x=e.ref(!1);function ve(l){x.value=l,q.value+=1}function ee(){y.value.showTable=!y.value.showTable}function te(){y.value.showTooltip=!y.value.showTooltip}const A=e.ref(!1);function F(){A.value=!A.value}return oe({generatePdf:J,generateCsv:Z,generateImage:Q,toggleTable:ee,toggleTooltip:te,toggleAnnotator:F}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"heatmapChart",ref:$,class:e.normalizeClass(`vue-ui-heatmap ${x.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.backgroundColor}`),id:`heatmap__${w.value}`,onMouseenter:a[3]||(a[3]=()=>e.unref(X)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(X)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ke.PenAndPaper,{key:0,parent:$.value,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,active:A.value,onClose:F},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),re.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:ne,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",_e,[(e.openBlock(),e.createBlock(pe._sfc_main,{key:`title_${G.value}`,config:{title:{cy:"heatmap-div-title",...t.value.style.title},subtitle:{cy:"heatmap-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&V.value&&(e.unref(j)||e.unref(M))?(e.openBlock(),e.createBlock(le.UserOptions,{ref_key:"details",ref:ue,key:`user_options_${q.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isImaging:e.unref(K),isPrinting:e.unref(W),uid:w.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:x.value,isTooltip:y.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:$.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:A.value,onToggleFullscreen:ve,onGeneratePdf:e.unref(J),onGenerateCsv:Z,onGenerateImage:e.unref(Q),onToggleTable:ee,onToggleTooltip:te,onToggleAnnotator:F,style:e.normalizeStyle({visibility:e.unref(j)?e.unref(M)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:u,isFullscreen:r})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:u,isFullscreen:r})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:u,isAnnotator:r})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:u,isAnnotator:r})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),V.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":x.value,"vue-data-ui-fulscreen--off":!x.value}),viewBox:`0 0 ${p.value.width} ${p.value.heightWithLegend}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.color}`)},[e.createVNode(be._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(u,r)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.temperatures,(d,c)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:o.value.left+i.value.width*c+t.value.style.layout.cells.spacing/2,y:o.value.top+i.value.height*r+t.value.style.layout.cells.spacing/2,width:i.value.width-t.value.style.layout.cells.spacing,height:i.value.height-t.value.style.layout.cells.spacing,fill:t.value.style.layout.cells.colors.underlayer,stroke:t.value.style.backgroundColor,"stroke-width":t.value.style.layout.cells.spacing},null,8,Be),e.createElementVNode("rect",{x:o.value.left+i.value.width*c+t.value.style.layout.cells.spacing/2,y:o.value.top+i.value.height*r+t.value.style.layout.cells.spacing/2,width:i.value.width-t.value.style.layout.cells.spacing,height:i.value.height-t.value.style.layout.cells.spacing,fill:d.color,stroke:t.value.style.backgroundColor,"stroke-width":t.value.style.layout.cells.spacing},null,8,Le),t.value.style.layout.cells.value.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":"middle","font-size":t.value.style.layout.cells.value.fontSize,"font-weight":t.value.style.layout.cells.value.bold?"bold":"normal",fill:e.unref(s.adaptColorToBackground)(d.color),x:o.value.left+i.value.width*c+i.value.width/2,y:o.value.top+i.value.height*r+i.value.height/2+t.value.style.layout.cells.value.fontSize/3},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.cells.value.formatter,d.value,e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:d.value,s:t.value.style.layout.dataLabels.suffix,r:t.value.style.layout.cells.value.roundingValue}),{datapoint:d})),9,Ve)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.temperatures,(d,c)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:o.value.left+i.value.width*c,y:o.value.top+i.value.height*r,width:i.value.width,height:i.value.height,fill:"transparent",stroke:"none",onMouseover:g=>ce(d,r,o.value.left+i.value.width*c,o.value.top+i.value.height*r),onMouseout:a[0]||(a[0]=g=>{z.value=!1,R.value=void 0,f.value=null,C.value=null})},null,40,$e)]))),256)),t.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",Ee,[e.createElementVNode("text",{"font-size":t.value.style.layout.dataLabels.yAxis.fontSize,fill:t.value.style.layout.dataLabels.yAxis.color,x:o.value.left+t.value.style.layout.dataLabels.yAxis.offsetX-6,y:o.value.top+i.value.height*r+i.value.height/2+t.value.style.layout.dataLabels.yAxis.fontSize/3+t.value.style.layout.dataLabels.yAxis.offsetY,"text-anchor":"end","font-weight":t.value.style.layout.dataLabels.yAxis.bold?"bold":"normal"},e.toDisplayString(h.value.yLabels[r]),9,Se)])):e.createCommentVNode("",!0)]))),256)),t.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",Ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.xLabels,(u,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[!t.value.style.layout.dataLabels.xAxis.showOnlyAtModulo||t.value.style.layout.dataLabels.xAxis.showOnlyAtModulo&&r%t.value.style.layout.dataLabels.xAxis.showOnlyAtModulo===0?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":t.value.style.layout.dataLabels.xAxis.rotation===0?"middle":t.value.style.layout.dataLabels.xAxis.rotation<0?"start":"end","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal",transform:`translate(${o.value.left+i.value.width/2+o.value.width/h.value.xLabels.length*r+t.value.style.layout.dataLabels.xAxis.offsetX}, ${o.value.top+t.value.style.layout.dataLabels.xAxis.offsetY-6}), rotate(${t.value.style.layout.dataLabels.xAxis.rotation})`},e.toDisplayString(u),9,ze)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createElementBlock("g",Te,[e.createElementVNode("rect",{style:{"pointer-events":"none"},x:C.value.x-t.value.style.layout.cells.selected.border/2+t.value.style.layout.cells.spacing,y:C.value.y-t.value.style.layout.cells.selected.border/2+t.value.style.layout.cells.spacing,width:i.value.width-t.value.style.layout.cells.spacing+t.value.style.layout.cells.selected.border-t.value.style.layout.cells.spacing,height:i.value.height-t.value.style.layout.cells.spacing+t.value.style.layout.cells.selected.border-t.value.style.layout.cells.spacing,fill:"transparent",stroke:t.value.style.layout.cells.selected.color,"stroke-width":t.value.style.layout.cells.selected.border,rx:1},null,8,Me)])):e.createCommentVNode("",!0),t.value.style.legend.show&&E.value==="right"?(e.openBlock(),e.createElementBlock("g",Oe,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`colorScaleVertical_${w.value}`,x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.cells.colors.hot},null,8,Fe),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.cells.colors.cold},null,8,De)],8,Pe)]),e.createElementVNode("text",{x:o.value.right+36+18,y:o.value.top-t.value.style.legend.fontSize*1.5,"text-anchor":"middle","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(v.value),e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(v.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,Ie),e.createElementVNode("rect",{x:o.value.right+36,y:o.value.top,width:36,height:P.value,rx:t.value.style.legend.scaleBorderRadius,fill:`url(#colorScaleVertical_${w.value})`},null,8,Re),e.createElementVNode("text",{x:o.value.right+36+18,y:o.value.top+P.value+t.value.style.legend.fontSize*2.5,"text-anchor":"middle","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(m.value),e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(m.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,qe),f.value!==null?(e.openBlock(),e.createElementBlock("line",{key:0,stroke:e.unref(s.adaptColorToBackground)(_.value.datapoint.color),"stroke-width":"2",x1:o.value.right+36,x2:o.value.right+72,y1:N.value,y2:N.value},null,8,Ue)):e.createCommentVNode("",!0),f.value!==null?(e.openBlock(),e.createElementBlock("path",{key:1,fill:t.value.style.color,stroke:"none",d:`M ${o.value.right+36},${N.value} ${o.value.right+26},${N.value-8} ${o.value.right+26},${N.value+8}z`},null,8,He)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.style.legend.show&&E.value==="bottom"?(e.openBlock(),e.createElementBlock("g",Ge,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",Xe,[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.cells.colors.cold},null,8,je),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.cells.colors.hot},null,8,Ye)])]),e.createElementVNode("rect",{x:o.value.left,y:o.value.bottom+t.value.style.layout.cells.height,width:p.value.width-o.value.left-t.value.style.layout.padding.right,height:t.value.style.layout.cells.height,rx:t.value.style.legend.scaleBorderRadius>t.value.style.layout.cells.height/2?t.value.style.layout.cells.height/2:t.value.style.legend.scaleBorderRadius,fill:"url(#colorScaleHorizontal)"},null,8,We),e.createElementVNode("text",{x:o.value.left,y:o.value.bottom+t.value.style.layout.cells.height*2+t.value.style.legend.fontSize*2,"text-anchor":"start","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(m.value),e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(m.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,Ke),e.createElementVNode("text",{x:o.value.right,y:o.value.bottom+t.value.style.layout.cells.height*2+t.value.style.legend.fontSize*2,"text-anchor":"end","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(v.value),e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(v.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,Je),f.value!==null?(e.openBlock(),e.createElementBlock("line",{key:0,stroke:e.unref(s.adaptColorToBackground)(_.value.datapoint.color),"stroke-width":"2",x1:B.value,x2:B.value,y1:o.value.bottom+t.value.style.layout.cells.height,y2:o.value.bottom+t.value.style.layout.cells.height*2},null,8,Qe)):e.createCommentVNode("",!0),f.value!==null?(e.openBlock(),e.createElementBlock("path",{key:1,fill:t.value.style.color,stroke:"none",d:`M ${B.value},${o.value.bottom+t.value.style.layout.cells.height} ${B.value-12},${o.value.bottom+t.value.style.layout.cells.height-20} ${B.value+12},${o.value.bottom+t.value.style.layout.cells.height-20}z`},null,8,Ze)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"svg",{svg:p.value},void 0,!0)],14,Ne)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",et,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(W)||e.unref(K)})),void 0,!0)])):e.createCommentVNode("",!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",tt,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),V.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(fe.default,{key:7,config:{type:"heatmap",style:{backgroundColor:t.value.style.backgroundColor,heatmap:{color:"#CCCCCC"}}}},null,8,["config"])),e.createVNode(he._sfc_main,{show:y.value.showTooltip&&z.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,fontSize:t.value.style.tooltip.fontSize,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,offsetY:t.value.style.tooltip.offsetY,parent:$.value,content:T.value,isFullscreen:x.value,isCustom:t.value.style.tooltip.customFormat&&typeof t.value.style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),V.value?(e.openBlock(),e.createBlock(me.default,{key:8,hideDetails:"",config:{open:y.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color},head:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color}}},{content:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"tableContainer",ref:U,class:"vue-ui-heatmap-table"},[e.createElementVNode("div",{style:"width:100%;overflow-x:auto;padding-top:36px;position:relative",class:e.normalizeClass({"vue-ui-responsive":H.value})},[e.createElementVNode("div",{role:"button",tabindex:"0",style:e.normalizeStyle(`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:${t.value.table.th.backgroundColor};`),onClick:a[1]||(a[1]=u=>y.value.showTable=!1),onKeypress:a[2]||(a[2]=e.withKeys(u=>y.value.showTable=!1,["enter"]))},[e.createVNode(ge.default,{name:"close",stroke:t.value.table.th.color,"stroke-width":2},null,8,["stroke"])],36),e.createElementVNode("table",lt,[e.createElementVNode("caption",{style:e.normalizeStyle(`backgroundColor:${t.value.table.th.backgroundColor};color:${t.value.table.th.color};outline:${t.value.table.th.outline}`)},[e.createTextVNode(e.toDisplayString(t.value.style.title.text)+" ",1),t.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("span",at,e.toDisplayString(t.value.style.title.subtitle.text),1)):e.createCommentVNode("",!0)],4),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle(`background:${t.value.table.th.backgroundColor};color:${t.value.table.th.color}`)},[e.createElementVNode("th",{style:e.normalizeStyle(`outline:${t.value.table.th.outline};padding-right:6px`)},null,4),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.dataset,(u,r)=>(e.openBlock(),e.createElementBlock("th",{align:"right",style:e.normalizeStyle(`outline:${t.value.table.th.outline};padding-right:6px`)},e.toDisplayString(u.name),5))),256))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.xLabels,(u,r)=>(e.openBlock(),e.createElementBlock("tr",{role:"row",class:e.normalizeClass({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":r%2===0,"vue-ui-data-table__tbody__row-odd":r%2!==0}),style:e.normalizeStyle(`background:${t.value.table.td.backgroundColor};color:${t.value.table.td.color}`)},[e.createElementVNode("td",{"data-cell":t.value.table.colNames.xAxis,class:"vue-ui-data-table__tbody__td",style:e.normalizeStyle(`outline:${t.value.table.td.outline}`)},[e.createElementVNode("div",st,e.toDisplayString(u),1)],12,ot),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.dataset,(d,c)=>(e.openBlock(),e.createElementBlock("td",{class:"vue-ui-data-table__tbody__td","data-cell":L.dataset[c].name,style:e.normalizeStyle(`outline:${t.value.table.td.outline}`)},[e.createElementVNode("div",nt,e.toDisplayString(isNaN(d.values[r])?"-":e.unref(s.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:d.values[r],s:t.value.style.layout.dataLabels.suffix,r:t.value.table.td.roundingValue})),1)],12,ut))),256))],6))),256))])])],2)],512)]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Ce))}},it=we._export_sfc(rt,[["__scopeId","data-v-e8a5fa5f"]]);exports.default=it;
|