vue-data-ui 2.6.37 → 2.6.39
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-5ip5m31y.cjs} +1 -1
- package/dist/{Arrow-D7v9Wp6T.js → Arrow-B97dY5c5.js} +1 -1
- package/dist/{BaseIcon-BKbuAee9.js → BaseIcon-CPtTZ5gm.js} +1 -1
- package/dist/{BaseIcon-NPPqp3O_.cjs → BaseIcon-CnmrKVrD.cjs} +1 -1
- package/dist/{ColorPicker-fC6sjkCD.js → ColorPicker-DDG5q9jR.js} +3 -3
- package/dist/{ColorPicker-Ds2gt2zr.cjs → ColorPicker-anuoNM-p.cjs} +1 -1
- package/dist/{DataTable-tMRNizIy.cjs → DataTable-DYeuLcih.cjs} +1 -1
- package/dist/{DataTable-CHrd5zea.js → DataTable-pO-dTL2C.js} +2 -2
- package/dist/{Legend-BqEqCXVk.js → Legend-BNLVnEGq.js} +2 -2
- package/dist/{Legend-BAyCHNFN.cjs → Legend-qp4VAykH.cjs} +1 -1
- package/dist/{PackageVersion-Dlu6kyPs.cjs → PackageVersion-BzhafpGr.cjs} +1 -1
- package/dist/{PackageVersion-CFYRvKwb.js → PackageVersion-DuXUuz0O.js} +1 -1
- package/dist/{PenAndPaper-BikLu3A8.js → PenAndPaper-CoDyTQsZ.js} +3 -3
- package/dist/{PenAndPaper-C3pcy_TE.cjs → PenAndPaper-ZkRFCit4.cjs} +1 -1
- package/dist/{Shape-zY50kxWh.js → Shape-DH4XF-dc.js} +1 -1
- package/dist/{Shape-ievmKPU_.cjs → Shape-DroaKLIm.cjs} +1 -1
- package/dist/Slicer-Bo7bO5E5.cjs +1 -0
- package/dist/{Slicer-D1PZmmpU.js → Slicer-C854GBKY.js} +177 -169
- package/dist/{Title-DfuSY8DI.js → Title-C223TJ6C.js} +1 -1
- package/dist/{Title-C99c1fOM.cjs → Title-CcDml6Zf.cjs} +1 -1
- package/dist/{Tooltip-BJkwUrpq.js → Tooltip-BvROZcv0.js} +1 -1
- package/dist/{Tooltip-CnRtBNhB.cjs → Tooltip-lj99sBKN.cjs} +1 -1
- package/dist/{index-LYjDwaWo.js → index-CVHop7bB.js} +41 -22
- package/dist/index-CuhZ_hul.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-BqIaNvIP.js → useNestedProp-DB5XMx_s.js} +1 -1
- package/dist/{useNestedProp-u-S0VYER.cjs → useNestedProp-DVSKLFhF.cjs} +1 -1
- package/dist/{usePrinter-Bk4LBipq.js → usePrinter-CXjj2NA9.js} +1 -1
- package/dist/{usePrinter-vUnweX78.cjs → usePrinter-D3Sb5fSb.cjs} +1 -1
- package/dist/{vue-data-ui-DxecxG2M.cjs → vue-data-ui-Bv_90b2c.cjs} +1 -1
- package/dist/{vue-data-ui-CxSZD28Q.js → vue-data-ui-C7FFFFUg.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CcJxagPn.js → vue-ui-3d-bar-BkaPHEfQ.js} +9 -9
- package/dist/{vue-ui-3d-bar-CRECKReA.cjs → vue-ui-3d-bar-DQaDfIEU.cjs} +1 -1
- package/dist/{vue-ui-accordion-DM7bQauS.js → vue-ui-accordion-DZkJGmcV.js} +3 -3
- package/dist/{vue-ui-accordion-DrH4ygA8.cjs → vue-ui-accordion-Ds-8LBd7.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-OdhsjM63.cjs → vue-ui-age-pyramid-CklczrE2.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DEHxorYW.js → vue-ui-age-pyramid-_QqaTWL9.js} +10 -10
- package/dist/{vue-ui-annotator-D95mxiIF.js → vue-ui-annotator-CkYus97l.js} +1 -1
- package/dist/{vue-ui-annotator-DtXU_e7H.cjs → vue-ui-annotator-DvTfQVeB.cjs} +1 -1
- package/dist/{vue-ui-bullet-Ctu6Gj-o.cjs → vue-ui-bullet-7XbqAz6z.cjs} +1 -1
- package/dist/{vue-ui-bullet-_lCMuFeX.js → vue-ui-bullet-D_VtAlvO.js} +8 -8
- package/dist/{vue-ui-candlestick-CRC-KFUP.cjs → vue-ui-candlestick-B423J4Df.cjs} +1 -1
- package/dist/{vue-ui-candlestick-BZGnUwwL.js → vue-ui-candlestick-RzjBpRWa.js} +11 -11
- package/dist/{vue-ui-carousel-table-B29MT_s-.js → vue-ui-carousel-table-BcKE75Fr.js} +4 -4
- package/dist/{vue-ui-carousel-table-DXqodoqu.cjs → vue-ui-carousel-table-CDGpVNBq.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CdMFlRdm.cjs → vue-ui-chestnut-BpqaO6Ki.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CbStcaWN.js → vue-ui-chestnut-DlJ4UHAd.js} +8 -8
- package/dist/{vue-ui-circle-pack-4F8_QJLA.js → vue-ui-circle-pack-C75Ig7Ot.js} +9 -9
- package/dist/{vue-ui-circle-pack-BFE8EzB8.cjs → vue-ui-circle-pack-HI9e7B2K.cjs} +1 -1
- package/dist/{vue-ui-cursor-D5Z6oGX5.cjs → vue-ui-cursor-9UG_5YM1.cjs} +1 -1
- package/dist/{vue-ui-cursor-BRl1iqMh.js → vue-ui-cursor-DQRdy4kP.js} +2 -2
- package/dist/{vue-ui-dashboard-DgX3ZCV5.cjs → vue-ui-dashboard-J0p7RHcR.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BrNI7Gh5.js → vue-ui-dashboard-LImeuX9g.js} +2 -2
- package/dist/{vue-ui-digits-1BawWbMU.js → vue-ui-digits-BCj_Px9b.js} +2 -2
- package/dist/{vue-ui-digits-T2FulJDq.cjs → vue-ui-digits-DfnixiIy.cjs} +1 -1
- package/dist/{vue-ui-donut-CoF4u-T4.cjs → vue-ui-donut-CvxOiV5F.cjs} +1 -1
- package/dist/{vue-ui-donut-BZyDypub.js → vue-ui-donut-DaqG2jcW.js} +12 -12
- package/dist/{vue-ui-donut-evolution-B3L8SqIT.js → vue-ui-donut-evolution-BFn-J1jp.js} +11 -11
- package/dist/{vue-ui-donut-evolution-CoFY2UqN.cjs → vue-ui-donut-evolution-QJnKCDWk.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B18xzbpo.cjs → vue-ui-dumbbell-C_nCYtcd.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DbVCVj00.js → vue-ui-dumbbell-DD8_k_pA.js} +10 -10
- package/dist/{vue-ui-flow-Dz_BV7Wd.cjs → vue-ui-flow-CCXQ4mYO.cjs} +1 -1
- package/dist/{vue-ui-flow-ClMNqcsT.js → vue-ui-flow-Dls16uj4.js} +9 -9
- package/dist/{vue-ui-funnel-BaO75cmv.cjs → vue-ui-funnel-ClCnyvUX.cjs} +1 -1
- package/dist/{vue-ui-funnel-wkwqNsC4.js → vue-ui-funnel-X6bFgq1Z.js} +9 -9
- package/dist/{vue-ui-galaxy-BCiM8o2g.js → vue-ui-galaxy-Boa9gjJV.js} +11 -11
- package/dist/{vue-ui-galaxy-DJdlFBDx.cjs → vue-ui-galaxy-CRDleJUe.cjs} +1 -1
- package/dist/{vue-ui-gauge-BD2Wr3i_.js → vue-ui-gauge-DAwO2xJz.js} +7 -7
- package/dist/{vue-ui-gauge-B452h__i.cjs → vue-ui-gauge-DzjMmBFe.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC4oXCrn.cjs → vue-ui-gizmo-BvGlHcHy.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CFhYFXge.js → vue-ui-gizmo-ChFEuLno.js} +3 -3
- package/dist/vue-ui-heatmap-D2mH3GRc.js +853 -0
- package/dist/vue-ui-heatmap-DiKzEnfD.cjs +1 -0
- package/dist/{vue-ui-history-plot-D2k5p_08.js → vue-ui-history-plot-C2ynFIiK.js} +11 -11
- package/dist/{vue-ui-history-plot-CBC58-dI.cjs → vue-ui-history-plot-CsjNiSkK.cjs} +1 -1
- package/dist/{vue-ui-kpi-DeO975Tm.cjs → vue-ui-kpi-BuojbCip.cjs} +1 -1
- package/dist/{vue-ui-kpi-CN0wMlzY.js → vue-ui-kpi-C8kidDY0.js} +3 -3
- package/dist/{vue-ui-mini-loader-C8U2WRWc.js → vue-ui-mini-loader-32UNlDDN.js} +2 -2
- package/dist/{vue-ui-mini-loader-BDUcR9xD.cjs → vue-ui-mini-loader-BBLK1NYq.cjs} +1 -1
- package/dist/{vue-ui-molecule-DUQmPuAz.cjs → vue-ui-molecule-C_giWPuq.cjs} +1 -1
- package/dist/{vue-ui-molecule-C4hSgcZV.js → vue-ui-molecule-DWJWHwg9.js} +10 -10
- package/dist/{vue-ui-mood-radar-7NdBm26m.js → vue-ui-mood-radar-DibQpZ4m.js} +11 -11
- package/dist/{vue-ui-mood-radar-CYga2i6l.cjs → vue-ui-mood-radar-UpFKESLA.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DT4F0Ppo.js → vue-ui-nested-donuts-C30jFP2v.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BPfP8KKW.cjs → vue-ui-nested-donuts-CH0on2fU.cjs} +1 -1
- package/dist/{vue-ui-onion-CzeGlKHi.js → vue-ui-onion-BvKTXaMU.js} +11 -11
- package/dist/{vue-ui-onion-DeJyJi-P.cjs → vue-ui-onion-C_lRLYfI.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-C3Ad7aEh.cjs → vue-ui-parallel-coordinate-plot-3Y3tw-xu.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BeX2ILdX.js → vue-ui-parallel-coordinate-plot-C9V9mpG7.js} +12 -12
- package/dist/{vue-ui-quadrant-CMuaw2an.js → vue-ui-quadrant-BJbfTZHj.js} +12 -12
- package/dist/{vue-ui-quadrant-DkQHz0l9.cjs → vue-ui-quadrant-Bdfj6rMa.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CglC9H61.cjs → vue-ui-quick-chart-CQetx6nm.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CKijflc7.js → vue-ui-quick-chart-DVzpgYpH.js} +9 -9
- package/dist/{vue-ui-radar-CNwURzXU.js → vue-ui-radar-DNhe9CJp.js} +12 -12
- package/dist/{vue-ui-radar-B2HNBsUx.cjs → vue-ui-radar-uL_2DFoA.cjs} +1 -1
- package/dist/{vue-ui-rating-fKw_ZKWr.js → vue-ui-rating-CScqTeBz.js} +2 -2
- package/dist/{vue-ui-rating-Bx8-4-To.cjs → vue-ui-rating-Dl5EXfoM.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-L--bJ_xm.cjs → vue-ui-relation-circle-BOAv03ET.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BT85jWbd.js → vue-ui-relation-circle-CMfcB2y4.js} +7 -7
- package/dist/{vue-ui-rings-B4S20XPE.cjs → vue-ui-rings-1guUWjBV.cjs} +1 -1
- package/dist/{vue-ui-rings-NRGuC28L.js → vue-ui-rings-Ct4IZrwW.js} +12 -12
- package/dist/{vue-ui-scatter-DHLSgNgr.js → vue-ui-scatter-C2lZcn5O.js} +12 -12
- package/dist/{vue-ui-scatter-Bbfxsy5c.cjs → vue-ui-scatter-D-llNCbW.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BrTwLH16.js → vue-ui-screenshot-BBazxOqC.js} +1 -1
- package/dist/{vue-ui-screenshot-Dtnl7z3b.cjs → vue-ui-screenshot-D7K40IXf.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BTph1xJS.js → vue-ui-skeleton-BUNaR9Kg.js} +3 -3
- package/dist/{vue-ui-skeleton-EeRU9K_3.cjs → vue-ui-skeleton-cQoXWosg.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cjvujfc4.js → vue-ui-smiley-CCDBWRTa.js} +2 -2
- package/dist/{vue-ui-smiley-BzCK1-Wx.cjs → vue-ui-smiley-_gyL-r4c.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-sT3iomAV.js → vue-ui-spark-trend-B9xYWR4x.js} +5 -5
- package/dist/{vue-ui-spark-trend-D9kJ3Q3P.cjs → vue-ui-spark-trend-D5M7L8Nn.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-C8dZp0vb.cjs → vue-ui-sparkbar-B9_aTFqL.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-C6kUDSpD.js → vue-ui-sparkbar-B9q9xGj6.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BqPAIQlp.cjs → vue-ui-sparkgauge-BIVUXWRg.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CtqbesjZ.js → vue-ui-sparkgauge-DlJWcy62.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DlWrXSqw.cjs → vue-ui-sparkhistogram-Dm0Vtvn1.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-E9Ws5wiT.js → vue-ui-sparkhistogram-gn3DIsxZ.js} +5 -5
- package/dist/{vue-ui-sparkline-2nDI-153.js → vue-ui-sparkline-9MoD7O9K.js} +4 -4
- package/dist/{vue-ui-sparkline-C7V1GEy6.cjs → vue-ui-sparkline-Ch2QWsMO.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CP_aG-G1.js → vue-ui-sparkstackbar-BACwbjpj.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-D9kYQocf.cjs → vue-ui-sparkstackbar-aFnfjz2u.cjs} +1 -1
- package/dist/{vue-ui-stackbar-SGwDTqNQ.js → vue-ui-stackbar-B4gbMSfv.js} +13 -13
- package/dist/{vue-ui-stackbar-D045wCoq.cjs → vue-ui-stackbar-DcXIU7MJ.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-yP9RL11r.js → vue-ui-strip-plot-2H2e_73D.js} +11 -11
- package/dist/{vue-ui-strip-plot-DiqU7hzo.cjs → vue-ui-strip-plot-g3BjFUT5.cjs} +1 -1
- package/dist/{vue-ui-table-Tlt3kWqi.cjs → vue-ui-table-Do6l-NwY.cjs} +1 -1
- package/dist/{vue-ui-table-G5vt_r4B.js → vue-ui-table-a03YNGcq.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DuyrCkUr.cjs → vue-ui-table-heatmap-CNjY0h0g.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DripkhZS.js → vue-ui-table-heatmap-CeF3qQ6v.js} +4 -4
- package/dist/{vue-ui-table-sparkline-BCLbPrCC.cjs → vue-ui-table-sparkline-BpQv4cWI.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Cen_P-9_.js → vue-ui-table-sparkline-dISGVncg.js} +5 -5
- package/dist/{vue-ui-thermometer-CGuRui0B.cjs → vue-ui-thermometer-C25rhVvw.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BCIBGOOJ.js → vue-ui-thermometer-Cc343GDr.js} +7 -7
- package/dist/{vue-ui-timer-DzbtpBxD.js → vue-ui-timer-ByQXGLpD.js} +5 -5
- package/dist/{vue-ui-timer-CSF_RnYI.cjs → vue-ui-timer-TeAbWeT2.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-D67NGQNo.cjs → vue-ui-tiremarks-CG0Da6_3.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-Cz7FYs18.js → vue-ui-tiremarks-zdNTuR2J.js} +7 -7
- package/dist/{vue-ui-treemap-BbAO9GKK.js → vue-ui-treemap-B_xkm-3z.js} +11 -11
- package/dist/{vue-ui-treemap-HoMGHzSU.cjs → vue-ui-treemap-Cqx_LVJx.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-eAxxiGdP.js → vue-ui-vertical-bar-BlOQzW7s.js} +12 -12
- package/dist/{vue-ui-vertical-bar-BfJdwjpz.cjs → vue-ui-vertical-bar-CR1hPIJS.cjs} +1 -1
- package/dist/{vue-ui-waffle-BMrn2oQL.cjs → vue-ui-waffle-CnvaOKK_.cjs} +1 -1
- package/dist/{vue-ui-waffle-wCVvBGMm.js → vue-ui-waffle-DELAI7_M.js} +12 -12
- package/dist/{vue-ui-wheel-BKxXJ2Ys.js → vue-ui-wheel-CLP2SMB4.js} +7 -7
- package/dist/{vue-ui-wheel-BO37zL4C.cjs → vue-ui-wheel-DONILlPN.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-cOi3obyp.cjs → vue-ui-word-cloud-D4oJGtfH.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BNIB4ym5.js → vue-ui-word-cloud-DTxLmJhe.js} +10 -10
- package/dist/{vue-ui-xy-CU2bPeca.cjs → vue-ui-xy-CNBUMris.cjs} +1 -1
- package/dist/{vue-ui-xy-DZGhmU8N.js → vue-ui-xy-QB9D95yQ.js} +14 -14
- package/dist/{vue-ui-xy-canvas-C7o_KXn0.cjs → vue-ui-xy-canvas-4rdG5Bzv.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-Crac6vER.js → vue-ui-xy-canvas-DrVvMTQo.js} +12 -12
- package/package.json +1 -1
- package/dist/Slicer-CmDTJ7X8.cjs +0 -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
|
@@ -1,748 +0,0 @@
|
|
|
1
|
-
import { useCssVars as Re, computed as h, ref as p, watch as Ce, onMounted as Be, createElementBlock as n, openBlock as s, unref as u, normalizeStyle as k, normalizeClass as q, createBlock as H, createCommentVNode as c, createVNode as se, createSlots as Ee, withCtx as _, renderSlot as f, normalizeProps as V, guardReactiveProps as P, Fragment as A, renderList as M, createElementVNode as i, toDisplayString as b, withKeys as Ge, createTextVNode as Ue, nextTick as He } from "vue";
|
|
2
|
-
import { u as Xe, o as De, e as Le, c as ue, a as je, C as We, g as Ye, O as ne, X as qe, G as ie, i as I, f as S, v as T, q as Ke, r as Je, x as Qe, y as Ze } from "./index-LYjDwaWo.js";
|
|
3
|
-
import { _ as et } from "./Title-DfuSY8DI.js";
|
|
4
|
-
import { u as tt, U as lt } from "./usePrinter-Bk4LBipq.js";
|
|
5
|
-
import { _ as at } from "./Tooltip-BJkwUrpq.js";
|
|
6
|
-
import ot from "./vue-ui-skeleton-BTph1xJS.js";
|
|
7
|
-
import st from "./BaseIcon-BKbuAee9.js";
|
|
8
|
-
import ut from "./vue-ui-accordion-DM7bQauS.js";
|
|
9
|
-
import { u as Ae } from "./useNestedProp-BqIaNvIP.js";
|
|
10
|
-
import { _ as nt } from "./PackageVersion-CFYRvKwb.js";
|
|
11
|
-
import { P as it } from "./PenAndPaper-BikLu3A8.js";
|
|
12
|
-
import { u as rt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
|
-
import { u as vt } from "./useChartAccessibility-BWojgys7.js";
|
|
14
|
-
import { _ as dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const yt = ["id"], ct = {
|
|
16
|
-
key: 2,
|
|
17
|
-
style: "width:100%;background:transparent"
|
|
18
|
-
}, ht = ["xmlns", "viewBox"], pt = ["width", "height"], gt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ft = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], bt = ["font-size", "font-weight", "fill", "x", "y"], mt = ["x", "y", "width", "height", "onMouseover"], xt = { key: 0 }, wt = ["font-size", "fill", "x", "y", "font-weight"], kt = { key: 1 }, _t = ["text-anchor", "font-size", "fill", "font-weight", "transform"], $t = { key: 2 }, Ct = ["x", "y", "width", "height", "stroke", "stroke-width"], Lt = { key: 3 }, At = ["id"], Tt = ["stop-color"], zt = ["stop-color"], Ot = ["x", "y", "font-size", "fill"], Mt = ["x", "y", "height", "rx", "fill"], St = ["x", "y", "font-size", "fill"], Nt = ["stroke", "x1", "x2", "y1", "y2"], Ft = ["fill", "d"], Vt = { key: 4 }, Pt = {
|
|
19
|
-
id: "colorScaleHorizontal",
|
|
20
|
-
x1: "0%",
|
|
21
|
-
x2: "100%",
|
|
22
|
-
y1: "0%",
|
|
23
|
-
y2: "0%"
|
|
24
|
-
}, It = ["stop-color"], Rt = ["stop-color"], Bt = ["x", "y", "width", "height", "rx"], Et = ["x", "y", "font-size", "fill"], Gt = ["x", "y", "font-size", "fill"], Ut = ["stroke", "x1", "x2", "y1", "y2"], Ht = ["fill", "d"], Xt = {
|
|
25
|
-
key: 5,
|
|
26
|
-
class: "vue-data-ui-watermark"
|
|
27
|
-
}, Dt = {
|
|
28
|
-
key: 6,
|
|
29
|
-
ref: "source",
|
|
30
|
-
dir: "auto"
|
|
31
|
-
}, jt = { class: "vue-ui-data-table" }, Wt = { key: 0 }, Yt = ["data-cell"], qt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Kt = ["data-cell"], Jt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Qt = {
|
|
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(X, { expose: Te }) {
|
|
48
|
-
Re((t) => ({
|
|
49
|
-
d6e15a20: t.tdo
|
|
50
|
-
}));
|
|
51
|
-
const { vue_ui_heatmap: ze } = Xe(), v = X, D = h(() => !!v.dataset && v.dataset.length);
|
|
52
|
-
De(v.dataset) && Le({
|
|
53
|
-
componentName: "VueUiHeatmap",
|
|
54
|
-
type: "dataset"
|
|
55
|
-
});
|
|
56
|
-
const R = p(ue()), K = p(null), Oe = p(null), J = p(!1), Q = p(""), re = p(void 0), B = p(null), ve = p(0), de = p(null), Me = p(null), ye = p(!1), ce = p(0), e = h({
|
|
57
|
-
get: () => fe(),
|
|
58
|
-
set: (t) => t
|
|
59
|
-
}), { userOptionsVisible: Z, setUserOptionsVisibility: he, keepUserOptionState: pe } = rt({ config: e.value }), { svgRef: ge } = vt({ config: e.value.style.title });
|
|
60
|
-
function fe() {
|
|
61
|
-
const t = Ae({
|
|
62
|
-
userConfig: v.config,
|
|
63
|
-
defaultConfig: ze
|
|
64
|
-
});
|
|
65
|
-
let l = {};
|
|
66
|
-
return t.theme ? l = {
|
|
67
|
-
...Ae({
|
|
68
|
-
userConfig: je.vue_ui_heatmap[t.theme] || v.config,
|
|
69
|
-
defaultConfig: t
|
|
70
|
-
})
|
|
71
|
-
} : l = t, v.config && We(v.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? l.style.layout.dataLabels.xAxis.showOnlyAtModulo = v.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : l.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, l;
|
|
72
|
-
}
|
|
73
|
-
Ce(() => v.config, (t) => {
|
|
74
|
-
e.value = fe(), Z.value = !e.value.userOptions.showOnChartHover, ee(), ce.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.tooltip.show;
|
|
75
|
-
}, { deep: !0 }), Ce(() => v.dataset, () => {
|
|
76
|
-
ee();
|
|
77
|
-
}, { deep: !0 });
|
|
78
|
-
const { isPrinting: be, isImaging: me, generatePdf: xe, generateImage: we } = tt({
|
|
79
|
-
elementId: `heatmap__${R.value}`,
|
|
80
|
-
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
81
|
-
}), Se = h(() => e.value.userOptions.show && !e.value.style.title.text), m = p({
|
|
82
|
-
showTable: e.value.table.show,
|
|
83
|
-
showTooltip: e.value.style.tooltip.show
|
|
84
|
-
}), Ne = h(() => e.value.table.responsiveBreakpoint);
|
|
85
|
-
function Fe() {
|
|
86
|
-
new ResizeObserver((l) => {
|
|
87
|
-
l.forEach((o) => {
|
|
88
|
-
ye.value = o.contentRect.width < Ne.value;
|
|
89
|
-
});
|
|
90
|
-
}).observe(de.value);
|
|
91
|
-
}
|
|
92
|
-
Be(ee);
|
|
93
|
-
function ee() {
|
|
94
|
-
Fe();
|
|
95
|
-
}
|
|
96
|
-
const N = h(() => Math.max(...v.dataset.flatMap((t) => (t.values || []).length))), x = h(() => {
|
|
97
|
-
const t = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + v.dataset.length * e.value.style.layout.cells.height, l = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (N.value < v.dataset.length ? v.dataset.length : N.value) * e.value.style.layout.cells.height, o = t + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
|
|
98
|
-
return {
|
|
99
|
-
height: t,
|
|
100
|
-
heightWithLegend: o,
|
|
101
|
-
width: l
|
|
102
|
-
};
|
|
103
|
-
}), j = h(() => e.value.style.legend.position), a = h(() => ({
|
|
104
|
-
top: e.value.style.layout.padding.top,
|
|
105
|
-
left: e.value.style.layout.padding.left,
|
|
106
|
-
right: x.value.width - e.value.style.layout.padding.right - (j.value === "right" && e.value.style.legend.show ? 92 : 0),
|
|
107
|
-
bottom: x.value.height - e.value.style.layout.padding.bottom,
|
|
108
|
-
height: x.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
109
|
-
width: x.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
|
-
})), te = h(() => d.value.height * v.dataset.length), w = h(() => Math.max(...v.dataset.flatMap((t) => t.values))), z = h(() => Math.min(...v.dataset.flatMap((t) => t.values))), O = h(() => {
|
|
111
|
-
const t = v.dataset.flatMap((o) => o.values);
|
|
112
|
-
return t.reduce((o, r) => o + r, 0) / t.length;
|
|
113
|
-
}), d = h(() => ({
|
|
114
|
-
width: a.value.width / N.value,
|
|
115
|
-
height: a.value.width / (N.value < v.dataset.length ? v.dataset.length : N.value)
|
|
116
|
-
})), $ = h(() => {
|
|
117
|
-
const t = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : v.dataset.map((o) => o.name), l = e.value.style.layout.dataLabels.xAxis.values;
|
|
118
|
-
return {
|
|
119
|
-
yLabels: t,
|
|
120
|
-
xLabels: l.slice(0, N.value)
|
|
121
|
-
};
|
|
122
|
-
}), W = h(() => (v.dataset.forEach((t, l) => {
|
|
123
|
-
Ye({
|
|
124
|
-
datasetObject: t,
|
|
125
|
-
requiredAttributes: ["values"]
|
|
126
|
-
}).forEach((o) => {
|
|
127
|
-
Le({
|
|
128
|
-
componentName: "VueUiHeatmap",
|
|
129
|
-
type: "datasetSerieAttribute",
|
|
130
|
-
property: "values",
|
|
131
|
-
index: l
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
}), v.dataset.map((t) => ({
|
|
135
|
-
...t,
|
|
136
|
-
temperatures: (t.values || []).map((l, o) => l >= O.value ? {
|
|
137
|
-
side: "up",
|
|
138
|
-
color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, w.value, l),
|
|
139
|
-
ratio: Math.abs(Math.abs(l - O.value) / Math.abs(w.value - O.value)) > 1 ? 1 : Math.abs(Math.abs(l - O.value) / Math.abs(w.value - O.value)),
|
|
140
|
-
value: l,
|
|
141
|
-
yAxisName: t.name,
|
|
142
|
-
xAxisName: $.value.xLabels[o],
|
|
143
|
-
id: `vue-data-ui-heatmap-cell-${ue()}`
|
|
144
|
-
} : {
|
|
145
|
-
side: "down",
|
|
146
|
-
ratio: Math.abs(1 - Math.abs(l) / Math.abs(O.value)) > 1 ? 1 : Math.abs(1 - Math.abs(l) / Math.abs(O.value)),
|
|
147
|
-
color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, w.value, l),
|
|
148
|
-
value: l,
|
|
149
|
-
yAxisName: t.name,
|
|
150
|
-
xAxisName: $.value.xLabels[o],
|
|
151
|
-
id: `vue-data-ui-heatmap-cell-${ue()}`
|
|
152
|
-
})
|
|
153
|
-
})))), C = p(null), E = p(null);
|
|
154
|
-
function Ve(t, l, o, r) {
|
|
155
|
-
B.value = { x: o, y: r };
|
|
156
|
-
const { value: y, yAxisName: g, xAxisName: L, id: Ie } = t;
|
|
157
|
-
re.value = Ie, C.value = y, E.value = {
|
|
158
|
-
datapoint: t,
|
|
159
|
-
seriesIndex: l,
|
|
160
|
-
series: W.value,
|
|
161
|
-
config: e.value
|
|
162
|
-
}, J.value = !0;
|
|
163
|
-
let ae = "";
|
|
164
|
-
const oe = e.value.style.tooltip.customFormat;
|
|
165
|
-
Qe(oe) && Ze(() => oe({
|
|
166
|
-
datapoint: t,
|
|
167
|
-
seriesIndex: l,
|
|
168
|
-
series: W.value,
|
|
169
|
-
config: e.value
|
|
170
|
-
})) ? Q.value = oe({
|
|
171
|
-
datapoint: t,
|
|
172
|
-
seriesIndex: l,
|
|
173
|
-
series: W.value,
|
|
174
|
-
config: e.value
|
|
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, w.value, y)}">⬤</span><span>${isNaN(y) ? "-" : I(
|
|
176
|
-
e.value.style.layout.cells.value.formatter,
|
|
177
|
-
y,
|
|
178
|
-
S({
|
|
179
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
180
|
-
v: y,
|
|
181
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
182
|
-
r: e.value.style.tooltip.roundingValue
|
|
183
|
-
}),
|
|
184
|
-
{ datapoint: t, seriesIndex: l }
|
|
185
|
-
)}</span></div>`, Q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${ae}</div>`);
|
|
186
|
-
}
|
|
187
|
-
const G = h(() => a.value.top + te.value * (1 - C.value / w.value)), U = h(() => a.value.left + (x.value.width - a.value.left - e.value.style.layout.padding.right) * (C.value / w.value));
|
|
188
|
-
h(() => {
|
|
189
|
-
const t = v.dataset.map((o) => ({
|
|
190
|
-
name: o.name
|
|
191
|
-
})), l = v.dataset.map((o) => o.values);
|
|
192
|
-
return { head: t, body: l };
|
|
193
|
-
});
|
|
194
|
-
function ke() {
|
|
195
|
-
He(() => {
|
|
196
|
-
const t = ["", ...v.dataset.map((y, g) => y.name)], l = [];
|
|
197
|
-
for (let y = 0; y < $.value.xLabels.length; y += 1) {
|
|
198
|
-
const g = [$.value.xLabels[y]];
|
|
199
|
-
for (let L = 0; L < v.dataset.length; L += 1)
|
|
200
|
-
g.push([v.dataset[L].values[y]]);
|
|
201
|
-
l.push(g);
|
|
202
|
-
}
|
|
203
|
-
const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(l), r = Ke(o);
|
|
204
|
-
Je({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
const F = p(!1);
|
|
208
|
-
function Pe(t) {
|
|
209
|
-
F.value = t, ve.value += 1;
|
|
210
|
-
}
|
|
211
|
-
function _e() {
|
|
212
|
-
m.value.showTable = !m.value.showTable;
|
|
213
|
-
}
|
|
214
|
-
function $e() {
|
|
215
|
-
m.value.showTooltip = !m.value.showTooltip;
|
|
216
|
-
}
|
|
217
|
-
const Y = p(!1);
|
|
218
|
-
function le() {
|
|
219
|
-
Y.value = !Y.value;
|
|
220
|
-
}
|
|
221
|
-
return Te({
|
|
222
|
-
generatePdf: xe,
|
|
223
|
-
generateCsv: ke,
|
|
224
|
-
generateImage: we,
|
|
225
|
-
toggleTable: _e,
|
|
226
|
-
toggleTooltip: $e,
|
|
227
|
-
toggleAnnotator: le
|
|
228
|
-
}), (t, l) => (s(), n("div", {
|
|
229
|
-
ref_key: "heatmapChart",
|
|
230
|
-
ref: K,
|
|
231
|
-
class: q(`vue-ui-heatmap ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
232
|
-
style: k(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
|
|
233
|
-
id: `heatmap__${R.value}`,
|
|
234
|
-
onMouseenter: l[3] || (l[3] = () => u(he)(!0)),
|
|
235
|
-
onMouseleave: l[4] || (l[4] = () => u(he)(!1))
|
|
236
|
-
}, [
|
|
237
|
-
e.value.userOptions.buttons.annotator ? (s(), H(it, {
|
|
238
|
-
key: 0,
|
|
239
|
-
svgRef: u(ge),
|
|
240
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
241
|
-
color: e.value.style.color,
|
|
242
|
-
active: Y.value,
|
|
243
|
-
onClose: le
|
|
244
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
245
|
-
Se.value ? (s(), n("div", {
|
|
246
|
-
key: 1,
|
|
247
|
-
ref_key: "noTitle",
|
|
248
|
-
ref: Me,
|
|
249
|
-
class: "vue-data-ui-no-title-space",
|
|
250
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
251
|
-
}, null, 512)) : c("", !0),
|
|
252
|
-
e.value.style.title.text ? (s(), n("div", ct, [
|
|
253
|
-
(s(), H(et, {
|
|
254
|
-
key: `title_${ce.value}`,
|
|
255
|
-
config: {
|
|
256
|
-
title: {
|
|
257
|
-
cy: "heatmap-div-title",
|
|
258
|
-
...e.value.style.title
|
|
259
|
-
},
|
|
260
|
-
subtitle: {
|
|
261
|
-
cy: "heatmap-div-subtitle",
|
|
262
|
-
...e.value.style.title.subtitle
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}, null, 8, ["config"]))
|
|
266
|
-
])) : c("", !0),
|
|
267
|
-
e.value.userOptions.show && D.value && (u(pe) || u(Z)) ? (s(), H(lt, {
|
|
268
|
-
ref_key: "details",
|
|
269
|
-
ref: Oe,
|
|
270
|
-
key: `user_options_${ve.value}`,
|
|
271
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
272
|
-
color: e.value.style.color,
|
|
273
|
-
isImaging: u(me),
|
|
274
|
-
isPrinting: u(be),
|
|
275
|
-
uid: R.value,
|
|
276
|
-
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
277
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
278
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
279
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
280
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
281
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
282
|
-
isFullscreen: F.value,
|
|
283
|
-
isTooltip: m.value.showTooltip,
|
|
284
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
285
|
-
chartElement: K.value,
|
|
286
|
-
position: e.value.userOptions.position,
|
|
287
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
288
|
-
isAnnotation: Y.value,
|
|
289
|
-
onToggleFullscreen: Pe,
|
|
290
|
-
onGeneratePdf: u(xe),
|
|
291
|
-
onGenerateCsv: ke,
|
|
292
|
-
onGenerateImage: u(we),
|
|
293
|
-
onToggleTable: _e,
|
|
294
|
-
onToggleTooltip: $e,
|
|
295
|
-
onToggleAnnotator: le,
|
|
296
|
-
style: k({
|
|
297
|
-
visibility: u(pe) ? u(Z) ? "visible" : "hidden" : "visible"
|
|
298
|
-
})
|
|
299
|
-
}, Ee({ _: 2 }, [
|
|
300
|
-
t.$slots.menuIcon ? {
|
|
301
|
-
name: "menuIcon",
|
|
302
|
-
fn: _(({ isOpen: o, color: r }) => [
|
|
303
|
-
f(t.$slots, "menuIcon", V(P({ isOpen: o, color: r })), void 0, !0)
|
|
304
|
-
]),
|
|
305
|
-
key: "0"
|
|
306
|
-
} : void 0,
|
|
307
|
-
t.$slots.optionTooltip ? {
|
|
308
|
-
name: "optionTooltip",
|
|
309
|
-
fn: _(() => [
|
|
310
|
-
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
311
|
-
]),
|
|
312
|
-
key: "1"
|
|
313
|
-
} : void 0,
|
|
314
|
-
t.$slots.optionPdf ? {
|
|
315
|
-
name: "optionPdf",
|
|
316
|
-
fn: _(() => [
|
|
317
|
-
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
318
|
-
]),
|
|
319
|
-
key: "2"
|
|
320
|
-
} : void 0,
|
|
321
|
-
t.$slots.optionCsv ? {
|
|
322
|
-
name: "optionCsv",
|
|
323
|
-
fn: _(() => [
|
|
324
|
-
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
325
|
-
]),
|
|
326
|
-
key: "3"
|
|
327
|
-
} : void 0,
|
|
328
|
-
t.$slots.optionImg ? {
|
|
329
|
-
name: "optionImg",
|
|
330
|
-
fn: _(() => [
|
|
331
|
-
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
332
|
-
]),
|
|
333
|
-
key: "4"
|
|
334
|
-
} : void 0,
|
|
335
|
-
t.$slots.optionTable ? {
|
|
336
|
-
name: "optionTable",
|
|
337
|
-
fn: _(() => [
|
|
338
|
-
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
339
|
-
]),
|
|
340
|
-
key: "5"
|
|
341
|
-
} : void 0,
|
|
342
|
-
t.$slots.optionFullscreen ? {
|
|
343
|
-
name: "optionFullscreen",
|
|
344
|
-
fn: _(({ toggleFullscreen: o, isFullscreen: r }) => [
|
|
345
|
-
f(t.$slots, "optionFullscreen", V(P({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
|
|
346
|
-
]),
|
|
347
|
-
key: "6"
|
|
348
|
-
} : void 0,
|
|
349
|
-
t.$slots.optionAnnotator ? {
|
|
350
|
-
name: "optionAnnotator",
|
|
351
|
-
fn: _(({ toggleAnnotator: o, isAnnotator: r }) => [
|
|
352
|
-
f(t.$slots, "optionAnnotator", V(P({ toggleAnnotator: o, isAnnotator: r })), void 0, !0)
|
|
353
|
-
]),
|
|
354
|
-
key: "7"
|
|
355
|
-
} : void 0
|
|
356
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
357
|
-
D.value ? (s(), n("svg", {
|
|
358
|
-
key: 4,
|
|
359
|
-
ref_key: "svgRef",
|
|
360
|
-
ref: ge,
|
|
361
|
-
xmlns: u(qe),
|
|
362
|
-
class: q({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
|
|
363
|
-
viewBox: `0 0 ${x.value.width} ${x.value.heightWithLegend}`,
|
|
364
|
-
style: k(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
365
|
-
}, [
|
|
366
|
-
se(nt),
|
|
367
|
-
t.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
368
|
-
key: 0,
|
|
369
|
-
x: 0,
|
|
370
|
-
y: 0,
|
|
371
|
-
width: x.value.width,
|
|
372
|
-
height: x.value.heightWithLegend,
|
|
373
|
-
style: {
|
|
374
|
-
pointerEvents: "none"
|
|
375
|
-
}
|
|
376
|
-
}, [
|
|
377
|
-
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
378
|
-
], 8, pt)) : c("", !0),
|
|
379
|
-
(s(!0), n(A, null, M(W.value, (o, r) => (s(), n("g", null, [
|
|
380
|
-
(s(!0), n(A, null, M(o.temperatures, (y, g) => (s(), n("g", null, [
|
|
381
|
-
i("rect", {
|
|
382
|
-
x: a.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
383
|
-
y: a.value.top + d.value.height * r + e.value.style.layout.cells.spacing / 2,
|
|
384
|
-
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
385
|
-
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
386
|
-
fill: e.value.style.layout.cells.colors.underlayer,
|
|
387
|
-
stroke: e.value.style.backgroundColor,
|
|
388
|
-
"stroke-width": e.value.style.layout.cells.spacing
|
|
389
|
-
}, null, 8, gt),
|
|
390
|
-
i("rect", {
|
|
391
|
-
x: a.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
|
|
392
|
-
y: a.value.top + d.value.height * r + e.value.style.layout.cells.spacing / 2,
|
|
393
|
-
width: d.value.width - e.value.style.layout.cells.spacing,
|
|
394
|
-
height: d.value.height - e.value.style.layout.cells.spacing,
|
|
395
|
-
fill: y.color,
|
|
396
|
-
stroke: e.value.style.backgroundColor,
|
|
397
|
-
"stroke-width": e.value.style.layout.cells.spacing
|
|
398
|
-
}, null, 8, ft),
|
|
399
|
-
e.value.style.layout.cells.value.show ? (s(), n("text", {
|
|
400
|
-
key: 0,
|
|
401
|
-
"text-anchor": "middle",
|
|
402
|
-
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
403
|
-
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
404
|
-
fill: u(ie)(y.color),
|
|
405
|
-
x: a.value.left + d.value.width * g + d.value.width / 2,
|
|
406
|
-
y: a.value.top + d.value.height * r + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
407
|
-
}, b(u(I)(
|
|
408
|
-
e.value.style.layout.cells.value.formatter,
|
|
409
|
-
y.value,
|
|
410
|
-
u(S)({
|
|
411
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
412
|
-
v: y.value,
|
|
413
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
414
|
-
r: e.value.style.layout.cells.value.roundingValue
|
|
415
|
-
}),
|
|
416
|
-
{ datapoint: y }
|
|
417
|
-
)), 9, bt)) : c("", !0)
|
|
418
|
-
]))), 256)),
|
|
419
|
-
(s(!0), n(A, null, M(o.temperatures, (y, g) => (s(), n("g", null, [
|
|
420
|
-
i("rect", {
|
|
421
|
-
x: a.value.left + d.value.width * g,
|
|
422
|
-
y: a.value.top + d.value.height * r,
|
|
423
|
-
width: d.value.width,
|
|
424
|
-
height: d.value.height,
|
|
425
|
-
fill: "transparent",
|
|
426
|
-
stroke: "none",
|
|
427
|
-
onMouseover: (L) => Ve(y, r, a.value.left + d.value.width * g, a.value.top + d.value.height * r),
|
|
428
|
-
onMouseout: l[0] || (l[0] = (L) => {
|
|
429
|
-
J.value = !1, re.value = void 0, C.value = null, B.value = null;
|
|
430
|
-
})
|
|
431
|
-
}, null, 40, mt)
|
|
432
|
-
]))), 256)),
|
|
433
|
-
e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", xt, [
|
|
434
|
-
i("text", {
|
|
435
|
-
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
436
|
-
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
437
|
-
x: a.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
|
|
438
|
-
y: a.value.top + d.value.height * r + d.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
439
|
-
"text-anchor": "end",
|
|
440
|
-
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
441
|
-
}, b($.value.yLabels[r]), 9, wt)
|
|
442
|
-
])) : c("", !0)
|
|
443
|
-
]))), 256)),
|
|
444
|
-
e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", kt, [
|
|
445
|
-
(s(!0), n(A, null, M($.value.xLabels, (o, r) => (s(), n(A, null, [
|
|
446
|
-
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && r % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (s(), n("text", {
|
|
447
|
-
key: 0,
|
|
448
|
-
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
449
|
-
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
450
|
-
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
451
|
-
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
452
|
-
transform: `translate(${a.value.left + d.value.width / 2 + a.value.width / $.value.xLabels.length * r + e.value.style.layout.dataLabels.xAxis.offsetX}, ${a.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
453
|
-
}, b(o), 9, _t)) : c("", !0)
|
|
454
|
-
], 64))), 256))
|
|
455
|
-
])) : c("", !0),
|
|
456
|
-
B.value ? (s(), n("g", $t, [
|
|
457
|
-
i("rect", {
|
|
458
|
-
style: { "pointer-events": "none" },
|
|
459
|
-
x: B.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
460
|
-
y: B.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
|
|
461
|
-
width: d.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
462
|
-
height: d.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
|
|
463
|
-
fill: "transparent",
|
|
464
|
-
stroke: e.value.style.layout.cells.selected.color,
|
|
465
|
-
"stroke-width": e.value.style.layout.cells.selected.border,
|
|
466
|
-
rx: 1
|
|
467
|
-
}, null, 8, Ct)
|
|
468
|
-
])) : c("", !0),
|
|
469
|
-
e.value.style.legend.show && j.value === "right" ? (s(), n("g", Lt, [
|
|
470
|
-
i("defs", null, [
|
|
471
|
-
i("linearGradient", {
|
|
472
|
-
id: `colorScaleVertical_${R.value}`,
|
|
473
|
-
x2: "0%",
|
|
474
|
-
y2: "100%"
|
|
475
|
-
}, [
|
|
476
|
-
i("stop", {
|
|
477
|
-
offset: "0%",
|
|
478
|
-
"stop-color": e.value.style.layout.cells.colors.hot
|
|
479
|
-
}, null, 8, Tt),
|
|
480
|
-
i("stop", {
|
|
481
|
-
offset: "100%",
|
|
482
|
-
"stop-color": e.value.style.layout.cells.colors.cold
|
|
483
|
-
}, null, 8, zt)
|
|
484
|
-
], 8, At)
|
|
485
|
-
]),
|
|
486
|
-
i("text", {
|
|
487
|
-
x: a.value.right + 36 + 18,
|
|
488
|
-
y: a.value.top - e.value.style.legend.fontSize * 1.5,
|
|
489
|
-
"text-anchor": "middle",
|
|
490
|
-
"font-size": e.value.style.legend.fontSize * 2,
|
|
491
|
-
fill: e.value.style.legend.color
|
|
492
|
-
}, b(u(I)(
|
|
493
|
-
e.value.style.layout.cells.value.formatter,
|
|
494
|
-
u(T)(w.value),
|
|
495
|
-
u(S)({
|
|
496
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
497
|
-
v: u(T)(w.value),
|
|
498
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
499
|
-
r: e.value.style.legend.roundingValue
|
|
500
|
-
})
|
|
501
|
-
)), 9, Ot),
|
|
502
|
-
i("rect", {
|
|
503
|
-
x: a.value.right + 36,
|
|
504
|
-
y: a.value.top,
|
|
505
|
-
width: 36,
|
|
506
|
-
height: te.value,
|
|
507
|
-
rx: e.value.style.legend.scaleBorderRadius,
|
|
508
|
-
fill: `url(#colorScaleVertical_${R.value})`
|
|
509
|
-
}, null, 8, Mt),
|
|
510
|
-
i("text", {
|
|
511
|
-
x: a.value.right + 36 + 18,
|
|
512
|
-
y: a.value.top + te.value + e.value.style.legend.fontSize * 2.5,
|
|
513
|
-
"text-anchor": "middle",
|
|
514
|
-
"font-size": e.value.style.legend.fontSize * 2,
|
|
515
|
-
fill: e.value.style.legend.color
|
|
516
|
-
}, b(u(I)(
|
|
517
|
-
e.value.style.layout.cells.value.formatter,
|
|
518
|
-
u(T)(z.value),
|
|
519
|
-
u(S)({
|
|
520
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
521
|
-
v: u(T)(z.value),
|
|
522
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
523
|
-
r: e.value.style.legend.roundingValue
|
|
524
|
-
})
|
|
525
|
-
)), 9, St),
|
|
526
|
-
C.value !== null ? (s(), n("line", {
|
|
527
|
-
key: 0,
|
|
528
|
-
stroke: u(ie)(E.value.datapoint.color),
|
|
529
|
-
"stroke-width": "2",
|
|
530
|
-
x1: a.value.right + 36,
|
|
531
|
-
x2: a.value.right + 72,
|
|
532
|
-
y1: G.value,
|
|
533
|
-
y2: G.value
|
|
534
|
-
}, null, 8, Nt)) : c("", !0),
|
|
535
|
-
C.value !== null ? (s(), n("path", {
|
|
536
|
-
key: 1,
|
|
537
|
-
fill: e.value.style.color,
|
|
538
|
-
stroke: "none",
|
|
539
|
-
d: `M ${a.value.right + 36},${G.value} ${a.value.right + 26},${G.value - 8} ${a.value.right + 26},${G.value + 8}z`
|
|
540
|
-
}, null, 8, Ft)) : c("", !0)
|
|
541
|
-
])) : c("", !0),
|
|
542
|
-
e.value.style.legend.show && j.value === "bottom" ? (s(), n("g", Vt, [
|
|
543
|
-
i("defs", null, [
|
|
544
|
-
i("linearGradient", Pt, [
|
|
545
|
-
i("stop", {
|
|
546
|
-
offset: "0%",
|
|
547
|
-
"stop-color": e.value.style.layout.cells.colors.cold
|
|
548
|
-
}, null, 8, It),
|
|
549
|
-
i("stop", {
|
|
550
|
-
offset: "100%",
|
|
551
|
-
"stop-color": e.value.style.layout.cells.colors.hot
|
|
552
|
-
}, null, 8, Rt)
|
|
553
|
-
])
|
|
554
|
-
]),
|
|
555
|
-
i("rect", {
|
|
556
|
-
x: a.value.left,
|
|
557
|
-
y: a.value.bottom + e.value.style.layout.cells.height,
|
|
558
|
-
width: x.value.width - a.value.left - e.value.style.layout.padding.right,
|
|
559
|
-
height: e.value.style.layout.cells.height,
|
|
560
|
-
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,
|
|
561
|
-
fill: "url(#colorScaleHorizontal)"
|
|
562
|
-
}, null, 8, Bt),
|
|
563
|
-
i("text", {
|
|
564
|
-
x: a.value.left,
|
|
565
|
-
y: a.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
566
|
-
"text-anchor": "start",
|
|
567
|
-
"font-size": e.value.style.legend.fontSize * 2,
|
|
568
|
-
fill: e.value.style.legend.color
|
|
569
|
-
}, b(u(I)(
|
|
570
|
-
e.value.style.layout.cells.value.formatter,
|
|
571
|
-
u(T)(z.value),
|
|
572
|
-
u(S)({
|
|
573
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
574
|
-
v: u(T)(z.value),
|
|
575
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
576
|
-
r: e.value.style.legend.roundingValue
|
|
577
|
-
})
|
|
578
|
-
)), 9, Et),
|
|
579
|
-
i("text", {
|
|
580
|
-
x: a.value.right,
|
|
581
|
-
y: a.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
|
|
582
|
-
"text-anchor": "end",
|
|
583
|
-
"font-size": e.value.style.legend.fontSize * 2,
|
|
584
|
-
fill: e.value.style.legend.color
|
|
585
|
-
}, b(u(I)(
|
|
586
|
-
e.value.style.layout.cells.value.formatter,
|
|
587
|
-
u(T)(w.value),
|
|
588
|
-
u(S)({
|
|
589
|
-
p: e.value.style.layout.dataLabels.prefix,
|
|
590
|
-
v: u(T)(w.value),
|
|
591
|
-
s: e.value.style.layout.dataLabels.suffix,
|
|
592
|
-
r: e.value.style.legend.roundingValue
|
|
593
|
-
})
|
|
594
|
-
)), 9, Gt),
|
|
595
|
-
C.value !== null ? (s(), n("line", {
|
|
596
|
-
key: 0,
|
|
597
|
-
stroke: u(ie)(E.value.datapoint.color),
|
|
598
|
-
"stroke-width": "2",
|
|
599
|
-
x1: U.value,
|
|
600
|
-
x2: U.value,
|
|
601
|
-
y1: a.value.bottom + e.value.style.layout.cells.height,
|
|
602
|
-
y2: a.value.bottom + e.value.style.layout.cells.height * 2
|
|
603
|
-
}, null, 8, Ut)) : c("", !0),
|
|
604
|
-
C.value !== null ? (s(), n("path", {
|
|
605
|
-
key: 1,
|
|
606
|
-
fill: e.value.style.color,
|
|
607
|
-
stroke: "none",
|
|
608
|
-
d: `M ${U.value},${a.value.bottom + e.value.style.layout.cells.height} ${U.value - 12},${a.value.bottom + e.value.style.layout.cells.height - 20} ${U.value + 12},${a.value.bottom + e.value.style.layout.cells.height - 20}z`
|
|
609
|
-
}, null, 8, Ht)) : c("", !0)
|
|
610
|
-
])) : c("", !0),
|
|
611
|
-
f(t.$slots, "svg", { svg: x.value }, void 0, !0)
|
|
612
|
-
], 14, ht)) : c("", !0),
|
|
613
|
-
t.$slots.watermark ? (s(), n("div", Xt, [
|
|
614
|
-
f(t.$slots, "watermark", V(P({ isPrinting: u(be) || u(me) })), void 0, !0)
|
|
615
|
-
])) : c("", !0),
|
|
616
|
-
t.$slots.source ? (s(), n("div", Dt, [
|
|
617
|
-
f(t.$slots, "source", {}, void 0, !0)
|
|
618
|
-
], 512)) : c("", !0),
|
|
619
|
-
D.value ? c("", !0) : (s(), H(ot, {
|
|
620
|
-
key: 7,
|
|
621
|
-
config: {
|
|
622
|
-
type: "heatmap",
|
|
623
|
-
style: {
|
|
624
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
625
|
-
heatmap: {
|
|
626
|
-
color: "#CCCCCC"
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
}, null, 8, ["config"])),
|
|
631
|
-
se(at, {
|
|
632
|
-
show: m.value.showTooltip && J.value,
|
|
633
|
-
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
634
|
-
color: e.value.style.tooltip.color,
|
|
635
|
-
borderRadius: e.value.style.tooltip.borderRadius,
|
|
636
|
-
borderColor: e.value.style.tooltip.borderColor,
|
|
637
|
-
borderWidth: e.value.style.tooltip.borderWidth,
|
|
638
|
-
fontSize: e.value.style.tooltip.fontSize,
|
|
639
|
-
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
640
|
-
position: e.value.style.tooltip.position,
|
|
641
|
-
offsetY: e.value.style.tooltip.offsetY,
|
|
642
|
-
parent: K.value,
|
|
643
|
-
content: Q.value,
|
|
644
|
-
isFullscreen: F.value,
|
|
645
|
-
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
646
|
-
}, {
|
|
647
|
-
"tooltip-before": _(() => [
|
|
648
|
-
f(t.$slots, "tooltip-before", V(P({ ...E.value })), void 0, !0)
|
|
649
|
-
]),
|
|
650
|
-
"tooltip-after": _(() => [
|
|
651
|
-
f(t.$slots, "tooltip-after", V(P({ ...E.value })), void 0, !0)
|
|
652
|
-
]),
|
|
653
|
-
_: 3
|
|
654
|
-
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
655
|
-
D.value ? (s(), H(ut, {
|
|
656
|
-
key: 8,
|
|
657
|
-
hideDetails: "",
|
|
658
|
-
config: {
|
|
659
|
-
open: m.value.showTable,
|
|
660
|
-
maxHeight: 1e4,
|
|
661
|
-
body: {
|
|
662
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
663
|
-
color: e.value.style.color
|
|
664
|
-
},
|
|
665
|
-
head: {
|
|
666
|
-
backgroundColor: e.value.style.backgroundColor,
|
|
667
|
-
color: e.value.style.color
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
}, {
|
|
671
|
-
content: _(() => [
|
|
672
|
-
i("div", {
|
|
673
|
-
ref_key: "tableContainer",
|
|
674
|
-
ref: de,
|
|
675
|
-
class: "vue-ui-heatmap-table atom-data-table"
|
|
676
|
-
}, [
|
|
677
|
-
i("div", {
|
|
678
|
-
style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
|
|
679
|
-
class: q({ "vue-ui-responsive": ye.value })
|
|
680
|
-
}, [
|
|
681
|
-
i("div", {
|
|
682
|
-
role: "button",
|
|
683
|
-
tabindex: "0",
|
|
684
|
-
style: k(`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};`),
|
|
685
|
-
onClick: l[1] || (l[1] = (o) => m.value.showTable = !1),
|
|
686
|
-
onKeypress: l[2] || (l[2] = Ge((o) => m.value.showTable = !1, ["enter"]))
|
|
687
|
-
}, [
|
|
688
|
-
se(st, {
|
|
689
|
-
name: "close",
|
|
690
|
-
stroke: e.value.table.th.color,
|
|
691
|
-
"stroke-width": 2
|
|
692
|
-
}, null, 8, ["stroke"])
|
|
693
|
-
], 36),
|
|
694
|
-
i("table", jt, [
|
|
695
|
-
i("caption", {
|
|
696
|
-
style: k(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
697
|
-
}, [
|
|
698
|
-
Ue(b(e.value.style.title.text) + " ", 1),
|
|
699
|
-
e.value.style.title.subtitle.text ? (s(), n("span", Wt, b(e.value.style.title.subtitle.text), 1)) : c("", !0)
|
|
700
|
-
], 4),
|
|
701
|
-
i("thead", null, [
|
|
702
|
-
i("tr", {
|
|
703
|
-
role: "row",
|
|
704
|
-
style: k(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
705
|
-
}, [
|
|
706
|
-
i("th", {
|
|
707
|
-
style: k(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
708
|
-
}, null, 4),
|
|
709
|
-
(s(!0), n(A, null, M(X.dataset, (o, r) => (s(), n("th", {
|
|
710
|
-
align: "right",
|
|
711
|
-
style: k(`outline:${e.value.table.th.outline};padding-right:6px`)
|
|
712
|
-
}, b(o.name), 5))), 256))
|
|
713
|
-
], 4)
|
|
714
|
-
]),
|
|
715
|
-
i("tbody", null, [
|
|
716
|
-
(s(!0), n(A, null, M($.value.xLabels, (o, r) => (s(), n("tr", {
|
|
717
|
-
role: "row",
|
|
718
|
-
class: q({ "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 }),
|
|
719
|
-
style: k(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
720
|
-
}, [
|
|
721
|
-
i("td", {
|
|
722
|
-
"data-cell": e.value.table.colNames.xAxis,
|
|
723
|
-
class: "vue-ui-data-table__tbody__td",
|
|
724
|
-
style: k(`outline:${e.value.table.td.outline}`)
|
|
725
|
-
}, [
|
|
726
|
-
i("div", qt, b(o), 1)
|
|
727
|
-
], 12, Yt),
|
|
728
|
-
(s(!0), n(A, null, M(X.dataset, (y, g) => (s(), n("td", {
|
|
729
|
-
class: "vue-ui-data-table__tbody__td",
|
|
730
|
-
"data-cell": X.dataset[g].name,
|
|
731
|
-
style: k(`outline:${e.value.table.td.outline}`)
|
|
732
|
-
}, [
|
|
733
|
-
i("div", Jt, b(isNaN(y.values[r]) ? "-" : u(S)({ p: e.value.style.layout.dataLabels.prefix, v: y.values[r], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
734
|
-
], 12, Kt))), 256))
|
|
735
|
-
], 6))), 256))
|
|
736
|
-
])
|
|
737
|
-
])
|
|
738
|
-
], 2)
|
|
739
|
-
], 512)
|
|
740
|
-
]),
|
|
741
|
-
_: 1
|
|
742
|
-
}, 8, ["config"])) : c("", !0)
|
|
743
|
-
], 46, yt));
|
|
744
|
-
}
|
|
745
|
-
}, cl = /* @__PURE__ */ dt(Qt, [["__scopeId", "data-v-83ad9004"]]);
|
|
746
|
-
export {
|
|
747
|
-
cl as default
|
|
748
|
-
};
|