vue-data-ui 2.6.37 → 2.6.38
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-DjSpCQOg.cjs → Arrow-DH-nqfuu.cjs} +1 -1
- package/dist/{Arrow-D7v9Wp6T.js → Arrow-xcaRkI_P.js} +1 -1
- package/dist/{BaseIcon-BKbuAee9.js → BaseIcon-CCOXJ43P.js} +1 -1
- package/dist/{BaseIcon-NPPqp3O_.cjs → BaseIcon-Dhgv4Qgl.cjs} +1 -1
- package/dist/{ColorPicker-Ds2gt2zr.cjs → ColorPicker-DdX3Ab75.cjs} +1 -1
- package/dist/{ColorPicker-fC6sjkCD.js → ColorPicker-DwgQNiHO.js} +3 -3
- package/dist/{DataTable-CHrd5zea.js → DataTable--Aq5n5mR.js} +2 -2
- package/dist/{DataTable-tMRNizIy.cjs → DataTable-DhEDo7W6.cjs} +1 -1
- package/dist/{Legend-BAyCHNFN.cjs → Legend-2PWaf6Bj.cjs} +1 -1
- package/dist/{Legend-BqEqCXVk.js → Legend-BbSQMgm3.js} +2 -2
- package/dist/{PackageVersion-CFYRvKwb.js → PackageVersion-CZ0-Jk6A.js} +1 -1
- package/dist/{PackageVersion-Dlu6kyPs.cjs → PackageVersion-DdCp9lqS.cjs} +1 -1
- package/dist/{PenAndPaper-C3pcy_TE.cjs → PenAndPaper-4dibNTrE.cjs} +1 -1
- package/dist/{PenAndPaper-BikLu3A8.js → PenAndPaper-BFkX-O1c.js} +3 -3
- package/dist/{Shape-ievmKPU_.cjs → Shape-Ba8jxKwR.cjs} +1 -1
- package/dist/{Shape-zY50kxWh.js → Shape-CxNXalS-.js} +1 -1
- package/dist/{Slicer-D1PZmmpU.js → Slicer-m9Y8-Ul1.js} +2 -2
- package/dist/{Slicer-CmDTJ7X8.cjs → Slicer-rJxCx_c3.cjs} +1 -1
- package/dist/{Title-C99c1fOM.cjs → Title-BGQhFU2C.cjs} +1 -1
- package/dist/{Title-DfuSY8DI.js → Title-xPTli3hs.js} +1 -1
- package/dist/{Tooltip-CnRtBNhB.cjs → Tooltip-CnSZ7sO1.cjs} +1 -1
- package/dist/{Tooltip-BJkwUrpq.js → Tooltip-D42o7dze.js} +1 -1
- package/dist/{index-LYjDwaWo.js → index-BsIlHNy8.js} +41 -22
- package/dist/index-CtzlfT2i.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +19 -0
- package/dist/types/vue-data-ui.d.ts +19 -0
- package/dist/{useNestedProp-u-S0VYER.cjs → useNestedProp-B5jFEsaz.cjs} +1 -1
- package/dist/{useNestedProp-BqIaNvIP.js → useNestedProp-CyyJlG5K.js} +1 -1
- package/dist/{usePrinter-Bk4LBipq.js → usePrinter-D5N6w7Rg.js} +1 -1
- package/dist/{usePrinter-vUnweX78.cjs → usePrinter-LlH3giBA.cjs} +1 -1
- package/dist/{vue-data-ui-CxSZD28Q.js → vue-data-ui-BLYRqJkx.js} +61 -61
- package/dist/{vue-data-ui-DxecxG2M.cjs → vue-data-ui-Ba8lztG5.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CRECKReA.cjs → vue-ui-3d-bar-BGJLygG0.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-CcJxagPn.js → vue-ui-3d-bar-BJZ5zSaf.js} +9 -9
- package/dist/{vue-ui-accordion-DM7bQauS.js → vue-ui-accordion-COi2Xtsr.js} +3 -3
- package/dist/{vue-ui-accordion-DrH4ygA8.cjs → vue-ui-accordion-tUPDXqYS.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-OdhsjM63.cjs → vue-ui-age-pyramid-2Fxcq3FV.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DEHxorYW.js → vue-ui-age-pyramid-k5Fu7j2-.js} +10 -10
- package/dist/{vue-ui-annotator-D95mxiIF.js → vue-ui-annotator-BZ0Yy6ia.js} +1 -1
- package/dist/{vue-ui-annotator-DtXU_e7H.cjs → vue-ui-annotator-MPzfaArN.cjs} +1 -1
- package/dist/{vue-ui-bullet-Ctu6Gj-o.cjs → vue-ui-bullet-CQ7tn9wm.cjs} +1 -1
- package/dist/{vue-ui-bullet-_lCMuFeX.js → vue-ui-bullet-u2ESqCXp.js} +8 -8
- package/dist/{vue-ui-candlestick-CRC-KFUP.cjs → vue-ui-candlestick-4-kNBi7o.cjs} +1 -1
- package/dist/{vue-ui-candlestick-BZGnUwwL.js → vue-ui-candlestick-CwJ_u0fV.js} +11 -11
- package/dist/{vue-ui-carousel-table-B29MT_s-.js → vue-ui-carousel-table-BoC8-DRG.js} +4 -4
- package/dist/{vue-ui-carousel-table-DXqodoqu.cjs → vue-ui-carousel-table-C0_aau0U.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CdMFlRdm.cjs → vue-ui-chestnut-C7fb69a8.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CbStcaWN.js → vue-ui-chestnut-DPuTvEo_.js} +8 -8
- package/dist/{vue-ui-circle-pack-BFE8EzB8.cjs → vue-ui-circle-pack-DDQON0rO.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-4F8_QJLA.js → vue-ui-circle-pack-_hLdrihN.js} +9 -9
- package/dist/{vue-ui-cursor-BRl1iqMh.js → vue-ui-cursor-BWDfw2Ie.js} +2 -2
- package/dist/{vue-ui-cursor-D5Z6oGX5.cjs → vue-ui-cursor-gcJigUgC.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BrNI7Gh5.js → vue-ui-dashboard-BkGZ-fol.js} +2 -2
- package/dist/{vue-ui-dashboard-DgX3ZCV5.cjs → vue-ui-dashboard-DesRs2ZI.cjs} +1 -1
- package/dist/{vue-ui-digits-1BawWbMU.js → vue-ui-digits-BTsRKOh6.js} +2 -2
- package/dist/{vue-ui-digits-T2FulJDq.cjs → vue-ui-digits-D7S2s6dm.cjs} +1 -1
- package/dist/{vue-ui-donut-CoF4u-T4.cjs → vue-ui-donut-C8YIBga9.cjs} +1 -1
- package/dist/{vue-ui-donut-BZyDypub.js → vue-ui-donut-CHFJ4llc.js} +12 -12
- package/dist/{vue-ui-donut-evolution-CoFY2UqN.cjs → vue-ui-donut-evolution-Dpvf2iFq.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-B3L8SqIT.js → vue-ui-donut-evolution-Du7EzpBa.js} +11 -11
- package/dist/{vue-ui-dumbbell-B18xzbpo.cjs → vue-ui-dumbbell-D52rmaD-.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DbVCVj00.js → vue-ui-dumbbell-D_ZrpG52.js} +10 -10
- package/dist/{vue-ui-flow-Dz_BV7Wd.cjs → vue-ui-flow-CR8zPj0k.cjs} +1 -1
- package/dist/{vue-ui-flow-ClMNqcsT.js → vue-ui-flow-EOVRHoOo.js} +9 -9
- package/dist/{vue-ui-funnel-wkwqNsC4.js → vue-ui-funnel-BeEfwpch.js} +9 -9
- package/dist/{vue-ui-funnel-BaO75cmv.cjs → vue-ui-funnel-DttSlnhO.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DJdlFBDx.cjs → vue-ui-galaxy-BiG7_RQM.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BCiM8o2g.js → vue-ui-galaxy-CV_lO5aH.js} +11 -11
- package/dist/{vue-ui-gauge-BD2Wr3i_.js → vue-ui-gauge-DLN6zs3X.js} +7 -7
- package/dist/{vue-ui-gauge-B452h__i.cjs → vue-ui-gauge-DcTEz7z0.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC4oXCrn.cjs → vue-ui-gizmo-DB55cesa.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CFhYFXge.js → vue-ui-gizmo-G1WtSE2E.js} +3 -3
- package/dist/vue-ui-heatmap-BdWCJv-X.js +853 -0
- package/dist/vue-ui-heatmap-D2mxryA0.cjs +1 -0
- package/dist/{vue-ui-history-plot-CBC58-dI.cjs → vue-ui-history-plot-B1UvPHEt.cjs} +1 -1
- package/dist/{vue-ui-history-plot-D2k5p_08.js → vue-ui-history-plot-Bch7yEUY.js} +11 -11
- package/dist/{vue-ui-kpi-CN0wMlzY.js → vue-ui-kpi-B9HqS8K-.js} +3 -3
- package/dist/{vue-ui-kpi-DeO975Tm.cjs → vue-ui-kpi-D_x-1qay.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BDUcR9xD.cjs → vue-ui-mini-loader-CVUQ6Jdq.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C8U2WRWc.js → vue-ui-mini-loader-sTAHynyd.js} +2 -2
- package/dist/{vue-ui-molecule-C4hSgcZV.js → vue-ui-molecule-CBY0mkv6.js} +10 -10
- package/dist/{vue-ui-molecule-DUQmPuAz.cjs → vue-ui-molecule-CzV5mFr9.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-7NdBm26m.js → vue-ui-mood-radar-0l5kOwOS.js} +11 -11
- package/dist/{vue-ui-mood-radar-CYga2i6l.cjs → vue-ui-mood-radar-CjZZdlwC.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DT4F0Ppo.js → vue-ui-nested-donuts-CaMgxVbA.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BPfP8KKW.cjs → vue-ui-nested-donuts-DmAwQmwD.cjs} +1 -1
- package/dist/{vue-ui-onion-CzeGlKHi.js → vue-ui-onion-LcKtpoza.js} +11 -11
- package/dist/{vue-ui-onion-DeJyJi-P.cjs → vue-ui-onion-dzs4bSVa.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-C3Ad7aEh.cjs → vue-ui-parallel-coordinate-plot-BF8Erw_q.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BeX2ILdX.js → vue-ui-parallel-coordinate-plot-BNLSWVnA.js} +12 -12
- package/dist/{vue-ui-quadrant-CMuaw2an.js → vue-ui-quadrant-DNIbdRlI.js} +12 -12
- package/dist/{vue-ui-quadrant-DkQHz0l9.cjs → vue-ui-quadrant-DQgc8mxK.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CKijflc7.js → vue-ui-quick-chart-Bd2xUcYS.js} +9 -9
- package/dist/{vue-ui-quick-chart-CglC9H61.cjs → vue-ui-quick-chart-DD6Dgaf_.cjs} +1 -1
- package/dist/{vue-ui-radar-CNwURzXU.js → vue-ui-radar-CO7-BuKy.js} +12 -12
- package/dist/{vue-ui-radar-B2HNBsUx.cjs → vue-ui-radar-D0aFz3M1.cjs} +1 -1
- package/dist/{vue-ui-rating-fKw_ZKWr.js → vue-ui-rating-BXw-c2re.js} +2 -2
- package/dist/{vue-ui-rating-Bx8-4-To.cjs → vue-ui-rating-DBQcGPBa.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BT85jWbd.js → vue-ui-relation-circle-BVEursNY.js} +7 -7
- package/dist/{vue-ui-relation-circle-L--bJ_xm.cjs → vue-ui-relation-circle-CrCtoGdS.cjs} +1 -1
- package/dist/{vue-ui-rings-B4S20XPE.cjs → vue-ui-rings-B_NxR1q-.cjs} +1 -1
- package/dist/{vue-ui-rings-NRGuC28L.js → vue-ui-rings-DW_FdNSK.js} +12 -12
- package/dist/{vue-ui-scatter-Bbfxsy5c.cjs → vue-ui-scatter-Bly8ezts.cjs} +1 -1
- package/dist/{vue-ui-scatter-DHLSgNgr.js → vue-ui-scatter-CNltzVkT.js} +12 -12
- package/dist/{vue-ui-screenshot-Dtnl7z3b.cjs → vue-ui-screenshot-B3_3bmXo.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BrTwLH16.js → vue-ui-screenshot-iEAAudBg.js} +1 -1
- package/dist/{vue-ui-skeleton-BTph1xJS.js → vue-ui-skeleton-DApuwwZF.js} +3 -3
- package/dist/{vue-ui-skeleton-EeRU9K_3.cjs → vue-ui-skeleton-MFudy6Nx.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cjvujfc4.js → vue-ui-smiley-C-RH5eaS.js} +2 -2
- package/dist/{vue-ui-smiley-BzCK1-Wx.cjs → vue-ui-smiley-D17Lq5EM.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-sT3iomAV.js → vue-ui-spark-trend-CY_5HSpU.js} +5 -5
- package/dist/{vue-ui-spark-trend-D9kJ3Q3P.cjs → vue-ui-spark-trend-q3XeHnoN.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-C6kUDSpD.js → vue-ui-sparkbar-DSsaunzO.js} +4 -4
- package/dist/{vue-ui-sparkbar-C8dZp0vb.cjs → vue-ui-sparkbar-FsR-gK2w.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BqPAIQlp.cjs → vue-ui-sparkgauge-BBBk29g7.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CtqbesjZ.js → vue-ui-sparkgauge-DS_jMTUO.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DlWrXSqw.cjs → vue-ui-sparkhistogram-BFd0lABr.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-E9Ws5wiT.js → vue-ui-sparkhistogram-D_gxEiyc.js} +5 -5
- package/dist/{vue-ui-sparkline-2nDI-153.js → vue-ui-sparkline-BJBtHg1Z.js} +4 -4
- package/dist/{vue-ui-sparkline-C7V1GEy6.cjs → vue-ui-sparkline-BQhNHjjY.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D9kYQocf.cjs → vue-ui-sparkstackbar-D8i69QTv.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CP_aG-G1.js → vue-ui-sparkstackbar-sk6RTxgo.js} +5 -5
- package/dist/{vue-ui-stackbar-D045wCoq.cjs → vue-ui-stackbar-BxbovsxZ.cjs} +1 -1
- package/dist/{vue-ui-stackbar-SGwDTqNQ.js → vue-ui-stackbar-usPJtqEt.js} +13 -13
- package/dist/{vue-ui-strip-plot-yP9RL11r.js → vue-ui-strip-plot-Y_MY3klS.js} +11 -11
- package/dist/{vue-ui-strip-plot-DiqU7hzo.cjs → vue-ui-strip-plot-xeKRF2hz.cjs} +1 -1
- package/dist/{vue-ui-table-G5vt_r4B.js → vue-ui-table-CiYMFIvc.js} +1 -1
- package/dist/{vue-ui-table-Tlt3kWqi.cjs → vue-ui-table-gdZlpeCl.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DripkhZS.js → vue-ui-table-heatmap-E_W8ydlD.js} +4 -4
- package/dist/{vue-ui-table-heatmap-DuyrCkUr.cjs → vue-ui-table-heatmap-RAhNv1Yt.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BCLbPrCC.cjs → vue-ui-table-sparkline-BoW8p8nM.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Cen_P-9_.js → vue-ui-table-sparkline-qnUHp7_y.js} +5 -5
- package/dist/{vue-ui-thermometer-BCIBGOOJ.js → vue-ui-thermometer-B1pc1sTh.js} +7 -7
- package/dist/{vue-ui-thermometer-CGuRui0B.cjs → vue-ui-thermometer-Cgknp6e4.cjs} +1 -1
- package/dist/{vue-ui-timer-DzbtpBxD.js → vue-ui-timer-aBhtv50v.js} +5 -5
- package/dist/{vue-ui-timer-CSF_RnYI.cjs → vue-ui-timer-artBhlnJ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-D67NGQNo.cjs → vue-ui-tiremarks-BzacI8bL.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-Cz7FYs18.js → vue-ui-tiremarks-DiWKoU3P.js} +7 -7
- package/dist/{vue-ui-treemap-HoMGHzSU.cjs → vue-ui-treemap-CQaOFvON.cjs} +1 -1
- package/dist/{vue-ui-treemap-BbAO9GKK.js → vue-ui-treemap-gTJuFH2s.js} +11 -11
- package/dist/{vue-ui-vertical-bar-eAxxiGdP.js → vue-ui-vertical-bar-BBuDOBoW.js} +12 -12
- package/dist/{vue-ui-vertical-bar-BfJdwjpz.cjs → vue-ui-vertical-bar-CmhO5QXM.cjs} +1 -1
- package/dist/{vue-ui-waffle-wCVvBGMm.js → vue-ui-waffle-BL0NYWzA.js} +12 -12
- package/dist/{vue-ui-waffle-BMrn2oQL.cjs → vue-ui-waffle-BSelvhkc.cjs} +1 -1
- package/dist/{vue-ui-wheel-BO37zL4C.cjs → vue-ui-wheel-6MfSLLjP.cjs} +1 -1
- package/dist/{vue-ui-wheel-BKxXJ2Ys.js → vue-ui-wheel-Di-LA-Pk.js} +7 -7
- package/dist/{vue-ui-word-cloud-BNIB4ym5.js → vue-ui-word-cloud-CIL5uwJc.js} +10 -10
- package/dist/{vue-ui-word-cloud-cOi3obyp.cjs → vue-ui-word-cloud-cO7rCys5.cjs} +1 -1
- package/dist/{vue-ui-xy-DZGhmU8N.js → vue-ui-xy-Caw1sPOs.js} +14 -14
- package/dist/{vue-ui-xy-CU2bPeca.cjs → vue-ui-xy-HQqWXfCj.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-Crac6vER.js → vue-ui-xy-canvas-CO_1a0bx.js} +12 -12
- package/dist/{vue-ui-xy-canvas-C7o_KXn0.cjs → vue-ui-xy-canvas-CZffRCNl.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-CIkaV--H.cjs +0 -9
- package/dist/vue-ui-heatmap-BNwlVSl_.cjs +0 -1
- package/dist/vue-ui-heatmap-CM2CVdOw.js +0 -748
|
@@ -0,0 +1,853 @@
|
|
|
1
|
+
import { useCssVars as Ee, computed as p, ref as b, watch as Te, onMounted as Ge, createElementBlock as i, openBlock as o, unref as r, normalizeStyle as T, normalizeClass as Q, createBlock as H, createCommentVNode as d, createVNode as ie, createSlots as Ue, withCtx as A, renderSlot as m, normalizeProps as R, guardReactiveProps as X, Fragment as _, renderList as z, createElementVNode as v, toDisplayString as x, withKeys as Ye, createTextVNode as He, nextTick as De } from "vue";
|
|
2
|
+
import { u as je, o as We, e as Ae, c as re, a as qe, C as Ke, O as D, g as Je, X as Qe, G as ve, i as O, f as M, v as N, q as Ze, r as el, x as ll, y as tl } from "./index-BsIlHNy8.js";
|
|
3
|
+
import { _ as al } from "./Title-xPTli3hs.js";
|
|
4
|
+
import { u as ol, U as sl } from "./usePrinter-D5N6w7Rg.js";
|
|
5
|
+
import { _ as ul } from "./Tooltip-D42o7dze.js";
|
|
6
|
+
import nl from "./vue-ui-skeleton-DApuwwZF.js";
|
|
7
|
+
import il from "./BaseIcon-CCOXJ43P.js";
|
|
8
|
+
import rl from "./vue-ui-accordion-COi2Xtsr.js";
|
|
9
|
+
import { u as ze } from "./useNestedProp-CyyJlG5K.js";
|
|
10
|
+
import { _ as vl } from "./PackageVersion-CZ0-Jk6A.js";
|
|
11
|
+
import { P as yl } from "./PenAndPaper-BFkX-O1c.js";
|
|
12
|
+
import { u as dl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
|
+
import { u as cl } from "./useChartAccessibility-BWojgys7.js";
|
|
14
|
+
import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const gl = ["id"], fl = {
|
|
16
|
+
key: 2,
|
|
17
|
+
style: "width:100%;background:transparent"
|
|
18
|
+
}, pl = ["xmlns", "viewBox"], bl = ["width", "height"], ml = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], xl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], wl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], kl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], _l = ["font-size", "font-weight", "fill", "x", "y"], $l = ["x", "y", "width", "height", "onMouseover"], Ll = { key: 0 }, Cl = ["font-size", "fill", "x", "y", "font-weight"], Tl = ["font-size", "fill", "x", "y", "font-weight"], Al = { key: 1 }, zl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ml = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Sl = { key: 2 }, Ol = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Nl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Vl = { key: 4 }, Fl = ["x", "y", "width", "height", "stroke", "stroke-width"], Il = { key: 5 }, Pl = ["id"], Rl = ["stop-color"], Xl = ["stop-color"], Bl = ["x", "y", "font-size", "fill"], El = ["x", "y", "height", "rx", "fill"], Gl = ["x", "y", "font-size", "fill"], Ul = ["stroke", "x1", "x2", "y1", "y2"], Yl = ["fill", "d"], Hl = { key: 6 }, Dl = {
|
|
19
|
+
id: "colorScaleHorizontal",
|
|
20
|
+
x1: "0%",
|
|
21
|
+
x2: "100%",
|
|
22
|
+
y1: "0%",
|
|
23
|
+
y2: "0%"
|
|
24
|
+
}, jl = ["stop-color"], Wl = ["stop-color"], ql = ["x", "y", "width", "height", "rx"], Kl = ["x", "y", "font-size", "fill"], Jl = ["x", "y", "font-size", "fill"], Ql = ["stroke", "x1", "x2", "y1", "y2"], Zl = ["fill", "d"], et = {
|
|
25
|
+
key: 5,
|
|
26
|
+
class: "vue-data-ui-watermark"
|
|
27
|
+
}, lt = {
|
|
28
|
+
key: 6,
|
|
29
|
+
ref: "source",
|
|
30
|
+
dir: "auto"
|
|
31
|
+
}, tt = { 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" } }, it = {
|
|
32
|
+
__name: "vue-ui-heatmap",
|
|
33
|
+
props: {
|
|
34
|
+
config: {
|
|
35
|
+
type: Object,
|
|
36
|
+
default() {
|
|
37
|
+
return {};
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
dataset: {
|
|
41
|
+
type: Array,
|
|
42
|
+
default() {
|
|
43
|
+
return [];
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
setup(j, { expose: Me }) {
|
|
48
|
+
Ee((l) => ({
|
|
49
|
+
"05be67bb": l.tdo
|
|
50
|
+
}));
|
|
51
|
+
const { vue_ui_heatmap: Se } = je(), y = j, W = p(() => !!y.dataset && y.dataset.length);
|
|
52
|
+
We(y.dataset) && Ae({
|
|
53
|
+
componentName: "VueUiHeatmap",
|
|
54
|
+
type: "dataset"
|
|
55
|
+
});
|
|
56
|
+
const B = b(re()), Z = b(null), Oe = b(null), ee = b(!1), le = b(""), ye = b(void 0), E = b(null), de = b(0), ce = b(null), Ne = b(null), he = b(!1), ge = b(0), e = p({
|
|
57
|
+
get: () => me(),
|
|
58
|
+
set: (l) => l
|
|
59
|
+
}), { userOptionsVisible: te, setUserOptionsVisibility: fe, keepUserOptionState: pe } = dl({ config: e.value }), { svgRef: be } = cl({ config: e.value.style.title });
|
|
60
|
+
function me() {
|
|
61
|
+
const l = ze({
|
|
62
|
+
userConfig: y.config,
|
|
63
|
+
defaultConfig: Se
|
|
64
|
+
});
|
|
65
|
+
let s = {};
|
|
66
|
+
return l.theme ? s = {
|
|
67
|
+
...ze({
|
|
68
|
+
userConfig: qe.vue_ui_heatmap[l.theme] || y.config,
|
|
69
|
+
defaultConfig: l
|
|
70
|
+
})
|
|
71
|
+
} : s = l, y.config && Ke(y.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = y.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
|
|
72
|
+
}
|
|
73
|
+
Te(() => y.config, (l) => {
|
|
74
|
+
e.value = me(), te.value = !e.value.userOptions.showOnChartHover, ae(), ge.value += 1, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.tooltip.show;
|
|
75
|
+
}, { deep: !0 }), Te(() => y.dataset, () => {
|
|
76
|
+
ae();
|
|
77
|
+
}, { deep: !0 });
|
|
78
|
+
const { isPrinting: xe, isImaging: we, generatePdf: ke, generateImage: _e } = ol({
|
|
79
|
+
elementId: `heatmap__${B.value}`,
|
|
80
|
+
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
81
|
+
}), Ve = p(() => e.value.userOptions.show && !e.value.style.title.text), $ = b({
|
|
82
|
+
showTable: e.value.table.show,
|
|
83
|
+
showTooltip: e.value.style.tooltip.show
|
|
84
|
+
}), Fe = p(() => e.value.table.responsiveBreakpoint);
|
|
85
|
+
function Ie() {
|
|
86
|
+
new ResizeObserver((s) => {
|
|
87
|
+
s.forEach((n) => {
|
|
88
|
+
he.value = n.contentRect.width < Fe.value;
|
|
89
|
+
});
|
|
90
|
+
}).observe(ce.value);
|
|
91
|
+
}
|
|
92
|
+
Ge(ae);
|
|
93
|
+
function ae() {
|
|
94
|
+
Ie();
|
|
95
|
+
}
|
|
96
|
+
const V = p(() => Math.max(...y.dataset.flatMap((l) => (l.values || []).length))), L = p(() => {
|
|
97
|
+
const l = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + y.dataset.length * e.value.style.layout.cells.height, s = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (V.value < y.dataset.length ? y.dataset.length : V.value) * e.value.style.layout.cells.height, n = l + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
|
|
98
|
+
return {
|
|
99
|
+
height: l,
|
|
100
|
+
heightWithLegend: n,
|
|
101
|
+
width: s
|
|
102
|
+
};
|
|
103
|
+
}), q = p(() => e.value.style.legend.position), t = p(() => ({
|
|
104
|
+
top: e.value.style.layout.padding.top,
|
|
105
|
+
left: e.value.style.layout.padding.left,
|
|
106
|
+
right: L.value.width - e.value.style.layout.padding.right - (q.value === "right" && e.value.style.legend.show ? 92 : 0),
|
|
107
|
+
bottom: L.value.height - e.value.style.layout.padding.bottom,
|
|
108
|
+
height: L.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
109
|
+
width: L.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (q.value === "right" && e.value.style.legend.show ? 92 : 0)
|
|
110
|
+
})), oe = p(() => a.value.height * y.dataset.length), C = p(() => Math.max(...y.dataset.flatMap((l) => l.values))), F = p(() => Math.min(...y.dataset.flatMap((l) => l.values))), I = p(() => {
|
|
111
|
+
const l = y.dataset.flatMap((n) => n.values);
|
|
112
|
+
return l.reduce((n, u) => n + u, 0) / l.length;
|
|
113
|
+
}), a = p(() => ({
|
|
114
|
+
width: t.value.width / V.value,
|
|
115
|
+
height: t.value.width / (V.value < y.dataset.length ? y.dataset.length : V.value)
|
|
116
|
+
})), g = p(() => {
|
|
117
|
+
const l = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : y.dataset.map((h) => h.name), s = e.value.style.layout.dataLabels.xAxis.values, n = y.dataset.map((h) => h.values.reduce((w, ne) => w + ne, 0)), u = Math.max(...n), c = Math.min(...n), f = [];
|
|
118
|
+
for (let h = 0; h < V.value; h += 1)
|
|
119
|
+
f.push(y.dataset.map((w) => w.values[h] || 0).reduce((w, ne) => w + ne, 0));
|
|
120
|
+
const k = Math.max(...f), ue = Math.min(...f);
|
|
121
|
+
return {
|
|
122
|
+
yTotals: n.map((h) => {
|
|
123
|
+
const w = isNaN(h / u) ? 0 : h / u;
|
|
124
|
+
return {
|
|
125
|
+
total: h,
|
|
126
|
+
proportion: w,
|
|
127
|
+
color: D(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, c, u, h)
|
|
128
|
+
};
|
|
129
|
+
}),
|
|
130
|
+
xTotals: f.map((h) => {
|
|
131
|
+
const w = isNaN(h / k) ? 0 : h / k;
|
|
132
|
+
return {
|
|
133
|
+
total: h,
|
|
134
|
+
proportion: w,
|
|
135
|
+
color: D(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ue, k, h)
|
|
136
|
+
};
|
|
137
|
+
}),
|
|
138
|
+
yLabels: l,
|
|
139
|
+
xLabels: s.slice(0, V.value)
|
|
140
|
+
};
|
|
141
|
+
}), K = p(() => (y.dataset.forEach((l, s) => {
|
|
142
|
+
Je({
|
|
143
|
+
datasetObject: l,
|
|
144
|
+
requiredAttributes: ["values"]
|
|
145
|
+
}).forEach((n) => {
|
|
146
|
+
Ae({
|
|
147
|
+
componentName: "VueUiHeatmap",
|
|
148
|
+
type: "datasetSerieAttribute",
|
|
149
|
+
property: "values",
|
|
150
|
+
index: s
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
}), y.dataset.map((l) => ({
|
|
154
|
+
...l,
|
|
155
|
+
temperatures: (l.values || []).map((s, n) => s >= I.value ? {
|
|
156
|
+
side: "up",
|
|
157
|
+
color: D(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, C.value, s),
|
|
158
|
+
ratio: Math.abs(Math.abs(s - I.value) / Math.abs(C.value - I.value)) > 1 ? 1 : Math.abs(Math.abs(s - I.value) / Math.abs(C.value - I.value)),
|
|
159
|
+
value: s,
|
|
160
|
+
yAxisName: l.name,
|
|
161
|
+
xAxisName: g.value.xLabels[n],
|
|
162
|
+
id: `vue-data-ui-heatmap-cell-${re()}`
|
|
163
|
+
} : {
|
|
164
|
+
side: "down",
|
|
165
|
+
ratio: Math.abs(1 - Math.abs(s) / Math.abs(I.value)) > 1 ? 1 : Math.abs(1 - Math.abs(s) / Math.abs(I.value)),
|
|
166
|
+
color: D(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, C.value, s),
|
|
167
|
+
value: s,
|
|
168
|
+
yAxisName: l.name,
|
|
169
|
+
xAxisName: g.value.xLabels[n],
|
|
170
|
+
id: `vue-data-ui-heatmap-cell-${re()}`
|
|
171
|
+
})
|
|
172
|
+
})))), S = b(null), G = b(null);
|
|
173
|
+
function Pe(l, s, n, u) {
|
|
174
|
+
E.value = { x: n, y: u };
|
|
175
|
+
const { value: c, yAxisName: f, xAxisName: k, id: ue } = l;
|
|
176
|
+
ye.value = ue, S.value = c, G.value = {
|
|
177
|
+
datapoint: l,
|
|
178
|
+
seriesIndex: s,
|
|
179
|
+
series: K.value,
|
|
180
|
+
config: e.value
|
|
181
|
+
}, ee.value = !0;
|
|
182
|
+
let h = "";
|
|
183
|
+
const w = e.value.style.tooltip.customFormat;
|
|
184
|
+
ll(w) && tl(() => w({
|
|
185
|
+
datapoint: l,
|
|
186
|
+
seriesIndex: s,
|
|
187
|
+
series: K.value,
|
|
188
|
+
config: e.value
|
|
189
|
+
})) ? le.value = w({
|
|
190
|
+
datapoint: l,
|
|
191
|
+
seriesIndex: s,
|
|
192
|
+
series: K.value,
|
|
193
|
+
config: e.value
|
|
194
|
+
}) : (h += `<div>${f} ${k ? `${k}` : ""}</div>`, h += `<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:${D(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, C.value, c)}">⬤</span><span>${isNaN(c) ? "-" : O(
|
|
195
|
+
e.value.style.layout.cells.value.formatter,
|
|
196
|
+
c,
|
|
197
|
+
M({
|
|
198
|
+
p: e.value.style.layout.dataLabels.prefix,
|
|
199
|
+
v: c,
|
|
200
|
+
s: e.value.style.layout.dataLabels.suffix,
|
|
201
|
+
r: e.value.style.tooltip.roundingValue
|
|
202
|
+
}),
|
|
203
|
+
{ datapoint: l, seriesIndex: s }
|
|
204
|
+
)}</span></div>`, le.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
|
|
205
|
+
}
|
|
206
|
+
const U = p(() => t.value.top + oe.value * (1 - S.value / C.value)), Y = p(() => t.value.left + (L.value.width - t.value.left - e.value.style.layout.padding.right) * (S.value / C.value));
|
|
207
|
+
function Re(l) {
|
|
208
|
+
return O(
|
|
209
|
+
e.value.style.layout.cells.value.formatter,
|
|
210
|
+
g.value.yTotals[l].total,
|
|
211
|
+
M({
|
|
212
|
+
p: e.value.style.layout.dataLabels.prefix,
|
|
213
|
+
v: g.value.yTotals[l].total,
|
|
214
|
+
s: e.value.style.layout.dataLabels.suffix,
|
|
215
|
+
r: e.value.style.layout.cells.value.roundingValue
|
|
216
|
+
}),
|
|
217
|
+
{ datapoint: g.value.yTotals[l], rowIndex: l }
|
|
218
|
+
);
|
|
219
|
+
}
|
|
220
|
+
function Xe(l) {
|
|
221
|
+
return O(
|
|
222
|
+
e.value.style.layout.cells.value.formatter,
|
|
223
|
+
g.value.xTotals[l].total,
|
|
224
|
+
M({
|
|
225
|
+
p: e.value.style.layout.dataLabels.prefix,
|
|
226
|
+
v: g.value.xTotals[l].total,
|
|
227
|
+
s: e.value.style.layout.dataLabels.suffix,
|
|
228
|
+
r: e.value.style.layout.cells.value.roundingValue
|
|
229
|
+
}),
|
|
230
|
+
{ datapoint: g.value.xTotals[l], colIndex: l }
|
|
231
|
+
);
|
|
232
|
+
}
|
|
233
|
+
p(() => {
|
|
234
|
+
const l = y.dataset.map((n) => ({
|
|
235
|
+
name: n.name
|
|
236
|
+
})), s = y.dataset.map((n) => n.values);
|
|
237
|
+
return { head: l, body: s };
|
|
238
|
+
});
|
|
239
|
+
function $e() {
|
|
240
|
+
De(() => {
|
|
241
|
+
const l = ["", ...y.dataset.map((c, f) => c.name)], s = [];
|
|
242
|
+
for (let c = 0; c < g.value.xLabels.length; c += 1) {
|
|
243
|
+
const f = [g.value.xLabels[c]];
|
|
244
|
+
for (let k = 0; k < y.dataset.length; k += 1)
|
|
245
|
+
f.push([y.dataset[k].values[c]]);
|
|
246
|
+
s.push(f);
|
|
247
|
+
}
|
|
248
|
+
const n = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(s), u = Ze(n);
|
|
249
|
+
el({ csvContent: u, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
const P = b(!1);
|
|
253
|
+
function Be(l) {
|
|
254
|
+
P.value = l, de.value += 1;
|
|
255
|
+
}
|
|
256
|
+
function Le() {
|
|
257
|
+
$.value.showTable = !$.value.showTable;
|
|
258
|
+
}
|
|
259
|
+
function Ce() {
|
|
260
|
+
$.value.showTooltip = !$.value.showTooltip;
|
|
261
|
+
}
|
|
262
|
+
const J = b(!1);
|
|
263
|
+
function se() {
|
|
264
|
+
J.value = !J.value;
|
|
265
|
+
}
|
|
266
|
+
return Me({
|
|
267
|
+
generatePdf: ke,
|
|
268
|
+
generateCsv: $e,
|
|
269
|
+
generateImage: _e,
|
|
270
|
+
toggleTable: Le,
|
|
271
|
+
toggleTooltip: Ce,
|
|
272
|
+
toggleAnnotator: se
|
|
273
|
+
}), (l, s) => (o(), i("div", {
|
|
274
|
+
ref_key: "heatmapChart",
|
|
275
|
+
ref: Z,
|
|
276
|
+
class: Q(`vue-ui-heatmap ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
277
|
+
style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
|
|
278
|
+
id: `heatmap__${B.value}`,
|
|
279
|
+
onMouseenter: s[3] || (s[3] = () => r(fe)(!0)),
|
|
280
|
+
onMouseleave: s[4] || (s[4] = () => r(fe)(!1))
|
|
281
|
+
}, [
|
|
282
|
+
e.value.userOptions.buttons.annotator ? (o(), H(yl, {
|
|
283
|
+
key: 0,
|
|
284
|
+
svgRef: r(be),
|
|
285
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
286
|
+
color: e.value.style.color,
|
|
287
|
+
active: J.value,
|
|
288
|
+
onClose: se
|
|
289
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
|
|
290
|
+
Ve.value ? (o(), i("div", {
|
|
291
|
+
key: 1,
|
|
292
|
+
ref_key: "noTitle",
|
|
293
|
+
ref: Ne,
|
|
294
|
+
class: "vue-data-ui-no-title-space",
|
|
295
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
296
|
+
}, null, 512)) : d("", !0),
|
|
297
|
+
e.value.style.title.text ? (o(), i("div", fl, [
|
|
298
|
+
(o(), H(al, {
|
|
299
|
+
key: `title_${ge.value}`,
|
|
300
|
+
config: {
|
|
301
|
+
title: {
|
|
302
|
+
cy: "heatmap-div-title",
|
|
303
|
+
...e.value.style.title
|
|
304
|
+
},
|
|
305
|
+
subtitle: {
|
|
306
|
+
cy: "heatmap-div-subtitle",
|
|
307
|
+
...e.value.style.title.subtitle
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}, null, 8, ["config"]))
|
|
311
|
+
])) : d("", !0),
|
|
312
|
+
e.value.userOptions.show && W.value && (r(pe) || r(te)) ? (o(), H(sl, {
|
|
313
|
+
ref_key: "details",
|
|
314
|
+
ref: Oe,
|
|
315
|
+
key: `user_options_${de.value}`,
|
|
316
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
317
|
+
color: e.value.style.color,
|
|
318
|
+
isImaging: r(we),
|
|
319
|
+
isPrinting: r(xe),
|
|
320
|
+
uid: B.value,
|
|
321
|
+
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
322
|
+
hasPdf: e.value.userOptions.buttons.pdf,
|
|
323
|
+
hasImg: e.value.userOptions.buttons.img,
|
|
324
|
+
hasXls: e.value.userOptions.buttons.csv,
|
|
325
|
+
hasTable: e.value.userOptions.buttons.table,
|
|
326
|
+
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
327
|
+
isFullscreen: P.value,
|
|
328
|
+
isTooltip: $.value.showTooltip,
|
|
329
|
+
titles: { ...e.value.userOptions.buttonTitles },
|
|
330
|
+
chartElement: Z.value,
|
|
331
|
+
position: e.value.userOptions.position,
|
|
332
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
333
|
+
isAnnotation: J.value,
|
|
334
|
+
onToggleFullscreen: Be,
|
|
335
|
+
onGeneratePdf: r(ke),
|
|
336
|
+
onGenerateCsv: $e,
|
|
337
|
+
onGenerateImage: r(_e),
|
|
338
|
+
onToggleTable: Le,
|
|
339
|
+
onToggleTooltip: Ce,
|
|
340
|
+
onToggleAnnotator: se,
|
|
341
|
+
style: T({
|
|
342
|
+
visibility: r(pe) ? r(te) ? "visible" : "hidden" : "visible"
|
|
343
|
+
})
|
|
344
|
+
}, Ue({ _: 2 }, [
|
|
345
|
+
l.$slots.menuIcon ? {
|
|
346
|
+
name: "menuIcon",
|
|
347
|
+
fn: A(({ isOpen: n, color: u }) => [
|
|
348
|
+
m(l.$slots, "menuIcon", R(X({ isOpen: n, color: u })), void 0, !0)
|
|
349
|
+
]),
|
|
350
|
+
key: "0"
|
|
351
|
+
} : void 0,
|
|
352
|
+
l.$slots.optionTooltip ? {
|
|
353
|
+
name: "optionTooltip",
|
|
354
|
+
fn: A(() => [
|
|
355
|
+
m(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
356
|
+
]),
|
|
357
|
+
key: "1"
|
|
358
|
+
} : void 0,
|
|
359
|
+
l.$slots.optionPdf ? {
|
|
360
|
+
name: "optionPdf",
|
|
361
|
+
fn: A(() => [
|
|
362
|
+
m(l.$slots, "optionPdf", {}, void 0, !0)
|
|
363
|
+
]),
|
|
364
|
+
key: "2"
|
|
365
|
+
} : void 0,
|
|
366
|
+
l.$slots.optionCsv ? {
|
|
367
|
+
name: "optionCsv",
|
|
368
|
+
fn: A(() => [
|
|
369
|
+
m(l.$slots, "optionCsv", {}, void 0, !0)
|
|
370
|
+
]),
|
|
371
|
+
key: "3"
|
|
372
|
+
} : void 0,
|
|
373
|
+
l.$slots.optionImg ? {
|
|
374
|
+
name: "optionImg",
|
|
375
|
+
fn: A(() => [
|
|
376
|
+
m(l.$slots, "optionImg", {}, void 0, !0)
|
|
377
|
+
]),
|
|
378
|
+
key: "4"
|
|
379
|
+
} : void 0,
|
|
380
|
+
l.$slots.optionTable ? {
|
|
381
|
+
name: "optionTable",
|
|
382
|
+
fn: A(() => [
|
|
383
|
+
m(l.$slots, "optionTable", {}, void 0, !0)
|
|
384
|
+
]),
|
|
385
|
+
key: "5"
|
|
386
|
+
} : void 0,
|
|
387
|
+
l.$slots.optionFullscreen ? {
|
|
388
|
+
name: "optionFullscreen",
|
|
389
|
+
fn: A(({ toggleFullscreen: n, isFullscreen: u }) => [
|
|
390
|
+
m(l.$slots, "optionFullscreen", R(X({ toggleFullscreen: n, isFullscreen: u })), void 0, !0)
|
|
391
|
+
]),
|
|
392
|
+
key: "6"
|
|
393
|
+
} : void 0,
|
|
394
|
+
l.$slots.optionAnnotator ? {
|
|
395
|
+
name: "optionAnnotator",
|
|
396
|
+
fn: A(({ toggleAnnotator: n, isAnnotator: u }) => [
|
|
397
|
+
m(l.$slots, "optionAnnotator", R(X({ toggleAnnotator: n, isAnnotator: u })), void 0, !0)
|
|
398
|
+
]),
|
|
399
|
+
key: "7"
|
|
400
|
+
} : void 0
|
|
401
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
|
|
402
|
+
W.value ? (o(), i("svg", {
|
|
403
|
+
key: 4,
|
|
404
|
+
ref_key: "svgRef",
|
|
405
|
+
ref: be,
|
|
406
|
+
xmlns: r(Qe),
|
|
407
|
+
class: Q({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
408
|
+
viewBox: `0 0 ${L.value.width} ${L.value.heightWithLegend}`,
|
|
409
|
+
style: T(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
410
|
+
}, [
|
|
411
|
+
ie(vl),
|
|
412
|
+
l.$slots["chart-background"] ? (o(), i("foreignObject", {
|
|
413
|
+
key: 0,
|
|
414
|
+
x: 0,
|
|
415
|
+
y: 0,
|
|
416
|
+
width: L.value.width,
|
|
417
|
+
height: L.value.heightWithLegend,
|
|
418
|
+
style: {
|
|
419
|
+
pointerEvents: "none"
|
|
420
|
+
}
|
|
421
|
+
}, [
|
|
422
|
+
m(l.$slots, "chart-background", {}, void 0, !0)
|
|
423
|
+
], 8, bl)) : d("", !0),
|
|
424
|
+
e.value.style.layout.cells.columnTotal.color.show ? (o(), i(_, { key: 1 }, [
|
|
425
|
+
(o(!0), i(_, null, z(g.value.xTotals, (n, u) => (o(), i("rect", {
|
|
426
|
+
x: t.value.left + a.value.width * u + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
427
|
+
y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
|
|
428
|
+
height: a.value.height / 3,
|
|
429
|
+
width: a.value.width - e.value.style.layout.cells.spacing,
|
|
430
|
+
fill: e.value.style.layout.cells.colors.underlayer,
|
|
431
|
+
stroke: e.value.style.backgroundColor,
|
|
432
|
+
"stroke-width": e.value.style.layout.cells.spacing
|
|
433
|
+
}, null, 8, ml))), 256)),
|
|
434
|
+
(o(!0), i(_, null, z(g.value.xTotals, (n, u) => (o(), i("rect", {
|
|
435
|
+
x: t.value.left + a.value.width * u + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
436
|
+
y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
|
|
437
|
+
height: a.value.height / 3,
|
|
438
|
+
width: a.value.width - e.value.style.layout.cells.spacing,
|
|
439
|
+
fill: n.color,
|
|
440
|
+
stroke: e.value.style.backgroundColor,
|
|
441
|
+
"stroke-width": e.value.style.layout.cells.spacing
|
|
442
|
+
}, null, 8, xl))), 256))
|
|
443
|
+
], 64)) : d("", !0),
|
|
444
|
+
(o(!0), i(_, null, z(K.value, (n, u) => (o(), i("g", null, [
|
|
445
|
+
(o(!0), i(_, null, z(n.temperatures, (c, f) => (o(), i("g", null, [
|
|
446
|
+
v("rect", {
|
|
447
|
+
x: t.value.left + a.value.width * f + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
448
|
+
y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
|
|
449
|
+
width: a.value.width - e.value.style.layout.cells.spacing,
|
|
450
|
+
height: a.value.height - e.value.style.layout.cells.spacing,
|
|
451
|
+
fill: e.value.style.layout.cells.colors.underlayer,
|
|
452
|
+
stroke: e.value.style.backgroundColor,
|
|
453
|
+
"stroke-width": e.value.style.layout.cells.spacing
|
|
454
|
+
}, null, 8, wl),
|
|
455
|
+
v("rect", {
|
|
456
|
+
x: t.value.left + a.value.width * f + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
457
|
+
y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
|
|
458
|
+
width: a.value.width - e.value.style.layout.cells.spacing,
|
|
459
|
+
height: a.value.height - e.value.style.layout.cells.spacing,
|
|
460
|
+
fill: c.color,
|
|
461
|
+
stroke: e.value.style.backgroundColor,
|
|
462
|
+
"stroke-width": e.value.style.layout.cells.spacing
|
|
463
|
+
}, null, 8, kl),
|
|
464
|
+
e.value.style.layout.cells.value.show ? (o(), i("text", {
|
|
465
|
+
key: 0,
|
|
466
|
+
"text-anchor": "middle",
|
|
467
|
+
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
468
|
+
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
469
|
+
fill: r(ve)(c.color),
|
|
470
|
+
x: t.value.left + a.value.width * f + a.value.width / 2 + +(e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
471
|
+
y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
472
|
+
}, x(r(O)(
|
|
473
|
+
e.value.style.layout.cells.value.formatter,
|
|
474
|
+
c.value,
|
|
475
|
+
r(M)({
|
|
476
|
+
p: e.value.style.layout.dataLabels.prefix,
|
|
477
|
+
v: c.value,
|
|
478
|
+
s: e.value.style.layout.dataLabels.suffix,
|
|
479
|
+
r: e.value.style.layout.cells.value.roundingValue
|
|
480
|
+
}),
|
|
481
|
+
{ datapoint: c }
|
|
482
|
+
)), 9, _l)) : d("", !0)
|
|
483
|
+
]))), 256)),
|
|
484
|
+
(o(!0), i(_, null, z(n.temperatures, (c, f) => (o(), i("g", null, [
|
|
485
|
+
v("rect", {
|
|
486
|
+
x: t.value.left + a.value.width * f + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
487
|
+
y: t.value.top + a.value.height * u,
|
|
488
|
+
width: a.value.width,
|
|
489
|
+
height: a.value.height,
|
|
490
|
+
fill: "transparent",
|
|
491
|
+
stroke: "none",
|
|
492
|
+
onMouseover: (k) => Pe(c, u, t.value.left + a.value.width * f, t.value.top + a.value.height * u),
|
|
493
|
+
onMouseout: s[0] || (s[0] = (k) => {
|
|
494
|
+
ee.value = !1, ye.value = void 0, S.value = null, E.value = null;
|
|
495
|
+
})
|
|
496
|
+
}, null, 40, $l)
|
|
497
|
+
]))), 256)),
|
|
498
|
+
e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", Ll, [
|
|
499
|
+
v("text", {
|
|
500
|
+
class: "vue-ui-heatmap-row-name",
|
|
501
|
+
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
502
|
+
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
503
|
+
x: t.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
|
|
504
|
+
y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY - (e.value.style.layout.cells.rowTotal.value.show ? e.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
|
|
505
|
+
"text-anchor": "end",
|
|
506
|
+
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
507
|
+
}, x(g.value.yLabels[u]), 9, Cl),
|
|
508
|
+
e.value.style.layout.cells.rowTotal.value.show ? (o(), i("text", {
|
|
509
|
+
key: 0,
|
|
510
|
+
class: "vue-ui-heatmap-row-total",
|
|
511
|
+
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
512
|
+
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
513
|
+
x: t.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
|
|
514
|
+
y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
515
|
+
"text-anchor": "end",
|
|
516
|
+
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
517
|
+
}, x(Re(u)), 9, Tl)) : d("", !0)
|
|
518
|
+
])) : d("", !0),
|
|
519
|
+
e.value.style.layout.cells.rowTotal.color.show ? (o(), i("g", Al, [
|
|
520
|
+
v("rect", {
|
|
521
|
+
x: t.value.left,
|
|
522
|
+
y: t.value.top + a.value.height * u,
|
|
523
|
+
width: a.value.height / 3,
|
|
524
|
+
height: a.value.height - e.value.style.layout.cells.spacing,
|
|
525
|
+
fill: e.value.style.layout.cells.colors.underlayer,
|
|
526
|
+
stroke: e.value.style.backgroundColor,
|
|
527
|
+
"stroke-width": e.value.style.layout.cells.spacing
|
|
528
|
+
}, null, 8, zl),
|
|
529
|
+
v("rect", {
|
|
530
|
+
x: t.value.left,
|
|
531
|
+
y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
|
|
532
|
+
width: a.value.height / 3,
|
|
533
|
+
height: a.value.height - e.value.style.layout.cells.spacing,
|
|
534
|
+
fill: g.value.yTotals[u].color,
|
|
535
|
+
stroke: e.value.style.backgroundColor,
|
|
536
|
+
"stroke-width": e.value.style.layout.cells.spacing
|
|
537
|
+
}, null, 8, Ml)
|
|
538
|
+
])) : d("", !0)
|
|
539
|
+
]))), 256)),
|
|
540
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", Sl, [
|
|
541
|
+
(o(!0), i(_, null, z(g.value.xLabels, (n, u) => (o(), i(_, null, [
|
|
542
|
+
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && u % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (o(), i("text", {
|
|
543
|
+
key: 0,
|
|
544
|
+
class: "vue-ui-heatmap-col-name",
|
|
545
|
+
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
546
|
+
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
547
|
+
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
548
|
+
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
549
|
+
transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / g.value.xLabels.length * u + e.value.style.layout.dataLabels.xAxis.offsetX + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}, ${t.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6 - (e.value.style.layout.cells.columnTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
550
|
+
}, x(n), 9, Ol)) : d("", !0)
|
|
551
|
+
], 64))), 256))
|
|
552
|
+
])) : d("", !0),
|
|
553
|
+
e.value.style.layout.cells.columnTotal.value.show ? (o(!0), i(_, { key: 3 }, z(g.value.xLabels, (n, u) => (o(), i("text", {
|
|
554
|
+
class: "vue-ui-heatmap-col-total",
|
|
555
|
+
"text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
|
|
556
|
+
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
557
|
+
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
558
|
+
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
559
|
+
transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / g.value.xLabels.length * u + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}, ${t.value.bottom - e.value.style.layout.dataLabels.xAxis.fontSize + e.value.style.layout.cells.columnTotal.value.offsetY}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
|
|
560
|
+
}, x(Xe(u)), 9, Nl))), 256)) : d("", !0),
|
|
561
|
+
E.value ? (o(), i("g", Vl, [
|
|
562
|
+
v("rect", {
|
|
563
|
+
style: { "pointer-events": "none" },
|
|
564
|
+
x: E.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
565
|
+
y: E.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
566
|
+
width: a.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
567
|
+
height: a.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
568
|
+
fill: "transparent",
|
|
569
|
+
stroke: e.value.style.layout.cells.selected.color,
|
|
570
|
+
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
571
|
+
rx: 1
|
|
572
|
+
}, null, 8, Fl)
|
|
573
|
+
])) : d("", !0),
|
|
574
|
+
e.value.style.legend.show && q.value === "right" ? (o(), i("g", Il, [
|
|
575
|
+
v("defs", null, [
|
|
576
|
+
v("linearGradient", {
|
|
577
|
+
id: `colorScaleVertical_${B.value}`,
|
|
578
|
+
x2: "0%",
|
|
579
|
+
y2: "100%"
|
|
580
|
+
}, [
|
|
581
|
+
v("stop", {
|
|
582
|
+
offset: "0%",
|
|
583
|
+
"stop-color": e.value.style.layout.cells.colors.hot
|
|
584
|
+
}, null, 8, Rl),
|
|
585
|
+
v("stop", {
|
|
586
|
+
offset: "100%",
|
|
587
|
+
"stop-color": e.value.style.layout.cells.colors.cold
|
|
588
|
+
}, null, 8, Xl)
|
|
589
|
+
], 8, Pl)
|
|
590
|
+
]),
|
|
591
|
+
v("text", {
|
|
592
|
+
x: t.value.right + 36 + 18,
|
|
593
|
+
y: t.value.top - e.value.style.legend.fontSize * 1.5,
|
|
594
|
+
"text-anchor": "middle",
|
|
595
|
+
"font-size": e.value.style.legend.fontSize * 2,
|
|
596
|
+
fill: e.value.style.legend.color
|
|
597
|
+
}, x(r(O)(
|
|
598
|
+
e.value.style.layout.cells.value.formatter,
|
|
599
|
+
r(N)(C.value),
|
|
600
|
+
r(M)({
|
|
601
|
+
p: e.value.style.layout.dataLabels.prefix,
|
|
602
|
+
v: r(N)(C.value),
|
|
603
|
+
s: e.value.style.layout.dataLabels.suffix,
|
|
604
|
+
r: e.value.style.legend.roundingValue
|
|
605
|
+
})
|
|
606
|
+
)), 9, Bl),
|
|
607
|
+
v("rect", {
|
|
608
|
+
x: t.value.right + 36,
|
|
609
|
+
y: t.value.top,
|
|
610
|
+
width: 36,
|
|
611
|
+
height: oe.value,
|
|
612
|
+
rx: e.value.style.legend.scaleBorderRadius,
|
|
613
|
+
fill: `url(#colorScaleVertical_${B.value})`
|
|
614
|
+
}, null, 8, El),
|
|
615
|
+
v("text", {
|
|
616
|
+
x: t.value.right + 36 + 18,
|
|
617
|
+
y: t.value.top + oe.value + e.value.style.legend.fontSize * 2.5,
|
|
618
|
+
"text-anchor": "middle",
|
|
619
|
+
"font-size": e.value.style.legend.fontSize * 2,
|
|
620
|
+
fill: e.value.style.legend.color
|
|
621
|
+
}, x(r(O)(
|
|
622
|
+
e.value.style.layout.cells.value.formatter,
|
|
623
|
+
r(N)(F.value),
|
|
624
|
+
r(M)({
|
|
625
|
+
p: e.value.style.layout.dataLabels.prefix,
|
|
626
|
+
v: r(N)(F.value),
|
|
627
|
+
s: e.value.style.layout.dataLabels.suffix,
|
|
628
|
+
r: e.value.style.legend.roundingValue
|
|
629
|
+
})
|
|
630
|
+
)), 9, Gl),
|
|
631
|
+
S.value !== null ? (o(), i("line", {
|
|
632
|
+
key: 0,
|
|
633
|
+
stroke: r(ve)(G.value.datapoint.color),
|
|
634
|
+
"stroke-width": "2",
|
|
635
|
+
x1: t.value.right + 36,
|
|
636
|
+
x2: t.value.right + 72,
|
|
637
|
+
y1: U.value,
|
|
638
|
+
y2: U.value
|
|
639
|
+
}, null, 8, Ul)) : d("", !0),
|
|
640
|
+
S.value !== null ? (o(), i("path", {
|
|
641
|
+
key: 1,
|
|
642
|
+
fill: e.value.style.color,
|
|
643
|
+
stroke: "none",
|
|
644
|
+
d: `M ${t.value.right + 36},${U.value} ${t.value.right + 26},${U.value - 8} ${t.value.right + 26},${U.value + 8}z`
|
|
645
|
+
}, null, 8, Yl)) : d("", !0)
|
|
646
|
+
])) : d("", !0),
|
|
647
|
+
e.value.style.legend.show && q.value === "bottom" ? (o(), i("g", Hl, [
|
|
648
|
+
v("defs", null, [
|
|
649
|
+
v("linearGradient", Dl, [
|
|
650
|
+
v("stop", {
|
|
651
|
+
offset: "0%",
|
|
652
|
+
"stop-color": e.value.style.layout.cells.colors.cold
|
|
653
|
+
}, null, 8, jl),
|
|
654
|
+
v("stop", {
|
|
655
|
+
offset: "100%",
|
|
656
|
+
"stop-color": e.value.style.layout.cells.colors.hot
|
|
657
|
+
}, null, 8, Wl)
|
|
658
|
+
])
|
|
659
|
+
]),
|
|
660
|
+
v("rect", {
|
|
661
|
+
x: t.value.left,
|
|
662
|
+
y: t.value.bottom + e.value.style.layout.cells.height,
|
|
663
|
+
width: L.value.width - t.value.left - e.value.style.layout.padding.right,
|
|
664
|
+
height: e.value.style.layout.cells.height,
|
|
665
|
+
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,
|
|
666
|
+
fill: "url(#colorScaleHorizontal)"
|
|
667
|
+
}, null, 8, ql),
|
|
668
|
+
v("text", {
|
|
669
|
+
x: t.value.left,
|
|
670
|
+
y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
671
|
+
"text-anchor": "start",
|
|
672
|
+
"font-size": e.value.style.legend.fontSize * 2,
|
|
673
|
+
fill: e.value.style.legend.color
|
|
674
|
+
}, x(r(O)(
|
|
675
|
+
e.value.style.layout.cells.value.formatter,
|
|
676
|
+
r(N)(F.value),
|
|
677
|
+
r(M)({
|
|
678
|
+
p: e.value.style.layout.dataLabels.prefix,
|
|
679
|
+
v: r(N)(F.value),
|
|
680
|
+
s: e.value.style.layout.dataLabels.suffix,
|
|
681
|
+
r: e.value.style.legend.roundingValue
|
|
682
|
+
})
|
|
683
|
+
)), 9, Kl),
|
|
684
|
+
v("text", {
|
|
685
|
+
x: t.value.right,
|
|
686
|
+
y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
687
|
+
"text-anchor": "end",
|
|
688
|
+
"font-size": e.value.style.legend.fontSize * 2,
|
|
689
|
+
fill: e.value.style.legend.color
|
|
690
|
+
}, x(r(O)(
|
|
691
|
+
e.value.style.layout.cells.value.formatter,
|
|
692
|
+
r(N)(C.value),
|
|
693
|
+
r(M)({
|
|
694
|
+
p: e.value.style.layout.dataLabels.prefix,
|
|
695
|
+
v: r(N)(C.value),
|
|
696
|
+
s: e.value.style.layout.dataLabels.suffix,
|
|
697
|
+
r: e.value.style.legend.roundingValue
|
|
698
|
+
})
|
|
699
|
+
)), 9, Jl),
|
|
700
|
+
S.value !== null ? (o(), i("line", {
|
|
701
|
+
key: 0,
|
|
702
|
+
stroke: r(ve)(G.value.datapoint.color),
|
|
703
|
+
"stroke-width": "2",
|
|
704
|
+
x1: Y.value,
|
|
705
|
+
x2: Y.value,
|
|
706
|
+
y1: t.value.bottom + e.value.style.layout.cells.height,
|
|
707
|
+
y2: t.value.bottom + e.value.style.layout.cells.height * 2
|
|
708
|
+
}, null, 8, Ql)) : d("", !0),
|
|
709
|
+
S.value !== null ? (o(), i("path", {
|
|
710
|
+
key: 1,
|
|
711
|
+
fill: e.value.style.color,
|
|
712
|
+
stroke: "none",
|
|
713
|
+
d: `M ${Y.value},${t.value.bottom + e.value.style.layout.cells.height} ${Y.value - 12},${t.value.bottom + e.value.style.layout.cells.height - 20} ${Y.value + 12},${t.value.bottom + e.value.style.layout.cells.height - 20}z`
|
|
714
|
+
}, null, 8, Zl)) : d("", !0)
|
|
715
|
+
])) : d("", !0),
|
|
716
|
+
m(l.$slots, "svg", { svg: L.value }, void 0, !0)
|
|
717
|
+
], 14, pl)) : d("", !0),
|
|
718
|
+
l.$slots.watermark ? (o(), i("div", et, [
|
|
719
|
+
m(l.$slots, "watermark", R(X({ isPrinting: r(xe) || r(we) })), void 0, !0)
|
|
720
|
+
])) : d("", !0),
|
|
721
|
+
l.$slots.source ? (o(), i("div", lt, [
|
|
722
|
+
m(l.$slots, "source", {}, void 0, !0)
|
|
723
|
+
], 512)) : d("", !0),
|
|
724
|
+
W.value ? d("", !0) : (o(), H(nl, {
|
|
725
|
+
key: 7,
|
|
726
|
+
config: {
|
|
727
|
+
type: "heatmap",
|
|
728
|
+
style: {
|
|
729
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
730
|
+
heatmap: {
|
|
731
|
+
color: "#CCCCCC"
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
}, null, 8, ["config"])),
|
|
736
|
+
ie(ul, {
|
|
737
|
+
show: $.value.showTooltip && ee.value,
|
|
738
|
+
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
739
|
+
color: e.value.style.tooltip.color,
|
|
740
|
+
borderRadius: e.value.style.tooltip.borderRadius,
|
|
741
|
+
borderColor: e.value.style.tooltip.borderColor,
|
|
742
|
+
borderWidth: e.value.style.tooltip.borderWidth,
|
|
743
|
+
fontSize: e.value.style.tooltip.fontSize,
|
|
744
|
+
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
745
|
+
position: e.value.style.tooltip.position,
|
|
746
|
+
offsetY: e.value.style.tooltip.offsetY,
|
|
747
|
+
parent: Z.value,
|
|
748
|
+
content: le.value,
|
|
749
|
+
isFullscreen: P.value,
|
|
750
|
+
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
751
|
+
}, {
|
|
752
|
+
"tooltip-before": A(() => [
|
|
753
|
+
m(l.$slots, "tooltip-before", R(X({ ...G.value })), void 0, !0)
|
|
754
|
+
]),
|
|
755
|
+
"tooltip-after": A(() => [
|
|
756
|
+
m(l.$slots, "tooltip-after", R(X({ ...G.value })), void 0, !0)
|
|
757
|
+
]),
|
|
758
|
+
_: 3
|
|
759
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
760
|
+
W.value ? (o(), H(rl, {
|
|
761
|
+
key: 8,
|
|
762
|
+
hideDetails: "",
|
|
763
|
+
config: {
|
|
764
|
+
open: $.value.showTable,
|
|
765
|
+
maxHeight: 1e4,
|
|
766
|
+
body: {
|
|
767
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
768
|
+
color: e.value.style.color
|
|
769
|
+
},
|
|
770
|
+
head: {
|
|
771
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
772
|
+
color: e.value.style.color
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
}, {
|
|
776
|
+
content: A(() => [
|
|
777
|
+
v("div", {
|
|
778
|
+
ref_key: "tableContainer",
|
|
779
|
+
ref: ce,
|
|
780
|
+
class: "vue-ui-heatmap-table atom-data-table"
|
|
781
|
+
}, [
|
|
782
|
+
v("div", {
|
|
783
|
+
style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
|
|
784
|
+
class: Q({ "vue-ui-responsive": he.value })
|
|
785
|
+
}, [
|
|
786
|
+
v("div", {
|
|
787
|
+
role: "button",
|
|
788
|
+
tabindex: "0",
|
|
789
|
+
style: T(`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};`),
|
|
790
|
+
onClick: s[1] || (s[1] = (n) => $.value.showTable = !1),
|
|
791
|
+
onKeypress: s[2] || (s[2] = Ye((n) => $.value.showTable = !1, ["enter"]))
|
|
792
|
+
}, [
|
|
793
|
+
ie(il, {
|
|
794
|
+
name: "close",
|
|
795
|
+
stroke: e.value.table.th.color,
|
|
796
|
+
"stroke-width": 2
|
|
797
|
+
}, null, 8, ["stroke"])
|
|
798
|
+
], 36),
|
|
799
|
+
v("table", tt, [
|
|
800
|
+
v("caption", {
|
|
801
|
+
style: T(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
802
|
+
}, [
|
|
803
|
+
He(x(e.value.style.title.text) + " ", 1),
|
|
804
|
+
e.value.style.title.subtitle.text ? (o(), i("span", at, x(e.value.style.title.subtitle.text), 1)) : d("", !0)
|
|
805
|
+
], 4),
|
|
806
|
+
v("thead", null, [
|
|
807
|
+
v("tr", {
|
|
808
|
+
role: "row",
|
|
809
|
+
style: T(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
810
|
+
}, [
|
|
811
|
+
v("th", {
|
|
812
|
+
style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
813
|
+
}, null, 4),
|
|
814
|
+
(o(!0), i(_, null, z(j.dataset, (n, u) => (o(), i("th", {
|
|
815
|
+
align: "right",
|
|
816
|
+
style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
817
|
+
}, x(n.name), 5))), 256))
|
|
818
|
+
], 4)
|
|
819
|
+
]),
|
|
820
|
+
v("tbody", null, [
|
|
821
|
+
(o(!0), i(_, null, z(g.value.xLabels, (n, u) => (o(), i("tr", {
|
|
822
|
+
role: "row",
|
|
823
|
+
class: Q({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": u % 2 === 0, "vue-ui-data-table__tbody__row-odd": u % 2 !== 0 }),
|
|
824
|
+
style: T(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
825
|
+
}, [
|
|
826
|
+
v("td", {
|
|
827
|
+
"data-cell": e.value.table.colNames.xAxis,
|
|
828
|
+
class: "vue-ui-data-table__tbody__td",
|
|
829
|
+
style: T(`outline:${e.value.table.td.outline}`)
|
|
830
|
+
}, [
|
|
831
|
+
v("div", st, x(n), 1)
|
|
832
|
+
], 12, ot),
|
|
833
|
+
(o(!0), i(_, null, z(j.dataset, (c, f) => (o(), i("td", {
|
|
834
|
+
class: "vue-ui-data-table__tbody__td",
|
|
835
|
+
"data-cell": j.dataset[f].name,
|
|
836
|
+
style: T(`outline:${e.value.table.td.outline}`)
|
|
837
|
+
}, [
|
|
838
|
+
v("div", nt, x(isNaN(c.values[u]) ? "-" : r(M)({ p: e.value.style.layout.dataLabels.prefix, v: c.values[u], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
839
|
+
], 12, ut))), 256))
|
|
840
|
+
], 6))), 256))
|
|
841
|
+
])
|
|
842
|
+
])
|
|
843
|
+
], 2)
|
|
844
|
+
], 512)
|
|
845
|
+
]),
|
|
846
|
+
_: 1
|
|
847
|
+
}, 8, ["config"])) : d("", !0)
|
|
848
|
+
], 46, gl));
|
|
849
|
+
}
|
|
850
|
+
}, _t = /* @__PURE__ */ hl(it, [["__scopeId", "data-v-dc92b3af"]]);
|
|
851
|
+
export {
|
|
852
|
+
_t as default
|
|
853
|
+
};
|